@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,16 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { DateTime } from "luxon";
|
|
3
|
-
import get from "lodash/fp/get";
|
|
4
|
-
var defaultProps = {
|
|
5
|
-
dateTimeFormat: "dd. MM. yyyy HH:mm"
|
|
6
|
-
};
|
|
7
|
-
var DateTimeCell = function DateTimeCell(param) {
|
|
8
|
-
var rowData = param.rowData, column = param.column;
|
|
9
|
-
var _ref;
|
|
10
|
-
var value = get(column.name, rowData);
|
|
11
|
-
var dateTimeFormat = ((_ref = column === null || column === void 0 ? void 0 : column.passProps) !== null && _ref !== void 0 ? _ref : defaultProps).dateTimeFormat;
|
|
12
|
-
return value ? /* @__PURE__ */ jsx("span", {
|
|
13
|
-
children: DateTime.fromISO(value).toFormat(dateTimeFormat)
|
|
14
|
-
}) : null;
|
|
15
|
-
};
|
|
16
|
-
export { DateTimeCell };
|
|
@@ -1,103 +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
|
-
function _tagged_template_literal(strings, raw) {
|
|
54
|
-
if (!raw) {
|
|
55
|
-
raw = strings.slice(0);
|
|
56
|
-
}
|
|
57
|
-
return Object.freeze(Object.defineProperties(strings, {
|
|
58
|
-
raw: {
|
|
59
|
-
value: Object.freeze(raw)
|
|
60
|
-
}
|
|
61
|
-
}));
|
|
62
|
-
}
|
|
63
|
-
function _templateObject() {
|
|
64
|
-
var data = _tagged_template_literal([
|
|
65
|
-
"\n display: flex;\n justify-content: flex-start;\n width: 100%;\n"
|
|
66
|
-
]);
|
|
67
|
-
_templateObject = function _templateObject() {
|
|
68
|
-
return data;
|
|
69
|
-
};
|
|
70
|
-
return data;
|
|
71
|
-
}
|
|
72
|
-
import { jsx } from "react/jsx-runtime";
|
|
73
|
-
import { useMemo } from "react";
|
|
74
|
-
import HighlightBox from "../../../../Elements/HighlightBox";
|
|
75
|
-
import styled from "@xstyled/styled-components";
|
|
76
|
-
var Center = styled.div(_templateObject());
|
|
77
|
-
var EnumInCell = function EnumInCell(param) {
|
|
78
|
-
var value = param.value, enumObj = param.enumObj, appearanceMap = param.appearanceMap, size = param.size;
|
|
79
|
-
var finalLabel = useMemo(function() {
|
|
80
|
-
return enumObj[value] ? enumObj[value]() : value;
|
|
81
|
-
}, [
|
|
82
|
-
enumObj,
|
|
83
|
-
value
|
|
84
|
-
]);
|
|
85
|
-
var coloringProp = useMemo(function() {
|
|
86
|
-
return {
|
|
87
|
-
appearance: appearanceMap[value]
|
|
88
|
-
};
|
|
89
|
-
}, [
|
|
90
|
-
appearanceMap,
|
|
91
|
-
value
|
|
92
|
-
]);
|
|
93
|
-
if (!finalLabel) return null;
|
|
94
|
-
return /* @__PURE__ */ jsx(Center, {
|
|
95
|
-
"data-propagation": "true",
|
|
96
|
-
children: /* @__PURE__ */ jsx(HighlightBox, _object_spread_props(_object_spread({}, coloringProp), {
|
|
97
|
-
size: size,
|
|
98
|
-
prefix: "grid",
|
|
99
|
-
children: finalLabel
|
|
100
|
-
}))
|
|
101
|
-
});
|
|
102
|
-
};
|
|
103
|
-
export { EnumInCell };
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
function _tagged_template_literal(strings, raw) {
|
|
2
|
-
if (!raw) {
|
|
3
|
-
raw = strings.slice(0);
|
|
4
|
-
}
|
|
5
|
-
return Object.freeze(Object.defineProperties(strings, {
|
|
6
|
-
raw: {
|
|
7
|
-
value: Object.freeze(raw)
|
|
8
|
-
}
|
|
9
|
-
}));
|
|
10
|
-
}
|
|
11
|
-
function _templateObject() {
|
|
12
|
-
var data = _tagged_template_literal([
|
|
13
|
-
"\n text-align: center;\n overflow: hidden;\n text-overflow: ellipsis;\n\n :hover {\n cursor: pointer;\n .tooltip {\n display: block;\n }\n }\n"
|
|
14
|
-
]);
|
|
15
|
-
_templateObject = function _templateObject() {
|
|
16
|
-
return data;
|
|
17
|
-
};
|
|
18
|
-
return data;
|
|
19
|
-
}
|
|
20
|
-
function _templateObject1() {
|
|
21
|
-
var data = _tagged_template_literal([
|
|
22
|
-
"\n display: flex;\n align-content: center;\n justify-content: center;\n margin-bottom: 2;\n\n div {\n display: none;\n position: absolute;\n background-color: white;\n color: gray;\n border-color: gray;\n border: 1px solid;\n border-radius: md;\n padding: 2 3;\n margin: 1;\n z-index: 1;\n box-shadow: tooltipBoxShadow;\n transform: translateY(-100%);\n\n max-width: 400px;\n line-break: anywhere;\n white-space: initial;\n }\n"
|
|
23
|
-
]);
|
|
24
|
-
_templateObject1 = function _templateObject() {
|
|
25
|
-
return data;
|
|
26
|
-
};
|
|
27
|
-
return data;
|
|
28
|
-
}
|
|
29
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
30
|
-
import styled from "@xstyled/styled-components";
|
|
31
|
-
import get from "lodash/fp/get";
|
|
32
|
-
var Wrapper = styled.div(_templateObject());
|
|
33
|
-
var Tooltip = styled.div(_templateObject1());
|
|
34
|
-
var HoverBubble = function HoverBubble(param) {
|
|
35
|
-
var rowData = param.rowData, column = param.column;
|
|
36
|
-
var value = get(column.name, rowData);
|
|
37
|
-
if (value) {
|
|
38
|
-
return /* @__PURE__ */ jsxs(Wrapper, {
|
|
39
|
-
children: [
|
|
40
|
-
/* @__PURE__ */ jsx(Tooltip, {
|
|
41
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
42
|
-
className: "tooltip",
|
|
43
|
-
children: value
|
|
44
|
-
})
|
|
45
|
-
}),
|
|
46
|
-
value
|
|
47
|
-
]
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
return null;
|
|
51
|
-
};
|
|
52
|
-
export { HoverBubble };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Link as ReactLink } from "react-router-dom";
|
|
3
|
-
import Icon from "../../../../Elements/Icon/Icon";
|
|
4
|
-
import Spinner from "../../../../Elements/Spinner/Spinner";
|
|
5
|
-
import { x } from "@xstyled/styled-components";
|
|
6
|
-
var IconButtonInCell = function IconButtonInCell(param) {
|
|
7
|
-
var icon = param.icon, isLoading = param.isLoading, onClick = param.onClick, linkTo = param.linkTo;
|
|
8
|
-
return /* @__PURE__ */ jsx(Fragment, {
|
|
9
|
-
children: isLoading ? /* @__PURE__ */ jsx(Spinner, {
|
|
10
|
-
variant: "sm"
|
|
11
|
-
}) : linkTo ? /* @__PURE__ */ jsx(ReactLink, {
|
|
12
|
-
to: linkTo,
|
|
13
|
-
"data-cy": "".concat(icon !== null && icon !== void 0 ? icon : "", "IconBtn"),
|
|
14
|
-
children: /* @__PURE__ */ jsx(Icon, {
|
|
15
|
-
icon: icon || "warning",
|
|
16
|
-
size: "16px",
|
|
17
|
-
fill: "blue2"
|
|
18
|
-
})
|
|
19
|
-
}) : /* @__PURE__ */ jsx(x.span, {
|
|
20
|
-
onClick: onClick,
|
|
21
|
-
"data-cy": "".concat(icon !== null && icon !== void 0 ? icon : "", "IconBtn"),
|
|
22
|
-
cursor: "pointer",
|
|
23
|
-
h: "100%",
|
|
24
|
-
w: "100%",
|
|
25
|
-
display: "flex",
|
|
26
|
-
alignItems: "center",
|
|
27
|
-
justifyContent: "center",
|
|
28
|
-
children: /* @__PURE__ */ jsx(Icon, {
|
|
29
|
-
icon: icon || "warning",
|
|
30
|
-
size: "16px",
|
|
31
|
-
fill: "blue2"
|
|
32
|
-
})
|
|
33
|
-
})
|
|
34
|
-
});
|
|
35
|
-
};
|
|
36
|
-
export { IconButtonInCell };
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
function _tagged_template_literal(strings, raw) {
|
|
2
|
-
if (!raw) {
|
|
3
|
-
raw = strings.slice(0);
|
|
4
|
-
}
|
|
5
|
-
return Object.freeze(Object.defineProperties(strings, {
|
|
6
|
-
raw: {
|
|
7
|
-
value: Object.freeze(raw)
|
|
8
|
-
}
|
|
9
|
-
}));
|
|
10
|
-
}
|
|
11
|
-
function _templateObject() {
|
|
12
|
-
var data = _tagged_template_literal([
|
|
13
|
-
"\n ",
|
|
14
|
-
"\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"
|
|
15
|
-
]);
|
|
16
|
-
_templateObject = function _templateObject() {
|
|
17
|
-
return data;
|
|
18
|
-
};
|
|
19
|
-
return data;
|
|
20
|
-
}
|
|
21
|
-
function _templateObject1() {
|
|
22
|
-
var data = _tagged_template_literal([
|
|
23
|
-
"\n max-width: 100%;\n height: 30px;\n border: 1x solid;\n border-radius: md;\n border-color: lightGray3;\n"
|
|
24
|
-
]);
|
|
25
|
-
_templateObject1 = function _templateObject() {
|
|
26
|
-
return data;
|
|
27
|
-
};
|
|
28
|
-
return data;
|
|
29
|
-
}
|
|
30
|
-
import { jsx } from "react/jsx-runtime";
|
|
31
|
-
import Image from "../../../../Elements/Image/Image";
|
|
32
|
-
import styled from "@xstyled/styled-components";
|
|
33
|
-
import get from "lodash/fp/get";
|
|
34
|
-
var ImageWrapper = styled.div(_templateObject(), function(param) {
|
|
35
|
-
var onClick = param.onClick;
|
|
36
|
-
return onClick ? "cursor: pointer;" : "";
|
|
37
|
-
});
|
|
38
|
-
var StyledImage = styled(Image)(_templateObject1());
|
|
39
|
-
var ImageCell = function ImageCell(param) {
|
|
40
|
-
var rowData = param.rowData, column = param.column, onClick = param.onClick;
|
|
41
|
-
var _value_;
|
|
42
|
-
var value = get(column.name, rowData);
|
|
43
|
-
if (value === null || value === void 0 ? void 0 : (_value_ = value[0]) === null || _value_ === void 0 ? void 0 : _value_.urlSmall) {
|
|
44
|
-
return /* @__PURE__ */ jsx(ImageWrapper, {
|
|
45
|
-
onClick: onClick,
|
|
46
|
-
children: /* @__PURE__ */ jsx(StyledImage, {
|
|
47
|
-
src: value[0].urlSmall
|
|
48
|
-
})
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
return null;
|
|
52
|
-
};
|
|
53
|
-
export { ImageCell };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
function _tagged_template_literal(strings, raw) {
|
|
2
|
-
if (!raw) {
|
|
3
|
-
raw = strings.slice(0);
|
|
4
|
-
}
|
|
5
|
-
return Object.freeze(Object.defineProperties(strings, {
|
|
6
|
-
raw: {
|
|
7
|
-
value: Object.freeze(raw)
|
|
8
|
-
}
|
|
9
|
-
}));
|
|
10
|
-
}
|
|
11
|
-
function _templateObject() {
|
|
12
|
-
var data = _tagged_template_literal([
|
|
13
|
-
"\n text-decoration: underline;\n"
|
|
14
|
-
]);
|
|
15
|
-
_templateObject = function _templateObject() {
|
|
16
|
-
return data;
|
|
17
|
-
};
|
|
18
|
-
return data;
|
|
19
|
-
}
|
|
20
|
-
import styled from "@xstyled/styled-components";
|
|
21
|
-
import { SimpleLink } from "../../../../Elements/SimpleLink";
|
|
22
|
-
var LinkInCell = styled(SimpleLink)(_templateObject());
|
|
23
|
-
export { LinkInCell };
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
function _tagged_template_literal(strings, raw) {
|
|
2
|
-
if (!raw) {
|
|
3
|
-
raw = strings.slice(0);
|
|
4
|
-
}
|
|
5
|
-
return Object.freeze(Object.defineProperties(strings, {
|
|
6
|
-
raw: {
|
|
7
|
-
value: Object.freeze(raw)
|
|
8
|
-
}
|
|
9
|
-
}));
|
|
10
|
-
}
|
|
11
|
-
function _templateObject() {
|
|
12
|
-
var data = _tagged_template_literal([
|
|
13
|
-
"\n width: 100%;\n"
|
|
14
|
-
]);
|
|
15
|
-
_templateObject = function _templateObject() {
|
|
16
|
-
return data;
|
|
17
|
-
};
|
|
18
|
-
return data;
|
|
19
|
-
}
|
|
20
|
-
function _templateObject1() {
|
|
21
|
-
var data = _tagged_template_literal([
|
|
22
|
-
"\n display: flex;\n justify-content: center;\n cursor: pointer;\n color: gray;\n font-weight: bold;\n font-size: 10px;\n & .faIcon {\n margin-right: 4px;\n }\n"
|
|
23
|
-
]);
|
|
24
|
-
_templateObject1 = function _templateObject() {
|
|
25
|
-
return data;
|
|
26
|
-
};
|
|
27
|
-
return data;
|
|
28
|
-
}
|
|
29
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
30
|
-
import React from "react";
|
|
31
|
-
import Icon from "../../../../Elements/Icon/Icon";
|
|
32
|
-
import { Trans } from "@lingui/react";
|
|
33
|
-
import styled from "@xstyled/styled-components";
|
|
34
|
-
var Wrap = styled.div(_templateObject());
|
|
35
|
-
var Trigger = styled.div(_templateObject1());
|
|
36
|
-
var RemoveCell = function RemoveCell(param) {
|
|
37
|
-
var rowData = param.rowData, onRowAction = param.onRowAction;
|
|
38
|
-
var _rowData_product;
|
|
39
|
-
var onRemoveClick = React.useCallback(function() {
|
|
40
|
-
onRowAction === null || onRowAction === void 0 ? void 0 : onRowAction(rowData.id, "remove", rowData);
|
|
41
|
-
}, [
|
|
42
|
-
rowData,
|
|
43
|
-
onRowAction
|
|
44
|
-
]);
|
|
45
|
-
if ((rowData === null || rowData === void 0 ? void 0 : (_rowData_product = rowData.product) === null || _rowData_product === void 0 ? void 0 : _rowData_product.type) === "virtual") {
|
|
46
|
-
return /* @__PURE__ */ jsx(Trans, {
|
|
47
|
-
id: "dataGrid.columnLot.NA",
|
|
48
|
-
message: "N/A"
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
return /* @__PURE__ */ jsx(Wrap, {
|
|
52
|
-
children: /* @__PURE__ */ jsxs(Trigger, {
|
|
53
|
-
onClick: onRemoveClick,
|
|
54
|
-
children: [
|
|
55
|
-
/* @__PURE__ */ jsx(Icon, {
|
|
56
|
-
icon: "deleteX",
|
|
57
|
-
size: "12px"
|
|
58
|
-
}),
|
|
59
|
-
/* @__PURE__ */ jsx(Trans, {
|
|
60
|
-
id: "dataGrid.deleteItem",
|
|
61
|
-
message: "Delete"
|
|
62
|
-
})
|
|
63
|
-
]
|
|
64
|
-
})
|
|
65
|
-
});
|
|
66
|
-
};
|
|
67
|
-
export { RemoveCell, Trigger, Wrap };
|
|
@@ -1,117 +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
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
30
|
-
import { useCallback, useMemo } from "react";
|
|
31
|
-
import Checkbox from "../../../../Forms/Checkbox";
|
|
32
|
-
import { x } from "@xstyled/styled-components";
|
|
33
|
-
import { isFunction } from "lodash/fp";
|
|
34
|
-
import { IconButtonInCell } from "./IconButtonInCell";
|
|
35
|
-
var RowActionsCell = function RowActionsCell(param) {
|
|
36
|
-
var actionColumnDefinition = param.actionColumnDefinition, rowData = param.rowData, addRowNumbers = param.addRowNumbers, rowIndex = param.rowIndex, checkedRows = param.checkedRows, withCheckboxes = param.withCheckboxes, onUxChange = param.onUxChange, onRowAction = param.onRowAction;
|
|
37
|
-
var rowDataId = rowData === null || rowData === void 0 ? void 0 : rowData.id;
|
|
38
|
-
var canEdit = isFunction(actionColumnDefinition === null || actionColumnDefinition === void 0 ? void 0 : actionColumnDefinition.canRowEdit) ? actionColumnDefinition === null || actionColumnDefinition === void 0 ? void 0 : actionColumnDefinition.canRowEdit(rowData) : actionColumnDefinition === null || actionColumnDefinition === void 0 ? void 0 : actionColumnDefinition.canRowEdit;
|
|
39
|
-
var canRead = isFunction(actionColumnDefinition === null || actionColumnDefinition === void 0 ? void 0 : actionColumnDefinition.canRowRead) ? actionColumnDefinition === null || actionColumnDefinition === void 0 ? void 0 : actionColumnDefinition.canRowRead(rowData) : actionColumnDefinition === null || actionColumnDefinition === void 0 ? void 0 : actionColumnDefinition.canRowRead;
|
|
40
|
-
var onClick = useCallback(function() {
|
|
41
|
-
var action = canEdit ? "row_edit" : "row_read";
|
|
42
|
-
onRowAction === null || onRowAction === void 0 ? void 0 : onRowAction(rowData === null || rowData === void 0 ? void 0 : rowData.id, action, rowData);
|
|
43
|
-
}, [
|
|
44
|
-
canEdit,
|
|
45
|
-
onRowAction,
|
|
46
|
-
rowData
|
|
47
|
-
]);
|
|
48
|
-
var linkTo = useMemo(function() {
|
|
49
|
-
var _actionColumnDefinition_createLink;
|
|
50
|
-
var mode = canEdit ? "edit" : "read";
|
|
51
|
-
return actionColumnDefinition === null || actionColumnDefinition === void 0 ? void 0 : (_actionColumnDefinition_createLink = actionColumnDefinition.createLink) === null || _actionColumnDefinition_createLink === void 0 ? void 0 : _actionColumnDefinition_createLink.call(actionColumnDefinition, {
|
|
52
|
-
mode: mode,
|
|
53
|
-
id: rowData === null || rowData === void 0 ? void 0 : rowData.id
|
|
54
|
-
});
|
|
55
|
-
}, [
|
|
56
|
-
canEdit,
|
|
57
|
-
rowData === null || rowData === void 0 ? void 0 : rowData.id
|
|
58
|
-
]);
|
|
59
|
-
var isChecked = !!(checkedRows === null || checkedRows === void 0 ? void 0 : checkedRows[rowDataId]);
|
|
60
|
-
var onCheckboxChange = useCallback(function() {
|
|
61
|
-
var newCheckedRows = _object_spread({}, checkedRows || {});
|
|
62
|
-
if (!isChecked) {
|
|
63
|
-
newCheckedRows[rowDataId] = true;
|
|
64
|
-
} else {
|
|
65
|
-
delete newCheckedRows[rowDataId];
|
|
66
|
-
}
|
|
67
|
-
onUxChange === null || onUxChange === void 0 ? void 0 : onUxChange("checkedRows", newCheckedRows);
|
|
68
|
-
}, [
|
|
69
|
-
onUxChange,
|
|
70
|
-
isChecked,
|
|
71
|
-
rowDataId,
|
|
72
|
-
checkedRows
|
|
73
|
-
]);
|
|
74
|
-
var handleOnClick = useCallback(function() {
|
|
75
|
-
if (isFunction(onClick)) {
|
|
76
|
-
onClick();
|
|
77
|
-
}
|
|
78
|
-
}, [
|
|
79
|
-
onClick
|
|
80
|
-
]);
|
|
81
|
-
return /* @__PURE__ */ jsxs(x.div, {
|
|
82
|
-
w: "100%",
|
|
83
|
-
display: "flex",
|
|
84
|
-
gap: "16px",
|
|
85
|
-
pl: "4px",
|
|
86
|
-
pr: "4px",
|
|
87
|
-
children: [
|
|
88
|
-
withCheckboxes && /* @__PURE__ */ jsx(x.div, {
|
|
89
|
-
w: "100%",
|
|
90
|
-
children: /* @__PURE__ */ jsx(Checkbox, {
|
|
91
|
-
checked: isChecked,
|
|
92
|
-
onChange: onCheckboxChange,
|
|
93
|
-
label: ""
|
|
94
|
-
})
|
|
95
|
-
}),
|
|
96
|
-
addRowNumbers && /* @__PURE__ */ jsx(x.div, {
|
|
97
|
-
display: "flex",
|
|
98
|
-
alignItems: "center",
|
|
99
|
-
justifyContent: "center",
|
|
100
|
-
pr: "8px",
|
|
101
|
-
w: "100%",
|
|
102
|
-
children: rowIndex
|
|
103
|
-
}),
|
|
104
|
-
canEdit && /* @__PURE__ */ jsx(IconButtonInCell, {
|
|
105
|
-
icon: "pen",
|
|
106
|
-
onClick: handleOnClick,
|
|
107
|
-
linkTo: linkTo
|
|
108
|
-
}, "edit"),
|
|
109
|
-
!canEdit && canRead && /* @__PURE__ */ jsx(IconButtonInCell, {
|
|
110
|
-
icon: "chevronRight",
|
|
111
|
-
onClick: handleOnClick,
|
|
112
|
-
linkTo: linkTo
|
|
113
|
-
}, "read")
|
|
114
|
-
]
|
|
115
|
-
});
|
|
116
|
-
};
|
|
117
|
-
export { RowActionsCell };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import get from "lodash/fp/get";
|
|
3
|
-
var StringJoinCell = function StringJoinCell(param) {
|
|
4
|
-
var rowData = param.rowData, column = param.column;
|
|
5
|
-
var values = get(column.name, rowData);
|
|
6
|
-
return (values === null || values === void 0 ? void 0 : values.length) ? /* @__PURE__ */ jsx("span", {
|
|
7
|
-
children: values.join(", ")
|
|
8
|
-
}) : null;
|
|
9
|
-
};
|
|
10
|
-
export { StringJoinCell };
|
|
@@ -1,60 +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 { jsx } from "react/jsx-runtime";
|
|
54
|
-
import Toggle from "../../../../Elements/Toggle/Toggle";
|
|
55
|
-
var SwitchInCell = function SwitchInCell(props) {
|
|
56
|
-
return /* @__PURE__ */ jsx(Toggle, _object_spread_props(_object_spread({}, props), {
|
|
57
|
-
variant: "grid"
|
|
58
|
-
}));
|
|
59
|
-
};
|
|
60
|
-
export { SwitchInCell };
|
|
@@ -1,85 +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 { jsx } from "react/jsx-runtime";
|
|
48
|
-
import React, { useCallback } from "react";
|
|
49
|
-
import get from "lodash/fp/get";
|
|
50
|
-
import { SwitchInCell } from "./SwitchInCell";
|
|
51
|
-
var ToggleCell = function ToggleCell(param) {
|
|
52
|
-
var rowData = param.rowData, column = param.column, onRowAction = param.onRowAction;
|
|
53
|
-
var _column_passProps;
|
|
54
|
-
var inverse = !!(column === null || column === void 0 ? void 0 : (_column_passProps = column.passProps) === null || _column_passProps === void 0 ? void 0 : _column_passProps.inverse);
|
|
55
|
-
var rawValue = get(column.name, rowData);
|
|
56
|
-
var value = inverse ? !rawValue : !!rawValue;
|
|
57
|
-
var actionName = "toggle_".concat(column.name);
|
|
58
|
-
var _React_useState = _sliced_to_array(React.useState(value), 2), isChecked = _React_useState[0], setIsChecked = _React_useState[1];
|
|
59
|
-
React.useEffect(function() {
|
|
60
|
-
setIsChecked(value);
|
|
61
|
-
}, [
|
|
62
|
-
rowData.id
|
|
63
|
-
]);
|
|
64
|
-
var onSwitchChange = useCallback(function() {
|
|
65
|
-
if (!onRowAction) return;
|
|
66
|
-
var ret = onRowAction(rowData.id, actionName, !isChecked, rowData);
|
|
67
|
-
if (ret) {
|
|
68
|
-
ret.then(function() {
|
|
69
|
-
setIsChecked(!isChecked);
|
|
70
|
-
});
|
|
71
|
-
} else {
|
|
72
|
-
setIsChecked(!isChecked);
|
|
73
|
-
}
|
|
74
|
-
}, [
|
|
75
|
-
onRowAction,
|
|
76
|
-
rowData.id,
|
|
77
|
-
actionName,
|
|
78
|
-
isChecked
|
|
79
|
-
]);
|
|
80
|
-
return /* @__PURE__ */ jsx(SwitchInCell, {
|
|
81
|
-
checked: isChecked,
|
|
82
|
-
onChange: onSwitchChange
|
|
83
|
-
});
|
|
84
|
-
};
|
|
85
|
-
export { ToggleCell };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { DateCell } from "./Date";
|
|
2
|
-
import { DateTimeCell } from "./DateTime";
|
|
3
|
-
import { StringJoinCell } from "./StringJoin";
|
|
4
|
-
import { BoolIconCell } from "./BoolIcon";
|
|
5
|
-
import { RemoveCell } from "./RemoveItem";
|
|
6
|
-
import { LinkInCell } from "./LinkInCell";
|
|
7
|
-
import { ButtonInCell } from "./ButtonInCell";
|
|
8
|
-
import { IconButtonInCell } from "./IconButtonInCell";
|
|
9
|
-
import { SwitchInCell } from "./SwitchInCell";
|
|
10
|
-
import { ImageCell } from "./ImageCell";
|
|
11
|
-
import { EnumInCell } from "./EnumInCell";
|
|
12
|
-
import { HoverBubble } from "./HoverBubble";
|
|
13
|
-
import { RowActionsCell } from "./RowActionsCell";
|
|
14
|
-
import { ToggleCell } from "./ToggleCell";
|
|
15
|
-
export { BoolIconCell, ButtonInCell, DateCell, DateTimeCell, EnumInCell, HoverBubble, IconButtonInCell, ImageCell, LinkInCell, RemoveCell, RowActionsCell, StringJoinCell, SwitchInCell, ToggleCell };
|