@mailstep/design-system 0.8.26-beta.6 → 0.8.26
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/package.json +4 -5
- package/ui/Blocks/CommonGrid/CommonGrid.d.ts +4 -3
- package/ui/Blocks/CommonGrid/CommonGridContainer.d.ts +3 -2
- package/ui/Blocks/CommonGrid/HoC/withProps.d.ts +2 -1
- package/ui/Blocks/CommonGrid/HoC/withReduxActions.d.ts +1 -1
- package/ui/Blocks/CommonGrid/components/ActionHead/ActionHead.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/ActionHead/components/ActionDropdownMenu.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/ActionHead/components/ActionDropdownSelect.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/ActionHead/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/ButtonMore/ButtonMore.d.ts +2 -2
- package/ui/Blocks/CommonGrid/components/ButtonMore/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/ColumnFilterCell.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/ColumnTitle/ColumnTitle.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/ColumnTitle/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/ColumnTitle.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/ControlButtons/ControlButtons.d.ts +3 -3
- package/ui/Blocks/CommonGrid/components/ControlButtons/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/ControlButtons/styles.d.ts +4 -4
- package/ui/Blocks/CommonGrid/components/DataCell.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/DataRow.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/DropdownButton/DropdownButton.d.ts +4 -3
- package/ui/Blocks/CommonGrid/components/DropdownButton/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/ExtraControlButtons/ExtraControlButtons.d.ts +4 -3
- package/ui/Blocks/CommonGrid/components/ExtraControlButtons/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/FilterDropdown.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/FilterRow.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/Filters/ActionsFilter/ActionsFilter.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/Filters/ActionsFilter/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/Filters/BooleanSelect/BooleanSelect.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/Filters/BooleanSelect/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/Filters/DatePickerRange/DatePickerRange.d.ts +4 -3
- package/ui/Blocks/CommonGrid/components/Filters/DatePickerRange/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/Filters/DatePickerRange/utils/pickerRangeToString.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/Filters/GridSelect/GridSelect.d.ts +4 -3
- package/ui/Blocks/CommonGrid/components/Filters/GridSelect/guards.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/Filters/GridSelect/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/Filters/NumberRange/NumberRange.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/Filters/NumberRange/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/Filters/NumberRange/types.d.ts +1 -0
- package/ui/Blocks/CommonGrid/components/Filters/TextRange/TextRange.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/Filters/TextRange/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/Filters/TextRange/types.d.ts +1 -0
- package/ui/Blocks/CommonGrid/components/FloatingButton/FloatingButton.d.ts +5 -4
- package/ui/Blocks/CommonGrid/components/FloatingButton/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/GridInfo/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/GridModals/index.d.ts +4 -3
- package/ui/Blocks/CommonGrid/components/GridStatus/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/GroupRow.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/HeadCell.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/HeadRow.d.ts +4 -3
- package/ui/Blocks/CommonGrid/components/IconList/IconList.d.ts +6 -5
- package/ui/Blocks/CommonGrid/components/IconList/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/ManageColumnForm/ManageColumnForm.d.ts +4 -4
- package/ui/Blocks/CommonGrid/components/ManageColumnForm/components/ManageColumnRow.d.ts +3 -3
- package/ui/Blocks/CommonGrid/components/ManageColumnForm/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/ManageColumnForm/styles.d.ts +1 -1
- package/ui/Blocks/CommonGrid/components/ManageColumnForm/utils.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/MobileFilterModal.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/MobileOverlayWrapper.d.ts +1 -1
- package/ui/Blocks/CommonGrid/components/MobileSortModal.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/OversizedScroll.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/PresetsModalBody/components/TagRemove.d.ts +1 -1
- package/ui/Blocks/CommonGrid/components/PresetsModalBody/index.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/QuickFilter/QuickFilter.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/QuickFilter/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/Resize.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/Table.d.ts +8 -8
- package/ui/Blocks/CommonGrid/components/TablePagination/TablePagination.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/TablePagination/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/gridCells/BoolIcon.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/gridCells/ButtonInCell.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/gridCells/Date.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/gridCells/DateTime.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/gridCells/EnumInCell.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/gridCells/HoverBubble.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/gridCells/IconButtonInCell.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/gridCells/ImageCell.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/gridCells/LinkInCell.d.ts +1 -1
- package/ui/Blocks/CommonGrid/components/gridCells/RemoveItem.d.ts +5 -4
- package/ui/Blocks/CommonGrid/components/gridCells/RowActionsCell.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/gridCells/StringJoin.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/gridCells/SwitchInCell.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/gridCells/ToggleCell.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/icons/Edit.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/icons/EyeOpen.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/icons/Sorting.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/utils.d.ts +1 -0
- package/ui/Blocks/CommonGrid/hooks/useAddFilter.d.ts +2 -1
- package/ui/Blocks/CommonGrid/hooks/useColumnSizes.d.ts +2 -1
- package/ui/Blocks/CommonGrid/hooks/useCreatePreset.d.ts +1 -0
- package/ui/Blocks/CommonGrid/hooks/useDeletePreset.d.ts +1 -0
- package/ui/Blocks/CommonGrid/hooks/useEditReadAsColumn.d.ts +2 -1
- package/ui/Blocks/CommonGrid/hooks/useFloatingButton.d.ts +1 -0
- package/ui/Blocks/CommonGrid/hooks/useGridActionTrigger.d.ts +1 -0
- package/ui/Blocks/CommonGrid/hooks/useGridAutoRowsPerPage.d.ts +1 -0
- package/ui/Blocks/CommonGrid/hooks/useManageColumn.d.ts +2 -1
- package/ui/Blocks/CommonGrid/hooks/usePresetFileHandlers.d.ts +3 -2
- package/ui/Blocks/CommonGrid/hooks/useQuickFilter.d.ts +3 -2
- package/ui/Blocks/CommonGrid/hooks/useRowsKeyControls.d.ts +2 -1
- package/ui/Blocks/CommonGrid/hooks/useSelectPreset.d.ts +1 -0
- package/ui/Blocks/CommonGrid/hooks/useToggleAllCheckbox.d.ts +2 -1
- package/ui/Blocks/CommonGrid/hooks/useUxReset.d.ts +1 -0
- package/ui/Blocks/CommonGrid/index.d.ts +7 -6
- package/ui/Blocks/CommonGrid/store/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/store/migrateState.d.ts +1 -0
- package/ui/Blocks/CommonGrid/storybook/components/ComplexCell.d.ts +3 -2
- package/ui/Blocks/CommonGrid/storybook/components/EnumCellExample.d.ts +3 -2
- package/ui/Blocks/CommonGrid/storybook/stories/withForcedCheckboxes.stories.d.ts +1 -0
- package/ui/Blocks/CommonGrid/storybook/utils/columnDefinition.d.ts +2 -1
- package/ui/Blocks/CommonGrid/storybook/utils/utils.d.ts +3 -2
- package/ui/Blocks/CommonGrid/styles.d.ts +9 -9
- package/ui/Blocks/CommonGrid/types.d.ts +2 -1
- package/ui/Blocks/CommonGrid/utils/getExtendedExtraControlButtons.d.ts +2 -1
- package/ui/Blocks/CommonGrid/utils/index.d.ts +2 -1
- package/ui/Blocks/CornerDialog/CornerDialog.d.ts +3 -2
- package/ui/Blocks/CornerDialog/index.d.ts +1 -0
- package/ui/Blocks/CornerDialog/stories/CornerDialog.stories.d.ts +2 -1
- package/ui/Blocks/CornerDialog/styles.d.ts +6 -6
- package/ui/Blocks/CornerDialog/types.d.ts +2 -1
- package/ui/Blocks/CornerDialog/utils.d.ts +1 -0
- package/ui/Blocks/Header/components/MenuItems/components/MenuItem/index.d.ts +3 -2
- package/ui/Blocks/Header/components/MenuItems/index.d.ts +3 -2
- package/ui/Blocks/Header/components/MenuItems/styles.d.ts +2 -2
- package/ui/Blocks/Header/components/UserMenu/components/UserInfo/index.d.ts +2 -1
- package/ui/Blocks/Header/components/UserMenu/components/UserInfo/styles.d.ts +2 -2
- package/ui/Blocks/Header/components/UserMenu/index.d.ts +3 -2
- package/ui/Blocks/Header/components/UserMenu/styles.d.ts +3 -3
- package/ui/Blocks/Header/index.d.ts +6 -5
- package/ui/Blocks/Header/stories/Header.stories.d.ts +7 -6
- package/ui/Blocks/Header/styles.d.ts +4 -4
- package/ui/Blocks/Header/utils/languageItems.d.ts +2 -1
- package/ui/Blocks/HidePrint/HidePrint.d.ts +2 -1
- package/ui/Blocks/ImageList/ImageList.d.ts +3 -2
- package/ui/Blocks/ImageList/components/AddPhoto/index.d.ts +3 -2
- package/ui/Blocks/ImageList/components/AddPhoto/styles.d.ts +2 -2
- package/ui/Blocks/ImageList/components/CloseButton/index.d.ts +2 -1
- package/ui/Blocks/ImageList/components/CloseButton/styles.d.ts +1 -1
- package/ui/Blocks/ImageList/components/ImageElement/index.d.ts +2 -1
- package/ui/Blocks/ImageList/components/ImageElement/styles.d.ts +3 -3
- package/ui/Blocks/ImageList/components/ImageTag/index.d.ts +2 -1
- package/ui/Blocks/ImageList/components/ImageTag/styles.d.ts +1 -1
- package/ui/Blocks/ImageList/hooks/useOnElementClick.d.ts +2 -1
- package/ui/Blocks/ImageList/index.d.ts +2 -1
- package/ui/Blocks/ImageList/stories/ImageList.stories.d.ts +2 -1
- package/ui/Blocks/ImageList/styles.d.ts +2 -2
- package/ui/Blocks/ImageList/types.d.ts +2 -1
- package/ui/Blocks/LanguageSwitch/LanguageSwitch.d.ts +3 -2
- package/ui/Blocks/LanguageSwitch/index.d.ts +2 -1
- package/ui/Blocks/LanguageSwitch/stories/LanguageSwith.stories.d.ts +2 -1
- package/ui/Blocks/LanguageSwitch/styles.d.ts +3 -3
- package/ui/Blocks/LanguageSwitch/types.d.ts +1 -0
- package/ui/Blocks/LightBox/LightBox.d.ts +3 -2
- package/ui/Blocks/LightBox/hooks/useLightBox.d.ts +2 -1
- package/ui/Blocks/LightBox/index.d.ts +1 -0
- package/ui/Blocks/LightBox/stories/LightBox.stories.d.ts +2 -1
- package/ui/Blocks/LightBox/styles.d.ts +4 -4
- package/ui/Blocks/LoginPage/LoginPage.d.ts +3 -2
- package/ui/Blocks/LoginPage/components/LoginForm.d.ts +1 -0
- package/ui/Blocks/LoginPage/components/SocialLinks.d.ts +5 -4
- package/ui/Blocks/LoginPage/index.d.ts +2 -1
- package/ui/Blocks/LoginPage/styles.d.ts +8 -7
- package/ui/Blocks/LoginPage/types.d.ts +5 -4
- package/ui/Blocks/Modal/Modal.d.ts +3 -2
- package/ui/Blocks/Modal/hooks/useClickOutside.d.ts +3 -2
- package/ui/Blocks/Modal/hooks/useModal.d.ts +1 -0
- package/ui/Blocks/Modal/index.d.ts +1 -0
- package/ui/Blocks/Modal/stories/Modal.stories.d.ts +2 -1
- package/ui/Blocks/Modal/styles.d.ts +9 -8
- package/ui/Blocks/Modal/types.d.ts +2 -1
- package/ui/Blocks/Modal/utils.d.ts +1 -0
- package/ui/Blocks/Popover/index.d.ts +4 -3
- package/ui/Blocks/Scheduler/Scheduler.d.ts +3 -2
- package/ui/Blocks/Scheduler/components/BookedTimeSlots/index.d.ts +3 -2
- package/ui/Blocks/Scheduler/components/BookedTimeSlots/styles.d.ts +3 -3
- package/ui/Blocks/Scheduler/components/CurrentTimeMarker/index.d.ts +2 -1
- package/ui/Blocks/Scheduler/components/CurrentTimeMarker/styles.d.ts +3 -3
- package/ui/Blocks/Scheduler/components/DateChanger/index.d.ts +3 -2
- package/ui/Blocks/Scheduler/components/DateChanger/styles.d.ts +2 -2
- package/ui/Blocks/Scheduler/components/Groups/index.d.ts +3 -2
- package/ui/Blocks/Scheduler/components/Groups/styles.d.ts +3 -3
- package/ui/Blocks/Scheduler/components/TimeSlots/hooks/useRangeSelection.d.ts +2 -1
- package/ui/Blocks/Scheduler/components/TimeSlots/hooks/useScroll.d.ts +1 -0
- package/ui/Blocks/Scheduler/components/TimeSlots/index.d.ts +3 -2
- package/ui/Blocks/Scheduler/components/TimeSlots/styles.d.ts +4 -4
- package/ui/Blocks/Scheduler/hooks/useChangeDate.d.ts +3 -2
- package/ui/Blocks/Scheduler/stories/Scheduler.stories.d.ts +2 -1
- package/ui/Blocks/Scheduler/styles.d.ts +2 -2
- package/ui/Blocks/Scheduler/types.d.ts +2 -1
- package/ui/Blocks/Scheduler/utils/isActiveTime.d.ts +1 -0
- package/ui/Blocks/SideMenu/MenuItem.d.ts +3 -2
- package/ui/Blocks/SideMenu/SideMenu.d.ts +3 -2
- package/ui/Blocks/SideMenu/components/Footer.d.ts +4 -3
- package/ui/Blocks/SideMenu/components/SubitemTooltip.d.ts +3 -2
- package/ui/Blocks/SideMenu/context/LeftMenuContext.d.ts +2 -1
- package/ui/Blocks/SideMenu/hooks/useOutsideHover.d.ts +1 -0
- package/ui/Blocks/SideMenu/index.d.ts +2 -1
- package/ui/Blocks/SideMenu/stories/SideMenu.stories.d.ts +1 -1
- package/ui/Blocks/SideMenu/styles.d.ts +16 -15
- package/ui/Blocks/SideMenu/types.d.ts +2 -1
- package/ui/Blocks/Stepper/Stepper.d.ts +3 -2
- package/ui/Blocks/Stepper/components/StepCircle/index.d.ts +2 -1
- package/ui/Blocks/Stepper/components/StepCircle/styles.d.ts +1 -1
- package/ui/Blocks/Stepper/components/StepItem/index.d.ts +2 -1
- package/ui/Blocks/Stepper/components/StepItem/styles.d.ts +3 -3
- package/ui/Blocks/Stepper/stories/Stepper.stories.d.ts +2 -1
- package/ui/Blocks/Stepper/styles.d.ts +2 -2
- package/ui/Blocks/Stepper/types.d.ts +2 -1
- package/ui/Blocks/Table/Table.d.ts +1 -0
- package/ui/Blocks/Table/stories/Table.stories.d.ts +4 -4
- package/ui/Blocks/Tabs/TabContent.d.ts +3 -2
- package/ui/Blocks/Tabs/Tabs.d.ts +3 -2
- package/ui/Blocks/Tabs/hooks/useTabs.d.ts +1 -0
- package/ui/Blocks/Tabs/index.d.ts +1 -0
- package/ui/Blocks/Tabs/stories/Tabs.stories.d.ts +2 -1
- package/ui/Blocks/Tabs/styles.d.ts +5 -5
- package/ui/Blocks/Tabs/types.d.ts +2 -1
- package/ui/Elements/Alert/Alert.d.ts +1 -0
- package/ui/Elements/Alert/index.d.ts +2 -1
- package/ui/Elements/Alert/stories/Alert.stories.d.ts +3 -2
- package/ui/Elements/Alert/styles.d.ts +9 -9
- package/ui/Elements/Alert/types.d.ts +2 -1
- package/ui/Elements/AsyncSelect/AsyncSelect.d.ts +5 -4
- package/ui/Elements/AsyncSelect/index.d.ts +2 -1
- package/ui/Elements/AsyncSelect/stories/AsyncSelect.stories.d.ts +1 -1
- package/ui/Elements/Avatar/Avatar.d.ts +3 -2
- package/ui/Elements/Avatar/index.d.ts +1 -0
- package/ui/Elements/Avatar/stories/Avatar.stories.d.ts +3 -2
- package/ui/Elements/Badge/Badge.d.ts +2 -1
- package/ui/Elements/Badge/index.d.ts +2 -1
- package/ui/Elements/Badge/stories/Badge.stories.d.ts +3 -2
- package/ui/Elements/BarChartSymbol/BarChartSymbol.d.ts +1 -0
- package/ui/Elements/BarChartSymbol/stories/BarChartSymbol.stories.d.ts +3 -2
- package/ui/Elements/BarChartSymbol/styles.d.ts +1 -1
- package/ui/Elements/BorderedBox/BorderedBox.d.ts +3 -2
- package/ui/Elements/BorderedBox/index.d.ts +2 -1
- package/ui/Elements/BorderedBox/stories/BorderedBox.stories.d.ts +3 -2
- package/ui/Elements/Button/Button.d.ts +3 -2
- package/ui/Elements/Button/index.d.ts +2 -1
- package/ui/Elements/Button/stories/Button.stories.d.ts +3 -2
- package/ui/Elements/Button/styles.d.ts +4 -4
- package/ui/Elements/Button/types.d.ts +2 -1
- package/ui/Elements/Card/Card.d.ts +1 -0
- package/ui/Elements/Card/index.d.ts +2 -1
- package/ui/Elements/Card/stories/Card.stories.d.ts +3 -2
- package/ui/Elements/Card/styles.d.ts +2 -1
- package/ui/Elements/CheckedCircle/index.d.ts +2 -1
- package/ui/Elements/CheckedCircle/storries/CheckedCircle.stories.d.ts +3 -2
- package/ui/Elements/CheckedCircle/styles.d.ts +1 -1
- package/ui/Elements/DatePicker/DatePicker.d.ts +4 -8
- package/ui/Elements/DatePicker/Datetime/DateTime.d.ts +4 -3
- package/ui/Elements/DatePicker/Datetime/components/DateRepeater.d.ts +3 -2
- package/ui/Elements/DatePicker/Datetime/components/FooterRow.d.ts +1 -1
- package/ui/Elements/DatePicker/Datetime/components/FooterRowLabel.d.ts +1 -1
- package/ui/Elements/DatePicker/Datetime/components/TimeInput.d.ts +1 -1
- package/ui/Elements/DatePicker/Datetime/components/Timepicker.d.ts +2 -1
- package/ui/Elements/DatePicker/Datetime/types.d.ts +3 -2
- package/ui/Elements/DatePicker/Datetime/views/DaysView.d.ts +2 -1
- package/ui/Elements/DatePicker/Datetime/views/MonthsView.d.ts +2 -1
- package/ui/Elements/DatePicker/Datetime/views/YearsView.d.ts +2 -1
- package/ui/Elements/DatePicker/index.d.ts +2 -1
- package/ui/Elements/DatePicker/styles.d.ts +1 -1
- package/ui/Elements/DatePicker/utils/constants.d.ts +1 -0
- package/ui/Elements/Dropdown/Dropdown.d.ts +3 -2
- package/ui/Elements/Dropdown/index.d.ts +2 -1
- package/ui/Elements/Dropdown/stories/Dropdown.stories.d.ts +3 -2
- package/ui/Elements/Dropdown/types.d.ts +1 -0
- package/ui/Elements/DropdownMenu/DropdownMenu.d.ts +3 -2
- package/ui/Elements/DropdownMenu/components/DefaultItem.d.ts +3 -2
- package/ui/Elements/DropdownMenu/components/MenuItem.d.ts +3 -2
- package/ui/Elements/DropdownMenu/components/MenuList.d.ts +3 -2
- package/ui/Elements/DropdownMenu/types.d.ts +2 -1
- package/ui/Elements/DropdownSelect/DropdownSelect.d.ts +4 -3
- package/ui/Elements/DropdownSelect/index.d.ts +2 -1
- package/ui/Elements/ErrorMessage/ErrorMessage.d.ts +3 -2
- package/ui/Elements/ErrorMessage/index.d.ts +2 -1
- package/ui/Elements/ErrorMessage/stories/ErrorMessage.stories.d.ts +3 -2
- package/ui/Elements/ErrorMessage/types.d.ts +1 -0
- package/ui/Elements/HighlightBox/HighlightBox.d.ts +2 -1
- package/ui/Elements/HighlightBox/index.d.ts +2 -1
- package/ui/Elements/Icon/BadgeIcon.d.ts +3 -2
- package/ui/Elements/Icon/Icon.d.ts +5 -4
- package/ui/Elements/Icon/icons/Add.d.ts +2 -1
- package/ui/Elements/Icon/icons/AddPhoto.d.ts +1 -0
- package/ui/Elements/Icon/icons/Admin.d.ts +1 -0
- package/ui/Elements/Icon/icons/ArrowDown.d.ts +2 -1
- package/ui/Elements/Icon/icons/ArrowForward.d.ts +2 -1
- package/ui/Elements/Icon/icons/ArrowUp.d.ts +2 -1
- package/ui/Elements/Icon/icons/ArrowUpRightDownLeft.d.ts +2 -1
- package/ui/Elements/Icon/icons/ArrowsLeftRight.d.ts +2 -1
- package/ui/Elements/Icon/icons/ArrowsUpDown.d.ts +2 -1
- package/ui/Elements/Icon/icons/BarcodeScan.d.ts +1 -0
- package/ui/Elements/Icon/icons/Box.d.ts +1 -0
- package/ui/Elements/Icon/icons/Calendar.d.ts +1 -0
- package/ui/Elements/Icon/icons/Cancel.d.ts +1 -0
- package/ui/Elements/Icon/icons/CheckedBox.d.ts +2 -1
- package/ui/Elements/Icon/icons/CircleHalfStroke.d.ts +2 -1
- package/ui/Elements/Icon/icons/Company.d.ts +1 -0
- package/ui/Elements/Icon/icons/Complaint.d.ts +2 -1
- package/ui/Elements/Icon/icons/Consolidation.d.ts +2 -1
- package/ui/Elements/Icon/icons/Container.d.ts +2 -1
- package/ui/Elements/Icon/icons/Dashboard.d.ts +2 -1
- package/ui/Elements/Icon/icons/Desktop.d.ts +2 -1
- package/ui/Elements/Icon/icons/Dispatch.d.ts +2 -1
- package/ui/Elements/Icon/icons/EmptyRack.d.ts +1 -0
- package/ui/Elements/Icon/icons/Expeditions.d.ts +2 -1
- package/ui/Elements/Icon/icons/Filter.d.ts +3 -2
- package/ui/Elements/Icon/icons/FlagCZ.d.ts +2 -1
- package/ui/Elements/Icon/icons/FlagEL.d.ts +2 -1
- package/ui/Elements/Icon/icons/FlagESP.d.ts +2 -1
- package/ui/Elements/Icon/icons/FlagHU.d.ts +3 -2
- package/ui/Elements/Icon/icons/FlagITA.d.ts +2 -1
- package/ui/Elements/Icon/icons/FlagNL.d.ts +3 -2
- package/ui/Elements/Icon/icons/FlagRUS.d.ts +2 -1
- package/ui/Elements/Icon/icons/FlagSVK.d.ts +2 -1
- package/ui/Elements/Icon/icons/FlagUK.d.ts +2 -1
- package/ui/Elements/Icon/icons/FlagUSA.d.ts +2 -1
- package/ui/Elements/Icon/icons/Foldable.d.ts +3 -2
- package/ui/Elements/Icon/icons/Fragile.d.ts +2 -1
- package/ui/Elements/Icon/icons/Gift.d.ts +2 -1
- package/ui/Elements/Icon/icons/Group.d.ts +1 -0
- package/ui/Elements/Icon/icons/HamburgerMenu.d.ts +2 -1
- package/ui/Elements/Icon/icons/HelpCircle1.d.ts +2 -1
- package/ui/Elements/Icon/icons/HorizontalLines.d.ts +1 -0
- package/ui/Elements/Icon/icons/ImagePlaceholder.d.ts +1 -0
- package/ui/Elements/Icon/icons/Income.d.ts +2 -1
- package/ui/Elements/Icon/icons/Info.d.ts +2 -1
- package/ui/Elements/Icon/icons/Integrations.d.ts +1 -0
- package/ui/Elements/Icon/icons/Inventory.d.ts +2 -1
- package/ui/Elements/Icon/icons/Inventory2.d.ts +2 -1
- package/ui/Elements/Icon/icons/Layout.d.ts +3 -2
- package/ui/Elements/Icon/icons/Link.d.ts +1 -0
- package/ui/Elements/Icon/icons/Liquid.d.ts +3 -2
- package/ui/Elements/Icon/icons/Location.d.ts +2 -1
- package/ui/Elements/Icon/icons/Logout1.d.ts +2 -1
- package/ui/Elements/Icon/icons/MachinePackingForbidden.d.ts +3 -2
- package/ui/Elements/Icon/icons/MakePhoto.d.ts +2 -1
- package/ui/Elements/Icon/icons/MenuItems.d.ts +2 -1
- package/ui/Elements/Icon/icons/Message.d.ts +2 -1
- package/ui/Elements/Icon/icons/MobileCancel.d.ts +2 -1
- package/ui/Elements/Icon/icons/MobilePhone.d.ts +3 -2
- package/ui/Elements/Icon/icons/Moon.d.ts +2 -1
- package/ui/Elements/Icon/icons/Notification2.d.ts +2 -1
- package/ui/Elements/Icon/icons/OpenBox.d.ts +1 -0
- package/ui/Elements/Icon/icons/Pallet.d.ts +2 -1
- package/ui/Elements/Icon/icons/Plus1.d.ts +2 -1
- package/ui/Elements/Icon/icons/Print.d.ts +2 -1
- package/ui/Elements/Icon/icons/Product.d.ts +1 -0
- package/ui/Elements/Icon/icons/Products.d.ts +2 -1
- package/ui/Elements/Icon/icons/Profile.d.ts +2 -1
- package/ui/Elements/Icon/icons/Puzzle1.d.ts +2 -1
- package/ui/Elements/Icon/icons/QRCode.d.ts +2 -1
- package/ui/Elements/Icon/icons/Rack.d.ts +1 -0
- package/ui/Elements/Icon/icons/Reload.d.ts +3 -2
- package/ui/Elements/Icon/icons/Return.d.ts +2 -1
- package/ui/Elements/Icon/icons/Rows.d.ts +1 -0
- package/ui/Elements/Icon/icons/Settings2.d.ts +2 -1
- package/ui/Elements/Icon/icons/ShieldUser.d.ts +3 -2
- package/ui/Elements/Icon/icons/ShoppingBag.d.ts +2 -1
- package/ui/Elements/Icon/icons/Sort.d.ts +3 -2
- package/ui/Elements/Icon/icons/Sun.d.ts +2 -1
- package/ui/Elements/Icon/icons/ThreeDots.d.ts +1 -0
- package/ui/Elements/Icon/icons/ToastError.d.ts +1 -0
- package/ui/Elements/Icon/icons/ToastSuccess.d.ts +1 -0
- package/ui/Elements/Icon/icons/Transfer.d.ts +2 -1
- package/ui/Elements/Icon/icons/TrashBin.d.ts +1 -0
- package/ui/Elements/Icon/icons/Truck.d.ts +2 -1
- package/ui/Elements/Icon/icons/TwoBoxes.d.ts +2 -1
- package/ui/Elements/Icon/icons/TwoCheckedBoxes.d.ts +2 -1
- package/ui/Elements/Icon/icons/TwoUsers.d.ts +2 -1
- package/ui/Elements/Icon/icons/UserCowboy.d.ts +3 -2
- package/ui/Elements/Icon/icons/Valuable.d.ts +3 -2
- package/ui/Elements/Icon/icons/Weight.d.ts +2 -1
- package/ui/Elements/Icon/index.d.ts +2 -1
- package/ui/Elements/Icon/stories/BadgeIcon.stories.d.ts +5 -4
- package/ui/Elements/Icon/stories/Icon.stories.d.ts +3 -2
- package/ui/Elements/Icon/types.d.ts +2 -1
- package/ui/Elements/Image/Image.d.ts +3 -2
- package/ui/Elements/Image/index.d.ts +2 -1
- package/ui/Elements/Image/stories/Image.stories.d.ts +3 -2
- package/ui/Elements/Image/types.d.ts +2 -1
- package/ui/Elements/Label/Label.d.ts +2 -2
- package/ui/Elements/Label/index.d.ts +1 -0
- package/ui/Elements/Label/stories/Label.stories.d.ts +3 -2
- package/ui/Elements/Line/Line.d.ts +1 -0
- package/ui/Elements/Line/index.d.ts +2 -1
- package/ui/Elements/Line/stories/Line.stories.d.ts +3 -2
- package/ui/Elements/Line/types.d.ts +2 -1
- package/ui/Elements/Link/Link.d.ts +2 -1
- package/ui/Elements/Link/index.d.ts +2 -1
- package/ui/Elements/Link/stories/Link.stories.d.ts +3 -2
- package/ui/Elements/Logo/Logo.d.ts +3 -2
- package/ui/Elements/Logo/index.d.ts +2 -1
- package/ui/Elements/Logo/stories/Logo.stories.d.ts +3 -2
- package/ui/Elements/Pagination/Pagination.d.ts +2 -1
- package/ui/Elements/Pagination/index.d.ts +2 -1
- package/ui/Elements/Pagination/stories/Pagination.stories.d.ts +3 -2
- package/ui/Elements/Pagination/styled.d.ts +6 -6
- package/ui/Elements/Portal/index.d.ts +2 -1
- package/ui/Elements/ProgressBar/ProgressBar.d.ts +2 -1
- package/ui/Elements/ProgressBar/index.d.ts +2 -1
- package/ui/Elements/ProgressBar/stories/ProgressBar.stories.d.ts +3 -2
- package/ui/Elements/ProgressBar/styles.d.ts +3 -3
- package/ui/Elements/Select/Select.d.ts +3 -2
- package/ui/Elements/Select/components/CountMultiValue.d.ts +2 -1
- package/ui/Elements/Select/components/DropdownIndicator.d.ts +2 -1
- package/ui/Elements/Select/components/SelectAll.d.ts +2 -2
- package/ui/Elements/Select/components/SelectedIndicator.d.ts +1 -1
- package/ui/Elements/Select/components/SimplifiedOption.d.ts +1 -1
- package/ui/Elements/Select/index.d.ts +2 -1
- package/ui/Elements/Select/styles.d.ts +6 -5
- package/ui/Elements/Select/themes/index.d.ts +3 -2
- package/ui/Elements/Select/themes/selectStyles.d.ts +2 -1
- package/ui/Elements/Select/types.d.ts +4 -3
- package/ui/Elements/SimpleLink/SimpleLink.d.ts +3 -2
- package/ui/Elements/SimpleLink/index.d.ts +2 -1
- package/ui/Elements/SingleSelect/SingleSelect.d.ts +3 -2
- package/ui/Elements/SingleSelect/index.d.ts +2 -1
- package/ui/Elements/SpaceAround/SpaceAround.d.ts +3 -2
- package/ui/Elements/SpaceAround/index.d.ts +2 -1
- package/ui/Elements/SpaceAround/stories/SpaceAround.stories.d.ts +3 -2
- package/ui/Elements/Spinner/Spinner.d.ts +3 -2
- package/ui/Elements/Spinner/index.d.ts +2 -1
- package/ui/Elements/Spinner/stories/Spinner.stories.d.ts +3 -2
- package/ui/Elements/Spinner/styles.d.ts +2 -2
- package/ui/Elements/Table/Table.d.ts +6 -6
- package/ui/Elements/Table/stories/Table.stories.d.ts +1 -1
- package/ui/Elements/Tag/Tag.d.ts +3 -2
- package/ui/Elements/Tag/index.d.ts +2 -1
- package/ui/Elements/Tag/palettes.d.ts +2 -1
- package/ui/Elements/Tag/stories/Tag.stories.d.ts +3 -2
- package/ui/Elements/Text/Text.d.ts +3 -2
- package/ui/Elements/Text/index.d.ts +2 -1
- package/ui/Elements/Text/stories/Text.stories.d.ts +3 -2
- package/ui/Elements/Text/types.d.ts +1 -0
- package/ui/Elements/Toast/Toast.d.ts +2 -1
- package/ui/Elements/Toast/constants.d.ts +2 -1
- package/ui/Elements/Toast/index.d.ts +2 -1
- package/ui/Elements/Toast/stories/Toast.stories.d.ts +3 -2
- package/ui/Elements/Toast/styles.d.ts +5 -5
- package/ui/Elements/Toggle/Toggle.d.ts +3 -2
- package/ui/Elements/Toggle/index.d.ts +2 -1
- package/ui/Elements/Toggle/stories/Toggle.stories.d.ts +3 -2
- package/ui/Elements/Toggle/types.d.ts +1 -0
- package/ui/Elements/Tooltip/Tooltip.d.ts +3 -2
- package/ui/Elements/Tooltip/index.d.ts +2 -1
- package/ui/Elements/Tooltip/stories/Tooltip.stories.d.ts +3 -2
- package/ui/Elements/Typography/Typography.d.ts +3 -2
- package/ui/Elements/Typography/index.d.ts +1 -0
- package/ui/Elements/Typography/stories/Typography.stories.d.ts +2 -1
- package/ui/Forms/Checkbox/Checkbox.d.ts +3 -2
- package/ui/Forms/Checkbox/index.d.ts +2 -1
- package/ui/Forms/Checkbox/stories/Checkbox.stories.d.ts +2 -1
- package/ui/Forms/Checkbox/styles.d.ts +4 -4
- package/ui/Forms/Checkbox/types.d.ts +2 -1
- package/ui/Forms/Input/Input.d.ts +3 -2
- package/ui/Forms/Input/index.d.ts +1 -0
- package/ui/Forms/Input/stories/Input.stories.d.ts +3 -2
- package/ui/Forms/Input/styles.d.ts +9 -9
- package/ui/Forms/Input/types.d.ts +2 -1
- package/ui/Forms/RadioButton/RadioButton.d.ts +3 -2
- package/ui/Forms/RadioButton/index.d.ts +2 -1
- package/ui/Forms/RadioButton/stories/RadioButton.stories.d.ts +3 -2
- package/ui/Forms/RadioButton/styles.d.ts +6 -6
- package/ui/Forms/RadioButton/types.d.ts +1 -0
- package/ui/Forms/TextArea/TextArea.d.ts +3 -2
- package/ui/Forms/TextArea/index.d.ts +2 -1
- package/ui/Forms/TextArea/styles.d.ts +5 -5
- package/ui/ThemeProvider/ThemeProvider.d.ts +4 -3
- package/ui/ThemeProvider/index.d.ts +3 -2
- package/ui/ThemeProvider/themes/index.d.ts +1 -1
- package/ui/ThemeProvider/themes/light.d.ts +2 -1
- package/ui/ThemeProvider/types.d.ts +2 -1
- package/ui/index.d.ts +48 -47
- package/ui/index.es.js +47189 -0
- package/ui/index.umd.js +4234 -0
- package/ui/utils/CreateRgba/createRgba.d.ts +1 -0
- package/ui/utils/KeyPress/KeyPress.d.ts +1 -0
- package/ui/utils/KeyPress/KeyPress.stories.d.ts +2 -1
- package/ui/utils/KeyPress/index.d.ts +2 -1
- package/ui/utils/index.d.ts +5 -4
- package/ui/utils/translations.d.ts +2 -1
- package/ui/Blocks/CommonGrid/CommonGrid.js +0 -155
- package/ui/Blocks/CommonGrid/CommonGridContainer.js +0 -370
- package/ui/Blocks/CommonGrid/HoC/withProps.js +0 -39
- package/ui/Blocks/CommonGrid/HoC/withReduxActions.js +0 -49
- package/ui/Blocks/CommonGrid/components/ActionHead/ActionHead.js +0 -200
- package/ui/Blocks/CommonGrid/components/ActionHead/components/ActionDropdownMenu.js +0 -51
- package/ui/Blocks/CommonGrid/components/ActionHead/components/ActionDropdownSelect.js +0 -167
- package/ui/Blocks/CommonGrid/components/ActionHead/index.js +0 -3
- package/ui/Blocks/CommonGrid/components/ButtonMore/ButtonMore.js +0 -126
- package/ui/Blocks/CommonGrid/components/ButtonMore/index.js +0 -3
- package/ui/Blocks/CommonGrid/components/ColumnFilterCell.js +0 -115
- package/ui/Blocks/CommonGrid/components/ColumnTitle/ColumnTitle.js +0 -253
- package/ui/Blocks/CommonGrid/components/ColumnTitle/index.js +0 -3
- package/ui/Blocks/CommonGrid/components/ColumnTitle.js +0 -108
- package/ui/Blocks/CommonGrid/components/ControlButtons/ControlButtons.js +0 -256
- package/ui/Blocks/CommonGrid/components/ControlButtons/index.js +0 -3
- package/ui/Blocks/CommonGrid/components/ControlButtons/styles.js +0 -55
- package/ui/Blocks/CommonGrid/components/DataCell.js +0 -100
- package/ui/Blocks/CommonGrid/components/DataRow.js +0 -76
- package/ui/Blocks/CommonGrid/components/DropdownButton/DropdownButton.js +0 -156
- package/ui/Blocks/CommonGrid/components/DropdownButton/index.js +0 -3
- package/ui/Blocks/CommonGrid/components/ExtraControlButtons/ExtraControlButtons.js +0 -152
- package/ui/Blocks/CommonGrid/components/ExtraControlButtons/index.js +0 -3
- package/ui/Blocks/CommonGrid/components/FilterDropdown.js +0 -50
- package/ui/Blocks/CommonGrid/components/FilterRow.js +0 -38
- package/ui/Blocks/CommonGrid/components/Filters/ActionsFilter/ActionsFilter.js +0 -85
- package/ui/Blocks/CommonGrid/components/Filters/ActionsFilter/index.js +0 -3
- package/ui/Blocks/CommonGrid/components/Filters/BooleanSelect/BooleanSelect.js +0 -93
- package/ui/Blocks/CommonGrid/components/Filters/BooleanSelect/index.js +0 -3
- package/ui/Blocks/CommonGrid/components/Filters/DatePickerRange/DatePickerRange.js +0 -376
- package/ui/Blocks/CommonGrid/components/Filters/DatePickerRange/index.js +0 -3
- package/ui/Blocks/CommonGrid/components/Filters/DatePickerRange/utils/getCleanValues.js +0 -15
- package/ui/Blocks/CommonGrid/components/Filters/DatePickerRange/utils/pickerRangeToString.js +0 -28
- package/ui/Blocks/CommonGrid/components/Filters/DatePickerRange/utils/sameDate.js +0 -4
- package/ui/Blocks/CommonGrid/components/Filters/GridSelect/GridSelect.js +0 -379
- package/ui/Blocks/CommonGrid/components/Filters/GridSelect/guards.js +0 -10
- package/ui/Blocks/CommonGrid/components/Filters/GridSelect/index.js +0 -3
- package/ui/Blocks/CommonGrid/components/Filters/NumberRange/NumberRange.js +0 -298
- package/ui/Blocks/CommonGrid/components/Filters/NumberRange/index.js +0 -3
- package/ui/Blocks/CommonGrid/components/Filters/NumberRange/types.js +0 -0
- package/ui/Blocks/CommonGrid/components/Filters/TextRange/TextRange.js +0 -324
- package/ui/Blocks/CommonGrid/components/Filters/TextRange/index.js +0 -3
- package/ui/Blocks/CommonGrid/components/Filters/TextRange/types.js +0 -0
- package/ui/Blocks/CommonGrid/components/FloatingButton/FloatingButton.js +0 -158
- package/ui/Blocks/CommonGrid/components/FloatingButton/index.js +0 -3
- package/ui/Blocks/CommonGrid/components/GridInfo/index.js +0 -45
- package/ui/Blocks/CommonGrid/components/GridModals/index.js +0 -138
- package/ui/Blocks/CommonGrid/components/GridStatus/index.js +0 -29
- package/ui/Blocks/CommonGrid/components/GroupRow.js +0 -90
- package/ui/Blocks/CommonGrid/components/HeadCell.js +0 -93
- package/ui/Blocks/CommonGrid/components/HeadRow.js +0 -195
- package/ui/Blocks/CommonGrid/components/IconList/IconList.js +0 -101
- package/ui/Blocks/CommonGrid/components/IconList/index.js +0 -3
- package/ui/Blocks/CommonGrid/components/ManageColumnForm/ManageColumnForm.js +0 -117
- package/ui/Blocks/CommonGrid/components/ManageColumnForm/components/ManageColumnRow.js +0 -175
- package/ui/Blocks/CommonGrid/components/ManageColumnForm/index.js +0 -3
- package/ui/Blocks/CommonGrid/components/ManageColumnForm/styles.js +0 -35
- package/ui/Blocks/CommonGrid/components/ManageColumnForm/utils.js +0 -11
- package/ui/Blocks/CommonGrid/components/MobileFilterModal.js +0 -231
- package/ui/Blocks/CommonGrid/components/MobileOverlayWrapper.js +0 -22
- package/ui/Blocks/CommonGrid/components/MobileSortModal.js +0 -94
- package/ui/Blocks/CommonGrid/components/OversizedScroll.js +0 -88
- package/ui/Blocks/CommonGrid/components/PresetsModalBody/components/TagRemove.js +0 -22
- package/ui/Blocks/CommonGrid/components/PresetsModalBody/index.js +0 -205
- package/ui/Blocks/CommonGrid/components/QuickFilter/QuickFilter.js +0 -56
- package/ui/Blocks/CommonGrid/components/QuickFilter/index.js +0 -3
- package/ui/Blocks/CommonGrid/components/Resize.js +0 -55
- package/ui/Blocks/CommonGrid/components/Table.js +0 -96
- package/ui/Blocks/CommonGrid/components/TablePagination/TablePagination.js +0 -116
- package/ui/Blocks/CommonGrid/components/TablePagination/index.js +0 -3
- package/ui/Blocks/CommonGrid/components/gridCells/BoolIcon.js +0 -35
- package/ui/Blocks/CommonGrid/components/gridCells/ButtonInCell.js +0 -61
- package/ui/Blocks/CommonGrid/components/gridCells/Date.js +0 -11
- package/ui/Blocks/CommonGrid/components/gridCells/DateTime.js +0 -16
- package/ui/Blocks/CommonGrid/components/gridCells/EnumInCell.js +0 -103
- package/ui/Blocks/CommonGrid/components/gridCells/HoverBubble.js +0 -52
- package/ui/Blocks/CommonGrid/components/gridCells/IconButtonInCell.js +0 -36
- package/ui/Blocks/CommonGrid/components/gridCells/ImageCell.js +0 -53
- package/ui/Blocks/CommonGrid/components/gridCells/LinkInCell.js +0 -23
- package/ui/Blocks/CommonGrid/components/gridCells/RemoveItem.js +0 -67
- package/ui/Blocks/CommonGrid/components/gridCells/RowActionsCell.js +0 -117
- package/ui/Blocks/CommonGrid/components/gridCells/StringJoin.js +0 -10
- package/ui/Blocks/CommonGrid/components/gridCells/SwitchInCell.js +0 -60
- package/ui/Blocks/CommonGrid/components/gridCells/ToggleCell.js +0 -85
- package/ui/Blocks/CommonGrid/components/gridCells/index.js +0 -15
- package/ui/Blocks/CommonGrid/components/icons/Edit.js +0 -66
- package/ui/Blocks/CommonGrid/components/icons/EyeOpen.js +0 -66
- package/ui/Blocks/CommonGrid/components/icons/Sorting.js +0 -74
- package/ui/Blocks/CommonGrid/components/utils.js +0 -70
- package/ui/Blocks/CommonGrid/hooks/useAddFilter.js +0 -17
- package/ui/Blocks/CommonGrid/hooks/useColumnSizes.js +0 -121
- package/ui/Blocks/CommonGrid/hooks/useCreatePreset.js +0 -80
- package/ui/Blocks/CommonGrid/hooks/useDeletePreset.js +0 -35
- package/ui/Blocks/CommonGrid/hooks/useEditReadAsColumn.js +0 -93
- package/ui/Blocks/CommonGrid/hooks/useEvent.js +0 -17
- package/ui/Blocks/CommonGrid/hooks/useFloatingButton.js +0 -16
- package/ui/Blocks/CommonGrid/hooks/useGridActionTrigger.js +0 -44
- package/ui/Blocks/CommonGrid/hooks/useGridAutoRowsPerPage.js +0 -23
- package/ui/Blocks/CommonGrid/hooks/useManageColumn.js +0 -222
- package/ui/Blocks/CommonGrid/hooks/usePresetFileHandlers.js +0 -127
- package/ui/Blocks/CommonGrid/hooks/usePresetsState.js +0 -60
- package/ui/Blocks/CommonGrid/hooks/useQuickFilter.js +0 -151
- package/ui/Blocks/CommonGrid/hooks/useRowsKeyControls.js +0 -24
- package/ui/Blocks/CommonGrid/hooks/useSelectPreset.js +0 -83
- package/ui/Blocks/CommonGrid/hooks/useToggleAllCheckbox.js +0 -30
- package/ui/Blocks/CommonGrid/hooks/useUxReset.js +0 -65
- package/ui/Blocks/CommonGrid/index.js +0 -10
- package/ui/Blocks/CommonGrid/store/index.js +0 -437
- package/ui/Blocks/CommonGrid/store/migrateState.js +0 -13
- package/ui/Blocks/CommonGrid/store/store.d.js +0 -0
- package/ui/Blocks/CommonGrid/storybook/components/ComplexCell.js +0 -23
- package/ui/Blocks/CommonGrid/storybook/components/EnumCellExample.js +0 -27
- package/ui/Blocks/CommonGrid/storybook/utils/actions.js +0 -16
- package/ui/Blocks/CommonGrid/storybook/utils/columnDefinition.js +0 -160
- package/ui/Blocks/CommonGrid/storybook/utils/utils.js +0 -153
- package/ui/Blocks/CommonGrid/storybook/utils/withRedux.js +0 -17
- package/ui/Blocks/CommonGrid/storybook/utils/withRouter.js +0 -9
- package/ui/Blocks/CommonGrid/storybook/utils/withTheme.js +0 -5
- package/ui/Blocks/CommonGrid/styles.js +0 -98
- package/ui/Blocks/CommonGrid/types.js +0 -14
- package/ui/Blocks/CommonGrid/utils/constants.js +0 -24
- package/ui/Blocks/CommonGrid/utils/getExtendedExtraControlButtons.js +0 -46
- package/ui/Blocks/CommonGrid/utils/getRowsPerPage.js +0 -11
- package/ui/Blocks/CommonGrid/utils/hasSortTerminated.js +0 -11
- package/ui/Blocks/CommonGrid/utils/index.js +0 -116
- package/ui/Blocks/CornerDialog/CornerDialog.js +0 -97
- package/ui/Blocks/CornerDialog/index.d.js +0 -2
- package/ui/Blocks/CornerDialog/index.js +0 -3
- package/ui/Blocks/CornerDialog/styles.js +0 -84
- package/ui/Blocks/CornerDialog/types.js +0 -0
- package/ui/Blocks/CornerDialog/utils.js +0 -29
- package/ui/Blocks/Header/components/MenuItems/components/MenuItem/index.js +0 -15
- package/ui/Blocks/Header/components/MenuItems/index.js +0 -14
- package/ui/Blocks/Header/components/MenuItems/styles.js +0 -36
- package/ui/Blocks/Header/components/UserMenu/components/UserInfo/index.js +0 -31
- package/ui/Blocks/Header/components/UserMenu/components/UserInfo/styles.js +0 -32
- package/ui/Blocks/Header/components/UserMenu/hooks/index.js +0 -2
- package/ui/Blocks/Header/components/UserMenu/hooks/useLogout.js +0 -11
- package/ui/Blocks/Header/components/UserMenu/index.js +0 -103
- package/ui/Blocks/Header/components/UserMenu/styles.js +0 -45
- package/ui/Blocks/Header/hooks/useChangeLanguage.js +0 -10
- package/ui/Blocks/Header/index.js +0 -61
- package/ui/Blocks/Header/styles.js +0 -55
- package/ui/Blocks/Header/types.js +0 -0
- package/ui/Blocks/Header/utils/constants.js +0 -2
- package/ui/Blocks/Header/utils/languageItems.js +0 -20
- package/ui/Blocks/HidePrint/HidePrint.js +0 -30
- package/ui/Blocks/ImageList/ImageList.js +0 -135
- package/ui/Blocks/ImageList/components/AddPhoto/index.js +0 -185
- package/ui/Blocks/ImageList/components/AddPhoto/styles.js +0 -43
- package/ui/Blocks/ImageList/components/CloseButton/index.js +0 -16
- package/ui/Blocks/ImageList/components/CloseButton/styles.js +0 -26
- package/ui/Blocks/ImageList/components/ImageElement/index.js +0 -30
- package/ui/Blocks/ImageList/components/ImageElement/styles.js +0 -64
- package/ui/Blocks/ImageList/components/ImageTag/index.js +0 -18
- package/ui/Blocks/ImageList/components/ImageTag/styles.js +0 -22
- package/ui/Blocks/ImageList/hooks/useControls.js +0 -68
- package/ui/Blocks/ImageList/hooks/useOnElementClick.js +0 -73
- package/ui/Blocks/ImageList/index.d.js +0 -2
- package/ui/Blocks/ImageList/index.js +0 -3
- package/ui/Blocks/ImageList/styles.js +0 -48
- package/ui/Blocks/ImageList/types.js +0 -0
- package/ui/Blocks/LanguageSwitch/LanguageSwitch.js +0 -139
- package/ui/Blocks/LanguageSwitch/index.js +0 -3
- package/ui/Blocks/LanguageSwitch/styles.js +0 -50
- package/ui/Blocks/LanguageSwitch/types.js +0 -0
- package/ui/Blocks/LightBox/LightBox.js +0 -50
- package/ui/Blocks/LightBox/hooks/useLightBox.js +0 -22
- package/ui/Blocks/LightBox/index.d.js +0 -3
- package/ui/Blocks/LightBox/index.js +0 -4
- package/ui/Blocks/LightBox/styles.js +0 -52
- package/ui/Blocks/LightBox/types.js +0 -0
- package/ui/Blocks/LoginPage/LoginPage.js +0 -80
- package/ui/Blocks/LoginPage/components/LoginForm.js +0 -225
- package/ui/Blocks/LoginPage/components/SocialLinks.js +0 -102
- package/ui/Blocks/LoginPage/index.js +0 -3
- package/ui/Blocks/LoginPage/styles.js +0 -95
- package/ui/Blocks/LoginPage/types.js +0 -0
- package/ui/Blocks/LoginPage/utils/links.js +0 -8
- package/ui/Blocks/Modal/Modal.js +0 -151
- package/ui/Blocks/Modal/hooks/useClickOutside.js +0 -38
- package/ui/Blocks/Modal/hooks/useModal.js +0 -67
- package/ui/Blocks/Modal/index.d.js +0 -3
- package/ui/Blocks/Modal/index.js +0 -5
- package/ui/Blocks/Modal/styles.js +0 -257
- package/ui/Blocks/Modal/types.js +0 -0
- package/ui/Blocks/Modal/utils.js +0 -8
- package/ui/Blocks/Popover/index.js +0 -53
- package/ui/Blocks/Scheduler/Scheduler.js +0 -108
- package/ui/Blocks/Scheduler/components/BookedTimeSlots/index.js +0 -126
- package/ui/Blocks/Scheduler/components/BookedTimeSlots/styles.js +0 -54
- package/ui/Blocks/Scheduler/components/CurrentTimeMarker/hooks/useCurrentTime.js +0 -64
- package/ui/Blocks/Scheduler/components/CurrentTimeMarker/index.js +0 -18
- package/ui/Blocks/Scheduler/components/CurrentTimeMarker/styles.js +0 -52
- package/ui/Blocks/Scheduler/components/DateChanger/index.js +0 -54
- package/ui/Blocks/Scheduler/components/DateChanger/styles.js +0 -36
- package/ui/Blocks/Scheduler/components/Groups/index.js +0 -17
- package/ui/Blocks/Scheduler/components/Groups/styles.js +0 -54
- package/ui/Blocks/Scheduler/components/TimeSlots/hooks/useRangeSelection.js +0 -117
- package/ui/Blocks/Scheduler/components/TimeSlots/hooks/useScroll.js +0 -20
- package/ui/Blocks/Scheduler/components/TimeSlots/index.js +0 -56
- package/ui/Blocks/Scheduler/components/TimeSlots/styles.js +0 -76
- package/ui/Blocks/Scheduler/hooks/useChangeDate.js +0 -86
- package/ui/Blocks/Scheduler/index.js +0 -2
- package/ui/Blocks/Scheduler/styles.js +0 -34
- package/ui/Blocks/Scheduler/types.js +0 -0
- package/ui/Blocks/Scheduler/utils/constants.js +0 -7
- package/ui/Blocks/Scheduler/utils/convertDateToTime.js +0 -6
- package/ui/Blocks/Scheduler/utils/convertIndexToISOString.js +0 -9
- package/ui/Blocks/Scheduler/utils/convertMinutesToDuration.js +0 -12
- package/ui/Blocks/Scheduler/utils/formatDate.js +0 -9
- package/ui/Blocks/Scheduler/utils/generateTimeArray.js +0 -17
- package/ui/Blocks/Scheduler/utils/getClosestStep.js +0 -10
- package/ui/Blocks/Scheduler/utils/getMinutesFromString.js +0 -6
- package/ui/Blocks/Scheduler/utils/getMinutesFromTime.js +0 -51
- package/ui/Blocks/Scheduler/utils/isActiveTime.js +0 -10
- package/ui/Blocks/Scheduler/utils/isToday.js +0 -5
- package/ui/Blocks/SideMenu/MenuItem.js +0 -196
- package/ui/Blocks/SideMenu/SideMenu.js +0 -82
- package/ui/Blocks/SideMenu/components/Footer.js +0 -98
- package/ui/Blocks/SideMenu/components/HamburgerMenu.js +0 -71
- package/ui/Blocks/SideMenu/components/SubitemTooltip.js +0 -137
- package/ui/Blocks/SideMenu/context/LeftMenuContext.js +0 -70
- package/ui/Blocks/SideMenu/context/useLeftMenuContext.js +0 -8
- package/ui/Blocks/SideMenu/hooks/useOutsideHover.js +0 -78
- package/ui/Blocks/SideMenu/index.js +0 -5
- package/ui/Blocks/SideMenu/stories/menuItems.js +0 -103
- package/ui/Blocks/SideMenu/styles.js +0 -417
- package/ui/Blocks/SideMenu/types.js +0 -0
- package/ui/Blocks/SideMenu/utils/constants.js +0 -3
- package/ui/Blocks/Stepper/Stepper.js +0 -53
- package/ui/Blocks/Stepper/components/StepCircle/index.js +0 -16
- package/ui/Blocks/Stepper/components/StepCircle/styles.js +0 -48
- package/ui/Blocks/Stepper/components/StepItem/index.js +0 -62
- package/ui/Blocks/Stepper/components/StepItem/styles.js +0 -88
- package/ui/Blocks/Stepper/hooks/useStepper.js +0 -81
- package/ui/Blocks/Stepper/index.js +0 -4
- package/ui/Blocks/Stepper/styles.js +0 -40
- package/ui/Blocks/Stepper/types.js +0 -0
- package/ui/Blocks/Table/Table.js +0 -34
- package/ui/Blocks/Table/index.js +0 -2
- package/ui/Blocks/Table/types.js +0 -0
- package/ui/Blocks/Tabs/TabContent.js +0 -10
- package/ui/Blocks/Tabs/Tabs.js +0 -57
- package/ui/Blocks/Tabs/hooks/useTabs.js +0 -62
- package/ui/Blocks/Tabs/index.d.js +0 -3
- package/ui/Blocks/Tabs/index.js +0 -5
- package/ui/Blocks/Tabs/styles.js +0 -110
- package/ui/Blocks/Tabs/types.js +0 -0
- package/ui/Elements/Alert/Alert.js +0 -100
- package/ui/Elements/Alert/index.d.js +0 -3
- package/ui/Elements/Alert/index.js +0 -3
- package/ui/Elements/Alert/styles.js +0 -127
- package/ui/Elements/Alert/types.js +0 -0
- package/ui/Elements/AsyncSelect/AsyncSelect.js +0 -161
- package/ui/Elements/AsyncSelect/index.js +0 -3
- package/ui/Elements/Avatar/Avatar.js +0 -153
- package/ui/Elements/Avatar/index.d.js +0 -2
- package/ui/Elements/Avatar/index.js +0 -4
- package/ui/Elements/Avatar/types.js +0 -0
- package/ui/Elements/Badge/Badge.js +0 -107
- package/ui/Elements/Badge/index.d.js +0 -2
- package/ui/Elements/Badge/index.js +0 -3
- package/ui/Elements/BarChartSymbol/BarChartSymbol.js +0 -25
- package/ui/Elements/BarChartSymbol/index.js +0 -2
- package/ui/Elements/BarChartSymbol/styles.js +0 -34
- package/ui/Elements/BorderedBox/BorderedBox.js +0 -125
- package/ui/Elements/BorderedBox/index.d.js +0 -3
- package/ui/Elements/BorderedBox/index.js +0 -3
- package/ui/Elements/BorderedBox/types.js +0 -0
- package/ui/Elements/Button/Button.d.js +0 -2
- package/ui/Elements/Button/Button.js +0 -154
- package/ui/Elements/Button/index.d.js +0 -3
- package/ui/Elements/Button/index.js +0 -3
- package/ui/Elements/Button/styles.js +0 -98
- package/ui/Elements/Button/types.js +0 -0
- package/ui/Elements/Card/Card.js +0 -15
- package/ui/Elements/Card/index.d.js +0 -2
- package/ui/Elements/Card/index.js +0 -3
- package/ui/Elements/Card/styles.js +0 -50
- package/ui/Elements/Card/types.js +0 -0
- package/ui/Elements/CheckedCircle/index.js +0 -14
- package/ui/Elements/CheckedCircle/styles.js +0 -30
- package/ui/Elements/DatePicker/DatePicker.js +0 -211
- package/ui/Elements/DatePicker/Datetime/DateTime.js +0 -730
- package/ui/Elements/DatePicker/Datetime/components/DateRepeater.js +0 -130
- package/ui/Elements/DatePicker/Datetime/components/FooterRow.js +0 -26
- package/ui/Elements/DatePicker/Datetime/components/FooterRowLabel.js +0 -22
- package/ui/Elements/DatePicker/Datetime/components/TimeInput.js +0 -22
- package/ui/Elements/DatePicker/Datetime/components/Timepicker.js +0 -258
- package/ui/Elements/DatePicker/Datetime/components/ViewNavigation.js +0 -87
- package/ui/Elements/DatePicker/Datetime/types.js +0 -12
- package/ui/Elements/DatePicker/Datetime/views/DaysView.js +0 -340
- package/ui/Elements/DatePicker/Datetime/views/MonthsView.js +0 -271
- package/ui/Elements/DatePicker/Datetime/views/YearsView.js +0 -281
- package/ui/Elements/DatePicker/index.js +0 -4
- package/ui/Elements/DatePicker/styles.js +0 -36
- package/ui/Elements/DatePicker/utils/constants.js +0 -35
- package/ui/Elements/Dropdown/Dropdown.js +0 -90
- package/ui/Elements/Dropdown/index.js +0 -3
- package/ui/Elements/Dropdown/types.js +0 -0
- package/ui/Elements/DropdownMenu/DropdownMenu.js +0 -137
- package/ui/Elements/DropdownMenu/components/DefaultItem.js +0 -58
- package/ui/Elements/DropdownMenu/components/MenuItem.js +0 -106
- package/ui/Elements/DropdownMenu/components/MenuList.js +0 -16
- package/ui/Elements/DropdownMenu/index.js +0 -2
- package/ui/Elements/DropdownMenu/types.js +0 -0
- package/ui/Elements/DropdownSelect/DropdownSelect.js +0 -207
- package/ui/Elements/DropdownSelect/index.js +0 -4
- package/ui/Elements/ErrorMessage/ErrorMessage.js +0 -58
- package/ui/Elements/ErrorMessage/index.d.js +0 -3
- package/ui/Elements/ErrorMessage/index.js +0 -3
- package/ui/Elements/ErrorMessage/types.js +0 -0
- package/ui/Elements/HighlightBox/HighlightBox.js +0 -103
- package/ui/Elements/HighlightBox/index.js +0 -3
- package/ui/Elements/Icon/BadgeIcon.js +0 -123
- package/ui/Elements/Icon/Icon.js +0 -356
- package/ui/Elements/Icon/icons/Add.js +0 -93
- package/ui/Elements/Icon/icons/AddPhoto.js +0 -86
- package/ui/Elements/Icon/icons/Admin.js +0 -81
- package/ui/Elements/Icon/icons/ArrowDown.js +0 -70
- package/ui/Elements/Icon/icons/ArrowForward.js +0 -66
- package/ui/Elements/Icon/icons/ArrowUp.js +0 -70
- package/ui/Elements/Icon/icons/ArrowUpRightDownLeft.js +0 -79
- package/ui/Elements/Icon/icons/ArrowsLeftRight.js +0 -66
- package/ui/Elements/Icon/icons/ArrowsUpDown.js +0 -66
- package/ui/Elements/Icon/icons/BarcodeScan.js +0 -67
- package/ui/Elements/Icon/icons/Box.js +0 -69
- package/ui/Elements/Icon/icons/Calendar.js +0 -91
- package/ui/Elements/Icon/icons/Cancel.js +0 -70
- package/ui/Elements/Icon/icons/CheckedBox.js +0 -78
- package/ui/Elements/Icon/icons/CircleHalfStroke.js +0 -66
- package/ui/Elements/Icon/icons/Company.js +0 -139
- package/ui/Elements/Icon/icons/Complaint.js +0 -116
- package/ui/Elements/Icon/icons/Consolidation.js +0 -67
- package/ui/Elements/Icon/icons/Container.js +0 -67
- package/ui/Elements/Icon/icons/Dashboard.js +0 -88
- package/ui/Elements/Icon/icons/Desktop.js +0 -120
- package/ui/Elements/Icon/icons/Dispatch.js +0 -67
- package/ui/Elements/Icon/icons/EmptyRack.js +0 -34
- package/ui/Elements/Icon/icons/Expeditions.js +0 -114
- package/ui/Elements/Icon/icons/Filter.js +0 -69
- package/ui/Elements/Icon/icons/FlagCZ.js +0 -110
- package/ui/Elements/Icon/icons/FlagEL.js +0 -102
- package/ui/Elements/Icon/icons/FlagESP.js +0 -145
- package/ui/Elements/Icon/icons/FlagHU.js +0 -79
- package/ui/Elements/Icon/icons/FlagITA.js +0 -110
- package/ui/Elements/Icon/icons/FlagNL.js +0 -79
- package/ui/Elements/Icon/icons/FlagRUS.js +0 -110
- package/ui/Elements/Icon/icons/FlagSVK.js +0 -147
- package/ui/Elements/Icon/icons/FlagUK.js +0 -75
- package/ui/Elements/Icon/icons/FlagUSA.js +0 -170
- package/ui/Elements/Icon/icons/Foldable.js +0 -86
- package/ui/Elements/Icon/icons/Fragile.js +0 -94
- package/ui/Elements/Icon/icons/Gift.js +0 -93
- package/ui/Elements/Icon/icons/Group.js +0 -69
- package/ui/Elements/Icon/icons/HamburgerMenu.js +0 -93
- package/ui/Elements/Icon/icons/HelpCircle1.js +0 -84
- package/ui/Elements/Icon/icons/HorizontalLines.js +0 -88
- package/ui/Elements/Icon/icons/ImagePlaceholder.js +0 -69
- package/ui/Elements/Icon/icons/Income.js +0 -77
- package/ui/Elements/Icon/icons/Info.js +0 -85
- package/ui/Elements/Icon/icons/Integrations.js +0 -69
- package/ui/Elements/Icon/icons/Inventory.js +0 -102
- package/ui/Elements/Icon/icons/Inventory2.js +0 -123
- package/ui/Elements/Icon/icons/Layout.js +0 -94
- package/ui/Elements/Icon/icons/Link.js +0 -75
- package/ui/Elements/Icon/icons/Liquid.js +0 -77
- package/ui/Elements/Icon/icons/Location.js +0 -67
- package/ui/Elements/Icon/icons/Logout1.js +0 -84
- package/ui/Elements/Icon/icons/MachinePackingForbidden.js +0 -122
- package/ui/Elements/Icon/icons/MakePhoto.js +0 -87
- package/ui/Elements/Icon/icons/MenuItems.js +0 -93
- package/ui/Elements/Icon/icons/Message.js +0 -98
- package/ui/Elements/Icon/icons/MobileCancel.js +0 -77
- package/ui/Elements/Icon/icons/MobilePhone.js +0 -99
- package/ui/Elements/Icon/icons/Moon.js +0 -66
- package/ui/Elements/Icon/icons/Notification2.js +0 -80
- package/ui/Elements/Icon/icons/OpenBox.js +0 -89
- package/ui/Elements/Icon/icons/Pallet.js +0 -95
- package/ui/Elements/Icon/icons/Plus1.js +0 -69
- package/ui/Elements/Icon/icons/Print.js +0 -93
- package/ui/Elements/Icon/icons/Product.js +0 -69
- package/ui/Elements/Icon/icons/Products.js +0 -68
- package/ui/Elements/Icon/icons/Profile.js +0 -80
- package/ui/Elements/Icon/icons/Puzzle1.js +0 -70
- package/ui/Elements/Icon/icons/QRCode.js +0 -71
- package/ui/Elements/Icon/icons/Rack.js +0 -117
- package/ui/Elements/Icon/icons/Reload.js +0 -67
- package/ui/Elements/Icon/icons/Return.js +0 -74
- package/ui/Elements/Icon/icons/Rows.js +0 -91
- package/ui/Elements/Icon/icons/Settings2.js +0 -93
- package/ui/Elements/Icon/icons/ShieldUser.js +0 -63
- package/ui/Elements/Icon/icons/ShoppingBag.js +0 -69
- package/ui/Elements/Icon/icons/Sort.js +0 -78
- package/ui/Elements/Icon/icons/Sun.js +0 -66
- package/ui/Elements/Icon/icons/ThreeDots.js +0 -91
- package/ui/Elements/Icon/icons/ToastError.js +0 -84
- package/ui/Elements/Icon/icons/ToastSuccess.js +0 -84
- package/ui/Elements/Icon/icons/Transfer.js +0 -76
- package/ui/Elements/Icon/icons/TrashBin.js +0 -85
- package/ui/Elements/Icon/icons/Truck.js +0 -129
- package/ui/Elements/Icon/icons/TwoBoxes.js +0 -75
- package/ui/Elements/Icon/icons/TwoCheckedBoxes.js +0 -29
- package/ui/Elements/Icon/icons/TwoUsers.js +0 -93
- package/ui/Elements/Icon/icons/UserCowboy.js +0 -63
- package/ui/Elements/Icon/icons/Valuable.js +0 -85
- package/ui/Elements/Icon/icons/Weight.js +0 -66
- package/ui/Elements/Icon/icons/index.js +0 -92
- package/ui/Elements/Icon/index.js +0 -5
- package/ui/Elements/Icon/types.js +0 -0
- package/ui/Elements/Image/Image.js +0 -157
- package/ui/Elements/Image/index.js +0 -3
- package/ui/Elements/Image/types.js +0 -0
- package/ui/Elements/Label/Label.js +0 -62
- package/ui/Elements/Label/index.js +0 -4
- package/ui/Elements/Line/Line.js +0 -47
- package/ui/Elements/Line/index.d.js +0 -3
- package/ui/Elements/Line/index.js +0 -3
- package/ui/Elements/Line/types.js +0 -0
- package/ui/Elements/Link/Link.js +0 -128
- package/ui/Elements/Link/index.js +0 -3
- package/ui/Elements/Logo/Logo.js +0 -166
- package/ui/Elements/Logo/default.d.js +0 -0
- package/ui/Elements/Logo/index.d.js +0 -2
- package/ui/Elements/Logo/index.js +0 -3
- package/ui/Elements/Logo/types.js +0 -0
- package/ui/Elements/Pagination/Pagination.js +0 -87
- package/ui/Elements/Pagination/index.d.js +0 -3
- package/ui/Elements/Pagination/index.js +0 -3
- package/ui/Elements/Pagination/styled.js +0 -91
- package/ui/Elements/Portal/index.js +0 -71
- package/ui/Elements/ProgressBar/ProgressBar.js +0 -21
- package/ui/Elements/ProgressBar/index.js +0 -3
- package/ui/Elements/ProgressBar/styles.js +0 -117
- package/ui/Elements/Select/Select.js +0 -445
- package/ui/Elements/Select/components/ChevronOption.js +0 -89
- package/ui/Elements/Select/components/ConnectedMenu.js +0 -87
- package/ui/Elements/Select/components/CountMultiValue.js +0 -134
- package/ui/Elements/Select/components/CustomInput.js +0 -63
- package/ui/Elements/Select/components/DropdownIndicator.js +0 -96
- package/ui/Elements/Select/components/IconValueContainer.js +0 -142
- package/ui/Elements/Select/components/SelectAll.js +0 -167
- package/ui/Elements/Select/components/SelectedIndicator.js +0 -23
- package/ui/Elements/Select/components/SimplifiedOption.js +0 -25
- package/ui/Elements/Select/index.js +0 -3
- package/ui/Elements/Select/styles.js +0 -47
- package/ui/Elements/Select/themes/index.js +0 -48
- package/ui/Elements/Select/themes/selectStyles.js +0 -305
- package/ui/Elements/Select/types.js +0 -0
- package/ui/Elements/SimpleLink/SimpleLink.js +0 -64
- package/ui/Elements/SimpleLink/index.js +0 -3
- package/ui/Elements/SingleSelect/SingleSelect.js +0 -514
- package/ui/Elements/SingleSelect/index.js +0 -3
- package/ui/Elements/SpaceAround/SpaceAround.js +0 -168
- package/ui/Elements/SpaceAround/index.js +0 -3
- package/ui/Elements/SpaceAround/types.js +0 -0
- package/ui/Elements/Spinner/Spinner.js +0 -40
- package/ui/Elements/Spinner/index.d.js +0 -2
- package/ui/Elements/Spinner/index.js +0 -3
- package/ui/Elements/Spinner/styles.js +0 -66
- package/ui/Elements/Spinner/types.js +0 -0
- package/ui/Elements/Table/Table.js +0 -78
- package/ui/Elements/Table/index.js +0 -2
- package/ui/Elements/Tag/Tag.js +0 -87
- package/ui/Elements/Tag/index.d.js +0 -3
- package/ui/Elements/Tag/index.js +0 -4
- package/ui/Elements/Tag/palettes.js +0 -47
- package/ui/Elements/Tag/stories/components/predefinedTags.js +0 -20
- package/ui/Elements/Tag/types.js +0 -0
- package/ui/Elements/Text/Text.js +0 -76
- package/ui/Elements/Text/index.d.js +0 -2
- package/ui/Elements/Text/index.js +0 -2
- package/ui/Elements/Text/types.js +0 -0
- package/ui/Elements/Toast/Toast.js +0 -58
- package/ui/Elements/Toast/constants.js +0 -19
- package/ui/Elements/Toast/index.d.js +0 -3
- package/ui/Elements/Toast/index.js +0 -3
- package/ui/Elements/Toast/styles.js +0 -106
- package/ui/Elements/Toggle/Toggle.js +0 -262
- package/ui/Elements/Toggle/index.d.js +0 -2
- package/ui/Elements/Toggle/index.js +0 -3
- package/ui/Elements/Toggle/types.js +0 -0
- package/ui/Elements/Tooltip/Tooltip.js +0 -121
- package/ui/Elements/Tooltip/index.d.js +0 -2
- package/ui/Elements/Tooltip/index.js +0 -3
- package/ui/Elements/Typography/Typography.js +0 -160
- package/ui/Elements/Typography/index.d.js +0 -2
- package/ui/Elements/Typography/index.js +0 -4
- package/ui/Forms/Checkbox/Checkbox.js +0 -45
- package/ui/Forms/Checkbox/index.d.js +0 -2
- package/ui/Forms/Checkbox/index.js +0 -3
- package/ui/Forms/Checkbox/styles.js +0 -76
- package/ui/Forms/Checkbox/types.js +0 -0
- package/ui/Forms/Input/Input.js +0 -262
- package/ui/Forms/Input/index.d.js +0 -3
- package/ui/Forms/Input/index.js +0 -3
- package/ui/Forms/Input/styles.js +0 -203
- package/ui/Forms/Input/types.js +0 -0
- package/ui/Forms/RadioButton/RadioButton.js +0 -103
- package/ui/Forms/RadioButton/index.d.js +0 -2
- package/ui/Forms/RadioButton/index.js +0 -3
- package/ui/Forms/RadioButton/styles.js +0 -76
- package/ui/Forms/RadioButton/types.js +0 -0
- package/ui/Forms/TextArea/TextArea.js +0 -155
- package/ui/Forms/TextArea/index.js +0 -3
- package/ui/Forms/TextArea/styles.js +0 -100
- package/ui/System/Fonts/font.d.js +0 -0
- package/ui/System/Fonts/index.js +0 -17
- package/ui/ThemeProvider/ThemeProvider.d.js +0 -2
- package/ui/ThemeProvider/ThemeProvider.js +0 -20
- package/ui/ThemeProvider/index.d.js +0 -3
- package/ui/ThemeProvider/index.js +0 -5
- package/ui/ThemeProvider/themes/default.js +0 -194
- package/ui/ThemeProvider/themes/index.js +0 -10
- package/ui/ThemeProvider/themes/light.js +0 -8
- package/ui/ThemeProvider/themes/mailwise.js +0 -237
- package/ui/ThemeProvider/types.js +0 -0
- package/ui/hooks/useToggleAndClose.js +0 -65
- package/ui/index.js +0 -94
- package/ui/utils/CheckDeviceWidth/checkDeviceWidth.js +0 -66
- package/ui/utils/CreateRgba/createRgba.js +0 -17
- package/ui/utils/CreateRgba/types.js +0 -0
- package/ui/utils/KeyPress/KeyPress.js +0 -23
- package/ui/utils/KeyPress/index.js +0 -3
- package/ui/utils/KeyPress/types.js +0 -0
- package/ui/utils/LinguiContainer/index.js +0 -12
- package/ui/utils/index.d.js +0 -3
- package/ui/utils/index.js +0 -7
- package/ui/utils/translations.js +0 -337
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
function _array_like_to_array(arr, len) {
|
|
2
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
3
|
-
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
4
|
-
return arr2;
|
|
5
|
-
}
|
|
6
|
-
function _array_with_holes(arr) {
|
|
7
|
-
if (Array.isArray(arr)) return arr;
|
|
8
|
-
}
|
|
9
|
-
function _iterable_to_array_limit(arr, i) {
|
|
10
|
-
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
11
|
-
if (_i == null) return;
|
|
12
|
-
var _arr = [];
|
|
13
|
-
var _n = true;
|
|
14
|
-
var _d = false;
|
|
15
|
-
var _s, _e;
|
|
16
|
-
try {
|
|
17
|
-
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
18
|
-
_arr.push(_s.value);
|
|
19
|
-
if (i && _arr.length === i) break;
|
|
20
|
-
}
|
|
21
|
-
} catch (err) {
|
|
22
|
-
_d = true;
|
|
23
|
-
_e = err;
|
|
24
|
-
} finally{
|
|
25
|
-
try {
|
|
26
|
-
if (!_n && _i["return"] != null) _i["return"]();
|
|
27
|
-
} finally{
|
|
28
|
-
if (_d) throw _e;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
return _arr;
|
|
32
|
-
}
|
|
33
|
-
function _non_iterable_rest() {
|
|
34
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
35
|
-
}
|
|
36
|
-
function _sliced_to_array(arr, i) {
|
|
37
|
-
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
38
|
-
}
|
|
39
|
-
function _unsupported_iterable_to_array(o, minLen) {
|
|
40
|
-
if (!o) return;
|
|
41
|
-
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
42
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
43
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
44
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
45
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
46
|
-
}
|
|
47
|
-
import { useCallback, useEffect } from "react";
|
|
48
|
-
import isEqual from "lodash/isEqual";
|
|
49
|
-
var useSelectPreset = function useSelectPreset(param) {
|
|
50
|
-
var gridName = param.gridName, gridActions = param.gridActions, gridSelectors = param.gridSelectors, setSelectedPresetName = param.setSelectedPresetName, onClosePresetsModal = param.onClosePresetsModal;
|
|
51
|
-
var gridPresets = gridSelectors === null || gridSelectors === void 0 ? void 0 : gridSelectors.presets;
|
|
52
|
-
var filters = gridSelectors === null || gridSelectors === void 0 ? void 0 : gridSelectors.filter;
|
|
53
|
-
var handleSelectPreset = useCallback(function(presetName, filters2) {
|
|
54
|
-
return function() {
|
|
55
|
-
var _gridActions_setFilters;
|
|
56
|
-
setSelectedPresetName(presetName);
|
|
57
|
-
(_gridActions_setFilters = gridActions.setFilters) === null || _gridActions_setFilters === void 0 ? void 0 : _gridActions_setFilters.call(gridActions, filters2);
|
|
58
|
-
onClosePresetsModal();
|
|
59
|
-
};
|
|
60
|
-
}, [
|
|
61
|
-
gridActions
|
|
62
|
-
]);
|
|
63
|
-
useEffect(function() {
|
|
64
|
-
var _Object_entries;
|
|
65
|
-
if (!gridName || !gridPresets) return;
|
|
66
|
-
var activePreset = (_Object_entries = Object.entries(gridPresets)) === null || _Object_entries === void 0 ? void 0 : _Object_entries.find(function(param) {
|
|
67
|
-
var _param = _sliced_to_array(param, 2), presetName = _param[0], presetFilters = _param[1];
|
|
68
|
-
return isEqual(presetFilters, filters);
|
|
69
|
-
});
|
|
70
|
-
if (activePreset) {
|
|
71
|
-
setSelectedPresetName(activePreset[0]);
|
|
72
|
-
} else {
|
|
73
|
-
setSelectedPresetName("");
|
|
74
|
-
}
|
|
75
|
-
}, [
|
|
76
|
-
filters,
|
|
77
|
-
gridPresets
|
|
78
|
-
]);
|
|
79
|
-
return {
|
|
80
|
-
handleSelectPreset: handleSelectPreset
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
export { useSelectPreset };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { useMemo, useCallback } from "react";
|
|
2
|
-
var useToggleAllCheckbox = function useToggleAllCheckbox(rowsData, uxState, handleUxChange) {
|
|
3
|
-
var allChecked = useMemo(function() {
|
|
4
|
-
return rowsData && (rowsData || []).length >= 1 && rowsData.every(function(row) {
|
|
5
|
-
var _uxState_checkedRows;
|
|
6
|
-
return uxState === null || uxState === void 0 ? void 0 : (_uxState_checkedRows = uxState.checkedRows) === null || _uxState_checkedRows === void 0 ? void 0 : _uxState_checkedRows[row.id];
|
|
7
|
-
});
|
|
8
|
-
}, [
|
|
9
|
-
rowsData,
|
|
10
|
-
uxState === null || uxState === void 0 ? void 0 : uxState.checkedRows
|
|
11
|
-
]);
|
|
12
|
-
var toggleAllHandler = useCallback(function() {
|
|
13
|
-
var checkedRows = {};
|
|
14
|
-
if (!allChecked && rowsData) {
|
|
15
|
-
rowsData.forEach(function(row) {
|
|
16
|
-
checkedRows[row.id] = true;
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
handleUxChange === null || handleUxChange === void 0 ? void 0 : handleUxChange("checkedRows", checkedRows);
|
|
20
|
-
}, [
|
|
21
|
-
handleUxChange,
|
|
22
|
-
rowsData,
|
|
23
|
-
allChecked
|
|
24
|
-
]);
|
|
25
|
-
return [
|
|
26
|
-
!!allChecked,
|
|
27
|
-
toggleAllHandler
|
|
28
|
-
];
|
|
29
|
-
};
|
|
30
|
-
export { useToggleAllCheckbox };
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
function _array_like_to_array(arr, len) {
|
|
2
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
3
|
-
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
4
|
-
return arr2;
|
|
5
|
-
}
|
|
6
|
-
function _array_with_holes(arr) {
|
|
7
|
-
if (Array.isArray(arr)) return arr;
|
|
8
|
-
}
|
|
9
|
-
function _iterable_to_array_limit(arr, i) {
|
|
10
|
-
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
11
|
-
if (_i == null) return;
|
|
12
|
-
var _arr = [];
|
|
13
|
-
var _n = true;
|
|
14
|
-
var _d = false;
|
|
15
|
-
var _s, _e;
|
|
16
|
-
try {
|
|
17
|
-
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
18
|
-
_arr.push(_s.value);
|
|
19
|
-
if (i && _arr.length === i) break;
|
|
20
|
-
}
|
|
21
|
-
} catch (err) {
|
|
22
|
-
_d = true;
|
|
23
|
-
_e = err;
|
|
24
|
-
} finally{
|
|
25
|
-
try {
|
|
26
|
-
if (!_n && _i["return"] != null) _i["return"]();
|
|
27
|
-
} finally{
|
|
28
|
-
if (_d) throw _e;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
return _arr;
|
|
32
|
-
}
|
|
33
|
-
function _non_iterable_rest() {
|
|
34
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
35
|
-
}
|
|
36
|
-
function _sliced_to_array(arr, i) {
|
|
37
|
-
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
38
|
-
}
|
|
39
|
-
function _unsupported_iterable_to_array(o, minLen) {
|
|
40
|
-
if (!o) return;
|
|
41
|
-
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
42
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
43
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
44
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
45
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
46
|
-
}
|
|
47
|
-
import React from "react";
|
|
48
|
-
var useUxReset = function useUxReset(rowsData, uxState, clearUxState) {
|
|
49
|
-
var _React_useState = _sliced_to_array(React.useState("|"), 2), previous = _React_useState[0], setPrevious = _React_useState[1];
|
|
50
|
-
React.useEffect(function() {
|
|
51
|
-
var ids = (rowsData || []).map(function(row) {
|
|
52
|
-
return row.id;
|
|
53
|
-
}).join("|");
|
|
54
|
-
if (ids !== previous) {
|
|
55
|
-
if (clearUxState && (uxState.checkedRows && Object.keys(uxState.checkedRows).length || uxState.selectedRow)) {
|
|
56
|
-
clearUxState();
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
setPrevious(ids);
|
|
60
|
-
}, [
|
|
61
|
-
rowsData
|
|
62
|
-
]);
|
|
63
|
-
};
|
|
64
|
-
var useUxReset_default = useUxReset;
|
|
65
|
-
export { useUxReset_default as default };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import CommonGrid from "./CommonGridContainer";
|
|
2
|
-
import withReduxActions from "./HoC/withReduxActions";
|
|
3
|
-
import reducer, { actionPrefix, createActions, createSelectors, createFullSelector, actionTypes } from "./store";
|
|
4
|
-
import useFloatingButton from "./hooks/useFloatingButton";
|
|
5
|
-
import * as Types from "./types";
|
|
6
|
-
export * from "./components/gridCells";
|
|
7
|
-
import { useAddFilter } from "./hooks/useAddFilter";
|
|
8
|
-
import { useEvent } from "./hooks/useEvent";
|
|
9
|
-
var CommonGrid_default = CommonGrid;
|
|
10
|
-
export { Types, actionPrefix, actionTypes, createActions, createFullSelector, createSelectors, CommonGrid_default as default, reducer, useAddFilter, useEvent, useFloatingButton, withReduxActions };
|
|
@@ -1,437 +0,0 @@
|
|
|
1
|
-
function _define_property(obj, key, value) {
|
|
2
|
-
if (key in obj) {
|
|
3
|
-
Object.defineProperty(obj, key, {
|
|
4
|
-
value: value,
|
|
5
|
-
enumerable: true,
|
|
6
|
-
configurable: true,
|
|
7
|
-
writable: true
|
|
8
|
-
});
|
|
9
|
-
} else {
|
|
10
|
-
obj[key] = value;
|
|
11
|
-
}
|
|
12
|
-
return obj;
|
|
13
|
-
}
|
|
14
|
-
function _object_spread(target) {
|
|
15
|
-
for(var i = 1; i < arguments.length; i++){
|
|
16
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
17
|
-
var ownKeys = Object.keys(source);
|
|
18
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
19
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
20
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
21
|
-
}));
|
|
22
|
-
}
|
|
23
|
-
ownKeys.forEach(function(key) {
|
|
24
|
-
_define_property(target, key, source[key]);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
return target;
|
|
28
|
-
}
|
|
29
|
-
function ownKeys(object, enumerableOnly) {
|
|
30
|
-
var keys = Object.keys(object);
|
|
31
|
-
if (Object.getOwnPropertySymbols) {
|
|
32
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
33
|
-
if (enumerableOnly) {
|
|
34
|
-
symbols = symbols.filter(function(sym) {
|
|
35
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
keys.push.apply(keys, symbols);
|
|
39
|
-
}
|
|
40
|
-
return keys;
|
|
41
|
-
}
|
|
42
|
-
function _object_spread_props(target, source) {
|
|
43
|
-
source = source != null ? source : {};
|
|
44
|
-
if (Object.getOwnPropertyDescriptors) {
|
|
45
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
46
|
-
} else {
|
|
47
|
-
ownKeys(Object(source)).forEach(function(key) {
|
|
48
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
return target;
|
|
52
|
-
}
|
|
53
|
-
import produce from "immer";
|
|
54
|
-
import { createSelector } from "reselect";
|
|
55
|
-
import getOr from "lodash/fp/getOr";
|
|
56
|
-
import omit from "lodash/omit";
|
|
57
|
-
import migrateState from "./migrateState";
|
|
58
|
-
var initialState = {
|
|
59
|
-
page: 1,
|
|
60
|
-
presets: {},
|
|
61
|
-
sorting: [],
|
|
62
|
-
isConfigFormOpen: false,
|
|
63
|
-
uxState: {
|
|
64
|
-
selectedRow: null,
|
|
65
|
-
checkedRows: {}
|
|
66
|
-
},
|
|
67
|
-
columnConfig: {},
|
|
68
|
-
filter: {},
|
|
69
|
-
columnsWidth: {},
|
|
70
|
-
columnsOrder: [],
|
|
71
|
-
defaultSorting: []
|
|
72
|
-
};
|
|
73
|
-
var actionPrefix = "@store/CommonGrid";
|
|
74
|
-
var actionTypes = {
|
|
75
|
-
init: "".concat(actionPrefix, "/init"),
|
|
76
|
-
clearUxState: "".concat(actionPrefix, "/clearUxState"),
|
|
77
|
-
handleUxChange: "".concat(actionPrefix, "/handleUxChange"),
|
|
78
|
-
openConfigForm: "".concat(actionPrefix, "/openConfigForm"),
|
|
79
|
-
closeConfigForm: "".concat(actionPrefix, "/closeConfigForm"),
|
|
80
|
-
setColumnConfig: "".concat(actionPrefix, "/setColumnConfig"),
|
|
81
|
-
setPage: "".concat(actionPrefix, "/setPage"),
|
|
82
|
-
setPresets: "".concat(actionPrefix, "/setPresets"),
|
|
83
|
-
createPreset: "".concat(actionPrefix, "/createPreset"),
|
|
84
|
-
deletePreset: "".concat(actionPrefix, "/deletePreset"),
|
|
85
|
-
setRowsPerPage: "".concat(actionPrefix, "/setRowsPerPage"),
|
|
86
|
-
resetFilters: "".concat(actionPrefix, "/resetFilters"),
|
|
87
|
-
addFilter: "".concat(actionPrefix, "/addFilter"),
|
|
88
|
-
setFilters: "".concat(actionPrefix, "/setFilters"),
|
|
89
|
-
addSorting: "".concat(actionPrefix, "/addSorting"),
|
|
90
|
-
resetSorting: "".concat(actionPrefix, "/resetSorting"),
|
|
91
|
-
clearSettings: "".concat(actionPrefix, "/clearSettings"),
|
|
92
|
-
resetGrid: "".concat(actionPrefix, "/resetGrid"),
|
|
93
|
-
setColumnWidth: "".concat(actionPrefix, "/setColumnWidth"),
|
|
94
|
-
setColumnsOrder: "".concat(actionPrefix, "/setColumnsOrder")
|
|
95
|
-
};
|
|
96
|
-
var migrationChecked = false;
|
|
97
|
-
var store_default = function store_default() {
|
|
98
|
-
var state = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, action = arguments.length > 1 ? arguments[1] : void 0;
|
|
99
|
-
return produce(state, function(draft) {
|
|
100
|
-
if (!migrationChecked && state && Object.keys(state).length > 0) {
|
|
101
|
-
draft = migrateState(draft);
|
|
102
|
-
migrationChecked = true;
|
|
103
|
-
}
|
|
104
|
-
var gridName = action.gridName;
|
|
105
|
-
if (!gridName) return draft;
|
|
106
|
-
if (!draft[gridName]) {
|
|
107
|
-
draft[gridName] = _object_spread({}, initialState);
|
|
108
|
-
}
|
|
109
|
-
switch(action.type){
|
|
110
|
-
case actionTypes.init:
|
|
111
|
-
var defaultSorting = action.initProps.defaultSorting;
|
|
112
|
-
draft[gridName].page = 1;
|
|
113
|
-
if (defaultSorting) {
|
|
114
|
-
var _draft_gridName_sorting;
|
|
115
|
-
draft[gridName].defaultSorting = defaultSorting;
|
|
116
|
-
draft[gridName].sorting = ((_draft_gridName_sorting = draft[gridName].sorting) === null || _draft_gridName_sorting === void 0 ? void 0 : _draft_gridName_sorting.length) ? draft[gridName].sorting : defaultSorting;
|
|
117
|
-
}
|
|
118
|
-
break;
|
|
119
|
-
case actionTypes.clearUxState:
|
|
120
|
-
draft[gridName].uxState = initialState.uxState;
|
|
121
|
-
break;
|
|
122
|
-
case actionTypes.handleUxChange:
|
|
123
|
-
draft[gridName].uxState = _object_spread_props(_object_spread({}, draft[gridName].uxState), _define_property({}, action.uxKey, action.uxValue));
|
|
124
|
-
break;
|
|
125
|
-
case actionTypes.openConfigForm:
|
|
126
|
-
draft[gridName].isConfigFormOpen = true;
|
|
127
|
-
break;
|
|
128
|
-
case actionTypes.closeConfigForm:
|
|
129
|
-
draft[gridName].isConfigFormOpen = false;
|
|
130
|
-
break;
|
|
131
|
-
case actionTypes.setColumnConfig:
|
|
132
|
-
draft[gridName].columnConfig = action.columnConfig;
|
|
133
|
-
draft[gridName].isConfigFormOpen = false;
|
|
134
|
-
break;
|
|
135
|
-
case actionTypes.resetFilters:
|
|
136
|
-
draft[gridName].filter = action.filters;
|
|
137
|
-
break;
|
|
138
|
-
case actionTypes.addFilter:
|
|
139
|
-
var column = action.column, value = action.value, filterProps = action.filterProps, others = action.others;
|
|
140
|
-
var currentFilterState = _define_property({}, column, {
|
|
141
|
-
value: value,
|
|
142
|
-
filterProps: filterProps,
|
|
143
|
-
others: others
|
|
144
|
-
});
|
|
145
|
-
draft[gridName].filter = _object_spread({}, draft[gridName].filter, currentFilterState);
|
|
146
|
-
draft[gridName].page = 1;
|
|
147
|
-
break;
|
|
148
|
-
case actionTypes.setFilters:
|
|
149
|
-
draft[gridName].filter = action.filters;
|
|
150
|
-
break;
|
|
151
|
-
case actionTypes.addSorting:
|
|
152
|
-
var _draft_gridName_defaultSorting_, _draft_gridName_defaultSorting, _draft_gridName;
|
|
153
|
-
var direction = action.direction;
|
|
154
|
-
var sortingColumn = action.column;
|
|
155
|
-
if (((_draft_gridName = draft[gridName]) === null || _draft_gridName === void 0 ? void 0 : (_draft_gridName_defaultSorting = _draft_gridName.defaultSorting) === null || _draft_gridName_defaultSorting === void 0 ? void 0 : (_draft_gridName_defaultSorting_ = _draft_gridName_defaultSorting[0]) === null || _draft_gridName_defaultSorting_ === void 0 ? void 0 : _draft_gridName_defaultSorting_.column) === sortingColumn && direction === null) {
|
|
156
|
-
direction = "asc";
|
|
157
|
-
}
|
|
158
|
-
var sorting = [
|
|
159
|
-
{
|
|
160
|
-
column: sortingColumn,
|
|
161
|
-
direction: direction
|
|
162
|
-
}
|
|
163
|
-
];
|
|
164
|
-
if (direction === null) {
|
|
165
|
-
var _draft_gridName1;
|
|
166
|
-
sorting = ((_draft_gridName1 = draft[gridName]) === null || _draft_gridName1 === void 0 ? void 0 : _draft_gridName1.defaultSorting) || [];
|
|
167
|
-
}
|
|
168
|
-
draft[gridName].sorting = sorting;
|
|
169
|
-
break;
|
|
170
|
-
case actionTypes.resetSorting:
|
|
171
|
-
var _draft_gridName_defaultSorting1;
|
|
172
|
-
draft[gridName].sorting = ((_draft_gridName_defaultSorting1 = draft[gridName].defaultSorting) === null || _draft_gridName_defaultSorting1 === void 0 ? void 0 : _draft_gridName_defaultSorting1.length) ? draft[gridName].defaultSorting : initialState.sorting;
|
|
173
|
-
break;
|
|
174
|
-
case actionTypes.clearSettings:
|
|
175
|
-
draft[gridName].page = initialState.page;
|
|
176
|
-
draft[gridName].filter = initialState.filter;
|
|
177
|
-
draft[gridName].uxState = initialState.uxState;
|
|
178
|
-
draft[gridName].sorting = [];
|
|
179
|
-
break;
|
|
180
|
-
case actionTypes.setPage:
|
|
181
|
-
draft[gridName].page = action.page;
|
|
182
|
-
break;
|
|
183
|
-
case actionTypes.setPresets:
|
|
184
|
-
draft[gridName].presets = action.presets;
|
|
185
|
-
break;
|
|
186
|
-
case actionTypes.createPreset:
|
|
187
|
-
draft[gridName].presets = _object_spread_props(_object_spread({}, draft[gridName].presets || {}), _define_property({}, action.presetName, action.filters));
|
|
188
|
-
break;
|
|
189
|
-
case actionTypes.deletePreset:
|
|
190
|
-
draft[gridName].presets = omit(draft[gridName].presets, action.presetName);
|
|
191
|
-
break;
|
|
192
|
-
case actionTypes.setRowsPerPage:
|
|
193
|
-
draft[gridName].rowsPerPage = action.rowsPerPage;
|
|
194
|
-
break;
|
|
195
|
-
case actionTypes.resetGrid:
|
|
196
|
-
draft[gridName] = _object_spread_props(_object_spread({}, initialState), {
|
|
197
|
-
rowsPerPage: draft[gridName].rowsPerPage
|
|
198
|
-
});
|
|
199
|
-
break;
|
|
200
|
-
case actionTypes.setColumnWidth:
|
|
201
|
-
if (action.columnsWidth === null) {
|
|
202
|
-
draft[gridName].columnsWidth = initialState.columnsWidth;
|
|
203
|
-
} else {
|
|
204
|
-
draft[gridName].columnsWidth = _object_spread({}, draft[gridName].columnsWidth, action.columnsWidth);
|
|
205
|
-
}
|
|
206
|
-
draft[gridName].columnsWidthVariant = action.columnLayout;
|
|
207
|
-
break;
|
|
208
|
-
case actionTypes.setColumnsOrder:
|
|
209
|
-
draft[gridName].columnsOrder = action.columnsOrder;
|
|
210
|
-
break;
|
|
211
|
-
}
|
|
212
|
-
return draft;
|
|
213
|
-
});
|
|
214
|
-
};
|
|
215
|
-
var createActions = function createActions(gridName) {
|
|
216
|
-
return {
|
|
217
|
-
init: function init() {
|
|
218
|
-
var initProps = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
219
|
-
return {
|
|
220
|
-
gridName: gridName,
|
|
221
|
-
type: actionTypes.init,
|
|
222
|
-
initProps: initProps
|
|
223
|
-
};
|
|
224
|
-
},
|
|
225
|
-
clearUxState: function clearUxState() {
|
|
226
|
-
return {
|
|
227
|
-
gridName: gridName,
|
|
228
|
-
type: actionTypes.clearUxState
|
|
229
|
-
};
|
|
230
|
-
},
|
|
231
|
-
handleUxChange: function handleUxChange(uxKey, uxValue) {
|
|
232
|
-
return {
|
|
233
|
-
gridName: gridName,
|
|
234
|
-
type: actionTypes.handleUxChange,
|
|
235
|
-
uxKey: uxKey,
|
|
236
|
-
uxValue: uxValue
|
|
237
|
-
};
|
|
238
|
-
},
|
|
239
|
-
openConfigForm: function openConfigForm() {
|
|
240
|
-
return {
|
|
241
|
-
gridName: gridName,
|
|
242
|
-
type: actionTypes.openConfigForm
|
|
243
|
-
};
|
|
244
|
-
},
|
|
245
|
-
closeConfigForm: function closeConfigForm() {
|
|
246
|
-
return {
|
|
247
|
-
gridName: gridName,
|
|
248
|
-
type: actionTypes.closeConfigForm
|
|
249
|
-
};
|
|
250
|
-
},
|
|
251
|
-
setColumnConfig: function setColumnConfig(columnConfig) {
|
|
252
|
-
return {
|
|
253
|
-
gridName: gridName,
|
|
254
|
-
type: actionTypes.setColumnConfig,
|
|
255
|
-
columnConfig: columnConfig
|
|
256
|
-
};
|
|
257
|
-
},
|
|
258
|
-
setPage: function setPage(page) {
|
|
259
|
-
return {
|
|
260
|
-
gridName: gridName,
|
|
261
|
-
type: actionTypes.setPage,
|
|
262
|
-
page: page
|
|
263
|
-
};
|
|
264
|
-
},
|
|
265
|
-
setPresets: function setPresets(presets) {
|
|
266
|
-
return {
|
|
267
|
-
gridName: gridName,
|
|
268
|
-
type: actionTypes.setPresets,
|
|
269
|
-
presets: presets
|
|
270
|
-
};
|
|
271
|
-
},
|
|
272
|
-
createPreset: function createPreset(presetName, filters) {
|
|
273
|
-
return {
|
|
274
|
-
gridName: gridName,
|
|
275
|
-
type: actionTypes.createPreset,
|
|
276
|
-
presetName: presetName,
|
|
277
|
-
filters: filters
|
|
278
|
-
};
|
|
279
|
-
},
|
|
280
|
-
deletePreset: function deletePreset(presetName) {
|
|
281
|
-
return {
|
|
282
|
-
gridName: gridName,
|
|
283
|
-
type: actionTypes.deletePreset,
|
|
284
|
-
presetName: presetName
|
|
285
|
-
};
|
|
286
|
-
},
|
|
287
|
-
setColumnWidth: function setColumnWidth(columnsWidth, columnLayout) {
|
|
288
|
-
return {
|
|
289
|
-
gridName: gridName,
|
|
290
|
-
type: actionTypes.setColumnWidth,
|
|
291
|
-
columnsWidth: columnsWidth,
|
|
292
|
-
columnLayout: columnLayout
|
|
293
|
-
};
|
|
294
|
-
},
|
|
295
|
-
resetGrid: function resetGrid() {
|
|
296
|
-
return {
|
|
297
|
-
gridName: gridName,
|
|
298
|
-
type: actionTypes.resetGrid
|
|
299
|
-
};
|
|
300
|
-
},
|
|
301
|
-
setColumnsOrder: function setColumnsOrder(columnsOrder) {
|
|
302
|
-
return {
|
|
303
|
-
gridName: gridName,
|
|
304
|
-
type: actionTypes.setColumnsOrder,
|
|
305
|
-
columnsOrder: columnsOrder
|
|
306
|
-
};
|
|
307
|
-
},
|
|
308
|
-
setRowsPerPage: function setRowsPerPage(rowsPerPage) {
|
|
309
|
-
return {
|
|
310
|
-
gridName: gridName,
|
|
311
|
-
type: actionTypes.setRowsPerPage,
|
|
312
|
-
rowsPerPage: rowsPerPage
|
|
313
|
-
};
|
|
314
|
-
},
|
|
315
|
-
resetFilters: function resetFilters() {
|
|
316
|
-
return {
|
|
317
|
-
gridName: gridName,
|
|
318
|
-
type: actionTypes.resetFilters
|
|
319
|
-
};
|
|
320
|
-
},
|
|
321
|
-
addFilter: function addFilter(column, value, filterProps, others) {
|
|
322
|
-
return {
|
|
323
|
-
gridName: gridName,
|
|
324
|
-
type: actionTypes.addFilter,
|
|
325
|
-
column: column,
|
|
326
|
-
value: value,
|
|
327
|
-
filterProps: filterProps,
|
|
328
|
-
others: others
|
|
329
|
-
};
|
|
330
|
-
},
|
|
331
|
-
setFilters: function setFilters(filters) {
|
|
332
|
-
return {
|
|
333
|
-
gridName: gridName,
|
|
334
|
-
type: actionTypes.setFilters,
|
|
335
|
-
filters: filters
|
|
336
|
-
};
|
|
337
|
-
},
|
|
338
|
-
addSorting: function addSorting(column, direction) {
|
|
339
|
-
return {
|
|
340
|
-
gridName: gridName,
|
|
341
|
-
type: actionTypes.addSorting,
|
|
342
|
-
column: column,
|
|
343
|
-
direction: direction
|
|
344
|
-
};
|
|
345
|
-
},
|
|
346
|
-
resetSorting: function resetSorting() {
|
|
347
|
-
return {
|
|
348
|
-
gridName: gridName,
|
|
349
|
-
type: actionTypes.resetSorting
|
|
350
|
-
};
|
|
351
|
-
},
|
|
352
|
-
clearSettings: function clearSettings() {
|
|
353
|
-
return {
|
|
354
|
-
gridName: gridName,
|
|
355
|
-
type: actionTypes.clearSettings
|
|
356
|
-
};
|
|
357
|
-
}
|
|
358
|
-
};
|
|
359
|
-
};
|
|
360
|
-
var createSelectors = function createSelectors(gridName) {
|
|
361
|
-
return {
|
|
362
|
-
getUxState: function getUxState(state) {
|
|
363
|
-
return getOr(initialState.uxState, "commonGrid.".concat(gridName, ".uxState"), state);
|
|
364
|
-
},
|
|
365
|
-
isConfigFormOpen: function isConfigFormOpen(state) {
|
|
366
|
-
return getOr(initialState.isConfigFormOpen, "commonGrid.".concat(gridName, ".isConfigFormOpen"), state);
|
|
367
|
-
},
|
|
368
|
-
getColumnConfig: function getColumnConfig(state) {
|
|
369
|
-
return getOr(initialState.columnConfig, "commonGrid.".concat(gridName, ".columnConfig"), state);
|
|
370
|
-
},
|
|
371
|
-
getPage: function getPage(state) {
|
|
372
|
-
return getOr(initialState.page, "commonGrid.".concat(gridName, ".page"), state);
|
|
373
|
-
},
|
|
374
|
-
getPresets: function getPresets(state) {
|
|
375
|
-
return getOr(initialState.presets, "commonGrid.".concat(gridName, ".presets"), state);
|
|
376
|
-
},
|
|
377
|
-
getRowsPerPage: function getRowsPerPage(state) {
|
|
378
|
-
return getOr(initialState.rowsPerPage, "commonGrid.".concat(gridName, ".rowsPerPage"), state);
|
|
379
|
-
},
|
|
380
|
-
getFilter: function getFilter(state) {
|
|
381
|
-
return getOr(initialState.filter, "commonGrid.".concat(gridName, ".filter"), state);
|
|
382
|
-
},
|
|
383
|
-
getSorting: function getSorting(state) {
|
|
384
|
-
return getOr(initialState.sorting, "commonGrid.".concat(gridName, ".sorting"), state);
|
|
385
|
-
},
|
|
386
|
-
getColumnsWidth: function getColumnsWidth(state) {
|
|
387
|
-
return getOr(null, "commonGrid.".concat(gridName, ".columnsWidth"), state);
|
|
388
|
-
},
|
|
389
|
-
getColumnsWidthVariant: function getColumnsWidthVariant(state) {
|
|
390
|
-
return getOr(void 0, "commonGrid.".concat(gridName, ".columnsWidthVariant"), state);
|
|
391
|
-
},
|
|
392
|
-
getColumnsOrder: function getColumnsOrder(state) {
|
|
393
|
-
return getOr([], "commonGrid.".concat(gridName, ".columnsOrder"), state);
|
|
394
|
-
}
|
|
395
|
-
};
|
|
396
|
-
};
|
|
397
|
-
var createFullSelector = function createFullSelector(gridName) {
|
|
398
|
-
var selectors = createSelectors(gridName);
|
|
399
|
-
return createSelector(function(state) {
|
|
400
|
-
return selectors.getUxState(state);
|
|
401
|
-
}, function(state) {
|
|
402
|
-
return selectors.isConfigFormOpen(state);
|
|
403
|
-
}, function(state) {
|
|
404
|
-
return selectors.getColumnConfig(state);
|
|
405
|
-
}, function(state) {
|
|
406
|
-
return selectors.getPage(state);
|
|
407
|
-
}, function(state) {
|
|
408
|
-
return selectors.getPresets(state);
|
|
409
|
-
}, function(state) {
|
|
410
|
-
return selectors.getRowsPerPage(state);
|
|
411
|
-
}, function(state) {
|
|
412
|
-
return selectors.getFilter(state);
|
|
413
|
-
}, function(state) {
|
|
414
|
-
return selectors.getSorting(state);
|
|
415
|
-
}, function(state) {
|
|
416
|
-
return selectors.getColumnsWidth(state);
|
|
417
|
-
}, function(state) {
|
|
418
|
-
return selectors.getColumnsWidthVariant(state);
|
|
419
|
-
}, function(state) {
|
|
420
|
-
return selectors.getColumnsOrder(state);
|
|
421
|
-
}, function(uxState, isConfigFormOpen, columnConfig, page, presets, rowsPerPage, filter, sorting, columnsWidth, columnsWidthVariant, columnsOrder) {
|
|
422
|
-
return {
|
|
423
|
-
uxState: uxState,
|
|
424
|
-
isConfigFormOpen: isConfigFormOpen,
|
|
425
|
-
columnConfig: columnConfig,
|
|
426
|
-
page: page,
|
|
427
|
-
presets: presets,
|
|
428
|
-
rowsPerPage: rowsPerPage,
|
|
429
|
-
filter: filter,
|
|
430
|
-
sorting: sorting,
|
|
431
|
-
columnsWidth: columnsWidth,
|
|
432
|
-
columnsWidthVariant: columnsWidthVariant,
|
|
433
|
-
columnsOrder: columnsOrder
|
|
434
|
-
};
|
|
435
|
-
});
|
|
436
|
-
};
|
|
437
|
-
export { actionPrefix, actionTypes, createActions, createFullSelector, createSelectors, store_default as default, initialState };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
var v2 = function v2(draft) {
|
|
2
|
-
Object.keys(draft).forEach(function(gridName) {
|
|
3
|
-
if (draft[gridName].columnConfig && Array.isArray(draft[gridName].columnConfig)) {
|
|
4
|
-
draft[gridName].columnConfig = {};
|
|
5
|
-
}
|
|
6
|
-
});
|
|
7
|
-
return draft;
|
|
8
|
-
};
|
|
9
|
-
var migrateState_default = function migrateState_default(draft) {
|
|
10
|
-
draft = v2(draft);
|
|
11
|
-
return draft;
|
|
12
|
-
};
|
|
13
|
-
export { migrateState_default as default };
|
|
File without changes
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useCallback } from "react";
|
|
3
|
-
var ComplexCell = function ComplexCell(props) {
|
|
4
|
-
var handleActionClick = useCallback(function() {
|
|
5
|
-
if (props.onRowAction) {
|
|
6
|
-
var _props_onRowAction;
|
|
7
|
-
(_props_onRowAction = props.onRowAction(props.rowData.id, "get_invoice", null)) === null || _props_onRowAction === void 0 ? void 0 : _props_onRowAction.catch(function(error) {
|
|
8
|
-
console.error(error);
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
}, [
|
|
12
|
-
props
|
|
13
|
-
]);
|
|
14
|
-
return /* @__PURE__ */ jsxs("button", {
|
|
15
|
-
onClick: handleActionClick,
|
|
16
|
-
children: [
|
|
17
|
-
" download ",
|
|
18
|
-
props.rowData.id,
|
|
19
|
-
" "
|
|
20
|
-
]
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
export { ComplexCell };
|