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
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import * as p from "@radix-ui/react-separator";
|
|
3
|
+
import { cn as i } from "../../lib/utils.mjs";
|
|
4
|
+
const s = ({
|
|
5
|
+
className: o,
|
|
6
|
+
orientation: r = "horizontal",
|
|
7
|
+
decorative: t = !0,
|
|
8
|
+
...a
|
|
9
|
+
}) => /* @__PURE__ */ m(
|
|
10
|
+
p.Root,
|
|
11
|
+
{
|
|
12
|
+
decorative: t,
|
|
13
|
+
orientation: r,
|
|
14
|
+
className: i(
|
|
15
|
+
"shrink-0 bg-border",
|
|
16
|
+
r === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
|
|
17
|
+
o
|
|
18
|
+
),
|
|
19
|
+
...a
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
export {
|
|
23
|
+
s as Separator
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=separator.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"separator.mjs","sources":["../../../../src/lib/nextGenComponents/components/ui/separator.tsx"],"sourcesContent":["import * as SeparatorPrimitive from '@radix-ui/react-separator'\nimport * as React from 'react'\n\nimport { cn } from '@/lib/utils'\n\nconst Separator = ({\n className,\n orientation = 'horizontal',\n decorative = true,\n ...props\n}: React.ComponentProps<typeof SeparatorPrimitive.Root>) => (\n <SeparatorPrimitive.Root\n decorative={decorative}\n orientation={orientation}\n className={cn(\n 'shrink-0 bg-border',\n orientation === 'horizontal' ? 'h-[1px] w-full' : 'h-full w-[1px]',\n className\n )}\n {...props}\n />\n)\n\nexport { Separator }\n"],"names":["Separator","className","orientation","decorative","props","jsx","SeparatorPrimitive","cn"],"mappings":";;;AAKA,MAAMA,IAAY,CAAC;AAAA,EACjB,WAAAC;AAAA,EACA,aAAAC,IAAc;AAAA,EACd,YAAAC,IAAa;AAAA,EACb,GAAGC;AACL,MACE,gBAAAC;AAAA,EAACC,EAAmB;AAAA,EAAnB;AAAA,IACC,YAAAH;AAAA,IACA,aAAAD;AAAA,IACA,WAAWK;AAAA,MACT;AAAA,MACAL,MAAgB,eAAe,mBAAmB;AAAA,MAClDD;AAAA,IAAA;AAAA,IAED,GAAGG;AAAA,EAAA;AACN;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const Tabs: ({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const TabsList: ({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.List>) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare const TabsTrigger: ({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare const TabsContent: ({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { Tabs, TabsList, TabsTrigger, TabsContent };
|
|
8
|
+
//# sourceMappingURL=tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../../src/lib/nextGenComponents/components/ui/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAA;AACrD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,QAAA,MAAM,IAAI,GAAI,yBAAyB,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,4CAQrF,CAAA;AAED,QAAA,MAAM,QAAQ,GAAI,yBAAyB,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,4CAWzF,CAAA;AAED,QAAA,MAAM,WAAW,GAAI,yBAGlB,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,4CAgBpD,CAAA;AAED,QAAA,MAAM,WAAW,GAAI,yBAGlB,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,4CAQpD,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import * as r from "@radix-ui/react-tabs";
|
|
3
|
+
import { cn as s } from "../../lib/utils.mjs";
|
|
4
|
+
const i = ({ className: t, ...e }) => /* @__PURE__ */ a(
|
|
5
|
+
r.Root,
|
|
6
|
+
{
|
|
7
|
+
"data-slot": "tabs",
|
|
8
|
+
className: s("flex flex-col gap-0", t),
|
|
9
|
+
...e
|
|
10
|
+
}
|
|
11
|
+
), l = ({ className: t, ...e }) => /* @__PURE__ */ a(
|
|
12
|
+
r.List,
|
|
13
|
+
{
|
|
14
|
+
"data-slot": "tabs-list",
|
|
15
|
+
className: s(
|
|
16
|
+
"flex w-fit items-center gap-3 bg-transparent border-b border-gray-200",
|
|
17
|
+
t
|
|
18
|
+
),
|
|
19
|
+
...e
|
|
20
|
+
}
|
|
21
|
+
), f = ({
|
|
22
|
+
className: t,
|
|
23
|
+
...e
|
|
24
|
+
}) => /* @__PURE__ */ a(
|
|
25
|
+
r.Trigger,
|
|
26
|
+
{
|
|
27
|
+
"data-slot": "tabs-trigger",
|
|
28
|
+
className: s(
|
|
29
|
+
"relative inline-flex select-none items-center justify-center whitespace-nowrap mr-2 pb-1 text-[16px] text-gray-500",
|
|
30
|
+
"hover:text-[#4B4760]",
|
|
31
|
+
"data-[state=active]:text-[#4B4760]",
|
|
32
|
+
"after:content-[''] after:absolute after:-bottom-[1px] after:left-0 after:h-[2px] after:bg-[#869CFF] after:w-0 data-[state=active]:after:w-full",
|
|
33
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-300 focus-visible:rounded-sm",
|
|
34
|
+
"first:px-4",
|
|
35
|
+
t
|
|
36
|
+
),
|
|
37
|
+
...e
|
|
38
|
+
}
|
|
39
|
+
), c = ({
|
|
40
|
+
className: t,
|
|
41
|
+
...e
|
|
42
|
+
}) => /* @__PURE__ */ a(
|
|
43
|
+
r.Content,
|
|
44
|
+
{
|
|
45
|
+
"data-slot": "tabs-content",
|
|
46
|
+
className: s("flex-1 outline-none pt-6", t),
|
|
47
|
+
...e
|
|
48
|
+
}
|
|
49
|
+
);
|
|
50
|
+
export {
|
|
51
|
+
i as Tabs,
|
|
52
|
+
c as TabsContent,
|
|
53
|
+
l as TabsList,
|
|
54
|
+
f as TabsTrigger
|
|
55
|
+
};
|
|
56
|
+
//# sourceMappingURL=tabs.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs.mjs","sources":["../../../../src/lib/nextGenComponents/components/ui/tabs.tsx"],"sourcesContent":["import * as TabsPrimitive from '@radix-ui/react-tabs'\nimport * as React from 'react'\n\nimport { cn } from '@/lib/utils'\n\nconst Tabs = ({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>) => {\n return (\n <TabsPrimitive.Root\n data-slot=\"tabs\"\n className={cn('flex flex-col gap-0', className)}\n {...props}\n />\n )\n}\n\nconst TabsList = ({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.List>) => {\n return (\n <TabsPrimitive.List\n data-slot=\"tabs-list\"\n className={cn(\n 'flex w-fit items-center gap-3 bg-transparent border-b border-gray-200',\n className\n )}\n {...props}\n />\n )\n}\n\nconst TabsTrigger = ({\n className,\n ...props\n}: React.ComponentProps<typeof TabsPrimitive.Trigger>) => {\n return (\n <TabsPrimitive.Trigger\n data-slot=\"tabs-trigger\"\n className={cn(\n 'relative inline-flex select-none items-center justify-center whitespace-nowrap mr-2 pb-1 text-[16px] text-gray-500',\n 'hover:text-[#4B4760]',\n 'data-[state=active]:text-[#4B4760]',\n \"after:content-[''] after:absolute after:-bottom-[1px] after:left-0 after:h-[2px] after:bg-[#869CFF] after:w-0 data-[state=active]:after:w-full\",\n 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-300 focus-visible:rounded-sm',\n 'first:px-4',\n className\n )}\n {...props}\n />\n )\n}\n\nconst TabsContent = ({\n className,\n ...props\n}: React.ComponentProps<typeof TabsPrimitive.Content>) => {\n return (\n <TabsPrimitive.Content\n data-slot=\"tabs-content\"\n className={cn('flex-1 outline-none pt-6', className)}\n {...props}\n />\n )\n}\n\nexport { Tabs, TabsList, TabsTrigger, TabsContent }\n"],"names":["Tabs","className","props","jsx","TabsPrimitive","cn","TabsList","TabsTrigger","TabsContent"],"mappings":";;;AAKA,MAAMA,IAAO,CAAC,EAAE,WAAAC,GAAW,GAAGC,QAE1B,gBAAAC;AAAA,EAACC,EAAc;AAAA,EAAd;AAAA,IACC,aAAU;AAAA,IACV,WAAWC,EAAG,uBAAuBJ,CAAS;AAAA,IAC7C,GAAGC;AAAA,EAAA;AAAA,GAKJI,IAAW,CAAC,EAAE,WAAAL,GAAW,GAAGC,QAE9B,gBAAAC;AAAA,EAACC,EAAc;AAAA,EAAd;AAAA,IACC,aAAU;AAAA,IACV,WAAWC;AAAA,MACT;AAAA,MACAJ;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,EAAA;AAAA,GAKJK,IAAc,CAAC;AAAA,EACnB,WAAAN;AAAA,EACA,GAAGC;AACL,MAEI,gBAAAC;AAAA,EAACC,EAAc;AAAA,EAAd;AAAA,IACC,aAAU;AAAA,IACV,WAAWC;AAAA,MACT;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACAJ;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,EAAA;AAAA,GAKJM,IAAc,CAAC;AAAA,EACnB,WAAAP;AAAA,EACA,GAAGC;AACL,MAEI,gBAAAC;AAAA,EAACC,EAAc;AAAA,EAAd;AAAA,IACC,aAAU;AAAA,IACV,WAAWC,EAAG,4BAA4BJ,CAAS;AAAA,IAClD,GAAGC;AAAA,EAAA;AAAA;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
4
|
+
declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
|
|
5
|
+
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
|
|
8
|
+
//# sourceMappingURL=tooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../src/lib/nextGenComponents/components/ui/tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAC3D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,QAAA,MAAM,eAAe,iDAA4B,CAAA;AAEjD,QAAA,MAAM,OAAO,yCAAwB,CAAA;AAErC,QAAA,MAAM,cAAc,gHAA2B,CAAA;AAE/C,QAAA,MAAM,cAAc,gKAalB,CAAA;AAGF,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import * as o from "@radix-ui/react-tooltip";
|
|
3
|
+
import * as d from "react";
|
|
4
|
+
import { cn as n } from "../../lib/utils.mjs";
|
|
5
|
+
const l = o.Provider, f = o.Root, c = o.Trigger, s = d.forwardRef(({ className: t, sideOffset: i = 4, ...e }, r) => /* @__PURE__ */ a(
|
|
6
|
+
o.Content,
|
|
7
|
+
{
|
|
8
|
+
ref: r,
|
|
9
|
+
sideOffset: i,
|
|
10
|
+
className: n(
|
|
11
|
+
"z-50 overflow-hidden rounded-md border bg-popover bg-igz-primary text-white px-2 py-1.5 text-[14px] shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",
|
|
12
|
+
t
|
|
13
|
+
),
|
|
14
|
+
...e
|
|
15
|
+
}
|
|
16
|
+
));
|
|
17
|
+
s.displayName = o.Content.displayName;
|
|
18
|
+
export {
|
|
19
|
+
f as Tooltip,
|
|
20
|
+
s as TooltipContent,
|
|
21
|
+
l as TooltipProvider,
|
|
22
|
+
c as TooltipTrigger
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=tooltip.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.mjs","sources":["../../../../src/lib/nextGenComponents/components/ui/tooltip.tsx"],"sourcesContent":["import * as TooltipPrimitive from '@radix-ui/react-tooltip'\nimport * as React from 'react'\n\nimport { cn } from '@/lib/utils'\n\nconst TooltipProvider = TooltipPrimitive.Provider\n\nconst Tooltip = TooltipPrimitive.Root\n\nconst TooltipTrigger = TooltipPrimitive.Trigger\n\nconst TooltipContent = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <TooltipPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(\n 'z-50 overflow-hidden rounded-md border bg-popover bg-igz-primary text-white px-2 py-1.5 text-[14px] shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]',\n className\n )}\n {...props}\n />\n))\nTooltipContent.displayName = TooltipPrimitive.Content.displayName\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider }\n"],"names":["TooltipProvider","TooltipPrimitive","Tooltip","TooltipTrigger","TooltipContent","React","className","sideOffset","props","ref","jsx","cn"],"mappings":";;;;AAKA,MAAMA,IAAkBC,EAAiB,UAEnCC,IAAUD,EAAiB,MAE3BE,IAAiBF,EAAiB,SAElCG,IAAiBC,EAAM,WAG3B,CAAC,EAAE,WAAAC,GAAW,YAAAC,IAAa,GAAG,GAAGC,KAASC,MAC1C,gBAAAC;AAAA,EAACT,EAAiB;AAAA,EAAjB;AAAA,IACC,KAAAQ;AAAA,IACA,YAAAF;AAAA,IACA,WAAWI;AAAA,MACT;AAAA,MACAL;AAAA,IAAA;AAAA,IAED,GAAGE;AAAA,EAAA;AACN,CACD;AACDJ,EAAe,cAAcH,EAAiB,QAAQ;"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { TimeFilterOption } from '@/types/table/timeFilter';
|
|
2
|
+
export declare const COPY = "Copy";
|
|
3
|
+
export declare const DATATABLE_TEXT: {
|
|
4
|
+
readonly CHECKBOX_COLUMN_ID: "select";
|
|
5
|
+
readonly PAGINATION_START_NO_ROWS: 0;
|
|
6
|
+
readonly SELECT_ALL: "Select all";
|
|
7
|
+
readonly SELECT_ROW: "Select row";
|
|
8
|
+
readonly SORT: "Sort";
|
|
9
|
+
};
|
|
10
|
+
export declare const DEFAULT_TIME_FILTER_OPTIONS: TimeFilterOption[];
|
|
11
|
+
export declare const START_TIME_LABEL = "Start time: ";
|
|
12
|
+
export declare const DETAILS_FALLBACK_TITLE = "Details";
|
|
13
|
+
export declare const ESTIMATED_ROW_HEIGHT = 48;
|
|
14
|
+
export declare const FILTER_BUTTON_APPLY = "Apply";
|
|
15
|
+
export declare const FILTER_BUTTON_CLEAR = "Clear";
|
|
16
|
+
export declare const FILTER_POPOVER_DEFAULT_TITLE = "Filter by";
|
|
17
|
+
export declare const STATS_CARD_TIMESTAMP = "Last 24 hrs";
|
|
18
|
+
export declare const LOG_OUT = "Log out";
|
|
19
|
+
export declare const NO_ROWS_MESSAGES = "No rows available";
|
|
20
|
+
export declare const PERSONAL_SETTING = "Personal Settings";
|
|
21
|
+
export declare const REFRESH_BUTTON_TITLE = "Refresh";
|
|
22
|
+
export declare const REMOTE_SETTING = "Remote Settings";
|
|
23
|
+
export declare const MORE_ACTIONS = "More actions";
|
|
24
|
+
export declare const SORT_DIRECTION: {
|
|
25
|
+
readonly ASC: "asc";
|
|
26
|
+
readonly DESC: "desc";
|
|
27
|
+
};
|
|
28
|
+
export declare const SHOWING = "Showing";
|
|
29
|
+
export declare const TIME_FILTER_CUSTOM_VALUE = "custom";
|
|
30
|
+
export declare const TIME_FILTER_RESET_VALUE = "any";
|
|
31
|
+
export declare const TIME_FILTER_FALLBACK_LABEL = "Any time";
|
|
32
|
+
export declare const RESET = "Reset";
|
|
33
|
+
export declare const EXPORT_TOAST: {
|
|
34
|
+
readonly TITLE_COMPLETED: "File is ready";
|
|
35
|
+
readonly TITLE_IN_PROGRESS: "Exporting file";
|
|
36
|
+
readonly TITLE_ERROR: "Export failed";
|
|
37
|
+
readonly EXPORTING: "· Exporting...";
|
|
38
|
+
readonly CLOSE: "Close";
|
|
39
|
+
};
|
|
40
|
+
export declare const HELP_TOOLTIP_ICON_SIZE = 16;
|
|
41
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/nextGenComponents/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAE3D,eAAO,MAAM,IAAI,SAAS,CAAA;AAE1B,eAAO,MAAM,cAAc;;;;;;CAMjB,CAAA;AAEV,eAAO,MAAM,2BAA2B,EAAE,gBAAgB,EAMzD,CAAA;AAED,eAAO,MAAM,gBAAgB,iBAAiB,CAAA;AAE9C,eAAO,MAAM,sBAAsB,YAAY,CAAA;AAE/C,eAAO,MAAM,oBAAoB,KAAK,CAAA;AAEtC,eAAO,MAAM,mBAAmB,UAAU,CAAA;AAE1C,eAAO,MAAM,mBAAmB,UAAU,CAAA;AAE1C,eAAO,MAAM,4BAA4B,cAAc,CAAA;AAEvD,eAAO,MAAM,oBAAoB,gBAAgB,CAAA;AAEjD,eAAO,MAAM,OAAO,YAAY,CAAA;AAEhC,eAAO,MAAM,gBAAgB,sBAAsB,CAAA;AAEnD,eAAO,MAAM,gBAAgB,sBAAsB,CAAA;AAEnD,eAAO,MAAM,oBAAoB,YAAY,CAAA;AAE7C,eAAO,MAAM,cAAc,oBAAoB,CAAA;AAE/C,eAAO,MAAM,YAAY,iBAAiB,CAAA;AAE1C,eAAO,MAAM,cAAc;;;CAGjB,CAAA;AAEV,eAAO,MAAM,OAAO,YAAY,CAAA;AAEhC,eAAO,MAAM,wBAAwB,WAAW,CAAA;AAEhD,eAAO,MAAM,uBAAuB,QAAQ,CAAA;AAE5C,eAAO,MAAM,0BAA0B,aAAa,CAAA;AAEpD,eAAO,MAAM,KAAK,UAAU,CAAA;AAE5B,eAAO,MAAM,YAAY;;;;;;CAMf,CAAA;AAEV,eAAO,MAAM,sBAAsB,KAAK,CAAA"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
const T = "Copy", E = {
|
|
2
|
+
CHECKBOX_COLUMN_ID: "select",
|
|
3
|
+
PAGINATION_START_NO_ROWS: 0,
|
|
4
|
+
SELECT_ALL: "Select all",
|
|
5
|
+
SELECT_ROW: "Select row",
|
|
6
|
+
SORT: "Sort"
|
|
7
|
+
}, t = [
|
|
8
|
+
{ value: "any", label: "Any time" },
|
|
9
|
+
{ value: "24h", label: "Last 24 hours" },
|
|
10
|
+
{ value: "7d", label: "Last 7 days" },
|
|
11
|
+
{ value: "30d", label: "Last 30 days" },
|
|
12
|
+
{ value: "custom", label: "Custom range", rightIcon: "chevron" }
|
|
13
|
+
], _ = "Start time: ", s = "Details", o = 48, L = "Apply", e = "Clear", S = "Filter by", n = "Last 24 hrs", I = "Log out", O = "No rows available", R = "Personal Settings", c = "Refresh", A = "Remote Settings", a = "More actions", l = {
|
|
14
|
+
ASC: "asc",
|
|
15
|
+
DESC: "desc"
|
|
16
|
+
}, C = "Showing", r = "custom", N = "any", i = "Any time", P = "Reset", M = {
|
|
17
|
+
TITLE_COMPLETED: "File is ready",
|
|
18
|
+
TITLE_IN_PROGRESS: "Exporting file",
|
|
19
|
+
TITLE_ERROR: "Export failed",
|
|
20
|
+
EXPORTING: "· Exporting...",
|
|
21
|
+
CLOSE: "Close"
|
|
22
|
+
}, F = 16;
|
|
23
|
+
export {
|
|
24
|
+
T as COPY,
|
|
25
|
+
E as DATATABLE_TEXT,
|
|
26
|
+
t as DEFAULT_TIME_FILTER_OPTIONS,
|
|
27
|
+
s as DETAILS_FALLBACK_TITLE,
|
|
28
|
+
o as ESTIMATED_ROW_HEIGHT,
|
|
29
|
+
M as EXPORT_TOAST,
|
|
30
|
+
L as FILTER_BUTTON_APPLY,
|
|
31
|
+
e as FILTER_BUTTON_CLEAR,
|
|
32
|
+
S as FILTER_POPOVER_DEFAULT_TITLE,
|
|
33
|
+
F as HELP_TOOLTIP_ICON_SIZE,
|
|
34
|
+
I as LOG_OUT,
|
|
35
|
+
a as MORE_ACTIONS,
|
|
36
|
+
O as NO_ROWS_MESSAGES,
|
|
37
|
+
R as PERSONAL_SETTING,
|
|
38
|
+
c as REFRESH_BUTTON_TITLE,
|
|
39
|
+
A as REMOTE_SETTING,
|
|
40
|
+
P as RESET,
|
|
41
|
+
C as SHOWING,
|
|
42
|
+
l as SORT_DIRECTION,
|
|
43
|
+
_ as START_TIME_LABEL,
|
|
44
|
+
n as STATS_CARD_TIMESTAMP,
|
|
45
|
+
r as TIME_FILTER_CUSTOM_VALUE,
|
|
46
|
+
i as TIME_FILTER_FALLBACK_LABEL,
|
|
47
|
+
N as TIME_FILTER_RESET_VALUE
|
|
48
|
+
};
|
|
49
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../src/lib/nextGenComponents/constants/index.ts"],"sourcesContent":["import { TimeFilterOption } from '@/types/table/timeFilter'\n\nexport const COPY = 'Copy'\n\nexport const DATATABLE_TEXT = {\n CHECKBOX_COLUMN_ID: 'select',\n PAGINATION_START_NO_ROWS: 0,\n SELECT_ALL: 'Select all',\n SELECT_ROW: 'Select row',\n SORT: 'Sort'\n} as const\n\nexport const DEFAULT_TIME_FILTER_OPTIONS: TimeFilterOption[] = [\n { value: 'any', label: 'Any time' },\n { value: '24h', label: 'Last 24 hours' },\n { value: '7d', label: 'Last 7 days' },\n { value: '30d', label: 'Last 30 days' },\n { value: 'custom', label: 'Custom range', rightIcon: 'chevron' }\n]\n\nexport const START_TIME_LABEL = 'Start time: '\n\nexport const DETAILS_FALLBACK_TITLE = 'Details'\n\nexport const ESTIMATED_ROW_HEIGHT = 48\n\nexport const FILTER_BUTTON_APPLY = 'Apply'\n\nexport const FILTER_BUTTON_CLEAR = 'Clear'\n\nexport const FILTER_POPOVER_DEFAULT_TITLE = 'Filter by'\n\nexport const STATS_CARD_TIMESTAMP = 'Last 24 hrs'\n\nexport const LOG_OUT = 'Log out'\n\nexport const NO_ROWS_MESSAGES = 'No rows available'\n\nexport const PERSONAL_SETTING = 'Personal Settings'\n\nexport const REFRESH_BUTTON_TITLE = 'Refresh'\n\nexport const REMOTE_SETTING = 'Remote Settings'\n\nexport const MORE_ACTIONS = 'More actions'\n\nexport const SORT_DIRECTION = {\n ASC: 'asc',\n DESC: 'desc'\n} as const\n\nexport const SHOWING = 'Showing'\n\nexport const TIME_FILTER_CUSTOM_VALUE = 'custom'\n\nexport const TIME_FILTER_RESET_VALUE = 'any'\n\nexport const TIME_FILTER_FALLBACK_LABEL = 'Any time'\n\nexport const RESET = 'Reset'\n\nexport const EXPORT_TOAST = {\n TITLE_COMPLETED: 'File is ready',\n TITLE_IN_PROGRESS: 'Exporting file',\n TITLE_ERROR: 'Export failed',\n EXPORTING: '· Exporting...',\n CLOSE: 'Close'\n} as const\n\nexport const HELP_TOOLTIP_ICON_SIZE = 16\n"],"names":["COPY","DATATABLE_TEXT","DEFAULT_TIME_FILTER_OPTIONS","START_TIME_LABEL","DETAILS_FALLBACK_TITLE","ESTIMATED_ROW_HEIGHT","FILTER_BUTTON_APPLY","FILTER_BUTTON_CLEAR","FILTER_POPOVER_DEFAULT_TITLE","STATS_CARD_TIMESTAMP","LOG_OUT","NO_ROWS_MESSAGES","PERSONAL_SETTING","REFRESH_BUTTON_TITLE","REMOTE_SETTING","MORE_ACTIONS","SORT_DIRECTION","SHOWING","TIME_FILTER_CUSTOM_VALUE","TIME_FILTER_RESET_VALUE","TIME_FILTER_FALLBACK_LABEL","RESET","EXPORT_TOAST","HELP_TOOLTIP_ICON_SIZE"],"mappings":"AAEO,MAAMA,IAAO,QAEPC,IAAiB;AAAA,EAC5B,oBAAoB;AAAA,EACpB,0BAA0B;AAAA,EAC1B,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,MAAM;AACR,GAEaC,IAAkD;AAAA,EAC7D,EAAE,OAAO,OAAO,OAAO,WAAA;AAAA,EACvB,EAAE,OAAO,OAAO,OAAO,gBAAA;AAAA,EACvB,EAAE,OAAO,MAAM,OAAO,cAAA;AAAA,EACtB,EAAE,OAAO,OAAO,OAAO,eAAA;AAAA,EACvB,EAAE,OAAO,UAAU,OAAO,gBAAgB,WAAW,UAAA;AACvD,GAEaC,IAAmB,gBAEnBC,IAAyB,WAEzBC,IAAuB,IAEvBC,IAAsB,SAEtBC,IAAsB,SAEtBC,IAA+B,aAE/BC,IAAuB,eAEvBC,IAAU,WAEVC,IAAmB,qBAEnBC,IAAmB,qBAEnBC,IAAuB,WAEvBC,IAAiB,mBAEjBC,IAAe,gBAEfC,IAAiB;AAAA,EAC5B,KAAK;AAAA,EACL,MAAM;AACR,GAEaC,IAAU,WAEVC,IAA2B,UAE3BC,IAA0B,OAE1BC,IAA6B,YAE7BC,IAAQ,SAERC,IAAe;AAAA,EAC1B,iBAAiB;AAAA,EACjB,mBAAmB;AAAA,EACnB,aAAa;AAAA,EACb,WAAW;AAAA,EACX,OAAO;AACT,GAEaC,IAAyB;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useClickOutside.d.ts","sourceRoot":"","sources":["../../../src/lib/nextGenComponents/hooks/useClickOutside.ts"],"names":[],"mappings":"AAeA,QAAA,MAAM,eAAe,GAAI,SAAS,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,8CAiBzD,CAAA;AAED,OAAO,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { useRef as u, useEffect as c } from "react";
|
|
2
|
+
const s = [
|
|
3
|
+
'[role="dialog"]',
|
|
4
|
+
'[role="alertdialog"]',
|
|
5
|
+
'[role="menu"]',
|
|
6
|
+
'[role="listbox"]'
|
|
7
|
+
].join(","), l = (e) => e instanceof Element ? !!(e.closest(s) || e.querySelector(s)) : !1, d = (e) => {
|
|
8
|
+
const n = u(null);
|
|
9
|
+
return c(() => {
|
|
10
|
+
if (!e) return;
|
|
11
|
+
const o = (i) => {
|
|
12
|
+
var r;
|
|
13
|
+
const t = i.target;
|
|
14
|
+
t instanceof Node && ((r = n.current) != null && r.contains(t) || l(t) || e());
|
|
15
|
+
};
|
|
16
|
+
return document.addEventListener("mousedown", o), () => document.removeEventListener("mousedown", o);
|
|
17
|
+
}, [e]), n;
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
d as useClickOutside
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=useClickOutside.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useClickOutside.mjs","sources":["../../../src/lib/nextGenComponents/hooks/useClickOutside.ts"],"sourcesContent":["import { useEffect, useRef } from 'react'\n\nconst PORTAGED_UI_SELECTOR = [\n '[role=\"dialog\"]',\n '[role=\"alertdialog\"]',\n '[role=\"menu\"]',\n '[role=\"listbox\"]'\n].join(',')\n\nconst isInsidePortalUI = (target: EventTarget | null) => {\n if (!(target instanceof Element)) return false\n\n return Boolean(target.closest(PORTAGED_UI_SELECTOR) || target.querySelector(PORTAGED_UI_SELECTOR))\n}\n\nconst useClickOutside = (handler: (() => void) | undefined) => {\n const ref = useRef<HTMLDivElement>(null)\n\n useEffect(() => {\n if (!handler) return\n const listener = (e: MouseEvent) => {\n const target = e.target\n if (!(target instanceof Node)) return\n if (ref.current?.contains(target)) return\n if (isInsidePortalUI(target)) return\n handler()\n }\n document.addEventListener('mousedown', listener)\n return () => document.removeEventListener('mousedown', listener)\n }, [handler])\n\n return ref\n}\n\nexport { useClickOutside }\n"],"names":["PORTAGED_UI_SELECTOR","isInsidePortalUI","target","useClickOutside","handler","ref","useRef","useEffect","listener","e","_a"],"mappings":";AAEA,MAAMA,IAAuB;AAAA,EAC3B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,EAAE,KAAK,GAAG,GAEJC,IAAmB,CAACC,MAClBA,aAAkB,UAEjB,GAAQA,EAAO,QAAQF,CAAoB,KAAKE,EAAO,cAAcF,CAAoB,KAFvD,IAKrCG,IAAkB,CAACC,MAAsC;AAC7D,QAAMC,IAAMC,EAAuB,IAAI;AAEvC,SAAAC,EAAU,MAAM;AACd,QAAI,CAACH,EAAS;AACd,UAAMI,IAAW,CAACC,MAAkB;;AAClC,YAAMP,IAASO,EAAE;AACjB,MAAMP,aAAkB,UACpBQ,IAAAL,EAAI,YAAJ,QAAAK,EAAa,SAASR,MACtBD,EAAiBC,CAAM,KAC3BE,EAAA;AAAA,IACF;AACA,oBAAS,iBAAiB,aAAaI,CAAQ,GACxC,MAAM,SAAS,oBAAoB,aAAaA,CAAQ;AAAA,EACjE,GAAG,CAACJ,CAAO,CAAC,GAELC;AACT;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/nextGenComponents/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import "./components/index.mjs";
|
|
2
|
+
import { useTableStore as t } from "./stores/tableStore.mjs";
|
|
3
|
+
import { default as a } from "./components/RowActions/ActionMenu/ActionMenu.mjs";
|
|
4
|
+
import { Button as l } from "./components/ui/button.mjs";
|
|
5
|
+
import { Calendar as u } from "./components/ui/calendar.mjs";
|
|
6
|
+
import { Card as f, CardContent as m, CardDescription as s, CardFooter as x, CardHeader as S, CardTitle as c } from "./components/ui/card.mjs";
|
|
7
|
+
import { Checkbox as C } from "./components/ui/checkbox.mjs";
|
|
8
|
+
import { default as w, default as T } from "./components/EllipsisTooltip/EllipsisTooltip.mjs";
|
|
9
|
+
import { default as P } from "./components/DataTable/DataTable.mjs";
|
|
10
|
+
import { default as B } from "./components/DetailsPanel/DetailsPanel.mjs";
|
|
11
|
+
import { DropdownMenu as I, DropdownMenuCheckboxItem as A, DropdownMenuContent as L, DropdownMenuGroup as h, DropdownMenuItem as F, DropdownMenuLabel as R, DropdownMenuPortal as k, DropdownMenuRadioGroup as G, DropdownMenuRadioItem as E, DropdownMenuSeparator as y, DropdownMenuShortcut as H, DropdownMenuSub as N, DropdownMenuSubContent as U, DropdownMenuSubTrigger as V, DropdownMenuTrigger as j } from "./components/ui/dropdown-menu.mjs";
|
|
12
|
+
import { default as z } from "./components/FilterPopover/FilterPopover.mjs";
|
|
13
|
+
import { Input as K } from "./components/ui/input.mjs";
|
|
14
|
+
import { default as Q } from "./components/Loader/Loader.mjs";
|
|
15
|
+
import { default as X, SelectArrow as Y } from "./components/MultiSelectField/MultiSelectField.mjs";
|
|
16
|
+
import { Pagination as _, PaginationContent as $, PaginationEllipsis as oo, PaginationItem as eo, PaginationLink as ro, PaginationNext as to, PaginationPrevious as no } from "./components/ui/pagination.mjs";
|
|
17
|
+
import { default as po } from "./components/PaginationControls/PaginationControls.mjs";
|
|
18
|
+
import { Popover as io, PopoverContent as uo, PopoverTrigger as fo } from "./components/ui/popover.mjs";
|
|
19
|
+
import { default as so } from "./components/RefreshButton/RefreshButton.mjs";
|
|
20
|
+
import { default as So } from "./components/RowActions/RowActions.mjs";
|
|
21
|
+
import { ScrollArea as go, ScrollBar as Co } from "./components/ui/scroll-area.mjs";
|
|
22
|
+
import { Select as wo, SelectContent as To, SelectGroup as Mo, SelectItem as Po, SelectLabel as bo, SelectScrollDownButton as Bo, SelectScrollUpButton as vo, SelectSeparator as Io, SelectTrigger as Ao, SelectValue as Lo } from "./components/ui/select.mjs";
|
|
23
|
+
import { Separator as Fo } from "./components/ui/separator.mjs";
|
|
24
|
+
import { default as ko } from "./components/RowActions/SingleActionButton/SingleActionButton.mjs";
|
|
25
|
+
import { default as Eo } from "./components/StatsCard/StatsCard.mjs";
|
|
26
|
+
import { Tabs as Ho, TabsContent as No, TabsList as Uo, TabsTrigger as Vo } from "./components/ui/tabs.mjs";
|
|
27
|
+
import { default as qo } from "./components/TimeFilterDropdown/TimeFilterDropdown.mjs";
|
|
28
|
+
import { Tooltip as Jo, TooltipContent as Ko, TooltipProvider as Oo, TooltipTrigger as Qo } from "./components/ui/tooltip.mjs";
|
|
29
|
+
export {
|
|
30
|
+
a as ActionMenu,
|
|
31
|
+
l as Button,
|
|
32
|
+
u as Calendar,
|
|
33
|
+
f as Card,
|
|
34
|
+
m as CardContent,
|
|
35
|
+
s as CardDescription,
|
|
36
|
+
x as CardFooter,
|
|
37
|
+
S as CardHeader,
|
|
38
|
+
c as CardTitle,
|
|
39
|
+
C as Checkbox,
|
|
40
|
+
w as CopyButton,
|
|
41
|
+
P as DataTable,
|
|
42
|
+
B as DetailsPanel,
|
|
43
|
+
I as DropdownMenu,
|
|
44
|
+
A as DropdownMenuCheckboxItem,
|
|
45
|
+
L as DropdownMenuContent,
|
|
46
|
+
h as DropdownMenuGroup,
|
|
47
|
+
F as DropdownMenuItem,
|
|
48
|
+
R as DropdownMenuLabel,
|
|
49
|
+
k as DropdownMenuPortal,
|
|
50
|
+
G as DropdownMenuRadioGroup,
|
|
51
|
+
E as DropdownMenuRadioItem,
|
|
52
|
+
y as DropdownMenuSeparator,
|
|
53
|
+
H as DropdownMenuShortcut,
|
|
54
|
+
N as DropdownMenuSub,
|
|
55
|
+
U as DropdownMenuSubContent,
|
|
56
|
+
V as DropdownMenuSubTrigger,
|
|
57
|
+
j as DropdownMenuTrigger,
|
|
58
|
+
T as EllipsisTooltip,
|
|
59
|
+
z as FilterPopover,
|
|
60
|
+
K as Input,
|
|
61
|
+
Q as Loader,
|
|
62
|
+
X as MultiSelectField,
|
|
63
|
+
_ as Pagination,
|
|
64
|
+
$ as PaginationContent,
|
|
65
|
+
po as PaginationControls,
|
|
66
|
+
oo as PaginationEllipsis,
|
|
67
|
+
eo as PaginationItem,
|
|
68
|
+
ro as PaginationLink,
|
|
69
|
+
to as PaginationNext,
|
|
70
|
+
no as PaginationPrevious,
|
|
71
|
+
io as Popover,
|
|
72
|
+
uo as PopoverContent,
|
|
73
|
+
fo as PopoverTrigger,
|
|
74
|
+
so as RefreshButton,
|
|
75
|
+
So as RowActions,
|
|
76
|
+
go as ScrollArea,
|
|
77
|
+
Co as ScrollBar,
|
|
78
|
+
wo as Select,
|
|
79
|
+
Y as SelectArrow,
|
|
80
|
+
To as SelectContent,
|
|
81
|
+
Mo as SelectGroup,
|
|
82
|
+
Po as SelectItem,
|
|
83
|
+
bo as SelectLabel,
|
|
84
|
+
Bo as SelectScrollDownButton,
|
|
85
|
+
vo as SelectScrollUpButton,
|
|
86
|
+
Io as SelectSeparator,
|
|
87
|
+
Ao as SelectTrigger,
|
|
88
|
+
Lo as SelectValue,
|
|
89
|
+
Fo as Separator,
|
|
90
|
+
ko as SingleActionButton,
|
|
91
|
+
Eo as StatsCard,
|
|
92
|
+
Ho as Tabs,
|
|
93
|
+
No as TabsContent,
|
|
94
|
+
Uo as TabsList,
|
|
95
|
+
Vo as TabsTrigger,
|
|
96
|
+
qo as TimeFilterDropdown,
|
|
97
|
+
Jo as Tooltip,
|
|
98
|
+
Ko as TooltipContent,
|
|
99
|
+
Oo as TooltipProvider,
|
|
100
|
+
Qo as TooltipTrigger,
|
|
101
|
+
t as useTableStore
|
|
102
|
+
};
|
|
103
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/lib/nextGenComponents/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAA;AAG5C,eAAO,MAAM,EAAE,GAAI,GAAG,QAAQ,UAAU,EAAE,WAEzC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.mjs","sources":["../../../src/lib/nextGenComponents/lib/utils.ts"],"sourcesContent":["import { clsx, type ClassValue } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport const cn = (...inputs: ClassValue[]) => {\n return twMerge(clsx(inputs))\n}\n"],"names":["cn","inputs","twMerge","clsx"],"mappings":";;AAGO,MAAMA,IAAK,IAAIC,MACbC,EAAQC,EAAKF,CAAM,CAAC;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { RowSelectionState, SortingState, ColumnSizingState, ColumnFiltersState } from '@tanstack/react-table';
|
|
2
|
+
export type DraftValues = Record<string, string | string[]>;
|
|
3
|
+
type TableState = {
|
|
4
|
+
rowSelection: RowSelectionState;
|
|
5
|
+
sorting: SortingState;
|
|
6
|
+
columnSizing: ColumnSizingState;
|
|
7
|
+
globalFilter: string;
|
|
8
|
+
columnFilters: ColumnFiltersState;
|
|
9
|
+
filterPopoverOpen: boolean;
|
|
10
|
+
filterDraft: DraftValues;
|
|
11
|
+
setRowSelection: (selection: RowSelectionState | ((old: RowSelectionState) => RowSelectionState)) => void;
|
|
12
|
+
setSorting: (sorting: SortingState | ((old: SortingState) => SortingState)) => void;
|
|
13
|
+
setColumnSizing: (sizing: ColumnSizingState | ((old: ColumnSizingState) => ColumnSizingState)) => void;
|
|
14
|
+
setGlobalFilter: (value: string | ((old: string) => string)) => void;
|
|
15
|
+
setColumnFilters: (value: ColumnFiltersState | ((old: ColumnFiltersState) => ColumnFiltersState)) => void;
|
|
16
|
+
setFilterPopoverOpen: (open: boolean | ((old: boolean) => boolean)) => void;
|
|
17
|
+
setFilterDraft: (draft: DraftValues | ((old: DraftValues) => DraftValues)) => void;
|
|
18
|
+
resetFilterDraft: (initial: DraftValues) => void;
|
|
19
|
+
};
|
|
20
|
+
export declare const useTableStore: import("zustand").UseBoundStore<import("zustand").StoreApi<TableState>>;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=tableStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableStore.d.ts","sourceRoot":"","sources":["../../../src/lib/nextGenComponents/stores/tableStore.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,uBAAuB,CAAA;AAG9B,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;AAE3D,KAAK,UAAU,GAAG;IAChB,YAAY,EAAE,iBAAiB,CAAA;IAC/B,OAAO,EAAE,YAAY,CAAA;IACrB,YAAY,EAAE,iBAAiB,CAAA;IAC/B,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,kBAAkB,CAAA;IAEjC,iBAAiB,EAAE,OAAO,CAAA;IAC1B,WAAW,EAAE,WAAW,CAAA;IAExB,eAAe,EAAE,CACf,SAAS,EAAE,iBAAiB,GAAG,CAAC,CAAC,GAAG,EAAE,iBAAiB,KAAK,iBAAiB,CAAC,KAC3E,IAAI,CAAA;IACT,UAAU,EAAE,CAAC,OAAO,EAAE,YAAY,GAAG,CAAC,CAAC,GAAG,EAAE,YAAY,KAAK,YAAY,CAAC,KAAK,IAAI,CAAA;IACnF,eAAe,EAAE,CACf,MAAM,EAAE,iBAAiB,GAAG,CAAC,CAAC,GAAG,EAAE,iBAAiB,KAAK,iBAAiB,CAAC,KACxE,IAAI,CAAA;IACT,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,CAAC,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC,KAAK,IAAI,CAAA;IACpE,gBAAgB,EAAE,CAChB,KAAK,EAAE,kBAAkB,GAAG,CAAC,CAAC,GAAG,EAAE,kBAAkB,KAAK,kBAAkB,CAAC,KAC1E,IAAI,CAAA;IAET,oBAAoB,EAAE,CAAC,IAAI,EAAE,OAAO,GAAG,CAAC,CAAC,GAAG,EAAE,OAAO,KAAK,OAAO,CAAC,KAAK,IAAI,CAAA;IAC3E,cAAc,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG,CAAC,CAAC,GAAG,EAAE,WAAW,KAAK,WAAW,CAAC,KAAK,IAAI,CAAA;IAClF,gBAAgB,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAA;CACjD,CAAA;AAED,eAAO,MAAM,aAAa,yEA8CvB,CAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { create as r } from "zustand";
|
|
2
|
+
const l = r((e) => ({
|
|
3
|
+
rowSelection: {},
|
|
4
|
+
sorting: [],
|
|
5
|
+
columnSizing: {},
|
|
6
|
+
globalFilter: "",
|
|
7
|
+
columnFilters: [],
|
|
8
|
+
filterPopoverOpen: !1,
|
|
9
|
+
filterDraft: {},
|
|
10
|
+
setRowSelection: (t) => e((o) => ({
|
|
11
|
+
rowSelection: typeof t == "function" ? t(o.rowSelection) : t
|
|
12
|
+
})),
|
|
13
|
+
setSorting: (t) => e((o) => ({
|
|
14
|
+
sorting: typeof t == "function" ? t(o.sorting) : t
|
|
15
|
+
})),
|
|
16
|
+
setColumnSizing: (t) => e((o) => ({
|
|
17
|
+
columnSizing: typeof t == "function" ? t(o.columnSizing) : t
|
|
18
|
+
})),
|
|
19
|
+
setGlobalFilter: (t) => e((o) => ({
|
|
20
|
+
globalFilter: typeof t == "function" ? t(o.globalFilter) : t
|
|
21
|
+
})),
|
|
22
|
+
setColumnFilters: (t) => e((o) => ({
|
|
23
|
+
columnFilters: typeof t == "function" ? t(o.columnFilters) : t
|
|
24
|
+
})),
|
|
25
|
+
setFilterPopoverOpen: (t) => e((o) => ({
|
|
26
|
+
filterPopoverOpen: typeof t == "function" ? t(o.filterPopoverOpen) : t
|
|
27
|
+
})),
|
|
28
|
+
setFilterDraft: (t) => e((o) => ({
|
|
29
|
+
filterDraft: typeof t == "function" ? t(o.filterDraft) : t
|
|
30
|
+
})),
|
|
31
|
+
resetFilterDraft: (t) => e({ filterDraft: t })
|
|
32
|
+
}));
|
|
33
|
+
export {
|
|
34
|
+
l as useTableStore
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=tableStore.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableStore.mjs","sources":["../../../src/lib/nextGenComponents/stores/tableStore.ts"],"sourcesContent":["import type {\n RowSelectionState,\n SortingState,\n ColumnSizingState,\n ColumnFiltersState\n} from '@tanstack/react-table'\nimport { create } from 'zustand'\n\nexport type DraftValues = Record<string, string | string[]>\n\ntype TableState = {\n rowSelection: RowSelectionState\n sorting: SortingState\n columnSizing: ColumnSizingState\n globalFilter: string\n columnFilters: ColumnFiltersState\n\n filterPopoverOpen: boolean\n filterDraft: DraftValues\n\n setRowSelection: (\n selection: RowSelectionState | ((old: RowSelectionState) => RowSelectionState)\n ) => void\n setSorting: (sorting: SortingState | ((old: SortingState) => SortingState)) => void\n setColumnSizing: (\n sizing: ColumnSizingState | ((old: ColumnSizingState) => ColumnSizingState)\n ) => void\n setGlobalFilter: (value: string | ((old: string) => string)) => void\n setColumnFilters: (\n value: ColumnFiltersState | ((old: ColumnFiltersState) => ColumnFiltersState)\n ) => void\n\n setFilterPopoverOpen: (open: boolean | ((old: boolean) => boolean)) => void\n setFilterDraft: (draft: DraftValues | ((old: DraftValues) => DraftValues)) => void\n resetFilterDraft: (initial: DraftValues) => void\n}\n\nexport const useTableStore = create<TableState>(set => ({\n rowSelection: {},\n sorting: [],\n columnSizing: {},\n globalFilter: '',\n columnFilters: [],\n\n filterPopoverOpen: false,\n filterDraft: {},\n\n setRowSelection: selection =>\n set(old => ({\n rowSelection: typeof selection === 'function' ? selection(old.rowSelection) : selection\n })),\n\n setSorting: sorting =>\n set(old => ({\n sorting: typeof sorting === 'function' ? sorting(old.sorting) : sorting\n })),\n\n setColumnSizing: sizing =>\n set(old => ({\n columnSizing: typeof sizing === 'function' ? sizing(old.columnSizing) : sizing\n })),\n\n setGlobalFilter: value =>\n set(old => ({\n globalFilter: typeof value === 'function' ? value(old.globalFilter) : value\n })),\n\n setColumnFilters: value =>\n set(old => ({\n columnFilters: typeof value === 'function' ? value(old.columnFilters) : value\n })),\n\n setFilterPopoverOpen: open =>\n set(old => ({\n filterPopoverOpen: typeof open === 'function' ? open(old.filterPopoverOpen) : open\n })),\n\n setFilterDraft: draft =>\n set(old => ({\n filterDraft: typeof draft === 'function' ? draft(old.filterDraft) : draft\n })),\n\n resetFilterDraft: initial => set({ filterDraft: initial })\n}))\n"],"names":["useTableStore","create","set","selection","old","sorting","sizing","value","open","draft","initial"],"mappings":";AAqCO,MAAMA,IAAgBC,EAAmB,CAAAC,OAAQ;AAAA,EACtD,cAAc,CAAA;AAAA,EACd,SAAS,CAAA;AAAA,EACT,cAAc,CAAA;AAAA,EACd,cAAc;AAAA,EACd,eAAe,CAAA;AAAA,EAEf,mBAAmB;AAAA,EACnB,aAAa,CAAA;AAAA,EAEb,iBAAiB,CAAAC,MACfD,EAAI,CAAAE,OAAQ;AAAA,IACV,cAAc,OAAOD,KAAc,aAAaA,EAAUC,EAAI,YAAY,IAAID;AAAA,EAAA,EAC9E;AAAA,EAEJ,YAAY,CAAAE,MACVH,EAAI,CAAAE,OAAQ;AAAA,IACV,SAAS,OAAOC,KAAY,aAAaA,EAAQD,EAAI,OAAO,IAAIC;AAAA,EAAA,EAChE;AAAA,EAEJ,iBAAiB,CAAAC,MACfJ,EAAI,CAAAE,OAAQ;AAAA,IACV,cAAc,OAAOE,KAAW,aAAaA,EAAOF,EAAI,YAAY,IAAIE;AAAA,EAAA,EACxE;AAAA,EAEJ,iBAAiB,CAAAC,MACfL,EAAI,CAAAE,OAAQ;AAAA,IACV,cAAc,OAAOG,KAAU,aAAaA,EAAMH,EAAI,YAAY,IAAIG;AAAA,EAAA,EACtE;AAAA,EAEJ,kBAAkB,CAAAA,MAChBL,EAAI,CAAAE,OAAQ;AAAA,IACV,eAAe,OAAOG,KAAU,aAAaA,EAAMH,EAAI,aAAa,IAAIG;AAAA,EAAA,EACxE;AAAA,EAEJ,sBAAsB,CAAAC,MACpBN,EAAI,CAAAE,OAAQ;AAAA,IACV,mBAAmB,OAAOI,KAAS,aAAaA,EAAKJ,EAAI,iBAAiB,IAAII;AAAA,EAAA,EAC9E;AAAA,EAEJ,gBAAgB,CAAAC,MACdP,EAAI,CAAAE,OAAQ;AAAA,IACV,aAAa,OAAOK,KAAU,aAAaA,EAAML,EAAI,WAAW,IAAIK;AAAA,EAAA,EACpE;AAAA,EAEJ,kBAAkB,CAAAC,MAAWR,EAAI,EAAE,aAAaQ,GAAS;AAC3D,EAAE;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type FieldKind = 'text' | 'select' | 'multi-select' | 'number' | 'date';
|
|
2
|
+
export type Option = {
|
|
3
|
+
readonly label: string;
|
|
4
|
+
readonly value: string;
|
|
5
|
+
meta?: Record<string, unknown>;
|
|
6
|
+
};
|
|
7
|
+
export type FilterFieldDef<K extends string = string> = {
|
|
8
|
+
key: K;
|
|
9
|
+
label: string;
|
|
10
|
+
kind: FieldKind;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
options?: Option[];
|
|
13
|
+
defaultValue?: string | string[];
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
required?: boolean;
|
|
16
|
+
resolveValue?: (next: string[], prev: string[]) => string[];
|
|
17
|
+
computeDisabled?: (optValue: string, currentValues: string[]) => boolean;
|
|
18
|
+
};
|
|
19
|
+
export type FilterSchema<K extends string> = Record<K, FilterFieldDef<K>>;
|
|
20
|
+
export type FilterValues<K extends string> = Partial<Record<K, string | string[]>>;
|
|
21
|
+
//# sourceMappingURL=filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter.d.ts","sourceRoot":"","sources":["../../../../src/lib/nextGenComponents/types/table/filter.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,cAAc,GAAG,QAAQ,GAAG,MAAM,CAAA;AAE9E,MAAM,MAAM,MAAM,GAAG;IACnB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI;IACtD,GAAG,EAAE,CAAC,CAAA;IACN,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,SAAS,CAAA;IACf,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,MAAM,EAAE,CAAA;IAC3D,eAAe,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,KAAK,OAAO,CAAA;CACzE,CAAA;AAED,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;AAEzE,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,MAAM,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ComponentType, SVGProps } from 'react';
|
|
2
|
+
export type ActionMenuItem = {
|
|
3
|
+
label: string;
|
|
4
|
+
icon?: ComponentType<SVGProps<SVGSVGElement>>;
|
|
5
|
+
onClick: () => void;
|
|
6
|
+
variant?: 'default' | 'danger';
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
hidden?: boolean;
|
|
9
|
+
tooltip?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
singleActionAsIcon?: boolean;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=rowAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rowAction.d.ts","sourceRoot":"","sources":["../../../../src/lib/nextGenComponents/types/table/rowAction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAEpD,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAA;IAC7C,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAA;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC7B,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export type TimeFilterValue = 'any' | '24h' | '7d' | '30d' | 'custom';
|
|
2
|
+
export type TimeFilterOption = {
|
|
3
|
+
value: TimeFilterValue;
|
|
4
|
+
label: string;
|
|
5
|
+
rightIcon?: 'chevron';
|
|
6
|
+
};
|
|
7
|
+
export type CustomDateRange = {
|
|
8
|
+
since: string;
|
|
9
|
+
until: string;
|
|
10
|
+
};
|
|
11
|
+
export type TimeFilterDropdownProps = {
|
|
12
|
+
value?: TimeFilterValue;
|
|
13
|
+
defaultValue?: TimeFilterValue;
|
|
14
|
+
onChange?: (v: TimeFilterValue) => void;
|
|
15
|
+
onCustomRange?: (range: CustomDateRange) => void;
|
|
16
|
+
initialCustomRange?: CustomDateRange;
|
|
17
|
+
presetDateRange?: CustomDateRange;
|
|
18
|
+
options?: TimeFilterOption[];
|
|
19
|
+
startTimeOnly?: boolean;
|
|
20
|
+
className?: string;
|
|
21
|
+
triggerClassName?: string;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=timeFilter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timeFilter.d.ts","sourceRoot":"","sources":["../../../../src/lib/nextGenComponents/types/table/timeFilter.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,KAAK,GAAG,IAAI,GAAG,KAAK,GAAG,QAAQ,CAAA;AAErE,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,eAAe,CAAA;IACtB,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,SAAS,CAAA;CACtB,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AAE9D,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,CAAC,EAAE,eAAe,CAAA;IACvB,YAAY,CAAC,EAAE,eAAe,CAAA;IAC9B,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,eAAe,KAAK,IAAI,CAAA;IACvC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAA;IAChD,kBAAkB,CAAC,EAAE,eAAe,CAAA;IACpC,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAA;IAC5B,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const getSupportedLocale: () => string;
|
|
2
|
+
export declare const is12HourFormat: () => boolean;
|
|
3
|
+
export declare const formatLocalDate: (d: Date) => string;
|
|
4
|
+
export declare const parseLocalDate: (text: string) => Date | null;
|
|
5
|
+
/** @deprecated Use formatLocalDate */
|
|
6
|
+
export declare const formatDateDDMMYYYY: (d: Date) => string;
|
|
7
|
+
/** @deprecated Use parseLocalDate */
|
|
8
|
+
export declare const parseDateDDMMYYYY: (text: string) => Date | null;
|
|
9
|
+
export declare const getDatePlaceholder: () => string;
|
|
10
|
+
export declare const getTimePlaceholder: () => string;
|
|
11
|
+
export declare const getDefaultSinceHour: () => string;
|
|
12
|
+
export declare const getDefaultUntilHour: () => string;
|
|
13
|
+
export declare const buildHalfHourOptions: () => string[];
|
|
14
|
+
/** @deprecated Use buildHalfHourOptions */
|
|
15
|
+
export declare const buildHalfHourOptions12h: () => string[];
|
|
16
|
+
export declare const toUTCISO: (d: Date) => string;
|
|
17
|
+
/** @deprecated Use toUTCISO */
|
|
18
|
+
export declare const toLocalISO: (d: Date) => string;
|
|
19
|
+
export declare const applyHourToDate: (date: Date, hour: string, defaultHour?: string) => Date;
|
|
20
|
+
export declare const isoToLocalDate: (iso: string) => Date | undefined;
|
|
21
|
+
export declare const isoToHour: (iso: string) => string;
|
|
22
|
+
export declare const parseTimeInput: (text: string) => string;
|
|
23
|
+
export declare const formatCustomRangeLabel: (since: string, until?: string) => string;
|
|
24
|
+
//# sourceMappingURL=date.utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date.utils.d.ts","sourceRoot":"","sources":["../../../src/lib/nextGenComponents/utils/date.utils.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,QAAO,MAMrC,CAAA;AAED,eAAO,MAAM,cAAc,QAAO,OAC6D,CAAA;AAI/F,eAAO,MAAM,eAAe,GAAI,GAAG,IAAI,KAAG,MAO5B,CAAA;AAEd,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,KAAG,IAAI,GAAG,IAepD,CAAA;AAED,sCAAsC;AACtC,eAAO,MAAM,kBAAkB,MA3BI,IAAI,KAAG,MA2BO,CAAA;AAEjD,qCAAqC;AACrC,eAAO,MAAM,iBAAiB,SArBO,MAAM,KAAG,IAAI,GAAG,IAqBN,CAAA;AAE/C,eAAO,MAAM,kBAAkB,QAAO,MAC0B,CAAA;AAEhE,eAAO,MAAM,kBAAkB,QAAO,MAAmD,CAAA;AAEzF,eAAO,MAAM,mBAAmB,QAAO,MAAmD,CAAA;AAE1F,eAAO,MAAM,mBAAmB,QAAO,MAAmD,CAAA;AAI1F,eAAO,MAAM,oBAAoB,QAAO,MAAM,EAK7C,CAAA;AAED,2CAA2C;AAC3C,eAAO,MAAM,uBAAuB,QARI,MAAM,EAQa,CAAA;AAE3D,eAAO,MAAM,QAAQ,GAAI,GAAG,IAAI,KAAG,MAAyB,CAAA;AAE5D,+BAA+B;AAC/B,eAAO,MAAM,UAAU,MAHK,IAAI,KAAG,MAGD,CAAA;AAIlC,eAAO,MAAM,eAAe,GAAI,MAAM,IAAI,EAAE,MAAM,MAAM,EAAE,cAAc,MAAM,KAAG,IAQhF,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,KAAK,MAAM,KAAG,IAAI,GAAG,SAKnD,CAAA;AAED,eAAO,MAAM,SAAS,GAAI,KAAK,MAAM,KAAG,MAKvC,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,KAAG,MAiB7C,CAAA;AAID,eAAO,MAAM,sBAAsB,GAAI,OAAO,MAAM,EAAE,QAAQ,MAAM,KAAG,MAatE,CAAA"}
|