@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,356 @@
|
|
|
1
|
+
import { Dispatch, ReactElement, ReactNode, RefObject, SetStateAction } from 'react';
|
|
2
|
+
import { MenuListProps, OptionProps } from 'react-select';
|
|
3
|
+
import { IFontFamilyProps, ILanguageProps, ILayoutTypeProps, IPlatformProps, TFontFamilyStyle, TStyles } from '../../constants';
|
|
4
|
+
import { CONTACT_TYPES } from './constants';
|
|
5
|
+
import { MenuItem } from '../ContextMenu/types';
|
|
6
|
+
export interface IContactBottomSheet extends ILanguageProps {
|
|
7
|
+
fontFamily?: string;
|
|
8
|
+
contactInfoTitle?: string;
|
|
9
|
+
avatar: string | null;
|
|
10
|
+
name: string;
|
|
11
|
+
email: string;
|
|
12
|
+
serverName: string | null;
|
|
13
|
+
company: string | null;
|
|
14
|
+
department: string | null;
|
|
15
|
+
companyPosition: string | null;
|
|
16
|
+
handleCloseModal: () => void;
|
|
17
|
+
onClickContactInfoCopyEmail?: () => void;
|
|
18
|
+
}
|
|
19
|
+
export interface IContactInfo extends ILanguageProps {
|
|
20
|
+
elementRef?: RefObject<HTMLDivElement | null>;
|
|
21
|
+
serverName: string | null;
|
|
22
|
+
company: string | null;
|
|
23
|
+
department: string | null;
|
|
24
|
+
companyPosition: string | null;
|
|
25
|
+
}
|
|
26
|
+
export type TRenderInfoItem = {
|
|
27
|
+
title: string;
|
|
28
|
+
info: string;
|
|
29
|
+
icon: ReactElement;
|
|
30
|
+
};
|
|
31
|
+
export interface ILoadingMessage {
|
|
32
|
+
isMenuShadowless?: boolean;
|
|
33
|
+
skeletonRowsCount?: number;
|
|
34
|
+
}
|
|
35
|
+
export interface IMenuListProps extends MenuListProps {
|
|
36
|
+
selectRef: RefObject<any>;
|
|
37
|
+
scrollFromTop: RefObject<number>;
|
|
38
|
+
language: string;
|
|
39
|
+
platform: string;
|
|
40
|
+
menuListMaxHeight: number;
|
|
41
|
+
charHintClassName: string;
|
|
42
|
+
hasNextPage: boolean;
|
|
43
|
+
isLoading: boolean;
|
|
44
|
+
isUserTyping: boolean;
|
|
45
|
+
isCharHintVisible: boolean;
|
|
46
|
+
isShowCatalogSearchButton?: boolean;
|
|
47
|
+
isMenuShadowless: boolean;
|
|
48
|
+
isNextPageLoading: boolean;
|
|
49
|
+
onLoadNextPage: (inputValue: string) => void;
|
|
50
|
+
onShowCatalogSearchButtonClick?: () => void;
|
|
51
|
+
setIsDelimiterVisible: Dispatch<SetStateAction<boolean>>;
|
|
52
|
+
}
|
|
53
|
+
type TData = Required<IPlatformProps> & ILanguageProps & {
|
|
54
|
+
label: string;
|
|
55
|
+
avatar: string | null;
|
|
56
|
+
email: string;
|
|
57
|
+
serverName: string | null;
|
|
58
|
+
company: string | null;
|
|
59
|
+
department: string | null;
|
|
60
|
+
companyPosition: string | null;
|
|
61
|
+
isMyContacts: boolean;
|
|
62
|
+
isLocalContact: boolean;
|
|
63
|
+
isCachedContact: boolean;
|
|
64
|
+
isAlreadyAdded: boolean;
|
|
65
|
+
fontFamily: string;
|
|
66
|
+
setIsSearchable: (isSearchable: boolean) => void;
|
|
67
|
+
setModalData: (modalData: TModalData | null) => void;
|
|
68
|
+
userType?: CONTACT_TYPES;
|
|
69
|
+
uid?: string;
|
|
70
|
+
};
|
|
71
|
+
export interface IOptionProps extends OptionProps {
|
|
72
|
+
isMenuShadowless: boolean;
|
|
73
|
+
data: TData;
|
|
74
|
+
}
|
|
75
|
+
export interface ISearchInCatalogButtonProps {
|
|
76
|
+
width?: number;
|
|
77
|
+
language: string;
|
|
78
|
+
isOnlyButtonInList?: boolean;
|
|
79
|
+
isMenuShadowless?: boolean;
|
|
80
|
+
noOptionText?: string | null;
|
|
81
|
+
onShowCatalogSearchButtonClick?: () => void;
|
|
82
|
+
}
|
|
83
|
+
export type TModalData = {
|
|
84
|
+
avatar: string | null;
|
|
85
|
+
name: string;
|
|
86
|
+
email: string;
|
|
87
|
+
serverName: string | null;
|
|
88
|
+
company: string | null;
|
|
89
|
+
department: string | null;
|
|
90
|
+
companyPosition: string | null;
|
|
91
|
+
};
|
|
92
|
+
type TGenerateCommonOption = {
|
|
93
|
+
platform: string;
|
|
94
|
+
layoutType: string;
|
|
95
|
+
isChipsCollapsable: boolean;
|
|
96
|
+
isInputFocused: RefObject<boolean>;
|
|
97
|
+
selectRef: RefObject<any>;
|
|
98
|
+
};
|
|
99
|
+
export type TGenerateCorporateOption = TGenerateCommonOption & {
|
|
100
|
+
option: TCorporateEntity;
|
|
101
|
+
};
|
|
102
|
+
export type TGenerateCorporateOptionsToSelect = TGenerateCommonOption & {
|
|
103
|
+
language: string;
|
|
104
|
+
options: TCorporateEntity[];
|
|
105
|
+
setIsSearchable: (isSearchable: boolean) => void;
|
|
106
|
+
setModalData: (modalData: TModalData | null) => void;
|
|
107
|
+
};
|
|
108
|
+
type TMyContactsEntriesOption = TMyContactsEntries & {
|
|
109
|
+
contacts?: Omit<TContacts, 'userKind'>[];
|
|
110
|
+
};
|
|
111
|
+
export type TGenerateContactsOption = TGenerateCommonOption & {
|
|
112
|
+
option: TMyContactsEntriesOption | TLocalEntity;
|
|
113
|
+
isMyContacts?: boolean;
|
|
114
|
+
isLocalContact?: boolean;
|
|
115
|
+
};
|
|
116
|
+
export type TGenerateContactsOptionsToSelect = TGenerateCommonOption & {
|
|
117
|
+
options: TMyContactsEntriesOption[] | TLocalEntity[];
|
|
118
|
+
isMyContacts?: boolean;
|
|
119
|
+
isLocalContact?: boolean;
|
|
120
|
+
};
|
|
121
|
+
export type TGenerateEnteredByUserOption = TGenerateCommonOption & {
|
|
122
|
+
email: string;
|
|
123
|
+
};
|
|
124
|
+
export type TCollapseChips = {
|
|
125
|
+
userDropdownId: string;
|
|
126
|
+
maxRowsCountToCollapseChips: number;
|
|
127
|
+
maskWidth: number;
|
|
128
|
+
suffixWidth: number;
|
|
129
|
+
chips: HTMLDivElement[];
|
|
130
|
+
};
|
|
131
|
+
export type TApplyFilteringToOption = {
|
|
132
|
+
isFilteringDisabled: boolean;
|
|
133
|
+
isSelectedOptionsHidden: boolean;
|
|
134
|
+
inputValue: string;
|
|
135
|
+
data: MultiOptionType;
|
|
136
|
+
selectedUsers: readonly MultiOptionType[];
|
|
137
|
+
};
|
|
138
|
+
export type TSelectStyles = {
|
|
139
|
+
isChipsVisible: boolean;
|
|
140
|
+
isMaxMembersAdded: boolean;
|
|
141
|
+
isDisabled: boolean;
|
|
142
|
+
isError: boolean;
|
|
143
|
+
isInputPlaceholderVisible: boolean;
|
|
144
|
+
lastRowNumber: number;
|
|
145
|
+
paddingLeft: string;
|
|
146
|
+
paddingRight: string;
|
|
147
|
+
platform: string;
|
|
148
|
+
layoutType: string;
|
|
149
|
+
isInputHidden: boolean;
|
|
150
|
+
isDisabledMenuOffsetAtFullscreen: boolean;
|
|
151
|
+
isInputFocused?: boolean;
|
|
152
|
+
isMaskRepresented: boolean;
|
|
153
|
+
isSuffixRepresented: boolean;
|
|
154
|
+
isMenuShadowless: boolean;
|
|
155
|
+
isShowCatalogSearchButton: boolean;
|
|
156
|
+
fontFamilyStyle: TFontFamilyStyle;
|
|
157
|
+
containerPadding?: string;
|
|
158
|
+
isDraggable?: boolean;
|
|
159
|
+
isChipsCollapsed?: boolean;
|
|
160
|
+
menuListMaxHeight: number;
|
|
161
|
+
maxRowsCountToCollapseChips: number;
|
|
162
|
+
};
|
|
163
|
+
export type TGenerateNoOptionsMessage = {
|
|
164
|
+
inputValue: string;
|
|
165
|
+
};
|
|
166
|
+
export type TOptionData = {
|
|
167
|
+
data: MultiOptionType;
|
|
168
|
+
};
|
|
169
|
+
export type TCheckIsContainsValue = {
|
|
170
|
+
label: string;
|
|
171
|
+
email: string;
|
|
172
|
+
value: string;
|
|
173
|
+
};
|
|
174
|
+
export type TAdditionalInfo = {
|
|
175
|
+
action: string;
|
|
176
|
+
prevInputValue: string;
|
|
177
|
+
};
|
|
178
|
+
export type TCorporateContacts = {
|
|
179
|
+
corporateContacts: TCorporateEntity[];
|
|
180
|
+
corporateContactsSet: Set<string>;
|
|
181
|
+
};
|
|
182
|
+
export type TSelectProps = {
|
|
183
|
+
options: MultiOptionType[];
|
|
184
|
+
inputValue: string;
|
|
185
|
+
onChange: (value: MultiOptionType[]) => void;
|
|
186
|
+
onInputChange: (value: string) => void;
|
|
187
|
+
};
|
|
188
|
+
export interface MultiOptionType {
|
|
189
|
+
value: string;
|
|
190
|
+
label: string;
|
|
191
|
+
avatar?: string | null;
|
|
192
|
+
email: string;
|
|
193
|
+
layoutType: string;
|
|
194
|
+
isChipsCollapsable: boolean;
|
|
195
|
+
isLoading?: boolean;
|
|
196
|
+
uid?: string;
|
|
197
|
+
isWarning?: boolean;
|
|
198
|
+
userType?: CONTACT_TYPES;
|
|
199
|
+
platform?: string;
|
|
200
|
+
serverName?: string | null;
|
|
201
|
+
company?: string | null;
|
|
202
|
+
department?: string | null;
|
|
203
|
+
companyPosition?: string | null;
|
|
204
|
+
isMyContacts?: boolean;
|
|
205
|
+
isEnteredByUser?: boolean;
|
|
206
|
+
isNotRemovable?: boolean;
|
|
207
|
+
isAlreadyAdded?: boolean;
|
|
208
|
+
}
|
|
209
|
+
type TContactEntity = {
|
|
210
|
+
isLoading?: boolean;
|
|
211
|
+
isWarning?: boolean;
|
|
212
|
+
isBusyAtSelectedTime?: boolean;
|
|
213
|
+
isPrivateSchedule?: boolean;
|
|
214
|
+
isNotRemovable?: boolean;
|
|
215
|
+
isOrganizerShort?: boolean;
|
|
216
|
+
isResetChipsToInputValue?: boolean;
|
|
217
|
+
isAlreadyAdded?: boolean;
|
|
218
|
+
uid?: string;
|
|
219
|
+
userType?: CONTACT_TYPES;
|
|
220
|
+
organizerName?: string | null;
|
|
221
|
+
contextMenuItems?: MenuItem[];
|
|
222
|
+
styles?: TStyles;
|
|
223
|
+
};
|
|
224
|
+
export type TMyContactsEntries = TContactEntity & {
|
|
225
|
+
name: string | null;
|
|
226
|
+
email: string;
|
|
227
|
+
avatar: string | null;
|
|
228
|
+
};
|
|
229
|
+
type TContacts = {
|
|
230
|
+
userHuid: string;
|
|
231
|
+
contact: string;
|
|
232
|
+
contactType: string;
|
|
233
|
+
userKind?: string;
|
|
234
|
+
};
|
|
235
|
+
export type TCorporateEntity = TContactEntity & {
|
|
236
|
+
isCachedContact?: boolean;
|
|
237
|
+
avatar: string | null;
|
|
238
|
+
name: string;
|
|
239
|
+
email: string | null;
|
|
240
|
+
serverName: string | null;
|
|
241
|
+
company: string | null;
|
|
242
|
+
department: string | null;
|
|
243
|
+
companyPosition: string | null;
|
|
244
|
+
contacts: TContacts[];
|
|
245
|
+
};
|
|
246
|
+
export type TLocalEntity = TContactEntity & {
|
|
247
|
+
avatar: string | null;
|
|
248
|
+
name: string | null;
|
|
249
|
+
email: string | null;
|
|
250
|
+
contacts: Omit<TContacts, 'userHuid'>[];
|
|
251
|
+
};
|
|
252
|
+
export type TCorporateEntries = {
|
|
253
|
+
corpPhonebookEntries: TCorporateEntity[];
|
|
254
|
+
trustSearchEntries: TCorporateEntity[];
|
|
255
|
+
cachedSearchEntries: TCorporateEntity[];
|
|
256
|
+
localPhonebookEntries?: TLocalEntity[];
|
|
257
|
+
};
|
|
258
|
+
export type TUser = TCorporateEntity | TLocalEntity | TMyContactsEntries | (TContactEntity & {
|
|
259
|
+
email: string;
|
|
260
|
+
name?: string | null;
|
|
261
|
+
isLocalContact?: boolean;
|
|
262
|
+
});
|
|
263
|
+
export type TFocusHandle = {
|
|
264
|
+
focus: () => void;
|
|
265
|
+
blur: () => void;
|
|
266
|
+
};
|
|
267
|
+
export type TQueryVariants = {
|
|
268
|
+
origin: string;
|
|
269
|
+
translit: string;
|
|
270
|
+
toEng: string;
|
|
271
|
+
fromEng: string;
|
|
272
|
+
};
|
|
273
|
+
export type TContactMatchScore = {
|
|
274
|
+
emailScore: number;
|
|
275
|
+
nameScore: number;
|
|
276
|
+
originalName: string;
|
|
277
|
+
};
|
|
278
|
+
export type TMatchers = {
|
|
279
|
+
startsWith: (text: string) => boolean;
|
|
280
|
+
includes: (text: string) => boolean;
|
|
281
|
+
anyWordStartsWith: (text: string) => boolean;
|
|
282
|
+
};
|
|
283
|
+
export type TRetrieveFilteredContacts = {
|
|
284
|
+
query: string;
|
|
285
|
+
corporateEntries: TCorporateEntries | null;
|
|
286
|
+
myContactsEntries: TMyContactsEntries[] | null;
|
|
287
|
+
checkIsEmailToExclude: (email: string | null) => boolean;
|
|
288
|
+
};
|
|
289
|
+
export type TDragUser = {
|
|
290
|
+
avatar: string;
|
|
291
|
+
label: string;
|
|
292
|
+
dropdownId?: string;
|
|
293
|
+
} & TUser;
|
|
294
|
+
export interface IUserDropdownProps extends IPlatformProps, ILayoutTypeProps, IFontFamilyProps, ILanguageProps {
|
|
295
|
+
isDisabled?: boolean;
|
|
296
|
+
isLoading?: boolean;
|
|
297
|
+
isError?: boolean;
|
|
298
|
+
isChipsOutline?: boolean;
|
|
299
|
+
isChipsVisible?: boolean;
|
|
300
|
+
isChipsCollapsable?: boolean;
|
|
301
|
+
isSelectedChipHasTooltip?: boolean;
|
|
302
|
+
isMenuCloseOnBlur?: boolean;
|
|
303
|
+
isMenuCloseOnSelect?: boolean;
|
|
304
|
+
isFilteringDisabled?: boolean;
|
|
305
|
+
isShowCatalogSearchButton?: boolean;
|
|
306
|
+
isBackspaceChipToInput?: boolean;
|
|
307
|
+
isInputHidden?: boolean;
|
|
308
|
+
isDisabledMenuOffsetAtFullscreen?: boolean;
|
|
309
|
+
isDisabledCheckUniqueEmails?: boolean;
|
|
310
|
+
isMenuShadowless?: boolean;
|
|
311
|
+
isStateless?: boolean;
|
|
312
|
+
isSelectedOptionsHidden?: boolean;
|
|
313
|
+
isMaskHiddenOnFocus?: boolean;
|
|
314
|
+
hasNextPage?: boolean;
|
|
315
|
+
isNextPageLoading?: boolean;
|
|
316
|
+
isInputValueClearedOnBlur?: boolean;
|
|
317
|
+
isNotClickable?: boolean;
|
|
318
|
+
title?: string;
|
|
319
|
+
contactInfoTitle?: string;
|
|
320
|
+
mask?: ReactNode;
|
|
321
|
+
suffix?: ReactNode;
|
|
322
|
+
placeholder?: string;
|
|
323
|
+
focusPlaceholder?: string;
|
|
324
|
+
hint?: ReactElement | string;
|
|
325
|
+
noOptionsMessage?: string;
|
|
326
|
+
maxMembersCount?: number;
|
|
327
|
+
skeletonRowsCount?: number;
|
|
328
|
+
maxRowsCountToCollapseChips?: number;
|
|
329
|
+
menuListMaxHeight?: number;
|
|
330
|
+
menuShouldScrollIntoView?: boolean;
|
|
331
|
+
menuPosition?: 'bottom' | 'auto' | 'top';
|
|
332
|
+
menuLocation?: 'absolute' | 'fixed';
|
|
333
|
+
menuPortalTarget?: RefObject<HTMLDivElement | null>;
|
|
334
|
+
autoFocus?: boolean;
|
|
335
|
+
externalInputValue?: string;
|
|
336
|
+
containerClassName?: string;
|
|
337
|
+
charHintClassName?: string;
|
|
338
|
+
containerPadding?: string;
|
|
339
|
+
containerStyles?: TStyles;
|
|
340
|
+
selectedEntries?: TUser[];
|
|
341
|
+
corporateEntries: TCorporateEntries | null;
|
|
342
|
+
myContactsEntries: TMyContactsEntries[] | null;
|
|
343
|
+
emailsToExclude?: string[];
|
|
344
|
+
userDropdownId?: string;
|
|
345
|
+
focusRef?: RefObject<TFocusHandle | null>;
|
|
346
|
+
onInputChange: (inputValue: string) => void;
|
|
347
|
+
onImmediateInputChange?: (inputValue: string) => void;
|
|
348
|
+
onChange: (users: TUser[]) => void;
|
|
349
|
+
onMenuOpen?: () => void;
|
|
350
|
+
onMenuClose?: () => void;
|
|
351
|
+
onLoadNextPage?: (inputValue: string) => void;
|
|
352
|
+
onShowCatalogSearchButtonClick?: () => void;
|
|
353
|
+
onClickContactInfoCopyEmail?: () => void;
|
|
354
|
+
onFocus?: () => void;
|
|
355
|
+
}
|
|
356
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/UserDropdown/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/сomponents/types.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expressms/smartapp-ui",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.221",
|
|
4
4
|
"description": "SmartApp UI library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "build/main/index.js",
|
|
@@ -12,20 +12,25 @@
|
|
|
12
12
|
"registry": "https://registry.npmjs.org/"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"
|
|
15
|
+
"@dnd-kit/core": "^6.3.1",
|
|
16
|
+
"@floating-ui/react": "^0.27.15",
|
|
16
17
|
"camelcase": "^6.2.1",
|
|
17
18
|
"classnames": "^2.3.2",
|
|
18
19
|
"color": "^4.2.3",
|
|
19
20
|
"color-blend": "^4.0.0",
|
|
20
21
|
"convert-layout": "^0.11.1",
|
|
22
|
+
"date-fns": "^4.2.1",
|
|
21
23
|
"dompurify": "^3.2.6",
|
|
22
24
|
"echarts": "^5.5.0",
|
|
23
25
|
"echarts-for-react": "^3.0.2",
|
|
24
26
|
"juice": "^10.0.0",
|
|
27
|
+
"motion": "^12.26.2",
|
|
25
28
|
"react-beautiful-dnd": "^13.1.1",
|
|
26
|
-
"react-datepicker": "
|
|
27
|
-
"react-draggable": "
|
|
29
|
+
"react-datepicker": "8.10.0",
|
|
30
|
+
"react-draggable": "4.4.6",
|
|
31
|
+
"react-hook-form": "^7.60.0",
|
|
28
32
|
"react-insta-stories": "^2.6.2",
|
|
33
|
+
"react-modal-sheet": "^5.4.1",
|
|
29
34
|
"react-router-dom": "^6.7.0",
|
|
30
35
|
"react-scrollbars-custom": "^4.1.1",
|
|
31
36
|
"react-select": "^5.8.0",
|
|
@@ -36,10 +41,12 @@
|
|
|
36
41
|
"react-window": "^1.8.10",
|
|
37
42
|
"reactjs-popup": "^2.0.5",
|
|
38
43
|
"styled-components": "^6.1.11",
|
|
39
|
-
"transliteration": "
|
|
44
|
+
"transliteration": "~2.3.5",
|
|
45
|
+
"use-detect-keyboard-open": "^0.4.0"
|
|
40
46
|
},
|
|
41
47
|
"resolutions": {
|
|
42
48
|
"@typescript-eslint/utils": "6.21.0",
|
|
49
|
+
"@testing-library/jest-dom": "6.9.1",
|
|
43
50
|
"juice/cheerio": "1.0.0-rc.12"
|
|
44
51
|
},
|
|
45
52
|
"scripts": {
|
|
@@ -102,7 +109,7 @@
|
|
|
102
109
|
"@storybook/react-webpack5": "^8.5.1",
|
|
103
110
|
"@storybook/test": "^8.5.1",
|
|
104
111
|
"@svgr/webpack": "^8.1.0",
|
|
105
|
-
"@testing-library/jest-dom": "
|
|
112
|
+
"@testing-library/jest-dom": "6.9.1",
|
|
106
113
|
"@types/color": "^3.0.6",
|
|
107
114
|
"@types/convert-layout": "^0.5.3",
|
|
108
115
|
"@types/dompurify": "^3.0.5",
|
|
@@ -112,7 +119,6 @@
|
|
|
112
119
|
"@types/node": "^16.18.11",
|
|
113
120
|
"@types/react": "^19.0.2",
|
|
114
121
|
"@types/react-beautiful-dnd": "^13.1.4",
|
|
115
|
-
"@types/react-datepicker": "^4.8.0",
|
|
116
122
|
"@types/react-dom": "^18.0.10",
|
|
117
123
|
"@types/react-slick": "^0.23.10",
|
|
118
124
|
"@types/react-virtualized": "^9.21.30",
|
|
@@ -120,7 +126,6 @@
|
|
|
120
126
|
"@types/uuid": "^9.0.8",
|
|
121
127
|
"@typescript-eslint/eslint-plugin": "^6.6.0",
|
|
122
128
|
"@typescript-eslint/parser": "^6.6.0",
|
|
123
|
-
"alex.chus-react-spring-bottom-sheet": "^0.0.2",
|
|
124
129
|
"animate.css": "^4.1.1",
|
|
125
130
|
"babel-jest": "^18.0.0",
|
|
126
131
|
"babel-loader": "8.2.3",
|