quickblox-react-ui-kit 0.2.8-beta.9 → 0.3.0-beta.1
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/.prettierignore +4 -0
- package/.prettierrc +10 -0
- package/dist/CommonTypes/BaseViewModel.d.ts +2 -0
- package/dist/CommonTypes/FunctionResult.d.ts +1 -0
- package/dist/Data/Stubs.d.ts +1 -0
- package/dist/Presentation/Views/Dialog/AIWidgets/AIRephraseWidget/AIRephraseWidget.d.ts +0 -1
- package/dist/Presentation/Views/Dialog/Dialog.d.ts +0 -4
- package/dist/Presentation/Views/Dialog/DialogHeader/DialogBackIcon/DialogBackIcon.d.ts +8 -0
- package/dist/Presentation/Views/Dialog/DialogHeader/{RenderRightActions/RenderRightActions.d.ts → DialogInfoIcon/DialogInfoIcon.d.ts} +3 -3
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/InputForForwarding/InputForForwarding.d.ts +1 -0
- package/dist/Presentation/Views/Dialog/{MessageInput/MessageInput.d.ts → InputMessage/InputMessage.d.ts} +2 -2
- package/dist/Presentation/Views/Dialog/Message/Message.d.ts +2 -0
- package/dist/Presentation/Views/Dialog/Message/OutgoinForwardedMessage/OutgoinForwardedMessage.d.ts +1 -1
- package/dist/Presentation/Views/DialogInfo/DialogInfo.d.ts +5 -1
- package/dist/Presentation/Views/DialogInfo/MembersList/MembersList.d.ts +1 -0
- package/dist/Presentation/Views/DialogInfo/UsersList/UsersList.d.ts +1 -0
- package/dist/Presentation/Views/DialogInfo/UsersList/UsersListViewModel.d.ts +2 -1
- package/dist/Presentation/Views/DialogInfo/UsersList/useUsersListViewModel.d.ts +1 -1
- package/dist/Presentation/Views/DialogList/DialogList.d.ts +3 -1
- package/dist/Presentation/Views/EditDialog/UserAvatar/UserAvatar.d.ts +1 -1
- package/dist/Presentation/Views/Flow/CreateDialog/CreateDialog.d.ts +6 -6
- package/dist/Presentation/Views/YesNoQuestion/YesNoQuestion.d.ts +4 -4
- package/dist/Presentation/components/UI/Buttons/MainButton/MainButton.d.ts +1 -1
- package/dist/Presentation/components/UI/svgs/ActiveSvg/ActiveSvg.d.ts +1 -0
- package/dist/Presentation/components/containers/ScrollableContainer/ScrollableContainer.d.ts +2 -0
- package/dist/Presentation/components/containers/SectionList/useComponent.d.ts +3 -3
- package/dist/Presentation/icons/actions/index.d.ts +26 -0
- package/dist/Presentation/icons/contents/index.d.ts +13 -0
- package/dist/Presentation/icons/index.d.ts +7 -0
- package/dist/Presentation/icons/media/index.d.ts +12 -0
- package/dist/Presentation/icons/moderation/index.d.ts +5 -0
- package/dist/Presentation/icons/navigation/index.d.ts +12 -0
- package/dist/Presentation/icons/status/index.d.ts +7 -0
- package/dist/Presentation/icons/toggle/index.d.ts +23 -0
- package/dist/Presentation/layouts/Desktop/QuickBloxUIKitDesktopLayout.d.ts +1 -0
- package/dist/Presentation/ui-components/Avatar/Avatar.d.ts +9 -0
- package/dist/Presentation/ui-components/Avatar/avatar.stories.d.ts +8 -0
- package/dist/Presentation/ui-components/Badge/Badge.d.ts +10 -0
- package/dist/Presentation/ui-components/Badge/Badge.stories.d.ts +8 -0
- package/dist/Presentation/ui-components/Button/Button.d.ts +12 -0
- package/dist/Presentation/ui-components/Button/Button.stories.d.ts +83 -0
- package/dist/Presentation/ui-components/CheckBox/CheckBox.d.ts +9 -0
- package/dist/Presentation/ui-components/DialogBanner/DialogBanner.d.ts +8 -0
- package/dist/Presentation/ui-components/DialogBanner/DialogBanner.stories.d.ts +34 -0
- package/dist/Presentation/ui-components/DialogItemPreview/DialogItemPreview.d.ts +16 -0
- package/dist/Presentation/ui-components/DialogItemPreview/DialogItemPreview.stories.d.ts +9 -0
- package/dist/Presentation/ui-components/DialogWindow/DialogWindow.d.ts +11 -0
- package/dist/Presentation/ui-components/DialogWindow/DialogWindow.stories.d.ts +6 -0
- package/dist/Presentation/ui-components/Dropdown/Dropdown.d.ts +12 -0
- package/dist/Presentation/ui-components/Dropdown/Dropdown.stories.d.ts +29 -0
- package/dist/Presentation/ui-components/Dropdown/DropdownOption.d.ts +12 -0
- package/dist/Presentation/ui-components/Header/Header.d.ts +13 -0
- package/dist/Presentation/ui-components/Header/Header.stories.d.ts +9 -0
- package/dist/Presentation/ui-components/Loader/Loader.d.ts +8 -0
- package/dist/Presentation/ui-components/Loader/Loader.stories.d.ts +44 -0
- package/dist/Presentation/ui-components/Message/AIAssist/AIAssist.d.ts +9 -0
- package/dist/Presentation/ui-components/Message/AITranslate/AITranslate.d.ts +13 -0
- package/dist/Presentation/ui-components/Message/Bubble/AttachmentBubble/AttachmentBubble.d.ts +8 -0
- package/dist/Presentation/ui-components/Message/Bubble/AudioBubble/AudioBubble.d.ts +11 -0
- package/dist/Presentation/ui-components/Message/Bubble/FileBubble/FileBubble.d.ts +9 -0
- package/dist/Presentation/ui-components/Message/Bubble/ImageBubble/ImageBubble.d.ts +8 -0
- package/dist/Presentation/ui-components/Message/Bubble/TextBubble/TextBubble.d.ts +8 -0
- package/dist/Presentation/ui-components/Message/Bubble/VideoBubble/VideoBubble.d.ts +9 -0
- package/dist/Presentation/ui-components/Message/FileUrl/FileUrl.d.ts +8 -0
- package/dist/Presentation/ui-components/Message/Message.d.ts +18 -0
- package/dist/Presentation/ui-components/Message/Message.stories.d.ts +9 -0
- package/dist/Presentation/ui-components/Message/MessageCaption/MessageCaption.d.ts +9 -0
- package/dist/Presentation/ui-components/Message/MessageContextMenu/MessageContextMenu.d.ts +12 -0
- package/dist/Presentation/ui-components/Message/TimeAndStatus/TimeAndStatus.d.ts +8 -0
- package/dist/Presentation/ui-components/MessageInput/MessageInput.d.ts +20 -0
- package/dist/Presentation/ui-components/MessageInput/MessageInput.stories.d.ts +8 -0
- package/dist/Presentation/ui-components/MessageItem/MessageItem.d.ts +25 -0
- package/dist/Presentation/ui-components/MessageSeparator/MessageSeparator.d.ts +8 -0
- package/dist/Presentation/ui-components/MessageSeparator/MessageSeparator.stories.d.ts +44 -0
- package/dist/Presentation/ui-components/Placeholder/Placeholder.d.ts +10 -0
- package/dist/Presentation/ui-components/Placeholder/Placeholder.stories.d.ts +7 -0
- package/dist/Presentation/ui-components/PreviewFileMessage/PreviewFileMessage.d.ts +9 -0
- package/dist/Presentation/ui-components/PreviewFileMessage/PreviewFileMessage.stories.d.ts +9 -0
- package/dist/Presentation/ui-components/SettingsItem/SettingsItem.d.ts +12 -0
- package/dist/Presentation/ui-components/SettingsItem/SettingsItem.stories.d.ts +8 -0
- package/dist/Presentation/ui-components/TextField/TextField.d.ts +13 -0
- package/dist/Presentation/ui-components/TextField/TextField.stories.d.ts +8 -0
- package/dist/Presentation/ui-components/Toast/Toast.stories.d.ts +6 -0
- package/dist/Presentation/ui-components/Toast/ToastProvider.d.ts +8 -0
- package/dist/Presentation/ui-components/index.d.ts +13 -0
- package/dist/QBconfig.d.ts +1 -0
- package/dist/index-ui.js +17101 -14392
- package/dist/index-ui.js.map +1 -1
- package/dist/utils/DateTimeFormatter.d.ts +1 -0
- package/global.d.ts +1 -0
- package/package.json +32 -34
- package/public/favicon.ico +0 -0
- package/public/index.html +47 -0
- package/public/logo192.png +0 -0
- package/public/logo512.png +0 -0
- package/public/manifest.json +25 -0
- package/public/quickblox.js +54609 -0
- package/public/robots.txt +3 -0
- package/src/App.scss +0 -0
- package/src/App.tsx +231 -0
- package/src/CommonTypes/BaseViewModel.ts +95 -0
- package/src/CommonTypes/FunctionResult.ts +66 -0
- package/src/Data/Creator.ts +105 -0
- package/src/Data/DefaultConfigurations.ts +270 -0
- package/src/Data/Stubs.ts +1242 -0
- package/src/Data/dto/dialog/LocalDialogDTO.ts +42 -0
- package/src/Data/dto/dialog/LocalDialogsDTO.ts +21 -0
- package/src/Data/dto/dialog/RemoteDialogDTO.ts +58 -0
- package/src/Data/dto/dialog/RemoteDialogsDTO.ts +21 -0
- package/src/Data/dto/file/LocalFileDTO.ts +26 -0
- package/src/Data/dto/file/RemoteFileDTO.ts +26 -0
- package/src/Data/dto/message/LocalMessageDTO.ts +49 -0
- package/src/Data/dto/message/LocalMessagesDTO.ts +21 -0
- package/src/Data/dto/message/RemoteMessageDTO.ts +57 -0
- package/src/Data/dto/message/RemoteMessagesDTO.ts +21 -0
- package/src/Data/dto/user/LocalUserDTO.ts +37 -0
- package/src/Data/dto/user/LocalUsersDTO.ts +21 -0
- package/src/Data/dto/user/RemoteUserDTO.ts +37 -0
- package/src/Data/dto/user/RemoteUsersDTO.ts +21 -0
- package/src/Data/mapper/DialogLocalDTOMapper.ts +742 -0
- package/src/Data/mapper/DialogRemoteDTOMapper.ts +741 -0
- package/src/Data/mapper/FileLocalDTOMapper.ts +216 -0
- package/src/Data/mapper/FileRemoteDTOMapper.ts +228 -0
- package/src/Data/mapper/IMapper.ts +4 -0
- package/src/Data/mapper/MessageLocalDTOMapper.ts +426 -0
- package/src/Data/mapper/MessageRemoteDTOMapper.ts +465 -0
- package/src/Data/mapper/UserLocalDTOMapper.ts +387 -0
- package/src/Data/mapper/UserRemoteDTOMapper.ts +398 -0
- package/src/Data/repository/ConnectionRepository.ts +133 -0
- package/src/Data/repository/DialogsRepository.ts +358 -0
- package/src/Data/repository/EventMessagesRepository.ts +325 -0
- package/src/Data/repository/FileRepository.ts +107 -0
- package/src/Data/repository/MessagesRepository.ts +291 -0
- package/src/Data/repository/UsersRepository.ts +297 -0
- package/src/Data/source/AISource.ts +133 -0
- package/src/Data/source/exception/LocalDataSourceException.ts +17 -0
- package/src/Data/source/exception/MapperDTOException.ts +22 -0
- package/src/Data/source/exception/RemoteDataSourceException.ts +28 -0
- package/src/Data/source/exception/RepositoryException.ts +27 -0
- package/src/Data/source/local/ChatLocalStorageDataSource.ts +260 -0
- package/src/Data/source/local/ILocalDataSource.ts +41 -0
- package/src/Data/source/local/ILocalFileDataSource.ts +11 -0
- package/src/Data/source/local/LocalDataSource.ts +353 -0
- package/src/Data/source/local/LocalFileDataSource.ts +20 -0
- package/src/Data/source/remote/IRemoteDataSource.ts +112 -0
- package/src/Data/source/remote/Mapper/DialogDTOMapper.ts +425 -0
- package/src/Data/source/remote/Mapper/FileDTOMapper.ts +270 -0
- package/src/Data/source/remote/Mapper/IDTOMapper.ts +4 -0
- package/src/Data/source/remote/Mapper/MessageDTOMapper.ts +607 -0
- package/src/Data/source/remote/Mapper/UserDTOMapper.ts +345 -0
- package/src/Data/source/remote/RemoteDataSource.ts +1291 -0
- package/src/Domain/entity/Chat.ts +4 -0
- package/src/Domain/entity/ChatMessageAttachmentEntity.ts +15 -0
- package/src/Domain/entity/CustomDataEntity.ts +3 -0
- package/src/Domain/entity/DialogEntity.ts +15 -0
- package/src/Domain/entity/DialogEventInfo.ts +15 -0
- package/src/Domain/entity/DialogTypes.ts +7 -0
- package/src/Domain/entity/EventMessageType.ts +7 -0
- package/src/Domain/entity/FileEntity.ts +11 -0
- package/src/Domain/entity/FileTypes.ts +9 -0
- package/src/Domain/entity/GroupDialogEntity.ts +54 -0
- package/src/Domain/entity/LastMessageEntity.ts +5 -0
- package/src/Domain/entity/MessageEntity.ts +25 -0
- package/src/Domain/entity/NotificationTypes.ts +9 -0
- package/src/Domain/entity/PrivateDialogEntity.ts +46 -0
- package/src/Domain/entity/PublicDialogEntity.ts +80 -0
- package/src/Domain/entity/UserEntity.ts +23 -0
- package/src/Domain/exception/domain/DomainExecption.ts +5 -0
- package/src/Domain/repository/IDialogsRepository.ts +42 -0
- package/src/Domain/repository/IFileRepository.ts +9 -0
- package/src/Domain/repository/IMessagesRepository.ts +28 -0
- package/src/Domain/repository/IUsersRepository.ts +13 -0
- package/src/Domain/repository/Pagination.ts +48 -0
- package/src/Domain/use_cases/CreateDialogUseCase.ts +79 -0
- package/src/Domain/use_cases/ForwardMessagesUseCase.ts +73 -0
- package/src/Domain/use_cases/GetAllDialogsUseCase.ts +20 -0
- package/src/Domain/use_cases/GetAllDialogsUseCaseWithMock.ts +40 -0
- package/src/Domain/use_cases/GetAllMessagesForDialog.ts +61 -0
- package/src/Domain/use_cases/GetAllUsersUseCase.ts +34 -0
- package/src/Domain/use_cases/GetDialogByIdUseCase.ts +28 -0
- package/src/Domain/use_cases/GetUsersByIdsUseCase.ts +22 -0
- package/src/Domain/use_cases/LeaveDialogUseCase.ts +116 -0
- package/src/Domain/use_cases/RemoveUsersFromTheDialogUseCase.ts +118 -0
- package/src/Domain/use_cases/ReplyMessagesUseCase.ts +35 -0
- package/src/Domain/use_cases/SendTextMessageUseCase.ts +27 -0
- package/src/Domain/use_cases/SubscribeToDialogEventsUseCase.ts +160 -0
- package/src/Domain/use_cases/SubscribeToDialogsUpdatesUseCase.ts +68 -0
- package/src/Domain/use_cases/SubscribeToDialogsUpdatesUseCaseWithMock.ts +45 -0
- package/src/Domain/use_cases/SyncDialogsUseCase.ts +177 -0
- package/src/Domain/use_cases/UpdateDialogUseCase.ts +72 -0
- package/src/Domain/use_cases/UploadFileUseCase.ts +24 -0
- package/src/Domain/use_cases/UserTypingMessageUseCase.ts +50 -0
- package/src/Domain/use_cases/ai/AIAnswerAssistUseCase.ts +69 -0
- package/src/Domain/use_cases/ai/AIAnswerAssistWithProxyUseCase.ts +57 -0
- package/src/Domain/use_cases/ai/AIRephraseUseCase.ts +89 -0
- package/src/Domain/use_cases/ai/AIRephraseWithProxyUseCase.ts +62 -0
- package/src/Domain/use_cases/ai/AITranslateUseCase.ts +76 -0
- package/src/Domain/use_cases/ai/AITranslateWithProxyUseCase.ts +63 -0
- package/src/Domain/use_cases/base/BaseUseCase.ts +77 -0
- package/src/Domain/use_cases/base/IUseCase.ts +5 -0
- package/src/Domain/use_cases/base/Subscribable/ISubscribable.ts +6 -0
- package/src/Domain/use_cases/base/Subscribable/SubscriptionPerformer.ts +144 -0
- package/src/Presentation/.gitkeep +0 -0
- package/src/Presentation/Views/Dialog/AIComponents/AIAssistComponent/AIAssistComponent.scss +32 -0
- package/src/Presentation/Views/Dialog/AIComponents/AIAssistComponent/AIAssistComponent.tsx +28 -0
- package/src/Presentation/Views/Dialog/AIComponents/AITranslateComponent/AITranslateComponent.scss +47 -0
- package/src/Presentation/Views/Dialog/AIComponents/AITranslateComponent/AITranslateComponent.tsx +78 -0
- package/src/Presentation/Views/Dialog/AIWidgets/AIMessageWidget.ts +40 -0
- package/src/Presentation/Views/Dialog/AIWidgets/AIRephraseWidget/AIRephraseWidget.scss +20 -0
- package/src/Presentation/Views/Dialog/AIWidgets/AIRephraseWidget/AIRephraseWidget.tsx +177 -0
- package/src/Presentation/Views/Dialog/AIWidgets/AIWidgetActions/AIWidgetActions.scss +55 -0
- package/src/Presentation/Views/Dialog/AIWidgets/AIWidgetActions/AIWidgetActions.tsx +122 -0
- package/src/Presentation/Views/Dialog/AIWidgets/ErrorMessageIcon.tsx +98 -0
- package/src/Presentation/Views/Dialog/AIWidgets/SliderMenu.tsx +172 -0
- package/src/Presentation/Views/Dialog/AIWidgets/Tone.ts +21 -0
- package/src/Presentation/Views/Dialog/AIWidgets/UseDefaultAIAssistAnswerWidget.tsx +72 -0
- package/src/Presentation/Views/Dialog/AIWidgets/UseDefaultAIAssistAnswerWidgetWithProxy.tsx +72 -0
- package/src/Presentation/Views/Dialog/AIWidgets/UseDefaultAIRephraseMessageWidget.tsx +96 -0
- package/src/Presentation/Views/Dialog/AIWidgets/UseDefaultAIRephraseMessageWidgetWithProxy.tsx +94 -0
- package/src/Presentation/Views/Dialog/AIWidgets/UseDefaultAITranslateWidget.tsx +78 -0
- package/src/Presentation/Views/Dialog/AIWidgets/UseDefaultAITranslateWidgetWithProxy.tsx +78 -0
- package/src/Presentation/Views/Dialog/AIWidgets/useDefaultVoiceInputWidget.tsx +88 -0
- package/src/Presentation/Views/Dialog/ContextMenu/ContextMenu.scss +58 -0
- package/src/Presentation/Views/Dialog/ContextMenu/ContextMenu.tsx +93 -0
- package/src/Presentation/Views/Dialog/Dialog.scss +368 -0
- package/src/Presentation/Views/Dialog/Dialog.tsx +122 -0
- package/src/Presentation/Views/Dialog/DialogHeader/DialogBackIcon/DialogBackIcon.scss +29 -0
- package/src/Presentation/Views/Dialog/DialogHeader/DialogBackIcon/DialogBackIcon.tsx +34 -0
- package/src/Presentation/Views/Dialog/DialogHeader/DialogHeader.scss +114 -0
- package/src/Presentation/Views/Dialog/DialogHeader/DialogHeader.tsx +51 -0
- package/src/Presentation/Views/Dialog/DialogHeader/DialogInfoIcon/DialogInfoIcon.scss +53 -0
- package/src/Presentation/Views/Dialog/DialogHeader/DialogInfoIcon/DialogInfoIcon.tsx +58 -0
- package/src/Presentation/Views/Dialog/DialogViewModel.ts +24 -0
- package/src/Presentation/Views/Dialog/DropDownMenu/DropDownMenu.scss +84 -0
- package/src/Presentation/Views/Dialog/DropDownMenu/DropDownMenu.tsx +105 -0
- package/src/Presentation/Views/Dialog/DropDownMenu/ItemDropDownMenu/ItemDropDownMenu.scss +50 -0
- package/src/Presentation/Views/Dialog/DropDownMenu/ItemDropDownMenu/ItemDropDownMenu.tsx +43 -0
- package/src/Presentation/Views/Dialog/ErrorToast/ErrorToast.scss +26 -0
- package/src/Presentation/Views/Dialog/ErrorToast/ErrorToast.tsx +23 -0
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogListItem/DialogListItem.scss +74 -0
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogListItem/DialogListItem.tsx +96 -0
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogsWithSearch.scss +40 -0
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogsWithSearch.tsx +98 -0
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/SearchComponent/SearchComponent.scss +98 -0
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/SearchComponent/SearchComponent.tsx +65 -0
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessageFlow.scss +159 -0
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessageFlow.tsx +118 -0
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessagePreview/ForwardMessagePreview.scss +100 -0
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessagePreview/ForwardMessagePreview.tsx +90 -0
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/InputForForwarding/InputForForwarding.scss +65 -0
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/InputForForwarding/InputForForwarding.tsx +47 -0
- package/src/Presentation/Views/Dialog/InputMessage/InputMessage.scss +92 -0
- package/src/Presentation/Views/Dialog/InputMessage/InputMessage.tsx +145 -0
- package/src/Presentation/Views/Dialog/Message/HighLightLink/HighLightLink.scss +97 -0
- package/src/Presentation/Views/Dialog/Message/HighLightLink/HighLightLink.tsx +114 -0
- package/src/Presentation/Views/Dialog/Message/IncomingForwardedMessage/IncomingForwardedMessage.scss +250 -0
- package/src/Presentation/Views/Dialog/Message/IncomingForwardedMessage/IncomingForwardedMessage.tsx +290 -0
- package/src/Presentation/Views/Dialog/Message/IncomingMessage/AvatarContentIncomingUser/AvatarContentIncomingUser.scss +22 -0
- package/src/Presentation/Views/Dialog/Message/IncomingMessage/AvatarContentIncomingUser/AvatarContentIncomingUser.tsx +32 -0
- package/src/Presentation/Views/Dialog/Message/IncomingMessage/IncomingMessage.scss +241 -0
- package/src/Presentation/Views/Dialog/Message/IncomingMessage/IncomingMessage.tsx +316 -0
- package/src/Presentation/Views/Dialog/Message/IncomingMessage/MessageContentComponent/MessageContentComponent.scss +4 -0
- package/src/Presentation/Views/Dialog/Message/IncomingMessage/MessageContentComponent/MessageContentComponent.tsx +67 -0
- package/src/Presentation/Views/Dialog/Message/IncomingRepliedMessage/IncomingRepliedMessage.scss +250 -0
- package/src/Presentation/Views/Dialog/Message/IncomingRepliedMessage/IncomingRepliedMessage.tsx +298 -0
- package/src/Presentation/Views/Dialog/Message/Message.tsx +378 -0
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/AudioAttachment/AudioAttachment.scss +31 -0
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/AudioAttachment/AudioAttachment.tsx +155 -0
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/DefaultAttachment/DefaultAttachment.scss +76 -0
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/DefaultAttachment/DefaultAttachment.tsx +50 -0
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/ImageAttachment/ImageAttachment.scss +14 -0
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/ImageAttachment/ImageAttachment.tsx +50 -0
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/MessageAttachment.tsx +92 -0
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/VideoAttachment/VideoAttachment.scss +18 -0
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/VideoAttachment/VideoAttachment.tsx +58 -0
- package/src/Presentation/Views/Dialog/Message/MessageContextMenu/MessageContextMenu.scss +10 -0
- package/src/Presentation/Views/Dialog/Message/MessageContextMenu/MessageContextMenu.tsx +61 -0
- package/src/Presentation/Views/Dialog/Message/OutgoinForwardedMessage/OutgoinForwardedMessage.scss +160 -0
- package/src/Presentation/Views/Dialog/Message/OutgoinForwardedMessage/OutgoinForwardedMessage.tsx +133 -0
- package/src/Presentation/Views/Dialog/Message/OutgoingMessage/OutgoingMessage.scss +122 -0
- package/src/Presentation/Views/Dialog/Message/OutgoingMessage/OutgoingMessage.tsx +104 -0
- package/src/Presentation/Views/Dialog/Message/OutgoingRepliedMessage/OutgoingRepliedMessage.scss +155 -0
- package/src/Presentation/Views/Dialog/Message/OutgoingRepliedMessage/OutgoingRepliedMessage.tsx +103 -0
- package/src/Presentation/Views/Dialog/SystemDateBanner/SystemDateBanner.scss +23 -0
- package/src/Presentation/Views/Dialog/SystemDateBanner/SystemDateBanner.tsx +17 -0
- package/src/Presentation/Views/Dialog/SystemMessageBanner/SystemMessageBanner.scss +21 -0
- package/src/Presentation/Views/Dialog/SystemMessageBanner/SystemMessageBanner.tsx +17 -0
- package/src/Presentation/Views/Dialog/VoiceMessage/VoiceMessage.tsx +21 -0
- package/src/Presentation/Views/Dialog/useDialogViewModel.ts +837 -0
- package/src/Presentation/Views/DialogInfo/DialogInfo.scss +221 -0
- package/src/Presentation/Views/DialogInfo/DialogInfo.tsx +455 -0
- package/src/Presentation/Views/DialogInfo/DialogMemberButton/DialogMembersButton.scss +42 -0
- package/src/Presentation/Views/DialogInfo/DialogMemberButton/DialogMembersButton.tsx +26 -0
- package/src/Presentation/Views/DialogInfo/MembersList/MembersList.scss +176 -0
- package/src/Presentation/Views/DialogInfo/MembersList/MembersList.tsx +94 -0
- package/src/Presentation/Views/DialogInfo/UsersList/SingleUser/SingleUser.scss +66 -0
- package/src/Presentation/Views/DialogInfo/UsersList/SingleUser/SingleUser.tsx +71 -0
- package/src/Presentation/Views/DialogInfo/UsersList/UsersList.scss +0 -0
- package/src/Presentation/Views/DialogInfo/UsersList/UsersList.tsx +69 -0
- package/src/Presentation/Views/DialogInfo/UsersList/UsersListViewModel.ts +15 -0
- package/src/Presentation/Views/DialogInfo/UsersList/useUsersListViewModel.ts +122 -0
- package/src/Presentation/Views/DialogList/DialogList.scss +131 -0
- package/src/Presentation/Views/DialogList/DialogList.tsx +336 -0
- package/src/Presentation/Views/DialogList/DialogListViewModel.ts +25 -0
- package/src/Presentation/Views/DialogList/useDialogListViewModel.ts +475 -0
- package/src/Presentation/Views/DialogListHeader/DialogListHeader.scss +68 -0
- package/src/Presentation/Views/DialogListHeader/DialogListHeader.tsx +90 -0
- package/src/Presentation/Views/EditDialog/EditDialog.scss +203 -0
- package/src/Presentation/Views/EditDialog/EditDialog.tsx +279 -0
- package/src/Presentation/Views/EditDialog/UserAvatar/UserAvatar.scss +32 -0
- package/src/Presentation/Views/EditDialog/UserAvatar/UserAvatar.tsx +59 -0
- package/src/Presentation/Views/Flow/CreateDialog/CreateDialog.scss +93 -0
- package/src/Presentation/Views/Flow/CreateDialog/CreateDialog.tsx +69 -0
- package/src/Presentation/Views/Flow/CreateDialogFlow/CreateNewDialogFlow.tsx +186 -0
- package/src/Presentation/Views/Flow/LeaveDialogFlow/LeaveDialogFlow.tsx +48 -0
- package/src/Presentation/Views/InviteMembers/InviteMembers.scss +157 -0
- package/src/Presentation/Views/InviteMembers/InviteMembers.tsx +333 -0
- package/src/Presentation/Views/InviteMembers/InviteMembersViewModel.ts +18 -0
- package/src/Presentation/Views/InviteMembers/InviteUsersList/SingleUserWithCheckBox/SingleUserWithCheckBox.scss +90 -0
- package/src/Presentation/Views/InviteMembers/InviteUsersList/SingleUserWithCheckBox/SingleUserWithCheckBox.tsx +122 -0
- package/src/Presentation/Views/InviteMembers/InviteUsersResultViewModel.ts +12 -0
- package/src/Presentation/Views/InviteMembers/NotFoundContent/NotFoundContent.scss +38 -0
- package/src/Presentation/Views/InviteMembers/NotFoundContent/NotFoundContent.tsx +22 -0
- package/src/Presentation/Views/InviteMembers/useInviteMembersViewModel.ts +143 -0
- package/src/Presentation/Views/Navigation/More.svg +7 -0
- package/src/Presentation/Views/PreviewDialog/PreviewDialog.scss +207 -0
- package/src/Presentation/Views/PreviewDialog/PreviewDialog.tsx +316 -0
- package/src/Presentation/Views/PreviewDialog/PreviewDialogContextMenu/PreviewDialogContextMenu.scss +9 -0
- package/src/Presentation/Views/PreviewDialog/PreviewDialogContextMenu/PreviewDialogContextMenu.tsx +59 -0
- package/src/Presentation/Views/PreviewDialog/PreviewDialogViewModel.ts +42 -0
- package/src/Presentation/Views/YesNoQuestion/YesNoQuestion.scss +11 -0
- package/src/Presentation/Views/YesNoQuestion/YesNoQuestion.tsx +60 -0
- package/src/Presentation/assets/fonts/.gitkeep +0 -0
- package/src/Presentation/assets/fonts/Roboto-Bold.eot +0 -0
- package/src/Presentation/assets/fonts/Roboto-Bold.ttf +0 -0
- package/src/Presentation/assets/fonts/Roboto-Bold.woff +0 -0
- package/src/Presentation/assets/fonts/Roboto-Bold.woff2 +0 -0
- package/src/Presentation/assets/fonts/Roboto-Medium.eot +0 -0
- package/src/Presentation/assets/fonts/Roboto-Medium.ttf +0 -0
- package/src/Presentation/assets/fonts/Roboto-Medium.woff +0 -0
- package/src/Presentation/assets/fonts/Roboto-Medium.woff2 +0 -0
- package/src/Presentation/assets/fonts/Roboto-Regular.eot +0 -0
- package/src/Presentation/assets/fonts/Roboto-Regular.ttf +0 -0
- package/src/Presentation/assets/fonts/Roboto-Regular.woff +0 -0
- package/src/Presentation/assets/fonts/Roboto-Regular.woff2 +0 -0
- package/src/Presentation/assets/img/Artem_Koltunov_Selfi.png +0 -0
- package/src/Presentation/assets/img/bee-img.png +0 -0
- package/src/Presentation/assets/img/web-doc.png +0 -0
- package/src/Presentation/components/Button.js +5 -0
- package/src/Presentation/components/Navbar.tsx +45 -0
- package/src/Presentation/components/TextInput.js +10 -0
- package/src/Presentation/components/UI/Buttons/ActiveButton/ActiveButton.tsx +40 -0
- package/src/Presentation/components/UI/Buttons/MainBoundedButton/MainBoundedButton.scss +0 -0
- package/src/Presentation/components/UI/Buttons/MainBoundedButton/MainBoundedButton.tsx +30 -0
- package/src/Presentation/components/UI/Buttons/MainButton/MainButton.css +103 -0
- package/src/Presentation/components/UI/Buttons/MainButton/MainButton.tsx +62 -0
- package/src/Presentation/components/UI/Elements/SwitchButton/SwitchButton.scss +61 -0
- package/src/Presentation/components/UI/Elements/SwitchButton/SwitchButton.tsx +48 -0
- package/src/Presentation/components/UI/Placeholders/ErrorComponent/ErrorComponent.scss +74 -0
- package/src/Presentation/components/UI/Placeholders/ErrorComponent/ErrorComponent.tsx +52 -0
- package/src/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.scss +21 -0
- package/src/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.tsx +44 -0
- package/src/Presentation/components/UI/svgs/ActiveSvg/ActiveSvg.scss +3 -0
- package/src/Presentation/components/UI/svgs/ActiveSvg/ActiveSvg.tsx +45 -0
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/AIWidget/Send.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/AIWidget/index.tsx +39 -0
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/BookIcon/BookIcon.tsx +7 -0
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/BotIcon/BotIcon.svg +5 -0
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/BotIcon/BotIcon.tsx +50 -0
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/HammerIcon/index.tsx +7 -0
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/HandshakeIcon/index.tsx +7 -0
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/MuscleIcon/index.tsx +7 -0
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/NecktieIcon/index.tsx +7 -0
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/NeutralFaceIcon/index.tsx +7 -0
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/PalmsUpTogetherIcon/index.tsx +7 -0
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/PerformingArtsIcon/index.tsx +7 -0
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/PointUpIcon/index.tsx +7 -0
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/SmileyIcon/index.tsx +20 -0
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/SmirkIcon/index.tsx +7 -0
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/WhiteCheckMarkIcon/index.tsx +7 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Add/Add.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Add/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/AddContact/Add contact.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/AddContact/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Archive/Archive.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Archive/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/AssistAnswer/AssistAnswer.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/AssistAnswer/index.tsx +93 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Copy/Copy.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Copy/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Delete/Delete.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Delete/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Download/Download.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Download/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Edit/Edit.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Edit/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/EditDots/EditDots.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/EditDots/index.tsx +35 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Emoji/Emoji.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Emoji/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/ForwardFilled/Forward filled.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/ForwardFilled/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Hungup/Hungup.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Hungup/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/IncomeCall/Income call.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/IncomeCall/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Like/Like.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Like/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/NewChat/New chat.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/NewChat/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/OutcomeCall/Outcome call.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/OutcomeCall/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Phone/Phone.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Phone/index.tsx +35 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/PhoneFilled/Phone filled.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/PhoneFilled/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Remove/Remove.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Remove/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Remove2/Remove2.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Remove2/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/ReplyFilled/Reply filled.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/ReplyFilled/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Send/Send.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Send/index.tsx +38 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Share/Share.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Share/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Summarize/Summarize.svg +6 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Summarize/index.tsx +58 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/SwapCamera/Swap camera.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/SwapCamera/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Tone/Tone.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Tone/index.tsx +34 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Unarchive/Unarchive.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Unarchive/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/VideoIcon/Video.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/VideoIcon/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Voice/Voice.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Actions/Voice/index.tsx +35 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/Brodcast/Broadcast.svg +7 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/Brodcast/index.tsx +38 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/Chat/Chat.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/Chat/index.tsx +35 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/ChatFilled/Chat filled.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/ChatFilled/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/Conference/Conference.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/Conference/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/Contact/Contact.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/Contact/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/ContactFilled/Contact filled.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/ContactFilled/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/GroupChat/Group chat.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/GroupChat/index.tsx +35 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/Notifications/Notifications.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/Notifications/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/PrivateChat/Private chat.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/PrivateChat/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/PublicChannel/Public channel.svg +7 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/PublicChannel/index.tsx +67 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/Stream/Stream.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/Stream/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/StreamFilled/Stream filled.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/StreamFilled/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/User/User.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Contents/User/index.tsx +35 -0
- package/src/Presentation/components/UI/svgs/Icons/IconsCommonTypes.ts +6 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/Attachment/Attachment.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/Attachment/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/AudioFile/Audio file.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/AudioFile/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/BrokenFile/Broken file.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/BrokenFile/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/Camera/Camera.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/Camera/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/GifFile/GIF file.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/GifFile/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageEmpty/Image.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageEmpty/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageFile/File.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageFile/index.tsx +35 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageFilled/Image filled.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageFilled/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/LinkWeb/Link.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/LinkWeb/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/Location/Location.svg +4 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/Location/index.tsx +26 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/TextDocument/Text document.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/TextDocument/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/Translate/Translate.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/Translate/index.tsx +35 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/VideoFile/Video file.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Media/VideoFile/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Admin/Admin.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Admin/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Banned/Banned.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Banned/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Freeze/Freeze.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Freeze/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Moderations/Moderations.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Moderations/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Muted/Muted.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Muted/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowLeft/Arrow left.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowLeft/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowRight/Arrow right.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowRight/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Back/Back.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Back/index.tsx +34 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Close/Close.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Close/index.tsx +35 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Down/Down.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Down/index.tsx +35 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Leave/Leave.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Leave/index.tsx +35 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/More/More.svg +7 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/More/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Next/Next.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Next/index.tsx +35 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Plus/Plus.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Plus/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Refresh/Refresh.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Refresh/index.tsx +36 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Search/Search.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Search/index.tsx +35 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Settings/Settings.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Settings/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/SettingsField/Settings filled.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Navigation/SettingsField/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Status/Error/Error.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Status/Error/index.tsx +36 -0
- package/src/Presentation/components/UI/svgs/Icons/Status/Help/Help.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Status/Help/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Status/Information/Information.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Status/Information/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Status/InformationFill/index.tsx +40 -0
- package/src/Presentation/components/UI/svgs/Icons/Status/Loader/Loader.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Status/Loader/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Status/Mention/Mention.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Status/Mention/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Status/Sent/Sent.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Status/Sent/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Status/ViewedDelivered/Viewed_Delivered.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Status/ViewedDelivered/index.tsx +38 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOff/Camera off.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOff/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOn/Camera on.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOn/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOff/Check off.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOff/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOn/Check on.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOn/index.tsx +24 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Favourite/Favourite.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Favourite/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/FavouriteFilled/Favourite filled.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/FavouriteFilled/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/FullScreen/Full screen.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/FullScreen/inex.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Hide/Hide.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Hide/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/ImagePlay/Play.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/ImagePlay/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Louder/Louder.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Louder/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOff/Mic off.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOff/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOn/Mic on.svg +4 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOn/index.tsx +26 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Minimize/Minimize.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Minimize/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOff/Notify off.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOff/index.tsx +35 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOn/Notify on.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOn/index.tsx +35 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Pause/Pause.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Pause/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Quite/Quite.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Quite/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Record/Record.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Record/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Screenshare/Screenshare.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Screenshare/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Show/Show.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Show/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Speaker/Speaker.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Speaker/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/SpeakerOff/Speaker off.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/SpeakerOff/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/StopRecord/Stop record.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/StopRecord/index.tsx +22 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/StopShare/Stop share.svg +3 -0
- package/src/Presentation/components/UI/svgs/Icons/Toggle/StopShare/index.tsx +22 -0
- package/src/Presentation/components/containers/ColumnContainer/ColumnContainer.scss +16 -0
- package/src/Presentation/components/containers/ColumnContainer/ColumnContainer.tsx +27 -0
- package/src/Presentation/components/containers/RowCenterContainer/RowCenterContainer.scss +45 -0
- package/src/Presentation/components/containers/RowCenterContainer/RowCenterContainer.tsx +88 -0
- package/src/Presentation/components/containers/RowLeftContainer/RowLeftContainer.scss +45 -0
- package/src/Presentation/components/containers/RowLeftContainer/RowLeftContainer.tsx +90 -0
- package/src/Presentation/components/containers/RowRightContainer/RowRightContainer.scss +46 -0
- package/src/Presentation/components/containers/RowRightContainer/RowRightContainer.tsx +90 -0
- package/src/Presentation/components/containers/ScrollableContainer/ScrollableContainer.scss +45 -0
- package/src/Presentation/components/containers/ScrollableContainer/ScrollableContainer.tsx +102 -0
- package/src/Presentation/components/containers/SectionList/hooks/createUseComponent.ts +20 -0
- package/src/Presentation/components/containers/SectionList/hooks/index.ts +4 -0
- package/src/Presentation/components/containers/SectionList/hooks/useMobileLayout.ts +27 -0
- package/src/Presentation/components/containers/SectionList/hooks/usePrevious.ts +11 -0
- package/src/Presentation/components/containers/SectionList/hooks/useVisibility.ts +17 -0
- package/src/Presentation/components/containers/SectionList/index.tsx +52 -0
- package/src/Presentation/components/containers/SectionList/styles.css +50 -0
- package/src/Presentation/components/containers/SectionList/useComponent.ts +136 -0
- package/src/Presentation/icons/actions/add-contact.svg +3 -0
- package/src/Presentation/icons/actions/add.svg +3 -0
- package/src/Presentation/icons/actions/archive.svg +3 -0
- package/src/Presentation/icons/actions/copy.svg +3 -0
- package/src/Presentation/icons/actions/delete.svg +3 -0
- package/src/Presentation/icons/actions/download.svg +3 -0
- package/src/Presentation/icons/actions/edit.svg +3 -0
- package/src/Presentation/icons/actions/emoji.svg +3 -0
- package/src/Presentation/icons/actions/forward-filled.svg +3 -0
- package/src/Presentation/icons/actions/hungup.svg +3 -0
- package/src/Presentation/icons/actions/income-call.svg +3 -0
- package/src/Presentation/icons/actions/index.ts +26 -0
- package/src/Presentation/icons/actions/like.svg +3 -0
- package/src/Presentation/icons/actions/new-chat.svg +3 -0
- package/src/Presentation/icons/actions/outcome-call.svg +3 -0
- package/src/Presentation/icons/actions/phone-filled.svg +3 -0
- package/src/Presentation/icons/actions/phone.svg +3 -0
- package/src/Presentation/icons/actions/remove-2.svg +3 -0
- package/src/Presentation/icons/actions/remove.svg +3 -0
- package/src/Presentation/icons/actions/rephrase.svg +6 -0
- package/src/Presentation/icons/actions/reply-filled.svg +3 -0
- package/src/Presentation/icons/actions/robot.svg +5 -0
- package/src/Presentation/icons/actions/send.svg +3 -0
- package/src/Presentation/icons/actions/share.svg +3 -0
- package/src/Presentation/icons/actions/swap-camera.svg +3 -0
- package/src/Presentation/icons/actions/translate.svg +3 -0
- package/src/Presentation/icons/actions/unarchive.svg +3 -0
- package/src/Presentation/icons/actions/video.svg +3 -0
- package/src/Presentation/icons/actions/voice.svg +3 -0
- package/src/Presentation/icons/contents/broadcast.svg +7 -0
- package/src/Presentation/icons/contents/chat-filled.svg +3 -0
- package/src/Presentation/icons/contents/chat.svg +3 -0
- package/src/Presentation/icons/contents/conference.svg +3 -0
- package/src/Presentation/icons/contents/contact-filled.svg +3 -0
- package/src/Presentation/icons/contents/contact.svg +3 -0
- package/src/Presentation/icons/contents/group-chat.svg +3 -0
- package/src/Presentation/icons/contents/index.ts +13 -0
- package/src/Presentation/icons/contents/notifications.svg +3 -0
- package/src/Presentation/icons/contents/private-chat.svg +3 -0
- package/src/Presentation/icons/contents/public-channel.svg +7 -0
- package/src/Presentation/icons/contents/stream-filled.svg +3 -0
- package/src/Presentation/icons/contents/stream.svg +3 -0
- package/src/Presentation/icons/contents/user.svg +3 -0
- package/src/Presentation/icons/index.ts +7 -0
- package/src/Presentation/icons/media/attachment.svg +3 -0
- package/src/Presentation/icons/media/audio-file.svg +3 -0
- package/src/Presentation/icons/media/broken-file.svg +3 -0
- package/src/Presentation/icons/media/camera.svg +3 -0
- package/src/Presentation/icons/media/file.svg +3 -0
- package/src/Presentation/icons/media/gif-file.svg +3 -0
- package/src/Presentation/icons/media/image-filled.svg +3 -0
- package/src/Presentation/icons/media/image.svg +3 -0
- package/src/Presentation/icons/media/index.ts +12 -0
- package/src/Presentation/icons/media/link.svg +3 -0
- package/src/Presentation/icons/media/location.svg +4 -0
- package/src/Presentation/icons/media/text-document.svg +3 -0
- package/src/Presentation/icons/media/video-file.svg +3 -0
- package/src/Presentation/icons/moderation/admin.svg +3 -0
- package/src/Presentation/icons/moderation/banned.svg +3 -0
- package/src/Presentation/icons/moderation/freeze.svg +3 -0
- package/src/Presentation/icons/moderation/index.ts +5 -0
- package/src/Presentation/icons/moderation/moderations.svg +3 -0
- package/src/Presentation/icons/moderation/muted.svg +3 -0
- package/src/Presentation/icons/navigation/arrow-left.svg +3 -0
- package/src/Presentation/icons/navigation/arrow-right.svg +3 -0
- package/src/Presentation/icons/navigation/back.svg +3 -0
- package/src/Presentation/icons/navigation/close.svg +3 -0
- package/src/Presentation/icons/navigation/down.svg +3 -0
- package/src/Presentation/icons/navigation/index.ts +12 -0
- package/src/Presentation/icons/navigation/leave.svg +3 -0
- package/src/Presentation/icons/navigation/more.svg +3 -0
- package/src/Presentation/icons/navigation/next.svg +3 -0
- package/src/Presentation/icons/navigation/plus.svg +3 -0
- package/src/Presentation/icons/navigation/refresh.svg +3 -0
- package/src/Presentation/icons/navigation/search.svg +3 -0
- package/src/Presentation/icons/navigation/settings-filled.svg +3 -0
- package/src/Presentation/icons/navigation/settings.svg +3 -0
- package/src/Presentation/icons/status/error.svg +3 -0
- package/src/Presentation/icons/status/help.svg +3 -0
- package/src/Presentation/icons/status/index.ts +7 -0
- package/src/Presentation/icons/status/information.svg +3 -0
- package/src/Presentation/icons/status/loader.svg +3 -0
- package/src/Presentation/icons/status/mention.svg +3 -0
- package/src/Presentation/icons/status/sent.svg +3 -0
- package/src/Presentation/icons/status/viewed-delivered.svg +3 -0
- package/src/Presentation/icons/toggle/camera-off.svg +3 -0
- package/src/Presentation/icons/toggle/camera-on.svg +3 -0
- package/src/Presentation/icons/toggle/check-off.svg +3 -0
- package/src/Presentation/icons/toggle/check-on.svg +3 -0
- package/src/Presentation/icons/toggle/favorite.svg +3 -0
- package/src/Presentation/icons/toggle/favourite.svg +3 -0
- package/src/Presentation/icons/toggle/full-screen.svg +3 -0
- package/src/Presentation/icons/toggle/hide.svg +3 -0
- package/src/Presentation/icons/toggle/index.ts +23 -0
- package/src/Presentation/icons/toggle/louder.svg +3 -0
- package/src/Presentation/icons/toggle/mic-off.svg +3 -0
- package/src/Presentation/icons/toggle/mic-on.svg +4 -0
- package/src/Presentation/icons/toggle/minimize.svg +3 -0
- package/src/Presentation/icons/toggle/notify-off.svg +3 -0
- package/src/Presentation/icons/toggle/notify-on.svg +3 -0
- package/src/Presentation/icons/toggle/pause.svg +3 -0
- package/src/Presentation/icons/toggle/play.svg +3 -0
- package/src/Presentation/icons/toggle/quite.svg +3 -0
- package/src/Presentation/icons/toggle/record.svg +3 -0
- package/src/Presentation/icons/toggle/screenshare.svg +3 -0
- package/src/Presentation/icons/toggle/show.svg +3 -0
- package/src/Presentation/icons/toggle/speaker off.svg +3 -0
- package/src/Presentation/icons/toggle/speaker-off.svg +3 -0
- package/src/Presentation/icons/toggle/speaker.svg +3 -0
- package/src/Presentation/icons/toggle/stop-record.svg +3 -0
- package/src/Presentation/icons/toggle/stop-share.svg +3 -0
- package/src/Presentation/layouts/Desktop/DesktopLayout.scss +46 -0
- package/src/Presentation/layouts/Desktop/DesktopLayout.tsx +89 -0
- package/src/Presentation/layouts/Desktop/QuickBloxUIKitDesktopLayout.tsx +1360 -0
- package/src/Presentation/layouts/LayoutCommonTypes.ts +7 -0
- package/src/Presentation/layouts/TestStage/CompanyLogo/CompanyLogo.tsx +27 -0
- package/src/Presentation/layouts/TestStage/LoginView/Login.scss +72 -0
- package/src/Presentation/layouts/TestStage/LoginView/Login.tsx +95 -0
- package/src/Presentation/providers/ModalContextProvider/Modal.scss +76 -0
- package/src/Presentation/providers/ModalContextProvider/Modal.tsx +80 -0
- package/src/Presentation/providers/ModalContextProvider/ModalContextProvider.tsx +38 -0
- package/src/Presentation/providers/ModalContextProvider/useModal.ts +39 -0
- package/src/Presentation/providers/ProviderProps.ts +5 -0
- package/src/Presentation/providers/QuickBloxUIKitProvider/QuickBloxUIKitProvider.tsx +340 -0
- package/src/Presentation/providers/QuickBloxUIKitProvider/useEventMessagesRepository.ts +10 -0
- package/src/Presentation/providers/QuickBloxUIKitProvider/useQBConnection.ts +38 -0
- package/src/Presentation/providers/QuickBloxUIKitProvider/useQbInitializedDataContext.ts +83 -0
- package/src/Presentation/providers/QuickBloxUIKitProvider/useQbUIKitDataContext.ts +11 -0
- package/src/Presentation/themes/DarkTheme.ts +58 -0
- package/src/Presentation/themes/DefaultThemes/CustomTheme.ts +58 -0
- package/src/Presentation/themes/DefaultThemes/DefaultTheme.ts +58 -0
- package/src/Presentation/themes/LightTheme.ts +58 -0
- package/src/Presentation/themes/ThemeScheme.ts +83 -0
- package/src/Presentation/themes/UiKitTheme.ts +37 -0
- package/src/Presentation/themes/styles/_fonts.scss +32 -0
- package/src/Presentation/themes/styles/_mixins.scss +6 -0
- package/src/Presentation/themes/styles/_theme_colors_scheme.scss +56 -0
- package/src/Presentation/themes/styles/_theme_colors_scheme_green.scss +57 -0
- package/src/Presentation/themes/styles/_theme_colors_scheme_pink.scss +72 -0
- package/src/Presentation/themes/styles/_theme_dark.scss +37 -0
- package/src/Presentation/themes/styles/_theme_light.scss +38 -0
- package/src/Presentation/themes/styles/_variables.scss +54 -0
- package/src/Presentation/ui-components/Avatar/Avatar.scss +55 -0
- package/src/Presentation/ui-components/Avatar/Avatar.tsx +30 -0
- package/src/Presentation/ui-components/Avatar/avatar.stories.tsx +78 -0
- package/src/Presentation/ui-components/Badge/Badge.scss +23 -0
- package/src/Presentation/ui-components/Badge/Badge.stories.ts +64 -0
- package/src/Presentation/ui-components/Badge/Badge.tsx +23 -0
- package/src/Presentation/ui-components/Button/Button.scss +133 -0
- package/src/Presentation/ui-components/Button/Button.stories.ts +93 -0
- package/src/Presentation/ui-components/Button/Button.tsx +49 -0
- package/src/Presentation/ui-components/CheckBox/CheckBox.scss +10 -0
- package/src/Presentation/ui-components/CheckBox/CheckBox.tsx +23 -0
- package/src/Presentation/ui-components/DialogBanner/DialogBanner.scss +29 -0
- package/src/Presentation/ui-components/DialogBanner/DialogBanner.stories.ts +38 -0
- package/src/Presentation/ui-components/DialogBanner/DialogBanner.tsx +16 -0
- package/src/Presentation/ui-components/DialogItemPreview/DialogItemPreview.scss +71 -0
- package/src/Presentation/ui-components/DialogItemPreview/DialogItemPreview.stories.tsx +166 -0
- package/src/Presentation/ui-components/DialogItemPreview/DialogItemPreview.tsx +70 -0
- package/src/Presentation/ui-components/DialogWindow/DialogWindow.scss +40 -0
- package/src/Presentation/ui-components/DialogWindow/DialogWindow.stories.tsx +106 -0
- package/src/Presentation/ui-components/DialogWindow/DialogWindow.tsx +41 -0
- package/src/Presentation/ui-components/Dropdown/Dropdown.scss +78 -0
- package/src/Presentation/ui-components/Dropdown/Dropdown.stories.tsx +148 -0
- package/src/Presentation/ui-components/Dropdown/Dropdown.tsx +84 -0
- package/src/Presentation/ui-components/Dropdown/DropdownOption.tsx +30 -0
- package/src/Presentation/ui-components/Header/Header.scss +72 -0
- package/src/Presentation/ui-components/Header/Header.stories.tsx +116 -0
- package/src/Presentation/ui-components/Header/Header.tsx +51 -0
- package/src/Presentation/ui-components/Loader/Loader.scss +27 -0
- package/src/Presentation/ui-components/Loader/Loader.stories.ts +42 -0
- package/src/Presentation/ui-components/Loader/Loader.tsx +15 -0
- package/src/Presentation/ui-components/Message/AIAssist/AIAssist.scss +34 -0
- package/src/Presentation/ui-components/Message/AIAssist/AIAssist.tsx +25 -0
- package/src/Presentation/ui-components/Message/AITranslate/AITranslate.scss +67 -0
- package/src/Presentation/ui-components/Message/AITranslate/AITranslate.tsx +79 -0
- package/src/Presentation/ui-components/Message/Bubble/AttachmentBubble/AttachmentBubble.tsx +60 -0
- package/src/Presentation/ui-components/Message/Bubble/AudioBubble/AudioBubble.scss +71 -0
- package/src/Presentation/ui-components/Message/Bubble/AudioBubble/AudioBubble.tsx +148 -0
- package/src/Presentation/ui-components/Message/Bubble/FileBubble/FileBubble.scss +29 -0
- package/src/Presentation/ui-components/Message/Bubble/FileBubble/FileBubble.tsx +16 -0
- package/src/Presentation/ui-components/Message/Bubble/ImageBubble/ImageBubble.scss +16 -0
- package/src/Presentation/ui-components/Message/Bubble/ImageBubble/ImageBubble.tsx +25 -0
- package/src/Presentation/ui-components/Message/Bubble/TextBubble/TextBubble.scss +40 -0
- package/src/Presentation/ui-components/Message/Bubble/TextBubble/TextBubble.tsx +22 -0
- package/src/Presentation/ui-components/Message/Bubble/VideoBubble/VideoBubble.scss +18 -0
- package/src/Presentation/ui-components/Message/Bubble/VideoBubble/VideoBubble.tsx +36 -0
- package/src/Presentation/ui-components/Message/FileUrl/FileUrl.scss +58 -0
- package/src/Presentation/ui-components/Message/FileUrl/FileUrl.tsx +43 -0
- package/src/Presentation/ui-components/Message/Message.scss +143 -0
- package/src/Presentation/ui-components/Message/Message.stories.tsx +261 -0
- package/src/Presentation/ui-components/Message/Message.tsx +85 -0
- package/src/Presentation/ui-components/Message/MessageCaption/MessageCaption.scss +90 -0
- package/src/Presentation/ui-components/Message/MessageCaption/MessageCaption.tsx +46 -0
- package/src/Presentation/ui-components/Message/MessageContextMenu/MessageContextMenu.scss +19 -0
- package/src/Presentation/ui-components/Message/MessageContextMenu/MessageContextMenu.tsx +67 -0
- package/src/Presentation/ui-components/Message/TimeAndStatus/TimeAndStatus.scss +54 -0
- package/src/Presentation/ui-components/Message/TimeAndStatus/TimeAndStatus.tsx +32 -0
- package/src/Presentation/ui-components/MessageInput/AttachmentUploader/AttachmentUploader.tsx +33 -0
- package/src/Presentation/ui-components/MessageInput/MessageInput.scss +123 -0
- package/src/Presentation/ui-components/MessageInput/MessageInput.stories.tsx +137 -0
- package/src/Presentation/ui-components/MessageInput/MessageInput.tsx +155 -0
- package/src/Presentation/ui-components/MessageInput/ReplyMessagePreview/ReplyImagePreviewAttachment/ReplyImagePreviewAttachment.scss +16 -0
- package/src/Presentation/ui-components/MessageInput/ReplyMessagePreview/ReplyImagePreviewAttachment/ReplyImagePreviewAttachment.tsx +27 -0
- package/src/Presentation/ui-components/MessageInput/ReplyMessagePreview/ReplyMessagePreview.scss +140 -0
- package/src/Presentation/ui-components/MessageInput/ReplyMessagePreview/ReplyMessagePreview.tsx +101 -0
- package/src/Presentation/ui-components/MessageInput/VoiceRecordingProgress/VoiceRecordingProgress.scss +35 -0
- package/src/Presentation/ui-components/MessageInput/VoiceRecordingProgress/VoiceRecordingProgress.tsx +79 -0
- package/src/Presentation/ui-components/MessageItem/MessageItem.scss +22 -0
- package/src/Presentation/ui-components/MessageItem/MessageItem.tsx +332 -0
- package/src/Presentation/ui-components/MessageSeparator/MessageSeparator.scss +31 -0
- package/src/Presentation/ui-components/MessageSeparator/MessageSeparator.stories.ts +158 -0
- package/src/Presentation/ui-components/MessageSeparator/MessageSeparator.tsx +34 -0
- package/src/Presentation/ui-components/Placeholder/Placeholder.scss +51 -0
- package/src/Presentation/ui-components/Placeholder/Placeholder.stories.tsx +95 -0
- package/src/Presentation/ui-components/Placeholder/Placeholder.tsx +32 -0
- package/src/Presentation/ui-components/PreviewFileMessage/PreviewFileMessage.scss +30 -0
- package/src/Presentation/ui-components/PreviewFileMessage/PreviewFileMessage.stories.ts +66 -0
- package/src/Presentation/ui-components/PreviewFileMessage/PreviewFileMessage.tsx +38 -0
- package/src/Presentation/ui-components/SettingsItem/SettingsItem.scss +69 -0
- package/src/Presentation/ui-components/SettingsItem/SettingsItem.stories.tsx +177 -0
- package/src/Presentation/ui-components/SettingsItem/SettingsItem.tsx +56 -0
- package/src/Presentation/ui-components/TextField/TextField.scss +90 -0
- package/src/Presentation/ui-components/TextField/TextField.stories.ts +103 -0
- package/src/Presentation/ui-components/TextField/TextField.tsx +78 -0
- package/src/Presentation/ui-components/Toast/Toast.scss +18 -0
- package/src/Presentation/ui-components/Toast/Toast.stories.tsx +50 -0
- package/src/Presentation/ui-components/Toast/ToastProvider.tsx +29 -0
- package/src/Presentation/ui-components/index.ts +13 -0
- package/src/QBconfig.ts +151 -0
- package/src/index-ui.ts +87 -0
- package/src/index.scss +27 -0
- package/src/index.tsx +25 -0
- package/src/logo.svg +1 -0
- package/src/package_artan_react_ui.json +91 -0
- package/src/package_original.json +115 -0
- package/src/qb-api-calls/index.ts +581 -0
- package/src/react-app-env.d.ts +1 -0
- package/src/setupTests.ts +5 -0
- package/src/utils/DateTimeFormatter.ts +90 -0
- package/src/utils/parse.ts +74 -0
- package/src/utils/utils.ts +102 -0
- package/tsconfig.json +33 -0
- package/typedoc.json +4 -0
- package/webpack.config.js +68 -0
- package/dist/Presentation/Views/Dialog/DialogHeader/RenderLeftActions/RenderLeftActions.d.ts +0 -10
- package/dist/Presentation/Views/PreviewDialog/PreviewAudioFile/PreviewAudioFile.d.ts +0 -7
- package/dist/Presentation/Views/PreviewDialog/PreviewDefaultFile/PreviewDefaultFile.d.ts +0 -7
- package/dist/Presentation/Views/PreviewDialog/PreviewImageFile/PreviewImageFile.d.ts +0 -8
- package/dist/Presentation/Views/PreviewDialog/PreviewVideoFile/PreviewVideoFile.d.ts +0 -7
- package/dist/Presentation/{Views/Dialog → ui-components/MessageInput}/AttachmentUploader/AttachmentUploader.d.ts +0 -0
- package/dist/Presentation/{Views/Dialog → ui-components/MessageInput}/ReplyMessagePreview/ReplyImagePreviewAttachment/ReplyImagePreviewAttachment.d.ts +0 -0
- package/dist/Presentation/{Views/Dialog → ui-components/MessageInput}/ReplyMessagePreview/ReplyMessagePreview.d.ts +1 -1
- /package/dist/Presentation/{Views/Dialog → ui-components/MessageInput}/VoiceRecordingProgress/VoiceRecordingProgress.d.ts +0 -0
package/.prettierignore
ADDED
package/.prettierrc
ADDED
|
@@ -6,6 +6,7 @@ import { FileEntity } from '../Domain/entity/FileEntity';
|
|
|
6
6
|
import { IChatMessage } from '../Data/source/AISource';
|
|
7
7
|
import { Tone } from '../Presentation/Views/Dialog/AIWidgets/Tone';
|
|
8
8
|
import { MessageEntity } from '../Domain/entity/MessageEntity';
|
|
9
|
+
import { UserEntity } from '../Domain/entity/UserEntity';
|
|
9
10
|
export default class BaseViewModel<TResult> {
|
|
10
11
|
get entity(): TResult;
|
|
11
12
|
set entity(value: TResult);
|
|
@@ -36,6 +37,7 @@ export type FunctionDialogEntityToVoid = (dialog: DialogEntity) => void;
|
|
|
36
37
|
export type FunctionTypeFileToToBoolean = (file: File) => Promise<boolean>;
|
|
37
38
|
export type FunctionTypePaginationToVoid = (pagination: Pagination) => void;
|
|
38
39
|
export type FunctionTypeVoidToVoid = () => void;
|
|
40
|
+
export type FunctionTypeUserIdToUserEntity = (id: number) => Promise<UserEntity>;
|
|
39
41
|
export type FunctionTypeStringToVoid = (value: string) => void;
|
|
40
42
|
export type FunctionTypeBooleanToVoid = (value: boolean) => void;
|
|
41
43
|
export type FunctionTypeEditDialogParamsToVoid = (params: EditDialogParams) => void;
|
package/dist/Data/Stubs.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export declare class Stubs {
|
|
|
12
12
|
static initializeWithUsersMockData(ds: LocalDataSource): Promise<void>;
|
|
13
13
|
static initializeWithDialogsMockData(ds: LocalDataSource): Promise<void>;
|
|
14
14
|
static initializeWithMessagesMockData(ds: LocalDataSource): Promise<void>;
|
|
15
|
+
static initializeMessagesWithMockData(): MessageEntity[];
|
|
15
16
|
static createDialogEntityByTypeWithEmptyValues(dialogType: DialogType): DialogEntity;
|
|
16
17
|
static createDialogEntityWithError(): DialogEntity;
|
|
17
18
|
static createDialogEntityByTypeWithDefaultValues(dialogType: DialogType): DialogEntity;
|
|
@@ -10,7 +10,6 @@ type AIRephraseWidgetProps = {
|
|
|
10
10
|
waitAIWidget: boolean;
|
|
11
11
|
setWaitAIWidget: FunctionTypeBooleanToVoid;
|
|
12
12
|
setMessageErrorToast: FunctionTypeStringToVoid;
|
|
13
|
-
setShowErrorToast: FunctionTypeBooleanToVoid;
|
|
14
13
|
AIRephrase?: AIMessageWidget;
|
|
15
14
|
messagesToView: MessageEntity[];
|
|
16
15
|
currentUserId: number;
|
|
@@ -6,12 +6,8 @@ type DialogProps = {
|
|
|
6
6
|
messagesViewModel: DialogViewModel;
|
|
7
7
|
maxWidthToResize?: string;
|
|
8
8
|
warningErrorText: string;
|
|
9
|
-
showErrorToast: boolean;
|
|
10
|
-
messageErrorToast: string;
|
|
11
9
|
renderHeader: React.ReactNode;
|
|
12
10
|
renderMessageList: React.ReactNode;
|
|
13
|
-
renderReplyMessagesPreview: React.ReactNode;
|
|
14
|
-
showReplyMessage: boolean;
|
|
15
11
|
renderMessageInput: React.ReactNode;
|
|
16
12
|
theme?: UiKitTheme;
|
|
17
13
|
headerContent?: React.ReactNode;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './DialogBackIcon.scss';
|
|
3
|
+
import { FunctionTypeVoidToVoid } from '../../../../../CommonTypes/BaseViewModel';
|
|
4
|
+
type RenderLeftActionsProps = {
|
|
5
|
+
onClickBack: FunctionTypeVoidToVoid;
|
|
6
|
+
};
|
|
7
|
+
declare const DialogBackIcon: React.FC<RenderLeftActionsProps>;
|
|
8
|
+
export default DialogBackIcon;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import './
|
|
2
|
+
import './DialogInfoIcon.scss';
|
|
3
3
|
import { FunctionTypeVoidToVoid } from '../../../../../CommonTypes/BaseViewModel';
|
|
4
4
|
import UiKitTheme from '../../../../themes/UiKitTheme';
|
|
5
5
|
type RenderRightActionsProps = {
|
|
6
6
|
onClickInfo: FunctionTypeVoidToVoid;
|
|
7
7
|
theme?: UiKitTheme;
|
|
8
8
|
};
|
|
9
|
-
declare const
|
|
10
|
-
export default
|
|
9
|
+
declare const DialogInfoIcon: React.FC<RenderRightActionsProps>;
|
|
10
|
+
export default DialogInfoIcon;
|
|
@@ -17,5 +17,5 @@ type MessageInputProps = {
|
|
|
17
17
|
maxWidthToResizing: string;
|
|
18
18
|
theme?: UiKitTheme;
|
|
19
19
|
};
|
|
20
|
-
declare const
|
|
21
|
-
export default
|
|
20
|
+
declare const InputMessage: React.FC<MessageInputProps>;
|
|
21
|
+
export default InputMessage;
|
|
@@ -3,6 +3,7 @@ import { FunctionTypeBooleanToVoid, FunctionTypeMessageEntityToVoid, FunctionTyp
|
|
|
3
3
|
import { MessageEntity } from '../../../../Domain/entity/MessageEntity';
|
|
4
4
|
import UiKitTheme from '../../../themes/UiKitTheme';
|
|
5
5
|
import { AIMessageWidget } from '../AIWidgets/AIMessageWidget';
|
|
6
|
+
import { GetUserNameFct } from './IncomingMessage/IncomingMessage';
|
|
6
7
|
type MessageProps = {
|
|
7
8
|
message: MessageEntity;
|
|
8
9
|
userId: number;
|
|
@@ -14,6 +15,7 @@ type MessageProps = {
|
|
|
14
15
|
AIAssistWidget: AIMessageWidget;
|
|
15
16
|
onReply: FunctionTypeMessageEntityToVoid;
|
|
16
17
|
onForward: FunctionTypeMessageEntityToVoid;
|
|
18
|
+
defaultGetSenderName: GetUserNameFct;
|
|
17
19
|
theme?: UiKitTheme;
|
|
18
20
|
enableForwarding: boolean;
|
|
19
21
|
enableReplying: boolean;
|
package/dist/Presentation/Views/Dialog/Message/OutgoinForwardedMessage/OutgoinForwardedMessage.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ declare function OutgoingForwardedMessage(props: {
|
|
|
9
9
|
onReply: FunctionTypeMessageEntityToVoid;
|
|
10
10
|
onForward: FunctionTypeMessageEntityToVoid;
|
|
11
11
|
repliedUserName: string;
|
|
12
|
-
|
|
12
|
+
renderOriginalMessage: React.ReactNode;
|
|
13
13
|
date_sent: string;
|
|
14
14
|
status_message: number;
|
|
15
15
|
enableForwarding: boolean;
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './DialogInfo.scss';
|
|
3
3
|
import { DialogEntity } from '../../../Domain/entity/DialogEntity';
|
|
4
|
-
import { FunctionTypeVoidToVoid } from '../../../CommonTypes/BaseViewModel';
|
|
4
|
+
import { FunctionTypeBooleanToVoid, FunctionTypeDialogEntityToVoid, FunctionTypeVoidToVoid } from '../../../CommonTypes/BaseViewModel';
|
|
5
5
|
import { DialogListViewModel } from '../DialogList/DialogListViewModel';
|
|
6
6
|
import UiKitTheme from '../../themes/UiKitTheme';
|
|
7
|
+
import { UserEntity } from '../../../Domain/entity/UserEntity';
|
|
7
8
|
type HeaderDialogsProps = {
|
|
8
9
|
dialog: DialogEntity;
|
|
9
10
|
dialogViewModel: DialogListViewModel;
|
|
10
11
|
onCloseDialogInformationHandler: FunctionTypeVoidToVoid;
|
|
12
|
+
onLeaveDialog: FunctionTypeDialogEntityToVoid;
|
|
13
|
+
onShowAllMemberClick: FunctionTypeBooleanToVoid;
|
|
14
|
+
users: UserEntity[];
|
|
11
15
|
theme?: UiKitTheme;
|
|
12
16
|
subHeaderContent?: React.ReactNode;
|
|
13
17
|
upHeaderContent?: React.ReactNode;
|
|
@@ -5,6 +5,7 @@ import { UserEntity } from '../../../../Domain/entity/UserEntity';
|
|
|
5
5
|
type MembersListProps = {
|
|
6
6
|
closeInformationHandler: FunctionTypeVoidToVoid;
|
|
7
7
|
members: UserEntity[];
|
|
8
|
+
maxHeight?: number;
|
|
8
9
|
};
|
|
9
10
|
declare const MembersList: React.FC<MembersListProps>;
|
|
10
11
|
export default MembersList;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import BaseViewModel, { FunctionTypeVoidToVoid } from '../../../../CommonTypes/BaseViewModel';
|
|
1
|
+
import BaseViewModel, { FunctionTypeUserIdToUserEntity, FunctionTypeVoidToVoid } from '../../../../CommonTypes/BaseViewModel';
|
|
2
2
|
import { UserEntity } from '../../../../Domain/entity/UserEntity';
|
|
3
3
|
import { DialogEntity } from '../../../../Domain/entity/DialogEntity';
|
|
4
4
|
export interface UsersListViewModel extends BaseViewModel<DialogEntity> {
|
|
@@ -7,4 +7,5 @@ export interface UsersListViewModel extends BaseViewModel<DialogEntity> {
|
|
|
7
7
|
users: UserEntity[];
|
|
8
8
|
getUsers: FunctionTypeVoidToVoid;
|
|
9
9
|
release: FunctionTypeVoidToVoid;
|
|
10
|
+
getUserById: FunctionTypeUserIdToUserEntity;
|
|
10
11
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DialogEntity } from '../../../../Domain/entity/DialogEntity';
|
|
2
2
|
import { UsersListViewModel } from './UsersListViewModel';
|
|
3
|
-
export default function useUsersListViewModel(dialogEntity
|
|
3
|
+
export default function useUsersListViewModel(dialogEntity?: DialogEntity): UsersListViewModel;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import './DialogList.scss';
|
|
3
2
|
import { FunctionTypeDialogEntityToVoid, FunctionTypeViewModelToVoid } from '../../../CommonTypes/BaseViewModel';
|
|
4
3
|
import { ThemeNames } from '../PreviewDialog/PreviewDialog';
|
|
5
4
|
import { DialogListViewModel } from './DialogListViewModel';
|
|
6
5
|
import { DialogEntity } from '../../../Domain/entity/DialogEntity';
|
|
7
6
|
import UiKitTheme from '../../themes/UiKitTheme';
|
|
7
|
+
import './DialogList.scss';
|
|
8
|
+
import '../DialogListHeader/DialogListHeader.scss';
|
|
9
|
+
import '../../ui-components/Header/Header.scss';
|
|
8
10
|
type DialogsComponentSettings = {
|
|
9
11
|
themeName?: ThemeNames;
|
|
10
12
|
withoutHeader?: boolean;
|
|
@@ -3,7 +3,7 @@ import './UserAvatar.scss';
|
|
|
3
3
|
import { IconTheme } from '../../../components/UI/svgs/Icons/IconsCommonTypes';
|
|
4
4
|
import { FunctionTypeVoidToVoid } from '../../../../CommonTypes/BaseViewModel';
|
|
5
5
|
type UserAvatarProps = {
|
|
6
|
-
urlAvatar
|
|
6
|
+
urlAvatar?: string;
|
|
7
7
|
iconTheme?: IconTheme;
|
|
8
8
|
clickRemoveAvatarHandler?: FunctionTypeVoidToVoid;
|
|
9
9
|
};
|
|
@@ -2,12 +2,12 @@ import React from 'react';
|
|
|
2
2
|
import './CreateDialog.scss';
|
|
3
3
|
import { FunctionTypeVoidToVoid } from '../../../../CommonTypes/BaseViewModel';
|
|
4
4
|
type CreateDialogProps = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
createPrivateDialogOnClick: FunctionTypeVoidToVoid;
|
|
6
|
+
createPrivateDialogOnTouch: FunctionTypeVoidToVoid;
|
|
7
|
+
createGroupDialogOnClick: FunctionTypeVoidToVoid;
|
|
8
|
+
createGroupDialogOnTouch: FunctionTypeVoidToVoid;
|
|
9
|
+
createPublicDialogOnClick: FunctionTypeVoidToVoid;
|
|
10
|
+
createPublicDialogOnTouch: FunctionTypeVoidToVoid;
|
|
11
11
|
};
|
|
12
12
|
declare const CreateDialog: React.FC<CreateDialogProps>;
|
|
13
13
|
export default CreateDialog;
|
|
@@ -3,10 +3,10 @@ import React from 'react';
|
|
|
3
3
|
import { FunctionTypeVoidToVoid } from '../../../CommonTypes/BaseViewModel';
|
|
4
4
|
type YesNoQuestionProps = {
|
|
5
5
|
messageText?: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
onClickYesAction?: FunctionTypeVoidToVoid;
|
|
7
|
+
OnTouchYesAction?: FunctionTypeVoidToVoid;
|
|
8
|
+
onClickNoAction?: FunctionTypeVoidToVoid;
|
|
9
|
+
onTouchNoAction?: FunctionTypeVoidToVoid;
|
|
10
10
|
yesActionCaption?: string;
|
|
11
11
|
noActionCaption?: string;
|
|
12
12
|
};
|
package/dist/Presentation/components/containers/ScrollableContainer/ScrollableContainer.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import './ScrollableContainer.scss';
|
|
3
3
|
interface FlatListProps<T> {
|
|
4
4
|
className?: string;
|
|
5
|
+
rootStyles?: React.CSSProperties;
|
|
6
|
+
mainContainerStyles?: React.CSSProperties;
|
|
5
7
|
data: Array<T>;
|
|
6
8
|
ListEmptyComponent?: React.ComponentClass | React.FunctionComponent;
|
|
7
9
|
onEndReached?: VoidFunction;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { ReactNode, RefObject } from 'react';
|
|
2
2
|
export interface SectionItem<T> {
|
|
3
3
|
title: string;
|
|
4
4
|
data: Dictionary<T[]>;
|
|
@@ -16,12 +16,12 @@ export interface SectionListProps<T> {
|
|
|
16
16
|
* within half the visible length of the list.
|
|
17
17
|
*/
|
|
18
18
|
onEndReachedThreshold?: number;
|
|
19
|
-
renderItem: (item: [string, T[]]) => ReactNode;
|
|
19
|
+
renderItem: (item: [string, T[]], listRef: RefObject<HTMLDivElement>) => ReactNode;
|
|
20
20
|
renderSectionHeader?: (section: SectionItem<T>) => ReactNode;
|
|
21
21
|
renderSectionFooter?: (section: SectionItem<T>) => ReactNode;
|
|
22
22
|
}
|
|
23
23
|
declare const _default: <T>(props: SectionListProps<T>) => Record<"refs", {
|
|
24
|
-
listContentRef:
|
|
24
|
+
listContentRef: RefObject<HTMLDivElement>;
|
|
25
25
|
}> & Record<"handlers", {
|
|
26
26
|
scrollHandler: () => void;
|
|
27
27
|
}>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export { ReactComponent as AddContactSvg } from './add-contact.svg';
|
|
2
|
+
export { ReactComponent as AddSvg } from './add.svg';
|
|
3
|
+
export { ReactComponent as ArchiveSvg } from './archive.svg';
|
|
4
|
+
export { ReactComponent as CopySvg } from './copy.svg';
|
|
5
|
+
export { ReactComponent as DeleteSvg } from './delete.svg';
|
|
6
|
+
export { ReactComponent as DownloadSvg } from './download.svg';
|
|
7
|
+
export { ReactComponent as EditSvg } from './edit.svg';
|
|
8
|
+
export { ReactComponent as EmojiSvg } from './emoji.svg';
|
|
9
|
+
export { ReactComponent as ForwardFilledSvg } from './forward-filled.svg';
|
|
10
|
+
export { ReactComponent as HunguplSvg } from './hungup.svg';
|
|
11
|
+
export { ReactComponent as IncomeCallSvg } from './income-call.svg';
|
|
12
|
+
export { ReactComponent as LikeSvg } from './like.svg';
|
|
13
|
+
export { ReactComponent as NewChatSvg } from './new-chat.svg';
|
|
14
|
+
export { ReactComponent as OutcomeCllSvg } from './outcome-call.svg';
|
|
15
|
+
export { ReactComponent as PhoneFilledSvg } from './phone-filled.svg';
|
|
16
|
+
export { ReactComponent as PhoneSvg } from './phone.svg';
|
|
17
|
+
export { ReactComponent as Remove2Svg } from './remove-2.svg';
|
|
18
|
+
export { ReactComponent as RemoveSvg } from './remove.svg';
|
|
19
|
+
export { ReactComponent as RephraseSvg } from './rephrase.svg';
|
|
20
|
+
export { ReactComponent as ReplyFilledSvg } from './reply-filled.svg';
|
|
21
|
+
export { ReactComponent as SendSvg } from './send.svg';
|
|
22
|
+
export { ReactComponent as ShareSvg } from './share.svg';
|
|
23
|
+
export { ReactComponent as SwapCameraSvg } from './swap-camera.svg';
|
|
24
|
+
export { ReactComponent as UnarchiveSvg } from './unarchive.svg';
|
|
25
|
+
export { ReactComponent as VideoSvg } from './video.svg';
|
|
26
|
+
export { ReactComponent as VoiceSvg } from './voice.svg';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { ReactComponent as BroadcastSvg } from './broadcast.svg';
|
|
2
|
+
export { ReactComponent as ChatFilledSvg } from './chat-filled.svg';
|
|
3
|
+
export { ReactComponent as ChatSvg } from './chat.svg';
|
|
4
|
+
export { ReactComponent as ConferenceSvg } from './conference.svg';
|
|
5
|
+
export { ReactComponent as ContactFilledSvg } from './contact-filled.svg';
|
|
6
|
+
export { ReactComponent as ContactSvg } from './contact.svg';
|
|
7
|
+
export { ReactComponent as GroupChatSvg } from './group-chat.svg';
|
|
8
|
+
export { ReactComponent as NotificationsSvg } from './notifications.svg';
|
|
9
|
+
export { ReactComponent as PrivateChatSvg } from './private-chat.svg';
|
|
10
|
+
export { ReactComponent as PublicChannelSvg } from './public-channel.svg';
|
|
11
|
+
export { ReactComponent as StreamFilledSvg } from './stream-filled.svg';
|
|
12
|
+
export { ReactComponent as SteamSvg } from './stream.svg';
|
|
13
|
+
export { ReactComponent as UserSvg } from './user.svg';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { ReactComponent as AttachmentSvg } from './attachment.svg';
|
|
2
|
+
export { ReactComponent as AudioFileSvg } from './audio-file.svg';
|
|
3
|
+
export { ReactComponent as BrokenFileSvg } from './broken-file.svg';
|
|
4
|
+
export { ReactComponent as CameraSvg } from './camera.svg';
|
|
5
|
+
export { ReactComponent as FileSvg } from './file.svg';
|
|
6
|
+
export { ReactComponent as GifFileSvg } from './gif-file.svg';
|
|
7
|
+
export { ReactComponent as ImageFilledSvg } from './image-filled.svg';
|
|
8
|
+
export { ReactComponent as ImageSvg } from './image.svg';
|
|
9
|
+
export { ReactComponent as LinkSvg } from './link.svg';
|
|
10
|
+
export { ReactComponent as LocationSvg } from './location.svg';
|
|
11
|
+
export { ReactComponent as TextDocumentSvg } from './text-document.svg';
|
|
12
|
+
export { ReactComponent as VideoFileSvg } from './video-file.svg';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { ReactComponent as AdminSvg } from './admin.svg';
|
|
2
|
+
export { ReactComponent as BannedSvg } from './banned.svg';
|
|
3
|
+
export { ReactComponent as ModerationsSvg } from './moderations.svg';
|
|
4
|
+
export { ReactComponent as FreezeSvg } from './freeze.svg';
|
|
5
|
+
export { ReactComponent as MutedSvg } from './muted.svg';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { ReactComponent as ArrowLeftSvg } from './arrow-left.svg';
|
|
2
|
+
export { ReactComponent as ArrowRightSvg } from './arrow-right.svg';
|
|
3
|
+
export { ReactComponent as BackSvg } from './back.svg';
|
|
4
|
+
export { ReactComponent as CloseSvg } from './close.svg';
|
|
5
|
+
export { ReactComponent as DownSvg } from './down.svg';
|
|
6
|
+
export { ReactComponent as NextSVG } from './next.svg';
|
|
7
|
+
export { ReactComponent as LeaveSvg } from './leave.svg';
|
|
8
|
+
export { ReactComponent as MoreSvg } from './more.svg';
|
|
9
|
+
export { ReactComponent as PlusSvg } from './plus.svg';
|
|
10
|
+
export { ReactComponent as RefreshSvg } from './refresh.svg';
|
|
11
|
+
export { ReactComponent as SearchSvg } from './search.svg';
|
|
12
|
+
export { ReactComponent as SettingsFilledSvg } from './settings-filled.svg';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { ReactComponent as ErrorSvg } from './error.svg';
|
|
2
|
+
export { ReactComponent as HelpSvg } from './help.svg';
|
|
3
|
+
export { ReactComponent as InformationSvg } from './information.svg';
|
|
4
|
+
export { ReactComponent as LoaderSvg } from './loader.svg';
|
|
5
|
+
export { ReactComponent as MentionSvg } from './mention.svg';
|
|
6
|
+
export { ReactComponent as SentSvg } from './sent.svg';
|
|
7
|
+
export { ReactComponent as ViewedDeliveredSvg } from './viewed-delivered.svg';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export { ReactComponent as CameraOffSvg } from './camera-off.svg';
|
|
2
|
+
export { ReactComponent as CameraOnSvg } from './camera-on.svg';
|
|
3
|
+
export { ReactComponent as CheckOffSvg } from './check-off.svg';
|
|
4
|
+
export { ReactComponent as CheckOnSvg } from './check-on.svg';
|
|
5
|
+
export { ReactComponent as FavoriteSvg } from './favorite.svg';
|
|
6
|
+
export { ReactComponent as FullScreenSvg } from './full-screen.svg';
|
|
7
|
+
export { ReactComponent as HideSvg } from './hide.svg';
|
|
8
|
+
export { ReactComponent as LouderSvg } from './louder.svg';
|
|
9
|
+
export { ReactComponent as MicOffSvg } from './mic-off.svg';
|
|
10
|
+
export { ReactComponent as MicOnSvg } from './mic-on.svg';
|
|
11
|
+
export { ReactComponent as MinimizeSvg } from './minimize.svg';
|
|
12
|
+
export { ReactComponent as NotifyOffSvg } from './notify-off.svg';
|
|
13
|
+
export { ReactComponent as NotifyOnSvg } from './notify-on.svg';
|
|
14
|
+
export { ReactComponent as PauseSvg } from './pause.svg';
|
|
15
|
+
export { ReactComponent as PlaySvg } from './play.svg';
|
|
16
|
+
export { ReactComponent as QuiteSvg } from './quite.svg';
|
|
17
|
+
export { ReactComponent as RecordSvg } from './record.svg';
|
|
18
|
+
export { ReactComponent as ScreenShareSvg } from './screenshare.svg';
|
|
19
|
+
export { ReactComponent as ShowSvg } from './show.svg';
|
|
20
|
+
export { ReactComponent as SpeakerOffSvg } from './speaker-off.svg';
|
|
21
|
+
export { ReactComponent as SpeakerSvg } from './speaker.svg';
|
|
22
|
+
export { ReactComponent as StopRecordSvg } from './stop-record.svg';
|
|
23
|
+
export { ReactComponent as StopShareSvg } from './stop-share.svg';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import '../../Views/Dialog/Dialog.scss';
|
|
3
|
+
import '../../Views/Dialog/DialogHeader/DialogInfoIcon/DialogInfoIcon.scss';
|
|
3
4
|
import UiKitTheme from '../../themes/UiKitTheme';
|
|
4
5
|
import { AIMessageWidget } from '../../Views/Dialog/AIWidgets/AIMessageWidget';
|
|
5
6
|
type AIWidgetPlaceHolder = {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import './Avatar.scss';
|
|
3
|
+
export interface AvatarProps {
|
|
4
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
5
|
+
icon?: ReactElement;
|
|
6
|
+
className?: string;
|
|
7
|
+
src?: string;
|
|
8
|
+
}
|
|
9
|
+
export default function Avatar({ icon, size, className, src, }: AvatarProps): JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import Avatar from './Avatar';
|
|
3
|
+
declare const meta: Meta<typeof Avatar>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type StoryDefault = StoryObj<typeof meta>;
|
|
6
|
+
export declare const AvatarDefault: StoryDefault;
|
|
7
|
+
export declare const AvatarIcon: StoryDefault;
|
|
8
|
+
export declare const AvatarImage: StoryDefault;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import './Badge.scss';
|
|
3
|
+
interface BadgeProps {
|
|
4
|
+
count: number;
|
|
5
|
+
limit?: number;
|
|
6
|
+
mute?: boolean;
|
|
7
|
+
classNames?: string;
|
|
8
|
+
}
|
|
9
|
+
export default function Badge({ count, limit, mute, classNames, }: BadgeProps): JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import Badge from './Badge';
|
|
3
|
+
declare const meta: Meta<typeof Badge>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type StoryDefault = StoryObj<typeof meta>;
|
|
6
|
+
export declare const BadgeDefault: StoryDefault;
|
|
7
|
+
export declare const BadgeCount: StoryDefault;
|
|
8
|
+
export declare const BadgeMute: StoryDefault;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes, DetailedHTMLProps, ReactElement } from 'react';
|
|
2
|
+
import './Button.scss';
|
|
3
|
+
type HTMLButtonProps = DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
|
|
4
|
+
interface ButtonProps extends HTMLButtonProps {
|
|
5
|
+
variant?: 'default' | 'outlined' | 'danger' | 'text';
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
children?: ReactElement | string | number;
|
|
10
|
+
}
|
|
11
|
+
export default function Button({ variant, className, disabled, loading, children, ...rest }: ButtonProps): JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react';
|
|
2
|
+
import Button from './Button';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof Button;
|
|
6
|
+
tags: string[];
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
args: {
|
|
11
|
+
disabled: false;
|
|
12
|
+
loading: false;
|
|
13
|
+
className: string;
|
|
14
|
+
children: string;
|
|
15
|
+
};
|
|
16
|
+
argTypes: {
|
|
17
|
+
variant: {
|
|
18
|
+
options: string[];
|
|
19
|
+
control: {
|
|
20
|
+
type: string;
|
|
21
|
+
};
|
|
22
|
+
table: {
|
|
23
|
+
defaultValue: {
|
|
24
|
+
summary: string;
|
|
25
|
+
};
|
|
26
|
+
type: {
|
|
27
|
+
summary: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
disabled: {
|
|
33
|
+
table: {
|
|
34
|
+
defaultValue: {
|
|
35
|
+
summary: boolean;
|
|
36
|
+
};
|
|
37
|
+
type: {
|
|
38
|
+
summary: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
loading: {
|
|
44
|
+
table: {
|
|
45
|
+
defaultValue: {
|
|
46
|
+
summary: boolean;
|
|
47
|
+
};
|
|
48
|
+
type: {
|
|
49
|
+
summary: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
description: string;
|
|
53
|
+
};
|
|
54
|
+
className: {
|
|
55
|
+
table: {
|
|
56
|
+
defaultValue: {
|
|
57
|
+
summary: string;
|
|
58
|
+
};
|
|
59
|
+
type: {
|
|
60
|
+
summary: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
description: string;
|
|
64
|
+
};
|
|
65
|
+
children: {
|
|
66
|
+
table: {
|
|
67
|
+
defaultValue: {
|
|
68
|
+
summary: null;
|
|
69
|
+
};
|
|
70
|
+
type: {
|
|
71
|
+
summary: string;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
description: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
export default meta;
|
|
79
|
+
type StoryDefault = StoryObj<typeof meta>;
|
|
80
|
+
export declare const ButtonDefault: StoryDefault;
|
|
81
|
+
export declare const ButtonOutline: StoryDefault;
|
|
82
|
+
export declare const ButtonDanger: StoryDefault;
|
|
83
|
+
export declare const ButtonText: StoryDefault;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import './CheckBox.scss';
|
|
3
|
+
interface CheckBoxProps {
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
checked: boolean;
|
|
6
|
+
onChange?: (isSelected: boolean) => void;
|
|
7
|
+
}
|
|
8
|
+
export default function CheckBox({ disabled, checked, onChange, }: CheckBoxProps): JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react';
|
|
2
|
+
import DialogBanner from './DialogBanner';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof DialogBanner;
|
|
6
|
+
tags: string[];
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
args: {
|
|
11
|
+
text: string;
|
|
12
|
+
};
|
|
13
|
+
argTypes: {
|
|
14
|
+
text: {
|
|
15
|
+
table: {
|
|
16
|
+
defaultValue: {
|
|
17
|
+
summary: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
onClick: {
|
|
23
|
+
description: string;
|
|
24
|
+
table: {
|
|
25
|
+
type: {
|
|
26
|
+
summary: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export default meta;
|
|
33
|
+
type Story = StoryObj<typeof meta>;
|
|
34
|
+
export declare const DialogBannerDefault: Story;
|