@erpsquad/common 1.8.75 → 1.8.77
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/@types/alltypes.d.ts +3 -0
- package/dist/@types/common.d.ts +1 -0
- package/dist/@types/createPalette.d.ts +47 -0
- package/dist/@types/index.d.ts +5 -0
- package/dist/@types/page.d.ts +4 -0
- package/dist/@types/pagination-model.d.ts +4 -0
- package/dist/_virtual/index/index.esm.js +2 -4
- package/dist/_virtual/index/index.esm.js.map +1 -1
- package/dist/_virtual/index/index.esm10.js +3 -3
- package/dist/_virtual/index/index.esm11.js +4 -2
- package/dist/_virtual/index/index.esm11.js.map +1 -1
- 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 +3 -3
- 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/index.js +1 -1
- 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/api-client/api.accounting/api-types.d.ts +15883 -0
- package/dist/api-client/api.drive/api-types.d.ts +696 -0
- package/dist/api-client/api.inventory/api-types.d.ts +6110 -0
- package/dist/api-client/api.inventory/api.d.ts +2 -5
- package/dist/api-client/api.manufacturing/api-types.d.ts +10066 -0
- package/dist/api-client/api.manufacturing/api.d.ts +102 -15
- package/dist/api-client/api.purchase/api-types.d.ts +6715 -0
- package/dist/api-client/api.purchase/api.d.ts +2 -3
- package/dist/api-client/api.rbac/api-types.d.ts +1753 -0
- package/dist/api-client/api.rbac/api.d.ts +5 -12
- package/dist/api-client/api.rental/api-types.d.ts +15666 -0
- package/dist/api-client/api.sales/api-types.d.ts +8258 -0
- package/dist/api-client/api.system-feature/api-types.d.ts +2875 -0
- package/dist/api-client/api.system-feature/api.d.ts +2 -0
- package/dist/api-client/api.user/api-types.d.ts +95 -0
- package/dist/assets/common-component/index.d.ts +1 -0
- package/dist/assets/dynamic-svg-icon/dynamic-svg-icon/index.esm.js +1 -0
- package/dist/assets/dynamic-svg-icon/dynamic-svg-icon/index.esm.js.map +1 -1
- package/dist/assets/dynamic-svg-icon/dynamic-svg-icon/index.js +1 -1
- package/dist/assets/dynamic-svg-icon/dynamic-svg-icon/index.js.map +1 -1
- package/dist/assets/dynamic-svg-icon/dynamic-svg-icon.d.ts +9 -0
- package/dist/assets/dynamic-svg-icon/index.d.ts +2 -0
- package/dist/assets/images.d.ts +208 -0
- package/dist/assets/index.d.ts +4 -0
- package/dist/assets/view-modal/calendar-icon/index.esm.js +1 -0
- package/dist/assets/view-modal/calendar-icon/index.esm.js.map +1 -1
- package/dist/assets/view-modal/calendar-icon/index.js +2 -2
- package/dist/assets/view-modal/calendar-icon/index.js.map +1 -1
- package/dist/assets/view-modal/calendar-icon.d.ts +3 -0
- package/dist/assets/view-modal/chart-icon/index.esm.js +1 -0
- package/dist/assets/view-modal/chart-icon/index.esm.js.map +1 -1
- package/dist/assets/view-modal/chart-icon/index.js +2 -2
- package/dist/assets/view-modal/chart-icon/index.js.map +1 -1
- package/dist/assets/view-modal/chart-icon.d.ts +3 -0
- package/dist/assets/view-modal/gantt-icon/index.esm.js +1 -0
- package/dist/assets/view-modal/gantt-icon/index.esm.js.map +1 -1
- package/dist/assets/view-modal/gantt-icon/index.js +2 -2
- package/dist/assets/view-modal/gantt-icon/index.js.map +1 -1
- package/dist/assets/view-modal/gantt-icon.d.ts +3 -0
- package/dist/assets/view-modal/grid-icon/index.esm.js +1 -0
- package/dist/assets/view-modal/grid-icon/index.esm.js.map +1 -1
- package/dist/assets/view-modal/grid-icon/index.js +2 -2
- package/dist/assets/view-modal/grid-icon/index.js.map +1 -1
- package/dist/assets/view-modal/grid-icon.d.ts +3 -0
- package/dist/assets/view-modal/index.d.ts +12 -0
- package/dist/assets/view-modal/kanban-icon/index.esm.js +1 -0
- package/dist/assets/view-modal/kanban-icon/index.esm.js.map +1 -1
- package/dist/assets/view-modal/kanban-icon/index.js +2 -2
- package/dist/assets/view-modal/kanban-icon/index.js.map +1 -1
- package/dist/assets/view-modal/kanban-icon.d.ts +3 -0
- package/dist/assets/view-modal/table-icon/index.esm.js +1 -0
- package/dist/assets/view-modal/table-icon/index.esm.js.map +1 -1
- package/dist/assets/view-modal/table-icon/index.js +2 -2
- package/dist/assets/view-modal/table-icon/index.js.map +1 -1
- package/dist/assets/view-modal/table-icon.d.ts +3 -0
- package/dist/components/Dashboard/dashboard-card/index.esm.js +1 -0
- package/dist/components/Dashboard/dashboard-card/index.esm.js.map +1 -1
- package/dist/components/Dashboard/dashboard-card/index.js +3 -3
- package/dist/components/Dashboard/dashboard-card/index.js.map +1 -1
- package/dist/components/Dashboard/dashboard-card.d.ts +8 -0
- package/dist/components/Dashboard/dashboard-header/index.esm.js +3 -2
- package/dist/components/Dashboard/dashboard-header/index.esm.js.map +1 -1
- package/dist/components/Dashboard/dashboard-header/index.js +3 -3
- package/dist/components/Dashboard/dashboard-header/index.js.map +1 -1
- package/dist/components/Dashboard/dashboard-header.d.ts +8 -0
- package/dist/components/Dashboard/index.d.ts +4 -0
- package/dist/components/accordion/accordion/index.esm.js +1 -0
- package/dist/components/accordion/accordion/index.esm.js.map +1 -1
- package/dist/components/accordion/accordion/index.js +1 -1
- package/dist/components/accordion/accordion/index.js.map +1 -1
- package/dist/components/accordion/accordion.d.ts +10 -0
- package/dist/components/accordion/index.d.ts +2 -0
- package/dist/components/action-bar/action-bar/index.esm.js +13 -12
- package/dist/components/action-bar/action-bar/index.esm.js.map +1 -1
- package/dist/components/action-bar/action-bar/index.js +18 -18
- package/dist/components/action-bar/action-bar/index.js.map +1 -1
- package/dist/components/action-bar/action-bar.d.ts +50 -0
- package/dist/components/action-bar/index.d.ts +2 -0
- package/dist/components/activity-tag/activity-tag/index.esm.js +2 -2
- package/dist/components/activity-tag/activity-tag/index.js +2 -2
- package/dist/components/activity-tag/activity-tag/index.js.map +1 -1
- package/dist/components/activity-tag/activity-tag.d.ts +3 -0
- package/dist/components/activity-tag/index.d.ts +2 -0
- package/dist/components/activityArea/activityArea.d.ts +3 -0
- package/dist/components/activityArea/index.d.ts +2 -0
- package/dist/components/activityLog/activity-log/index.esm.js +1 -1
- package/dist/components/activityLog/activity-log/index.js +8 -8
- package/dist/components/activityLog/activity-log/index.js.map +1 -1
- package/dist/components/activityLog/activity-log.d.ts +3 -0
- package/dist/components/activityLog/index.d.ts +2 -0
- package/dist/components/alert/alert/index.esm.js +1 -0
- package/dist/components/alert/alert/index.esm.js.map +1 -1
- package/dist/components/alert/alert/index.js +2 -2
- package/dist/components/alert/alert/index.js.map +1 -1
- package/dist/components/alert/alert.d.ts +5 -0
- package/dist/components/alert/index.d.ts +2 -0
- package/dist/components/appbar/appbar.d.ts +3 -0
- package/dist/components/appbar/index.d.ts +2 -0
- package/dist/components/approval-wrapper/approval-wrapper/index.esm.js +2 -2
- 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/approval-wrapper/approval-wrapper.d.ts +2 -0
- package/dist/components/approval-wrapper/index.d.ts +2 -0
- package/dist/components/avatar/avatar.d.ts +3 -0
- package/dist/components/avatar/index.d.ts +2 -0
- package/dist/components/board/board/index.esm.js +1 -1
- package/dist/components/board/board/index.js +1 -1
- package/dist/components/board/board/index.js.map +1 -1
- package/dist/components/board/board.d.ts +19 -0
- package/dist/components/board/columnHeader/index.esm.js +1 -0
- package/dist/components/board/columnHeader/index.esm.js.map +1 -1
- package/dist/components/board/columnHeader/index.js +2 -2
- package/dist/components/board/columnHeader/index.js.map +1 -1
- package/dist/components/board/columnHeader.d.ts +3 -0
- package/dist/components/board/index.d.ts +4 -0
- package/dist/components/bread-crumb/bread-crumb/index.esm.js +1 -0
- package/dist/components/bread-crumb/bread-crumb/index.esm.js.map +1 -1
- package/dist/components/bread-crumb/bread-crumb/index.js +3 -3
- package/dist/components/bread-crumb/bread-crumb/index.js.map +1 -1
- package/dist/components/bread-crumb/bread-crumb.d.ts +14 -0
- package/dist/components/bread-crumb/index.d.ts +2 -0
- package/dist/components/button/button/index.esm.js +1 -11
- package/dist/components/button/button/index.esm.js.map +1 -1
- package/dist/components/button/button/index.js +2 -2
- package/dist/components/button/button/index.js.map +1 -1
- package/dist/components/button/button.d.ts +5 -0
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/calculation-summary/calculation-summary.d.ts +11 -0
- package/dist/components/calculation-summary/components/discount-summary/index.esm.js +1 -1
- package/dist/components/calculation-summary/components/discount-summary/index.js +1 -1
- package/dist/components/calculation-summary/components/discount-summary/index.js.map +1 -1
- package/dist/components/calculation-summary/components/discount-summary.d.ts +13 -0
- package/dist/components/calculation-summary/components/index.d.ts +10 -0
- package/dist/components/calculation-summary/components/items-summary/index.esm.js +1 -1
- package/dist/components/calculation-summary/components/items-summary/index.js +7 -7
- package/dist/components/calculation-summary/components/items-summary/index.js.map +1 -1
- package/dist/components/calculation-summary/components/items-summary.d.ts +10 -0
- package/dist/components/calculation-summary/components/subtotal-summary/index.esm.js +1 -1
- package/dist/components/calculation-summary/components/subtotal-summary/index.js +1 -1
- package/dist/components/calculation-summary/components/subtotal-summary/index.js.map +1 -1
- package/dist/components/calculation-summary/components/subtotal-summary.d.ts +10 -0
- package/dist/components/calculation-summary/components/taxes-and-charges-summary/index.esm.js +1 -1
- package/dist/components/calculation-summary/components/taxes-and-charges-summary/index.js +1 -1
- package/dist/components/calculation-summary/components/taxes-and-charges-summary/index.js.map +1 -1
- package/dist/components/calculation-summary/components/taxes-and-charges-summary.d.ts +14 -0
- package/dist/components/calculation-summary/components/total-summary/index.esm.js +1 -1
- package/dist/components/calculation-summary/components/total-summary/index.js +1 -1
- package/dist/components/calculation-summary/components/total-summary/index.js.map +1 -1
- package/dist/components/calculation-summary/components/total-summary.d.ts +10 -0
- package/dist/components/calculation-summary/index.d.ts +3 -0
- package/dist/components/calendar/calendar.d.ts +3 -0
- package/dist/components/calendar/index.d.ts +2 -0
- package/dist/components/card-wrapper/card-wrapper/index.esm.js +1 -0
- package/dist/components/card-wrapper/card-wrapper/index.esm.js.map +1 -1
- package/dist/components/card-wrapper/card-wrapper/index.js +1 -1
- package/dist/components/card-wrapper/card-wrapper/index.js.map +1 -1
- package/dist/components/card-wrapper/card-wrapper.d.ts +8 -0
- package/dist/components/card-wrapper/index.d.ts +2 -0
- package/dist/components/change-user-password-modal/change-user-password-modal/index.esm.js +7 -6
- package/dist/components/change-user-password-modal/change-user-password-modal/index.esm.js.map +1 -1
- package/dist/components/change-user-password-modal/change-user-password-modal/index.js +8 -8
- package/dist/components/change-user-password-modal/change-user-password-modal/index.js.map +1 -1
- package/dist/components/change-user-password-modal/change-user-password-modal.d.ts +7 -0
- package/dist/components/change-user-password-modal/index.d.ts +2 -0
- package/dist/components/charts/ChartLegends.d.ts +7 -0
- package/dist/components/charts/areaLinerChart/index.esm.js +1 -0
- package/dist/components/charts/areaLinerChart/index.esm.js.map +1 -1
- package/dist/components/charts/areaLinerChart/index.js +2 -2
- package/dist/components/charts/areaLinerChart/index.js.map +1 -1
- package/dist/components/charts/areaLinerChart.d.ts +19 -0
- package/dist/components/charts/bar-chart/bar-chart/index.esm.js +1 -0
- package/dist/components/charts/bar-chart/bar-chart/index.esm.js.map +1 -1
- package/dist/components/charts/bar-chart/bar-chart/index.js +1 -1
- package/dist/components/charts/bar-chart/bar-chart/index.js.map +1 -1
- package/dist/components/charts/bar-chart/bar-chart.d.ts +16 -0
- package/dist/components/charts/bar-chart/index.d.ts +2 -0
- package/dist/components/charts/barChart/barChart/index.esm.js +1 -0
- package/dist/components/charts/barChart/barChart/index.esm.js.map +1 -1
- package/dist/components/charts/barChart/barChart/index.js +1 -1
- package/dist/components/charts/barChart/barChart/index.js.map +1 -1
- package/dist/components/charts/barChart/barChart.d.ts +20 -0
- package/dist/components/charts/barChart/index.d.ts +2 -0
- package/dist/components/charts/barLineChart/barLinechart.d.ts +29 -0
- package/dist/components/charts/barLineChart/index.d.ts +2 -0
- package/dist/components/charts/donut-chart/donut-chart/index.esm.js +1 -0
- package/dist/components/charts/donut-chart/donut-chart/index.esm.js.map +1 -1
- package/dist/components/charts/donut-chart/donut-chart/index.js +4 -4
- package/dist/components/charts/donut-chart/donut-chart/index.js.map +1 -1
- package/dist/components/charts/donut-chart/donut-chart.d.ts +21 -0
- package/dist/components/charts/donut-chart/index.d.ts +2 -0
- package/dist/components/charts/donutChart/DonutChart/index.esm.js +1 -0
- package/dist/components/charts/donutChart/DonutChart/index.esm.js.map +1 -1
- package/dist/components/charts/donutChart/DonutChart/index.js +3 -3
- package/dist/components/charts/donutChart/DonutChart/index.js.map +1 -1
- package/dist/components/charts/donutChart/DonutChart.d.ts +22 -0
- package/dist/components/charts/donutChart/index.d.ts +2 -0
- package/dist/components/charts/groupBarChart/GroupBarChart/index.esm.js +1 -0
- package/dist/components/charts/groupBarChart/GroupBarChart/index.esm.js.map +1 -1
- package/dist/components/charts/groupBarChart/GroupBarChart/index.js +1 -1
- package/dist/components/charts/groupBarChart/GroupBarChart/index.js.map +1 -1
- package/dist/components/charts/groupBarChart/GroupBarChart.d.ts +10 -0
- package/dist/components/charts/groupBarChart/index.d.ts +2 -0
- package/dist/components/charts/index.d.ts +20 -0
- package/dist/components/charts/line-chart/area-line-chart.d.ts +15 -0
- 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/charts/line-chart/area-lineChart.d.ts +15 -0
- package/dist/components/charts/line-chart/index.d.ts +6 -0
- package/dist/components/charts/line-chart/line-chart.d.ts +14 -0
- package/dist/components/charts/multiLineChart/index.d.ts +2 -0
- package/dist/components/charts/multiLineChart/multi-line-chart/index.esm.js +1 -0
- package/dist/components/charts/multiLineChart/multi-line-chart/index.esm.js.map +1 -1
- package/dist/components/charts/multiLineChart/multi-line-chart/index.js +1 -1
- package/dist/components/charts/multiLineChart/multi-line-chart/index.js.map +1 -1
- package/dist/components/charts/multiLineChart/multi-line-chart.d.ts +21 -0
- package/dist/components/checkbox/checkbox/index.esm.js +1 -0
- package/dist/components/checkbox/checkbox/index.esm.js.map +1 -1
- package/dist/components/checkbox/checkbox/index.js +1 -1
- package/dist/components/checkbox/checkbox/index.js.map +1 -1
- package/dist/components/checkbox/checkbox.d.ts +5 -0
- package/dist/components/checkbox/index.d.ts +2 -0
- package/dist/components/chip/chip/index.esm.js +1 -0
- package/dist/components/chip/chip/index.esm.js.map +1 -1
- package/dist/components/chip/chip/index.js +2 -2
- package/dist/components/chip/chip/index.js.map +1 -1
- package/dist/components/chip/chip.d.ts +11 -0
- package/dist/components/chip/index.d.ts +2 -0
- package/dist/components/chip-generator/chip-generator.d.ts +27 -0
- package/dist/components/chip-generator/index.d.ts +2 -0
- package/dist/components/color-picker-input/color-picker-input/index.esm.js +2 -1
- package/dist/components/color-picker-input/color-picker-input/index.esm.js.map +1 -1
- package/dist/components/color-picker-input/color-picker-input/index.js +2 -2
- package/dist/components/color-picker-input/color-picker-input/index.js.map +1 -1
- package/dist/components/color-picker-input/color-picker-input.d.ts +8 -0
- package/dist/components/color-picker-input/index.d.ts +2 -0
- package/dist/components/confirm-modal/confirm-modal/index.esm.js +2 -1
- package/dist/components/confirm-modal/confirm-modal/index.esm.js.map +1 -1
- package/dist/components/confirm-modal/confirm-modal/index.js +4 -4
- package/dist/components/confirm-modal/confirm-modal/index.js.map +1 -1
- package/dist/components/confirm-modal/confirm-modal.d.ts +21 -0
- package/dist/components/confirm-modal/index.d.ts +3 -0
- package/dist/components/country-select/country-select/index.esm.js +1 -0
- package/dist/components/country-select/country-select/index.esm.js.map +1 -1
- package/dist/components/country-select/country-select/index.js +2 -2
- package/dist/components/country-select/country-select/index.js.map +1 -1
- package/dist/components/country-select/country-select.d.ts +7 -0
- package/dist/components/country-select/index.d.ts +2 -0
- package/dist/components/custom-snackbar/custom-snackbar/index.esm.js +1 -0
- package/dist/components/custom-snackbar/custom-snackbar/index.esm.js.map +1 -1
- package/dist/components/custom-snackbar/custom-snackbar/index.js +3 -3
- package/dist/components/custom-snackbar/custom-snackbar/index.js.map +1 -1
- package/dist/components/custom-snackbar/custom-snackbar.d.ts +11 -0
- package/dist/components/custom-snackbar/index.d.ts +2 -0
- package/dist/components/custom-toggle-switch/custom-toggle-switch/index.esm.js +1 -0
- package/dist/components/custom-toggle-switch/custom-toggle-switch/index.esm.js.map +1 -1
- package/dist/components/custom-toggle-switch/custom-toggle-switch/index.js +4 -4
- package/dist/components/custom-toggle-switch/custom-toggle-switch/index.js.map +1 -1
- package/dist/components/custom-toggle-switch/custom-toggle-switch.d.ts +11 -0
- package/dist/components/custom-toggle-switch/index.d.ts +2 -0
- package/dist/components/date-picker/date-picker/index.esm.js +1 -0
- package/dist/components/date-picker/date-picker/index.esm.js.map +1 -1
- package/dist/components/date-picker/date-picker/index.js +1 -1
- package/dist/components/date-picker/date-picker/index.js.map +1 -1
- package/dist/components/date-picker/date-picker.d.ts +21 -0
- package/dist/components/date-picker/index.d.ts +2 -0
- package/dist/components/date-range-picker/date-range-picker/index.esm.js +2 -1
- package/dist/components/date-range-picker/date-range-picker/index.esm.js.map +1 -1
- package/dist/components/date-range-picker/date-range-picker/index.js +3 -3
- package/dist/components/date-range-picker/date-range-picker/index.js.map +1 -1
- package/dist/components/date-range-picker/date-range-picker.d.ts +4 -0
- package/dist/components/date-range-picker/index.d.ts +2 -0
- package/dist/components/date-time-picker/date-time-picker/index.esm.js +1 -0
- package/dist/components/date-time-picker/date-time-picker/index.esm.js.map +1 -1
- package/dist/components/date-time-picker/date-time-picker/index.js +2 -2
- package/dist/components/date-time-picker/date-time-picker/index.js.map +1 -1
- package/dist/components/date-time-picker/date-time-picker.d.ts +21 -0
- package/dist/components/date-time-picker/index.d.ts +2 -0
- package/dist/components/dropdown-button/dropdown-button/index.esm.js +1 -1
- package/dist/components/dropdown-button/dropdown-button/index.js +5 -5
- package/dist/components/dropdown-button/dropdown-button/index.js.map +1 -1
- package/dist/components/dropdown-button/dropdown-button.d.ts +24 -0
- package/dist/components/dropdown-button/index.d.ts +2 -0
- 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/dynamic-layout-wrapper/dynamic-layout-wrapper.d.ts +67 -0
- package/dist/components/dynamic-layout-wrapper/index.d.ts +2 -0
- package/dist/components/dynamic-modal/index.esm.js +2 -2
- package/dist/components/dynamic-modal/index.js +2 -2
- package/dist/components/dynamic-modal/index.js.map +1 -1
- package/dist/components/dynamic-modal.d.ts +9 -0
- package/dist/components/editor/custom-editor/index.esm.js +96 -67
- package/dist/components/editor/custom-editor/index.esm.js.map +1 -1
- package/dist/components/editor/custom-editor/index.js +3 -3
- package/dist/components/editor/custom-editor/index.js.map +1 -1
- package/dist/components/editor/custom-editor.d.ts +13 -0
- package/dist/components/editor/index.d.ts +2 -0
- package/dist/components/entity-view-wrapper/entity-view-wrapper/index.esm.js +1 -1
- package/dist/components/entity-view-wrapper/entity-view-wrapper/index.js +1 -1
- package/dist/components/entity-view-wrapper/entity-view-wrapper/index.js.map +1 -1
- package/dist/components/entity-view-wrapper/entity-view-wrapper.d.ts +26 -0
- package/dist/components/entity-view-wrapper/index.d.ts +2 -0
- package/dist/components/examples/FlexibleReduxExample.d.ts +8 -0
- package/dist/components/examples/index.d.ts +2 -0
- package/dist/components/expandable-summary-wrapper/expandable-summary-wrapper.d.ts +18 -0
- package/dist/components/expandable-summary-wrapper/index.d.ts +2 -0
- package/dist/components/fallback/fallback/index.esm.js +1 -0
- package/dist/components/fallback/fallback/index.esm.js.map +1 -1
- package/dist/components/fallback/fallback/index.js +5 -5
- package/dist/components/fallback/fallback/index.js.map +1 -1
- package/dist/components/fallback/fallback.d.ts +10 -0
- package/dist/components/fallback/index.d.ts +2 -0
- package/dist/components/filter/components/add-filter/index.esm.js +2 -1
- package/dist/components/filter/components/add-filter/index.esm.js.map +1 -1
- package/dist/components/filter/components/add-filter/index.js +2 -2
- package/dist/components/filter/components/add-filter/index.js.map +1 -1
- package/dist/components/filter/components/add-filter.d.ts +5 -0
- package/dist/components/filter/components/add-group/index.esm.js +2 -1
- package/dist/components/filter/components/add-group/index.esm.js.map +1 -1
- package/dist/components/filter/components/add-group/index.js +2 -2
- package/dist/components/filter/components/add-group/index.js.map +1 -1
- package/dist/components/filter/components/add-group.d.ts +5 -0
- package/dist/components/filter/components/combinator-select/index.esm.js +2 -1
- package/dist/components/filter/components/combinator-select/index.esm.js.map +1 -1
- package/dist/components/filter/components/combinator-select/index.js +2 -2
- package/dist/components/filter/components/combinator-select/index.js.map +1 -1
- package/dist/components/filter/components/combinator-select.d.ts +3 -0
- package/dist/components/filter/components/delete-group/index.esm.js +2 -1
- package/dist/components/filter/components/delete-group/index.esm.js.map +1 -1
- package/dist/components/filter/components/delete-group/index.js +2 -2
- package/dist/components/filter/components/delete-group/index.js.map +1 -1
- package/dist/components/filter/components/delete-group.d.ts +5 -0
- package/dist/components/filter/components/field-select/index.esm.js +4 -3
- package/dist/components/filter/components/field-select/index.esm.js.map +1 -1
- package/dist/components/filter/components/field-select/index.js +3 -3
- package/dist/components/filter/components/field-select/index.js.map +1 -1
- package/dist/components/filter/components/field-select.d.ts +5 -0
- package/dist/components/filter/components/index.d.ts +16 -0
- package/dist/components/filter/components/operator-select/index.esm.js +3 -2
- package/dist/components/filter/components/operator-select/index.esm.js.map +1 -1
- package/dist/components/filter/components/operator-select/index.js +2 -2
- package/dist/components/filter/components/operator-select/index.js.map +1 -1
- package/dist/components/filter/components/operator-select.d.ts +5 -0
- package/dist/components/filter/components/remove-action/index.esm.js +1 -0
- package/dist/components/filter/components/remove-action/index.esm.js.map +1 -1
- package/dist/components/filter/components/remove-action/index.js +2 -2
- package/dist/components/filter/components/remove-action/index.js.map +1 -1
- package/dist/components/filter/components/remove-action.d.ts +5 -0
- package/dist/components/filter/components/value-editor/index.esm.js +4 -3
- package/dist/components/filter/components/value-editor/index.esm.js.map +1 -1
- package/dist/components/filter/components/value-editor/index.js +4 -4
- package/dist/components/filter/components/value-editor/index.js.map +1 -1
- package/dist/components/filter/components/value-editor.d.ts +5 -0
- package/dist/components/filter/fields.d.ts +5 -0
- package/dist/components/filter/filter/index.esm.js +15 -14
- package/dist/components/filter/filter/index.esm.js.map +1 -1
- package/dist/components/filter/filter/index.js +17 -17
- package/dist/components/filter/filter/index.js.map +1 -1
- package/dist/components/filter/filter.d.ts +23 -0
- package/dist/components/filter/index.d.ts +4 -0
- package/dist/components/footer/footer/index.esm.js +3 -2
- package/dist/components/footer/footer/index.esm.js.map +1 -1
- package/dist/components/footer/footer/index.js +2 -2
- package/dist/components/footer/footer/index.js.map +1 -1
- package/dist/components/footer/footer.d.ts +22 -0
- package/dist/components/footer/index.d.ts +2 -0
- package/dist/components/footer.d.ts +4 -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/element-controller.d.ts +14 -0
- package/dist/components/form-control/form-builder/form-builder-element/button/index.esm.js +2 -1
- package/dist/components/form-control/form-builder/form-builder-element/button/index.esm.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/button/index.js +2 -2
- package/dist/components/form-control/form-builder/form-builder-element/button/index.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/button.d.ts +17 -0
- package/dist/components/form-control/form-builder/form-builder-element/checkbox/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/checkbox/index.js +4 -4
- package/dist/components/form-control/form-builder/form-builder-element/checkbox/index.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/checkbox.d.ts +20 -0
- package/dist/components/form-control/form-builder/form-builder-element/chip-or-placeholder/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/chip-or-placeholder/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/chip-or-placeholder/index.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/chip-or-placeholder.d.ts +13 -0
- package/dist/components/form-control/form-builder/form-builder-element/date/index.esm.js +2 -1
- package/dist/components/form-control/form-builder/form-builder-element/date/index.esm.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/date/index.js +2 -2
- package/dist/components/form-control/form-builder/form-builder-element/date/index.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/date-range-picker/index.esm.js +2 -1
- package/dist/components/form-control/form-builder/form-builder-element/date-range-picker/index.esm.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/date-range-picker/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/date-range-picker/index.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/date-range-picker.d.ts +25 -0
- package/dist/components/form-control/form-builder/form-builder-element/date-time/index.esm.js +2 -1
- package/dist/components/form-control/form-builder/form-builder-element/date-time/index.esm.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/date-time/index.js +3 -3
- package/dist/components/form-control/form-builder/form-builder-element/date-time/index.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/date-time.d.ts +27 -0
- package/dist/components/form-control/form-builder/form-builder-element/date.d.ts +22 -0
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-currency-input/index.esm.js +2 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-currency-input/index.esm.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-currency-input/index.js +2 -2
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-currency-input/index.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-currency-input.d.ts +31 -0
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-element-hoc/index.esm.js +1 -0
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-element-hoc/index.esm.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-element-hoc/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-element-hoc/index.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-element-hoc.d.ts +20 -0
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-input-select/index.esm.js +2 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-input-select/index.esm.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-input-select/index.js +2 -2
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-input-select/index.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-input-select.d.ts +30 -0
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.esm.js +3 -3
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.js +8 -8
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-select.d.ts +50 -0
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-tags-input/index.esm.js +3 -2
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-tags-input/index.esm.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-tags-input/index.js +3 -3
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-tags-input/index.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-tags-input.d.ts +25 -0
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-text-editor.d.ts +11 -0
- package/dist/components/form-control/form-builder/form-builder-element/index.d.ts +46 -0
- package/dist/components/form-control/form-builder/form-builder-element/info/index.esm.js +2 -1
- package/dist/components/form-control/form-builder/form-builder-element/info/index.esm.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/info/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/info/index.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/info.d.ts +21 -0
- package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/index.d.ts +2 -0
- package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/location-add-modal/index.esm.js +5 -5
- package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/location-add-modal/index.js +14 -14
- package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/location-add-modal/index.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/location-add-modal.d.ts +11 -0
- package/dist/components/form-control/form-builder/form-builder-element/media/index.esm.js +2 -1
- package/dist/components/form-control/form-builder/form-builder-element/media/index.esm.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/media/index.js +2 -2
- package/dist/components/form-control/form-builder/form-builder-element/media/index.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/media.d.ts +5 -0
- package/dist/components/form-control/form-builder/form-builder-element/phone/index.esm.js +2 -1
- package/dist/components/form-control/form-builder/form-builder-element/phone/index.esm.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/phone/index.js +2 -2
- package/dist/components/form-control/form-builder/form-builder-element/phone/index.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/phone.d.ts +4 -0
- package/dist/components/form-control/form-builder/form-builder-element/radio-button/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/radio-button/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/radio-button/index.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/radio-button.d.ts +23 -0
- package/dist/components/form-control/form-builder/form-builder-element/section/index.esm.js +2 -1
- package/dist/components/form-control/form-builder/form-builder-element/section/index.esm.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/section/index.js +4 -4
- package/dist/components/form-control/form-builder/form-builder-element/section/index.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/section.d.ts +22 -0
- package/dist/components/form-control/form-builder/form-builder-element/select/index.esm.js +4 -3
- package/dist/components/form-control/form-builder/form-builder-element/select/index.esm.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/select/index.js +13 -13
- package/dist/components/form-control/form-builder/form-builder-element/select/index.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/select-configuration.d.ts +14 -0
- package/dist/components/form-control/form-builder/form-builder-element/select.d.ts +5 -0
- package/dist/components/form-control/form-builder/form-builder-element/table/index.esm.js +4 -4
- package/dist/components/form-control/form-builder/form-builder-element/table/index.js +5 -5
- package/dist/components/form-control/form-builder/form-builder-element/table/index.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/table.d.ts +30 -0
- package/dist/components/form-control/form-builder/form-builder-element/text/index.esm.js +2 -1
- package/dist/components/form-control/form-builder/form-builder-element/text/index.esm.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/text/index.js +2 -2
- package/dist/components/form-control/form-builder/form-builder-element/text/index.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/text.d.ts +5 -0
- package/dist/components/form-control/form-builder/form-builder-element/time/index.esm.js +2 -1
- package/dist/components/form-control/form-builder/form-builder-element/time/index.esm.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/time/index.js +2 -2
- package/dist/components/form-control/form-builder/form-builder-element/time/index.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/time.d.ts +5 -0
- package/dist/components/form-control/form-builder/form-builder-element/toggle-button.d.ts +17 -0
- package/dist/components/form-control/form-builder/index.d.ts +3 -0
- package/dist/components/form-control/form-parser/data/index.esm.js +81 -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/form-control/form-parser/data.d.ts +45 -0
- package/dist/components/form-control/form-parser/form-parser/index.esm.js +5 -4
- package/dist/components/form-control/form-parser/form-parser/index.esm.js.map +1 -1
- package/dist/components/form-control/form-parser/form-parser/index.js +4 -4
- package/dist/components/form-control/form-parser/form-parser/index.js.map +1 -1
- package/dist/components/form-control/form-parser/form-parser.d.ts +4 -0
- package/dist/components/form-control/form-parser/form-section/index.esm.js +12 -11
- package/dist/components/form-control/form-parser/form-section/index.esm.js.map +1 -1
- package/dist/components/form-control/form-parser/form-section/index.js +22 -22
- package/dist/components/form-control/form-parser/form-section/index.js.map +1 -1
- package/dist/components/form-control/form-parser/form-section.d.ts +66 -0
- package/dist/components/form-control/form-parser/form-switcher/index.esm.js +1 -0
- package/dist/components/form-control/form-parser/form-switcher/index.esm.js.map +1 -1
- package/dist/components/form-control/form-parser/form-switcher/index.js +1 -1
- package/dist/components/form-control/form-parser/form-switcher/index.js.map +1 -1
- package/dist/components/form-control/form-parser/form-switcher.d.ts +3 -0
- package/dist/components/form-control/form-parser/index.d.ts +8 -0
- package/dist/components/form-control/index.d.ts +2 -0
- package/dist/components/form-header/form-header/index.esm.js +2 -1
- package/dist/components/form-header/form-header/index.esm.js.map +1 -1
- package/dist/components/form-header/form-header/index.js +3 -3
- package/dist/components/form-header/form-header/index.js.map +1 -1
- package/dist/components/form-header/form-header.d.ts +15 -0
- package/dist/components/form-header/index.d.ts +2 -0
- package/dist/components/gantt/gantt/index.esm.js +1 -0
- package/dist/components/gantt/gantt/index.esm.js.map +1 -1
- package/dist/components/gantt/gantt/index.js +2 -2
- package/dist/components/gantt/gantt/index.js.map +1 -1
- package/dist/components/gantt/gantt.d.ts +11 -0
- package/dist/components/gantt/index.d.ts +2 -0
- package/dist/components/grid/custom-grid-card/custom-grid-card/index.esm.js +2 -2
- package/dist/components/grid/custom-grid-card/custom-grid-card/index.js +9 -9
- package/dist/components/grid/custom-grid-card/custom-grid-card/index.js.map +1 -1
- package/dist/components/grid/custom-grid-card/custom-grid-card.d.ts +14 -0
- package/dist/components/grid/custom-grid-card/index.d.ts +2 -0
- package/dist/components/grid/grid-card/grid-card/index.esm.js +4 -2
- package/dist/components/grid/grid-card/grid-card/index.esm.js.map +1 -1
- package/dist/components/grid/grid-card/grid-card/index.js +10 -11
- package/dist/components/grid/grid-card/grid-card/index.js.map +1 -1
- package/dist/components/grid/grid-card/grid-card.d.ts +10 -0
- package/dist/components/grid/grid-card/index.d.ts +2 -0
- package/dist/components/grid/grid-wrapper/grid-wrapper/index.esm.js +2 -1
- package/dist/components/grid/grid-wrapper/grid-wrapper/index.esm.js.map +1 -1
- package/dist/components/grid/grid-wrapper/grid-wrapper/index.js +3 -3
- package/dist/components/grid/grid-wrapper/grid-wrapper/index.js.map +1 -1
- package/dist/components/grid/grid-wrapper/grid-wrapper.d.ts +9 -0
- package/dist/components/grid/grid-wrapper/index.d.ts +2 -0
- package/dist/components/grid/index.d.ts +3 -0
- package/dist/components/grid-fallback/grid-fallback/index.esm.js +1 -0
- package/dist/components/grid-fallback/grid-fallback/index.esm.js.map +1 -1
- package/dist/components/grid-fallback/grid-fallback/index.js +3 -3
- package/dist/components/grid-fallback/grid-fallback/index.js.map +1 -1
- package/dist/components/grid-fallback/grid-fallback.d.ts +10 -0
- package/dist/components/grid-fallback/index.d.ts +2 -0
- package/dist/components/header/components/index.d.ts +1 -0
- package/dist/components/header/components/notification-menu/index.d.ts +2 -0
- package/dist/components/header/components/notification-menu/notification-menu/index.esm.js +4 -3
- package/dist/components/header/components/notification-menu/notification-menu/index.esm.js.map +1 -1
- package/dist/components/header/components/notification-menu/notification-menu/index.js +28 -28
- package/dist/components/header/components/notification-menu/notification-menu/index.js.map +1 -1
- package/dist/components/header/components/notification-menu/notification-menu.d.ts +3 -0
- package/dist/components/header/header/index.esm.js +6 -6
- package/dist/components/header/header/index.js +18 -18
- package/dist/components/header/header/index.js.map +1 -1
- package/dist/components/header/header-enhanced.d.ts +19 -0
- package/dist/components/header/header.d.ts +4 -0
- package/dist/components/header/index.d.ts +6 -0
- package/dist/components/header/redux/actionCreator.d.ts +3 -0
- package/dist/components/header/redux/index.d.ts +5 -0
- package/dist/components/header/redux/reducer.d.ts +73 -0
- package/dist/components/header/redux/state.d.ts +14 -0
- package/dist/components/header copy.d.ts +4 -0
- package/dist/components/header-card/header-card/index.esm.js +1 -0
- package/dist/components/header-card/header-card/index.esm.js.map +1 -1
- package/dist/components/header-card/header-card/index.js +2 -2
- package/dist/components/header-card/header-card/index.js.map +1 -1
- package/dist/components/header-card/header-card.d.ts +10 -0
- package/dist/components/header-card/index.d.ts +2 -0
- package/dist/components/hr-line/hr-line/index.esm.js +1 -0
- package/dist/components/hr-line/hr-line/index.esm.js.map +1 -1
- package/dist/components/hr-line/hr-line/index.js +2 -2
- package/dist/components/hr-line/hr-line/index.js.map +1 -1
- package/dist/components/hr-line/hr-line.d.ts +4 -0
- package/dist/components/hr-line/index.d.ts +2 -0
- package/dist/components/icons/action-arrow/index.esm.js +1 -1
- package/dist/components/icons/action-arrow/index.js +1 -1
- package/dist/components/icons/action-arrow/index.js.map +1 -1
- package/dist/components/icons/action-arrow.d.ts +4 -0
- package/dist/components/icons/action.d.ts +4 -0
- package/dist/components/icons/add-circle/index.esm.js +1 -1
- package/dist/components/icons/add-circle/index.js +1 -1
- package/dist/components/icons/add-circle/index.js.map +1 -1
- package/dist/components/icons/add-circle.d.ts +4 -0
- package/dist/components/icons/arrow-bidirectional/index.esm.js +1 -1
- package/dist/components/icons/arrow-bidirectional/index.js +1 -1
- package/dist/components/icons/arrow-bidirectional/index.js.map +1 -1
- package/dist/components/icons/arrow-bidirectional.d.ts +4 -0
- package/dist/components/icons/arrow-circle-down/index.esm.js +1 -1
- package/dist/components/icons/arrow-circle-down/index.js +1 -1
- package/dist/components/icons/arrow-circle-down/index.js.map +1 -1
- package/dist/components/icons/arrow-circle-down.d.ts +4 -0
- package/dist/components/icons/arrow-down/index.esm.js +1 -1
- package/dist/components/icons/arrow-down/index.js +1 -1
- package/dist/components/icons/arrow-down/index.js.map +1 -1
- package/dist/components/icons/arrow-down-three/index.esm.js +1 -1
- package/dist/components/icons/arrow-down-three/index.js +1 -1
- package/dist/components/icons/arrow-down-three/index.js.map +1 -1
- package/dist/components/icons/arrow-down-three.d.ts +4 -0
- package/dist/components/icons/arrow-down-two/index.esm.js +1 -1
- package/dist/components/icons/arrow-down-two/index.js +1 -1
- package/dist/components/icons/arrow-down-two/index.js.map +1 -1
- package/dist/components/icons/arrow-down-two.d.ts +4 -0
- package/dist/components/icons/arrow-down.d.ts +4 -0
- package/dist/components/icons/arrow-up-down/index.esm.js +1 -1
- package/dist/components/icons/arrow-up-down/index.js +1 -1
- package/dist/components/icons/arrow-up-down/index.js.map +1 -1
- package/dist/components/icons/arrow-up-down.d.ts +4 -0
- package/dist/components/icons/arrow-up-two/index.esm.js +1 -1
- package/dist/components/icons/arrow-up-two/index.js +1 -1
- package/dist/components/icons/arrow-up-two/index.js.map +1 -1
- package/dist/components/icons/arrow-up-two.d.ts +4 -0
- package/dist/components/icons/assignments/index.esm.js +1 -1
- package/dist/components/icons/assignments/index.js +1 -1
- package/dist/components/icons/assignments/index.js.map +1 -1
- package/dist/components/icons/assignments.d.ts +4 -0
- package/dist/components/icons/blank-circle/index.esm.js +1 -1
- package/dist/components/icons/blank-circle/index.js +1 -1
- package/dist/components/icons/blank-circle/index.js.map +1 -1
- package/dist/components/icons/blank-circle.d.ts +4 -0
- package/dist/components/icons/block-filled/index.esm.js +1 -1
- package/dist/components/icons/block-filled/index.js +1 -1
- package/dist/components/icons/block-filled/index.js.map +1 -1
- package/dist/components/icons/block-filled.d.ts +6 -0
- package/dist/components/icons/calendar/index.esm.js +1 -1
- package/dist/components/icons/calendar/index.js +1 -1
- package/dist/components/icons/calendar/index.js.map +1 -1
- package/dist/components/icons/calendar-add/index.esm.js +1 -1
- package/dist/components/icons/calendar-add/index.js +1 -1
- package/dist/components/icons/calendar-add/index.js.map +1 -1
- package/dist/components/icons/calendar-add.d.ts +4 -0
- package/dist/components/icons/calendar.d.ts +4 -0
- package/dist/components/icons/check-box.d.ts +3 -0
- package/dist/components/icons/checkbox-square/index.esm.js +1 -1
- package/dist/components/icons/checkbox-square/index.js +1 -1
- package/dist/components/icons/checkbox-square/index.js.map +1 -1
- package/dist/components/icons/checkbox-square.d.ts +4 -0
- package/dist/components/icons/circular-arrow-setting/index.esm.js +1 -1
- package/dist/components/icons/circular-arrow-setting/index.js +1 -1
- package/dist/components/icons/circular-arrow-setting/index.js.map +1 -1
- package/dist/components/icons/circular-arrow-setting.d.ts +6 -0
- package/dist/components/icons/clock/index.esm.js +1 -1
- package/dist/components/icons/clock/index.js +1 -1
- package/dist/components/icons/clock/index.js.map +1 -1
- package/dist/components/icons/clock.d.ts +4 -0
- package/dist/components/icons/close/index.esm.js +1 -1
- package/dist/components/icons/close/index.js +1 -1
- package/dist/components/icons/close/index.js.map +1 -1
- package/dist/components/icons/close.d.ts +6 -0
- package/dist/components/icons/coin-outline/index.esm.js +1 -1
- package/dist/components/icons/coin-outline/index.js +1 -1
- package/dist/components/icons/coin-outline/index.js.map +1 -1
- package/dist/components/icons/coin-outline.d.ts +4 -0
- package/dist/components/icons/copy/index.esm.js +1 -1
- package/dist/components/icons/copy/index.js +1 -1
- package/dist/components/icons/copy/index.js.map +1 -1
- package/dist/components/icons/copy.d.ts +4 -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/coupon.d.ts +4 -0
- package/dist/components/icons/criteria.d.ts +4 -0
- package/dist/components/icons/cross-hire/index.esm.js +1 -1
- package/dist/components/icons/cross-hire/index.js +1 -1
- package/dist/components/icons/cross-hire/index.js.map +1 -1
- package/dist/components/icons/cross-hire.d.ts +6 -0
- package/dist/components/icons/cross.d.ts +4 -0
- package/dist/components/icons/custom-styled-icon/index.esm.js +1 -0
- package/dist/components/icons/custom-styled-icon/index.esm.js.map +1 -1
- package/dist/components/icons/custom-styled-icon/index.js +1 -1
- package/dist/components/icons/custom-styled-icon/index.js.map +1 -1
- package/dist/components/icons/custom-styled-icon.d.ts +7 -0
- package/dist/components/icons/dashboard.d.ts +4 -0
- package/dist/components/icons/document/index.esm.js +1 -1
- package/dist/components/icons/document/index.js +1 -1
- package/dist/components/icons/document/index.js.map +1 -1
- package/dist/components/icons/document-download/index.esm.js +1 -1
- package/dist/components/icons/document-download/index.js +1 -1
- package/dist/components/icons/document-download/index.js.map +1 -1
- package/dist/components/icons/document-download.d.ts +4 -0
- package/dist/components/icons/document.d.ts +4 -0
- package/dist/components/icons/dollar-circle/index.esm.js +1 -1
- package/dist/components/icons/dollar-circle/index.js +1 -1
- package/dist/components/icons/dollar-circle/index.js.map +1 -1
- package/dist/components/icons/dollar-circle-filled/index.esm.js +1 -1
- package/dist/components/icons/dollar-circle-filled/index.js +1 -1
- package/dist/components/icons/dollar-circle-filled/index.js.map +1 -1
- package/dist/components/icons/dollar-circle-filled.d.ts +6 -0
- package/dist/components/icons/dollar-circle.d.ts +4 -0
- package/dist/components/icons/edit/index.esm.js +1 -1
- package/dist/components/icons/edit/index.js +1 -1
- package/dist/components/icons/edit/index.js.map +1 -1
- package/dist/components/icons/edit.d.ts +4 -0
- package/dist/components/icons/email/index.esm.js +1 -1
- package/dist/components/icons/email/index.js +1 -1
- package/dist/components/icons/email/index.js.map +1 -1
- package/dist/components/icons/email.d.ts +4 -0
- package/dist/components/icons/export/index.esm.js +1 -1
- package/dist/components/icons/export/index.js +1 -1
- package/dist/components/icons/export/index.js.map +1 -1
- package/dist/components/icons/export.d.ts +6 -0
- package/dist/components/icons/eye/index.esm.js +1 -1
- package/dist/components/icons/eye/index.js +1 -1
- package/dist/components/icons/eye/index.js.map +1 -1
- package/dist/components/icons/eye-off/index.esm.js +1 -1
- package/dist/components/icons/eye-off/index.js +1 -1
- package/dist/components/icons/eye-off/index.js.map +1 -1
- package/dist/components/icons/eye-off.d.ts +4 -0
- package/dist/components/icons/eye-plus-circle/index.esm.js +1 -1
- package/dist/components/icons/eye-plus-circle/index.js +1 -1
- package/dist/components/icons/eye-plus-circle/index.js.map +1 -1
- package/dist/components/icons/eye-plus-circle.d.ts +6 -0
- package/dist/components/icons/eye.d.ts +4 -0
- package/dist/components/icons/filled-circle/index.esm.js +1 -1
- package/dist/components/icons/filled-circle/index.js +1 -1
- package/dist/components/icons/filled-circle/index.js.map +1 -1
- package/dist/components/icons/filled-circle.d.ts +4 -0
- package/dist/components/icons/filter/index.esm.js +1 -1
- package/dist/components/icons/filter/index.js +1 -1
- package/dist/components/icons/filter/index.js.map +1 -1
- package/dist/components/icons/filter-remove/index.esm.js +1 -1
- package/dist/components/icons/filter-remove/index.js +1 -1
- package/dist/components/icons/filter-remove/index.js.map +1 -1
- package/dist/components/icons/filter-remove.d.ts +4 -0
- package/dist/components/icons/filter.d.ts +4 -0
- package/dist/components/icons/folder-save/index.esm.js +1 -1
- package/dist/components/icons/folder-save/index.js +1 -1
- package/dist/components/icons/folder-save/index.js.map +1 -1
- package/dist/components/icons/folder-save.d.ts +4 -0
- package/dist/components/icons/grid/index.esm.js +1 -1
- package/dist/components/icons/grid/index.js +1 -1
- package/dist/components/icons/grid/index.js.map +1 -1
- package/dist/components/icons/grid.d.ts +4 -0
- package/dist/components/icons/hashtag/index.esm.js +1 -1
- package/dist/components/icons/hashtag/index.js +1 -1
- package/dist/components/icons/hashtag/index.js.map +1 -1
- package/dist/components/icons/hashtag.d.ts +4 -0
- package/dist/components/icons/image/index.esm.js +1 -1
- package/dist/components/icons/image/index.js +1 -1
- package/dist/components/icons/image/index.js.map +1 -1
- package/dist/components/icons/image.d.ts +4 -0
- package/dist/components/icons/import.d.ts +4 -0
- package/dist/components/icons/index.d.ts +177 -0
- package/dist/components/icons/info/index.esm.js +1 -1
- package/dist/components/icons/info/index.js +1 -1
- package/dist/components/icons/info/index.js.map +1 -1
- package/dist/components/icons/info-circle/index.esm.js +1 -1
- package/dist/components/icons/info-circle/index.js +1 -1
- package/dist/components/icons/info-circle/index.js.map +1 -1
- package/dist/components/icons/info-circle.d.ts +4 -0
- package/dist/components/icons/info.d.ts +6 -0
- package/dist/components/icons/link/index.esm.js +1 -1
- package/dist/components/icons/link/index.js +1 -1
- package/dist/components/icons/link/index.js.map +1 -1
- package/dist/components/icons/link-horizontal/index.esm.js +1 -1
- package/dist/components/icons/link-horizontal/index.js +1 -1
- package/dist/components/icons/link-horizontal/index.js.map +1 -1
- package/dist/components/icons/link-horizontal.d.ts +4 -0
- package/dist/components/icons/link.d.ts +4 -0
- package/dist/components/icons/location/index.esm.js +1 -1
- package/dist/components/icons/location/index.js +1 -1
- package/dist/components/icons/location/index.js.map +1 -1
- package/dist/components/icons/location.d.ts +4 -0
- package/dist/components/icons/lowest-lead-time/index.esm.js +1 -1
- package/dist/components/icons/lowest-lead-time/index.js +1 -1
- package/dist/components/icons/lowest-lead-time/index.js.map +1 -1
- package/dist/components/icons/lowest-lead-time.d.ts +4 -0
- package/dist/components/icons/lowest-min-qty/index.esm.js +1 -1
- package/dist/components/icons/lowest-min-qty/index.js +1 -1
- package/dist/components/icons/lowest-min-qty/index.js.map +1 -1
- package/dist/components/icons/lowest-min-qty.d.ts +4 -0
- package/dist/components/icons/lowest-price/index.esm.js +1 -1
- package/dist/components/icons/lowest-price/index.js +1 -1
- package/dist/components/icons/lowest-price/index.js.map +1 -1
- package/dist/components/icons/lowest-price.d.ts +4 -0
- package/dist/components/icons/more/index.esm.js +1 -1
- package/dist/components/icons/more/index.js +1 -1
- package/dist/components/icons/more/index.js.map +1 -1
- package/dist/components/icons/more.d.ts +4 -0
- package/dist/components/icons/notification/index.esm.js +1 -1
- package/dist/components/icons/notification/index.js +1 -1
- package/dist/components/icons/notification/index.js.map +1 -1
- package/dist/components/icons/notification.d.ts +4 -0
- package/dist/components/icons/paper-clip/index.esm.js +1 -1
- package/dist/components/icons/paper-clip/index.js +1 -1
- package/dist/components/icons/paper-clip/index.js.map +1 -1
- package/dist/components/icons/paper-clip.d.ts +4 -0
- package/dist/components/icons/paragraph/index.esm.js +1 -1
- package/dist/components/icons/paragraph/index.js +1 -1
- package/dist/components/icons/paragraph/index.js.map +1 -1
- package/dist/components/icons/paragraph.d.ts +4 -0
- package/dist/components/icons/payment-request/index.esm.js +1 -1
- package/dist/components/icons/payment-request/index.js +1 -1
- package/dist/components/icons/payment-request/index.js.map +1 -1
- package/dist/components/icons/payment-request.d.ts +6 -0
- package/dist/components/icons/phone/index.esm.js +1 -1
- package/dist/components/icons/phone/index.js +1 -1
- package/dist/components/icons/phone/index.js.map +1 -1
- package/dist/components/icons/phone.d.ts +4 -0
- package/dist/components/icons/printer/index.esm.js +1 -1
- package/dist/components/icons/printer/index.js +1 -1
- package/dist/components/icons/printer/index.js.map +1 -1
- package/dist/components/icons/printer.d.ts +4 -0
- package/dist/components/icons/process-calendar/index.esm.js +1 -1
- package/dist/components/icons/process-calendar/index.js +1 -1
- package/dist/components/icons/process-calendar/index.js.map +1 -1
- package/dist/components/icons/process-calendar.d.ts +4 -0
- package/dist/components/icons/promotion/index.esm.js +1 -1
- package/dist/components/icons/promotion/index.js +1 -1
- package/dist/components/icons/promotion/index.js.map +1 -1
- package/dist/components/icons/promotion.d.ts +6 -0
- package/dist/components/icons/radio-button/index.esm.js +1 -1
- package/dist/components/icons/radio-button/index.js +1 -1
- package/dist/components/icons/radio-button/index.js.map +1 -1
- package/dist/components/icons/radio-button.d.ts +4 -0
- package/dist/components/icons/receipt/index.esm.js +1 -1
- package/dist/components/icons/receipt/index.js +1 -1
- package/dist/components/icons/receipt/index.js.map +1 -1
- package/dist/components/icons/receipt-filled/index.esm.js +1 -1
- package/dist/components/icons/receipt-filled/index.js +1 -1
- package/dist/components/icons/receipt-filled/index.js.map +1 -1
- package/dist/components/icons/receipt-filled.d.ts +6 -0
- package/dist/components/icons/receipt-outline/index.esm.js +1 -1
- package/dist/components/icons/receipt-outline/index.js +1 -1
- package/dist/components/icons/receipt-outline/index.js.map +1 -1
- package/dist/components/icons/receipt-outline.d.ts +4 -0
- package/dist/components/icons/receipt.d.ts +6 -0
- package/dist/components/icons/rectangle-filled.d.ts +4 -0
- package/dist/components/icons/rectangle.d.ts +4 -0
- package/dist/components/icons/refresh-icon/index.esm.js +1 -1
- package/dist/components/icons/refresh-icon/index.js +1 -1
- package/dist/components/icons/refresh-icon/index.js.map +1 -1
- package/dist/components/icons/refresh-icon.d.ts +4 -0
- package/dist/components/icons/replace/index.esm.js +1 -1
- package/dist/components/icons/replace/index.js +1 -1
- package/dist/components/icons/replace/index.js.map +1 -1
- package/dist/components/icons/replace.d.ts +4 -0
- package/dist/components/icons/save/index.esm.js +1 -1
- package/dist/components/icons/save/index.js +2 -2
- package/dist/components/icons/save/index.js.map +1 -1
- package/dist/components/icons/save.d.ts +6 -0
- package/dist/components/icons/search/index.esm.js +1 -1
- package/dist/components/icons/search/index.js +1 -1
- package/dist/components/icons/search/index.js.map +1 -1
- package/dist/components/icons/search-status/index.esm.js +1 -1
- package/dist/components/icons/search-status/index.js +1 -1
- package/dist/components/icons/search-status/index.js.map +1 -1
- package/dist/components/icons/search-status.d.ts +4 -0
- package/dist/components/icons/search.d.ts +4 -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/settings-fallback.d.ts +7 -0
- package/dist/components/icons/share.d.ts +4 -0
- package/dist/components/icons/sort-arrow-icon/index.esm.js +5 -5
- package/dist/components/icons/sort-arrow-icon/index.esm.js.map +1 -1
- package/dist/components/icons/sort-arrow-icon/index.js +2 -2
- package/dist/components/icons/sort-arrow-icon/index.js.map +1 -1
- package/dist/components/icons/sort-arrow-icon.d.ts +4 -0
- package/dist/components/icons/stacked-layer/index.esm.js +1 -1
- package/dist/components/icons/stacked-layer/index.js +1 -1
- package/dist/components/icons/stacked-layer/index.js.map +1 -1
- package/dist/components/icons/stacked-layer.d.ts +6 -0
- package/dist/components/icons/start-filled/index.esm.js +1 -1
- package/dist/components/icons/start-filled/index.js +1 -1
- package/dist/components/icons/start-filled/index.js.map +1 -1
- package/dist/components/icons/start-filled.d.ts +6 -0
- package/dist/components/icons/three-dot-icon/index.esm.js +1 -1
- package/dist/components/icons/three-dot-icon/index.js +1 -1
- package/dist/components/icons/three-dot-icon/index.js.map +1 -1
- package/dist/components/icons/three-dot-icon.d.ts +4 -0
- package/dist/components/icons/tick/index.esm.js +1 -1
- package/dist/components/icons/tick/index.js +1 -1
- package/dist/components/icons/tick/index.js.map +1 -1
- package/dist/components/icons/tick-circle/index.esm.js +1 -1
- package/dist/components/icons/tick-circle/index.js +1 -1
- package/dist/components/icons/tick-circle/index.js.map +1 -1
- package/dist/components/icons/tick-circle-filled/index.esm.js +1 -1
- package/dist/components/icons/tick-circle-filled/index.js +1 -1
- package/dist/components/icons/tick-circle-filled/index.js.map +1 -1
- package/dist/components/icons/tick-circle-filled.d.ts +6 -0
- package/dist/components/icons/tick-circle.d.ts +4 -0
- package/dist/components/icons/tick-octagon/index.esm.js +1 -1
- package/dist/components/icons/tick-octagon/index.js +1 -1
- package/dist/components/icons/tick-octagon/index.js.map +1 -1
- package/dist/components/icons/tick-octagon.d.ts +4 -0
- package/dist/components/icons/tick.d.ts +4 -0
- package/dist/components/icons/toggle-switch/index.esm.js +1 -1
- package/dist/components/icons/toggle-switch/index.js +1 -1
- package/dist/components/icons/toggle-switch/index.js.map +1 -1
- package/dist/components/icons/toggle-switch.d.ts +4 -0
- package/dist/components/icons/trash/index.esm.js +1 -1
- package/dist/components/icons/trash/index.js +1 -1
- package/dist/components/icons/trash/index.js.map +1 -1
- package/dist/components/icons/trash.d.ts +4 -0
- package/dist/components/icons/wave/index.esm.js +1 -1
- package/dist/components/icons/wave/index.js +1 -1
- package/dist/components/icons/wave/index.js.map +1 -1
- package/dist/components/icons/wave.d.ts +6 -0
- package/dist/components/icons/with-out-tick-octagon/index.esm.js +1 -1
- package/dist/components/icons/with-out-tick-octagon/index.js +1 -1
- package/dist/components/icons/with-out-tick-octagon/index.js.map +1 -1
- package/dist/components/icons/with-out-tick-octagon.d.ts +4 -0
- package/dist/components/icons/work-centre/index.esm.js +1 -1
- package/dist/components/icons/work-centre/index.js +1 -1
- package/dist/components/icons/work-centre/index.js.map +1 -1
- package/dist/components/icons/work-centre.d.ts +6 -0
- package/dist/components/index.d.ts +124 -5
- package/dist/components/index.esm.js +624 -591
- package/dist/components/index.esm.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/info-card/index.d.ts +2 -0
- package/dist/components/info-card/info-card/index.esm.js +1 -0
- package/dist/components/info-card/info-card/index.esm.js.map +1 -1
- package/dist/components/info-card/info-card/index.js +4 -4
- package/dist/components/info-card/info-card/index.js.map +1 -1
- package/dist/components/info-card/info-card.d.ts +10 -0
- package/dist/components/inventory-reports-title-bar/component/index.d.ts +2 -0
- package/dist/components/inventory-reports-title-bar/component/reportFilter.d.ts +11 -0
- package/dist/components/inventory-reports-title-bar/index.d.ts +5 -0
- package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.esm.js +6 -5
- package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.esm.js.map +1 -1
- package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.js +12 -12
- package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.js.map +1 -1
- package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar.d.ts +44 -0
- package/dist/components/inventory-reports-title-bar/redux/actionCreator.d.ts +11 -0
- package/dist/components/inventory-reports-title-bar/redux/index.d.ts +5 -0
- package/dist/components/inventory-reports-title-bar/redux/reducer.d.ts +3 -0
- package/dist/components/inventory-reports-title-bar/redux/state.d.ts +12 -0
- package/dist/components/inventory-reports-title-bar/report-buttons/index.d.ts +2 -0
- package/dist/components/inventory-reports-title-bar/report-buttons/report-buttons/index.esm.js +2 -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 +1 -1
- package/dist/components/inventory-reports-title-bar/report-buttons/report-buttons/index.js.map +1 -1
- package/dist/components/inventory-reports-title-bar/report-buttons/report-buttons.d.ts +28 -0
- package/dist/components/label-value/index.d.ts +2 -0
- package/dist/components/label-value/label-value/index.esm.js +1 -0
- package/dist/components/label-value/label-value/index.esm.js.map +1 -1
- package/dist/components/label-value/label-value/index.js +2 -2
- package/dist/components/label-value/label-value/index.js.map +1 -1
- package/dist/components/label-value/label-value.d.ts +7 -0
- package/dist/components/list/index.d.ts +2 -0
- package/dist/components/list/list/index.esm.js +3 -2
- package/dist/components/list/list/index.esm.js.map +1 -1
- package/dist/components/list/list/index.js +2 -2
- package/dist/components/list/list/index.js.map +1 -1
- package/dist/components/list/list.d.ts +3 -0
- package/dist/components/listing/index.d.ts +3 -0
- package/dist/components/listing/listing/index.esm.js +9 -9
- 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/listing/listing.d.ts +5 -0
- package/dist/components/listing/types.d.ts +61 -0
- package/dist/components/loader/index.esm.js +1 -0
- package/dist/components/loader/index.esm.js.map +1 -1
- package/dist/components/loader/index.js +2 -2
- package/dist/components/loader/index.js.map +1 -1
- package/dist/components/loader.d.ts +3 -0
- package/dist/components/loaders/erp-loader/index.esm.js +1 -0
- package/dist/components/loaders/erp-loader/index.esm.js.map +1 -1
- package/dist/components/loaders/erp-loader/index.js +1 -1
- package/dist/components/loaders/erp-loader/index.js.map +1 -1
- package/dist/components/loaders/erp-loader.d.ts +5 -0
- package/dist/components/loaders/form-loader/index.esm.js +1 -0
- package/dist/components/loaders/form-loader/index.esm.js.map +1 -1
- package/dist/components/loaders/form-loader/index.js +1 -1
- package/dist/components/loaders/form-loader/index.js.map +1 -1
- package/dist/components/loaders/form-loader.d.ts +5 -0
- package/dist/components/loaders/index.d.ts +8 -0
- package/dist/components/loaders/modal-loader/index.esm.js +1 -0
- package/dist/components/loaders/modal-loader/index.esm.js.map +1 -1
- package/dist/components/loaders/modal-loader/index.js +1 -1
- package/dist/components/loaders/modal-loader/index.js.map +1 -1
- package/dist/components/loaders/modal-loader.d.ts +5 -0
- package/dist/components/loaders/page-loader/index.esm.js +1 -0
- package/dist/components/loaders/page-loader/index.esm.js.map +1 -1
- package/dist/components/loaders/page-loader/index.js +1 -1
- package/dist/components/loaders/page-loader/index.js.map +1 -1
- package/dist/components/loaders/page-loader.d.ts +5 -0
- package/dist/components/location-select.d.ts +19 -0
- package/dist/components/material-editable-table/aggregation-fns/index.d.ts +13 -0
- package/dist/components/material-editable-table/components/default-aggregation.d.ts +10 -0
- package/dist/components/material-editable-table/components/header-cell.d.ts +6 -0
- package/dist/components/material-editable-table/components/index.d.ts +8 -0
- package/dist/components/material-editable-table/components/inline-edit-fields/index.esm.js +6 -6
- package/dist/components/material-editable-table/components/inline-edit-fields/index.js +3 -3
- package/dist/components/material-editable-table/components/inline-edit-fields/index.js.map +1 -1
- package/dist/components/material-editable-table/components/inline-edit-fields.d.ts +17 -0
- package/dist/components/material-editable-table/components/number-aggregation.d.ts +10 -0
- package/dist/components/material-editable-table/index.d.ts +4 -0
- package/dist/components/material-editable-table/material-editable-table/index.esm.js +7 -6
- package/dist/components/material-editable-table/material-editable-table/index.esm.js.map +1 -1
- package/dist/components/material-editable-table/material-editable-table/index.js +15 -15
- package/dist/components/material-editable-table/material-editable-table/index.js.map +1 -1
- package/dist/components/material-editable-table/material-editable-table.d.ts +41 -0
- package/dist/components/material-table/aggregation-fns/index.d.ts +13 -0
- package/dist/components/material-table/components/default-aggregation/index.esm.js +2 -1
- package/dist/components/material-table/components/default-aggregation/index.esm.js.map +1 -1
- package/dist/components/material-table/components/default-aggregation/index.js +2 -2
- package/dist/components/material-table/components/default-aggregation/index.js.map +1 -1
- package/dist/components/material-table/components/default-aggregation.d.ts +10 -0
- package/dist/components/material-table/components/header-cell.d.ts +6 -0
- package/dist/components/material-table/components/index.d.ts +8 -0
- package/dist/components/material-table/components/inline-edit-fields/index.esm.js +6 -6
- package/dist/components/material-table/components/inline-edit-fields/index.js +3 -3
- package/dist/components/material-table/components/inline-edit-fields/index.js.map +1 -1
- package/dist/components/material-table/components/inline-edit-fields.d.ts +17 -0
- package/dist/components/material-table/components/number-aggregation/index.esm.js +2 -1
- package/dist/components/material-table/components/number-aggregation/index.esm.js.map +1 -1
- package/dist/components/material-table/components/number-aggregation/index.js +3 -3
- package/dist/components/material-table/components/number-aggregation/index.js.map +1 -1
- package/dist/components/material-table/components/number-aggregation.d.ts +10 -0
- package/dist/components/material-table/index.d.ts +4 -0
- package/dist/components/material-table/material-table/index.esm.js +9 -8
- package/dist/components/material-table/material-table/index.esm.js.map +1 -1
- package/dist/components/material-table/material-table/index.js +15 -15
- package/dist/components/material-table/material-table/index.js.map +1 -1
- package/dist/components/material-table/material-table.d.ts +81 -0
- package/dist/components/menu/index.d.ts +2 -0
- package/dist/components/menu/menu/index.esm.js +1 -0
- package/dist/components/menu/menu/index.esm.js.map +1 -1
- package/dist/components/menu/menu/index.js +1 -1
- package/dist/components/menu/menu/index.js.map +1 -1
- package/dist/components/menu/menu.d.ts +5 -0
- package/dist/components/modal/index.d.ts +2 -0
- package/dist/components/modal/modal/index.esm.js +1 -0
- package/dist/components/modal/modal/index.esm.js.map +1 -1
- package/dist/components/modal/modal/index.js +1 -1
- package/dist/components/modal/modal/index.js.map +1 -1
- package/dist/components/modal/modal.d.ts +5 -0
- package/dist/components/module-button/index.d.ts +2 -0
- package/dist/components/module-button/module-button/index.esm.js +3 -2
- package/dist/components/module-button/module-button/index.esm.js.map +1 -1
- package/dist/components/module-button/module-button/index.js +4 -4
- package/dist/components/module-button/module-button/index.js.map +1 -1
- package/dist/components/module-button/module-button.d.ts +11 -0
- package/dist/components/mulitline/index.d.ts +2 -0
- package/dist/components/mulitline/multiline/index.esm.js +5 -4
- package/dist/components/mulitline/multiline/index.esm.js.map +1 -1
- package/dist/components/mulitline/multiline/index.js +9 -9
- package/dist/components/mulitline/multiline/index.js.map +1 -1
- package/dist/components/mulitline/multiline.d.ts +11 -0
- package/dist/components/multi-select/index.d.ts +2 -0
- package/dist/components/multi-select/multi-select/index.esm.js +3 -2
- package/dist/components/multi-select/multi-select/index.esm.js.map +1 -1
- package/dist/components/multi-select/multi-select/index.js +11 -11
- package/dist/components/multi-select/multi-select/index.js.map +1 -1
- package/dist/components/multi-select/multi-select.d.ts +31 -0
- package/dist/components/page-navigator/components/add-page/index.esm.js +3 -2
- package/dist/components/page-navigator/components/add-page/index.esm.js.map +1 -1
- package/dist/components/page-navigator/components/add-page/index.js +7 -7
- package/dist/components/page-navigator/components/add-page/index.js.map +1 -1
- package/dist/components/page-navigator/components/add-page-modal/index.esm.js +4 -3
- package/dist/components/page-navigator/components/add-page-modal/index.esm.js.map +1 -1
- package/dist/components/page-navigator/components/add-page-modal/index.js +6 -6
- package/dist/components/page-navigator/components/add-page-modal/index.js.map +1 -1
- package/dist/components/page-navigator/components/add-page-modal.d.ts +12 -0
- package/dist/components/page-navigator/components/add-page.d.ts +10 -0
- package/dist/components/page-navigator/components/index.d.ts +10 -0
- package/dist/components/page-navigator/components/page-action/index.esm.js +5 -4
- package/dist/components/page-navigator/components/page-action/index.esm.js.map +1 -1
- package/dist/components/page-navigator/components/page-action/index.js +6 -6
- package/dist/components/page-navigator/components/page-action/index.js.map +1 -1
- package/dist/components/page-navigator/components/page-action.d.ts +15 -0
- package/dist/components/page-navigator/components/shared-page-modal/index.esm.js +6 -5
- package/dist/components/page-navigator/components/shared-page-modal/index.esm.js.map +1 -1
- package/dist/components/page-navigator/components/shared-page-modal/index.js +12 -12
- package/dist/components/page-navigator/components/shared-page-modal/index.js.map +1 -1
- package/dist/components/page-navigator/components/shared-page-modal.d.ts +10 -0
- package/dist/components/page-navigator/components/shared-page-view/index.esm.js +1 -0
- package/dist/components/page-navigator/components/shared-page-view/index.esm.js.map +1 -1
- package/dist/components/page-navigator/components/shared-page-view/index.js +7 -7
- package/dist/components/page-navigator/components/shared-page-view/index.js.map +1 -1
- package/dist/components/page-navigator/components/shared-page-view.d.ts +3 -0
- package/dist/components/page-navigator/index.d.ts +3 -0
- package/dist/components/page-navigator/page-navigator/index.esm.js +9 -8
- package/dist/components/page-navigator/page-navigator/index.esm.js.map +1 -1
- package/dist/components/page-navigator/page-navigator/index.js +7 -7
- package/dist/components/page-navigator/page-navigator/index.js.map +1 -1
- package/dist/components/page-navigator/page-navigator.d.ts +15 -0
- package/dist/components/pagination/index.d.ts +2 -0
- package/dist/components/pagination/pagination/index.esm.js +2 -1
- package/dist/components/pagination/pagination/index.esm.js.map +1 -1
- package/dist/components/pagination/pagination/index.js +3 -3
- package/dist/components/pagination/pagination/index.js.map +1 -1
- package/dist/components/pagination/pagination.d.ts +10 -0
- package/dist/components/parties-modal/index.d.ts +4 -0
- package/dist/components/parties-modal/parties-modal/index.esm.js +11 -10
- package/dist/components/parties-modal/parties-modal/index.esm.js.map +1 -1
- package/dist/components/parties-modal/parties-modal/index.js +18 -18
- package/dist/components/parties-modal/parties-modal/index.js.map +1 -1
- package/dist/components/parties-modal/parties-modal.d.ts +10 -0
- package/dist/components/parties-modal/utils/constant.d.ts +42 -0
- package/dist/components/parties-modal/utils/index.d.ts +1 -0
- package/dist/components/parties-modal/validator.d.ts +6 -0
- package/dist/components/phone-input/index.d.ts +2 -0
- package/dist/components/phone-input/phone-input/index.esm.js +1 -0
- package/dist/components/phone-input/phone-input/index.esm.js.map +1 -1
- package/dist/components/phone-input/phone-input/index.js +2 -2
- package/dist/components/phone-input/phone-input/index.js.map +1 -1
- package/dist/components/phone-input/phone-input.d.ts +20 -0
- 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/protected-route.d.ts +56 -0
- package/dist/components/providers/ERPUIProvider.d.ts +41 -0
- package/dist/components/providers/index.d.ts +2 -0
- package/dist/components/quick-approval-modal/index.d.ts +2 -0
- package/dist/components/quick-approval-modal/quick-approval-modal/index.esm.js +5 -5
- package/dist/components/quick-approval-modal/quick-approval-modal/index.js +15 -15
- package/dist/components/quick-approval-modal/quick-approval-modal/index.js.map +1 -1
- package/dist/components/quick-approval-modal/quick-approval-modal.d.ts +13 -0
- package/dist/components/radio/index.d.ts +2 -0
- package/dist/components/radio/radio/index.esm.js +1 -0
- package/dist/components/radio/radio/index.esm.js.map +1 -1
- package/dist/components/radio/radio/index.js +2 -2
- package/dist/components/radio/radio/index.js.map +1 -1
- package/dist/components/radio/radio.d.ts +5 -0
- package/dist/components/reports/dynamic-report/dynamic-report/index.esm.js +1 -1
- package/dist/components/reports/dynamic-report/dynamic-report/index.js +2 -2
- package/dist/components/reports/dynamic-report/dynamic-report/index.js.map +1 -1
- package/dist/components/reports/dynamic-report/dynamic-report.d.ts +21 -0
- package/dist/components/reports/dynamic-report/dynamic-rows.d.ts +20 -0
- package/dist/components/reports/dynamic-report/index.d.ts +3 -0
- package/dist/components/reports/index.d.ts +1 -0
- package/dist/components/reports-title-bar/index.d.ts +4 -0
- package/dist/components/reports-title-bar/redux/actionCreator.d.ts +1 -0
- package/dist/components/reports-title-bar/redux/index.d.ts +5 -0
- package/dist/components/reports-title-bar/redux/reducer.d.ts +3 -0
- package/dist/components/reports-title-bar/redux/state.d.ts +8 -0
- package/dist/components/reports-title-bar/report-buttons/index.d.ts +2 -0
- package/dist/components/reports-title-bar/report-buttons/report-buttons/index.esm.js +2 -1
- package/dist/components/reports-title-bar/report-buttons/report-buttons/index.esm.js.map +1 -1
- package/dist/components/reports-title-bar/report-buttons/report-buttons/index.js +1 -1
- package/dist/components/reports-title-bar/report-buttons/report-buttons/index.js.map +1 -1
- package/dist/components/reports-title-bar/report-buttons/report-buttons.d.ts +27 -0
- package/dist/components/reports-title-bar/reports-title-bar/index.esm.js +6 -5
- package/dist/components/reports-title-bar/reports-title-bar/index.esm.js.map +1 -1
- package/dist/components/reports-title-bar/reports-title-bar/index.js +25 -25
- package/dist/components/reports-title-bar/reports-title-bar/index.js.map +1 -1
- package/dist/components/reports-title-bar/reports-title-bar.d.ts +31 -0
- package/dist/components/reset-password-modal/index.d.ts +2 -0
- package/dist/components/reset-password-modal/reset-password-modal/index.esm.js +5 -4
- package/dist/components/reset-password-modal/reset-password-modal/index.esm.js.map +1 -1
- package/dist/components/reset-password-modal/reset-password-modal/index.js +9 -9
- package/dist/components/reset-password-modal/reset-password-modal/index.js.map +1 -1
- package/dist/components/reset-password-modal/reset-password-modal.d.ts +6 -0
- package/dist/components/rfq-response/index.d.ts +2 -0
- package/dist/components/rfq-response/item-response-details/index.esm.js +43 -51
- package/dist/components/rfq-response/item-response-details/index.esm.js.map +1 -1
- package/dist/components/rfq-response/item-response-details/index.js +4 -4
- package/dist/components/rfq-response/item-response-details/index.js.map +1 -1
- package/dist/components/rfq-response/item-response-details.d.ts +2 -0
- package/dist/components/save-filter-modal/index.d.ts +2 -0
- package/dist/components/save-filter-modal/save-filter-modal/index.esm.js +4 -3
- package/dist/components/save-filter-modal/save-filter-modal/index.esm.js.map +1 -1
- package/dist/components/save-filter-modal/save-filter-modal/index.js +7 -7
- package/dist/components/save-filter-modal/save-filter-modal/index.js.map +1 -1
- package/dist/components/save-filter-modal/save-filter-modal.d.ts +9 -0
- package/dist/components/schedule-report/index.d.ts +6 -0
- package/dist/components/schedule-report/schedule-report/index.esm.js +10 -9
- package/dist/components/schedule-report/schedule-report/index.esm.js.map +1 -1
- package/dist/components/schedule-report/schedule-report/index.js +9 -9
- package/dist/components/schedule-report/schedule-report/index.js.map +1 -1
- package/dist/components/schedule-report/schedule-report-modal/index.esm.js +6 -6
- package/dist/components/schedule-report/schedule-report-modal/index.js +11 -11
- package/dist/components/schedule-report/schedule-report-modal/index.js.map +1 -1
- package/dist/components/schedule-report/schedule-report-modal.d.ts +17 -0
- package/dist/components/schedule-report/schedule-report.d.ts +7 -0
- package/dist/components/schedule-report/utils/common.d.ts +9 -0
- package/dist/components/schedule-report/utils/constant.d.ts +29 -0
- package/dist/components/schedule-report/utils/index.d.ts +3 -0
- package/dist/components/schedule-report/utils/type.d.ts +31 -0
- package/dist/components/schedule-report/validator.d.ts +13 -0
- package/dist/components/search-bar/index.d.ts +2 -0
- package/dist/components/search-bar/search-bar/index.esm.js +1 -0
- package/dist/components/search-bar/search-bar/index.esm.js.map +1 -1
- package/dist/components/search-bar/search-bar/index.js +3 -3
- package/dist/components/search-bar/search-bar/index.js.map +1 -1
- package/dist/components/search-bar/search-bar.d.ts +15 -0
- package/dist/components/searchable-select/index.esm.js +21 -10
- package/dist/components/searchable-select/index.esm.js.map +1 -1
- package/dist/components/searchable-select/index.js +9 -8
- package/dist/components/searchable-select/index.js.map +1 -1
- package/dist/components/searchable-select.d.ts +65 -0
- package/dist/components/select/controller/chip-or-placeholder/index.esm.js +1 -1
- package/dist/components/select/controller/chip-or-placeholder/index.js +1 -1
- package/dist/components/select/controller/chip-or-placeholder/index.js.map +1 -1
- package/dist/components/select/controller/chip-or-placeholder.d.ts +10 -0
- package/dist/components/select/controller/controller-select/index.esm.js +3 -3
- package/dist/components/select/controller/controller-select/index.js +5 -5
- package/dist/components/select/controller/controller-select/index.js.map +1 -1
- package/dist/components/select/controller/controller-select.d.ts +33 -0
- package/dist/components/select/controller/index.d.ts +4 -0
- package/dist/components/select/index.d.ts +5 -0
- package/dist/components/select/select/index.esm.js +2 -1
- package/dist/components/select/select/index.esm.js.map +1 -1
- package/dist/components/select/select/index.js +1 -1
- package/dist/components/select/select/index.js.map +1 -1
- package/dist/components/select/select-search/index.esm.js +1 -0
- package/dist/components/select/select-search/index.esm.js.map +1 -1
- package/dist/components/select/select-search/index.js +1 -1
- package/dist/components/select/select-search/index.js.map +1 -1
- package/dist/components/select/select-search.d.ts +5 -0
- package/dist/components/select/select.d.ts +4 -0
- package/dist/components/share-modal/index.d.ts +5 -0
- package/dist/components/share-modal/redux/actionCreator.d.ts +2 -0
- package/dist/components/share-modal/redux/index.d.ts +5 -0
- package/dist/components/share-modal/redux/reducer.d.ts +21 -0
- package/dist/components/share-modal/redux/state.d.ts +8 -0
- package/dist/components/share-modal/share-modal/index.esm.js +5 -4
- package/dist/components/share-modal/share-modal/index.esm.js.map +1 -1
- package/dist/components/share-modal/share-modal/index.js +10 -10
- package/dist/components/share-modal/share-modal/index.js.map +1 -1
- package/dist/components/share-modal/share-modal-enhanced.d.ts +20 -0
- package/dist/components/share-modal/share-modal.d.ts +14 -0
- package/dist/components/sidebar/index.d.ts +2 -0
- package/dist/components/sidebar/sidebar/index.esm.js +5 -5
- package/dist/components/sidebar/sidebar/index.js +16 -16
- package/dist/components/sidebar/sidebar/index.js.map +1 -1
- package/dist/components/sidebar/sidebar.d.ts +23 -0
- package/dist/components/snackbar/index.d.ts +2 -0
- package/dist/components/snackbar/snackbar/index.esm.js +1 -0
- package/dist/components/snackbar/snackbar/index.esm.js.map +1 -1
- package/dist/components/snackbar/snackbar/index.js +3 -3
- package/dist/components/snackbar/snackbar/index.js.map +1 -1
- package/dist/components/snackbar/snackbar.d.ts +5 -0
- package/dist/components/sub-header-doc/index.d.ts +2 -0
- package/dist/components/sub-header-doc/sub-header-doc/index.esm.js +2 -1
- package/dist/components/sub-header-doc/sub-header-doc/index.esm.js.map +1 -1
- package/dist/components/sub-header-doc/sub-header-doc/index.js +4 -4
- package/dist/components/sub-header-doc/sub-header-doc/index.js.map +1 -1
- package/dist/components/sub-header-doc/sub-header-doc.d.ts +4 -0
- package/dist/components/switches/android-12-switch/index.esm.js +1 -0
- package/dist/components/switches/android-12-switch/index.esm.js.map +1 -1
- package/dist/components/switches/android-12-switch/index.js +1 -1
- package/dist/components/switches/android-12-switch/index.js.map +1 -1
- package/dist/components/switches/android-12-switch.d.ts +5 -0
- package/dist/components/switches/index.d.ts +2 -0
- package/dist/components/tab-bar-ui/index.d.ts +2 -0
- package/dist/components/tab-bar-ui/tab-bar-ui/index.esm.js +5 -11
- package/dist/components/tab-bar-ui/tab-bar-ui/index.esm.js.map +1 -1
- package/dist/components/tab-bar-ui/tab-bar-ui/index.js +3 -3
- package/dist/components/tab-bar-ui/tab-bar-ui/index.js.map +1 -1
- package/dist/components/tab-bar-ui/tab-bar-ui.d.ts +20 -0
- package/dist/components/tabs/index.d.ts +2 -0
- package/dist/components/tabs/tabs/index.esm.js +4 -3
- package/dist/components/tabs/tabs/index.esm.js.map +1 -1
- package/dist/components/tabs/tabs/index.js +3 -3
- package/dist/components/tabs/tabs/index.js.map +1 -1
- package/dist/components/tabs/tabs.d.ts +24 -0
- package/dist/components/text-area/index.d.ts +2 -0
- package/dist/components/text-area/text-area/index.esm.js +1 -0
- package/dist/components/text-area/text-area/index.esm.js.map +1 -1
- package/dist/components/text-area/text-area/index.js +3 -3
- package/dist/components/text-area/text-area/index.js.map +1 -1
- package/dist/components/text-area/text-area.d.ts +10 -0
- package/dist/components/text-field/index.d.ts +2 -0
- package/dist/components/text-field/text-field/index.esm.js +1 -0
- package/dist/components/text-field/text-field/index.esm.js.map +1 -1
- package/dist/components/text-field/text-field/index.js +3 -3
- package/dist/components/text-field/text-field/index.js.map +1 -1
- package/dist/components/text-field/text-field.d.ts +4 -0
- package/dist/components/time-picker/index.d.ts +2 -0
- package/dist/components/time-picker/time-picker/index.esm.js +1 -0
- package/dist/components/time-picker/time-picker/index.esm.js.map +1 -1
- package/dist/components/time-picker/time-picker/index.js +1 -1
- package/dist/components/time-picker/time-picker/index.js.map +1 -1
- package/dist/components/time-picker/time-picker.d.ts +17 -0
- package/dist/components/time-range-picker/index.d.ts +2 -0
- package/dist/components/time-range-picker/time-range-picker/index.esm.js +1 -1
- package/dist/components/time-range-picker/time-range-picker/index.js +4 -4
- package/dist/components/time-range-picker/time-range-picker/index.js.map +1 -1
- package/dist/components/time-range-picker/time-range-picker.d.ts +10 -0
- package/dist/components/title-dropdown-button/index.d.ts +2 -0
- package/dist/components/title-dropdown-button/title-dropdown-button.d.ts +15 -0
- package/dist/components/toast/index.d.ts +2 -0
- package/dist/components/toast/toast/index.esm.js +1 -0
- package/dist/components/toast/toast/index.esm.js.map +1 -1
- package/dist/components/toast/toast/index.js +2 -2
- package/dist/components/toast/toast/index.js.map +1 -1
- package/dist/components/toast/toast.d.ts +10 -0
- package/dist/components/toggle/index.d.ts +2 -0
- package/dist/components/toggle/toggle/index.esm.js +1 -0
- package/dist/components/toggle/toggle/index.esm.js.map +1 -1
- package/dist/components/toggle/toggle/index.js +2 -2
- package/dist/components/toggle/toggle/index.js.map +1 -1
- package/dist/components/toggle/toggle.d.ts +8 -0
- package/dist/components/toggle-switch/index.d.ts +2 -0
- package/dist/components/toggle-switch/toggle-switch.d.ts +10 -0
- package/dist/components/tooltip/Tooltip/index.esm.js +1 -0
- package/dist/components/tooltip/Tooltip/index.esm.js.map +1 -1
- package/dist/components/tooltip/Tooltip/index.js +1 -1
- package/dist/components/tooltip/Tooltip/index.js.map +1 -1
- package/dist/components/tooltip/Tooltip.d.ts +5 -0
- package/dist/components/tooltip/index.d.ts +2 -0
- package/dist/components/typography/index.d.ts +2 -0
- package/dist/components/typography/typography.d.ts +8 -0
- package/dist/components/upload/file-confirmation/index.esm.js +1 -1
- package/dist/components/upload/file-confirmation/index.js +5 -5
- package/dist/components/upload/file-confirmation/index.js.map +1 -1
- package/dist/components/upload/file-confirmation.d.ts +12 -0
- package/dist/components/upload/index.d.ts +4 -0
- package/dist/components/upload/upload/index.esm.js +5 -4
- package/dist/components/upload/upload/index.esm.js.map +1 -1
- package/dist/components/upload/upload/index.js +16 -16
- package/dist/components/upload/upload/index.js.map +1 -1
- package/dist/components/upload/upload.d.ts +16 -0
- package/dist/components/upload-excel/file-confirmation.d.ts +11 -0
- package/dist/components/upload-excel/index.d.ts +4 -0
- package/dist/components/upload-excel/upload-excel/index.esm.js +4 -3
- package/dist/components/upload-excel/upload-excel/index.esm.js.map +1 -1
- package/dist/components/upload-excel/upload-excel/index.js +11 -11
- package/dist/components/upload-excel/upload-excel/index.js.map +1 -1
- package/dist/components/upload-excel/upload-excel.d.ts +17 -0
- package/dist/components/upload-media/index.d.ts +2 -0
- package/dist/components/upload-media/upload-media/index.esm.js +2 -1
- package/dist/components/upload-media/upload-media/index.esm.js.map +1 -1
- package/dist/components/upload-media/upload-media/index.js +3 -3
- package/dist/components/upload-media/upload-media/index.js.map +1 -1
- package/dist/components/upload-media/upload-media.d.ts +17 -0
- package/dist/components/user-dropdown/index.d.ts +2 -0
- package/dist/components/user-dropdown/user-dropdown/index.esm.js +1 -1
- package/dist/components/user-dropdown/user-dropdown/index.js +3 -3
- package/dist/components/user-dropdown/user-dropdown/index.js.map +1 -1
- package/dist/components/user-dropdown/user-dropdown.d.ts +12 -0
- package/dist/components/value-field/index.d.ts +2 -0
- package/dist/components/value-field/value-field/index.esm.js +1 -0
- package/dist/components/value-field/value-field/index.esm.js.map +1 -1
- package/dist/components/value-field/value-field/index.js +3 -3
- package/dist/components/value-field/value-field/index.js.map +1 -1
- package/dist/components/value-field/value-field.d.ts +9 -0
- package/dist/components/view-modal/index.d.ts +2 -0
- package/dist/components/view-modal/view-modal/index.esm.js +4 -3
- package/dist/components/view-modal/view-modal/index.esm.js.map +1 -1
- package/dist/components/view-modal/view-modal/index.js +11 -11
- package/dist/components/view-modal/view-modal/index.js.map +1 -1
- package/dist/components/view-modal/view-modal.d.ts +14 -0
- package/dist/config/index.d.ts +43 -0
- package/dist/constants/action-bar.d.ts +9 -0
- package/dist/constants/all-language.d.ts +6 -0
- package/dist/constants/auth.d.ts +5 -0
- package/dist/constants/common.d.ts +1 -0
- package/dist/constants/defaultColumns.d.ts +109 -0
- package/dist/constants/index.d.ts +6 -6
- 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/lang/ar.d.ts +1448 -0
- package/dist/constants/lang/en.d.ts +10645 -0
- package/dist/constants/lang/es.d.ts +142 -0
- package/dist/constants/lang/index.d.ts +6 -0
- package/dist/constants/modules.d.ts +2 -0
- package/dist/constants/mui.constants.d.ts +2 -0
- package/dist/constants/pathnames/index.d.ts +13 -0
- package/dist/constants/pathnames/pathname.accounting.d.ts +165 -0
- package/dist/constants/pathnames/pathname.crm.d.ts +203 -0
- package/dist/constants/pathnames/pathname.d.ts +25 -0
- package/dist/constants/pathnames/pathname.document.d.ts +10 -0
- package/dist/constants/pathnames/pathname.hrms.d.ts +5 -0
- package/dist/constants/pathnames/pathname.inventory.d.ts +154 -0
- 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.manufacturing.d.ts +387 -0
- package/dist/constants/pathnames/pathname.office.d.ts +5 -0
- package/dist/constants/pathnames/pathname.procurement.d.ts +150 -0
- package/dist/constants/pathnames/pathname.project.d.ts +5 -0
- package/dist/constants/pathnames/pathname.quotes.d.ts +5 -0
- 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/constants/pathnames/pathname.rental.d.ts +43 -0
- package/dist/constants/pathnames/pathname.user.d.ts +20 -0
- package/dist/constants/resource-lang.d.ts +12240 -0
- package/dist/constants/route-page-map.d.ts +10 -0
- package/dist/constants/status.d.ts +4 -0
- package/dist/contexts/AuthContext/index.esm.js +1 -1
- package/dist/contexts/AuthContext/index.js +1 -1
- package/dist/contexts/AuthContext/index.js.map +1 -1
- package/dist/contexts/AuthContext.d.ts +69 -0
- package/dist/contexts/index.d.ts +5 -16
- package/dist/contexts/index.esm.js +4 -4
- package/dist/contexts/index.js +1 -1
- package/dist/contexts/languageContext/index.esm.js +1 -0
- package/dist/contexts/languageContext/index.esm.js.map +1 -1
- package/dist/contexts/languageContext/index.js +2 -2
- package/dist/contexts/languageContext/index.js.map +1 -1
- package/dist/contexts/languageContext.d.ts +25 -0
- package/dist/contexts/page-context.d.ts +72 -0
- package/dist/contexts/permission-context.d.ts +14 -0
- 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/apiHelper.d.ts +12 -0
- package/dist/hooks/common.d.ts +41 -0
- package/dist/hooks/index.d.ts +15 -26
- package/dist/hooks/index.esm.js +27 -20
- package/dist/hooks/index.esm.js.map +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/use-deep-memo.d.ts +2 -0
- package/dist/hooks/use-material-calculations/index.esm.js +2 -9
- 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/use-material-calculations.d.ts +81 -0
- package/dist/hooks/use-translations/index.esm.js +4 -3
- package/dist/hooks/use-translations/index.esm.js.map +1 -1
- package/dist/hooks/use-translations/index.js +1 -1
- package/dist/hooks/use-translations/index.js.map +1 -1
- package/dist/hooks/use-translations.d.ts +4 -0
- package/dist/hooks/useApi/index.esm.js +4 -3
- package/dist/hooks/useApi/index.esm.js.map +1 -1
- package/dist/hooks/useApi/index.js +1 -1
- package/dist/hooks/useApi/index.js.map +1 -1
- package/dist/hooks/useApi.d.ts +19 -0
- package/dist/hooks/useCheckSkuAndName/index.esm.js +5 -4
- package/dist/hooks/useCheckSkuAndName/index.esm.js.map +1 -1
- package/dist/hooks/useCheckSkuAndName/index.js +1 -1
- package/dist/hooks/useCheckSkuAndName/index.js.map +1 -1
- package/dist/hooks/useCheckSkuAndName.d.ts +9 -0
- 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/useDataFetcher.d.ts +25 -0
- package/dist/hooks/useLangauge/index.esm.js +3 -2
- package/dist/hooks/useLangauge/index.esm.js.map +1 -1
- package/dist/hooks/useLangauge/index.js +1 -1
- package/dist/hooks/useLangauge/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/useLanguageFallback.d.ts +67 -0
- 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/useLocationFilter.d.ts +43 -0
- 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/hooks/useReduxIntegration.d.ts +9 -0
- package/dist/icons/index.d.ts +164 -81
- 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/images/index.esm.js +6 -6
- package/dist/images/index.js +1 -1
- package/dist/images/index.js.map +1 -1
- package/dist/index.d.ts +192 -1
- package/dist/index.esm.js +860 -735
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/layout/fullScreen/fullScreen/index.esm.js +5 -3
- package/dist/layout/fullScreen/fullScreen/index.esm.js.map +1 -1
- package/dist/layout/fullScreen/fullScreen/index.js +3 -3
- package/dist/layout/fullScreen/fullScreen/index.js.map +1 -1
- package/dist/layout/fullScreen/fullScreen.d.ts +5 -0
- package/dist/layout/fullScreen/index.d.ts +2 -0
- package/dist/layout/index.d.ts +2 -3
- package/dist/layout/index.esm.js +4 -4
- package/dist/layout/index.js +1 -1
- package/dist/layout/sidebarScreen/index.d.ts +2 -0
- package/dist/layout/sidebarScreen/sidebarScreen/index.esm.js +72 -50
- package/dist/layout/sidebarScreen/sidebarScreen/index.esm.js.map +1 -1
- package/dist/layout/sidebarScreen/sidebarScreen/index.js +4 -4
- package/dist/layout/sidebarScreen/sidebarScreen/index.js.map +1 -1
- package/dist/layout/sidebarScreen/sidebarScreen.d.ts +7 -0
- 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/@asseinfo/react-kanban/dist/index/index.js.map +1 -1
- package/dist/node_modules/@hookform/resolvers/yup/dist/yup/index.esm.js +15 -14
- package/dist/node_modules/@hookform/resolvers/yup/dist/yup/index.esm.js.map +1 -1
- package/dist/node_modules/@hookform/resolvers/yup/dist/yup/index.js +1 -1
- package/dist/node_modules/@hookform/resolvers/yup/dist/yup/index.js.map +1 -1
- package/dist/node_modules/@mui/base/TextareaAutosize/TextareaAutosize/index.esm.js +3 -2
- package/dist/node_modules/@mui/base/TextareaAutosize/TextareaAutosize/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/base/TextareaAutosize/TextareaAutosize/index.js +1 -1
- package/dist/node_modules/@mui/base/TextareaAutosize/TextareaAutosize/index.js.map +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/icons-material/utils/createSvgIcon/index.js.map +1 -1
- package/dist/node_modules/@mui/lab/TabContext/TabContext/index.esm.js +3 -2
- package/dist/node_modules/@mui/lab/TabContext/TabContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/lab/TabContext/TabContext/index.js +2 -2
- package/dist/node_modules/@mui/lab/TabContext/TabContext/index.js.map +1 -1
- package/dist/node_modules/@mui/lab/TabList/TabList/index.esm.js +2 -1
- package/dist/node_modules/@mui/lab/TabList/TabList/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/lab/TabList/TabList/index.js +1 -1
- package/dist/node_modules/@mui/lab/TabList/TabList/index.js.map +1 -1
- package/dist/node_modules/@mui/lab/TabPanel/TabPanel/index.esm.js +2 -1
- package/dist/node_modules/@mui/lab/TabPanel/TabPanel/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/lab/TabPanel/TabPanel/index.js +2 -2
- package/dist/node_modules/@mui/lab/TabPanel/TabPanel/index.js.map +1 -1
- package/dist/node_modules/@mui/lab/Timeline/Timeline/index.esm.js +2 -1
- package/dist/node_modules/@mui/lab/Timeline/Timeline/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/lab/Timeline/Timeline/index.js +2 -2
- package/dist/node_modules/@mui/lab/Timeline/Timeline/index.js.map +1 -1
- package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.esm.js +2 -1
- package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.js +1 -1
- package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.js.map +1 -1
- package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.esm.js +2 -1
- package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.js +2 -2
- package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.js.map +1 -1
- package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.esm.js +2 -1
- package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.js +1 -1
- package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.js.map +1 -1
- package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.esm.js +2 -1
- package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.js +2 -2
- package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.js.map +1 -1
- package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.esm.js +2 -1
- package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.js +2 -2
- package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.js.map +1 -1
- package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.esm.js +2 -1
- package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.js +2 -2
- package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Accordion/Accordion/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Accordion/Accordion/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Accordion/Accordion/index.js +2 -2
- package/dist/node_modules/@mui/material/Accordion/Accordion/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Accordion/AccordionContext/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Accordion/AccordionContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Accordion/AccordionContext/index.js +1 -1
- package/dist/node_modules/@mui/material/Accordion/AccordionContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.js +1 -1
- package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.js.map +1 -1
- package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails/index.js +2 -2
- package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails/index.js.map +1 -1
- package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary/index.js +2 -2
- package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Alert/Alert/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Alert/Alert/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Alert/Alert/index.js +1 -1
- package/dist/node_modules/@mui/material/Alert/Alert/index.js.map +1 -1
- package/dist/node_modules/@mui/material/AlertTitle/AlertTitle/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/AlertTitle/AlertTitle/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/AlertTitle/AlertTitle/index.js +1 -1
- package/dist/node_modules/@mui/material/AlertTitle/AlertTitle/index.js.map +1 -1
- package/dist/node_modules/@mui/material/AppBar/AppBar/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/AppBar/AppBar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/AppBar/AppBar/index.js +1 -1
- package/dist/node_modules/@mui/material/AppBar/AppBar/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Autocomplete/Autocomplete/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Autocomplete/Autocomplete/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Autocomplete/Autocomplete/index.js +1 -1
- package/dist/node_modules/@mui/material/Autocomplete/Autocomplete/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Avatar/Avatar/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Avatar/Avatar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Avatar/Avatar/index.js +1 -1
- package/dist/node_modules/@mui/material/Avatar/Avatar/index.js.map +1 -1
- package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.js +2 -2
- package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Backdrop/Backdrop/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Backdrop/Backdrop/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Backdrop/Backdrop/index.js +1 -1
- package/dist/node_modules/@mui/material/Backdrop/Backdrop/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Badge/Badge/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Badge/Badge/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Badge/Badge/index.js +1 -1
- package/dist/node_modules/@mui/material/Badge/Badge/index.js.map +1 -1
- package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.js +3 -3
- package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.js.map +1 -1
- package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.js +2 -2
- package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Box/Box/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Box/Box/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Box/Box/index.js +1 -1
- package/dist/node_modules/@mui/material/Box/Box/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed/index.js +2 -2
- package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs/index.esm.js +4 -3
- package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs/index.js +2 -2
- package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Button/Button/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Button/Button/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Button/Button/index.js +1 -1
- package/dist/node_modules/@mui/material/Button/Button/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/ButtonBase/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/ButtonBase/ButtonBase/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/ButtonBase/index.js +3 -3
- package/dist/node_modules/@mui/material/ButtonBase/ButtonBase/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/Ripple/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/ButtonBase/Ripple/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/Ripple/index.js +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/Ripple/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/TouchRipple/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/ButtonBase/TouchRipple/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/TouchRipple/index.js +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/TouchRipple/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroup/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroup/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroup/index.js +1 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroup/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext/index.js +1 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupContext/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupContext/index.js +1 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Card/Card/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Card/Card/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Card/Card/index.js +1 -1
- package/dist/node_modules/@mui/material/Card/Card/index.js.map +1 -1
- package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.js +2 -2
- package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.js.map +1 -1
- package/dist/node_modules/@mui/material/CardActions/CardActions/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/CardActions/CardActions/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/CardActions/CardActions/index.js +2 -2
- package/dist/node_modules/@mui/material/CardActions/CardActions/index.js.map +1 -1
- package/dist/node_modules/@mui/material/CardContent/CardContent/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/CardContent/CardContent/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/CardContent/CardContent/index.js +1 -1
- package/dist/node_modules/@mui/material/CardContent/CardContent/index.js.map +1 -1
- package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.js +1 -1
- package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.js.map +1 -1
- package/dist/node_modules/@mui/material/CardMedia/CardMedia/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/CardMedia/CardMedia/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/CardMedia/CardMedia/index.js +2 -2
- package/dist/node_modules/@mui/material/CardMedia/CardMedia/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Checkbox/Checkbox/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Checkbox/Checkbox/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Checkbox/Checkbox/index.js +1 -1
- package/dist/node_modules/@mui/material/Checkbox/Checkbox/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Chip/Chip/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/Chip/Chip/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Chip/Chip/index.js +1 -1
- package/dist/node_modules/@mui/material/Chip/Chip/index.js.map +1 -1
- package/dist/node_modules/@mui/material/CircularProgress/CircularProgress/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/CircularProgress/CircularProgress/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/CircularProgress/CircularProgress/index.js +6 -6
- package/dist/node_modules/@mui/material/CircularProgress/CircularProgress/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ClickAwayListener/ClickAwayListener/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/ClickAwayListener/ClickAwayListener/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ClickAwayListener/ClickAwayListener/index.js +1 -1
- package/dist/node_modules/@mui/material/ClickAwayListener/ClickAwayListener/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Collapse/Collapse/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Collapse/Collapse/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Collapse/Collapse/index.js +1 -1
- package/dist/node_modules/@mui/material/Collapse/Collapse/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Container/Container/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Container/Container/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Container/Container/index.js +1 -1
- package/dist/node_modules/@mui/material/Container/Container/index.js.map +1 -1
- package/dist/node_modules/@mui/material/CssBaseline/CssBaseline/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/CssBaseline/CssBaseline/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/CssBaseline/CssBaseline/index.js +2 -2
- package/dist/node_modules/@mui/material/CssBaseline/CssBaseline/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Dialog/Dialog/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Dialog/Dialog/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Dialog/Dialog/index.js +1 -1
- package/dist/node_modules/@mui/material/Dialog/Dialog/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Dialog/DialogContext/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Dialog/DialogContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Dialog/DialogContext/index.js +1 -1
- package/dist/node_modules/@mui/material/Dialog/DialogContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogActions/DialogActions/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/DialogActions/DialogActions/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogActions/DialogActions/index.js +1 -1
- package/dist/node_modules/@mui/material/DialogActions/DialogActions/index.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogContent/DialogContent/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/DialogContent/DialogContent/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogContent/DialogContent/index.js +2 -2
- package/dist/node_modules/@mui/material/DialogContent/DialogContent/index.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.js +1 -1
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogTitle/DialogTitle/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/DialogTitle/DialogTitle/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogTitle/DialogTitle/index.js +1 -1
- package/dist/node_modules/@mui/material/DialogTitle/DialogTitle/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Divider/Divider/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Divider/Divider/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Divider/Divider/index.js +1 -1
- package/dist/node_modules/@mui/material/Divider/Divider/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Drawer/Drawer/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Drawer/Drawer/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Drawer/Drawer/index.js +1 -1
- package/dist/node_modules/@mui/material/Drawer/Drawer/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Fab/Fab/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Fab/Fab/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Fab/Fab/index.js +2 -2
- package/dist/node_modules/@mui/material/Fab/Fab/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Fade/Fade/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Fade/Fade/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Fade/Fade/index.js +1 -1
- package/dist/node_modules/@mui/material/Fade/Fade/index.js.map +1 -1
- package/dist/node_modules/@mui/material/FilledInput/FilledInput/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/FilledInput/FilledInput/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/FilledInput/FilledInput/index.js +1 -1
- package/dist/node_modules/@mui/material/FilledInput/FilledInput/index.js.map +1 -1
- package/dist/node_modules/@mui/material/FormControl/FormControl/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/FormControl/FormControl/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/FormControl/FormControl/index.js +2 -2
- package/dist/node_modules/@mui/material/FormControl/FormControl/index.js.map +1 -1
- package/dist/node_modules/@mui/material/FormControl/FormControlContext/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/FormControl/FormControlContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/FormControl/FormControlContext/index.js +1 -1
- package/dist/node_modules/@mui/material/FormControl/FormControlContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel/index.js +1 -1
- package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel/index.js.map +1 -1
- package/dist/node_modules/@mui/material/FormGroup/FormGroup/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/FormGroup/FormGroup/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/FormGroup/FormGroup/index.js +1 -1
- package/dist/node_modules/@mui/material/FormGroup/FormGroup/index.js.map +1 -1
- package/dist/node_modules/@mui/material/FormHelperText/FormHelperText/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/FormHelperText/FormHelperText/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/FormHelperText/FormHelperText/index.js +2 -2
- package/dist/node_modules/@mui/material/FormHelperText/FormHelperText/index.js.map +1 -1
- package/dist/node_modules/@mui/material/FormLabel/FormLabel/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/FormLabel/FormLabel/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/FormLabel/FormLabel/index.js +1 -1
- package/dist/node_modules/@mui/material/FormLabel/FormLabel/index.js.map +1 -1
- package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles/index.js +2 -2
- package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Grid/Grid/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/Grid/Grid/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Grid/Grid/index.js +2 -2
- package/dist/node_modules/@mui/material/Grid/Grid/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Grid/GridContext/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Grid/GridContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Grid/GridContext/index.js +1 -1
- package/dist/node_modules/@mui/material/Grid/GridContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Grow/Grow/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Grow/Grow/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Grow/Grow/index.js +2 -2
- package/dist/node_modules/@mui/material/Grow/Grow/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/Hidden/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Hidden/Hidden/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/Hidden/index.js +1 -1
- package/dist/node_modules/@mui/material/Hidden/Hidden/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.js +2 -2
- package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.esm.js +4 -3
- package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.js +1 -1
- package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/withWidth/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/Hidden/withWidth/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/withWidth/index.js +1 -1
- package/dist/node_modules/@mui/material/Hidden/withWidth/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Icon/Icon/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Icon/Icon/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Icon/Icon/index.js +2 -2
- package/dist/node_modules/@mui/material/Icon/Icon/index.js.map +1 -1
- package/dist/node_modules/@mui/material/IconButton/IconButton/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/IconButton/IconButton/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/IconButton/IconButton/index.js +1 -1
- package/dist/node_modules/@mui/material/IconButton/IconButton/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ImageList/ImageList/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/ImageList/ImageList/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ImageList/ImageList/index.js +2 -2
- package/dist/node_modules/@mui/material/ImageList/ImageList/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.js +1 -1
- package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.js +2 -2
- package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.js +1 -1
- package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Input/Input/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Input/Input/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Input/Input/index.js +2 -2
- package/dist/node_modules/@mui/material/Input/Input/index.js.map +1 -1
- package/dist/node_modules/@mui/material/InputAdornment/InputAdornment/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/InputAdornment/InputAdornment/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/InputAdornment/InputAdornment/index.js +2 -2
- package/dist/node_modules/@mui/material/InputAdornment/InputAdornment/index.js.map +1 -1
- package/dist/node_modules/@mui/material/InputBase/InputBase/index.esm.js +6 -5
- package/dist/node_modules/@mui/material/InputBase/InputBase/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/InputBase/InputBase/index.js +1 -1
- package/dist/node_modules/@mui/material/InputBase/InputBase/index.js.map +1 -1
- package/dist/node_modules/@mui/material/InputLabel/InputLabel/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/InputLabel/InputLabel/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/InputLabel/InputLabel/index.js +1 -1
- package/dist/node_modules/@mui/material/InputLabel/InputLabel/index.js.map +1 -1
- package/dist/node_modules/@mui/material/LinearProgress/LinearProgress/index.esm.js +4 -3
- package/dist/node_modules/@mui/material/LinearProgress/LinearProgress/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/LinearProgress/LinearProgress/index.js +5 -5
- package/dist/node_modules/@mui/material/LinearProgress/LinearProgress/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Link/Link/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Link/Link/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Link/Link/index.js +1 -1
- package/dist/node_modules/@mui/material/Link/Link/index.js.map +1 -1
- package/dist/node_modules/@mui/material/List/List/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/List/List/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/List/List/index.js +2 -2
- package/dist/node_modules/@mui/material/List/List/index.js.map +1 -1
- package/dist/node_modules/@mui/material/List/ListContext/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/List/ListContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/List/ListContext/index.js +1 -1
- package/dist/node_modules/@mui/material/List/ListContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItem/ListItem/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/ListItem/ListItem/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItem/ListItem/index.js +1 -1
- package/dist/node_modules/@mui/material/ListItem/ListItem/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemAvatar/ListItemAvatar/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/ListItemAvatar/ListItemAvatar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemAvatar/ListItemAvatar/index.js +1 -1
- package/dist/node_modules/@mui/material/ListItemAvatar/ListItemAvatar/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemButton/ListItemButton/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/ListItemButton/ListItemButton/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemButton/ListItemButton/index.js +2 -2
- package/dist/node_modules/@mui/material/ListItemButton/ListItemButton/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon/index.js +2 -2
- package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction/index.js +2 -2
- package/dist/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemText/ListItemText/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/ListItemText/ListItemText/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemText/ListItemText/index.js +1 -1
- package/dist/node_modules/@mui/material/ListItemText/ListItemText/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ListSubheader/ListSubheader/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/ListSubheader/ListSubheader/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ListSubheader/ListSubheader/index.js +2 -2
- package/dist/node_modules/@mui/material/ListSubheader/ListSubheader/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Menu/Menu/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/Menu/Menu/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Menu/Menu/index.js +2 -2
- package/dist/node_modules/@mui/material/Menu/Menu/index.js.map +1 -1
- package/dist/node_modules/@mui/material/MenuItem/MenuItem/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/MenuItem/MenuItem/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/MenuItem/MenuItem/index.js +1 -1
- package/dist/node_modules/@mui/material/MenuItem/MenuItem/index.js.map +1 -1
- package/dist/node_modules/@mui/material/MenuList/MenuList/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/MenuList/MenuList/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/MenuList/MenuList/index.js +2 -2
- package/dist/node_modules/@mui/material/MenuList/MenuList/index.js.map +1 -1
- package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.js +1 -1
- package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Modal/Modal/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Modal/Modal/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Modal/Modal/index.js +1 -1
- package/dist/node_modules/@mui/material/Modal/Modal/index.js.map +1 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.js +2 -2
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.js.map +1 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelectInput/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelectInput/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelectInput/index.js +1 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelectInput/index.js.map +1 -1
- package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.js +1 -1
- package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.js.map +1 -1
- package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline/index.js +1 -1
- package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline/index.js.map +1 -1
- package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput/index.js +2 -2
- package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Pagination/Pagination/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Pagination/Pagination/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Pagination/Pagination/index.js +1 -1
- package/dist/node_modules/@mui/material/Pagination/Pagination/index.js.map +1 -1
- package/dist/node_modules/@mui/material/PaginationItem/PaginationItem/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/PaginationItem/PaginationItem/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/PaginationItem/PaginationItem/index.js +1 -1
- package/dist/node_modules/@mui/material/PaginationItem/PaginationItem/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Paper/Paper/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/Paper/Paper/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Paper/Paper/index.js +1 -1
- package/dist/node_modules/@mui/material/Paper/Paper/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Popover/Popover/index.esm.js +7 -6
- package/dist/node_modules/@mui/material/Popover/Popover/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Popover/Popover/index.js +2 -2
- package/dist/node_modules/@mui/material/Popover/Popover/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Popper/BasePopper/index.esm.js +5 -4
- package/dist/node_modules/@mui/material/Popper/BasePopper/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Popper/BasePopper/index.js +3 -3
- package/dist/node_modules/@mui/material/Popper/BasePopper/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Popper/Popper/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Popper/Popper/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Popper/Popper/index.js +1 -1
- package/dist/node_modules/@mui/material/Popper/Popper/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Portal/Portal/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/Portal/Portal/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Portal/Portal/index.js +4 -4
- package/dist/node_modules/@mui/material/Portal/Portal/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Radio/Radio/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Radio/Radio/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Radio/Radio/index.js +1 -1
- package/dist/node_modules/@mui/material/Radio/Radio/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Radio/RadioButtonIcon/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Radio/RadioButtonIcon/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Radio/RadioButtonIcon/index.js +2 -2
- package/dist/node_modules/@mui/material/Radio/RadioButtonIcon/index.js.map +1 -1
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroup/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroup/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroup/index.js +2 -2
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroup/index.js.map +1 -1
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroupContext/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroupContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroupContext/index.js +1 -1
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroupContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Rating/Rating/index.esm.js +4 -3
- package/dist/node_modules/@mui/material/Rating/Rating/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Rating/Rating/index.js +6 -6
- package/dist/node_modules/@mui/material/Rating/Rating/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.js +2 -2
- package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Select/Select/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Select/Select/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Select/Select/index.js +1 -1
- package/dist/node_modules/@mui/material/Select/Select/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Select/SelectInput/index.esm.js +5 -4
- package/dist/node_modules/@mui/material/Select/SelectInput/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Select/SelectInput/index.js +2 -2
- package/dist/node_modules/@mui/material/Select/SelectInput/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Skeleton/Skeleton/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Skeleton/Skeleton/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Skeleton/Skeleton/index.js +1 -1
- package/dist/node_modules/@mui/material/Skeleton/Skeleton/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Slide/Slide/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/Slide/Slide/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Slide/Slide/index.js +1 -1
- package/dist/node_modules/@mui/material/Slide/Slide/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Slider/Slider/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Slider/Slider/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Slider/Slider/index.js +1 -1
- package/dist/node_modules/@mui/material/Slider/Slider/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Slider/SliderValueLabel/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Slider/SliderValueLabel/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Slider/SliderValueLabel/index.js +1 -1
- package/dist/node_modules/@mui/material/Slider/SliderValueLabel/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Snackbar/Snackbar/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Snackbar/Snackbar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Snackbar/Snackbar/index.js +1 -1
- package/dist/node_modules/@mui/material/Snackbar/Snackbar/index.js.map +1 -1
- package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent/index.js +1 -1
- package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent/index.js.map +1 -1
- package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.js +3 -3
- package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.js.map +1 -1
- package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.js +1 -1
- package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.js.map +1 -1
- package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.js +2 -2
- package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Stack/Stack/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Stack/Stack/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Stack/Stack/index.js +1 -1
- package/dist/node_modules/@mui/material/Stack/Stack/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Step/Step/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Step/Step/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Step/Step/index.js +1 -1
- package/dist/node_modules/@mui/material/Step/Step/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Step/StepContext/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Step/StepContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Step/StepContext/index.js +1 -1
- package/dist/node_modules/@mui/material/Step/StepContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/StepButton/StepButton/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/StepButton/StepButton/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/StepButton/StepButton/index.js +1 -1
- package/dist/node_modules/@mui/material/StepButton/StepButton/index.js.map +1 -1
- package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.js +1 -1
- package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.js.map +1 -1
- package/dist/node_modules/@mui/material/StepContent/StepContent/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/StepContent/StepContent/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/StepContent/StepContent/index.js +1 -1
- package/dist/node_modules/@mui/material/StepContent/StepContent/index.js.map +1 -1
- package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.js +1 -1
- package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.js.map +1 -1
- package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.js +2 -2
- package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Stepper/Stepper/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Stepper/Stepper/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Stepper/Stepper/index.js +2 -2
- package/dist/node_modules/@mui/material/Stepper/Stepper/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Stepper/StepperContext/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Stepper/StepperContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Stepper/StepperContext/index.js +1 -1
- package/dist/node_modules/@mui/material/Stepper/StepperContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/SvgIcon/SvgIcon/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/SvgIcon/SvgIcon/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/SvgIcon/SvgIcon/index.js +2 -2
- package/dist/node_modules/@mui/material/SvgIcon/SvgIcon/index.js.map +1 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.js +2 -2
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.js.map +1 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.js +1 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Switch/Switch/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Switch/Switch/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Switch/Switch/index.js +2 -2
- package/dist/node_modules/@mui/material/Switch/Switch/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Tab/Tab/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Tab/Tab/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Tab/Tab/index.js +1 -1
- package/dist/node_modules/@mui/material/Tab/Tab/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton/index.js +2 -2
- package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Table/Table/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Table/Table/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Table/Table/index.js +2 -2
- package/dist/node_modules/@mui/material/Table/Table/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Table/TableContext/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Table/TableContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Table/TableContext/index.js +1 -1
- package/dist/node_modules/@mui/material/Table/TableContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Table/Tablelvl2Context/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Table/Tablelvl2Context/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Table/Tablelvl2Context/index.js +1 -1
- package/dist/node_modules/@mui/material/Table/Tablelvl2Context/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TableBody/TableBody/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/TableBody/TableBody/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TableBody/TableBody/index.js +1 -1
- package/dist/node_modules/@mui/material/TableBody/TableBody/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TableCell/TableCell/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/TableCell/TableCell/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TableCell/TableCell/index.js +1 -1
- package/dist/node_modules/@mui/material/TableCell/TableCell/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TableContainer/TableContainer/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/TableContainer/TableContainer/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TableContainer/TableContainer/index.js +2 -2
- package/dist/node_modules/@mui/material/TableContainer/TableContainer/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TableFooter/TableFooter/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/TableFooter/TableFooter/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TableFooter/TableFooter/index.js +1 -1
- package/dist/node_modules/@mui/material/TableFooter/TableFooter/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TableHead/TableHead/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/TableHead/TableHead/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TableHead/TableHead/index.js +1 -1
- package/dist/node_modules/@mui/material/TableHead/TableHead/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.js +2 -2
- package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.js +2 -2
- package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TableRow/TableRow/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/TableRow/TableRow/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TableRow/TableRow/index.js +1 -1
- package/dist/node_modules/@mui/material/TableRow/TableRow/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TableSortLabel/TableSortLabel/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/TableSortLabel/TableSortLabel/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TableSortLabel/TableSortLabel/index.js +1 -1
- package/dist/node_modules/@mui/material/TableSortLabel/TableSortLabel/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Tabs/ScrollbarSize/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Tabs/ScrollbarSize/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Tabs/ScrollbarSize/index.js +1 -1
- package/dist/node_modules/@mui/material/Tabs/ScrollbarSize/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Tabs/Tabs/index.esm.js +7 -6
- package/dist/node_modules/@mui/material/Tabs/Tabs/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Tabs/Tabs/index.js +2 -2
- package/dist/node_modules/@mui/material/Tabs/Tabs/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TextField/TextField/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/TextField/TextField/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TextField/TextField/index.js +2 -2
- package/dist/node_modules/@mui/material/TextField/TextField/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize/index.js +1 -1
- package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ToggleButton/ToggleButton/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/ToggleButton/ToggleButton/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ToggleButton/ToggleButton/index.js +1 -1
- package/dist/node_modules/@mui/material/ToggleButton/ToggleButton/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup/index.js +2 -2
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupButtonContext/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupButtonContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupButtonContext/index.js +1 -1
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupButtonContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext/index.js +1 -1
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Toolbar/Toolbar/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Toolbar/Toolbar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Toolbar/Toolbar/index.js +2 -2
- package/dist/node_modules/@mui/material/Toolbar/Toolbar/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Tooltip/Tooltip/index.esm.js +5 -4
- package/dist/node_modules/@mui/material/Tooltip/Tooltip/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Tooltip/Tooltip/index.js +2 -2
- package/dist/node_modules/@mui/material/Tooltip/Tooltip/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Typography/Typography/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Typography/Typography/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Typography/Typography/index.js +2 -2
- package/dist/node_modules/@mui/material/Typography/Typography/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap/index.esm.js +4 -3
- package/dist/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap/index.js +2 -2
- package/dist/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Zoom/Zoom/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/Zoom/Zoom/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Zoom/Zoom/index.js +1 -1
- package/dist/node_modules/@mui/material/Zoom/Zoom/index.js.map +1 -1
- package/dist/node_modules/@mui/material/internal/SwitchBase/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/internal/SwitchBase/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/internal/SwitchBase/index.js +2 -2
- package/dist/node_modules/@mui/material/internal/SwitchBase/index.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/ThemeProvider/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/styles/ThemeProvider/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/ThemeProvider/index.js +1 -1
- package/dist/node_modules/@mui/material/styles/ThemeProvider/index.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/createPalette/index.esm.js +5 -4
- package/dist/node_modules/@mui/material/styles/createPalette/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/createPalette/index.js +1 -1
- package/dist/node_modules/@mui/material/styles/createPalette/index.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/createTheme/index.esm.js +4 -3
- package/dist/node_modules/@mui/material/styles/createTheme/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/createTheme/index.js +1 -1
- package/dist/node_modules/@mui/material/styles/createTheme/index.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/createTransitions/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/styles/createTransitions/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/createTransitions/index.js +1 -1
- package/dist/node_modules/@mui/material/styles/createTransitions/index.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/createTypography/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/styles/createTypography/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/createTypography/index.js +1 -1
- package/dist/node_modules/@mui/material/styles/createTypography/index.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/useTheme/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/styles/useTheme/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/useTheme/index.js +1 -1
- package/dist/node_modules/@mui/material/styles/useTheme/index.js.map +1 -1
- package/dist/node_modules/@mui/material/useAutocomplete/useAutocomplete/index.esm.js +6 -5
- package/dist/node_modules/@mui/material/useAutocomplete/useAutocomplete/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/useAutocomplete/useAutocomplete/index.js +1 -1
- package/dist/node_modules/@mui/material/useAutocomplete/useAutocomplete/index.js.map +1 -1
- package/dist/node_modules/@mui/material/utils/createSvgIcon/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/utils/createSvgIcon/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/utils/createSvgIcon/index.js +2 -2
- package/dist/node_modules/@mui/material/utils/createSvgIcon/index.js.map +1 -1
- package/dist/node_modules/@mui/material/utils/index/index.esm.js +2 -1
- package/dist/node_modules/@mui/material/utils/index/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/utils/index/index.js +1 -1
- package/dist/node_modules/@mui/material/utils/index/index.js.map +1 -1
- package/dist/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider/index.esm.js +6 -5
- package/dist/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider/index.js +2 -2
- package/dist/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider/index.js.map +1 -1
- package/dist/node_modules/@mui/private-theming/useTheme/ThemeContext/index.esm.js +2 -1
- package/dist/node_modules/@mui/private-theming/useTheme/ThemeContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/private-theming/useTheme/ThemeContext/index.js +1 -1
- package/dist/node_modules/@mui/private-theming/useTheme/ThemeContext/index.js.map +1 -1
- package/dist/node_modules/@mui/private-theming/useTheme/useTheme/index.esm.js +2 -1
- package/dist/node_modules/@mui/private-theming/useTheme/useTheme/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/private-theming/useTheme/useTheme/index.js +1 -1
- package/dist/node_modules/@mui/private-theming/useTheme/useTheme/index.js.map +1 -1
- package/dist/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles/index.esm.js +2 -1
- package/dist/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles/index.js +1 -1
- package/dist/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles/index.js.map +1 -1
- package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider/index.esm.js +2 -1
- package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider/index.js +1 -1
- package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider/index.js.map +1 -1
- package/dist/node_modules/@mui/styled-engine/index/index.esm.js +2 -8
- package/dist/node_modules/@mui/styled-engine/index/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/styled-engine/index/index.js +1 -1
- package/dist/node_modules/@mui/styled-engine/index/index.js.map +1 -1
- package/dist/node_modules/@mui/system/colorManipulator/index.esm.js +11 -10
- package/dist/node_modules/@mui/system/colorManipulator/index.esm.js.map +1 -1
- 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 +9 -8
- package/dist/node_modules/@mui/system/createStyled/index.esm.js.map +1 -1
- 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 +3 -2
- package/dist/node_modules/@mui/system/esm/Container/createContainer/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/Container/createContainer/index.js +2 -2
- package/dist/node_modules/@mui/system/esm/Container/createContainer/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider/index.esm.js +2 -1
- package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider/index.js +2 -2
- package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles/index.esm.js +2 -1
- package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/RtlProvider/index/index.esm.js +2 -1
- package/dist/node_modules/@mui/system/esm/RtlProvider/index/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/RtlProvider/index/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/RtlProvider/index/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/Stack/createStack/index.esm.js +2 -1
- package/dist/node_modules/@mui/system/esm/Stack/createStack/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/Stack/createStack/index.js +2 -2
- package/dist/node_modules/@mui/system/esm/Stack/createStack/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider/index.esm.js +5 -4
- package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider/index.js +2 -2
- package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/borders/index.esm.js +2 -1
- package/dist/node_modules/@mui/system/esm/borders/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/borders/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/borders/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/breakpoints/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/breakpoints/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/colorManipulator/index.esm.js +4 -3
- package/dist/node_modules/@mui/system/esm/colorManipulator/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/colorManipulator/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/colorManipulator/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/compose/index.esm.js +2 -1
- package/dist/node_modules/@mui/system/esm/compose/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/compose/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/compose/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/createStyled/index.esm.js +3 -2
- package/dist/node_modules/@mui/system/esm/createStyled/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/createStyled/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/createStyled/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/createTheme/createSpacing/index.esm.js +2 -1
- package/dist/node_modules/@mui/system/esm/createTheme/createSpacing/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/createTheme/createSpacing/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/createTheme/createSpacing/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/cssGrid/index.esm.js +4 -3
- package/dist/node_modules/@mui/system/esm/cssGrid/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/cssGrid/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/cssGrid/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/responsivePropType/index.esm.js +2 -1
- package/dist/node_modules/@mui/system/esm/responsivePropType/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/responsivePropType/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/responsivePropType/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/spacing/index.esm.js +7 -6
- package/dist/node_modules/@mui/system/esm/spacing/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/spacing/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/spacing/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/style/index.esm.js +2 -1
- package/dist/node_modules/@mui/system/esm/style/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/style/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/style/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/useMediaQuery/useMediaQuery/index.esm.js +3 -2
- package/dist/node_modules/@mui/system/esm/useMediaQuery/useMediaQuery/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/useMediaQuery/useMediaQuery/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/useMediaQuery/useMediaQuery/index.js.map +1 -1
- 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/@mui/utils/esm/HTMLElementType/HTMLElementType/index.esm.js +2 -1
- package/dist/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType/index.js +1 -1
- package/dist/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType/index.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/capitalize/capitalize/index.esm.js +2 -1
- package/dist/node_modules/@mui/utils/esm/capitalize/capitalize/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/capitalize/capitalize/index.js +1 -1
- package/dist/node_modules/@mui/utils/esm/capitalize/capitalize/index.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes/index.esm.js +2 -1
- package/dist/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes/index.js +1 -1
- package/dist/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes/index.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/deprecatedPropType/deprecatedPropType/index.esm.js +2 -1
- package/dist/node_modules/@mui/utils/esm/deprecatedPropType/deprecatedPropType/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/deprecatedPropType/deprecatedPropType/index.js +1 -1
- package/dist/node_modules/@mui/utils/esm/deprecatedPropType/deprecatedPropType/index.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/exactProp/exactProp/index.esm.js +2 -1
- package/dist/node_modules/@mui/utils/esm/exactProp/exactProp/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/exactProp/exactProp/index.js +1 -1
- package/dist/node_modules/@mui/utils/esm/exactProp/exactProp/index.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/integerPropType/integerPropType/index.esm.js +2 -1
- package/dist/node_modules/@mui/utils/esm/integerPropType/integerPropType/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/integerPropType/integerPropType/index.js +1 -1
- package/dist/node_modules/@mui/utils/esm/integerPropType/integerPropType/index.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/requirePropFactory/requirePropFactory/index.esm.js +2 -1
- package/dist/node_modules/@mui/utils/esm/requirePropFactory/requirePropFactory/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/requirePropFactory/requirePropFactory/index.js +1 -1
- package/dist/node_modules/@mui/utils/esm/requirePropFactory/requirePropFactory/index.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/unsupportedProp/unsupportedProp/index.esm.js +2 -1
- package/dist/node_modules/@mui/utils/esm/unsupportedProp/unsupportedProp/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/unsupportedProp/unsupportedProp/index.js +1 -1
- package/dist/node_modules/@mui/utils/esm/unsupportedProp/unsupportedProp/index.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/useControlled/useControlled/index.esm.js +2 -1
- package/dist/node_modules/@mui/utils/esm/useControlled/useControlled/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/useControlled/useControlled/index.js +1 -1
- package/dist/node_modules/@mui/utils/esm/useControlled/useControlled/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateCalendar/DateCalendar/index.esm.js +2 -1
- package/dist/node_modules/@mui/x-date-pickers/DateCalendar/DateCalendar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateCalendar/DateCalendar/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateCalendar/DateCalendar/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateField/DateField/index.esm.js +2 -1
- package/dist/node_modules/@mui/x-date-pickers/DateField/DateField/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateField/DateField/index.js +2 -2
- package/dist/node_modules/@mui/x-date-pickers/DateField/DateField/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePicker/index.esm.js +2 -1
- package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePicker/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePicker/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePicker/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePickerToolbar/index.esm.js +2 -1
- package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePickerToolbar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePickerToolbar/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePickerToolbar/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimeField/DateTimeField/index.esm.js +2 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimeField/DateTimeField/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimeField/DateTimeField/index.js +2 -2
- package/dist/node_modules/@mui/x-date-pickers/DateTimeField/DateTimeField/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePicker/index.esm.js +2 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePicker/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePicker/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePicker/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerTabs/index.esm.js +2 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerTabs/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerTabs/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerTabs/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerToolbar/index.esm.js +2 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerToolbar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerToolbar/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerToolbar/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DigitalClock/DigitalClock/index.esm.js +2 -1
- package/dist/node_modules/@mui/x-date-pickers/DigitalClock/DigitalClock/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DigitalClock/DigitalClock/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DigitalClock/DigitalClock/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/LocalizationProvider/LocalizationProvider/index.esm.js +3 -2
- package/dist/node_modules/@mui/x-date-pickers/LocalizationProvider/LocalizationProvider/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/LocalizationProvider/LocalizationProvider/index.js +2 -2
- package/dist/node_modules/@mui/x-date-pickers/LocalizationProvider/LocalizationProvider/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/MonthCalendar/MonthCalendar/index.esm.js +2 -1
- package/dist/node_modules/@mui/x-date-pickers/MonthCalendar/MonthCalendar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/MonthCalendar/MonthCalendar/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/MonthCalendar/MonthCalendar/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/MultiSectionDigitalClock/MultiSectionDigitalClock/index.esm.js +2 -1
- package/dist/node_modules/@mui/x-date-pickers/MultiSectionDigitalClock/MultiSectionDigitalClock/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/MultiSectionDigitalClock/MultiSectionDigitalClock/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/MultiSectionDigitalClock/MultiSectionDigitalClock/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersActionBar/PickersActionBar/index.esm.js +2 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersActionBar/PickersActionBar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersActionBar/PickersActionBar/index.js +4 -4
- package/dist/node_modules/@mui/x-date-pickers/PickersActionBar/PickersActionBar/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersCalendarHeader/PickersCalendarHeader/index.esm.js +2 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersCalendarHeader/PickersCalendarHeader/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersCalendarHeader/PickersCalendarHeader/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersCalendarHeader/PickersCalendarHeader/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersDay/PickersDay/index.esm.js +5 -4
- package/dist/node_modules/@mui/x-date-pickers/PickersDay/PickersDay/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersDay/PickersDay/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersDay/PickersDay/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersLayout/PickersLayout/index.esm.js +2 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersLayout/PickersLayout/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersLayout/PickersLayout/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersLayout/PickersLayout/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersShortcuts/PickersShortcuts/index.esm.js +2 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersShortcuts/PickersShortcuts/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersShortcuts/PickersShortcuts/index.js +2 -2
- package/dist/node_modules/@mui/x-date-pickers/PickersShortcuts/PickersShortcuts/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/TimeClock/TimeClock/index.esm.js +2 -1
- package/dist/node_modules/@mui/x-date-pickers/TimeClock/TimeClock/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/TimeClock/TimeClock/index.js +2 -2
- package/dist/node_modules/@mui/x-date-pickers/TimeClock/TimeClock/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/TimeField/TimeField/index.esm.js +2 -1
- package/dist/node_modules/@mui/x-date-pickers/TimeField/TimeField/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/TimeField/TimeField/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/TimeField/TimeField/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePicker/index.esm.js +2 -1
- package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePicker/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePicker/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePicker/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePickerToolbar/index.esm.js +2 -1
- package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePickerToolbar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePickerToolbar/index.js +2 -2
- package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePickerToolbar/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/YearCalendar/YearCalendar/index.esm.js +2 -1
- package/dist/node_modules/@mui/x-date-pickers/YearCalendar/YearCalendar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/YearCalendar/YearCalendar/index.js +2 -2
- package/dist/node_modules/@mui/x-date-pickers/YearCalendar/YearCalendar/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useField/useField.utils/index.esm.js +4 -3
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useField/useField.utils/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useField/useField.utils/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useField/useField.utils/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePicker/index.esm.js +2 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePicker/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePicker/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePicker/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePickerValue/index.esm.js +2 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePickerValue/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePickerValue/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePickerValue/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useViews/index.esm.js +2 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useViews/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useViews/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useViews/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/utils/warning/index.esm.js.map +1 -1
- package/dist/node_modules/@react-querybuilder/material/dist/react-querybuilder_material/index.esm.js.map +1 -1
- package/dist/node_modules/@react-querybuilder/material/dist/react-querybuilder_material/index.js.map +1 -1
- package/dist/node_modules/@tanstack/table-core/build/lib/index/index.esm.js +11 -20
- package/dist/node_modules/@tanstack/table-core/build/lib/index/index.esm.js.map +1 -1
- package/dist/node_modules/@tanstack/table-core/build/lib/index/index.js +1 -1
- package/dist/node_modules/@tanstack/table-core/build/lib/index/index.js.map +1 -1
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index/index.esm.js +7 -6
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index/index.esm.js.map +1 -1
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index/index.js +1 -1
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index/index.js.map +1 -1
- package/dist/node_modules/notistack/notistack.esm/index.esm.js +3 -2
- 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 +50 -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 +8 -7
- 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/node_modules/prop-types/index/index.esm.js +3 -2
- package/dist/node_modules/prop-types/index/index.esm.js.map +1 -1
- package/dist/node_modules/prop-types/index/index.js +1 -1
- package/dist/node_modules/prop-types/index/index.js.map +1 -1
- package/dist/redux/actionCreator.d.ts +7 -0
- package/dist/redux/apiConfig.d.ts +18 -0
- package/dist/redux/hooks.d.ts +7 -0
- package/dist/redux/index.d.ts +15 -10
- package/dist/redux/index.esm.js +36 -27
- package/dist/redux/index.js +1 -1
- package/dist/redux/module-reducer.d.ts +9 -0
- package/dist/redux/slices/headerSlice.d.ts +24 -0
- package/dist/redux/slices/index.d.ts +8 -0
- 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/inventoryReportsTitleBarSlice.d.ts +45 -0
- 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/reportsTitleBarSlice.d.ts +21 -0
- 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/redux/slices/shareSlice.d.ts +26 -0
- package/dist/redux/toolkit.d.ts +9 -0
- package/dist/redux/types.d.ts +66 -0
- package/dist/server.d.ts +8 -0
- 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/dynamic-svg-icon.d.ts +1 -0
- package/dist/src/assets/dynamic-svg-icon/index.d.ts +2 -0
- package/dist/src/assets/index.d.ts +4 -0
- package/dist/src/assets/view-modal/calendar-icon.d.ts +1 -0
- package/dist/src/assets/view-modal/chart-icon.d.ts +1 -0
- package/dist/src/assets/view-modal/gantt-icon.d.ts +1 -0
- package/dist/src/assets/view-modal/grid-icon.d.ts +1 -0
- package/dist/src/assets/view-modal/index.d.ts +12 -0
- package/dist/src/assets/view-modal/kanban-icon.d.ts +1 -0
- package/dist/src/assets/view-modal/table-icon.d.ts +1 -0
- package/dist/src/components/Dashboard/dashboard-card.d.ts +1 -0
- package/dist/src/components/Dashboard/dashboard-header.d.ts +1 -0
- package/dist/src/components/Dashboard/index.d.ts +4 -0
- package/dist/src/components/accordion/accordion.d.ts +1 -0
- package/dist/src/components/accordion/index.d.ts +2 -0
- package/dist/src/components/action-bar/action-bar.d.ts +1 -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/alert.d.ts +1 -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/columnHeader.d.ts +1 -0
- package/dist/src/components/board/index.d.ts +4 -0
- package/dist/src/components/bread-crumb/bread-crumb.d.ts +1 -0
- package/dist/src/components/bread-crumb/index.d.ts +2 -0
- package/dist/src/components/button/button.d.ts +1 -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/card-wrapper.d.ts +1 -0
- package/dist/src/components/card-wrapper/index.d.ts +2 -0
- package/dist/src/components/change-user-password-modal/change-user-password-modal.d.ts +1 -0
- package/dist/src/components/change-user-password-modal/index.d.ts +2 -0
- package/dist/src/components/charts/areaLinerChart.d.ts +1 -0
- package/dist/src/components/charts/bar-chart/bar-chart.d.ts +1 -0
- package/dist/src/components/charts/bar-chart/index.d.ts +2 -0
- package/dist/src/components/charts/barChart/barChart.d.ts +1 -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/donut-chart.d.ts +1 -1
- package/dist/src/components/charts/donut-chart/index.d.ts +2 -0
- package/dist/src/components/charts/donutChart/DonutChart.d.ts +1 -0
- package/dist/src/components/charts/donutChart/index.d.ts +2 -0
- package/dist/src/components/charts/groupBarChart/GroupBarChart.d.ts +1 -0
- package/dist/src/components/charts/groupBarChart/index.d.ts +2 -0
- package/dist/src/components/charts/index.d.ts +20 -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/charts/multiLineChart/multi-line-chart.d.ts +1 -0
- package/dist/src/components/checkbox/checkbox.d.ts +1 -0
- package/dist/src/components/checkbox/index.d.ts +2 -0
- package/dist/src/components/chip/chip.d.ts +1 -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/color-picker-input.d.ts +1 -0
- package/dist/src/components/color-picker-input/index.d.ts +2 -0
- package/dist/src/components/confirm-modal/confirm-modal.d.ts +1 -1
- package/dist/src/components/confirm-modal/index.d.ts +3 -0
- package/dist/src/components/country-select/country-select.d.ts +1 -0
- package/dist/src/components/country-select/index.d.ts +2 -0
- package/dist/src/components/custom-snackbar/custom-snackbar.d.ts +1 -0
- package/dist/src/components/custom-snackbar/index.d.ts +2 -0
- package/dist/src/components/custom-toggle-switch/custom-toggle-switch.d.ts +1 -0
- package/dist/src/components/custom-toggle-switch/index.d.ts +2 -0
- package/dist/src/components/date-picker/date-picker.d.ts +1 -0
- package/dist/src/components/date-picker/index.d.ts +2 -0
- package/dist/src/components/date-range-picker/date-range-picker.d.ts +1 -0
- package/dist/src/components/date-range-picker/index.d.ts +2 -0
- package/dist/src/components/date-time-picker/date-time-picker.d.ts +1 -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/custom-editor.d.ts +12 -8
- 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/fallback.d.ts +1 -0
- package/dist/src/components/fallback/index.d.ts +2 -0
- package/dist/src/components/filter/components/add-filter.d.ts +1 -0
- package/dist/src/components/filter/components/add-group.d.ts +1 -0
- package/dist/src/components/filter/components/combinator-select.d.ts +1 -0
- package/dist/src/components/filter/components/delete-group.d.ts +1 -0
- package/dist/src/components/filter/components/field-select.d.ts +1 -0
- package/dist/src/components/filter/components/index.d.ts +16 -0
- package/dist/src/components/filter/components/operator-select.d.ts +1 -0
- package/dist/src/components/filter/components/remove-action.d.ts +1 -0
- package/dist/src/components/filter/components/value-editor.d.ts +1 -0
- package/dist/src/components/filter/filter.d.ts +1 -0
- package/dist/src/components/filter/index.d.ts +4 -0
- package/dist/src/components/footer/footer.d.ts +1 -0
- package/dist/src/components/footer/index.d.ts +2 -0
- package/dist/src/components/form-control/form-builder/form-builder-element/button.d.ts +1 -0
- package/dist/src/components/form-control/form-builder/form-builder-element/date-range-picker.d.ts +1 -0
- package/dist/src/components/form-control/form-builder/form-builder-element/date-time.d.ts +1 -0
- package/dist/src/components/form-control/form-builder/form-builder-element/date.d.ts +1 -0
- package/dist/src/components/form-control/form-builder/form-builder-element/dynamic-currency-input.d.ts +1 -0
- package/dist/src/components/form-control/form-builder/form-builder-element/dynamic-element-hoc.d.ts +1 -0
- package/dist/src/components/form-control/form-builder/form-builder-element/dynamic-input-select.d.ts +1 -0
- package/dist/src/components/form-control/form-builder/form-builder-element/dynamic-tags-input.d.ts +1 -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/info.d.ts +1 -0
- 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/form-builder-element/media.d.ts +1 -0
- package/dist/src/components/form-control/form-builder/form-builder-element/phone.d.ts +1 -0
- package/dist/src/components/form-control/form-builder/form-builder-element/section.d.ts +1 -0
- package/dist/src/components/form-control/form-builder/form-builder-element/select.d.ts +1 -0
- package/dist/src/components/form-control/form-builder/form-builder-element/text.d.ts +1 -0
- package/dist/src/components/form-control/form-builder/form-builder-element/time.d.ts +1 -0
- package/dist/src/components/form-control/form-builder/index.d.ts +3 -0
- package/dist/src/components/form-control/form-parser/data.d.ts +1 -0
- package/dist/src/components/form-control/form-parser/form-parser.d.ts +1 -0
- package/dist/src/components/form-control/form-parser/form-section.d.ts +1 -0
- package/dist/src/components/form-control/form-parser/form-switcher.d.ts +1 -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/form-header.d.ts +1 -0
- package/dist/src/components/form-header/index.d.ts +2 -0
- package/dist/src/components/gantt/gantt.d.ts +1 -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/grid-card.d.ts +10 -1
- package/dist/src/components/grid/grid-card/index.d.ts +2 -0
- package/dist/src/components/grid/grid-wrapper/grid-wrapper.d.ts +1 -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/grid-fallback.d.ts +1 -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/components/notification-menu/notification-menu.d.ts +1 -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/header-card.d.ts +1 -0
- package/dist/src/components/header-card/index.d.ts +2 -0
- package/dist/src/components/hr-line/hr-line.d.ts +1 -0
- package/dist/src/components/hr-line/index.d.ts +2 -0
- package/dist/src/components/icons/custom-styled-icon.d.ts +1 -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 +113 -3
- package/dist/src/components/info-card/index.d.ts +2 -0
- package/dist/src/components/info-card/info-card.d.ts +1 -0
- package/dist/src/components/inventory-reports-title-bar/component/index.d.ts +2 -0
- package/dist/src/components/inventory-reports-title-bar/component/reportFilter.d.ts +3 -2
- package/dist/src/components/inventory-reports-title-bar/index.d.ts +5 -0
- package/dist/src/components/inventory-reports-title-bar/inventory-reports-title-bar.d.ts +1 -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/inventory-reports-title-bar/report-buttons/report-buttons.d.ts +1 -0
- package/dist/src/components/label-value/index.d.ts +2 -0
- package/dist/src/components/label-value/label-value.d.ts +1 -0
- package/dist/src/components/list/index.d.ts +2 -0
- package/dist/src/components/list/list.d.ts +2 -1
- package/dist/src/components/listing/index.d.ts +2 -2
- package/dist/src/components/loader.d.ts +1 -0
- package/dist/src/components/loaders/erp-loader.d.ts +1 -0
- package/dist/src/components/loaders/form-loader.d.ts +1 -0
- package/dist/src/components/loaders/index.d.ts +5 -1
- package/dist/src/components/loaders/modal-loader.d.ts +1 -0
- package/dist/src/components/loaders/page-loader.d.ts +1 -0
- package/dist/src/components/material-editable-table/components/default-aggregation.d.ts +1 -0
- package/dist/src/components/material-editable-table/components/header-cell.d.ts +1 -0
- package/dist/src/components/material-editable-table/components/index.d.ts +8 -0
- package/dist/src/components/material-editable-table/components/number-aggregation.d.ts +1 -0
- package/dist/src/components/material-editable-table/index.d.ts +4 -0
- package/dist/src/components/material-editable-table/material-editable-table.d.ts +1 -0
- package/dist/src/components/material-table/components/default-aggregation.d.ts +1 -0
- package/dist/src/components/material-table/components/header-cell.d.ts +1 -0
- package/dist/src/components/material-table/components/index.d.ts +8 -0
- package/dist/src/components/material-table/components/number-aggregation.d.ts +1 -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/menu/menu.d.ts +1 -0
- package/dist/src/components/modal/index.d.ts +2 -0
- package/dist/src/components/modal/modal.d.ts +1 -0
- package/dist/src/components/module-button/index.d.ts +2 -0
- package/dist/src/components/module-button/module-button.d.ts +10 -1
- package/dist/src/components/mulitline/index.d.ts +2 -0
- package/dist/src/components/mulitline/multiline.d.ts +2 -2
- package/dist/src/components/multi-select/index.d.ts +2 -0
- package/dist/src/components/multi-select/multi-select.d.ts +1 -0
- package/dist/src/components/page-navigator/components/add-page-modal.d.ts +1 -0
- package/dist/src/components/page-navigator/components/add-page.d.ts +1 -0
- package/dist/src/components/page-navigator/components/index.d.ts +10 -0
- package/dist/src/components/page-navigator/components/page-action.d.ts +1 -0
- package/dist/src/components/page-navigator/components/shared-page-modal.d.ts +1 -0
- package/dist/src/components/page-navigator/components/shared-page-view.d.ts +1 -0
- package/dist/src/components/page-navigator/index.d.ts +3 -0
- package/dist/src/components/page-navigator/page-navigator.d.ts +3 -3
- package/dist/src/components/pagination/index.d.ts +2 -0
- package/dist/src/components/pagination/pagination.d.ts +1 -0
- package/dist/src/components/parties-modal/index.d.ts +4 -0
- package/dist/src/components/parties-modal/parties-modal.d.ts +3 -3
- 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/phone-input/phone-input.d.ts +1 -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/radio/radio.d.ts +1 -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/reports-title-bar/report-buttons/report-buttons.d.ts +1 -0
- package/dist/src/components/reports-title-bar/reports-title-bar.d.ts +1 -0
- package/dist/src/components/reset-password-modal/index.d.ts +2 -0
- package/dist/src/components/reset-password-modal/reset-password-modal.d.ts +1 -0
- package/dist/src/components/rfq-response/index.d.ts +2 -0
- package/dist/src/components/rfq-response/item-response-details.d.ts +2 -1
- package/dist/src/components/save-filter-modal/index.d.ts +2 -0
- package/dist/src/components/save-filter-modal/save-filter-modal.d.ts +1 -0
- package/dist/src/components/schedule-report/index.d.ts +6 -0
- package/dist/src/components/schedule-report/schedule-report.d.ts +1 -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/search-bar/search-bar.d.ts +1 -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/select/select-search.d.ts +1 -0
- package/dist/src/components/select/select.d.ts +1 -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/share-modal/share-modal-enhanced.d.ts +1 -0
- package/dist/src/components/share-modal/share-modal.d.ts +1 -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/snackbar/snackbar.d.ts +1 -0
- package/dist/src/components/sub-header-doc/index.d.ts +2 -0
- package/dist/src/components/sub-header-doc/sub-header-doc.d.ts +1 -0
- package/dist/src/components/switches/android-12-switch.d.ts +1 -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/tab-bar-ui/tab-bar-ui.d.ts +3 -3
- package/dist/src/components/tabs/index.d.ts +2 -0
- package/dist/src/components/tabs/tabs.d.ts +2 -2
- package/dist/src/components/text-area/index.d.ts +2 -0
- package/dist/src/components/text-area/text-area.d.ts +1 -0
- package/dist/src/components/text-field/index.d.ts +2 -0
- package/dist/src/components/text-field/text-field.d.ts +1 -0
- package/dist/src/components/time-picker/index.d.ts +2 -0
- package/dist/src/components/time-picker/time-picker.d.ts +1 -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/toast/toast.d.ts +1 -0
- package/dist/src/components/toggle/index.d.ts +2 -0
- package/dist/src/components/toggle/toggle.d.ts +1 -0
- package/dist/src/components/toggle-switch/index.d.ts +2 -0
- package/dist/src/components/tooltip/Tooltip.d.ts +1 -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/upload.d.ts +1 -0
- package/dist/src/components/upload-excel/index.d.ts +4 -0
- package/dist/src/components/upload-excel/upload-excel.d.ts +1 -0
- package/dist/src/components/upload-media/index.d.ts +2 -0
- package/dist/src/components/upload-media/upload-media.d.ts +1 -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/value-field/value-field.d.ts +1 -0
- package/dist/src/components/view-modal/index.d.ts +2 -0
- package/dist/src/components/view-modal/view-modal.d.ts +1 -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/contexts/languageContext.d.ts +1 -0
- package/dist/src/hooks/apiHelper.d.ts +1 -1
- package/dist/src/hooks/index.d.ts +15 -14
- package/dist/src/hooks/use-translations.d.ts +2 -1
- package/dist/src/hooks/useCheckSkuAndName.d.ts +4 -2
- package/dist/src/hooks/useDataFetcher.d.ts +2 -2
- package/dist/src/index.d.ts +5 -0
- package/dist/src/layout/fullScreen/fullScreen.d.ts +5 -1
- 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/layout/sidebarScreen/sidebarScreen.d.ts +3 -3
- package/dist/src/redux/index.d.ts +6 -6
- package/dist/src/redux/slices/index.d.ts +8 -10
- package/dist/src/redux/toolkit.d.ts +9 -1
- 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/dateFormat.d.ts +1 -0
- package/dist/src/utils/deformat-text.d.ts +1 -0
- package/dist/src/utils/fileSize.d.ts +1 -0
- package/dist/src/utils/form-builder-conversion.d.ts +1 -0
- package/dist/src/utils/form-builder-deconversion.d.ts +1 -0
- package/dist/src/utils/format-text.d.ts +1 -0
- package/dist/src/utils/index.d.ts +12 -10
- package/dist/src/utils/metaComponent.d.ts +1 -0
- package/dist/src/views/afterAuth/dashboard/dashboard.d.ts +2 -1
- 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/page-view.d.ts +1 -0
- package/dist/src/views/afterAuth/page-view/redux/index.d.ts +5 -0
- package/dist/src/views/afterAuth/page-view/redux/reducer.d.ts +2 -1
- 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/grid-data.d.ts +1 -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 +5 -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/column-width.d.ts +5 -3
- package/dist/src/views/form-builder/element-edit-forms/index.d.ts +7 -0
- package/dist/src/views/form-builder/element-edit-forms/section.d.ts +1 -0
- package/dist/src/views/form-builder/form-fields.d.ts +19 -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/EditorSidebar.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/html-thumbnail-preview.d.ts +1 -0
- package/dist/src/views/template-editor/template-modal/index.d.ts +3 -1
- package/dist/src/views/template-editor/template-modal/template-modal.d.ts +1 -0
- 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 +68 -82
- package/dist/styles/index.d.ts +1 -1
- 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/styles/themes/index.d.ts +21 -0
- package/dist/theme/color.d.ts +38 -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/theme-impl.d.ts +24 -0
- package/dist/theme/themeSelector.d.ts +15 -0
- package/dist/theme/themeWrapper.d.ts +10 -0
- package/dist/theme/types/extendMUIPalette.d.ts +47 -0
- package/dist/theme/types/index.d.ts +1 -0
- 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/theme/typography.d.ts +88 -0
- package/dist/types/index.d.ts +1 -21
- package/dist/utils/api.d.ts +683 -0
- package/dist/utils/calculation.d.ts +13 -0
- package/dist/utils/color.d.ts +21 -0
- package/dist/utils/common/index.esm.js +2 -2
- package/dist/utils/common/index.js +1 -1
- package/dist/utils/common/index.js.map +1 -1
- package/dist/utils/common-utility/index.esm.js +3 -3
- package/dist/utils/common-utility/index.js +6 -6
- package/dist/utils/common-utility/index.js.map +1 -1
- package/dist/utils/common-utility.d.ts +224 -0
- package/dist/utils/common.d.ts +265 -0
- package/dist/utils/constant.d.ts +18 -0
- package/dist/utils/country.d.ts +1 -0
- package/dist/utils/date-range.d.ts +31 -0
- package/dist/utils/dateFormat/index.esm.js +8 -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/dateFormat.d.ts +12 -0
- package/dist/utils/dateValidation.d.ts +84 -0
- package/dist/utils/deformat-text/index.esm.js +1 -0
- package/dist/utils/deformat-text/index.esm.js.map +1 -1
- package/dist/utils/deformat-text/index.js +1 -1
- package/dist/utils/deformat-text/index.js.map +1 -1
- package/dist/utils/deformat-text.d.ts +3 -0
- package/dist/utils/export-filters.d.ts +2 -0
- package/dist/utils/fileSize/index.esm.js +2 -1
- package/dist/utils/fileSize/index.esm.js.map +1 -1
- package/dist/utils/fileSize/index.js +1 -1
- package/dist/utils/fileSize/index.js.map +1 -1
- package/dist/utils/fileSize.d.ts +3 -0
- package/dist/utils/form-builder-conversion/index.esm.js +3 -2
- package/dist/utils/form-builder-conversion/index.esm.js.map +1 -1
- package/dist/utils/form-builder-conversion/index.js +1 -1
- package/dist/utils/form-builder-conversion/index.js.map +1 -1
- package/dist/utils/form-builder-conversion.d.ts +3 -0
- package/dist/utils/form-builder-deconversion/index.esm.js +2 -1
- package/dist/utils/form-builder-deconversion/index.esm.js.map +1 -1
- package/dist/utils/form-builder-deconversion/index.js +1 -1
- package/dist/utils/form-builder-deconversion/index.js.map +1 -1
- package/dist/utils/form-builder-deconversion.d.ts +46 -0
- package/dist/utils/format-text/index.esm.js +2 -1
- package/dist/utils/format-text/index.esm.js.map +1 -1
- package/dist/utils/format-text/index.js +1 -1
- package/dist/utils/format-text/index.js.map +1 -1
- package/dist/utils/format-text.d.ts +5 -0
- 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/i18n.d.ts +3 -0
- package/dist/utils/index.d.ts +13 -14
- 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/language.d.ts +1 -0
- package/dist/utils/menu-filter.d.ts +70 -0
- package/dist/utils/metaComponent/index.esm.js +28 -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/utils/metaComponent.d.ts +15 -0
- package/dist/utils/migration-utils.d.ts +7 -0
- package/dist/utils/navigation-utils.d.ts +24 -0
- package/dist/utils/route-utils.d.ts +4 -0
- package/dist/utils/server.d.ts +5 -0
- package/dist/utils/setup.d.ts +1 -0
- package/dist/utils/translations.d.ts +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/404.d.ts +7 -0
- package/dist/views/afterAuth/dashboard/dashboard/index.esm.js +77 -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/dashboard.d.ts +3 -0
- package/dist/views/afterAuth/dashboard/index.d.ts +3 -0
- package/dist/views/afterAuth/dashboard/redux/actionCreator.d.ts +6 -0
- package/dist/views/afterAuth/dashboard/redux/index.d.ts +5 -0
- package/dist/views/afterAuth/dashboard/redux/reducer.d.ts +3508 -0
- package/dist/views/afterAuth/dashboard/redux/state.d.ts +499 -0
- package/dist/views/afterAuth/index.d.ts +2 -0
- package/dist/views/afterAuth/page-view/index.d.ts +4 -0
- package/dist/views/afterAuth/page-view/page-view/index.esm.js +101 -0
- package/dist/views/afterAuth/page-view/page-view/index.esm.js.map +1 -0
- package/dist/views/afterAuth/page-view/page-view/index.js +6 -0
- package/dist/views/afterAuth/page-view/page-view/index.js.map +1 -0
- package/dist/views/afterAuth/page-view/page-view.d.ts +3 -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/actionCreator.d.ts +1 -0
- package/dist/views/afterAuth/page-view/redux/index.d.ts +5 -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/reducer.d.ts +274 -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/redux/state.d.ts +33 -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/default-data.d.ts +16 -0
- package/dist/views/afterAuth/page-view/utils/index.d.ts +2 -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/afterAuth/page-view/utils/local-data.d.ts +16 -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/change-password/change-password.d.ts +1 -0
- package/dist/views/beforeAuth/change-password/index.d.ts +1 -0
- package/dist/views/beforeAuth/components/activity-tag-data/activity-tag-data.d.ts +11 -0
- package/dist/views/beforeAuth/components/activity-tag-data/index.d.ts +1 -0
- package/dist/views/beforeAuth/components/calendar-data/calendar-data.d.ts +18 -0
- package/dist/views/beforeAuth/components/calendar-data/index.d.ts +1 -0
- package/dist/views/beforeAuth/components/drive-dashboard-data/drive-dashboard-data.d.ts +147 -0
- package/dist/views/beforeAuth/components/drive-dashboard-data/index.d.ts +1 -0
- package/dist/views/beforeAuth/components/gantt-data/gantt-data.d.ts +4 -0
- package/dist/views/beforeAuth/components/gantt-data/index.d.ts +2 -0
- package/dist/views/beforeAuth/components/grid-data/grid-data/index.esm.js +1 -0
- package/dist/views/beforeAuth/components/grid-data/grid-data/index.esm.js.map +1 -1
- package/dist/views/beforeAuth/components/grid-data/grid-data/index.js +1 -1
- package/dist/views/beforeAuth/components/grid-data/grid-data/index.js.map +1 -1
- package/dist/views/beforeAuth/components/grid-data/grid-data.d.ts +9 -0
- package/dist/views/beforeAuth/components/grid-data/index.d.ts +2 -0
- package/dist/views/beforeAuth/components/index.d.ts +13 -0
- package/dist/views/beforeAuth/components/kanbann-content/index.d.ts +1 -0
- package/dist/views/beforeAuth/components/kanbann-content/kanbann-raw.d.ts +11 -0
- package/dist/views/beforeAuth/components/list-content/column-raw.d.ts +38 -0
- package/dist/views/beforeAuth/components/list-content/index.d.ts +2 -0
- package/dist/views/beforeAuth/components/list-content/list-data.d.ts +11 -0
- package/dist/views/beforeAuth/components/multiline-data/index.d.ts +1 -0
- package/dist/views/beforeAuth/components/multiline-data/multiline-data.d.ts +5 -0
- package/dist/views/beforeAuth/components/share-modal-data/index.d.ts +1 -0
- package/dist/views/beforeAuth/components/share-modal-data/share-modal-data.d.ts +6 -0
- package/dist/views/beforeAuth/components/shared-pages-data/index.d.ts +1 -0
- package/dist/views/beforeAuth/components/shared-pages-data/shared-pages-data.d.ts +7 -0
- package/dist/views/beforeAuth/components/tabs-data/index.d.ts +1 -0
- package/dist/views/beforeAuth/components/tabs-data/tabs-data.d.ts +5 -0
- package/dist/views/beforeAuth/components/user-dashboard-data/index.d.ts +1 -0
- package/dist/views/beforeAuth/components/user-dashboard-data/user-dashboard-data.d.ts +157 -0
- package/dist/views/beforeAuth/components/user-dropdown-data/index.d.ts +1 -0
- package/dist/views/beforeAuth/components/user-dropdown-data/user-dropdown-data.d.ts +6 -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/forgot-password/forgot-password.d.ts +1 -0
- package/dist/views/beforeAuth/forgot-password/index.d.ts +1 -0
- package/dist/views/beforeAuth/index.d.ts +5 -0
- package/dist/views/beforeAuth/landing/index.d.ts +2 -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/landing/landing.d.ts +3 -0
- package/dist/views/beforeAuth/login/index.d.ts +2 -0
- package/dist/views/beforeAuth/reset-password/index.d.ts +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/beforeAuth/reset-password/reset-password.d.ts +1 -0
- package/dist/views/form-builder/custom-form/index.esm.js +12 -12
- package/dist/views/form-builder/custom-form/index.js +22 -22
- package/dist/views/form-builder/custom-form/index.js.map +1 -1
- package/dist/views/form-builder/custom-form.d.ts +7 -0
- package/dist/views/form-builder/element-edit-forms/checkbox/index.esm.js +3 -3
- package/dist/views/form-builder/element-edit-forms/checkbox/index.js +22 -22
- package/dist/views/form-builder/element-edit-forms/checkbox/index.js.map +1 -1
- package/dist/views/form-builder/element-edit-forms/checkbox.d.ts +3 -0
- package/dist/views/form-builder/element-edit-forms/column-width/index.esm.js +4 -3
- package/dist/views/form-builder/element-edit-forms/column-width/index.esm.js.map +1 -1
- package/dist/views/form-builder/element-edit-forms/column-width/index.js +3 -3
- package/dist/views/form-builder/element-edit-forms/column-width/index.js.map +1 -1
- package/dist/views/form-builder/element-edit-forms/column-width.d.ts +5 -0
- package/dist/views/form-builder/element-edit-forms/field-select/index.esm.js +1 -1
- package/dist/views/form-builder/element-edit-forms/field-select/index.js +1 -1
- package/dist/views/form-builder/element-edit-forms/field-select/index.js.map +1 -1
- package/dist/views/form-builder/element-edit-forms/field-select.d.ts +4 -0
- package/dist/views/form-builder/element-edit-forms/index.d.ts +14 -0
- package/dist/views/form-builder/element-edit-forms/section/index.esm.js +5 -4
- package/dist/views/form-builder/element-edit-forms/section/index.esm.js.map +1 -1
- package/dist/views/form-builder/element-edit-forms/section/index.js +11 -11
- package/dist/views/form-builder/element-edit-forms/section/index.js.map +1 -1
- package/dist/views/form-builder/element-edit-forms/section.d.ts +4 -0
- package/dist/views/form-builder/element-edit-forms/select/index.esm.js +5 -5
- package/dist/views/form-builder/element-edit-forms/select/index.js +19 -19
- package/dist/views/form-builder/element-edit-forms/select/index.js.map +1 -1
- package/dist/views/form-builder/element-edit-forms/select.d.ts +33 -0
- package/dist/views/form-builder/element-edit-forms/table-form/index.esm.js +3 -3
- package/dist/views/form-builder/element-edit-forms/table-form/index.js +4 -4
- package/dist/views/form-builder/element-edit-forms/table-form/index.js.map +1 -1
- package/dist/views/form-builder/element-edit-forms/table-form.d.ts +13 -0
- package/dist/views/form-builder/element-edit-forms/text/index.esm.js +6 -6
- package/dist/views/form-builder/element-edit-forms/text/index.js +20 -20
- package/dist/views/form-builder/element-edit-forms/text/index.js.map +1 -1
- package/dist/views/form-builder/element-edit-forms/text.d.ts +12 -0
- package/dist/views/form-builder/field_properties.d.ts +99 -0
- package/dist/views/form-builder/form-fields/index.esm.js +9 -8
- package/dist/views/form-builder/form-fields/index.esm.js.map +1 -1
- package/dist/views/form-builder/form-fields/index.js +22 -22
- package/dist/views/form-builder/form-fields/index.js.map +1 -1
- package/dist/views/form-builder/form-fields.d.ts +65 -0
- package/dist/views/form-builder/index.d.ts +9 -0
- package/dist/views/form-builder/redux/actionCreator/index.esm.js +1 -1
- package/dist/views/form-builder/redux/actionCreator.d.ts +5 -0
- package/dist/views/form-builder/redux/index.d.ts +5 -0
- package/dist/views/form-builder/redux/reducer/index.esm.js +5 -1
- package/dist/views/form-builder/redux/reducer/index.esm.js.map +1 -1
- package/dist/views/form-builder/redux/reducer/index.js +1 -1
- package/dist/views/form-builder/redux/reducer/index.js.map +1 -1
- package/dist/views/form-builder/redux/state.d.ts +27 -0
- package/dist/views/form-builder/types.d.ts +2 -0
- package/dist/views/form-builder/utils/common/index.esm.js +1 -1
- package/dist/views/form-builder/utils/common/index.js +1 -1
- package/dist/views/form-builder/utils/common/index.js.map +1 -1
- package/dist/views/form-builder/utils/common.d.ts +66 -0
- package/dist/views/form-builder/utils/index.d.ts +1 -0
- package/dist/views/index.d.ts +8 -1
- package/dist/views/index.esm.js +125 -48
- 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/privateRoute.d.ts +2 -0
- package/dist/views/template-editor/add-template/add-template.d.ts +4 -0
- package/dist/views/template-editor/add-template/index.d.ts +2 -0
- package/dist/views/template-editor/company-selection-modal/company-selection-modal/index.esm.js +3 -3
- package/dist/views/template-editor/company-selection-modal/company-selection-modal/index.js +6 -6
- package/dist/views/template-editor/company-selection-modal/company-selection-modal/index.js.map +1 -1
- package/dist/views/template-editor/company-selection-modal/company-selection-modal.d.ts +14 -0
- package/dist/views/template-editor/company-selection-modal/index.d.ts +2 -0
- package/dist/views/template-editor/components/EditorCanvas/index.esm.js +1 -1
- package/dist/views/template-editor/components/EditorCanvas/index.js +4 -4
- package/dist/views/template-editor/components/EditorCanvas/index.js.map +1 -1
- package/dist/views/template-editor/components/EditorCanvas.d.ts +22 -0
- package/dist/views/template-editor/components/EditorHeader/index.esm.js +2 -2
- package/dist/views/template-editor/components/EditorHeader/index.js +13 -13
- package/dist/views/template-editor/components/EditorHeader/index.js.map +1 -1
- package/dist/views/template-editor/components/EditorHeader.d.ts +18 -0
- package/dist/views/template-editor/components/EditorSection/index.esm.js +4 -4
- package/dist/views/template-editor/components/EditorSection/index.js +9 -9
- package/dist/views/template-editor/components/EditorSection/index.js.map +1 -1
- package/dist/views/template-editor/components/EditorSection.d.ts +20 -0
- package/dist/views/template-editor/components/EditorSidebar/index.esm.js +2 -1
- package/dist/views/template-editor/components/EditorSidebar/index.esm.js.map +1 -1
- package/dist/views/template-editor/components/EditorSidebar/index.js +14 -14
- package/dist/views/template-editor/components/EditorSidebar/index.js.map +1 -1
- package/dist/views/template-editor/components/EditorSidebar.d.ts +3 -0
- package/dist/views/template-editor/components/SectionFlowEditor/index.esm.js +1 -1
- package/dist/views/template-editor/components/SectionFlowEditor/index.js +3 -3
- package/dist/views/template-editor/components/SectionFlowEditor/index.js.map +1 -1
- package/dist/views/template-editor/components/SectionFlowEditor.d.ts +9 -0
- package/dist/views/template-editor/components/SectionFormatPanel/index.esm.js +2 -2
- package/dist/views/template-editor/components/SectionFormatPanel/index.js +3 -3
- package/dist/views/template-editor/components/SectionFormatPanel/index.js.map +1 -1
- package/dist/views/template-editor/components/SectionFormatPanel.d.ts +46 -0
- package/dist/views/template-editor/components/controllers/AlignmentControl.d.ts +7 -0
- package/dist/views/template-editor/components/controllers/ButtonControls/index.esm.js +3 -3
- package/dist/views/template-editor/components/controllers/ButtonControls/index.js +11 -11
- package/dist/views/template-editor/components/controllers/ButtonControls/index.js.map +1 -1
- package/dist/views/template-editor/components/controllers/ButtonControls.d.ts +8 -0
- package/dist/views/template-editor/components/controllers/CodeControls.d.ts +8 -0
- package/dist/views/template-editor/components/controllers/DividerControls/index.esm.js +3 -3
- package/dist/views/template-editor/components/controllers/DividerControls/index.js +5 -5
- package/dist/views/template-editor/components/controllers/DividerControls/index.js.map +1 -1
- package/dist/views/template-editor/components/controllers/DividerControls.d.ts +8 -0
- package/dist/views/template-editor/components/controllers/ImageControls/index.esm.js +2 -2
- package/dist/views/template-editor/components/controllers/ImageControls/index.js +5 -5
- package/dist/views/template-editor/components/controllers/ImageControls/index.js.map +1 -1
- package/dist/views/template-editor/components/controllers/ImageControls.d.ts +8 -0
- package/dist/views/template-editor/components/controllers/SignatureControls/index.esm.js +1 -1
- package/dist/views/template-editor/components/controllers/SignatureControls/index.js +1 -1
- package/dist/views/template-editor/components/controllers/SignatureControls/index.js.map +1 -1
- package/dist/views/template-editor/components/controllers/SignatureControls.d.ts +8 -0
- package/dist/views/template-editor/components/controllers/TableControls/index.esm.js +8 -8
- package/dist/views/template-editor/components/controllers/TableControls/index.js +59 -59
- package/dist/views/template-editor/components/controllers/TableControls/index.js.map +1 -1
- package/dist/views/template-editor/components/controllers/TableControls.d.ts +36 -0
- package/dist/views/template-editor/components/controllers/TextControls/index.esm.js +1 -1
- package/dist/views/template-editor/components/controllers/TextControls/index.js +10 -10
- package/dist/views/template-editor/components/controllers/TextControls/index.js.map +1 -1
- package/dist/views/template-editor/components/controllers/TextControls.d.ts +21 -0
- package/dist/views/template-editor/components/controllers/border-control/index.esm.js +3 -3
- package/dist/views/template-editor/components/controllers/border-control/index.js +5 -5
- package/dist/views/template-editor/components/controllers/border-control/index.js.map +1 -1
- package/dist/views/template-editor/components/controllers/border-control.d.ts +13 -0
- package/dist/views/template-editor/components/controllers/index.d.ts +18 -0
- package/dist/views/template-editor/components/index.d.ts +13 -0
- package/dist/views/template-editor/edit-section-modal/edit-section-modal/index.esm.js +3 -3
- package/dist/views/template-editor/edit-section-modal/edit-section-modal/index.js +9 -9
- package/dist/views/template-editor/edit-section-modal/edit-section-modal/index.js.map +1 -1
- package/dist/views/template-editor/edit-section-modal/edit-section-modal.d.ts +16 -0
- package/dist/views/template-editor/edit-section-modal/index.d.ts +2 -0
- package/dist/views/template-editor/index.d.ts +11 -0
- package/dist/views/template-editor/routes.d.ts +4 -0
- package/dist/views/template-editor/template-modal/html-thumbnail-preview/index.esm.js +1 -0
- package/dist/views/template-editor/template-modal/html-thumbnail-preview/index.esm.js.map +1 -1
- package/dist/views/template-editor/template-modal/html-thumbnail-preview/index.js +3 -3
- package/dist/views/template-editor/template-modal/html-thumbnail-preview/index.js.map +1 -1
- package/dist/views/template-editor/template-modal/html-thumbnail-preview.d.ts +18 -0
- package/dist/views/template-editor/template-modal/index.d.ts +4 -0
- package/dist/views/template-editor/template-modal/template-modal/index.esm.js +6 -5
- package/dist/views/template-editor/template-modal/template-modal/index.esm.js.map +1 -1
- package/dist/views/template-editor/template-modal/template-modal/index.js +10 -10
- package/dist/views/template-editor/template-modal/template-modal/index.js.map +1 -1
- package/dist/views/template-editor/template-modal/template-modal.d.ts +9 -0
- package/dist/views/template-editor/template-name-modal/index.d.ts +2 -0
- package/dist/views/template-editor/template-name-modal/template-name-modal/index.esm.js +3 -3
- package/dist/views/template-editor/template-name-modal/template-name-modal/index.js +7 -7
- package/dist/views/template-editor/template-name-modal/template-name-modal/index.js.map +1 -1
- package/dist/views/template-editor/template-name-modal/template-name-modal.d.ts +15 -0
- package/dist/views/template-editor/templates/index.esm.js +6 -6
- package/dist/views/template-editor/templates/index.js +6 -6
- package/dist/views/template-editor/templates/index.js.map +1 -1
- package/dist/views/template-editor/templates.d.ts +4 -0
- package/dist/views/template-editor/types/editor.d.ts +32 -0
- package/dist/views/template-editor/types/index.d.ts +1 -0
- package/dist/views/template-editor/utils/common.d.ts +17 -0
- package/dist/views/template-editor/utils/constant.d.ts +136 -0
- 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/dist/views/template-editor/utils/default-data.d.ts +7 -0
- package/dist/views/template-editor/utils/index.d.ts +5 -0
- package/dist/views/template-editor/utils/style-extractor.d.ts +11 -0
- package/dist/views/template-editor/utils/types.d.ts +33 -0
- package/dist/vite-env.d.ts +24 -0
- package/package.json +12 -10
- package/src/styles/index.d.ts +1 -0
- 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/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/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/src/components/form-control/form-builder/form-builder-element/number-input.d.ts +0 -0
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":["../../../../src/components/phone-input/phone-input.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable unused-imports/no-unused-vars */\nimport { styled } from \"@mui/material\";\nimport Typography from \"../typography/typography\";\nimport ReactPhoneInput, { CountryData } from \"react-phone-input-2\";\nimport \"react-phone-input-2/lib/material.css\";\nimport { images } from \"../../assets/images\";\nimport { useLanguage } from \"../../hooks/useLangauge\";\nimport { memo, useEffect } from \"react\";\n\nconst StyledInput = styled(ReactPhoneInput)<{ isRtl: boolean }>(({ theme: { palette }, isRtl }) => ({\n \"&:hover\": {\n border: \"none\",\n },\n \"&.react-tel-input\": {\n \".form-control\": {\n borderRadius: \"0.25rem\",\n padding: \"8px 8px 8px 55px\", // Ensure space for flag on the left\n border: `1px solid ${palette.theme?.secondary[300]}`,\n fontSize: \"0.875rem\",\n width: \"100%\",\n maxHeight: \"36.13px\",\n direction: \"ltr\", // Force LTR direction for input to start from left\n textAlign: \"left\", // Force left alignment for input value\n\n \":hover\": {\n border: `1px solid ${palette.theme?.secondary[400]}`,\n },\n\n \":focus\": {\n border: `1px solid ${palette.theme?.primary[600]}`,\n boxShadow: \"none\",\n },\n \":disabled\": {\n background: palette.theme?.secondary[200],\n color: palette.theme?.secondary[800],\n },\n\n \"&.invalid-number\": {\n border: `1px solid ${palette.theme?.error[600]}`,\n \":focus\": {\n boxShadow: \"none\",\n },\n },\n },\n\n \".flag-dropdown\": {\n left: \"0\",\n right: \"auto\",\n borderRadius: \"0.25rem 0 0 0.25rem\",\n \n \".selected-flag\": {\n borderRadius: \"0.25rem 0 0 0.25rem\",\n \n \"&:hover\": {\n backgroundColor: palette.theme?.secondary[100],\n },\n },\n },\n \n \".country-list\": {\n left: isRtl ? \"auto\" : \"0\",\n right: isRtl ? \"0\" : \"auto\",\n \n \".search\": {\n padding: \"0.5rem 0.5rem 0.5rem 0.75rem\",\n borderBottom: \"1px solid #F3F2F2\",\n display: \"flex\",\n alignItems: \"center\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n\n \".search-emoji\": {\n position: \"absolute\",\n left: isRtl ? \"auto\" : \"1.25rem\",\n right: isRtl ? \"1.25rem\" : \"auto\",\n\n \":first-child\": {\n display: \"block\",\n color: \"transparent\",\n background: `url(${images.search})`,\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"center\",\n },\n },\n\n \".search-box\": {\n width: \"100%\",\n marginLeft: \"0rem\",\n border: `1px solid ${palette.theme?.secondary[200]}`,\n backgroundColor: palette.theme?.secondary[100],\n borderRadius: \"0.5rem\",\n padding: \"0.4rem\",\n paddingLeft: isRtl ? \"0.4rem\" : \"2rem\",\n paddingRight: isRtl ? \"2rem\" : \"0.4rem\",\n fontSize: \"0.8125rem\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n textAlign: isRtl ? \"right\" : \"left\",\n\n \":hover\": {\n border: `1px solid ${palette.theme?.secondary[300]}`,\n },\n\n \":focus\": {\n border: `1px solid ${palette.theme?.primary[600]}`,\n },\n },\n },\n\n \".country\": {\n fontSize: \"0.8125rem\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n textAlign: isRtl ? \"right\" : \"left\",\n\n \".dial-code\": {\n fontSize: \"0.75rem\",\n position: \"absolute\",\n right: isRtl ? \"auto\" : \"0.5rem\",\n left: isRtl ? \"0.5rem\" : \"auto\",\n },\n },\n },\n },\n}));\n\ninterface IPhoneInput {\n error?: boolean;\n name?: string;\n dataPosition?: number;\n dataName?: string;\n label: string;\n required?: boolean;\n placeholder?: string;\n default_value?: string;\n onChange?: (e: any) => void;\n disabled?: boolean;\n setCountryCodeField?: (country: CountryData) => void;\n helperText?: string;\n isInlineEditing?:boolean\n}\n\nfunction fixPhoneDropdown() {\n let dropdown, input;\n\n const positionDropdown = () => {\n if (!dropdown || !input) return;\n const rect = input.getBoundingClientRect();\n\n dropdown.style.position = \"fixed\";\n dropdown.style.top = rect.bottom + \"px\";\n dropdown.style.left = rect.left + \"px\";\n dropdown.style.zIndex = \"2000\";\n };\n\n document.addEventListener(\"click\", () => {\n dropdown = document.querySelector(\".react-tel-input .country-list\");\n input = document.querySelector(\".react-tel-input input\");\n\n if (dropdown && input && !document.body.contains(dropdown)) {\n document.body.appendChild(dropdown);\n }\n\n positionDropdown();\n });\n\n // reposition on scroll (any container) and resize\n window.addEventListener(\"scroll\", positionDropdown, true); // true = capture all scrolls\n window.addEventListener(\"resize\", positionDropdown);\n}\n\n\nconst HelperTextWrapper = styled('div')(() => ({\n marginTop: '0.4rem',\n}));\n\nconst PhoneInput = memo(({\n name,\n error = false,\n dataName,\n dataPosition,\n label,\n required = false,\n placeholder,\n default_value,\n onChange,\n disabled,\n setCountryCodeField,\n helperText,\n isInlineEditing = false,\n ...rest\n}: IPhoneInput) => {\n const { isRtl } = useLanguage();\n\n useEffect(() => {\n if(isInlineEditing) {\n fixPhoneDropdown(isInlineEditing)\n }\n }, [isInlineEditing])\n\n return (\n <>\n <Typography\n type=\"s5\"\n weight=\"medium\"\n mb={0.5}\n color={error ? \"theme.error.600\" : \"theme.secondary.800\"}\n data-position={dataPosition}\n data-name={dataName}\n >\n {label} {required && <span className=\"requiredStar\">*</span>}\n </Typography>\n <StyledInput\n dropdownContainer={document.body}\n isRtl={isRtl}\n specialLabel={\"\"}\n enableSearch\n searchPlaceholder=\"Search Country\"\n isValid={!error}\n country={\"ae\"}\n searchNotFound=\"Not Found!\"\n inputProps={{\n name: name,\n required: required,\n }}\n placeholder={placeholder}\n value={default_value || rest?.value}\n onChange={(value, country) => {\n setCountryCodeField?.(country as CountryData);\n onChange?.(value);\n }}\n disabled={disabled}\n />\n {helperText && (\n <HelperTextWrapper>\n <Typography\n type=\"s5\"\n color={error ? \"theme.error.600\" : \"theme.secondary.600\"}\n >\n {helperText}\n </Typography>\n </HelperTextWrapper>\n )}\n </>\n );\n});\n\nexport default PhoneInput;"],"names":[],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../../../../src/components/phone-input/phone-input.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable unused-imports/no-unused-vars */\nimport { styled } from \"@mui/material\";\nimport Typography from \"../typography/typography\";\nimport ReactPhoneInput, { CountryData } from \"react-phone-input-2\";\nimport \"react-phone-input-2/lib/material.css\";\nimport { images } from \"../../assets/images\";\nimport { useLanguage } from \"../../hooks/useLangauge\";\nimport { memo, useEffect } from \"react\";\n\nconst StyledInput = styled(ReactPhoneInput)<{ isRtl: boolean }>(({ theme: { palette }, isRtl }) => ({\n \"&:hover\": {\n border: \"none\",\n },\n \"&.react-tel-input\": {\n \".form-control\": {\n borderRadius: \"0.25rem\",\n padding: \"8px 8px 8px 55px\", // Ensure space for flag on the left\n border: `1px solid ${palette.theme?.secondary[300]}`,\n fontSize: \"0.875rem\",\n width: \"100%\",\n maxHeight: \"36.13px\",\n direction: \"ltr\", // Force LTR direction for input to start from left\n textAlign: \"left\", // Force left alignment for input value\n\n \":hover\": {\n border: `1px solid ${palette.theme?.secondary[400]}`,\n },\n\n \":focus\": {\n border: `1px solid ${palette.theme?.primary[600]}`,\n boxShadow: \"none\",\n },\n \":disabled\": {\n background: palette.theme?.secondary[200],\n color: palette.theme?.secondary[800],\n },\n\n \"&.invalid-number\": {\n border: `1px solid ${palette.theme?.error[600]}`,\n \":focus\": {\n boxShadow: \"none\",\n },\n },\n },\n\n \".flag-dropdown\": {\n left: \"0\",\n right: \"auto\",\n borderRadius: \"0.25rem 0 0 0.25rem\",\n \n \".selected-flag\": {\n borderRadius: \"0.25rem 0 0 0.25rem\",\n \n \"&:hover\": {\n backgroundColor: palette.theme?.secondary[100],\n },\n },\n },\n \n \".country-list\": {\n left: isRtl ? \"auto\" : \"0\",\n right: isRtl ? \"0\" : \"auto\",\n \n \".search\": {\n padding: \"0.5rem 0.5rem 0.5rem 0.75rem\",\n borderBottom: \"1px solid #F3F2F2\",\n display: \"flex\",\n alignItems: \"center\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n\n \".search-emoji\": {\n position: \"absolute\",\n left: isRtl ? \"auto\" : \"1.25rem\",\n right: isRtl ? \"1.25rem\" : \"auto\",\n\n \":first-child\": {\n display: \"block\",\n color: \"transparent\",\n background: `url(${images.search})`,\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"center\",\n },\n },\n\n \".search-box\": {\n width: \"100%\",\n marginLeft: \"0rem\",\n border: `1px solid ${palette.theme?.secondary[200]}`,\n backgroundColor: palette.theme?.secondary[100],\n borderRadius: \"0.5rem\",\n padding: \"0.4rem\",\n paddingLeft: isRtl ? \"0.4rem\" : \"2rem\",\n paddingRight: isRtl ? \"2rem\" : \"0.4rem\",\n fontSize: \"0.8125rem\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n textAlign: isRtl ? \"right\" : \"left\",\n\n \":hover\": {\n border: `1px solid ${palette.theme?.secondary[300]}`,\n },\n\n \":focus\": {\n border: `1px solid ${palette.theme?.primary[600]}`,\n },\n },\n },\n\n \".country\": {\n fontSize: \"0.8125rem\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n textAlign: isRtl ? \"right\" : \"left\",\n\n \".dial-code\": {\n fontSize: \"0.75rem\",\n position: \"absolute\",\n right: isRtl ? \"auto\" : \"0.5rem\",\n left: isRtl ? \"0.5rem\" : \"auto\",\n },\n },\n },\n },\n}));\n\ninterface IPhoneInput {\n error?: boolean;\n name?: string;\n dataPosition?: number;\n dataName?: string;\n label: string;\n required?: boolean;\n placeholder?: string;\n default_value?: string;\n onChange?: (e: any) => void;\n disabled?: boolean;\n setCountryCodeField?: (country: CountryData) => void;\n helperText?: string;\n isInlineEditing?:boolean\n}\n\nfunction fixPhoneDropdown() {\n let dropdown, input;\n\n const positionDropdown = () => {\n if (!dropdown || !input) return;\n const rect = input.getBoundingClientRect();\n\n dropdown.style.position = \"fixed\";\n dropdown.style.top = rect.bottom + \"px\";\n dropdown.style.left = rect.left + \"px\";\n dropdown.style.zIndex = \"2000\";\n };\n\n document.addEventListener(\"click\", () => {\n dropdown = document.querySelector(\".react-tel-input .country-list\");\n input = document.querySelector(\".react-tel-input input\");\n\n if (dropdown && input && !document.body.contains(dropdown)) {\n document.body.appendChild(dropdown);\n }\n\n positionDropdown();\n });\n\n // reposition on scroll (any container) and resize\n window.addEventListener(\"scroll\", positionDropdown, true); // true = capture all scrolls\n window.addEventListener(\"resize\", positionDropdown);\n}\n\n\nconst HelperTextWrapper = styled('div')(() => ({\n marginTop: '0.4rem',\n}));\n\nconst PhoneInput = memo(({\n name,\n error = false,\n dataName,\n dataPosition,\n label,\n required = false,\n placeholder,\n default_value,\n onChange,\n disabled,\n setCountryCodeField,\n helperText,\n isInlineEditing = false,\n ...rest\n}: IPhoneInput) => {\n const { isRtl } = useLanguage();\n\n useEffect(() => {\n if(isInlineEditing) {\n fixPhoneDropdown(isInlineEditing)\n }\n }, [isInlineEditing])\n\n return (\n <>\n <Typography\n type=\"s5\"\n weight=\"medium\"\n mb={0.5}\n color={error ? \"theme.error.600\" : \"theme.secondary.800\"}\n data-position={dataPosition}\n data-name={dataName}\n >\n {label} {required && <span className=\"requiredStar\">*</span>}\n </Typography>\n <StyledInput\n dropdownContainer={document.body}\n isRtl={isRtl}\n specialLabel={\"\"}\n enableSearch\n searchPlaceholder=\"Search Country\"\n isValid={!error}\n country={\"ae\"}\n searchNotFound=\"Not Found!\"\n inputProps={{\n name: name,\n required: required,\n }}\n placeholder={placeholder}\n value={default_value || rest?.value}\n onChange={(value, country) => {\n setCountryCodeField?.(country as CountryData);\n onChange?.(value);\n }}\n disabled={disabled}\n />\n {helperText && (\n <HelperTextWrapper>\n <Typography\n type=\"s5\"\n color={error ? \"theme.error.600\" : \"theme.secondary.600\"}\n >\n {helperText}\n </Typography>\n </HelperTextWrapper>\n )}\n </>\n );\n});\n\nexport { PhoneInput };\nexport default PhoneInput;"],"names":[],"mappings":"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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("../../typography/typography/index.js"),t=require("react-phone-input-2"),o=require("../../../images/index.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("../../typography/typography/index.js"),t=require("react-phone-input-2"),o=require("../../../images/index.js"),n=require("../../../hooks/useLangauge/index.js"),d=require("react"),i=require("../../../node_modules/@mui/material/styles/styled/index.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=/* @__PURE__ */l(t);const s=i.default(a.default)(({theme:{palette:e},isRtl:r})=>{var t,n,d,i,l,a,s,u,c,m,p;return{"&:hover":{border:"none"},"&.react-tel-input":{".form-control":{borderRadius:"0.25rem",padding:"8px 8px 8px 55px",border:`1px solid ${null==(t=e.theme)?void 0:t.secondary[300]}`,fontSize:"0.875rem",width:"100%",maxHeight:"36.13px",direction:"ltr",textAlign:"left",":hover":{border:`1px solid ${null==(n=e.theme)?void 0:n.secondary[400]}`},":focus":{border:`1px solid ${null==(d=e.theme)?void 0:d.primary[600]}`,boxShadow:"none"},":disabled":{background:null==(i=e.theme)?void 0:i.secondary[200],color:null==(l=e.theme)?void 0:l.secondary[800]},"&.invalid-number":{border:`1px solid ${null==(a=e.theme)?void 0:a.error[600]}`,":focus":{boxShadow:"none"}}},".flag-dropdown":{left:"0",right:"auto",borderRadius:"0.25rem 0 0 0.25rem",".selected-flag":{borderRadius:"0.25rem 0 0 0.25rem","&:hover":{backgroundColor:null==(s=e.theme)?void 0:s.secondary[100]}}},".country-list":{left:r?"auto":"0",right:r?"0":"auto",".search":{padding:"0.5rem 0.5rem 0.5rem 0.75rem",borderBottom:"1px solid #F3F2F2",display:"flex",alignItems:"center",direction:r?"rtl":"ltr",".search-emoji":{position:"absolute",left:r?"auto":"1.25rem",right:r?"1.25rem":"auto",":first-child":{display:"block",color:"transparent",background:`url(${o.images.search})`,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},".search-box":{width:"100%",marginLeft:"0rem",border:`1px solid ${null==(u=e.theme)?void 0:u.secondary[200]}`,backgroundColor:null==(c=e.theme)?void 0:c.secondary[100],borderRadius:"0.5rem",padding:"0.4rem",paddingLeft:r?"0.4rem":"2rem",paddingRight:r?"2rem":"0.4rem",fontSize:"0.8125rem",direction:r?"rtl":"ltr",textAlign:r?"right":"left",":hover":{border:`1px solid ${null==(m=e.theme)?void 0:m.secondary[300]}`},":focus":{border:`1px solid ${null==(p=e.theme)?void 0:p.primary[600]}`}}},".country":{fontSize:"0.8125rem",direction:r?"rtl":"ltr",textAlign:r?"right":"left",".dial-code":{fontSize:"0.75rem",position:"absolute",right:r?"auto":"0.5rem",left:r?"0.5rem":"auto"}}}}}}),u=i.default("div")(()=>({marginTop:"0.4rem"})),c=d.memo(({name:t,error:o=!1,dataName:i,dataPosition:l,label:a,required:c=!1,placeholder:m,default_value:p,onChange:h,disabled:g,setCountryCodeField:y,helperText:x,isInlineEditing:b=!1,...f})=>{const{isRtl:v}=n.useLanguage();return d.useEffect(()=>{b&&function(){let e,r;const t=()=>{if(!e||!r)return;const t=r.getBoundingClientRect();e.style.position="fixed",e.style.top=t.bottom+"px",e.style.left=t.left+"px",e.style.zIndex="2000"};document.addEventListener("click",()=>{e=document.querySelector(".react-tel-input .country-list"),r=document.querySelector(".react-tel-input input"),e&&r&&!document.body.contains(e)&&document.body.appendChild(e),t()}),window.addEventListener("scroll",t,!0),window.addEventListener("resize",t)}()},[b]),/* @__PURE__ */e.jsxs(e.Fragment,{children:[
|
|
2
2
|
/* @__PURE__ */e.jsxs(r.Typography,{type:"s5",weight:"medium",mb:.5,color:o?"theme.error.600":"theme.secondary.800","data-position":l,"data-name":i,children:[a," ",c&&/* @__PURE__ */e.jsx("span",{className:"requiredStar",children:"*"})]}),
|
|
3
|
-
/* @__PURE__ */e.jsx(s,{dropdownContainer:document.body,isRtl:v,specialLabel:"",enableSearch:!0,searchPlaceholder:"Search Country",isValid:!o,country:"ae",searchNotFound:"Not Found!",inputProps:{name:t,required:c},placeholder:m,value:p||(null==f?void 0:f.value),onChange:(e,r)=>{null==y||y(r),null==h||h(e)},disabled:g}),
|
|
3
|
+
/* @__PURE__ */e.jsx(s,{dropdownContainer:document.body,isRtl:v,specialLabel:"",enableSearch:!0,searchPlaceholder:"Search Country",isValid:!o,country:"ae",searchNotFound:"Not Found!",inputProps:{name:t,required:c},placeholder:m,value:p||(null==f?void 0:f.value),onChange:(e,r)=>{null==y||y(r),null==h||h(e)},disabled:g}),x&&/* @__PURE__ */e.jsx(u,{children:/* @__PURE__ */e.jsx(r.Typography,{type:"s5",color:o?"theme.error.600":"theme.secondary.600",children:x})})]})});exports.PhoneInput=c,exports.default=c;
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/components/phone-input/phone-input.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable unused-imports/no-unused-vars */\nimport { styled } from \"@mui/material\";\nimport Typography from \"../typography/typography\";\nimport ReactPhoneInput, { CountryData } from \"react-phone-input-2\";\nimport \"react-phone-input-2/lib/material.css\";\nimport { images } from \"../../assets/images\";\nimport { useLanguage } from \"../../hooks/useLangauge\";\nimport { memo, useEffect } from \"react\";\n\nconst StyledInput = styled(ReactPhoneInput)<{ isRtl: boolean }>(({ theme: { palette }, isRtl }) => ({\n \"&:hover\": {\n border: \"none\",\n },\n \"&.react-tel-input\": {\n \".form-control\": {\n borderRadius: \"0.25rem\",\n padding: \"8px 8px 8px 55px\", // Ensure space for flag on the left\n border: `1px solid ${palette.theme?.secondary[300]}`,\n fontSize: \"0.875rem\",\n width: \"100%\",\n maxHeight: \"36.13px\",\n direction: \"ltr\", // Force LTR direction for input to start from left\n textAlign: \"left\", // Force left alignment for input value\n\n \":hover\": {\n border: `1px solid ${palette.theme?.secondary[400]}`,\n },\n\n \":focus\": {\n border: `1px solid ${palette.theme?.primary[600]}`,\n boxShadow: \"none\",\n },\n \":disabled\": {\n background: palette.theme?.secondary[200],\n color: palette.theme?.secondary[800],\n },\n\n \"&.invalid-number\": {\n border: `1px solid ${palette.theme?.error[600]}`,\n \":focus\": {\n boxShadow: \"none\",\n },\n },\n },\n\n \".flag-dropdown\": {\n left: \"0\",\n right: \"auto\",\n borderRadius: \"0.25rem 0 0 0.25rem\",\n \n \".selected-flag\": {\n borderRadius: \"0.25rem 0 0 0.25rem\",\n \n \"&:hover\": {\n backgroundColor: palette.theme?.secondary[100],\n },\n },\n },\n \n \".country-list\": {\n left: isRtl ? \"auto\" : \"0\",\n right: isRtl ? \"0\" : \"auto\",\n \n \".search\": {\n padding: \"0.5rem 0.5rem 0.5rem 0.75rem\",\n borderBottom: \"1px solid #F3F2F2\",\n display: \"flex\",\n alignItems: \"center\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n\n \".search-emoji\": {\n position: \"absolute\",\n left: isRtl ? \"auto\" : \"1.25rem\",\n right: isRtl ? \"1.25rem\" : \"auto\",\n\n \":first-child\": {\n display: \"block\",\n color: \"transparent\",\n background: `url(${images.search})`,\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"center\",\n },\n },\n\n \".search-box\": {\n width: \"100%\",\n marginLeft: \"0rem\",\n border: `1px solid ${palette.theme?.secondary[200]}`,\n backgroundColor: palette.theme?.secondary[100],\n borderRadius: \"0.5rem\",\n padding: \"0.4rem\",\n paddingLeft: isRtl ? \"0.4rem\" : \"2rem\",\n paddingRight: isRtl ? \"2rem\" : \"0.4rem\",\n fontSize: \"0.8125rem\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n textAlign: isRtl ? \"right\" : \"left\",\n\n \":hover\": {\n border: `1px solid ${palette.theme?.secondary[300]}`,\n },\n\n \":focus\": {\n border: `1px solid ${palette.theme?.primary[600]}`,\n },\n },\n },\n\n \".country\": {\n fontSize: \"0.8125rem\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n textAlign: isRtl ? \"right\" : \"left\",\n\n \".dial-code\": {\n fontSize: \"0.75rem\",\n position: \"absolute\",\n right: isRtl ? \"auto\" : \"0.5rem\",\n left: isRtl ? \"0.5rem\" : \"auto\",\n },\n },\n },\n },\n}));\n\ninterface IPhoneInput {\n error?: boolean;\n name?: string;\n dataPosition?: number;\n dataName?: string;\n label: string;\n required?: boolean;\n placeholder?: string;\n default_value?: string;\n onChange?: (e: any) => void;\n disabled?: boolean;\n setCountryCodeField?: (country: CountryData) => void;\n helperText?: string;\n isInlineEditing?:boolean\n}\n\nfunction fixPhoneDropdown() {\n let dropdown, input;\n\n const positionDropdown = () => {\n if (!dropdown || !input) return;\n const rect = input.getBoundingClientRect();\n\n dropdown.style.position = \"fixed\";\n dropdown.style.top = rect.bottom + \"px\";\n dropdown.style.left = rect.left + \"px\";\n dropdown.style.zIndex = \"2000\";\n };\n\n document.addEventListener(\"click\", () => {\n dropdown = document.querySelector(\".react-tel-input .country-list\");\n input = document.querySelector(\".react-tel-input input\");\n\n if (dropdown && input && !document.body.contains(dropdown)) {\n document.body.appendChild(dropdown);\n }\n\n positionDropdown();\n });\n\n // reposition on scroll (any container) and resize\n window.addEventListener(\"scroll\", positionDropdown, true); // true = capture all scrolls\n window.addEventListener(\"resize\", positionDropdown);\n}\n\n\nconst HelperTextWrapper = styled('div')(() => ({\n marginTop: '0.4rem',\n}));\n\nconst PhoneInput = memo(({\n name,\n error = false,\n dataName,\n dataPosition,\n label,\n required = false,\n placeholder,\n default_value,\n onChange,\n disabled,\n setCountryCodeField,\n helperText,\n isInlineEditing = false,\n ...rest\n}: IPhoneInput) => {\n const { isRtl } = useLanguage();\n\n useEffect(() => {\n if(isInlineEditing) {\n fixPhoneDropdown(isInlineEditing)\n }\n }, [isInlineEditing])\n\n return (\n <>\n <Typography\n type=\"s5\"\n weight=\"medium\"\n mb={0.5}\n color={error ? \"theme.error.600\" : \"theme.secondary.800\"}\n data-position={dataPosition}\n data-name={dataName}\n >\n {label} {required && <span className=\"requiredStar\">*</span>}\n </Typography>\n <StyledInput\n dropdownContainer={document.body}\n isRtl={isRtl}\n specialLabel={\"\"}\n enableSearch\n searchPlaceholder=\"Search Country\"\n isValid={!error}\n country={\"ae\"}\n searchNotFound=\"Not Found!\"\n inputProps={{\n name: name,\n required: required,\n }}\n placeholder={placeholder}\n value={default_value || rest?.value}\n onChange={(value, country) => {\n setCountryCodeField?.(country as CountryData);\n onChange?.(value);\n }}\n disabled={disabled}\n />\n {helperText && (\n <HelperTextWrapper>\n <Typography\n type=\"s5\"\n color={error ? \"theme.error.600\" : \"theme.secondary.600\"}\n >\n {helperText}\n </Typography>\n </HelperTextWrapper>\n )}\n </>\n );\n});\n\nexport default PhoneInput;"],"names":["StyledInput","styled","ReactPhoneInput","theme","palette","isRtl","border","borderRadius","padding","_a","secondary","fontSize","width","maxHeight","direction","textAlign","_b","_c","primary","boxShadow","background","_d","color","_e","_f","error","left","right","backgroundColor","_g","borderBottom","display","alignItems","position","images","search","backgroundRepeat","backgroundPosition","marginLeft","_h","_i","paddingLeft","paddingRight","_j","_k","HelperTextWrapper","marginTop","PhoneInput","memo","name","dataName","dataPosition","label","required","placeholder","default_value","onChange","disabled","setCountryCodeField","helperText","isInlineEditing","rest","useLanguage","useEffect","dropdown","input","positionDropdown","rect","getBoundingClientRect","style","top","bottom","zIndex","document","addEventListener","querySelector","body","contains","appendChild","window","fixPhoneDropdown","jsxs","Fragment","children","Typography","type","weight","mb","jsx","className","dropdownContainer","specialLabel","enableSearch","searchPlaceholder","isValid","country","searchNotFound","inputProps","value"],"mappings":"8cAUA,MAAMA,EAAcC,EAAAA,QAAOC,EAAAA,QAAPD,CAA4C,EAAGE,OAASC,WAAWC,sCAAa,MAAA,CAClG,UAAW,CACTC,OAAQ,QAEV,oBAAqB,CACnB,gBAAiB,CACfC,aAAc,UACdC,QAAS,mBACTF,OAAQ,aAAa,OAAAG,EAAAL,EAAQD,YAAR,EAAAM,EAAeC,UAAU,OAC9CC,SAAU,WACVC,MAAO,OACPC,UAAW,UACXC,UAAW,MACXC,UAAW,OAEX,SAAU,CACRT,OAAQ,aAAa,OAAAU,EAAAZ,EAAQD,YAAR,EAAAa,EAAeN,UAAU,QAGhD,SAAU,CACRJ,OAAQ,aAAa,OAAAW,EAAAb,EAAQD,YAAR,EAAAc,EAAeC,QAAQ,OAC5CC,UAAW,QAEb,YAAa,CACXC,WAAY,OAAAC,EAAAjB,EAAQD,YAAR,EAAAkB,EAAeX,UAAU,KACrCY,MAAO,OAAAC,EAAAnB,EAAQD,YAAR,EAAAoB,EAAeb,UAAU,MAGlC,mBAAoB,CAClBJ,OAAQ,aAAa,OAAAkB,EAAApB,EAAQD,YAAR,EAAAqB,EAAeC,MAAM,OAC1C,SAAU,CACRN,UAAW,UAKjB,iBAAkB,CAChBO,KAAM,IACNC,MAAO,OACPpB,aAAc,sBAEd,iBAAkB,CAChBA,aAAc,sBAEd,UAAW,CACTqB,gBAAiB,OAAAC,EAAAzB,EAAQD,YAAR,EAAA0B,EAAenB,UAAU,QAKhD,gBAAiB,CACfgB,KAAMrB,EAAQ,OAAS,IACvBsB,MAAOtB,EAAQ,IAAM,OAErB,UAAW,CACTG,QAAS,+BACTsB,aAAc,oBACdC,QAAS,OACTC,WAAY,SACZlB,UAAWT,EAAQ,MAAQ,MAE3B,gBAAiB,CACf4B,SAAU,WACVP,KAAMrB,EAAQ,OAAS,UACvBsB,MAAOtB,EAAQ,UAAY,OAE3B,eAAgB,CACd0B,QAAS,QACTT,MAAO,cACPF,WAAY,OAAOc,SAAOC,UAC1BC,iBAAkB,YAClBC,mBAAoB,WAIxB,cAAe,CACbzB,MAAO,OACP0B,WAAY,OACZhC,OAAQ,aAAa,OAAAiC,EAAAnC,EAAQD,YAAR,EAAAoC,EAAe7B,UAAU,OAC9CkB,gBAAiB,OAAAY,EAAApC,EAAQD,YAAR,EAAAqC,EAAe9B,UAAU,KAC1CH,aAAc,SACdC,QAAS,SACTiC,YAAapC,EAAQ,SAAW,OAChCqC,aAAcrC,EAAQ,OAAS,SAC/BM,SAAU,YACVG,UAAWT,EAAQ,MAAQ,MAC3BU,UAAWV,EAAQ,QAAU,OAE7B,SAAU,CACRC,OAAQ,aAAa,OAAAqC,EAAAvC,EAAQD,YAAR,EAAAwC,EAAejC,UAAU,QAGhD,SAAU,CACRJ,OAAQ,aAAa,OAAAsC,EAAAxC,EAAQD,YAAR,EAAAyC,EAAe1B,QAAQ,UAKlD,WAAY,CACVP,SAAU,YACVG,UAAWT,EAAQ,MAAQ,MAC3BU,UAAWV,EAAQ,QAAU,OAE7B,aAAc,CACZM,SAAU,UACVsB,SAAU,WACVN,MAAOtB,EAAQ,OAAS,SACxBqB,KAAMrB,EAAQ,SAAW,cAqD7BwC,EAAoB5C,EAAAA,QAAO,MAAPA,CAAc,KAAA,CACtC6C,UAAW,YAGPC,EAAaC,EAAAA,KAAK,EACtBC,OACAxB,SAAQ,EACRyB,WACAC,eACAC,QACAC,YAAW,EACXC,cACAC,gBACAC,WACAC,WACAC,sBACAC,aACAC,mBAAkB,KACfC,MAEH,MAAMxD,MAAEA,GAAUyD,gBAQlB,OANAC,EAAAA,UAAU,KACLH,GArDP,WACE,IAAII,EAAUC,EAEd,MAAMC,EAAmB,KACvB,IAAKF,IAAaC,EAAO,OACzB,MAAME,EAAOF,EAAMG,wBAEnBJ,EAASK,MAAMpC,SAAW,QAC1B+B,EAASK,MAAMC,IAAMH,EAAKI,OAAS,KACnCP,EAASK,MAAM3C,KAAOyC,EAAKzC,KAAO,KAClCsC,EAASK,MAAMG,OAAS,QAG1BC,SAASC,iBAAiB,QAAS,KACjCV,EAAWS,SAASE,cAAc,kCAClCV,EAAQQ,SAASE,cAAc,0BAE3BX,GAAYC,IAAUQ,SAASG,KAAKC,SAASb,IAC/CS,SAASG,KAAKE,YAAYd,GAG5BE,MAIFa,OAAOL,iBAAiB,SAAUR,GAAkB,GACpDa,OAAOL,iBAAiB,SAAUR,EACpC,CA2BMc,IAED,CAACpB,mBAGFqB,EAAAA,KAAAC,WAAA,CACEC,SAAA;eAAAF,EAAAA,KAACG,EAAAA,WAAA,CACCC,KAAK,KACLC,OAAO,SACPC,GAAI,GACJjE,MAAOG,EAAQ,kBAAoB,sBACnC,gBAAe0B,EACf,YAAWD,EAEViC,SAAA,CAAA/B,EAAM,IAAEC,oBAAYmC,IAAC,OAAA,CAAKC,UAAU,eAAeN,SAAA;eAEtDK,EAAAA,IAACxF,EAAA,CACC0F,kBAAmBjB,SAASG,KAC5BvE,QACAsF,aAAc,GACdC,cAAY,EACZC,kBAAkB,iBAClBC,SAAUrE,EACVsE,QAAS,KACTC,eAAe,aACfC,WAAY,CACVhD,OACAI,YAEFC,cACA4C,MAAO3C,IAAiB,MAAAM,OAAA,EAAAA,EAAMqC,OAC9B1C,SAAU,CAAC0C,EAAOH,KAChB,MAAArC,GAAAA,EAAsBqC,GACtB,MAAAvC,GAAAA,EAAW0C,IAEbzC,aAEDE,wBACEd,EAAA,CACCsC,wBAAAK,EAAAA,IAACJ,EAAAA,WAAA,CACCC,KAAK,KACL/D,MAAOG,EAAQ,kBAAoB,sBAElC0D,SAAAxB"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/components/phone-input/phone-input.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable unused-imports/no-unused-vars */\nimport { styled } from \"@mui/material\";\nimport Typography from \"../typography/typography\";\nimport ReactPhoneInput, { CountryData } from \"react-phone-input-2\";\nimport \"react-phone-input-2/lib/material.css\";\nimport { images } from \"../../assets/images\";\nimport { useLanguage } from \"../../hooks/useLangauge\";\nimport { memo, useEffect } from \"react\";\n\nconst StyledInput = styled(ReactPhoneInput)<{ isRtl: boolean }>(({ theme: { palette }, isRtl }) => ({\n \"&:hover\": {\n border: \"none\",\n },\n \"&.react-tel-input\": {\n \".form-control\": {\n borderRadius: \"0.25rem\",\n padding: \"8px 8px 8px 55px\", // Ensure space for flag on the left\n border: `1px solid ${palette.theme?.secondary[300]}`,\n fontSize: \"0.875rem\",\n width: \"100%\",\n maxHeight: \"36.13px\",\n direction: \"ltr\", // Force LTR direction for input to start from left\n textAlign: \"left\", // Force left alignment for input value\n\n \":hover\": {\n border: `1px solid ${palette.theme?.secondary[400]}`,\n },\n\n \":focus\": {\n border: `1px solid ${palette.theme?.primary[600]}`,\n boxShadow: \"none\",\n },\n \":disabled\": {\n background: palette.theme?.secondary[200],\n color: palette.theme?.secondary[800],\n },\n\n \"&.invalid-number\": {\n border: `1px solid ${palette.theme?.error[600]}`,\n \":focus\": {\n boxShadow: \"none\",\n },\n },\n },\n\n \".flag-dropdown\": {\n left: \"0\",\n right: \"auto\",\n borderRadius: \"0.25rem 0 0 0.25rem\",\n \n \".selected-flag\": {\n borderRadius: \"0.25rem 0 0 0.25rem\",\n \n \"&:hover\": {\n backgroundColor: palette.theme?.secondary[100],\n },\n },\n },\n \n \".country-list\": {\n left: isRtl ? \"auto\" : \"0\",\n right: isRtl ? \"0\" : \"auto\",\n \n \".search\": {\n padding: \"0.5rem 0.5rem 0.5rem 0.75rem\",\n borderBottom: \"1px solid #F3F2F2\",\n display: \"flex\",\n alignItems: \"center\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n\n \".search-emoji\": {\n position: \"absolute\",\n left: isRtl ? \"auto\" : \"1.25rem\",\n right: isRtl ? \"1.25rem\" : \"auto\",\n\n \":first-child\": {\n display: \"block\",\n color: \"transparent\",\n background: `url(${images.search})`,\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"center\",\n },\n },\n\n \".search-box\": {\n width: \"100%\",\n marginLeft: \"0rem\",\n border: `1px solid ${palette.theme?.secondary[200]}`,\n backgroundColor: palette.theme?.secondary[100],\n borderRadius: \"0.5rem\",\n padding: \"0.4rem\",\n paddingLeft: isRtl ? \"0.4rem\" : \"2rem\",\n paddingRight: isRtl ? \"2rem\" : \"0.4rem\",\n fontSize: \"0.8125rem\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n textAlign: isRtl ? \"right\" : \"left\",\n\n \":hover\": {\n border: `1px solid ${palette.theme?.secondary[300]}`,\n },\n\n \":focus\": {\n border: `1px solid ${palette.theme?.primary[600]}`,\n },\n },\n },\n\n \".country\": {\n fontSize: \"0.8125rem\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n textAlign: isRtl ? \"right\" : \"left\",\n\n \".dial-code\": {\n fontSize: \"0.75rem\",\n position: \"absolute\",\n right: isRtl ? \"auto\" : \"0.5rem\",\n left: isRtl ? \"0.5rem\" : \"auto\",\n },\n },\n },\n },\n}));\n\ninterface IPhoneInput {\n error?: boolean;\n name?: string;\n dataPosition?: number;\n dataName?: string;\n label: string;\n required?: boolean;\n placeholder?: string;\n default_value?: string;\n onChange?: (e: any) => void;\n disabled?: boolean;\n setCountryCodeField?: (country: CountryData) => void;\n helperText?: string;\n isInlineEditing?:boolean\n}\n\nfunction fixPhoneDropdown() {\n let dropdown, input;\n\n const positionDropdown = () => {\n if (!dropdown || !input) return;\n const rect = input.getBoundingClientRect();\n\n dropdown.style.position = \"fixed\";\n dropdown.style.top = rect.bottom + \"px\";\n dropdown.style.left = rect.left + \"px\";\n dropdown.style.zIndex = \"2000\";\n };\n\n document.addEventListener(\"click\", () => {\n dropdown = document.querySelector(\".react-tel-input .country-list\");\n input = document.querySelector(\".react-tel-input input\");\n\n if (dropdown && input && !document.body.contains(dropdown)) {\n document.body.appendChild(dropdown);\n }\n\n positionDropdown();\n });\n\n // reposition on scroll (any container) and resize\n window.addEventListener(\"scroll\", positionDropdown, true); // true = capture all scrolls\n window.addEventListener(\"resize\", positionDropdown);\n}\n\n\nconst HelperTextWrapper = styled('div')(() => ({\n marginTop: '0.4rem',\n}));\n\nconst PhoneInput = memo(({\n name,\n error = false,\n dataName,\n dataPosition,\n label,\n required = false,\n placeholder,\n default_value,\n onChange,\n disabled,\n setCountryCodeField,\n helperText,\n isInlineEditing = false,\n ...rest\n}: IPhoneInput) => {\n const { isRtl } = useLanguage();\n\n useEffect(() => {\n if(isInlineEditing) {\n fixPhoneDropdown(isInlineEditing)\n }\n }, [isInlineEditing])\n\n return (\n <>\n <Typography\n type=\"s5\"\n weight=\"medium\"\n mb={0.5}\n color={error ? \"theme.error.600\" : \"theme.secondary.800\"}\n data-position={dataPosition}\n data-name={dataName}\n >\n {label} {required && <span className=\"requiredStar\">*</span>}\n </Typography>\n <StyledInput\n dropdownContainer={document.body}\n isRtl={isRtl}\n specialLabel={\"\"}\n enableSearch\n searchPlaceholder=\"Search Country\"\n isValid={!error}\n country={\"ae\"}\n searchNotFound=\"Not Found!\"\n inputProps={{\n name: name,\n required: required,\n }}\n placeholder={placeholder}\n value={default_value || rest?.value}\n onChange={(value, country) => {\n setCountryCodeField?.(country as CountryData);\n onChange?.(value);\n }}\n disabled={disabled}\n />\n {helperText && (\n <HelperTextWrapper>\n <Typography\n type=\"s5\"\n color={error ? \"theme.error.600\" : \"theme.secondary.600\"}\n >\n {helperText}\n </Typography>\n </HelperTextWrapper>\n )}\n </>\n );\n});\n\nexport { PhoneInput };\nexport default PhoneInput;"],"names":["StyledInput","styled","ReactPhoneInput","theme","palette","isRtl","border","borderRadius","padding","_a","secondary","fontSize","width","maxHeight","direction","textAlign","_b","_c","primary","boxShadow","background","_d","color","_e","_f","error","left","right","backgroundColor","_g","borderBottom","display","alignItems","position","images","search","backgroundRepeat","backgroundPosition","marginLeft","_h","_i","paddingLeft","paddingRight","_j","_k","HelperTextWrapper","marginTop","PhoneInput","memo","name","dataName","dataPosition","label","required","placeholder","default_value","onChange","disabled","setCountryCodeField","helperText","isInlineEditing","rest","useLanguage","useEffect","dropdown","input","positionDropdown","rect","getBoundingClientRect","style","top","bottom","zIndex","document","addEventListener","querySelector","body","contains","appendChild","window","fixPhoneDropdown","jsxs","Fragment","children","Typography","type","weight","mb","jsx","className","dropdownContainer","specialLabel","enableSearch","searchPlaceholder","isValid","country","searchNotFound","inputProps","value"],"mappings":"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"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CountryData } from 'react-phone-input-2';
|
|
2
|
+
|
|
3
|
+
interface IPhoneInput {
|
|
4
|
+
error?: boolean;
|
|
5
|
+
name?: string;
|
|
6
|
+
dataPosition?: number;
|
|
7
|
+
dataName?: string;
|
|
8
|
+
label: string;
|
|
9
|
+
required?: boolean;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
default_value?: string;
|
|
12
|
+
onChange?: (e: any) => void;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
setCountryCodeField?: (country: CountryData) => void;
|
|
15
|
+
helperText?: string;
|
|
16
|
+
isInlineEditing?: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare const PhoneInput: import('react').NamedExoticComponent<IPhoneInput>;
|
|
19
|
+
export { PhoneInput };
|
|
20
|
+
export default PhoneInput;
|
|
@@ -110,7 +110,27 @@ const ProtectedRoute = ({
|
|
|
110
110
|
}
|
|
111
111
|
return showError ? /* @__PURE__ */ jsx(ErrorComponent, {}) : /* @__PURE__ */ jsx(Navigate, { to: redirectTo, replace: true });
|
|
112
112
|
};
|
|
113
|
+
const createPermissionConfig = {
|
|
114
|
+
// Single module
|
|
115
|
+
single: (module, action) => ({
|
|
116
|
+
module,
|
|
117
|
+
action
|
|
118
|
+
}),
|
|
119
|
+
// Multiple modules with same action
|
|
120
|
+
multiModule: (modules, action, operator = "OR") => ({
|
|
121
|
+
multiModule: { modules, action, operator }
|
|
122
|
+
}),
|
|
123
|
+
// Complex permissions
|
|
124
|
+
complex: (permissions, operator = "AND") => ({
|
|
125
|
+
complexPermissions: { permissions, operator }
|
|
126
|
+
}),
|
|
127
|
+
// Custom function
|
|
128
|
+
custom: (checkFn) => ({
|
|
129
|
+
customPermissionCheck: checkFn
|
|
130
|
+
})
|
|
131
|
+
};
|
|
113
132
|
export {
|
|
133
|
+
createPermissionConfig,
|
|
114
134
|
ProtectedRoute as default
|
|
115
135
|
};
|
|
116
136
|
//# sourceMappingURL=index.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":["../../../src/components/protected-route.tsx"],"sourcesContent":["/* eslint-disable react-refresh/only-export-components */\n/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable unused-imports/no-unused-vars */\nimport React, { useMemo } from \"react\";\nimport { Navigate } from \"react-router-dom\";\nimport { usePermissions } from \"../hooks/use-permissions\";\nimport { Box, Divider } from \"@mui/material\";\nimport Typography from \"./typography/typography\";\nimport _ from \"lodash\";\n\ntype PermissionAction = \"canEdit\" | \"canView\" | \"canAdd\" | \"canDelete\";\n\ninterface SingleModulePermission {\n module: string;\n action: PermissionAction;\n}\n\ninterface MultiModulePermission {\n modules: string[];\n action: PermissionAction;\n operator?: \"AND\" | \"OR\"; // Default: \"OR\"\n}\n\ninterface ComplexPermission {\n permissions: Array<{\n module: string;\n action: PermissionAction;\n }>;\n operator?: \"AND\" | \"OR\"; // Default: \"AND\"\n}\n\ninterface ProtectedRouteProps {\n // Single module (backward compatibility)\n module?: string;\n action?: PermissionAction;\n \n // Multiple modules with same action\n multiModule?: MultiModulePermission;\n \n // Complex permissions with different actions\n complexPermissions?: ComplexPermission;\n \n // Custom permission checker function\n customPermissionCheck?: (permissions: any) => boolean;\n \n // Redirect path for unauthorized access\n redirectTo?: string;\n \n // Show custom error component instead of redirect\n showError?: boolean;\n \n children: React.ReactNode;\n}\n\nconst ProtectedRoute: React.FC<ProtectedRouteProps> = ({\n module,\n action,\n multiModule,\n complexPermissions,\n customPermissionCheck,\n redirectTo = \"/403\",\n showError = true,\n children\n}) => {\n const permissions = usePermissions();\n\n // Memoize permission check for performance\n const hasPermission = useMemo(() => {\n if (!permissions) {\n return false;\n }\n\n // Custom permission check takes precedence\n if (customPermissionCheck) {\n return customPermissionCheck(permissions);\n }\n\n // Complex permissions check\n if (complexPermissions) {\n const { permissions: permList, operator = \"AND\" } = complexPermissions;\n \n const results = permList.map(({ module: mod, action: act }) => {\n const modulePerms = _.get(permissions, mod, {});\n return modulePerms[act] ?? false;\n });\n\n return operator === \"AND\" \n ? results.every(Boolean)\n : results.some(Boolean);\n }\n\n // Multi-module with same action check\n if (multiModule) {\n const { modules, action: act, operator = \"OR\" } = multiModule;\n \n const results = modules.map(mod => {\n const modulePerms = _.get(permissions, mod, {});\n return modulePerms[act] ?? false;\n });\n\n return operator === \"AND\" \n ? results.every(Boolean)\n : results.some(Boolean);\n }\n\n // Single module check (backward compatibility)\n if (module && action) {\n const modulePerms = _.get(permissions, module, {});\n return modulePerms[action] ?? false;\n }\n\n // No permission config provided - deny access\n return false;\n }, [permissions, module, action, multiModule, complexPermissions, customPermissionCheck]);\n\n // Enhanced error component\n const ErrorComponent = () => (\n <Box\n sx={{\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n alignItems: \"center\",\n position: \"absolute\",\n top: \"50%\",\n left: \"50%\",\n transform: \"translate(-50%, -50%)\", // Fixed transform values\n gap: 2,\n textAlign: \"center\",\n p: 3\n }}\n >\n <Typography \n type=\"h1\" \n color=\"theme.secondary.900\" \n weight=\"bold\"\n sx={{ fontSize: { xs: '4rem', sm: '6rem' } }}\n >\n 403\n </Typography>\n <Divider \n flexItem \n // sx={{ \n // borderColor: '#898f9a',\n // width: '100%',\n // maxWidth: '200px'\n // }}\n />\n <Typography \n type=\"s3\" \n color=\"theme.secondary.900\" \n weight=\"medium\"\n >\n Access Denied\n </Typography>\n <Typography \n type=\"body2\" \n color=\"theme.secondary.700\" \n weight=\"regular\"\n sx={{ mt: 1, maxWidth: '300px' }}\n >\n You don't have the required permissions to access this resource.\n </Typography>\n </Box>\n );\n\n // Handle loading state\n if (!permissions) {\n return showError ? <ErrorComponent /> : <Navigate to={redirectTo} replace />;\n }\n\n // Render based on permission check\n if (hasPermission) {\n return <>{children}</>;\n }\n\n return showError ? <ErrorComponent /> : <Navigate to={redirectTo} replace />;\n};\n\nexport default ProtectedRoute;\n\n// Helper function to create permission configurations\nexport const createPermissionConfig = {\n // Single module\n single: (module: string, action: PermissionAction) => ({\n module,\n action\n }),\n\n // Multiple modules with same action\n multiModule: (\n modules: string[], \n action: PermissionAction, \n operator: \"AND\" | \"OR\" = \"OR\"\n ) => ({\n multiModule: { modules, action, operator }\n }),\n\n // Complex permissions\n complex: (\n permissions: Array<{ module: string; action: PermissionAction }>,\n operator: \"AND\" | \"OR\" = \"AND\"\n ) => ({\n complexPermissions: { permissions, operator }\n }),\n\n // Custom function\n custom: (checkFn: (permissions: any) => boolean) => ({\n customPermissionCheck: checkFn\n })\n};\n\n// Example usage types for better developer experience\nexport type PermissionConfig = \n | ReturnType<typeof createPermissionConfig.single>\n | ReturnType<typeof createPermissionConfig.multiModule>\n | ReturnType<typeof createPermissionConfig.complex>\n | ReturnType<typeof createPermissionConfig.custom>;"],"names":[],"mappings":";;;;;;;;AAsDA,MAAM,iBAAgD,CAAC;AAAA,EACrD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,aAAa;AAAA,EACb,YAAY;AAAA,EACZ;AACF,MAAM;AACJ,QAAM,cAAc,eAAA;AAGpB,QAAM,gBAAgB,QAAQ,MAAM;AAClC,QAAI,CAAC,aAAa;AAChB,aAAO;AAAA,IACT;AAGA,QAAI,uBAAuB;AACzB,aAAO,sBAAsB,WAAW;AAAA,IAC1C;AAGA,QAAI,oBAAoB;AACtB,YAAM,EAAE,aAAa,UAAU,WAAW,UAAU;AAEpD,YAAM,UAAU,SAAS,IAAI,CAAC,EAAE,QAAQ,KAAK,QAAQ,UAAU;AAC7D,cAAM,cAAc,EAAE,IAAI,aAAa,KAAK,CAAA,CAAE;AAC9C,eAAO,YAAY,GAAG,KAAK;AAAA,MAC7B,CAAC;AAED,aAAO,aAAa,QAChB,QAAQ,MAAM,OAAO,IACrB,QAAQ,KAAK,OAAO;AAAA,IAC1B;AAGA,QAAI,aAAa;AACf,YAAM,EAAE,SAAS,QAAQ,KAAK,WAAW,SAAS;AAElD,YAAM,UAAU,QAAQ,IAAI,CAAA,QAAO;AACjC,cAAM,cAAc,EAAE,IAAI,aAAa,KAAK,CAAA,CAAE;AAC9C,eAAO,YAAY,GAAG,KAAK;AAAA,MAC7B,CAAC;AAED,aAAO,aAAa,QAChB,QAAQ,MAAM,OAAO,IACrB,QAAQ,KAAK,OAAO;AAAA,IAC1B;AAGA,QAAI,UAAU,QAAQ;AACpB,YAAM,cAAc,EAAE,IAAI,aAAa,QAAQ,CAAA,CAAE;AACjD,aAAO,YAAY,MAAM,KAAK;AAAA,IAChC;AAGA,WAAO;AAAA,EACT,GAAG,CAAC,aAAa,QAAQ,QAAQ,aAAa,oBAAoB,qBAAqB,CAAC;AAGxF,QAAM,iBAAiB,MACrB;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,IAAI;AAAA,QACF,SAAS;AAAA,QACT,eAAe;AAAA,QACf,gBAAgB;AAAA,QAChB,YAAY;AAAA,QACZ,UAAU;AAAA,QACV,KAAK;AAAA,QACL,MAAM;AAAA,QACN,WAAW;AAAA;AAAA,QACX,KAAK;AAAA,QACL,WAAW;AAAA,QACX,GAAG;AAAA,MAAA;AAAA,MAGL,UAAA;AAAA,QAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,OAAM;AAAA,YACN,QAAO;AAAA,YACP,IAAI,EAAE,UAAU,EAAE,IAAI,QAAQ,IAAI,SAAO;AAAA,YAC1C,UAAA;AAAA,UAAA;AAAA,QAAA;AAAA,QAGD;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,UAAQ;AAAA,UAAA;AAAA,QAAA;AAAA,QAOV;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,OAAM;AAAA,YACN,QAAO;AAAA,YACR,UAAA;AAAA,UAAA;AAAA,QAAA;AAAA,QAGD;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,OAAM;AAAA,YACN,QAAO;AAAA,YACP,IAAI,EAAE,IAAI,GAAG,UAAU,QAAA;AAAA,YACxB,UAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MAED;AAAA,IAAA;AAAA,EAAA;AAKJ,MAAI,CAAC,aAAa;AAChB,WAAO,gCAAa,gBAAA,CAAA,CAAe,wBAAM,UAAA,EAAS,IAAI,YAAY,SAAO,KAAA,CAAC;AAAA,EAC5E;AAGA,MAAI,eAAe;AACjB,2CAAU,UAAS;AAAA,EACrB;AAEA,SAAO,gCAAa,gBAAA,CAAA,CAAe,wBAAM,UAAA,EAAS,IAAI,YAAY,SAAO,KAAA,CAAC;AAC5E;"}
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../../../src/components/protected-route.tsx"],"sourcesContent":["/* eslint-disable react-refresh/only-export-components */\n/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable unused-imports/no-unused-vars */\nimport React, { useMemo } from \"react\";\nimport { Navigate } from \"react-router-dom\";\nimport { usePermissions } from \"../hooks/use-permissions\";\nimport { Box, Divider } from \"@mui/material\";\nimport Typography from \"./typography/typography\";\nimport _ from \"lodash\";\n\ntype PermissionAction = \"canEdit\" | \"canView\" | \"canAdd\" | \"canDelete\";\n\ninterface SingleModulePermission {\n module: string;\n action: PermissionAction;\n}\n\ninterface MultiModulePermission {\n modules: string[];\n action: PermissionAction;\n operator?: \"AND\" | \"OR\"; // Default: \"OR\"\n}\n\ninterface ComplexPermission {\n permissions: Array<{\n module: string;\n action: PermissionAction;\n }>;\n operator?: \"AND\" | \"OR\"; // Default: \"AND\"\n}\n\ninterface ProtectedRouteProps {\n // Single module (backward compatibility)\n module?: string;\n action?: PermissionAction;\n \n // Multiple modules with same action\n multiModule?: MultiModulePermission;\n \n // Complex permissions with different actions\n complexPermissions?: ComplexPermission;\n \n // Custom permission checker function\n customPermissionCheck?: (permissions: any) => boolean;\n \n // Redirect path for unauthorized access\n redirectTo?: string;\n \n // Show custom error component instead of redirect\n showError?: boolean;\n \n children: React.ReactNode;\n}\n\nconst ProtectedRoute: React.FC<ProtectedRouteProps> = ({\n module,\n action,\n multiModule,\n complexPermissions,\n customPermissionCheck,\n redirectTo = \"/403\",\n showError = true,\n children\n}) => {\n const permissions = usePermissions();\n\n // Memoize permission check for performance\n const hasPermission = useMemo(() => {\n if (!permissions) {\n return false;\n }\n\n // Custom permission check takes precedence\n if (customPermissionCheck) {\n return customPermissionCheck(permissions);\n }\n\n // Complex permissions check\n if (complexPermissions) {\n const { permissions: permList, operator = \"AND\" } = complexPermissions;\n \n const results = permList.map(({ module: mod, action: act }) => {\n const modulePerms = _.get(permissions, mod, {});\n return modulePerms[act] ?? false;\n });\n\n return operator === \"AND\" \n ? results.every(Boolean)\n : results.some(Boolean);\n }\n\n // Multi-module with same action check\n if (multiModule) {\n const { modules, action: act, operator = \"OR\" } = multiModule;\n \n const results = modules.map(mod => {\n const modulePerms = _.get(permissions, mod, {});\n return modulePerms[act] ?? false;\n });\n\n return operator === \"AND\" \n ? results.every(Boolean)\n : results.some(Boolean);\n }\n\n // Single module check (backward compatibility)\n if (module && action) {\n const modulePerms = _.get(permissions, module, {});\n return modulePerms[action] ?? false;\n }\n\n // No permission config provided - deny access\n return false;\n }, [permissions, module, action, multiModule, complexPermissions, customPermissionCheck]);\n\n // Enhanced error component\n const ErrorComponent = () => (\n <Box\n sx={{\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n alignItems: \"center\",\n position: \"absolute\",\n top: \"50%\",\n left: \"50%\",\n transform: \"translate(-50%, -50%)\", // Fixed transform values\n gap: 2,\n textAlign: \"center\",\n p: 3\n }}\n >\n <Typography \n type=\"h1\" \n color=\"theme.secondary.900\" \n weight=\"bold\"\n sx={{ fontSize: { xs: '4rem', sm: '6rem' } }}\n >\n 403\n </Typography>\n <Divider \n flexItem \n // sx={{ \n // borderColor: '#898f9a',\n // width: '100%',\n // maxWidth: '200px'\n // }}\n />\n <Typography \n type=\"s3\" \n color=\"theme.secondary.900\" \n weight=\"medium\"\n >\n Access Denied\n </Typography>\n <Typography \n type=\"body2\" \n color=\"theme.secondary.700\" \n weight=\"regular\"\n sx={{ mt: 1, maxWidth: '300px' }}\n >\n You don't have the required permissions to access this resource.\n </Typography>\n </Box>\n );\n\n // Handle loading state\n if (!permissions) {\n return showError ? <ErrorComponent /> : <Navigate to={redirectTo} replace />;\n }\n\n // Render based on permission check\n if (hasPermission) {\n return <>{children}</>;\n }\n\n return showError ? <ErrorComponent /> : <Navigate to={redirectTo} replace />;\n};\n\nexport default ProtectedRoute;\n\n// Helper function to create permission configurations\nexport const createPermissionConfig = {\n // Single module\n single: (module: string, action: PermissionAction) => ({\n module,\n action\n }),\n\n // Multiple modules with same action\n multiModule: (\n modules: string[], \n action: PermissionAction, \n operator: \"AND\" | \"OR\" = \"OR\"\n ) => ({\n multiModule: { modules, action, operator }\n }),\n\n // Complex permissions\n complex: (\n permissions: Array<{ module: string; action: PermissionAction }>,\n operator: \"AND\" | \"OR\" = \"AND\"\n ) => ({\n complexPermissions: { permissions, operator }\n }),\n\n // Custom function\n custom: (checkFn: (permissions: any) => boolean) => ({\n customPermissionCheck: checkFn\n })\n};\n\n// Example usage types for better developer experience\nexport type PermissionConfig = \n | ReturnType<typeof createPermissionConfig.single>\n | ReturnType<typeof createPermissionConfig.multiModule>\n | ReturnType<typeof createPermissionConfig.complex>\n | ReturnType<typeof createPermissionConfig.custom>;"],"names":[],"mappings":"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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react"),o=require("react-router-dom"),t=require("../../hooks/use-permissions/index.js"),s=require("../typography/typography/index.js"),i=require("lodash"),n=require("../../node_modules/@mui/material/Box/Box/index.js"),a=require("../../node_modules/@mui/material/Divider/Divider/index.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=/* @__PURE__ */u(i);exports.default=({module:i,action:u,multiModule:
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react"),o=require("react-router-dom"),t=require("../../hooks/use-permissions/index.js"),s=require("../typography/typography/index.js"),i=require("lodash"),n=require("../../node_modules/@mui/material/Box/Box/index.js"),a=require("../../node_modules/@mui/material/Divider/Divider/index.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=/* @__PURE__ */u(i);exports.createPermissionConfig={single:(e,r)=>({module:e,action:r}),multiModule:(e,r,o="OR")=>({multiModule:{modules:e,action:r,operator:o}}),complex:(e,r="AND")=>({complexPermissions:{permissions:e,operator:r}}),custom:e=>({customPermissionCheck:e})},exports.default=({module:i,action:u,multiModule:m,complexPermissions:c,customPermissionCheck:d,redirectTo:p="/403",showError:x=!0,children:h})=>{const f=t.usePermissions(),y=r.useMemo(()=>{if(!f)return!1;if(d)return d(f);if(c){const{permissions:e,operator:r="AND"}=c,o=e.map(({module:e,action:r})=>l.default.get(f,e,{})[r]??!1);return"AND"===r?o.every(Boolean):o.some(Boolean)}if(m){const{modules:e,action:r,operator:o="OR"}=m,t=e.map(e=>l.default.get(f,e,{})[r]??!1);return"AND"===o?t.every(Boolean):t.some(Boolean)}return!(!i||!u)&&(l.default.get(f,i,{})[u]??!1)},[f,i,u,m,c,d]),g=()=>/* @__PURE__ */e.jsxs(n.default,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",gap:2,textAlign:"center",p:3},children:[
|
|
2
2
|
/* @__PURE__ */e.jsx(s.Typography,{type:"h1",color:"theme.secondary.900",weight:"bold",sx:{fontSize:{xs:"4rem",sm:"6rem"}},children:"403"}),
|
|
3
3
|
/* @__PURE__ */e.jsx(a.default,{flexItem:!0}),
|
|
4
4
|
/* @__PURE__ */e.jsx(s.Typography,{type:"s3",color:"theme.secondary.900",weight:"medium",children:"Access Denied"}),
|
|
5
|
-
/* @__PURE__ */e.jsx(s.Typography,{type:"body2",color:"theme.secondary.700",weight:"regular",sx:{mt:1,maxWidth:"300px"},children:"You don't have the required permissions to access this resource."})]});return y
|
|
5
|
+
/* @__PURE__ */e.jsx(s.Typography,{type:"body2",color:"theme.secondary.700",weight:"regular",sx:{mt:1,maxWidth:"300px"},children:"You don't have the required permissions to access this resource."})]});return f&&y?/* @__PURE__ */e.jsx(e.Fragment,{children:h}):x?/* @__PURE__ */e.jsx(g,{}):/* @__PURE__ */e.jsx(o.Navigate,{to:p,replace:!0})};
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/protected-route.tsx"],"sourcesContent":["/* eslint-disable react-refresh/only-export-components */\n/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable unused-imports/no-unused-vars */\nimport React, { useMemo } from \"react\";\nimport { Navigate } from \"react-router-dom\";\nimport { usePermissions } from \"../hooks/use-permissions\";\nimport { Box, Divider } from \"@mui/material\";\nimport Typography from \"./typography/typography\";\nimport _ from \"lodash\";\n\ntype PermissionAction = \"canEdit\" | \"canView\" | \"canAdd\" | \"canDelete\";\n\ninterface SingleModulePermission {\n module: string;\n action: PermissionAction;\n}\n\ninterface MultiModulePermission {\n modules: string[];\n action: PermissionAction;\n operator?: \"AND\" | \"OR\"; // Default: \"OR\"\n}\n\ninterface ComplexPermission {\n permissions: Array<{\n module: string;\n action: PermissionAction;\n }>;\n operator?: \"AND\" | \"OR\"; // Default: \"AND\"\n}\n\ninterface ProtectedRouteProps {\n // Single module (backward compatibility)\n module?: string;\n action?: PermissionAction;\n \n // Multiple modules with same action\n multiModule?: MultiModulePermission;\n \n // Complex permissions with different actions\n complexPermissions?: ComplexPermission;\n \n // Custom permission checker function\n customPermissionCheck?: (permissions: any) => boolean;\n \n // Redirect path for unauthorized access\n redirectTo?: string;\n \n // Show custom error component instead of redirect\n showError?: boolean;\n \n children: React.ReactNode;\n}\n\nconst ProtectedRoute: React.FC<ProtectedRouteProps> = ({\n module,\n action,\n multiModule,\n complexPermissions,\n customPermissionCheck,\n redirectTo = \"/403\",\n showError = true,\n children\n}) => {\n const permissions = usePermissions();\n\n // Memoize permission check for performance\n const hasPermission = useMemo(() => {\n if (!permissions) {\n return false;\n }\n\n // Custom permission check takes precedence\n if (customPermissionCheck) {\n return customPermissionCheck(permissions);\n }\n\n // Complex permissions check\n if (complexPermissions) {\n const { permissions: permList, operator = \"AND\" } = complexPermissions;\n \n const results = permList.map(({ module: mod, action: act }) => {\n const modulePerms = _.get(permissions, mod, {});\n return modulePerms[act] ?? false;\n });\n\n return operator === \"AND\" \n ? results.every(Boolean)\n : results.some(Boolean);\n }\n\n // Multi-module with same action check\n if (multiModule) {\n const { modules, action: act, operator = \"OR\" } = multiModule;\n \n const results = modules.map(mod => {\n const modulePerms = _.get(permissions, mod, {});\n return modulePerms[act] ?? false;\n });\n\n return operator === \"AND\" \n ? results.every(Boolean)\n : results.some(Boolean);\n }\n\n // Single module check (backward compatibility)\n if (module && action) {\n const modulePerms = _.get(permissions, module, {});\n return modulePerms[action] ?? false;\n }\n\n // No permission config provided - deny access\n return false;\n }, [permissions, module, action, multiModule, complexPermissions, customPermissionCheck]);\n\n // Enhanced error component\n const ErrorComponent = () => (\n <Box\n sx={{\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n alignItems: \"center\",\n position: \"absolute\",\n top: \"50%\",\n left: \"50%\",\n transform: \"translate(-50%, -50%)\", // Fixed transform values\n gap: 2,\n textAlign: \"center\",\n p: 3\n }}\n >\n <Typography \n type=\"h1\" \n color=\"theme.secondary.900\" \n weight=\"bold\"\n sx={{ fontSize: { xs: '4rem', sm: '6rem' } }}\n >\n 403\n </Typography>\n <Divider \n flexItem \n // sx={{ \n // borderColor: '#898f9a',\n // width: '100%',\n // maxWidth: '200px'\n // }}\n />\n <Typography \n type=\"s3\" \n color=\"theme.secondary.900\" \n weight=\"medium\"\n >\n Access Denied\n </Typography>\n <Typography \n type=\"body2\" \n color=\"theme.secondary.700\" \n weight=\"regular\"\n sx={{ mt: 1, maxWidth: '300px' }}\n >\n You don't have the required permissions to access this resource.\n </Typography>\n </Box>\n );\n\n // Handle loading state\n if (!permissions) {\n return showError ? <ErrorComponent /> : <Navigate to={redirectTo} replace />;\n }\n\n // Render based on permission check\n if (hasPermission) {\n return <>{children}</>;\n }\n\n return showError ? <ErrorComponent /> : <Navigate to={redirectTo} replace />;\n};\n\nexport default ProtectedRoute;\n\n// Helper function to create permission configurations\nexport const createPermissionConfig = {\n // Single module\n single: (module: string, action: PermissionAction) => ({\n module,\n action\n }),\n\n // Multiple modules with same action\n multiModule: (\n modules: string[], \n action: PermissionAction, \n operator: \"AND\" | \"OR\" = \"OR\"\n ) => ({\n multiModule: { modules, action, operator }\n }),\n\n // Complex permissions\n complex: (\n permissions: Array<{ module: string; action: PermissionAction }>,\n operator: \"AND\" | \"OR\" = \"AND\"\n ) => ({\n complexPermissions: { permissions, operator }\n }),\n\n // Custom function\n custom: (checkFn: (permissions: any) => boolean) => ({\n customPermissionCheck: checkFn\n })\n};\n\n// Example usage types for better developer experience\nexport type PermissionConfig = \n | ReturnType<typeof createPermissionConfig.single>\n | ReturnType<typeof createPermissionConfig.multiModule>\n | ReturnType<typeof createPermissionConfig.complex>\n | ReturnType<typeof createPermissionConfig.custom>;"],"names":["module","action","multiModule","complexPermissions","customPermissionCheck","redirectTo","showError","children","
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/protected-route.tsx"],"sourcesContent":["/* eslint-disable react-refresh/only-export-components */\n/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable unused-imports/no-unused-vars */\nimport React, { useMemo } from \"react\";\nimport { Navigate } from \"react-router-dom\";\nimport { usePermissions } from \"../hooks/use-permissions\";\nimport { Box, Divider } from \"@mui/material\";\nimport Typography from \"./typography/typography\";\nimport _ from \"lodash\";\n\ntype PermissionAction = \"canEdit\" | \"canView\" | \"canAdd\" | \"canDelete\";\n\ninterface SingleModulePermission {\n module: string;\n action: PermissionAction;\n}\n\ninterface MultiModulePermission {\n modules: string[];\n action: PermissionAction;\n operator?: \"AND\" | \"OR\"; // Default: \"OR\"\n}\n\ninterface ComplexPermission {\n permissions: Array<{\n module: string;\n action: PermissionAction;\n }>;\n operator?: \"AND\" | \"OR\"; // Default: \"AND\"\n}\n\ninterface ProtectedRouteProps {\n // Single module (backward compatibility)\n module?: string;\n action?: PermissionAction;\n \n // Multiple modules with same action\n multiModule?: MultiModulePermission;\n \n // Complex permissions with different actions\n complexPermissions?: ComplexPermission;\n \n // Custom permission checker function\n customPermissionCheck?: (permissions: any) => boolean;\n \n // Redirect path for unauthorized access\n redirectTo?: string;\n \n // Show custom error component instead of redirect\n showError?: boolean;\n \n children: React.ReactNode;\n}\n\nconst ProtectedRoute: React.FC<ProtectedRouteProps> = ({\n module,\n action,\n multiModule,\n complexPermissions,\n customPermissionCheck,\n redirectTo = \"/403\",\n showError = true,\n children\n}) => {\n const permissions = usePermissions();\n\n // Memoize permission check for performance\n const hasPermission = useMemo(() => {\n if (!permissions) {\n return false;\n }\n\n // Custom permission check takes precedence\n if (customPermissionCheck) {\n return customPermissionCheck(permissions);\n }\n\n // Complex permissions check\n if (complexPermissions) {\n const { permissions: permList, operator = \"AND\" } = complexPermissions;\n \n const results = permList.map(({ module: mod, action: act }) => {\n const modulePerms = _.get(permissions, mod, {});\n return modulePerms[act] ?? false;\n });\n\n return operator === \"AND\" \n ? results.every(Boolean)\n : results.some(Boolean);\n }\n\n // Multi-module with same action check\n if (multiModule) {\n const { modules, action: act, operator = \"OR\" } = multiModule;\n \n const results = modules.map(mod => {\n const modulePerms = _.get(permissions, mod, {});\n return modulePerms[act] ?? false;\n });\n\n return operator === \"AND\" \n ? results.every(Boolean)\n : results.some(Boolean);\n }\n\n // Single module check (backward compatibility)\n if (module && action) {\n const modulePerms = _.get(permissions, module, {});\n return modulePerms[action] ?? false;\n }\n\n // No permission config provided - deny access\n return false;\n }, [permissions, module, action, multiModule, complexPermissions, customPermissionCheck]);\n\n // Enhanced error component\n const ErrorComponent = () => (\n <Box\n sx={{\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n alignItems: \"center\",\n position: \"absolute\",\n top: \"50%\",\n left: \"50%\",\n transform: \"translate(-50%, -50%)\", // Fixed transform values\n gap: 2,\n textAlign: \"center\",\n p: 3\n }}\n >\n <Typography \n type=\"h1\" \n color=\"theme.secondary.900\" \n weight=\"bold\"\n sx={{ fontSize: { xs: '4rem', sm: '6rem' } }}\n >\n 403\n </Typography>\n <Divider \n flexItem \n // sx={{ \n // borderColor: '#898f9a',\n // width: '100%',\n // maxWidth: '200px'\n // }}\n />\n <Typography \n type=\"s3\" \n color=\"theme.secondary.900\" \n weight=\"medium\"\n >\n Access Denied\n </Typography>\n <Typography \n type=\"body2\" \n color=\"theme.secondary.700\" \n weight=\"regular\"\n sx={{ mt: 1, maxWidth: '300px' }}\n >\n You don't have the required permissions to access this resource.\n </Typography>\n </Box>\n );\n\n // Handle loading state\n if (!permissions) {\n return showError ? <ErrorComponent /> : <Navigate to={redirectTo} replace />;\n }\n\n // Render based on permission check\n if (hasPermission) {\n return <>{children}</>;\n }\n\n return showError ? <ErrorComponent /> : <Navigate to={redirectTo} replace />;\n};\n\nexport default ProtectedRoute;\n\n// Helper function to create permission configurations\nexport const createPermissionConfig = {\n // Single module\n single: (module: string, action: PermissionAction) => ({\n module,\n action\n }),\n\n // Multiple modules with same action\n multiModule: (\n modules: string[], \n action: PermissionAction, \n operator: \"AND\" | \"OR\" = \"OR\"\n ) => ({\n multiModule: { modules, action, operator }\n }),\n\n // Complex permissions\n complex: (\n permissions: Array<{ module: string; action: PermissionAction }>,\n operator: \"AND\" | \"OR\" = \"AND\"\n ) => ({\n complexPermissions: { permissions, operator }\n }),\n\n // Custom function\n custom: (checkFn: (permissions: any) => boolean) => ({\n customPermissionCheck: checkFn\n })\n};\n\n// Example usage types for better developer experience\nexport type PermissionConfig = \n | ReturnType<typeof createPermissionConfig.single>\n | ReturnType<typeof createPermissionConfig.multiModule>\n | ReturnType<typeof createPermissionConfig.complex>\n | ReturnType<typeof createPermissionConfig.custom>;"],"names":["single","module","action","multiModule","modules","operator","complex","permissions","complexPermissions","custom","checkFn","customPermissionCheck","redirectTo","showError","children","usePermissions","hasPermission","useMemo","permList","results","map","mod","act","_","get","every","Boolean","some","ErrorComponent","jsxs","Box","sx","display","flexDirection","justifyContent","alignItems","position","top","left","transform","gap","textAlign","p","jsx","Typography","type","color","weight","fontSize","xs","sm","Divider","flexItem","mt","maxWidth","Navigate","to","replace"],"mappings":"ohBAsLsC,CAEpCA,OAAQ,CAACC,EAAgBC,KAAA,CACvBD,OAAAA,EACAC,WAIFC,YAAa,CACXC,EACAF,EACAG,EAAyB,QAAA,CAEzBF,YAAa,CAAEC,UAASF,SAAQG,cAIlCC,QAAS,CACPC,EACAF,EAAyB,SAAA,CAEzBG,mBAAoB,CAAED,cAAaF,cAIrCI,OAASC,IAAA,CACPC,sBAAuBD,qBA1J2B,EACpDT,OAAAA,EACAC,SACAC,cACAK,qBACAG,wBACAC,aAAa,OACbC,aAAY,EACZC,eAEA,MAAMP,EAAcQ,EAAAA,iBAGdC,EAAgBC,EAAAA,QAAQ,KAC5B,IAAKV,EACH,OAAO,EAIT,GAAII,EACF,OAAOA,EAAsBJ,GAI/B,GAAIC,EAAoB,CACtB,MAAQD,YAAaW,EAAAb,SAAUA,EAAW,OAAUG,EAE9CW,EAAUD,EAASE,IAAI,EAAGnB,OAAQoB,EAAKnB,OAAQoB,KAC/BC,EAAAA,QAAEC,IAAIjB,EAAac,EAAK,CAAA,GACzBC,KAAQ,GAG7B,MAAoB,QAAbjB,EACHc,EAAQM,MAAMC,SACdP,EAAQQ,KAAKD,QACnB,CAGA,GAAIvB,EAAa,CACf,MAAMC,QAAEA,EAASF,OAAQoB,EAAAjB,SAAKA,EAAW,MAASF,EAE5CgB,EAAUf,EAAQgB,IAAIC,GACNE,EAAAA,QAAEC,IAAIjB,EAAac,EAAK,CAAA,GACzBC,KAAQ,GAG7B,MAAoB,QAAbjB,EACHc,EAAQM,MAAMC,SACdP,EAAQQ,KAAKD,QACnB,CAGA,SAAIzB,IAAUC,KACQqB,EAAAA,QAAEC,IAAIjB,EAAaN,EAAQ,CAAA,GAC5BC,KAAW,IAK/B,CAACK,EAAaN,EAAQC,EAAQC,EAAaK,EAAoBG,IAG5DiB,EAAiB,mBACrBC,EAAAA,KAACC,EAAAA,QAAA,CACCC,GAAI,CACFC,QAAS,OACTC,cAAe,SACfC,eAAgB,SAChBC,WAAY,SACZC,SAAU,WACVC,IAAK,MACLC,KAAM,MACNC,UAAW,wBACXC,IAAK,EACLC,UAAW,SACXC,EAAG,GAGL5B,SAAA;eAAA6B,EAAAA,IAACC,EAAAA,WAAA,CACCC,KAAK,KACLC,MAAM,sBACNC,OAAO,OACPhB,GAAI,CAAEiB,SAAU,CAAEC,GAAI,OAAQC,GAAI,SACnCpC,SAAA;eAGD6B,EAAAA,IAACQ,EAAAA,QAAA,CACCC,UAAQ;eAOVT,EAAAA,IAACC,EAAAA,WAAA,CACCC,KAAK,KACLC,MAAM,sBACNC,OAAO,SACRjC,SAAA;eAGD6B,EAAAA,IAACC,EAAAA,WAAA,CACCC,KAAK,QACLC,MAAM,sBACNC,OAAO,UACPhB,GAAI,CAAEsB,GAAI,EAAGC,SAAU,SACxBxC,SAAA,wEAOL,OAAKP,GAKDS,mCACQF,aALHD,uBAAae,EAAA,CAAA,wBAAqB2B,EAAAA,SAAA,CAASC,GAAI5C,EAAY6C,SAAO"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
type PermissionAction = "canEdit" | "canView" | "canAdd" | "canDelete";
|
|
4
|
+
interface MultiModulePermission {
|
|
5
|
+
modules: string[];
|
|
6
|
+
action: PermissionAction;
|
|
7
|
+
operator?: "AND" | "OR";
|
|
8
|
+
}
|
|
9
|
+
interface ComplexPermission {
|
|
10
|
+
permissions: Array<{
|
|
11
|
+
module: string;
|
|
12
|
+
action: PermissionAction;
|
|
13
|
+
}>;
|
|
14
|
+
operator?: "AND" | "OR";
|
|
15
|
+
}
|
|
16
|
+
interface ProtectedRouteProps {
|
|
17
|
+
module?: string;
|
|
18
|
+
action?: PermissionAction;
|
|
19
|
+
multiModule?: MultiModulePermission;
|
|
20
|
+
complexPermissions?: ComplexPermission;
|
|
21
|
+
customPermissionCheck?: (permissions: any) => boolean;
|
|
22
|
+
redirectTo?: string;
|
|
23
|
+
showError?: boolean;
|
|
24
|
+
children: React.ReactNode;
|
|
25
|
+
}
|
|
26
|
+
declare const ProtectedRoute: React.FC<ProtectedRouteProps>;
|
|
27
|
+
export default ProtectedRoute;
|
|
28
|
+
export declare const createPermissionConfig: {
|
|
29
|
+
single: (module: string, action: PermissionAction) => {
|
|
30
|
+
module: string;
|
|
31
|
+
action: PermissionAction;
|
|
32
|
+
};
|
|
33
|
+
multiModule: (modules: string[], action: PermissionAction, operator?: "AND" | "OR") => {
|
|
34
|
+
multiModule: {
|
|
35
|
+
modules: string[];
|
|
36
|
+
action: PermissionAction;
|
|
37
|
+
operator: "AND" | "OR";
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
complex: (permissions: Array<{
|
|
41
|
+
module: string;
|
|
42
|
+
action: PermissionAction;
|
|
43
|
+
}>, operator?: "AND" | "OR") => {
|
|
44
|
+
complexPermissions: {
|
|
45
|
+
permissions: {
|
|
46
|
+
module: string;
|
|
47
|
+
action: PermissionAction;
|
|
48
|
+
}[];
|
|
49
|
+
operator: "AND" | "OR";
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
custom: (checkFn: (permissions: any) => boolean) => {
|
|
53
|
+
customPermissionCheck: (permissions: any) => boolean;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
export type PermissionConfig = ReturnType<typeof createPermissionConfig.single> | ReturnType<typeof createPermissionConfig.multiModule> | ReturnType<typeof createPermissionConfig.complex> | ReturnType<typeof createPermissionConfig.custom>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
import { ApiClientConfig } from '../../redux';
|
|
3
|
+
import { Color } from '../../theme';
|
|
4
|
+
|
|
5
|
+
interface ERPUIContextValue {
|
|
6
|
+
useRedux: boolean;
|
|
7
|
+
apiClient?: ApiClientConfig;
|
|
8
|
+
theme?: any;
|
|
9
|
+
themeMode: 'light' | 'dark';
|
|
10
|
+
direction: 'ltr' | 'rtl';
|
|
11
|
+
primaryColor?: Color;
|
|
12
|
+
}
|
|
13
|
+
export declare const useERPUI: () => ERPUIContextValue;
|
|
14
|
+
interface ERPUIProviderProps {
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
useRedux?: boolean;
|
|
17
|
+
reduxStore?: any;
|
|
18
|
+
apiClient?: ApiClientConfig;
|
|
19
|
+
additionalReducers?: Record<string, any>;
|
|
20
|
+
theme?: any;
|
|
21
|
+
themeMode?: 'light' | 'dark';
|
|
22
|
+
primaryColor?: Color;
|
|
23
|
+
direction?: 'ltr' | 'rtl';
|
|
24
|
+
enableAuth?: boolean;
|
|
25
|
+
enableLanguage?: boolean;
|
|
26
|
+
enablePages?: boolean;
|
|
27
|
+
enablePermissions?: boolean;
|
|
28
|
+
enableRouter?: boolean;
|
|
29
|
+
enableSnackbar?: boolean;
|
|
30
|
+
enableCssBaseline?: boolean;
|
|
31
|
+
snackbarConfig?: {
|
|
32
|
+
maxSnack?: number;
|
|
33
|
+
anchorOrigin?: {
|
|
34
|
+
vertical: 'top' | 'bottom';
|
|
35
|
+
horizontal: 'left' | 'center' | 'right';
|
|
36
|
+
};
|
|
37
|
+
autoHideDuration?: number;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export declare const ERPUIProvider: React.FC<ERPUIProviderProps>;
|
|
41
|
+
export default ERPUIProvider;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import Modal from "../../modal/modal/index.esm.js";
|
|
2
|
+
import { Modal } from "../../modal/modal/index.esm.js";
|
|
3
3
|
import { Typography } from "../../typography/typography/index.esm.js";
|
|
4
4
|
import * as Yup from "yup";
|
|
5
5
|
import { yupResolver as o } from "../../../node_modules/@hookform/resolvers/yup/dist/yup/index.esm.js";
|
|
6
|
-
import Select from "../../select/select/index.esm.js";
|
|
6
|
+
import { Select } from "../../select/select/index.esm.js";
|
|
7
7
|
import { useForm, Controller } from "react-hook-form";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { useState, useEffect } from "react";
|
|
10
10
|
import { Avatar } from "../../avatar/avatar/index.esm.js";
|
|
11
11
|
import { formatLabel } from "../../../utils/format-text/index.esm.js";
|
|
12
|
-
import Checkbox from "../../checkbox/checkbox/index.esm.js";
|
|
13
|
-
import Button from "../../button/button/index.esm.js";
|
|
12
|
+
import { Checkbox } from "../../checkbox/checkbox/index.esm.js";
|
|
13
|
+
import { Button } from "../../button/button/index.esm.js";
|
|
14
14
|
import ChipOrPlaceholder from "../../form-control/form-builder/form-builder-element/chip-or-placeholder/index.esm.js";
|
|
15
|
-
import Chip from "../../chip/chip/index.esm.js";
|
|
15
|
+
import { Chip } from "../../chip/chip/index.esm.js";
|
|
16
16
|
import { getV1User } from "../../../api-client/api.rbac/api/index.esm.js";
|
|
17
17
|
import { enqueueSnackbar } from "../../../node_modules/notistack/notistack.esm/index.esm.js";
|
|
18
18
|
import { getToken } from "../../../utils/common/index.esm.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=,/* empty css */i=,/* empty css */
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=,/* empty css */i=,/* empty css */o=require("yup"),a=,/* empty css */t=,/* empty css */l=require("react-hook-form");;/* empty css */var n=require("react"),s=,/* empty css */d=,/* empty css */u=,/* empty css */c=,/* empty css */p=,/* empty css */m=,/* empty css */h=,/* empty css */x=,/* empty css */j=,/* empty css */v=,/* empty css */f=,/* empty css */g=,/* empty css */y=,/* empty css */q=,/* empty css */b=,/* empty css */k=,/* empty css */_=,/* empty css */C=;/* empty css */function A(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=/* @__PURE__ */Object.create(null);return e&&Object.keys(e).forEach(function(i){if("default"!==i){var o=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(r,i,o.get?o:{enumerable:!0,get:function(){return e[i]}})}}),r.default=e,r}var M=/* @__PURE__ */A(o);const D=M.object().shape({approver_id:M.array().required("Please select the approvers").min(1,"Please select the approvers")});exports.default=({isOpen:o,setIsOpen:A,modalProps:M,title:B,onConfirm:S,isProcessing:E})=>{const[I,P]=n.useState({isLoading:!0,isError:!1,error:"null",data:[]}),{isLoading:T,isError:w,error:N,data:O}=I,{control:L,handleSubmit:z,reset:R,setValue:V,getValues:$,watch:F}=l.useForm({resolver:a.yupResolver(D),mode:"all"});F("approver_id");const U=$("approver_id"),W=()=>{R({approver_id:[]}),A()},K=({data:r,options:o})=>{const a=r.map(e=>{const r=o.find(r=>r.id===e);return r?Q(r):e});/* @__PURE__ */
|
|
2
2
|
return e.jsxs(b.default,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[
|
|
3
|
-
/* @__PURE__ */e.jsxs(i.Typography,{type:"s5",color:"inherit",sx:{display:"flex",gap:1,alignItems:"center",mt:.5},children:[
|
|
4
|
-
/* @__PURE__ */e.jsx(c.
|
|
5
|
-
/* @__PURE__ */e.jsxs(
|
|
6
|
-
/* @__PURE__ */e.jsx(i.Typography,{type:"s3",color:"inherit",weight:"medium",children:
|
|
7
|
-
/* @__PURE__ */e.jsx(
|
|
8
|
-
/* @__PURE__ */e.jsx(y.default,{className:"quickApprovalModal--ModalContentContainer",children:/* @__PURE__ */e.jsx(l.Controller,{name:"approver_id",control:L,render:({field:r,fieldState:
|
|
3
|
+
/* @__PURE__ */e.jsxs(i.Typography,{type:"s5",color:"inherit",sx:{display:"flex",gap:1,alignItems:"center",mt:.5},children:[a.slice(0,3).join(", "),r.length>4&&/* @__PURE__ */e.jsx(m.Chip,{variant:"outlined",type:"normal",className:"quickApprovalModal--DisplayNameChip",label:/* @__PURE__ */e.jsx(C.MoreIcon,{fontSize:"small"})})]}),
|
|
4
|
+
/* @__PURE__ */e.jsx(c.Button,{variant:"text",onClick:()=>V("approver_id",[]),children:/* @__PURE__ */e.jsx(i.Typography,{type:"s5",color:"inherit",children:"Remove"})})]})};n.useEffect(()=>{o&&(async()=>{var e;try{const r={skip:0,limit:99,filters:"(is_active.eq=true)"},i=await h.getV1User({...r,...j.getToken()}),o=(null==(e=null==i?void 0:i.data)?void 0:e.users)||[];P({isLoading:!1,isError:!1,error:null,data:o})}catch(r){P({isLoading:!1,isError:!0,error:"Failed to fetch Approvers",data:[]})}})()},[o]),n.useEffect(()=>{w&&x.enqueueSnackbar(N??"Something went wrong",{variant:"error"})},[N,w]);const Q=e=>{const{first_name:r="",last_name:i=""}=e||{};return d.formatLabel(`${r} ${i}`)};return n.useEffect(()=>()=>{W()},[]),/* @__PURE__ */e.jsx(r.Modal,{open:o,onClose:W,maxWidth:"sm",fullWidth:!0,disableEscapeKeyDown:!0,...M,children:/* @__PURE__ */e.jsxs("form",{onSubmit:z(e=>{S(e.approver_id),W()}),children:[
|
|
5
|
+
/* @__PURE__ */e.jsxs(v.default,{className:"quickApprovalModal--Title",children:[
|
|
6
|
+
/* @__PURE__ */e.jsx(i.Typography,{type:"s3",color:"inherit",weight:"medium",children:B||"Quick Approval"}),
|
|
7
|
+
/* @__PURE__ */e.jsx(f.default,{onClick:W,children:/* @__PURE__ */e.jsx(g.default,{fontSize:"small"})})]}),
|
|
8
|
+
/* @__PURE__ */e.jsx(y.default,{className:"quickApprovalModal--ModalContentContainer",children:/* @__PURE__ */e.jsx(l.Controller,{name:"approver_id",control:L,render:({field:r,fieldState:o})=>{var a,l,n;/* @__PURE__ */
|
|
9
9
|
return e.jsxs(e.Fragment,{children:[
|
|
10
|
-
/* @__PURE__ */e.jsx(t.
|
|
11
|
-
return e.jsx(q.default,{value:
|
|
10
|
+
/* @__PURE__ */e.jsx(t.Select,{name:"approver_id",value:r.value||[],onChange:r.onChange,error:Boolean(null==(a=o.error)?void 0:a.message),helperText:(null==(l=o.error)?void 0:l.message)||"",size:"small",renderValue:r=>/* @__PURE__ */e.jsx(p.default,{data:r,placeholder:"Select",onDelete:()=>V("approver_id",[])}),multiple:!0,fullWidth:!0,children:O.map(o=>{const a=["theme.tertiary1","theme.tertiary2","theme.tertiary3"],t=a[Math.floor(Math.random()*a.length)],l={borderRadius:"0.25rem !important",textAlign:"center",backgroundColor:`${t}.200`,color:`${t}.1000`};/* @__PURE__ */
|
|
11
|
+
return e.jsx(q.default,{value:o.id,selected:Boolean(r.value&&r.value.includes(o.id)),children:/* @__PURE__ */e.jsxs(b.default,{className:"quickApprovalModal--UserListingContainer",children:[
|
|
12
12
|
/* @__PURE__ */e.jsxs(b.default,{className:"quickApprovalModal--UserContent",children:[
|
|
13
|
-
/* @__PURE__ */e.jsx(
|
|
14
|
-
/* @__PURE__ */e.jsx(i.Typography,{type:"s4",color:"theme.secondary.1000",children:Q(
|
|
15
|
-
/* @__PURE__ */e.jsx(u.
|
|
16
|
-
/* @__PURE__ */e.jsxs(
|
|
17
|
-
/* @__PURE__ */e.jsx(c.
|
|
18
|
-
/* @__PURE__ */e.jsx(c.
|
|
13
|
+
/* @__PURE__ */e.jsx(s.Avatar,{src:o.profile_image,alt:Q(o),sx:l,size:24}),
|
|
14
|
+
/* @__PURE__ */e.jsx(i.Typography,{type:"s4",color:"theme.secondary.1000",children:Q(o)})]}),
|
|
15
|
+
/* @__PURE__ */e.jsx(u.Checkbox,{checked:Boolean(r.value&&r.value.includes(o.id))})]})},o.id)})}),Array.isArray(null==r?void 0:r.value)&&(null==(n=null==r?void 0:r.value)?void 0:n.length)>0&&/* @__PURE__ */e.jsx(K,{data:r.value,options:O})]})}})}),
|
|
16
|
+
/* @__PURE__ */e.jsxs(k.default,{className:"quickApprovalModal--DialogActions",children:[
|
|
17
|
+
/* @__PURE__ */e.jsx(c.Button,{className:"quickApprovalModal--DialogActions--Cancel",onClick:W,disabled:T||E,children:"Cancel"}),
|
|
18
|
+
/* @__PURE__ */e.jsx(c.Button,{type:"submit",endIcon:E?/* @__PURE__ */e.jsx(_.default,{size:15,color:"inherit"}):void 0,disabled:E||T||Boolean(!(null==U?void 0:U.length)),children:"Send Request"})]})]})})};
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/components/quick-approval-modal/quick-approval-modal.tsx"],"sourcesContent":["import { Close } from '@mui/icons-material';\nimport {\n\tBox,\n\tCircularProgress,\n\tDialogActions,\n\tDialogContent,\n\tDialogProps,\n\tDialogTitle,\n\tIconButton,\n\tMenuItem\n} from '@mui/material';\nimport Modal from '../modal/modal';\nimport Typography from '../typography/typography';\n\nimport * as Yup from 'yup';\nimport { yupResolver } from '@hookform/resolvers/yup';\nimport Select from '../select/select';\nimport { Controller, useForm } from 'react-hook-form';\n\nimport './quick-approval-modal.scss';\nimport { useEffect, useState } from 'react';\nimport Avatar from '../avatar/avatar';\nimport { formatLabel } from '../../utils/format-text';\nimport Checkbox from '../checkbox/checkbox';\nimport Button from '../button/button';\nimport ChipOrPlaceholder from '../form-control/form-builder/form-builder-element/chip-or-placeholder';\nimport Chip from '../chip/chip';\nimport { MoreIcon } from '../icons';\nimport { getV1User } from '../../api-client/api.rbac/api';\nimport { enqueueSnackbar } from 'notistack';\n\nimport React from 'react';\nimport { getToken } from '../../utils/common';\n\ninterface QuickApprovalModalProps {\n\tisOpen: boolean;\n\tsetIsOpen: () => void;\n\tmodalProps?: DialogProps;\n\ttitle?: string;\n\tonConfirm: (approverIds: number[]) => void;\n isProcessing?: boolean\n}\n\ninterface IFormInput {\n\tapprover_id: number[];\n}\ninterface IUsersData {\n\tisLoading: boolean\n\tisError: boolean\n error: string | null\n data: Array<Record<string, any>>\n}\n\nconst validationSchema = Yup.object().shape({\n\tapprover_id: Yup.array()\n\t\t.required('Please select the approvers')\n\t\t.min(1, 'Please select the approvers')\n});\n\nconst QuickApprovalModal: React.FC<QuickApprovalModalProps> = ({\n\tisOpen,\n\tsetIsOpen,\n\tmodalProps,\n\ttitle,\n\tonConfirm,\n isProcessing\n}) => {\n\tconst [users, setUsers] = useState<IUsersData>({\n\t\tisLoading: true,\n\t\tisError: false,\n\t\terror: 'null',\n\t\tdata: []\n\t});\n\tconst { isLoading, isError, error, data } = users;\n\n\tconst { control, handleSubmit, reset, setValue, getValues, watch } =\n\t\tuseForm<IFormInput>({\n\t\t\tresolver: yupResolver(validationSchema),\n\t\t\tmode: 'all'\n\t\t});\n\n\twatch('approver_id');\n\tconst formValues = getValues('approver_id');\n\n\tconst onSubmit = (values: IFormInput) => {\n\t\tonConfirm(values.approver_id);\n\t\thandleModalClose();\n\t};\n\n\tconst handleModalClose = () => {\n\t\treset({approver_id: []});\n\t\tsetIsOpen();\n\t};\n\n\tconst SelectedItems = ({\n\t\tdata,\n\t\toptions\n\t}: {\n\t\tdata: number[];\n\t\toptions: any[];\n\t}) => {\n\t\tconst displayTitle = data.map((selectedItem) => {\n\t\t\tconst user = options.find((option: any) => option.id === selectedItem);\n\t\t\tif (user) {\n\t\t\t\treturn getLabel(user);\n\t\t\t}\n\t\t\treturn selectedItem;\n\t\t});\n\n\t\treturn (\n\t\t\t<Box display='flex' justifyContent='space-between' alignItems='center'>\n\t\t\t\t<Typography\n\t\t\t\t\ttype='s5'\n\t\t\t\t\tcolor='inherit'\n\t\t\t\t\tsx={{ display: 'flex', gap: 1, alignItems: 'center', mt: 0.5 }}>\n\t\t\t\t\t{displayTitle.slice(0, 3).join(', ')}\n\t\t\t\t\t{data.length > 4 && (\n\t\t\t\t\t\t<Chip\n\t\t\t\t\t\t\tvariant='outlined'\n\t\t\t\t\t\t\ttype='normal'\n\t\t\t\t\t\t\tclassName='quickApprovalModal--DisplayNameChip'\n\t\t\t\t\t\t\tlabel={<MoreIcon fontSize='small' />}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\t\t\t\t</Typography>\n\t\t\t\t<Button variant='text' onClick={() => setValue('approver_id', [])}>\n\t\t\t\t\t<Typography type='s5' color='inherit'>\n\t\t\t\t\t\tRemove\n\t\t\t\t\t</Typography>\n\t\t\t\t</Button>\n\t\t\t</Box>\n\t\t);\n\t};\n\n\tconst getAndSetFetchUsers = async () => {\n\t\ttry {\n\t\t\tconst filters = { skip: 0, limit: 99, filters: `(is_active.eq=true)` };\n\t\t\tconst response = await getV1User({ ...filters, ...getToken() });\n\t\n\t\t\tconst users: any[] = response?.data?.users || [];\n\t\t\tsetUsers({\n\t\t\t\tisLoading: false,\n\t\t\t\tisError: false,\n\t\t\t\terror: null,\n\t\t\t\tdata: users\n\t\t\t});\t\n\t\t} catch (error) {\n\t\t\tsetUsers({\n\t\t\t\tisLoading: false,\n\t\t\t\tisError: true,\n\t\t\t\terror: 'Failed to fetch Approvers',\n\t\t\t\tdata: []\n\t\t\t});\n\t\t}\n\t};\n\n\tuseEffect(() => {\n\t\tif (isOpen) {\n\t\t\tgetAndSetFetchUsers()\n\t\t}\n\t}, [isOpen]);\n\tuseEffect(() => {\n\t\tif (isError) {\n\t\t\tenqueueSnackbar(error ?? 'Something went wrong', { variant: 'error'});\n\t\t}\n\t}, [error, isError]);\n\n\tconst getLabel = (obj: Record<any, any>) => {\n\t\tconst {first_name = '', last_name=''} = obj || {}\n\n\t\treturn formatLabel(`${first_name} ${last_name}`)\n\t}\n\n useEffect(() => {\n return () => {\n handleModalClose()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n },[])\n\n\treturn (\n\t\t<Modal\n\t\t\topen={isOpen}\n\t\t\tonClose={handleModalClose}\n\t\t\tmaxWidth='sm'\n\t\t\tfullWidth\n\t\t\tdisableEscapeKeyDown\n\t\t\t{...modalProps}>\n\t\t\t<form onSubmit={handleSubmit(onSubmit)}>\n\t\t\t\t<DialogTitle className='quickApprovalModal--Title'>\n\t\t\t\t\t<Typography type='s3' color='inherit' weight='medium'>\n\t\t\t\t\t\t{title || 'Quick Approval'}\n\t\t\t\t\t</Typography>\n\t\t\t\t\t<IconButton onClick={handleModalClose}>\n\t\t\t\t\t\t<Close fontSize='small' />\n\t\t\t\t\t</IconButton>\n\t\t\t\t</DialogTitle>\n\t\t\t\t<DialogContent className='quickApprovalModal--ModalContentContainer'>\n\t\t\t\t\t<Controller\n\t\t\t\t\t\tname='approver_id'\n\t\t\t\t\t\tcontrol={control}\n\t\t\t\t\t\trender={({ field, fieldState }) => (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t<Select\n\t\t\t\t\t\t\t\t\tname='approver_id'\n\t\t\t\t\t\t\t\t\tvalue={field.value || []}\n\t\t\t\t\t\t\t\t\tonChange={field.onChange}\n\t\t\t\t\t\t\t\t\terror={Boolean(fieldState.error?.message)}\n\t\t\t\t\t\t\t\t\thelperText={fieldState.error?.message || ''}\n\t\t\t\t\t\t\t\t\tsize='small'\n\t\t\t\t\t\t\t\t\trenderValue={(selected: string[]) => (\n\t\t\t\t\t\t\t\t\t\t<ChipOrPlaceholder\n\t\t\t\t\t\t\t\t\t\t\tdata={selected}\n\t\t\t\t\t\t\t\t\t\t\tplaceholder='Select'\n\t\t\t\t\t\t\t\t\t\t\tonDelete={() => setValue('approver_id', [])}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\tmultiple\n\t\t\t\t\t\t\t\t\tfullWidth>\n\t\t\t\t\t\t\t\t\t{data.map((user) => {\n\t\t\t\t\t\t\t\t\t\tconst colors = [\n\t\t\t\t\t\t\t\t\t\t\t'theme.tertiary1',\n\t\t\t\t\t\t\t\t\t\t\t'theme.tertiary2',\n\t\t\t\t\t\t\t\t\t\t\t'theme.tertiary3'\n\t\t\t\t\t\t\t\t\t\t];\n\t\t\t\t\t\t\t\t\t\tconst randomIndex = Math.floor(\n\t\t\t\t\t\t\t\t\t\t\tMath.random() * colors.length\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\tconst randomColor = colors[randomIndex];\n\t\t\t\t\t\t\t\t\t\tconst avatarStyle = {\n\t\t\t\t\t\t\t\t\t\t\tborderRadius: '0.25rem !important',\n\t\t\t\t\t\t\t\t\t\t\ttextAlign: 'center',\n\t\t\t\t\t\t\t\t\t\t\tbackgroundColor: `${randomColor}.200`,\n\t\t\t\t\t\t\t\t\t\t\tcolor: `${randomColor}.1000`\n\t\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t<MenuItem\n\t\t\t\t\t\t\t\t\t\t\t\tkey={user.id}\n\t\t\t\t\t\t\t\t\t\t\t\tvalue={user.id}\n\t\t\t\t\t\t\t\t\t\t\t\tselected={Boolean(\n\t\t\t\t\t\t\t\t\t\t\t\t\tfield.value && field.value.includes(user.id)\n\t\t\t\t\t\t\t\t\t\t\t\t)}>\n\t\t\t\t\t\t\t\t\t\t\t\t<Box className='quickApprovalModal--UserListingContainer'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Box className='quickApprovalModal--UserContent'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<Avatar\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsrc={user.profile_image}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\talt={getLabel(user)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsx={avatarStyle}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsize={24}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<Typography type='s4' color='theme.secondary.1000'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{getLabel(user)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</Box>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Checkbox\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tchecked={Boolean(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfield.value && field.value.includes(user.id)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t</Box>\n\t\t\t\t\t\t\t\t\t\t\t</MenuItem>\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t</Select>\n\t\t\t\t\t\t\t\t{Array.isArray(field?.value) && field?.value?.length > 0 && (\n\t\t\t\t\t\t\t\t\t<SelectedItems data={field.value} options={data} />\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</>\n\t\t\t\t\t\t)}\n\t\t\t\t\t/>\n\t\t\t\t</DialogContent>\n\t\t\t\t<DialogActions className='quickApprovalModal--DialogActions'>\n\t\t\t\t\t<Button\n\t\t\t\t\t\tclassName='quickApprovalModal--DialogActions--Cancel'\n\t\t\t\t\t\tonClick={handleModalClose}\n\t\t\t\t\t\tdisabled={isLoading || isProcessing}>\n\t\t\t\t\t\tCancel\n\t\t\t\t\t</Button>\n\t\t\t\t\t<Button\n\t\t\t\t\t\ttype='submit'\n\t\t\t\t\t\tendIcon={\n\t\t\t\t\t\t\tisProcessing ? (\n\t\t\t\t\t\t\t\t<CircularProgress size={15} color='inherit' />\n\t\t\t\t\t\t\t) : undefined\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdisabled={isProcessing || isLoading || Boolean(!formValues?.length)}>\n\t\t\t\t\t\tSend Request\n\t\t\t\t\t</Button>\n\t\t\t\t</DialogActions>\n\t\t\t</form>\n\t\t</Modal>\n\t);\n};\n\nexport default QuickApprovalModal;"],"names":["validationSchema","Yup","object","shape","approver_id","array","required","min","isOpen","setIsOpen","modalProps","title","onConfirm","isProcessing","users","setUsers","useState","isLoading","isError","error","data","control","handleSubmit","reset","setValue","getValues","watch","useForm","resolver","yupResolver","mode","formValues","handleModalClose","SelectedItems","options","displayTitle","map","selectedItem","user","find","option","id","getLabel","Box","display","justifyContent","alignItems","children","jsxs","Typography","type","color","sx","gap","mt","slice","join","length","jsx","Chip","variant","className","label","MoreIcon","fontSize","Button","onClick","useEffect","async","filters","skip","limit","response","getV1User","getToken","_a","getAndSetFetchUsers","enqueueSnackbar","obj","first_name","last_name","formatLabel","Modal","open","onClose","maxWidth","fullWidth","disableEscapeKeyDown","onSubmit","values","DialogTitle","weight","IconButton","Close","DialogContent","Controller","name","render","field","fieldState","Fragment","Select","value","onChange","Boolean","message","helperText","_b","size","renderValue","selected","ChipOrPlaceholder","placeholder","onDelete","multiple","colors","randomColor","Math","floor","random","avatarStyle","borderRadius","textAlign","backgroundColor","MenuItem","includes","Avatar","src","profile_image","alt","Checkbox","checked","Array","isArray","_c","DialogActions","disabled","endIcon","CircularProgress"],"mappings":"k4DAqDA,MAAMA,EAAmBC,EAAIC,SAASC,MAAM,CAC3CC,YAAaH,EAAII,QACfC,SAAS,+BACTC,IAAI,EAAG,iDAGoD,EAC7DC,SACAC,YACAC,aACAC,QACAC,YACCC,mBAED,MAAOC,EAAOC,GAAYC,WAAqB,CAC9CC,WAAW,EACXC,SAAS,EACTC,MAAO,OACPC,KAAM,MAEDH,UAAEA,EAAAC,QAAWA,EAAAC,MAASA,EAAAC,KAAOA,GAASN,GAEtCO,QAAEA,eAASC,EAAAC,MAAcA,EAAAC,SAAOA,YAAUC,EAAAC,MAAWA,GAC1DC,UAAoB,CACnBC,SAAUC,EAAAA,YAAY7B,GACtB8B,KAAM,QAGRJ,EAAM,eACN,MAAMK,EAAaN,EAAU,eAOvBO,EAAmB,KACxBT,EAAM,CAACnB,YAAa,KACpBK,KAGKwB,EAAgB,EACrBb,KAAAA,EACAc,cAKA,MAAMC,EAAef,EAAKgB,IAAKC,IAC9B,MAAMC,EAAOJ,EAAQK,KAAMC,GAAgBA,EAAOC,KAAOJ,GACzD,OAAIC,EACII,EAASJ,GAEVD;AAGR,cACEM,UAAA,CAAIC,QAAQ,OAAOC,eAAe,gBAAgBC,WAAW,SAC7DC,SAAA;eAAAC,EAAAA,KAACC,EAAAA,WAAA,CACAC,KAAK,KACLC,MAAM,UACNC,GAAI,CAAER,QAAS,OAAQS,IAAK,EAAGP,WAAY,SAAUQ,GAAI,IACxDP,SAAA,CAAAZ,EAAaoB,MAAM,EAAG,GAAGC,KAAK,MAC9BpC,EAAKqC,OAAS,kBACdC,EAAAA,IAACC,EAAAA,QAAA,CACAC,QAAQ,WACRV,KAAK,SACLW,UAAU,sCACVC,uBAAOJ,IAACK,EAAAA,SAAA,CAASC,SAAS;qBAI5BC,EAAAA,QAAA,CAAOL,QAAQ,OAAOM,QAAS,IAAM1C,EAAS,cAAe,IAC7DuB,8BAACE,EAAAA,WAAA,CAAWC,KAAK,KAAKC,MAAM,UAAUJ,0BA8B1CoB,EAAAA,UAAU,KACL3D,GAvBuB4D,iBAC3B,IACC,MAAMC,EAAU,CAAEC,KAAM,EAAGC,MAAO,GAAIF,QAAS,uBACzCG,QAAiBC,YAAU,IAAKJ,KAAYK,EAAAA,aAE5C5D,GAAe,OAAA6D,EAAA,MAAAH,OAAA,EAAAA,EAAUpD,WAAV,EAAAuD,EAAgB7D,QAAS,GAC9CC,EAAS,CACRE,WAAW,EACXC,SAAS,EACTC,MAAO,KACPC,KAAMN,GAER,OAASK,GACRJ,EAAS,CACRE,WAAW,EACXC,SAAS,EACTC,MAAO,4BACPC,KAAM,IAER,GAKCwD,IAEC,CAACpE,IACJ2D,EAAAA,UAAU,KACLjD,GACH2D,EAAAA,gBAAgB1D,GAAS,uBAAwB,CAAEyC,QAAS,WAE3D,CAACzC,EAAOD,IAEX,MAAMwB,EAAYoC,IACjB,MAAMC,WAACA,EAAa,GAAAC,UAAIA,EAAU,IAAMF,GAAO,CAAA,EAE/C,OAAOG,EAAAA,YAAY,GAAGF,KAAcC,MAUrC,OAPCb,EAAAA,UAAU,IACD,KACLnC,KAGF,mBAGF0B,EAAAA,IAACwB,EAAAA,QAAA,CACAC,KAAM3E,EACN4E,QAASpD,EACTqD,SAAS,KACTC,WAAS,EACTC,sBAAoB,KAChB7E,EACJqC,0BAAAC,KAAC,OAAA,CAAKwC,SAAUlE,EAxGAmE,IACjB7E,EAAU6E,EAAOrF,aACjB4B,MAuGEe,SAAA;iBAAAC,KAAC0C,EAAAA,QAAA,CAAY7B,UAAU,4BACtBd,SAAA;eAAAW,EAAAA,IAACT,EAAAA,WAAA,CAAWC,KAAK,KAAKC,MAAM,UAAUwC,OAAO,SAC3C5C,YAAS;iBAEXW,IAACkC,EAAAA,SAAW1B,QAASlC,EACpBe,8BAAC8C,UAAA,CAAM7B,SAAS;eAGlBN,EAAAA,IAACoC,EAAAA,QAAA,CAAcjC,UAAU,4CACxBd,wBAAAW,EAAAA,IAACqC,EAAAA,WAAA,CACAC,KAAK,cACL3E,UACA4E,OAAQ,EAAGC,QAAOC;AACjBnD,OAAAA,OAAAoD,EAAAA,SAAA,CACCrD,SAAA;eAAAW,EAAAA,IAAC2C,EAAAA,QAAA,CACAL,KAAK,cACLM,MAAOJ,EAAMI,OAAS,GACtBC,SAAUL,EAAMK,SAChBpF,MAAOqF,QAAQ,OAAA7B,EAAAwB,EAAWhF,gBAAOsF,SACjCC,YAAY,OAAAC,EAAAR,EAAWhF,YAAX,EAAAwF,EAAkBF,UAAW,GACzCG,KAAK,QACLC,YAAcC,kBACbpD,EAAAA,IAACqD,EAAAA,QAAA,CACA3F,KAAM0F,EACNE,YAAY,SACZC,SAAU,IAAMzF,EAAS,cAAe,MAG1C0F,UAAQ,EACR5B,WAAS,EACRvC,SAAA3B,EAAKgB,IAAKE,IACV,MAAM6E,EAAS,CACd,kBACA,kBACA,mBAKKC,EAAcD,EAHAE,KAAKC,MACxBD,KAAKE,SAAWJ,EAAO1D,SAGlB+D,EAAc,CACnBC,aAAc,qBACdC,UAAW,SACXC,gBAAiB,GAAGP,QACpBjE,MAAO,GAAGiE;AAGX,OACC1D,EAAAA,IAACkE,EAAAA,QAAA,CAEAtB,MAAOhE,EAAKG,GACZqE,SAAUN,QACTN,EAAMI,OAASJ,EAAMI,MAAMuB,SAASvF,EAAKG,KAE1CM,0BAAAC,KAACL,EAAAA,QAAA,CAAIkB,UAAU,2CACdd,SAAA;iBAAAC,KAACL,EAAAA,QAAA,CAAIkB,UAAU,kCACdd,SAAA;eAAAW,EAAAA,IAACoE,EAAAA,OAAA,CACAC,IAAKzF,EAAK0F,cACVC,IAAKvF,EAASJ,GACdc,GAAIoE,EACJZ,KAAM;eAEPlD,MAACT,EAAAA,YAAWC,KAAK,KAAKC,MAAM,uBAC1BJ,SAAAL,EAASJ;eAGZoB,EAAAA,IAACwE,EAAAA,QAAA,CACAC,QAAS3B,QACRN,EAAMI,OAASJ,EAAMI,MAAMuB,SAASvF,EAAKG,WAnBvCH,EAAKG,QA2Bb2F,MAAMC,QAAQ,MAAAnC,OAAA,EAAAA,EAAOI,SAAU,OAAAgC,EAAA,MAAApC,OAAA,EAAAA,EAAOI,YAAP,EAAAgC,EAAc7E,QAAS,wBACrDxB,EAAA,CAAcb,KAAM8E,EAAMI,MAAOpE,QAASd;iBAMhD4B,KAACuF,EAAAA,QAAA,CAAc1E,UAAU,oCACxBd,SAAA;eAAAW,EAAAA,IAACO,EAAAA,QAAA,CACAJ,UAAU,4CACVK,QAASlC,EACTwG,SAAUvH,GAAaJ,EAAckC,SAAA;eAGtCW,EAAAA,IAACO,EAAAA,QAAA,CACAf,KAAK,SACLuF,QACC5H,iBACC6C,EAAAA,IAACgF,UAAA,CAAiB9B,KAAM,GAAIzD,MAAM,iBAC/B,EAELqF,SAAU3H,GAAgBI,GAAauF,gBAASzE,WAAY0B,SAASV,SAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/components/quick-approval-modal/quick-approval-modal.tsx"],"sourcesContent":["import { Close } from '@mui/icons-material';\nimport {\n\tBox,\n\tCircularProgress,\n\tDialogActions,\n\tDialogContent,\n\tDialogProps,\n\tDialogTitle,\n\tIconButton,\n\tMenuItem\n} from '@mui/material';\nimport Modal from '../modal/modal';\nimport Typography from '../typography/typography';\n\nimport * as Yup from 'yup';\nimport { yupResolver } from '@hookform/resolvers/yup';\nimport Select from '../select/select';\nimport { Controller, useForm } from 'react-hook-form';\n\nimport './quick-approval-modal.scss';\nimport { useEffect, useState } from 'react';\nimport Avatar from '../avatar/avatar';\nimport { formatLabel } from '../../utils/format-text';\nimport Checkbox from '../checkbox/checkbox';\nimport Button from '../button/button';\nimport ChipOrPlaceholder from '../form-control/form-builder/form-builder-element/chip-or-placeholder';\nimport Chip from '../chip/chip';\nimport { MoreIcon } from '../icons';\nimport { getV1User } from '../../api-client/api.rbac/api';\nimport { enqueueSnackbar } from 'notistack';\n\nimport React from 'react';\nimport { getToken } from '../../utils/common';\n\ninterface QuickApprovalModalProps {\n\tisOpen: boolean;\n\tsetIsOpen: () => void;\n\tmodalProps?: DialogProps;\n\ttitle?: string;\n\tonConfirm: (approverIds: number[]) => void;\n isProcessing?: boolean\n}\n\ninterface IFormInput {\n\tapprover_id: number[];\n}\ninterface IUsersData {\n\tisLoading: boolean\n\tisError: boolean\n error: string | null\n data: Array<Record<string, any>>\n}\n\nconst validationSchema = Yup.object().shape({\n\tapprover_id: Yup.array()\n\t\t.required('Please select the approvers')\n\t\t.min(1, 'Please select the approvers')\n});\n\nconst QuickApprovalModal: React.FC<QuickApprovalModalProps> = ({\n\tisOpen,\n\tsetIsOpen,\n\tmodalProps,\n\ttitle,\n\tonConfirm,\n isProcessing\n}) => {\n\tconst [users, setUsers] = useState<IUsersData>({\n\t\tisLoading: true,\n\t\tisError: false,\n\t\terror: 'null',\n\t\tdata: []\n\t});\n\tconst { isLoading, isError, error, data } = users;\n\n\tconst { control, handleSubmit, reset, setValue, getValues, watch } =\n\t\tuseForm<IFormInput>({\n\t\t\tresolver: yupResolver(validationSchema),\n\t\t\tmode: 'all'\n\t\t});\n\n\twatch('approver_id');\n\tconst formValues = getValues('approver_id');\n\n\tconst onSubmit = (values: IFormInput) => {\n\t\tonConfirm(values.approver_id);\n\t\thandleModalClose();\n\t};\n\n\tconst handleModalClose = () => {\n\t\treset({approver_id: []});\n\t\tsetIsOpen();\n\t};\n\n\tconst SelectedItems = ({\n\t\tdata,\n\t\toptions\n\t}: {\n\t\tdata: number[];\n\t\toptions: any[];\n\t}) => {\n\t\tconst displayTitle = data.map((selectedItem) => {\n\t\t\tconst user = options.find((option: any) => option.id === selectedItem);\n\t\t\tif (user) {\n\t\t\t\treturn getLabel(user);\n\t\t\t}\n\t\t\treturn selectedItem;\n\t\t});\n\n\t\treturn (\n\t\t\t<Box display='flex' justifyContent='space-between' alignItems='center'>\n\t\t\t\t<Typography\n\t\t\t\t\ttype='s5'\n\t\t\t\t\tcolor='inherit'\n\t\t\t\t\tsx={{ display: 'flex', gap: 1, alignItems: 'center', mt: 0.5 }}>\n\t\t\t\t\t{displayTitle.slice(0, 3).join(', ')}\n\t\t\t\t\t{data.length > 4 && (\n\t\t\t\t\t\t<Chip\n\t\t\t\t\t\t\tvariant='outlined'\n\t\t\t\t\t\t\ttype='normal'\n\t\t\t\t\t\t\tclassName='quickApprovalModal--DisplayNameChip'\n\t\t\t\t\t\t\tlabel={<MoreIcon fontSize='small' />}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\t\t\t\t</Typography>\n\t\t\t\t<Button variant='text' onClick={() => setValue('approver_id', [])}>\n\t\t\t\t\t<Typography type='s5' color='inherit'>\n\t\t\t\t\t\tRemove\n\t\t\t\t\t</Typography>\n\t\t\t\t</Button>\n\t\t\t</Box>\n\t\t);\n\t};\n\n\tconst getAndSetFetchUsers = async () => {\n\t\ttry {\n\t\t\tconst filters = { skip: 0, limit: 99, filters: `(is_active.eq=true)` };\n\t\t\tconst response = await getV1User({ ...filters, ...getToken() });\n\t\n\t\t\tconst users: any[] = response?.data?.users || [];\n\t\t\tsetUsers({\n\t\t\t\tisLoading: false,\n\t\t\t\tisError: false,\n\t\t\t\terror: null,\n\t\t\t\tdata: users\n\t\t\t});\t\n\t\t} catch (error) {\n\t\t\tsetUsers({\n\t\t\t\tisLoading: false,\n\t\t\t\tisError: true,\n\t\t\t\terror: 'Failed to fetch Approvers',\n\t\t\t\tdata: []\n\t\t\t});\n\t\t}\n\t};\n\n\tuseEffect(() => {\n\t\tif (isOpen) {\n\t\t\tgetAndSetFetchUsers()\n\t\t}\n\t}, [isOpen]);\n\tuseEffect(() => {\n\t\tif (isError) {\n\t\t\tenqueueSnackbar(error ?? 'Something went wrong', { variant: 'error'});\n\t\t}\n\t}, [error, isError]);\n\n\tconst getLabel = (obj: Record<any, any>) => {\n\t\tconst {first_name = '', last_name=''} = obj || {}\n\n\t\treturn formatLabel(`${first_name} ${last_name}`)\n\t}\n\n useEffect(() => {\n return () => {\n handleModalClose()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n },[])\n\n\treturn (\n\t\t<Modal\n\t\t\topen={isOpen}\n\t\t\tonClose={handleModalClose}\n\t\t\tmaxWidth='sm'\n\t\t\tfullWidth\n\t\t\tdisableEscapeKeyDown\n\t\t\t{...modalProps}>\n\t\t\t<form onSubmit={handleSubmit(onSubmit)}>\n\t\t\t\t<DialogTitle className='quickApprovalModal--Title'>\n\t\t\t\t\t<Typography type='s3' color='inherit' weight='medium'>\n\t\t\t\t\t\t{title || 'Quick Approval'}\n\t\t\t\t\t</Typography>\n\t\t\t\t\t<IconButton onClick={handleModalClose}>\n\t\t\t\t\t\t<Close fontSize='small' />\n\t\t\t\t\t</IconButton>\n\t\t\t\t</DialogTitle>\n\t\t\t\t<DialogContent className='quickApprovalModal--ModalContentContainer'>\n\t\t\t\t\t<Controller\n\t\t\t\t\t\tname='approver_id'\n\t\t\t\t\t\tcontrol={control}\n\t\t\t\t\t\trender={({ field, fieldState }) => (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t<Select\n\t\t\t\t\t\t\t\t\tname='approver_id'\n\t\t\t\t\t\t\t\t\tvalue={field.value || []}\n\t\t\t\t\t\t\t\t\tonChange={field.onChange}\n\t\t\t\t\t\t\t\t\terror={Boolean(fieldState.error?.message)}\n\t\t\t\t\t\t\t\t\thelperText={fieldState.error?.message || ''}\n\t\t\t\t\t\t\t\t\tsize='small'\n\t\t\t\t\t\t\t\t\trenderValue={(selected: string[]) => (\n\t\t\t\t\t\t\t\t\t\t<ChipOrPlaceholder\n\t\t\t\t\t\t\t\t\t\t\tdata={selected}\n\t\t\t\t\t\t\t\t\t\t\tplaceholder='Select'\n\t\t\t\t\t\t\t\t\t\t\tonDelete={() => setValue('approver_id', [])}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\tmultiple\n\t\t\t\t\t\t\t\t\tfullWidth>\n\t\t\t\t\t\t\t\t\t{data.map((user) => {\n\t\t\t\t\t\t\t\t\t\tconst colors = [\n\t\t\t\t\t\t\t\t\t\t\t'theme.tertiary1',\n\t\t\t\t\t\t\t\t\t\t\t'theme.tertiary2',\n\t\t\t\t\t\t\t\t\t\t\t'theme.tertiary3'\n\t\t\t\t\t\t\t\t\t\t];\n\t\t\t\t\t\t\t\t\t\tconst randomIndex = Math.floor(\n\t\t\t\t\t\t\t\t\t\t\tMath.random() * colors.length\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\tconst randomColor = colors[randomIndex];\n\t\t\t\t\t\t\t\t\t\tconst avatarStyle = {\n\t\t\t\t\t\t\t\t\t\t\tborderRadius: '0.25rem !important',\n\t\t\t\t\t\t\t\t\t\t\ttextAlign: 'center',\n\t\t\t\t\t\t\t\t\t\t\tbackgroundColor: `${randomColor}.200`,\n\t\t\t\t\t\t\t\t\t\t\tcolor: `${randomColor}.1000`\n\t\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t<MenuItem\n\t\t\t\t\t\t\t\t\t\t\t\tkey={user.id}\n\t\t\t\t\t\t\t\t\t\t\t\tvalue={user.id}\n\t\t\t\t\t\t\t\t\t\t\t\tselected={Boolean(\n\t\t\t\t\t\t\t\t\t\t\t\t\tfield.value && field.value.includes(user.id)\n\t\t\t\t\t\t\t\t\t\t\t\t)}>\n\t\t\t\t\t\t\t\t\t\t\t\t<Box className='quickApprovalModal--UserListingContainer'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Box className='quickApprovalModal--UserContent'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<Avatar\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsrc={user.profile_image}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\talt={getLabel(user)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsx={avatarStyle}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsize={24}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<Typography type='s4' color='theme.secondary.1000'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{getLabel(user)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</Box>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Checkbox\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tchecked={Boolean(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfield.value && field.value.includes(user.id)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t</Box>\n\t\t\t\t\t\t\t\t\t\t\t</MenuItem>\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t</Select>\n\t\t\t\t\t\t\t\t{Array.isArray(field?.value) && field?.value?.length > 0 && (\n\t\t\t\t\t\t\t\t\t<SelectedItems data={field.value} options={data} />\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</>\n\t\t\t\t\t\t)}\n\t\t\t\t\t/>\n\t\t\t\t</DialogContent>\n\t\t\t\t<DialogActions className='quickApprovalModal--DialogActions'>\n\t\t\t\t\t<Button\n\t\t\t\t\t\tclassName='quickApprovalModal--DialogActions--Cancel'\n\t\t\t\t\t\tonClick={handleModalClose}\n\t\t\t\t\t\tdisabled={isLoading || isProcessing}>\n\t\t\t\t\t\tCancel\n\t\t\t\t\t</Button>\n\t\t\t\t\t<Button\n\t\t\t\t\t\ttype='submit'\n\t\t\t\t\t\tendIcon={\n\t\t\t\t\t\t\tisProcessing ? (\n\t\t\t\t\t\t\t\t<CircularProgress size={15} color='inherit' />\n\t\t\t\t\t\t\t) : undefined\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdisabled={isProcessing || isLoading || Boolean(!formValues?.length)}>\n\t\t\t\t\t\tSend Request\n\t\t\t\t\t</Button>\n\t\t\t\t</DialogActions>\n\t\t\t</form>\n\t\t</Modal>\n\t);\n};\n\nexport default QuickApprovalModal;"],"names":["validationSchema","Yup","object","shape","approver_id","array","required","min","isOpen","setIsOpen","modalProps","title","onConfirm","isProcessing","users","setUsers","useState","isLoading","isError","error","data","control","handleSubmit","reset","setValue","getValues","watch","useForm","resolver","yupResolver","mode","formValues","handleModalClose","SelectedItems","options","displayTitle","map","selectedItem","user","find","option","id","getLabel","Box","display","justifyContent","alignItems","children","jsxs","Typography","type","color","sx","gap","mt","slice","join","length","jsx","Chip","variant","className","label","MoreIcon","fontSize","Button","onClick","useEffect","async","filters","skip","limit","response","getV1User","getToken","_a","getAndSetFetchUsers","enqueueSnackbar","obj","first_name","last_name","formatLabel","Modal","open","onClose","maxWidth","fullWidth","disableEscapeKeyDown","onSubmit","values","DialogTitle","weight","IconButton","Close","DialogContent","Controller","name","render","field","fieldState","Fragment","Select","value","onChange","Boolean","message","helperText","_b","size","renderValue","selected","ChipOrPlaceholder","placeholder","onDelete","multiple","colors","randomColor","Math","floor","random","avatarStyle","borderRadius","textAlign","backgroundColor","MenuItem","includes","Avatar","src","profile_image","alt","Checkbox","checked","Array","isArray","_c","DialogActions","disabled","endIcon","CircularProgress"],"mappings":"k4DAqDA,MAAMA,EAAmBC,EAAIC,SAASC,MAAM,CAC3CC,YAAaH,EAAII,QACfC,SAAS,+BACTC,IAAI,EAAG,iDAGoD,EAC7DC,SACAC,YACAC,aACAC,QACAC,YACCC,mBAED,MAAOC,EAAOC,GAAYC,WAAqB,CAC9CC,WAAW,EACXC,SAAS,EACTC,MAAO,OACPC,KAAM,MAEDH,UAAEA,EAAAC,QAAWA,EAAAC,MAASA,EAAAC,KAAOA,GAASN,GAEtCO,QAAEA,eAASC,EAAAC,MAAcA,EAAAC,SAAOA,YAAUC,EAAAC,MAAWA,GAC1DC,UAAoB,CACnBC,SAAUC,EAAAA,YAAY7B,GACtB8B,KAAM,QAGRJ,EAAM,eACN,MAAMK,EAAaN,EAAU,eAOvBO,EAAmB,KACxBT,EAAM,CAACnB,YAAa,KACpBK,KAGKwB,EAAgB,EACrBb,KAAAA,EACAc,cAKA,MAAMC,EAAef,EAAKgB,IAAKC,IAC9B,MAAMC,EAAOJ,EAAQK,KAAMC,GAAgBA,EAAOC,KAAOJ,GACzD,OAAIC,EACII,EAASJ,GAEVD;AAGR,cACEM,UAAA,CAAIC,QAAQ,OAAOC,eAAe,gBAAgBC,WAAW,SAC7DC,SAAA;eAAAC,EAAAA,KAACC,EAAAA,WAAA,CACAC,KAAK,KACLC,MAAM,UACNC,GAAI,CAAER,QAAS,OAAQS,IAAK,EAAGP,WAAY,SAAUQ,GAAI,IACxDP,SAAA,CAAAZ,EAAaoB,MAAM,EAAG,GAAGC,KAAK,MAC9BpC,EAAKqC,OAAS,kBACdC,EAAAA,IAACC,EAAAA,KAAA,CACAC,QAAQ,WACRV,KAAK,SACLW,UAAU,sCACVC,uBAAOJ,IAACK,EAAAA,SAAA,CAASC,SAAS;qBAI5BC,EAAAA,OAAA,CAAOL,QAAQ,OAAOM,QAAS,IAAM1C,EAAS,cAAe,IAC7DuB,8BAACE,EAAAA,WAAA,CAAWC,KAAK,KAAKC,MAAM,UAAUJ,0BA8B1CoB,EAAAA,UAAU,KACL3D,GAvBuB4D,iBAC3B,IACC,MAAMC,EAAU,CAAEC,KAAM,EAAGC,MAAO,GAAIF,QAAS,uBACzCG,QAAiBC,YAAU,IAAKJ,KAAYK,EAAAA,aAE5C5D,GAAe,OAAA6D,EAAA,MAAAH,OAAA,EAAAA,EAAUpD,WAAV,EAAAuD,EAAgB7D,QAAS,GAC9CC,EAAS,CACRE,WAAW,EACXC,SAAS,EACTC,MAAO,KACPC,KAAMN,GAER,OAASK,GACRJ,EAAS,CACRE,WAAW,EACXC,SAAS,EACTC,MAAO,4BACPC,KAAM,IAER,GAKCwD,IAEC,CAACpE,IACJ2D,EAAAA,UAAU,KACLjD,GACH2D,EAAAA,gBAAgB1D,GAAS,uBAAwB,CAAEyC,QAAS,WAE3D,CAACzC,EAAOD,IAEX,MAAMwB,EAAYoC,IACjB,MAAMC,WAACA,EAAa,GAAAC,UAAIA,EAAU,IAAMF,GAAO,CAAA,EAE/C,OAAOG,EAAAA,YAAY,GAAGF,KAAcC,MAUrC,OAPCb,EAAAA,UAAU,IACD,KACLnC,KAGF,mBAGF0B,EAAAA,IAACwB,EAAAA,MAAA,CACAC,KAAM3E,EACN4E,QAASpD,EACTqD,SAAS,KACTC,WAAS,EACTC,sBAAoB,KAChB7E,EACJqC,0BAAAC,KAAC,OAAA,CAAKwC,SAAUlE,EAxGAmE,IACjB7E,EAAU6E,EAAOrF,aACjB4B,MAuGEe,SAAA;iBAAAC,KAAC0C,EAAAA,QAAA,CAAY7B,UAAU,4BACtBd,SAAA;eAAAW,EAAAA,IAACT,EAAAA,WAAA,CAAWC,KAAK,KAAKC,MAAM,UAAUwC,OAAO,SAC3C5C,YAAS;iBAEXW,IAACkC,EAAAA,SAAW1B,QAASlC,EACpBe,8BAAC8C,UAAA,CAAM7B,SAAS;eAGlBN,EAAAA,IAACoC,EAAAA,QAAA,CAAcjC,UAAU,4CACxBd,wBAAAW,EAAAA,IAACqC,EAAAA,WAAA,CACAC,KAAK,cACL3E,UACA4E,OAAQ,EAAGC,QAAOC;AACjBnD,OAAAA,OAAAoD,EAAAA,SAAA,CACCrD,SAAA;eAAAW,EAAAA,IAAC2C,EAAAA,OAAA,CACAL,KAAK,cACLM,MAAOJ,EAAMI,OAAS,GACtBC,SAAUL,EAAMK,SAChBpF,MAAOqF,QAAQ,OAAA7B,EAAAwB,EAAWhF,gBAAOsF,SACjCC,YAAY,OAAAC,EAAAR,EAAWhF,YAAX,EAAAwF,EAAkBF,UAAW,GACzCG,KAAK,QACLC,YAAcC,kBACbpD,EAAAA,IAACqD,EAAAA,QAAA,CACA3F,KAAM0F,EACNE,YAAY,SACZC,SAAU,IAAMzF,EAAS,cAAe,MAG1C0F,UAAQ,EACR5B,WAAS,EACRvC,SAAA3B,EAAKgB,IAAKE,IACV,MAAM6E,EAAS,CACd,kBACA,kBACA,mBAKKC,EAAcD,EAHAE,KAAKC,MACxBD,KAAKE,SAAWJ,EAAO1D,SAGlB+D,EAAc,CACnBC,aAAc,qBACdC,UAAW,SACXC,gBAAiB,GAAGP,QACpBjE,MAAO,GAAGiE;AAGX,OACC1D,EAAAA,IAACkE,EAAAA,QAAA,CAEAtB,MAAOhE,EAAKG,GACZqE,SAAUN,QACTN,EAAMI,OAASJ,EAAMI,MAAMuB,SAASvF,EAAKG,KAE1CM,0BAAAC,KAACL,EAAAA,QAAA,CAAIkB,UAAU,2CACdd,SAAA;iBAAAC,KAACL,EAAAA,QAAA,CAAIkB,UAAU,kCACdd,SAAA;eAAAW,EAAAA,IAACoE,EAAAA,OAAA,CACAC,IAAKzF,EAAK0F,cACVC,IAAKvF,EAASJ,GACdc,GAAIoE,EACJZ,KAAM;eAEPlD,MAACT,EAAAA,YAAWC,KAAK,KAAKC,MAAM,uBAC1BJ,SAAAL,EAASJ;eAGZoB,EAAAA,IAACwE,EAAAA,SAAA,CACAC,QAAS3B,QACRN,EAAMI,OAASJ,EAAMI,MAAMuB,SAASvF,EAAKG,WAnBvCH,EAAKG,QA2Bb2F,MAAMC,QAAQ,MAAAnC,OAAA,EAAAA,EAAOI,SAAU,OAAAgC,EAAA,MAAApC,OAAA,EAAAA,EAAOI,YAAP,EAAAgC,EAAc7E,QAAS,wBACrDxB,EAAA,CAAcb,KAAM8E,EAAMI,MAAOpE,QAASd;iBAMhD4B,KAACuF,EAAAA,QAAA,CAAc1E,UAAU,oCACxBd,SAAA;eAAAW,EAAAA,IAACO,EAAAA,OAAA,CACAJ,UAAU,4CACVK,QAASlC,EACTwG,SAAUvH,GAAaJ,EAAckC,SAAA;eAGtCW,EAAAA,IAACO,EAAAA,OAAA,CACAf,KAAK,SACLuF,QACC5H,iBACC6C,EAAAA,IAACgF,UAAA,CAAiB9B,KAAM,GAAIzD,MAAM,iBAC/B,EAELqF,SAAU3H,GAAgBI,GAAauF,gBAASzE,WAAY0B,SAASV,SAAA"}
|