quickblox-react-ui-kit 0.2.4 → 0.2.6-patch
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/README.md +3 -2
- package/dist/{Presentation/Views/Base → CommonTypes}/BaseViewModel.d.ts +22 -6
- package/dist/CommonTypes/FunctionResult.d.ts +3 -1
- package/dist/Data/dto/message/RemoteMessageDTO.d.ts +3 -0
- package/dist/Data/mapper/MessageRemoteDTOMapper.d.ts +2 -0
- package/dist/Data/repository/DialogsRepository.d.ts +2 -1
- package/dist/Data/repository/EventMessagesRepository.d.ts +1 -0
- package/dist/Data/repository/MessagesRepository.d.ts +2 -2
- package/dist/Data/source/local/ILocalDataSource.d.ts +1 -1
- package/dist/Data/source/remote/Mapper/DialogDTOMapper.d.ts +1 -0
- package/dist/Data/source/remote/Mapper/MessageDTOMapper.d.ts +6 -0
- package/dist/Domain/entity/MessageEntity.d.ts +3 -0
- package/dist/Domain/entity/NotificationTypes.d.ts +1 -0
- package/dist/Domain/repository/IDialogsRepository.d.ts +2 -1
- package/dist/Domain/repository/IMessagesRepository.d.ts +2 -2
- package/dist/Domain/use_cases/CreateDialogUseCase.d.ts +2 -1
- package/dist/Domain/use_cases/ForwardMessagesUseCase.d.ts +13 -0
- package/dist/Domain/use_cases/LeaveDialogUseCase.d.ts +2 -1
- package/dist/Domain/use_cases/RemoveUsersFromTheDialogUseCase.d.ts +2 -1
- package/dist/Domain/use_cases/ReplyMessagesUseCase.d.ts +10 -0
- package/dist/Domain/use_cases/SubscribeToDialogEventsUseCase.d.ts +1 -0
- package/dist/Domain/use_cases/UpdateDialogUseCase.d.ts +2 -1
- package/dist/Domain/use_cases/ai/AIRephraseUseCase.d.ts +1 -1
- package/dist/Domain/use_cases/ai/AIRephraseWithProxyUseCase.d.ts +1 -1
- package/dist/Presentation/{components/UI/Dialogs → Views}/CreateDialog/CreateDialog.d.ts +1 -1
- package/dist/Presentation/Views/CreateDialogFlow/CreateNewDialogFlow.d.ts +2 -2
- package/dist/Presentation/Views/Dialog/AIComponents/AIAssistComponent/AIAssistComponent.d.ts +8 -0
- package/dist/Presentation/Views/Dialog/AIComponents/AITranslateComponent/AITranslateComponent.d.ts +11 -0
- package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/AIMessageWidget.d.ts +1 -1
- package/dist/Presentation/Views/Dialog/AIWidgets/AIRephraseWidget/AIRephraseWidget.d.ts +22 -0
- package/dist/Presentation/Views/Dialog/AttachmentMessage/AttachmentMessage.d.ts +7 -0
- package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AudioAttachmentComponent/AudioAttachmentComponent.d.ts +1 -1
- package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog/ContextMenu}/ContextMenu.d.ts +1 -0
- package/dist/Presentation/Views/Dialog/ContextMenu/MessageContextMenu/MessageContextMenu.d.ts +14 -0
- package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/DefaultAttachmentComponent/DefaultAttachmentComponent.d.ts +1 -0
- package/dist/Presentation/Views/Dialog/Dialog.d.ts +22 -0
- package/dist/Presentation/Views/Dialog/DialogHeader/DialogHeader.d.ts +12 -0
- package/dist/Presentation/Views/Dialog/DialogViewModel.d.ts +16 -0
- package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/DropDownMenu/DropDownMenu.d.ts +2 -3
- package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/DropDownMenu/ItemDropDownMenu/ItemDropDownMenu.d.ts +1 -1
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogsWithSearch.d.ts +12 -0
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/ItemForListComponent/ItemDialogList.d.ts +14 -0
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/SearchComponent/SearchComponent.d.ts +8 -0
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessageFlow.d.ts +13 -0
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessagePreview/ForwardMessagePreview.d.ts +9 -0
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/InputForForwarding/InputForForwarding.d.ts +10 -0
- package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/ImageAttachmentComponent/ImageAttachmentComponent.d.ts +1 -1
- package/dist/Presentation/Views/Dialog/IncomingForwardedRepliedMessage/IncomingForwardedRepliedMessage.d.ts +25 -0
- package/dist/Presentation/Views/Dialog/IncomingMessage/AttachmentContentComponent/AttachmentContentComponent.d.ts +8 -0
- package/dist/Presentation/{components/UI/Dialogs/MessagesView/InComingMessage → Views/Dialog/IncomingMessage}/AvatarContentIncomingUser/AvatarContentIncomingUser.d.ts +3 -0
- package/dist/Presentation/Views/Dialog/IncomingMessage/IncomingMessage.d.ts +29 -0
- package/dist/Presentation/Views/Dialog/IncomingMessage/MessageContentComponent/MessageContentComponent.d.ts +10 -0
- package/dist/Presentation/Views/Dialog/Message/Message.d.ts +22 -0
- package/dist/Presentation/Views/Dialog/MessageInput/MessageInput.d.ts +21 -0
- package/dist/Presentation/Views/Dialog/OutgoingForwardedRepliedMessage/OutgoingForwardedRepliedMessage.d.ts +17 -0
- package/dist/Presentation/Views/Dialog/OutgoingMessage/OutgoingMessage.d.ts +14 -0
- package/dist/Presentation/Views/Dialog/RenderDialogHeaderNavigator/RenderDialogHeaderNavigator.d.ts +9 -0
- package/dist/Presentation/Views/Dialog/ReplyMessagePreview/ReplyImagePreviewAttachment/ReplyImagePreviewAttachment.d.ts +8 -0
- package/dist/Presentation/Views/Dialog/ReplyMessagePreview/ReplyMessagePreview.d.ts +11 -0
- package/dist/Presentation/Views/Dialog/SystemDateBanner/SystemDateBanner.d.ts +7 -0
- package/dist/Presentation/Views/Dialog/SystemMessageBanner/SystemMessageBanner.d.ts +7 -0
- package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/VideoAttachmentComponent/VideoAttachmentComponent.d.ts +1 -1
- package/dist/Presentation/Views/Dialog/VoiceMessage/VoiceMessage.d.ts +8 -0
- package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/VoiceRecordingProgress/VoiceRecordingProgress.d.ts +3 -3
- package/dist/Presentation/Views/Dialog/useDialogViewModel.d.ts +4 -0
- package/dist/Presentation/Views/DialogInfo/DialogInfo.d.ts +16 -0
- package/dist/Presentation/{components/UI/Dialogs/DialogInformation → Views/DialogInfo}/DialogMemberButton/DialogMembersButton.d.ts +1 -1
- package/dist/Presentation/{components/UI/Dialogs/DialogInformation → Views/DialogInfo}/UsersList/SingleUser/SingleUser.d.ts +1 -1
- package/dist/Presentation/{components/UI/Dialogs/DialogInformation → Views/DialogInfo}/UsersList/UsersList.d.ts +1 -1
- package/dist/Presentation/{components/UI/Dialogs/DialogInformation → Views/DialogInfo}/UsersList/UsersListViewModel.d.ts +3 -3
- package/dist/Presentation/{components/UI/Dialogs/DialogInformation → Views/DialogInfo}/UsersList/useUsersListViewModel.d.ts +1 -1
- package/dist/Presentation/Views/{Dialogs/Dialogs.d.ts → DialogList/DialogList.d.ts} +8 -8
- package/dist/Presentation/Views/{Dialogs/DialogViewModel.d.ts → DialogList/DialogListViewModel.d.ts} +2 -2
- package/dist/Presentation/Views/DialogList/useDialogListViewModel.d.ts +4 -0
- package/dist/Presentation/{components/UI/Dialogs/HeaderDialogs/HeaderDialogs.d.ts → Views/DialogListHeader/DialogListHeader.d.ts} +6 -6
- package/dist/Presentation/{components/UI/Dialogs → Views}/EditDialog/EditDialog.d.ts +2 -2
- package/dist/Presentation/{components/UI/Dialogs → Views}/EditDialog/UserAvatar/UserAvatar.d.ts +2 -2
- package/dist/Presentation/{components/UI/Dialogs → Views}/InviteMembers/InviteMembers.d.ts +2 -2
- package/dist/Presentation/{components/UI/Dialogs → Views}/InviteMembers/InviteMembersViewModel.d.ts +3 -3
- package/dist/Presentation/{components/UI/Dialogs → Views}/InviteMembers/InviteUsersList/SingleUserWithCheckBox/SingleUserWithCheckBox.d.ts +1 -1
- package/dist/Presentation/{components/UI/Dialogs → Views}/InviteMembers/InviteUsersResultViewModel.d.ts +1 -1
- package/dist/Presentation/{components/UI/Dialogs → Views}/MembersList/MembersList.d.ts +2 -2
- package/dist/Presentation/{components/UI/Dialogs → Views}/PreviewDialog/PreviewDialog.d.ts +2 -2
- package/dist/Presentation/{components/UI/Dialogs → Views}/PreviewDialog/PreviewDialogViewModel.d.ts +2 -2
- package/dist/Presentation/{components/UI/Dialogs → Views}/YesNoQuestion/YesNoQuestion.d.ts +1 -1
- package/dist/Presentation/components/UI/Buttons/ActiveButton/ActiveButton.d.ts +1 -1
- package/dist/Presentation/components/UI/Buttons/MainBoundedButton/MainBoundedButton.d.ts +1 -1
- package/dist/Presentation/components/UI/Buttons/MainButton/MainButton.d.ts +1 -1
- package/dist/Presentation/components/UI/Elements/SwitchButton/SwitchButton.d.ts +1 -1
- package/dist/Presentation/components/UI/Placeholders/ErrorComponent/ErrorComponent.d.ts +1 -1
- package/dist/Presentation/components/UI/svgs/ActiveSvg/ActiveSvg.d.ts +1 -1
- package/dist/Presentation/components/containers/ColumnContainer/ColumnContainer.d.ts +1 -1
- package/dist/Presentation/{components/layouts → layouts}/Desktop/DesktopLayout.d.ts +1 -1
- package/dist/Presentation/{components/layouts → layouts}/Desktop/QuickBloxUIKitDesktopLayout.d.ts +3 -2
- package/dist/Presentation/{components/layouts → layouts}/TestStage/LoginView/Login.d.ts +1 -1
- package/dist/Presentation/{components/providers → providers}/QuickBloxUIKitProvider/QuickBloxUIKitProvider.d.ts +6 -6
- package/dist/Presentation/{components/providers → providers}/QuickBloxUIKitProvider/useEventMessagesRepository.d.ts +1 -1
- package/dist/Presentation/{components/providers → providers}/QuickBloxUIKitProvider/useQBConnection.d.ts +1 -1
- package/dist/QBconfig.d.ts +2 -0
- package/dist/index-ui.d.ts +22 -18
- package/dist/index-ui.js +1331 -649
- package/dist/utils/utils.d.ts +1 -1
- package/global.d.ts +23 -14
- package/package.json +26 -2
- package/.prettierignore +0 -4
- package/.prettierrc +0 -10
- package/dist/Presentation/Views/Dialogs/useDialogsViewModel.d.ts +0 -4
- package/dist/Presentation/components/UI/Dialogs/DialogInformation/DialogInformation.d.ts +0 -16
- package/dist/Presentation/components/UI/Dialogs/MessagesView/HeaderMessages/HeaderMessages.d.ts +0 -14
- package/dist/Presentation/components/UI/Dialogs/MessagesView/InComingMessage/InComingMessage.d.ts +0 -17
- package/dist/Presentation/components/UI/Dialogs/MessagesView/MessagesView.d.ts +0 -19
- package/dist/Presentation/components/UI/Dialogs/MessagesView/MessagesViewModel.d.ts +0 -14
- package/dist/Presentation/components/UI/Dialogs/MessagesView/OutGoingMessage/OutGoingMessage.d.ts +0 -9
- package/dist/Presentation/components/UI/Dialogs/MessagesView/useMessagesViewModel.d.ts +0 -4
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -47
- package/public/logo192.png +0 -0
- package/public/logo512.png +0 -0
- package/public/manifest.json +0 -25
- package/public/quickblox.js +0 -54609
- package/public/robots.txt +0 -3
- package/src/App.scss +0 -0
- package/src/App.tsx +0 -246
- package/src/CommonTypes/FunctionResult.ts +0 -63
- package/src/Data/DefaultConfigurations.ts +0 -333
- package/src/Data/Stubs.ts +0 -1131
- package/src/Data/dto/dialog/LocalDialogDTO.ts +0 -42
- package/src/Data/dto/dialog/LocalDialogsDTO.ts +0 -21
- package/src/Data/dto/dialog/RemoteDialogDTO.ts +0 -58
- package/src/Data/dto/dialog/RemoteDialogsDTO.ts +0 -21
- package/src/Data/dto/file/LocalFileDTO.ts +0 -26
- package/src/Data/dto/file/RemoteFileDTO.ts +0 -26
- package/src/Data/dto/message/LocalMessageDTO.ts +0 -51
- package/src/Data/dto/message/LocalMessagesDTO.ts +0 -21
- package/src/Data/dto/message/RemoteMessageDTO.ts +0 -51
- package/src/Data/dto/message/RemoteMessagesDTO.ts +0 -21
- package/src/Data/dto/user/LocalUserDTO.ts +0 -37
- package/src/Data/dto/user/LocalUsersDTO.ts +0 -23
- package/src/Data/dto/user/RemoteUserDTO.ts +0 -37
- package/src/Data/dto/user/RemoteUsersDTO.ts +0 -21
- package/src/Data/mapper/DialogLocalDTOMapper.ts +0 -742
- package/src/Data/mapper/DialogRemoteDTOMapper.ts +0 -777
- package/src/Data/mapper/FileLocalDTOMapper.ts +0 -253
- package/src/Data/mapper/FileRemoteDTOMapper.ts +0 -265
- package/src/Data/mapper/IMapper.ts +0 -14
- package/src/Data/mapper/MessageLocalDTOMapper.ts +0 -426
- package/src/Data/mapper/MessageRemoteDTOMapper.ts +0 -432
- package/src/Data/mapper/UserLocalDTOMapper.ts +0 -381
- package/src/Data/mapper/UserRemoteDTOMapper.ts +0 -393
- package/src/Data/repository/ConnectionRepository.ts +0 -144
- package/src/Data/repository/DialogsRepository.ts +0 -422
- package/src/Data/repository/EventMessagesRepository.ts +0 -291
- package/src/Data/repository/FileRepository.ts +0 -110
- package/src/Data/repository/MessagesRepository.ts +0 -288
- package/src/Data/repository/UsersRepository.ts +0 -324
- package/src/Data/source/AISource.ts +0 -133
- package/src/Data/source/exception/LocalDataSourceException.ts +0 -17
- package/src/Data/source/exception/MapperDTOException.ts +0 -19
- package/src/Data/source/exception/RemoteDataSourceException.ts +0 -28
- package/src/Data/source/exception/RepositoryException.ts +0 -27
- package/src/Data/source/local/ChatLocalStorageDataSource.ts +0 -262
- package/src/Data/source/local/ILocalDataSource.ts +0 -45
- package/src/Data/source/local/ILocalFileDataSource.ts +0 -11
- package/src/Data/source/local/LocalDataSource.ts +0 -377
- package/src/Data/source/local/LocalFileDataSource.ts +0 -22
- package/src/Data/source/remote/IRemoteDataSource.ts +0 -112
- package/src/Data/source/remote/Mapper/DialogDTOMapper.ts +0 -418
- package/src/Data/source/remote/Mapper/FileDTOMapper.ts +0 -276
- package/src/Data/source/remote/Mapper/IDTOMapper.ts +0 -4
- package/src/Data/source/remote/Mapper/MessageDTOMapper.ts +0 -452
- package/src/Data/source/remote/Mapper/UserDTOMapper.ts +0 -344
- package/src/Data/source/remote/RemoteDataSource.ts +0 -1392
- package/src/Domain/entity/Chat.ts +0 -4
- package/src/Domain/entity/ChatMessageAttachmentEntity.ts +0 -15
- package/src/Domain/entity/CustomDataEntity.ts +0 -3
- package/src/Domain/entity/DialogEntity.ts +0 -15
- package/src/Domain/entity/DialogEventInfo.ts +0 -15
- package/src/Domain/entity/DialogTypes.ts +0 -7
- package/src/Domain/entity/EventMessageType.ts +0 -7
- package/src/Domain/entity/FileEntity.ts +0 -11
- package/src/Domain/entity/FileTypes.ts +0 -9
- package/src/Domain/entity/GroupDialogEntity.ts +0 -54
- package/src/Domain/entity/LastMessageEntity.ts +0 -5
- package/src/Domain/entity/MessageEntity.ts +0 -25
- package/src/Domain/entity/NotificationTypes.ts +0 -7
- package/src/Domain/entity/PrivateDialogEntity.ts +0 -46
- package/src/Domain/entity/PublicDialogEntity.ts +0 -80
- package/src/Domain/entity/UserEntity.ts +0 -22
- package/src/Domain/exception/domain/DomainExecption.ts +0 -5
- package/src/Domain/repository/IDialogsRepository.ts +0 -40
- package/src/Domain/repository/IFileRepository.ts +0 -9
- package/src/Domain/repository/IMessagesRepository.ts +0 -28
- package/src/Domain/repository/IUsersRepository.ts +0 -13
- package/src/Domain/repository/Pagination.ts +0 -48
- package/src/Domain/use_cases/CreateDialogUseCase.ts +0 -73
- package/src/Domain/use_cases/GetAllDialogsUseCase.ts +0 -20
- package/src/Domain/use_cases/GetAllDialogsUseCaseWithMock.ts +0 -45
- package/src/Domain/use_cases/GetAllMessagesForDialog.ts +0 -61
- package/src/Domain/use_cases/GetAllUsersUseCase.ts +0 -34
- package/src/Domain/use_cases/GetDialogByIdUseCase.ts +0 -28
- package/src/Domain/use_cases/GetUsersByIdsUseCase.ts +0 -22
- package/src/Domain/use_cases/LeaveDialogUseCase.ts +0 -109
- package/src/Domain/use_cases/RemoveUsersFromTheDialogUseCase.ts +0 -103
- package/src/Domain/use_cases/SendTextMessageUseCase.ts +0 -26
- package/src/Domain/use_cases/SubscribeToDialogEventsUseCase.ts +0 -141
- package/src/Domain/use_cases/SubscribeToDialogsUpdatesUseCase.ts +0 -69
- package/src/Domain/use_cases/SubscribeToDialogsUpdatesUseCaseWithMock.ts +0 -61
- package/src/Domain/use_cases/SyncDialogsUseCase.ts +0 -246
- package/src/Domain/use_cases/UpdateDialogUseCase.ts +0 -65
- package/src/Domain/use_cases/UploadFileUseCase.ts +0 -24
- package/src/Domain/use_cases/UserTypingMessageUseCase.ts +0 -51
- package/src/Domain/use_cases/ai/AIAnswerAssistUseCase.ts +0 -69
- package/src/Domain/use_cases/ai/AIAnswerAssistWithProxyUseCase.ts +0 -71
- package/src/Domain/use_cases/ai/AIRephraseUseCase.ts +0 -89
- package/src/Domain/use_cases/ai/AIRephraseWithProxyUseCase.ts +0 -75
- package/src/Domain/use_cases/ai/AITranslateUseCase.ts +0 -76
- package/src/Domain/use_cases/ai/AITranslateWithProxyUseCase.ts +0 -79
- package/src/Domain/use_cases/base/BaseUseCase.ts +0 -77
- package/src/Domain/use_cases/base/IUseCase.ts +0 -5
- package/src/Domain/use_cases/base/Subscribable/ISubscribable.ts +0 -6
- package/src/Domain/use_cases/base/Subscribable/SubscriptionPerformer.ts +0 -151
- package/src/Presentation/.gitkeep +0 -0
- package/src/Presentation/Views/Base/BaseViewModel.ts +0 -90
- package/src/Presentation/Views/CreateDialogFlow/CreateNewDialogFlow.tsx +0 -188
- package/src/Presentation/Views/Dialogs/DialogViewModel.ts +0 -25
- package/src/Presentation/Views/Dialogs/Dialogs.scss +0 -76
- package/src/Presentation/Views/Dialogs/Dialogs.tsx +0 -400
- package/src/Presentation/Views/Dialogs/useDialogsViewModel.ts +0 -382
- package/src/Presentation/Views/Navigation/More.svg +0 -7
- package/src/Presentation/assets/DarkTheme.ts +0 -58
- package/src/Presentation/assets/DefaultThemes/CustomTheme.ts +0 -58
- package/src/Presentation/assets/DefaultThemes/DefaultTheme.ts +0 -58
- package/src/Presentation/assets/LightTheme.ts +0 -58
- package/src/Presentation/assets/ThemeScheme.ts +0 -83
- package/src/Presentation/assets/UiKitTheme.ts +0 -143
- package/src/Presentation/assets/fonts/.gitkeep +0 -0
- package/src/Presentation/assets/fonts/Roboto-Bold.eot +0 -0
- package/src/Presentation/assets/fonts/Roboto-Bold.ttf +0 -0
- package/src/Presentation/assets/fonts/Roboto-Bold.woff +0 -0
- package/src/Presentation/assets/fonts/Roboto-Bold.woff2 +0 -0
- package/src/Presentation/assets/fonts/Roboto-Medium.eot +0 -0
- package/src/Presentation/assets/fonts/Roboto-Medium.ttf +0 -0
- package/src/Presentation/assets/fonts/Roboto-Medium.woff +0 -0
- package/src/Presentation/assets/fonts/Roboto-Medium.woff2 +0 -0
- package/src/Presentation/assets/fonts/Roboto-Regular.eot +0 -0
- package/src/Presentation/assets/fonts/Roboto-Regular.ttf +0 -0
- package/src/Presentation/assets/fonts/Roboto-Regular.woff +0 -0
- package/src/Presentation/assets/fonts/Roboto-Regular.woff2 +0 -0
- package/src/Presentation/assets/img/Artem_Koltunov_Selfi.png +0 -0
- package/src/Presentation/assets/img/bee-img.png +0 -0
- package/src/Presentation/assets/img/web-doc.png +0 -0
- package/src/Presentation/assets/styles/_fonts.scss +0 -32
- package/src/Presentation/assets/styles/_reset-styles.scss +0 -435
- package/src/Presentation/assets/styles/_theme_colors_scheme.scss +0 -56
- package/src/Presentation/assets/styles/_theme_colors_scheme_green.scss +0 -57
- package/src/Presentation/assets/styles/_theme_colors_scheme_pink.scss +0 -72
- package/src/Presentation/assets/styles/_theme_dark.scss +0 -33
- package/src/Presentation/assets/styles/_theme_light.scss +0 -33
- package/src/Presentation/assets/styles/_variables.scss +0 -2
- package/src/Presentation/components/Button.js +0 -5
- package/src/Presentation/components/Navbar.tsx +0 -45
- package/src/Presentation/components/TextInput.js +0 -10
- package/src/Presentation/components/UI/Buttons/ActiveButton/ActiveButton.tsx +0 -40
- package/src/Presentation/components/UI/Buttons/MainBoundedButton/MainBoundedButton.scss +0 -0
- package/src/Presentation/components/UI/Buttons/MainBoundedButton/MainBoundedButton.tsx +0 -30
- package/src/Presentation/components/UI/Buttons/MainButton/MainButton.scss +0 -127
- package/src/Presentation/components/UI/Buttons/MainButton/MainButton.tsx +0 -62
- package/src/Presentation/components/UI/Dialogs/CreateDialog/CreateDialog.scss +0 -45
- package/src/Presentation/components/UI/Dialogs/CreateDialog/CreateDialog.tsx +0 -77
- package/src/Presentation/components/UI/Dialogs/DialogInformation/DialogInformation.scss +0 -429
- package/src/Presentation/components/UI/Dialogs/DialogInformation/DialogInformation.tsx +0 -574
- package/src/Presentation/components/UI/Dialogs/DialogInformation/DialogMemberButton/DialogMembersButton.scss +0 -42
- package/src/Presentation/components/UI/Dialogs/DialogInformation/DialogMemberButton/DialogMembersButton.tsx +0 -26
- package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/SingleUser/SingleUser.scss +0 -95
- package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/SingleUser/SingleUser.tsx +0 -42
- package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/UsersList.scss +0 -60
- package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/UsersList.tsx +0 -65
- package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/UsersListViewModel.ts +0 -13
- package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/useUsersListViewModel.ts +0 -81
- package/src/Presentation/components/UI/Dialogs/EditDialog/EditDialog.scss +0 -196
- package/src/Presentation/components/UI/Dialogs/EditDialog/EditDialog.tsx +0 -277
- package/src/Presentation/components/UI/Dialogs/EditDialog/UserAvatar/UserAvatar.scss +0 -32
- package/src/Presentation/components/UI/Dialogs/EditDialog/UserAvatar/UserAvatar.tsx +0 -59
- package/src/Presentation/components/UI/Dialogs/HeaderDialogs/HeaderDialogs.scss +0 -67
- package/src/Presentation/components/UI/Dialogs/HeaderDialogs/HeaderDialogs.tsx +0 -112
- package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteMembers.scss +0 -146
- package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteMembers.tsx +0 -328
- package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteMembersViewModel.ts +0 -18
- package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteUsersList/SingleUserWithCheckBox/SingleUserWithCheckBox.scss +0 -113
- package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteUsersList/SingleUserWithCheckBox/SingleUserWithCheckBox.tsx +0 -79
- package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteUsersResultViewModel.ts +0 -12
- package/src/Presentation/components/UI/Dialogs/InviteMembers/NotFoundContent/NotFoundContent.scss +0 -37
- package/src/Presentation/components/UI/Dialogs/InviteMembers/NotFoundContent/NotFoundContent.tsx +0 -22
- package/src/Presentation/components/UI/Dialogs/InviteMembers/useInviteMembersViewModel.ts +0 -116
- package/src/Presentation/components/UI/Dialogs/MembersList/MembersList.scss +0 -128
- package/src/Presentation/components/UI/Dialogs/MembersList/MembersList.tsx +0 -93
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/AIMessageWidget.ts +0 -40
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/AIWidgetActions/AIWidgetActions.scss +0 -55
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/AIWidgetActions/AIWidgetActions.tsx +0 -122
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/ErrorMessageIcon.tsx +0 -98
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/SliderMenu.tsx +0 -172
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/Tone.ts +0 -35
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/UseDefaultAIAssistAnswerWidget.tsx +0 -83
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/UseDefaultAIAssistAnswerWidgetWithProxy.tsx +0 -83
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/UseDefaultAIRephraseMessageWidget.tsx +0 -104
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/UseDefaultAIRephraseMessageWidgetWithProxy.tsx +0 -102
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/UseDefaultAITranslateWidget.tsx +0 -89
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/UseDefaultAITranslateWidgetWithProxy.tsx +0 -89
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/useDefaultVoiceInputWidget.tsx +0 -87
- package/src/Presentation/components/UI/Dialogs/MessagesView/AudioAttachmentComponent/AudioAttachmentComponent.scss +0 -7
- package/src/Presentation/components/UI/Dialogs/MessagesView/AudioAttachmentComponent/AudioAttachmentComponent.tsx +0 -27
- package/src/Presentation/components/UI/Dialogs/MessagesView/ContextMenu.tsx +0 -95
- package/src/Presentation/components/UI/Dialogs/MessagesView/DefaultAttachmentComponent/DefaultAttachmentComponent.scss +0 -76
- package/src/Presentation/components/UI/Dialogs/MessagesView/DefaultAttachmentComponent/DefaultAttachmentComponent.tsx +0 -34
- package/src/Presentation/components/UI/Dialogs/MessagesView/DropDownMenu/DropDownMenu.scss +0 -84
- package/src/Presentation/components/UI/Dialogs/MessagesView/DropDownMenu/DropDownMenu.tsx +0 -105
- package/src/Presentation/components/UI/Dialogs/MessagesView/DropDownMenu/ItemDropDownMenu/ItemDropDownMenu.scss +0 -50
- package/src/Presentation/components/UI/Dialogs/MessagesView/DropDownMenu/ItemDropDownMenu/ItemDropDownMenu.tsx +0 -43
- package/src/Presentation/components/UI/Dialogs/MessagesView/ErrorToast/ErrorToast.scss +0 -26
- package/src/Presentation/components/UI/Dialogs/MessagesView/ErrorToast/ErrorToast.tsx +0 -25
- package/src/Presentation/components/UI/Dialogs/MessagesView/HeaderMessages/HeaderMessages.scss +0 -133
- package/src/Presentation/components/UI/Dialogs/MessagesView/HeaderMessages/HeaderMessages.tsx +0 -144
- package/src/Presentation/components/UI/Dialogs/MessagesView/HighLightLink/HighLightLink.scss +0 -92
- package/src/Presentation/components/UI/Dialogs/MessagesView/HighLightLink/HighLightLink.tsx +0 -128
- package/src/Presentation/components/UI/Dialogs/MessagesView/ImageAttachmentComponent/ImageAttachmentComponent.scss +0 -11
- package/src/Presentation/components/UI/Dialogs/MessagesView/ImageAttachmentComponent/ImageAttachmentComponent.tsx +0 -25
- package/src/Presentation/components/UI/Dialogs/MessagesView/InComingMessage/AvatarContentIncomingUser/AvatarContentIncomingUser.scss +0 -39
- package/src/Presentation/components/UI/Dialogs/MessagesView/InComingMessage/AvatarContentIncomingUser/AvatarContentIncomingUser.tsx +0 -26
- package/src/Presentation/components/UI/Dialogs/MessagesView/InComingMessage/InComingMessage.scss +0 -392
- package/src/Presentation/components/UI/Dialogs/MessagesView/InComingMessage/InComingMessage.tsx +0 -435
- package/src/Presentation/components/UI/Dialogs/MessagesView/MessagesView.scss +0 -410
- package/src/Presentation/components/UI/Dialogs/MessagesView/MessagesView.tsx +0 -1636
- package/src/Presentation/components/UI/Dialogs/MessagesView/MessagesViewModel.ts +0 -20
- package/src/Presentation/components/UI/Dialogs/MessagesView/OutGoingMessage/OutGoingMessage.scss +0 -7
- package/src/Presentation/components/UI/Dialogs/MessagesView/OutGoingMessage/OutGoingMessage.tsx +0 -99
- package/src/Presentation/components/UI/Dialogs/MessagesView/VideoAttachmentComponent/VideoAttachmentComponent.scss +0 -11
- package/src/Presentation/components/UI/Dialogs/MessagesView/VideoAttachmentComponent/VideoAttachmentComponent.tsx +0 -33
- package/src/Presentation/components/UI/Dialogs/MessagesView/VoiceRecordingProgress/VoiceRecordingProgress.scss +0 -35
- package/src/Presentation/components/UI/Dialogs/MessagesView/VoiceRecordingProgress/VoiceRecordingProgress.tsx +0 -89
- package/src/Presentation/components/UI/Dialogs/MessagesView/useMessagesViewModel.ts +0 -475
- package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewAudioFile/PreviewAudioFile.scss +0 -62
- package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewAudioFile/PreviewAudioFile.tsx +0 -25
- package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewDefaultFile/PreviewDefaultFile.scss +0 -61
- package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewDefaultFile/PreviewDefaultFile.tsx +0 -32
- package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewDialog.scss +0 -100
- package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewDialog.tsx +0 -489
- package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewDialogViewModel.ts +0 -42
- package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewImageFile/PreviewImageFile.scss +0 -40
- package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewImageFile/PreviewImageFile.tsx +0 -26
- package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewVideoFile/PreviewVideoFile.scss +0 -62
- package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewVideoFile/PreviewVideoFile.tsx +0 -25
- package/src/Presentation/components/UI/Dialogs/YesNoQuestion/YesNoQuestion.scss +0 -35
- package/src/Presentation/components/UI/Dialogs/YesNoQuestion/YesNoQuestion.tsx +0 -89
- package/src/Presentation/components/UI/Elements/SwitchButton/SwitchButton.scss +0 -61
- package/src/Presentation/components/UI/Elements/SwitchButton/SwitchButton.tsx +0 -48
- package/src/Presentation/components/UI/Placeholders/ErrorComponent/ErrorComponent.scss +0 -74
- package/src/Presentation/components/UI/Placeholders/ErrorComponent/ErrorComponent.tsx +0 -72
- package/src/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.scss +0 -21
- package/src/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.tsx +0 -41
- package/src/Presentation/components/UI/svgs/ActiveSvg/ActiveSvg.scss +0 -3
- package/src/Presentation/components/UI/svgs/ActiveSvg/ActiveSvg.tsx +0 -41
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/AIWidget/Send.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/AIWidget/index.tsx +0 -39
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/BookIcon/BookIcon.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/BotIcon/BotIcon.svg +0 -5
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/BotIcon/BotIcon.tsx +0 -50
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/HammerIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/HandshakeIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/MuscleIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/NecktieIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/NeutralFaceIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/PalmsUpTogetherIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/PerformingArtsIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/PointUpIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/SmileyIcon/index.tsx +0 -20
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/SmirkIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/WhiteCheckMarkIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/Actions/Add/Add.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Add/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/AddContact/Add contact.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/AddContact/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Archive/Archive.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Archive/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/AssistAnswer/AssistAnswer.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/AssistAnswer/index.tsx +0 -93
- package/src/Presentation/components/UI/svgs/Icons/Actions/Copy/Copy.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Copy/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Delete/Delete.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Delete/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Download/Download.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Download/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Edit/Edit.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Edit/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/EditDots/EditDots.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/EditDots/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Emoji/Emoji.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Emoji/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/ForwardFilled/Forward filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/ForwardFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Hungup/Hungup.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Hungup/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/IncomeCall/Income call.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/IncomeCall/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Like/Like.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Like/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/NewChat/New chat.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/NewChat/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/OutcomeCall/Outcome call.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/OutcomeCall/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Phone/Phone.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Phone/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Actions/PhoneFilled/Phone filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/PhoneFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Remove/Remove.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Remove/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Remove2/Remove2.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Remove2/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/ReplyFilled/Reply filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/ReplyFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Send/Send.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Send/index.tsx +0 -38
- package/src/Presentation/components/UI/svgs/Icons/Actions/Share/Share.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Share/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Summarize/Summarize.svg +0 -6
- package/src/Presentation/components/UI/svgs/Icons/Actions/Summarize/index.tsx +0 -58
- package/src/Presentation/components/UI/svgs/Icons/Actions/SwapCamera/Swap camera.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/SwapCamera/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Tone/Tone.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Tone/index.tsx +0 -34
- package/src/Presentation/components/UI/svgs/Icons/Actions/Unarchive/Unarchive.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Unarchive/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/VideoIcon/Video.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/VideoIcon/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Voice/Voice.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Voice/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Contents/Brodcast/Broadcast.svg +0 -7
- package/src/Presentation/components/UI/svgs/Icons/Contents/Brodcast/index.tsx +0 -38
- package/src/Presentation/components/UI/svgs/Icons/Contents/Chat/Chat.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/Chat/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Contents/ChatFilled/Chat filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/ChatFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/Conference/Conference.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/Conference/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/Contact/Contact.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/Contact/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/ContactFilled/Contact filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/ContactFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/GroupChat/Group chat.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/GroupChat/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Contents/Notifications/Notifications.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/Notifications/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/PrivateChat/Private chat.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/PrivateChat/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/PublicChannel/Public channel.svg +0 -7
- package/src/Presentation/components/UI/svgs/Icons/Contents/PublicChannel/index.tsx +0 -67
- package/src/Presentation/components/UI/svgs/Icons/Contents/Stream/Stream.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/Stream/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/StreamFilled/Stream filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/StreamFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/User/User.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/User/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/IconsCommonTypes.ts +0 -6
- package/src/Presentation/components/UI/svgs/Icons/Media/Attachment/Attachment.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/Attachment/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/AudioFile/Audio file.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/AudioFile/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/BrokenFile/Broken file.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/BrokenFile/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/Camera/Camera.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/Camera/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/GifFile/GIF file.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/GifFile/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageEmpty/Image.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageEmpty/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageFile/File.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageFile/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageFilled/Image filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/LinkWeb/Link.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/LinkWeb/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/Location/Location.svg +0 -4
- package/src/Presentation/components/UI/svgs/Icons/Media/Location/index.tsx +0 -26
- package/src/Presentation/components/UI/svgs/Icons/Media/TextDocument/Text document.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/TextDocument/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/Translate/Translate.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/Translate/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Media/VideoFile/Video file.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/VideoFile/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Admin/Admin.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Admin/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Banned/Banned.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Banned/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Freeze/Freeze.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Freeze/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Moderations/Moderations.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Moderations/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Muted/Muted.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Muted/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowLeft/Arrow left.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowLeft/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowRight/Arrow right.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowRight/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Back/Back.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Back/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Close/Close.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Close/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Down/Down.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Down/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Leave/Leave.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Leave/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Navigation/More/More.svg +0 -7
- package/src/Presentation/components/UI/svgs/Icons/Navigation/More/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Next/Next.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Next/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Plus/Plus.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Plus/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Refresh/Refresh.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Refresh/index.tsx +0 -36
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Search/Search.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Search/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Settings/Settings.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Settings/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Navigation/SettingsField/Settings filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/SettingsField/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Status/Error/Error.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Error/index.tsx +0 -36
- package/src/Presentation/components/UI/svgs/Icons/Status/Help/Help.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Help/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Status/Information/Information.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Information/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Status/InformationFill/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Status/Loader/Loader.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Loader/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Status/Mention/Mention.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Mention/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Status/Sent/Sent.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Sent/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Status/ViewedDelivered/Viewed_Delivered.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/ViewedDelivered/index.tsx +0 -38
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOff/Camera off.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOff/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOn/Camera on.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOn/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOff/Check off.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOff/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOn/Check on.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOn/index.tsx +0 -24
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Favourite/Favourite.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Favourite/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/FavouriteFilled/Favourite filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/FavouriteFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/FullScreen/Full screen.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/FullScreen/inex.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Hide/Hide.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Hide/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/ImagePlay/Play.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/ImagePlay/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Louder/Louder.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Louder/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOff/Mic off.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOff/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOn/Mic on.svg +0 -4
- package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOn/index.tsx +0 -26
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Minimize/Minimize.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Minimize/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOff/Notify off.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOff/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOn/Notify on.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOn/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Pause/Pause.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Pause/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Quite/Quite.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Quite/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Record/Record.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Record/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Screenshare/Screenshare.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Screenshare/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Show/Show.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Show/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Speaker/Speaker.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Speaker/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/SpeakerOff/Speaker off.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/SpeakerOff/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/StopRecord/Stop record.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/StopRecord/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/StopShare/Stop share.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/StopShare/index.tsx +0 -22
- package/src/Presentation/components/containers/ColumnContainer/ColumnContainer.scss +0 -6
- package/src/Presentation/components/containers/ColumnContainer/ColumnContainer.tsx +0 -24
- package/src/Presentation/components/containers/RowCenterContainer/RowCenterContainer.scss +0 -45
- package/src/Presentation/components/containers/RowCenterContainer/RowCenterContainer.tsx +0 -95
- package/src/Presentation/components/containers/RowLeftContainer/RowLeftContainer.scss +0 -45
- package/src/Presentation/components/containers/RowLeftContainer/RowLeftContainer.tsx +0 -97
- package/src/Presentation/components/containers/RowRightContainer/RowRightContainer.scss +0 -46
- package/src/Presentation/components/containers/RowRightContainer/RowRightContainer.tsx +0 -97
- package/src/Presentation/components/containers/ScrollableContainer/ScrollableContainer.scss +0 -45
- package/src/Presentation/components/containers/ScrollableContainer/ScrollableContainer.tsx +0 -85
- package/src/Presentation/components/layouts/Desktop/DesktopLayout.scss +0 -31
- package/src/Presentation/components/layouts/Desktop/DesktopLayout.tsx +0 -52
- package/src/Presentation/components/layouts/Desktop/QuickBloxUIKitDesktopLayout.tsx +0 -382
- package/src/Presentation/components/layouts/LayoutCommonTypes.ts +0 -7
- package/src/Presentation/components/layouts/TestStage/CompanyLogo/CompanyLogo.tsx +0 -27
- package/src/Presentation/components/layouts/TestStage/LoginView/Login.scss +0 -71
- package/src/Presentation/components/layouts/TestStage/LoginView/Login.tsx +0 -95
- package/src/Presentation/components/layouts/TestStage/TestStageMarkup.scss +0 -24
- package/src/Presentation/components/layouts/TestStage/TestStageMarkup.tsx +0 -1109
- package/src/Presentation/components/providers/ModalContextProvider/Modal.scss +0 -71
- package/src/Presentation/components/providers/ModalContextProvider/Modal.tsx +0 -131
- package/src/Presentation/components/providers/ModalContextProvider/ModalContextProvider.tsx +0 -38
- package/src/Presentation/components/providers/ModalContextProvider/useModal.ts +0 -39
- package/src/Presentation/components/providers/ProviderProps.ts +0 -5
- package/src/Presentation/components/providers/QuickBloxUIKitProvider/QuickBloxUIKitProvider.tsx +0 -344
- package/src/Presentation/components/providers/QuickBloxUIKitProvider/useEventMessagesRepository.ts +0 -10
- package/src/Presentation/components/providers/QuickBloxUIKitProvider/useQBConnection.ts +0 -38
- package/src/Presentation/components/providers/QuickBloxUIKitProvider/useQbInitializedDataContext.ts +0 -83
- package/src/Presentation/components/providers/QuickBloxUIKitProvider/useQbUIKitDataContext.ts +0 -11
- package/src/QBconfig.ts +0 -221
- package/src/index-ui.ts +0 -77
- package/src/index.scss +0 -18
- package/src/index.tsx +0 -25
- package/src/logo.svg +0 -1
- package/src/package_artan_react_ui.json +0 -91
- package/src/package_original.json +0 -115
- package/src/qb-api-calls/index.ts +0 -581
- package/src/react-app-env.d.ts +0 -1
- package/src/setupTests.ts +0 -5
- package/src/utils/DateTimeFormatter.ts +0 -35
- package/src/utils/parse.ts +0 -74
- package/src/utils/utils.ts +0 -102
- package/tsconfig.json +0 -33
- package/typedoc.json +0 -4
- package/webpack.config.js +0 -56
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/AIWidgetActions/AIWidgetActions.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/ErrorMessageIcon.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/SliderMenu.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/Tone.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/UseDefaultAIAssistAnswerWidget.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/UseDefaultAIAssistAnswerWidgetWithProxy.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/UseDefaultAIRephraseMessageWidget.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/UseDefaultAIRephraseMessageWidgetWithProxy.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/UseDefaultAITranslateWidget.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/UseDefaultAITranslateWidgetWithProxy.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/useDefaultVoiceInputWidget.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/ErrorToast/ErrorToast.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/HighLightLink/HighLightLink.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs → Views}/InviteMembers/NotFoundContent/NotFoundContent.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs → Views}/InviteMembers/useInviteMembersViewModel.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs → Views}/PreviewDialog/PreviewAudioFile/PreviewAudioFile.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs → Views}/PreviewDialog/PreviewDefaultFile/PreviewDefaultFile.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs → Views}/PreviewDialog/PreviewImageFile/PreviewImageFile.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs → Views}/PreviewDialog/PreviewVideoFile/PreviewVideoFile.d.ts +0 -0
- /package/dist/Presentation/{components/layouts → layouts}/LayoutCommonTypes.d.ts +0 -0
- /package/dist/Presentation/{components/layouts → layouts}/TestStage/CompanyLogo/CompanyLogo.d.ts +0 -0
- /package/dist/Presentation/{components/layouts → layouts}/TestStage/TestStageMarkup.d.ts +0 -0
- /package/dist/Presentation/{components/providers → providers}/ModalContextProvider/Modal.d.ts +0 -0
- /package/dist/Presentation/{components/providers → providers}/ModalContextProvider/ModalContextProvider.d.ts +0 -0
- /package/dist/Presentation/{components/providers → providers}/ModalContextProvider/useModal.d.ts +0 -0
- /package/dist/Presentation/{components/providers → providers}/ProviderProps.d.ts +0 -0
- /package/dist/Presentation/{components/providers → providers}/QuickBloxUIKitProvider/useQbInitializedDataContext.d.ts +0 -0
- /package/dist/Presentation/{components/providers → providers}/QuickBloxUIKitProvider/useQbUIKitDataContext.d.ts +0 -0
- /package/dist/Presentation/{assets → themes}/DarkTheme.d.ts +0 -0
- /package/dist/Presentation/{assets → themes}/DefaultThemes/CustomTheme.d.ts +0 -0
- /package/dist/Presentation/{assets → themes}/DefaultThemes/DefaultTheme.d.ts +0 -0
- /package/dist/Presentation/{assets → themes}/LightTheme.d.ts +0 -0
- /package/dist/Presentation/{assets → themes}/ThemeScheme.d.ts +0 -0
- /package/dist/Presentation/{assets → themes}/UiKitTheme.d.ts +0 -0
package/public/robots.txt
DELETED
package/src/App.scss
DELETED
|
File without changes
|
package/src/App.tsx
DELETED
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
import React, { useEffect } from 'react';
|
|
2
|
-
import './App.scss';
|
|
3
|
-
import { Route, Routes, useNavigate } from 'react-router-dom';
|
|
4
|
-
import useQBConnection from './Presentation/components/providers/QuickBloxUIKitProvider/useQBConnection';
|
|
5
|
-
import { LocalDataSource } from './Data/source/local/LocalDataSource';
|
|
6
|
-
import Login from './Presentation/components/layouts/TestStage/LoginView/Login';
|
|
7
|
-
import QuickBloxUIKitProvider from './Presentation/components/providers/QuickBloxUIKitProvider/QuickBloxUIKitProvider';
|
|
8
|
-
import TestStageMarkup from './Presentation/components/layouts/TestStage/TestStageMarkup';
|
|
9
|
-
import { Stubs } from './Data/Stubs';
|
|
10
|
-
import {
|
|
11
|
-
LoginData,
|
|
12
|
-
RemoteDataSource,
|
|
13
|
-
} from './Data/source/remote/RemoteDataSource';
|
|
14
|
-
import QuickBloxUIKitDesktopLayout from './Presentation/components/layouts/Desktop/QuickBloxUIKitDesktopLayout';
|
|
15
|
-
import DefaultTheme from './Presentation/assets/DefaultThemes/DefaultTheme';
|
|
16
|
-
import useQbUIKitDataContext from './Presentation/components/providers/QuickBloxUIKitProvider/useQbUIKitDataContext';
|
|
17
|
-
import { QBConfig } from './QBconfig';
|
|
18
|
-
|
|
19
|
-
function App() {
|
|
20
|
-
// const currentContext = React.useContext(qbDataContext);
|
|
21
|
-
const currentContext = useQbUIKitDataContext();
|
|
22
|
-
|
|
23
|
-
const remoteDataSource: RemoteDataSource =
|
|
24
|
-
currentContext.storage.REMOTE_DATA_SOURCE;
|
|
25
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
26
|
-
const localDataSource: LocalDataSource =
|
|
27
|
-
currentContext.storage.LOCAL_DATA_SOURCE;
|
|
28
|
-
const { connectionRepository } = useQBConnection();
|
|
29
|
-
|
|
30
|
-
const initLoginData: LoginData = {
|
|
31
|
-
login: 'artimed', // vit1
|
|
32
|
-
password: 'quickblox',
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
const [currentUser, setCurrentUser] = React.useState(initLoginData);
|
|
36
|
-
|
|
37
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
38
|
-
async function prepareMockData() {
|
|
39
|
-
await Stubs.initializeWithUsersMockData(localDataSource);
|
|
40
|
-
//
|
|
41
|
-
await Stubs.initializeWithMessagesMockData(localDataSource);
|
|
42
|
-
//
|
|
43
|
-
await Stubs.initializeWithDialogsMockData(localDataSource);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
const navigate = useNavigate();
|
|
47
|
-
|
|
48
|
-
const logoutHandler = async () => {
|
|
49
|
-
console.log('call logout...');
|
|
50
|
-
currentContext.storage.SYNC_DIALOGS_USE_CASE.release();
|
|
51
|
-
console.log('call release...');
|
|
52
|
-
connectionRepository.stopKeepAlive();
|
|
53
|
-
console.log('call stopKeepAlive...');
|
|
54
|
-
await remoteDataSource.disconnectAndLogoutUser();
|
|
55
|
-
console.log('call disconnectAndLogoutUser...');
|
|
56
|
-
await currentContext.storage.LOCAL_DATA_SOURCE.clearAll();
|
|
57
|
-
console.log('call clearAll...');
|
|
58
|
-
setCurrentUser({ login: '', password: '' });
|
|
59
|
-
navigate('/');
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
const prepareSDK = async (authData: LoginData): Promise<void> => {
|
|
63
|
-
console.log('call prepareSDK with data:', authData);
|
|
64
|
-
// todo: must be real remote datasource
|
|
65
|
-
if (remoteDataSource.needInit) {
|
|
66
|
-
console.log('start prepareSDK actions with data:', authData);
|
|
67
|
-
await remoteDataSource.initSDKWithUser(
|
|
68
|
-
{
|
|
69
|
-
appIdOrToken: currentContext.InitParams.accountData.appId,
|
|
70
|
-
authKeyOrAppId: currentContext.InitParams.accountData.authKey,
|
|
71
|
-
authSecret: currentContext.InitParams.accountData.authSecret,
|
|
72
|
-
accountKey: currentContext.InitParams.accountData.accountKey,
|
|
73
|
-
config: QBConfig,
|
|
74
|
-
},
|
|
75
|
-
authData,
|
|
76
|
-
);
|
|
77
|
-
// await prepareMockData();
|
|
78
|
-
// todo: temporary off, must turn on and reorganize code rows
|
|
79
|
-
await connectionRepository.initializeStates();
|
|
80
|
-
console.log(
|
|
81
|
-
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
|
|
82
|
-
`3. after repo initialize, need init ${connectionRepository.needInit}`,
|
|
83
|
-
);
|
|
84
|
-
if (!connectionRepository.needInit) {
|
|
85
|
-
connectionRepository.keepALiveChatConnection();
|
|
86
|
-
}
|
|
87
|
-
//
|
|
88
|
-
await currentContext.storage.SYNC_DIALOGS_USE_CASE.execute(() => {
|
|
89
|
-
console.log('SYNC_DIALOGS_USE_CASE_MOCK.execute');
|
|
90
|
-
}).catch(() => {
|
|
91
|
-
console.log('EXCEPTION SYNC_DIALOGS_USE_CASE_MOCK.execute');
|
|
92
|
-
});
|
|
93
|
-
currentContext.storage.REMOTE_DATA_SOURCE.subscribeOnSessionExpiredListener(
|
|
94
|
-
() => {
|
|
95
|
-
console.log('call subscribeOnSessionExpiredListener');
|
|
96
|
-
console.timeLog('subscribeOnSessionExpiredListener');
|
|
97
|
-
logoutHandler();
|
|
98
|
-
},
|
|
99
|
-
);
|
|
100
|
-
//
|
|
101
|
-
QB.chat.onSessionExpiredListener = function (error) {
|
|
102
|
-
if (error) {
|
|
103
|
-
console.log('onSessionExpiredListener - error: ', error);
|
|
104
|
-
} else {
|
|
105
|
-
console.log('Hello from client app SessionExpiredListener');
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
//
|
|
109
|
-
}
|
|
110
|
-
};
|
|
111
|
-
|
|
112
|
-
const reloginSDK = async (authData: LoginData): Promise<void> => {
|
|
113
|
-
//
|
|
114
|
-
// TODO: 1. disconnect 2. setup new user
|
|
115
|
-
console.log('call reloginSDK with data:', JSON.stringify(authData));
|
|
116
|
-
currentContext.storage.SYNC_DIALOGS_USE_CASE.release();
|
|
117
|
-
connectionRepository.stopKeepAlive();
|
|
118
|
-
await remoteDataSource.disconnectAndLogoutUser();
|
|
119
|
-
await currentContext.storage.LOCAL_DATA_SOURCE.clearAll();
|
|
120
|
-
|
|
121
|
-
await remoteDataSource.loginWithUser(authData);
|
|
122
|
-
//
|
|
123
|
-
// todo: temporary off, must turn on and reorganize code rows
|
|
124
|
-
await connectionRepository.initializeStates();
|
|
125
|
-
console.log(
|
|
126
|
-
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
|
|
127
|
-
`3. after repo initialize in reloginSDK, need init ${connectionRepository.needInit}`,
|
|
128
|
-
);
|
|
129
|
-
if (!connectionRepository.needInit) {
|
|
130
|
-
connectionRepository.keepALiveChatConnection();
|
|
131
|
-
}
|
|
132
|
-
//
|
|
133
|
-
};
|
|
134
|
-
|
|
135
|
-
// eslint-disable-next-line @typescript-eslint/require-await
|
|
136
|
-
const prepareContent = async (): Promise<void> => {
|
|
137
|
-
console.log('PREPARE CONTENT');
|
|
138
|
-
// todo: must delete it and ADD Preload data (read first page everywhere)
|
|
139
|
-
// или во все юзкейсы 2) Get/Sync execute(completed/callback):Promise<Entity[]>
|
|
140
|
-
// await prepareMockData();
|
|
141
|
-
console.log('ADD REAL DATA TO DIALOG MOCK DATA ');
|
|
142
|
-
// await remoteDataSource.getDialogsFirstPage();
|
|
143
|
-
// await remoteDataSource.setUpMockStorage();
|
|
144
|
-
//
|
|
145
|
-
//
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
const loginHandler = async (data: LoginData): Promise<void> => {
|
|
149
|
-
setCurrentUser(data);
|
|
150
|
-
console.log(`call login actions: ${JSON.stringify(data)}`);
|
|
151
|
-
if (remoteDataSource.authInformation) {
|
|
152
|
-
console.log(
|
|
153
|
-
`authInformation: ${JSON.stringify(
|
|
154
|
-
remoteDataSource?.authInformation.userName,
|
|
155
|
-
)}`,
|
|
156
|
-
);
|
|
157
|
-
if (data.login !== remoteDataSource.authInformation.userName) {
|
|
158
|
-
await reloginSDK(data).catch((e) => {
|
|
159
|
-
console.log(
|
|
160
|
-
`exception in reloginSDK ${(e as unknown as Error).message}`,
|
|
161
|
-
);
|
|
162
|
-
});
|
|
163
|
-
await prepareContent().catch();
|
|
164
|
-
navigate('/desktop-test-mock');
|
|
165
|
-
} else {
|
|
166
|
-
navigate('/desktop-test-mock');
|
|
167
|
-
}
|
|
168
|
-
} else {
|
|
169
|
-
console.log('need prepare SDK with data:', data);
|
|
170
|
-
if (remoteDataSource.needInit) {
|
|
171
|
-
console.log('start prepareSDK actions with data:', data);
|
|
172
|
-
await remoteDataSource.initSDKWithUser(
|
|
173
|
-
{
|
|
174
|
-
appIdOrToken: currentContext.InitParams.accountData.appId,
|
|
175
|
-
authKeyOrAppId: currentContext.InitParams.accountData.authKey,
|
|
176
|
-
authSecret: currentContext.InitParams.accountData.authSecret,
|
|
177
|
-
accountKey: currentContext.InitParams.accountData.accountKey,
|
|
178
|
-
config: QBConfig,
|
|
179
|
-
},
|
|
180
|
-
data,
|
|
181
|
-
);
|
|
182
|
-
await prepareContent().catch();
|
|
183
|
-
navigate('/desktop-test-mock');
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
};
|
|
187
|
-
|
|
188
|
-
useEffect(() => {
|
|
189
|
-
console.log('HEAVE USER: ', JSON.stringify(currentUser));
|
|
190
|
-
}, [currentUser]);
|
|
191
|
-
|
|
192
|
-
useEffect(() => {
|
|
193
|
-
console.log('0. APP INIT');
|
|
194
|
-
prepareSDK(currentUser).catch((er) => {
|
|
195
|
-
console.log(er);
|
|
196
|
-
});
|
|
197
|
-
}, []);
|
|
198
|
-
//
|
|
199
|
-
// const { proxyConfig } = QBConfig.configAIApi.AIAnswerAssistWidgetConfig;
|
|
200
|
-
//
|
|
201
|
-
// const defaultAIAnswer = UseDefaultAIAssistAnswerWidget({
|
|
202
|
-
// ...proxyConfig,
|
|
203
|
-
// });
|
|
204
|
-
|
|
205
|
-
// todo: uncomment authSecret
|
|
206
|
-
return (
|
|
207
|
-
<QuickBloxUIKitProvider
|
|
208
|
-
maxFileSize={QBConfig.appConfig.maxFileSize}
|
|
209
|
-
// SDK={QB} //init SDK
|
|
210
|
-
accountData={{ ...QBConfig.credentials, sessionToken: '' }}
|
|
211
|
-
qbConfig={{ ...QBConfig }}
|
|
212
|
-
loginData={{
|
|
213
|
-
login: currentUser.login,
|
|
214
|
-
password: currentUser.password,
|
|
215
|
-
}}
|
|
216
|
-
>
|
|
217
|
-
<div className="App">
|
|
218
|
-
<div className="App">
|
|
219
|
-
<Routes>
|
|
220
|
-
{/* eslint-disable-next-line @typescript-eslint/no-misused-promises */}
|
|
221
|
-
<Route path="/" element={<Login loginHandler={loginHandler} />} />
|
|
222
|
-
<Route
|
|
223
|
-
path="/desktop-test-mock"
|
|
224
|
-
element={
|
|
225
|
-
<QuickBloxUIKitDesktopLayout
|
|
226
|
-
theme={new DefaultTheme()}
|
|
227
|
-
// AIAssist={{
|
|
228
|
-
// enabled: true,
|
|
229
|
-
// default: true,
|
|
230
|
-
// AIWidget: defaultAIAnswer,
|
|
231
|
-
// }}
|
|
232
|
-
/>
|
|
233
|
-
}
|
|
234
|
-
/>
|
|
235
|
-
|
|
236
|
-
<Route path="/test-stage" element={<TestStageMarkup />} />
|
|
237
|
-
</Routes>
|
|
238
|
-
</div>
|
|
239
|
-
<br />
|
|
240
|
-
<br />
|
|
241
|
-
</div>
|
|
242
|
-
</QuickBloxUIKitProvider>
|
|
243
|
-
);
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
export default App;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import {Tone} from "../Presentation/components/UI/Dialogs/MessagesView/AIWidgets/Tone";
|
|
2
|
-
|
|
3
|
-
export type FunctionResult<T> = {
|
|
4
|
-
result: T | T[] | boolean;
|
|
5
|
-
error: any;
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export type ProxyConfig = {
|
|
9
|
-
api: string;
|
|
10
|
-
servername: string;
|
|
11
|
-
port: string;
|
|
12
|
-
};
|
|
13
|
-
export interface WidgetConfig {
|
|
14
|
-
organizationName: string;
|
|
15
|
-
openAIModel: string;
|
|
16
|
-
apiKey: string;
|
|
17
|
-
maxTokens: number;
|
|
18
|
-
useDefault: boolean;
|
|
19
|
-
proxyConfig: ProxyConfig;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export interface AITranslateWidgetConfig extends WidgetConfig {
|
|
23
|
-
defaultLanguage: string;
|
|
24
|
-
languages: string[];
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface AIRephraseWidgetConfig extends WidgetConfig {
|
|
28
|
-
defaultTone: string;
|
|
29
|
-
Tones: Tone[];
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export interface QBConfig {
|
|
33
|
-
credentials: {
|
|
34
|
-
appId: number;
|
|
35
|
-
accountKey: string;
|
|
36
|
-
authKey: string;
|
|
37
|
-
authSecret: string;
|
|
38
|
-
sessionToken: string;
|
|
39
|
-
};
|
|
40
|
-
configAIApi: {
|
|
41
|
-
AIAnswerAssistWidgetConfig: WidgetConfig;
|
|
42
|
-
AITranslateWidgetConfig: AITranslateWidgetConfig;
|
|
43
|
-
AIRephraseWidgetConfig: AIRephraseWidgetConfig;
|
|
44
|
-
};
|
|
45
|
-
appConfig: {
|
|
46
|
-
maxFileSize: number;
|
|
47
|
-
sessionTimeOut: number;
|
|
48
|
-
chatProtocol: {
|
|
49
|
-
active: number;
|
|
50
|
-
};
|
|
51
|
-
debug: boolean;
|
|
52
|
-
endpoints: {
|
|
53
|
-
api: string;
|
|
54
|
-
chat: string;
|
|
55
|
-
};
|
|
56
|
-
// on: {
|
|
57
|
-
// sessionExpired: (handleResponse: any, retry: any) => Promise<void>;
|
|
58
|
-
// };
|
|
59
|
-
streamManagement: {
|
|
60
|
-
enable: boolean;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
}
|
|
@@ -1,333 +0,0 @@
|
|
|
1
|
-
import { ProxyConfig, QBConfig } from '../CommonTypes/FunctionResult';
|
|
2
|
-
|
|
3
|
-
const supportedLanguagesForIATranslate: string[] = [
|
|
4
|
-
'English',
|
|
5
|
-
'Ukrainian',
|
|
6
|
-
'Spanish',
|
|
7
|
-
'Portuguese',
|
|
8
|
-
'French',
|
|
9
|
-
'German',
|
|
10
|
-
];
|
|
11
|
-
|
|
12
|
-
// ["en-US", "zh-CN", "ja-JP"]
|
|
13
|
-
const languageBCP47: Record<string, string> = {
|
|
14
|
-
'ar-SA': 'Arabic',
|
|
15
|
-
'bn-BD': 'Bangla',
|
|
16
|
-
'bn-IN': 'Bangla',
|
|
17
|
-
'cs-CZ': 'Czech',
|
|
18
|
-
'da-DK': 'Danish',
|
|
19
|
-
'de-AT': 'German',
|
|
20
|
-
'de-CH': 'German',
|
|
21
|
-
'de-DE': 'German',
|
|
22
|
-
'el-GR': 'Greek',
|
|
23
|
-
'en-AU': 'English',
|
|
24
|
-
'en-CA': 'English',
|
|
25
|
-
'en-GB': 'English',
|
|
26
|
-
'en-IE': 'English',
|
|
27
|
-
'en-IN': 'English',
|
|
28
|
-
'en-NZ': 'English',
|
|
29
|
-
'en-US': 'English',
|
|
30
|
-
'en-ZA': 'English',
|
|
31
|
-
'es-AR': 'Spanish',
|
|
32
|
-
'es-CL': 'Spanish',
|
|
33
|
-
'es-CO': 'Spanish',
|
|
34
|
-
'es-ES': 'Spanish',
|
|
35
|
-
'es-MX': 'Spanish',
|
|
36
|
-
'es-US': 'Spanish',
|
|
37
|
-
'fi-FI': 'Finnish',
|
|
38
|
-
'fr-BE': 'French',
|
|
39
|
-
'fr-CA': 'French',
|
|
40
|
-
'fr-CH': 'French',
|
|
41
|
-
'fr-FR': 'French',
|
|
42
|
-
'he-IL': 'Hebrew',
|
|
43
|
-
'hi-IN': 'Hindi',
|
|
44
|
-
'hu-HU': 'Hungarian',
|
|
45
|
-
'id-ID': 'Indonesian',
|
|
46
|
-
'it-CH': 'Italian',
|
|
47
|
-
'it-IT': 'Italian',
|
|
48
|
-
'ja-JP': 'Japanese',
|
|
49
|
-
'ko-KR': 'Korean',
|
|
50
|
-
'nl-BE': 'Dutch',
|
|
51
|
-
'nl-NL': 'Dutch',
|
|
52
|
-
'no-NO': 'Norwegian',
|
|
53
|
-
'pl-PL': 'Polish',
|
|
54
|
-
'pt-BR': 'Portuguese',
|
|
55
|
-
'pt-PT': 'Portuguese',
|
|
56
|
-
'ro-RO': 'Romanian',
|
|
57
|
-
'ru-RU': 'Russian',
|
|
58
|
-
'sk-SK': 'Slovak',
|
|
59
|
-
'sv-SE': 'Swedish',
|
|
60
|
-
'ta-IN': 'Tamil',
|
|
61
|
-
'ta-LK': 'Tamil',
|
|
62
|
-
'th-TH': 'Thai',
|
|
63
|
-
'tr-TR': 'Turkish',
|
|
64
|
-
'zh-CN': 'Chinese',
|
|
65
|
-
'zh-HK': 'Chinese',
|
|
66
|
-
'zh-TW': 'Chinese',
|
|
67
|
-
'uk-UA': 'Ukrainian',
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
const getDefaultSystemLanguage = () => {
|
|
71
|
-
const sysLanguage = navigator.language;
|
|
72
|
-
|
|
73
|
-
const language: string = languageBCP47[sysLanguage] || 'English';
|
|
74
|
-
|
|
75
|
-
return language;
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
export class DefaultConfigurations {
|
|
79
|
-
static getDefaultProxyConfig(): ProxyConfig {
|
|
80
|
-
return {
|
|
81
|
-
api: 'v1/chat/completions',
|
|
82
|
-
servername: 'https://api.openai.com',
|
|
83
|
-
port: '',
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
static getDefaultLanguageForAITranslate(
|
|
88
|
-
configAITranslate: AITranslateWidgetConfig,
|
|
89
|
-
): string {
|
|
90
|
-
let languageForAITranslate = 'English';
|
|
91
|
-
const defaultLanguage: string =
|
|
92
|
-
configAITranslate.defaultLanguage ||
|
|
93
|
-
DefaultConfigurations.getDefaultQBConfig().configAIApi
|
|
94
|
-
.AITranslateWidgetConfig.defaultLanguage;
|
|
95
|
-
|
|
96
|
-
if (
|
|
97
|
-
defaultLanguage.length > 0 &&
|
|
98
|
-
supportedLanguagesForIATranslate.includes(defaultLanguage)
|
|
99
|
-
) {
|
|
100
|
-
languageForAITranslate = defaultLanguage;
|
|
101
|
-
} else {
|
|
102
|
-
const sysLanguage = getDefaultSystemLanguage();
|
|
103
|
-
|
|
104
|
-
if (supportedLanguagesForIATranslate.includes(sysLanguage)) {
|
|
105
|
-
languageForAITranslate = sysLanguage;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
return languageForAITranslate;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
static getAdditionalLanguagesForAITranslate(
|
|
113
|
-
configAITranslate: AITranslateWidgetConfig,
|
|
114
|
-
): string[] {
|
|
115
|
-
const additionalLanguages: string[] = [];
|
|
116
|
-
const languages: string[] =
|
|
117
|
-
configAITranslate.languages ||
|
|
118
|
-
DefaultConfigurations.getDefaultQBConfig().configAIApi
|
|
119
|
-
.AITranslateWidgetConfig.languages;
|
|
120
|
-
|
|
121
|
-
languages.forEach((item) => {
|
|
122
|
-
if (supportedLanguagesForIATranslate.includes(item)) {
|
|
123
|
-
additionalLanguages.push(item);
|
|
124
|
-
} else {
|
|
125
|
-
additionalLanguages.push('English');
|
|
126
|
-
}
|
|
127
|
-
});
|
|
128
|
-
|
|
129
|
-
return additionalLanguages;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
//
|
|
133
|
-
static getDefaultQBConfig(): QBConfig {
|
|
134
|
-
return {
|
|
135
|
-
credentials: {
|
|
136
|
-
appId: -1,
|
|
137
|
-
accountKey: '',
|
|
138
|
-
authKey: '',
|
|
139
|
-
authSecret: '',
|
|
140
|
-
sessionToken: '',
|
|
141
|
-
},
|
|
142
|
-
configAIApi: {
|
|
143
|
-
AIAnswerAssistWidgetConfig: {
|
|
144
|
-
organizationName: 'Quickblox',
|
|
145
|
-
openAIModel: 'gpt-3.5-turbo',
|
|
146
|
-
apiKey: '',
|
|
147
|
-
maxTokens: 3584,
|
|
148
|
-
useDefault: true,
|
|
149
|
-
proxyConfig: {
|
|
150
|
-
api: 'v1/chat/completions',
|
|
151
|
-
servername: 'https://api.openai.com/',
|
|
152
|
-
port: '',
|
|
153
|
-
},
|
|
154
|
-
},
|
|
155
|
-
AITranslateWidgetConfig: {
|
|
156
|
-
organizationName: 'Quickblox',
|
|
157
|
-
openAIModel: 'gpt-3.5-turbo',
|
|
158
|
-
apiKey: '',
|
|
159
|
-
maxTokens: 3584,
|
|
160
|
-
useDefault: true,
|
|
161
|
-
defaultLanguage: 'English',
|
|
162
|
-
languages: ['English', 'French', 'Portuguese', 'German', 'Ukrainian'],
|
|
163
|
-
proxyConfig: {
|
|
164
|
-
api: 'v1/chat/completions',
|
|
165
|
-
servername: '',
|
|
166
|
-
port: '',
|
|
167
|
-
},
|
|
168
|
-
// proxyConfig: {
|
|
169
|
-
// api: 'v1/chat/completions',
|
|
170
|
-
// servername: 'http://localhost',
|
|
171
|
-
// port: '3012',
|
|
172
|
-
// },
|
|
173
|
-
},
|
|
174
|
-
AIRephraseWidgetConfig: {
|
|
175
|
-
organizationName: 'Quickblox',
|
|
176
|
-
openAIModel: 'gpt-3.5-turbo',
|
|
177
|
-
apiKey: '',
|
|
178
|
-
maxTokens: 3584,
|
|
179
|
-
useDefault: true,
|
|
180
|
-
defaultTone: 'Professional',
|
|
181
|
-
Tones: [
|
|
182
|
-
{
|
|
183
|
-
name: 'Professional Tone',
|
|
184
|
-
description:
|
|
185
|
-
'This would edit messages to sound more formal, using technical vocabulary, clear sentence structures, and maintaining a respectful tone. It would avoid colloquial language and ensure appropriate salutations and sign-offs',
|
|
186
|
-
iconEmoji: '👔',
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
name: 'Friendly Tone',
|
|
190
|
-
description:
|
|
191
|
-
'This would adjust messages to reflect a casual, friendly tone. It would incorporate casual language, use emoticons, exclamation points, and other informalities to make the message seem more friendly and approachable.',
|
|
192
|
-
iconEmoji: '🤝',
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
name: 'Encouraging Tone',
|
|
196
|
-
description:
|
|
197
|
-
'This tone would be useful for motivation and encouragement. It would include positive words, affirmations, and express support and belief in the recipient.',
|
|
198
|
-
iconEmoji: '💪',
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
name: 'Empathetic Tone',
|
|
202
|
-
description:
|
|
203
|
-
'This tone would be utilized to display understanding and empathy. It would involve softer language, acknowledging feelings, and demonstrating compassion and support.',
|
|
204
|
-
iconEmoji: '🤲',
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
name: 'Neutral Tone',
|
|
208
|
-
description:
|
|
209
|
-
'For times when you want to maintain an even, unbiased, and objective tone. It would avoid extreme language and emotive words, opting for clear, straightforward communication.',
|
|
210
|
-
iconEmoji: '😐',
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
name: 'Assertive Tone',
|
|
214
|
-
description:
|
|
215
|
-
'This tone is beneficial for making clear points, standing ground, or in negotiations. It uses direct language, is confident, and does not mince words.',
|
|
216
|
-
iconEmoji: '🔨',
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
name: 'Instructive Tone',
|
|
220
|
-
description:
|
|
221
|
-
'This tone would be useful for tutorials, guides, or other teaching and training materials. It is clear, concise, and walks the reader through steps or processes in a logical manner.',
|
|
222
|
-
iconEmoji: '📖',
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
name: 'Persuasive Tone',
|
|
226
|
-
description:
|
|
227
|
-
'This tone can be used when trying to convince someone or argue a point. It uses persuasive language, powerful words, and logical reasoning.',
|
|
228
|
-
iconEmoji: '☝️',
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
name: 'Sarcastic/Ironic Tone',
|
|
232
|
-
description:
|
|
233
|
-
'This tone can make the communication more humorous or show an ironic stance. It is harder to implement as it requires the AI to understand nuanced language and may not always be taken as intended by the reader.',
|
|
234
|
-
iconEmoji: '😏',
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
name: 'Poetic Tone',
|
|
238
|
-
description:
|
|
239
|
-
'This would add an artistic touch to messages, using figurative language, rhymes, and rhythm to create a more expressive text.',
|
|
240
|
-
iconEmoji: '🎭',
|
|
241
|
-
},
|
|
242
|
-
],
|
|
243
|
-
proxyConfig: {
|
|
244
|
-
api: 'v1/chat/completions',
|
|
245
|
-
servername: 'https://api.openai.com/',
|
|
246
|
-
port: '',
|
|
247
|
-
},
|
|
248
|
-
},
|
|
249
|
-
},
|
|
250
|
-
appConfig: {
|
|
251
|
-
maxFileSize: 10 * 1024 * 1024,
|
|
252
|
-
sessionTimeOut: 122,
|
|
253
|
-
chatProtocol: {
|
|
254
|
-
active: 2,
|
|
255
|
-
},
|
|
256
|
-
debug: true,
|
|
257
|
-
endpoints: {
|
|
258
|
-
api: 'api.quickblox.com',
|
|
259
|
-
chat: 'chat.quickblox.com',
|
|
260
|
-
},
|
|
261
|
-
streamManagement: {
|
|
262
|
-
enable: true,
|
|
263
|
-
},
|
|
264
|
-
},
|
|
265
|
-
// credentials: {
|
|
266
|
-
// appId: -1,
|
|
267
|
-
// accountKey: '',
|
|
268
|
-
// authKey: '',
|
|
269
|
-
// authSecret: '',
|
|
270
|
-
// sessionToken: '',
|
|
271
|
-
// },
|
|
272
|
-
// configAIApi: {
|
|
273
|
-
// AIAnswerAssistWidgetConfig: {
|
|
274
|
-
// apiKey: '',
|
|
275
|
-
// useDefault: true,
|
|
276
|
-
// proxyConfig: {
|
|
277
|
-
// api: 'v1/chat/completions',
|
|
278
|
-
// servername: 'https://api.openai.com/',
|
|
279
|
-
// port: '',
|
|
280
|
-
// sessionToken: '',
|
|
281
|
-
// },
|
|
282
|
-
// },
|
|
283
|
-
// AITranslateWidgetConfig: {
|
|
284
|
-
// apiKey: '',
|
|
285
|
-
// useDefault: true,
|
|
286
|
-
// defaultLanguage: 'English',
|
|
287
|
-
// languages: [
|
|
288
|
-
// 'English',
|
|
289
|
-
// 'Spanish',
|
|
290
|
-
// 'French',
|
|
291
|
-
// 'Portuguese',
|
|
292
|
-
// 'German',
|
|
293
|
-
// 'Ukrainian',
|
|
294
|
-
// ],
|
|
295
|
-
// proxyConfig: {
|
|
296
|
-
// api: 'v1/chat/completions',
|
|
297
|
-
// servername: 'https://api.openai.com/',
|
|
298
|
-
// port: '',
|
|
299
|
-
// sessionToken: '',
|
|
300
|
-
// },
|
|
301
|
-
// },
|
|
302
|
-
// AIRephraseWidgetConfig: {
|
|
303
|
-
// apiKey: '',
|
|
304
|
-
// useDefault: true,
|
|
305
|
-
// defaultTone: 'Professional',
|
|
306
|
-
// proxyConfig: {
|
|
307
|
-
// api: 'v1/chat/completions',
|
|
308
|
-
// servername: 'https://api.openai.com/',
|
|
309
|
-
// port: '',
|
|
310
|
-
// sessionToken: '',
|
|
311
|
-
// },
|
|
312
|
-
// },
|
|
313
|
-
// },
|
|
314
|
-
// appConfig: {
|
|
315
|
-
// maxFileSize: 10 * 1024 * 1024,
|
|
316
|
-
// sessionTimeOut: 122,
|
|
317
|
-
// chatProtocol: {
|
|
318
|
-
// active: 2,
|
|
319
|
-
// },
|
|
320
|
-
// debug: true,
|
|
321
|
-
// endpoints: {
|
|
322
|
-
// api: 'api.quickblox.com',
|
|
323
|
-
// chat: 'chat.quickblox.com',
|
|
324
|
-
// },
|
|
325
|
-
// streamManagement: {
|
|
326
|
-
// enable: true,
|
|
327
|
-
// },
|
|
328
|
-
// },
|
|
329
|
-
};
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
//
|
|
333
|
-
}
|