@expressms/smartapp-ui 3.0.0-alpha.22 → 3.0.0-alpha.221
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/assets/icons/accepted-invite-status.svg +4 -0
- package/build/main/assets/icons/arrow-back.svg +3 -0
- package/build/main/assets/icons/arrow-down.svg +3 -0
- package/build/main/assets/icons/arrow-up.svg +3 -0
- package/build/main/assets/icons/attachment-loader.svg +3 -0
- package/build/main/assets/icons/avatar-loader.svg +3 -0
- package/build/main/assets/icons/button-loader.svg +3 -0
- package/build/main/assets/icons/calendar-arrow-next.svg +3 -0
- package/build/main/assets/icons/calendar-arrow-prev.svg +3 -0
- package/build/main/assets/icons/check-mark-square.svg +4 -0
- package/build/main/assets/icons/check-mark.svg +4 -0
- package/build/main/assets/icons/chevron.svg +3 -0
- package/build/main/assets/icons/chip-info.svg +5 -0
- package/build/main/assets/icons/clear.svg +3 -0
- package/build/main/assets/icons/close-modal.svg +3 -0
- package/build/main/assets/icons/close-stories.svg +4 -0
- package/build/main/assets/icons/close.svg +3 -0
- package/build/main/assets/icons/contact-info.svg +5 -0
- package/build/main/assets/icons/copy.svg +3 -0
- package/build/main/assets/icons/corporate-user.svg +3 -0
- package/build/main/assets/icons/crown.svg +5 -0
- package/build/main/assets/icons/declined-invite-status.svg +4 -0
- package/build/main/assets/icons/delete-chip.svg +3 -0
- package/build/main/assets/icons/department.svg +3 -0
- package/build/main/assets/icons/distribution.svg +12 -0
- package/build/main/assets/icons/doc-small.svg +11 -0
- package/build/main/assets/icons/doc.svg +11 -0
- package/build/main/assets/icons/download.svg +3 -0
- package/build/main/assets/icons/error.svg +5 -0
- package/build/main/assets/icons/external-link.svg +3 -0
- package/build/main/assets/icons/eye-off.svg +5 -0
- package/build/main/assets/icons/eye-on.svg +4 -0
- package/build/main/assets/icons/file-small.svg +11 -0
- package/build/main/assets/icons/file.svg +11 -0
- package/build/main/assets/icons/global-address-book-user.svg +4 -0
- package/build/main/assets/icons/group.svg +3 -0
- package/build/main/assets/icons/image-no-preview-small.svg +11 -0
- package/build/main/assets/icons/image-no-preview.svg +11 -0
- package/build/main/assets/icons/indeterminate-check-mark-square.svg +4 -0
- package/build/main/assets/icons/info.svg +5 -0
- package/build/main/assets/icons/input-arrow-down.svg +3 -0
- package/build/main/assets/icons/input-arrow-up.svg +3 -0
- package/build/main/assets/icons/job-position.svg +3 -0
- package/build/main/assets/icons/loader.svg +3 -0
- package/build/main/assets/icons/logout.svg +4 -0
- package/build/main/assets/icons/magnifying-glass.svg +3 -0
- package/build/main/assets/icons/mail.svg +3 -0
- package/build/main/assets/icons/meeting-room.svg +3 -0
- package/build/main/assets/icons/more.svg +3 -0
- package/build/main/assets/icons/my-contacts-user.svg +3 -0
- package/build/main/assets/icons/needs-action-invite-status.svg +4 -0
- package/build/main/assets/icons/notification-close.svg +3 -0
- package/build/main/assets/icons/notification-error.svg +5 -0
- package/build/main/assets/icons/notification-failure-filled.svg +3 -0
- package/build/main/assets/icons/notification-failure.svg +3 -0
- package/build/main/assets/icons/notification-info-filled.svg +5 -0
- package/build/main/assets/icons/notification-info.svg +5 -0
- package/build/main/assets/icons/notification-success-filled.svg +4 -0
- package/build/main/assets/icons/notification-success.svg +4 -0
- package/build/main/assets/icons/office.svg +3 -0
- package/build/main/assets/icons/order.svg +6 -0
- package/build/main/assets/icons/pdf-small.svg +11 -0
- package/build/main/assets/icons/pdf.svg +11 -0
- package/build/main/assets/icons/play-small.svg +3 -0
- package/build/main/assets/icons/play.svg +3 -0
- package/build/main/assets/icons/plus.svg +4 -0
- package/build/main/assets/icons/ppt-small.svg +11 -0
- package/build/main/assets/icons/ppt.svg +11 -0
- package/build/main/assets/icons/private.svg +5 -0
- package/build/main/assets/icons/refresh.svg +3 -0
- package/build/main/assets/icons/remove.svg +3 -0
- package/build/main/assets/icons/search.svg +3 -0
- package/build/main/assets/icons/select-arrow-down.svg +3 -0
- package/build/main/assets/icons/select-arrow-up.svg +3 -0
- package/build/main/assets/icons/server.svg +3 -0
- package/build/main/assets/icons/story-loader.svg +3 -0
- package/build/main/assets/icons/tick.svg +10 -0
- package/build/main/assets/icons/trash.svg +3 -0
- package/build/main/assets/icons/txt-small.svg +11 -0
- package/build/main/assets/icons/txt.svg +11 -0
- package/build/main/assets/icons/video-no-preview-small.svg +11 -0
- package/build/main/assets/icons/video-no-preview.svg +11 -0
- package/build/main/assets/icons/warning-avatar.svg +4 -0
- package/build/main/assets/icons/xls-small.svg +11 -0
- package/build/main/assets/icons/xls.svg +11 -0
- package/build/main/assets/storybook/index.d.ts +27 -0
- package/build/main/assets/storybook/index.js +28 -0
- package/build/main/assets/storybook/index.js.map +1 -0
- package/build/main/constants/constants.d.ts +243 -0
- package/build/main/constants/constants.js +301 -0
- package/build/main/constants/constants.js.map +1 -0
- package/build/main/constants/index.d.ts +2 -0
- package/build/main/constants/index.js +3 -0
- package/build/main/constants/index.js.map +1 -0
- package/build/main/constants/types.d.ts +69 -0
- package/build/main/constants/types.js +2 -0
- package/build/main/constants/types.js.map +1 -0
- package/build/main/helpers/index.d.ts +33 -0
- package/build/main/helpers/index.js +204 -0
- package/build/main/helpers/index.js.map +1 -0
- package/build/main/hooks/useCharHintDisplay.d.ts +10 -0
- package/build/main/hooks/useCharHintDisplay.js +57 -0
- package/build/main/hooks/useCharHintDisplay.js.map +1 -0
- package/build/main/hooks/useMobileLongTap.d.ts +16 -0
- package/build/main/hooks/useMobileLongTap.js +65 -0
- package/build/main/hooks/useMobileLongTap.js.map +1 -0
- package/build/main/hooks/useModal.d.ts +30 -0
- package/build/main/hooks/useModal.js +275 -0
- package/build/main/hooks/useModal.js.map +1 -0
- package/build/main/index.d.ts +38 -0
- package/build/main/index.js +39 -0
- package/build/main/index.js.map +1 -0
- package/build/main/styles/index.d.ts +1 -0
- package/build/main/styles/index.js +2 -0
- package/build/main/styles/index.js.map +1 -0
- package/build/main/styles/main.js +0 -0
- package/build/main/styles/styles.scss +14 -0
- package/build/main//321/201omponents/ActionModal/ActionModal.d.ts +4 -0
- package/build/main//321/201omponents/ActionModal/ActionModal.js +53 -0
- 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.d.ts +23 -0
- package/build/main//321/201omponents/ActionModal/types.js +2 -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//321/201omponents/AttachedFile/AttachedFile.js +201 -0
- 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.d.ts +23 -0
- package/build/main//321/201omponents/AttachedFile/types.js +2 -0
- package/build/main//321/201omponents/AttachedFile/types.js.map +1 -0
- package/build/main//321/201omponents/Avatar/Avatar.d.ts +5 -0
- package/build/main//321/201omponents/Avatar/Avatar.js +254 -0
- 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.d.ts +64 -0
- package/build/main//321/201omponents/Avatar/types.js +32 -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//321/201omponents/Button/Button.js +68 -0
- 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.d.ts +31 -0
- package/build/main//321/201omponents/Button/types.js +15 -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//321/201omponents/CachedImage/CachedImage.js +59 -0
- package/build/main//321/201omponents/CachedImage/CachedImage.js.map +1 -0
- package/build/main//321/201omponents/CachedImage/helpers.d.ts +3 -0
- package/build/main//321/201omponents/CachedImage/helpers.js +40 -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.d.ts +10 -0
- package/build/main//321/201omponents/CachedImage/types.js +2 -0
- package/build/main//321/201omponents/CachedImage/types.js.map +1 -0
- package/build/main//321/201omponents/Calendar/Calendar.d.ts +16 -0
- package/build/main//321/201omponents/Calendar/Calendar.js +294 -0
- 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.d.ts +28 -0
- package/build/main//321/201omponents/Calendar/types.js +2 -0
- package/build/main//321/201omponents/Calendar/types.js.map +1 -0
- package/build/main//321/201omponents/Charts/ChartBar/ChartBar.d.ts +4 -0
- package/build/main//321/201omponents/Charts/ChartBar/ChartBar.js +47 -0
- package/build/main//321/201omponents/Charts/ChartBar/ChartBar.js.map +1 -0
- package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.d.ts +4 -0
- package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.js +71 -0
- package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.js.map +1 -0
- package/build/main//321/201omponents/Charts/ChartLine/ChartLine.d.ts +4 -0
- package/build/main//321/201omponents/Charts/ChartLine/ChartLine.js +42 -0
- package/build/main//321/201omponents/Charts/ChartLine/ChartLine.js.map +1 -0
- package/build/main//321/201omponents/Charts/ChartPie/ChartPie.d.ts +4 -0
- package/build/main//321/201omponents/Charts/ChartPie/ChartPie.js +64 -0
- package/build/main//321/201omponents/Charts/ChartPie/ChartPie.js.map +1 -0
- package/build/main//321/201omponents/Charts/colors.d.ts +3 -0
- package/build/main//321/201omponents/Charts/colors.js +4 -0
- package/build/main//321/201omponents/Charts/colors.js.map +1 -0
- package/build/main//321/201omponents/Charts/constants.d.ts +42 -0
- package/build/main//321/201omponents/Charts/constants.js +42 -0
- package/build/main//321/201omponents/Charts/constants.js.map +1 -0
- package/build/main//321/201omponents/Charts/helpers.d.ts +17 -0
- package/build/main//321/201omponents/Charts/helpers.js +73 -0
- package/build/main//321/201omponents/Charts/helpers.js.map +1 -0
- package/build/main//321/201omponents/Charts/index.d.ts +3 -0
- package/build/main//321/201omponents/Charts/index.js +4 -0
- package/build/main//321/201omponents/Charts/index.js.map +1 -0
- package/build/main//321/201omponents/Charts/types.d.ts +89 -0
- package/build/main//321/201omponents/Charts/types.js +2 -0
- package/build/main//321/201omponents/Charts/types.js.map +1 -0
- package/build/main//321/201omponents/Charts/useEvents.d.ts +5 -0
- package/build/main//321/201omponents/Charts/useEvents.js +45 -0
- package/build/main//321/201omponents/Charts/useEvents.js.map +1 -0
- package/build/main//321/201omponents/Charts/usePieEvents.d.ts +6 -0
- package/build/main//321/201omponents/Charts/usePieEvents.js +57 -0
- package/build/main//321/201omponents/Charts/usePieEvents.js.map +1 -0
- package/build/main//321/201omponents/Checkbox/Checkbox.d.ts +8 -0
- package/build/main//321/201omponents/Checkbox/Checkbox.js +48 -0
- 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.d.ts +14 -0
- package/build/main//321/201omponents/Checkbox/types.js +2 -0
- package/build/main//321/201omponents/Checkbox/types.js.map +1 -0
- package/build/main//321/201omponents/Chip/Chip.d.ts +5 -0
- package/build/main//321/201omponents/Chip/Chip.js +288 -0
- 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//321/201omponents/Chip/types.d.ts +39 -0
- package/build/main//321/201omponents/Chip/types.js +2 -0
- package/build/main//321/201omponents/Chip/types.js.map +1 -0
- package/build/main//321/201omponents/ChipDndContext/ChipDndContext.d.ts +13 -0
- package/build/main//321/201omponents/ChipDndContext/ChipDndContext.js +76 -0
- package/build/main//321/201omponents/ChipDndContext/ChipDndContext.js.map +1 -0
- package/build/main//321/201omponents/ChipDndContext/index.d.ts +1 -0
- package/build/main//321/201omponents/ChipDndContext/index.js +2 -0
- package/build/main//321/201omponents/ChipDndContext/index.js.map +1 -0
- package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.d.ts +4 -0
- package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js +64 -0
- 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.d.ts +31 -0
- package/build/main//321/201omponents/ConfirmationModal/types.js +2 -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//321/201omponents/ContextMenu/ContextMenu.js +122 -0
- 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.d.ts +41 -0
- package/build/main//321/201omponents/ContextMenu/types.js +2 -0
- package/build/main//321/201omponents/ContextMenu/types.js.map +1 -0
- package/build/main//321/201omponents/ContextMenuItem/ContextMenuItem.d.ts +4 -0
- package/build/main//321/201omponents/ContextMenuItem/ContextMenuItem.js +49 -0
- package/build/main//321/201omponents/ContextMenuItem/ContextMenuItem.js.map +1 -0
- package/build/main//321/201omponents/ContextMenuItem/index.d.ts +1 -0
- package/build/main//321/201omponents/ContextMenuItem/index.js +2 -0
- package/build/main//321/201omponents/ContextMenuItem/index.js.map +1 -0
- package/build/main//321/201omponents/ContextMenuItem/types.d.ts +28 -0
- package/build/main//321/201omponents/ContextMenuItem/types.js +6 -0
- package/build/main//321/201omponents/ContextMenuItem/types.js.map +1 -0
- package/build/main//321/201omponents/CustomSelect/CustomSelect.d.ts +12 -0
- package/build/main//321/201omponents/CustomSelect/CustomSelect.js +281 -0
- 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.d.ts +16 -0
- package/build/main//321/201omponents/CustomSelect/selectStyles.js +77 -0
- package/build/main//321/201omponents/CustomSelect/selectStyles.js.map +1 -0
- package/build/main//321/201omponents/CustomSelect/types.d.ts +86 -0
- package/build/main//321/201omponents/CustomSelect/types.js +2 -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//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js +67 -0
- 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/selectStyles.d.ts +12 -0
- package/build/main//321/201omponents/CustomSelectProfiles/selectStyles.js +41 -0
- package/build/main//321/201omponents/CustomSelectProfiles/selectStyles.js.map +1 -0
- package/build/main//321/201omponents/CustomSelectProfiles/types.d.ts +13 -0
- package/build/main//321/201omponents/CustomSelectProfiles/types.js +2 -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//321/201omponents/DragAndDrop/DragAndDrop.js +57 -0
- 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.d.ts +24 -0
- package/build/main//321/201omponents/DragAndDrop/types.js +2 -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//321/201omponents/DraggablePopup/DraggablePopup.js +228 -0
- 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.d.ts +90 -0
- package/build/main//321/201omponents/DraggablePopup/types.js +2 -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//321/201omponents/Error/Error.js +23 -0
- 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.d.ts +10 -0
- package/build/main//321/201omponents/Error/types.js +2 -0
- package/build/main//321/201omponents/Error/types.js.map +1 -0
- package/build/main//321/201omponents/Flex/Flex.d.ts +2 -0
- package/build/main//321/201omponents/Flex/Flex.js +35 -0
- package/build/main//321/201omponents/Flex/Flex.js.map +1 -0
- package/build/main//321/201omponents/Flex/HFlex/HFlex.d.ts +5 -0
- package/build/main//321/201omponents/Flex/HFlex/HFlex.js +16 -0
- 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//321/201omponents/Flex/VFlex/VFlex.d.ts +5 -0
- package/build/main//321/201omponents/Flex/VFlex/VFlex.js +16 -0
- 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//321/201omponents/Flex/types.d.ts +21 -0
- package/build/main//321/201omponents/Flex/types.js +2 -0
- package/build/main//321/201omponents/Flex/types.js.map +1 -0
- package/build/main//321/201omponents/Header/Header.d.ts +5 -0
- package/build/main//321/201omponents/Header/Header.js +125 -0
- 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.d.ts +47 -0
- package/build/main//321/201omponents/Header/types.js +2 -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//321/201omponents/Input/Input.js +256 -0
- 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.d.ts +37 -0
- package/build/main//321/201omponents/Input/types.js +2 -0
- package/build/main//321/201omponents/Input/types.js.map +1 -0
- package/build/main//321/201omponents/ListItem/ListItem.d.ts +23 -0
- package/build/main//321/201omponents/ListItem/ListItem.js +214 -0
- 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.d.ts +47 -0
- package/build/main//321/201omponents/ListItem/types.js +2 -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//321/201omponents/Loader/Loader.js +44 -0
- 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.d.ts +18 -0
- package/build/main//321/201omponents/Loader/types.js +2 -0
- package/build/main//321/201omponents/Loader/types.js.map +1 -0
- package/build/main//321/201omponents/Modal/Modal.d.ts +5 -0
- package/build/main//321/201omponents/Modal/Modal.js +397 -0
- 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.d.ts +77 -0
- package/build/main//321/201omponents/Modal/types.js +2 -0
- package/build/main//321/201omponents/Modal/types.js.map +1 -0
- package/build/main//321/201omponents/Notification/Notification.d.ts +4 -0
- package/build/main//321/201omponents/Notification/Notification.js +208 -0
- package/build/main//321/201omponents/Notification/Notification.js.map +1 -0
- package/build/main//321/201omponents/Notification/constants.d.ts +34 -0
- package/build/main//321/201omponents/Notification/constants.js +59 -0
- package/build/main//321/201omponents/Notification/constants.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.d.ts +64 -0
- package/build/main//321/201omponents/Notification/types.js +2 -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//321/201omponents/Profile/Profile.js +42 -0
- 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.d.ts +14 -0
- package/build/main//321/201omponents/Profile/types.js +2 -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//321/201omponents/ProgressBar/ProgressBar.js +66 -0
- 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.d.ts +7 -0
- package/build/main//321/201omponents/ProgressBar/types.js +2 -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//321/201omponents/RadioButton/RadioButton.js +33 -0
- 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.d.ts +12 -0
- package/build/main//321/201omponents/RadioButton/types.js +2 -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//321/201omponents/ScrollBar/ScrollBar.js +140 -0
- 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.d.ts +24 -0
- package/build/main//321/201omponents/ScrollBar/types.js +2 -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//321/201omponents/Skeleton/Skeleton.js +59 -0
- 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.d.ts +17 -0
- package/build/main//321/201omponents/Skeleton/types.js +2 -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//321/201omponents/Stories/Stories.js +406 -0
- 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.d.ts +71 -0
- package/build/main//321/201omponents/Stories/types.js +16 -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//321/201omponents/Switcher/Switcher.js +34 -0
- 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.d.ts +8 -0
- package/build/main//321/201omponents/Switcher/types.js +2 -0
- package/build/main//321/201omponents/Switcher/types.js.map +1 -0
- package/build/main//321/201omponents/SyncLoader/SyncLoader.d.ts +5 -0
- package/build/main//321/201omponents/SyncLoader/SyncLoader.js +65 -0
- 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.d.ts +8 -0
- package/build/main//321/201omponents/SyncLoader/types.js +2 -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//321/201omponents/Textarea/Textarea.js +59 -0
- 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.d.ts +13 -0
- package/build/main//321/201omponents/Textarea/types.js +2 -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//321/201omponents/Toggle/Toggle.js +35 -0
- 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.d.ts +12 -0
- package/build/main//321/201omponents/Toggle/types.js +2 -0
- package/build/main//321/201omponents/Toggle/types.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.d.ts +4 -0
- package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.js +40 -0
- package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.d.ts +4 -0
- package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.js +98 -0
- package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.d.ts +5 -0
- package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js +24 -0
- package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.d.ts +4 -0
- package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.js +104 -0
- package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.d.ts +4 -0
- package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js +133 -0
- package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/Option/Option.d.ts +4 -0
- package/build/main//321/201omponents/UserDropdown/Option/Option.js +85 -0
- package/build/main//321/201omponents/UserDropdown/Option/Option.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/SearchInCatalogButton/SearchInCatalogButton.d.ts +4 -0
- package/build/main//321/201omponents/UserDropdown/SearchInCatalogButton/SearchInCatalogButton.js +41 -0
- package/build/main//321/201omponents/UserDropdown/SearchInCatalogButton/SearchInCatalogButton.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/UserDropdown.d.ts +5 -0
- package/build/main//321/201omponents/UserDropdown/UserDropdown.js +527 -0
- package/build/main//321/201omponents/UserDropdown/UserDropdown.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/components/Delimiter.d.ts +8 -0
- package/build/main//321/201omponents/UserDropdown/components/Delimiter.js +10 -0
- package/build/main//321/201omponents/UserDropdown/components/Delimiter.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/components/Hint.d.ts +6 -0
- package/build/main//321/201omponents/UserDropdown/components/Hint.js +21 -0
- package/build/main//321/201omponents/UserDropdown/components/Hint.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/components/Input.d.ts +2 -0
- package/build/main//321/201omponents/UserDropdown/components/Input.js +24 -0
- package/build/main//321/201omponents/UserDropdown/components/Input.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/components/Mask.d.ts +8 -0
- package/build/main//321/201omponents/UserDropdown/components/Mask.js +19 -0
- package/build/main//321/201omponents/UserDropdown/components/Mask.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/components/Title.d.ts +5 -0
- package/build/main//321/201omponents/UserDropdown/components/Title.js +18 -0
- package/build/main//321/201omponents/UserDropdown/components/Title.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/constants.d.ts +65 -0
- package/build/main//321/201omponents/UserDropdown/constants.js +83 -0
- package/build/main//321/201omponents/UserDropdown/constants.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/helpers.d.ts +148 -0
- package/build/main//321/201omponents/UserDropdown/helpers.js +313 -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.d.ts +15 -0
- package/build/main//321/201omponents/UserDropdown/selectStyles.js +99 -0
- package/build/main//321/201omponents/UserDropdown/selectStyles.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/types.d.ts +356 -0
- package/build/main//321/201omponents/UserDropdown/types.js +2 -0
- package/build/main//321/201omponents/UserDropdown/types.js.map +1 -0
- package/build/main//321/201omponents/types.d.ts +2 -0
- package/build/main//321/201omponents/types.js +2 -0
- package/build/main//321/201omponents/types.js.map +1 -0
- package/package.json +13 -8
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
import { isNil, isString } from 'lodash';
|
|
14
|
+
var Hint = function (_a) {
|
|
15
|
+
var text = _a.text;
|
|
16
|
+
if (isNil(text))
|
|
17
|
+
return null;
|
|
18
|
+
return isString(text) ? _jsx("div", __assign({ className: "smartapp-user-dropdown__hint" }, { children: text })) : text;
|
|
19
|
+
};
|
|
20
|
+
export default Hint;
|
|
21
|
+
//# sourceMappingURL=Hint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Hint.js","sourceRoot":"","sources":["../../../../../src/сomponents/UserDropdown/components/Hint.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AAMxC,IAAM,IAAI,GAAG,UAAC,EAAe;QAAb,IAAI,UAAA;IAClB,IAAI,KAAK,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAA;IAC5B,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,uBAAK,SAAS,EAAC,8BAA8B,gBAAE,IAAI,IAAO,CAAC,CAAC,CAAC,IAAI,CAAA;AAC3F,CAAC,CAAA;AAED,eAAe,IAAI,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { components } from 'react-select';
|
|
14
|
+
import { isEmpty } from 'lodash';
|
|
15
|
+
import { BUTTON, EMPTY_STRING, ENTER_KEY_HINT } from '../../../constants';
|
|
16
|
+
import { INPUT_ACTIONS } from '../constants';
|
|
17
|
+
import { ReactComponent as ClearIcon } from '../../../assets/icons/remove.svg';
|
|
18
|
+
var Input = function (props) {
|
|
19
|
+
var isClearable = props["data-is-clearable"], placeholder = props["data-placeholder"], value = props.value, suffix = props.suffix, suffixRef = props.suffixref, onInputChange = props.selectProps.onInputChange;
|
|
20
|
+
var handleClearInput = function () { return onInputChange(EMPTY_STRING, { action: INPUT_ACTIONS.change, prevInputValue: value }); };
|
|
21
|
+
return (_jsxs(_Fragment, { children: [_jsx(components.Input, __assign({}, props, { enterKeyHint: ENTER_KEY_HINT.done, placeholder: placeholder })), suffix && (_jsx("div", __assign({ ref: suffixRef, className: "smartapp-user-dropdown__suffix" }, { children: suffix }))), isClearable && !isEmpty(value) && (_jsx("button", __assign({ type: BUTTON, className: "smartapp-user-dropdown__clear-icon", onClick: handleClearInput, onTouchEnd: handleClearInput }, { children: _jsx(ClearIcon, {}) })))] }));
|
|
22
|
+
};
|
|
23
|
+
export default Input;
|
|
24
|
+
//# sourceMappingURL=Input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.js","sourceRoot":"","sources":["../../../../../src/сomponents/UserDropdown/components/Input.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AAChC,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAC5C,OAAO,EAAE,cAAc,IAAI,SAAS,EAAE,MAAM,kCAAkC,CAAA;AAE9E,IAAM,KAAK,GAAG,UAAC,KAAU;IAErB,IAAqB,WAAW,GAM9B,KAAK,qBANyB,EACZ,WAAW,GAK7B,KAAK,oBALwB,EAC/B,KAAK,GAIH,KAAK,MAJF,EACL,MAAM,GAGJ,KAAK,OAHD,EACK,SAAS,GAElB,KAAK,UAFa,EACL,aAAa,GAC1B,KAAK,0BADqB,CACrB;IAET,IAAM,gBAAgB,GAAG,cAAM,OAAA,aAAa,CAAC,YAAY,EAAE,EAAE,MAAM,EAAE,aAAa,CAAC,MAAM,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,EAApF,CAAoF,CAAA;IAEnH,OAAO,CACL,8BACE,KAAC,UAAU,CAAC,KAAK,eAAK,KAAK,IAAE,YAAY,EAAE,cAAc,CAAC,IAAI,EAAE,WAAW,EAAE,WAAW,IAAI,EAC3F,MAAM,IAAI,CACT,uBAAK,GAAG,EAAE,SAAS,EAAE,SAAS,EAAC,gCAAgC,gBAC5D,MAAM,IACH,CACP,EACA,WAAW,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CACjC,0BAAQ,IAAI,EAAE,MAAM,EAAE,SAAS,EAAC,oCAAoC,EAAC,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,gBAAgB,gBAC1H,KAAC,SAAS,KAAG,IACN,CACV,IACA,CACJ,CAAA;AACH,CAAC,CAAA;AAED,eAAe,KAAK,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode, RefObject } from 'react';
|
|
2
|
+
type TMask = {
|
|
3
|
+
mask?: ReactNode;
|
|
4
|
+
elementRef?: RefObject<HTMLDivElement | null>;
|
|
5
|
+
isVisible?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const Mask: ({ mask, elementRef, isVisible }: TMask) => import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
+
export default Mask;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
import classNames from 'classnames';
|
|
14
|
+
var Mask = function (_a) {
|
|
15
|
+
var mask = _a.mask, elementRef = _a.elementRef, _b = _a.isVisible, isVisible = _b === void 0 ? true : _b;
|
|
16
|
+
return mask ? (_jsx("div", __assign({ ref: elementRef, className: classNames('smartapp-user-dropdown__container--mask', { 'smartapp-user-dropdown__container--mask__hidden': !isVisible }) }, { children: mask }))) : null;
|
|
17
|
+
};
|
|
18
|
+
export default Mask;
|
|
19
|
+
//# sourceMappingURL=Mask.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Mask.js","sourceRoot":"","sources":["../../../../../src/сomponents/UserDropdown/components/Mask.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,UAAU,MAAM,YAAY,CAAA;AAQnC,IAAM,IAAI,GAAG,UAAC,EAA6C;QAA3C,IAAI,UAAA,EAAE,UAAU,gBAAA,EAAE,iBAAgB,EAAhB,SAAS,mBAAG,IAAI,KAAA;IAChD,OAAA,IAAI,CAAC,CAAC,CAAC,CACL,uBACE,GAAG,EAAE,UAAU,EACf,SAAS,EAAE,UAAU,CAAC,yCAAyC,EAAE,EAAE,iDAAiD,EAAE,CAAC,SAAS,EAAE,CAAC,gBAElI,IAAI,IACD,CACP,CAAC,CAAC,CAAC,IAAI;AAPR,CAOQ,CAAA;AAEV,eAAe,IAAI,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
var Title = function (_a) {
|
|
14
|
+
var text = _a.text;
|
|
15
|
+
return (text ? _jsx("div", __assign({ className: "smartapp-user-dropdown__title" }, { children: text })) : null);
|
|
16
|
+
};
|
|
17
|
+
export default Title;
|
|
18
|
+
//# sourceMappingURL=Title.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Title.js","sourceRoot":"","sources":["../../../../../src/сomponents/UserDropdown/components/Title.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAMA,IAAM,KAAK,GAAG,UAAC,EAAgB;QAAd,IAAI,UAAA;IAAe,OAAA,CAAC,IAAI,CAAC,CAAC,CAAC,uBAAK,SAAS,EAAC,+BAA+B,gBAAE,IAAI,IAAO,CAAC,CAAC,CAAC,IAAI,CAAC;AAA3E,CAA2E,CAAA;AAE/G,eAAe,KAAK,CAAA"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { TTextWithLocale } from '../../constants';
|
|
2
|
+
export declare const THREE_DIGIT_NUMBER_WIDTH = 48;
|
|
3
|
+
export declare const TWO_DIGIT_NUMBER_WIDTH = 40;
|
|
4
|
+
export declare const SINGLE_DIGIT_NUMBER_WIDTH = 32;
|
|
5
|
+
export declare const INPUT_SPACE_WIDTH = 46;
|
|
6
|
+
export declare const GAP = 8;
|
|
7
|
+
export declare const USER_TYPING_TIMEOUT = 1000;
|
|
8
|
+
export declare const CLEAR_USER_TYPING_TIMEOUT = 500;
|
|
9
|
+
export declare const INPUT = "input";
|
|
10
|
+
export declare const BUBBLES: {
|
|
11
|
+
bubbles: boolean;
|
|
12
|
+
};
|
|
13
|
+
export declare const PADDING_WITH_CLEAR_ICON = "40px";
|
|
14
|
+
export declare const CTS_USER = "cts_user";
|
|
15
|
+
export declare const CTS_USER_ALTERNATIVE = "ctsUser";
|
|
16
|
+
export declare const DEFAULT_MENU_LIST_MAX_HEIGHT = 220;
|
|
17
|
+
export declare const DEFAULT_MAX_ROWS_COUNT_TO_COLLAPSE_CHIPS = 2;
|
|
18
|
+
export declare const ALREADY_ADDED: TTextWithLocale;
|
|
19
|
+
export declare const MATCH_SCORES: {
|
|
20
|
+
readonly EMAIL_STARTS_WITH: 6;
|
|
21
|
+
readonly EMAIL_CONTAINS: 5;
|
|
22
|
+
readonly NAME_FIRST_WORD_STARTS_WITH: 4;
|
|
23
|
+
readonly NAME_ANY_WORD_STARTS_WITH: 3;
|
|
24
|
+
readonly NAME_CONTAINS: 2;
|
|
25
|
+
readonly NO_MATCH: 0;
|
|
26
|
+
};
|
|
27
|
+
export declare enum CONTACT_TYPES {
|
|
28
|
+
myContact = "My contact",
|
|
29
|
+
GALContact = "GAL contact",
|
|
30
|
+
privateDL = "Private DL",
|
|
31
|
+
publicDL = "Public DL",
|
|
32
|
+
meetingRoom = "Meeting room",
|
|
33
|
+
roomList = "Room list"
|
|
34
|
+
}
|
|
35
|
+
export declare enum MENU_ACTIONS {
|
|
36
|
+
close = "menu-close"
|
|
37
|
+
}
|
|
38
|
+
export declare enum INPUT_ACTIONS {
|
|
39
|
+
change = "input-change",
|
|
40
|
+
blur = "input-blur"
|
|
41
|
+
}
|
|
42
|
+
export declare enum EMAIL_SEPARATORS {
|
|
43
|
+
semicolon = ";",
|
|
44
|
+
comma = ","
|
|
45
|
+
}
|
|
46
|
+
export declare enum EXCLUDED_FIELDS {
|
|
47
|
+
value = "value",
|
|
48
|
+
label = "label",
|
|
49
|
+
layoutType = "layoutType",
|
|
50
|
+
platform = "platform",
|
|
51
|
+
language = "language",
|
|
52
|
+
isEnteredByUser = "isEnteredByUser",
|
|
53
|
+
isMyContacts = "isMyContacts",
|
|
54
|
+
isChipsCollapsable = "isChipsCollapsable",
|
|
55
|
+
isSelectedChipHasTooltip = "isSelectedChipHasTooltip",
|
|
56
|
+
isInputFocused = "isInputFocused",
|
|
57
|
+
setIsSearchable = "setIsSearchable",
|
|
58
|
+
selectRef = "selectRef",
|
|
59
|
+
setModalData = "setModalData",
|
|
60
|
+
collapsableChipsCount = "collapsableChipsCount",
|
|
61
|
+
lastVisibleChipIndex = "lastVisibleChipIndex",
|
|
62
|
+
fontFamily = "fontFamily"
|
|
63
|
+
}
|
|
64
|
+
export declare const COMMON_FIELDS_TO_OMIT: string[];
|
|
65
|
+
export declare const COMMON_FIELDS_TO_PICK: string[];
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
var _a;
|
|
2
|
+
import { omit } from 'lodash';
|
|
3
|
+
import { LANGUAGES } from '../../constants';
|
|
4
|
+
export var THREE_DIGIT_NUMBER_WIDTH = 48;
|
|
5
|
+
export var TWO_DIGIT_NUMBER_WIDTH = 40;
|
|
6
|
+
export var SINGLE_DIGIT_NUMBER_WIDTH = 32;
|
|
7
|
+
export var INPUT_SPACE_WIDTH = 46;
|
|
8
|
+
export var GAP = 8;
|
|
9
|
+
export var USER_TYPING_TIMEOUT = 1000;
|
|
10
|
+
export var CLEAR_USER_TYPING_TIMEOUT = 500;
|
|
11
|
+
export var INPUT = 'input';
|
|
12
|
+
export var BUBBLES = { bubbles: true };
|
|
13
|
+
export var PADDING_WITH_CLEAR_ICON = '40px';
|
|
14
|
+
export var CTS_USER = 'cts_user';
|
|
15
|
+
export var CTS_USER_ALTERNATIVE = 'ctsUser';
|
|
16
|
+
export var DEFAULT_MENU_LIST_MAX_HEIGHT = 220;
|
|
17
|
+
export var DEFAULT_MAX_ROWS_COUNT_TO_COLLAPSE_CHIPS = 2;
|
|
18
|
+
export var ALREADY_ADDED = (_a = {},
|
|
19
|
+
_a[LANGUAGES.ru] = 'Уже добавлен(а)',
|
|
20
|
+
_a[LANGUAGES.en] = 'Already added',
|
|
21
|
+
_a[LANGUAGES.de] = 'Bereits hinzugefügt',
|
|
22
|
+
_a[LANGUAGES.es] = 'Ya añadido',
|
|
23
|
+
_a[LANGUAGES.fr] = 'Déjà ajouté',
|
|
24
|
+
_a[LANGUAGES.ar] = 'تمت إضافته بالفعل',
|
|
25
|
+
_a[LANGUAGES.ms] = 'Sudah ditambah',
|
|
26
|
+
_a[LANGUAGES.tr] = 'Zaten eklendi',
|
|
27
|
+
_a[LANGUAGES.id] = 'Sudah ditambahkan',
|
|
28
|
+
_a[LANGUAGES.uz] = 'Allaqachon qo‘shilgan',
|
|
29
|
+
_a[LANGUAGES.kk] = 'Бұрыннан қосылған',
|
|
30
|
+
_a);
|
|
31
|
+
export var MATCH_SCORES = {
|
|
32
|
+
EMAIL_STARTS_WITH: 6,
|
|
33
|
+
EMAIL_CONTAINS: 5,
|
|
34
|
+
NAME_FIRST_WORD_STARTS_WITH: 4,
|
|
35
|
+
NAME_ANY_WORD_STARTS_WITH: 3,
|
|
36
|
+
NAME_CONTAINS: 2,
|
|
37
|
+
NO_MATCH: 0,
|
|
38
|
+
};
|
|
39
|
+
export var CONTACT_TYPES;
|
|
40
|
+
(function (CONTACT_TYPES) {
|
|
41
|
+
CONTACT_TYPES["myContact"] = "My contact";
|
|
42
|
+
CONTACT_TYPES["GALContact"] = "GAL contact";
|
|
43
|
+
CONTACT_TYPES["privateDL"] = "Private DL";
|
|
44
|
+
CONTACT_TYPES["publicDL"] = "Public DL";
|
|
45
|
+
CONTACT_TYPES["meetingRoom"] = "Meeting room";
|
|
46
|
+
CONTACT_TYPES["roomList"] = "Room list";
|
|
47
|
+
})(CONTACT_TYPES || (CONTACT_TYPES = {}));
|
|
48
|
+
export var MENU_ACTIONS;
|
|
49
|
+
(function (MENU_ACTIONS) {
|
|
50
|
+
MENU_ACTIONS["close"] = "menu-close";
|
|
51
|
+
})(MENU_ACTIONS || (MENU_ACTIONS = {}));
|
|
52
|
+
export var INPUT_ACTIONS;
|
|
53
|
+
(function (INPUT_ACTIONS) {
|
|
54
|
+
INPUT_ACTIONS["change"] = "input-change";
|
|
55
|
+
INPUT_ACTIONS["blur"] = "input-blur";
|
|
56
|
+
})(INPUT_ACTIONS || (INPUT_ACTIONS = {}));
|
|
57
|
+
export var EMAIL_SEPARATORS;
|
|
58
|
+
(function (EMAIL_SEPARATORS) {
|
|
59
|
+
EMAIL_SEPARATORS["semicolon"] = ";";
|
|
60
|
+
EMAIL_SEPARATORS["comma"] = ",";
|
|
61
|
+
})(EMAIL_SEPARATORS || (EMAIL_SEPARATORS = {}));
|
|
62
|
+
export var EXCLUDED_FIELDS;
|
|
63
|
+
(function (EXCLUDED_FIELDS) {
|
|
64
|
+
EXCLUDED_FIELDS["value"] = "value";
|
|
65
|
+
EXCLUDED_FIELDS["label"] = "label";
|
|
66
|
+
EXCLUDED_FIELDS["layoutType"] = "layoutType";
|
|
67
|
+
EXCLUDED_FIELDS["platform"] = "platform";
|
|
68
|
+
EXCLUDED_FIELDS["language"] = "language";
|
|
69
|
+
EXCLUDED_FIELDS["isEnteredByUser"] = "isEnteredByUser";
|
|
70
|
+
EXCLUDED_FIELDS["isMyContacts"] = "isMyContacts";
|
|
71
|
+
EXCLUDED_FIELDS["isChipsCollapsable"] = "isChipsCollapsable";
|
|
72
|
+
EXCLUDED_FIELDS["isSelectedChipHasTooltip"] = "isSelectedChipHasTooltip";
|
|
73
|
+
EXCLUDED_FIELDS["isInputFocused"] = "isInputFocused";
|
|
74
|
+
EXCLUDED_FIELDS["setIsSearchable"] = "setIsSearchable";
|
|
75
|
+
EXCLUDED_FIELDS["selectRef"] = "selectRef";
|
|
76
|
+
EXCLUDED_FIELDS["setModalData"] = "setModalData";
|
|
77
|
+
EXCLUDED_FIELDS["collapsableChipsCount"] = "collapsableChipsCount";
|
|
78
|
+
EXCLUDED_FIELDS["lastVisibleChipIndex"] = "lastVisibleChipIndex";
|
|
79
|
+
EXCLUDED_FIELDS["fontFamily"] = "fontFamily";
|
|
80
|
+
})(EXCLUDED_FIELDS || (EXCLUDED_FIELDS = {}));
|
|
81
|
+
export var COMMON_FIELDS_TO_OMIT = Object.keys(omit(EXCLUDED_FIELDS, [EXCLUDED_FIELDS.language, EXCLUDED_FIELDS.isMyContacts, EXCLUDED_FIELDS.isEnteredByUser]));
|
|
82
|
+
export var COMMON_FIELDS_TO_PICK = ['isWarning', 'isLoading', 'isOrganizerShort', 'isResetChipsToInputValue', 'userType', 'uid', 'organizerName'];
|
|
83
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/сomponents/UserDropdown/constants.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { RefObject, SetStateAction } from 'react';
|
|
2
|
+
import { MultiValue } from 'react-select';
|
|
3
|
+
import { MultiOptionType, TApplyFilteringToOption, TCollapseChips, TCorporateEntity, TGenerateContactsOptionsToSelect, TGenerateCorporateOptionsToSelect, TGenerateEnteredByUserOption, TLocalEntity, TMyContactsEntries, TRetrieveFilteredContacts, TUser } from './types';
|
|
4
|
+
export declare const generateCorporateOptionsToSelect: ({ language, options, setIsSearchable, setModalData, ...remainingFields }: TGenerateCorporateOptionsToSelect) => {
|
|
5
|
+
language: string;
|
|
6
|
+
setIsSearchable: (isSearchable: boolean) => void;
|
|
7
|
+
setModalData: (modalData: import("./types").TModalData | null) => void;
|
|
8
|
+
platform: string;
|
|
9
|
+
layoutType: string;
|
|
10
|
+
isChipsCollapsable: boolean;
|
|
11
|
+
isInputFocused: RefObject<boolean>;
|
|
12
|
+
selectRef: RefObject<any>;
|
|
13
|
+
value: string;
|
|
14
|
+
label: string;
|
|
15
|
+
name: string;
|
|
16
|
+
avatar: string | null;
|
|
17
|
+
email: string;
|
|
18
|
+
contacts: {
|
|
19
|
+
userHuid: string;
|
|
20
|
+
contact: string;
|
|
21
|
+
contactType: string;
|
|
22
|
+
userKind?: string | undefined;
|
|
23
|
+
}[];
|
|
24
|
+
userType: import("./constants").CONTACT_TYPES | undefined;
|
|
25
|
+
uid: string | undefined;
|
|
26
|
+
serverName: string | null;
|
|
27
|
+
company: string | null;
|
|
28
|
+
department: string | null;
|
|
29
|
+
companyPosition: string | null;
|
|
30
|
+
isPrivateSchedule: boolean | undefined;
|
|
31
|
+
isNotRemovable: boolean | undefined;
|
|
32
|
+
isBusyAtSelectedTime: boolean | undefined;
|
|
33
|
+
isCachedContact: boolean | undefined;
|
|
34
|
+
isAlreadyAdded: boolean | undefined;
|
|
35
|
+
styles: import("../../constants").TStyles | undefined;
|
|
36
|
+
}[];
|
|
37
|
+
export declare const generateContactsOptionsToSelect: ({ options, ...remainingFields }: TGenerateContactsOptionsToSelect) => {
|
|
38
|
+
platform: string;
|
|
39
|
+
layoutType: string;
|
|
40
|
+
isChipsCollapsable: boolean;
|
|
41
|
+
isInputFocused: RefObject<boolean>;
|
|
42
|
+
selectRef: RefObject<any>;
|
|
43
|
+
isMyContacts?: boolean | undefined;
|
|
44
|
+
isLocalContact?: boolean | undefined;
|
|
45
|
+
value: string;
|
|
46
|
+
label: string;
|
|
47
|
+
name: string | null;
|
|
48
|
+
avatar: string | null;
|
|
49
|
+
email: string;
|
|
50
|
+
isPrivateSchedule: boolean | undefined;
|
|
51
|
+
isNotRemovable: boolean | undefined;
|
|
52
|
+
isBusyAtSelectedTime: boolean | undefined;
|
|
53
|
+
isAlreadyAdded: boolean | undefined;
|
|
54
|
+
styles: import("../../constants").TStyles | undefined;
|
|
55
|
+
}[];
|
|
56
|
+
export declare const generateEnteredByUserOption: ({ email, ...remainingFields }: TGenerateEnteredByUserOption) => {
|
|
57
|
+
platform: string;
|
|
58
|
+
layoutType: string;
|
|
59
|
+
isChipsCollapsable: boolean;
|
|
60
|
+
isInputFocused: RefObject<boolean>;
|
|
61
|
+
selectRef: RefObject<any>;
|
|
62
|
+
value: string;
|
|
63
|
+
label: string;
|
|
64
|
+
email: string;
|
|
65
|
+
isEnteredByUser: boolean;
|
|
66
|
+
};
|
|
67
|
+
export declare const IndicatorSeparator: () => null;
|
|
68
|
+
export declare const DropdownIndicator: () => null;
|
|
69
|
+
export declare const MultiValueRemove: () => null;
|
|
70
|
+
export declare const LoadingIndicator: () => null;
|
|
71
|
+
export declare const sortContacts: <T extends TUser>(contacts: T[], query: string) => T[];
|
|
72
|
+
export declare const checkIsValueIsEmail: (inputValue: string) => boolean;
|
|
73
|
+
export declare const calculateHorizontalPadding: (elementRef: RefObject<HTMLDivElement | null>, setElementWidth: (value: SetStateAction<number>) => void) => string;
|
|
74
|
+
export declare const extractInputEmails: (inputValue: string) => string[];
|
|
75
|
+
export declare const applyFilteringToOption: ({ isFilteringDisabled, isSelectedOptionsHidden, inputValue, data: { label, email: optionEmail }, selectedUsers, }: TApplyFilteringToOption) => boolean;
|
|
76
|
+
export declare const setCaretPosition: (input: HTMLInputElement, position: number) => void;
|
|
77
|
+
export declare const setCaretInEmptyInput: (input: HTMLInputElement) => void;
|
|
78
|
+
export declare const retrieveFilteredContacts: ({ query, corporateEntries, myContactsEntries, checkIsEmailToExclude }: TRetrieveFilteredContacts) => {
|
|
79
|
+
filteredCorporateContacts: TCorporateEntity[];
|
|
80
|
+
filteredLocalContacts: TLocalEntity[];
|
|
81
|
+
filteredMyContacts: TMyContactsEntries[];
|
|
82
|
+
};
|
|
83
|
+
export declare const transformSelectedUsers: (selectedUsers: MultiValue<MultiOptionType>) => TUser[];
|
|
84
|
+
export declare const collapseChips: ({ userDropdownId, maxRowsCountToCollapseChips, maskWidth, suffixWidth, chips }: TCollapseChips) => {
|
|
85
|
+
collapsableChips: number;
|
|
86
|
+
numberOfVisibleChips: number;
|
|
87
|
+
chipLabelWithMaxWidth: string;
|
|
88
|
+
};
|
|
89
|
+
export declare const unCollapseChips: (chipLabelWithMaxWidth: string, chips: HTMLDivElement[]) => void;
|
|
90
|
+
export declare const retrieveChipsElements: (userDropdownId: string) => HTMLDivElement[];
|
|
91
|
+
export declare const transformSelectedEntity: (entity: TUser, commonFields: any) => {
|
|
92
|
+
platform: string;
|
|
93
|
+
layoutType: string;
|
|
94
|
+
isChipsCollapsable: boolean;
|
|
95
|
+
isInputFocused: RefObject<boolean>;
|
|
96
|
+
selectRef: RefObject<any>;
|
|
97
|
+
value: string;
|
|
98
|
+
label: string;
|
|
99
|
+
name: string;
|
|
100
|
+
avatar: string | null;
|
|
101
|
+
email: string;
|
|
102
|
+
contacts: {
|
|
103
|
+
userHuid: string;
|
|
104
|
+
contact: string;
|
|
105
|
+
contactType: string;
|
|
106
|
+
userKind?: string | undefined;
|
|
107
|
+
}[];
|
|
108
|
+
userType: import("./constants").CONTACT_TYPES | undefined;
|
|
109
|
+
uid: string | undefined;
|
|
110
|
+
serverName: string | null;
|
|
111
|
+
company: string | null;
|
|
112
|
+
department: string | null;
|
|
113
|
+
companyPosition: string | null;
|
|
114
|
+
isPrivateSchedule: boolean | undefined;
|
|
115
|
+
isNotRemovable: boolean | undefined;
|
|
116
|
+
isBusyAtSelectedTime: boolean | undefined;
|
|
117
|
+
isCachedContact: boolean | undefined;
|
|
118
|
+
isAlreadyAdded: boolean | undefined;
|
|
119
|
+
styles: import("../../constants").TStyles | undefined;
|
|
120
|
+
} | {
|
|
121
|
+
platform: string;
|
|
122
|
+
layoutType: string;
|
|
123
|
+
isChipsCollapsable: boolean;
|
|
124
|
+
isInputFocused: RefObject<boolean>;
|
|
125
|
+
selectRef: RefObject<any>;
|
|
126
|
+
isMyContacts?: boolean | undefined;
|
|
127
|
+
isLocalContact?: boolean | undefined;
|
|
128
|
+
value: string;
|
|
129
|
+
label: string;
|
|
130
|
+
name: string | null;
|
|
131
|
+
avatar: string | null;
|
|
132
|
+
email: string;
|
|
133
|
+
isPrivateSchedule: boolean | undefined;
|
|
134
|
+
isNotRemovable: boolean | undefined;
|
|
135
|
+
isBusyAtSelectedTime: boolean | undefined;
|
|
136
|
+
isAlreadyAdded: boolean | undefined;
|
|
137
|
+
styles: import("../../constants").TStyles | undefined;
|
|
138
|
+
} | {
|
|
139
|
+
platform: string;
|
|
140
|
+
layoutType: string;
|
|
141
|
+
isChipsCollapsable: boolean;
|
|
142
|
+
isInputFocused: RefObject<boolean>;
|
|
143
|
+
selectRef: RefObject<any>;
|
|
144
|
+
value: string;
|
|
145
|
+
label: string;
|
|
146
|
+
email: string;
|
|
147
|
+
isEnteredByUser: boolean;
|
|
148
|
+
};
|