@true-engineering/true-react-common-ui-kit 3.28.3 → 3.29.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/LICENSE +201 -201
- package/README.md +19 -3
- package/dist/components/AccountInfo/AccountInfo.d.ts +11 -11
- package/dist/components/AccountInfo/AccountInfo.stories.d.ts +6 -6
- package/dist/components/AccountInfo/AccountInfo.styles.d.ts +6 -6
- package/dist/components/AccountInfo/constants.d.ts +1 -1
- package/dist/components/AccountInfo/index.d.ts +2 -2
- package/dist/components/AddButton/AddButton.d.ts +14 -14
- package/dist/components/AddButton/AddButton.stories.d.ts +6 -6
- package/dist/components/AddButton/AddButton.styles.d.ts +3 -3
- package/dist/components/AddButton/index.d.ts +2 -2
- package/dist/components/Button/Button.d.ts +41 -41
- package/dist/components/Button/Button.stories.d.ts +6 -6
- package/dist/components/Button/Button.styles.d.ts +8 -8
- package/dist/components/Button/constants.d.ts +2 -2
- package/dist/components/Button/index.d.ts +3 -3
- package/dist/components/Button/types.d.ts +3 -3
- package/dist/components/Checkbox/Checkbox.d.ts +24 -24
- package/dist/components/Checkbox/Checkbox.stories.d.ts +8 -8
- package/dist/components/Checkbox/Checkbox.styles.d.ts +3 -3
- package/dist/components/Checkbox/index.d.ts +2 -2
- package/dist/components/CloseButton/CloseButton.d.ts +10 -10
- package/dist/components/CloseButton/CloseButton.stories.d.ts +5 -5
- package/dist/components/CloseButton/CloseButton.styles.d.ts +3 -3
- package/dist/components/CloseButton/index.d.ts +2 -2
- package/dist/components/Colors/Colors.d.ts +2 -2
- package/dist/components/Colors/Colors.stories.d.ts +5 -5
- package/dist/components/Colors/Colors.styles.d.ts +1 -1
- package/dist/components/Colors/index.d.ts +1 -1
- package/dist/components/CssBaseline/CssBaseline.d.ts +5 -5
- package/dist/components/CssBaseline/CssBaseline.styles.d.ts +3 -3
- package/dist/components/CssBaseline/index.d.ts +2 -2
- package/dist/components/DateInput/DateInput.d.ts +17 -17
- package/dist/components/DateInput/DateInput.stories.d.ts +7 -7
- package/dist/components/DateInput/DateInput.styles.d.ts +6 -6
- package/dist/components/DateInput/constants.d.ts +2 -2
- package/dist/components/DateInput/index.d.ts +3 -3
- package/dist/components/DatePicker/DatePicker.d.ts +26 -26
- package/dist/components/DatePicker/DatePicker.stories.d.ts +7 -7
- package/dist/components/DatePicker/DatePicker.styles.d.ts +6 -6
- package/dist/components/DatePicker/components/DatePickerHeader/DatePickerHeader.d.ts +8 -8
- package/dist/components/DatePicker/components/DatePickerHeader/DatePickerHeader.styles.d.ts +7 -7
- package/dist/components/DatePicker/components/DatePickerHeader/index.d.ts +2 -2
- package/dist/components/DatePicker/components/PopperContainer/PopperContainer.d.ts +4 -4
- package/dist/components/DatePicker/components/PopperContainer/index.d.ts +1 -1
- package/dist/components/DatePicker/components/index.d.ts +2 -2
- package/dist/components/DatePicker/constants.d.ts +3 -3
- package/dist/components/DatePicker/helpers.d.ts +3 -3
- package/dist/components/DatePicker/index.d.ts +4 -4
- package/dist/components/DatePicker/types.d.ts +4 -4
- package/dist/components/Description/Description.d.ts +13 -13
- package/dist/components/Description/Description.stories.d.ts +16 -16
- package/dist/components/Description/Description.styles.d.ts +3 -3
- package/dist/components/Description/constants.d.ts +1 -1
- package/dist/components/Description/index.d.ts +2 -2
- package/dist/components/FileInput/FileInput.d.ts +25 -25
- package/dist/components/FileInput/FileInput.stories.d.ts +7 -7
- package/dist/components/FileInput/FileInput.styles.d.ts +3 -3
- package/dist/components/FileInput/helpers.d.ts +2 -2
- package/dist/components/FileInput/index.d.ts +2 -2
- package/dist/components/FileItem/FileItem.d.ts +31 -31
- package/dist/components/FileItem/FileItem.stories.d.ts +8 -8
- package/dist/components/FileItem/FileItem.styles.d.ts +11 -11
- package/dist/components/FileItem/constants.d.ts +5 -5
- package/dist/components/FileItem/helpers.d.ts +4 -4
- package/dist/components/FileItem/index.d.ts +4 -4
- package/dist/components/FileItem/types.d.ts +8 -8
- package/dist/components/FiltersPane/FiltersPane.d.ts +22 -22
- package/dist/components/FiltersPane/FiltersPane.stories.d.ts +31 -31
- package/dist/components/FiltersPane/FiltersPane.styles.d.ts +11 -11
- package/dist/components/FiltersPane/components/Filter/Filter.d.ts +7 -7
- package/dist/components/FiltersPane/components/Filter/index.d.ts +1 -1
- package/dist/components/FiltersPane/components/FilterInterval/FilterInterval.d.ts +24 -24
- package/dist/components/FiltersPane/components/FilterInterval/FilterInterval.styles.d.ts +15 -15
- package/dist/components/FiltersPane/components/FilterInterval/index.d.ts +2 -2
- package/dist/components/FiltersPane/components/FilterMultiSelect/FilterMultiSelect.d.ts +5 -5
- package/dist/components/FiltersPane/components/FilterMultiSelect/index.d.ts +1 -1
- package/dist/components/FiltersPane/components/FilterSelect/FilterSelect.d.ts +30 -30
- package/dist/components/FiltersPane/components/FilterSelect/FilterSelect.styles.d.ts +15 -15
- package/dist/components/FiltersPane/components/FilterSelect/index.d.ts +2 -2
- package/dist/components/FiltersPane/components/FilterValueView/FilterValueView.d.ts +5 -5
- package/dist/components/FiltersPane/components/FilterValueView/FilterValueView.styles.d.ts +3 -3
- package/dist/components/FiltersPane/components/FilterValueView/index.d.ts +2 -2
- package/dist/components/FiltersPane/components/FilterWithDates/FilterWithDates.d.ts +16 -16
- package/dist/components/FiltersPane/components/FilterWithDates/FilterWithDates.styles.d.ts +26 -26
- package/dist/components/FiltersPane/components/FilterWithDates/index.d.ts +2 -2
- package/dist/components/FiltersPane/components/FilterWithPeriod/FilterWithPeriod.d.ts +13 -13
- package/dist/components/FiltersPane/components/FilterWithPeriod/FilterWithPeriod.styles.d.ts +7 -7
- package/dist/components/FiltersPane/components/FilterWithPeriod/index.d.ts +2 -2
- package/dist/components/FiltersPane/components/FilterWrapper/FilterWrapper.d.ts +13 -13
- package/dist/components/FiltersPane/components/FilterWrapper/FilterWrapper.styles.d.ts +8 -8
- package/dist/components/FiltersPane/components/FilterWrapper/helpers.d.ts +1 -1
- package/dist/components/FiltersPane/components/FilterWrapper/index.d.ts +2 -2
- package/dist/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.d.ts +21 -21
- package/dist/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.styles.d.ts +10 -10
- package/dist/components/FiltersPane/components/FiltersPaneSearch/index.d.ts +2 -2
- package/dist/components/FiltersPane/components/index.d.ts +9 -9
- package/dist/components/FiltersPane/constants.d.ts +9 -9
- package/dist/components/FiltersPane/helpers.d.ts +5 -5
- package/dist/components/FiltersPane/index.d.ts +4 -4
- package/dist/components/FiltersPane/types.d.ts +107 -107
- package/dist/components/Flag/Flag.d.ts +8 -8
- package/dist/components/Flag/Flag.stories.d.ts +12 -12
- package/dist/components/Flag/Flag.styles.d.ts +3 -3
- package/dist/components/Flag/index.d.ts +2 -2
- package/dist/components/FlexibleTable/FlexibleTable.d.ts +29 -22
- package/dist/components/FlexibleTable/FlexibleTable.stories.d.ts +15 -15
- package/dist/components/FlexibleTable/FlexibleTable.styles.d.ts +7 -7
- package/dist/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.d.ts +14 -14
- package/dist/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.styles.d.ts +3 -3
- package/dist/components/FlexibleTable/components/FlexibleTableCell/index.d.ts +2 -2
- package/dist/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.d.ts +30 -28
- package/dist/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.styles.d.ts +6 -6
- package/dist/components/FlexibleTable/components/FlexibleTableRow/index.d.ts +2 -2
- package/dist/components/FlexibleTable/components/index.d.ts +2 -2
- package/dist/components/FlexibleTable/constants.d.ts +3 -1
- package/dist/components/FlexibleTable/helpers.d.ts +3 -3
- package/dist/components/FlexibleTable/index.d.ts +4 -4
- package/dist/components/FlexibleTable/types.d.ts +48 -46
- package/dist/components/Icon/Icon.d.ts +8 -8
- package/dist/components/Icon/Icon.stories.d.ts +6 -6
- package/dist/components/Icon/Icon.styles.d.ts +3 -3
- package/dist/components/Icon/complexIcons/icons.d.ts +10 -10
- package/dist/components/Icon/complexIcons/index.d.ts +1 -1
- package/dist/components/Icon/components/ComplexIconBoilerplate/ComplexIconBoilerplate.d.ts +6 -6
- package/dist/components/Icon/components/ComplexIconBoilerplate/index.d.ts +1 -1
- package/dist/components/Icon/components/IconBolerplate/IconBoilerplate.d.ts +6 -6
- package/dist/components/Icon/components/IconBolerplate/index.d.ts +1 -1
- package/dist/components/Icon/components/index.d.ts +2 -2
- package/dist/components/Icon/helpers.d.ts +6 -6
- package/dist/components/Icon/icons-list.d.ts +1 -1
- package/dist/components/Icon/index.d.ts +5 -5
- package/dist/components/Icon/snippet.d.ts +3 -3
- package/dist/components/Icon/types.d.ts +13 -13
- package/dist/components/IconButton/IconButton.d.ts +19 -19
- package/dist/components/IconButton/IconButton.stories.d.ts +6 -6
- package/dist/components/IconButton/IconButton.styles.d.ts +3 -3
- package/dist/components/IconButton/constants.d.ts +2 -2
- package/dist/components/IconButton/index.d.ts +3 -3
- package/dist/components/IconButton/types.d.ts +5 -5
- package/dist/components/IncrementInput/IncrementInput.d.ts +9 -9
- package/dist/components/IncrementInput/IncrementInput.stories.d.ts +6 -6
- package/dist/components/IncrementInput/IncrementInput.styles.d.ts +9 -9
- package/dist/components/IncrementInput/index.d.ts +2 -2
- package/dist/components/Input/Input.d.ts +52 -52
- package/dist/components/Input/Input.stories.d.ts +34 -34
- package/dist/components/Input/Input.styles.d.ts +7 -7
- package/dist/components/Input/constants.d.ts +1 -1
- package/dist/components/Input/index.d.ts +3 -3
- package/dist/components/Input/types.d.ts +4 -4
- package/dist/components/List/List.d.ts +9 -9
- package/dist/components/List/List.stories.d.ts +5 -5
- package/dist/components/List/List.styles.d.ts +5 -5
- package/dist/components/List/components/ListItem/ListItem.d.ts +17 -17
- package/dist/components/List/components/ListItem/ListItem.styles.d.ts +3 -3
- package/dist/components/List/components/ListItem/index.d.ts +2 -2
- package/dist/components/List/components/index.d.ts +1 -1
- package/dist/components/List/index.d.ts +3 -3
- package/dist/components/Modal/Modal.d.ts +34 -34
- package/dist/components/Modal/Modal.stories.d.ts +29 -29
- package/dist/components/Modal/Modal.styles.d.ts +7 -7
- package/dist/components/Modal/index.d.ts +3 -3
- package/dist/components/Modal/types.d.ts +3 -3
- package/dist/components/MoreMenu/MoreMenu.d.ts +15 -15
- package/dist/components/MoreMenu/MoreMenu.stories.d.ts +6 -6
- package/dist/components/MoreMenu/MoreMenu.styles.d.ts +6 -6
- package/dist/components/MoreMenu/index.d.ts +2 -2
- package/dist/components/MultiSelect/MultiSelect.d.ts +23 -23
- package/dist/components/MultiSelect/MultiSelect.stories.d.ts +13 -13
- package/dist/components/MultiSelect/MultiSelect.styles.d.ts +7 -7
- package/dist/components/MultiSelect/components/MultiSelectInput/MultiSelectInput.d.ts +12 -12
- package/dist/components/MultiSelect/components/MultiSelectInput/MultiSelectInput.styles.d.ts +3 -3
- package/dist/components/MultiSelect/components/MultiSelectInput/index.d.ts +2 -2
- package/dist/components/MultiSelect/components/index.d.ts +1 -1
- package/dist/components/MultiSelect/index.d.ts +4 -4
- package/dist/components/MultiSelect/types.d.ts +1 -1
- package/dist/components/MultiSelectList/MultiSelectList.d.ts +25 -25
- package/dist/components/MultiSelectList/MultiSelectList.styles.d.ts +13 -13
- package/dist/components/MultiSelectList/constants.d.ts +3 -3
- package/dist/components/MultiSelectList/helpers.d.ts +3 -3
- package/dist/components/MultiSelectList/index.d.ts +3 -3
- package/dist/components/MultiSelectList/types.d.ts +12 -12
- package/dist/components/NewMoreMenu/NewMoreMenu.d.ts +13 -13
- package/dist/components/NewMoreMenu/NewMoreMenu.stories.d.ts +12 -12
- package/dist/components/NewMoreMenu/NewMoreMenu.styles.d.ts +8 -8
- package/dist/components/NewMoreMenu/index.d.ts +2 -2
- package/dist/components/Notification/Notification.d.ts +15 -15
- package/dist/components/Notification/Notification.stories.d.ts +8 -8
- package/dist/components/Notification/Notification.styles.d.ts +3 -3
- package/dist/components/Notification/index.d.ts +3 -3
- package/dist/components/Notification/types.d.ts +1 -1
- package/dist/components/NumberInput/NumberInput.d.ts +18 -18
- package/dist/components/NumberInput/NumberInput.stories.d.ts +7 -7
- package/dist/components/NumberInput/helpers.d.ts +4 -4
- package/dist/components/NumberInput/index.d.ts +1 -1
- package/dist/components/PhoneInput/PhoneInput.d.ts +17 -17
- package/dist/components/PhoneInput/PhoneInput.stories.d.ts +28 -28
- package/dist/components/PhoneInput/PhoneInput.styles.d.ts +9 -9
- package/dist/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.d.ts +13 -13
- package/dist/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.stories.d.ts +5 -5
- package/dist/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.styles.d.ts +7 -7
- package/dist/components/PhoneInput/components/PhoneInputCountryList/index.d.ts +2 -2
- package/dist/components/PhoneInput/components/index.d.ts +1 -1
- package/dist/components/PhoneInput/constants.d.ts +2 -2
- package/dist/components/PhoneInput/index.d.ts +4 -4
- package/dist/components/PhoneInput/types.d.ts +15 -15
- package/dist/components/RadioButton/RadioButton.d.ts +15 -15
- package/dist/components/RadioButton/RadioButton.stories.d.ts +7 -7
- package/dist/components/RadioButton/RadioButton.styles.d.ts +3 -3
- package/dist/components/RadioButton/index.d.ts +2 -2
- package/dist/components/ScrollIntoViewIfNeeded/ScrollIntoViewIfNeeded.d.ts +386 -386
- package/dist/components/ScrollIntoViewIfNeeded/constants.d.ts +3 -3
- package/dist/components/ScrollIntoViewIfNeeded/index.d.ts +1 -1
- package/dist/components/SearchInput/SearchInput.d.ts +6 -6
- package/dist/components/SearchInput/SearchInput.stories.d.ts +13 -13
- package/dist/components/SearchInput/SearchInput.styles.d.ts +7 -7
- package/dist/components/SearchInput/index.d.ts +2 -2
- package/dist/components/Select/CustomSelect.stories.d.ts +11 -11
- package/dist/components/Select/MultiSelect.stories.d.ts +15 -15
- package/dist/components/Select/Select.d.ts +52 -52
- package/dist/components/Select/Select.stories.d.ts +15 -15
- package/dist/components/Select/Select.styles.d.ts +33 -33
- package/dist/components/Select/components/SelectList/SelectList.d.ts +23 -23
- package/dist/components/Select/components/SelectList/SelectList.styles.d.ts +6 -6
- package/dist/components/Select/components/SelectList/index.d.ts +2 -2
- package/dist/components/Select/components/SelectListItem/SelectListItem.d.ts +15 -15
- package/dist/components/Select/components/SelectListItem/SelectListItem.styles.d.ts +2 -2
- package/dist/components/Select/components/SelectListItem/index.d.ts +1 -1
- package/dist/components/Select/components/index.d.ts +2 -2
- package/dist/components/Select/constants.d.ts +2 -2
- package/dist/components/Select/helpers.d.ts +4 -4
- package/dist/components/Select/index.d.ts +4 -4
- package/dist/components/Select/types.d.ts +1 -1
- package/dist/components/Selector/Selector.d.ts +22 -22
- package/dist/components/Selector/Selector.stories.d.ts +7 -7
- package/dist/components/Selector/Selector.styles.d.ts +9 -9
- package/dist/components/Selector/index.d.ts +2 -2
- package/dist/components/Selector/types.d.ts +10 -10
- package/dist/components/Skeleton/Skeleton.d.ts +7 -7
- package/dist/components/Skeleton/Skeleton.stories.d.ts +6 -6
- package/dist/components/Skeleton/Skeleton.styles.d.ts +3 -3
- package/dist/components/Skeleton/index.d.ts +2 -2
- package/dist/components/SmartInput/SmartInput.d.ts +12 -12
- package/dist/components/SmartInput/SmartInput.stories.d.ts +18 -18
- package/dist/components/SmartInput/constants.d.ts +18 -18
- package/dist/components/SmartInput/helpers.d.ts +4 -4
- package/dist/components/SmartInput/index.d.ts +2 -2
- package/dist/components/SmartInput/types.d.ts +1 -1
- package/dist/components/Status/Status.d.ts +16 -16
- package/dist/components/Status/Status.stories.d.ts +6 -6
- package/dist/components/Status/Status.styles.d.ts +3 -3
- package/dist/components/Status/constants.d.ts +2 -2
- package/dist/components/Status/index.d.ts +2 -2
- package/dist/components/Status/types.d.ts +3 -3
- package/dist/components/Switch/Switch.d.ts +20 -20
- package/dist/components/Switch/Switch.stories.d.ts +16 -16
- package/dist/components/Switch/Switch.styles.d.ts +3 -3
- package/dist/components/Switch/index.d.ts +3 -3
- package/dist/components/Switch/types.d.ts +4 -4
- package/dist/components/TextArea/TextArea.d.ts +38 -38
- package/dist/components/TextArea/TextArea.stories.d.ts +17 -17
- package/dist/components/TextArea/TextArea.styles.d.ts +3 -3
- package/dist/components/TextArea/index.d.ts +3 -3
- package/dist/components/TextArea/types.d.ts +2 -2
- package/dist/components/TextButton/TextButton.d.ts +31 -31
- package/dist/components/TextButton/TextButton.stories.d.ts +6 -6
- package/dist/components/TextButton/TextButton.styles.d.ts +7 -7
- package/dist/components/TextButton/constants.d.ts +2 -2
- package/dist/components/TextButton/index.d.ts +3 -3
- package/dist/components/TextButton/types.d.ts +5 -5
- package/dist/components/TextWithInfo/TextWithInfo.d.ts +15 -15
- package/dist/components/TextWithInfo/TextWithInfo.stories.d.ts +12 -12
- package/dist/components/TextWithInfo/TextWithInfo.styles.d.ts +3 -3
- package/dist/components/TextWithInfo/index.d.ts +2 -2
- package/dist/components/TextWithTooltip/TextWithTooltip.d.ts +26 -26
- package/dist/components/TextWithTooltip/TextWithTooltip.stories.d.ts +24 -24
- package/dist/components/TextWithTooltip/TextWithTooltip.styles.d.ts +6 -6
- package/dist/components/TextWithTooltip/index.d.ts +2 -2
- package/dist/components/ThemedPreloader/ThemedPreloader.d.ts +11 -11
- package/dist/components/ThemedPreloader/ThemedPreloader.stories.d.ts +17 -17
- package/dist/components/ThemedPreloader/ThemedPreloader.styles.d.ts +7 -7
- package/dist/components/ThemedPreloader/components/DefaultPreloader/DefaultPreloader.d.ts +2 -2
- package/dist/components/ThemedPreloader/components/DefaultPreloader/index.d.ts +1 -1
- package/dist/components/ThemedPreloader/components/DotsPreloader/DotsPreloader.d.ts +5 -5
- package/dist/components/ThemedPreloader/components/DotsPreloader/DotsPreloader.styles.d.ts +3 -3
- package/dist/components/ThemedPreloader/components/DotsPreloader/index.d.ts +2 -2
- package/dist/components/ThemedPreloader/components/SvgPreloader/SvgPreloader.d.ts +8 -8
- package/dist/components/ThemedPreloader/components/SvgPreloader/SvgPreloader.styles.d.ts +3 -3
- package/dist/components/ThemedPreloader/components/SvgPreloader/index.d.ts +2 -2
- package/dist/components/ThemedPreloader/components/index.d.ts +3 -3
- package/dist/components/ThemedPreloader/constants.d.ts +1 -1
- package/dist/components/ThemedPreloader/index.d.ts +4 -4
- package/dist/components/ThemedPreloader/types.d.ts +2 -2
- package/dist/components/Toaster/Toaster.d.ts +23 -23
- package/dist/components/Toaster/Toaster.stories.d.ts +5 -5
- package/dist/components/Toaster/Toaster.styles.d.ts +6 -6
- package/dist/components/Toaster/constants.d.ts +1 -1
- package/dist/components/Toaster/index.d.ts +3 -3
- package/dist/components/Toaster/types.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +11 -11
- package/dist/components/Tooltip/Tooltip.stories.d.ts +5 -5
- package/dist/components/Tooltip/Tooltip.styles.d.ts +3 -3
- package/dist/components/Tooltip/index.d.ts +3 -3
- package/dist/components/Tooltip/types.d.ts +1 -1
- package/dist/components/WithPopup/WithPopup.d.ts +31 -31
- package/dist/components/WithPopup/WithPopup.stories.d.ts +16 -16
- package/dist/components/WithPopup/WithPopup.styles.d.ts +3 -3
- package/dist/components/WithPopup/constants.d.ts +2 -2
- package/dist/components/WithPopup/index.d.ts +2 -2
- package/dist/components/WithPopup/types.d.ts +13 -13
- package/dist/components/index.d.ts +45 -45
- package/dist/constants/index.d.ts +2 -2
- package/dist/constants/mime-types.d.ts +76 -76
- package/dist/constants/phone-info.d.ts +2 -2
- package/dist/helpers/index.d.ts +3 -3
- package/dist/helpers/misc.d.ts +21 -21
- package/dist/helpers/phone.d.ts +14 -14
- package/dist/helpers/popper-helpers.d.ts +2 -2
- package/dist/hooks/index.d.ts +7 -7
- package/dist/hooks/use-did-mount-effect.d.ts +2 -2
- package/dist/hooks/use-dropdown.d.ts +11 -11
- package/dist/hooks/use-is-mounted.d.ts +1 -1
- package/dist/hooks/use-merged-refs.d.ts +2 -2
- package/dist/hooks/use-mixed-styles.d.ts +1 -1
- package/dist/hooks/use-on-click-outside.d.ts +5 -5
- package/dist/hooks/use-tweak-styles.d.ts +21 -21
- package/dist/index.d.ts +6 -6
- package/dist/theme/Provider.d.ts +11 -11
- package/dist/theme/common.d.ts +101 -101
- package/dist/theme/helpers.d.ts +10 -10
- package/dist/theme/index.d.ts +4 -4
- package/dist/theme/types.d.ts +82 -82
- package/dist/true-react-common-ui-kit.js +204 -136
- package/dist/true-react-common-ui-kit.js.map +1 -1
- package/dist/true-react-common-ui-kit.umd.cjs +204 -136
- package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
- package/dist/types.d.ts +39 -39
- package/package.json +98 -98
- package/src/components/AccountInfo/AccountInfo.stories.tsx +32 -32
- package/src/components/AccountInfo/AccountInfo.styles.ts +52 -52
- package/src/components/AccountInfo/AccountInfo.tsx +80 -80
- package/src/components/AccountInfo/constants.ts +1 -1
- package/src/components/AccountInfo/index.ts +2 -2
- package/src/components/AddButton/AddButton.stories.tsx +21 -21
- package/src/components/AddButton/AddButton.styles.ts +34 -34
- package/src/components/AddButton/AddButton.tsx +52 -52
- package/src/components/AddButton/index.ts +2 -2
- package/src/components/Button/Button.stories.tsx +54 -54
- package/src/components/Button/Button.styles.ts +200 -200
- package/src/components/Button/Button.tsx +129 -129
- package/src/components/Button/constants.ts +11 -11
- package/src/components/Button/index.ts +3 -3
- package/src/components/Button/types.ts +5 -5
- package/src/components/Checkbox/Checkbox.stories.tsx +54 -54
- package/src/components/Checkbox/Checkbox.styles.ts +49 -49
- package/src/components/Checkbox/Checkbox.tsx +84 -84
- package/src/components/Checkbox/index.ts +2 -2
- package/src/components/CloseButton/CloseButton.stories.tsx +11 -11
- package/src/components/CloseButton/CloseButton.styles.ts +34 -34
- package/src/components/CloseButton/CloseButton.tsx +35 -35
- package/src/components/CloseButton/index.ts +2 -2
- package/src/components/Colors/Colors.stories.tsx +7 -7
- package/src/components/Colors/Colors.styles.ts +36 -36
- package/src/components/Colors/Colors.tsx +26 -26
- package/src/components/Colors/index.ts +1 -1
- package/src/components/CssBaseline/CssBaseline.styles.ts +14 -14
- package/src/components/CssBaseline/CssBaseline.tsx +13 -13
- package/src/components/CssBaseline/index.ts +2 -2
- package/src/components/DateInput/DateInput.stories.tsx +61 -61
- package/src/components/DateInput/DateInput.styles.ts +18 -18
- package/src/components/DateInput/DateInput.tsx +90 -90
- package/src/components/DateInput/constants.ts +2 -2
- package/src/components/DateInput/index.ts +3 -3
- package/src/components/DatePicker/DatePicker.stories.tsx +88 -88
- package/src/components/DatePicker/DatePicker.styles.ts +38 -38
- package/src/components/DatePicker/DatePicker.tsx +314 -314
- package/src/components/DatePicker/components/DatePickerHeader/DatePickerHeader.styles.ts +88 -88
- package/src/components/DatePicker/components/DatePickerHeader/DatePickerHeader.tsx +89 -89
- package/src/components/DatePicker/components/DatePickerHeader/index.ts +2 -2
- package/src/components/DatePicker/components/PopperContainer/PopperContainer.tsx +6 -6
- package/src/components/DatePicker/components/PopperContainer/index.ts +1 -1
- package/src/components/DatePicker/components/index.ts +2 -2
- package/src/components/DatePicker/constants.ts +6 -6
- package/src/components/DatePicker/helpers.ts +23 -23
- package/src/components/DatePicker/index.ts +4 -4
- package/src/components/DatePicker/types.ts +48 -48
- package/src/components/Description/Description.stories.tsx +27 -27
- package/src/components/Description/Description.styles.ts +30 -30
- package/src/components/Description/Description.tsx +61 -61
- package/src/components/Description/constants.ts +1 -1
- package/src/components/Description/index.ts +2 -2
- package/src/components/FileInput/FileInput.stories.tsx +75 -75
- package/src/components/FileInput/FileInput.styles.ts +80 -80
- package/src/components/FileInput/FileInput.tsx +147 -147
- package/src/components/FileInput/helpers.ts +6 -6
- package/src/components/FileInput/index.ts +2 -2
- package/src/components/FileItem/FileItem.stories.tsx +63 -63
- package/src/components/FileItem/FileItem.styles.ts +122 -122
- package/src/components/FileItem/FileItem.tsx +157 -157
- package/src/components/FileItem/constants.ts +29 -29
- package/src/components/FileItem/helpers.ts +27 -27
- package/src/components/FileItem/index.ts +4 -4
- package/src/components/FileItem/types.ts +11 -11
- package/src/components/FiltersPane/FiltersPane.stories.tsx +287 -287
- package/src/components/FiltersPane/FiltersPane.styles.ts +92 -92
- package/src/components/FiltersPane/FiltersPane.tsx +162 -162
- package/src/components/FiltersPane/components/Filter/Filter.tsx +114 -114
- package/src/components/FiltersPane/components/Filter/index.ts +1 -1
- package/src/components/FiltersPane/components/FilterInterval/FilterInterval.styles.ts +61 -61
- package/src/components/FiltersPane/components/FilterInterval/FilterInterval.tsx +154 -154
- package/src/components/FiltersPane/components/FilterInterval/index.ts +2 -2
- package/src/components/FiltersPane/components/FilterMultiSelect/FilterMultiSelect.tsx +10 -10
- package/src/components/FiltersPane/components/FilterMultiSelect/index.ts +1 -1
- package/src/components/FiltersPane/components/FilterSelect/FilterSelect.styles.ts +141 -141
- package/src/components/FiltersPane/components/FilterSelect/FilterSelect.tsx +361 -361
- package/src/components/FiltersPane/components/FilterSelect/index.ts +2 -2
- package/src/components/FiltersPane/components/FilterValueView/FilterValueView.styles.tsx +15 -15
- package/src/components/FiltersPane/components/FilterValueView/FilterValueView.tsx +166 -166
- package/src/components/FiltersPane/components/FilterValueView/index.tsx +2 -2
- package/src/components/FiltersPane/components/FilterWithDates/FilterWithDates.styles.ts +68 -68
- package/src/components/FiltersPane/components/FilterWithDates/FilterWithDates.tsx +210 -210
- package/src/components/FiltersPane/components/FilterWithDates/index.ts +2 -2
- package/src/components/FiltersPane/components/FilterWithPeriod/FilterWithPeriod.styles.ts +21 -21
- package/src/components/FiltersPane/components/FilterWithPeriod/FilterWithPeriod.tsx +177 -177
- package/src/components/FiltersPane/components/FilterWithPeriod/index.ts +2 -2
- package/src/components/FiltersPane/components/FilterWrapper/FilterWrapper.styles.ts +95 -95
- package/src/components/FiltersPane/components/FilterWrapper/FilterWrapper.tsx +131 -130
- package/src/components/FiltersPane/components/FilterWrapper/helpers.ts +14 -14
- package/src/components/FiltersPane/components/FilterWrapper/index.ts +2 -2
- package/src/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.styles.ts +123 -123
- package/src/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.tsx +165 -165
- package/src/components/FiltersPane/components/FiltersPaneSearch/index.ts +2 -2
- package/src/components/FiltersPane/components/index.ts +9 -9
- package/src/components/FiltersPane/constants.ts +137 -137
- package/src/components/FiltersPane/helpers.ts +26 -26
- package/src/components/FiltersPane/index.ts +5 -5
- package/src/components/FiltersPane/types.ts +156 -156
- package/src/components/Flag/Flag.stories.tsx +29 -29
- package/src/components/Flag/Flag.styles.ts +17 -17
- package/src/components/Flag/Flag.tsx +26 -26
- package/src/components/Flag/augment.d.ts +1 -1
- package/src/components/Flag/index.ts +2 -2
- package/src/components/FlexibleTable/FlexibleTable.stories.tsx +269 -269
- package/src/components/FlexibleTable/FlexibleTable.styles.ts +111 -111
- package/src/components/FlexibleTable/FlexibleTable.tsx +291 -280
- package/src/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.styles.ts +38 -38
- package/src/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.tsx +93 -91
- package/src/components/FlexibleTable/components/FlexibleTableCell/index.ts +2 -2
- package/src/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.styles.ts +25 -25
- package/src/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.tsx +192 -186
- package/src/components/FlexibleTable/components/FlexibleTableRow/index.ts +2 -2
- package/src/components/FlexibleTable/components/index.ts +2 -2
- package/src/components/FlexibleTable/constants.ts +8 -1
- package/src/components/FlexibleTable/helpers.ts +16 -16
- package/src/components/FlexibleTable/index.ts +4 -4
- package/src/components/FlexibleTable/types.ts +64 -58
- package/src/components/Icon/Icon.stories.tsx +86 -86
- package/src/components/Icon/Icon.styles.ts +10 -10
- package/src/components/Icon/Icon.tsx +26 -26
- package/src/components/Icon/complexIcons/augment.d.ts +1 -1
- package/src/components/Icon/complexIcons/avatarGreen.svg +57 -57
- package/src/components/Icon/complexIcons/fileExcel.svg +10 -10
- package/src/components/Icon/complexIcons/fileImage.svg +12 -12
- package/src/components/Icon/complexIcons/fileOther.svg +9 -9
- package/src/components/Icon/complexIcons/filePdf.svg +10 -10
- package/src/components/Icon/complexIcons/fileWord.svg +10 -10
- package/src/components/Icon/complexIcons/fileXml.svg +12 -12
- package/src/components/Icon/complexIcons/fileZip.svg +15 -15
- package/src/components/Icon/complexIcons/icons.ts +19 -19
- package/src/components/Icon/complexIcons/index.ts +1 -1
- package/src/components/Icon/components/ComplexIconBoilerplate/ComplexIconBoilerplate.tsx +16 -16
- package/src/components/Icon/components/ComplexIconBoilerplate/index.ts +1 -1
- package/src/components/Icon/components/IconBolerplate/IconBoilerplate.tsx +43 -43
- package/src/components/Icon/components/IconBolerplate/index.ts +1 -1
- package/src/components/Icon/components/index.ts +2 -2
- package/src/components/Icon/helpers.tsx +9 -9
- package/src/components/Icon/icons-list.ts +856 -856
- package/src/components/Icon/index.ts +5 -5
- package/src/components/Icon/snippet.tsx +6 -6
- package/src/components/Icon/types.ts +18 -18
- package/src/components/IconButton/IconButton.stories.tsx +32 -32
- package/src/components/IconButton/IconButton.styles.ts +84 -84
- package/src/components/IconButton/IconButton.tsx +74 -74
- package/src/components/IconButton/constants.ts +3 -3
- package/src/components/IconButton/index.ts +3 -3
- package/src/components/IconButton/types.ts +11 -11
- package/src/components/IncrementInput/IncrementInput.stories.tsx +31 -31
- package/src/components/IncrementInput/IncrementInput.styles.ts +78 -78
- package/src/components/IncrementInput/IncrementInput.tsx +105 -105
- package/src/components/IncrementInput/index.ts +2 -2
- package/src/components/Input/Input.stories.tsx +91 -91
- package/src/components/Input/Input.styles.ts +308 -308
- package/src/components/Input/Input.tsx +296 -296
- package/src/components/Input/constants.ts +1 -1
- package/src/components/Input/index.ts +3 -3
- package/src/components/Input/types.ts +32 -32
- package/src/components/List/List.stories.tsx +90 -90
- package/src/components/List/List.styles.ts +25 -25
- package/src/components/List/List.tsx +66 -66
- package/src/components/List/components/ListItem/ListItem.styles.ts +52 -52
- package/src/components/List/components/ListItem/ListItem.tsx +68 -68
- package/src/components/List/components/ListItem/index.ts +2 -2
- package/src/components/List/components/index.ts +1 -1
- package/src/components/List/index.ts +3 -3
- package/src/components/Modal/Modal.stories.tsx +105 -105
- package/src/components/Modal/Modal.styles.ts +318 -318
- package/src/components/Modal/Modal.tsx +203 -203
- package/src/components/Modal/index.ts +3 -3
- package/src/components/Modal/types.ts +17 -17
- package/src/components/MoreMenu/MoreMenu.stories.tsx +46 -46
- package/src/components/MoreMenu/MoreMenu.styles.ts +69 -69
- package/src/components/MoreMenu/MoreMenu.tsx +93 -93
- package/src/components/MoreMenu/index.ts +2 -2
- package/src/components/MultiSelect/MultiSelect.stories.tsx +46 -46
- package/src/components/MultiSelect/MultiSelect.styles.ts +59 -59
- package/src/components/MultiSelect/MultiSelect.tsx +106 -106
- package/src/components/MultiSelect/components/MultiSelectInput/MultiSelectInput.styles.ts +73 -73
- package/src/components/MultiSelect/components/MultiSelectInput/MultiSelectInput.tsx +53 -53
- package/src/components/MultiSelect/components/MultiSelectInput/index.ts +2 -2
- package/src/components/MultiSelect/components/index.ts +1 -1
- package/src/components/MultiSelect/index.ts +4 -4
- package/src/components/MultiSelect/types.ts +1 -1
- package/src/components/MultiSelectList/MultiSelectList.styles.ts +136 -136
- package/src/components/MultiSelectList/MultiSelectList.tsx +461 -461
- package/src/components/MultiSelectList/constants.ts +21 -21
- package/src/components/MultiSelectList/helpers.ts +11 -11
- package/src/components/MultiSelectList/index.ts +3 -3
- package/src/components/MultiSelectList/types.ts +15 -15
- package/src/components/NewMoreMenu/NewMoreMenu.stories.tsx +74 -74
- package/src/components/NewMoreMenu/NewMoreMenu.styles.ts +39 -39
- package/src/components/NewMoreMenu/NewMoreMenu.tsx +79 -79
- package/src/components/NewMoreMenu/index.ts +2 -2
- package/src/components/Notification/Notification.stories.tsx +46 -46
- package/src/components/Notification/Notification.styles.ts +55 -55
- package/src/components/Notification/Notification.tsx +69 -69
- package/src/components/Notification/index.ts +3 -3
- package/src/components/Notification/types.ts +1 -1
- package/src/components/NumberInput/NumberInput.stories.tsx +35 -35
- package/src/components/NumberInput/NumberInput.tsx +137 -137
- package/src/components/NumberInput/helpers.ts +84 -84
- package/src/components/NumberInput/index.ts +1 -1
- package/src/components/PhoneInput/PhoneInput.stories.tsx +70 -70
- package/src/components/PhoneInput/PhoneInput.styles.ts +89 -89
- package/src/components/PhoneInput/PhoneInput.tsx +214 -214
- package/src/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.stories.tsx +21 -21
- package/src/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.styles.ts +103 -103
- package/src/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.tsx +155 -155
- package/src/components/PhoneInput/components/PhoneInputCountryList/index.ts +2 -2
- package/src/components/PhoneInput/components/index.ts +1 -1
- package/src/components/PhoneInput/constants.ts +3 -3
- package/src/components/PhoneInput/index.ts +4 -4
- package/src/components/PhoneInput/types.ts +16 -16
- package/src/components/RadioButton/RadioButton.stories.tsx +46 -46
- package/src/components/RadioButton/RadioButton.styles.ts +37 -37
- package/src/components/RadioButton/RadioButton.tsx +57 -57
- package/src/components/RadioButton/index.ts +2 -2
- package/src/components/ScrollIntoViewIfNeeded/ScrollIntoViewIfNeeded.ts +54 -54
- package/src/components/ScrollIntoViewIfNeeded/constants.ts +12 -12
- package/src/components/ScrollIntoViewIfNeeded/index.ts +1 -1
- package/src/components/SearchInput/SearchInput.stories.tsx +23 -23
- package/src/components/SearchInput/SearchInput.styles.ts +50 -50
- package/src/components/SearchInput/SearchInput.tsx +56 -56
- package/src/components/SearchInput/index.ts +2 -2
- package/src/components/Select/CustomSelect.stories.tsx +253 -253
- package/src/components/Select/MultiSelect.stories.tsx +240 -240
- package/src/components/Select/Select.stories.tsx +235 -235
- package/src/components/Select/Select.styles.ts +147 -147
- package/src/components/Select/Select.tsx +653 -653
- package/src/components/Select/components/SelectList/SelectList.styles.ts +73 -73
- package/src/components/Select/components/SelectList/SelectList.tsx +152 -152
- package/src/components/Select/components/SelectList/index.ts +2 -2
- package/src/components/Select/components/SelectListItem/SelectListItem.styles.ts +14 -14
- package/src/components/Select/components/SelectListItem/SelectListItem.tsx +76 -76
- package/src/components/Select/components/SelectListItem/index.ts +1 -1
- package/src/components/Select/components/index.ts +2 -2
- package/src/components/Select/constants.ts +2 -2
- package/src/components/Select/helpers.ts +20 -20
- package/src/components/Select/index.ts +4 -4
- package/src/components/Select/types.ts +1 -1
- package/src/components/Selector/Selector.stories.tsx +62 -62
- package/src/components/Selector/Selector.styles.ts +165 -165
- package/src/components/Selector/Selector.tsx +115 -115
- package/src/components/Selector/index.ts +2 -2
- package/src/components/Selector/types.ts +12 -12
- package/src/components/Skeleton/Skeleton.stories.tsx +19 -19
- package/src/components/Skeleton/Skeleton.styles.ts +46 -46
- package/src/components/Skeleton/Skeleton.tsx +12 -12
- package/src/components/Skeleton/index.ts +2 -2
- package/src/components/SmartInput/SmartInput.stories.tsx +51 -51
- package/src/components/SmartInput/SmartInput.tsx +134 -134
- package/src/components/SmartInput/constants.ts +84 -84
- package/src/components/SmartInput/helpers.ts +13 -13
- package/src/components/SmartInput/index.ts +2 -2
- package/src/components/SmartInput/types.ts +11 -11
- package/src/components/Status/Status.stories.tsx +73 -73
- package/src/components/Status/Status.styles.ts +143 -143
- package/src/components/Status/Status.tsx +49 -49
- package/src/components/Status/constants.ts +11 -11
- package/src/components/Status/index.ts +3 -3
- package/src/components/Status/types.ts +5 -5
- package/src/components/Switch/Switch.stories.tsx +40 -40
- package/src/components/Switch/Switch.styles.ts +75 -75
- package/src/components/Switch/Switch.tsx +75 -75
- package/src/components/Switch/index.ts +3 -3
- package/src/components/Switch/types.ts +4 -4
- package/src/components/TextArea/TextArea.stories.tsx +37 -37
- package/src/components/TextArea/TextArea.styles.ts +177 -177
- package/src/components/TextArea/TextArea.tsx +183 -183
- package/src/components/TextArea/index.ts +3 -3
- package/src/components/TextArea/types.ts +6 -6
- package/src/components/TextButton/TextButton.stories.tsx +47 -47
- package/src/components/TextButton/TextButton.styles.ts +130 -130
- package/src/components/TextButton/TextButton.tsx +110 -110
- package/src/components/TextButton/constants.ts +3 -3
- package/src/components/TextButton/index.ts +3 -3
- package/src/components/TextButton/types.ts +11 -11
- package/src/components/TextWithInfo/TextWithInfo.stories.tsx +53 -53
- package/src/components/TextWithInfo/TextWithInfo.styles.ts +59 -59
- package/src/components/TextWithInfo/TextWithInfo.tsx +62 -62
- package/src/components/TextWithInfo/index.ts +2 -2
- package/src/components/TextWithTooltip/TextWithTooltip.stories.tsx +58 -58
- package/src/components/TextWithTooltip/TextWithTooltip.styles.ts +21 -21
- package/src/components/TextWithTooltip/TextWithTooltip.tsx +155 -155
- package/src/components/TextWithTooltip/index.ts +2 -2
- package/src/components/ThemedPreloader/ThemedPreloader.stories.tsx +41 -41
- package/src/components/ThemedPreloader/ThemedPreloader.styles.ts +26 -26
- package/src/components/ThemedPreloader/ThemedPreloader.tsx +54 -54
- package/src/components/ThemedPreloader/components/DefaultPreloader/DefaultPreloader.tsx +29 -29
- package/src/components/ThemedPreloader/components/DefaultPreloader/index.ts +1 -1
- package/src/components/ThemedPreloader/components/DotsPreloader/DotsPreloader.styles.ts +55 -55
- package/src/components/ThemedPreloader/components/DotsPreloader/DotsPreloader.tsx +15 -15
- package/src/components/ThemedPreloader/components/DotsPreloader/index.ts +2 -2
- package/src/components/ThemedPreloader/components/SvgPreloader/SvgPreloader.styles.ts +11 -11
- package/src/components/ThemedPreloader/components/SvgPreloader/SvgPreloader.tsx +24 -24
- package/src/components/ThemedPreloader/components/SvgPreloader/index.ts +2 -2
- package/src/components/ThemedPreloader/components/index.ts +3 -3
- package/src/components/ThemedPreloader/constants.ts +1 -1
- package/src/components/ThemedPreloader/index.ts +4 -4
- package/src/components/ThemedPreloader/types.ts +3 -3
- package/src/components/Toaster/Toaster.stories.tsx +30 -30
- package/src/components/Toaster/Toaster.styles.ts +60 -60
- package/src/components/Toaster/Toaster.tsx +109 -109
- package/src/components/Toaster/constants.ts +1 -1
- package/src/components/Toaster/index.ts +3 -3
- package/src/components/Toaster/types.ts +1 -1
- package/src/components/Tooltip/Tooltip.stories.tsx +19 -19
- package/src/components/Tooltip/Tooltip.styles.ts +49 -49
- package/src/components/Tooltip/Tooltip.tsx +35 -35
- package/src/components/Tooltip/index.ts +3 -3
- package/src/components/Tooltip/types.ts +1 -1
- package/src/components/WithPopup/WithPopup.stories.tsx +99 -99
- package/src/components/WithPopup/WithPopup.styles.ts +40 -40
- package/src/components/WithPopup/WithPopup.tsx +166 -166
- package/src/components/WithPopup/constants.ts +3 -3
- package/src/components/WithPopup/index.ts +2 -2
- package/src/components/WithPopup/types.ts +17 -17
- package/src/components/index.ts +45 -45
- package/src/constants/index.ts +2 -2
- package/src/constants/mime-types.ts +77 -77
- package/src/constants/phone-info.ts +2147 -2147
- package/src/helpers/index.ts +3 -3
- package/src/helpers/misc.ts +160 -160
- package/src/helpers/phone.ts +91 -91
- package/src/helpers/popper-helpers.ts +17 -17
- package/src/hooks/index.ts +7 -7
- package/src/hooks/use-did-mount-effect.ts +18 -18
- package/src/hooks/use-dropdown.ts +84 -84
- package/src/hooks/use-is-mounted.ts +15 -15
- package/src/hooks/use-merged-refs.ts +4 -4
- package/src/hooks/use-mixed-styles.ts +14 -14
- package/src/hooks/use-on-click-outside.ts +77 -77
- package/src/hooks/use-tweak-styles.ts +57 -57
- package/src/index.ts +6 -6
- package/src/theme/Provider.tsx +21 -21
- package/src/theme/common.ts +164 -164
- package/src/theme/helpers.ts +76 -76
- package/src/theme/index.ts +4 -4
- package/src/theme/types.ts +157 -157
- package/src/types.ts +54 -54
- package/src/vite-env.d.ts +1 -1
|
@@ -6668,71 +6668,71 @@ var useMergedRefs = function(refs) {
|
|
|
6668
6668
|
return mergeRefs(refs);
|
|
6669
6669
|
}, refs);
|
|
6670
6670
|
};
|
|
6671
|
-
const avatarGreen = ` <svg
|
|
6672
|
-
width="100%"
|
|
6673
|
-
height="100%"
|
|
6674
|
-
viewBox="0 0 32 32"
|
|
6675
|
-
fill="none"
|
|
6676
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
6677
|
-
|
|
6678
|
-
<circle opacity="0.5" cx="16" cy="16" r="16" fill="#DDE3ED"
|
|
6679
|
-
<mask
|
|
6680
|
-
id="mask0_0_12744"
|
|
6681
|
-
style="mask-type: 'alpha';"
|
|
6682
|
-
maskUnits="userSpaceOnUse"
|
|
6683
|
-
x="0"
|
|
6684
|
-
y="0"
|
|
6685
|
-
width="32"
|
|
6686
|
-
height="32"
|
|
6687
|
-
|
|
6688
|
-
<circle cx="16" cy="16" r="16" fill="white"
|
|
6689
|
-
</mask
|
|
6690
|
-
<g mask="url(#mask0_0_12744)"
|
|
6691
|
-
<circle cx="16" cy="29" r="13" fill="url(#paint0_linear_0_12744)"
|
|
6692
|
-
<mask
|
|
6693
|
-
id="mask1_0_12744"
|
|
6694
|
-
style="mask-type: 'alpha';"
|
|
6695
|
-
maskUnits="userSpaceOnUse"
|
|
6696
|
-
x="3"
|
|
6697
|
-
y="16"
|
|
6698
|
-
width="26"
|
|
6699
|
-
height="26"
|
|
6700
|
-
|
|
6701
|
-
<circle cx="16" cy="29" r="13" fill="white"
|
|
6702
|
-
</mask
|
|
6703
|
-
<g mask="url(#mask1_0_12744)"
|
|
6704
|
-
<ellipse
|
|
6705
|
-
cx="16"
|
|
6706
|
-
cy="17.5"
|
|
6707
|
-
rx="6"
|
|
6708
|
-
ry="7.5"
|
|
6709
|
-
fill="#505F79"
|
|
6710
|
-
fill-opacity="0.204983"
|
|
6711
|
-
|
|
6712
|
-
</g
|
|
6713
|
-
</g
|
|
6714
|
-
<ellipse cx="16" cy="13" rx="6" ry="7" fill="white"
|
|
6715
|
-
<defs
|
|
6716
|
-
<linearGradient
|
|
6717
|
-
id="paint0_linear_0_12744"
|
|
6718
|
-
x1="13.347"
|
|
6719
|
-
y1="46.279"
|
|
6720
|
-
x2="33.5318"
|
|
6721
|
-
y2="30.8088"
|
|
6722
|
-
gradientUnits="userSpaceOnUse"
|
|
6723
|
-
|
|
6724
|
-
<stop stop-color="#ABD229"
|
|
6725
|
-
<stop offset="1" stop-color="#9CD03F"
|
|
6726
|
-
</linearGradient
|
|
6727
|
-
</defs
|
|
6671
|
+
const avatarGreen = ` <svg
|
|
6672
|
+
width="100%"
|
|
6673
|
+
height="100%"
|
|
6674
|
+
viewBox="0 0 32 32"
|
|
6675
|
+
fill="none"
|
|
6676
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
6677
|
+
>
|
|
6678
|
+
<circle opacity="0.5" cx="16" cy="16" r="16" fill="#DDE3ED" />
|
|
6679
|
+
<mask
|
|
6680
|
+
id="mask0_0_12744"
|
|
6681
|
+
style="mask-type: 'alpha';"
|
|
6682
|
+
maskUnits="userSpaceOnUse"
|
|
6683
|
+
x="0"
|
|
6684
|
+
y="0"
|
|
6685
|
+
width="32"
|
|
6686
|
+
height="32"
|
|
6687
|
+
>
|
|
6688
|
+
<circle cx="16" cy="16" r="16" fill="white" />
|
|
6689
|
+
</mask>
|
|
6690
|
+
<g mask="url(#mask0_0_12744)">
|
|
6691
|
+
<circle cx="16" cy="29" r="13" fill="url(#paint0_linear_0_12744)" />
|
|
6692
|
+
<mask
|
|
6693
|
+
id="mask1_0_12744"
|
|
6694
|
+
style="mask-type: 'alpha';"
|
|
6695
|
+
maskUnits="userSpaceOnUse"
|
|
6696
|
+
x="3"
|
|
6697
|
+
y="16"
|
|
6698
|
+
width="26"
|
|
6699
|
+
height="26"
|
|
6700
|
+
>
|
|
6701
|
+
<circle cx="16" cy="29" r="13" fill="white" />
|
|
6702
|
+
</mask>
|
|
6703
|
+
<g mask="url(#mask1_0_12744)">
|
|
6704
|
+
<ellipse
|
|
6705
|
+
cx="16"
|
|
6706
|
+
cy="17.5"
|
|
6707
|
+
rx="6"
|
|
6708
|
+
ry="7.5"
|
|
6709
|
+
fill="#505F79"
|
|
6710
|
+
fill-opacity="0.204983"
|
|
6711
|
+
/>
|
|
6712
|
+
</g>
|
|
6713
|
+
</g>
|
|
6714
|
+
<ellipse cx="16" cy="13" rx="6" ry="7" fill="white" />
|
|
6715
|
+
<defs>
|
|
6716
|
+
<linearGradient
|
|
6717
|
+
id="paint0_linear_0_12744"
|
|
6718
|
+
x1="13.347"
|
|
6719
|
+
y1="46.279"
|
|
6720
|
+
x2="33.5318"
|
|
6721
|
+
y2="30.8088"
|
|
6722
|
+
gradientUnits="userSpaceOnUse"
|
|
6723
|
+
>
|
|
6724
|
+
<stop stop-color="#ABD229" />
|
|
6725
|
+
<stop offset="1" stop-color="#9CD03F" />
|
|
6726
|
+
</linearGradient>
|
|
6727
|
+
</defs>
|
|
6728
6728
|
</svg>`;
|
|
6729
|
-
const fileExcel = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">\
|
|
6730
|
-
const fileImage = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">\
|
|
6731
|
-
const fileOther = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">\
|
|
6732
|
-
const filePdf = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">\
|
|
6733
|
-
const fileWord = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">\
|
|
6734
|
-
const fileXml = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">\
|
|
6735
|
-
const fileZip = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">\
|
|
6729
|
+
const fileExcel = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">\n <rect width="20" height="20" rx="4" fill="#21A366"/>\n <rect width="20" height="20" rx="4" fill="url(#paint0_linear_0_16081)" style="mix-blend-mode:overlay"/>\n <path d="M8.00342 14.5244L10.0728 11.3062L12.1357 14.5244H14.4019L11.2217 9.73828L14.1162 5.21875H11.939L10.1108 8.2085L8.24463 5.21875H6.04834L8.93018 9.66846L5.75 14.5244H8.00342Z" fill="white"/>\n <defs>\n <linearGradient id="paint0_linear_0_16081" x1="-9.95187" y1="9.95187" x2="9.95187" y2="29.8556" gradientUnits="userSpaceOnUse">\n <stop stop-color="white" stop-opacity="0.245559"/>\n <stop offset="1" stop-opacity="0.498578"/>\n </linearGradient>\n </defs>\n</svg>';
|
|
6730
|
+
const fileImage = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">\n <rect width="20" height="20" rx="4" fill="#FF991F"/>\n <rect width="20" height="20" rx="4" fill="url(#paint0_linear_0_16103)" style="mix-blend-mode:overlay"/>\n <path fill-rule="evenodd" clip-rule="evenodd" d="M3.90113 15C3.09595 15 2.62093 14.097 3.07709 13.4335L6.67606 8.19861C7.07341 7.62064 7.9268 7.62065 8.32414 8.19861L13.0001 15H3.90113Z" fill="white"/>\n <path fill-rule="evenodd" clip-rule="evenodd" d="M9.53962 15L12.7076 10.2481C13.1034 9.65434 13.9758 9.65434 14.3717 10.2481L16.5031 13.4453C16.9462 14.1099 16.4698 15 15.6711 15H9.53962Z" fill="white"/>\n <path d="M16.0001 5.5C16.0001 6.32843 15.3285 7 14.5001 7C13.6717 7 13.0001 6.32843 13.0001 5.5C13.0001 4.67157 13.6717 4 14.5001 4C15.3285 4 16.0001 4.67157 16.0001 5.5Z" fill="white"/>\n <defs>\n <linearGradient id="paint0_linear_0_16103" x1="-9.95187" y1="9.95187" x2="9.95187" y2="29.8556" gradientUnits="userSpaceOnUse">\n <stop stop-color="white" stop-opacity="0.245559"/>\n <stop offset="1" stop-opacity="0.498578"/>\n </linearGradient>\n </defs>\n</svg>';
|
|
6731
|
+
const fileOther = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">\n <path fill-rule="evenodd" clip-rule="evenodd" d="M18 6.60751L11.392 -0.000488281L5 0.000113437C3.34315 0.000113437 2 1.34326 2 3.00011V17.0001C2 18.657 3.34315 20.0001 5 20.0001H15C16.6569 20.0001 18 18.657 18 17.0001V6.60751ZM17 8.00011L10 1.00011V6.00011C10 7.10468 10.8954 8.00011 12 8.00011H17Z" fill="#AABFFC"/>\n <path fill-rule="evenodd" clip-rule="evenodd" d="M18 6.60751L11.392 -0.000488281L5 0.000113437C3.34315 0.000113437 2 1.34326 2 3.00011V17.0001C2 18.657 3.34315 20.0001 5 20.0001H15C16.6569 20.0001 18 18.657 18 17.0001V6.60751ZM17 8.00011L10 1.00011V6.00011C10 7.10468 10.8954 8.00011 12 8.00011H17Z" fill="url(#paint0_linear_0_16113)" style="mix-blend-mode:overlay"/>\n <defs>\n <linearGradient id="paint0_linear_0_16113" x1="-5.9615" y1="9.95168" x2="13.4572" y2="25.4862" gradientUnits="userSpaceOnUse">\n <stop stop-color="white" stop-opacity="0.245559"/>\n <stop offset="1" stop-opacity="0.498578"/>\n </linearGradient>\n </defs>\n</svg>';
|
|
6732
|
+
const filePdf = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">\n <rect width="20" height="20" rx="4" fill="#FF5630"/>\n <rect width="20" height="20" rx="4" fill="url(#paint0_linear_0_16087)" style="mix-blend-mode:overlay"/>\n <path fill-rule="evenodd" clip-rule="evenodd" d="M4.55535 13.6488V11.0388H4.92535C5.65535 11.0388 5.93535 10.9988 6.27535 10.8688C6.97535 10.5988 7.36535 9.92876 7.36535 8.99876C7.36535 8.21876 7.07535 7.57876 6.57535 7.25876C6.27535 7.06876 5.82535 6.97876 5.09535 6.97876H2.98535V13.6488H4.55535ZM4.84535 9.90876H4.54535V8.10876H4.84535C5.51535 8.10876 5.75535 8.34876 5.75535 9.02876C5.75535 9.66876 5.51535 9.90876 4.84535 9.90876ZM11.6393 13.4388C11.2793 13.5988 10.9993 13.6488 10.4393 13.6488H8.21935V6.97876H10.2593C11.2393 6.97876 11.7193 7.11876 12.1093 7.52876C12.5993 8.02876 12.7693 8.71876 12.7693 10.1388C12.7693 10.9388 12.7093 11.6788 12.6093 12.1588C12.4893 12.7388 12.1193 13.2188 11.6393 13.4388ZM10.0793 12.5188H9.79935V8.10876H10.0193C10.9713 8.10876 11.1466 8.35839 11.1586 9.95112L11.1593 10.1488C11.1593 12.2088 11.0193 12.5188 10.0793 12.5188ZM15.3333 10.8188V13.6488H13.7533V6.97876H17.6033V8.23876H15.3333V9.58876H17.4433V10.8188H15.3333Z" fill="white"/>\n <defs>\n <linearGradient id="paint0_linear_0_16087" x1="-9.95187" y1="9.95187" x2="9.95187" y2="29.8556" gradientUnits="userSpaceOnUse">\n <stop stop-color="white" stop-opacity="0.245559"/>\n <stop offset="1" stop-opacity="0.498578"/>\n </linearGradient>\n </defs>\n</svg>';
|
|
6733
|
+
const fileWord = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">\n <rect width="20" height="20" rx="4" fill="#2C7CD3"/>\n <rect width="20" height="20" rx="4" fill="url(#paint0_linear_0_16075)" style="mix-blend-mode:overlay"/>\n <path d="M8.0542 14.9946L9.90137 8.0376L11.7549 14.9946H13.748L16.0078 5.68896H14.1162L12.688 12.189L11.0566 5.68896H8.82227L7.12109 12.0811L5.71826 5.68896H3.79492L6.0166 14.9946H8.0542Z" fill="white"/>\n <defs>\n <linearGradient id="paint0_linear_0_16075" x1="-9.95187" y1="9.95187" x2="9.95187" y2="29.8556" gradientUnits="userSpaceOnUse">\n <stop stop-color="white" stop-opacity="0.245559"/>\n <stop offset="1" stop-opacity="0.498578"/>\n </linearGradient>\n </defs>\n</svg>';
|
|
6734
|
+
const fileXml = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">\n <rect width="20" height="20" rx="4" fill="#FF991F"/>\n <rect width="20" height="20" rx="4" fill="url(#paint0_linear_2163_24057)" style="mix-blend-mode:overlay"/>\n <path d="M1.97561 5.99658L3.56111 9.43008L1.84961 13.0001H3.66611L4.21211 11.6771C4.40111 11.0996 4.45361 10.8791 4.49561 10.6166H4.52711C4.54811 10.8686 4.61111 11.1101 4.77911 11.5826L5.34611 13.0001H7.20461L5.49311 9.44058L7.07861 5.99658H5.28311L4.86311 7.06758C4.85261 7.08858 4.83161 7.16208 4.80011 7.25658C4.75811 7.44558 4.70561 7.63458 4.65311 7.82358C4.60061 8.02308 4.57961 8.10708 4.56911 8.23308H4.52711C4.49561 8.02308 4.43261 7.78158 4.27511 7.23558L3.82361 5.99658H1.97561Z" fill="white"/>\n <path d="M7.53437 5.99658V13.0001H9.05687V9.78708L9.02537 9.34608L8.98337 8.41158C8.98337 8.33808 8.96237 8.00208 8.92037 7.47708H8.98337C9.05687 7.90758 9.10937 8.21208 9.18287 8.53758C9.24587 8.87358 9.34037 9.28308 9.44537 9.77658L10.1804 13.0001H11.3984L12.1544 9.59808C12.2909 8.98908 12.5324 7.79208 12.5744 7.47708H12.6374C12.6059 7.80258 12.5849 8.01258 12.5744 8.22258L12.5534 8.98908C12.5429 9.25158 12.5324 9.52458 12.5219 9.80808V13.0001H14.0444V5.99658H11.6714L11.2409 8.10708C11.0834 8.74758 10.8419 10.3751 10.8419 10.8161L10.7999 10.8266C10.7894 10.2911 10.5269 8.61108 10.3274 7.85508L9.92837 5.99658H7.53437Z" fill="white"/>\n <path d="M14.8685 5.99658V13.0001H18.89V11.6666H16.5275V5.99658H14.8685Z" fill="white"/>\n <defs>\n <linearGradient id="paint0_linear_2163_24057" x1="-9.95187" y1="9.95187" x2="9.95187" y2="29.8556" gradientUnits="userSpaceOnUse">\n <stop stop-color="white" stop-opacity="0.245559"/>\n <stop offset="1" stop-opacity="0.498578"/>\n </linearGradient>\n </defs>\n</svg>';
|
|
6735
|
+
const fileZip = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">\n <g clip-path="url(#clip0_922_22603)">\n <path d="M16 0H4C1.79086 0 0 1.79086 0 4V16C0 18.2091 1.79086 20 4 20H16C18.2091 20 20 18.2091 20 16V4C20 1.79086 18.2091 0 16 0Z" fill="#A1D237"/>\n <path d="M16 0H4C1.79086 0 0 1.79086 0 4V16C0 18.2091 1.79086 20 4 20H16C18.2091 20 20 18.2091 20 16V4C20 1.79086 18.2091 0 16 0Z" fill="url(#paint0_linear_922_22603)" style="mix-blend-mode:overlay"/>\n <path d="M8.32086 14V12.6807H6.32086C5.92513 12.6807 5.72193 12.6927 5.58289 12.7166C5.64706 12.6207 5.68984 12.5367 5.73262 12.4528C5.7861 12.3568 5.83957 12.2609 5.89305 12.1529L8.28877 7.22339V6H4.17112V7.31934H6.20321C6.39572 7.31934 6.59893 7.30735 6.69519 7.29535C6.58824 7.47526 6.49198 7.65517 6.41711 7.81109L4 12.8246V14H8.32086ZM10.4813 14V6H9.03743V14H10.4813ZM12.9519 14V10.8096H13.4439C14.2139 10.8096 14.5241 10.7616 14.877 10.6057C15.5936 10.2699 16 9.47826 16 8.38681C16 7.45127 15.6898 6.69565 15.1444 6.32384C14.8342 6.09595 14.3743 6 13.6364 6H11.508V14H12.9519ZM13.4118 9.6102H12.9519V7.1994H13.3797C13.7219 7.1994 13.9679 7.24738 14.107 7.34333C14.385 7.53523 14.5241 7.87106 14.5241 8.38681C14.5241 8.91454 14.4064 9.25037 14.1497 9.44228C13.9893 9.57421 13.8075 9.6102 13.4118 9.6102Z" fill="white"/>\n </g>\n <defs>\n <linearGradient id="paint0_linear_922_22603" x1="-9.95187" y1="9.95187" x2="9.95187" y2="29.8556" gradientUnits="userSpaceOnUse">\n <stop stop-color="white" stop-opacity="0.245559"/>\n <stop offset="1" stop-opacity="0.498578"/>\n </linearGradient>\n <clipPath id="clip0_922_22603">\n <rect width="20" height="20" fill="white"/>\n </clipPath>\n </defs>\n</svg>';
|
|
6736
6736
|
var complexIcons = {
|
|
6737
6737
|
avatar: avatarGreen,
|
|
6738
6738
|
"file-excel": fileExcel,
|
|
@@ -9117,10 +9117,10 @@ function _object_spread_props$J(target, source) {
|
|
|
9117
9117
|
}
|
|
9118
9118
|
return target;
|
|
9119
9119
|
}
|
|
9120
|
-
function _object_without_properties$
|
|
9120
|
+
function _object_without_properties$h(source, excluded) {
|
|
9121
9121
|
if (source == null)
|
|
9122
9122
|
return {};
|
|
9123
|
-
var target = _object_without_properties_loose$
|
|
9123
|
+
var target = _object_without_properties_loose$h(source, excluded);
|
|
9124
9124
|
var key, i;
|
|
9125
9125
|
if (Object.getOwnPropertySymbols) {
|
|
9126
9126
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -9135,7 +9135,7 @@ function _object_without_properties$g(source, excluded) {
|
|
|
9135
9135
|
}
|
|
9136
9136
|
return target;
|
|
9137
9137
|
}
|
|
9138
|
-
function _object_without_properties_loose$
|
|
9138
|
+
function _object_without_properties_loose$h(source, excluded) {
|
|
9139
9139
|
if (source == null)
|
|
9140
9140
|
return {};
|
|
9141
9141
|
var target = {};
|
|
@@ -9150,7 +9150,7 @@ function _object_without_properties_loose$g(source, excluded) {
|
|
|
9150
9150
|
return target;
|
|
9151
9151
|
}
|
|
9152
9152
|
var Button = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
9153
|
-
var _param_type = _param.type, type = _param_type === void 0 ? "button" : _param_type, children = _param.children, _param_size = _param.size, size = _param_size === void 0 ? "l" : _param_size, _param_view = _param.view, view = _param_view === void 0 ? "primary" : _param_view, _param_isFullWidth = _param.isFullWidth, isFullWidth = _param_isFullWidth === void 0 ? false : _param_isFullWidth, _param_isInline = _param.isInline, isInline = _param_isInline === void 0 ? false : _param_isInline, _param_isDisabled = _param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, _param_isActive = _param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, _param_isLoading = _param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_shouldSkipTabNavigation = _param.shouldSkipTabNavigation, shouldSkipTabNavigation = _param_shouldSkipTabNavigation === void 0 ? false : _param_shouldSkipTabNavigation, data = _param.data, testId = _param.testId, tweakStyles = _param.tweakStyles, icon = _param.icon, _param_iconPosition = _param.iconPosition, iconPosition = _param_iconPosition === void 0 ? "left" : _param_iconPosition, _param_preloaderType = _param.preloaderType, preloaderType = _param_preloaderType === void 0 ? "dots" : _param_preloaderType, interactions = _object_without_properties$
|
|
9153
|
+
var _param_type = _param.type, type = _param_type === void 0 ? "button" : _param_type, children = _param.children, _param_size = _param.size, size = _param_size === void 0 ? "l" : _param_size, _param_view = _param.view, view = _param_view === void 0 ? "primary" : _param_view, _param_isFullWidth = _param.isFullWidth, isFullWidth = _param_isFullWidth === void 0 ? false : _param_isFullWidth, _param_isInline = _param.isInline, isInline = _param_isInline === void 0 ? false : _param_isInline, _param_isDisabled = _param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, _param_isActive = _param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, _param_isLoading = _param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_shouldSkipTabNavigation = _param.shouldSkipTabNavigation, shouldSkipTabNavigation = _param_shouldSkipTabNavigation === void 0 ? false : _param_shouldSkipTabNavigation, data = _param.data, testId = _param.testId, tweakStyles = _param.tweakStyles, icon = _param.icon, _param_iconPosition = _param.iconPosition, iconPosition = _param_iconPosition === void 0 ? "left" : _param_iconPosition, _param_preloaderType = _param.preloaderType, preloaderType = _param_preloaderType === void 0 ? "dots" : _param_preloaderType, interactions = _object_without_properties$h(_param, [
|
|
9154
9154
|
"type",
|
|
9155
9155
|
"children",
|
|
9156
9156
|
"size",
|
|
@@ -10006,10 +10006,10 @@ function _object_spread_props$G(target, source) {
|
|
|
10006
10006
|
}
|
|
10007
10007
|
return target;
|
|
10008
10008
|
}
|
|
10009
|
-
function _object_without_properties$
|
|
10009
|
+
function _object_without_properties$g(source, excluded) {
|
|
10010
10010
|
if (source == null)
|
|
10011
10011
|
return {};
|
|
10012
|
-
var target = _object_without_properties_loose$
|
|
10012
|
+
var target = _object_without_properties_loose$g(source, excluded);
|
|
10013
10013
|
var key, i;
|
|
10014
10014
|
if (Object.getOwnPropertySymbols) {
|
|
10015
10015
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -10024,7 +10024,7 @@ function _object_without_properties$f(source, excluded) {
|
|
|
10024
10024
|
}
|
|
10025
10025
|
return target;
|
|
10026
10026
|
}
|
|
10027
|
-
function _object_without_properties_loose$
|
|
10027
|
+
function _object_without_properties_loose$g(source, excluded) {
|
|
10028
10028
|
if (source == null)
|
|
10029
10029
|
return {};
|
|
10030
10030
|
var target = {};
|
|
@@ -10157,7 +10157,7 @@ function _ts_generator$5(thisArg, body) {
|
|
|
10157
10157
|
}
|
|
10158
10158
|
}
|
|
10159
10159
|
var Input = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
10160
|
-
var _param_value = _param.value, value = _param_value === void 0 ? "" : _param_value, label = _param.label, placeholder = _param.placeholder, _param_type = _param.type, type = _param_type === void 0 ? "text" : _param_type, isDisabled = _param.isDisabled, _param_isReadonly = _param.isReadonly, isReadonly = _param_isReadonly === void 0 ? false : _param_isReadonly, _param_hasFloatingLabel = _param.hasFloatingLabel, hasFloatingLabel = _param_hasFloatingLabel === void 0 ? true : _param_hasFloatingLabel, _param_isInvalid = _param.isInvalid, isInvalid = _param_isInvalid === void 0 ? false : _param_isInvalid, _param_isActive = _param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, _param_isClearable = _param.isClearable, isClearable = _param_isClearable === void 0 ? false : _param_isClearable, infoMessage = _param.infoMessage, errorMessage = _param.errorMessage, _param_errorPosition = _param.errorPosition, errorPosition = _param_errorPosition === void 0 ? "bottom" : _param_errorPosition, inlineStyle = _param.inlineStyle, border = _param.border, _param_isRequired = _param.isRequired, isRequired = _param_isRequired === void 0 ? false : _param_isRequired, _param_isLoading = _param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_isAutoSizeable = _param.isAutoSizeable, isAutoSizeable = _param_isAutoSizeable === void 0 ? false : _param_isAutoSizeable, _param_defaultSize = _param.defaultSize, defaultSize = _param_defaultSize === void 0 ? DEFAULT_SIZE : _param_defaultSize, iconType = _param.iconType, hasRequiredLabel = _param.hasRequiredLabel, data = _param.data, tweakStyles = _param.tweakStyles, _param_shouldFocusOnMount = _param.shouldFocusOnMount, shouldFocusOnMount = _param_shouldFocusOnMount === void 0 ? false : _param_shouldFocusOnMount, units = _param.units, testId = _param.testId, onChange = _param.onChange, onFocus = _param.onFocus, onBlur = _param.onBlur, onIconClick = _param.onIconClick, mask = _param.mask, maskPlaceholder = _param.maskPlaceholder, alwaysShowMask = _param.alwaysShowMask, _param_shouldAlwaysShowPlaceholder = _param.shouldAlwaysShowPlaceholder, shouldAlwaysShowPlaceholder = _param_shouldAlwaysShowPlaceholder === void 0 ? false : _param_shouldAlwaysShowPlaceholder, beforeMaskedStateChange = _param.beforeMaskedStateChange, inputProps = _object_without_properties$
|
|
10160
|
+
var _param_value = _param.value, value = _param_value === void 0 ? "" : _param_value, label = _param.label, placeholder = _param.placeholder, _param_type = _param.type, type = _param_type === void 0 ? "text" : _param_type, isDisabled = _param.isDisabled, _param_isReadonly = _param.isReadonly, isReadonly = _param_isReadonly === void 0 ? false : _param_isReadonly, _param_hasFloatingLabel = _param.hasFloatingLabel, hasFloatingLabel = _param_hasFloatingLabel === void 0 ? true : _param_hasFloatingLabel, _param_isInvalid = _param.isInvalid, isInvalid = _param_isInvalid === void 0 ? false : _param_isInvalid, _param_isActive = _param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, _param_isClearable = _param.isClearable, isClearable = _param_isClearable === void 0 ? false : _param_isClearable, infoMessage = _param.infoMessage, errorMessage = _param.errorMessage, _param_errorPosition = _param.errorPosition, errorPosition = _param_errorPosition === void 0 ? "bottom" : _param_errorPosition, inlineStyle = _param.inlineStyle, border = _param.border, _param_isRequired = _param.isRequired, isRequired = _param_isRequired === void 0 ? false : _param_isRequired, _param_isLoading = _param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_isAutoSizeable = _param.isAutoSizeable, isAutoSizeable = _param_isAutoSizeable === void 0 ? false : _param_isAutoSizeable, _param_defaultSize = _param.defaultSize, defaultSize = _param_defaultSize === void 0 ? DEFAULT_SIZE : _param_defaultSize, iconType = _param.iconType, hasRequiredLabel = _param.hasRequiredLabel, data = _param.data, tweakStyles = _param.tweakStyles, _param_shouldFocusOnMount = _param.shouldFocusOnMount, shouldFocusOnMount = _param_shouldFocusOnMount === void 0 ? false : _param_shouldFocusOnMount, units = _param.units, testId = _param.testId, onChange = _param.onChange, onFocus = _param.onFocus, onBlur = _param.onBlur, onIconClick = _param.onIconClick, mask = _param.mask, maskPlaceholder = _param.maskPlaceholder, alwaysShowMask = _param.alwaysShowMask, _param_shouldAlwaysShowPlaceholder = _param.shouldAlwaysShowPlaceholder, shouldAlwaysShowPlaceholder = _param_shouldAlwaysShowPlaceholder === void 0 ? false : _param_shouldAlwaysShowPlaceholder, beforeMaskedStateChange = _param.beforeMaskedStateChange, inputProps = _object_without_properties$g(_param, [
|
|
10161
10161
|
"value",
|
|
10162
10162
|
"label",
|
|
10163
10163
|
"placeholder",
|
|
@@ -10399,10 +10399,10 @@ function _object_spread_props$F(target, source) {
|
|
|
10399
10399
|
}
|
|
10400
10400
|
return target;
|
|
10401
10401
|
}
|
|
10402
|
-
function _object_without_properties$
|
|
10402
|
+
function _object_without_properties$f(source, excluded) {
|
|
10403
10403
|
if (source == null)
|
|
10404
10404
|
return {};
|
|
10405
|
-
var target = _object_without_properties_loose$
|
|
10405
|
+
var target = _object_without_properties_loose$f(source, excluded);
|
|
10406
10406
|
var key, i;
|
|
10407
10407
|
if (Object.getOwnPropertySymbols) {
|
|
10408
10408
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -10417,7 +10417,7 @@ function _object_without_properties$e(source, excluded) {
|
|
|
10417
10417
|
}
|
|
10418
10418
|
return target;
|
|
10419
10419
|
}
|
|
10420
|
-
function _object_without_properties_loose$
|
|
10420
|
+
function _object_without_properties_loose$f(source, excluded) {
|
|
10421
10421
|
if (source == null)
|
|
10422
10422
|
return {};
|
|
10423
10423
|
var target = {};
|
|
@@ -10432,7 +10432,7 @@ function _object_without_properties_loose$e(source, excluded) {
|
|
|
10432
10432
|
return target;
|
|
10433
10433
|
}
|
|
10434
10434
|
var DateInput = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
10435
|
-
var date = _param.date, _param_startDate = _param.startDate, startDate = _param_startDate === void 0 ? "" : _param_startDate, _param_endDate = _param.endDate, endDate = _param_endDate === void 0 ? "" : _param_endDate, mask = _param.mask, className = _param.className, placeholder = _param.placeholder, data = _param.data, _param_isRange = _param.isRange, isRange = _param_isRange === void 0 ? false : _param_isRange, tweakStyles = _param.tweakStyles, onClick = _param.onClick, onChange = _param.onChange, inputProps = _object_without_properties$
|
|
10435
|
+
var date = _param.date, _param_startDate = _param.startDate, startDate = _param_startDate === void 0 ? "" : _param_startDate, _param_endDate = _param.endDate, endDate = _param_endDate === void 0 ? "" : _param_endDate, mask = _param.mask, className = _param.className, placeholder = _param.placeholder, data = _param.data, _param_isRange = _param.isRange, isRange = _param_isRange === void 0 ? false : _param_isRange, tweakStyles = _param.tweakStyles, onClick = _param.onClick, onChange = _param.onChange, inputProps = _object_without_properties$f(_param, [
|
|
10436
10436
|
"date",
|
|
10437
10437
|
"startDate",
|
|
10438
10438
|
"endDate",
|
|
@@ -10578,10 +10578,10 @@ function _object_spread_props$E(target, source) {
|
|
|
10578
10578
|
}
|
|
10579
10579
|
return target;
|
|
10580
10580
|
}
|
|
10581
|
-
function _object_without_properties$
|
|
10581
|
+
function _object_without_properties$e(source, excluded) {
|
|
10582
10582
|
if (source == null)
|
|
10583
10583
|
return {};
|
|
10584
|
-
var target = _object_without_properties_loose$
|
|
10584
|
+
var target = _object_without_properties_loose$e(source, excluded);
|
|
10585
10585
|
var key, i;
|
|
10586
10586
|
if (Object.getOwnPropertySymbols) {
|
|
10587
10587
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -10596,7 +10596,7 @@ function _object_without_properties$d(source, excluded) {
|
|
|
10596
10596
|
}
|
|
10597
10597
|
return target;
|
|
10598
10598
|
}
|
|
10599
|
-
function _object_without_properties_loose$
|
|
10599
|
+
function _object_without_properties_loose$e(source, excluded) {
|
|
10600
10600
|
if (source == null)
|
|
10601
10601
|
return {};
|
|
10602
10602
|
var target = {};
|
|
@@ -10611,7 +10611,7 @@ function _object_without_properties_loose$d(source, excluded) {
|
|
|
10611
10611
|
return target;
|
|
10612
10612
|
}
|
|
10613
10613
|
var SearchInput = function(_param) {
|
|
10614
|
-
var _param_isClearable = _param.isClearable, isClearable = _param_isClearable === void 0 ? true : _param_isClearable, tweakStyles = _param.tweakStyles, testId = _param.testId, data = _param.data, props = _object_without_properties$
|
|
10614
|
+
var _param_isClearable = _param.isClearable, isClearable = _param_isClearable === void 0 ? true : _param_isClearable, tweakStyles = _param.tweakStyles, testId = _param.testId, data = _param.data, props = _object_without_properties$e(_param, [
|
|
10615
10615
|
"isClearable",
|
|
10616
10616
|
"tweakStyles",
|
|
10617
10617
|
"testId",
|
|
@@ -10732,10 +10732,10 @@ function _object_spread$K(target) {
|
|
|
10732
10732
|
}
|
|
10733
10733
|
return target;
|
|
10734
10734
|
}
|
|
10735
|
-
function _object_without_properties$
|
|
10735
|
+
function _object_without_properties$d(source, excluded) {
|
|
10736
10736
|
if (source == null)
|
|
10737
10737
|
return {};
|
|
10738
|
-
var target = _object_without_properties_loose$
|
|
10738
|
+
var target = _object_without_properties_loose$d(source, excluded);
|
|
10739
10739
|
var key, i;
|
|
10740
10740
|
if (Object.getOwnPropertySymbols) {
|
|
10741
10741
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -10750,7 +10750,7 @@ function _object_without_properties$c(source, excluded) {
|
|
|
10750
10750
|
}
|
|
10751
10751
|
return target;
|
|
10752
10752
|
}
|
|
10753
|
-
function _object_without_properties_loose$
|
|
10753
|
+
function _object_without_properties_loose$d(source, excluded) {
|
|
10754
10754
|
if (source == null)
|
|
10755
10755
|
return {};
|
|
10756
10756
|
var target = {};
|
|
@@ -10853,7 +10853,7 @@ var ScrollIntoViewIfNeeded = /* @__PURE__ */ function(PureComponent2) {
|
|
|
10853
10853
|
_this_props.active;
|
|
10854
10854
|
var elementType = _this_props.elementType, children = _this_props.children;
|
|
10855
10855
|
_this_props.options;
|
|
10856
|
-
var wrapperProps = _object_without_properties$
|
|
10856
|
+
var wrapperProps = _object_without_properties$d(_this_props, [
|
|
10857
10857
|
"active",
|
|
10858
10858
|
"elementType",
|
|
10859
10859
|
"children",
|
|
@@ -11455,10 +11455,10 @@ function _object_spread_props$B(target, source) {
|
|
|
11455
11455
|
}
|
|
11456
11456
|
return target;
|
|
11457
11457
|
}
|
|
11458
|
-
function _object_without_properties$
|
|
11458
|
+
function _object_without_properties$c(source, excluded) {
|
|
11459
11459
|
if (source == null)
|
|
11460
11460
|
return {};
|
|
11461
|
-
var target = _object_without_properties_loose$
|
|
11461
|
+
var target = _object_without_properties_loose$c(source, excluded);
|
|
11462
11462
|
var key, i;
|
|
11463
11463
|
if (Object.getOwnPropertySymbols) {
|
|
11464
11464
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -11473,7 +11473,7 @@ function _object_without_properties$b(source, excluded) {
|
|
|
11473
11473
|
}
|
|
11474
11474
|
return target;
|
|
11475
11475
|
}
|
|
11476
|
-
function _object_without_properties_loose$
|
|
11476
|
+
function _object_without_properties_loose$c(source, excluded) {
|
|
11477
11477
|
if (source == null)
|
|
11478
11478
|
return {};
|
|
11479
11479
|
var target = {};
|
|
@@ -11610,7 +11610,7 @@ function _ts_generator$4(thisArg, body) {
|
|
|
11610
11610
|
}
|
|
11611
11611
|
function Select(props) {
|
|
11612
11612
|
var _input_current;
|
|
11613
|
-
var options = props.options, isMultiSelect = props.isMultiSelect, value = props.value, header = props.header, footer = props.footer, defaultOptionLabel = props.defaultOptionLabel, allOptionsLabel = props.allOptionsLabel, _props_debounceTime = props.debounceTime, debounceTime = _props_debounceTime === void 0 ? 400 : _props_debounceTime, _props_optionsMode = props.optionsMode, optionsMode = _props_optionsMode === void 0 ? "normal" : _props_optionsMode, noMatchesLabel = props.noMatchesLabel, loadingLabel = props.loadingLabel, tweakStyles = props.tweakStyles, testId = props.testId, isReadonly = props.isReadonly, isDisabled = props.isDisabled, dropdownOptions = props.dropdownOptions, _props_minSymbolsCountToOpenList = props.minSymbolsCountToOpenList, minSymbolsCountToOpenList = _props_minSymbolsCountToOpenList === void 0 ? 0 : _props_minSymbolsCountToOpenList, _props_dropdownIcon = props.dropdownIcon, dropdownIcon = _props_dropdownIcon === void 0 ? "chevron-down" : _props_dropdownIcon, _props_shouldScrollToList = props.shouldScrollToList, shouldScrollToList = _props_shouldScrollToList === void 0 ? true : _props_shouldScrollToList, searchInput = props.searchInput, iconType = props.iconType, onChange = props.onChange, onFocus = props.onFocus, onBlur = props.onBlur, onType = props.onType, onOpen = props.onOpen, _props_isOptionDisabled = props.isOptionDisabled, isOptionDisabled = _props_isOptionDisabled === void 0 ? defaultIsOptionDisabled : _props_isOptionDisabled, _props_compareValuesOnChange = props.compareValuesOnChange, compareValuesOnChange = _props_compareValuesOnChange === void 0 ? defaultCompareFunction : _props_compareValuesOnChange, _props_convertValueToString = props.convertValueToString, convertValueToString = _props_convertValueToString === void 0 ? defaultConvertFunction$2 : _props_convertValueToString, convertValueToId = props.convertValueToId, convertValueToReactNode = props.convertValueToReactNode, optionsFilter = props.optionsFilter, inputProps = _object_without_properties$
|
|
11613
|
+
var options = props.options, isMultiSelect = props.isMultiSelect, value = props.value, header = props.header, footer = props.footer, defaultOptionLabel = props.defaultOptionLabel, allOptionsLabel = props.allOptionsLabel, _props_debounceTime = props.debounceTime, debounceTime = _props_debounceTime === void 0 ? 400 : _props_debounceTime, _props_optionsMode = props.optionsMode, optionsMode = _props_optionsMode === void 0 ? "normal" : _props_optionsMode, noMatchesLabel = props.noMatchesLabel, loadingLabel = props.loadingLabel, tweakStyles = props.tweakStyles, testId = props.testId, isReadonly = props.isReadonly, isDisabled = props.isDisabled, dropdownOptions = props.dropdownOptions, _props_minSymbolsCountToOpenList = props.minSymbolsCountToOpenList, minSymbolsCountToOpenList = _props_minSymbolsCountToOpenList === void 0 ? 0 : _props_minSymbolsCountToOpenList, _props_dropdownIcon = props.dropdownIcon, dropdownIcon = _props_dropdownIcon === void 0 ? "chevron-down" : _props_dropdownIcon, _props_shouldScrollToList = props.shouldScrollToList, shouldScrollToList = _props_shouldScrollToList === void 0 ? true : _props_shouldScrollToList, searchInput = props.searchInput, iconType = props.iconType, onChange = props.onChange, onFocus = props.onFocus, onBlur = props.onBlur, onType = props.onType, onOpen = props.onOpen, _props_isOptionDisabled = props.isOptionDisabled, isOptionDisabled = _props_isOptionDisabled === void 0 ? defaultIsOptionDisabled : _props_isOptionDisabled, _props_compareValuesOnChange = props.compareValuesOnChange, compareValuesOnChange = _props_compareValuesOnChange === void 0 ? defaultCompareFunction : _props_compareValuesOnChange, _props_convertValueToString = props.convertValueToString, convertValueToString = _props_convertValueToString === void 0 ? defaultConvertFunction$2 : _props_convertValueToString, convertValueToId = props.convertValueToId, convertValueToReactNode = props.convertValueToReactNode, optionsFilter = props.optionsFilter, inputProps = _object_without_properties$c(props, [
|
|
11614
11614
|
"options",
|
|
11615
11615
|
"isMultiSelect",
|
|
11616
11616
|
"value",
|
|
@@ -11647,7 +11647,7 @@ function Select(props) {
|
|
|
11647
11647
|
var classes = useStyles$D({
|
|
11648
11648
|
theme: tweakStyles
|
|
11649
11649
|
});
|
|
11650
|
-
var _ref = searchInput !== null && searchInput !== void 0 ? searchInput : {}, tmp = _ref.shouldRenderInList, shouldRenderSearchInputInList = tmp === void 0 ? false : tmp, searchInputProps = _object_without_properties$
|
|
11650
|
+
var _ref = searchInput !== null && searchInput !== void 0 ? searchInput : {}, tmp = _ref.shouldRenderInList, shouldRenderSearchInputInList = tmp === void 0 ? false : tmp, searchInputProps = _object_without_properties$c(_ref, [
|
|
11651
11651
|
"shouldRenderInList"
|
|
11652
11652
|
]);
|
|
11653
11653
|
var hasSearchInputInList = optionsMode !== "normal" && shouldRenderSearchInputInList;
|
|
@@ -12411,10 +12411,10 @@ function _object_spread_props$A(target, source) {
|
|
|
12411
12411
|
}
|
|
12412
12412
|
return target;
|
|
12413
12413
|
}
|
|
12414
|
-
function _object_without_properties$
|
|
12414
|
+
function _object_without_properties$b(source, excluded) {
|
|
12415
12415
|
if (source == null)
|
|
12416
12416
|
return {};
|
|
12417
|
-
var target = _object_without_properties_loose$
|
|
12417
|
+
var target = _object_without_properties_loose$b(source, excluded);
|
|
12418
12418
|
var key, i;
|
|
12419
12419
|
if (Object.getOwnPropertySymbols) {
|
|
12420
12420
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -12429,7 +12429,7 @@ function _object_without_properties$a(source, excluded) {
|
|
|
12429
12429
|
}
|
|
12430
12430
|
return target;
|
|
12431
12431
|
}
|
|
12432
|
-
function _object_without_properties_loose$
|
|
12432
|
+
function _object_without_properties_loose$b(source, excluded) {
|
|
12433
12433
|
if (source == null)
|
|
12434
12434
|
return {};
|
|
12435
12435
|
var target = {};
|
|
@@ -12460,7 +12460,7 @@ function _unsupported_iterable_to_array$i(o, minLen) {
|
|
|
12460
12460
|
return _array_like_to_array$i(o, minLen);
|
|
12461
12461
|
}
|
|
12462
12462
|
var DatePicker = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
12463
|
-
var data = _param.data, _param_selectedDate = _param.selectedDate, selectedDate = _param_selectedDate === void 0 ? null : _param_selectedDate, minDate = _param.minDate, maxDate = _param.maxDate, _param_endDate = _param.endDate, endDate = _param_endDate === void 0 ? null : _param_endDate, _param_startDate = _param.startDate, startDate = _param_startDate === void 0 ? null : _param_startDate, locale2 = _param.locale, months = _param.months, _param_calendarStartDay = _param.calendarStartDay, calendarStartDay = _param_calendarStartDay === void 0 ? 1 : _param_calendarStartDay, _param_dateFormat = _param.dateFormat, dateFormat = _param_dateFormat === void 0 ? DEFAULT_DATE_FORMAT$2 : _param_dateFormat, monthsShown = _param.monthsShown, placeholder = _param.placeholder, _param_isRange = _param.isRange, isRange = _param_isRange === void 0 ? false : _param_isRange, _param_isInline = _param.isInline, isInline = _param_isInline === void 0 ? false : _param_isInline, isDisabled = _param.isDisabled, isClearable = _param.isClearable, strictParsing = _param.strictParsing, fixedHeight = _param.fixedHeight, excludeScrollbar = _param.excludeScrollbar, focusSelectedMonth = _param.focusSelectedMonth, disabledKeyboardNavigation = _param.disabledKeyboardNavigation, _param_shouldRenderPopperInBody = _param.shouldRenderPopperInBody, shouldRenderPopperInBody = _param_shouldRenderPopperInBody === void 0 ? false : _param_shouldRenderPopperInBody, _param_allowSameDay = _param.allowSameDay, allowSameDay = _param_allowSameDay === void 0 ? false : _param_allowSameDay, shouldCloseOnSelect = _param.shouldCloseOnSelect, showPreviousMonths = _param.showPreviousMonths, preventOpenOnFocus = _param.preventOpenOnFocus, popperModifiers = _param.popperModifiers, popperPlacement = _param.popperPlacement, todayButton = _param.todayButton, highlightDates = _param.highlightDates, calendarContainer = _param.calendarContainer, dayClassName = _param.dayClassName, tmp = _param.customInput, CustomInput = tmp === void 0 ? DateInput : tmp, customInputRef = _param.customInputRef, renderCustomHeader = _param.renderCustomHeader, filterDate = _param.filterDate, onYearChange = _param.onYearChange, onMonthChange = _param.onMonthChange, onCalendarOpen = _param.onCalendarOpen, onCalendarClose = _param.onCalendarClose, onChangeDate = _param.onChangeDate, onChangeRange = _param.onChangeRange, onBlur = _param.onBlur, onFocus = _param.onFocus, onKeyDown = _param.onKeyDown, tweakStyles = _param.tweakStyles, inputProps = _object_without_properties$
|
|
12463
|
+
var data = _param.data, _param_selectedDate = _param.selectedDate, selectedDate = _param_selectedDate === void 0 ? null : _param_selectedDate, minDate = _param.minDate, maxDate = _param.maxDate, _param_endDate = _param.endDate, endDate = _param_endDate === void 0 ? null : _param_endDate, _param_startDate = _param.startDate, startDate = _param_startDate === void 0 ? null : _param_startDate, locale2 = _param.locale, months = _param.months, _param_calendarStartDay = _param.calendarStartDay, calendarStartDay = _param_calendarStartDay === void 0 ? 1 : _param_calendarStartDay, _param_dateFormat = _param.dateFormat, dateFormat = _param_dateFormat === void 0 ? DEFAULT_DATE_FORMAT$2 : _param_dateFormat, monthsShown = _param.monthsShown, placeholder = _param.placeholder, _param_isRange = _param.isRange, isRange = _param_isRange === void 0 ? false : _param_isRange, _param_isInline = _param.isInline, isInline = _param_isInline === void 0 ? false : _param_isInline, isDisabled = _param.isDisabled, isClearable = _param.isClearable, strictParsing = _param.strictParsing, fixedHeight = _param.fixedHeight, excludeScrollbar = _param.excludeScrollbar, focusSelectedMonth = _param.focusSelectedMonth, disabledKeyboardNavigation = _param.disabledKeyboardNavigation, _param_shouldRenderPopperInBody = _param.shouldRenderPopperInBody, shouldRenderPopperInBody = _param_shouldRenderPopperInBody === void 0 ? false : _param_shouldRenderPopperInBody, _param_allowSameDay = _param.allowSameDay, allowSameDay = _param_allowSameDay === void 0 ? false : _param_allowSameDay, shouldCloseOnSelect = _param.shouldCloseOnSelect, showPreviousMonths = _param.showPreviousMonths, preventOpenOnFocus = _param.preventOpenOnFocus, popperModifiers = _param.popperModifiers, popperPlacement = _param.popperPlacement, todayButton = _param.todayButton, highlightDates = _param.highlightDates, calendarContainer = _param.calendarContainer, dayClassName = _param.dayClassName, tmp = _param.customInput, CustomInput = tmp === void 0 ? DateInput : tmp, customInputRef = _param.customInputRef, renderCustomHeader = _param.renderCustomHeader, filterDate = _param.filterDate, onYearChange = _param.onYearChange, onMonthChange = _param.onMonthChange, onCalendarOpen = _param.onCalendarOpen, onCalendarClose = _param.onCalendarClose, onChangeDate = _param.onChangeDate, onChangeRange = _param.onChangeRange, onBlur = _param.onBlur, onFocus = _param.onFocus, onKeyDown = _param.onKeyDown, tweakStyles = _param.tweakStyles, inputProps = _object_without_properties$b(_param, [
|
|
12464
12464
|
"data",
|
|
12465
12465
|
"selectedDate",
|
|
12466
12466
|
"minDate",
|
|
@@ -13278,10 +13278,10 @@ function _object_spread_props$x(target, source) {
|
|
|
13278
13278
|
}
|
|
13279
13279
|
return target;
|
|
13280
13280
|
}
|
|
13281
|
-
function _object_without_properties$
|
|
13281
|
+
function _object_without_properties$a(source, excluded) {
|
|
13282
13282
|
if (source == null)
|
|
13283
13283
|
return {};
|
|
13284
|
-
var target = _object_without_properties_loose$
|
|
13284
|
+
var target = _object_without_properties_loose$a(source, excluded);
|
|
13285
13285
|
var key, i;
|
|
13286
13286
|
if (Object.getOwnPropertySymbols) {
|
|
13287
13287
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -13296,7 +13296,7 @@ function _object_without_properties$9(source, excluded) {
|
|
|
13296
13296
|
}
|
|
13297
13297
|
return target;
|
|
13298
13298
|
}
|
|
13299
|
-
function _object_without_properties_loose$
|
|
13299
|
+
function _object_without_properties_loose$a(source, excluded) {
|
|
13300
13300
|
if (source == null)
|
|
13301
13301
|
return {};
|
|
13302
13302
|
var target = {};
|
|
@@ -13311,7 +13311,7 @@ function _object_without_properties_loose$9(source, excluded) {
|
|
|
13311
13311
|
return target;
|
|
13312
13312
|
}
|
|
13313
13313
|
var IconButton = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
13314
|
-
var icon = _param.icon, _param_size = _param.size, size = _param_size === void 0 ? "m" : _param_size, _param_view = _param.view, view = _param_view === void 0 ? "cancel-light" : _param_view, _param_isDisabled = _param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, _param_isActive = _param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, _param_isLoading = _param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_type = _param.type, type = _param_type === void 0 ? "button" : _param_type, testId = _param.testId, tweakStyles = _param.tweakStyles, data = _param.data, onClick = _param.onClick, restProps = _object_without_properties$
|
|
13314
|
+
var icon = _param.icon, _param_size = _param.size, size = _param_size === void 0 ? "m" : _param_size, _param_view = _param.view, view = _param_view === void 0 ? "cancel-light" : _param_view, _param_isDisabled = _param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, _param_isActive = _param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, _param_isLoading = _param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_type = _param.type, type = _param_type === void 0 ? "button" : _param_type, testId = _param.testId, tweakStyles = _param.tweakStyles, data = _param.data, onClick = _param.onClick, restProps = _object_without_properties$a(_param, [
|
|
13315
13315
|
"icon",
|
|
13316
13316
|
"size",
|
|
13317
13317
|
"view",
|
|
@@ -14235,10 +14235,10 @@ function _object_spread$y(target) {
|
|
|
14235
14235
|
}
|
|
14236
14236
|
return target;
|
|
14237
14237
|
}
|
|
14238
|
-
function _object_without_properties$
|
|
14238
|
+
function _object_without_properties$9(source, excluded) {
|
|
14239
14239
|
if (source == null)
|
|
14240
14240
|
return {};
|
|
14241
|
-
var target = _object_without_properties_loose$
|
|
14241
|
+
var target = _object_without_properties_loose$9(source, excluded);
|
|
14242
14242
|
var key, i;
|
|
14243
14243
|
if (Object.getOwnPropertySymbols) {
|
|
14244
14244
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -14253,7 +14253,7 @@ function _object_without_properties$8(source, excluded) {
|
|
|
14253
14253
|
}
|
|
14254
14254
|
return target;
|
|
14255
14255
|
}
|
|
14256
|
-
function _object_without_properties_loose$
|
|
14256
|
+
function _object_without_properties_loose$9(source, excluded) {
|
|
14257
14257
|
if (source == null)
|
|
14258
14258
|
return {};
|
|
14259
14259
|
var target = {};
|
|
@@ -14386,7 +14386,7 @@ function _ts_generator$3(thisArg, body) {
|
|
|
14386
14386
|
}
|
|
14387
14387
|
}
|
|
14388
14388
|
var NumberInput = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
14389
|
-
var value = _param.value, _param_canBeFloat = _param.canBeFloat, canBeFloat = _param_canBeFloat === void 0 ? false : _param_canBeFloat, _param_canBeNegative = _param.canBeNegative, canBeNegative = _param_canBeNegative === void 0 ? false : _param_canBeNegative, defaultValue = _param.defaultValue, _param_precision = _param.precision, precision = _param_precision === void 0 ? 3 : _param_precision, _param_intPartPrecision = _param.intPartPrecision, intPartPrecision = _param_intPartPrecision === void 0 ? 7 : _param_intPartPrecision, onChange = _param.onChange, onBlur = _param.onBlur, min2 = _param.min, max2 = _param.max, props = _object_without_properties$
|
|
14389
|
+
var value = _param.value, _param_canBeFloat = _param.canBeFloat, canBeFloat = _param_canBeFloat === void 0 ? false : _param_canBeFloat, _param_canBeNegative = _param.canBeNegative, canBeNegative = _param_canBeNegative === void 0 ? false : _param_canBeNegative, defaultValue = _param.defaultValue, _param_precision = _param.precision, precision = _param_precision === void 0 ? 3 : _param_precision, _param_intPartPrecision = _param.intPartPrecision, intPartPrecision = _param_intPartPrecision === void 0 ? 7 : _param_intPartPrecision, onChange = _param.onChange, onBlur = _param.onBlur, min2 = _param.min, max2 = _param.max, props = _object_without_properties$9(_param, [
|
|
14390
14390
|
"value",
|
|
14391
14391
|
"canBeFloat",
|
|
14392
14392
|
"canBeNegative",
|
|
@@ -19303,6 +19303,38 @@ function _object_spread_props$m(target, source) {
|
|
|
19303
19303
|
}
|
|
19304
19304
|
return target;
|
|
19305
19305
|
}
|
|
19306
|
+
function _object_without_properties$8(source, excluded) {
|
|
19307
|
+
if (source == null)
|
|
19308
|
+
return {};
|
|
19309
|
+
var target = _object_without_properties_loose$8(source, excluded);
|
|
19310
|
+
var key, i;
|
|
19311
|
+
if (Object.getOwnPropertySymbols) {
|
|
19312
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
19313
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
19314
|
+
key = sourceSymbolKeys[i];
|
|
19315
|
+
if (excluded.indexOf(key) >= 0)
|
|
19316
|
+
continue;
|
|
19317
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
|
19318
|
+
continue;
|
|
19319
|
+
target[key] = source[key];
|
|
19320
|
+
}
|
|
19321
|
+
}
|
|
19322
|
+
return target;
|
|
19323
|
+
}
|
|
19324
|
+
function _object_without_properties_loose$8(source, excluded) {
|
|
19325
|
+
if (source == null)
|
|
19326
|
+
return {};
|
|
19327
|
+
var target = {};
|
|
19328
|
+
var sourceKeys = Object.keys(source);
|
|
19329
|
+
var key, i;
|
|
19330
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
19331
|
+
key = sourceKeys[i];
|
|
19332
|
+
if (excluded.indexOf(key) >= 0)
|
|
19333
|
+
continue;
|
|
19334
|
+
target[key] = source[key];
|
|
19335
|
+
}
|
|
19336
|
+
return target;
|
|
19337
|
+
}
|
|
19306
19338
|
function FilterWrapper(param) {
|
|
19307
19339
|
var filter = param.filter, value = param.value, isDisabled = param.isDisabled, locale2 = param.locale, localeKey = param.localeKey, data = param.data, testId = param.testId, tweakStyles = param.tweakStyles, onChange = param.onChange;
|
|
19308
19340
|
var classes = useStyles$m({
|
|
@@ -19340,12 +19372,17 @@ function FilterWrapper(param) {
|
|
|
19340
19372
|
canBeFlipped: true,
|
|
19341
19373
|
isDisabled: isBoolean || isDisabled,
|
|
19342
19374
|
tweakStyles: tweakWithPopupStyles,
|
|
19343
|
-
trigger: function(
|
|
19344
|
-
var isActive =
|
|
19375
|
+
trigger: function(_param) {
|
|
19376
|
+
var isActive = _param.isActive;
|
|
19377
|
+
_param.isDisabled;
|
|
19378
|
+
var props = _object_without_properties$8(_param, [
|
|
19379
|
+
"isActive",
|
|
19380
|
+
"isDisabled"
|
|
19381
|
+
]);
|
|
19345
19382
|
var _obj2;
|
|
19346
19383
|
return /* @__PURE__ */ jsx("div", _object_spread_props$m(_object_spread$n({
|
|
19347
19384
|
className: clsx(classes.root, (_obj2 = {}, _define_property$o(_obj2, classes.noValue, !hasValue), _define_property$o(_obj2, classes.openNoValue, isActive && !hasValue), _define_property$o(_obj2, classes.withValue, !isActive && hasValue), _define_property$o(_obj2, classes.openWithValue, isActive && hasValue), _define_property$o(_obj2, classes.boolean, isBoolean), _define_property$o(_obj2, classes.disabled, isDisabled), _obj2))
|
|
19348
|
-
}, addDataTestId(testId), addDataAttributes(data)), {
|
|
19385
|
+
}, addDataTestId(testId), addDataAttributes(data), props), {
|
|
19349
19386
|
children: /* @__PURE__ */ jsxs("div", {
|
|
19350
19387
|
onClick: handleLabelClick,
|
|
19351
19388
|
className: clsx(classes.item, _define_property$o({}, classes.booleanItem, isBoolean)),
|
|
@@ -25693,6 +25730,25 @@ var Flag = function(param) {
|
|
|
25693
25730
|
className: classes.root
|
|
25694
25731
|
});
|
|
25695
25732
|
};
|
|
25733
|
+
var DEFAULT_DATE_FORMAT = "dd.MM.yyyy";
|
|
25734
|
+
var TableRenders = {
|
|
25735
|
+
table: {
|
|
25736
|
+
Root: "table",
|
|
25737
|
+
Head: "thead",
|
|
25738
|
+
Body: "tbody",
|
|
25739
|
+
Row: "tr",
|
|
25740
|
+
Header: "th",
|
|
25741
|
+
Cell: "td"
|
|
25742
|
+
},
|
|
25743
|
+
divs: {
|
|
25744
|
+
Root: "div",
|
|
25745
|
+
Head: "div",
|
|
25746
|
+
Body: "div",
|
|
25747
|
+
Row: "div",
|
|
25748
|
+
Header: "div",
|
|
25749
|
+
Cell: "div"
|
|
25750
|
+
}
|
|
25751
|
+
};
|
|
25696
25752
|
var useStyles$k = createThemedStyles("Skeleton", {
|
|
25697
25753
|
root: {
|
|
25698
25754
|
display: "flex",
|
|
@@ -25739,7 +25795,6 @@ var Skeleton = function(param) {
|
|
|
25739
25795
|
}
|
|
25740
25796
|
});
|
|
25741
25797
|
};
|
|
25742
|
-
var DEFAULT_DATE_FORMAT = "dd.MM.yyyy";
|
|
25743
25798
|
function _instanceof(left2, right2) {
|
|
25744
25799
|
if (right2 != null && typeof Symbol !== "undefined" && right2[Symbol.hasInstance]) {
|
|
25745
25800
|
return !!right2[Symbol.hasInstance](left2);
|
|
@@ -26027,9 +26082,9 @@ function FlexibleTableCell(_param) {
|
|
|
26027
26082
|
var value = row[columnName];
|
|
26028
26083
|
var _config_columnName;
|
|
26029
26084
|
var _ref = (_config_columnName = config[columnName]) !== null && _config_columnName !== void 0 ? _config_columnName : {}, _ref_component = _ref.component, component = _ref_component === void 0 ? formatCellContent(value, config[columnName]) : _ref_component, left2 = _ref.left, right2 = _ref.right, position = _ref.position, cellAlign = _ref.cellAlign, cellVerticalAlign = _ref.cellVerticalAlign, shouldRenderDataId = _ref.shouldRenderDataId;
|
|
26030
|
-
var
|
|
26085
|
+
var Table = TableRenders[renderMode];
|
|
26031
26086
|
var _obj2;
|
|
26032
|
-
return /* @__PURE__ */ jsx(
|
|
26087
|
+
return /* @__PURE__ */ jsx(Table.Cell, _object_spread_props$j(_object_spread$k({
|
|
26033
26088
|
className: clsx(classes.root, (_obj2 = {}, _define_property$l(_obj2, classes.sticky, isSticky), _define_property$l(_obj2, classes.second, isSecond), _define_property$l(_obj2, classes.loading, isLoading), _obj2)),
|
|
26034
26089
|
style: {
|
|
26035
26090
|
textAlign: cellAlign,
|
|
@@ -26174,7 +26229,7 @@ function _unsupported_iterable_to_array$8(o, minLen) {
|
|
|
26174
26229
|
return _array_like_to_array$8(o, minLen);
|
|
26175
26230
|
}
|
|
26176
26231
|
function FlexibleTableRowInner(param) {
|
|
26177
|
-
var item = param.item, index = param.index, config = param.config, columns = param.columns, uniqueField = param.uniqueField, renderMode = param.renderMode,
|
|
26232
|
+
var item = param.item, index = param.index, config = param.config, columns = param.columns, uniqueField = param.uniqueField, renderMode = param.renderMode, _param_isActive = param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, _param_isFocusable = param.isFocusable, isFocusable = _param_isFocusable === void 0 ? false : _param_isFocusable, _param_isFirstColumnSticky = param.isFirstColumnSticky, isFirstColumnSticky = _param_isFirstColumnSticky === void 0 ? false : _param_isFirstColumnSticky, _param_isLoading = param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, rowAttributes = param.rowAttributes, _param_isExpandableRowComponentInitiallyOpen = param.isExpandableRowComponentInitiallyOpen, isExpandableRowComponentInitiallyOpen = _param_isExpandableRowComponentInitiallyOpen === void 0 ? false : _param_isExpandableRowComponentInitiallyOpen, tweakStyles = param.tweakStyles, expandableRowComponent = param.expandableRowComponent, onRowHover = param.onRowHover, onRowClick = param.onRowClick;
|
|
26178
26233
|
var classes = useStyles$h({
|
|
26179
26234
|
theme: tweakStyles
|
|
26180
26235
|
});
|
|
@@ -26189,24 +26244,30 @@ function FlexibleTableRowInner(param) {
|
|
|
26189
26244
|
isOpen: applyAction(isExpandableRowComponentInitiallyOpen, item, index)
|
|
26190
26245
|
};
|
|
26191
26246
|
}), 2), nestedComponent = _useState1[0], setNestedComponent = _useState1[1];
|
|
26192
|
-
var _activeRows_includes;
|
|
26193
|
-
var isActive = (_activeRows_includes = activeRows === null || activeRows === void 0 ? void 0 : activeRows.includes(index)) !== null && _activeRows_includes !== void 0 ? _activeRows_includes : false;
|
|
26194
26247
|
var isEditable = !isLoading && (isNotEmpty(onRowClick) || isNotEmpty(onRowHover));
|
|
26195
26248
|
var isClickable = !isLoading && (isNotEmpty(onRowClick) || isNotEmpty(expandableRowComponent));
|
|
26196
26249
|
var isNestedComponentExpanded = nestedComponent.isOpen, nestedComponentCellKey = nestedComponent.cellKey;
|
|
26197
|
-
var
|
|
26198
|
-
|
|
26199
|
-
|
|
26250
|
+
var _rowAttributes_map;
|
|
26251
|
+
var rowData = Object.fromEntries((_rowAttributes_map = rowAttributes === null || rowAttributes === void 0 ? void 0 : rowAttributes.map(function(attribute) {
|
|
26252
|
+
return [
|
|
26253
|
+
attribute,
|
|
26254
|
+
item[attribute]
|
|
26255
|
+
];
|
|
26256
|
+
})) !== null && _rowAttributes_map !== void 0 ? _rowAttributes_map : []);
|
|
26200
26257
|
var handleMouseEnter = function(event) {
|
|
26201
26258
|
if (isNotEmpty(uniqueField) && isNotEmpty(onRowHover)) {
|
|
26202
26259
|
event.stopPropagation();
|
|
26203
26260
|
onRowHover(item[uniqueField]);
|
|
26261
|
+
}
|
|
26262
|
+
if (isFocusable) {
|
|
26204
26263
|
setFocused(true);
|
|
26205
26264
|
}
|
|
26206
26265
|
};
|
|
26207
26266
|
var handleMouseLeave = function() {
|
|
26208
26267
|
onRowHover === null || onRowHover === void 0 ? void 0 : onRowHover(void 0);
|
|
26209
|
-
|
|
26268
|
+
if (isFocusable) {
|
|
26269
|
+
setFocused(false);
|
|
26270
|
+
}
|
|
26210
26271
|
};
|
|
26211
26272
|
var closeNestedComponent = function() {
|
|
26212
26273
|
setNestedComponent({
|
|
@@ -26239,13 +26300,12 @@ function FlexibleTableRowInner(param) {
|
|
|
26239
26300
|
closeNestedComponent();
|
|
26240
26301
|
}
|
|
26241
26302
|
};
|
|
26242
|
-
var
|
|
26243
|
-
var TableCell = renderMode === "divs" ? "div" : "td";
|
|
26303
|
+
var Table = TableRenders[renderMode];
|
|
26244
26304
|
var _nestedComponent_component;
|
|
26245
26305
|
var _obj2;
|
|
26246
26306
|
return /* @__PURE__ */ jsxs(Fragment, {
|
|
26247
26307
|
children: [
|
|
26248
|
-
/* @__PURE__ */ jsx(
|
|
26308
|
+
/* @__PURE__ */ jsx(Table.Row, _object_spread_props$i(_object_spread$j({
|
|
26249
26309
|
className: clsx(classes.root, (_obj2 = {}, _define_property$k(_obj2, classes.active, isActive), _define_property$k(_obj2, classes.editable, isEditable), _define_property$k(_obj2, classes.clickable, isClickable), _obj2))
|
|
26250
26310
|
}, !isLoading && {
|
|
26251
26311
|
onClick: handleRowClick,
|
|
@@ -26267,6 +26327,7 @@ function FlexibleTableRowInner(param) {
|
|
|
26267
26327
|
tweakStyles: tweakTableCellStyles,
|
|
26268
26328
|
renderMode,
|
|
26269
26329
|
isFocusedRow: isFocused,
|
|
26330
|
+
isActiveRow: isActive,
|
|
26270
26331
|
isNestedComponentExpanded: isNestedComponentExpanded && nestedComponentCellKey === key,
|
|
26271
26332
|
isRowNestedComponentExpanded: isNestedComponentExpanded && isEmpty(nestedComponentCellKey),
|
|
26272
26333
|
onSetNestedComponent: function(component) {
|
|
@@ -26275,9 +26336,9 @@ function FlexibleTableRowInner(param) {
|
|
|
26275
26336
|
}, key);
|
|
26276
26337
|
})
|
|
26277
26338
|
})),
|
|
26278
|
-
isNestedComponentExpanded && /* @__PURE__ */ jsx(
|
|
26339
|
+
isNestedComponentExpanded && /* @__PURE__ */ jsx(Table.Row, {
|
|
26279
26340
|
className: classes.root,
|
|
26280
|
-
children: /* @__PURE__ */ jsx(
|
|
26341
|
+
children: /* @__PURE__ */ jsx(Table.Cell, {
|
|
26281
26342
|
className: classes.nestedComponent,
|
|
26282
26343
|
colSpan: columns.length,
|
|
26283
26344
|
children: (_nestedComponent_component = nestedComponent.component) !== null && _nestedComponent_component !== void 0 ? _nestedComponent_component : expandableRowComponent === null || expandableRowComponent === void 0 ? void 0 : expandableRowComponent(item, true, closeNestedComponent)
|
|
@@ -26372,13 +26433,17 @@ function _object_without_properties_loose$6(source, excluded) {
|
|
|
26372
26433
|
return target;
|
|
26373
26434
|
}
|
|
26374
26435
|
function FlexibleTable(_param) {
|
|
26375
|
-
var content = _param.content, headerContent = _param.headerContent, config = _param.config, enabledColumns = _param.enabledColumns, _param_isLoading = _param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_isHorizontallyScrollable = _param.isHorizontallyScrollable, isHorizontallyScrollable = _param_isHorizontallyScrollable === void 0 ? false : _param_isHorizontallyScrollable, infinityScrollConfig = _param.infinityScrollConfig, _param_renderMode = _param.renderMode, renderMode = _param_renderMode === void 0 ? "table" : _param_renderMode, refForScroll = _param.refForScroll, nothingFoundContent = _param.nothingFoundContent, data = _param.data, testId = _param.testId, tweakStyles = _param.tweakStyles, onHeadClick = _param.onHeadClick, restProps = _object_without_properties$6(_param, [
|
|
26436
|
+
var content = _param.content, headerContent = _param.headerContent, config = _param.config, enabledColumns = _param.enabledColumns, activeRows = _param.activeRows, uniqueField = _param.uniqueField, _param_isLoading = _param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_isFirstColumnSticky = _param.isFirstColumnSticky, isFirstColumnSticky = _param_isFirstColumnSticky === void 0 ? false : _param_isFirstColumnSticky, _param_isHorizontallyScrollable = _param.isHorizontallyScrollable, isHorizontallyScrollable = _param_isHorizontallyScrollable === void 0 ? false : _param_isHorizontallyScrollable, _param_isRowFocusable = _param.isRowFocusable, isRowFocusable = _param_isRowFocusable === void 0 ? false : _param_isRowFocusable, infinityScrollConfig = _param.infinityScrollConfig, _param_renderMode = _param.renderMode, renderMode = _param_renderMode === void 0 ? "table" : _param_renderMode, refForScroll = _param.refForScroll, nothingFoundContent = _param.nothingFoundContent, data = _param.data, testId = _param.testId, tweakStyles = _param.tweakStyles, onHeadClick = _param.onHeadClick, restProps = _object_without_properties$6(_param, [
|
|
26376
26437
|
"content",
|
|
26377
26438
|
"headerContent",
|
|
26378
26439
|
"config",
|
|
26379
26440
|
"enabledColumns",
|
|
26441
|
+
"activeRows",
|
|
26442
|
+
"uniqueField",
|
|
26380
26443
|
"isLoading",
|
|
26444
|
+
"isFirstColumnSticky",
|
|
26381
26445
|
"isHorizontallyScrollable",
|
|
26446
|
+
"isRowFocusable",
|
|
26382
26447
|
"infinityScrollConfig",
|
|
26383
26448
|
"renderMode",
|
|
26384
26449
|
"refForScroll",
|
|
@@ -26405,12 +26470,14 @@ function FlexibleTable(_param) {
|
|
|
26405
26470
|
config
|
|
26406
26471
|
]);
|
|
26407
26472
|
var hasInfiniteScroll = isNotEmpty(infinityScrollConfig);
|
|
26408
|
-
var uniqueField = restProps.uniqueField, _restProps_isFirstColumnSticky = restProps.isFirstColumnSticky, isFirstColumnSticky = _restProps_isFirstColumnSticky === void 0 ? false : _restProps_isFirstColumnSticky;
|
|
26409
26473
|
var tableRowProps = _object_spread_props$h(_object_spread$i({}, restProps), {
|
|
26410
26474
|
renderMode,
|
|
26411
26475
|
config,
|
|
26412
26476
|
columns,
|
|
26477
|
+
uniqueField,
|
|
26413
26478
|
isLoading,
|
|
26479
|
+
isFirstColumnSticky,
|
|
26480
|
+
isFocusable: isRowFocusable,
|
|
26414
26481
|
tweakStyles: tweakTableRowStyles
|
|
26415
26482
|
});
|
|
26416
26483
|
var getDataScrollAttributeSetter = useCallback(function(key, setter) {
|
|
@@ -26487,30 +26554,30 @@ function FlexibleTable(_param) {
|
|
|
26487
26554
|
setIsScrolledAttribute,
|
|
26488
26555
|
setHasScrollBarAttribute
|
|
26489
26556
|
]);
|
|
26490
|
-
var
|
|
26491
|
-
|
|
26492
|
-
|
|
26493
|
-
|
|
26494
|
-
|
|
26495
|
-
var
|
|
26557
|
+
var activeRowsSet = useMemo(function() {
|
|
26558
|
+
return new Set(activeRows);
|
|
26559
|
+
}, [
|
|
26560
|
+
activeRows
|
|
26561
|
+
]);
|
|
26562
|
+
var Table = TableRenders[renderMode];
|
|
26496
26563
|
return /* @__PURE__ */ jsx("div", {
|
|
26497
26564
|
ref,
|
|
26498
26565
|
className: clsx(_define_property$j({}, classes.scroll, isHorizontallyScrollable)),
|
|
26499
|
-
children: /* @__PURE__ */ jsxs(Table, _object_spread_props$h(_object_spread$i({
|
|
26566
|
+
children: /* @__PURE__ */ jsxs(Table.Root, _object_spread_props$h(_object_spread$i({
|
|
26500
26567
|
className: classes.root
|
|
26501
26568
|
}, addDataTestId(testId), addDataAttributes(_object_spread_props$h(_object_spread$i({}, data), {
|
|
26502
26569
|
isLoading
|
|
26503
26570
|
}))), {
|
|
26504
26571
|
children: [
|
|
26505
|
-
/* @__PURE__ */ jsx(
|
|
26572
|
+
/* @__PURE__ */ jsx(Table.Head, {
|
|
26506
26573
|
className: classes.head,
|
|
26507
|
-
children: /* @__PURE__ */ jsx(
|
|
26574
|
+
children: /* @__PURE__ */ jsx(Table.Row, {
|
|
26508
26575
|
className: classes.headerRow,
|
|
26509
26576
|
children: columns.map(function(key, i) {
|
|
26510
26577
|
var itemConfig = config === null || config === void 0 ? void 0 : config[key];
|
|
26511
26578
|
var _itemConfig_titleAlign, _itemConfig_title;
|
|
26512
26579
|
var _obj2;
|
|
26513
|
-
return /* @__PURE__ */ jsx(
|
|
26580
|
+
return /* @__PURE__ */ jsx(Table.Header, _object_spread_props$h(_object_spread$i({
|
|
26514
26581
|
className: clsx(classes.header, (_obj2 = {}, _define_property$j(_obj2, classes.headerSticky, isFirstColumnSticky && i === 0), _define_property$j(_obj2, classes.headerSecond, isFirstColumnSticky && i === 1), _obj2)),
|
|
26515
26582
|
style: {
|
|
26516
26583
|
minWidth: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.minWidth,
|
|
@@ -26531,7 +26598,7 @@ function FlexibleTable(_param) {
|
|
|
26531
26598
|
})
|
|
26532
26599
|
})
|
|
26533
26600
|
}),
|
|
26534
|
-
/* @__PURE__ */ jsx(
|
|
26601
|
+
/* @__PURE__ */ jsx(Table.Body, {
|
|
26535
26602
|
className: classes.body,
|
|
26536
26603
|
children: isLoading ? indexMap(6, function(i) {
|
|
26537
26604
|
return /* @__PURE__ */ createElement(FlexibleTableRow, _object_spread_props$h(_object_spread$i({}, tableRowProps), {
|
|
@@ -26541,9 +26608,9 @@ function FlexibleTable(_param) {
|
|
|
26541
26608
|
}));
|
|
26542
26609
|
}) : /* @__PURE__ */ jsxs(Fragment, {
|
|
26543
26610
|
children: [
|
|
26544
|
-
shouldShowNothingFound && /* @__PURE__ */ jsx(
|
|
26611
|
+
shouldShowNothingFound && /* @__PURE__ */ jsx(Table.Row, {
|
|
26545
26612
|
className: classes.nothingFoundRow,
|
|
26546
|
-
children: /* @__PURE__ */ jsx(
|
|
26613
|
+
children: /* @__PURE__ */ jsx(Table.Cell, {
|
|
26547
26614
|
className: classes.nothingFound,
|
|
26548
26615
|
colSpan: columns.length,
|
|
26549
26616
|
children: nothingFoundContent
|
|
@@ -26551,14 +26618,15 @@ function FlexibleTable(_param) {
|
|
|
26551
26618
|
}),
|
|
26552
26619
|
content.map(function(item, i) {
|
|
26553
26620
|
return /* @__PURE__ */ createElement(FlexibleTableRow, _object_spread_props$h(_object_spread$i({}, tableRowProps), {
|
|
26621
|
+
isActive: activeRowsSet.has(i),
|
|
26554
26622
|
key: isNotEmpty(uniqueField) ? item[uniqueField] : i,
|
|
26555
26623
|
item,
|
|
26556
26624
|
index: i
|
|
26557
26625
|
}));
|
|
26558
26626
|
}),
|
|
26559
|
-
hasInfiniteScroll && !infinityScrollConfig.isLastPage && /* @__PURE__ */ jsx(
|
|
26627
|
+
hasInfiniteScroll && !infinityScrollConfig.isLastPage && /* @__PURE__ */ jsx(Table.Row, {
|
|
26560
26628
|
className: classes.loaderRow,
|
|
26561
|
-
children: /* @__PURE__ */ jsx(
|
|
26629
|
+
children: /* @__PURE__ */ jsx(Table.Cell, {
|
|
26562
26630
|
className: classes.loaderCell,
|
|
26563
26631
|
colSpan: columns.length,
|
|
26564
26632
|
children: /* @__PURE__ */ jsx("div", {
|