@mailstep/design-system 0.7.66 → 0.7.68-beta.0
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 +7 -7
- package/ui/Blocks/CommonGrid/CommonGrid.d.ts +5 -3
- package/ui/Blocks/CommonGrid/CommonGrid.js +3 -3
- package/ui/Blocks/CommonGrid/CommonGridContainer.d.ts +4 -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 -1
- package/ui/Blocks/CommonGrid/components/ActionHead/ActionHead.js +3 -1
- package/ui/Blocks/CommonGrid/components/ActionHead/components/ActionDropdownMenu.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/ActionHead/components/ActionDropdownSelect.d.ts +4 -3
- package/ui/Blocks/CommonGrid/components/ActionHead/components/ActionDropdownSelect.js +10 -4
- package/ui/Blocks/CommonGrid/components/ActionHead/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/ButtonMore/ButtonMore.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/ButtonMore/ButtonMore.js +2 -2
- package/ui/Blocks/CommonGrid/components/ButtonMore/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/ColumnFilterCell.d.ts +4 -2
- package/ui/Blocks/CommonGrid/components/ColumnTitle/ColumnTitle.d.ts +2 -1
- 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 +4 -3
- package/ui/Blocks/CommonGrid/components/ControlButtons/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/ControlButtons/styles.d.ts +4 -5
- package/ui/Blocks/CommonGrid/components/DataCell.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/DataCell.js +1 -1
- package/ui/Blocks/CommonGrid/components/DataRow.d.ts +4 -2
- package/ui/Blocks/CommonGrid/components/DropdownButton/DropdownButton.d.ts +5 -4
- package/ui/Blocks/CommonGrid/components/DropdownButton/DropdownButton.js +5 -3
- package/ui/Blocks/CommonGrid/components/DropdownButton/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/ExtraControlButtons/ExtraControlButtons.d.ts +4 -2
- package/ui/Blocks/CommonGrid/components/ExtraControlButtons/ExtraControlButtons.js +1 -1
- package/ui/Blocks/CommonGrid/components/ExtraControlButtons/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/FilterDropdown.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/FilterDropdown.js +7 -7
- package/ui/Blocks/CommonGrid/components/FilterRow.d.ts +4 -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 +3 -1
- package/ui/Blocks/CommonGrid/components/Filters/BooleanSelect/BooleanSelect.js +3 -15
- package/ui/Blocks/CommonGrid/components/Filters/BooleanSelect/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/Filters/DatePickerRange/DatePickerRange.d.ts +5 -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 +3 -1
- package/ui/Blocks/CommonGrid/components/Filters/GridSelect/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/Filters/NumberRange/NumberRange.d.ts +3 -1
- package/ui/Blocks/CommonGrid/components/Filters/NumberRange/NumberRange.js +9 -3
- 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 -1
- package/ui/Blocks/CommonGrid/components/Filters/TextRange/TextRange.js +3 -1
- 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 -3
- package/ui/Blocks/CommonGrid/components/FloatingButton/FloatingButton.js +4 -2
- 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 +4 -2
- package/ui/Blocks/CommonGrid/components/HeadCell.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/HeadRow.d.ts +5 -3
- package/ui/Blocks/CommonGrid/components/IconList/IconList.d.ts +8 -6
- package/ui/Blocks/CommonGrid/components/IconList/IconList.js +3 -1
- 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/components/ManageColumnRow.js +5 -5
- package/ui/Blocks/CommonGrid/components/ManageColumnForm/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/ManageColumnForm/styles.d.ts +3 -3
- package/ui/Blocks/CommonGrid/components/ManageColumnForm/utils.d.ts +3 -1
- package/ui/Blocks/CommonGrid/components/OversizedScroll.d.ts +6 -4
- package/ui/Blocks/CommonGrid/components/OversizedScroll.js +3 -5
- package/ui/Blocks/CommonGrid/components/PresetsModalBody/components/TagRemove.d.ts +1 -1
- package/ui/Blocks/CommonGrid/components/PresetsModalBody/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/QuickFilter/QuickFilter.d.ts +1 -0
- package/ui/Blocks/CommonGrid/components/QuickFilter/index.d.ts +2 -1
- package/ui/Blocks/CommonGrid/components/Resize.d.ts +3 -1
- package/ui/Blocks/CommonGrid/components/Table.d.ts +36 -36
- package/ui/Blocks/CommonGrid/components/TablePagination/TablePagination.d.ts +3 -1
- 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/BoolIcon.js +1 -1
- package/ui/Blocks/CommonGrid/components/gridCells/ButtonInCell.d.ts +3 -1
- package/ui/Blocks/CommonGrid/components/gridCells/Date.d.ts +3 -1
- package/ui/Blocks/CommonGrid/components/gridCells/Date.js +1 -1
- package/ui/Blocks/CommonGrid/components/gridCells/DateTime.d.ts +3 -1
- package/ui/Blocks/CommonGrid/components/gridCells/DateTime.js +2 -2
- package/ui/Blocks/CommonGrid/components/gridCells/EnumInCell.d.ts +4 -2
- package/ui/Blocks/CommonGrid/components/gridCells/HoverBubble.d.ts +3 -1
- package/ui/Blocks/CommonGrid/components/gridCells/IconButtonInCell.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/gridCells/IconButtonInCell.js +1 -1
- package/ui/Blocks/CommonGrid/components/gridCells/ImageCell.d.ts +3 -1
- package/ui/Blocks/CommonGrid/components/gridCells/ImageCell.js +1 -1
- package/ui/Blocks/CommonGrid/components/gridCells/LinkInCell.d.ts +1 -1
- package/ui/Blocks/CommonGrid/components/gridCells/RemoveItem.d.ts +5 -2
- package/ui/Blocks/CommonGrid/components/gridCells/RemoveItem.js +4 -5
- package/ui/Blocks/CommonGrid/components/gridCells/RowActionsCell.d.ts +3 -2
- package/ui/Blocks/CommonGrid/components/gridCells/StringJoin.d.ts +3 -1
- package/ui/Blocks/CommonGrid/components/gridCells/StringJoin.js +1 -1
- package/ui/Blocks/CommonGrid/components/gridCells/SwitchInCell.d.ts +3 -1
- package/ui/Blocks/CommonGrid/components/gridCells/ToggleCell.d.ts +3 -1
- package/ui/Blocks/CommonGrid/components/gridCells/ToggleCell.js +4 -2
- package/ui/Blocks/CommonGrid/components/icons/Edit.d.ts +3 -1
- package/ui/Blocks/CommonGrid/components/icons/EyeOpen.d.ts +3 -1
- package/ui/Blocks/CommonGrid/components/icons/Sorting.d.ts +4 -2
- package/ui/Blocks/CommonGrid/components/utils.d.ts +1 -0
- package/ui/Blocks/CommonGrid/hooks/useAddFilter.d.ts +3 -2
- package/ui/Blocks/CommonGrid/hooks/useColumnSizes.d.ts +3 -2
- 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/useEvent.d.ts +1 -1
- package/ui/Blocks/CommonGrid/hooks/useFloatingButton.d.ts +1 -0
- package/ui/Blocks/CommonGrid/hooks/useGridActionTrigger.d.ts +2 -1
- package/ui/Blocks/CommonGrid/hooks/useGridAutoRowsPerPage.d.ts +1 -0
- package/ui/Blocks/CommonGrid/hooks/useManageColumn.d.ts +3 -3
- package/ui/Blocks/CommonGrid/hooks/usePresetFileHandlers.d.ts +1 -0
- package/ui/Blocks/CommonGrid/hooks/usePresetFileHandlers.js +6 -3
- package/ui/Blocks/CommonGrid/hooks/useQuickFilter.d.ts +3 -2
- package/ui/Blocks/CommonGrid/hooks/useRowsKeyControls.d.ts +3 -2
- package/ui/Blocks/CommonGrid/hooks/useSelectPreset.d.ts +1 -0
- package/ui/Blocks/CommonGrid/hooks/useToggleAllCheckbox.d.ts +3 -2
- package/ui/Blocks/CommonGrid/hooks/useUxReset.d.ts +2 -1
- package/ui/Blocks/CommonGrid/index.d.ts +7 -6
- package/ui/Blocks/CommonGrid/store/index.d.ts +16 -15
- package/ui/Blocks/CommonGrid/store/migrateState.d.ts +1 -0
- package/ui/Blocks/CommonGrid/storybook/components/ComplexCell.d.ts +5 -3
- package/ui/Blocks/CommonGrid/storybook/components/EnumCellExample.d.ts +4 -2
- package/ui/Blocks/CommonGrid/storybook/stories/complexWithPaginationAndRedux.stories.d.ts +1 -1
- package/ui/Blocks/CommonGrid/storybook/stories/default.stories.d.ts +1 -1
- package/ui/Blocks/CommonGrid/storybook/stories/styledCommonGrid.stories.d.ts +1 -1
- package/ui/Blocks/CommonGrid/storybook/stories/withForcedCheckboxes.stories.d.ts +2 -1
- package/ui/Blocks/CommonGrid/storybook/stories/withQuickFilter.stories.d.ts +1 -1
- package/ui/Blocks/CommonGrid/storybook/utils/columnDefinition.d.ts +2 -1
- package/ui/Blocks/CommonGrid/storybook/utils/utils.d.ts +3 -1
- package/ui/Blocks/CommonGrid/storybook/utils/utils.js +7 -3
- package/ui/Blocks/CommonGrid/storybook/utils/withRedux.d.ts +1 -1
- package/ui/Blocks/CommonGrid/storybook/utils/withRedux.js +1 -1
- package/ui/Blocks/CommonGrid/storybook/utils/withRouter.d.ts +1 -1
- package/ui/Blocks/CommonGrid/storybook/utils/withTheme.d.ts +1 -1
- package/ui/Blocks/CommonGrid/styles.d.ts +9 -10
- package/ui/Blocks/CommonGrid/types.d.ts +32 -51
- package/ui/Blocks/CommonGrid/utils/getRowsPerPage.d.ts +1 -1
- package/ui/Blocks/CommonGrid/utils/index.d.ts +5 -4
- package/ui/Blocks/CornerDialog/CornerDialog.d.ts +3 -1
- package/ui/Blocks/CornerDialog/CornerDialog.js +2 -2
- package/ui/Blocks/CornerDialog/index.d.ts +1 -0
- package/ui/Blocks/CornerDialog/stories/CornerDialog.stories.d.ts +2 -2
- package/ui/Blocks/CornerDialog/styles.d.ts +6 -6
- package/ui/Blocks/CornerDialog/types.d.ts +4 -3
- 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 +3 -3
- 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 -4
- package/ui/Blocks/Header/index.js +2 -2
- package/ui/Blocks/Header/stories/Header.stories.d.ts +25 -23
- package/ui/Blocks/Header/stories/Header.stories.js +3 -1
- 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 +3 -2
- package/ui/Blocks/ImageList/ImageList.d.ts +3 -2
- package/ui/Blocks/ImageList/ImageList.js +1 -1
- package/ui/Blocks/ImageList/components/AddPhoto/index.d.ts +3 -2
- package/ui/Blocks/ImageList/components/AddPhoto/index.js +2 -2
- package/ui/Blocks/ImageList/components/AddPhoto/styles.d.ts +4 -4
- package/ui/Blocks/ImageList/components/CloseButton/index.d.ts +2 -1
- package/ui/Blocks/ImageList/components/CloseButton/styles.d.ts +2 -2
- package/ui/Blocks/ImageList/components/ImageElement/index.d.ts +2 -1
- package/ui/Blocks/ImageList/components/ImageElement/styles.d.ts +4 -4
- 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 -2
- package/ui/Blocks/ImageList/styles.d.ts +4 -4
- 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 -2
- package/ui/Blocks/LanguageSwitch/styles.d.ts +7 -7
- 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 -2
- 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/stories/LoginPage.stories.js +2 -2
- package/ui/Blocks/LoginPage/styles.d.ts +10 -9
- 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 +2 -1
- 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 -2
- package/ui/Blocks/Modal/styles.d.ts +16 -15
- package/ui/Blocks/Modal/types.d.ts +8 -7
- package/ui/Blocks/Modal/utils.d.ts +1 -0
- package/ui/Blocks/Popover/index.d.ts +4 -3
- package/ui/Blocks/Popover/index.js +2 -2
- 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 +4 -4
- 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 +5 -5
- 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 +3 -2
- package/ui/Blocks/Scheduler/utils/isActiveTime.d.ts +1 -0
- package/ui/Blocks/SideMenu/MenuItem.d.ts +4 -3
- package/ui/Blocks/SideMenu/SideMenu.d.ts +3 -1
- package/ui/Blocks/SideMenu/components/Footer.d.ts +6 -4
- package/ui/Blocks/SideMenu/components/Footer.js +3 -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 -2
- package/ui/Blocks/SideMenu/styles.d.ts +38 -38
- 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 +3 -3
- package/ui/Blocks/Stepper/components/StepItem/index.d.ts +2 -1
- package/ui/Blocks/Stepper/components/StepItem/styles.d.ts +6 -6
- 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 -5
- package/ui/Blocks/Tabs/TabContent.d.ts +3 -2
- package/ui/Blocks/Tabs/Tabs.d.ts +4 -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 -2
- package/ui/Blocks/Tabs/styles.d.ts +9 -10
- package/ui/Blocks/Tabs/types.d.ts +1 -0
- 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 +28 -39
- package/ui/Elements/Alert/styles.js +2 -3
- package/ui/Elements/Alert/types.d.ts +4 -5
- 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 -2
- package/ui/Elements/AsyncSelect/stories/AsyncSelect.stories.js +2 -2
- package/ui/Elements/Avatar/Avatar.d.ts +3 -1
- package/ui/Elements/Avatar/Avatar.js +1 -2
- package/ui/Elements/Avatar/index.d.ts +1 -0
- package/ui/Elements/Avatar/stories/Avatar.stories.d.ts +3 -3
- package/ui/Elements/Badge/Badge.d.ts +4 -3
- package/ui/Elements/Badge/Badge.js +1 -2
- package/ui/Elements/Badge/index.d.ts +2 -1
- package/ui/Elements/Badge/stories/Badge.stories.d.ts +3 -3
- package/ui/Elements/BarChartSymbol/BarChartSymbol.d.ts +1 -0
- package/ui/Elements/BarChartSymbol/stories/BarChartSymbol.stories.d.ts +3 -3
- package/ui/Elements/BarChartSymbol/styles.d.ts +3 -3
- package/ui/Elements/BorderedBox/BorderedBox.d.ts +3 -1
- package/ui/Elements/BorderedBox/index.d.ts +2 -1
- package/ui/Elements/BorderedBox/stories/BorderedBox.stories.d.ts +3 -3
- package/ui/Elements/BorderedBox/types.d.ts +0 -1
- package/ui/Elements/Button/Button.d.ts +4 -2
- package/ui/Elements/Button/index.d.ts +2 -1
- package/ui/Elements/Button/stories/Button.stories.d.ts +3 -3
- package/ui/Elements/Button/styles.d.ts +9 -10
- package/ui/Elements/Button/types.d.ts +6 -5
- 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 -3
- package/ui/Elements/Card/styles.d.ts +4 -3
- package/ui/Elements/Card/types.d.ts +0 -1
- package/ui/Elements/CheckedCircle/index.d.ts +2 -1
- package/ui/Elements/CheckedCircle/storries/CheckedCircle.stories.d.ts +5 -5
- package/ui/Elements/CheckedCircle/styles.d.ts +1 -1
- package/ui/Elements/DatePicker/DatePicker.d.ts +5 -4
- package/ui/Elements/DatePicker/Datetime/DateTime.d.ts +5 -4
- package/ui/Elements/DatePicker/Datetime/components/DateRepeater.d.ts +3 -2
- package/ui/Elements/DatePicker/Datetime/components/FooterRow.d.ts +2 -2
- 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 +8 -7
- 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 -2
- package/ui/Elements/DatePicker/utils/constants.d.ts +1 -0
- package/ui/Elements/Dropdown/Dropdown.d.ts +3 -1
- package/ui/Elements/Dropdown/Dropdown.js +3 -5
- package/ui/Elements/Dropdown/index.d.ts +2 -1
- package/ui/Elements/Dropdown/stories/Dropdown.stories.d.ts +3 -3
- package/ui/Elements/Dropdown/types.d.ts +1 -0
- package/ui/Elements/DropdownMenu/DropdownMenu.d.ts +3 -1
- package/ui/Elements/DropdownMenu/DropdownMenu.js +3 -3
- package/ui/Elements/DropdownMenu/components/DefaultItem.d.ts +3 -1
- package/ui/Elements/DropdownMenu/components/MenuItem.d.ts +3 -1
- package/ui/Elements/DropdownMenu/components/MenuItem.js +1 -1
- package/ui/Elements/DropdownMenu/components/MenuList.d.ts +3 -1
- package/ui/Elements/DropdownMenu/components/MenuList.js +3 -4
- package/ui/Elements/DropdownMenu/types.d.ts +6 -5
- package/ui/Elements/DropdownSelect/DropdownSelect.d.ts +7 -6
- package/ui/Elements/DropdownSelect/DropdownSelect.js +11 -7
- package/ui/Elements/DropdownSelect/index.d.ts +2 -1
- package/ui/Elements/ErrorMessage/ErrorMessage.d.ts +3 -1
- package/ui/Elements/ErrorMessage/ErrorMessage.js +1 -2
- package/ui/Elements/ErrorMessage/index.d.ts +2 -1
- package/ui/Elements/ErrorMessage/stories/ErrorMessage.stories.d.ts +3 -3
- package/ui/Elements/ErrorMessage/types.d.ts +1 -0
- package/ui/Elements/HighlightBox/HighlightBox.d.ts +3 -2
- package/ui/Elements/HighlightBox/HighlightBox.js +4 -4
- package/ui/Elements/HighlightBox/index.d.ts +2 -1
- package/ui/Elements/Icon/BadgeIcon.d.ts +3 -1
- package/ui/Elements/Icon/BadgeIcon.js +2 -5
- package/ui/Elements/Icon/Icon.d.ts +4 -4
- package/ui/Elements/Icon/Icon.js +15 -16
- 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/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/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/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 +4 -0
- package/ui/Elements/Icon/icons/FlagHU.js +13 -0
- package/ui/Elements/Icon/icons/FlagITA.d.ts +2 -1
- package/ui/Elements/Icon/icons/FlagNL.d.ts +4 -0
- package/ui/Elements/Icon/icons/FlagNL.js +13 -0
- 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/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/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/ShoppingBag.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/Valuable.d.ts +3 -2
- package/ui/Elements/Icon/icons/index.d.ts +2 -0
- package/ui/Elements/Icon/icons/index.js +2 -0
- package/ui/Elements/Icon/index.d.ts +2 -1
- package/ui/Elements/Icon/stories/BadgeIcon.stories.d.ts +6 -6
- package/ui/Elements/Icon/stories/Icon.stories.d.ts +3 -3
- package/ui/Elements/Icon/types.d.ts +1 -3
- package/ui/Elements/Image/Image.d.ts +3 -1
- package/ui/Elements/Image/Image.js +13 -1
- package/ui/Elements/Image/index.d.ts +2 -1
- package/ui/Elements/Image/stories/Image.stories.d.ts +3 -3
- package/ui/Elements/Image/types.d.ts +6 -7
- package/ui/Elements/Label/Label.d.ts +3 -3
- package/ui/Elements/Label/index.d.ts +1 -0
- package/ui/Elements/Label/stories/Label.stories.d.ts +4 -3
- 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 +3 -4
- package/ui/Elements/Link/Link.d.ts +4 -13
- package/ui/Elements/Link/Link.js +3 -11
- package/ui/Elements/Link/index.d.ts +2 -1
- package/ui/Elements/Link/stories/Link.stories.d.ts +17 -27
- package/ui/Elements/Logo/Logo.d.ts +4 -2
- package/ui/Elements/Logo/Logo.js +3 -3
- package/ui/Elements/Logo/index.d.ts +2 -1
- package/ui/Elements/Logo/stories/Logo.stories.d.ts +3 -3
- package/ui/Elements/MultiSelect/MultiSelect.d.ts +3 -1
- package/ui/Elements/MultiSelect/index.d.ts +2 -1
- package/ui/Elements/Pagination/Pagination.d.ts +3 -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 -7
- package/ui/Elements/Portal/index.d.ts +5 -4
- package/ui/Elements/ProgressBar/ProgressBar.d.ts +3 -1
- package/ui/Elements/ProgressBar/index.d.ts +2 -1
- package/ui/Elements/ProgressBar/stories/ProgressBar.stories.d.ts +9 -8
- package/ui/Elements/ProgressBar/styles.d.ts +4 -4
- package/ui/Elements/Select/Select.d.ts +3 -1
- package/ui/Elements/Select/Select.js +48 -7
- package/ui/Elements/Select/components/SelectAll.d.ts +1 -0
- package/ui/Elements/Select/components/SelectedIndicator.d.ts +1 -1
- package/ui/Elements/Select/components/SimplifiedOption.d.ts +1 -2
- 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 +4 -3
- 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 +5 -5
- package/ui/Elements/SingleSelect/SingleSelect.js +30 -22
- package/ui/Elements/SingleSelect/index.d.ts +2 -1
- package/ui/Elements/SpaceAround/SpaceAround.d.ts +3 -1
- package/ui/Elements/SpaceAround/SpaceAround.js +1 -2
- package/ui/Elements/SpaceAround/index.d.ts +2 -1
- package/ui/Elements/SpaceAround/stories/SpaceAround.stories.d.ts +3 -3
- package/ui/Elements/SpaceAround/types.d.ts +0 -1
- package/ui/Elements/Spinner/Spinner.d.ts +4 -2
- package/ui/Elements/Spinner/Spinner.js +2 -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 +3 -3
- package/ui/Elements/Spinner/types.d.ts +4 -5
- 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/palletes.d.ts +2 -1
- package/ui/Elements/Tag/stories/Tag.stories.d.ts +4 -3
- package/ui/Elements/Tag/stories/Tag.stories.js +22 -22
- package/ui/Elements/Tag/stories/components/predefinedTags.d.ts +3 -1
- package/ui/Elements/Tag/stories/components/predefinedTags.js +2 -2
- package/ui/Elements/Tag/types.d.ts +0 -1
- package/ui/Elements/Text/Text.d.ts +4 -2
- package/ui/Elements/Text/index.d.ts +2 -1
- package/ui/Elements/Text/stories/Text.stories.d.ts +3 -3
- package/ui/Elements/Text/types.d.ts +1 -0
- package/ui/Elements/Toast/Toast.d.ts +3 -1
- package/ui/Elements/Toast/Toast.js +4 -2
- 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 -3
- package/ui/Elements/Toast/styles.d.ts +6 -6
- package/ui/Elements/Toggle/Toggle.d.ts +4 -2
- package/ui/Elements/Toggle/index.d.ts +2 -1
- package/ui/Elements/Toggle/stories/Toggle.stories.d.ts +3 -3
- package/ui/Elements/Toggle/types.d.ts +1 -0
- package/ui/Elements/Tooltip/Tooltip.d.ts +5 -4
- package/ui/Elements/Tooltip/Tooltip.js +8 -4
- package/ui/Elements/Tooltip/index.d.ts +2 -1
- package/ui/Elements/Tooltip/stories/Tooltip.stories.d.ts +3 -3
- package/ui/Elements/Typography/Typography.d.ts +15 -13
- 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 +4 -3
- package/ui/Forms/Checkbox/index.d.ts +2 -1
- package/ui/Forms/Checkbox/stories/Checkbox.stories.d.ts +2 -2
- package/ui/Forms/Checkbox/styles.d.ts +4 -5
- package/ui/Forms/Checkbox/types.d.ts +3 -2
- package/ui/Forms/Input/Input.d.ts +4 -2
- package/ui/Forms/Input/Input.js +3 -3
- 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 +12 -12
- package/ui/Forms/Input/types.d.ts +3 -5
- package/ui/Forms/RadioButton/RadioButton.d.ts +3 -1
- package/ui/Forms/RadioButton/RadioButton.js +1 -1
- package/ui/Forms/RadioButton/index.d.ts +2 -1
- package/ui/Forms/RadioButton/stories/RadioButton.stories.d.ts +3 -3
- 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 +4 -3
- package/ui/Forms/TextArea/TextArea.js +3 -3
- package/ui/Forms/TextArea/index.d.ts +2 -1
- package/ui/Forms/TextArea/styles.d.ts +10 -10
- package/ui/ThemeProvider/ThemeProvider.d.ts +2 -2
- package/ui/ThemeProvider/index.d.ts +3 -2
- package/ui/ThemeProvider/themes/default.js +1 -1
- package/ui/ThemeProvider/themes/index.d.ts +1 -1
- package/ui/ThemeProvider/themes/light.d.ts +2 -1
- package/ui/ThemeProvider/themes/mailwise.js +1 -1
- package/ui/ThemeProvider/types.d.ts +2 -1
- package/ui/index.d.ts +49 -48
- package/ui/index.es.js +19696 -19675
- package/ui/index.umd.js +649 -865
- 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
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React, FC } from 'react';
|
|
2
|
+
|
|
2
3
|
type Props = {
|
|
3
4
|
icon?: string;
|
|
4
5
|
isLoading?: boolean;
|
|
5
6
|
onClick: React.HTMLProps<HTMLButtonElement>['onClick'];
|
|
6
7
|
linkTo?: string;
|
|
7
8
|
};
|
|
8
|
-
export declare const IconButtonInCell:
|
|
9
|
+
export declare const IconButtonInCell: FC<Props>;
|
|
9
10
|
export {};
|
|
@@ -5,5 +5,5 @@ import Spinner from '../../../../Elements/Spinner/Spinner';
|
|
|
5
5
|
import { x } from '@xstyled/styled-components';
|
|
6
6
|
export var IconButtonInCell = function (_a) {
|
|
7
7
|
var icon = _a.icon, isLoading = _a.isLoading, onClick = _a.onClick, linkTo = _a.linkTo;
|
|
8
|
-
return (_jsx(_Fragment, { children: isLoading ? (_jsx(Spinner, { variant: "sm" })) : linkTo ? (_jsx(ReactLink, { to: linkTo, "data-cy": "".concat(icon, "IconBtn"), children: _jsx(Icon, { icon: icon || 'warning', size: "16px", fill: "blue2" }) })) : (_jsx(x.span, { onClick: onClick, "data-cy": "".concat(icon, "IconBtn"), cursor: "pointer", h: "100%", w: "100%", display: "flex", alignItems: "center", justifyContent: "center", children: _jsx(Icon, { icon: icon || 'warning', size: "16px", fill: "blue2" }) })) }));
|
|
8
|
+
return (_jsx(_Fragment, { children: isLoading ? (_jsx(Spinner, { variant: "sm" })) : linkTo ? (_jsx(ReactLink, { to: linkTo, "data-cy": "".concat(icon !== null && icon !== void 0 ? icon : '', "IconBtn"), children: _jsx(Icon, { icon: icon || 'warning', size: "16px", fill: "blue2" }) })) : (_jsx(x.span, { onClick: onClick, "data-cy": "".concat(icon !== null && icon !== void 0 ? icon : '', "IconBtn"), cursor: "pointer", h: "100%", w: "100%", display: "flex", alignItems: "center", justifyContent: "center", children: _jsx(Icon, { icon: icon || 'warning', size: "16px", fill: "blue2" }) })) }));
|
|
9
9
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
1
2
|
import { DataCellProps } from '../../types';
|
|
3
|
+
|
|
2
4
|
type Props = DataCellProps<{}> & {
|
|
3
5
|
onClick?: () => void;
|
|
4
6
|
};
|
|
5
|
-
export declare const ImageCell:
|
|
7
|
+
export declare const ImageCell: FC<Props>;
|
|
6
8
|
export {};
|
|
@@ -3,9 +3,9 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
3
3
|
return cooked;
|
|
4
4
|
};
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
+
import Image from '../../../../Elements/Image/Image';
|
|
6
7
|
import styled from '@xstyled/styled-components';
|
|
7
8
|
import get from 'lodash/fp/get';
|
|
8
|
-
import Image from '../../../../Elements/Image/Image';
|
|
9
9
|
var ImageWrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n ", "\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_a) {
|
|
10
10
|
var onClick = _a.onClick;
|
|
11
11
|
return (onClick ? 'cursor: pointer;' : '');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LinkInCell: import(
|
|
1
|
+
export declare const LinkInCell: import('styled-components').StyledComponent<typeof import('react-router-dom').Link, import('@xstyled/system').Theme, import('../../../../Elements/SimpleLink/SimpleLink').Props, never>;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
1
2
|
import { DataCellProps } from '../../types';
|
|
3
|
+
|
|
2
4
|
type Props = DataCellProps<any>;
|
|
3
|
-
export declare const Wrap: import(
|
|
4
|
-
export declare const
|
|
5
|
+
export declare const Wrap: import('styled-components').StyledComponent<"div", import('@xstyled/system').Theme, {}, never>;
|
|
6
|
+
export declare const Trigger: import('styled-components').StyledComponent<"div", import('@xstyled/system').Theme, {}, never>;
|
|
7
|
+
export declare const RemoveCell: FC<Props>;
|
|
5
8
|
export {};
|
|
@@ -4,17 +4,16 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
4
4
|
};
|
|
5
5
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
6
|
import React from 'react';
|
|
7
|
-
import styled from '@xstyled/styled-components';
|
|
8
|
-
import { Trans } from '@lingui/react';
|
|
9
7
|
import Icon from '../../../../Elements/Icon/Icon';
|
|
8
|
+
import { Trans } from '@lingui/react';
|
|
9
|
+
import styled from '@xstyled/styled-components';
|
|
10
10
|
export var Wrap = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n"], ["\n width: 100%;\n"])));
|
|
11
|
-
var Trigger = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\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"], ["\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"])));
|
|
11
|
+
export var Trigger = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\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"], ["\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"])));
|
|
12
12
|
export var RemoveCell = function (_a) {
|
|
13
13
|
var _b;
|
|
14
14
|
var rowData = _a.rowData, onRowAction = _a.onRowAction;
|
|
15
15
|
var onRemoveClick = React.useCallback(function () {
|
|
16
|
-
|
|
17
|
-
onRowAction(rowData.id, 'remove', rowData);
|
|
16
|
+
onRowAction === null || onRowAction === void 0 ? void 0 : onRowAction(rowData.id, 'remove', rowData);
|
|
18
17
|
}, [rowData, onRowAction]);
|
|
19
18
|
if (((_b = rowData === null || rowData === void 0 ? void 0 : rowData.product) === null || _b === void 0 ? void 0 : _b.type) === 'virtual') {
|
|
20
19
|
return _jsx(Trans, { id: "dataGrid.columnLot.NA", message: "N/A" });
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { DataCellProps, ActionColumn, UxState, GridActionsType } from '../../types';
|
|
3
|
+
|
|
3
4
|
type Props = DataCellProps<{
|
|
4
5
|
id: string;
|
|
5
6
|
}> & {
|
|
@@ -3,5 +3,5 @@ import get from 'lodash/fp/get';
|
|
|
3
3
|
export var StringJoinCell = function (_a) {
|
|
4
4
|
var rowData = _a.rowData, column = _a.column;
|
|
5
5
|
var values = get(column.name, rowData);
|
|
6
|
-
return values
|
|
6
|
+
return (values === null || values === void 0 ? void 0 : values.length) ? _jsx("span", { children: values.join(', ') }) : null;
|
|
7
7
|
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
1
2
|
import { DataCellProps } from '../../types';
|
|
3
|
+
|
|
2
4
|
type SwitchData = {
|
|
3
5
|
id: string;
|
|
4
6
|
};
|
|
5
7
|
type Props = DataCellProps<SwitchData>;
|
|
6
|
-
export declare const ToggleCell:
|
|
8
|
+
export declare const ToggleCell: FC<Props>;
|
|
7
9
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import React, { useCallback } from 'react';
|
|
3
|
-
import { SwitchInCell } from './SwitchInCell';
|
|
4
3
|
import get from 'lodash/fp/get';
|
|
4
|
+
import { SwitchInCell } from './SwitchInCell';
|
|
5
5
|
export var ToggleCell = function (_a) {
|
|
6
6
|
var _b;
|
|
7
7
|
var rowData = _a.rowData, column = _a.column, onRowAction = _a.onRowAction;
|
|
@@ -19,7 +19,9 @@ export var ToggleCell = function (_a) {
|
|
|
19
19
|
var ret = onRowAction(rowData.id, actionName, !isChecked, rowData);
|
|
20
20
|
if (ret) {
|
|
21
21
|
// promise returned = we wait for result
|
|
22
|
-
ret.then(function () {
|
|
22
|
+
ret.then(function () {
|
|
23
|
+
setIsChecked(!isChecked);
|
|
24
|
+
});
|
|
23
25
|
}
|
|
24
26
|
else {
|
|
25
27
|
// no promise = we fake feedback
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { GridActionsType, ColumnDefinition } from '../types';
|
|
2
|
+
|
|
2
3
|
type AddFilterRet = (value: any, column: ColumnDefinition, others?: any) => void;
|
|
3
|
-
export declare const useAddFilter: (onChange: Required<GridActionsType>[
|
|
4
|
+
export declare const useAddFilter: (onChange: Required<GridActionsType>["addFilter"]) => AddFilterRet;
|
|
4
5
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { CommonGridProps, GridActionsType, GridSelectorsType } from '../types';
|
|
3
|
+
|
|
3
4
|
type ReturnProps = {
|
|
4
5
|
displayColumnsWidth: {
|
|
5
6
|
[anyColumn: string]: number;
|
|
@@ -8,5 +9,5 @@ type ReturnProps = {
|
|
|
8
9
|
gridBoxRef: React.MutableRefObject<HTMLElement>;
|
|
9
10
|
handleResizeDrag: (column: string, width: number) => void;
|
|
10
11
|
};
|
|
11
|
-
declare const useColumnSizes: (displayColumnsDefinitions: CommonGridProps[
|
|
12
|
+
declare const useColumnSizes: (displayColumnsDefinitions: CommonGridProps["columnsDefinitions"], storeColumnsWidth: Required<GridSelectorsType>["columnsWidth"], storeColumnsWidthVariant: GridSelectorsType["columnsWidthVariant"], setColumnWidth: Required<GridActionsType>["setColumnWidth"], columnLayout: Required<CommonGridProps>["columnLayout"], minColumnWidth?: number) => ReturnProps;
|
|
12
13
|
export default useColumnSizes;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { CommonGridProps } from '../types';
|
|
2
|
+
|
|
2
3
|
type ExcludedProps = 'components' | 'filters' | 'onBatchAction' | 'extraControlButtons';
|
|
3
4
|
type Props = Omit<CommonGridProps, ExcludedProps>;
|
|
4
5
|
type UseEditReadAsColumnHook = {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { RowProps, UxState, ActionColumn, OnBatchActionFn } from '../types';
|
|
2
|
+
|
|
2
3
|
/**
|
|
3
4
|
* hook for action selection and trigger
|
|
4
5
|
* returns [subset of actions that are enabled, onSelect(value) - param1: selected action value]
|
|
5
6
|
*/
|
|
6
7
|
type GridActionTriggerRet = [Required<ActionColumn>['actionOptions'], (value: any) => void];
|
|
7
|
-
export declare const useGridActionTrigger: (rowsData: RowProps[], uxState: UxState, actionOptions?: ActionColumn[
|
|
8
|
+
export declare const useGridActionTrigger: (rowsData: RowProps[], uxState: UxState, actionOptions?: ActionColumn["actionOptions"], onBatchAction?: OnBatchActionFn) => GridActionTriggerRet;
|
|
8
9
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { DragEndEvent } from '@dnd-kit/core';
|
|
3
2
|
import { CommonGridProps, GridActionsType, GridSelectorsType, ColumnDefinition } from '../types';
|
|
3
|
+
|
|
4
4
|
type Props = {
|
|
5
5
|
columns: CommonGridProps['columnsDefinitions'];
|
|
6
6
|
gridActions: GridActionsType;
|
|
@@ -9,9 +9,9 @@ type Props = {
|
|
|
9
9
|
};
|
|
10
10
|
declare const useManageColumn: ({ columns, gridSelectors, gridActions, onClose }: Props) => {
|
|
11
11
|
columnsConfigValues: string[];
|
|
12
|
-
setColumnsConfigOptions: import(
|
|
12
|
+
setColumnsConfigOptions: import('react').Dispatch<import('react').SetStateAction<{
|
|
13
13
|
[x: string]: {
|
|
14
|
-
isHidden?: boolean
|
|
14
|
+
isHidden?: boolean;
|
|
15
15
|
};
|
|
16
16
|
}>>;
|
|
17
17
|
onConfirmForm: () => void;
|
|
@@ -10,8 +10,8 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
12
|
import { useRef, useCallback } from 'react';
|
|
13
|
-
import omit from 'lodash/omit';
|
|
14
13
|
import { i18n } from '@lingui/core';
|
|
14
|
+
import omit from 'lodash/omit';
|
|
15
15
|
export var usePresetFileHandlers = function (_a) {
|
|
16
16
|
var gridName = _a.gridName, gridActions = _a.gridActions, gridSelectors = _a.gridSelectors;
|
|
17
17
|
var fileInputRef = useRef(null);
|
|
@@ -45,13 +45,16 @@ export var usePresetFileHandlers = function (_a) {
|
|
|
45
45
|
var fileContent = JSON.parse((_a = e.target) === null || _a === void 0 ? void 0 : _a.result);
|
|
46
46
|
var gridConfig = fileContent._;
|
|
47
47
|
if (gridConfig && gridConfig.gridName !== gridName) {
|
|
48
|
-
throw new Error(i18n._({
|
|
48
|
+
throw new Error(i18n._({
|
|
49
|
+
id: 'dataGrid.importPresets.gridNameNotSame',
|
|
50
|
+
message: 'Grid name in file is not the same as current grid.'
|
|
51
|
+
}));
|
|
49
52
|
}
|
|
50
53
|
(_b = gridActions.setPresets) === null || _b === void 0 ? void 0 : _b.call(gridActions, omit(fileContent, '_'));
|
|
51
54
|
}
|
|
52
55
|
catch (error) {
|
|
53
56
|
console.warn(error);
|
|
54
|
-
alert(i18n._({ id: 'dataGrid.importPresets.error',
|
|
57
|
+
alert(i18n._({ id: 'dataGrid.importPresets.error', message: 'Error with importing files.' }) + String(error));
|
|
55
58
|
}
|
|
56
59
|
finally {
|
|
57
60
|
if (fileInputRef.current) {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ChangeEvent } from 'react';
|
|
2
2
|
import { ColumnDefinition, CommonGridProps, FiltersConfig, GridActionsType, GridSelectorsType } from '../types';
|
|
3
|
+
|
|
3
4
|
type Props = {
|
|
4
5
|
gridActions: GridActionsType;
|
|
5
6
|
gridSelectors: GridSelectorsType;
|
|
@@ -10,7 +11,7 @@ type Props = {
|
|
|
10
11
|
};
|
|
11
12
|
declare const useQuickFilter: ({ gridActions, gridSelectors, quickFilter, displayColumnsDefinitions, filters }: Props) => {
|
|
12
13
|
searchedValue: string;
|
|
13
|
-
translatedValue:
|
|
14
|
+
translatedValue: import('react').ReactNode;
|
|
14
15
|
onChangeInputValue: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
15
16
|
onClearSettings: () => void;
|
|
16
17
|
onDisplayInput: () => void;
|
|
@@ -18,6 +19,6 @@ declare const useQuickFilter: ({ gridActions, gridSelectors, quickFilter, displa
|
|
|
18
19
|
onClear: () => void;
|
|
19
20
|
isMobileInputView: boolean;
|
|
20
21
|
isMobile: boolean;
|
|
21
|
-
filter: import(
|
|
22
|
+
filter: import('../types').Filtering | undefined;
|
|
22
23
|
};
|
|
23
24
|
export default useQuickFilter;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { RowProps, UxState } from '../types';
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
declare const useRowsKeyControls: (rowsData: RowProps[], uxState: UxState, onUxChange?: (uxKey: keyof UxState, uxValue: any) => void) => (e: React.KeyboardEvent<HTMLDivElement>) => void;
|
|
4
5
|
export default useRowsKeyControls;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { RowProps, GridActionsType, UxState } from '../types';
|
|
2
|
+
|
|
2
3
|
/**
|
|
3
4
|
* hook for checkbox that select and unselects all row
|
|
4
5
|
* returns [checked state, toggleAllHandler()] for checkbox
|
|
5
6
|
*/
|
|
6
7
|
type ToggleAllCheckboxRet = [boolean, () => void];
|
|
7
|
-
export declare const useToggleAllCheckbox: (rowsData?: RowProps[], uxState?: UxState, handleUxChange?: GridActionsType[
|
|
8
|
+
export declare const useToggleAllCheckbox: (rowsData?: RowProps[], uxState?: UxState, handleUxChange?: GridActionsType["handleUxChange"]) => ToggleAllCheckboxRet;
|
|
8
9
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { RowProps, GridActionsType, UxState } from '../types';
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
declare const useUxReset: (rowsData: RowProps[], uxState: UxState, clearUxState: GridActionsType["clearUxState"]) => any;
|
|
3
4
|
export default useUxReset;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import CommonGrid from './CommonGridContainer';
|
|
2
|
-
import withReduxActions from './HoC/withReduxActions';
|
|
3
|
-
import reducer,
|
|
4
|
-
import useFloatingButton from './hooks/useFloatingButton';
|
|
5
|
-
import * as Types from './types';
|
|
6
|
-
export * from './components/gridCells';
|
|
1
|
+
import { default as CommonGrid } from './CommonGridContainer';
|
|
2
|
+
import { default as withReduxActions } from './HoC/withReduxActions';
|
|
3
|
+
import { default as reducer, actionPrefix, createActions, createSelectors, createFullSelector, actionTypes } from './store';
|
|
4
|
+
import { default as useFloatingButton } from './hooks/useFloatingButton';
|
|
7
5
|
import { useAddFilter } from './hooks/useAddFilter';
|
|
8
6
|
import { useEvent } from './hooks/useEvent';
|
|
7
|
+
|
|
8
|
+
import * as Types from './types';
|
|
9
|
+
export * from './components/gridCells';
|
|
9
10
|
export default CommonGrid;
|
|
10
11
|
export { withReduxActions, reducer, actionPrefix, actionTypes, createActions, createSelectors, createFullSelector, Types, useFloatingButton, useAddFilter, useEvent, };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FilterProps, SortingValueType, InitProps, GridState, GridSelectorsType, ColumnConfig, Filtering, GridPresets } from '../types';
|
|
2
|
+
|
|
2
3
|
type DefaultRootState = {};
|
|
3
4
|
export type MultiState = {
|
|
4
5
|
[key: string]: GridState;
|
|
@@ -31,7 +32,7 @@ export default _default;
|
|
|
31
32
|
export declare const createActions: (gridName: string) => {
|
|
32
33
|
init: (initProps?: InitProps) => Action;
|
|
33
34
|
clearUxState: () => Action;
|
|
34
|
-
handleUxChange: (uxKey: keyof GridState[
|
|
35
|
+
handleUxChange: (uxKey: keyof GridState["uxState"], uxValue: any) => Action;
|
|
35
36
|
openConfigForm: () => Action;
|
|
36
37
|
closeConfigForm: () => Action;
|
|
37
38
|
setColumnConfig: (columnConfig: ColumnConfig) => Action;
|
|
@@ -39,9 +40,9 @@ export declare const createActions: (gridName: string) => {
|
|
|
39
40
|
setPresets: (presets: GridPresets) => Action;
|
|
40
41
|
createPreset: (presetName: string, filters: Filtering) => Action;
|
|
41
42
|
deletePreset: (presetName: string) => Action;
|
|
42
|
-
setColumnWidth: (columnsWidth: {
|
|
43
|
+
setColumnWidth: (columnsWidth: null | {
|
|
43
44
|
[anyKey: string]: number;
|
|
44
|
-
}
|
|
45
|
+
}, columnLayout: "normal" | "no-scroll" | "sticky") => Action;
|
|
45
46
|
resetGrid: () => Action;
|
|
46
47
|
setColumnsOrder: (columnsOrder: string[]) => Action;
|
|
47
48
|
setRowsPerPage: (rowsPerPage: number) => Action;
|
|
@@ -52,16 +53,16 @@ export declare const createActions: (gridName: string) => {
|
|
|
52
53
|
clearSettings: () => Action;
|
|
53
54
|
};
|
|
54
55
|
export declare const createSelectors: (gridName: string) => {
|
|
55
|
-
getUxState: (state: DefaultRootState) => GridState[
|
|
56
|
-
isConfigFormOpen: (state: DefaultRootState) => GridState[
|
|
57
|
-
getColumnConfig: (state: DefaultRootState) => GridState[
|
|
58
|
-
getPage: (state: DefaultRootState) => GridState[
|
|
59
|
-
getPresets: (state: DefaultRootState) => GridState[
|
|
60
|
-
getRowsPerPage: (state: DefaultRootState) => GridState[
|
|
61
|
-
getFilter: (state: DefaultRootState) => GridState[
|
|
62
|
-
getSorting: (state: DefaultRootState) => GridState[
|
|
63
|
-
getColumnsWidth: (state: DefaultRootState) => GridState[
|
|
64
|
-
getColumnsWidthVariant: (state: DefaultRootState) => GridState[
|
|
65
|
-
getColumnsOrder: (state: DefaultRootState) => GridState[
|
|
56
|
+
getUxState: (state: DefaultRootState) => GridState["uxState"];
|
|
57
|
+
isConfigFormOpen: (state: DefaultRootState) => GridState["isConfigFormOpen"];
|
|
58
|
+
getColumnConfig: (state: DefaultRootState) => GridState["columnConfig"];
|
|
59
|
+
getPage: (state: DefaultRootState) => GridState["page"];
|
|
60
|
+
getPresets: (state: DefaultRootState) => GridState["presets"];
|
|
61
|
+
getRowsPerPage: (state: DefaultRootState) => GridState["rowsPerPage"];
|
|
62
|
+
getFilter: (state: DefaultRootState) => GridState["filter"];
|
|
63
|
+
getSorting: (state: DefaultRootState) => GridState["sorting"];
|
|
64
|
+
getColumnsWidth: (state: DefaultRootState) => GridState["columnsWidth"];
|
|
65
|
+
getColumnsWidthVariant: (state: DefaultRootState) => GridState["columnsWidthVariant"];
|
|
66
|
+
getColumnsOrder: (state: DefaultRootState) => GridState["columnsOrder"];
|
|
66
67
|
};
|
|
67
|
-
export declare const createFullSelector: (gridName: string) => (state: DefaultRootState) => GridSelectorsType;
|
|
68
|
+
export declare const createFullSelector: (gridName: string) => ((state: DefaultRootState) => GridSelectorsType);
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { DataCellProps } from '../../types';
|
|
3
|
+
|
|
4
|
+
export declare const ComplexCell: FC<DataCellProps<{
|
|
3
5
|
id: string;
|
|
4
|
-
}
|
|
6
|
+
}>>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { DataCellProps } from '../../types';
|
|
3
|
+
|
|
2
4
|
type CellProps = DataCellProps<{
|
|
3
5
|
enumColumn: string;
|
|
4
6
|
}>;
|
|
5
|
-
export declare const EnumCellExample:
|
|
7
|
+
export declare const EnumCellExample: FC<CellProps>;
|
|
6
8
|
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ActionColumn } from '../../types';
|
|
2
|
+
|
|
2
3
|
export declare const ActionColumnCheckboxes: ActionColumn;
|
|
3
4
|
declare const _default: {
|
|
4
5
|
title: string;
|
|
5
|
-
decorators: ((story: Function) => JSX.Element)[];
|
|
6
|
+
decorators: ((story: Function) => import("react/jsx-runtime").JSX.Element)[];
|
|
6
7
|
excludeStories: string[];
|
|
7
8
|
};
|
|
8
9
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
1
2
|
import { GridActionsType, rowClassSymbol, ExtraControlButton } from '../../types';
|
|
3
|
+
|
|
2
4
|
export declare const enumValues: string[];
|
|
3
5
|
export declare const oversizedArrayColumns = 25;
|
|
4
6
|
export declare const gridSelectors: {};
|
|
@@ -14,5 +16,5 @@ export declare const createRandomData: (count: number) => {
|
|
|
14
16
|
}[];
|
|
15
17
|
export declare const gridDummyActions: Required<GridActionsType>;
|
|
16
18
|
export declare const createOversizedRandomData: (count: number) => any[];
|
|
17
|
-
export declare const ReduxGrid:
|
|
19
|
+
export declare const ReduxGrid: FC<any>;
|
|
18
20
|
export declare const extraControlButtons: ExtraControlButton[];
|
|
@@ -43,10 +43,14 @@ export var createRandomData = function (count) {
|
|
|
43
43
|
};
|
|
44
44
|
export var gridDummyActions = {
|
|
45
45
|
// @see types for full list of actions
|
|
46
|
-
setPage: function (number) {
|
|
47
|
-
|
|
46
|
+
setPage: function (number) {
|
|
47
|
+
console.log('setPage', number);
|
|
48
|
+
},
|
|
49
|
+
setRowsPerPage: function (number) {
|
|
50
|
+
console.log('setRowsPerPage', number);
|
|
51
|
+
},
|
|
48
52
|
addFilter: function (column, value, filterProps, others) {
|
|
49
|
-
|
|
53
|
+
console.log('addFilter', column, value, filterProps, others);
|
|
50
54
|
}
|
|
51
55
|
};
|
|
52
56
|
export var createOversizedRandomData = function (count) {
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { Provider } from 'react-redux';
|
|
3
3
|
import { combineReducers, createStore, compose } from 'redux';
|
|
4
4
|
import commonGridReducer from '../../store';
|
|
5
|
-
// @ts-
|
|
5
|
+
// @ts-expect-error
|
|
6
6
|
export var reduxComposeEnhancer = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
|
|
7
7
|
export var withProvider = function (story) {
|
|
8
8
|
var reducers = combineReducers({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const withProvider: (story: Function) => JSX.Element;
|
|
1
|
+
declare const withProvider: (story: Function) => import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export default withProvider;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const withProvider: (story: Function) =>
|
|
1
|
+
declare const withProvider: (story: Function) => any;
|
|
2
2
|
export default withProvider;
|