quickblox-react-ui-kit 0.4.5 → 0.5.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.storybook/main.ts +84 -12
- package/.storybook/preview.ts +6 -1
- package/babel.config.js +7 -0
- package/dist/App.d.ts.map +1 -0
- package/dist/CommonTypes/BaseViewModel.d.ts +1 -1
- package/dist/CommonTypes/BaseViewModel.d.ts.map +1 -0
- package/dist/CommonTypes/CommonTypes.d.ts.map +1 -0
- package/dist/CommonTypes/FunctionResult.d.ts.map +1 -0
- package/dist/Data/Creator.d.ts.map +1 -0
- package/dist/Data/DefaultConfigurations.d.ts.map +1 -0
- package/dist/Data/Stubs.d.ts.map +1 -0
- package/dist/Data/dto/dialog/LocalDialogDTO.d.ts.map +1 -0
- package/dist/Data/dto/dialog/LocalDialogsDTO.d.ts.map +1 -0
- package/dist/Data/dto/dialog/RemoteDialogDTO.d.ts.map +1 -0
- package/dist/Data/dto/dialog/RemoteDialogsDTO.d.ts.map +1 -0
- package/dist/Data/dto/file/LocalFileDTO.d.ts.map +1 -0
- package/dist/Data/dto/file/RemoteFileDTO.d.ts.map +1 -0
- package/dist/Data/dto/message/LocalMessageDTO.d.ts.map +1 -0
- package/dist/Data/dto/message/LocalMessagesDTO.d.ts.map +1 -0
- package/dist/Data/dto/message/RemoteMessageDTO.d.ts.map +1 -0
- package/dist/Data/dto/message/RemoteMessagesDTO.d.ts.map +1 -0
- package/dist/Data/dto/user/LocalUserDTO.d.ts.map +1 -0
- package/dist/Data/dto/user/LocalUsersDTO.d.ts.map +1 -0
- package/dist/Data/dto/user/RemoteUserDTO.d.ts.map +1 -0
- package/dist/Data/dto/user/RemoteUsersDTO.d.ts.map +1 -0
- package/dist/Data/mapper/DialogLocalDTOMapper.d.ts.map +1 -0
- package/dist/Data/mapper/DialogRemoteDTOMapper.d.ts.map +1 -0
- package/dist/Data/mapper/FileLocalDTOMapper.d.ts.map +1 -0
- package/dist/Data/mapper/FileRemoteDTOMapper.d.ts.map +1 -0
- package/dist/Data/mapper/IMapper.d.ts.map +1 -0
- package/dist/Data/mapper/MessageLocalDTOMapper.d.ts.map +1 -0
- package/dist/Data/mapper/MessageRemoteDTOMapper.d.ts.map +1 -0
- package/dist/Data/mapper/UserLocalDTOMapper.d.ts.map +1 -0
- package/dist/Data/mapper/UserRemoteDTOMapper.d.ts.map +1 -0
- package/dist/Data/repository/ConnectionRepository.d.ts.map +1 -0
- package/dist/Data/repository/DialogsRepository.d.ts.map +1 -0
- package/dist/Data/repository/EventMessagesRepository.d.ts.map +1 -0
- package/dist/Data/repository/FileRepository.d.ts.map +1 -0
- package/dist/Data/repository/MessagesRepository.d.ts.map +1 -0
- package/dist/Data/repository/UsersRepository.d.ts.map +1 -0
- package/dist/Data/source/AISource.d.ts.map +1 -0
- package/dist/Data/source/exception/LocalDataSourceException.d.ts.map +1 -0
- package/dist/Data/source/exception/MapperDTOException.d.ts.map +1 -0
- package/dist/Data/source/exception/RemoteDataSourceException.d.ts.map +1 -0
- package/dist/Data/source/exception/RepositoryException.d.ts.map +1 -0
- package/dist/Data/source/local/ChatLocalStorageDataSource.d.ts.map +1 -0
- package/dist/Data/source/local/ILocalDataSource.d.ts.map +1 -0
- package/dist/Data/source/local/ILocalFileDataSource.d.ts.map +1 -0
- package/dist/Data/source/local/LocalDataSource.d.ts.map +1 -0
- package/dist/Data/source/local/LocalFileDataSource.d.ts.map +1 -0
- package/dist/Data/source/remote/IRemoteDataSource.d.ts.map +1 -0
- package/dist/Data/source/remote/Mapper/DialogDTOMapper.d.ts.map +1 -0
- package/dist/Data/source/remote/Mapper/FileDTOMapper.d.ts.map +1 -0
- package/dist/Data/source/remote/Mapper/IDTOMapper.d.ts.map +1 -0
- package/dist/Data/source/remote/Mapper/MessageDTOMapper.d.ts.map +1 -0
- package/dist/Data/source/remote/Mapper/UserDTOMapper.d.ts.map +1 -0
- package/dist/Data/source/remote/RemoteDataSource.d.ts.map +1 -0
- package/dist/Domain/entity/Chat.d.ts.map +1 -0
- package/dist/Domain/entity/ChatMessageAttachmentEntity.d.ts.map +1 -0
- package/dist/Domain/entity/CustomDataEntity.d.ts.map +1 -0
- package/dist/Domain/entity/DialogEntity.d.ts.map +1 -0
- package/dist/Domain/entity/DialogEventInfo.d.ts.map +1 -0
- package/dist/Domain/entity/DialogTypes.d.ts.map +1 -0
- package/dist/Domain/entity/EventMessageType.d.ts.map +1 -0
- package/dist/Domain/entity/FileEntity.d.ts.map +1 -0
- package/dist/Domain/entity/FileTypes.d.ts.map +1 -0
- package/dist/Domain/entity/GroupDialogEntity.d.ts.map +1 -0
- package/dist/Domain/entity/LastMessageEntity.d.ts.map +1 -0
- package/dist/Domain/entity/MessageEntity.d.ts.map +1 -0
- package/dist/Domain/entity/NotificationTypes.d.ts.map +1 -0
- package/dist/Domain/entity/PrivateDialogEntity.d.ts.map +1 -0
- package/dist/Domain/entity/PublicDialogEntity.d.ts.map +1 -0
- package/dist/Domain/entity/UserEntity.d.ts.map +1 -0
- package/dist/Domain/exception/domain/DomainExecption.d.ts.map +1 -0
- package/dist/Domain/repository/IDialogsRepository.d.ts.map +1 -0
- package/dist/Domain/repository/IFileRepository.d.ts.map +1 -0
- package/dist/Domain/repository/IMessagesRepository.d.ts.map +1 -0
- package/dist/Domain/repository/IUsersRepository.d.ts.map +1 -0
- package/dist/Domain/repository/Pagination.d.ts.map +1 -0
- package/dist/Domain/use_cases/CreateDialogUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/ForwardMessagesUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/GetAllDialogsUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/GetAllDialogsUseCaseWithMock.d.ts.map +1 -0
- package/dist/Domain/use_cases/GetAllMessagesForDialog.d.ts.map +1 -0
- package/dist/Domain/use_cases/GetAllUsersUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/GetDialogByIdUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/GetUsersByIdsUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/LeaveDialogUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/RemoveUsersFromTheDialogUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/ReplyMessagesUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/SendTextMessageUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/SubscribeToDialogEventsUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/SubscribeToDialogsUpdatesUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/SubscribeToDialogsUpdatesUseCaseWithMock.d.ts.map +1 -0
- package/dist/Domain/use_cases/SyncDialogsUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/UpdateCurrentDialogInDataSourceUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/UpdateDialogUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/UploadFileUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/UserTypingMessageUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/ai/AIAnswerAssistUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/ai/AIAnswerAssistWithProxyUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/ai/AIAnswerAssistWithSDKUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/ai/AIRephraseUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/ai/AIRephraseWithProxyUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/ai/AITranslateUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/ai/AITranslateWithProxyUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/ai/AITranslateWithSDKUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/base/BaseUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/base/IUseCase.d.ts.map +1 -0
- package/dist/Domain/use_cases/base/Subscribable/ISubscribable.d.ts.map +1 -0
- package/dist/Domain/use_cases/base/Subscribable/SubscriptionPerformer.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/AIComponents/AIAssist/AIAssist.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/AIComponents/AIAssistComponent/AIAssistComponent.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/AIComponents/AITranslate/AITranslate.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/AIComponents/AITranslateComponent/AITranslateComponent.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/AIWidgets/AIMessageWidget.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/AIWidgets/AIRephraseWidget/AIRephraseWidget.d.ts +1 -2
- package/dist/Presentation/Views/Dialog/AIWidgets/AIRephraseWidget/AIRephraseWidget.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/AIWidgets/AIWidgetActions/AIWidgetActions.d.ts +1 -1
- package/dist/Presentation/Views/Dialog/AIWidgets/AIWidgetActions/AIWidgetActions.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/AIWidgets/ErrorMessageIcon.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/AIWidgets/SliderMenu.d.ts +2 -2
- package/dist/Presentation/Views/Dialog/AIWidgets/SliderMenu.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/AIWidgets/Tone.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/AIWidgets/UseDefaultAIAssistAnswerWidget.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/AIWidgets/UseDefaultAIAssistAnswerWidgetWithProxy.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/AIWidgets/UseDefaultAIAssistAnswerWidgetWithSDK.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/AIWidgets/UseDefaultAIRephraseMessageWidget.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/AIWidgets/UseDefaultAIRephraseMessageWidgetWithProxy.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/AIWidgets/UseDefaultAITranslateWidget.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/AIWidgets/UseDefaultAITranslateWidgetWithProxy.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/AIWidgets/UseDefaultAITranslateWidgetWithSDK.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/AIWidgets/useDefaultVoiceInputWidget.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/ContextMenu/ContextMenu.d.ts +1 -1
- package/dist/Presentation/Views/Dialog/ContextMenu/ContextMenu.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/Dialog.d.ts +2 -1
- package/dist/Presentation/Views/Dialog/Dialog.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/DialogHeader/DialogBackIcon/DialogBackIcon.d.ts +1 -2
- package/dist/Presentation/Views/Dialog/DialogHeader/DialogBackIcon/DialogBackIcon.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/DialogHeader/DialogHeader.d.ts +2 -1
- package/dist/Presentation/Views/Dialog/DialogHeader/DialogHeader.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/DialogHeader/DialogInfoIcon/DialogInfoIcon.d.ts +1 -2
- package/dist/Presentation/Views/Dialog/DialogHeader/DialogInfoIcon/DialogInfoIcon.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/DialogViewModel.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/DropDownMenu/DropDownMenu.d.ts +2 -1
- package/dist/Presentation/Views/Dialog/DropDownMenu/DropDownMenu.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/DropDownMenu/ItemDropDownMenu/ItemDropDownMenu.d.ts +2 -1
- package/dist/Presentation/Views/Dialog/DropDownMenu/ItemDropDownMenu/ItemDropDownMenu.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/ErrorToast/ErrorToast.d.ts +1 -2
- package/dist/Presentation/Views/Dialog/ErrorToast/ErrorToast.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogListItem/DialogListItem.d.ts +1 -2
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogListItem/DialogListItem.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogsWithSearch.d.ts +1 -2
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogsWithSearch.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/SearchComponent/SearchComponent.d.ts +1 -2
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/SearchComponent/SearchComponent.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessageFlow.d.ts +1 -2
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessageFlow.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessagePreview/ForwardMessagePreview.d.ts +1 -2
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessagePreview/ForwardMessagePreview.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/InputForForwarding/InputForForwarding.d.ts +1 -2
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/InputForForwarding/InputForForwarding.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/InputMessage/InputMessage.d.ts +2 -1
- package/dist/Presentation/Views/Dialog/InputMessage/InputMessage.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/Message/HighLightLink/HighLightLink.d.ts +1 -2
- package/dist/Presentation/Views/Dialog/Message/HighLightLink/HighLightLink.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/Message/IncomingForwardedMessage/IncomingForwardedMessage.d.ts +1 -0
- package/dist/Presentation/Views/Dialog/Message/IncomingForwardedMessage/IncomingForwardedMessage.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/Message/IncomingMessage/AvatarContentIncomingUser/AvatarContentIncomingUser.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/Message/IncomingMessage/IncomingMessage.d.ts +1 -0
- package/dist/Presentation/Views/Dialog/Message/IncomingMessage/IncomingMessage.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/Message/IncomingMessage/MessageContentComponent/MessageContentComponent.d.ts +1 -0
- package/dist/Presentation/Views/Dialog/Message/IncomingMessage/MessageContentComponent/MessageContentComponent.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/Message/IncomingRepliedMessage/IncomingRepliedMessage.d.ts +1 -0
- package/dist/Presentation/Views/Dialog/Message/IncomingRepliedMessage/IncomingRepliedMessage.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/Message/Message.d.ts +2 -2
- package/dist/Presentation/Views/Dialog/Message/Message.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/Message/MessageAttachment/AudioAttachment/AudioAttachment.d.ts +1 -2
- package/dist/Presentation/Views/Dialog/Message/MessageAttachment/AudioAttachment/AudioAttachment.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/Message/MessageAttachment/DefaultAttachment/DefaultAttachment.d.ts +1 -2
- package/dist/Presentation/Views/Dialog/Message/MessageAttachment/DefaultAttachment/DefaultAttachment.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/Message/MessageAttachment/ImageAttachment/ImageAttachment.d.ts +1 -2
- package/dist/Presentation/Views/Dialog/Message/MessageAttachment/ImageAttachment/ImageAttachment.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/Message/MessageAttachment/MessageAttachment.d.ts +1 -1
- package/dist/Presentation/Views/Dialog/Message/MessageAttachment/MessageAttachment.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/Message/MessageAttachment/VideoAttachment/VideoAttachment.d.ts +1 -2
- package/dist/Presentation/Views/Dialog/Message/MessageAttachment/VideoAttachment/VideoAttachment.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/Message/MessageContextMenu/MessageContextMenu.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/Message/OutgoinForwardedMessage/OutgoinForwardedMessage.d.ts +1 -0
- package/dist/Presentation/Views/Dialog/Message/OutgoinForwardedMessage/OutgoinForwardedMessage.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/Message/OutgoingMessage/OutgoingMessage.d.ts +1 -1
- package/dist/Presentation/Views/Dialog/Message/OutgoingMessage/OutgoingMessage.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/Message/OutgoingRepliedMessage/OutgoingRepliedMessage.d.ts +1 -0
- package/dist/Presentation/Views/Dialog/Message/OutgoingRepliedMessage/OutgoingRepliedMessage.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/MessageContextMenu/MessageContextMenu.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/MessageItem/MessageItem.d.ts +1 -0
- package/dist/Presentation/Views/Dialog/MessageItem/MessageItem.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/SystemDateBanner/SystemDateBanner.d.ts +1 -2
- package/dist/Presentation/Views/Dialog/SystemDateBanner/SystemDateBanner.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/SystemMessageBanner/SystemMessageBanner.d.ts +1 -2
- package/dist/Presentation/Views/Dialog/SystemMessageBanner/SystemMessageBanner.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/VoiceMessage/VoiceMessage.d.ts +2 -1
- package/dist/Presentation/Views/Dialog/VoiceMessage/VoiceMessage.d.ts.map +1 -0
- package/dist/Presentation/Views/Dialog/useDialogViewModel.d.ts.map +1 -0
- package/dist/Presentation/Views/DialogInfo/DialogInfo.d.ts +2 -1
- package/dist/Presentation/Views/DialogInfo/DialogInfo.d.ts.map +1 -0
- package/dist/Presentation/Views/DialogInfo/DialogMemberButton/DialogMembersButton.d.ts +1 -2
- package/dist/Presentation/Views/DialogInfo/DialogMemberButton/DialogMembersButton.d.ts.map +1 -0
- package/dist/Presentation/Views/DialogInfo/MembersList/MembersList.d.ts +1 -2
- package/dist/Presentation/Views/DialogInfo/MembersList/MembersList.d.ts.map +1 -0
- package/dist/Presentation/Views/DialogInfo/UsersList/SingleUser/SingleUser.d.ts +1 -2
- package/dist/Presentation/Views/DialogInfo/UsersList/SingleUser/SingleUser.d.ts.map +1 -0
- package/dist/Presentation/Views/DialogInfo/UsersList/UsersList.d.ts +1 -0
- package/dist/Presentation/Views/DialogInfo/UsersList/UsersList.d.ts.map +1 -0
- package/dist/Presentation/Views/DialogInfo/UsersList/UsersListViewModel.d.ts.map +1 -0
- package/dist/Presentation/Views/DialogInfo/UsersList/useUsersListViewModel.d.ts.map +1 -0
- package/dist/Presentation/Views/DialogList/DialogList.d.ts +6 -5
- package/dist/Presentation/Views/DialogList/DialogList.d.ts.map +1 -0
- package/dist/Presentation/Views/DialogList/DialogListViewModel.d.ts.map +1 -0
- package/dist/Presentation/Views/DialogList/useDialogListViewModel.d.ts.map +1 -0
- package/dist/Presentation/Views/DialogListHeader/DialogListHeader.d.ts +1 -2
- package/dist/Presentation/Views/DialogListHeader/DialogListHeader.d.ts.map +1 -0
- package/dist/Presentation/Views/EditDialog/EditDialog.d.ts +1 -2
- package/dist/Presentation/Views/EditDialog/EditDialog.d.ts.map +1 -0
- package/dist/Presentation/Views/EditDialog/UserAvatar/UserAvatar.d.ts +1 -2
- package/dist/Presentation/Views/EditDialog/UserAvatar/UserAvatar.d.ts.map +1 -0
- package/dist/Presentation/Views/Flow/CreateDialog/CreateDialog.d.ts +1 -2
- package/dist/Presentation/Views/Flow/CreateDialog/CreateDialog.d.ts.map +1 -0
- package/dist/Presentation/Views/Flow/CreateDialogFlow/CreateNewDialogFlow.d.ts +1 -2
- package/dist/Presentation/Views/Flow/CreateDialogFlow/CreateNewDialogFlow.d.ts.map +1 -0
- package/dist/Presentation/Views/Flow/LeaveDialogFlow/LeaveDialogFlow.d.ts +1 -2
- package/dist/Presentation/Views/Flow/LeaveDialogFlow/LeaveDialogFlow.d.ts.map +1 -0
- package/dist/Presentation/Views/InviteMembers/InviteMembers.d.ts +1 -2
- package/dist/Presentation/Views/InviteMembers/InviteMembers.d.ts.map +1 -0
- package/dist/Presentation/Views/InviteMembers/InviteMembersViewModel.d.ts.map +1 -0
- package/dist/Presentation/Views/InviteMembers/InviteUsersList/SingleUserWithCheckBox/SingleUserWithCheckBox.d.ts +1 -2
- package/dist/Presentation/Views/InviteMembers/InviteUsersList/SingleUserWithCheckBox/SingleUserWithCheckBox.d.ts.map +1 -0
- package/dist/Presentation/Views/InviteMembers/InviteUsersResultViewModel.d.ts.map +1 -0
- package/dist/Presentation/Views/InviteMembers/NotFoundContent/NotFoundContent.d.ts +1 -2
- package/dist/Presentation/Views/InviteMembers/NotFoundContent/NotFoundContent.d.ts.map +1 -0
- package/dist/Presentation/Views/InviteMembers/useInviteMembersViewModel.d.ts.map +1 -0
- package/dist/Presentation/Views/PreviewDialog/PreviewDialog.d.ts +2 -2
- package/dist/Presentation/Views/PreviewDialog/PreviewDialog.d.ts.map +1 -0
- package/dist/Presentation/Views/PreviewDialog/PreviewDialogContextMenu/PreviewDialogContextMenu.d.ts.map +1 -0
- package/dist/Presentation/Views/PreviewDialog/PreviewDialogViewModel.d.ts.map +1 -0
- package/dist/Presentation/Views/YesNoQuestion/YesNoQuestion.d.ts +1 -2
- package/dist/Presentation/Views/YesNoQuestion/YesNoQuestion.d.ts.map +1 -0
- package/dist/Presentation/components/Navbar.d.ts.map +1 -0
- package/dist/Presentation/components/UI/Buttons/ActiveButton/ActiveButton.d.ts +2 -1
- package/dist/Presentation/components/UI/Buttons/ActiveButton/ActiveButton.d.ts.map +1 -0
- package/dist/Presentation/components/UI/Buttons/MainBoundedButton/MainBoundedButton.d.ts +2 -1
- package/dist/Presentation/components/UI/Buttons/MainBoundedButton/MainBoundedButton.d.ts.map +1 -0
- package/dist/Presentation/components/UI/Buttons/MainButton/MainButton.d.ts +2 -1
- package/dist/Presentation/components/UI/Buttons/MainButton/MainButton.d.ts.map +1 -0
- package/dist/Presentation/components/UI/Elements/SwitchButton/SwitchButton.d.ts +2 -1
- package/dist/Presentation/components/UI/Elements/SwitchButton/SwitchButton.d.ts.map +1 -0
- package/dist/Presentation/components/UI/Placeholders/ErrorComponent/ErrorComponent.d.ts +1 -2
- package/dist/Presentation/components/UI/Placeholders/ErrorComponent/ErrorComponent.d.ts.map +1 -0
- package/dist/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/ActiveSvg/ActiveSvg.d.ts +2 -1
- package/dist/Presentation/components/UI/svgs/ActiveSvg/ActiveSvg.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/AIWidget/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/BookIcon/BookIcon.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/BotIcon/BotIcon.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/HammerIcon/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/HandshakeIcon/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/MuscleIcon/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/NecktieIcon/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/NeutralFaceIcon/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/PalmsUpTogetherIcon/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/PerformingArtsIcon/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/PointUpIcon/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/SmileyIcon/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/SmirkIcon/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/AIWidgets/WhiteCheckMarkIcon/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Add/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/AddContact/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Archive/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/AssistAnswer/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Copy/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Delete/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Download/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Edit/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/EditDots/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Emoji/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/ForwardFilled/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Hungup/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/IncomeCall/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Like/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/NewChat/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/OutcomeCall/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Phone/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/PhoneFilled/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Remove/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Remove2/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/ReplyFilled/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Send/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Share/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Summarize/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/SwapCamera/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Tone/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Unarchive/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/VideoIcon/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Actions/Voice/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Contents/Brodcast/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Contents/Chat/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Contents/ChatFilled/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Contents/Conference/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Contents/Contact/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Contents/ContactFilled/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Contents/GroupChat/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Contents/Notifications/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Contents/PrivateChat/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Contents/PublicChannel/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Contents/Stream/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Contents/StreamFilled/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Contents/User/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/IconsCommonTypes.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Media/Attachment/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Media/AudioFile/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Media/BrokenFile/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Media/Camera/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Media/GifFile/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Media/ImageEmpty/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Media/ImageFile/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Media/ImageFilled/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Media/LinkWeb/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Media/Location/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Media/TextDocument/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Media/Translate/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Media/VideoFile/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Moderation/Admin/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Moderation/Banned/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Moderation/Freeze/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Moderation/Moderations/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Moderation/Muted/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/ArrowLeft/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/ArrowRight/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/Back/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/Close/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/Down/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/Leave/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/More/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/Next/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/Plus/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/Refresh/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/Search/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/Settings/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Navigation/SettingsField/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Status/Error/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Status/Help/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Status/Information/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Status/InformationFill/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Status/Loader/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Status/Mention/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Status/Sent/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Status/ViewedDelivered/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/CameraOff/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/CameraOn/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/CheckOff/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/CheckOn/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/Favourite/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/FavouriteFilled/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/FullScreen/inex.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/Hide/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/ImagePlay/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/Louder/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/MicOff/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/MicOn/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/Minimize/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/NotifyOff/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/NotifyOn/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/Pause/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/Quite/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/Record/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/Screenshare/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/Show/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/Speaker/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/SpeakerOff/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/StopRecord/index.d.ts.map +1 -0
- package/dist/Presentation/components/UI/svgs/Icons/Toggle/StopShare/index.d.ts.map +1 -0
- package/dist/Presentation/components/containers/ColumnContainer/ColumnContainer.d.ts +1 -2
- package/dist/Presentation/components/containers/ColumnContainer/ColumnContainer.d.ts.map +1 -0
- package/dist/Presentation/components/containers/RowCenterContainer/RowCenterContainer.d.ts +2 -1
- package/dist/Presentation/components/containers/RowCenterContainer/RowCenterContainer.d.ts.map +1 -0
- package/dist/Presentation/components/containers/RowLeftContainer/RowLeftContainer.d.ts +2 -1
- package/dist/Presentation/components/containers/RowLeftContainer/RowLeftContainer.d.ts.map +1 -0
- package/dist/Presentation/components/containers/RowRightContainer/RowRightContainer.d.ts +2 -1
- package/dist/Presentation/components/containers/RowRightContainer/RowRightContainer.d.ts.map +1 -0
- package/dist/Presentation/components/containers/ScrollableContainer/ScrollableContainer.d.ts +1 -0
- package/dist/Presentation/components/containers/ScrollableContainer/ScrollableContainer.d.ts.map +1 -0
- package/dist/Presentation/components/containers/SectionList/hooks/createUseComponent.d.ts.map +1 -0
- package/dist/Presentation/components/containers/SectionList/hooks/index.d.ts.map +1 -0
- package/dist/Presentation/components/containers/SectionList/hooks/useMobileLayout.d.ts.map +1 -0
- package/dist/Presentation/components/containers/SectionList/hooks/usePrevious.d.ts.map +1 -0
- package/dist/Presentation/components/containers/SectionList/hooks/useVisibility.d.ts.map +1 -0
- package/dist/Presentation/components/containers/SectionList/index.d.ts.map +1 -0
- package/dist/Presentation/components/containers/SectionList/useComponent.d.ts +1 -0
- package/dist/Presentation/components/containers/SectionList/useComponent.d.ts.map +1 -0
- package/dist/Presentation/icons/actions/index.d.ts +27 -26
- package/dist/Presentation/icons/actions/index.d.ts.map +1 -0
- package/dist/Presentation/icons/contents/index.d.ts +14 -13
- package/dist/Presentation/icons/contents/index.d.ts.map +1 -0
- package/dist/Presentation/icons/index.d.ts +1 -1
- package/dist/Presentation/icons/index.d.ts.map +1 -0
- package/dist/Presentation/icons/media/index.d.ts +13 -12
- package/dist/Presentation/icons/media/index.d.ts.map +1 -0
- package/dist/Presentation/icons/moderation/index.d.ts +6 -5
- package/dist/Presentation/icons/moderation/index.d.ts.map +1 -0
- package/dist/Presentation/icons/navigation/index.d.ts +13 -12
- package/dist/Presentation/icons/navigation/index.d.ts.map +1 -0
- package/dist/Presentation/icons/status/index.d.ts +8 -7
- package/dist/Presentation/icons/status/index.d.ts.map +1 -0
- package/dist/Presentation/icons/toggle/index.d.ts +24 -23
- package/dist/Presentation/icons/toggle/index.d.ts.map +1 -0
- package/dist/Presentation/layouts/Desktop/DesktopLayout.d.ts +1 -0
- package/dist/Presentation/layouts/Desktop/DesktopLayout.d.ts.map +1 -0
- package/dist/Presentation/layouts/Desktop/QuickBloxUIKitDesktopLayout.d.ts +1 -2
- package/dist/Presentation/layouts/Desktop/QuickBloxUIKitDesktopLayout.d.ts.map +1 -0
- package/dist/Presentation/layouts/LayoutCommonTypes.d.ts +1 -0
- package/dist/Presentation/layouts/LayoutCommonTypes.d.ts.map +1 -0
- package/dist/Presentation/layouts/TestStage/CompanyLogo/CompanyLogo.d.ts +1 -0
- package/dist/Presentation/layouts/TestStage/CompanyLogo/CompanyLogo.d.ts.map +1 -0
- package/dist/Presentation/layouts/TestStage/LoginView/Login.d.ts +1 -2
- package/dist/Presentation/layouts/TestStage/LoginView/Login.d.ts.map +1 -0
- package/dist/Presentation/providers/ProviderProps.d.ts +1 -0
- package/dist/Presentation/providers/ProviderProps.d.ts.map +1 -0
- package/dist/Presentation/providers/QuickBloxUIKitProvider/QuickBloxUIKitProvider.d.ts +1 -0
- package/dist/Presentation/providers/QuickBloxUIKitProvider/QuickBloxUIKitProvider.d.ts.map +1 -0
- package/dist/Presentation/providers/QuickBloxUIKitProvider/useEventMessagesRepository.d.ts.map +1 -0
- package/dist/Presentation/providers/QuickBloxUIKitProvider/useQBConnection.d.ts.map +1 -0
- package/dist/Presentation/providers/QuickBloxUIKitProvider/useQbInitializedDataContext.d.ts.map +1 -0
- package/dist/Presentation/providers/QuickBloxUIKitProvider/useQbUIKitDataContext.d.ts.map +1 -0
- package/dist/Presentation/themes/DarkTheme.d.ts.map +1 -0
- package/dist/Presentation/themes/DefaultThemes/CustomTheme.d.ts.map +1 -0
- package/dist/Presentation/themes/DefaultThemes/DefaultTheme.d.ts.map +1 -0
- package/dist/Presentation/themes/LightTheme.d.ts.map +1 -0
- package/dist/Presentation/themes/ThemeScheme.d.ts.map +1 -0
- package/dist/Presentation/themes/UiKitTheme.d.ts.map +1 -0
- package/dist/Presentation/ui-components/Avatar/Avatar.d.ts +1 -0
- package/dist/Presentation/ui-components/Avatar/Avatar.d.ts.map +1 -0
- package/dist/Presentation/ui-components/Badge/Badge.d.ts.map +1 -0
- package/dist/Presentation/ui-components/Badge/Badge.stories.d.ts.map +1 -0
- package/dist/Presentation/ui-components/Button/Button.d.ts +1 -0
- package/dist/Presentation/ui-components/Button/Button.d.ts.map +1 -0
- package/dist/Presentation/ui-components/Button/Button.stories.d.ts +4 -4
- package/dist/Presentation/ui-components/Button/Button.stories.d.ts.map +1 -0
- package/dist/Presentation/ui-components/CheckBox/CheckBox.d.ts.map +1 -0
- package/dist/Presentation/ui-components/DialogBanner/DialogBanner.d.ts.map +1 -0
- package/dist/Presentation/ui-components/DialogBanner/DialogBanner.stories.d.ts.map +1 -0
- package/dist/Presentation/ui-components/DialogItemPreview/DialogItemPreview.d.ts +2 -1
- package/dist/Presentation/ui-components/DialogItemPreview/DialogItemPreview.d.ts.map +1 -0
- package/dist/Presentation/ui-components/DialogWindow/DialogWindow.d.ts +4 -3
- package/dist/Presentation/ui-components/DialogWindow/DialogWindow.d.ts.map +1 -0
- package/dist/Presentation/ui-components/Dropdown/Dropdown.d.ts +1 -0
- package/dist/Presentation/ui-components/Dropdown/Dropdown.d.ts.map +1 -0
- package/dist/Presentation/ui-components/Dropdown/DropdownOption.d.ts +1 -0
- package/dist/Presentation/ui-components/Dropdown/DropdownOption.d.ts.map +1 -0
- package/dist/Presentation/ui-components/Header/Header.d.ts +2 -1
- package/dist/Presentation/ui-components/Header/Header.d.ts.map +1 -0
- package/dist/Presentation/ui-components/Loader/Loader.d.ts.map +1 -0
- package/dist/Presentation/ui-components/Loader/Loader.stories.d.ts +1 -1
- package/dist/Presentation/ui-components/Loader/Loader.stories.d.ts.map +1 -0
- package/dist/Presentation/ui-components/Message/Bubble/AttachmentBubble/AttachmentBubble.d.ts.map +1 -0
- package/dist/Presentation/ui-components/Message/Bubble/AudioBubble/AudioBubble.d.ts.map +1 -0
- package/dist/Presentation/ui-components/Message/Bubble/FileBubble/FileBubble.d.ts.map +1 -0
- package/dist/Presentation/ui-components/Message/Bubble/ImageBubble/ImageBubble.d.ts.map +1 -0
- package/dist/Presentation/ui-components/Message/Bubble/TextBubble/TextBubble.d.ts.map +1 -0
- package/dist/Presentation/ui-components/Message/Bubble/VideoBubble/VideoBubble.d.ts.map +1 -0
- package/dist/Presentation/ui-components/Message/FileUrl/FileUrl.d.ts.map +1 -0
- package/dist/Presentation/ui-components/Message/Message.d.ts +1 -0
- package/dist/Presentation/ui-components/Message/Message.d.ts.map +1 -0
- package/dist/Presentation/ui-components/Message/MessageCaption/MessageCaption.d.ts.map +1 -0
- package/dist/Presentation/ui-components/Message/TimeAndStatus/TimeAndStatus.d.ts.map +1 -0
- package/dist/Presentation/ui-components/MessageInput/AttachmentUploader/AttachmentUploader.d.ts +2 -1
- package/dist/Presentation/ui-components/MessageInput/AttachmentUploader/AttachmentUploader.d.ts.map +1 -0
- package/dist/Presentation/ui-components/MessageInput/MessageInput.d.ts +2 -1
- package/dist/Presentation/ui-components/MessageInput/MessageInput.d.ts.map +1 -0
- package/dist/Presentation/ui-components/MessageInput/ReplyMessagePreview/ReplyImagePreviewAttachment/ReplyImagePreviewAttachment.d.ts +1 -2
- package/dist/Presentation/ui-components/MessageInput/ReplyMessagePreview/ReplyImagePreviewAttachment/ReplyImagePreviewAttachment.d.ts.map +1 -0
- package/dist/Presentation/ui-components/MessageInput/ReplyMessagePreview/ReplyMessagePreview.d.ts +1 -2
- package/dist/Presentation/ui-components/MessageInput/ReplyMessagePreview/ReplyMessagePreview.d.ts.map +1 -0
- package/dist/Presentation/ui-components/MessageInput/VoiceRecordingProgress/VoiceRecordingProgress.d.ts +1 -2
- package/dist/Presentation/ui-components/MessageInput/VoiceRecordingProgress/VoiceRecordingProgress.d.ts.map +1 -0
- package/dist/Presentation/ui-components/MessageSeparator/MessageSeparator.d.ts.map +1 -0
- package/dist/Presentation/ui-components/MessageSeparator/MessageSeparator.stories.d.ts +1 -1
- package/dist/Presentation/ui-components/MessageSeparator/MessageSeparator.stories.d.ts.map +1 -0
- package/dist/Presentation/ui-components/Placeholder/Placeholder.d.ts +1 -0
- package/dist/Presentation/ui-components/Placeholder/Placeholder.d.ts.map +1 -0
- package/dist/Presentation/ui-components/PreviewFileMessage/PreviewFileMessage.d.ts.map +1 -0
- package/dist/Presentation/ui-components/PreviewFileMessage/PreviewFileMessage.stories.d.ts.map +1 -0
- package/dist/Presentation/ui-components/SettingsItem/SettingsItem.d.ts +1 -0
- package/dist/Presentation/ui-components/SettingsItem/SettingsItem.d.ts.map +1 -0
- package/dist/Presentation/ui-components/TextField/TextField.d.ts +3 -2
- package/dist/Presentation/ui-components/TextField/TextField.d.ts.map +1 -0
- package/dist/Presentation/ui-components/TextField/TextField.stories.d.ts.map +1 -0
- package/dist/Presentation/ui-components/Toast/ToastProvider.d.ts +1 -0
- package/dist/Presentation/ui-components/Toast/ToastProvider.d.ts.map +1 -0
- package/dist/Presentation/ui-components/UserListItem/UserListItem.d.ts.map +1 -0
- package/dist/Presentation/ui-components/UserListItem/UserListItem.stories.d.ts +2 -2
- package/dist/Presentation/ui-components/index.d.ts.map +1 -0
- package/dist/QBconfig.d.ts.map +1 -0
- package/dist/hooks/useModal.d.ts.map +1 -0
- package/dist/hooks/useQuickBloxUIKit.d.ts +5 -2
- package/dist/hooks/useQuickBloxUIKit.d.ts.map +1 -0
- package/dist/index-ui.d.ts +1 -3
- package/dist/index-ui.d.ts.map +1 -0
- package/dist/index-ui.js +73632 -35652
- package/dist/index.d.ts.map +1 -0
- package/dist/qb-api-calls/index.d.ts.map +1 -0
- package/dist/setupTests.d.ts.map +1 -0
- package/dist/utils/DateTimeFormatter.d.ts.map +1 -0
- package/dist/utils/formatFileSize.d.ts.map +1 -0
- package/dist/utils/parse.d.ts +1 -1
- package/dist/utils/parse.d.ts.map +1 -0
- package/dist/utils/utils.d.ts.map +1 -0
- package/global.d.ts +11 -202
- package/package.json +46 -45
- package/public/index.html +15 -42
- package/src/App.scss +5 -0
- package/src/App.tsx +53 -33
- package/src/CommonTypes/FunctionResult.ts +1 -0
- package/src/Data/Stubs.ts +6 -6
- package/src/Data/repository/ConnectionRepository.ts +1 -2
- package/src/Data/repository/UsersRepository.ts +2 -2
- package/src/Data/source/remote/RemoteDataSource.ts +1 -1
- package/src/Domain/use_cases/SyncDialogsUseCase.ts +2 -2
- package/src/Domain/use_cases/UserTypingMessageUseCase.ts +3 -3
- package/src/Presentation/Views/Dialog/AIComponents/AIAssist/AIAssist.tsx +1 -1
- package/src/Presentation/Views/Dialog/AIComponents/AITranslate/AITranslate.tsx +1 -1
- package/src/Presentation/Views/Dialog/AIWidgets/AIRephraseWidget/AIRephraseWidget.tsx +1 -1
- package/src/Presentation/Views/Dialog/AIWidgets/SliderMenu.tsx +2 -2
- package/src/Presentation/Views/Dialog/Dialog.tsx +12 -12
- package/src/Presentation/Views/Dialog/DialogHeader/DialogBackIcon/DialogBackIcon.tsx +1 -4
- package/src/Presentation/Views/Dialog/DialogHeader/DialogHeader.tsx +1 -1
- package/src/Presentation/Views/Dialog/DialogHeader/DialogInfoIcon/DialogInfoIcon.tsx +1 -4
- package/src/Presentation/Views/Dialog/DropDownMenu/DropDownMenu.tsx +1 -1
- package/src/Presentation/Views/Dialog/DropDownMenu/ItemDropDownMenu/ItemDropDownMenu.tsx +1 -1
- package/src/Presentation/Views/Dialog/ErrorToast/ErrorToast.tsx +1 -1
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogListItem/DialogListItem.tsx +1 -1
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogsWithSearch.tsx +1 -1
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/SearchComponent/SearchComponent.tsx +1 -1
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessageFlow.tsx +1 -1
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessagePreview/ForwardMessagePreview.tsx +1 -1
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/InputForForwarding/InputForForwarding.tsx +1 -1
- package/src/Presentation/Views/Dialog/InputMessage/InputMessage.tsx +1 -1
- package/src/Presentation/Views/Dialog/Message/HighLightLink/HighLightLink.tsx +1 -1
- package/src/Presentation/Views/Dialog/Message/Message.tsx +1 -1
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/AudioAttachment/AudioAttachment.tsx +1 -1
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/DefaultAttachment/DefaultAttachment.tsx +1 -1
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/ImageAttachment/ImageAttachment.tsx +1 -1
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/VideoAttachment/VideoAttachment.tsx +1 -1
- package/src/Presentation/Views/Dialog/MessageContextMenu/MessageContextMenu.tsx +3 -3
- package/src/Presentation/Views/Dialog/MessageItem/MessageItem.tsx +1 -1
- package/src/Presentation/Views/Dialog/SystemDateBanner/SystemDateBanner.tsx +1 -1
- package/src/Presentation/Views/Dialog/SystemMessageBanner/SystemMessageBanner.tsx +1 -1
- package/src/Presentation/Views/Dialog/VoiceMessage/VoiceMessage.tsx +1 -1
- package/src/Presentation/Views/DialogInfo/DialogInfo.tsx +1 -1
- package/src/Presentation/Views/DialogInfo/DialogMemberButton/DialogMembersButton.tsx +2 -2
- package/src/Presentation/Views/DialogInfo/MembersList/MembersList.tsx +1 -1
- package/src/Presentation/Views/DialogInfo/UsersList/SingleUser/SingleUser.tsx +1 -1
- package/src/Presentation/Views/DialogList/DialogList.tsx +6 -5
- package/src/Presentation/Views/DialogList/useDialogListViewModel.ts +28 -30
- package/src/Presentation/Views/DialogListHeader/DialogListHeader.scss +1 -1
- package/src/Presentation/Views/DialogListHeader/DialogListHeader.tsx +1 -1
- package/src/Presentation/Views/EditDialog/EditDialog.tsx +2 -2
- package/src/Presentation/Views/EditDialog/UserAvatar/UserAvatar.tsx +2 -2
- package/src/Presentation/Views/Flow/CreateDialog/CreateDialog.tsx +2 -2
- package/src/Presentation/Views/Flow/CreateDialogFlow/CreateNewDialogFlow.tsx +2 -1
- package/src/Presentation/Views/Flow/LeaveDialogFlow/LeaveDialogFlow.tsx +1 -1
- package/src/Presentation/Views/InviteMembers/InviteMembers.tsx +2 -2
- package/src/Presentation/Views/InviteMembers/InviteUsersList/SingleUserWithCheckBox/SingleUserWithCheckBox.tsx +2 -2
- package/src/Presentation/Views/InviteMembers/NotFoundContent/NotFoundContent.tsx +1 -1
- package/src/Presentation/Views/PreviewDialog/PreviewDialog.tsx +1 -1
- package/src/Presentation/Views/YesNoQuestion/YesNoQuestion.tsx +1 -1
- package/src/Presentation/components/UI/Buttons/ActiveButton/ActiveButton.tsx +1 -1
- package/src/Presentation/components/UI/Buttons/MainBoundedButton/MainBoundedButton.tsx +2 -2
- package/src/Presentation/components/UI/Buttons/MainButton/MainButton.tsx +2 -2
- package/src/Presentation/components/UI/Elements/SwitchButton/SwitchButton.tsx +2 -2
- package/src/Presentation/components/UI/Placeholders/ErrorComponent/ErrorComponent.tsx +1 -1
- package/src/Presentation/components/UI/svgs/ActiveSvg/ActiveSvg.tsx +1 -1
- package/src/Presentation/components/containers/ColumnContainer/ColumnContainer.tsx +1 -1
- package/src/Presentation/components/containers/RowCenterContainer/RowCenterContainer.tsx +1 -1
- package/src/Presentation/components/containers/RowLeftContainer/RowLeftContainer.tsx +1 -1
- package/src/Presentation/components/containers/RowRightContainer/RowRightContainer.tsx +1 -1
- package/src/Presentation/icons/actions/index.ts +55 -26
- package/src/Presentation/icons/contents/index.ts +31 -13
- package/src/Presentation/icons/index.ts +17 -1
- package/src/Presentation/icons/media/index.ts +27 -12
- package/src/Presentation/icons/moderation/index.ts +13 -5
- package/src/Presentation/icons/navigation/index.ts +27 -12
- package/src/Presentation/icons/status/index.ts +17 -7
- package/src/Presentation/icons/toggle/index.ts +49 -23
- package/src/Presentation/layouts/Desktop/QuickBloxUIKitDesktopLayout.tsx +33 -38
- package/src/Presentation/layouts/TestStage/LoginView/Login.scss +6 -3
- package/src/Presentation/layouts/TestStage/LoginView/Login.tsx +1 -1
- package/src/Presentation/themes/styles/_fonts.scss +0 -30
- package/src/Presentation/themes/styles/_theme_dark.scss +1 -1
- package/src/Presentation/themes/styles/_theme_light.scss +1 -1
- package/src/Presentation/themes/styles/_variables.scss +2 -2
- package/src/Presentation/ui-components/Avatar/Avatar.scss +3 -3
- package/src/Presentation/ui-components/Avatar/Avatar.tsx +3 -0
- package/src/Presentation/ui-components/Avatar/avatar.stories.tsx +3 -1
- package/src/Presentation/ui-components/Badge/Badge.stories.ts +3 -3
- package/src/Presentation/ui-components/Badge/Badge.tsx +1 -1
- package/src/Presentation/ui-components/Button/Button.scss +1 -1
- package/src/Presentation/ui-components/Button/Button.stories.ts +4 -3
- package/src/Presentation/ui-components/Button/Button.tsx +1 -0
- package/src/Presentation/ui-components/CheckBox/CheckBox.tsx +1 -0
- package/src/Presentation/ui-components/DialogBanner/DialogBanner.scss +13 -13
- package/src/Presentation/ui-components/DialogBanner/DialogBanner.stories.ts +1 -1
- package/src/Presentation/ui-components/DialogBanner/DialogBanner.tsx +2 -1
- package/src/Presentation/ui-components/DialogItemPreview/DialogItemPreview.scss +6 -5
- package/src/Presentation/ui-components/DialogItemPreview/DialogItemPreview.stories.tsx +7 -5
- package/src/Presentation/ui-components/DialogItemPreview/DialogItemPreview.tsx +2 -2
- package/src/Presentation/ui-components/DialogWindow/DialogWindow.scss +4 -5
- package/src/Presentation/ui-components/DialogWindow/DialogWindow.stories.tsx +2 -1
- package/src/Presentation/ui-components/DialogWindow/DialogWindow.tsx +4 -4
- package/src/Presentation/ui-components/Dropdown/Dropdown.scss +1 -1
- package/src/Presentation/ui-components/Dropdown/Dropdown.stories.tsx +3 -2
- package/src/Presentation/ui-components/Dropdown/Dropdown.tsx +1 -1
- package/src/Presentation/ui-components/Dropdown/DropdownOption.tsx +1 -0
- package/src/Presentation/ui-components/Header/Header.scss +8 -3
- package/src/Presentation/ui-components/Header/Header.stories.tsx +1 -0
- package/src/Presentation/ui-components/Header/Header.tsx +2 -2
- package/src/Presentation/ui-components/Loader/Loader.scss +4 -2
- package/src/Presentation/ui-components/Loader/Loader.stories.ts +1 -0
- package/src/Presentation/ui-components/Loader/Loader.tsx +1 -0
- package/src/Presentation/ui-components/Message/Bubble/AudioBubble/AudioBubble.scss +1 -0
- package/src/Presentation/ui-components/Message/Bubble/AudioBubble/AudioBubble.tsx +2 -2
- package/src/Presentation/ui-components/Message/Bubble/FileBubble/FileBubble.tsx +1 -0
- package/src/Presentation/ui-components/Message/Bubble/ImageBubble/ImageBubble.tsx +1 -0
- package/src/Presentation/ui-components/Message/Bubble/TextBubble/TextBubble.scss +3 -2
- package/src/Presentation/ui-components/Message/Bubble/TextBubble/TextBubble.tsx +1 -0
- package/src/Presentation/ui-components/Message/Bubble/VideoBubble/VideoBubble.tsx +1 -0
- package/src/Presentation/ui-components/Message/FileUrl/FileUrl.scss +0 -3
- package/src/Presentation/ui-components/Message/FileUrl/FileUrl.tsx +2 -1
- package/src/Presentation/ui-components/Message/Message.tsx +2 -2
- package/src/Presentation/ui-components/Message/MessageCaption/MessageCaption.tsx +2 -2
- package/src/Presentation/ui-components/Message/TimeAndStatus/TimeAndStatus.tsx +3 -3
- package/src/Presentation/ui-components/MessageInput/AttachmentUploader/AttachmentUploader.tsx +1 -1
- package/src/Presentation/ui-components/MessageInput/MessageInput.tsx +1 -1
- package/src/Presentation/ui-components/MessageInput/ReplyMessagePreview/ReplyImagePreviewAttachment/ReplyImagePreviewAttachment.tsx +1 -4
- package/src/Presentation/ui-components/MessageInput/ReplyMessagePreview/ReplyMessagePreview.tsx +1 -1
- package/src/Presentation/ui-components/MessageInput/VoiceRecordingProgress/VoiceRecordingProgress.tsx +4 -4
- package/src/Presentation/ui-components/MessageSeparator/MessageSeparator.scss +17 -16
- package/src/Presentation/ui-components/MessageSeparator/MessageSeparator.stories.ts +1 -0
- package/src/Presentation/ui-components/MessageSeparator/MessageSeparator.tsx +1 -0
- package/src/Presentation/ui-components/Placeholder/Placeholder.scss +6 -1
- package/src/Presentation/ui-components/Placeholder/Placeholder.stories.tsx +1 -0
- package/src/Presentation/ui-components/Placeholder/Placeholder.tsx +1 -1
- package/src/Presentation/ui-components/PreviewFileMessage/PreviewFileMessage.scss +4 -1
- package/src/Presentation/ui-components/PreviewFileMessage/PreviewFileMessage.stories.ts +3 -1
- package/src/Presentation/ui-components/PreviewFileMessage/PreviewFileMessage.tsx +1 -0
- package/src/Presentation/ui-components/SettingsItem/SettingsItem.scss +8 -2
- package/src/Presentation/ui-components/SettingsItem/SettingsItem.stories.tsx +1 -0
- package/src/Presentation/ui-components/SettingsItem/SettingsItem.tsx +1 -1
- package/src/Presentation/ui-components/TextField/TextField.scss +2 -2
- package/src/Presentation/ui-components/TextField/TextField.stories.ts +3 -2
- package/src/Presentation/ui-components/TextField/TextField.tsx +5 -4
- package/src/Presentation/ui-components/Toast/Toast.stories.tsx +1 -0
- package/src/Presentation/ui-components/Toast/ToastProvider.tsx +1 -1
- package/src/Presentation/ui-components/UserListItem/UserListItem.stories.tsx +3 -3
- package/src/Presentation/ui-components/UserListItem/UserListItem.tsx +1 -0
- package/src/hooks/useQuickBloxUIKit.ts +160 -128
- package/src/index-ui.ts +1 -5
- package/src/index.scss +4 -4
- package/tsconfig.buildlib.json +20 -13
- package/tsconfig.json +6 -7
- package/webpack.app.config.js +67 -0
- package/webpack.lib.config-debug.js +87 -0
- package/webpack.lib.config-prev.js +64 -0
- package/webpack.lib.config.js +87 -0
- package/dist/index-ui.js.map +0 -1
- package/media-recorder-js.d.ts +0 -133
- package/src/react-app-env.d.ts +0 -1
- package/webpack.config.js +0 -82
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAKA,OAAO,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/qb-api-calls/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EACT,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,MAAM,EACN,wBAAwB,EAExB,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,qBAAqB,EACrB,SAAS,EACT,eAAe,EACf,MAAM,EACN,kBAAkB,EAClB,eAAe,EAChB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAEL,iBAAiB,EACjB,qBAAqB,EACrB,aAAa,EACd,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,YAAY,GAAG;IACzB,YAAY,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,cAAc,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB,CAAC;AAGF,eAAO,IAAI,KAAK,EAAE,OAAO,EAAE,GAAG,SAAS,CAAC;AAExC,wBAAgB,KAAK,CAAC,GAAG,EAAE,OAAO,EAAE,QAEnC;AAED,wBAAgB,KAAK,IAAI,OAAO,EAAE,CAMjC;AAED,wBAAgB,MAAM,CAAC,MAAM,EAAE,YAAY,QAW1C;AAED,wBAAgB,eAAe,CAAC,MAAM,CAAC,EAAE,aAAa,sBAsBrD;AAED,wBAAgB,YAAY,uBAe3B;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,aAAa,mBAarD;AAED,wBAAgB,OAAO,CAAC,MAAM,EAAE,aAAa;;;GAU5C;AAED,wBAAgB,QAAQ,qBAOvB;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,iBAAiB,oBAatD;AAED,wBAAgB,gBAAgB,SAK/B;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,kBAAkB,mBAa7D;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,kBAAkB;;;GAUtD;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,mBAavE;AAED,wBAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,2DA4BvD;AAED,wBAAgB,UAAU,CAAC,MAAM,EAAE,aAAa,6BAa/C;AACD,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,+BAa5C;AAGD,wBAAgB,UAAU,CAAC,MAAM,EAAE,cAAc,yCAahD;AAED,wBAAgB,SAAS,CAAC,CAAC,SAAS,cAAc,EAChD,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC;gBAGd,MAAM;WACX,CAAC,EAAE;WACH,MAAM;UACP,MAAM;GAaf;AAED,wBAAgB,YAAY,CAAC,CAAC,SAAS,cAAc,EACnD,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,UAAU,CAAC,OAAO,CAAC,cAc1B;AAED,wBAAgB,YAAY,CAC1B,SAAS,EAAE,MAAM,EACjB,GAAG,EAAE,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,kCAc1D;AAED,wBAAgB,YAAY,CAAC,CAAC,SAAS,cAAc,EACnD,SAAS,EAAE,MAAM,EACjB,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,EACb,IAAI,EAAE,UAAU,CAAC,OAAO,CAAC,cAc1B;AAGD,wBAAgB,YAAY,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,CAAC,0CAapD;AAED,wBAAgB,eAAe,CAAC,EAAE,EAAE,MAAM,0CAazC;AAED,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,EACpB,UAAU,CAAC,EAAE,MAAM,EACnB,IAAI,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,8BAuB3B;AACD,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,EAC5B,UAAU,CAAC,EAAE,MAAM,EACnB,IAAI,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,8BA8C3B;AAED,wBAAgB,cAAc,CAC5B,QAAQ,EAAE,iBAAiB,CAAC,KAAK,CAAC,EAClC,IAAI,EAAE,UAAU,CAAC,OAAO,CAAC,8BAc1B;AAED,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,iBAAiB,CAAC,KAAK,CAAC,oBAcnE;AAED,wBAAgB,cAAc,CAAC,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,iBAaxE;AAED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,iBAAiB,CAAC,KAAK,CAAC,oBAc/D;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,oBAajD;AAED,wBAAgB,eAAe,CAAC,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,oBAatD;AAED,wBAAgB,wBAAwB,CACtC,YAAY,EAAE,wBAAwB,oBAcvC;AA8BD,wBAAgB,yBAAyB,CACvC,QAAQ,EAAE,iBAAiB,CAAC,KAAK,CAAC,EAClC,MAAM,GAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,WAAW,GAAG,YAAY,GAAG,YAAY,CAAC;IACrD,QAAQ,EAAE,WAAW,GAAG,YAAY,GAAG,YAAY,CAAC;IACpD,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,EAAE,CAAC,GAAG,CAAC,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;QACjB,EAAE,EAAE,MAAM,CAAC;QACX,GAAG,EAAE,MAAM,CAAC;QACZ,EAAE,EAAE,MAAM,CAAC;QACX,GAAG,EAAE,MAAM,CAAC;KACb,CAAC,CAAC;CACJ,CAAM,GACN,OAAO,CAAC,iBAAiB,CAAC,CAoB5B;AAED,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,iBAAiB,EACzB,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,QAiBvB;AACD,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,iBAAiB,EACzB,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,QAiBvB;AAGD,wBAAgB,iBAAiB,CAC/B,EAAE,EAAE,MAAM,GAAG,MAAM,EAAE,iBAAiB;AACtC,OAAO,EAAE,qBAAqB,mBAQ/B;AAED,wBAAgB,uBAAuB,CACrC,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,MAAM,EACzB,OAAO,EAAE;IAAE,SAAS,EAAE,eAAe,CAAC,WAAW,CAAC,CAAA;CAAE,mBAQrD;AAED,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,qBAAqB,QAKlE;AAED,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,qBAAqB,QAKvE;AAED,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,eAAe,EACxB,MAAM,EAAE,aAAa,oCAWtB;AAKD,wBAAgB,cAAc,CAC5B,oBAAoB,EAAE,MAAM,EAC5B,eAAe,EAAE,MAAM,EACvB,OAAO,EAAE,aAAa,6BAoBvB;AAED,wBAAgB,WAAW,CACzB,oBAAoB,EAAE,MAAM,EAC5B,eAAe,EAAE,MAAM,EACvB,YAAY,EAAE,MAAM,6BAoBrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setupTests.d.ts","sourceRoot":"","sources":["../src/setupTests.ts"],"names":[],"mappings":"AAIA,OAAO,2BAA2B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateTimeFormatter.d.ts","sourceRoot":"","sources":["../../src/utils/DateTimeFormatter.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,cAAe,MAAM,KAAG,MAkC9C,CAAC;AACF,eAAO,MAAM,oBAAoB,qBAAsB,MAAM,WAW5D,CAAC;AACF,eAAO,MAAM,qBAAqB,qBAAsB,MAAM,WAM7D,CAAC;AAEF,eAAO,MAAM,gBAAgB,qBAAsB,MAAM,WAkBxD,CAAC;AAEF,eAAO,MAAM,gBAAgB,qBAAsB,MAAM,WAQxD,CAAC;AACF,eAAO,MAAM,gBAAgB,qBAAsB,MAAM,WAExD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatFileSize.d.ts","sourceRoot":"","sources":["../../src/utils/formatFileSize.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,SAAU,MAAM,WAO1C,CAAC"}
|
package/dist/utils/parse.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { QBError } from 'quickblox/quickblox';
|
|
2
|
-
export declare const jsonParse: <P>(text: string) =>
|
|
2
|
+
export declare const jsonParse: <P>(text: string) => P | string;
|
|
3
3
|
export declare const parseErrorObject: (data: Dictionary<string | string[]>) => string;
|
|
4
4
|
export declare const parseErrorMessage: (message: string) => string;
|
|
5
5
|
export declare function isQBError(error: unknown): error is QBError;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../src/utils/parse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,eAAO,MAAM,SAAS,YAAa,MAAM,KAAG,CAAC,GAAG,MAQ/C,CAAC;AAEF,eAAO,MAAM,gBAAgB,SAAU,WAAW,MAAM,GAAG,MAAM,EAAE,CAAC,WAUvC,CAAC;AAE9B,eAAO,MAAM,iBAAiB,YAAa,MAAM,WAkBhD,CAAC;AAEF,wBAAgB,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,OAAO,CAE1D;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAoBrD;AAED,eAAO,MAAM,0BAA0B,UAAW,MAAM,YAKvD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EACL,IAAI,EAEL,MAAM,6CAA6C,CAAC;AAErD,eAAO,MAAM,gBAAgB,UAAW,MAAM,WACM,CAAC;AAIrD,eAAO,MAAM,YAAY,UAAW,MAAM,WAAiC,CAAC;AAE5E,eAAO,MAAM,iBAAiB,aACrB,MAAM,QACP,CAAC,EAAE,aACC,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,sBAG5B,CAAC,EAuBH,CAAC;AAEF,qBAAa,OAAO;WACJ,qBAAqB,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM;WAU3D,wBAAwB,CAAC,UAAU,EAAE,MAAM;WAM3C,oBAAoB,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,IAAI;WAYpD,uCAAuC,CACnD,eAAe,EAAE,aAAa,EAAE,EAChC,aAAa,EAAE,MAAM,GAAG,SAAS,EACjC,UAAU,SAAO,GAChB,YAAY,EAAE;CAqBlB"}
|
package/global.d.ts
CHANGED
|
@@ -1,204 +1,13 @@
|
|
|
1
|
-
// interface Tone {
|
|
2
|
-
// name: string;
|
|
3
|
-
// description: string;
|
|
4
|
-
// iconEmoji: string;
|
|
5
|
-
// }
|
|
6
|
-
//
|
|
7
|
-
// type Primitive = string | number | boolean | undefined | null | Date | File;
|
|
8
|
-
|
|
9
|
-
// type SetTails<T, R extends Primitive> = T extends Array<unknown>
|
|
10
|
-
// ? Array<T[number] extends Primitive ? R : SetTails<T[number], R>>
|
|
11
|
-
// : {
|
|
12
|
-
// [K in keyof T]: T[K] extends Primitive ? R : SetTails<T[K], R>;
|
|
13
|
-
// };
|
|
14
|
-
|
|
15
|
-
// type ProxyConfig = {
|
|
16
|
-
// api: string;
|
|
17
|
-
// servername: string;
|
|
18
|
-
// port: string;
|
|
19
|
-
// };
|
|
20
|
-
// interface WidgetConfig {
|
|
21
|
-
// apiKey: string;
|
|
22
|
-
// useDefault: boolean;
|
|
23
|
-
// maxTokens: number;
|
|
24
|
-
// proxyConfig: ProxyConfig;
|
|
25
|
-
// }
|
|
26
|
-
//
|
|
27
|
-
// interface AITranslateWidgetConfig extends WidgetConfig {
|
|
28
|
-
// defaultLanguage: string;
|
|
29
|
-
// languages: string[];
|
|
30
|
-
// }
|
|
31
|
-
//
|
|
32
|
-
// interface AIRephraseWidgetConfig extends WidgetConfig {
|
|
33
|
-
// defaultTone: string;
|
|
34
|
-
// Tones: Tone[];
|
|
35
|
-
// }
|
|
36
|
-
|
|
37
|
-
// interface QBConfig {
|
|
38
|
-
// credentials: {
|
|
39
|
-
// appId: number;
|
|
40
|
-
// accountKey: string;
|
|
41
|
-
// authKey: string;
|
|
42
|
-
// authSecret: string;
|
|
43
|
-
// sessionToken: string; // ??? ui-kit
|
|
44
|
-
// };
|
|
45
|
-
// configAIApi: {
|
|
46
|
-
// // ui-kit
|
|
47
|
-
// AIAnswerAssistWidgetConfig: WidgetConfig;
|
|
48
|
-
// AITranslateWidgetConfig: AITranslateWidgetConfig;
|
|
49
|
-
// AIRephraseWidgetConfig: AIRephraseWidgetConfig;
|
|
50
|
-
// };
|
|
51
|
-
// appConfig: {
|
|
52
|
-
// maxFileSize: number; // ui-kit
|
|
53
|
-
// sessionTimeOut: number; // ?? webRTc -> ui-kit
|
|
54
|
-
// chatProtocol: {
|
|
55
|
-
// active: number;
|
|
56
|
-
// };
|
|
57
|
-
// debug: boolean;
|
|
58
|
-
// enableForwarding: boolean; // ui-kit
|
|
59
|
-
// enableReplying: boolean; // ui-kit
|
|
60
|
-
// regexUserName?: string; // ui-kit
|
|
61
|
-
// endpoints: {
|
|
62
|
-
// api: string;
|
|
63
|
-
// chat: string;
|
|
64
|
-
// };
|
|
65
|
-
// // on: {
|
|
66
|
-
// // sessionExpired: (handleResponse: any, retry: any) => Promise<void>;
|
|
67
|
-
// // };
|
|
68
|
-
// streamManagement: {
|
|
69
|
-
// enable: boolean;
|
|
70
|
-
// };
|
|
71
|
-
// };
|
|
72
|
-
// }
|
|
73
|
-
|
|
74
|
-
/*
|
|
75
|
-
* QuickBlox Types - start
|
|
76
|
-
|
|
77
|
-
*/
|
|
78
|
-
|
|
79
1
|
type Dictionary<T> = Record<string, T>;
|
|
80
|
-
//
|
|
81
|
-
// type RequiredProps<T, K extends keyof T> = T & Required<Pick<T, K>>;
|
|
82
|
-
|
|
83
|
-
// declare enum QBChatProtocol {
|
|
84
|
-
// BOSH = 1,
|
|
85
|
-
// WebSockets = 2,
|
|
86
|
-
// }
|
|
87
|
-
//
|
|
88
|
-
// interface ICEServer {
|
|
89
|
-
// urls: string;
|
|
90
|
-
// username: string;
|
|
91
|
-
// credential: string;
|
|
92
|
-
// }
|
|
93
|
-
|
|
94
|
-
// declare enum QBChatDialogType {
|
|
95
|
-
// PUBLIC_GROUP = 1,
|
|
96
|
-
// GROUP = 2,
|
|
97
|
-
// PRIVATE = 3,
|
|
98
|
-
// }
|
|
99
|
-
|
|
100
|
-
// declare interface QBChatDialog {
|
|
101
|
-
// /** ID of the dialog. Generated automatically by the server after dialog creation. */
|
|
102
|
-
// _id: string;
|
|
103
|
-
// /** ID of dialog's owner. */
|
|
104
|
-
// user_id: QBUser['id'];
|
|
105
|
-
// /** Date & time when a record was created, filled automatically. */
|
|
106
|
-
// created_at: string;
|
|
107
|
-
// /** Date & time when a record was created, filled automatically. */
|
|
108
|
-
// updated_at: string;
|
|
109
|
-
// /**
|
|
110
|
-
// * Type of dialog. Possible values are:
|
|
111
|
-
// * - type=1 (`PUBLIC_GROUP`)
|
|
112
|
-
// * - type=2 (`GROUP`)
|
|
113
|
-
// * - type=3 (`PRIVATE`)
|
|
114
|
-
// */
|
|
115
|
-
// type: QBChatDialogType;
|
|
116
|
-
// /**
|
|
117
|
-
// * Name of a group chat. Makes sense if type=1 (`PUBLIC_GROUP`) or type=2 (`GROUP`).
|
|
118
|
-
// * The maximum length for the dialog name is 200 symbols.
|
|
119
|
-
// */
|
|
120
|
-
// name: string;
|
|
121
|
-
// /**
|
|
122
|
-
// * Photo of a group chat. Makes sense if type=1 (`PUBLIC_GROUP`) or type=2 (`GROUP`).
|
|
123
|
-
// * Can contain a link to a file in Content module, Custom Objects module or just a web link.
|
|
124
|
-
// */
|
|
125
|
-
// photo: null | string;
|
|
126
|
-
// /**
|
|
127
|
-
// * JID of XMPP room for group chat to connect. Nil if type=3 (PRIVATE).
|
|
128
|
-
// * Generated automatically by the server after dialog creation.
|
|
129
|
-
// */
|
|
130
|
-
// xmpp_room_jid: string | null;
|
|
131
|
-
// /** Array of users' IDs - dialog occupants. Does not make sense if type=1 (PUBLIC_GROUP). */
|
|
132
|
-
// occupants_ids: number[];
|
|
133
|
-
// /** Last sent message in this dialog. */
|
|
134
|
-
// last_message: string | null;
|
|
135
|
-
// /** Timestamp of last sent message in this dialog. */
|
|
136
|
-
// last_message_date_sent: number | null | string; // todo: switch type to number
|
|
137
|
-
// /** ID of the user who sent last message in this dialog. */
|
|
138
|
-
// last_message_user_id: QBUser['id'] | null;
|
|
139
|
-
// /** ID of last message in this dialog. */
|
|
140
|
-
// last_message_id: string | null;
|
|
141
|
-
// /** Number of unread messages in this dialog for a current user. */
|
|
142
|
-
// unread_messages_count: number | null;
|
|
143
|
-
// /**
|
|
144
|
-
// * - Information about class and fields in Custom Objects.
|
|
145
|
-
// * - Any dialog can be extended using Custom Objects to store additional parameters.
|
|
146
|
-
// */
|
|
147
|
-
// data?: {
|
|
148
|
-
// /** Class name in Custom Objects. */
|
|
149
|
-
// class_name: string;
|
|
150
|
-
// /** Field name of class in Custom Objects. Can be many: 1..N. */
|
|
151
|
-
// [field_name_N: string]: QBCustomField;
|
|
152
|
-
// };
|
|
153
|
-
// new_occupants_ids?: number[]; // TODO: EXTENDS TYPE AND SWITCH TO THIS NEW TYPE
|
|
154
|
-
// joined?: boolean; // TODO: EXTENDS TYPE AND SWITCH TO THIS NEW TYPE
|
|
155
|
-
// }
|
|
156
|
-
|
|
157
|
-
// declare interface QBChatNewMessage {
|
|
158
|
-
// type: 'chat' | 'groupchat';
|
|
159
|
-
// body: string;
|
|
160
|
-
// notification_type?: string; // TODO: NED ADD TO TYPE
|
|
161
|
-
// dialog_id: QBChatDialog['_id']; // TODO: NED ADD TO TYPE
|
|
162
|
-
// extension: {
|
|
163
|
-
// attachments?: ChatMessageAttachment[];
|
|
164
|
-
// save_to_history: 0 | 1;
|
|
165
|
-
// dialog_id: QBChatDialog['_id'];
|
|
166
|
-
// notification_type?: string; // TODO: NED ADD TO TYPE
|
|
167
|
-
// sender_id?: QBUser['id']; // TODO: NED ADD TO TYPE
|
|
168
|
-
// qb_message_action?: 'forward' | 'reply'; // TODO: NED ADD TO TYPE
|
|
169
|
-
// origin_sender_name?: string; // TODO: NED ADD TO TYPE
|
|
170
|
-
// qb_original_messages?: string; // TODO: NED ADD TO TYPE
|
|
171
|
-
// };
|
|
172
|
-
// markable: 0 | 1;
|
|
173
|
-
// }
|
|
174
2
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
// /** The user's password or session token */
|
|
187
|
-
// password: string;
|
|
188
|
-
// }
|
|
189
|
-
// | {
|
|
190
|
-
// /** Connect to the chat by user's email */
|
|
191
|
-
// email: string;
|
|
192
|
-
// /** The user's password or session token */
|
|
193
|
-
// password: string;
|
|
194
|
-
// };
|
|
195
|
-
//
|
|
196
|
-
// type QBCustomField =
|
|
197
|
-
// | string
|
|
198
|
-
// | string[]
|
|
199
|
-
// | number
|
|
200
|
-
// | number[]
|
|
201
|
-
// | boolean
|
|
202
|
-
// | boolean[]
|
|
203
|
-
// | null
|
|
204
|
-
// | undefined;
|
|
3
|
+
declare module "*.svg" {
|
|
4
|
+
import React from "react";
|
|
5
|
+
const content: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
|
|
6
|
+
export default content;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
declare module "*.svg?react" {
|
|
10
|
+
import React from "react";
|
|
11
|
+
const content: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
|
|
12
|
+
export default content;
|
|
13
|
+
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "quickblox-react-ui-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0-beta.1",
|
|
4
4
|
"main": "dist/index-ui.js",
|
|
5
|
+
"types": "dist/index-ui.d.ts",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"dependencies": {
|
|
7
|
-
"@types/node": "^16.18.6",
|
|
8
8
|
"@types/react": "^18.0.26",
|
|
9
9
|
"@types/react-dom": "^18.0.9",
|
|
10
10
|
"classnames": "^2.3.2",
|
|
@@ -13,38 +13,40 @@
|
|
|
13
13
|
"qb-ai-rephrase": "^0.1.2",
|
|
14
14
|
"qb-ai-translate": "^0.1.2",
|
|
15
15
|
"quickblox": "^2.19.2",
|
|
16
|
-
"
|
|
17
|
-
"react": "^
|
|
18
|
-
"react-dom": "^18.2.0",
|
|
16
|
+
"react": "^19.0.0",
|
|
17
|
+
"react-dom": "^19.0.0",
|
|
19
18
|
"react-router-dom": "^6.11.1",
|
|
20
|
-
"react-scripts": "5.0.1",
|
|
21
19
|
"react-toastify": "^10.0.4",
|
|
22
20
|
"rxjs": "^7.8.0",
|
|
23
|
-
"
|
|
21
|
+
"typedoc": "^0.25.0",
|
|
22
|
+
"typescript": "^5.2.2",
|
|
24
23
|
"web-vitals": "^2.1.4"
|
|
25
24
|
},
|
|
26
25
|
"devDependencies": {
|
|
27
|
-
"@
|
|
28
|
-
"@
|
|
29
|
-
"@
|
|
30
|
-
"@
|
|
31
|
-
"@storybook
|
|
32
|
-
"@storybook/
|
|
33
|
-
"@storybook/
|
|
34
|
-
"@storybook/
|
|
35
|
-
"@storybook/
|
|
26
|
+
"@babel/core": "^7.26.9",
|
|
27
|
+
"@babel/preset-env": "^7.26.9",
|
|
28
|
+
"@babel/preset-react": "^7.26.3",
|
|
29
|
+
"@babel/preset-typescript": "^7.26.0",
|
|
30
|
+
"@chromatic-com/storybook": "^3.2.4",
|
|
31
|
+
"@storybook/addon-essentials": "^8.5.8",
|
|
32
|
+
"@storybook/addon-interactions": "^8.5.8",
|
|
33
|
+
"@storybook/addon-onboarding": "^8.5.8",
|
|
34
|
+
"@storybook/addon-webpack5-compiler-swc": "^2.1.0",
|
|
35
|
+
"@storybook/blocks": "^8.5.8",
|
|
36
|
+
"@storybook/react": "^8.5.8",
|
|
37
|
+
"@storybook/react-webpack5": "^8.5.8",
|
|
38
|
+
"@storybook/test": "^8.5.8",
|
|
36
39
|
"@svgr/webpack": "^8.1.0",
|
|
37
|
-
"@testing-library/jest-dom": "^
|
|
38
|
-
"@testing-library/react": "^
|
|
39
|
-
"@testing-library/user-event": "^
|
|
40
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
41
|
+
"@testing-library/react": "^16.2.0",
|
|
42
|
+
"@testing-library/user-event": "^14.6.1",
|
|
40
43
|
"@types/jest": "^27.5.2",
|
|
41
|
-
"@types/node": "^
|
|
42
|
-
"@types/react": "^18.0.26",
|
|
43
|
-
"@types/react-dom": "^18.0.9",
|
|
44
|
+
"@types/node": "^20.17.19",
|
|
44
45
|
"@typescript-eslint/eslint-plugin-tslint": "^5.45.1",
|
|
45
46
|
"@typescript-eslint/parser": "^5.45.1",
|
|
46
|
-
"
|
|
47
|
-
"
|
|
47
|
+
"babel-loader": "^9.2.1",
|
|
48
|
+
"compression-webpack-plugin": "^11.1.0",
|
|
49
|
+
"css-loader": "^6.11.0",
|
|
48
50
|
"eslint": "^8.29.0",
|
|
49
51
|
"eslint-config-airbnb": "^19.0.4",
|
|
50
52
|
"eslint-config-prettier": "^8.5.0",
|
|
@@ -57,35 +59,32 @@
|
|
|
57
59
|
"eslint-plugin-promise": "^6.1.1",
|
|
58
60
|
"eslint-plugin-react": "^7.31.11",
|
|
59
61
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
60
|
-
"eslint-plugin-storybook": "^0.
|
|
62
|
+
"eslint-plugin-storybook": "^0.11.3",
|
|
63
|
+
"file-loader": "^6.2.0",
|
|
64
|
+
"html-webpack-plugin": "^5.6.3",
|
|
65
|
+
"mini-css-extract-plugin": "^2.9.2",
|
|
66
|
+
"path-browserify": "^1.0.1",
|
|
61
67
|
"prettier": "^2.8.0",
|
|
68
|
+
"process": "^0.11.10",
|
|
62
69
|
"prop-types": "^15.8.1",
|
|
63
|
-
"react": "^18.2.0",
|
|
64
|
-
"react-dom": "^18.2.0",
|
|
65
|
-
"react-router-dom": "^6.4.3",
|
|
66
|
-
"react-scripts": "5.0.1",
|
|
67
70
|
"sass": "^1.62.1",
|
|
68
|
-
"sass-loader": "^
|
|
69
|
-
"storybook": "^
|
|
70
|
-
"style-loader": "^3.3.
|
|
71
|
+
"sass-loader": "^16.0.5",
|
|
72
|
+
"storybook": "^8.5.8",
|
|
73
|
+
"style-loader": "^3.3.4",
|
|
71
74
|
"ts-loader": "^9.4.2",
|
|
72
|
-
"typedoc": "^0.23.22",
|
|
73
|
-
"typescript": "^4.9.3",
|
|
74
75
|
"url-loader": "^4.1.1",
|
|
75
76
|
"web-vitals": "^2.1.4",
|
|
76
77
|
"webpack": "^5.82.1",
|
|
77
|
-
"webpack-cli": "^5.1.1"
|
|
78
|
+
"webpack-cli": "^5.1.1",
|
|
79
|
+
"webpack-dev-server": "^4.11.1"
|
|
78
80
|
},
|
|
79
81
|
"scripts": {
|
|
80
|
-
"start": "
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"build": "react-scripts build",
|
|
85
|
-
"build:lib": "webpack",
|
|
86
|
-
"test": "react-scripts test",
|
|
82
|
+
"start": "webpack serve --config webpack.app.config.js --mode development",
|
|
83
|
+
"build:app": "webpack --config webpack.app.config.js --mode production",
|
|
84
|
+
"build:lib": "webpack --config webpack.lib.config.js --mode production",
|
|
85
|
+
"test": "jest",
|
|
87
86
|
"lint": "eslint ./src",
|
|
88
|
-
"
|
|
87
|
+
"format": "prettier --write .",
|
|
89
88
|
"storybook": "storybook dev -p 6006",
|
|
90
89
|
"build-storybook": "storybook build"
|
|
91
90
|
},
|
|
@@ -94,8 +93,10 @@
|
|
|
94
93
|
},
|
|
95
94
|
"eslintConfig": {
|
|
96
95
|
"extends": [
|
|
97
|
-
"
|
|
98
|
-
"react
|
|
96
|
+
"airbnb",
|
|
97
|
+
"plugin:react/recommended",
|
|
98
|
+
"plugin:@typescript-eslint/recommended",
|
|
99
|
+
"prettier",
|
|
99
100
|
"plugin:storybook/recommended"
|
|
100
101
|
]
|
|
101
102
|
},
|
package/public/index.html
CHANGED
|
@@ -1,47 +1,20 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html lang="en">
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
/>
|
|
12
|
-
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
|
13
|
-
<!--
|
|
14
|
-
manifest.json provides metadata used when your web app is installed on a
|
|
15
|
-
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
|
16
|
-
-->
|
|
17
|
-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
|
18
|
-
<!--
|
|
19
|
-
Notice the use of %PUBLIC_URL% in the tags above.
|
|
20
|
-
It will be replaced with the URL of the `public` folder during the build.
|
|
21
|
-
Only files inside the `public` folder can be referenced from the HTML.
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<link rel="icon" href="/favicon.ico" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
+
<meta name="theme-color" content="#000000" />
|
|
8
|
+
<meta name="description" content="Web site created using React 19" />
|
|
9
|
+
<link rel="apple-touch-icon" href="/logo192.png" />
|
|
10
|
+
<link rel="manifest" href="/manifest.json" />
|
|
22
11
|
|
|
23
|
-
|
|
24
|
-
work correctly both with client-side routing and a non-root public URL.
|
|
25
|
-
Learn how to configure a non-root public URL by running `npm run build`.
|
|
26
|
-
-->
|
|
12
|
+
<script src="quickblox.js"></script>
|
|
27
13
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
35
|
-
<div id="root"></div>
|
|
36
|
-
<!--
|
|
37
|
-
This HTML file is a template.
|
|
38
|
-
If you open it directly in the browser, you will see an empty page.
|
|
39
|
-
|
|
40
|
-
You can add webfonts, meta tags, or analytics to this file.
|
|
41
|
-
The build step will place the bundled scripts into the <body> tag.
|
|
42
|
-
|
|
43
|
-
To begin the development, run `npm start` or `yarn start`.
|
|
44
|
-
To create a production bundle, use `npm run build` or `yarn build`.
|
|
45
|
-
-->
|
|
46
|
-
</body>
|
|
14
|
+
<title>QuickBlox UIKit React App</title>
|
|
15
|
+
</head>
|
|
16
|
+
<body>
|
|
17
|
+
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
18
|
+
<div id="root"></div>
|
|
19
|
+
</body>
|
|
47
20
|
</html>
|
package/src/App.scss
CHANGED
package/src/App.tsx
CHANGED
|
@@ -15,6 +15,7 @@ import QuickBloxUIKitDesktopLayout from './Presentation/layouts/Desktop/QuickBlo
|
|
|
15
15
|
import DefaultTheme from './Presentation/themes/DefaultThemes/DefaultTheme';
|
|
16
16
|
import useQbUIKitDataContext from './Presentation/providers/QuickBloxUIKitProvider/useQbUIKitDataContext';
|
|
17
17
|
import { QBConfig } from './QBconfig';
|
|
18
|
+
import MainButton, { TypeButton } from './Presentation/components/UI/Buttons/MainButton/MainButton';
|
|
18
19
|
|
|
19
20
|
function App() {
|
|
20
21
|
if ((window as any).QB === undefined) {
|
|
@@ -201,40 +202,59 @@ function App() {
|
|
|
201
202
|
// });
|
|
202
203
|
|
|
203
204
|
return (
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
{
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
element={
|
|
221
|
-
<div>
|
|
222
|
-
<div style={{ height: '56px' }}>Q-communicate</div>
|
|
223
|
-
<QuickBloxUIKitDesktopLayout
|
|
224
|
-
theme={new DefaultTheme()}
|
|
225
|
-
uikitHeightOffset="56px"
|
|
226
|
-
// AIAssist={{
|
|
227
|
-
// enabled: true,
|
|
228
|
-
// default: true,
|
|
229
|
-
// AIWidget: defaultAIAnswer,
|
|
230
|
-
// }}
|
|
231
|
-
/>
|
|
232
|
-
</div>
|
|
233
|
-
}
|
|
234
|
-
/>
|
|
235
|
-
</Routes>
|
|
205
|
+
<>
|
|
206
|
+
<div className="btn-group">
|
|
207
|
+
<MainButton
|
|
208
|
+
typeButton={TypeButton.outlined}
|
|
209
|
+
title="Light Theme"
|
|
210
|
+
clickHandler = {() => {
|
|
211
|
+
document.documentElement.setAttribute('data-theme', 'light');
|
|
212
|
+
}}
|
|
213
|
+
/>
|
|
214
|
+
<MainButton
|
|
215
|
+
typeButton={TypeButton.defaultDisabled}
|
|
216
|
+
title="Dark Theme"
|
|
217
|
+
clickHandler = {() => {
|
|
218
|
+
document.documentElement.setAttribute('data-theme', 'dark');
|
|
219
|
+
}}
|
|
220
|
+
/>
|
|
236
221
|
</div>
|
|
237
|
-
|
|
222
|
+
<QuickBloxUIKitProvider
|
|
223
|
+
maxFileSize={QBConfig.appConfig.maxFileSize}
|
|
224
|
+
// SDK={QB} //init SDK
|
|
225
|
+
accountData={{ ...QBConfig.credentials, sessionToken: '' }}
|
|
226
|
+
qbConfig={{ ...QBConfig }}
|
|
227
|
+
loginData={{
|
|
228
|
+
login: currentUser.login,
|
|
229
|
+
password: currentUser.password,
|
|
230
|
+
}}
|
|
231
|
+
>
|
|
232
|
+
<div className="App">
|
|
233
|
+
<Routes>
|
|
234
|
+
{/* eslint-disable-next-line @typescript-eslint/no-misused-promises */}
|
|
235
|
+
<Route path="/" element={<Login loginHandler={loginHandler} />} />
|
|
236
|
+
<Route
|
|
237
|
+
path="/desktop-test-mock"
|
|
238
|
+
element={
|
|
239
|
+
<div>
|
|
240
|
+
<div style={{ height: '56px' }}>Q-communicate</div>
|
|
241
|
+
<QuickBloxUIKitDesktopLayout
|
|
242
|
+
theme={ new DefaultTheme()}
|
|
243
|
+
uikitHeightOffset="56px"
|
|
244
|
+
// AIAssist={{
|
|
245
|
+
// enabled: true,
|
|
246
|
+
// default: true,
|
|
247
|
+
// AIWidget: defaultAIAnswer,
|
|
248
|
+
// }}
|
|
249
|
+
/>
|
|
250
|
+
</div>
|
|
251
|
+
}
|
|
252
|
+
/>
|
|
253
|
+
</Routes>
|
|
254
|
+
</div>
|
|
255
|
+
</QuickBloxUIKitProvider>
|
|
256
|
+
</>
|
|
257
|
+
|
|
238
258
|
);
|
|
239
259
|
}
|
|
240
260
|
|
package/src/Data/Stubs.ts
CHANGED
|
@@ -131,12 +131,12 @@ export class Stubs {
|
|
|
131
131
|
id: '10231',
|
|
132
132
|
type: FileType.image,
|
|
133
133
|
uid: '10231',
|
|
134
|
-
url: 'https://
|
|
134
|
+
url: 'https://files.readme.io/00b5563-small-qb-logo-docs-white-9px.png',
|
|
135
135
|
file: {
|
|
136
136
|
id: '10231',
|
|
137
137
|
uid: '',
|
|
138
138
|
type: FileType.image,
|
|
139
|
-
url: 'https://
|
|
139
|
+
url: 'https://files.readme.io/00b5563-small-qb-logo-docs-white-9px.png',
|
|
140
140
|
},
|
|
141
141
|
};
|
|
142
142
|
const photoAttachments: ChatMessageAttachmentEntity[] = [photo];
|
|
@@ -267,12 +267,12 @@ export class Stubs {
|
|
|
267
267
|
id: '10231',
|
|
268
268
|
type: FileType.image,
|
|
269
269
|
uid: '10231',
|
|
270
|
-
url: 'https://
|
|
270
|
+
url: 'https://cdn-ikpjoif.nitrocdn.com/WZsqFPiehrtwFaaeJNQAQZrkRMgaTuyL/assets/images/optimized/rev-83f47e6/quickblox.com/wp-content/themes/QuickbloxTheme2021/img/chat-api-feature-rich-sdk.jpg',
|
|
271
271
|
file: {
|
|
272
272
|
id: '10231',
|
|
273
273
|
uid: '',
|
|
274
274
|
type: FileType.image,
|
|
275
|
-
url: 'https://
|
|
275
|
+
url: 'https://cdn-ikpjoif.nitrocdn.com/WZsqFPiehrtwFaaeJNQAQZrkRMgaTuyL/assets/images/optimized/rev-83f47e6/quickblox.com/wp-content/themes/QuickbloxTheme2021/img/chat-api-feature-rich-sdk.jpg',
|
|
276
276
|
},
|
|
277
277
|
};
|
|
278
278
|
const photoAttachments: ChatMessageAttachmentEntity[] = [photo];
|
|
@@ -1029,12 +1029,12 @@ export class Stubs {
|
|
|
1029
1029
|
id: '10231',
|
|
1030
1030
|
type: FileType.image,
|
|
1031
1031
|
uid: '10231',
|
|
1032
|
-
url: 'https://
|
|
1032
|
+
url: 'https://files.readme.io/00b5563-small-qb-logo-docs-white-9px.png',
|
|
1033
1033
|
file: {
|
|
1034
1034
|
id: '10231',
|
|
1035
1035
|
uid: '',
|
|
1036
1036
|
type: FileType.image,
|
|
1037
|
-
url: 'https://
|
|
1037
|
+
url: 'https://files.readme.io/00b5563-small-qb-logo-docs-white-9px.png',
|
|
1038
1038
|
},
|
|
1039
1039
|
};
|
|
1040
1040
|
const photoAttachments: ChatMessageAttachmentEntity[] = [photo];
|
|
@@ -3,8 +3,7 @@ import { stringifyError } from '../../utils/parse';
|
|
|
3
3
|
import { getQB } from '../../qb-api-calls';
|
|
4
4
|
|
|
5
5
|
export default class ConnectionRepository extends SubscriptionPerformer<boolean> {
|
|
6
|
-
|
|
7
|
-
private timerId: ReturnType<typeof setTimeout> | undefined;
|
|
6
|
+
private timerId: NodeJS.Timeout | null = null; // Используем Timeout вместо Timer
|
|
8
7
|
|
|
9
8
|
private _needInit: boolean;
|
|
10
9
|
|