iguazio.dashboard-react-controls 3.2.20 → 3.2.22
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/components/ActionsMenu/ActionsMenu.d.ts +17 -10
- package/dist/components/ActionsMenu/ActionsMenu.d.ts.map +1 -1
- package/dist/components/Backdrop/Backdrop.d.ts +8 -7
- package/dist/components/Backdrop/Backdrop.d.ts.map +1 -1
- package/dist/components/BlockerSpy/BlockerSpy.d.ts +4 -3
- package/dist/components/BlockerSpy/BlockerSpy.d.ts.map +1 -1
- package/dist/components/Button/Button.d.ts +16 -15
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.stories.d.ts +69 -7
- package/dist/components/Button/Button.stories.d.ts.map +1 -1
- package/dist/components/ChipForm/ChipForm.d.ts +20 -12
- package/dist/components/ChipForm/ChipForm.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.d.ts +21 -20
- package/dist/components/ConfirmDialog/ConfirmDialog.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.stories.d.ts +22 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.stories.d.ts.map +1 -1
- package/dist/components/CopyToClipboard/CopyToClipboard.d.ts +11 -10
- package/dist/components/CopyToClipboard/CopyToClipboard.d.ts.map +1 -1
- package/dist/components/ErrorMessage/ErrorMessage.d.ts +5 -4
- package/dist/components/ErrorMessage/ErrorMessage.d.ts.map +1 -1
- package/dist/components/FormCheckBox/FormCheckBox.d.ts +13 -12
- package/dist/components/FormCheckBox/FormCheckBox.d.ts.map +1 -1
- package/dist/components/FormCheckBox/FormCheckbox.stories.d.ts +8 -1
- package/dist/components/FormCheckBox/FormCheckbox.stories.d.ts.map +1 -1
- package/dist/components/FormChipCell/FormChip/FormChip.d.ts +24 -23
- package/dist/components/FormChipCell/FormChip/FormChip.d.ts.map +1 -1
- package/dist/components/FormChipCell/FormChipCell.d.ts +30 -29
- package/dist/components/FormChipCell/FormChipCell.d.ts.map +1 -1
- package/dist/components/FormChipCell/FormChipCellView.d.ts +29 -28
- package/dist/components/FormChipCell/FormChipCellView.d.ts.map +1 -1
- package/dist/components/FormChipCell/HiddenChipsBlock/HiddenChipsBlock.d.ts +16 -7
- package/dist/components/FormChipCell/HiddenChipsBlock/HiddenChipsBlock.d.ts.map +1 -1
- package/dist/components/FormChipCell/NewChipForm/NewChipForm.d.ts +26 -18
- package/dist/components/FormChipCell/NewChipForm/NewChipForm.d.ts.map +1 -1
- package/dist/components/FormChipCell/NewChipInput/NewChipInput.d.ts +5 -4
- package/dist/components/FormChipCell/NewChipInput/NewChipInput.d.ts.map +1 -1
- package/dist/components/FormCombobox/FormCombobox.d.ts +44 -39
- package/dist/components/FormCombobox/FormCombobox.d.ts.map +1 -1
- package/dist/components/FormCombobox/FormCombobox.stories.d.ts +58 -6
- package/dist/components/FormCombobox/FormCombobox.stories.d.ts.map +1 -1
- package/dist/components/FormInput/FormInput.d.ts +77 -1
- package/dist/components/FormInput/FormInput.d.ts.map +1 -1
- package/dist/components/FormInput/FormInput.stories.d.ts +86 -8
- package/dist/components/FormInput/FormInput.stories.d.ts.map +1 -1
- package/dist/components/FormInput/InputNumberButtons/InputNumberButtons.d.ts +12 -11
- package/dist/components/FormInput/InputNumberButtons/InputNumberButtons.d.ts.map +1 -1
- package/dist/components/FormKeyValueTable/FormKeyValueTable.d.ts +41 -37
- package/dist/components/FormKeyValueTable/FormKeyValueTable.d.ts.map +1 -1
- package/dist/components/FormOnChange/FormOnChange.d.ts +4 -3
- package/dist/components/FormOnChange/FormOnChange.d.ts.map +1 -1
- package/dist/components/FormRadio/FormRadio.d.ts +10 -9
- package/dist/components/FormRadio/FormRadio.d.ts.map +1 -1
- package/dist/components/FormRadio/FormRadio.stories.d.ts +8 -1
- package/dist/components/FormRadio/FormRadio.stories.d.ts.map +1 -1
- package/dist/components/FormSelect/FormSelect.d.ts +44 -34
- package/dist/components/FormSelect/FormSelect.d.ts.map +1 -1
- package/dist/components/FormSelect/FormSelect.stories.d.ts +36 -4
- package/dist/components/FormSelect/FormSelect.stories.d.ts.map +1 -1
- package/dist/components/FormTextarea/FormTextarea.d.ts +31 -30
- package/dist/components/FormTextarea/FormTextarea.d.ts.map +1 -1
- package/dist/components/FormTextarea/FormTextarea.stories.d.ts +26 -3
- package/dist/components/FormTextarea/FormTextarea.stories.d.ts.map +1 -1
- package/dist/components/FormToggle/FormToggle.d.ts +14 -13
- package/dist/components/FormToggle/FormToggle.d.ts.map +1 -1
- package/dist/components/LoadButton/LoadButton.d.ts +8 -7
- package/dist/components/LoadButton/LoadButton.d.ts.map +1 -1
- package/dist/components/LoadButton/LoadButton.stories.d.ts +29 -3
- package/dist/components/LoadButton/LoadButton.stories.d.ts.map +1 -1
- package/dist/components/Loader/Loader.d.ts +14 -1
- package/dist/components/Loader/Loader.d.ts.map +1 -1
- package/dist/components/Loader/LoaderForSuspenseFallback.d.ts +2 -1
- package/dist/components/Loader/LoaderForSuspenseFallback.d.ts.map +1 -1
- package/dist/components/Modal/Modal.d.ts +19 -18
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/components/PopUpDialog/PopUpDialog.d.ts +22 -20
- package/dist/components/PopUpDialog/PopUpDialog.d.ts.map +1 -1
- package/dist/components/ReadOnlyChips/ReadOnlyChips.d.ts +5 -4
- package/dist/components/ReadOnlyChips/ReadOnlyChips.d.ts.map +1 -1
- package/dist/components/RoundedIcon/RoundedIcon.d.ts +15 -14
- package/dist/components/RoundedIcon/RoundedIcon.d.ts.map +1 -1
- package/dist/components/RoundedIcon/RoundedIcon.stories.d.ts +13 -2
- package/dist/components/RoundedIcon/RoundedIcon.stories.d.ts.map +1 -1
- package/dist/components/TableCell/TableCell.d.ts +20 -19
- package/dist/components/TableCell/TableCell.d.ts.map +1 -1
- package/dist/components/TabsSlider/TabsSlider.d.ts +18 -12
- package/dist/components/TabsSlider/TabsSlider.d.ts.map +1 -1
- package/dist/components/Tip/Tip.d.ts +7 -6
- package/dist/components/Tip/Tip.d.ts.map +1 -1
- package/dist/components/Tip/Tip.stories.d.ts +6 -1
- package/dist/components/Tip/Tip.stories.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +17 -16
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.stories.d.ts +16 -2
- package/dist/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
- package/dist/components/TooltipTemplate/ProducerTooltipTemplate.d.ts +6 -5
- package/dist/components/TooltipTemplate/ProducerTooltipTemplate.d.ts.map +1 -1
- package/dist/components/TooltipTemplate/TextTooltipTemplate.d.ts +6 -5
- package/dist/components/TooltipTemplate/TextTooltipTemplate.d.ts.map +1 -1
- package/dist/components/Wizard/Wizard.d.ts +16 -15
- package/dist/components/Wizard/Wizard.d.ts.map +1 -1
- package/dist/components/Wizard/WizardSteps/WizardSteps.d.ts +13 -6
- package/dist/components/Wizard/WizardSteps/WizardSteps.d.ts.map +1 -1
- package/dist/elements/ActionsMenuItem/ActionsMenuItem.d.ts +7 -6
- package/dist/elements/ActionsMenuItem/ActionsMenuItem.d.ts.map +1 -1
- package/dist/elements/FormActionButton/FormActionButton.d.ts +13 -12
- package/dist/elements/FormActionButton/FormActionButton.d.ts.map +1 -1
- package/dist/elements/FormRowActions/FormRowActions.d.ts +14 -13
- package/dist/elements/FormRowActions/FormRowActions.d.ts.map +1 -1
- package/dist/elements/OptionsMenu/OptionsMenu.d.ts +7 -6
- package/dist/elements/OptionsMenu/OptionsMenu.d.ts.map +1 -1
- package/dist/elements/SelectOption/SelectOption.d.ts +20 -10
- package/dist/elements/SelectOption/SelectOption.d.ts.map +1 -1
- package/dist/elements/TableHead/TableHead.d.ts +8 -7
- package/dist/elements/TableHead/TableHead.d.ts.map +1 -1
- package/dist/elements/TableLinkCell/TableLinkCell.d.ts +15 -14
- package/dist/elements/TableLinkCell/TableLinkCell.d.ts.map +1 -1
- package/dist/elements/TableTypeCell/TableTypeCell.d.ts +5 -4
- package/dist/elements/TableTypeCell/TableTypeCell.d.ts.map +1 -1
- package/dist/elements/ValidationTemplate/ValidationTemplate.d.ts +4 -3
- package/dist/elements/ValidationTemplate/ValidationTemplate.d.ts.map +1 -1
- package/dist/hooks/useDetails.hook.d.ts +35 -29
- package/dist/hooks/useDetails.hook.d.ts.map +1 -1
- package/dist/hooks/useDetailsHeader.hook.d.ts +59 -44
- package/dist/hooks/useDetailsHeader.hook.d.ts.map +1 -1
- package/dist/hooks/useFormTable.hook.d.ts +5 -5
- package/dist/hooks/useTable.hook.d.ts +42 -32
- package/dist/hooks/useTable.hook.d.ts.map +1 -1
- package/dist/images/activeFilter.svg +6 -0
- package/dist/images/activeFilter.svg.mjs +6 -0
- package/dist/images/activeFilter.svg.mjs.map +1 -0
- package/dist/images/calendar-chevron.svg +3 -0
- package/dist/images/calendar-chevron.svg.mjs +6 -0
- package/dist/images/calendar-chevron.svg.mjs.map +1 -0
- package/dist/images/check.svg +3 -0
- package/dist/images/check.svg.mjs +6 -0
- package/dist/images/check.svg.mjs.map +1 -0
- package/dist/images/clock.svg.mjs +6 -0
- package/dist/images/clock.svg.mjs.map +1 -0
- package/dist/images/double-check.svg +3 -0
- package/dist/images/filter-2.svg +5 -0
- package/dist/images/filter-2.svg.mjs +6 -0
- package/dist/images/filter-2.svg.mjs.map +1 -0
- package/dist/images/refresh-2.svg +3 -0
- package/dist/images/refresh-2.svg.mjs +6 -0
- package/dist/images/refresh-2.svg.mjs.map +1 -0
- package/dist/images/search2-icon.svg +3 -0
- package/dist/images/select.svg +3 -0
- package/dist/images/select.svg.mjs +6 -0
- package/dist/images/select.svg.mjs.map +1 -0
- package/dist/images/sort-arrow.svg +3 -0
- package/dist/images/sort-arrow.svg.mjs +6 -0
- package/dist/images/sort-arrow.svg.mjs.map +1 -0
- package/dist/nextGenComponents/components/CustomRangePicker/CustomRangePicker.d.ts +10 -0
- package/dist/nextGenComponents/components/CustomRangePicker/CustomRangePicker.d.ts.map +1 -0
- package/dist/nextGenComponents/components/CustomRangePicker/CustomRangePicker.mjs +103 -0
- package/dist/nextGenComponents/components/CustomRangePicker/CustomRangePicker.mjs.map +1 -0
- package/dist/nextGenComponents/components/CustomRangePicker/DateTimePickerPanel.d.ts +14 -0
- package/dist/nextGenComponents/components/CustomRangePicker/DateTimePickerPanel.d.ts.map +1 -0
- package/dist/nextGenComponents/components/CustomRangePicker/DateTimePickerPanel.mjs +115 -0
- package/dist/nextGenComponents/components/CustomRangePicker/DateTimePickerPanel.mjs.map +1 -0
- package/dist/nextGenComponents/components/CustomRangePicker/MaskedInput.d.ts +14 -0
- package/dist/nextGenComponents/components/CustomRangePicker/MaskedInput.d.ts.map +1 -0
- package/dist/nextGenComponents/components/CustomRangePicker/MaskedInput.mjs +109 -0
- package/dist/nextGenComponents/components/CustomRangePicker/MaskedInput.mjs.map +1 -0
- package/dist/nextGenComponents/components/CustomRangePicker/TimePickerInput.d.ts +8 -0
- package/dist/nextGenComponents/components/CustomRangePicker/TimePickerInput.d.ts.map +1 -0
- package/dist/nextGenComponents/components/CustomRangePicker/TimePickerInput.mjs +109 -0
- package/dist/nextGenComponents/components/CustomRangePicker/TimePickerInput.mjs.map +1 -0
- package/dist/nextGenComponents/components/CustomRangePicker/index.d.ts +2 -0
- package/dist/nextGenComponents/components/CustomRangePicker/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/CustomRangePicker/index.mjs +5 -0
- package/dist/nextGenComponents/components/CustomRangePicker/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/DataTable/DataTable.d.ts +29 -0
- package/dist/nextGenComponents/components/DataTable/DataTable.d.ts.map +1 -0
- package/dist/nextGenComponents/components/DataTable/DataTable.mjs +223 -0
- package/dist/nextGenComponents/components/DataTable/DataTable.mjs.map +1 -0
- package/dist/nextGenComponents/components/DataTable/DataTable.utils.d.ts +11 -0
- package/dist/nextGenComponents/components/DataTable/DataTable.utils.d.ts.map +1 -0
- package/dist/nextGenComponents/components/DataTable/DataTable.utils.mjs +17 -0
- package/dist/nextGenComponents/components/DataTable/DataTable.utils.mjs.map +1 -0
- package/dist/nextGenComponents/components/DataTable/checkboxColumn.d.ts +4 -0
- package/dist/nextGenComponents/components/DataTable/checkboxColumn.d.ts.map +1 -0
- package/dist/nextGenComponents/components/DataTable/checkboxColumn.mjs +30 -0
- package/dist/nextGenComponents/components/DataTable/checkboxColumn.mjs.map +1 -0
- package/dist/nextGenComponents/components/DataTable/index.d.ts +2 -0
- package/dist/nextGenComponents/components/DataTable/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/DataTable/index.mjs +5 -0
- package/dist/nextGenComponents/components/DataTable/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/DetailsPanel/DetailsPanel.d.ts +11 -0
- package/dist/nextGenComponents/components/DetailsPanel/DetailsPanel.d.ts.map +1 -0
- package/dist/nextGenComponents/components/DetailsPanel/DetailsPanel.mjs +53 -0
- package/dist/nextGenComponents/components/DetailsPanel/DetailsPanel.mjs.map +1 -0
- package/dist/nextGenComponents/components/DetailsPanel/index.d.ts +2 -0
- package/dist/nextGenComponents/components/DetailsPanel/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/DetailsPanel/index.mjs +5 -0
- package/dist/nextGenComponents/components/DetailsPanel/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/EllipsisTooltip/EllipsisTooltip.d.ts +8 -0
- package/dist/nextGenComponents/components/EllipsisTooltip/EllipsisTooltip.d.ts.map +1 -0
- package/dist/nextGenComponents/components/EllipsisTooltip/EllipsisTooltip.mjs +20 -0
- package/dist/nextGenComponents/components/EllipsisTooltip/EllipsisTooltip.mjs.map +1 -0
- package/dist/nextGenComponents/components/EllipsisTooltip/index.d.ts +2 -0
- package/dist/nextGenComponents/components/EllipsisTooltip/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/EllipsisTooltip/index.mjs +5 -0
- package/dist/nextGenComponents/components/EllipsisTooltip/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/FilterPopover/FilterPopover.d.ts +10 -0
- package/dist/nextGenComponents/components/FilterPopover/FilterPopover.d.ts.map +1 -0
- package/dist/nextGenComponents/components/FilterPopover/FilterPopover.mjs +157 -0
- package/dist/nextGenComponents/components/FilterPopover/FilterPopover.mjs.map +1 -0
- package/dist/nextGenComponents/components/FilterPopover/index.d.ts +2 -0
- package/dist/nextGenComponents/components/FilterPopover/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/FilterPopover/index.mjs +5 -0
- package/dist/nextGenComponents/components/FilterPopover/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/Loader/Loader.d.ts +16 -0
- package/dist/nextGenComponents/components/Loader/Loader.d.ts.map +1 -0
- package/dist/nextGenComponents/components/Loader/Loader.mjs +62 -0
- package/dist/nextGenComponents/components/Loader/Loader.mjs.map +1 -0
- package/dist/nextGenComponents/components/Loader/index.d.ts +3 -0
- package/dist/nextGenComponents/components/Loader/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/Loader/index.mjs +5 -0
- package/dist/nextGenComponents/components/Loader/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/MultiSelectField/MultiSelectField.d.ts +15 -0
- package/dist/nextGenComponents/components/MultiSelectField/MultiSelectField.d.ts.map +1 -0
- package/dist/nextGenComponents/components/MultiSelectField/MultiSelectField.mjs +113 -0
- package/dist/nextGenComponents/components/MultiSelectField/MultiSelectField.mjs.map +1 -0
- package/dist/nextGenComponents/components/MultiSelectField/index.d.ts +3 -0
- package/dist/nextGenComponents/components/MultiSelectField/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/MultiSelectField/index.mjs +6 -0
- package/dist/nextGenComponents/components/MultiSelectField/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/PaginationControls/PaginationControls.d.ts +17 -0
- package/dist/nextGenComponents/components/PaginationControls/PaginationControls.d.ts.map +1 -0
- package/dist/nextGenComponents/components/PaginationControls/PaginationControls.mjs +106 -0
- package/dist/nextGenComponents/components/PaginationControls/PaginationControls.mjs.map +1 -0
- package/dist/nextGenComponents/components/PaginationControls/index.d.ts +3 -0
- package/dist/nextGenComponents/components/PaginationControls/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/PaginationControls/index.mjs +5 -0
- package/dist/nextGenComponents/components/PaginationControls/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/RefreshButton/RefreshButton.d.ts +5 -0
- package/dist/nextGenComponents/components/RefreshButton/RefreshButton.d.ts.map +1 -0
- package/dist/nextGenComponents/components/RefreshButton/RefreshButton.mjs +20 -0
- package/dist/nextGenComponents/components/RefreshButton/RefreshButton.mjs.map +1 -0
- package/dist/nextGenComponents/components/RefreshButton/index.d.ts +2 -0
- package/dist/nextGenComponents/components/RefreshButton/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/RefreshButton/index.mjs +5 -0
- package/dist/nextGenComponents/components/RefreshButton/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/RowActions/ActionMenu/ActionMenu.d.ts +8 -0
- package/dist/nextGenComponents/components/RowActions/ActionMenu/ActionMenu.d.ts.map +1 -0
- package/dist/nextGenComponents/components/RowActions/ActionMenu/ActionMenu.mjs +58 -0
- package/dist/nextGenComponents/components/RowActions/ActionMenu/ActionMenu.mjs.map +1 -0
- package/dist/nextGenComponents/components/RowActions/RowActions.d.ts +8 -0
- package/dist/nextGenComponents/components/RowActions/RowActions.d.ts.map +1 -0
- package/dist/nextGenComponents/components/RowActions/RowActions.mjs +19 -0
- package/dist/nextGenComponents/components/RowActions/RowActions.mjs.map +1 -0
- package/dist/nextGenComponents/components/RowActions/SingleActionButton/SingleActionButton.d.ts +9 -0
- package/dist/nextGenComponents/components/RowActions/SingleActionButton/SingleActionButton.d.ts.map +1 -0
- package/dist/nextGenComponents/components/RowActions/SingleActionButton/SingleActionButton.mjs +27 -0
- package/dist/nextGenComponents/components/RowActions/SingleActionButton/SingleActionButton.mjs.map +1 -0
- package/dist/nextGenComponents/components/RowActions/index.d.ts +5 -0
- package/dist/nextGenComponents/components/RowActions/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/RowActions/index.mjs +9 -0
- package/dist/nextGenComponents/components/RowActions/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/StatsCard/StatsCard.d.ts +47 -0
- package/dist/nextGenComponents/components/StatsCard/StatsCard.d.ts.map +1 -0
- package/dist/nextGenComponents/components/StatsCard/StatsCard.mjs +75 -0
- package/dist/nextGenComponents/components/StatsCard/StatsCard.mjs.map +1 -0
- package/dist/nextGenComponents/components/StatsCard/index.d.ts +2 -0
- package/dist/nextGenComponents/components/StatsCard/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/StatsCard/index.mjs +5 -0
- package/dist/nextGenComponents/components/StatsCard/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/TimeFilterDropdown/TimeFilterDropdown.d.ts +4 -0
- package/dist/nextGenComponents/components/TimeFilterDropdown/TimeFilterDropdown.d.ts.map +1 -0
- package/dist/nextGenComponents/components/TimeFilterDropdown/TimeFilterDropdown.mjs +106 -0
- package/dist/nextGenComponents/components/TimeFilterDropdown/TimeFilterDropdown.mjs.map +1 -0
- package/dist/nextGenComponents/components/TimeFilterDropdown/index.d.ts +2 -0
- package/dist/nextGenComponents/components/TimeFilterDropdown/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/TimeFilterDropdown/index.mjs +5 -0
- package/dist/nextGenComponents/components/TimeFilterDropdown/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/index.d.ts +32 -0
- package/dist/nextGenComponents/components/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/index.mjs +83 -0
- package/dist/nextGenComponents/components/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/button.d.ts +14 -0
- package/dist/nextGenComponents/components/ui/button.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/button.mjs +56 -0
- package/dist/nextGenComponents/components/ui/button.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/calendar.d.ts +29 -0
- package/dist/nextGenComponents/components/ui/calendar.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/calendar.mjs +157 -0
- package/dist/nextGenComponents/components/ui/calendar.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/card.d.ts +9 -0
- package/dist/nextGenComponents/components/ui/card.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/card.mjs +50 -0
- package/dist/nextGenComponents/components/ui/card.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/checkbox.d.ts +8 -0
- package/dist/nextGenComponents/components/ui/checkbox.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/checkbox.mjs +33 -0
- package/dist/nextGenComponents/components/ui/checkbox.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/dropdown-menu.d.ts +28 -0
- package/dist/nextGenComponents/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/dropdown-menu.mjs +131 -0
- package/dist/nextGenComponents/components/ui/dropdown-menu.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/input.d.ts +4 -0
- package/dist/nextGenComponents/components/ui/input.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/input.mjs +33 -0
- package/dist/nextGenComponents/components/ui/input.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/pagination.d.ts +25 -0
- package/dist/nextGenComponents/components/ui/pagination.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/pagination.mjs +93 -0
- package/dist/nextGenComponents/components/ui/pagination.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/popover.d.ts +7 -0
- package/dist/nextGenComponents/components/ui/popover.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/popover.mjs +24 -0
- package/dist/nextGenComponents/components/ui/popover.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/scroll-area.d.ts +6 -0
- package/dist/nextGenComponents/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/scroll-area.mjs +39 -0
- package/dist/nextGenComponents/components/ui/scroll-area.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/select.d.ts +14 -0
- package/dist/nextGenComponents/components/ui/select.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/select.mjs +117 -0
- package/dist/nextGenComponents/components/ui/select.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/separator.d.ts +5 -0
- package/dist/nextGenComponents/components/ui/separator.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/separator.mjs +25 -0
- package/dist/nextGenComponents/components/ui/separator.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/tabs.d.ts +8 -0
- package/dist/nextGenComponents/components/ui/tabs.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/tabs.mjs +56 -0
- package/dist/nextGenComponents/components/ui/tabs.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/tooltip.d.ts +8 -0
- package/dist/nextGenComponents/components/ui/tooltip.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/tooltip.mjs +24 -0
- package/dist/nextGenComponents/components/ui/tooltip.mjs.map +1 -0
- package/dist/nextGenComponents/constants/index.d.ts +41 -0
- package/dist/nextGenComponents/constants/index.d.ts.map +1 -0
- package/dist/nextGenComponents/constants/index.mjs +49 -0
- package/dist/nextGenComponents/constants/index.mjs.map +1 -0
- package/dist/nextGenComponents/hooks/useClickOutside.d.ts +3 -0
- package/dist/nextGenComponents/hooks/useClickOutside.d.ts.map +1 -0
- package/dist/nextGenComponents/hooks/useClickOutside.mjs +22 -0
- package/dist/nextGenComponents/hooks/useClickOutside.mjs.map +1 -0
- package/dist/nextGenComponents/index.d.ts +4 -0
- package/dist/nextGenComponents/index.d.ts.map +1 -0
- package/dist/nextGenComponents/index.mjs +103 -0
- package/dist/nextGenComponents/index.mjs.map +1 -0
- package/dist/nextGenComponents/lib/utils.d.ts +3 -0
- package/dist/nextGenComponents/lib/utils.d.ts.map +1 -0
- package/dist/nextGenComponents/lib/utils.mjs +7 -0
- package/dist/nextGenComponents/lib/utils.mjs.map +1 -0
- package/dist/nextGenComponents/stores/tableStore.d.ts +22 -0
- package/dist/nextGenComponents/stores/tableStore.d.ts.map +1 -0
- package/dist/nextGenComponents/stores/tableStore.mjs +36 -0
- package/dist/nextGenComponents/stores/tableStore.mjs.map +1 -0
- package/dist/nextGenComponents/types/table/filter.d.ts +21 -0
- package/dist/nextGenComponents/types/table/filter.d.ts.map +1 -0
- package/dist/nextGenComponents/types/table/rowAction.d.ts +13 -0
- package/dist/nextGenComponents/types/table/rowAction.d.ts.map +1 -0
- package/dist/nextGenComponents/types/table/timeFilter.d.ts +23 -0
- package/dist/nextGenComponents/types/table/timeFilter.d.ts.map +1 -0
- package/dist/nextGenComponents/utils/date.utils.d.ts +24 -0
- package/dist/nextGenComponents/utils/date.utils.d.ts.map +1 -0
- package/dist/nextGenComponents/utils/date.utils.mjs +79 -0
- package/dist/nextGenComponents/utils/date.utils.mjs.map +1 -0
- package/dist/nextGenComponents/utils/tableFilters.utils.d.ts +7 -0
- package/dist/nextGenComponents/utils/tableFilters.utils.d.ts.map +1 -0
- package/dist/nextGenComponents/utils/tableFilters.utils.mjs +7 -0
- package/dist/nextGenComponents/utils/tableFilters.utils.mjs.map +1 -0
- package/dist/reducers/notificationReducer.d.ts +1 -1
- package/dist/scss/common.scss +3 -0
- package/dist/scss/details.scss +4 -0
- package/dist/types.d.ts +148 -31
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/chips.util.d.ts +2 -2
- package/dist/utils/chips.util.d.ts.map +1 -1
- package/dist/utils/chips.util.mjs +27 -9
- package/dist/utils/chips.util.mjs.map +1 -1
- package/dist/utils/common.util.d.ts +1 -1
- package/dist/utils/common.util.d.ts.map +1 -1
- package/dist/utils/datetime.util.d.ts +3 -3
- package/dist/utils/datetime.util.d.ts.map +1 -1
- package/dist/utils/generateChipsList.util.d.ts +1 -1
- package/dist/utils/notification.util.d.ts +1 -1
- package/dist/utils/notification.util.d.ts.map +1 -1
- package/dist/utils/proxyServerConfig.util.d.ts +4 -4
- package/package.json +40 -11
|
@@ -6,62 +6,75 @@ export function useDetailsHeader({ handleCancel, handleShowWarning, isDetailsPop
|
|
|
6
6
|
}): {
|
|
7
7
|
DetailsHeaderContainer: {
|
|
8
8
|
({ actionButton, actionsMenu, applyChanges, applyChangesRef, cancelChanges, commonDetailsStore, getCloseDetailsLink, getDefaultCloseDetailsLink, handleActionClick, handleCancelClick, handleRefresh, headerRef, isDetailsPopUp, isDetailsScreen, location, navigate, pageData, params, renderCustomElements, renderStatus, renderTitle, selectedItem, showAllVersions, tab, viewMode, withActionMenu, withToggleViewBtn }: {
|
|
9
|
-
actionButton?:
|
|
9
|
+
actionButton?: null | undefined;
|
|
10
10
|
actionsMenu: any;
|
|
11
11
|
applyChanges: any;
|
|
12
12
|
applyChangesRef: any;
|
|
13
13
|
cancelChanges: any;
|
|
14
14
|
commonDetailsStore: any;
|
|
15
|
-
getCloseDetailsLink?:
|
|
15
|
+
getCloseDetailsLink?: null | undefined;
|
|
16
16
|
getDefaultCloseDetailsLink: any;
|
|
17
17
|
handleActionClick: any;
|
|
18
18
|
handleCancelClick: any;
|
|
19
|
-
handleRefresh?:
|
|
19
|
+
handleRefresh?: null | undefined;
|
|
20
20
|
headerRef: any;
|
|
21
|
-
isDetailsPopUp?: boolean;
|
|
21
|
+
isDetailsPopUp?: boolean | undefined;
|
|
22
22
|
isDetailsScreen: any;
|
|
23
23
|
location: any;
|
|
24
24
|
navigate: any;
|
|
25
25
|
pageData: any;
|
|
26
26
|
params: any;
|
|
27
|
-
renderCustomElements?:
|
|
28
|
-
renderStatus?:
|
|
27
|
+
renderCustomElements?: null | undefined;
|
|
28
|
+
renderStatus?: null | undefined;
|
|
29
29
|
renderTitle: any;
|
|
30
30
|
selectedItem: any;
|
|
31
|
-
showAllVersions?:
|
|
32
|
-
tab?: string;
|
|
33
|
-
viewMode?: string;
|
|
34
|
-
withActionMenu?: boolean;
|
|
35
|
-
withToggleViewBtn?: boolean;
|
|
36
|
-
}): JSX.Element;
|
|
31
|
+
showAllVersions?: null | undefined;
|
|
32
|
+
tab?: string | undefined;
|
|
33
|
+
viewMode?: string | undefined;
|
|
34
|
+
withActionMenu?: boolean | undefined;
|
|
35
|
+
withToggleViewBtn?: boolean | undefined;
|
|
36
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
37
37
|
propTypes: {
|
|
38
|
-
actionButton:
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
38
|
+
actionButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
39
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
40
|
+
hidden: PropTypes.Requireable<boolean>;
|
|
41
|
+
label: PropTypes.Validator<string>;
|
|
42
|
+
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
43
|
+
tooltip: PropTypes.Requireable<string>;
|
|
44
|
+
variant: PropTypes.Requireable<string>;
|
|
45
|
+
}>>;
|
|
46
|
+
actionsMenu: PropTypes.Validator<NonNullable<NonNullable<((...args: any[]) => any) | (NonNullable<PropTypes.InferProps<{
|
|
47
|
+
label: PropTypes.Validator<string>;
|
|
48
|
+
icon: PropTypes.Requireable<object>;
|
|
49
|
+
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
50
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
51
|
+
className: PropTypes.Requireable<string>;
|
|
52
|
+
}>>[] | null | undefined)[] | null | undefined>>>;
|
|
53
|
+
applyChanges: PropTypes.Validator<(...args: any[]) => any>;
|
|
54
|
+
applyChangesRef: PropTypes.Validator<object>;
|
|
55
|
+
cancelChanges: PropTypes.Validator<(...args: any[]) => any>;
|
|
56
|
+
commonDetailsStore: PropTypes.Validator<object>;
|
|
57
|
+
getCloseDetailsLink: PropTypes.Requireable<(...args: any[]) => any>;
|
|
58
|
+
getDefaultCloseDetailsLink: PropTypes.Validator<(...args: any[]) => any>;
|
|
59
|
+
handleActionClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
60
|
+
handleCancelClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
61
|
+
handleRefresh: PropTypes.Requireable<(...args: any[]) => any>;
|
|
62
|
+
headerRef: PropTypes.Validator<object>;
|
|
63
|
+
isDetailsPopUp: PropTypes.Requireable<boolean>;
|
|
64
|
+
isDetailsScreen: PropTypes.Validator<boolean>;
|
|
65
|
+
location: PropTypes.Validator<object>;
|
|
66
|
+
navigate: PropTypes.Validator<(...args: any[]) => any>;
|
|
67
|
+
pageData: PropTypes.Validator<object>;
|
|
68
|
+
params: PropTypes.Validator<object>;
|
|
69
|
+
renderCustomElements: PropTypes.Requireable<(...args: any[]) => any>;
|
|
70
|
+
renderStatus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
71
|
+
renderTitle: PropTypes.Validator<(...args: any[]) => any>;
|
|
72
|
+
selectedItem: PropTypes.Validator<object>;
|
|
73
|
+
showAllVersions: PropTypes.Requireable<(...args: any[]) => any>;
|
|
74
|
+
tab: PropTypes.Requireable<string>;
|
|
75
|
+
viewMode: PropTypes.Requireable<string>;
|
|
76
|
+
withActionMenu: PropTypes.Requireable<boolean>;
|
|
77
|
+
withToggleViewBtn: PropTypes.Requireable<boolean>;
|
|
65
78
|
};
|
|
66
79
|
};
|
|
67
80
|
actionButton: any;
|
|
@@ -69,12 +82,14 @@ export function useDetailsHeader({ handleCancel, handleShowWarning, isDetailsPop
|
|
|
69
82
|
handleActionClick: (event: any, handler: any) => Promise<void>;
|
|
70
83
|
handleBackClick: () => void;
|
|
71
84
|
handleCancelClick: () => void;
|
|
72
|
-
headerRef:
|
|
73
|
-
location: import("react-router
|
|
74
|
-
navigate: import("react-router
|
|
75
|
-
params: Readonly<import("react-router
|
|
85
|
+
headerRef: React.MutableRefObject<undefined>;
|
|
86
|
+
location: import("react-router").Location<any>;
|
|
87
|
+
navigate: import("react-router").NavigateFunction;
|
|
88
|
+
params: Readonly<import("react-router").Params<string>>;
|
|
76
89
|
showAllVersions: any;
|
|
77
|
-
viewMode: string;
|
|
90
|
+
viewMode: string | undefined;
|
|
78
91
|
withToggleViewBtn: any;
|
|
79
92
|
};
|
|
93
|
+
import PropTypes from 'prop-types';
|
|
94
|
+
import React from 'react';
|
|
80
95
|
//# sourceMappingURL=useDetailsHeader.hook.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDetailsHeader.hook.d.ts","sourceRoot":"","sources":["../../src/lib/hooks/useDetailsHeader.hook.jsx"],"names":[],"mappings":"AA0OO
|
|
1
|
+
{"version":3,"file":"useDetailsHeader.hook.d.ts","sourceRoot":"","sources":["../../src/lib/hooks/useDetailsHeader.hook.jsx"],"names":[],"mappings":"AA0OO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkDN;sBAvQqB,YAAY;kBADS,OAAO"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export function useFormTable(formState: any, exitEditModeTriggerItem: any, onExitEditModeCallback: any): {
|
|
2
2
|
addNewRow: (event: any, fields: any, fieldsPath: any, newItem: any) => void;
|
|
3
3
|
applyChanges: (event: any, index: any) => void;
|
|
4
|
-
applyOrDiscardOrDelete: (event?:
|
|
5
|
-
bottomScrollRef: import("react").MutableRefObject<
|
|
4
|
+
applyOrDiscardOrDelete: (event?: null) => void;
|
|
5
|
+
bottomScrollRef: import("react").MutableRefObject<null>;
|
|
6
6
|
deleteRow: (event: any, fieldsPath: any, index: any) => void;
|
|
7
7
|
discardChanges: (event: any, fieldsPath: any, index: any) => void;
|
|
8
8
|
discardOrDelete: (event: any, fieldsPath: any, index: any) => void;
|
|
9
|
-
editingItem:
|
|
10
|
-
editingItemRef: import("react").MutableRefObject<
|
|
9
|
+
editingItem: null;
|
|
10
|
+
editingItemRef: import("react").MutableRefObject<null>;
|
|
11
11
|
enterEditMode: (event: any, fields: any, fieldsPath: any, index: any) => void;
|
|
12
12
|
exitEditMode: () => void;
|
|
13
13
|
getTableArrayErrors: (fieldsPath: any) => any;
|
|
14
|
-
isCurrentRowEditing: (rowPath: any) =>
|
|
14
|
+
isCurrentRowEditing: (rowPath: any) => null;
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=useFormTable.hook.d.ts.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export function useTable({ ref, selectedItem, skipTableWrapper, tableClassName }: {
|
|
2
2
|
ref: any;
|
|
3
3
|
selectedItem: any;
|
|
4
|
-
skipTableWrapper?: boolean;
|
|
5
|
-
tableClassName?: string;
|
|
4
|
+
skipTableWrapper?: boolean | undefined;
|
|
5
|
+
tableClassName?: string | undefined;
|
|
6
6
|
}): {
|
|
7
7
|
TableContainer: {
|
|
8
8
|
({ children, hideActionsMenu, mainRowItemsCount, pageData, renderDetails, selectedItem, sortProps, tableBodyRef, tableClass, tableContentRef, tableHeadRef, tableHeaders, tablePanelRef, tableRef, tableStore, tableWrapperClass, virtualizationConfig }: {
|
|
9
9
|
children: any;
|
|
10
|
-
hideActionsMenu?: boolean;
|
|
11
|
-
mainRowItemsCount?: number;
|
|
12
|
-
pageData?:
|
|
13
|
-
renderDetails?:
|
|
14
|
-
selectedItem?: {};
|
|
15
|
-
sortProps?:
|
|
10
|
+
hideActionsMenu?: boolean | undefined;
|
|
11
|
+
mainRowItemsCount?: number | undefined;
|
|
12
|
+
pageData?: null | undefined;
|
|
13
|
+
renderDetails?: null | undefined;
|
|
14
|
+
selectedItem?: {} | undefined;
|
|
15
|
+
sortProps?: null | undefined;
|
|
16
16
|
tableBodyRef: any;
|
|
17
17
|
tableClass: any;
|
|
18
18
|
tableContentRef: any;
|
|
@@ -20,39 +20,47 @@ export function useTable({ ref, selectedItem, skipTableWrapper, tableClassName }
|
|
|
20
20
|
tableHeaders: any;
|
|
21
21
|
tablePanelRef: any;
|
|
22
22
|
tableRef: any;
|
|
23
|
-
tableStore?:
|
|
23
|
+
tableStore?: null | undefined;
|
|
24
24
|
tableWrapperClass: any;
|
|
25
25
|
virtualizationConfig?: {
|
|
26
26
|
tableBodyPaddingTop: number;
|
|
27
27
|
startIndex: number;
|
|
28
28
|
endIndex: number;
|
|
29
|
-
};
|
|
30
|
-
}): JSX.Element;
|
|
29
|
+
} | undefined;
|
|
30
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
31
31
|
propTypes: {
|
|
32
|
-
children:
|
|
33
|
-
hideActionsMenu:
|
|
34
|
-
mainRowItemsCount:
|
|
35
|
-
pageData:
|
|
36
|
-
renderDetails: any
|
|
37
|
-
selectedItem:
|
|
38
|
-
sortProps:
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
32
|
+
children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
33
|
+
hideActionsMenu: PropTypes.Requireable<boolean>;
|
|
34
|
+
mainRowItemsCount: PropTypes.Requireable<number>;
|
|
35
|
+
pageData: PropTypes.Requireable<object>;
|
|
36
|
+
renderDetails: PropTypes.Requireable<(...args: any[]) => any>;
|
|
37
|
+
selectedItem: PropTypes.Requireable<object>;
|
|
38
|
+
sortProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
39
|
+
selectedColumnName: PropTypes.Validator<string>;
|
|
40
|
+
getSortingIcon: PropTypes.Validator<(...args: any[]) => any>;
|
|
41
|
+
sortTable: PropTypes.Validator<(...args: any[]) => any>;
|
|
42
|
+
}>>;
|
|
43
|
+
tableBodyRef: PropTypes.Validator<object>;
|
|
44
|
+
tableClass: PropTypes.Validator<string>;
|
|
45
|
+
tableContentRef: PropTypes.Validator<object>;
|
|
46
|
+
tableHeadRef: PropTypes.Validator<object>;
|
|
47
|
+
tableHeaders: PropTypes.Validator<(object | null | undefined)[]>;
|
|
48
|
+
tablePanelRef: PropTypes.Validator<object>;
|
|
49
|
+
tableRef: PropTypes.Validator<object>;
|
|
50
|
+
tableStore: PropTypes.Requireable<object>;
|
|
51
|
+
tableWrapperClass: PropTypes.Validator<string>;
|
|
52
|
+
virtualizationConfig: PropTypes.Requireable<PropTypes.InferProps<{
|
|
53
|
+
startIndex: PropTypes.Validator<number>;
|
|
54
|
+
endIndex: PropTypes.Validator<number>;
|
|
55
|
+
tableBodyPaddingTop: PropTypes.Validator<number>;
|
|
56
|
+
}>>;
|
|
49
57
|
};
|
|
50
58
|
};
|
|
51
59
|
tableBodyRef: any;
|
|
52
60
|
tableClass: string;
|
|
53
|
-
tableContentRef:
|
|
54
|
-
tableHeadRef:
|
|
55
|
-
tablePanelRef:
|
|
61
|
+
tableContentRef: React.MutableRefObject<null>;
|
|
62
|
+
tableHeadRef: React.MutableRefObject<null>;
|
|
63
|
+
tablePanelRef: React.MutableRefObject<null>;
|
|
56
64
|
tableRef: any;
|
|
57
65
|
tableStore: any;
|
|
58
66
|
tableWrapperClass: string;
|
|
@@ -61,6 +69,8 @@ export function useTableScroll({ content, selectedItem, isAllVersions, tableId }
|
|
|
61
69
|
content: any;
|
|
62
70
|
selectedItem: any;
|
|
63
71
|
isAllVersions: any;
|
|
64
|
-
tableId?: string;
|
|
72
|
+
tableId?: string | undefined;
|
|
65
73
|
}): void;
|
|
74
|
+
import PropTypes from 'prop-types';
|
|
75
|
+
import React from 'react';
|
|
66
76
|
//# sourceMappingURL=useTable.hook.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTable.hook.d.ts","sourceRoot":"","sources":["../../src/lib/hooks/useTable.hook.jsx"],"names":[],"mappings":"AAoHO
|
|
1
|
+
{"version":3,"file":"useTable.hook.d.ts","sourceRoot":"","sources":["../../src/lib/hooks/useTable.hook.jsx"],"names":[],"mappings":"AAoHO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4EN;AAEM;;;;;SA8EN;sBA5PqB,YAAY;kBAD6B,OAAO"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="21" height="18" viewBox="0 0 21 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M21 4C21 6.20914 19.2091 8 17 8C14.7909 8 13 6.20914 13 4C13 1.79086 14.7909 0 17 0C19.2091 0 21 1.79086 21 4Z" fill="#869CFF"/>
|
|
3
|
+
<path d="M11 4H0V6.33333H11.4706C11.1676 5.61607 11 4.8276 11 4Z" fill="#7F7989"/>
|
|
4
|
+
<path d="M15.5898 9.83333C15.9379 9.91719 16.2978 9.9707 16.6667 9.9909V12.1667H3.33333V9.83333H15.5898Z" fill="#7F7989"/>
|
|
5
|
+
<path d="M7.77778 15.6667H12.2222V18H7.77778V15.6667Z" fill="#7F7989"/>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
const l = (t) => /* @__PURE__ */ e.createElement("svg", { width: 21, height: 18, viewBox: "0 0 21 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M21 4C21 6.20914 19.2091 8 17 8C14.7909 8 13 6.20914 13 4C13 1.79086 14.7909 0 17 0C19.2091 0 21 1.79086 21 4Z", fill: "#869CFF" }), /* @__PURE__ */ e.createElement("path", { d: "M11 4H0V6.33333H11.4706C11.1676 5.61607 11 4.8276 11 4Z", fill: "#7F7989" }), /* @__PURE__ */ e.createElement("path", { d: "M15.5898 9.83333C15.9379 9.91719 16.2978 9.9707 16.6667 9.9909V12.1667H3.33333V9.83333H15.5898Z", fill: "#7F7989" }), /* @__PURE__ */ e.createElement("path", { d: "M7.77778 15.6667H12.2222V18H7.77778V15.6667Z", fill: "#7F7989" }));
|
|
3
|
+
export {
|
|
4
|
+
l as default
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=activeFilter.svg.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"activeFilter.svg.mjs","sources":["../../src/lib/images/activeFilter.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgActiveFilter = (props) => /* @__PURE__ */ React.createElement(\"svg\", { width: 21, height: 18, viewBox: \"0 0 21 18\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ...props }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M21 4C21 6.20914 19.2091 8 17 8C14.7909 8 13 6.20914 13 4C13 1.79086 14.7909 0 17 0C19.2091 0 21 1.79086 21 4Z\", fill: \"#869CFF\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M11 4H0V6.33333H11.4706C11.1676 5.61607 11 4.8276 11 4Z\", fill: \"#7F7989\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M15.5898 9.83333C15.9379 9.91719 16.2978 9.9707 16.6667 9.9909V12.1667H3.33333V9.83333H15.5898Z\", fill: \"#7F7989\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M7.77778 15.6667H12.2222V18H7.77778V15.6667Z\", fill: \"#7F7989\" }));\nexport default SvgActiveFilter;\n"],"names":["SvgActiveFilter","props","React"],"mappings":";AACK,MAACA,IAAkB,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,OAAO,8BAA8B,GAAGD,EAAK,GAAoB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,GAAG,kHAAkH,MAAM,UAAS,CAAE,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,2DAA2D,MAAM,WAAW,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,mGAAmG,MAAM,UAAS,CAAE,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,gDAAgD,MAAM,UAAS,CAAE,CAAC;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
const o = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 7, height: 12, viewBox: "0 0 7 12", fill: "none", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M1 1L6 6L1 11", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
3
|
+
export {
|
|
4
|
+
o as default
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=calendar-chevron.svg.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar-chevron.svg.mjs","sources":["../../src/lib/images/calendar-chevron.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgCalendarChevron = (props) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 7, height: 12, viewBox: \"0 0 7 12\", fill: \"none\", ...props }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M1 1L6 6L1 11\", stroke: \"currentColor\", strokeWidth: 1.5, strokeLinecap: \"round\", strokeLinejoin: \"round\" }));\nexport default SvgCalendarChevron;\n"],"names":["SvgCalendarChevron","props","React"],"mappings":";AACK,MAACA,IAAqB,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,GAAG,QAAQ,IAAI,SAAS,YAAY,MAAM,QAAQ,GAAGD,EAAK,GAAoB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,GAAG,iBAAiB,QAAQ,gBAAgB,aAAa,KAAK,eAAe,SAAS,gBAAgB,SAAS,CAAC;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
const l = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 20, height: 15, viewBox: "0 0 20 15", fill: "none", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M6.35197 11.8356L1.60932 7.17294L0 8.75513L6.35197 15L19.9999 1.58218L18.3906 0L6.35197 11.8356Z", fill: "#49AF53" }));
|
|
3
|
+
export {
|
|
4
|
+
l as default
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=check.svg.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check.svg.mjs","sources":["../../src/lib/images/check.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgCheck = (props) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 20, height: 15, viewBox: \"0 0 20 15\", fill: \"none\", ...props }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M6.35197 11.8356L1.60932 7.17294L0 8.75513L6.35197 15L19.9999 1.58218L18.3906 0L6.35197 11.8356Z\", fill: \"#49AF53\" }));\nexport default SvgCheck;\n"],"names":["SvgCheck","props","React"],"mappings":";AACK,MAACA,IAAW,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,GAAGD,EAAK,GAAoB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,GAAG,oGAAoG,MAAM,UAAS,CAAE,CAAC;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
const l = (t) => /* @__PURE__ */ e.createElement("svg", { width: 12, height: 12, viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M5.994 0C2.682 0 0 2.688 0 6C0 9.312 2.682 12 5.994 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 5.994 0ZM6 10.8C3.348 10.8 1.2 8.652 1.2 6C1.2 3.348 3.348 1.2 6 1.2C8.652 1.2 10.8 3.348 10.8 6C10.8 8.652 8.652 10.8 6 10.8Z", fill: "white" }), /* @__PURE__ */ e.createElement("path", { d: "M6.50003 3H5.40002V6.6L8.55002 8.49L9.20003 7.602L6.50003 6V3Z", fill: "white" }));
|
|
3
|
+
export {
|
|
4
|
+
l as default
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=clock.svg.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clock.svg.mjs","sources":["../../src/lib/images/clock.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgClock = (props) => /* @__PURE__ */ React.createElement(\"svg\", { width: 12, height: 12, viewBox: \"0 0 12 12\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ...props }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M5.994 0C2.682 0 0 2.688 0 6C0 9.312 2.682 12 5.994 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 5.994 0ZM6 10.8C3.348 10.8 1.2 8.652 1.2 6C1.2 3.348 3.348 1.2 6 1.2C8.652 1.2 10.8 3.348 10.8 6C10.8 8.652 8.652 10.8 6 10.8Z\", fill: \"white\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M6.50003 3H5.40002V6.6L8.55002 8.49L9.20003 7.602L6.50003 6V3Z\", fill: \"white\" }));\nexport default SvgClock;\n"],"names":["SvgClock","props","React"],"mappings":";AACK,MAACA,IAAW,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,OAAO,8BAA8B,GAAGD,EAAK,GAAoB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,GAAG,iOAAiO,MAAM,QAAO,CAAE,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,kEAAkE,MAAM,SAAS,CAAC;"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="22" height="13" viewBox="0 0 22 13" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M5.65 12.025L0 6.375L1.425 4.975L7.075 10.625L5.65 12.025ZM11.3 12.025L5.65 6.375L7.05 4.95L11.3 9.2L20.5 0L21.9 1.425L11.3 12.025ZM11.3 6.375L9.875 4.975L14.825 0.025L16.25 1.425L11.3 6.375Z" fill="#7E768A"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M2 5H22V7.33333H2V5Z" fill="#7F7989"/>
|
|
3
|
+
<path d="M5.33333 10.8333H18.6667V13.1667H5.33333V10.8333Z" fill="#7F7989"/>
|
|
4
|
+
<path d="M14.2222 16.6667H9.77778V19H14.2222V16.6667Z" fill="#7F7989"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
const l = (t) => /* @__PURE__ */ e.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M2 5H22V7.33333H2V5Z", fill: "#7F7989" }), /* @__PURE__ */ e.createElement("path", { d: "M5.33333 10.8333H18.6667V13.1667H5.33333V10.8333Z", fill: "#7F7989" }), /* @__PURE__ */ e.createElement("path", { d: "M14.2222 16.6667H9.77778V19H14.2222V16.6667Z", fill: "#7F7989" }));
|
|
3
|
+
export {
|
|
4
|
+
l as default
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=filter-2.svg.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter-2.svg.mjs","sources":["../../src/lib/images/filter-2.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgFilter2 = (props) => /* @__PURE__ */ React.createElement(\"svg\", { width: 24, height: 24, viewBox: \"0 0 24 24\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ...props }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M2 5H22V7.33333H2V5Z\", fill: \"#7F7989\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M5.33333 10.8333H18.6667V13.1667H5.33333V10.8333Z\", fill: \"#7F7989\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M14.2222 16.6667H9.77778V19H14.2222V16.6667Z\", fill: \"#7F7989\" }));\nexport default SvgFilter2;\n"],"names":["SvgFilter2","props","React"],"mappings":";AACK,MAACA,IAAa,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,OAAO,8BAA8B,GAAGD,EAAK,GAAoB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,GAAG,wBAAwB,MAAM,WAAW,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,qDAAqD,MAAM,UAAS,CAAE,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,gDAAgD,MAAM,WAAW,CAAC;"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 16 16" fill="none">
|
|
2
|
+
<path d="M13.6485 2.35C12.1976 0.9 10.2064 0 7.995 0C3.57223 0 0 3.58 0 8C0 12.42 3.57223 16 7.995 16C11.7273 16 14.8393 13.45 15.7298 10H13.6485C12.828 12.33 10.6066 14 7.995 14C4.68293 14 1.99124 11.31 1.99124 8C1.99124 4.69 4.68293 2 7.995 2C9.65603 2 11.137 2.69 12.2176 3.78L8.99562 7H16V0L13.6485 2.35Z" fill="#7F7989"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
const l = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 16 16", fill: "none", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M13.6485 2.35C12.1976 0.9 10.2064 0 7.995 0C3.57223 0 0 3.58 0 8C0 12.42 3.57223 16 7.995 16C11.7273 16 14.8393 13.45 15.7298 10H13.6485C12.828 12.33 10.6066 14 7.995 14C4.68293 14 1.99124 11.31 1.99124 8C1.99124 4.69 4.68293 2 7.995 2C9.65603 2 11.137 2.69 12.2176 3.78L8.99562 7H16V0L13.6485 2.35Z", fill: "#7F7989" }));
|
|
3
|
+
export {
|
|
4
|
+
l as default
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=refresh-2.svg.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refresh-2.svg.mjs","sources":["../../src/lib/images/refresh-2.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgRefresh2 = (props) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 24, height: 24, viewBox: \"0 0 16 16\", fill: \"none\", ...props }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M13.6485 2.35C12.1976 0.9 10.2064 0 7.995 0C3.57223 0 0 3.58 0 8C0 12.42 3.57223 16 7.995 16C11.7273 16 14.8393 13.45 15.7298 10H13.6485C12.828 12.33 10.6066 14 7.995 14C4.68293 14 1.99124 11.31 1.99124 8C1.99124 4.69 4.68293 2 7.995 2C9.65603 2 11.137 2.69 12.2176 3.78L8.99562 7H16V0L13.6485 2.35Z\", fill: \"#7F7989\" }));\nexport default SvgRefresh2;\n"],"names":["SvgRefresh2","props","React"],"mappings":";AACK,MAACA,IAAc,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,GAAGD,EAAK,GAAoB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,GAAG,+SAA+S,MAAM,UAAS,CAAE,CAAC;"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M14.2857 12.5714H13.3714L13.0286 12.2286C14.1714 10.9714 14.8571 9.25714 14.8571 7.42857C14.8571 3.31429 11.5429 0 7.42857 0C3.31429 0 0 3.31429 0 7.42857C0 11.5429 3.31429 14.8571 7.42857 14.8571C9.25714 14.8571 10.9714 14.1714 12.2286 13.0286L12.5714 13.3714V14.2857L18.2857 20L20 18.2857L14.2857 12.5714ZM7.42857 12.5714C4.57143 12.5714 2.28571 10.2857 2.28571 7.42857C2.28571 4.57143 4.57143 2.28571 7.42857 2.28571C10.2857 2.28571 12.5714 4.57143 12.5714 7.42857C12.5714 10.2857 10.2857 12.5714 7.42857 12.5714Z" fill="#7E768A"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
const l = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 13, height: 6, viewBox: "0 0 13 6", fill: "none", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M6.0625 6L0.000322908 -1.05734e-06L12.1247 -7.59139e-08L6.0625 6Z", fill: "#7F7989" }));
|
|
3
|
+
export {
|
|
4
|
+
l as default
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=select.svg.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.svg.mjs","sources":["../../src/lib/images/select.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgSelect = (props) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 13, height: 6, viewBox: \"0 0 13 6\", fill: \"none\", ...props }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M6.0625 6L0.000322908 -1.05734e-06L12.1247 -7.59139e-08L6.0625 6Z\", fill: \"#7F7989\" }));\nexport default SvgSelect;\n"],"names":["SvgSelect","props","React"],"mappings":";AACK,MAACA,IAAY,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,GAAG,SAAS,YAAY,MAAM,QAAQ,GAAGD,EAAK,GAAoB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,GAAG,qEAAqE,MAAM,UAAS,CAAE,CAAC;"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8" fill="none">
|
|
2
|
+
<path d="M7.78527 4.11091L7.07816 3.40381L4.39618 6.08579L4.39618 1.90735e-06H3.39618L3.39618 6.09283L0.707107 3.40376L0 4.11087L3.88909 7.99995L3.89261 7.99643L3.89618 8L7.78527 4.11091Z" fill="#7F7989"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
const L = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 8, height: 8, viewBox: "0 0 8 8", fill: "none", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M7.78527 4.11091L7.07816 3.40381L4.39618 6.08579L4.39618 1.90735e-06H3.39618L3.39618 6.09283L0.707107 3.40376L0 4.11087L3.88909 7.99995L3.89261 7.99643L3.89618 8L7.78527 4.11091Z", fill: "#7F7989" }));
|
|
3
|
+
export {
|
|
4
|
+
L as default
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=sort-arrow.svg.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sort-arrow.svg.mjs","sources":["../../src/lib/images/sort-arrow.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgSortArrow = (props) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 8, height: 8, viewBox: \"0 0 8 8\", fill: \"none\", ...props }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M7.78527 4.11091L7.07816 3.40381L4.39618 6.08579L4.39618 1.90735e-06H3.39618L3.39618 6.09283L0.707107 3.40376L0 4.11087L3.88909 7.99995L3.89261 7.99643L3.89618 8L7.78527 4.11091Z\", fill: \"#7F7989\" }));\nexport default SvgSortArrow;\n"],"names":["SvgSortArrow","props","React"],"mappings":";AACK,MAACA,IAAe,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,GAAG,QAAQ,GAAG,SAAS,WAAW,MAAM,QAAQ,GAAGD,EAAK,GAAoB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,GAAG,sLAAsL,MAAM,UAAS,CAAE,CAAC;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { CustomDateRange } from '@/types/table/timeFilter';
|
|
2
|
+
type Props = {
|
|
3
|
+
onApply?: (range: CustomDateRange) => void;
|
|
4
|
+
singleDate?: boolean;
|
|
5
|
+
onReset?: () => void;
|
|
6
|
+
initialRange?: CustomDateRange;
|
|
7
|
+
};
|
|
8
|
+
declare const CustomRangePicker: ({ onApply, singleDate, onReset, initialRange }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default CustomRangePicker;
|
|
10
|
+
//# sourceMappingURL=CustomRangePicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomRangePicker.d.ts","sourceRoot":"","sources":["../../../../src/lib/nextGenComponents/components/CustomRangePicker/CustomRangePicker.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAU/D,KAAK,KAAK,GAAG;IACX,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAA;IAC1C,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,YAAY,CAAC,EAAE,eAAe,CAAA;CAC/B,CAAA;AAKD,QAAA,MAAM,iBAAiB,GAAI,gDAAwD,KAAK,4CA4HvF,CAAA;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { jsxs as l, jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { AlertCircle as I } from "lucide-react";
|
|
3
|
+
import { useState as T, useMemo as O } from "react";
|
|
4
|
+
import { DateTimePickerPanel as N } from "./DateTimePickerPanel.mjs";
|
|
5
|
+
import { Button as H } from "../ui/button.mjs";
|
|
6
|
+
import { RESET as P, FILTER_BUTTON_APPLY as L } from "../../constants/index.mjs";
|
|
7
|
+
import { getDefaultSinceHour as U, getDefaultUntilHour as V, isoToLocalDate as S, isoToHour as v, applyHourToDate as h, toUTCISO as x } from "../../utils/date.utils.mjs";
|
|
8
|
+
const j = { from: void 0, to: void 0 }, z = '"To" must be later than "From"', J = ({ onApply: m, singleDate: s = !1, onReset: n, initialRange: r }) => {
|
|
9
|
+
const u = U(), f = V(), [o, b] = T({
|
|
10
|
+
from: S((r == null ? void 0 : r.since) ?? ""),
|
|
11
|
+
to: S((r == null ? void 0 : r.until) ?? "")
|
|
12
|
+
}), [d, p] = T({
|
|
13
|
+
from: v((r == null ? void 0 : r.since) ?? "") || u,
|
|
14
|
+
to: v((r == null ? void 0 : r.until) ?? "") || (s ? "" : f)
|
|
15
|
+
}), a = O(() => {
|
|
16
|
+
if (s || !o.from || !o.to) return "";
|
|
17
|
+
const t = h(o.from, d.from, u), e = h(o.to, d.to, f);
|
|
18
|
+
return t.getTime() > e.getTime() ? z : "";
|
|
19
|
+
}, [o.from, o.to, d.from, d.to, s, u, f]), C = () => {
|
|
20
|
+
b(j), p({ from: u, to: s ? "" : f }), n == null || n();
|
|
21
|
+
}, F = (t) => b((e) => ({ from: t, to: e.to })), i = (t) => b((e) => ({ from: e.from, to: t })), w = (t) => {
|
|
22
|
+
p((e) => ({ ...e, from: t }));
|
|
23
|
+
}, k = (t) => {
|
|
24
|
+
p((e) => ({ ...e, to: t }));
|
|
25
|
+
}, E = !o.from && !o.to, _ = (s ? !o.from : !o.from || !o.to) || !!a, D = () => {
|
|
26
|
+
if (a || !o.from) return;
|
|
27
|
+
const t = h(o.from, d.from, u);
|
|
28
|
+
if (s) {
|
|
29
|
+
m == null || m({ since: x(t), until: "" });
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
if (!o.to) return;
|
|
33
|
+
const e = h(o.to, d.to, f);
|
|
34
|
+
m == null || m({ since: x(t), until: x(e) });
|
|
35
|
+
};
|
|
36
|
+
return /* @__PURE__ */ l("div", { className: "flex flex-col gap-6 bg-white p-6 w-fit", children: [
|
|
37
|
+
/* @__PURE__ */ l("div", { className: s ? "" : "grid grid-cols-2 gap-8", children: [
|
|
38
|
+
/* @__PURE__ */ c(
|
|
39
|
+
N,
|
|
40
|
+
{
|
|
41
|
+
label: s ? "" : "From:",
|
|
42
|
+
side: "start",
|
|
43
|
+
dateValue: o.from,
|
|
44
|
+
range: o,
|
|
45
|
+
hourValue: d.from,
|
|
46
|
+
singleDate: s,
|
|
47
|
+
onHourChange: w,
|
|
48
|
+
onSelectDate: F
|
|
49
|
+
}
|
|
50
|
+
),
|
|
51
|
+
!s && /* @__PURE__ */ c(
|
|
52
|
+
N,
|
|
53
|
+
{
|
|
54
|
+
label: "To:",
|
|
55
|
+
side: "end",
|
|
56
|
+
dateValue: o.to,
|
|
57
|
+
range: o,
|
|
58
|
+
hourValue: d.to,
|
|
59
|
+
onHourChange: k,
|
|
60
|
+
onSelectDate: i
|
|
61
|
+
}
|
|
62
|
+
)
|
|
63
|
+
] }),
|
|
64
|
+
a && /* @__PURE__ */ l(
|
|
65
|
+
"div",
|
|
66
|
+
{
|
|
67
|
+
className: "flex items-center gap-3 rounded-md border border-red-300 bg-red-50 px-4 py-3",
|
|
68
|
+
"data-testid": "custom-date-error",
|
|
69
|
+
children: [
|
|
70
|
+
/* @__PURE__ */ c(I, { className: "h-5 w-5 shrink-0 text-red-500" }),
|
|
71
|
+
/* @__PURE__ */ c("span", { className: "text-sm font-medium text-red-600", children: a })
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
),
|
|
75
|
+
/* @__PURE__ */ l("div", { className: "flex justify-end gap-3 pt-4", children: [
|
|
76
|
+
/* @__PURE__ */ c(
|
|
77
|
+
H,
|
|
78
|
+
{
|
|
79
|
+
variant: "secondary",
|
|
80
|
+
className: "px-6 py-2 bg-white w-[90px] border-[1.5px] border-igz-gray text-[#4B4760] rounded-md hover:bg-[#483F561F]",
|
|
81
|
+
"data-testid": "custom-date-reset-btn",
|
|
82
|
+
onClick: C,
|
|
83
|
+
disabled: E,
|
|
84
|
+
children: P
|
|
85
|
+
}
|
|
86
|
+
),
|
|
87
|
+
/* @__PURE__ */ c(
|
|
88
|
+
H,
|
|
89
|
+
{
|
|
90
|
+
className: "px-6 py-2 bg-igz-light-purple w-[90px] text-white hover:bg-igz-dark-purple rounded-md",
|
|
91
|
+
"data-testid": "custom-date-apply-btn",
|
|
92
|
+
onClick: D,
|
|
93
|
+
disabled: _,
|
|
94
|
+
children: L
|
|
95
|
+
}
|
|
96
|
+
)
|
|
97
|
+
] })
|
|
98
|
+
] });
|
|
99
|
+
};
|
|
100
|
+
export {
|
|
101
|
+
J as default
|
|
102
|
+
};
|
|
103
|
+
//# sourceMappingURL=CustomRangePicker.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomRangePicker.mjs","sources":["../../../../src/lib/nextGenComponents/components/CustomRangePicker/CustomRangePicker.tsx"],"sourcesContent":["import { AlertCircle } from 'lucide-react'\nimport { useMemo, useState } from 'react'\nimport type { DateRange } from 'react-day-picker'\n\nimport { DateTimePickerPanel } from '@/components/CustomRangePicker/DateTimePickerPanel'\nimport { Button } from '@/components/ui/button'\nimport { FILTER_BUTTON_APPLY, RESET } from '@/constants'\nimport type { CustomDateRange } from '@/types/table/timeFilter'\nimport {\n applyHourToDate,\n getDefaultSinceHour,\n getDefaultUntilHour,\n isoToHour,\n isoToLocalDate,\n toUTCISO\n} from '@/utils/date.utils'\n\ntype Props = {\n onApply?: (range: CustomDateRange) => void\n singleDate?: boolean\n onReset?: () => void\n initialRange?: CustomDateRange\n}\n\nconst INITIAL_RANGE: DateRange = { from: undefined, to: undefined }\nconst FROM_AFTER_TO_ERROR = '\"To\" must be later than \"From\"'\n\nconst CustomRangePicker = ({ onApply, singleDate = false, onReset, initialRange }: Props) => {\n const defaultSinceHour = getDefaultSinceHour()\n const defaultUntilHour = getDefaultUntilHour()\n\n const [date, setDate] = useState<DateRange>({\n from: isoToLocalDate(initialRange?.since ?? ''),\n to: isoToLocalDate(initialRange?.until ?? '')\n })\n const [hours, setHours] = useState<{ from: string; to: string }>({\n from: isoToHour(initialRange?.since ?? '') || defaultSinceHour,\n to: isoToHour(initialRange?.until ?? '') || (singleDate ? '' : defaultUntilHour)\n })\n\n const errorMessage = useMemo(() => {\n if (singleDate || !date.from || !date.to) return ''\n\n const fromDate = applyHourToDate(date.from, hours.from, defaultSinceHour)\n const toDate = applyHourToDate(date.to, hours.to, defaultUntilHour)\n\n if (fromDate.getTime() > toDate.getTime()) {\n return FROM_AFTER_TO_ERROR\n }\n\n return ''\n }, [date.from, date.to, hours.from, hours.to, singleDate, defaultSinceHour, defaultUntilHour])\n\n const handleReset = () => {\n setDate(INITIAL_RANGE)\n setHours({ from: defaultSinceHour, to: singleDate ? '' : defaultUntilHour })\n onReset?.()\n }\n\n const handleSelectDateFrom = (selectedDate?: Date) =>\n setDate(prev => ({ from: selectedDate, to: prev.to }))\n\n const handleSelectDateTo = (selectedDate?: Date) =>\n setDate(prev => ({ from: prev.from, to: selectedDate }))\n\n const handleFromHourChange = (hour: string) => {\n setHours(prev => ({ ...prev, from: hour }))\n }\n\n const handleToHourChange = (hour: string) => {\n setHours(prev => ({ ...prev, to: hour }))\n }\n\n const hasNoDateSelected = !date.from && !date.to\n const isApplyDisabled = (singleDate ? !date.from : !date.from || !date.to) || !!errorMessage\n\n const handleApply = () => {\n if (errorMessage) return\n if (!date.from) return\n\n const since = applyHourToDate(date.from, hours.from, defaultSinceHour)\n\n if (singleDate) {\n onApply?.({ since: toUTCISO(since), until: '' })\n return\n }\n\n if (!date.to) return\n const until = applyHourToDate(date.to, hours.to, defaultUntilHour)\n\n onApply?.({ since: toUTCISO(since), until: toUTCISO(until) })\n }\n\n return (\n <div className=\"flex flex-col gap-6 bg-white p-6 w-fit\">\n <div className={singleDate ? '' : 'grid grid-cols-2 gap-8'}>\n <DateTimePickerPanel\n label={singleDate ? '' : 'From:'}\n side=\"start\"\n dateValue={date.from}\n range={date}\n hourValue={hours.from}\n singleDate={singleDate}\n onHourChange={handleFromHourChange}\n onSelectDate={handleSelectDateFrom}\n />\n\n {!singleDate && (\n <DateTimePickerPanel\n label=\"To:\"\n side=\"end\"\n dateValue={date.to}\n range={date}\n hourValue={hours.to}\n onHourChange={handleToHourChange}\n onSelectDate={handleSelectDateTo}\n />\n )}\n </div>\n\n {errorMessage && (\n <div\n className=\"flex items-center gap-3 rounded-md border border-red-300 bg-red-50 px-4 py-3\"\n data-testid=\"custom-date-error\"\n >\n <AlertCircle className=\"h-5 w-5 shrink-0 text-red-500\" />\n <span className=\"text-sm font-medium text-red-600\">{errorMessage}</span>\n </div>\n )}\n\n <div className=\"flex justify-end gap-3 pt-4\">\n <Button\n variant=\"secondary\"\n className=\"px-6 py-2 bg-white w-[90px] border-[1.5px] border-igz-gray text-[#4B4760] rounded-md hover:bg-[#483F561F]\"\n data-testid=\"custom-date-reset-btn\"\n onClick={handleReset}\n disabled={hasNoDateSelected}\n >\n {RESET}\n </Button>\n <Button\n className=\"px-6 py-2 bg-igz-light-purple w-[90px] text-white hover:bg-igz-dark-purple rounded-md\"\n data-testid=\"custom-date-apply-btn\"\n onClick={handleApply}\n disabled={isApplyDisabled}\n >\n {FILTER_BUTTON_APPLY}\n </Button>\n </div>\n </div>\n )\n}\n\nexport default CustomRangePicker\n"],"names":["INITIAL_RANGE","FROM_AFTER_TO_ERROR","CustomRangePicker","onApply","singleDate","onReset","initialRange","defaultSinceHour","getDefaultSinceHour","defaultUntilHour","getDefaultUntilHour","date","setDate","useState","isoToLocalDate","hours","setHours","isoToHour","errorMessage","useMemo","fromDate","applyHourToDate","toDate","handleReset","handleSelectDateFrom","selectedDate","prev","handleSelectDateTo","handleFromHourChange","hour","handleToHourChange","hasNoDateSelected","isApplyDisabled","handleApply","since","toUTCISO","until","jsxs","jsx","DateTimePickerPanel","AlertCircle","Button","RESET","FILTER_BUTTON_APPLY"],"mappings":"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"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { DateRange } from 'react-day-picker';
|
|
2
|
+
type Props = {
|
|
3
|
+
label: string;
|
|
4
|
+
side: 'start' | 'end';
|
|
5
|
+
dateValue?: Date;
|
|
6
|
+
range?: DateRange;
|
|
7
|
+
hourValue: string;
|
|
8
|
+
singleDate?: boolean;
|
|
9
|
+
onHourChange: (value: string) => void;
|
|
10
|
+
onSelectDate: (selectedDate?: Date) => void;
|
|
11
|
+
};
|
|
12
|
+
export declare const DateTimePickerPanel: ({ label, side, dateValue, range, hourValue, singleDate, onHourChange, onSelectDate }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=DateTimePickerPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateTimePickerPanel.d.ts","sourceRoot":"","sources":["../../../../src/lib/nextGenComponents/components/CustomRangePicker/DateTimePickerPanel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAiBjD,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,OAAO,GAAG,KAAK,CAAA;IACrB,SAAS,CAAC,EAAE,IAAI,CAAA;IAChB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,YAAY,EAAE,CAAC,YAAY,CAAC,EAAE,IAAI,KAAK,IAAI,CAAA;CAC5C,CAAA;AA+CD,eAAO,MAAM,mBAAmB,GAAI,sFASjC,KAAK,4CAgFP,CAAA"}
|