@expressms/smartapp-ui 2.8.2-alpha.13 → 2.8.2-alpha.15
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/build/main/index.d.ts +35 -35
- package/build/main/index.js +35 -35
- package/build/main/index.js.map +1 -1
- package/build/main//321/201omponents/ActionModal/ActionModal.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/ActionModal/ActionModal.js +4 -3
- package/build/main//321/201omponents/ActionModal/ActionModal.js.map +1 -0
- package/build/main//321/201omponents/ActionModal/index.d.ts +1 -0
- package/build/main//321/201omponents/ActionModal/index.js +2 -0
- package/build/main//321/201omponents/ActionModal/index.js.map +1 -0
- package/build/main//321/201omponents/ActionModal/types.js.map +1 -0
- package/build/main//321/201omponents/AttachedFile/AttachedFile.d.ts +8 -0
- package/build/main/{components → /321/201omponents}/AttachedFile/AttachedFile.js +2 -1
- package/build/main//321/201omponents/AttachedFile/AttachedFile.js.map +1 -0
- package/build/main//321/201omponents/AttachedFile/index.d.ts +1 -0
- package/build/main//321/201omponents/AttachedFile/index.js +2 -0
- package/build/main//321/201omponents/AttachedFile/index.js.map +1 -0
- package/build/main//321/201omponents/AttachedFile/types.js.map +1 -0
- package/build/main//321/201omponents/Avatar/Avatar.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/Avatar/Avatar.js +2 -1
- package/build/main//321/201omponents/Avatar/Avatar.js.map +1 -0
- package/build/main//321/201omponents/Avatar/index.d.ts +1 -0
- package/build/main//321/201omponents/Avatar/index.js +2 -0
- package/build/main//321/201omponents/Avatar/index.js.map +1 -0
- package/build/main//321/201omponents/Avatar/types.js.map +1 -0
- package/build/main//321/201omponents/Button/Button.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/Button/Button.js +2 -1
- package/build/main//321/201omponents/Button/Button.js.map +1 -0
- package/build/main//321/201omponents/Button/index.d.ts +1 -0
- package/build/main//321/201omponents/Button/index.js +2 -0
- package/build/main//321/201omponents/Button/index.js.map +1 -0
- package/build/main//321/201omponents/Button/types.js.map +1 -0
- package/build/main//321/201omponents/CachedImage/CachedImage.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/CachedImage/CachedImage.js +2 -1
- package/build/main//321/201omponents/CachedImage/CachedImage.js.map +1 -0
- package/build/main//321/201omponents/CachedImage/helpers.js.map +1 -0
- package/build/main//321/201omponents/CachedImage/index.d.ts +1 -0
- package/build/main//321/201omponents/CachedImage/index.js +2 -0
- package/build/main//321/201omponents/CachedImage/index.js.map +1 -0
- package/build/main//321/201omponents/CachedImage/types.js.map +1 -0
- package/build/main//321/201omponents/Calendar/Calendar.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/Calendar/Calendar.js +2 -1
- package/build/main//321/201omponents/Calendar/Calendar.js.map +1 -0
- package/build/main//321/201omponents/Calendar/index.d.ts +1 -0
- package/build/main//321/201omponents/Calendar/index.js +2 -0
- package/build/main//321/201omponents/Calendar/index.js.map +1 -0
- package/build/main//321/201omponents/Calendar/types.js.map +1 -0
- package/build/main//321/201omponents/Charts/ChartBar/ChartBar.js.map +1 -0
- package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.js.map +1 -0
- package/build/main//321/201omponents/Charts/ChartLine/ChartLine.js.map +1 -0
- package/build/main//321/201omponents/Charts/ChartPie/ChartPie.js.map +1 -0
- package/build/main//321/201omponents/Charts/colors.js.map +1 -0
- package/build/main//321/201omponents/Charts/constants.js.map +1 -0
- package/build/main//321/201omponents/Charts/helpers.js.map +1 -0
- package/build/main//321/201omponents/Charts/index.js.map +1 -0
- package/build/main//321/201omponents/Charts/types.js.map +1 -0
- package/build/main//321/201omponents/Charts/useEvents.js.map +1 -0
- package/build/main//321/201omponents/Charts/usePieEvents.js.map +1 -0
- package/build/main//321/201omponents/Checkbox/Checkbox.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/Checkbox/Checkbox.js +2 -1
- package/build/main//321/201omponents/Checkbox/Checkbox.js.map +1 -0
- package/build/main//321/201omponents/Checkbox/index.d.ts +1 -0
- package/build/main//321/201omponents/Checkbox/index.js +2 -0
- package/build/main//321/201omponents/Checkbox/index.js.map +1 -0
- package/build/main//321/201omponents/Checkbox/types.js.map +1 -0
- package/build/main//321/201omponents/Chip/Chip.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/Chip/Chip.js +3 -2
- package/build/main//321/201omponents/Chip/Chip.js.map +1 -0
- package/build/main//321/201omponents/Chip/index.d.ts +1 -0
- package/build/main//321/201omponents/Chip/index.js +2 -0
- package/build/main//321/201omponents/Chip/index.js.map +1 -0
- package/build/main/{components/Error → /321/201omponents/Chip}/types.js.map +1 -1
- package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/ConfirmationModal/ConfirmationModal.js +3 -2
- package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js.map +1 -0
- package/build/main//321/201omponents/ConfirmationModal/index.d.ts +1 -0
- package/build/main//321/201omponents/ConfirmationModal/index.js +2 -0
- package/build/main//321/201omponents/ConfirmationModal/index.js.map +1 -0
- package/build/main//321/201omponents/ConfirmationModal/types.js.map +1 -0
- package/build/main//321/201omponents/ContextMenu/ContextMenu.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/ContextMenu/ContextMenu.js +3 -2
- package/build/main//321/201omponents/ContextMenu/ContextMenu.js.map +1 -0
- package/build/main//321/201omponents/ContextMenu/index.d.ts +1 -0
- package/build/main//321/201omponents/ContextMenu/index.js +2 -0
- package/build/main//321/201omponents/ContextMenu/index.js.map +1 -0
- package/build/main//321/201omponents/ContextMenu/types.js.map +1 -0
- package/build/main//321/201omponents/CustomSelect/CustomSelect.d.ts +12 -0
- package/build/main/{components → /321/201omponents}/CustomSelect/CustomSelect.js +3 -2
- package/build/main//321/201omponents/CustomSelect/CustomSelect.js.map +1 -0
- package/build/main//321/201omponents/CustomSelect/index.d.ts +1 -0
- package/build/main//321/201omponents/CustomSelect/index.js +2 -0
- package/build/main//321/201omponents/CustomSelect/index.js.map +1 -0
- package/build/main//321/201omponents/CustomSelect/selectStyles.js.map +1 -0
- package/build/main//321/201omponents/CustomSelect/types.js.map +1 -0
- package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/CustomSelectProfiles/CustomSelectProfiles.js +3 -2
- package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js.map +1 -0
- package/build/main//321/201omponents/CustomSelectProfiles/index.d.ts +1 -0
- package/build/main//321/201omponents/CustomSelectProfiles/index.js +2 -0
- package/build/main//321/201omponents/CustomSelectProfiles/index.js.map +1 -0
- package/build/main//321/201omponents/CustomSelectProfiles/types.js.map +1 -0
- package/build/main//321/201omponents/DragAndDrop/DragAndDrop.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/DragAndDrop/DragAndDrop.js +4 -3
- package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js.map +1 -0
- package/build/main//321/201omponents/DragAndDrop/index.d.ts +1 -0
- package/build/main//321/201omponents/DragAndDrop/index.js +2 -0
- package/build/main//321/201omponents/DragAndDrop/index.js.map +1 -0
- package/build/main//321/201omponents/DragAndDrop/types.js.map +1 -0
- package/build/main//321/201omponents/DraggablePopup/DraggablePopup.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/DraggablePopup/DraggablePopup.js +3 -2
- package/build/main//321/201omponents/DraggablePopup/DraggablePopup.js.map +1 -0
- package/build/main//321/201omponents/DraggablePopup/index.d.ts +1 -0
- package/build/main//321/201omponents/DraggablePopup/index.js +2 -0
- package/build/main//321/201omponents/DraggablePopup/index.js.map +1 -0
- package/build/main//321/201omponents/DraggablePopup/types.js.map +1 -0
- package/build/main//321/201omponents/Error/Error.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/Error/Error.js +2 -1
- package/build/main//321/201omponents/Error/Error.js.map +1 -0
- package/build/main//321/201omponents/Error/index.d.ts +1 -0
- package/build/main//321/201omponents/Error/index.js +2 -0
- package/build/main//321/201omponents/Error/index.js.map +1 -0
- package/build/main//321/201omponents/Error/types.js.map +1 -0
- package/build/main//321/201omponents/Flex/Flex.js.map +1 -0
- package/build/main/{components/Flex/Hflex/Hflex.d.ts → /321/201omponents/Flex/HFlex/HFlex.d.ts} +2 -2
- package/build/main/{components/Flex/Hflex/Hflex.js → /321/201omponents/Flex/HFlex/HFlex.js} +2 -2
- package/build/main//321/201omponents/Flex/HFlex/HFlex.js.map +1 -0
- package/build/main//321/201omponents/Flex/HFlex/index.d.ts +1 -0
- package/build/main//321/201omponents/Flex/HFlex/index.js +2 -0
- package/build/main//321/201omponents/Flex/HFlex/index.js.map +1 -0
- package/build/main/{components/Flex/Vflex/Vflex.d.ts → /321/201omponents/Flex/VFlex/VFlex.d.ts} +1 -1
- package/build/main/{components/Flex/Vflex/Vflex.js → /321/201omponents/Flex/VFlex/VFlex.js} +2 -2
- package/build/main//321/201omponents/Flex/VFlex/VFlex.js.map +1 -0
- package/build/main//321/201omponents/Flex/VFlex/index.d.ts +1 -0
- package/build/main//321/201omponents/Flex/VFlex/index.js +2 -0
- package/build/main//321/201omponents/Flex/VFlex/index.js.map +1 -0
- package/build/main//321/201omponents/Flex/index.d.ts +3 -0
- package/build/main//321/201omponents/Flex/index.js +4 -0
- package/build/main//321/201omponents/Flex/index.js.map +1 -0
- package/build/main/{components/Input → /321/201omponents/Flex}/types.js.map +1 -1
- package/build/main//321/201omponents/Header/Header.d.ts +5 -0
- package/build/main/{components → /321/201omponents}/Header/Header.js +3 -2
- package/build/main//321/201omponents/Header/Header.js.map +1 -0
- package/build/main//321/201omponents/Header/index.d.ts +1 -0
- package/build/main//321/201omponents/Header/index.js +2 -0
- package/build/main//321/201omponents/Header/index.js.map +1 -0
- package/build/main//321/201omponents/Header/types.js.map +1 -0
- package/build/main//321/201omponents/Input/Input.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/Input/Input.js +2 -1
- package/build/main//321/201omponents/Input/Input.js.map +1 -0
- package/build/main//321/201omponents/Input/index.d.ts +1 -0
- package/build/main//321/201omponents/Input/index.js +2 -0
- package/build/main//321/201omponents/Input/index.js.map +1 -0
- package/build/main//321/201omponents/Input/types.js.map +1 -0
- package/build/main/{components → /321/201omponents}/ListItem/ListItem.d.ts +2 -1
- package/build/main/{components → /321/201omponents}/ListItem/ListItem.js +5 -4
- package/build/main//321/201omponents/ListItem/ListItem.js.map +1 -0
- package/build/main//321/201omponents/ListItem/index.d.ts +1 -0
- package/build/main//321/201omponents/ListItem/index.js +2 -0
- package/build/main//321/201omponents/ListItem/index.js.map +1 -0
- package/build/main//321/201omponents/ListItem/types.js.map +1 -0
- package/build/main//321/201omponents/Loader/Loader.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/Loader/Loader.js +2 -1
- package/build/main//321/201omponents/Loader/Loader.js.map +1 -0
- package/build/main//321/201omponents/Loader/index.d.ts +1 -0
- package/build/main//321/201omponents/Loader/index.js +2 -0
- package/build/main//321/201omponents/Loader/index.js.map +1 -0
- package/build/main//321/201omponents/Loader/types.js.map +1 -0
- package/build/main//321/201omponents/Modal/Modal.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/Modal/Modal.js +4 -3
- package/build/main//321/201omponents/Modal/Modal.js.map +1 -0
- package/build/main//321/201omponents/Modal/index.d.ts +1 -0
- package/build/main//321/201omponents/Modal/index.js +2 -0
- package/build/main//321/201omponents/Modal/index.js.map +1 -0
- package/build/main//321/201omponents/Modal/types.js.map +1 -0
- package/build/main//321/201omponents/Notification/Notification.d.ts +8 -0
- package/build/main/{components → /321/201omponents}/Notification/Notification.js +3 -2
- package/build/main//321/201omponents/Notification/Notification.js.map +1 -0
- package/build/main//321/201omponents/Notification/index.d.ts +1 -0
- package/build/main//321/201omponents/Notification/index.js +2 -0
- package/build/main//321/201omponents/Notification/index.js.map +1 -0
- package/build/main//321/201omponents/Notification/types.js.map +1 -0
- package/build/main//321/201omponents/Profile/Profile.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/Profile/Profile.js +2 -1
- package/build/main//321/201omponents/Profile/Profile.js.map +1 -0
- package/build/main//321/201omponents/Profile/index.d.ts +1 -0
- package/build/main//321/201omponents/Profile/index.js +2 -0
- package/build/main//321/201omponents/Profile/index.js.map +1 -0
- package/build/main//321/201omponents/Profile/types.js.map +1 -0
- package/build/main//321/201omponents/ProgressBar/ProgressBar.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/ProgressBar/ProgressBar.js +2 -1
- package/build/main//321/201omponents/ProgressBar/ProgressBar.js.map +1 -0
- package/build/main//321/201omponents/ProgressBar/index.d.ts +1 -0
- package/build/main//321/201omponents/ProgressBar/index.js +2 -0
- package/build/main//321/201omponents/ProgressBar/index.js.map +1 -0
- package/build/main//321/201omponents/ProgressBar/types.js.map +1 -0
- package/build/main//321/201omponents/RadioButton/RadioButton.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/RadioButton/RadioButton.js +2 -1
- package/build/main//321/201omponents/RadioButton/RadioButton.js.map +1 -0
- package/build/main//321/201omponents/RadioButton/index.d.ts +1 -0
- package/build/main//321/201omponents/RadioButton/index.js +2 -0
- package/build/main//321/201omponents/RadioButton/index.js.map +1 -0
- package/build/main//321/201omponents/RadioButton/types.js.map +1 -0
- package/build/main//321/201omponents/ScrollBar/ScrollBar.d.ts +5 -0
- package/build/main/{components → /321/201omponents}/ScrollBar/ScrollBar.js +2 -1
- package/build/main//321/201omponents/ScrollBar/ScrollBar.js.map +1 -0
- package/build/main//321/201omponents/ScrollBar/index.d.ts +1 -0
- package/build/main//321/201omponents/ScrollBar/index.js +2 -0
- package/build/main//321/201omponents/ScrollBar/index.js.map +1 -0
- package/build/main//321/201omponents/ScrollBar/types.js.map +1 -0
- package/build/main//321/201omponents/Skeleton/Skeleton.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/Skeleton/Skeleton.js +2 -1
- package/build/main//321/201omponents/Skeleton/Skeleton.js.map +1 -0
- package/build/main//321/201omponents/Skeleton/index.d.ts +1 -0
- package/build/main//321/201omponents/Skeleton/index.js +2 -0
- package/build/main//321/201omponents/Skeleton/index.js.map +1 -0
- package/build/main//321/201omponents/Skeleton/types.js.map +1 -0
- package/build/main//321/201omponents/Stories/Stories.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/Stories/Stories.js +2 -1
- package/build/main//321/201omponents/Stories/Stories.js.map +1 -0
- package/build/main//321/201omponents/Stories/index.d.ts +1 -0
- package/build/main//321/201omponents/Stories/index.js +2 -0
- package/build/main//321/201omponents/Stories/index.js.map +1 -0
- package/build/main//321/201omponents/Stories/types.js.map +1 -0
- package/build/main//321/201omponents/Switcher/Switcher.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/Switcher/Switcher.js +2 -1
- package/build/main//321/201omponents/Switcher/Switcher.js.map +1 -0
- package/build/main//321/201omponents/Switcher/index.d.ts +1 -0
- package/build/main//321/201omponents/Switcher/index.js +2 -0
- package/build/main//321/201omponents/Switcher/index.js.map +1 -0
- package/build/main//321/201omponents/Switcher/types.js.map +1 -0
- package/build/main/{components → /321/201omponents}/SyncLoader/SyncLoader.d.ts +2 -1
- package/build/main/{components → /321/201omponents}/SyncLoader/SyncLoader.js +2 -1
- package/build/main//321/201omponents/SyncLoader/SyncLoader.js.map +1 -0
- package/build/main//321/201omponents/SyncLoader/index.d.ts +1 -0
- package/build/main//321/201omponents/SyncLoader/index.js +2 -0
- package/build/main//321/201omponents/SyncLoader/index.js.map +1 -0
- package/build/main//321/201omponents/SyncLoader/types.js.map +1 -0
- package/build/main//321/201omponents/Textarea/Textarea.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/Textarea/Textarea.js +2 -1
- package/build/main//321/201omponents/Textarea/Textarea.js.map +1 -0
- package/build/main//321/201omponents/Textarea/index.d.ts +1 -0
- package/build/main//321/201omponents/Textarea/index.js +2 -0
- package/build/main//321/201omponents/Textarea/index.js.map +1 -0
- package/build/main//321/201omponents/Textarea/types.js.map +1 -0
- package/build/main//321/201omponents/Toggle/Toggle.d.ts +4 -0
- package/build/main/{components → /321/201omponents}/Toggle/Toggle.js +2 -1
- package/build/main//321/201omponents/Toggle/Toggle.js.map +1 -0
- package/build/main//321/201omponents/Toggle/index.d.ts +1 -0
- package/build/main//321/201omponents/Toggle/index.js +2 -0
- package/build/main//321/201omponents/Toggle/index.js.map +1 -0
- package/build/main//321/201omponents/Toggle/types.js.map +1 -0
- package/build/main/{components → /321/201omponents}/UserDropdown/ContactBottomSheet/ContactBottomSheet.js +1 -1
- package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.js.map +1 -0
- package/build/main/{components → /321/201omponents}/UserDropdown/MultiValueLabel/MultiValueLabel.js +1 -1
- package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js.map +1 -0
- package/build/main/{components → /321/201omponents}/UserDropdown/Option/Option.js +1 -1
- package/build/main//321/201omponents/UserDropdown/Option/Option.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/UserDropdown.d.ts +5 -0
- package/build/main/{components → /321/201omponents}/UserDropdown/UserDropdown.js +3 -2
- package/build/main//321/201omponents/UserDropdown/UserDropdown.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/helpers.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/index.d.ts +1 -0
- package/build/main//321/201omponents/UserDropdown/index.js +2 -0
- package/build/main//321/201omponents/UserDropdown/index.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/selectStyles.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/types.js.map +1 -0
- package/build/main/{components → /321/201omponents}/types.js.map +1 -1
- package/package.json +4 -8
- package/build/main/components/ActionModal/ActionModal.d.ts +0 -3
- package/build/main/components/ActionModal/ActionModal.js.map +0 -1
- package/build/main/components/ActionModal/index.d.ts +0 -1
- package/build/main/components/ActionModal/index.js +0 -2
- package/build/main/components/ActionModal/index.js.map +0 -1
- package/build/main/components/ActionModal/types.js.map +0 -1
- package/build/main/components/AttachedFile/AttachedFile.d.ts +0 -7
- package/build/main/components/AttachedFile/AttachedFile.js.map +0 -1
- package/build/main/components/AttachedFile/index.d.ts +0 -1
- package/build/main/components/AttachedFile/index.js +0 -2
- package/build/main/components/AttachedFile/index.js.map +0 -1
- package/build/main/components/AttachedFile/types.js.map +0 -1
- package/build/main/components/Avatar/Avatar.d.ts +0 -3
- package/build/main/components/Avatar/Avatar.js.map +0 -1
- package/build/main/components/Avatar/index.d.ts +0 -1
- package/build/main/components/Avatar/index.js +0 -2
- package/build/main/components/Avatar/index.js.map +0 -1
- package/build/main/components/Avatar/types.js.map +0 -1
- package/build/main/components/Button/Button.d.ts +0 -3
- package/build/main/components/Button/Button.js.map +0 -1
- package/build/main/components/Button/index.d.ts +0 -1
- package/build/main/components/Button/index.js +0 -2
- package/build/main/components/Button/index.js.map +0 -1
- package/build/main/components/Button/types.js.map +0 -1
- package/build/main/components/CachedImage/CachedImage.d.ts +0 -3
- package/build/main/components/CachedImage/CachedImage.js.map +0 -1
- package/build/main/components/CachedImage/helpers.js.map +0 -1
- package/build/main/components/CachedImage/index.d.ts +0 -1
- package/build/main/components/CachedImage/index.js +0 -2
- package/build/main/components/CachedImage/index.js.map +0 -1
- package/build/main/components/CachedImage/types.js.map +0 -1
- package/build/main/components/Calendar/Calendar.d.ts +0 -3
- package/build/main/components/Calendar/Calendar.js.map +0 -1
- package/build/main/components/Calendar/index.d.ts +0 -1
- package/build/main/components/Calendar/index.js +0 -2
- package/build/main/components/Calendar/index.js.map +0 -1
- package/build/main/components/Calendar/types.js.map +0 -1
- package/build/main/components/Charts/ChartBar/ChartBar.js.map +0 -1
- package/build/main/components/Charts/ChartLegend/ChartLegend.js.map +0 -1
- package/build/main/components/Charts/ChartLine/ChartLine.js.map +0 -1
- package/build/main/components/Charts/ChartPie/ChartPie.js.map +0 -1
- package/build/main/components/Charts/colors.js.map +0 -1
- package/build/main/components/Charts/constants.js.map +0 -1
- package/build/main/components/Charts/helpers.js.map +0 -1
- package/build/main/components/Charts/index.js.map +0 -1
- package/build/main/components/Charts/types.js.map +0 -1
- package/build/main/components/Charts/useEvents.js.map +0 -1
- package/build/main/components/Charts/usePieEvents.js.map +0 -1
- package/build/main/components/Checkbox/Checkbox.d.ts +0 -3
- package/build/main/components/Checkbox/Checkbox.js.map +0 -1
- package/build/main/components/Checkbox/index.d.ts +0 -1
- package/build/main/components/Checkbox/index.js +0 -2
- package/build/main/components/Checkbox/index.js.map +0 -1
- package/build/main/components/Checkbox/types.js.map +0 -1
- package/build/main/components/Chip/Chip.d.ts +0 -3
- package/build/main/components/Chip/Chip.js.map +0 -1
- package/build/main/components/Chip/index.d.ts +0 -1
- package/build/main/components/Chip/index.js +0 -2
- package/build/main/components/Chip/index.js.map +0 -1
- package/build/main/components/Chip/types.js.map +0 -1
- package/build/main/components/ConfirmationModal/ConfirmationModal.d.ts +0 -3
- package/build/main/components/ConfirmationModal/ConfirmationModal.js.map +0 -1
- package/build/main/components/ConfirmationModal/index.d.ts +0 -1
- package/build/main/components/ConfirmationModal/index.js +0 -2
- package/build/main/components/ConfirmationModal/index.js.map +0 -1
- package/build/main/components/ConfirmationModal/types.js.map +0 -1
- package/build/main/components/ContextMenu/ContextMenu.d.ts +0 -3
- package/build/main/components/ContextMenu/ContextMenu.js.map +0 -1
- package/build/main/components/ContextMenu/index.d.ts +0 -1
- package/build/main/components/ContextMenu/index.js +0 -2
- package/build/main/components/ContextMenu/index.js.map +0 -1
- package/build/main/components/ContextMenu/types.js.map +0 -1
- package/build/main/components/CustomSelect/CustomSelect.d.ts +0 -11
- package/build/main/components/CustomSelect/CustomSelect.js.map +0 -1
- package/build/main/components/CustomSelect/index.d.ts +0 -1
- package/build/main/components/CustomSelect/index.js +0 -2
- package/build/main/components/CustomSelect/index.js.map +0 -1
- package/build/main/components/CustomSelect/selectStyles.js.map +0 -1
- package/build/main/components/CustomSelect/types.js.map +0 -1
- package/build/main/components/CustomSelectProfiles/CustomSelectProfiles.d.ts +0 -3
- package/build/main/components/CustomSelectProfiles/CustomSelectProfiles.js.map +0 -1
- package/build/main/components/CustomSelectProfiles/index.d.ts +0 -1
- package/build/main/components/CustomSelectProfiles/index.js +0 -2
- package/build/main/components/CustomSelectProfiles/index.js.map +0 -1
- package/build/main/components/CustomSelectProfiles/types.js.map +0 -1
- package/build/main/components/DragAndDrop/DragAndDrop.d.ts +0 -3
- package/build/main/components/DragAndDrop/DragAndDrop.js.map +0 -1
- package/build/main/components/DragAndDrop/index.d.ts +0 -1
- package/build/main/components/DragAndDrop/index.js +0 -2
- package/build/main/components/DragAndDrop/index.js.map +0 -1
- package/build/main/components/DragAndDrop/types.js.map +0 -1
- package/build/main/components/DraggablePopup/DraggablePopup.d.ts +0 -3
- package/build/main/components/DraggablePopup/DraggablePopup.js.map +0 -1
- package/build/main/components/DraggablePopup/index.d.ts +0 -1
- package/build/main/components/DraggablePopup/index.js +0 -2
- package/build/main/components/DraggablePopup/index.js.map +0 -1
- package/build/main/components/DraggablePopup/types.js.map +0 -1
- package/build/main/components/Error/Error.d.ts +0 -3
- package/build/main/components/Error/Error.js.map +0 -1
- package/build/main/components/Error/index.d.ts +0 -1
- package/build/main/components/Error/index.js +0 -2
- package/build/main/components/Error/index.js.map +0 -1
- package/build/main/components/Flex/Flex.js.map +0 -1
- package/build/main/components/Flex/Hflex/Hflex.js.map +0 -1
- package/build/main/components/Flex/Hflex/index.d.ts +0 -1
- package/build/main/components/Flex/Hflex/index.js +0 -2
- package/build/main/components/Flex/Hflex/index.js.map +0 -1
- package/build/main/components/Flex/Vflex/Vflex.js.map +0 -1
- package/build/main/components/Flex/Vflex/index.d.ts +0 -1
- package/build/main/components/Flex/Vflex/index.js +0 -2
- package/build/main/components/Flex/Vflex/index.js.map +0 -1
- package/build/main/components/Flex/index.d.ts +0 -3
- package/build/main/components/Flex/index.js +0 -4
- package/build/main/components/Flex/index.js.map +0 -1
- package/build/main/components/Flex/types.js.map +0 -1
- package/build/main/components/Header/Header.d.ts +0 -4
- package/build/main/components/Header/Header.js.map +0 -1
- package/build/main/components/Header/index.d.ts +0 -1
- package/build/main/components/Header/index.js +0 -2
- package/build/main/components/Header/index.js.map +0 -1
- package/build/main/components/Header/types.js.map +0 -1
- package/build/main/components/Input/Input.d.ts +0 -3
- package/build/main/components/Input/Input.js.map +0 -1
- package/build/main/components/Input/index.d.ts +0 -1
- package/build/main/components/Input/index.js +0 -2
- package/build/main/components/Input/index.js.map +0 -1
- package/build/main/components/ListItem/ListItem.js.map +0 -1
- package/build/main/components/ListItem/index.d.ts +0 -1
- package/build/main/components/ListItem/index.js +0 -2
- package/build/main/components/ListItem/index.js.map +0 -1
- package/build/main/components/ListItem/types.js.map +0 -1
- package/build/main/components/Loader/Loader.d.ts +0 -3
- package/build/main/components/Loader/Loader.js.map +0 -1
- package/build/main/components/Loader/index.d.ts +0 -1
- package/build/main/components/Loader/index.js +0 -2
- package/build/main/components/Loader/index.js.map +0 -1
- package/build/main/components/Loader/types.js.map +0 -1
- package/build/main/components/Modal/Modal.d.ts +0 -3
- package/build/main/components/Modal/Modal.js.map +0 -1
- package/build/main/components/Modal/index.d.ts +0 -1
- package/build/main/components/Modal/index.js +0 -2
- package/build/main/components/Modal/index.js.map +0 -1
- package/build/main/components/Modal/types.js.map +0 -1
- package/build/main/components/Notification/Notification.d.ts +0 -7
- package/build/main/components/Notification/Notification.js.map +0 -1
- package/build/main/components/Notification/index.d.ts +0 -1
- package/build/main/components/Notification/index.js +0 -2
- package/build/main/components/Notification/index.js.map +0 -1
- package/build/main/components/Notification/types.js.map +0 -1
- package/build/main/components/Profile/Profile.d.ts +0 -3
- package/build/main/components/Profile/Profile.js.map +0 -1
- package/build/main/components/Profile/index.d.ts +0 -1
- package/build/main/components/Profile/index.js +0 -2
- package/build/main/components/Profile/index.js.map +0 -1
- package/build/main/components/Profile/types.js.map +0 -1
- package/build/main/components/ProgressBar/ProgressBar.d.ts +0 -3
- package/build/main/components/ProgressBar/ProgressBar.js.map +0 -1
- package/build/main/components/ProgressBar/index.d.ts +0 -1
- package/build/main/components/ProgressBar/index.js +0 -2
- package/build/main/components/ProgressBar/index.js.map +0 -1
- package/build/main/components/ProgressBar/types.js.map +0 -1
- package/build/main/components/RadioButton/RadioButton.d.ts +0 -3
- package/build/main/components/RadioButton/RadioButton.js.map +0 -1
- package/build/main/components/RadioButton/index.d.ts +0 -1
- package/build/main/components/RadioButton/index.js +0 -2
- package/build/main/components/RadioButton/index.js.map +0 -1
- package/build/main/components/RadioButton/types.js.map +0 -1
- package/build/main/components/ScrollBar/ScrollBar.d.ts +0 -4
- package/build/main/components/ScrollBar/ScrollBar.js.map +0 -1
- package/build/main/components/ScrollBar/index.d.ts +0 -1
- package/build/main/components/ScrollBar/index.js +0 -2
- package/build/main/components/ScrollBar/index.js.map +0 -1
- package/build/main/components/ScrollBar/types.js.map +0 -1
- package/build/main/components/Skeleton/Skeleton.d.ts +0 -3
- package/build/main/components/Skeleton/Skeleton.js.map +0 -1
- package/build/main/components/Skeleton/index.d.ts +0 -1
- package/build/main/components/Skeleton/index.js +0 -2
- package/build/main/components/Skeleton/index.js.map +0 -1
- package/build/main/components/Skeleton/types.js.map +0 -1
- package/build/main/components/Stories/Stories.d.ts +0 -3
- package/build/main/components/Stories/Stories.js.map +0 -1
- package/build/main/components/Stories/index.d.ts +0 -1
- package/build/main/components/Stories/index.js +0 -2
- package/build/main/components/Stories/index.js.map +0 -1
- package/build/main/components/Stories/types.js.map +0 -1
- package/build/main/components/Switcher/Switcher.d.ts +0 -3
- package/build/main/components/Switcher/Switcher.js.map +0 -1
- package/build/main/components/Switcher/index.d.ts +0 -1
- package/build/main/components/Switcher/index.js +0 -2
- package/build/main/components/Switcher/index.js.map +0 -1
- package/build/main/components/Switcher/types.js.map +0 -1
- package/build/main/components/SyncLoader/SyncLoader.js.map +0 -1
- package/build/main/components/SyncLoader/index.d.ts +0 -1
- package/build/main/components/SyncLoader/index.js +0 -2
- package/build/main/components/SyncLoader/index.js.map +0 -1
- package/build/main/components/SyncLoader/types.js.map +0 -1
- package/build/main/components/Textarea/Textarea.d.ts +0 -3
- package/build/main/components/Textarea/Textarea.js.map +0 -1
- package/build/main/components/Textarea/index.d.ts +0 -1
- package/build/main/components/Textarea/index.js +0 -2
- package/build/main/components/Textarea/index.js.map +0 -1
- package/build/main/components/Textarea/types.js.map +0 -1
- package/build/main/components/Toggle/Toggle.d.ts +0 -3
- package/build/main/components/Toggle/Toggle.js.map +0 -1
- package/build/main/components/Toggle/index.d.ts +0 -1
- package/build/main/components/Toggle/index.js +0 -2
- package/build/main/components/Toggle/index.js.map +0 -1
- package/build/main/components/Toggle/types.js.map +0 -1
- package/build/main/components/UserDropdown/ContactBottomSheet/ContactBottomSheet.js.map +0 -1
- package/build/main/components/UserDropdown/ContactInfo/ContactInfo.js.map +0 -1
- package/build/main/components/UserDropdown/LoadingMessage/LoadingMessage.js.map +0 -1
- package/build/main/components/UserDropdown/MenuList/MenuList.js.map +0 -1
- package/build/main/components/UserDropdown/MultiValueLabel/MultiValueLabel.js.map +0 -1
- package/build/main/components/UserDropdown/Option/Option.js.map +0 -1
- package/build/main/components/UserDropdown/UserDropdown.d.ts +0 -4
- package/build/main/components/UserDropdown/UserDropdown.js.map +0 -1
- package/build/main/components/UserDropdown/helpers.js.map +0 -1
- package/build/main/components/UserDropdown/index.d.ts +0 -1
- package/build/main/components/UserDropdown/index.js +0 -2
- package/build/main/components/UserDropdown/index.js.map +0 -1
- package/build/main/components/UserDropdown/selectStyles.js.map +0 -1
- package/build/main/components/UserDropdown/types.js.map +0 -1
- /package/build/main/{components/ActionModal/types.d.ts → /321/201omponents/ActionModal/types.d.ts"} +0 -0
- /package/build/main/{components/ActionModal/types.js → /321/201omponents/ActionModal/types.js"} +0 -0
- /package/build/main/{components/AttachedFile/types.d.ts → /321/201omponents/AttachedFile/types.d.ts"} +0 -0
- /package/build/main/{components/AttachedFile/types.js → /321/201omponents/AttachedFile/types.js"} +0 -0
- /package/build/main/{components/Avatar/types.d.ts → /321/201omponents/Avatar/types.d.ts"} +0 -0
- /package/build/main/{components/Avatar/types.js → /321/201omponents/Avatar/types.js"} +0 -0
- /package/build/main/{components/Button/types.d.ts → /321/201omponents/Button/types.d.ts"} +0 -0
- /package/build/main/{components/Button/types.js → /321/201omponents/Button/types.js"} +0 -0
- /package/build/main/{components/CachedImage/helpers.d.ts → /321/201omponents/CachedImage/helpers.d.ts"} +0 -0
- /package/build/main/{components/CachedImage/helpers.js → /321/201omponents/CachedImage/helpers.js"} +0 -0
- /package/build/main/{components/CachedImage/types.d.ts → /321/201omponents/CachedImage/types.d.ts"} +0 -0
- /package/build/main/{components/CachedImage/types.js → /321/201omponents/CachedImage/types.js"} +0 -0
- /package/build/main/{components/Calendar/types.d.ts → /321/201omponents/Calendar/types.d.ts"} +0 -0
- /package/build/main/{components/Calendar/types.js → /321/201omponents/Calendar/types.js"} +0 -0
- /package/build/main/{components/Charts/ChartBar/ChartBar.d.ts → /321/201omponents/Charts/ChartBar/ChartBar.d.ts"} +0 -0
- /package/build/main/{components/Charts/ChartBar/ChartBar.js → /321/201omponents/Charts/ChartBar/ChartBar.js"} +0 -0
- /package/build/main/{components/Charts/ChartLegend/ChartLegend.d.ts → /321/201omponents/Charts/ChartLegend/ChartLegend.d.ts"} +0 -0
- /package/build/main/{components/Charts/ChartLegend/ChartLegend.js → /321/201omponents/Charts/ChartLegend/ChartLegend.js"} +0 -0
- /package/build/main/{components/Charts/ChartLine/ChartLine.d.ts → /321/201omponents/Charts/ChartLine/ChartLine.d.ts"} +0 -0
- /package/build/main/{components/Charts/ChartLine/ChartLine.js → /321/201omponents/Charts/ChartLine/ChartLine.js"} +0 -0
- /package/build/main/{components/Charts/ChartPie/ChartPie.d.ts → /321/201omponents/Charts/ChartPie/ChartPie.d.ts"} +0 -0
- /package/build/main/{components/Charts/ChartPie/ChartPie.js → /321/201omponents/Charts/ChartPie/ChartPie.js"} +0 -0
- /package/build/main/{components/Charts/colors.d.ts → /321/201omponents/Charts/colors.d.ts"} +0 -0
- /package/build/main/{components/Charts/colors.js → /321/201omponents/Charts/colors.js"} +0 -0
- /package/build/main/{components/Charts/constants.d.ts → /321/201omponents/Charts/constants.d.ts"} +0 -0
- /package/build/main/{components/Charts/constants.js → /321/201omponents/Charts/constants.js"} +0 -0
- /package/build/main/{components/Charts/helpers.d.ts → /321/201omponents/Charts/helpers.d.ts"} +0 -0
- /package/build/main/{components/Charts/helpers.js → /321/201omponents/Charts/helpers.js"} +0 -0
- /package/build/main/{components/Charts/index.d.ts → /321/201omponents/Charts/index.d.ts"} +0 -0
- /package/build/main/{components/Charts/index.js → /321/201omponents/Charts/index.js"} +0 -0
- /package/build/main/{components/Charts/types.d.ts → /321/201omponents/Charts/types.d.ts"} +0 -0
- /package/build/main/{components/Charts/types.js → /321/201omponents/Charts/types.js"} +0 -0
- /package/build/main/{components/Charts/useEvents.d.ts → /321/201omponents/Charts/useEvents.d.ts"} +0 -0
- /package/build/main/{components/Charts/useEvents.js → /321/201omponents/Charts/useEvents.js"} +0 -0
- /package/build/main/{components/Charts/usePieEvents.d.ts → /321/201omponents/Charts/usePieEvents.d.ts"} +0 -0
- /package/build/main/{components/Charts/usePieEvents.js → /321/201omponents/Charts/usePieEvents.js"} +0 -0
- /package/build/main/{components/Checkbox/types.d.ts → /321/201omponents/Checkbox/types.d.ts"} +0 -0
- /package/build/main/{components/Checkbox/types.js → /321/201omponents/Checkbox/types.js"} +0 -0
- /package/build/main/{components/Chip/types.d.ts → /321/201omponents/Chip/types.d.ts"} +0 -0
- /package/build/main/{components/Chip/types.js → /321/201omponents/Chip/types.js"} +0 -0
- /package/build/main/{components/ConfirmationModal/types.d.ts → /321/201omponents/ConfirmationModal/types.d.ts"} +0 -0
- /package/build/main/{components/ConfirmationModal/types.js → /321/201omponents/ConfirmationModal/types.js"} +0 -0
- /package/build/main/{components/ContextMenu/types.d.ts → /321/201omponents/ContextMenu/types.d.ts"} +0 -0
- /package/build/main/{components/ContextMenu/types.js → /321/201omponents/ContextMenu/types.js"} +0 -0
- /package/build/main/{components/CustomSelect/selectStyles.d.ts → /321/201omponents/CustomSelect/selectStyles.d.ts"} +0 -0
- /package/build/main/{components/CustomSelect/selectStyles.js → /321/201omponents/CustomSelect/selectStyles.js"} +0 -0
- /package/build/main/{components/CustomSelect/types.d.ts → /321/201omponents/CustomSelect/types.d.ts"} +0 -0
- /package/build/main/{components/CustomSelect/types.js → /321/201omponents/CustomSelect/types.js"} +0 -0
- /package/build/main/{components/CustomSelectProfiles/types.d.ts → /321/201omponents/CustomSelectProfiles/types.d.ts"} +0 -0
- /package/build/main/{components/CustomSelectProfiles/types.js → /321/201omponents/CustomSelectProfiles/types.js"} +0 -0
- /package/build/main/{components/DragAndDrop/types.d.ts → /321/201omponents/DragAndDrop/types.d.ts"} +0 -0
- /package/build/main/{components/DragAndDrop/types.js → /321/201omponents/DragAndDrop/types.js"} +0 -0
- /package/build/main/{components/DraggablePopup/types.d.ts → /321/201omponents/DraggablePopup/types.d.ts"} +0 -0
- /package/build/main/{components/DraggablePopup/types.js → /321/201omponents/DraggablePopup/types.js"} +0 -0
- /package/build/main/{components/Error/types.d.ts → /321/201omponents/Error/types.d.ts"} +0 -0
- /package/build/main/{components/Error/types.js → /321/201omponents/Error/types.js"} +0 -0
- /package/build/main/{components/Flex/Flex.d.ts → /321/201omponents/Flex/Flex.d.ts"} +0 -0
- /package/build/main/{components/Flex/Flex.js → /321/201omponents/Flex/Flex.js"} +0 -0
- /package/build/main/{components/Flex/types.d.ts → /321/201omponents/Flex/types.d.ts"} +0 -0
- /package/build/main/{components/Flex/types.js → /321/201omponents/Flex/types.js"} +0 -0
- /package/build/main/{components/Header/types.d.ts → /321/201omponents/Header/types.d.ts"} +0 -0
- /package/build/main/{components/Header/types.js → /321/201omponents/Header/types.js"} +0 -0
- /package/build/main/{components/Input/types.d.ts → /321/201omponents/Input/types.d.ts"} +0 -0
- /package/build/main/{components/Input/types.js → /321/201omponents/Input/types.js"} +0 -0
- /package/build/main/{components/ListItem/types.d.ts → /321/201omponents/ListItem/types.d.ts"} +0 -0
- /package/build/main/{components/ListItem/types.js → /321/201omponents/ListItem/types.js"} +0 -0
- /package/build/main/{components/Loader/types.d.ts → /321/201omponents/Loader/types.d.ts"} +0 -0
- /package/build/main/{components/Loader/types.js → /321/201omponents/Loader/types.js"} +0 -0
- /package/build/main/{components/Modal/types.d.ts → /321/201omponents/Modal/types.d.ts"} +0 -0
- /package/build/main/{components/Modal/types.js → /321/201omponents/Modal/types.js"} +0 -0
- /package/build/main/{components/Notification/types.d.ts → /321/201omponents/Notification/types.d.ts"} +0 -0
- /package/build/main/{components/Notification/types.js → /321/201omponents/Notification/types.js"} +0 -0
- /package/build/main/{components/Profile/types.d.ts → /321/201omponents/Profile/types.d.ts"} +0 -0
- /package/build/main/{components/Profile/types.js → /321/201omponents/Profile/types.js"} +0 -0
- /package/build/main/{components/ProgressBar/types.d.ts → /321/201omponents/ProgressBar/types.d.ts"} +0 -0
- /package/build/main/{components/ProgressBar/types.js → /321/201omponents/ProgressBar/types.js"} +0 -0
- /package/build/main/{components/RadioButton/types.d.ts → /321/201omponents/RadioButton/types.d.ts"} +0 -0
- /package/build/main/{components/RadioButton/types.js → /321/201omponents/RadioButton/types.js"} +0 -0
- /package/build/main/{components/ScrollBar/types.d.ts → /321/201omponents/ScrollBar/types.d.ts"} +0 -0
- /package/build/main/{components/ScrollBar/types.js → /321/201omponents/ScrollBar/types.js"} +0 -0
- /package/build/main/{components/Skeleton/types.d.ts → /321/201omponents/Skeleton/types.d.ts"} +0 -0
- /package/build/main/{components/Skeleton/types.js → /321/201omponents/Skeleton/types.js"} +0 -0
- /package/build/main/{components/Stories/types.d.ts → /321/201omponents/Stories/types.d.ts"} +0 -0
- /package/build/main/{components/Stories/types.js → /321/201omponents/Stories/types.js"} +0 -0
- /package/build/main/{components/Switcher/types.d.ts → /321/201omponents/Switcher/types.d.ts"} +0 -0
- /package/build/main/{components/Switcher/types.js → /321/201omponents/Switcher/types.js"} +0 -0
- /package/build/main/{components/SyncLoader/types.d.ts → /321/201omponents/SyncLoader/types.d.ts"} +0 -0
- /package/build/main/{components/SyncLoader/types.js → /321/201omponents/SyncLoader/types.js"} +0 -0
- /package/build/main/{components/Textarea/types.d.ts → /321/201omponents/Textarea/types.d.ts"} +0 -0
- /package/build/main/{components/Textarea/types.js → /321/201omponents/Textarea/types.js"} +0 -0
- /package/build/main/{components/Toggle/types.d.ts → /321/201omponents/Toggle/types.d.ts"} +0 -0
- /package/build/main/{components/Toggle/types.js → /321/201omponents/Toggle/types.js"} +0 -0
- /package/build/main/{components/UserDropdown/ContactBottomSheet/ContactBottomSheet.d.ts → /321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.d.ts"} +0 -0
- /package/build/main/{components/UserDropdown/ContactInfo/ContactInfo.d.ts → /321/201omponents/UserDropdown/ContactInfo/ContactInfo.d.ts"} +0 -0
- /package/build/main/{components/UserDropdown/ContactInfo/ContactInfo.js → /321/201omponents/UserDropdown/ContactInfo/ContactInfo.js"} +0 -0
- /package/build/main/{components/UserDropdown/LoadingMessage/LoadingMessage.d.ts → /321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.d.ts"} +0 -0
- /package/build/main/{components/UserDropdown/LoadingMessage/LoadingMessage.js → /321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js"} +0 -0
- /package/build/main/{components/UserDropdown/MenuList/MenuList.d.ts → /321/201omponents/UserDropdown/MenuList/MenuList.d.ts"} +0 -0
- /package/build/main/{components/UserDropdown/MenuList/MenuList.js → /321/201omponents/UserDropdown/MenuList/MenuList.js"} +0 -0
- /package/build/main/{components/UserDropdown/MultiValueLabel/MultiValueLabel.d.ts → /321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.d.ts"} +0 -0
- /package/build/main/{components/UserDropdown/Option/Option.d.ts → /321/201omponents/UserDropdown/Option/Option.d.ts"} +0 -0
- /package/build/main/{components/UserDropdown/helpers.d.ts → /321/201omponents/UserDropdown/helpers.d.ts"} +0 -0
- /package/build/main/{components/UserDropdown/helpers.js → /321/201omponents/UserDropdown/helpers.js"} +0 -0
- /package/build/main/{components/UserDropdown/selectStyles.d.ts → /321/201omponents/UserDropdown/selectStyles.d.ts"} +0 -0
- /package/build/main/{components/UserDropdown/selectStyles.js → /321/201omponents/UserDropdown/selectStyles.js"} +0 -0
- /package/build/main/{components/UserDropdown/types.d.ts → /321/201omponents/UserDropdown/types.d.ts"} +0 -0
- /package/build/main/{components/UserDropdown/types.js → /321/201omponents/UserDropdown/types.js"} +0 -0
- /package/build/main/{components/types.d.ts → /321/201omponents/types.d.ts"} +0 -0
- /package/build/main/{components/types.js → /321/201omponents/types.js"} +0 -0
|
@@ -16,7 +16,7 @@ import { ReactComponent as CheckIcon } from '../../assets/icons/check-mark.svg';
|
|
|
16
16
|
import { generateColor } from '../../helpers';
|
|
17
17
|
import { COLORS } from '../../constants';
|
|
18
18
|
import '../../styles/styles.scss';
|
|
19
|
-
|
|
19
|
+
var CheckBox = function (_a) {
|
|
20
20
|
var id = _a.id, _b = _a.isDisabled, isDisabled = _b === void 0 ? false : _b, _c = _a.isChecked, isChecked = _c === void 0 ? false : _c, className = _a.className, styles = _a.styles, checkedColor = _a.checkedColor, checkedHoverColor = _a.checkedHoverColor, checkedPressedColor = _a.checkedPressedColor, _d = _a.onChange, onChange = _d === void 0 ? function () { return undefined; } : _d;
|
|
21
21
|
var checkBoxRef = useRef(null);
|
|
22
22
|
useEffect(function () {
|
|
@@ -34,4 +34,5 @@ export var CheckBox = function (_a) {
|
|
|
34
34
|
var handleClick = function (event) { return event.stopPropagation(); };
|
|
35
35
|
return (_jsx("div", __assign({ ref: checkBoxRef, className: classNames('smartapp-check-box', className), style: styles }, { children: _jsxs("label", __assign({ htmlFor: "cb-".concat(id) }, { children: [_jsx("input", { id: "cb-".concat(id), type: "checkbox", className: "smartapp-check-box__custom-check-box", disabled: isDisabled, checked: isChecked, onChange: onChange, onClick: handleClick }), isChecked ? (_jsx(CheckIcon, { style: { color: generateColor(checkedColor, COLORS.blue) }, onMouseDown: handleMouseDown })) : (_jsx("span", { className: "checkmark", onMouseDown: handleMouseDown }))] })) })));
|
|
36
36
|
};
|
|
37
|
+
export default CheckBox;
|
|
37
38
|
//# sourceMappingURL=Checkbox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.js","sourceRoot":"","sources":["../../../../src/сomponents/Checkbox/Checkbox.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAChD,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,cAAc,IAAI,SAAS,EAAE,MAAM,mCAAmC,CAAA;AAE/E,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxC,OAAO,0BAA0B,CAAA;AAEjC,IAAM,QAAQ,GAAG,UAAC,EAUD;QATf,EAAE,QAAA,EACF,kBAAkB,EAAlB,UAAU,mBAAG,KAAK,KAAA,EAClB,iBAAiB,EAAjB,SAAS,mBAAG,KAAK,KAAA,EACjB,SAAS,eAAA,EACT,MAAM,YAAA,EACN,YAAY,kBAAA,EACZ,iBAAiB,uBAAA,EACjB,mBAAmB,yBAAA,EACnB,gBAAgC,EAAhC,QAAQ,mBAAG,cAAY,OAAA,SAAS,EAAT,CAAS,KAAA;IAEhC,IAAM,WAAW,GAAG,MAAM,CAAwB,IAAI,CAAC,CAAA;IAEvD,SAAS,CAAC;QACR,QAAQ,CAAC,eAAe,CAAC,KAAK,CAAC,WAAW,CAAC,wBAAwB,EAAE,aAAa,CAAC,iBAAiB,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAA;QACvH,QAAQ,CAAC,eAAe,CAAC,KAAK,CAAC,WA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e,GAAI,CACxG,CAAC,CAAC,CAAC,CACF,eAAM,SAAS,EAAC,WAAW,EAAC,WAAW,EAAE,eAAe,GAAI,CAC7D,KACK,IACJ,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,QAAQ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Checkbox';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/Checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/Checkbox/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IChipProps } from './types';
|
|
2
|
+
import '../../styles/styles.scss';
|
|
3
|
+
declare const Chip: ({ name, avatar, isAvatarHidden, isDisabled, isError, isEye, className, styles, iconColor, onDelete, }: IChipProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default Chip;
|
|
@@ -12,12 +12,12 @@ var __assign = (this && this.__assign) || function () {
|
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { useEffect, useRef } from 'react';
|
|
14
14
|
import classNames from 'classnames';
|
|
15
|
-
import
|
|
15
|
+
import Avatar from '../Avatar';
|
|
16
16
|
import { generateColor } from '../../helpers';
|
|
17
17
|
import { COLORS } from '../../constants';
|
|
18
18
|
import { ReactComponent as DeleteIcon } from '../../assets/icons/delete-chip.svg';
|
|
19
19
|
import '../../styles/styles.scss';
|
|
20
|
-
|
|
20
|
+
var Chip = function (_a) {
|
|
21
21
|
var name = _a.name, avatar = _a.avatar, _b = _a.isAvatarHidden, isAvatarHidden = _b === void 0 ? false : _b, _c = _a.isDisabled, isDisabled = _c === void 0 ? false : _c, _d = _a.isError, isError = _d === void 0 ? false : _d, _e = _a.isEye, isEye = _e === void 0 ? false : _e, className = _a.className, styles = _a.styles, iconColor = _a.iconColor, onDelete = _a.onDelete;
|
|
22
22
|
var isChipDisabled = isError ? false : isDisabled;
|
|
23
23
|
var chipRef = useRef(null);
|
|
@@ -31,4 +31,5 @@ export var Chip = function (_a) {
|
|
|
31
31
|
var handleMouseUp = function () { var _a; return (_a = chipRef.current) === null || _a === void 0 ? void 0 : _a.classList.remove('smartapp-chip__pressed'); };
|
|
32
32
|
return (_jsxs("div", __assign({ ref: chipRef, className: classNames('smartapp-chip', { 'smartapp-chip__error': isError, 'smartapp-chip__disabled': isChipDisabled }, className), style: styles }, { children: [_jsxs("div", __assign({ className: "smartapp-chip__info" }, { children: [!isAvatarHidden && !isError && (_jsx(Avatar, { username: name, avatar: avatar, size: 24, isEye: isEye, outlineDefaultBackground: "var(--color-chip)" })), _jsx("p", __assign({ className: "smartapp-chip__info--name" }, { children: name }))] })), !isChipDisabled && onDelete && (_jsx("div", __assign({ className: "smartapp-chip__delete-icon", onClick: function () { return onDelete(name); }, onMouseDown: handleMouseDown }, { children: _jsx(DeleteIcon, { style: { color: generateColor(iconColor, isError ? COLORS.red : COLORS.darkerGray) } }) })))] })));
|
|
33
33
|
};
|
|
34
|
+
export default Chip;
|
|
34
35
|
//# sourceMappingURL=Chip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Chip.js","sourceRoot":"","sources":["../../../../src/сomponents/Chip/Chip.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAChD,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,MAAM,MAAM,WAAW,CAAA;AAC9B,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAExC,OAAO,EAAE,cAAc,IAAI,UAAU,EAAE,M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,KAAC,MAAM,IAAC,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,wBAAwB,EAAC,mBAAmB,GAAG,CAChH,EACD,qBAAG,SAAS,EAAC,2BAA2B,gBAAE,IAAI,IAAK,KAC/C,EACL,CAAC,cAAc,IAAI,QAAQ,IAAI,CAC9B,uBAAK,SAAS,EAAC,4BAA4B,EAAC,OAAO,EAAE,cAAM,OAAA,QAAQ,CAAC,IAAI,CAAC,EAAd,CAAc,EAAE,WAAW,EAAE,eAAe,gBACrG,KAAC,UAAU,IAAC,KAAK,EAAE,EAAE,KAAK,EAAE,aAAa,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,GAAI,IAChG,CACP,KACG,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,IAAI,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Chip';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/Chip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/Chip/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IConfirmationModalProps } from './types';
|
|
2
|
+
import '../../styles/styles.scss';
|
|
3
|
+
declare const ConfirmationModal: ({ isModalOpen, isClosableOutside, isConfirmLoading, isCancelLoading, isCloseIconHidden, title, text, cancelButtonName, confirmButtonName, cancelButtonFunction, confirmButtonFunction, handleCloseModal, platform, popupClassName, className, popupStyles, styles, titleStyles, iconColor, backgroundColor, buttonsDirection, isBottomSheet, isDisabledBottomSheet, bottomSheetProps, }: IConfirmationModalProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
4
|
+
export default ConfirmationModal;
|
|
@@ -12,7 +12,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { useEffect, useRef } from 'react';
|
|
14
14
|
import classNames from 'classnames';
|
|
15
|
-
import
|
|
15
|
+
import Button from '../Button';
|
|
16
16
|
import { TButtonVariant } from '../Button/types';
|
|
17
17
|
import { PLATFORM, MODAL_BUTTONS_DIRECTION, ROW } from '../../constants';
|
|
18
18
|
import { checkIfContentIsCentered, generateClassNames, generateColor, generateIsCloseIconHidden, generateBottomSheetClassName } from '../../helpers';
|
|
@@ -20,7 +20,7 @@ import { ReactComponent as CloseIcon } from '../../assets/icons/cancel-cross.svg
|
|
|
20
20
|
import { useModal } from '../../hooks/useModal';
|
|
21
21
|
import '../../styles/styles.scss';
|
|
22
22
|
var COLUMN_REVERSE = 'column-reverse';
|
|
23
|
-
|
|
23
|
+
var ConfirmationModal = function (_a) {
|
|
24
24
|
var isModalOpen = _a.isModalOpen, _b = _a.isClosableOutside, isClosableOutside = _b === void 0 ? true : _b, _c = _a.isConfirmLoading, isConfirmLoading = _c === void 0 ? false : _c, _d = _a.isCancelLoading, isCancelLoading = _d === void 0 ? false : _d, isCloseIconHidden = _a.isCloseIconHidden, title = _a.title, text = _a.text, cancelButtonName = _a.cancelButtonName, confirmButtonName = _a.confirmButtonName, cancelButtonFunction = _a.cancelButtonFunction, confirmButtonFunction = _a.confirmButtonFunction, handleCloseModal = _a.handleCloseModal, _e = _a.platform, platform = _e === void 0 ? PLATFORM.web : _e, popupClassName = _a.popupClassName, className = _a.className, popupStyles = _a.popupStyles, styles = _a.styles, titleStyles = _a.titleStyles, iconColor = _a.iconColor, backgroundColor = _a.backgroundColor, _f = _a.buttonsDirection, buttonsDirection = _f === void 0 ? MODAL_BUTTONS_DIRECTION.row : _f, _g = _a.isBottomSheet, isBottomSheet = _g === void 0 ? false : _g, _h = _a.isDisabledBottomSheet, isDisabledBottomSheet = _h === void 0 ? false : _h, bottomSheetProps = _a.bottomSheetProps;
|
|
25
25
|
var ref = useRef(null);
|
|
26
26
|
var titleRef = useRef(null);
|
|
@@ -66,4 +66,5 @@ export var ConfirmationModal = function (_a) {
|
|
|
66
66
|
var modalContent = (_jsx("div", __assign({ ref: ref, className: classNames('smartapp-confirmation-modal', { 'smartapp-confirmation-modal__bottom-sheet': shouldUseBottomSheet }, className), style: styles }, { children: _jsxs("div", __assign({ className: generateClassNames({ className: 'smartapp-confirmation-modal__content', delimiter: '--', additionalClassName: additionalClassName }) }, { children: [title && (_jsxs("div", { children: [!isCloseIconInvisible && renderCloseIconSpace({ elementRef: titleRef }), _jsx("p", __assign({ ref: titleRef, className: "smartapp-confirmation-modal__content--title", style: titleStyles }, { children: title }))] })), !isCloseIconInvisible && (_jsx("div", __assign({ onClick: cancelFunction, className: "smartapp-confirmation-modal__content--close-icon" }, { children: _jsx(CloseIcon, { style: { color: generateColor(iconColor) } }) }))), _jsxs("div", { children: [!title && !isCloseIconInvisible && renderCloseIconSpace({ elementRef: textRef, isContent: true }), _jsx("span", __assign({ ref: textRef, className: "smartapp-confirmation-modal__content--text" }, { children: text }))] }), _jsxs("div", __assign({ style: { flexDirection: btnsContainerDirection }, className: "smartapp-confirmation-modal__content--buttons" }, { children: [cancelButtonName && (_jsx(Button, { title: cancelButtonName, isWaitingResponse: isCancelLoading, variant: TButtonVariant.secondary, onClick: cancelButtonFunction, disabled: isConfirmLoading })), _jsx(Button, { isWaitingResponse: isConfirmLoading, title: confirmButtonName, onClick: confirmButtonFunction, disabled: isCancelLoading })] }))] })) })));
|
|
67
67
|
return renderModal(modalContent);
|
|
68
68
|
};
|
|
69
|
+
export default ConfirmationModal;
|
|
69
70
|
//# sourceMappingURL=ConfirmationModal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfirmationModal.js","sourceRoot":"","sources":["../../../../src/сomponents/ConfirmationModal/ConfirmationModal.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAa,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAC3D,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,MAAM,MAAM,WAAW,CAAA;AAC9B,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAEhD,OAAO,EAAE,QAAQ,EAAE,uBAAuB,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AACxE,OAAO,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,aAAa,EAAE,yBAAyB,EAAE,4BAA4B,EAAE,MAAM,eAAe,CAAA;AACpJ,OAAO,EAAE,cAAc,IAAI,SAAS,EAAE,MAAM,qCAAqC,CAAA;AACjF,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAC/C,OAAO,0BAA0B,CAAA;AAEjC,IAAM,cAAc,GAAG,gBAAgB,CAAA;AAIvC,IAAM,iBAAiB,GAAG,UAAC,EAyBD;QAxBxB,WAAW,iBAAA,EACX,yBAAwB,EAAxB,iBAAiB,mBAAG,IAAI,KAAA,EACxB,wBAAwB,EAAxB,gBAAgB,mBAAG,KAAK,KAAA,EACxB,uBAAuB,EAAvB,eAAe,mBAAG,KAAK,KAAA,EACvB,iBAAiB,uBAAA,EACjB,KAAK,WAAA,EACL,IAAI,UAAA,EACJ,gBAAgB,sBAAA,EAChB,iBAAiB,uBAAA,EACjB,oBAAoB,0BAAA,EACpB,qBAAqB,2BAAA,EACrB,gBAAgB,sBAAA,EAChB,gBAAuB,EAAvB,QAAQ,mBAAG,QAAQ,CAAC,GAAG,KAAA,EACvB,cAAc,oBAAA,EACd,SAAS,eAAA,EACT,WAAW,iBAAA,EACX,MAAM,YAAA,EACN,WAAW,iBAAA,EACX,SAA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E,qBAAG,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAC,6CAA6C,EAAC,KAAK,EAAE,WAAW,gBACzF,KAAK,IACJ,IACA,CACP,EACA,CAAC,oBAAoB,IAAI,CACxB,uBAAK,OAAO,EAAE,cAAc,EAAE,SAAS,EAAC,kDAAkD,gBACxF,KAAC,SAAS,IAAC,KAAK,EAAE,EAAE,KAAK,EAAE,aAAa,CAAC,SAAS,CAAC,EAAE,GAAI,IACrD,CACP,EACD,0BACG,CAAC,KAAK,IAAI,CAAC,oBAAoB,IAAI,oBAAoB,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAClG,wBAAM,GAAG,EAAE,OAAO,EAAE,SAAS,EAAC,4CAA4C,gBACvE,IAAI,IACA,IACH,EACN,wBAAK,KAAK,EAAE,EAAE,aAAa,EAAE,sBAAsB,EAAE,EAAE,SAAS,EAAC,+CAA+C,iBAC7G,gBAAgB,IAAI,CACnB,KAAC,MAAM,IACL,KAAK,EAAE,gBAAgB,EACvB,iBAAiB,EAAE,eAAe,EAClC,OAAO,EAAE,cAAc,CAAC,SAAS,EACjC,OAAO,EAAE,oBAAoB,EAC7B,QAAQ,EAAE,gBAAgB,GAC1B,CACH,EACD,KAAC,MAAM,IAAC,iBAAiB,EAAE,gBAAgB,EAAE,KAAK,EAAE,iBAAiB,EAAE,OAAO,EAAE,qBAAqB,EAAE,QAAQ,EAAE,eAAe,GAAI,KAChI,KACF,IACF,CACP,CAAA;IAED,OAAO,WAAW,CAAC,YAAY,CAAC,CAAA;AAClC,CAAC,CAAA;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ConfirmationModal';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/ConfirmationModal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/ConfirmationModal/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IContextMenuProps } from './types';
|
|
2
|
+
import '../../styles/styles.scss';
|
|
3
|
+
declare const ContextMenu: ({ isMenuOpen, isClickForbidden, isCloseOnItemClick, position: { x, y }, menuWidth, containerClassName, menuClassName, itemClassName, containerStyles, menuStyles, itemStyles, items, closeMenu, platform, }: IContextMenuProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
4
|
+
export default ContextMenu;
|
|
@@ -12,12 +12,12 @@ var __assign = (this && this.__assign) || function () {
|
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { useLayoutEffect, useRef, useState } from 'react';
|
|
14
14
|
import classNames from 'classnames';
|
|
15
|
-
import
|
|
15
|
+
import Checkbox from '../Checkbox';
|
|
16
16
|
import { generateId, isWebPlatform } from '../../helpers';
|
|
17
17
|
import { CONTEXT_MENU_SAFE_SPACE, PLATFORM } from '../../constants';
|
|
18
18
|
import '../../styles/styles.scss';
|
|
19
19
|
var FIT_CONTENT = 'fit-content';
|
|
20
|
-
|
|
20
|
+
var ContextMenu = function (_a) {
|
|
21
21
|
var _b;
|
|
22
22
|
var isMenuOpen = _a.isMenuOpen, _c = _a.isClickForbidden, isClickForbidden = _c === void 0 ? false : _c, _d = _a.isCloseOnItemClick, isCloseOnItemClick = _d === void 0 ? true : _d, _e = _a.position, x = _e.x, y = _e.y, menuWidth = _a.menuWidth, containerClassName = _a.containerClassName, menuClassName = _a.menuClassName, itemClassName = _a.itemClassName, containerStyles = _a.containerStyles, _f = _a.menuStyles, menuStyles = _f === void 0 ? {} : _f, _g = _a.itemStyles, itemStyles = _g === void 0 ? {} : _g, items = _a.items, closeMenu = _a.closeMenu, _h = _a.platform, platform = _h === void 0 ? PLATFORM.web : _h;
|
|
23
23
|
var elementRef = useRef(null);
|
|
@@ -78,4 +78,5 @@ export var ContextMenu = function (_a) {
|
|
|
78
78
|
return null;
|
|
79
79
|
return (_jsx("div", __assign({ className: classNames('smartapp-context-menu', containerClassName), style: containerStyles, onClick: function (event) { return handleMenuClose({ event: event, isItemClick: false }); }, onContextMenu: handleContextMenu }, { children: _jsx("div", __assign({ ref: elementRef, className: classNames('smartapp-context-menu__items', menuClassName), style: contextMenuStyles, onClick: function (event) { return handleMenuClose({ event: event }); } }, { children: contextMenuItems })) })));
|
|
80
80
|
};
|
|
81
|
+
export default ContextMenu;
|
|
81
82
|
//# sourceMappingURL=ContextMenu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContextMenu.js","sourceRoot":"","sources":["../../../../src/сomponents/ContextMenu/ContextMenu.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAgB,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC9E,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,QAAQ,MAAM,aAAa,CAAA;AAClC,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AACzD,OAAO,EAAE,uBAAuB,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAEnE,OAAO,0BAA0B,CAAA;AAOjC,IAAM,WAAW,GAAG,aAAa,CAAA;AAEjC,IAAM,WAAW,GAAG,UAAC,EAeD;;QAdlB,UAAU,gBAAA,EACV,wBAAwB,EAAxB,gBAAgB,mBAAG,KAAK,KAAA,EACxB,0BAAyB,EAAzB,kBAAkB,mBAAG,IAAI,KAAA,EACzB,gBAAkB,EAAN,CAAC,OAAA,EAAE,CAAC,OAAA,EAChB,SAAS,eAAA,EACT,kBAAkB,wBAAA,EAClB,aAAa,mBAAA,EACb,aAAa,mBAAA,EACb,eAAe,qBAAA,EACf,kBAAe,EAAf,UAAU,mBAAG,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;IAE5B,OAAO,CACL,uBACE,SAAS,EAAE,UAAU,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,EAClE,KAAK,EAAE,eAAe,EACtB,OAAO,EAAE,UAAC,KAAK,IAAK,OAAA,eAAe,CAAC,EAAE,KAAK,OAAA,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,EAA9C,CAA8C,EAClE,aAAa,EAAE,iBAAiB,gBAEhC,uBACE,GAAG,EAAE,UAAU,EACf,SAAS,EAAE,UAAU,CAAC,8BAA8B,EAAE,aAAa,CAAC,EACpE,KAAK,EAAE,iBAAiB,EACxB,OAAO,EAAE,UAAC,KAAK,IAAK,OAAA,eAAe,CAAC,EAAE,KAAK,OAAA,EAAE,CAAC,EAA1B,CAA0B,gBAE7C,gBAAgB,IACb,IACF,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ContextMenu';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/ContextMenu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/ContextMenu/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ICustomSelectProps } from './types';
|
|
3
|
+
import '../../styles/styles.scss';
|
|
4
|
+
export declare const generateListItemTextRect: (listItemTextRef: React.RefObject<HTMLDivElement | null>) => {
|
|
5
|
+
scrollWidth: number;
|
|
6
|
+
clientWidth: number;
|
|
7
|
+
left: number;
|
|
8
|
+
top: number;
|
|
9
|
+
maxWidth: number;
|
|
10
|
+
};
|
|
11
|
+
declare const CustomSelect: ({ isLoading, isSearchable, isCreatable, isDisabled, isOptionsWithTooltip, fillType, width, menuListMaxHeight, containerClassName, containerStyles, title, placeholder, hint, noOptionsMessage, error, menuPosition, menuLocation, defaultValue, options, onChange, onDisabledOptionClick, onMenuOpen, }: ICustomSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default CustomSelect;
|
|
@@ -16,7 +16,7 @@ import CreatableSelect from 'react-select/creatable';
|
|
|
16
16
|
import Popup from 'reactjs-popup';
|
|
17
17
|
import { isEmpty, max, omit } from 'lodash';
|
|
18
18
|
import classNames from 'classnames';
|
|
19
|
-
import
|
|
19
|
+
import ListItem from '../ListItem';
|
|
20
20
|
import { Skeleton } from '../Skeleton';
|
|
21
21
|
import { isValueEqualToZero } from '../../helpers';
|
|
22
22
|
import { CREATABLE_MENU_LIST_MAX_HEIGHT, ENTER_KEY, FILL_TYPE, MENU_LIST_MAX_HEIGHT, MENU_POSITIONS, POPUP_ON_EVENT_TYPE } from '../../constants';
|
|
@@ -128,7 +128,7 @@ var ACTIONS = {
|
|
|
128
128
|
clear: 'clear',
|
|
129
129
|
inputChange: 'input-change',
|
|
130
130
|
};
|
|
131
|
-
|
|
131
|
+
var CustomSelect = function (_a) {
|
|
132
132
|
var _b = _a.isLoading, isLoading = _b === void 0 ? false : _b, _c = _a.isSearchable, isSearchable = _c === void 0 ? false : _c, _d = _a.isCreatable, isCreatable = _d === void 0 ? false : _d, _e = _a.isDisabled, isDisabled = _e === void 0 ? false : _e, _f = _a.isOptionsWithTooltip, isOptionsWithTooltip = _f === void 0 ? false : _f, _g = _a.fillType, fillType = _g === void 0 ? FILL_TYPE.primary : _g, _h = _a.width, width = _h === void 0 ? 100 : _h, menuListMaxHeight = _a.menuListMaxHeight, containerClassName = _a.containerClassName, containerStyles = _a.containerStyles, title = _a.title, placeholder = _a.placeholder, hint = _a.hint, noOptionsMessage = _a.noOptionsMessage, error = _a.error, _j = _a.menuPosition, menuPosition = _j === void 0 ? MENU_POSITIONS.bottom : _j, menuLocation = _a.menuLocation, defaultValue = _a.defaultValue, options = _a.options, onChange = _a.onChange, _k = _a.onDisabledOptionClick, onDisabledOptionClick = _k === void 0 ? function () { } : _k, _l = _a.onMenuOpen, onMenuOpen = _l === void 0 ? function () { } : _l;
|
|
133
133
|
var selectRef = useRef(null);
|
|
134
134
|
var _m = useState(), value = _m[0], setValue = _m[1];
|
|
@@ -216,4 +216,5 @@ export var CustomSelect = function (_a) {
|
|
|
216
216
|
NoOptionsMessage: function (props) { return _jsx(NoOptionsMessage, __assign({}, props, { noOptionsMessage: noOptionsMessage })); },
|
|
217
217
|
} })), renderHint(), renderError()] })));
|
|
218
218
|
};
|
|
219
|
+
export default CustomSelect;
|
|
219
220
|
//# sourceMappingURL=CustomSelect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomSelect.js","sourceRoot":"","sources":["../../../../src/сomponents/CustomSelect/CustomSelect.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC3E,OAAO,MAAM,EAAE,EAAc,UAAU,EAAgC,MAAM,cAAc,CAAA;AAC3F,OAAO,eAAe,MAAM,wBAAwB,CAAA;AACpD,OAAO,KAAK,MAAM,eAAe,CAAA;AACjC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC3C,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,QAAQ,MAAM,aAAa,CAAA;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,8BAA8B,EAAE,SAAS,EAAE,SAAS,EAAE,oBAAoB,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACjJ,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA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AC,KAAK,IAAK,OAAA,KAAC,gBAAgB,eAAK,KAAK,IAAE,gBAAgB,EAAE,gBAAgB,IAAI,EAAnE,CAAmE;iBACjG,GACD,CACH,EACA,UAAU,EAAE,EACZ,WAAW,EAAE,KACV,CACP,CAAA;AACH,CAAC,CAAA;AACD,eAAe,YAAY,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './CustomSelect';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/CustomSelect/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectStyles.js","sourceRoot":"","sources":["../../../../src/сomponents/CustomSelect/selectStyles.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AAChC,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAExC,8DAA8D;AAC9D,gBAAe,UAAC,EAAiF;QAA/E,UAAU,gBAAA,EAAE,OAAO,aAAA,EAAE,QAAQ,cAAA,EAAE,iBAAiB,uBAAA,EAAE,YAAY,kBAAA;IAAsB,OAAA,CAAC;QACrG,OAAO,EAAE,UAAC,QAAa,EAAE,EAAmB;gBAAjB,UAAU,gBAAA;YACnC,IAAM,WAAW,GAAG,UAAU,CAAC,CAAC,CAAC,6BAA6B,CAAC,CAAC,CAAC,qBAAqB,CAAA;YACtF,IAAM,gBAAgB,GAAG,UAAU,CAAC,CAAC,CAAC,6BAA6B,CAAC,CAAC,CAAC,2BAA2B,CAAA;YACjG,IAAM,UAAU,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,8BAA8B,CAAC,CAAC,CAAC,6BAA6B,CAAA;YAC/G,I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BAChB,UAAU,EAAE,MAAM;iBACnB;aACF,IACD,EA9ByB,CA8BzB;KACH,CAAC;AA7JoG,CA6JpG,EAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/CustomSelect/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ICustomSelectProfilesProps } from './types';
|
|
2
|
+
import '../../styles/styles.scss';
|
|
3
|
+
declare const CustomSelectProfiles: ({ options, defaultValue, placeholder, onChange, width }: ICustomSelectProfilesProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default CustomSelectProfiles;
|
package/build/main/{components → /321/201omponents}/CustomSelectProfiles/CustomSelectProfiles.js
RENAMED
|
@@ -22,7 +22,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
import Select, { components } from 'react-select';
|
|
25
|
-
import
|
|
25
|
+
import Avatar from '../Avatar';
|
|
26
26
|
import '../../styles/styles.scss';
|
|
27
27
|
var Control = function (_a) {
|
|
28
28
|
var _b, _c, _d;
|
|
@@ -36,7 +36,7 @@ var Option = function (_a) {
|
|
|
36
36
|
};
|
|
37
37
|
var DropdownIndicator = function (props) { return _jsx(components.DropdownIndicator, __assign({}, props)); };
|
|
38
38
|
var IndicatorSeparator = function () { return null; };
|
|
39
|
-
|
|
39
|
+
var CustomSelectProfiles = function (_a) {
|
|
40
40
|
var options = _a.options, defaultValue = _a.defaultValue, placeholder = _a.placeholder, onChange = _a.onChange, _b = _a.width, width = _b === void 0 ? 100 : _b;
|
|
41
41
|
var customStyles = {
|
|
42
42
|
option: function (provided, state) { return (__assign(__assign({}, provided), { cursor: 'pointer', color: '#000000', background: state.isSelected ? 'rgba(71, 153, 227, 0.1)' : '#ffffff', display: 'flex', textOverflow: 'ellipsis', width: "".concat(width, "%"), padding: '10px 0', '&:focus': {
|
|
@@ -53,4 +53,5 @@ export var CustomSelectProfiles = function (_a) {
|
|
|
53
53
|
/* @ts-ignore */
|
|
54
54
|
onChange: function (option) { return onChange(option); }, options: options, defaultValue: defaultValue, styles: customStyles, getOptionLabel: function (option) { return option.username; }, getOptionValue: function (option) { return option.email; }, placeholder: _jsx("div", __assign({ className: "smartapp-custom-select-profiles__placeholder" }, { children: placeholder })), components: { Option: Option, Control: Control, DropdownIndicator: DropdownIndicator, IndicatorSeparator: IndicatorSeparator } }) })));
|
|
55
55
|
};
|
|
56
|
+
export default CustomSelectProfiles;
|
|
56
57
|
//# sourceMappingURL=CustomSelectProfiles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomSelectProfiles.js","sourceRoot":"","sources":["../../../../src/сomponents/CustomSelectProfiles/CustomSelectProfiles.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,MAAM,EAAE,EAAE,UAAU,EAA0B,MAAM,cAAc,CAAA;AACzE,OAAO,MAAM,MAAM,WAAW,CAAA;AAE9B,OAAO,0BAA0B,CAAA;AAEjC,IAAM,OAAO,GAAG,UAAC,EAA2B;;IAAzB,IAAA,QAAQ,cAAA,EAAK,KAAK,cAApB,YAAsB,CAAF;IAAY,OAAA,CAC/C,MAAC,UAAU,CAAC,OAAO,eAAK,KAAK,eAC1B,CAAA,MAAA,KAAK,CAAC,WAAW,0CAAE,KAAK,KAAI,CAC3B,uBAAK,SAAS,EAAC,0CAA0C,gBACvD,yBACE,KAAC,MAAM,IAAC,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,MAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,WAAW,0CAAE,KAAK,0CAAE,QAAQ,GAAI,GAC9D,IACH,CACP,EACA,QAAQ,KACU,CACtB,CAAA;CAAA,CAAA;AAED,IAAM,MAAM,GAAG,UAAC,EAAiB;;QAAZ,KAAK,cAAV,EAA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,QAAQ,EAEjB,SAAS,EAAE;gBACT,UAAU,EAAE,SAAS;gBACrB,KAAK,EAAE,MAAM;aACd,EAED,SAAS,EAAE;gBACT,UAAU,EAAE,yBAAyB;aACtC,IACD,EAlBqC,CAkBrC;QACF,OAAO,EAAE,UAAC,QAAa,IAAK,OAAA,uBACvB,QAAQ,KACX,KAAK,EAAE,UAAG,KAAK,MAAG,EAClB,YAAY,EAAE,UAAU,EACxB,OAAO,EAAE,eAAe,IACxB,EAL0B,CAK1B;KACH,CAAA;IAED,OAAO,CACL,uBAAK,SAAS,EAAC,iCAAiC,gBAC9C,KAAC,MAAM;QACL,gBAAgB;;YAAhB,gBAAgB;YAChB,QAAQ,EAAE,UAAC,MAAM,IAAK,OAAA,QAAQ,CAAC,MAAM,CAAC,EAAhB,CAAgB,EACtC,OAAO,EAAE,OAAO,EAChB,YAAY,EAAE,YAAY,EAC1B,MAAM,EAAE,YAAY,EACpB,cAAc,EAAE,UAAC,MAAM,IAAK,OAAA,MAAM,CAAC,QAAQ,EAAf,CAAe,EAC3C,cAAc,EAAE,UAAC,MAAM,IAAK,OAAA,MAAM,CAAC,KAAK,EAAZ,CAAY,EACxC,WAAW,EAAE,uBAAK,SAAS,EAAC,8CAA8C,gBAAE,WAAW,IAAO,EAC9F,UAAU,EAAE,EAAE,MAAM,QAAA,EAAE,OAAO,SAAA,EAAE,iBAAiB,mBAAA,EAAE,kBAAkB,oBAAA,EAAE,GACtE,IACE,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,oBAAoB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './CustomSelectProfiles';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/CustomSelectProfiles/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/CustomSelectProfiles/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IDragAndDropProps } from './types';
|
|
2
|
+
import '../../styles/styles.scss';
|
|
3
|
+
declare const DragAndDrop: ({ placeholder, options, onDragEndFunction, onChangeIsCompletedOption, onChangeOption, onClickDeleteOption, width, checkboxColor, orderColor, deleteColor, }: IDragAndDropProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default DragAndDrop;
|
|
@@ -14,11 +14,11 @@ import { useState } from 'react';
|
|
|
14
14
|
import { DragDropContext, Droppable, Draggable } from 'react-beautiful-dnd';
|
|
15
15
|
import { ReactComponent as OrderIcon } from '../../assets/icons/order.svg';
|
|
16
16
|
import { ReactComponent as DeleteIcon } from '../../assets/icons/close.svg';
|
|
17
|
-
import
|
|
17
|
+
import CheckBox from '../Checkbox';
|
|
18
18
|
import { generateColor } from '../../helpers';
|
|
19
19
|
import { COLORS } from '../../constants';
|
|
20
20
|
import '../../styles/styles.scss';
|
|
21
|
-
|
|
21
|
+
var DragAndDrop = function (_a) {
|
|
22
22
|
var placeholder = _a.placeholder, options = _a.options, onDragEndFunction = _a.onDragEndFunction, onChangeIsCompletedOption = _a.onChangeIsCompletedOption, onChangeOption = _a.onChangeOption, onClickDeleteOption = _a.onClickDeleteOption, width = _a.width, checkboxColor = _a.checkboxColor, orderColor = _a.orderColor, deleteColor = _a.deleteColor;
|
|
23
23
|
var _b = useState(false), isOnDragStart = _b[0], setIsOnDragStart = _b[1];
|
|
24
24
|
var isCheckbox = function (option) { return (option === null || option === void 0 ? void 0 : option.isCompleted) !== undefined; };
|
|
@@ -51,6 +51,7 @@ export var DragAndDrop = function (_a) {
|
|
|
51
51
|
var newOptions = reorderOptions({ options: options, startIndex: result.source.index, endIndex: result.destination.index });
|
|
52
52
|
onDragEndFunction(newOptions);
|
|
53
53
|
};
|
|
54
|
-
return (_jsx("div", __assign({ style: { width: "".concat(width, "%") }, className: "smartapp-drag-drop" }, { children: _jsx(DragDropContext, __assign({ onDragStart: handleDragStart, onDragEnd: handleDragEnd }, { children: _jsx(Droppable, __assign({ droppableId: "droppable" }, { children: function (provided) { return (_jsx("div", __assign({}, provided.droppableProps, { ref: provided.innerRef, className: "smartapp-drag-drop__container" }, { children: options === null || options === void 0 ? void 0 : options.map(function (instanceOption, index) { return (_jsx(Draggable, __assign({ draggableId: instanceOption.id, index: index }, { children: function (provided) { return (_jsxs("div", __assign({ ref: provided.innerRef }, provided.draggableProps, provided.dragHandleProps, { className: "smartapp-drag-drop__container--instance" }, { children: [_jsxs("div", __assign({ className: "smartapp-drag-drop__container--instance__info" }, { children: [isCheckbox(instanceOption) && onChangeIsCompletedOption && (_jsx(
|
|
54
|
+
return (_jsx("div", __assign({ style: { width: "".concat(width, "%") }, className: "smartapp-drag-drop" }, { children: _jsx(DragDropContext, __assign({ onDragStart: handleDragStart, onDragEnd: handleDragEnd }, { children: _jsx(Droppable, __assign({ droppableId: "droppable" }, { children: function (provided) { return (_jsx("div", __assign({}, provided.droppableProps, { ref: provided.innerRef, className: "smartapp-drag-drop__container" }, { children: options === null || options === void 0 ? void 0 : options.map(function (instanceOption, index) { return (_jsx(Draggable, __assign({ draggableId: instanceOption.id, index: index }, { children: function (provided) { return (_jsxs("div", __assign({ ref: provided.innerRef }, provided.draggableProps, provided.dragHandleProps, { className: "smartapp-drag-drop__container--instance" }, { children: [_jsxs("div", __assign({ className: "smartapp-drag-drop__container--instance__info" }, { children: [isCheckbox(instanceOption) && onChangeIsCompletedOption && (_jsx(CheckBox, { id: instanceOption.id, isChecked: instanceOption.isCompleted, checkedColor: checkboxColor, onChange: function () { return onChangeIsCompletedOption(instanceOption); } })), onChangeOption ? (_jsx("input", { onChange: function (e) { return onChangeOption && onChangeOption(e, instanceOption); }, defaultValue: instanceOption.defaultValue, className: "smartapp-drag-drop__container--instance__info--name", type: "text", enterKeyHint: "enter", placeholder: placeholder }, instanceOption === null || instanceOption === void 0 ? void 0 : instanceOption.id)) : (_jsx("p", __assign({ className: "smartapp-drag-drop__container--instance__info--name" }, { children: instanceOption.defaultValue })))] })), _jsxs("div", __assign({ className: "smartapp-drag-drop__container--instance__icons" }, { children: [_jsx(OrderIcon, { style: { color: generateColor(orderColor, COLORS.gray) } }), onClickDeleteOption && (_jsx(DeleteIcon, { className: "cp", style: { color: generateColor(deleteColor, COLORS.blue) }, onClick: function () { return onClickDeleteOption(instanceOption); } }))] }))] }))); } }), instanceOption.id)); }) }))); } })) })) })));
|
|
55
55
|
};
|
|
56
|
+
export default DragAndDrop;
|
|
56
57
|
//# sourceMappingURL=DragAndDrop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DragAndDrop.js","sourceRoot":"","sources":["../../../../src/сomponents/DragAndDrop/DragAndDrop.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAC3E,OAAO,EAAE,cAAc,IAAI,SAAS,EAAE,MAAM,8BAA8B,CAAA;AAC1E,OAAO,EAAE,cAAc,IAAI,UAAU,EAAE,MAAM,8BAA8B,CAAA;AAC3E,OAAO,QAAQ,MAAM,aAAa,CAAA;AAElC,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxC,OAAO,0BAA0B,CAAA;AAEjC,IAAM,WAAW,GAAG,UAAC,EAWD;QAVlB,WAAW,iBAAA,EACX,OAAO,aAAA,EACP,iBAAiB,uBAAA,EACjB,yBAAyB,+BAAA,EACzB,cAAc,oBAAA,EACd,mBAAmB,yBAAA,EACnB,KAAK,WAAA,EACL,aAAa,mBAAA,EACb,UAAU,gBAAA,EACV,WAAW,iBAAA;IAEL,IAAA,KAAoC,QAAQ,CAAU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AzC,CAAyC,GACzD,CACH,EACA,cAAc,CAAC,CAAC,CAAC,CAChB,gBACE,QAAQ,EAAE,UAAC,CAAC,IAAK,OAAA,cAAc,IAAI,cAAc,CAAC,CAAC,EAAE,cAAc,CAAC,EAAnD,CAAmD,EACpE,YAAY,EAAE,cAAc,CAAC,YAAY,EACzC,SAAS,EAAC,qDAAqD,EAE/D,IAAI,EAAC,MAAM,EACX,YAAY,EAAC,OAAO,EACpB,WAAW,EAAE,WAAW,IAHnB,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,EAAE,CAIvB,CACH,CAAC,CAAC,CAAC,CACF,qBAAG,SAAS,EAAC,qDAAqD,gBAAE,cAAc,CAAC,YAAY,IAAK,CACrG,KACG,EACN,wBAAK,SAAS,EAAC,gDAAgD,iBAC7D,KAAC,SAAS,IAAC,KAAK,EAAE,EAAE,KAAK,EAAE,aAAa,CAAC,UAAU,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,GAAI,EACtE,mBAAmB,IAAI,CACtB,KAAC,UAAU,IACT,SAAS,EAAC,IAAI,EACd,KAAK,EAAE,EAAE,KAAK,EAAE,aAAa,CAAC,WAAW,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,EACzD,OAAO,EAAE,cAAM,OAAA,mBAAmB,CAAC,cAAc,CAAC,EAAnC,CAAmC,GAClD,CACH,KACG,KACF,CACP,EAzCc,CAyCd,KA1Ca,cAAc,CAAC,EAAE,CA2CrB,CACb,EA7CgD,CA6ChD,CAAC,IACE,CACP,EAjDc,CAiDd,IACS,IACI,IACd,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './DragAndDrop';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/DragAndDrop/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/DragAndDrop/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IDraggablePopup } from './types';
|
|
2
|
+
import '../../styles/styles.scss';
|
|
3
|
+
declare const DraggablePopup: ({ draggableZoneRef, popupContent, isPopupOpen, handleClose, popupCoords, title, bottomContent, dropZonePadding, offsetScrollY, handleChangeCoords, offsetPopupByClick, maxPopupHeight, contextMenuProps, popupClassName, }: IDraggablePopup) => import("react/jsx-runtime").JSX.Element | null;
|
|
4
|
+
export default DraggablePopup;
|
|
@@ -13,7 +13,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
13
13
|
import { useEffect, useRef, useState } from 'react';
|
|
14
14
|
import Draggable from 'react-draggable';
|
|
15
15
|
import classNames from 'classnames';
|
|
16
|
-
import
|
|
16
|
+
import Modal from '../Modal';
|
|
17
17
|
import { EVENT_LISTENER_TYPES } from '../../constants';
|
|
18
18
|
import '../../styles/styles.scss';
|
|
19
19
|
var DEFAULT_DRAGGABLE_PADDING = {
|
|
@@ -48,7 +48,7 @@ var calculateNewY = function (_a) {
|
|
|
48
48
|
}
|
|
49
49
|
return currentY;
|
|
50
50
|
};
|
|
51
|
-
|
|
51
|
+
var DraggablePopup = function (_a) {
|
|
52
52
|
var draggableZoneRef = _a.draggableZoneRef, popupContent = _a.popupContent, isPopupOpen = _a.isPopupOpen, handleClose = _a.handleClose, popupCoords = _a.popupCoords, _b = _a.title, title = _b === void 0 ? '' : _b, bottomContent = _a.bottomContent, _c = _a.dropZonePadding, dropZonePadding = _c === void 0 ? DEFAULT_DRAGGABLE_PADDING : _c, _d = _a.offsetScrollY, offsetScrollY = _d === void 0 ? 0 : _d, handleChangeCoords = _a.handleChangeCoords, _e = _a.offsetPopupByClick, offsetPopupByClick = _e === void 0 ? { offsetPopupXByClick: OFFSET_POPUP_X_BY_CLICK, offsetPopupYByClick: OFFSET_POPUP_Y_BY_CLICK } : _e, maxPopupHeight = _a.maxPopupHeight, contextMenuProps = _a.contextMenuProps, _f = _a.popupClassName, popupClassName = _f === void 0 ? '' : _f;
|
|
53
53
|
var _g = useState(null), draggableZoneInfo = _g[0], setDraggableZoneInfo = _g[1];
|
|
54
54
|
var _h = useState(null), popupPosition = _h[0], setPopupPosition = _h[1];
|
|
@@ -120,4 +120,5 @@ export var DraggablePopup = function (_a) {
|
|
|
120
120
|
var handleMouseEnter = function () { return setIsOutside(false); };
|
|
121
121
|
return (_jsx("div", __assign({ onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, style: { width: width, height: height }, className: "smartapp-draggable-popup" }, { children: _jsx(Draggable, __assign({ onStart: handleDragStart, onStop: function (_, data) { return handleDragStop(data); }, position: popupPosition || DEFAULT_POPUP_POSITION, bounds: { top: top, right: right, left: left, bottom: bottom } }, { children: _jsx("div", __assign({ ref: popupRef, className: classNames("smartapp-draggable-popup__popup-container ".concat(popupClassName), { 'invisible-content': !popupPosition }) }, { children: _jsx(Modal, { isModalOpen: isPopupOpen, content: popupContent, isPopup: true, handleCloseModal: handleClose, title: title, bottomContent: bottomContent, className: "smartapp-draggable-popup__popup-container--modal", modalMaxHeight: maxPopupHeight, contextMenuProps: currentContextMenuProps || undefined }) })) })) })));
|
|
122
122
|
};
|
|
123
|
+
export default DraggablePopup;
|
|
123
124
|
//# sourceMappingURL=DraggablePopup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DraggablePopup.js","sourceRoot":"","sources":["../../../../src/сomponents/DraggablePopup/DraggablePopup.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC1D,OAAO,SAA4B,MAAM,iBAAiB,CAAA;AAC1D,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,MAAM,UAAU,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xB,MAAM,EAAE,UAAC,CAAC,EAAE,IAAI,IAAK,OAAA,cAAc,CAAC,IAAI,CAAC,EAApB,CAAoB,EACzC,QAAQ,EAAE,aAAa,IAAI,sBAAsB,EACjD,MAAM,EAAE,EAAE,GAAG,KAAA,EAAE,KAAK,OAAA,EAAE,IAAI,MAAA,EAAE,MAAM,QAAA,EAAE,gBAEpC,uBACE,GAAG,EAAE,QAAQ,EACb,SAAS,EAAE,UAAU,CAAC,oDAA6C,cAAc,CAAE,EAAE,EAAE,mBAAmB,EAAE,CAAC,aAAa,EAAE,CAAC,gBAE7H,KAAC,KAAK,IACJ,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,YAAY,EACrB,OAAO,QACP,gBAAgB,EAAE,WAAW,EAC7B,KAAK,EAAE,KAAK,EACZ,aAAa,EAAE,aAAa,EAC5B,SAAS,EAAC,kDAAkD,EAC5D,cAAc,EAAE,cAAc,EAC9B,gBAAgB,EAAE,uBAAuB,IAAI,SAAS,GACtD,IACE,IACI,IACR,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './DraggablePopup';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/DraggablePopup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/DraggablePopup/types.ts"],"names":[],"mappings":""}
|
|
@@ -15,8 +15,9 @@ import { generateColor } from '../../helpers';
|
|
|
15
15
|
import { COLORS } from '../../constants';
|
|
16
16
|
import { ReactComponent as ErrorIcon } from '../../assets/icons/error.svg';
|
|
17
17
|
import '../../styles/styles.scss';
|
|
18
|
-
|
|
18
|
+
var Error = function (_a) {
|
|
19
19
|
var _b = _a.title, title = _b === void 0 ? 'Ошибка' : _b, _c = _a.text, text = _c === void 0 ? 'Попробуйте еще раз' : _c, _d = _a.width, width = _d === void 0 ? 100 : _d, className = _a.className, styles = _a.styles, iconColor = _a.iconColor;
|
|
20
20
|
return (_jsxs("div", __assign({ className: classNames('smartapp-error', className), style: __assign({ width: "".concat(width, "%") }, styles) }, { children: [_jsx("div", __assign({ className: "smartapp-error__icon" }, { children: _jsx(ErrorIcon, { style: { color: generateColor(iconColor, COLORS.gray) } }) })), _jsx("p", __assign({ className: "smartapp-error__title" }, { children: title })), _jsx("p", __assign({ className: "smartapp-error__text" }, { children: text }))] })));
|
|
21
21
|
};
|
|
22
|
+
export default Error;
|
|
22
23
|
//# sourceMappingURL=Error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Error.js","sourceRoot":"","sources":["../../../../src/сomponents/Error/Error.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,UAAU,MAAM,YAAY,CAAA;AAEnC,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxC,OAAO,EAAE,cAAc,IAAI,SAAS,EAAE,MAAM,8BAA8B,CAAA;AAC1E,OAAO,0BAA0B,CAAA;AAEjC,IAAM,KAAK,GAAG,UAAC,EAAyG;QAAvG,aAAgB,EAAhB,KAAK,mBAAG,QAAQ,KAAA,EAAE,YAA2B,EAA3B,IAAI,mBAAG,oBAAoB,KAAA,EAAE,aAAW,EAAX,KAAK,mBAAG,GAAG,KAAA,EAAE,SAAS,eAAA,EAAE,MAAM,YAAA,EAAE,SAAS,eAAA;IAAoB,OAAA,CAC3H,wBAAK,SAAS,EAAE,UAAU,CAAC,gBAAgB,EAAE,SAAS,CAAC,EAAE,KAAK,aAAI,KAAK,EAAE,UAAG,KAAK,MAAG,IAAK,MAAM,kBAC7F,uBAAK,SAAS,EAAC,sBAAsB,gBACnC,KAAC,SAAS,IAAC,KAAK,EAAE,EAAE,KAAK,EAAE,aAAa,CAAC,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,GAAI,IAClE,EACN,qBAAG,SAAS,EAAC,uBAAuB,gBAAE,KAAK,IAAK,EAChD,qBAAG,SAAS,EAAC,sBAAsB,gBAAE,IAAI,IAAK,KAC1C,CACP;AAR4H,CAQ5H,CAAA;AAED,eAAe,KAAK,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Error';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/Error/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/Error/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Flex.js","sourceRoot":"","sources":["../../../../src/сomponents/Flex/Flex.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,UAAU,MAAM,YAAY,CAAA;AAGnC,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AAErC,IAAM,aAAa,GAA+B;IAChD,KAAK,EAAE,aAAa;IACpB,GAAG,EAAE,WAAW;IAChB,MAAM,EAAE,cAAc;CACvB,CAAA;AAED,IAAM,eAAe,GAAiC;IACpD,KAAK,EAAE,eAAe;IACtB,GAAG,EAAE,aAAa;IAClB,MAAM,EAAE,gBAAgB;IACxB,OAAO,EAAE,iBAAiB;CAC3B,CAAA;AAED,IAAM,iBAAiB,GAAmC;IACxD,GAAG,EAAE,eAAe;IACpB,MAAM,EAAE,kBAAkB;CAC3B,CAAA;AAED,IAAM,KAAK,GAAG,OAAO,CAAA;AACrB,IAAM,aAAa,GAAG,eAAe,CAAA;AAErC,MAAM,CAAC,IAAM,IAAI,GAAG,UAAC,EAUb;IATN,IAAA,SAAS,eAAA,EACT,QAAQ,cAAA,EACR,eAAe,EAAf,OAAO,mBAAG,KAAK,KAAA,EACf,iBAAe,EAAf,SAAS,mBAAG,GAAG,KAAA,EACf,aAAa,EAAb,KAAK,mBAAG,KAAK,KAAA,EACb,GAAG,SAAA,EACH,YAAY,EAAZ,IAAI,mBAAG,KAAK,KAAA,EACZ,iBAAiB,EAAjB,SAAS,mBAAG,KAAK,KAAA,EACd,KAAK,cATW,sFAUpB,CADS;IAER,IAAM,IAAI,GAAG,EAAE,IAAI,MAAA,EAAE,YAAY,EAAE,SAAS,EAAE,CAAA;IAC9C,IAAM,OAAO,GAAG,CAAC,SAAS,EAAE,eAAe,CAAC,OAAO,CAAC,EAAE,aAAa,CAAC,KAAK,CAAC,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAC,CAAA;IAEzG,OAAO,CACL,uBAAK,KAAK,EAAE,EAAE,GAAG,EAAE,UAAG,GAAG,OAAI,EAAE,EAAE,SAAS,EAAE,UAAU,CAAC,aAAa,EAAE,IAAI,EAAE,OAAO,CAAC,IAAM,KAAK,cAC5F,QAAQ,IACL,CACP,CAAA;AACH,CAAC,CAAA"}
|
package/build/main/{components/Flex/Hflex/Hflex.d.ts → /321/201omponents/Flex/HFlex/HFlex.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TFlex } from '../types';
|
|
2
2
|
import { DIRECTION } from '../../../constants';
|
|
3
|
-
type
|
|
4
|
-
export declare const
|
|
3
|
+
type THFlex = Omit<TFlex, typeof DIRECTION>;
|
|
4
|
+
export declare const HFlex: (props: THFlex) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export {};
|
|
@@ -12,5 +12,5 @@ var __assign = (this && this.__assign) || function () {
|
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import { Flex } from '..';
|
|
14
14
|
import { ROW } from '../../../constants';
|
|
15
|
-
export var
|
|
16
|
-
//# sourceMappingURL=
|
|
15
|
+
export var HFlex = function (props) { return _jsx(Flex, __assign({}, props, { direction: ROW })); };
|
|
16
|
+
//# sourceMappingURL=HFlex.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HFlex.js","sourceRoot":"","sources":["../../../../../src/сomponents/Flex/HFlex/HFlex.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,IAAI,EAAE,MAAM,IAAI,CAAA;AAEzB,OAAO,EAAa,GAAG,EAAE,MAAM,oBAAoB,CAAA;AAInD,MAAM,CAAC,IAAM,KAAK,GAAG,UAAC,KAAa,IAAK,OAAA,KAAC,IAAI,eAAK,KAAK,IAAE,SAAS,EAAE,GAAG,IAAI,EAAnC,CAAmC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { HFlex } from './HFlex';
|