@true-engineering/true-react-common-ui-kit 3.33.2 → 3.35.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 +13 -0
- 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 +31 -29
- package/dist/components/FlexibleTable/FlexibleTable.stories.d.ts +19 -19
- 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 +31 -31
- 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 -3
- 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 +55 -55
- 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 +17 -17
- 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 +33 -33
- 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 +19 -19
- 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 +126 -279
- package/dist/true-react-common-ui-kit.js.map +1 -1
- package/dist/true-react-common-ui-kit.umd.cjs +126 -279
- package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
- package/dist/types.d.ts +44 -44
- 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 -131
- 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 +300 -300
- package/src/components/FlexibleTable/FlexibleTable.styles.ts +111 -111
- package/src/components/FlexibleTable/FlexibleTable.tsx +308 -303
- package/src/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.styles.ts +39 -39
- package/src/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.tsx +103 -97
- 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 +193 -193
- 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 -8
- package/src/components/FlexibleTable/helpers.ts +16 -16
- package/src/components/FlexibleTable/index.ts +4 -4
- package/src/components/FlexibleTable/types.ts +76 -76
- 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 +855 -855
- 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 +68 -68
- 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 +55 -55
- package/src/components/Notification/Notification.styles.ts +57 -57
- package/src/components/Notification/Notification.tsx +77 -77
- 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 +654 -654
- 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 +96 -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 +100 -100
- package/src/components/WithPopup/WithPopup.styles.ts +42 -42
- package/src/components/WithPopup/WithPopup.tsx +183 -183
- package/src/components/WithPopup/constants.ts +3 -3
- package/src/components/WithPopup/index.ts +2 -2
- package/src/components/WithPopup/types.ts +25 -25
- 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 +62 -62
- 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\r
|
|
6672
|
+
width="100%"\r
|
|
6673
|
+
height="100%"\r
|
|
6674
|
+
viewBox="0 0 32 32"\r
|
|
6675
|
+
fill="none"\r
|
|
6676
|
+
xmlns="http://www.w3.org/2000/svg"\r
|
|
6677
|
+
>\r
|
|
6678
|
+
<circle opacity="0.5" cx="16" cy="16" r="16" fill="#DDE3ED" />\r
|
|
6679
|
+
<mask\r
|
|
6680
|
+
id="mask0_0_12744"\r
|
|
6681
|
+
style="mask-type: 'alpha';"\r
|
|
6682
|
+
maskUnits="userSpaceOnUse"\r
|
|
6683
|
+
x="0"\r
|
|
6684
|
+
y="0"\r
|
|
6685
|
+
width="32"\r
|
|
6686
|
+
height="32"\r
|
|
6687
|
+
>\r
|
|
6688
|
+
<circle cx="16" cy="16" r="16" fill="white" />\r
|
|
6689
|
+
</mask>\r
|
|
6690
|
+
<g mask="url(#mask0_0_12744)">\r
|
|
6691
|
+
<circle cx="16" cy="29" r="13" fill="url(#paint0_linear_0_12744)" />\r
|
|
6692
|
+
<mask\r
|
|
6693
|
+
id="mask1_0_12744"\r
|
|
6694
|
+
style="mask-type: 'alpha';"\r
|
|
6695
|
+
maskUnits="userSpaceOnUse"\r
|
|
6696
|
+
x="3"\r
|
|
6697
|
+
y="16"\r
|
|
6698
|
+
width="26"\r
|
|
6699
|
+
height="26"\r
|
|
6700
|
+
>\r
|
|
6701
|
+
<circle cx="16" cy="29" r="13" fill="white" />\r
|
|
6702
|
+
</mask>\r
|
|
6703
|
+
<g mask="url(#mask1_0_12744)">\r
|
|
6704
|
+
<ellipse\r
|
|
6705
|
+
cx="16"\r
|
|
6706
|
+
cy="17.5"\r
|
|
6707
|
+
rx="6"\r
|
|
6708
|
+
ry="7.5"\r
|
|
6709
|
+
fill="#505F79"\r
|
|
6710
|
+
fill-opacity="0.204983"\r
|
|
6711
|
+
/>\r
|
|
6712
|
+
</g>\r
|
|
6713
|
+
</g>\r
|
|
6714
|
+
<ellipse cx="16" cy="13" rx="6" ry="7" fill="white" />\r
|
|
6715
|
+
<defs>\r
|
|
6716
|
+
<linearGradient\r
|
|
6717
|
+
id="paint0_linear_0_12744"\r
|
|
6718
|
+
x1="13.347"\r
|
|
6719
|
+
y1="46.279"\r
|
|
6720
|
+
x2="33.5318"\r
|
|
6721
|
+
y2="30.8088"\r
|
|
6722
|
+
gradientUnits="userSpaceOnUse"\r
|
|
6723
|
+
>\r
|
|
6724
|
+
<stop stop-color="#ABD229" />\r
|
|
6725
|
+
<stop offset="1" stop-color="#9CD03F" />\r
|
|
6726
|
+
</linearGradient>\r
|
|
6727
|
+
</defs>\r
|
|
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">\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>';
|
|
6729
|
+
const fileExcel = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">\r\n <rect width="20" height="20" rx="4" fill="#21A366"/>\r\n <rect width="20" height="20" rx="4" fill="url(#paint0_linear_0_16081)" style="mix-blend-mode:overlay"/>\r\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"/>\r\n <defs>\r\n <linearGradient id="paint0_linear_0_16081" x1="-9.95187" y1="9.95187" x2="9.95187" y2="29.8556" gradientUnits="userSpaceOnUse">\r\n <stop stop-color="white" stop-opacity="0.245559"/>\r\n <stop offset="1" stop-opacity="0.498578"/>\r\n </linearGradient>\r\n </defs>\r\n</svg>';
|
|
6730
|
+
const fileImage = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">\r\n <rect width="20" height="20" rx="4" fill="#FF991F"/>\r\n <rect width="20" height="20" rx="4" fill="url(#paint0_linear_0_16103)" style="mix-blend-mode:overlay"/>\r\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"/>\r\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"/>\r\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"/>\r\n <defs>\r\n <linearGradient id="paint0_linear_0_16103" x1="-9.95187" y1="9.95187" x2="9.95187" y2="29.8556" gradientUnits="userSpaceOnUse">\r\n <stop stop-color="white" stop-opacity="0.245559"/>\r\n <stop offset="1" stop-opacity="0.498578"/>\r\n </linearGradient>\r\n </defs>\r\n</svg>';
|
|
6731
|
+
const fileOther = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">\r\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"/>\r\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"/>\r\n <defs>\r\n <linearGradient id="paint0_linear_0_16113" x1="-5.9615" y1="9.95168" x2="13.4572" y2="25.4862" gradientUnits="userSpaceOnUse">\r\n <stop stop-color="white" stop-opacity="0.245559"/>\r\n <stop offset="1" stop-opacity="0.498578"/>\r\n </linearGradient>\r\n </defs>\r\n</svg>';
|
|
6732
|
+
const filePdf = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">\r\n <rect width="20" height="20" rx="4" fill="#FF5630"/>\r\n <rect width="20" height="20" rx="4" fill="url(#paint0_linear_0_16087)" style="mix-blend-mode:overlay"/>\r\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"/>\r\n <defs>\r\n <linearGradient id="paint0_linear_0_16087" x1="-9.95187" y1="9.95187" x2="9.95187" y2="29.8556" gradientUnits="userSpaceOnUse">\r\n <stop stop-color="white" stop-opacity="0.245559"/>\r\n <stop offset="1" stop-opacity="0.498578"/>\r\n </linearGradient>\r\n </defs>\r\n</svg>';
|
|
6733
|
+
const fileWord = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">\r\n <rect width="20" height="20" rx="4" fill="#2C7CD3"/>\r\n <rect width="20" height="20" rx="4" fill="url(#paint0_linear_0_16075)" style="mix-blend-mode:overlay"/>\r\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"/>\r\n <defs>\r\n <linearGradient id="paint0_linear_0_16075" x1="-9.95187" y1="9.95187" x2="9.95187" y2="29.8556" gradientUnits="userSpaceOnUse">\r\n <stop stop-color="white" stop-opacity="0.245559"/>\r\n <stop offset="1" stop-opacity="0.498578"/>\r\n </linearGradient>\r\n </defs>\r\n</svg>';
|
|
6734
|
+
const fileXml = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">\r\n <rect width="20" height="20" rx="4" fill="#FF991F"/>\r\n <rect width="20" height="20" rx="4" fill="url(#paint0_linear_2163_24057)" style="mix-blend-mode:overlay"/>\r\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"/>\r\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"/>\r\n <path d="M14.8685 5.99658V13.0001H18.89V11.6666H16.5275V5.99658H14.8685Z" fill="white"/>\r\n <defs>\r\n <linearGradient id="paint0_linear_2163_24057" x1="-9.95187" y1="9.95187" x2="9.95187" y2="29.8556" gradientUnits="userSpaceOnUse">\r\n <stop stop-color="white" stop-opacity="0.245559"/>\r\n <stop offset="1" stop-opacity="0.498578"/>\r\n </linearGradient>\r\n </defs>\r\n</svg>';
|
|
6735
|
+
const fileZip = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">\r\n <g clip-path="url(#clip0_922_22603)">\r\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"/>\r\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"/>\r\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"/>\r\n </g>\r\n <defs>\r\n <linearGradient id="paint0_linear_922_22603" x1="-9.95187" y1="9.95187" x2="9.95187" y2="29.8556" gradientUnits="userSpaceOnUse">\r\n <stop stop-color="white" stop-opacity="0.245559"/>\r\n <stop offset="1" stop-opacity="0.498578"/>\r\n </linearGradient>\r\n <clipPath id="clip0_922_22603">\r\n <rect width="20" height="20" fill="white"/>\r\n </clipPath>\r\n </defs>\r\n</svg>';
|
|
6736
6736
|
var complexIcons = {
|
|
6737
6737
|
avatar: avatarGreen,
|
|
6738
6738
|
"file-excel": fileExcel,
|
|
@@ -9903,7 +9903,7 @@ function _array_with_holes$k(arr) {
|
|
|
9903
9903
|
if (Array.isArray(arr))
|
|
9904
9904
|
return arr;
|
|
9905
9905
|
}
|
|
9906
|
-
function asyncGeneratorStep$
|
|
9906
|
+
function asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, key, arg) {
|
|
9907
9907
|
try {
|
|
9908
9908
|
var info = gen[key](arg);
|
|
9909
9909
|
var value = info.value;
|
|
@@ -9917,16 +9917,16 @@ function asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
9917
9917
|
Promise.resolve(value).then(_next, _throw);
|
|
9918
9918
|
}
|
|
9919
9919
|
}
|
|
9920
|
-
function _async_to_generator$
|
|
9920
|
+
function _async_to_generator$4(fn3) {
|
|
9921
9921
|
return function() {
|
|
9922
9922
|
var self2 = this, args = arguments;
|
|
9923
9923
|
return new Promise(function(resolve, reject) {
|
|
9924
9924
|
var gen = fn3.apply(self2, args);
|
|
9925
9925
|
function _next(value) {
|
|
9926
|
-
asyncGeneratorStep$
|
|
9926
|
+
asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, "next", value);
|
|
9927
9927
|
}
|
|
9928
9928
|
function _throw(err) {
|
|
9929
|
-
asyncGeneratorStep$
|
|
9929
|
+
asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, "throw", err);
|
|
9930
9930
|
}
|
|
9931
9931
|
_next(void 0);
|
|
9932
9932
|
});
|
|
@@ -10063,7 +10063,7 @@ function _unsupported_iterable_to_array$k(o, minLen) {
|
|
|
10063
10063
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
10064
10064
|
return _array_like_to_array$k(o, minLen);
|
|
10065
10065
|
}
|
|
10066
|
-
function _ts_generator$
|
|
10066
|
+
function _ts_generator$4(thisArg, body) {
|
|
10067
10067
|
var f, y, t, g, _ = {
|
|
10068
10068
|
label: 0,
|
|
10069
10069
|
sent: function() {
|
|
@@ -10225,9 +10225,9 @@ var Input = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
|
10225
10225
|
onBlur === null || onBlur === void 0 ? void 0 : onBlur(event);
|
|
10226
10226
|
};
|
|
10227
10227
|
var handleOnInputClear = function() {
|
|
10228
|
-
var _ref = _async_to_generator$
|
|
10228
|
+
var _ref = _async_to_generator$4(function(event) {
|
|
10229
10229
|
var _input_current, input;
|
|
10230
|
-
return _ts_generator$
|
|
10230
|
+
return _ts_generator$4(this, function(_state) {
|
|
10231
10231
|
switch (_state.label) {
|
|
10232
10232
|
case 0:
|
|
10233
10233
|
return [
|
|
@@ -11345,7 +11345,7 @@ function _array_without_holes$6(arr) {
|
|
|
11345
11345
|
if (Array.isArray(arr))
|
|
11346
11346
|
return _array_like_to_array$j(arr);
|
|
11347
11347
|
}
|
|
11348
|
-
function asyncGeneratorStep$
|
|
11348
|
+
function asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, key, arg) {
|
|
11349
11349
|
try {
|
|
11350
11350
|
var info = gen[key](arg);
|
|
11351
11351
|
var value = info.value;
|
|
@@ -11359,16 +11359,16 @@ function asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
11359
11359
|
Promise.resolve(value).then(_next, _throw);
|
|
11360
11360
|
}
|
|
11361
11361
|
}
|
|
11362
|
-
function _async_to_generator$
|
|
11362
|
+
function _async_to_generator$3(fn3) {
|
|
11363
11363
|
return function() {
|
|
11364
11364
|
var self2 = this, args = arguments;
|
|
11365
11365
|
return new Promise(function(resolve, reject) {
|
|
11366
11366
|
var gen = fn3.apply(self2, args);
|
|
11367
11367
|
function _next(value) {
|
|
11368
|
-
asyncGeneratorStep$
|
|
11368
|
+
asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, "next", value);
|
|
11369
11369
|
}
|
|
11370
11370
|
function _throw(err) {
|
|
11371
|
-
asyncGeneratorStep$
|
|
11371
|
+
asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, "throw", err);
|
|
11372
11372
|
}
|
|
11373
11373
|
_next(void 0);
|
|
11374
11374
|
});
|
|
@@ -11515,7 +11515,7 @@ function _unsupported_iterable_to_array$j(o, minLen) {
|
|
|
11515
11515
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
11516
11516
|
return _array_like_to_array$j(o, minLen);
|
|
11517
11517
|
}
|
|
11518
|
-
function _ts_generator$
|
|
11518
|
+
function _ts_generator$3(thisArg, body) {
|
|
11519
11519
|
var f, y, t, g, _ = {
|
|
11520
11520
|
label: 0,
|
|
11521
11521
|
sent: function() {
|
|
@@ -11859,8 +11859,8 @@ function Select(props) {
|
|
|
11859
11859
|
convertToId
|
|
11860
11860
|
]);
|
|
11861
11861
|
var handleOnType = useCallback(function() {
|
|
11862
|
-
var _ref2 = _async_to_generator$
|
|
11863
|
-
return _ts_generator$
|
|
11862
|
+
var _ref2 = _async_to_generator$3(function(v) {
|
|
11863
|
+
return _ts_generator$3(this, function(_state) {
|
|
11864
11864
|
switch (_state.label) {
|
|
11865
11865
|
case 0:
|
|
11866
11866
|
if (onType === void 0) {
|
|
@@ -14157,7 +14157,7 @@ function _array_with_holes$e(arr) {
|
|
|
14157
14157
|
if (Array.isArray(arr))
|
|
14158
14158
|
return arr;
|
|
14159
14159
|
}
|
|
14160
|
-
function asyncGeneratorStep$
|
|
14160
|
+
function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
|
|
14161
14161
|
try {
|
|
14162
14162
|
var info = gen[key](arg);
|
|
14163
14163
|
var value = info.value;
|
|
@@ -14171,16 +14171,16 @@ function asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
14171
14171
|
Promise.resolve(value).then(_next, _throw);
|
|
14172
14172
|
}
|
|
14173
14173
|
}
|
|
14174
|
-
function _async_to_generator$
|
|
14174
|
+
function _async_to_generator$2(fn3) {
|
|
14175
14175
|
return function() {
|
|
14176
14176
|
var self2 = this, args = arguments;
|
|
14177
14177
|
return new Promise(function(resolve, reject) {
|
|
14178
14178
|
var gen = fn3.apply(self2, args);
|
|
14179
14179
|
function _next(value) {
|
|
14180
|
-
asyncGeneratorStep$
|
|
14180
|
+
asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, "next", value);
|
|
14181
14181
|
}
|
|
14182
14182
|
function _throw(err) {
|
|
14183
|
-
asyncGeneratorStep$
|
|
14183
|
+
asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, "throw", err);
|
|
14184
14184
|
}
|
|
14185
14185
|
_next(void 0);
|
|
14186
14186
|
});
|
|
@@ -14293,7 +14293,7 @@ function _unsupported_iterable_to_array$e(o, minLen) {
|
|
|
14293
14293
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
14294
14294
|
return _array_like_to_array$e(o, minLen);
|
|
14295
14295
|
}
|
|
14296
|
-
function _ts_generator$
|
|
14296
|
+
function _ts_generator$2(thisArg, body) {
|
|
14297
14297
|
var f, y, t, g, _ = {
|
|
14298
14298
|
label: 0,
|
|
14299
14299
|
sent: function() {
|
|
@@ -14419,9 +14419,9 @@ var NumberInput = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
|
14419
14419
|
setShowedValue(isStringNotEmpty(v) ? v : formatNumber(defaultValue));
|
|
14420
14420
|
};
|
|
14421
14421
|
var handleChange = function() {
|
|
14422
|
-
var _ref = _async_to_generator$
|
|
14422
|
+
var _ref = _async_to_generator$2(function(inputValue, event) {
|
|
14423
14423
|
var oldValue, target, _target_selectionStart, defaultCaretPos, numString, numberRegexp, hasDot, formattedValue, newValue;
|
|
14424
|
-
return _ts_generator$
|
|
14424
|
+
return _ts_generator$2(this, function(_state) {
|
|
14425
14425
|
switch (_state.label) {
|
|
14426
14426
|
case 0:
|
|
14427
14427
|
oldValue = showedValue;
|
|
@@ -15244,7 +15244,7 @@ function _array_without_holes$3(arr) {
|
|
|
15244
15244
|
if (Array.isArray(arr))
|
|
15245
15245
|
return _array_like_to_array$d(arr);
|
|
15246
15246
|
}
|
|
15247
|
-
function asyncGeneratorStep$
|
|
15247
|
+
function asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, key, arg) {
|
|
15248
15248
|
try {
|
|
15249
15249
|
var info = gen[key](arg);
|
|
15250
15250
|
var value = info.value;
|
|
@@ -15258,16 +15258,16 @@ function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
15258
15258
|
Promise.resolve(value).then(_next, _throw);
|
|
15259
15259
|
}
|
|
15260
15260
|
}
|
|
15261
|
-
function _async_to_generator$
|
|
15261
|
+
function _async_to_generator$1(fn3) {
|
|
15262
15262
|
return function() {
|
|
15263
15263
|
var self2 = this, args = arguments;
|
|
15264
15264
|
return new Promise(function(resolve, reject) {
|
|
15265
15265
|
var gen = fn3.apply(self2, args);
|
|
15266
15266
|
function _next(value) {
|
|
15267
|
-
asyncGeneratorStep$
|
|
15267
|
+
asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, "next", value);
|
|
15268
15268
|
}
|
|
15269
15269
|
function _throw(err) {
|
|
15270
|
-
asyncGeneratorStep$
|
|
15270
|
+
asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, "throw", err);
|
|
15271
15271
|
}
|
|
15272
15272
|
_next(void 0);
|
|
15273
15273
|
});
|
|
@@ -15382,7 +15382,7 @@ function _unsupported_iterable_to_array$d(o, minLen) {
|
|
|
15382
15382
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
15383
15383
|
return _array_like_to_array$d(o, minLen);
|
|
15384
15384
|
}
|
|
15385
|
-
function _ts_generator$
|
|
15385
|
+
function _ts_generator$1(thisArg, body) {
|
|
15386
15386
|
var f, y, t, g, _ = {
|
|
15387
15387
|
label: 0,
|
|
15388
15388
|
sent: function() {
|
|
@@ -15539,9 +15539,9 @@ function MultiSelectList(param) {
|
|
|
15539
15539
|
chosenValuesIds
|
|
15540
15540
|
]);
|
|
15541
15541
|
var handleSearchInputChange = useCallback(function() {
|
|
15542
|
-
var _ref = _async_to_generator$
|
|
15542
|
+
var _ref = _async_to_generator$1(function(inputValue) {
|
|
15543
15543
|
var _inputValue_trim, response;
|
|
15544
|
-
return _ts_generator$
|
|
15544
|
+
return _ts_generator$1(this, function(_state) {
|
|
15545
15545
|
switch (_state.label) {
|
|
15546
15546
|
case 0:
|
|
15547
15547
|
if (fetchOptions === void 0) {
|
|
@@ -15686,9 +15686,9 @@ function MultiSelectList(param) {
|
|
|
15686
15686
|
});
|
|
15687
15687
|
};
|
|
15688
15688
|
var handleLoadItemsOnScroll = useCallback(function() {
|
|
15689
|
-
var _ref = _async_to_generator$
|
|
15689
|
+
var _ref = _async_to_generator$1(function(inputValue, page) {
|
|
15690
15690
|
var response;
|
|
15691
|
-
return _ts_generator$
|
|
15691
|
+
return _ts_generator$1(this, function(_state) {
|
|
15692
15692
|
switch (_state.label) {
|
|
15693
15693
|
case 0:
|
|
15694
15694
|
if (fetchOptions === void 0) {
|
|
@@ -15754,8 +15754,8 @@ function MultiSelectList(param) {
|
|
|
15754
15754
|
observer.current.disconnect();
|
|
15755
15755
|
}
|
|
15756
15756
|
observer.current = new IntersectionObserver(function() {
|
|
15757
|
-
var _ref = _async_to_generator$
|
|
15758
|
-
return _ts_generator$
|
|
15757
|
+
var _ref = _async_to_generator$1(function(entries) {
|
|
15758
|
+
return _ts_generator$1(this, function(_state) {
|
|
15759
15759
|
switch (_state.label) {
|
|
15760
15760
|
case 0:
|
|
15761
15761
|
if (!entries[0].isIntersecting)
|
|
@@ -15802,9 +15802,9 @@ function MultiSelectList(param) {
|
|
|
15802
15802
|
return;
|
|
15803
15803
|
}
|
|
15804
15804
|
var doFetchOptions = function() {
|
|
15805
|
-
var _ref = _async_to_generator$
|
|
15805
|
+
var _ref = _async_to_generator$1(function() {
|
|
15806
15806
|
var response;
|
|
15807
|
-
return _ts_generator$
|
|
15807
|
+
return _ts_generator$1(this, function(_state) {
|
|
15808
15808
|
switch (_state.label) {
|
|
15809
15809
|
case 0:
|
|
15810
15810
|
setIsLoading(true);
|
|
@@ -16178,7 +16178,7 @@ function _array_without_holes$2(arr) {
|
|
|
16178
16178
|
if (Array.isArray(arr))
|
|
16179
16179
|
return _array_like_to_array$c(arr);
|
|
16180
16180
|
}
|
|
16181
|
-
function asyncGeneratorStep
|
|
16181
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
16182
16182
|
try {
|
|
16183
16183
|
var info = gen[key](arg);
|
|
16184
16184
|
var value = info.value;
|
|
@@ -16192,16 +16192,16 @@ function asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
16192
16192
|
Promise.resolve(value).then(_next, _throw);
|
|
16193
16193
|
}
|
|
16194
16194
|
}
|
|
16195
|
-
function _async_to_generator
|
|
16195
|
+
function _async_to_generator(fn3) {
|
|
16196
16196
|
return function() {
|
|
16197
16197
|
var self2 = this, args = arguments;
|
|
16198
16198
|
return new Promise(function(resolve, reject) {
|
|
16199
16199
|
var gen = fn3.apply(self2, args);
|
|
16200
16200
|
function _next(value) {
|
|
16201
|
-
asyncGeneratorStep
|
|
16201
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
16202
16202
|
}
|
|
16203
16203
|
function _throw(err) {
|
|
16204
|
-
asyncGeneratorStep
|
|
16204
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
16205
16205
|
}
|
|
16206
16206
|
_next(void 0);
|
|
16207
16207
|
});
|
|
@@ -16316,7 +16316,7 @@ function _unsupported_iterable_to_array$c(o, minLen) {
|
|
|
16316
16316
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
16317
16317
|
return _array_like_to_array$c(o, minLen);
|
|
16318
16318
|
}
|
|
16319
|
-
function _ts_generator
|
|
16319
|
+
function _ts_generator(thisArg, body) {
|
|
16320
16320
|
var f, y, t, g, _ = {
|
|
16321
16321
|
label: 0,
|
|
16322
16322
|
sent: function() {
|
|
@@ -16452,9 +16452,9 @@ function FilterSelect(param) {
|
|
|
16452
16452
|
var shouldShowPreloader = isLoading || isLoadingOptionsOnScroll;
|
|
16453
16453
|
var hasFooter = isReactNodeNotEmpty(footer);
|
|
16454
16454
|
var handleSearchInputChange = useCallback(function() {
|
|
16455
|
-
var _ref = _async_to_generator
|
|
16455
|
+
var _ref = _async_to_generator(function(inputValue) {
|
|
16456
16456
|
var _inputValue_trim, response;
|
|
16457
|
-
return _ts_generator
|
|
16457
|
+
return _ts_generator(this, function(_state) {
|
|
16458
16458
|
switch (_state.label) {
|
|
16459
16459
|
case 0:
|
|
16460
16460
|
if (fetchOptions === void 0) {
|
|
@@ -16536,9 +16536,9 @@ function FilterSelect(param) {
|
|
|
16536
16536
|
setSearchValue("");
|
|
16537
16537
|
};
|
|
16538
16538
|
var handleLoadItemsOnScroll = useCallback(function() {
|
|
16539
|
-
var _ref = _async_to_generator
|
|
16539
|
+
var _ref = _async_to_generator(function(inputValue, page) {
|
|
16540
16540
|
var _inputValue_trim, response;
|
|
16541
|
-
return _ts_generator
|
|
16541
|
+
return _ts_generator(this, function(_state) {
|
|
16542
16542
|
switch (_state.label) {
|
|
16543
16543
|
case 0:
|
|
16544
16544
|
if (fetchOptions === void 0) {
|
|
@@ -16602,8 +16602,8 @@ function FilterSelect(param) {
|
|
|
16602
16602
|
observer.current.disconnect();
|
|
16603
16603
|
}
|
|
16604
16604
|
observer.current = new IntersectionObserver(function() {
|
|
16605
|
-
var _ref = _async_to_generator
|
|
16606
|
-
return _ts_generator
|
|
16605
|
+
var _ref = _async_to_generator(function(entries) {
|
|
16606
|
+
return _ts_generator(this, function(_state) {
|
|
16607
16607
|
switch (_state.label) {
|
|
16608
16608
|
case 0:
|
|
16609
16609
|
if (!entries[0].isIntersecting)
|
|
@@ -16650,9 +16650,9 @@ function FilterSelect(param) {
|
|
|
16650
16650
|
return;
|
|
16651
16651
|
}
|
|
16652
16652
|
var doFetchOptions = function() {
|
|
16653
|
-
var _ref = _async_to_generator
|
|
16653
|
+
var _ref = _async_to_generator(function() {
|
|
16654
16654
|
var response;
|
|
16655
|
-
return _ts_generator
|
|
16655
|
+
return _ts_generator(this, function(_state) {
|
|
16656
16656
|
switch (_state.label) {
|
|
16657
16657
|
case 0:
|
|
16658
16658
|
setIsLoading(true);
|
|
@@ -26055,7 +26055,7 @@ function FlexibleTableCell(_param) {
|
|
|
26055
26055
|
});
|
|
26056
26056
|
var value = row[columnName];
|
|
26057
26057
|
var _config_columnName;
|
|
26058
|
-
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, _ref_shouldRenderComponent = _ref.shouldRenderComponent, shouldRenderComponent = _ref_shouldRenderComponent === void 0 ? isNotEmpty : _ref_shouldRenderComponent;
|
|
26058
|
+
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, width = _ref.width, maxWidth = _ref.maxWidth, minWidth = _ref.minWidth, left2 = _ref.left, right2 = _ref.right, position = _ref.position, cellAlign = _ref.cellAlign, cellVerticalAlign = _ref.cellVerticalAlign, shouldRenderDataId = _ref.shouldRenderDataId, _ref_shouldRenderComponent = _ref.shouldRenderComponent, shouldRenderComponent = _ref_shouldRenderComponent === void 0 ? isNotEmpty : _ref_shouldRenderComponent;
|
|
26059
26059
|
var isSticky = isOldSticky || position === "sticky";
|
|
26060
26060
|
var Table = TableRenders[renderMode];
|
|
26061
26061
|
var _obj2;
|
|
@@ -26064,6 +26064,9 @@ function FlexibleTableCell(_param) {
|
|
|
26064
26064
|
style: {
|
|
26065
26065
|
textAlign: cellAlign,
|
|
26066
26066
|
position: isSticky ? "sticky" : position,
|
|
26067
|
+
width,
|
|
26068
|
+
maxWidth,
|
|
26069
|
+
minWidth,
|
|
26067
26070
|
right: right2,
|
|
26068
26071
|
left: left2,
|
|
26069
26072
|
verticalAlign: cellVerticalAlign
|
|
@@ -26408,7 +26411,7 @@ function _object_without_properties_loose$6(source, excluded) {
|
|
|
26408
26411
|
return target;
|
|
26409
26412
|
}
|
|
26410
26413
|
function FlexibleTable(_param) {
|
|
26411
|
-
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, [
|
|
26414
|
+
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, shouldRenderHeader = _param.shouldRenderHeader, onHeadClick = _param.onHeadClick, restProps = _object_without_properties$6(_param, [
|
|
26412
26415
|
"content",
|
|
26413
26416
|
"headerContent",
|
|
26414
26417
|
"config",
|
|
@@ -26426,6 +26429,7 @@ function FlexibleTable(_param) {
|
|
|
26426
26429
|
"data",
|
|
26427
26430
|
"testId",
|
|
26428
26431
|
"tweakStyles",
|
|
26432
|
+
"shouldRenderHeader",
|
|
26429
26433
|
"onHeadClick"
|
|
26430
26434
|
]);
|
|
26431
26435
|
var classes = useStyles$j({
|
|
@@ -26544,7 +26548,7 @@ function FlexibleTable(_param) {
|
|
|
26544
26548
|
isLoading
|
|
26545
26549
|
}))), {
|
|
26546
26550
|
children: [
|
|
26547
|
-
/* @__PURE__ */ jsx(Table.Head, {
|
|
26551
|
+
shouldRenderHeader && /* @__PURE__ */ jsx(Table.Head, {
|
|
26548
26552
|
className: classes.head,
|
|
26549
26553
|
children: /* @__PURE__ */ jsx(Table.Row, {
|
|
26550
26554
|
className: classes.headerRow,
|
|
@@ -30733,35 +30737,6 @@ var useStyles$1 = createThemedStyles("Toaster", {
|
|
|
30733
30737
|
height: 32
|
|
30734
30738
|
}
|
|
30735
30739
|
});
|
|
30736
|
-
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
30737
|
-
try {
|
|
30738
|
-
var info = gen[key](arg);
|
|
30739
|
-
var value = info.value;
|
|
30740
|
-
} catch (error) {
|
|
30741
|
-
reject(error);
|
|
30742
|
-
return;
|
|
30743
|
-
}
|
|
30744
|
-
if (info.done) {
|
|
30745
|
-
resolve(value);
|
|
30746
|
-
} else {
|
|
30747
|
-
Promise.resolve(value).then(_next, _throw);
|
|
30748
|
-
}
|
|
30749
|
-
}
|
|
30750
|
-
function _async_to_generator(fn3) {
|
|
30751
|
-
return function() {
|
|
30752
|
-
var self2 = this, args = arguments;
|
|
30753
|
-
return new Promise(function(resolve, reject) {
|
|
30754
|
-
var gen = fn3.apply(self2, args);
|
|
30755
|
-
function _next(value) {
|
|
30756
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
30757
|
-
}
|
|
30758
|
-
function _throw(err) {
|
|
30759
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
30760
|
-
}
|
|
30761
|
-
_next(void 0);
|
|
30762
|
-
});
|
|
30763
|
-
};
|
|
30764
|
-
}
|
|
30765
30740
|
function _define_property$1(obj, key, value) {
|
|
30766
30741
|
if (key in obj) {
|
|
30767
30742
|
Object.defineProperty(obj, key, {
|
|
@@ -30814,110 +30789,8 @@ function _object_spread_props$1(target, source) {
|
|
|
30814
30789
|
}
|
|
30815
30790
|
return target;
|
|
30816
30791
|
}
|
|
30817
|
-
function _ts_generator(thisArg, body) {
|
|
30818
|
-
var f, y, t, g, _ = {
|
|
30819
|
-
label: 0,
|
|
30820
|
-
sent: function() {
|
|
30821
|
-
if (t[0] & 1)
|
|
30822
|
-
throw t[1];
|
|
30823
|
-
return t[1];
|
|
30824
|
-
},
|
|
30825
|
-
trys: [],
|
|
30826
|
-
ops: []
|
|
30827
|
-
};
|
|
30828
|
-
return g = {
|
|
30829
|
-
next: verb(0),
|
|
30830
|
-
"throw": verb(1),
|
|
30831
|
-
"return": verb(2)
|
|
30832
|
-
}, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
30833
|
-
return this;
|
|
30834
|
-
}), g;
|
|
30835
|
-
function verb(n) {
|
|
30836
|
-
return function(v) {
|
|
30837
|
-
return step([
|
|
30838
|
-
n,
|
|
30839
|
-
v
|
|
30840
|
-
]);
|
|
30841
|
-
};
|
|
30842
|
-
}
|
|
30843
|
-
function step(op) {
|
|
30844
|
-
if (f)
|
|
30845
|
-
throw new TypeError("Generator is already executing.");
|
|
30846
|
-
while (_)
|
|
30847
|
-
try {
|
|
30848
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
30849
|
-
return t;
|
|
30850
|
-
if (y = 0, t)
|
|
30851
|
-
op = [
|
|
30852
|
-
op[0] & 2,
|
|
30853
|
-
t.value
|
|
30854
|
-
];
|
|
30855
|
-
switch (op[0]) {
|
|
30856
|
-
case 0:
|
|
30857
|
-
case 1:
|
|
30858
|
-
t = op;
|
|
30859
|
-
break;
|
|
30860
|
-
case 4:
|
|
30861
|
-
_.label++;
|
|
30862
|
-
return {
|
|
30863
|
-
value: op[1],
|
|
30864
|
-
done: false
|
|
30865
|
-
};
|
|
30866
|
-
case 5:
|
|
30867
|
-
_.label++;
|
|
30868
|
-
y = op[1];
|
|
30869
|
-
op = [
|
|
30870
|
-
0
|
|
30871
|
-
];
|
|
30872
|
-
continue;
|
|
30873
|
-
case 7:
|
|
30874
|
-
op = _.ops.pop();
|
|
30875
|
-
_.trys.pop();
|
|
30876
|
-
continue;
|
|
30877
|
-
default:
|
|
30878
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
30879
|
-
_ = 0;
|
|
30880
|
-
continue;
|
|
30881
|
-
}
|
|
30882
|
-
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
30883
|
-
_.label = op[1];
|
|
30884
|
-
break;
|
|
30885
|
-
}
|
|
30886
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
30887
|
-
_.label = t[1];
|
|
30888
|
-
t = op;
|
|
30889
|
-
break;
|
|
30890
|
-
}
|
|
30891
|
-
if (t && _.label < t[2]) {
|
|
30892
|
-
_.label = t[2];
|
|
30893
|
-
_.ops.push(op);
|
|
30894
|
-
break;
|
|
30895
|
-
}
|
|
30896
|
-
if (t[2])
|
|
30897
|
-
_.ops.pop();
|
|
30898
|
-
_.trys.pop();
|
|
30899
|
-
continue;
|
|
30900
|
-
}
|
|
30901
|
-
op = body.call(thisArg, _);
|
|
30902
|
-
} catch (e) {
|
|
30903
|
-
op = [
|
|
30904
|
-
6,
|
|
30905
|
-
e
|
|
30906
|
-
];
|
|
30907
|
-
y = 0;
|
|
30908
|
-
} finally {
|
|
30909
|
-
f = t = 0;
|
|
30910
|
-
}
|
|
30911
|
-
if (op[0] & 5)
|
|
30912
|
-
throw op[1];
|
|
30913
|
-
return {
|
|
30914
|
-
value: op[0] ? op[1] : void 0,
|
|
30915
|
-
done: true
|
|
30916
|
-
};
|
|
30917
|
-
}
|
|
30918
|
-
}
|
|
30919
30792
|
var Toaster = function(param) {
|
|
30920
|
-
var
|
|
30793
|
+
var _param_type = param.type, type = _param_type === void 0 ? "error" : _param_type, title = param.title, text = param.text, children = param.children, _param_timeout = param.timeout, timeout = _param_timeout === void 0 ? DEFAULT_TIMEOUT : _param_timeout, _param_hasCloseButton = param.hasCloseButton, hasCloseButton = _param_hasCloseButton === void 0 ? false : _param_hasCloseButton, _param_shouldCloseOnClick = param.shouldCloseOnClick, shouldCloseOnClick = _param_shouldCloseOnClick === void 0 ? false : _param_shouldCloseOnClick, data = param.data, testId = param.testId, tweakStyles = param.tweakStyles, onClose = param.onClose, onTimeEnd = param.onTimeEnd;
|
|
30921
30794
|
var classes = useStyles$1({
|
|
30922
30795
|
theme: tweakStyles
|
|
30923
30796
|
});
|
|
@@ -30926,41 +30799,15 @@ var Toaster = function(param) {
|
|
|
30926
30799
|
className: "tweakCloseButton",
|
|
30927
30800
|
currentComponentName: "Toaster"
|
|
30928
30801
|
});
|
|
30929
|
-
var timeoutFunction;
|
|
30930
30802
|
useEffect(function() {
|
|
30931
|
-
if (
|
|
30803
|
+
if (!Number.isFinite(timeout) || isEmpty(onTimeEnd)) {
|
|
30932
30804
|
return;
|
|
30933
30805
|
}
|
|
30934
|
-
var
|
|
30935
|
-
|
|
30936
|
-
|
|
30937
|
-
switch (_state.label) {
|
|
30938
|
-
case 0:
|
|
30939
|
-
return [
|
|
30940
|
-
4,
|
|
30941
|
-
new Promise(function(resolve) {
|
|
30942
|
-
timeoutFunction = setTimeout(function() {
|
|
30943
|
-
resolve(void 0);
|
|
30944
|
-
}, timeout);
|
|
30945
|
-
})
|
|
30946
|
-
];
|
|
30947
|
-
case 1:
|
|
30948
|
-
_state.sent();
|
|
30949
|
-
onTimeEnd();
|
|
30950
|
-
clearTimeout(timeoutFunction);
|
|
30951
|
-
return [
|
|
30952
|
-
2
|
|
30953
|
-
];
|
|
30954
|
-
}
|
|
30955
|
-
});
|
|
30956
|
-
});
|
|
30957
|
-
return function disappear2() {
|
|
30958
|
-
return _ref.apply(this, arguments);
|
|
30959
|
-
};
|
|
30960
|
-
}();
|
|
30961
|
-
disappear();
|
|
30806
|
+
var timeoutId = window.setTimeout(function() {
|
|
30807
|
+
return onTimeEnd();
|
|
30808
|
+
}, timeout);
|
|
30962
30809
|
return function() {
|
|
30963
|
-
return clearTimeout(
|
|
30810
|
+
return window.clearTimeout(timeoutId);
|
|
30964
30811
|
};
|
|
30965
30812
|
}, []);
|
|
30966
30813
|
return /* @__PURE__ */ jsxs("div", _object_spread_props$1(_object_spread$1({
|
|
@@ -30976,11 +30823,11 @@ var Toaster = function(param) {
|
|
|
30976
30823
|
}),
|
|
30977
30824
|
/* @__PURE__ */ jsxs("div", {
|
|
30978
30825
|
children: [
|
|
30979
|
-
|
|
30826
|
+
isReactNodeNotEmpty(title) && /* @__PURE__ */ jsx("div", {
|
|
30980
30827
|
className: classes.title,
|
|
30981
30828
|
children: title
|
|
30982
30829
|
}),
|
|
30983
|
-
|
|
30830
|
+
isReactNodeNotEmpty(text) && /* @__PURE__ */ jsx("div", {
|
|
30984
30831
|
className: classes.text,
|
|
30985
30832
|
children: text
|
|
30986
30833
|
}),
|