quickblox-react-ui-kit 0.4.6-beta.2 → 0.4.6-beta.3
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 -4
- package/.prettierrc +10 -10
- package/.storybook/main.ts +26 -26
- package/.storybook/preview.ts +16 -16
- package/LICENSE.md +18 -18
- package/dist/App.d.ts +3 -3
- package/dist/CommonTypes/BaseViewModel.d.ts +58 -58
- package/dist/CommonTypes/CommonTypes.d.ts +189 -189
- package/dist/CommonTypes/FunctionResult.d.ts +4 -4
- package/dist/Data/Creator.d.ts +30 -30
- package/dist/Data/DefaultConfigurations.d.ts +7 -7
- package/dist/Data/Stubs.d.ts +31 -31
- package/dist/Data/dto/dialog/LocalDialogDTO.d.ts +16 -16
- package/dist/Data/dto/dialog/LocalDialogsDTO.d.ts +9 -9
- package/dist/Data/dto/dialog/RemoteDialogDTO.d.ts +18 -18
- package/dist/Data/dto/dialog/RemoteDialogsDTO.d.ts +9 -9
- package/dist/Data/dto/file/LocalFileDTO.d.ts +10 -10
- package/dist/Data/dto/file/RemoteFileDTO.d.ts +10 -10
- package/dist/Data/dto/message/LocalMessageDTO.d.ts +20 -20
- package/dist/Data/dto/message/LocalMessagesDTO.d.ts +9 -9
- package/dist/Data/dto/message/RemoteMessageDTO.d.ts +23 -23
- package/dist/Data/dto/message/RemoteMessagesDTO.d.ts +9 -9
- package/dist/Data/dto/user/LocalUserDTO.d.ts +14 -14
- package/dist/Data/dto/user/LocalUsersDTO.d.ts +9 -9
- package/dist/Data/dto/user/RemoteUserDTO.d.ts +14 -14
- package/dist/Data/dto/user/RemoteUsersDTO.d.ts +9 -9
- package/dist/Data/mapper/DialogLocalDTOMapper.d.ts +17 -17
- package/dist/Data/mapper/DialogRemoteDTOMapper.d.ts +18 -18
- package/dist/Data/mapper/FileLocalDTOMapper.d.ts +8 -8
- package/dist/Data/mapper/FileRemoteDTOMapper.d.ts +8 -8
- package/dist/Data/mapper/IMapper.d.ts +4 -4
- package/dist/Data/mapper/MessageLocalDTOMapper.d.ts +8 -8
- package/dist/Data/mapper/MessageRemoteDTOMapper.d.ts +10 -10
- package/dist/Data/mapper/UserLocalDTOMapper.d.ts +9 -9
- package/dist/Data/mapper/UserRemoteDTOMapper.d.ts +9 -9
- package/dist/Data/repository/ConnectionRepository.d.ts +17 -17
- package/dist/Data/repository/DialogsRepository.d.ts +31 -31
- package/dist/Data/repository/EventMessagesRepository.d.ts +36 -36
- package/dist/Data/repository/FileRepository.d.ts +14 -14
- package/dist/Data/repository/MessagesRepository.d.ts +24 -24
- package/dist/Data/repository/UsersRepository.d.ts +18 -18
- package/dist/Data/source/AISource.d.ts +13 -13
- package/dist/Data/source/exception/LocalDataSourceException.d.ts +10 -10
- package/dist/Data/source/exception/MapperDTOException.d.ts +9 -9
- package/dist/Data/source/exception/RemoteDataSourceException.d.ts +15 -15
- package/dist/Data/source/exception/RepositoryException.d.ts +15 -15
- package/dist/Data/source/local/ChatLocalStorageDataSource.d.ts +8 -8
- package/dist/Data/source/local/ILocalDataSource.d.ts +25 -25
- package/dist/Data/source/local/ILocalFileDataSource.d.ts +7 -7
- package/dist/Data/source/local/LocalDataSource.d.ts +28 -28
- package/dist/Data/source/local/LocalFileDataSource.d.ts +8 -8
- package/dist/Data/source/remote/IRemoteDataSource.d.ts +41 -41
- package/dist/Data/source/remote/Mapper/DialogDTOMapper.d.ts +10 -10
- package/dist/Data/source/remote/Mapper/FileDTOMapper.d.ts +7 -7
- package/dist/Data/source/remote/Mapper/IDTOMapper.d.ts +4 -4
- package/dist/Data/source/remote/Mapper/MessageDTOMapper.d.ts +25 -25
- package/dist/Data/source/remote/Mapper/UserDTOMapper.d.ts +7 -7
- package/dist/Data/source/remote/RemoteDataSource.d.ts +100 -94
- package/dist/Domain/entity/Chat.d.ts +4 -4
- package/dist/Domain/entity/ChatMessageAttachmentEntity.d.ts +14 -14
- package/dist/Domain/entity/CustomDataEntity.d.ts +3 -3
- package/dist/Domain/entity/DialogEntity.d.ts +13 -13
- package/dist/Domain/entity/DialogEventInfo.d.ts +18 -18
- package/dist/Domain/entity/DialogTypes.d.ts +5 -5
- package/dist/Domain/entity/EventMessageType.d.ts +5 -5
- package/dist/Domain/entity/FileEntity.d.ts +10 -10
- package/dist/Domain/entity/FileTypes.d.ts +6 -6
- package/dist/Domain/entity/GroupDialogEntity.d.ts +19 -19
- package/dist/Domain/entity/LastMessageEntity.d.ts +5 -5
- package/dist/Domain/entity/MessageEntity.d.ts +24 -24
- package/dist/Domain/entity/NotificationTypes.d.ts +6 -6
- package/dist/Domain/entity/PrivateDialogEntity.d.ts +16 -16
- package/dist/Domain/entity/PublicDialogEntity.d.ts +18 -18
- package/dist/Domain/entity/UserEntity.d.ts +13 -13
- package/dist/Domain/exception/domain/DomainExecption.d.ts +4 -4
- package/dist/Domain/repository/IDialogsRepository.d.ts +21 -21
- package/dist/Domain/repository/IFileRepository.d.ts +6 -6
- package/dist/Domain/repository/IMessagesRepository.d.ts +15 -15
- package/dist/Domain/repository/IUsersRepository.d.ts +8 -8
- package/dist/Domain/repository/Pagination.d.ts +16 -16
- package/dist/Domain/use_cases/CreateDialogUseCase.d.ts +13 -13
- package/dist/Domain/use_cases/ForwardMessagesUseCase.d.ts +13 -13
- package/dist/Domain/use_cases/GetAllDialogsUseCase.d.ts +8 -8
- package/dist/Domain/use_cases/GetAllDialogsUseCaseWithMock.d.ts +10 -10
- package/dist/Domain/use_cases/GetAllMessagesForDialog.d.ts +11 -11
- package/dist/Domain/use_cases/GetAllUsersUseCase.d.ts +11 -11
- package/dist/Domain/use_cases/GetDialogByIdUseCase.d.ts +9 -9
- package/dist/Domain/use_cases/GetUsersByIdsUseCase.d.ts +9 -9
- package/dist/Domain/use_cases/LeaveDialogUseCase.d.ts +19 -19
- package/dist/Domain/use_cases/RemoveUsersFromTheDialogUseCase.d.ts +13 -13
- package/dist/Domain/use_cases/ReplyMessagesUseCase.d.ts +10 -10
- package/dist/Domain/use_cases/SendTextMessageUseCase.d.ts +9 -9
- package/dist/Domain/use_cases/SubscribeToDialogEventsUseCase.d.ts +17 -17
- package/dist/Domain/use_cases/SubscribeToDialogsUpdatesUseCase.d.ts +11 -11
- package/dist/Domain/use_cases/SubscribeToDialogsUpdatesUseCaseWithMock.d.ts +11 -11
- package/dist/Domain/use_cases/SyncDialogsUseCase.d.ts +23 -23
- package/dist/Domain/use_cases/UpdateCurrentDialogInDataSourceUseCase.d.ts +12 -12
- package/dist/Domain/use_cases/UpdateDialogUseCase.d.ts +13 -13
- package/dist/Domain/use_cases/UploadFileUseCase.d.ts +9 -9
- package/dist/Domain/use_cases/UserTypingMessageUseCase.d.ts +13 -13
- package/dist/Domain/use_cases/ai/AIAnswerAssistUseCase.d.ts +13 -13
- package/dist/Domain/use_cases/ai/AIAnswerAssistWithProxyUseCase.d.ts +13 -13
- package/dist/Domain/use_cases/ai/AIAnswerAssistWithSDKUseCase.d.ts +11 -11
- package/dist/Domain/use_cases/ai/AIRephraseUseCase.d.ts +15 -15
- package/dist/Domain/use_cases/ai/AIRephraseWithProxyUseCase.d.ts +15 -15
- package/dist/Domain/use_cases/ai/AITranslateUseCase.d.ts +14 -14
- package/dist/Domain/use_cases/ai/AITranslateWithProxyUseCase.d.ts +14 -14
- package/dist/Domain/use_cases/ai/AITranslateWithSDKUseCase.d.ts +12 -12
- package/dist/Domain/use_cases/base/BaseUseCase.d.ts +5 -5
- package/dist/Domain/use_cases/base/IUseCase.d.ts +5 -5
- package/dist/Domain/use_cases/base/Subscribable/ISubscribable.d.ts +5 -5
- package/dist/Domain/use_cases/base/Subscribable/SubscriptionPerformer.d.ts +24 -24
- package/dist/Presentation/Views/Dialog/AIComponents/AIAssist/AIAssist.d.ts +16 -16
- package/dist/Presentation/Views/Dialog/AIComponents/AIAssistComponent/AIAssistComponent.d.ts +8 -8
- package/dist/Presentation/Views/Dialog/AIComponents/AITranslate/AITranslate.d.ts +20 -20
- package/dist/Presentation/Views/Dialog/AIComponents/AITranslateComponent/AITranslateComponent.d.ts +11 -11
- package/dist/Presentation/Views/Dialog/AIWidgets/AIMessageWidget.d.ts +25 -25
- package/dist/Presentation/Views/Dialog/AIWidgets/AIRephraseWidget/AIRephraseWidget.d.ts +23 -23
- package/dist/Presentation/Views/Dialog/AIWidgets/AIWidgetActions/AIWidgetActions.d.ts +15 -15
- package/dist/Presentation/Views/Dialog/AIWidgets/ErrorMessageIcon.d.ts +10 -10
- package/dist/Presentation/Views/Dialog/AIWidgets/SliderMenu.d.ts +23 -23
- package/dist/Presentation/Views/Dialog/AIWidgets/Tone.d.ts +7 -7
- package/dist/Presentation/Views/Dialog/AIWidgets/UseDefaultAIAssistAnswerWidget.d.ts +2 -2
- package/dist/Presentation/Views/Dialog/AIWidgets/UseDefaultAIAssistAnswerWidgetWithProxy.d.ts +2 -2
- package/dist/Presentation/Views/Dialog/AIWidgets/UseDefaultAIAssistAnswerWidgetWithSDK.d.ts +3 -3
- package/dist/Presentation/Views/Dialog/AIWidgets/UseDefaultAIRephraseMessageWidget.d.ts +2 -2
- package/dist/Presentation/Views/Dialog/AIWidgets/UseDefaultAIRephraseMessageWidgetWithProxy.d.ts +2 -2
- package/dist/Presentation/Views/Dialog/AIWidgets/UseDefaultAITranslateWidget.d.ts +2 -2
- package/dist/Presentation/Views/Dialog/AIWidgets/UseDefaultAITranslateWidgetWithProxy.d.ts +2 -2
- package/dist/Presentation/Views/Dialog/AIWidgets/UseDefaultAITranslateWidgetWithSDK.d.ts +3 -3
- package/dist/Presentation/Views/Dialog/AIWidgets/useDefaultVoiceInputWidget.d.ts +2 -2
- package/dist/Presentation/Views/Dialog/ContextMenu/ContextMenu.d.ts +12 -12
- package/dist/Presentation/Views/Dialog/Dialog.d.ts +18 -18
- package/dist/Presentation/Views/Dialog/DialogHeader/DialogBackIcon/DialogBackIcon.d.ts +8 -8
- package/dist/Presentation/Views/Dialog/DialogHeader/DialogHeader.d.ts +13 -13
- package/dist/Presentation/Views/Dialog/DialogHeader/DialogInfoIcon/DialogInfoIcon.d.ts +10 -10
- package/dist/Presentation/Views/Dialog/DialogViewModel.d.ts +18 -18
- package/dist/Presentation/Views/Dialog/DropDownMenu/DropDownMenu.d.ts +25 -25
- package/dist/Presentation/Views/Dialog/DropDownMenu/ItemDropDownMenu/ItemDropDownMenu.d.ts +11 -11
- package/dist/Presentation/Views/Dialog/ErrorToast/ErrorToast.d.ts +7 -7
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogListItem/DialogListItem.d.ts +14 -14
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogsWithSearch.d.ts +12 -12
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/SearchComponent/SearchComponent.d.ts +8 -8
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessageFlow.d.ts +14 -14
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessagePreview/ForwardMessagePreview.d.ts +9 -9
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/InputForForwarding/InputForForwarding.d.ts +11 -11
- package/dist/Presentation/Views/Dialog/InputMessage/InputMessage.d.ts +21 -21
- package/dist/Presentation/Views/Dialog/Message/HighLightLink/HighLightLink.d.ts +9 -9
- package/dist/Presentation/Views/Dialog/Message/IncomingForwardedMessage/IncomingForwardedMessage.d.ts +27 -27
- package/dist/Presentation/Views/Dialog/Message/IncomingMessage/AvatarContentIncomingUser/AvatarContentIncomingUser.d.ts +5 -5
- package/dist/Presentation/Views/Dialog/Message/IncomingMessage/IncomingMessage.d.ts +30 -30
- package/dist/Presentation/Views/Dialog/Message/IncomingMessage/MessageContentComponent/MessageContentComponent.d.ts +12 -12
- package/dist/Presentation/Views/Dialog/Message/IncomingRepliedMessage/IncomingRepliedMessage.d.ts +27 -27
- package/dist/Presentation/Views/Dialog/Message/Message.d.ts +24 -24
- package/dist/Presentation/Views/Dialog/Message/MessageAttachment/AudioAttachment/AudioAttachment.d.ts +8 -8
- package/dist/Presentation/Views/Dialog/Message/MessageAttachment/DefaultAttachment/DefaultAttachment.d.ts +8 -8
- package/dist/Presentation/Views/Dialog/Message/MessageAttachment/ImageAttachment/ImageAttachment.d.ts +8 -8
- package/dist/Presentation/Views/Dialog/Message/MessageAttachment/MessageAttachment.d.ts +11 -11
- package/dist/Presentation/Views/Dialog/Message/MessageAttachment/VideoAttachment/VideoAttachment.d.ts +8 -8
- package/dist/Presentation/Views/Dialog/Message/MessageContextMenu/MessageContextMenu.d.ts +14 -14
- package/dist/Presentation/Views/Dialog/Message/OutgoinForwardedMessage/OutgoinForwardedMessage.d.ts +18 -18
- package/dist/Presentation/Views/Dialog/Message/OutgoingMessage/OutgoingMessage.d.ts +15 -15
- package/dist/Presentation/Views/Dialog/Message/OutgoingRepliedMessage/OutgoingRepliedMessage.d.ts +16 -16
- package/dist/Presentation/Views/Dialog/MessageContextMenu/MessageContextMenu.d.ts +12 -12
- package/dist/Presentation/Views/Dialog/MessageItem/MessageItem.d.ts +24 -23
- package/dist/Presentation/Views/Dialog/SystemDateBanner/SystemDateBanner.d.ts +7 -7
- package/dist/Presentation/Views/Dialog/SystemMessageBanner/SystemMessageBanner.d.ts +7 -7
- package/dist/Presentation/Views/Dialog/VoiceMessage/VoiceMessage.d.ts +8 -8
- package/dist/Presentation/Views/Dialog/useDialogViewModel.d.ts +4 -4
- package/dist/Presentation/Views/DialogInfo/DialogInfo.d.ts +21 -21
- package/dist/Presentation/Views/DialogInfo/DialogMemberButton/DialogMembersButton.d.ts +10 -10
- package/dist/Presentation/Views/DialogInfo/MembersList/MembersList.d.ts +11 -11
- package/dist/Presentation/Views/DialogInfo/UsersList/SingleUser/SingleUser.d.ts +9 -9
- package/dist/Presentation/Views/DialogInfo/UsersList/UsersList.d.ts +11 -11
- package/dist/Presentation/Views/DialogInfo/UsersList/UsersListViewModel.d.ts +11 -11
- package/dist/Presentation/Views/DialogInfo/UsersList/useUsersListViewModel.d.ts +3 -3
- package/dist/Presentation/Views/DialogList/DialogList.d.ts +14 -14
- package/dist/Presentation/Views/DialogList/DialogListViewModel.d.ts +17 -17
- package/dist/Presentation/Views/DialogList/useDialogListViewModel.d.ts +4 -4
- package/dist/Presentation/Views/DialogListHeader/DialogListHeader.d.ts +15 -15
- package/dist/Presentation/Views/EditDialog/EditDialog.d.ts +20 -20
- package/dist/Presentation/Views/EditDialog/UserAvatar/UserAvatar.d.ts +11 -11
- package/dist/Presentation/Views/Flow/CreateDialog/CreateDialog.d.ts +13 -13
- package/dist/Presentation/Views/Flow/CreateDialogFlow/CreateNewDialogFlow.d.ts +11 -11
- package/dist/Presentation/Views/Flow/LeaveDialogFlow/LeaveDialogFlow.d.ts +9 -9
- package/dist/Presentation/Views/InviteMembers/InviteMembers.d.ts +16 -16
- package/dist/Presentation/Views/InviteMembers/InviteMembersViewModel.d.ts +13 -13
- package/dist/Presentation/Views/InviteMembers/InviteUsersList/SingleUserWithCheckBox/SingleUserWithCheckBox.d.ts +13 -13
- package/dist/Presentation/Views/InviteMembers/InviteUsersResultViewModel.d.ts +6 -6
- package/dist/Presentation/Views/InviteMembers/NotFoundContent/NotFoundContent.d.ts +7 -7
- package/dist/Presentation/Views/InviteMembers/useInviteMembersViewModel.d.ts +2 -2
- package/dist/Presentation/Views/PreviewDialog/PreviewDialog.d.ts +37 -37
- package/dist/Presentation/Views/PreviewDialog/PreviewDialogContextMenu/PreviewDialogContextMenu.d.ts +12 -12
- package/dist/Presentation/Views/PreviewDialog/PreviewDialogViewModel.d.ts +11 -11
- package/dist/Presentation/Views/YesNoQuestion/YesNoQuestion.d.ts +13 -13
- package/dist/Presentation/components/Button.d.ts +4 -4
- package/dist/Presentation/components/Navbar.d.ts +1 -1
- package/dist/Presentation/components/TextInput.d.ts +1 -1
- package/dist/Presentation/components/UI/Buttons/ActiveButton/ActiveButton.d.ts +9 -9
- package/dist/Presentation/components/UI/Buttons/MainBoundedButton/MainBoundedButton.d.ts +11 -11
- package/dist/Presentation/components/UI/Buttons/MainButton/MainButton.d.ts +21 -21
- package/dist/Presentation/components/UI/Elements/SwitchButton/SwitchButton.d.ts +11 -11
- package/dist/Presentation/components/UI/Placeholders/ErrorComponent/ErrorComponent.d.ts +12 -12
- package/dist/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/ActiveSvg/ActiveSvg.d.ts +11 -11
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/AIWidget/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/BookIcon/BookIcon.d.ts +2 -2
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/BotIcon/BotIcon.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/HammerIcon/index.d.ts +2 -2
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/HandshakeIcon/index.d.ts +2 -2
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/MuscleIcon/index.d.ts +2 -2
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/NecktieIcon/index.d.ts +2 -2
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/NeutralFaceIcon/index.d.ts +2 -2
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/PalmsUpTogetherIcon/index.d.ts +2 -2
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/PerformingArtsIcon/index.d.ts +2 -2
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/PointUpIcon/index.d.ts +2 -2
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/SmileyIcon/index.d.ts +2 -2
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/SmirkIcon/index.d.ts +2 -2
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/WhiteCheckMarkIcon/index.d.ts +2 -2
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Add/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/AddContact/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Archive/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/AssistAnswer/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Copy/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Delete/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Download/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Edit/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/EditDots/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Emoji/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/ForwardFilled/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Hungup/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/IncomeCall/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Like/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/NewChat/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/OutcomeCall/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Phone/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/PhoneFilled/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Remove/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Remove2/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/ReplyFilled/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Send/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Share/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Summarize/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/SwapCamera/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Tone/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Unarchive/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/VideoIcon/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Voice/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Contents/Brodcast/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Contents/Chat/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Contents/ChatFilled/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Contents/Conference/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Contents/Contact/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Contents/ContactFilled/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Contents/GroupChat/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Contents/Notifications/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Contents/PrivateChat/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Contents/PublicChannel/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Contents/Stream/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Contents/StreamFilled/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Contents/User/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/IconsCommonTypes.d.ts +6 -6
- package/dist/Presentation/components/UI/svgs/Icons/Media/Attachment/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Media/AudioFile/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Media/BrokenFile/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Media/Camera/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Media/GifFile/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Media/ImageEmpty/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Media/ImageFile/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Media/ImageFilled/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Media/LinkWeb/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Media/Location/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Media/TextDocument/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Media/Translate/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Media/VideoFile/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Moderation/Admin/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Moderation/Banned/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Moderation/Freeze/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Moderation/Moderations/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Moderation/Muted/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/ArrowLeft/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/ArrowRight/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/Back/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/Close/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/Down/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/Leave/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/More/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/Next/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/Plus/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/Refresh/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/Search/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/Settings/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/SettingsField/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Status/Error/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Status/Help/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Status/Information/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Status/InformationFill/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Status/Loader/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Status/Mention/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Status/Sent/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Status/ViewedDelivered/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/CameraOff/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/CameraOn/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/CheckOff/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/CheckOn/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/Favourite/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/FavouriteFilled/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/FullScreen/inex.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/Hide/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/ImagePlay/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/Louder/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/MicOff/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/MicOn/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/Minimize/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/NotifyOff/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/NotifyOn/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/Pause/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/Quite/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/Record/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/Screenshare/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/Show/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/Speaker/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/SpeakerOff/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/StopRecord/index.d.ts +3 -3
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/StopShare/index.d.ts +3 -3
- package/dist/Presentation/components/containers/ColumnContainer/ColumnContainer.d.ts +5 -5
- package/dist/Presentation/components/containers/RowCenterContainer/RowCenterContainer.d.ts +33 -33
- package/dist/Presentation/components/containers/RowLeftContainer/RowLeftContainer.d.ts +33 -33
- package/dist/Presentation/components/containers/RowRightContainer/RowRightContainer.d.ts +33 -33
- package/dist/Presentation/components/containers/ScrollableContainer/ScrollableContainer.d.ts +16 -16
- package/dist/Presentation/components/containers/SectionList/hooks/createUseComponent.d.ts +3 -3
- package/dist/Presentation/components/containers/SectionList/hooks/index.d.ts +4 -4
- package/dist/Presentation/components/containers/SectionList/hooks/useMobileLayout.d.ts +1 -1
- package/dist/Presentation/components/containers/SectionList/hooks/usePrevious.d.ts +1 -1
- package/dist/Presentation/components/containers/SectionList/hooks/useVisibility.d.ts +1 -1
- package/dist/Presentation/components/containers/SectionList/index.d.ts +3 -3
- package/dist/Presentation/components/containers/SectionList/useComponent.d.ts +28 -28
- package/dist/Presentation/icons/actions/index.d.ts +26 -26
- package/dist/Presentation/icons/contents/index.d.ts +13 -13
- package/dist/Presentation/icons/index.d.ts +7 -7
- package/dist/Presentation/icons/media/index.d.ts +12 -12
- package/dist/Presentation/icons/moderation/index.d.ts +5 -5
- package/dist/Presentation/icons/navigation/index.d.ts +12 -12
- package/dist/Presentation/icons/status/index.d.ts +7 -7
- package/dist/Presentation/icons/toggle/index.d.ts +23 -23
- package/dist/Presentation/layouts/Desktop/DesktopLayout.d.ts +13 -13
- package/dist/Presentation/layouts/Desktop/QuickBloxUIKitDesktopLayout.d.ts +6 -6
- package/dist/Presentation/layouts/LayoutCommonTypes.d.ts +6 -6
- package/dist/Presentation/layouts/TestStage/CompanyLogo/CompanyLogo.d.ts +3 -3
- package/dist/Presentation/layouts/TestStage/LoginView/Login.d.ts +9 -9
- package/dist/Presentation/providers/ProviderProps.d.ts +4 -4
- package/dist/Presentation/providers/QuickBloxUIKitProvider/QuickBloxUIKitProvider.d.ts +47 -47
- package/dist/Presentation/providers/QuickBloxUIKitProvider/useEventMessagesRepository.d.ts +3 -3
- package/dist/Presentation/providers/QuickBloxUIKitProvider/useQBConnection.d.ts +8 -8
- package/dist/Presentation/providers/QuickBloxUIKitProvider/useQbInitializedDataContext.d.ts +3 -3
- package/dist/Presentation/providers/QuickBloxUIKitProvider/useQbUIKitDataContext.d.ts +3 -3
- package/dist/Presentation/themes/DarkTheme.d.ts +21 -21
- package/dist/Presentation/themes/DefaultThemes/CustomTheme.d.ts +21 -21
- package/dist/Presentation/themes/DefaultThemes/DefaultTheme.d.ts +21 -21
- package/dist/Presentation/themes/LightTheme.d.ts +21 -21
- package/dist/Presentation/themes/ThemeScheme.d.ts +43 -43
- package/dist/Presentation/themes/UiKitTheme.d.ts +20 -20
- package/dist/Presentation/ui-components/Avatar/Avatar.d.ts +9 -9
- package/dist/Presentation/ui-components/Avatar/avatar.stories.d.ts +8 -8
- package/dist/Presentation/ui-components/Badge/Badge.d.ts +9 -9
- package/dist/Presentation/ui-components/Badge/Badge.stories.d.ts +8 -8
- package/dist/Presentation/ui-components/Button/Button.d.ts +12 -12
- package/dist/Presentation/ui-components/Button/Button.stories.d.ts +83 -83
- package/dist/Presentation/ui-components/CheckBox/CheckBox.d.ts +8 -8
- package/dist/Presentation/ui-components/DialogBanner/DialogBanner.d.ts +7 -7
- package/dist/Presentation/ui-components/DialogBanner/DialogBanner.stories.d.ts +34 -34
- package/dist/Presentation/ui-components/DialogItemPreview/DialogItemPreview.d.ts +16 -16
- package/dist/Presentation/ui-components/DialogItemPreview/DialogItemPreview.stories.d.ts +9 -9
- package/dist/Presentation/ui-components/DialogWindow/DialogWindow.d.ts +12 -12
- package/dist/Presentation/ui-components/DialogWindow/DialogWindow.stories.d.ts +6 -6
- package/dist/Presentation/ui-components/Dropdown/Dropdown.d.ts +12 -12
- package/dist/Presentation/ui-components/Dropdown/Dropdown.stories.d.ts +28 -28
- package/dist/Presentation/ui-components/Dropdown/DropdownOption.d.ts +13 -13
- package/dist/Presentation/ui-components/Header/Header.d.ts +13 -13
- package/dist/Presentation/ui-components/Header/Header.stories.d.ts +9 -9
- package/dist/Presentation/ui-components/Loader/Loader.d.ts +7 -7
- package/dist/Presentation/ui-components/Loader/Loader.stories.d.ts +44 -44
- package/dist/Presentation/ui-components/Message/Bubble/AttachmentBubble/AttachmentBubble.d.ts +7 -7
- package/dist/Presentation/ui-components/Message/Bubble/AudioBubble/AudioBubble.d.ts +10 -10
- package/dist/Presentation/ui-components/Message/Bubble/FileBubble/FileBubble.d.ts +8 -8
- package/dist/Presentation/ui-components/Message/Bubble/ImageBubble/ImageBubble.d.ts +7 -7
- package/dist/Presentation/ui-components/Message/Bubble/TextBubble/TextBubble.d.ts +7 -7
- package/dist/Presentation/ui-components/Message/Bubble/VideoBubble/VideoBubble.d.ts +8 -8
- package/dist/Presentation/ui-components/Message/FileUrl/FileUrl.d.ts +7 -7
- package/dist/Presentation/ui-components/Message/Message.d.ts +18 -18
- package/dist/Presentation/ui-components/Message/Message.stories.d.ts +8 -8
- package/dist/Presentation/ui-components/Message/MessageCaption/MessageCaption.d.ts +8 -8
- package/dist/Presentation/ui-components/Message/TimeAndStatus/TimeAndStatus.d.ts +7 -7
- package/dist/Presentation/ui-components/MessageInput/AttachmentUploader/AttachmentUploader.d.ts +8 -8
- package/dist/Presentation/ui-components/MessageInput/MessageInput.d.ts +21 -21
- package/dist/Presentation/ui-components/MessageInput/MessageInput.stories.d.ts +8 -8
- package/dist/Presentation/ui-components/MessageInput/ReplyMessagePreview/ReplyImagePreviewAttachment/ReplyImagePreviewAttachment.d.ts +8 -8
- package/dist/Presentation/ui-components/MessageInput/ReplyMessagePreview/ReplyMessagePreview.d.ts +11 -11
- package/dist/Presentation/ui-components/MessageInput/VoiceRecordingProgress/VoiceRecordingProgress.d.ts +11 -11
- package/dist/Presentation/ui-components/MessageSeparator/MessageSeparator.d.ts +7 -7
- package/dist/Presentation/ui-components/MessageSeparator/MessageSeparator.stories.d.ts +44 -44
- package/dist/Presentation/ui-components/Placeholder/Placeholder.d.ts +10 -10
- package/dist/Presentation/ui-components/Placeholder/Placeholder.stories.d.ts +7 -7
- package/dist/Presentation/ui-components/PreviewFileMessage/PreviewFileMessage.d.ts +8 -8
- package/dist/Presentation/ui-components/PreviewFileMessage/PreviewFileMessage.stories.d.ts +9 -9
- package/dist/Presentation/ui-components/SettingsItem/SettingsItem.d.ts +12 -12
- package/dist/Presentation/ui-components/SettingsItem/SettingsItem.stories.d.ts +8 -8
- package/dist/Presentation/ui-components/TextField/TextField.d.ts +13 -13
- package/dist/Presentation/ui-components/TextField/TextField.stories.d.ts +8 -8
- package/dist/Presentation/ui-components/Toast/Toast.stories.d.ts +6 -6
- package/dist/Presentation/ui-components/Toast/ToastProvider.d.ts +8 -8
- package/dist/Presentation/ui-components/UserListItem/UserListItem.d.ts +10 -10
- package/dist/Presentation/ui-components/UserListItem/UserListItem.stories.d.ts +86 -86
- package/dist/Presentation/ui-components/index.d.ts +19 -19
- package/dist/QBconfig.d.ts +2 -2
- package/dist/hooks/useModal.d.ts +5 -5
- package/dist/hooks/useQuickBloxUIKit.d.ts +108 -108
- package/dist/index-ui.d.ts +62 -62
- package/dist/index-ui.js +20824 -20718
- package/dist/index-ui.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/qb-api-calls/index.d.ts +79 -79
- package/dist/setupTests.d.ts +1 -1
- package/dist/utils/DateTimeFormatter.d.ts +6 -6
- package/dist/utils/formatFileSize.d.ts +1 -1
- package/dist/utils/parse.d.ts +7 -7
- package/dist/utils/utils.d.ts +12 -12
- package/package.json +114 -114
- package/public/index.html +47 -47
- package/public/manifest.json +25 -25
- package/public/robots.txt +3 -3
- package/src/App.scss +3 -3
- package/src/Data/Creator.ts +4 -2
- package/src/Data/source/remote/Mapper/DialogDTOMapper.ts +26 -7
- package/src/Data/source/remote/Mapper/MessageDTOMapper.ts +7 -1
- package/src/Data/source/remote/RemoteDataSource.ts +24 -10
- package/src/Domain/use_cases/GetUsersByIdsUseCase.ts +6 -3
- package/src/Presentation/Views/Dialog/AIComponents/AIAssist/AIAssist.scss +39 -39
- package/src/Presentation/Views/Dialog/AIComponents/AIAssistComponent/AIAssistComponent.scss +32 -32
- package/src/Presentation/Views/Dialog/AIComponents/AITranslate/AITranslate.scss +77 -77
- package/src/Presentation/Views/Dialog/AIComponents/AITranslateComponent/AITranslateComponent.scss +47 -47
- package/src/Presentation/Views/Dialog/AIWidgets/AIRephraseWidget/AIRephraseWidget.scss +25 -25
- package/src/Presentation/Views/Dialog/AIWidgets/AIWidgetActions/AIWidgetActions.scss +55 -55
- package/src/Presentation/Views/Dialog/ContextMenu/ContextMenu.scss +58 -58
- package/src/Presentation/Views/Dialog/Dialog.scss +368 -368
- package/src/Presentation/Views/Dialog/DialogHeader/DialogBackIcon/DialogBackIcon.scss +29 -29
- package/src/Presentation/Views/Dialog/DialogHeader/DialogHeader.scss +114 -114
- package/src/Presentation/Views/Dialog/DialogHeader/DialogInfoIcon/DialogInfoIcon.scss +53 -53
- package/src/Presentation/Views/Dialog/DropDownMenu/DropDownMenu.scss +84 -84
- package/src/Presentation/Views/Dialog/DropDownMenu/ItemDropDownMenu/ItemDropDownMenu.scss +50 -50
- package/src/Presentation/Views/Dialog/ErrorToast/ErrorToast.scss +26 -26
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogListItem/DialogListItem.scss +74 -74
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogsWithSearch.scss +50 -50
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/SearchComponent/SearchComponent.scss +98 -98
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessageFlow.scss +159 -159
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessagePreview/ForwardMessagePreview.scss +100 -100
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/InputForForwarding/InputForForwarding.scss +95 -95
- package/src/Presentation/Views/Dialog/InputMessage/InputMessage.scss +92 -92
- package/src/Presentation/Views/Dialog/Message/HighLightLink/HighLightLink.scss +97 -97
- package/src/Presentation/Views/Dialog/Message/IncomingForwardedMessage/IncomingForwardedMessage.scss +250 -250
- package/src/Presentation/Views/Dialog/Message/IncomingMessage/AvatarContentIncomingUser/AvatarContentIncomingUser.scss +22 -22
- package/src/Presentation/Views/Dialog/Message/IncomingMessage/IncomingMessage.scss +241 -241
- package/src/Presentation/Views/Dialog/Message/IncomingMessage/MessageContentComponent/MessageContentComponent.scss +4 -4
- package/src/Presentation/Views/Dialog/Message/IncomingRepliedMessage/IncomingRepliedMessage.scss +250 -250
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/AudioAttachment/AudioAttachment.scss +31 -31
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/DefaultAttachment/DefaultAttachment.scss +76 -76
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/ImageAttachment/ImageAttachment.scss +14 -14
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/VideoAttachment/VideoAttachment.scss +18 -18
- package/src/Presentation/Views/Dialog/Message/MessageContextMenu/MessageContextMenu.scss +10 -10
- package/src/Presentation/Views/Dialog/Message/OutgoinForwardedMessage/OutgoinForwardedMessage.scss +160 -160
- package/src/Presentation/Views/Dialog/Message/OutgoingMessage/OutgoingMessage.scss +122 -122
- package/src/Presentation/Views/Dialog/Message/OutgoingRepliedMessage/OutgoingRepliedMessage.scss +155 -155
- package/src/Presentation/Views/Dialog/MessageContextMenu/MessageContextMenu.scss +19 -19
- package/src/Presentation/Views/Dialog/MessageItem/MessageItem.scss +21 -21
- package/src/Presentation/Views/Dialog/MessageItem/MessageItem.tsx +12 -8
- package/src/Presentation/Views/Dialog/SystemDateBanner/SystemDateBanner.scss +23 -23
- package/src/Presentation/Views/Dialog/SystemMessageBanner/SystemMessageBanner.scss +21 -21
- package/src/Presentation/Views/DialogInfo/DialogInfo.scss +237 -237
- package/src/Presentation/Views/DialogInfo/DialogMemberButton/DialogMembersButton.scss +42 -42
- package/src/Presentation/Views/DialogInfo/MembersList/MembersList.scss +85 -85
- package/src/Presentation/Views/DialogInfo/UsersList/SingleUser/SingleUser.scss +66 -66
- package/src/Presentation/Views/DialogList/DialogList.scss +150 -150
- package/src/Presentation/Views/DialogListHeader/DialogListHeader.scss +68 -68
- package/src/Presentation/Views/EditDialog/EditDialog.scss +175 -175
- package/src/Presentation/Views/EditDialog/UserAvatar/UserAvatar.scss +32 -32
- package/src/Presentation/Views/Flow/CreateDialog/CreateDialog.scss +93 -93
- package/src/Presentation/Views/Flow/CreateDialog/CreateDialog.tsx +12 -12
- package/src/Presentation/Views/InviteMembers/InviteMembers.scss +202 -202
- package/src/Presentation/Views/InviteMembers/InviteUsersList/SingleUserWithCheckBox/SingleUserWithCheckBox.scss +90 -90
- package/src/Presentation/Views/InviteMembers/NotFoundContent/NotFoundContent.scss +38 -38
- package/src/Presentation/Views/Navigation/More.svg +7 -7
- package/src/Presentation/Views/PreviewDialog/PreviewDialog.scss +211 -211
- package/src/Presentation/Views/PreviewDialog/PreviewDialogContextMenu/PreviewDialogContextMenu.scss +9 -9
- package/src/Presentation/Views/YesNoQuestion/YesNoQuestion.scss +11 -11
- package/src/Presentation/components/Button.js +4 -4
- package/src/Presentation/components/TextInput.js +9 -9
- package/src/Presentation/components/UI/Buttons/MainButton/MainButton.css +103 -103
- package/src/Presentation/components/UI/Elements/SwitchButton/SwitchButton.scss +61 -61
- package/src/Presentation/components/UI/Placeholders/ErrorComponent/ErrorComponent.scss +74 -74
- package/src/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.scss +21 -21
- package/src/Presentation/components/UI/svgs/ActiveSvg/ActiveSvg.scss +3 -3
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/AIWidget/Send.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/BotIcon/BotIcon.svg +5 -5
- package/src/Presentation/components/UI/svgs/Icons/Actions/Add/Add.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/AddContact/Add contact.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Archive/Archive.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/AssistAnswer/AssistAnswer.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Copy/Copy.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Delete/Delete.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Download/Download.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Edit/Edit.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/EditDots/EditDots.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Emoji/Emoji.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/ForwardFilled/Forward filled.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Hungup/Hungup.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/IncomeCall/Income call.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Like/Like.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/NewChat/New chat.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/OutcomeCall/Outcome call.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Phone/Phone.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/PhoneFilled/Phone filled.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Remove/Remove.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Remove2/Remove2.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/ReplyFilled/Reply filled.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Send/Send.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Share/Share.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Summarize/Summarize.svg +6 -6
- package/src/Presentation/components/UI/svgs/Icons/Actions/SwapCamera/Swap camera.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Tone/Tone.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Unarchive/Unarchive.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/VideoIcon/Video.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Voice/Voice.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/Brodcast/Broadcast.svg +7 -7
- package/src/Presentation/components/UI/svgs/Icons/Contents/Chat/Chat.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/ChatFilled/Chat filled.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/Conference/Conference.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/Contact/Contact.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/ContactFilled/Contact filled.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/GroupChat/Group chat.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/Notifications/Notifications.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/PrivateChat/Private chat.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/PublicChannel/Public channel.svg +7 -7
- package/src/Presentation/components/UI/svgs/Icons/Contents/Stream/Stream.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/StreamFilled/Stream filled.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/User/User.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/Attachment/Attachment.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/AudioFile/Audio file.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/BrokenFile/Broken file.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/Camera/Camera.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/GifFile/GIF file.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageEmpty/Image.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageFile/File.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageFilled/Image filled.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/LinkWeb/Link.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/Location/Location.svg +4 -4
- package/src/Presentation/components/UI/svgs/Icons/Media/TextDocument/Text document.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/Translate/Translate.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/VideoFile/Video file.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Admin/Admin.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Banned/Banned.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Freeze/Freeze.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Moderations/Moderations.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Muted/Muted.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowLeft/Arrow left.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowRight/Arrow right.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Back/Back.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Close/Close.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Down/Down.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Leave/Leave.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/More/More.svg +7 -7
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Next/Next.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Plus/Plus.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Refresh/Refresh.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Search/Search.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Settings/Settings.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/SettingsField/Settings filled.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Error/Error.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Help/Help.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Information/Information.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Loader/Loader.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Mention/Mention.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Sent/Sent.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/ViewedDelivered/Viewed_Delivered.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOff/Camera off.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOn/Camera on.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOff/Check off.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOn/Check on.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Favourite/Favourite.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/FavouriteFilled/Favourite filled.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/FullScreen/Full screen.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Hide/Hide.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/ImagePlay/Play.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Louder/Louder.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOff/Mic off.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOn/Mic on.svg +4 -4
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Minimize/Minimize.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOff/Notify off.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOn/Notify on.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Pause/Pause.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Quite/Quite.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Record/Record.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Screenshare/Screenshare.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Show/Show.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Speaker/Speaker.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/SpeakerOff/Speaker off.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/StopRecord/Stop record.svg +3 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/StopShare/Stop share.svg +3 -3
- package/src/Presentation/components/containers/ColumnContainer/ColumnContainer.scss +16 -16
- package/src/Presentation/components/containers/RowCenterContainer/RowCenterContainer.scss +45 -45
- package/src/Presentation/components/containers/RowLeftContainer/RowLeftContainer.scss +45 -45
- package/src/Presentation/components/containers/RowRightContainer/RowRightContainer.scss +46 -46
- package/src/Presentation/components/containers/ScrollableContainer/ScrollableContainer.scss +45 -45
- package/src/Presentation/components/containers/SectionList/styles.css +50 -50
- package/src/Presentation/icons/actions/add-contact.svg +3 -3
- package/src/Presentation/icons/actions/add.svg +3 -3
- package/src/Presentation/icons/actions/archive.svg +3 -3
- package/src/Presentation/icons/actions/copy.svg +3 -3
- package/src/Presentation/icons/actions/delete.svg +3 -3
- package/src/Presentation/icons/actions/download.svg +3 -3
- package/src/Presentation/icons/actions/edit.svg +3 -3
- package/src/Presentation/icons/actions/emoji.svg +3 -3
- package/src/Presentation/icons/actions/forward-filled.svg +3 -3
- package/src/Presentation/icons/actions/hungup.svg +3 -3
- package/src/Presentation/icons/actions/income-call.svg +3 -3
- package/src/Presentation/icons/actions/like.svg +3 -3
- package/src/Presentation/icons/actions/new-chat.svg +3 -3
- package/src/Presentation/icons/actions/outcome-call.svg +3 -3
- package/src/Presentation/icons/actions/phone-filled.svg +3 -3
- package/src/Presentation/icons/actions/phone.svg +3 -3
- package/src/Presentation/icons/actions/remove-2.svg +3 -3
- package/src/Presentation/icons/actions/remove.svg +3 -3
- package/src/Presentation/icons/actions/rephrase.svg +6 -6
- package/src/Presentation/icons/actions/reply-filled.svg +3 -3
- package/src/Presentation/icons/actions/robot.svg +5 -5
- package/src/Presentation/icons/actions/send.svg +3 -3
- package/src/Presentation/icons/actions/share.svg +3 -3
- package/src/Presentation/icons/actions/swap-camera.svg +3 -3
- package/src/Presentation/icons/actions/translate.svg +3 -3
- package/src/Presentation/icons/actions/unarchive.svg +3 -3
- package/src/Presentation/icons/actions/video.svg +3 -3
- package/src/Presentation/icons/actions/voice.svg +3 -3
- package/src/Presentation/icons/contents/broadcast.svg +7 -7
- package/src/Presentation/icons/contents/chat-filled.svg +3 -3
- package/src/Presentation/icons/contents/chat.svg +3 -3
- package/src/Presentation/icons/contents/conference.svg +3 -3
- package/src/Presentation/icons/contents/contact-filled.svg +3 -3
- package/src/Presentation/icons/contents/contact.svg +3 -3
- package/src/Presentation/icons/contents/group-chat.svg +3 -3
- package/src/Presentation/icons/contents/notifications.svg +3 -3
- package/src/Presentation/icons/contents/private-chat.svg +3 -3
- package/src/Presentation/icons/contents/public-channel.svg +7 -7
- package/src/Presentation/icons/contents/stream-filled.svg +3 -3
- package/src/Presentation/icons/contents/stream.svg +3 -3
- package/src/Presentation/icons/contents/user.svg +3 -3
- package/src/Presentation/icons/media/attachment.svg +3 -3
- package/src/Presentation/icons/media/audio-file.svg +3 -3
- package/src/Presentation/icons/media/broken-file.svg +3 -3
- package/src/Presentation/icons/media/camera.svg +3 -3
- package/src/Presentation/icons/media/file.svg +3 -3
- package/src/Presentation/icons/media/gif-file.svg +3 -3
- package/src/Presentation/icons/media/image-filled.svg +3 -3
- package/src/Presentation/icons/media/image.svg +3 -3
- package/src/Presentation/icons/media/link.svg +3 -3
- package/src/Presentation/icons/media/location.svg +4 -4
- package/src/Presentation/icons/media/text-document.svg +3 -3
- package/src/Presentation/icons/media/video-file.svg +3 -3
- package/src/Presentation/icons/moderation/admin.svg +3 -3
- package/src/Presentation/icons/moderation/banned.svg +3 -3
- package/src/Presentation/icons/moderation/freeze.svg +3 -3
- package/src/Presentation/icons/moderation/moderations.svg +3 -3
- package/src/Presentation/icons/moderation/muted.svg +3 -3
- package/src/Presentation/icons/navigation/arrow-left.svg +3 -3
- package/src/Presentation/icons/navigation/arrow-right.svg +3 -3
- package/src/Presentation/icons/navigation/back.svg +3 -3
- package/src/Presentation/icons/navigation/close.svg +3 -3
- package/src/Presentation/icons/navigation/down.svg +3 -3
- package/src/Presentation/icons/navigation/leave.svg +3 -3
- package/src/Presentation/icons/navigation/more.svg +3 -3
- package/src/Presentation/icons/navigation/next.svg +3 -3
- package/src/Presentation/icons/navigation/plus.svg +3 -3
- package/src/Presentation/icons/navigation/refresh.svg +3 -3
- package/src/Presentation/icons/navigation/search.svg +3 -3
- package/src/Presentation/icons/navigation/settings-filled.svg +3 -3
- package/src/Presentation/icons/navigation/settings.svg +3 -3
- package/src/Presentation/icons/status/error.svg +3 -3
- package/src/Presentation/icons/status/help.svg +3 -3
- package/src/Presentation/icons/status/information.svg +3 -3
- package/src/Presentation/icons/status/loader.svg +3 -3
- package/src/Presentation/icons/status/mention.svg +3 -3
- package/src/Presentation/icons/status/sent.svg +3 -3
- package/src/Presentation/icons/status/viewed-delivered.svg +3 -3
- package/src/Presentation/icons/toggle/camera-off.svg +3 -3
- package/src/Presentation/icons/toggle/camera-on.svg +3 -3
- package/src/Presentation/icons/toggle/check-off.svg +3 -3
- package/src/Presentation/icons/toggle/check-on.svg +3 -3
- package/src/Presentation/icons/toggle/favorite.svg +3 -3
- package/src/Presentation/icons/toggle/favourite.svg +3 -3
- package/src/Presentation/icons/toggle/full-screen.svg +3 -3
- package/src/Presentation/icons/toggle/hide.svg +3 -3
- package/src/Presentation/icons/toggle/louder.svg +3 -3
- package/src/Presentation/icons/toggle/mic-off.svg +3 -3
- package/src/Presentation/icons/toggle/mic-on.svg +4 -4
- package/src/Presentation/icons/toggle/minimize.svg +3 -3
- package/src/Presentation/icons/toggle/notify-off.svg +3 -3
- package/src/Presentation/icons/toggle/notify-on.svg +3 -3
- package/src/Presentation/icons/toggle/pause.svg +3 -3
- package/src/Presentation/icons/toggle/play.svg +3 -3
- package/src/Presentation/icons/toggle/quite.svg +3 -3
- package/src/Presentation/icons/toggle/record.svg +3 -3
- package/src/Presentation/icons/toggle/screenshare.svg +3 -3
- package/src/Presentation/icons/toggle/show.svg +3 -3
- package/src/Presentation/icons/toggle/speaker off.svg +3 -3
- package/src/Presentation/icons/toggle/speaker-off.svg +3 -3
- package/src/Presentation/icons/toggle/speaker.svg +3 -3
- package/src/Presentation/icons/toggle/stop-record.svg +3 -3
- package/src/Presentation/icons/toggle/stop-share.svg +3 -3
- package/src/Presentation/layouts/Desktop/DesktopLayout.scss +62 -62
- package/src/Presentation/layouts/Desktop/QuickBloxUIKitDesktopLayout.tsx +96 -31
- package/src/Presentation/layouts/TestStage/LoginView/Login.scss +72 -72
- package/src/Presentation/themes/styles/_fonts.scss +32 -32
- package/src/Presentation/themes/styles/_mixins.scss +6 -6
- package/src/Presentation/themes/styles/_theme_colors_scheme.scss +56 -56
- package/src/Presentation/themes/styles/_theme_colors_scheme_green.scss +57 -57
- package/src/Presentation/themes/styles/_theme_colors_scheme_pink.scss +72 -72
- package/src/Presentation/themes/styles/_theme_dark.scss +37 -37
- package/src/Presentation/themes/styles/_theme_light.scss +38 -38
- package/src/Presentation/themes/styles/_variables.scss +54 -54
- package/src/Presentation/ui-components/Avatar/Avatar.scss +58 -58
- package/src/Presentation/ui-components/Badge/Badge.scss +23 -23
- package/src/Presentation/ui-components/Button/Button.scss +133 -133
- package/src/Presentation/ui-components/CheckBox/CheckBox.scss +10 -10
- package/src/Presentation/ui-components/DialogBanner/DialogBanner.scss +29 -29
- package/src/Presentation/ui-components/DialogItemPreview/DialogItemPreview.scss +71 -71
- package/src/Presentation/ui-components/DialogWindow/DialogWindow.scss +56 -56
- package/src/Presentation/ui-components/Dropdown/Dropdown.scss +82 -82
- package/src/Presentation/ui-components/Dropdown/Dropdown.tsx +4 -4
- package/src/Presentation/ui-components/Dropdown/DropdownOption.tsx +3 -3
- package/src/Presentation/ui-components/Header/Header.scss +72 -72
- package/src/Presentation/ui-components/Loader/Loader.scss +27 -27
- package/src/Presentation/ui-components/Message/Bubble/AudioBubble/AudioBubble.scss +86 -86
- package/src/Presentation/ui-components/Message/Bubble/FileBubble/FileBubble.scss +29 -29
- package/src/Presentation/ui-components/Message/Bubble/ImageBubble/ImageBubble.scss +16 -16
- package/src/Presentation/ui-components/Message/Bubble/TextBubble/TextBubble.scss +40 -40
- package/src/Presentation/ui-components/Message/Bubble/VideoBubble/VideoBubble.scss +27 -27
- package/src/Presentation/ui-components/Message/FileUrl/FileUrl.scss +58 -58
- package/src/Presentation/ui-components/Message/Message.scss +136 -136
- package/src/Presentation/ui-components/Message/Message.tsx +16 -4
- package/src/Presentation/ui-components/Message/MessageCaption/MessageCaption.scss +90 -90
- package/src/Presentation/ui-components/Message/TimeAndStatus/TimeAndStatus.scss +51 -51
- package/src/Presentation/ui-components/MessageInput/MessageInput.scss +137 -137
- package/src/Presentation/ui-components/MessageInput/ReplyMessagePreview/ReplyImagePreviewAttachment/ReplyImagePreviewAttachment.scss +16 -16
- package/src/Presentation/ui-components/MessageInput/ReplyMessagePreview/ReplyMessagePreview.scss +140 -140
- package/src/Presentation/ui-components/MessageInput/VoiceRecordingProgress/VoiceRecordingProgress.scss +35 -35
- package/src/Presentation/ui-components/MessageSeparator/MessageSeparator.scss +30 -30
- package/src/Presentation/ui-components/Placeholder/Placeholder.scss +51 -51
- package/src/Presentation/ui-components/PreviewFileMessage/PreviewFileMessage.scss +30 -30
- package/src/Presentation/ui-components/SettingsItem/SettingsItem.scss +69 -69
- package/src/Presentation/ui-components/TextField/TextField.scss +91 -91
- package/src/Presentation/ui-components/Toast/Toast.scss +22 -22
- package/src/Presentation/ui-components/UserListItem/UserListItem.scss +33 -33
- package/src/QBconfig.ts +7 -7
- package/src/hooks/useQuickBloxUIKit.ts +2 -2
- package/src/index.scss +28 -28
- package/src/package_artan_react_ui.json +91 -91
- package/src/package_original.json +115 -115
- package/storybook-static/favicon.ico +0 -0
- package/storybook-static/favicon.svg +7 -1
- package/storybook-static/index.html +46 -100
- package/storybook-static/index.json +1 -1
- package/storybook-static/logo192.png +0 -0
- package/storybook-static/logo512.png +0 -0
- package/storybook-static/manifest.json +25 -0
- package/storybook-static/project.json +1 -1
- package/storybook-static/robots.txt +3 -0
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +12 -0
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +62 -0
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +18 -0
- package/storybook-static/sb-addons/essentials-measure-5/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-measure-5/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-outline-6/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-outline-6/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-toolbars-4/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-toolbars-4/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/interactions-7/manager-bundle.js +12 -0
- package/storybook-static/sb-addons/interactions-7/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/links-0/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/links-0/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/viewport-8/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/viewport-8/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-common-assets/fonts.css +31 -0
- package/storybook-static/sb-manager/WithTooltip-V3YHNWJZ-MXTFSDU5.js +1 -0
- package/storybook-static/sb-manager/chunk-5QAFKPS7.js +7 -0
- package/storybook-static/sb-manager/chunk-7PRFHFSS.js +9 -0
- package/storybook-static/sb-manager/chunk-XE6LDGTE.js +406 -0
- package/storybook-static/sb-manager/chunk-YDUB7CS6.js +348 -0
- package/storybook-static/sb-manager/chunk-ZEU7PDD3.js +1 -0
- package/storybook-static/sb-manager/formatter-SWP5E3XI-7BGIK6BL.js +156 -0
- package/storybook-static/sb-manager/globals-module-info.js +1 -1051
- package/storybook-static/sb-manager/globals.js +1 -48
- package/storybook-static/sb-manager/index.js +1 -0
- package/storybook-static/sb-manager/runtime.js +1 -12048
- package/storybook-static/sb-manager/syntaxhighlighter-MJWPISIS-JOSCT6CQ.js +1 -0
- package/storybook-static/sb-preview/globals.js +1 -33
- package/storybook-static/sb-preview/runtime.js +90 -7723
- package/storybook-static/stories.json +1 -0
- package/tsconfig.buildlib.json +33 -33
- package/tsconfig.json +34 -34
- package/typedoc.json +4 -4
- package/webpack.config.js +82 -82
- package/storybook-static/167.88fc69a9.iframe.bundle.js +0 -1
- package/storybook-static/294.b81cdbca.iframe.bundle.js +0 -1
- package/storybook-static/363.2cb21716.iframe.bundle.js +0 -2
- package/storybook-static/363.2cb21716.iframe.bundle.js.LICENSE.txt +0 -44
- package/storybook-static/364.988cd801.iframe.bundle.js +0 -1
- package/storybook-static/44.2dce2443.iframe.bundle.js +0 -405
- package/storybook-static/44.2dce2443.iframe.bundle.js.LICENSE.txt +0 -19
- package/storybook-static/44.2dce2443.iframe.bundle.js.map +0 -1
- package/storybook-static/488.3cd3942e.iframe.bundle.js +0 -1
- package/storybook-static/559.9e64a6f5.iframe.bundle.js +0 -2
- package/storybook-static/559.9e64a6f5.iframe.bundle.js.LICENSE.txt +0 -5
- package/storybook-static/735.82f96f8a.iframe.bundle.js +0 -2
- package/storybook-static/735.82f96f8a.iframe.bundle.js.LICENSE.txt +0 -9
- package/storybook-static/844.59cc9fcc.iframe.bundle.js +0 -95
- package/storybook-static/844.59cc9fcc.iframe.bundle.js.LICENSE.txt +0 -19
- package/storybook-static/844.59cc9fcc.iframe.bundle.js.map +0 -1
- package/storybook-static/936.8546c1d8.iframe.bundle.js +0 -1
- package/storybook-static/961.c94da456.iframe.bundle.js +0 -2
- package/storybook-static/961.c94da456.iframe.bundle.js.LICENSE.txt +0 -9
- package/storybook-static/Presentation-ui-components-Avatar-avatar-stories.5dd31ce9.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Avatar-avatar-stories.5dd31ce9.iframe.bundle.js.LICENSE.txt +0 -5
- package/storybook-static/Presentation-ui-components-Badge-Badge-stories.6ac75e0c.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Badge-Badge-stories.6ac75e0c.iframe.bundle.js.LICENSE.txt +0 -5
- package/storybook-static/Presentation-ui-components-Button-Button-stories.e958fce3.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Button-Button-stories.e958fce3.iframe.bundle.js.LICENSE.txt +0 -5
- package/storybook-static/Presentation-ui-components-DialogBanner-DialogBanner-stories.3e9b31ee.iframe.bundle.js +0 -1
- package/storybook-static/Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.528c08e7.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.528c08e7.iframe.bundle.js.LICENSE.txt +0 -5
- package/storybook-static/Presentation-ui-components-DialogWindow-DialogWindow-stories.b1e69362.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-DialogWindow-DialogWindow-stories.b1e69362.iframe.bundle.js.LICENSE.txt +0 -15
- package/storybook-static/Presentation-ui-components-Dropdown-Dropdown-stories.62c3a3cc.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Dropdown-Dropdown-stories.62c3a3cc.iframe.bundle.js.LICENSE.txt +0 -5
- package/storybook-static/Presentation-ui-components-Header-Header-stories.33ced43a.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Header-Header-stories.33ced43a.iframe.bundle.js.LICENSE.txt +0 -5
- package/storybook-static/Presentation-ui-components-Loader-Loader-stories.9ffbbddb.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Loader-Loader-stories.9ffbbddb.iframe.bundle.js.LICENSE.txt +0 -5
- package/storybook-static/Presentation-ui-components-Message-Message-stories.56b66b6d.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Message-Message-stories.56b66b6d.iframe.bundle.js.LICENSE.txt +0 -5
- package/storybook-static/Presentation-ui-components-MessageInput-MessageInput-stories.4538dec0.iframe.bundle.js +0 -1
- package/storybook-static/Presentation-ui-components-MessageSeparator-MessageSeparator-stories.ccfd1b95.iframe.bundle.js +0 -1
- package/storybook-static/Presentation-ui-components-Placeholder-Placeholder-stories.87417472.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Placeholder-Placeholder-stories.87417472.iframe.bundle.js.LICENSE.txt +0 -5
- package/storybook-static/Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories.c2851879.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories.c2851879.iframe.bundle.js.LICENSE.txt +0 -5
- package/storybook-static/Presentation-ui-components-SettingsItem-SettingsItem-stories.b8aff90f.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-SettingsItem-SettingsItem-stories.b8aff90f.iframe.bundle.js.LICENSE.txt +0 -5
- package/storybook-static/Presentation-ui-components-TextField-TextField-stories.448b262f.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-TextField-TextField-stories.448b262f.iframe.bundle.js.LICENSE.txt +0 -5
- package/storybook-static/Presentation-ui-components-Toast-Toast-stories.b4ff1c4c.iframe.bundle.js +0 -1
- package/storybook-static/Presentation-ui-components-UserListItem-UserListItem-stories.8ddeec07.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-UserListItem-UserListItem-stories.8ddeec07.iframe.bundle.js.LICENSE.txt +0 -5
- package/storybook-static/docs-Introduction-mdx.024f959d.iframe.bundle.js +0 -1
- package/storybook-static/docs-Styling-mdx.abbdb393.iframe.bundle.js +0 -1
- package/storybook-static/iframe.html +0 -511
- package/storybook-static/main.b6cefba5.iframe.bundle.js +0 -1
- package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/runtime~main.0313ac39.iframe.bundle.js +0 -1
- package/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js +0 -331
- package/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js.LEGAL.txt +0 -51
- package/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-backgrounds-5/manager-bundle.js +0 -12
- package/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js +0 -402
- package/storybook-static/sb-addons/essentials-docs-4/manager-bundle.js +0 -242
- package/storybook-static/sb-addons/essentials-measure-8/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-outline-9/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-toolbars-7/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-viewport-6/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/interactions-11/manager-bundle.js +0 -222
- package/storybook-static/sb-addons/onboarding-1/manager-bundle.js +0 -127
- package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +0 -3
- package/storybook-static/sb-common-assets/favicon.svg +0 -1
- package/storybook-static/sb-manager/globals-runtime.js +0 -41591
package/.prettierignore
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/node_modules
|
|
2
|
-
/public
|
|
3
|
-
package.json
|
|
4
|
-
package-lock.json
|
|
1
|
+
/node_modules
|
|
2
|
+
/public
|
|
3
|
+
package.json
|
|
4
|
+
package-lock.json
|
package/.prettierrc
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
{
|
|
2
|
-
"semi": true,
|
|
3
|
-
"printWidth": 80,
|
|
4
|
-
"tabWidth": 2,
|
|
5
|
-
"useTabs": false,
|
|
6
|
-
"singleQuote": true,
|
|
7
|
-
"trailingComma": "all",
|
|
8
|
-
"arrowParens": "always",
|
|
9
|
-
"endOfLine": "lf"
|
|
10
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"semi": true,
|
|
3
|
+
"printWidth": 80,
|
|
4
|
+
"tabWidth": 2,
|
|
5
|
+
"useTabs": false,
|
|
6
|
+
"singleQuote": true,
|
|
7
|
+
"trailingComma": "all",
|
|
8
|
+
"arrowParens": "always",
|
|
9
|
+
"endOfLine": "lf"
|
|
10
|
+
}
|
package/.storybook/main.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import type { StorybookConfig } from '@storybook/react-webpack5';
|
|
2
|
-
|
|
3
|
-
const config: StorybookConfig = {
|
|
4
|
-
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
|
|
5
|
-
addons: [
|
|
6
|
-
'@storybook/addon-links',
|
|
7
|
-
'@storybook/addon-essentials',
|
|
8
|
-
'@storybook/preset-create-react-app',
|
|
9
|
-
'@storybook/addon-onboarding',
|
|
10
|
-
'@storybook/addon-interactions',
|
|
11
|
-
'@storybook/addon-viewport'
|
|
12
|
-
],
|
|
13
|
-
framework: {
|
|
14
|
-
name: '@storybook/react-webpack5',
|
|
15
|
-
options: {
|
|
16
|
-
builder: {
|
|
17
|
-
useSWC: true,
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
docs: {
|
|
22
|
-
autodocs: 'tag',
|
|
23
|
-
},
|
|
24
|
-
staticDirs: ['../public'],
|
|
25
|
-
};
|
|
26
|
-
export default config;
|
|
1
|
+
import type { StorybookConfig } from '@storybook/react-webpack5';
|
|
2
|
+
|
|
3
|
+
const config: StorybookConfig = {
|
|
4
|
+
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
|
|
5
|
+
addons: [
|
|
6
|
+
'@storybook/addon-links',
|
|
7
|
+
'@storybook/addon-essentials',
|
|
8
|
+
'@storybook/preset-create-react-app',
|
|
9
|
+
'@storybook/addon-onboarding',
|
|
10
|
+
'@storybook/addon-interactions',
|
|
11
|
+
'@storybook/addon-viewport'
|
|
12
|
+
],
|
|
13
|
+
framework: {
|
|
14
|
+
name: '@storybook/react-webpack5',
|
|
15
|
+
options: {
|
|
16
|
+
builder: {
|
|
17
|
+
useSWC: true,
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
docs: {
|
|
22
|
+
autodocs: 'tag',
|
|
23
|
+
},
|
|
24
|
+
staticDirs: ['../public'],
|
|
25
|
+
};
|
|
26
|
+
export default config;
|
package/.storybook/preview.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import type { Preview } from '@storybook/react';
|
|
2
|
-
import '../src/index.scss';
|
|
3
|
-
|
|
4
|
-
const preview: Preview = {
|
|
5
|
-
parameters: {
|
|
6
|
-
actions: { argTypesRegex: '^on[A-Z].*' },
|
|
7
|
-
controls: {
|
|
8
|
-
matchers: {
|
|
9
|
-
color: /(background|color)$/i,
|
|
10
|
-
date: /Date$/i,
|
|
11
|
-
},
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export default preview;
|
|
1
|
+
import type { Preview } from '@storybook/react';
|
|
2
|
+
import '../src/index.scss';
|
|
3
|
+
|
|
4
|
+
const preview: Preview = {
|
|
5
|
+
parameters: {
|
|
6
|
+
actions: { argTypesRegex: '^on[A-Z].*' },
|
|
7
|
+
controls: {
|
|
8
|
+
matchers: {
|
|
9
|
+
color: /(background|color)$/i,
|
|
10
|
+
date: /Date$/i,
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export default preview;
|
package/LICENSE.md
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
Copyright © 2023 QuickBlox
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
5
|
-
in the Software without restriction, including without limitation the rights
|
|
6
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
furnished to do so, subject to the following conditions:
|
|
9
|
-
|
|
10
|
-
The above copyright notice and this permission notice shall be included in all
|
|
11
|
-
copies or substantial portions of the Software.
|
|
12
|
-
|
|
13
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1
|
+
Copyright © 2023 QuickBlox
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
5
|
+
in the Software without restriction, including without limitation the rights
|
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
furnished to do so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
|
11
|
+
copies or substantial portions of the Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
19
19
|
SOFTWARE.
|
package/dist/App.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import './App.scss';
|
|
2
|
-
declare function App(): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export default App;
|
|
1
|
+
import './App.scss';
|
|
2
|
+
declare function App(): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default App;
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Pagination } from '../Domain/repository/Pagination';
|
|
3
|
-
import { GroupDialogEntity } from '../Domain/entity/GroupDialogEntity';
|
|
4
|
-
import { DialogEntity } from '../Domain/entity/DialogEntity';
|
|
5
|
-
import { FileEntity } from '../Domain/entity/FileEntity';
|
|
6
|
-
import { IChatMessage } from '../Data/source/AISource';
|
|
7
|
-
import { Tone } from '../Presentation/Views/Dialog/AIWidgets/Tone';
|
|
8
|
-
import { MessageEntity } from '../Domain/entity/MessageEntity';
|
|
9
|
-
import { UserEntity } from '../Domain/entity/UserEntity';
|
|
10
|
-
export default class BaseViewModel<TResult> {
|
|
11
|
-
get entity(): TResult;
|
|
12
|
-
set entity(value: TResult);
|
|
13
|
-
protected constructor(baseEntity: TResult);
|
|
14
|
-
private _entity?;
|
|
15
|
-
}
|
|
16
|
-
export type FunctionTypeViewModelToVoid<TResult> = (it: BaseViewModel<TResult>) => void;
|
|
17
|
-
export type EditDialogParams = {
|
|
18
|
-
dialogTitle: string;
|
|
19
|
-
dialogAvatar: File | string | null;
|
|
20
|
-
};
|
|
21
|
-
export type ForwardMessagesParams = {
|
|
22
|
-
messagesToForward: MessageEntity[];
|
|
23
|
-
targetDialogs: DialogEntity[];
|
|
24
|
-
relatedTextMessage?: string;
|
|
25
|
-
relatedFileMessage?: File;
|
|
26
|
-
};
|
|
27
|
-
export type ReplyMessagesParams = {
|
|
28
|
-
messagesToReply: MessageEntity[];
|
|
29
|
-
relatedTextMessage?: string;
|
|
30
|
-
relatedFileMessage?: File;
|
|
31
|
-
};
|
|
32
|
-
export type FunctionTypeReplyMessagesParamsToBoolean = (replyData: ReplyMessagesParams) => Promise<boolean>;
|
|
33
|
-
export type FunctionTypeForwardMessagesParamsToBoolean = (forwardingData: ForwardMessagesParams) => Promise<boolean>;
|
|
34
|
-
export type FunctionTypeFileToToVoid = (file: File) => void;
|
|
35
|
-
export type FunctionTypeMessageEntityToVoid = (message: MessageEntity) => void;
|
|
36
|
-
export type FunctionDialogEntityToVoid = (dialog: DialogEntity) => void;
|
|
37
|
-
export type FunctionTypeFileToToBoolean = (file: File) => Promise<boolean>;
|
|
38
|
-
export type FunctionTypePaginationToVoid = (pagination: Pagination) => void;
|
|
39
|
-
export type FunctionTypeVoidToVoid = () => void;
|
|
40
|
-
export type FunctionTypeUserIdToUserEntity = (id: number) => Promise<UserEntity>;
|
|
41
|
-
export type FunctionTypeStringToVoid = (value: string) => void;
|
|
42
|
-
export type FunctionTypeBooleanToVoid = (value: boolean) => void;
|
|
43
|
-
export type FunctionTypeEditDialogParamsToVoid = (params: EditDialogParams) => void;
|
|
44
|
-
export type FunctionTypeDialogEntityToDialogEntity = (entity: GroupDialogEntity) => Promise<DialogEntity>;
|
|
45
|
-
export type FunctionTypeDialogEntityToBoolean = (entity: GroupDialogEntity) => Promise<boolean>;
|
|
46
|
-
export type FunctionTypeDialogEntityToVoid = (entity: DialogEntity) => void;
|
|
47
|
-
export type FunctionTypeFileToFileEntity = (file: File) => Promise<FileEntity>;
|
|
48
|
-
export type FunctionTypeJSXElement = () => JSX.Element;
|
|
49
|
-
export type FunctionTypeFileWithContextToToVoid = (file: File, context: IChatMessage[], additionalSettings?: {
|
|
50
|
-
[key: string]: any;
|
|
51
|
-
}) => void;
|
|
52
|
-
export type FunctionTypeStringWithContextToVoid = (value: string, context: IChatMessage[], additionalSettings?: {
|
|
53
|
-
[key: string]: any;
|
|
54
|
-
}) => void;
|
|
55
|
-
export type FunctionTypeStringWithContextToString = (value: string, context: IChatMessage[], additionalSettings?: {
|
|
56
|
-
[key: string]: any;
|
|
57
|
-
}) => Promise<string>;
|
|
58
|
-
export type FunctionTypeVoidToTones = () => Tone[];
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Pagination } from '../Domain/repository/Pagination';
|
|
3
|
+
import { GroupDialogEntity } from '../Domain/entity/GroupDialogEntity';
|
|
4
|
+
import { DialogEntity } from '../Domain/entity/DialogEntity';
|
|
5
|
+
import { FileEntity } from '../Domain/entity/FileEntity';
|
|
6
|
+
import { IChatMessage } from '../Data/source/AISource';
|
|
7
|
+
import { Tone } from '../Presentation/Views/Dialog/AIWidgets/Tone';
|
|
8
|
+
import { MessageEntity } from '../Domain/entity/MessageEntity';
|
|
9
|
+
import { UserEntity } from '../Domain/entity/UserEntity';
|
|
10
|
+
export default class BaseViewModel<TResult> {
|
|
11
|
+
get entity(): TResult;
|
|
12
|
+
set entity(value: TResult);
|
|
13
|
+
protected constructor(baseEntity: TResult);
|
|
14
|
+
private _entity?;
|
|
15
|
+
}
|
|
16
|
+
export type FunctionTypeViewModelToVoid<TResult> = (it: BaseViewModel<TResult>) => void;
|
|
17
|
+
export type EditDialogParams = {
|
|
18
|
+
dialogTitle: string;
|
|
19
|
+
dialogAvatar: File | string | null;
|
|
20
|
+
};
|
|
21
|
+
export type ForwardMessagesParams = {
|
|
22
|
+
messagesToForward: MessageEntity[];
|
|
23
|
+
targetDialogs: DialogEntity[];
|
|
24
|
+
relatedTextMessage?: string;
|
|
25
|
+
relatedFileMessage?: File;
|
|
26
|
+
};
|
|
27
|
+
export type ReplyMessagesParams = {
|
|
28
|
+
messagesToReply: MessageEntity[];
|
|
29
|
+
relatedTextMessage?: string;
|
|
30
|
+
relatedFileMessage?: File;
|
|
31
|
+
};
|
|
32
|
+
export type FunctionTypeReplyMessagesParamsToBoolean = (replyData: ReplyMessagesParams) => Promise<boolean>;
|
|
33
|
+
export type FunctionTypeForwardMessagesParamsToBoolean = (forwardingData: ForwardMessagesParams) => Promise<boolean>;
|
|
34
|
+
export type FunctionTypeFileToToVoid = (file: File) => void;
|
|
35
|
+
export type FunctionTypeMessageEntityToVoid = (message: MessageEntity) => void;
|
|
36
|
+
export type FunctionDialogEntityToVoid = (dialog: DialogEntity) => void;
|
|
37
|
+
export type FunctionTypeFileToToBoolean = (file: File) => Promise<boolean>;
|
|
38
|
+
export type FunctionTypePaginationToVoid = (pagination: Pagination) => void;
|
|
39
|
+
export type FunctionTypeVoidToVoid = () => void;
|
|
40
|
+
export type FunctionTypeUserIdToUserEntity = (id: number) => Promise<UserEntity>;
|
|
41
|
+
export type FunctionTypeStringToVoid = (value: string) => void;
|
|
42
|
+
export type FunctionTypeBooleanToVoid = (value: boolean) => void;
|
|
43
|
+
export type FunctionTypeEditDialogParamsToVoid = (params: EditDialogParams) => void;
|
|
44
|
+
export type FunctionTypeDialogEntityToDialogEntity = (entity: GroupDialogEntity) => Promise<DialogEntity>;
|
|
45
|
+
export type FunctionTypeDialogEntityToBoolean = (entity: GroupDialogEntity) => Promise<boolean>;
|
|
46
|
+
export type FunctionTypeDialogEntityToVoid = (entity: DialogEntity) => void;
|
|
47
|
+
export type FunctionTypeFileToFileEntity = (file: File) => Promise<FileEntity>;
|
|
48
|
+
export type FunctionTypeJSXElement = () => JSX.Element;
|
|
49
|
+
export type FunctionTypeFileWithContextToToVoid = (file: File, context: IChatMessage[], additionalSettings?: {
|
|
50
|
+
[key: string]: any;
|
|
51
|
+
}) => void;
|
|
52
|
+
export type FunctionTypeStringWithContextToVoid = (value: string, context: IChatMessage[], additionalSettings?: {
|
|
53
|
+
[key: string]: any;
|
|
54
|
+
}) => void;
|
|
55
|
+
export type FunctionTypeStringWithContextToString = (value: string, context: IChatMessage[], additionalSettings?: {
|
|
56
|
+
[key: string]: any;
|
|
57
|
+
}) => Promise<string>;
|
|
58
|
+
export type FunctionTypeVoidToTones = () => Tone[];
|
|
@@ -1,189 +1,189 @@
|
|
|
1
|
-
import { QBSystemMessage, QBUser, ChatMessageAttachment, QBChatDialog, QBChatNewMessage, QBConfig, QBCustomField } from 'quickblox';
|
|
2
|
-
import { Tone } from '../Presentation/Views/Dialog/AIWidgets/Tone';
|
|
3
|
-
import { AIMessageWidget } from '../Presentation/Views/Dialog/AIWidgets/AIMessageWidget';
|
|
4
|
-
import UiKitTheme from '../Presentation/themes/UiKitTheme';
|
|
5
|
-
export type ProxyConfig = {
|
|
6
|
-
api: string;
|
|
7
|
-
servername: string;
|
|
8
|
-
port: string;
|
|
9
|
-
};
|
|
10
|
-
export interface WidgetConfig {
|
|
11
|
-
smartChatAssistantId: string;
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated This field will be deprecated in a future release. Please avoid using it.
|
|
14
|
-
*/
|
|
15
|
-
organizationName: string;
|
|
16
|
-
/**
|
|
17
|
-
* @deprecated This field will be deprecated in a future release. Please avoid using it.
|
|
18
|
-
*/
|
|
19
|
-
openAIModel: string;
|
|
20
|
-
/**
|
|
21
|
-
* @deprecated This field will be deprecated in a future release. Please avoid using it.
|
|
22
|
-
*/
|
|
23
|
-
apiKey: string;
|
|
24
|
-
/**
|
|
25
|
-
* @deprecated This field will be deprecated in a future release. Please avoid using it.
|
|
26
|
-
*/
|
|
27
|
-
maxTokens: number;
|
|
28
|
-
/**
|
|
29
|
-
* @deprecated This field will be deprecated in a future release. Please avoid using it.
|
|
30
|
-
*/
|
|
31
|
-
useDefault: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* @deprecated This field will be deprecated in a future release. Please avoid using it.
|
|
34
|
-
*/
|
|
35
|
-
proxyConfig: ProxyConfig;
|
|
36
|
-
}
|
|
37
|
-
export interface AITranslateWidgetConfig extends WidgetConfig {
|
|
38
|
-
/**
|
|
39
|
-
* @deprecated This field will be deprecated in a future release. Please avoid using it.
|
|
40
|
-
*/
|
|
41
|
-
defaultLanguage: string;
|
|
42
|
-
/**
|
|
43
|
-
* @deprecated This field will be deprecated in a future release. Please avoid using it.
|
|
44
|
-
*/
|
|
45
|
-
languages: string[];
|
|
46
|
-
}
|
|
47
|
-
export interface AIRephraseWidgetConfig extends WidgetConfig {
|
|
48
|
-
/**
|
|
49
|
-
* @deprecated This field will be deprecated in a future release. Please avoid using it.
|
|
50
|
-
*/
|
|
51
|
-
defaultTone: string;
|
|
52
|
-
/**
|
|
53
|
-
* @deprecated This field will be deprecated in a future release. Please avoid using it.
|
|
54
|
-
*/
|
|
55
|
-
Tones: Tone[];
|
|
56
|
-
}
|
|
57
|
-
export interface QBUIKitConfig extends QBConfig {
|
|
58
|
-
credentials: {
|
|
59
|
-
appId: number;
|
|
60
|
-
accountKey: string;
|
|
61
|
-
authKey: string;
|
|
62
|
-
authSecret: string;
|
|
63
|
-
sessionToken: string;
|
|
64
|
-
};
|
|
65
|
-
configAIApi: {
|
|
66
|
-
AIAnswerAssistWidgetConfig: WidgetConfig;
|
|
67
|
-
AITranslateWidgetConfig: AITranslateWidgetConfig;
|
|
68
|
-
AIRephraseWidgetConfig: AIRephraseWidgetConfig;
|
|
69
|
-
};
|
|
70
|
-
appConfig: {
|
|
71
|
-
maxFileSize: number;
|
|
72
|
-
sessionTimeOut: number;
|
|
73
|
-
chatProtocol: {
|
|
74
|
-
active: number;
|
|
75
|
-
};
|
|
76
|
-
debug: boolean;
|
|
77
|
-
enableForwarding: boolean;
|
|
78
|
-
enableReplying: boolean;
|
|
79
|
-
regexUserName?: string;
|
|
80
|
-
endpoints: {
|
|
81
|
-
api: string;
|
|
82
|
-
chat: string;
|
|
83
|
-
};
|
|
84
|
-
streamManagement: {
|
|
85
|
-
enable: boolean;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
interface QBSystemMessageExtension {
|
|
90
|
-
[key: string]: string | undefined;
|
|
91
|
-
notification_type: string;
|
|
92
|
-
action?: 'read' | 'delete';
|
|
93
|
-
}
|
|
94
|
-
export interface QBUIKitSystemMessage extends QBSystemMessage {
|
|
95
|
-
extension?: QBSystemMessageExtension | Dictionary<any> | undefined;
|
|
96
|
-
}
|
|
97
|
-
export declare enum QBChatDialogType {
|
|
98
|
-
PUBLIC_GROUP = 1,
|
|
99
|
-
GROUP = 2,
|
|
100
|
-
PRIVATE = 3
|
|
101
|
-
}
|
|
102
|
-
export interface QBUIKitChatDialog extends QBChatDialog {
|
|
103
|
-
/** ID of the dialog. Generated automatically by the server after dialog creation. */
|
|
104
|
-
_id: string;
|
|
105
|
-
/** ID of dialog's owner. */
|
|
106
|
-
user_id: QBUser['id'];
|
|
107
|
-
/** Date & time when a record was created, filled automatically. */
|
|
108
|
-
created_at: string;
|
|
109
|
-
/** Date & time when a record was created, filled automatically. */
|
|
110
|
-
updated_at: string;
|
|
111
|
-
/**
|
|
112
|
-
* Type of dialog. Possible values are:
|
|
113
|
-
* - type=1 (`PUBLIC_GROUP`)
|
|
114
|
-
* - type=2 (`GROUP`)
|
|
115
|
-
* - type=3 (`PRIVATE`)
|
|
116
|
-
*/
|
|
117
|
-
type: QBChatDialogType;
|
|
118
|
-
/**
|
|
119
|
-
* Name of a group chat. Makes sense if type=1 (`PUBLIC_GROUP`) or type=2 (`GROUP`).
|
|
120
|
-
* The maximum length for the dialog name is 200 symbols.
|
|
121
|
-
*/
|
|
122
|
-
name: string;
|
|
123
|
-
/**
|
|
124
|
-
* Photo of a group chat. Makes sense if type=1 (`PUBLIC_GROUP`) or type=2 (`GROUP`).
|
|
125
|
-
* Can contain a link to a file in Content module, Custom Objects module or just a web link.
|
|
126
|
-
*/
|
|
127
|
-
photo: null | string;
|
|
128
|
-
/**
|
|
129
|
-
* JID of XMPP room for group chat to connect. Nil if type=3 (PRIVATE).
|
|
130
|
-
* Generated automatically by the server after dialog creation.
|
|
131
|
-
*/
|
|
132
|
-
xmpp_room_jid: string | null;
|
|
133
|
-
/** Array of users' IDs - dialog occupants. Does not make sense if type=1 (PUBLIC_GROUP). */
|
|
134
|
-
occupants_ids: number[];
|
|
135
|
-
/** Last sent message in this dialog. */
|
|
136
|
-
last_message: string | null;
|
|
137
|
-
/** Timestamp of last sent message in this dialog. */
|
|
138
|
-
last_message_date_sent: number | null;
|
|
139
|
-
/** ID of the user who sent last message in this dialog. */
|
|
140
|
-
last_message_user_id: QBUser['id'] | null;
|
|
141
|
-
/** ID of last message in this dialog. */
|
|
142
|
-
last_message_id: string | null;
|
|
143
|
-
/** Number of unread messages in this dialog for a current user. */
|
|
144
|
-
unread_messages_count: number | null;
|
|
145
|
-
/**
|
|
146
|
-
* - Information about class and fields in Custom Objects.
|
|
147
|
-
* - Any dialog can be extended using Custom Objects to store additional parameters.
|
|
148
|
-
*/
|
|
149
|
-
data?: {
|
|
150
|
-
/** Class name in Custom Objects. */
|
|
151
|
-
class_name: string;
|
|
152
|
-
/** Field name of class in Custom Objects. Can be many: 1..N. */
|
|
153
|
-
[field_name_N: string]: QBCustomField;
|
|
154
|
-
};
|
|
155
|
-
new_occupants_ids?: number[];
|
|
156
|
-
joined?: boolean;
|
|
157
|
-
}
|
|
158
|
-
export interface QBUIKitChatNewMessage extends QBChatNewMessage {
|
|
159
|
-
type: 'chat' | 'groupchat';
|
|
160
|
-
body: string;
|
|
161
|
-
notification_type?: string;
|
|
162
|
-
dialog_id: QBChatDialog['_id'];
|
|
163
|
-
extension: {
|
|
164
|
-
attachments?: ChatMessageAttachment[];
|
|
165
|
-
save_to_history: 0 | 1;
|
|
166
|
-
dialog_id: QBChatDialog['_id'];
|
|
167
|
-
notification_type?: string;
|
|
168
|
-
sender_id?: QBUser['id'];
|
|
169
|
-
qb_message_action?: 'forward' | 'reply';
|
|
170
|
-
origin_sender_name?: string;
|
|
171
|
-
qb_original_messages?: string;
|
|
172
|
-
};
|
|
173
|
-
markable: 0 | 1;
|
|
174
|
-
}
|
|
175
|
-
export interface AIWidgetPlaceHolder {
|
|
176
|
-
enabled: boolean;
|
|
177
|
-
default: boolean;
|
|
178
|
-
AIWidget?: AIMessageWidget;
|
|
179
|
-
}
|
|
180
|
-
export interface QuickBloxUIKitProps {
|
|
181
|
-
AIRephrase?: AIWidgetPlaceHolder;
|
|
182
|
-
AITranslate?: AIWidgetPlaceHolder;
|
|
183
|
-
AIAssist?: AIWidgetPlaceHolder;
|
|
184
|
-
uikitHeightOffset?: string;
|
|
185
|
-
}
|
|
186
|
-
export interface QuickBloxUIKitDesktopLayoutProps extends QuickBloxUIKitProps {
|
|
187
|
-
theme?: UiKitTheme;
|
|
188
|
-
}
|
|
189
|
-
export {};
|
|
1
|
+
import { QBSystemMessage, QBUser, ChatMessageAttachment, QBChatDialog, QBChatNewMessage, QBConfig, QBCustomField } from 'quickblox';
|
|
2
|
+
import { Tone } from '../Presentation/Views/Dialog/AIWidgets/Tone';
|
|
3
|
+
import { AIMessageWidget } from '../Presentation/Views/Dialog/AIWidgets/AIMessageWidget';
|
|
4
|
+
import UiKitTheme from '../Presentation/themes/UiKitTheme';
|
|
5
|
+
export type ProxyConfig = {
|
|
6
|
+
api: string;
|
|
7
|
+
servername: string;
|
|
8
|
+
port: string;
|
|
9
|
+
};
|
|
10
|
+
export interface WidgetConfig {
|
|
11
|
+
smartChatAssistantId: string;
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated This field will be deprecated in a future release. Please avoid using it.
|
|
14
|
+
*/
|
|
15
|
+
organizationName: string;
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated This field will be deprecated in a future release. Please avoid using it.
|
|
18
|
+
*/
|
|
19
|
+
openAIModel: string;
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated This field will be deprecated in a future release. Please avoid using it.
|
|
22
|
+
*/
|
|
23
|
+
apiKey: string;
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated This field will be deprecated in a future release. Please avoid using it.
|
|
26
|
+
*/
|
|
27
|
+
maxTokens: number;
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated This field will be deprecated in a future release. Please avoid using it.
|
|
30
|
+
*/
|
|
31
|
+
useDefault: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* @deprecated This field will be deprecated in a future release. Please avoid using it.
|
|
34
|
+
*/
|
|
35
|
+
proxyConfig: ProxyConfig;
|
|
36
|
+
}
|
|
37
|
+
export interface AITranslateWidgetConfig extends WidgetConfig {
|
|
38
|
+
/**
|
|
39
|
+
* @deprecated This field will be deprecated in a future release. Please avoid using it.
|
|
40
|
+
*/
|
|
41
|
+
defaultLanguage: string;
|
|
42
|
+
/**
|
|
43
|
+
* @deprecated This field will be deprecated in a future release. Please avoid using it.
|
|
44
|
+
*/
|
|
45
|
+
languages: string[];
|
|
46
|
+
}
|
|
47
|
+
export interface AIRephraseWidgetConfig extends WidgetConfig {
|
|
48
|
+
/**
|
|
49
|
+
* @deprecated This field will be deprecated in a future release. Please avoid using it.
|
|
50
|
+
*/
|
|
51
|
+
defaultTone: string;
|
|
52
|
+
/**
|
|
53
|
+
* @deprecated This field will be deprecated in a future release. Please avoid using it.
|
|
54
|
+
*/
|
|
55
|
+
Tones: Tone[];
|
|
56
|
+
}
|
|
57
|
+
export interface QBUIKitConfig extends QBConfig {
|
|
58
|
+
credentials: {
|
|
59
|
+
appId: number;
|
|
60
|
+
accountKey: string;
|
|
61
|
+
authKey: string;
|
|
62
|
+
authSecret: string;
|
|
63
|
+
sessionToken: string;
|
|
64
|
+
};
|
|
65
|
+
configAIApi: {
|
|
66
|
+
AIAnswerAssistWidgetConfig: WidgetConfig;
|
|
67
|
+
AITranslateWidgetConfig: AITranslateWidgetConfig;
|
|
68
|
+
AIRephraseWidgetConfig: AIRephraseWidgetConfig;
|
|
69
|
+
};
|
|
70
|
+
appConfig: {
|
|
71
|
+
maxFileSize: number;
|
|
72
|
+
sessionTimeOut: number;
|
|
73
|
+
chatProtocol: {
|
|
74
|
+
active: number;
|
|
75
|
+
};
|
|
76
|
+
debug: boolean;
|
|
77
|
+
enableForwarding: boolean;
|
|
78
|
+
enableReplying: boolean;
|
|
79
|
+
regexUserName?: string;
|
|
80
|
+
endpoints: {
|
|
81
|
+
api: string;
|
|
82
|
+
chat: string;
|
|
83
|
+
};
|
|
84
|
+
streamManagement: {
|
|
85
|
+
enable: boolean;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
interface QBSystemMessageExtension {
|
|
90
|
+
[key: string]: string | undefined;
|
|
91
|
+
notification_type: string;
|
|
92
|
+
action?: 'read' | 'delete';
|
|
93
|
+
}
|
|
94
|
+
export interface QBUIKitSystemMessage extends QBSystemMessage {
|
|
95
|
+
extension?: QBSystemMessageExtension | Dictionary<any> | undefined;
|
|
96
|
+
}
|
|
97
|
+
export declare enum QBChatDialogType {
|
|
98
|
+
PUBLIC_GROUP = 1,
|
|
99
|
+
GROUP = 2,
|
|
100
|
+
PRIVATE = 3
|
|
101
|
+
}
|
|
102
|
+
export interface QBUIKitChatDialog extends QBChatDialog {
|
|
103
|
+
/** ID of the dialog. Generated automatically by the server after dialog creation. */
|
|
104
|
+
_id: string;
|
|
105
|
+
/** ID of dialog's owner. */
|
|
106
|
+
user_id: QBUser['id'];
|
|
107
|
+
/** Date & time when a record was created, filled automatically. */
|
|
108
|
+
created_at: string;
|
|
109
|
+
/** Date & time when a record was created, filled automatically. */
|
|
110
|
+
updated_at: string;
|
|
111
|
+
/**
|
|
112
|
+
* Type of dialog. Possible values are:
|
|
113
|
+
* - type=1 (`PUBLIC_GROUP`)
|
|
114
|
+
* - type=2 (`GROUP`)
|
|
115
|
+
* - type=3 (`PRIVATE`)
|
|
116
|
+
*/
|
|
117
|
+
type: QBChatDialogType;
|
|
118
|
+
/**
|
|
119
|
+
* Name of a group chat. Makes sense if type=1 (`PUBLIC_GROUP`) or type=2 (`GROUP`).
|
|
120
|
+
* The maximum length for the dialog name is 200 symbols.
|
|
121
|
+
*/
|
|
122
|
+
name: string;
|
|
123
|
+
/**
|
|
124
|
+
* Photo of a group chat. Makes sense if type=1 (`PUBLIC_GROUP`) or type=2 (`GROUP`).
|
|
125
|
+
* Can contain a link to a file in Content module, Custom Objects module or just a web link.
|
|
126
|
+
*/
|
|
127
|
+
photo: null | string;
|
|
128
|
+
/**
|
|
129
|
+
* JID of XMPP room for group chat to connect. Nil if type=3 (PRIVATE).
|
|
130
|
+
* Generated automatically by the server after dialog creation.
|
|
131
|
+
*/
|
|
132
|
+
xmpp_room_jid: string | null;
|
|
133
|
+
/** Array of users' IDs - dialog occupants. Does not make sense if type=1 (PUBLIC_GROUP). */
|
|
134
|
+
occupants_ids: number[];
|
|
135
|
+
/** Last sent message in this dialog. */
|
|
136
|
+
last_message: string | null;
|
|
137
|
+
/** Timestamp of last sent message in this dialog. */
|
|
138
|
+
last_message_date_sent: number | null;
|
|
139
|
+
/** ID of the user who sent last message in this dialog. */
|
|
140
|
+
last_message_user_id: QBUser['id'] | null;
|
|
141
|
+
/** ID of last message in this dialog. */
|
|
142
|
+
last_message_id: string | null;
|
|
143
|
+
/** Number of unread messages in this dialog for a current user. */
|
|
144
|
+
unread_messages_count: number | null;
|
|
145
|
+
/**
|
|
146
|
+
* - Information about class and fields in Custom Objects.
|
|
147
|
+
* - Any dialog can be extended using Custom Objects to store additional parameters.
|
|
148
|
+
*/
|
|
149
|
+
data?: {
|
|
150
|
+
/** Class name in Custom Objects. */
|
|
151
|
+
class_name: string;
|
|
152
|
+
/** Field name of class in Custom Objects. Can be many: 1..N. */
|
|
153
|
+
[field_name_N: string]: QBCustomField;
|
|
154
|
+
};
|
|
155
|
+
new_occupants_ids?: number[];
|
|
156
|
+
joined?: boolean;
|
|
157
|
+
}
|
|
158
|
+
export interface QBUIKitChatNewMessage extends QBChatNewMessage {
|
|
159
|
+
type: 'chat' | 'groupchat';
|
|
160
|
+
body: string;
|
|
161
|
+
notification_type?: string;
|
|
162
|
+
dialog_id: QBChatDialog['_id'];
|
|
163
|
+
extension: {
|
|
164
|
+
attachments?: ChatMessageAttachment[];
|
|
165
|
+
save_to_history: 0 | 1;
|
|
166
|
+
dialog_id: QBChatDialog['_id'];
|
|
167
|
+
notification_type?: string;
|
|
168
|
+
sender_id?: QBUser['id'];
|
|
169
|
+
qb_message_action?: 'forward' | 'reply';
|
|
170
|
+
origin_sender_name?: string;
|
|
171
|
+
qb_original_messages?: string;
|
|
172
|
+
};
|
|
173
|
+
markable: 0 | 1;
|
|
174
|
+
}
|
|
175
|
+
export interface AIWidgetPlaceHolder {
|
|
176
|
+
enabled: boolean;
|
|
177
|
+
default: boolean;
|
|
178
|
+
AIWidget?: AIMessageWidget;
|
|
179
|
+
}
|
|
180
|
+
export interface QuickBloxUIKitProps {
|
|
181
|
+
AIRephrase?: AIWidgetPlaceHolder;
|
|
182
|
+
AITranslate?: AIWidgetPlaceHolder;
|
|
183
|
+
AIAssist?: AIWidgetPlaceHolder;
|
|
184
|
+
uikitHeightOffset?: string;
|
|
185
|
+
}
|
|
186
|
+
export interface QuickBloxUIKitDesktopLayoutProps extends QuickBloxUIKitProps {
|
|
187
|
+
theme?: UiKitTheme;
|
|
188
|
+
}
|
|
189
|
+
export {};
|