quickblox-react-ui-kit 0.4.1 → 0.4.2-beta.2
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/dist/Presentation/ui-components/TextField/TextField.d.ts +1 -1
- package/dist/index-ui.d.ts +2 -1
- package/dist/index-ui.js +21 -0
- package/dist/index-ui.js.map +1 -1
- package/package.json +2 -2
- package/.storybook/main.ts +0 -26
- package/.storybook/preview.ts +0 -16
- 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 -3
- package/src/App.tsx +0 -232
- package/src/CommonTypes/BaseViewModel.ts +0 -95
- package/src/CommonTypes/CommonTypes.ts +0 -260
- package/src/CommonTypes/FunctionResult.ts +0 -7
- package/src/Data/Creator.ts +0 -105
- package/src/Data/DefaultConfigurations.ts +0 -277
- package/src/Data/Stubs.ts +0 -1241
- 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 -49
- package/src/Data/dto/message/LocalMessagesDTO.ts +0 -21
- package/src/Data/dto/message/RemoteMessageDTO.ts +0 -57
- 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 -21
- 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 -736
- package/src/Data/mapper/DialogRemoteDTOMapper.ts +0 -736
- package/src/Data/mapper/FileLocalDTOMapper.ts +0 -216
- package/src/Data/mapper/FileRemoteDTOMapper.ts +0 -230
- package/src/Data/mapper/IMapper.ts +0 -4
- package/src/Data/mapper/MessageLocalDTOMapper.ts +0 -426
- package/src/Data/mapper/MessageRemoteDTOMapper.ts +0 -465
- package/src/Data/mapper/UserLocalDTOMapper.ts +0 -387
- package/src/Data/mapper/UserRemoteDTOMapper.ts +0 -398
- package/src/Data/repository/ConnectionRepository.ts +0 -135
- package/src/Data/repository/DialogsRepository.ts +0 -374
- package/src/Data/repository/EventMessagesRepository.ts +0 -325
- package/src/Data/repository/FileRepository.ts +0 -107
- package/src/Data/repository/MessagesRepository.ts +0 -291
- package/src/Data/repository/UsersRepository.ts +0 -297
- 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 -22
- 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 -260
- package/src/Data/source/local/ILocalDataSource.ts +0 -41
- package/src/Data/source/local/ILocalFileDataSource.ts +0 -11
- package/src/Data/source/local/LocalDataSource.ts +0 -353
- package/src/Data/source/local/LocalFileDataSource.ts +0 -20
- package/src/Data/source/remote/IRemoteDataSource.ts +0 -127
- package/src/Data/source/remote/Mapper/DialogDTOMapper.ts +0 -443
- package/src/Data/source/remote/Mapper/FileDTOMapper.ts +0 -274
- package/src/Data/source/remote/Mapper/IDTOMapper.ts +0 -4
- package/src/Data/source/remote/Mapper/MessageDTOMapper.ts +0 -608
- package/src/Data/source/remote/Mapper/UserDTOMapper.ts +0 -344
- package/src/Data/source/remote/RemoteDataSource.ts +0 -1503
- 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 -19
- 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 -9
- package/src/Domain/entity/PrivateDialogEntity.ts +0 -46
- package/src/Domain/entity/PublicDialogEntity.ts +0 -80
- package/src/Domain/entity/UserEntity.ts +0 -13
- package/src/Domain/exception/domain/DomainExecption.ts +0 -5
- package/src/Domain/repository/IDialogsRepository.ts +0 -42
- 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 -79
- package/src/Domain/use_cases/ForwardMessagesUseCase.ts +0 -73
- package/src/Domain/use_cases/GetAllDialogsUseCase.ts +0 -20
- package/src/Domain/use_cases/GetAllDialogsUseCaseWithMock.ts +0 -40
- 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 -32
- package/src/Domain/use_cases/GetUsersByIdsUseCase.ts +0 -22
- package/src/Domain/use_cases/LeaveDialogUseCase.ts +0 -116
- package/src/Domain/use_cases/RemoveUsersFromTheDialogUseCase.ts +0 -118
- package/src/Domain/use_cases/ReplyMessagesUseCase.ts +0 -35
- package/src/Domain/use_cases/SendTextMessageUseCase.ts +0 -27
- package/src/Domain/use_cases/SubscribeToDialogEventsUseCase.ts +0 -160
- package/src/Domain/use_cases/SubscribeToDialogsUpdatesUseCase.ts +0 -68
- package/src/Domain/use_cases/SubscribeToDialogsUpdatesUseCaseWithMock.ts +0 -45
- package/src/Domain/use_cases/SyncDialogsUseCase.ts +0 -177
- package/src/Domain/use_cases/UpdateCurrentDialogInDataSourceUseCase.ts +0 -31
- package/src/Domain/use_cases/UpdateDialogUseCase.ts +0 -77
- package/src/Domain/use_cases/UploadFileUseCase.ts +0 -24
- package/src/Domain/use_cases/UserTypingMessageUseCase.ts +0 -50
- package/src/Domain/use_cases/ai/AIAnswerAssistUseCase.ts +0 -69
- package/src/Domain/use_cases/ai/AIAnswerAssistWithProxyUseCase.ts +0 -57
- package/src/Domain/use_cases/ai/AIAnswerAssistWithSDKUseCase.ts +0 -50
- package/src/Domain/use_cases/ai/AIRephraseUseCase.ts +0 -89
- package/src/Domain/use_cases/ai/AIRephraseWithProxyUseCase.ts +0 -62
- package/src/Domain/use_cases/ai/AITranslateUseCase.ts +0 -76
- package/src/Domain/use_cases/ai/AITranslateWithProxyUseCase.ts +0 -63
- package/src/Domain/use_cases/ai/AITranslateWithSDKUseCase.ts +0 -107
- 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 -144
- package/src/Presentation/.gitkeep +0 -0
- package/src/Presentation/Views/Dialog/AIComponents/AIAssist/AIAssist.scss +0 -39
- package/src/Presentation/Views/Dialog/AIComponents/AIAssist/AIAssist.tsx +0 -71
- package/src/Presentation/Views/Dialog/AIComponents/AIAssistComponent/AIAssistComponent.scss +0 -32
- package/src/Presentation/Views/Dialog/AIComponents/AIAssistComponent/AIAssistComponent.tsx +0 -28
- package/src/Presentation/Views/Dialog/AIComponents/AITranslate/AITranslate.scss +0 -77
- package/src/Presentation/Views/Dialog/AIComponents/AITranslate/AITranslate.tsx +0 -126
- package/src/Presentation/Views/Dialog/AIComponents/AITranslateComponent/AITranslateComponent.scss +0 -47
- package/src/Presentation/Views/Dialog/AIComponents/AITranslateComponent/AITranslateComponent.tsx +0 -78
- package/src/Presentation/Views/Dialog/AIWidgets/AIMessageWidget.ts +0 -40
- package/src/Presentation/Views/Dialog/AIWidgets/AIRephraseWidget/AIRephraseWidget.scss +0 -25
- package/src/Presentation/Views/Dialog/AIWidgets/AIRephraseWidget/AIRephraseWidget.tsx +0 -186
- package/src/Presentation/Views/Dialog/AIWidgets/AIWidgetActions/AIWidgetActions.scss +0 -55
- package/src/Presentation/Views/Dialog/AIWidgets/AIWidgetActions/AIWidgetActions.tsx +0 -122
- package/src/Presentation/Views/Dialog/AIWidgets/ErrorMessageIcon.tsx +0 -98
- package/src/Presentation/Views/Dialog/AIWidgets/SliderMenu.tsx +0 -172
- package/src/Presentation/Views/Dialog/AIWidgets/Tone.ts +0 -21
- package/src/Presentation/Views/Dialog/AIWidgets/UseDefaultAIAssistAnswerWidget.tsx +0 -72
- package/src/Presentation/Views/Dialog/AIWidgets/UseDefaultAIAssistAnswerWidgetWithProxy.tsx +0 -72
- package/src/Presentation/Views/Dialog/AIWidgets/UseDefaultAIAssistAnswerWidgetWithSDK.tsx +0 -74
- package/src/Presentation/Views/Dialog/AIWidgets/UseDefaultAIRephraseMessageWidget.tsx +0 -96
- package/src/Presentation/Views/Dialog/AIWidgets/UseDefaultAIRephraseMessageWidgetWithProxy.tsx +0 -94
- package/src/Presentation/Views/Dialog/AIWidgets/UseDefaultAITranslateWidget.tsx +0 -78
- package/src/Presentation/Views/Dialog/AIWidgets/UseDefaultAITranslateWidgetWithProxy.tsx +0 -78
- package/src/Presentation/Views/Dialog/AIWidgets/UseDefaultAITranslateWidgetWithSDK.tsx +0 -70
- package/src/Presentation/Views/Dialog/AIWidgets/useDefaultVoiceInputWidget.tsx +0 -88
- package/src/Presentation/Views/Dialog/ContextMenu/ContextMenu.scss +0 -58
- package/src/Presentation/Views/Dialog/ContextMenu/ContextMenu.tsx +0 -93
- package/src/Presentation/Views/Dialog/Dialog.scss +0 -368
- package/src/Presentation/Views/Dialog/Dialog.tsx +0 -100
- package/src/Presentation/Views/Dialog/DialogHeader/DialogBackIcon/DialogBackIcon.scss +0 -29
- package/src/Presentation/Views/Dialog/DialogHeader/DialogBackIcon/DialogBackIcon.tsx +0 -34
- package/src/Presentation/Views/Dialog/DialogHeader/DialogHeader.scss +0 -114
- package/src/Presentation/Views/Dialog/DialogHeader/DialogHeader.tsx +0 -51
- package/src/Presentation/Views/Dialog/DialogHeader/DialogInfoIcon/DialogInfoIcon.scss +0 -53
- package/src/Presentation/Views/Dialog/DialogHeader/DialogInfoIcon/DialogInfoIcon.tsx +0 -58
- package/src/Presentation/Views/Dialog/DialogViewModel.ts +0 -26
- package/src/Presentation/Views/Dialog/DropDownMenu/DropDownMenu.scss +0 -84
- package/src/Presentation/Views/Dialog/DropDownMenu/DropDownMenu.tsx +0 -105
- package/src/Presentation/Views/Dialog/DropDownMenu/ItemDropDownMenu/ItemDropDownMenu.scss +0 -50
- package/src/Presentation/Views/Dialog/DropDownMenu/ItemDropDownMenu/ItemDropDownMenu.tsx +0 -43
- package/src/Presentation/Views/Dialog/ErrorToast/ErrorToast.scss +0 -26
- package/src/Presentation/Views/Dialog/ErrorToast/ErrorToast.tsx +0 -23
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogListItem/DialogListItem.scss +0 -74
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogListItem/DialogListItem.tsx +0 -96
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogsWithSearch.scss +0 -50
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogsWithSearch.tsx +0 -97
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/SearchComponent/SearchComponent.scss +0 -98
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/SearchComponent/SearchComponent.tsx +0 -65
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessageFlow.scss +0 -159
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessageFlow.tsx +0 -122
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessagePreview/ForwardMessagePreview.scss +0 -100
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessagePreview/ForwardMessagePreview.tsx +0 -90
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/InputForForwarding/InputForForwarding.scss +0 -95
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/InputForForwarding/InputForForwarding.tsx +0 -47
- package/src/Presentation/Views/Dialog/InputMessage/InputMessage.scss +0 -92
- package/src/Presentation/Views/Dialog/InputMessage/InputMessage.tsx +0 -145
- package/src/Presentation/Views/Dialog/Message/HighLightLink/HighLightLink.scss +0 -97
- package/src/Presentation/Views/Dialog/Message/HighLightLink/HighLightLink.tsx +0 -114
- package/src/Presentation/Views/Dialog/Message/IncomingForwardedMessage/IncomingForwardedMessage.scss +0 -250
- package/src/Presentation/Views/Dialog/Message/IncomingForwardedMessage/IncomingForwardedMessage.tsx +0 -290
- package/src/Presentation/Views/Dialog/Message/IncomingMessage/AvatarContentIncomingUser/AvatarContentIncomingUser.scss +0 -22
- package/src/Presentation/Views/Dialog/Message/IncomingMessage/AvatarContentIncomingUser/AvatarContentIncomingUser.tsx +0 -32
- package/src/Presentation/Views/Dialog/Message/IncomingMessage/IncomingMessage.scss +0 -241
- package/src/Presentation/Views/Dialog/Message/IncomingMessage/IncomingMessage.tsx +0 -316
- package/src/Presentation/Views/Dialog/Message/IncomingMessage/MessageContentComponent/MessageContentComponent.scss +0 -4
- package/src/Presentation/Views/Dialog/Message/IncomingMessage/MessageContentComponent/MessageContentComponent.tsx +0 -67
- package/src/Presentation/Views/Dialog/Message/IncomingRepliedMessage/IncomingRepliedMessage.scss +0 -250
- package/src/Presentation/Views/Dialog/Message/IncomingRepliedMessage/IncomingRepliedMessage.tsx +0 -298
- package/src/Presentation/Views/Dialog/Message/Message.tsx +0 -378
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/AudioAttachment/AudioAttachment.scss +0 -31
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/AudioAttachment/AudioAttachment.tsx +0 -155
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/DefaultAttachment/DefaultAttachment.scss +0 -76
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/DefaultAttachment/DefaultAttachment.tsx +0 -50
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/ImageAttachment/ImageAttachment.scss +0 -14
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/ImageAttachment/ImageAttachment.tsx +0 -50
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/MessageAttachment.tsx +0 -92
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/VideoAttachment/VideoAttachment.scss +0 -18
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/VideoAttachment/VideoAttachment.tsx +0 -58
- package/src/Presentation/Views/Dialog/Message/MessageContextMenu/MessageContextMenu.scss +0 -10
- package/src/Presentation/Views/Dialog/Message/MessageContextMenu/MessageContextMenu.tsx +0 -61
- package/src/Presentation/Views/Dialog/Message/OutgoinForwardedMessage/OutgoinForwardedMessage.scss +0 -160
- package/src/Presentation/Views/Dialog/Message/OutgoinForwardedMessage/OutgoinForwardedMessage.tsx +0 -133
- package/src/Presentation/Views/Dialog/Message/OutgoingMessage/OutgoingMessage.scss +0 -122
- package/src/Presentation/Views/Dialog/Message/OutgoingMessage/OutgoingMessage.tsx +0 -104
- package/src/Presentation/Views/Dialog/Message/OutgoingRepliedMessage/OutgoingRepliedMessage.scss +0 -155
- package/src/Presentation/Views/Dialog/Message/OutgoingRepliedMessage/OutgoingRepliedMessage.tsx +0 -103
- package/src/Presentation/Views/Dialog/MessageContextMenu/MessageContextMenu.scss +0 -19
- package/src/Presentation/Views/Dialog/MessageContextMenu/MessageContextMenu.tsx +0 -78
- package/src/Presentation/Views/Dialog/MessageItem/MessageItem.scss +0 -21
- package/src/Presentation/Views/Dialog/MessageItem/MessageItem.tsx +0 -378
- package/src/Presentation/Views/Dialog/SystemDateBanner/SystemDateBanner.scss +0 -23
- package/src/Presentation/Views/Dialog/SystemDateBanner/SystemDateBanner.tsx +0 -17
- package/src/Presentation/Views/Dialog/SystemMessageBanner/SystemMessageBanner.scss +0 -21
- package/src/Presentation/Views/Dialog/SystemMessageBanner/SystemMessageBanner.tsx +0 -17
- package/src/Presentation/Views/Dialog/VoiceMessage/VoiceMessage.tsx +0 -21
- package/src/Presentation/Views/Dialog/useDialogViewModel.ts +0 -765
- package/src/Presentation/Views/DialogInfo/DialogInfo.scss +0 -237
- package/src/Presentation/Views/DialogInfo/DialogInfo.tsx +0 -495
- package/src/Presentation/Views/DialogInfo/DialogMemberButton/DialogMembersButton.scss +0 -42
- package/src/Presentation/Views/DialogInfo/DialogMemberButton/DialogMembersButton.tsx +0 -26
- package/src/Presentation/Views/DialogInfo/MembersList/MembersList.scss +0 -85
- package/src/Presentation/Views/DialogInfo/MembersList/MembersList.tsx +0 -74
- package/src/Presentation/Views/DialogInfo/UsersList/SingleUser/SingleUser.scss +0 -66
- package/src/Presentation/Views/DialogInfo/UsersList/SingleUser/SingleUser.tsx +0 -71
- package/src/Presentation/Views/DialogInfo/UsersList/UsersList.scss +0 -0
- package/src/Presentation/Views/DialogInfo/UsersList/UsersList.tsx +0 -71
- package/src/Presentation/Views/DialogInfo/UsersList/UsersListViewModel.ts +0 -15
- package/src/Presentation/Views/DialogInfo/UsersList/useUsersListViewModel.ts +0 -125
- package/src/Presentation/Views/DialogList/DialogList.scss +0 -150
- package/src/Presentation/Views/DialogList/DialogList.tsx +0 -407
- package/src/Presentation/Views/DialogList/DialogListViewModel.ts +0 -25
- package/src/Presentation/Views/DialogList/useDialogListViewModel.ts +0 -579
- package/src/Presentation/Views/DialogListHeader/DialogListHeader.scss +0 -68
- package/src/Presentation/Views/DialogListHeader/DialogListHeader.tsx +0 -90
- package/src/Presentation/Views/EditDialog/EditDialog.scss +0 -175
- package/src/Presentation/Views/EditDialog/EditDialog.tsx +0 -273
- package/src/Presentation/Views/EditDialog/UserAvatar/UserAvatar.scss +0 -32
- package/src/Presentation/Views/EditDialog/UserAvatar/UserAvatar.tsx +0 -59
- package/src/Presentation/Views/Flow/CreateDialog/CreateDialog.scss +0 -93
- package/src/Presentation/Views/Flow/CreateDialog/CreateDialog.tsx +0 -69
- package/src/Presentation/Views/Flow/CreateDialogFlow/CreateNewDialogFlow.tsx +0 -191
- package/src/Presentation/Views/Flow/LeaveDialogFlow/LeaveDialogFlow.tsx +0 -37
- package/src/Presentation/Views/InviteMembers/InviteMembers.scss +0 -202
- package/src/Presentation/Views/InviteMembers/InviteMembers.tsx +0 -316
- package/src/Presentation/Views/InviteMembers/InviteMembersViewModel.ts +0 -18
- package/src/Presentation/Views/InviteMembers/InviteUsersList/SingleUserWithCheckBox/SingleUserWithCheckBox.scss +0 -90
- package/src/Presentation/Views/InviteMembers/InviteUsersList/SingleUserWithCheckBox/SingleUserWithCheckBox.tsx +0 -122
- package/src/Presentation/Views/InviteMembers/InviteUsersResultViewModel.ts +0 -12
- package/src/Presentation/Views/InviteMembers/NotFoundContent/NotFoundContent.scss +0 -38
- package/src/Presentation/Views/InviteMembers/NotFoundContent/NotFoundContent.tsx +0 -22
- package/src/Presentation/Views/InviteMembers/useInviteMembersViewModel.ts +0 -146
- package/src/Presentation/Views/Navigation/More.svg +0 -7
- package/src/Presentation/Views/PreviewDialog/PreviewDialog.scss +0 -211
- package/src/Presentation/Views/PreviewDialog/PreviewDialog.tsx +0 -332
- package/src/Presentation/Views/PreviewDialog/PreviewDialogContextMenu/PreviewDialogContextMenu.scss +0 -9
- package/src/Presentation/Views/PreviewDialog/PreviewDialogContextMenu/PreviewDialogContextMenu.tsx +0 -59
- package/src/Presentation/Views/PreviewDialog/PreviewDialogViewModel.ts +0 -42
- package/src/Presentation/Views/YesNoQuestion/YesNoQuestion.scss +0 -11
- package/src/Presentation/Views/YesNoQuestion/YesNoQuestion.tsx +0 -48
- package/src/Presentation/assets/fonts/.gitkeep +0 -0
- package/src/Presentation/assets/fonts/Roboto-Bold.eot +0 -0
- package/src/Presentation/assets/fonts/Roboto-Bold.ttf +0 -0
- package/src/Presentation/assets/fonts/Roboto-Bold.woff +0 -0
- package/src/Presentation/assets/fonts/Roboto-Bold.woff2 +0 -0
- package/src/Presentation/assets/fonts/Roboto-Medium.eot +0 -0
- package/src/Presentation/assets/fonts/Roboto-Medium.ttf +0 -0
- package/src/Presentation/assets/fonts/Roboto-Medium.woff +0 -0
- package/src/Presentation/assets/fonts/Roboto-Medium.woff2 +0 -0
- package/src/Presentation/assets/fonts/Roboto-Regular.eot +0 -0
- package/src/Presentation/assets/fonts/Roboto-Regular.ttf +0 -0
- package/src/Presentation/assets/fonts/Roboto-Regular.woff +0 -0
- package/src/Presentation/assets/fonts/Roboto-Regular.woff2 +0 -0
- package/src/Presentation/assets/img/Artem_Koltunov_Selfi.png +0 -0
- package/src/Presentation/assets/img/bee-img.png +0 -0
- package/src/Presentation/assets/img/web-doc.png +0 -0
- package/src/Presentation/components/Button.js +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.css +0 -103
- package/src/Presentation/components/UI/Buttons/MainButton/MainButton.tsx +0 -62
- 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 -52
- package/src/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.scss +0 -21
- package/src/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.tsx +0 -44
- package/src/Presentation/components/UI/svgs/ActiveSvg/ActiveSvg.scss +0 -3
- package/src/Presentation/components/UI/svgs/ActiveSvg/ActiveSvg.tsx +0 -45
- 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 -35
- 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 -34
- 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 -40
- 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 -16
- package/src/Presentation/components/containers/ColumnContainer/ColumnContainer.tsx +0 -27
- package/src/Presentation/components/containers/RowCenterContainer/RowCenterContainer.scss +0 -45
- package/src/Presentation/components/containers/RowCenterContainer/RowCenterContainer.tsx +0 -88
- package/src/Presentation/components/containers/RowLeftContainer/RowLeftContainer.scss +0 -45
- package/src/Presentation/components/containers/RowLeftContainer/RowLeftContainer.tsx +0 -90
- package/src/Presentation/components/containers/RowRightContainer/RowRightContainer.scss +0 -46
- package/src/Presentation/components/containers/RowRightContainer/RowRightContainer.tsx +0 -90
- package/src/Presentation/components/containers/ScrollableContainer/ScrollableContainer.scss +0 -45
- package/src/Presentation/components/containers/ScrollableContainer/ScrollableContainer.tsx +0 -102
- package/src/Presentation/components/containers/SectionList/hooks/createUseComponent.ts +0 -20
- package/src/Presentation/components/containers/SectionList/hooks/index.ts +0 -4
- package/src/Presentation/components/containers/SectionList/hooks/useMobileLayout.ts +0 -27
- package/src/Presentation/components/containers/SectionList/hooks/usePrevious.ts +0 -11
- package/src/Presentation/components/containers/SectionList/hooks/useVisibility.ts +0 -17
- package/src/Presentation/components/containers/SectionList/index.tsx +0 -52
- package/src/Presentation/components/containers/SectionList/styles.css +0 -50
- package/src/Presentation/components/containers/SectionList/useComponent.ts +0 -136
- package/src/Presentation/icons/actions/add-contact.svg +0 -3
- package/src/Presentation/icons/actions/add.svg +0 -3
- package/src/Presentation/icons/actions/archive.svg +0 -3
- package/src/Presentation/icons/actions/copy.svg +0 -3
- package/src/Presentation/icons/actions/delete.svg +0 -3
- package/src/Presentation/icons/actions/download.svg +0 -3
- package/src/Presentation/icons/actions/edit.svg +0 -3
- package/src/Presentation/icons/actions/emoji.svg +0 -3
- package/src/Presentation/icons/actions/forward-filled.svg +0 -3
- package/src/Presentation/icons/actions/hungup.svg +0 -3
- package/src/Presentation/icons/actions/income-call.svg +0 -3
- package/src/Presentation/icons/actions/index.ts +0 -26
- package/src/Presentation/icons/actions/like.svg +0 -3
- package/src/Presentation/icons/actions/new-chat.svg +0 -3
- package/src/Presentation/icons/actions/outcome-call.svg +0 -3
- package/src/Presentation/icons/actions/phone-filled.svg +0 -3
- package/src/Presentation/icons/actions/phone.svg +0 -3
- package/src/Presentation/icons/actions/remove-2.svg +0 -3
- package/src/Presentation/icons/actions/remove.svg +0 -3
- package/src/Presentation/icons/actions/rephrase.svg +0 -6
- package/src/Presentation/icons/actions/reply-filled.svg +0 -3
- package/src/Presentation/icons/actions/robot.svg +0 -5
- package/src/Presentation/icons/actions/send.svg +0 -3
- package/src/Presentation/icons/actions/share.svg +0 -3
- package/src/Presentation/icons/actions/swap-camera.svg +0 -3
- package/src/Presentation/icons/actions/translate.svg +0 -3
- package/src/Presentation/icons/actions/unarchive.svg +0 -3
- package/src/Presentation/icons/actions/video.svg +0 -3
- package/src/Presentation/icons/actions/voice.svg +0 -3
- package/src/Presentation/icons/contents/broadcast.svg +0 -7
- package/src/Presentation/icons/contents/chat-filled.svg +0 -3
- package/src/Presentation/icons/contents/chat.svg +0 -3
- package/src/Presentation/icons/contents/conference.svg +0 -3
- package/src/Presentation/icons/contents/contact-filled.svg +0 -3
- package/src/Presentation/icons/contents/contact.svg +0 -3
- package/src/Presentation/icons/contents/group-chat.svg +0 -3
- package/src/Presentation/icons/contents/index.ts +0 -13
- package/src/Presentation/icons/contents/notifications.svg +0 -3
- package/src/Presentation/icons/contents/private-chat.svg +0 -3
- package/src/Presentation/icons/contents/public-channel.svg +0 -7
- package/src/Presentation/icons/contents/stream-filled.svg +0 -3
- package/src/Presentation/icons/contents/stream.svg +0 -3
- package/src/Presentation/icons/contents/user.svg +0 -3
- package/src/Presentation/icons/index.ts +0 -7
- package/src/Presentation/icons/media/attachment.svg +0 -3
- package/src/Presentation/icons/media/audio-file.svg +0 -3
- package/src/Presentation/icons/media/broken-file.svg +0 -3
- package/src/Presentation/icons/media/camera.svg +0 -3
- package/src/Presentation/icons/media/file.svg +0 -3
- package/src/Presentation/icons/media/gif-file.svg +0 -3
- package/src/Presentation/icons/media/image-filled.svg +0 -3
- package/src/Presentation/icons/media/image.svg +0 -3
- package/src/Presentation/icons/media/index.ts +0 -12
- package/src/Presentation/icons/media/link.svg +0 -3
- package/src/Presentation/icons/media/location.svg +0 -4
- package/src/Presentation/icons/media/text-document.svg +0 -3
- package/src/Presentation/icons/media/video-file.svg +0 -3
- package/src/Presentation/icons/moderation/admin.svg +0 -3
- package/src/Presentation/icons/moderation/banned.svg +0 -3
- package/src/Presentation/icons/moderation/freeze.svg +0 -3
- package/src/Presentation/icons/moderation/index.ts +0 -5
- package/src/Presentation/icons/moderation/moderations.svg +0 -3
- package/src/Presentation/icons/moderation/muted.svg +0 -3
- package/src/Presentation/icons/navigation/arrow-left.svg +0 -3
- package/src/Presentation/icons/navigation/arrow-right.svg +0 -3
- package/src/Presentation/icons/navigation/back.svg +0 -3
- package/src/Presentation/icons/navigation/close.svg +0 -3
- package/src/Presentation/icons/navigation/down.svg +0 -3
- package/src/Presentation/icons/navigation/index.ts +0 -12
- package/src/Presentation/icons/navigation/leave.svg +0 -3
- package/src/Presentation/icons/navigation/more.svg +0 -3
- package/src/Presentation/icons/navigation/next.svg +0 -3
- package/src/Presentation/icons/navigation/plus.svg +0 -3
- package/src/Presentation/icons/navigation/refresh.svg +0 -3
- package/src/Presentation/icons/navigation/search.svg +0 -3
- package/src/Presentation/icons/navigation/settings-filled.svg +0 -3
- package/src/Presentation/icons/navigation/settings.svg +0 -3
- package/src/Presentation/icons/status/error.svg +0 -3
- package/src/Presentation/icons/status/help.svg +0 -3
- package/src/Presentation/icons/status/index.ts +0 -7
- package/src/Presentation/icons/status/information.svg +0 -3
- package/src/Presentation/icons/status/loader.svg +0 -3
- package/src/Presentation/icons/status/mention.svg +0 -3
- package/src/Presentation/icons/status/sent.svg +0 -3
- package/src/Presentation/icons/status/viewed-delivered.svg +0 -3
- package/src/Presentation/icons/toggle/camera-off.svg +0 -3
- package/src/Presentation/icons/toggle/camera-on.svg +0 -3
- package/src/Presentation/icons/toggle/check-off.svg +0 -3
- package/src/Presentation/icons/toggle/check-on.svg +0 -3
- package/src/Presentation/icons/toggle/favorite.svg +0 -3
- package/src/Presentation/icons/toggle/favourite.svg +0 -3
- package/src/Presentation/icons/toggle/full-screen.svg +0 -3
- package/src/Presentation/icons/toggle/hide.svg +0 -3
- package/src/Presentation/icons/toggle/index.ts +0 -23
- package/src/Presentation/icons/toggle/louder.svg +0 -3
- package/src/Presentation/icons/toggle/mic-off.svg +0 -3
- package/src/Presentation/icons/toggle/mic-on.svg +0 -4
- package/src/Presentation/icons/toggle/minimize.svg +0 -3
- package/src/Presentation/icons/toggle/notify-off.svg +0 -3
- package/src/Presentation/icons/toggle/notify-on.svg +0 -3
- package/src/Presentation/icons/toggle/pause.svg +0 -3
- package/src/Presentation/icons/toggle/play.svg +0 -3
- package/src/Presentation/icons/toggle/quite.svg +0 -3
- package/src/Presentation/icons/toggle/record.svg +0 -3
- package/src/Presentation/icons/toggle/screenshare.svg +0 -3
- package/src/Presentation/icons/toggle/show.svg +0 -3
- package/src/Presentation/icons/toggle/speaker off.svg +0 -3
- package/src/Presentation/icons/toggle/speaker-off.svg +0 -3
- package/src/Presentation/icons/toggle/speaker.svg +0 -3
- package/src/Presentation/icons/toggle/stop-record.svg +0 -3
- package/src/Presentation/icons/toggle/stop-share.svg +0 -3
- package/src/Presentation/layouts/Desktop/DesktopLayout.scss +0 -62
- package/src/Presentation/layouts/Desktop/DesktopLayout.tsx +0 -89
- package/src/Presentation/layouts/Desktop/QuickBloxUIKitDesktopLayout.tsx +0 -1354
- package/src/Presentation/layouts/LayoutCommonTypes.ts +0 -7
- package/src/Presentation/layouts/TestStage/CompanyLogo/CompanyLogo.tsx +0 -27
- package/src/Presentation/layouts/TestStage/LoginView/Login.scss +0 -72
- package/src/Presentation/layouts/TestStage/LoginView/Login.tsx +0 -91
- package/src/Presentation/providers/ProviderProps.ts +0 -5
- package/src/Presentation/providers/QuickBloxUIKitProvider/QuickBloxUIKitProvider.tsx +0 -375
- package/src/Presentation/providers/QuickBloxUIKitProvider/useEventMessagesRepository.ts +0 -10
- package/src/Presentation/providers/QuickBloxUIKitProvider/useQBConnection.ts +0 -54
- package/src/Presentation/providers/QuickBloxUIKitProvider/useQbInitializedDataContext.ts +0 -83
- package/src/Presentation/providers/QuickBloxUIKitProvider/useQbUIKitDataContext.ts +0 -11
- package/src/Presentation/themes/DarkTheme.ts +0 -58
- package/src/Presentation/themes/DefaultThemes/CustomTheme.ts +0 -58
- package/src/Presentation/themes/DefaultThemes/DefaultTheme.ts +0 -58
- package/src/Presentation/themes/LightTheme.ts +0 -58
- package/src/Presentation/themes/ThemeScheme.ts +0 -83
- package/src/Presentation/themes/UiKitTheme.ts +0 -37
- package/src/Presentation/themes/styles/_fonts.scss +0 -32
- package/src/Presentation/themes/styles/_mixins.scss +0 -6
- package/src/Presentation/themes/styles/_theme_colors_scheme.scss +0 -56
- package/src/Presentation/themes/styles/_theme_colors_scheme_green.scss +0 -57
- package/src/Presentation/themes/styles/_theme_colors_scheme_pink.scss +0 -72
- package/src/Presentation/themes/styles/_theme_dark.scss +0 -37
- package/src/Presentation/themes/styles/_theme_light.scss +0 -38
- package/src/Presentation/themes/styles/_variables.scss +0 -54
- package/src/Presentation/ui-components/Avatar/Avatar.scss +0 -58
- package/src/Presentation/ui-components/Avatar/Avatar.tsx +0 -30
- package/src/Presentation/ui-components/Avatar/avatar.stories.tsx +0 -78
- package/src/Presentation/ui-components/Badge/Badge.scss +0 -23
- package/src/Presentation/ui-components/Badge/Badge.stories.ts +0 -64
- package/src/Presentation/ui-components/Badge/Badge.tsx +0 -23
- package/src/Presentation/ui-components/Button/Button.scss +0 -133
- package/src/Presentation/ui-components/Button/Button.stories.ts +0 -93
- package/src/Presentation/ui-components/Button/Button.tsx +0 -49
- package/src/Presentation/ui-components/CheckBox/CheckBox.scss +0 -10
- package/src/Presentation/ui-components/CheckBox/CheckBox.tsx +0 -23
- package/src/Presentation/ui-components/DialogBanner/DialogBanner.scss +0 -29
- package/src/Presentation/ui-components/DialogBanner/DialogBanner.stories.ts +0 -39
- package/src/Presentation/ui-components/DialogBanner/DialogBanner.tsx +0 -16
- package/src/Presentation/ui-components/DialogItemPreview/DialogItemPreview.scss +0 -71
- package/src/Presentation/ui-components/DialogItemPreview/DialogItemPreview.stories.tsx +0 -194
- package/src/Presentation/ui-components/DialogItemPreview/DialogItemPreview.tsx +0 -73
- package/src/Presentation/ui-components/DialogWindow/DialogWindow.scss +0 -56
- package/src/Presentation/ui-components/DialogWindow/DialogWindow.stories.tsx +0 -107
- package/src/Presentation/ui-components/DialogWindow/DialogWindow.tsx +0 -44
- package/src/Presentation/ui-components/Dropdown/Dropdown.scss +0 -82
- package/src/Presentation/ui-components/Dropdown/Dropdown.stories.tsx +0 -150
- package/src/Presentation/ui-components/Dropdown/Dropdown.tsx +0 -92
- package/src/Presentation/ui-components/Dropdown/DropdownOption.tsx +0 -38
- package/src/Presentation/ui-components/Header/Header.scss +0 -72
- package/src/Presentation/ui-components/Header/Header.stories.tsx +0 -117
- package/src/Presentation/ui-components/Header/Header.tsx +0 -51
- package/src/Presentation/ui-components/Loader/Loader.scss +0 -27
- package/src/Presentation/ui-components/Loader/Loader.stories.ts +0 -42
- package/src/Presentation/ui-components/Loader/Loader.tsx +0 -15
- package/src/Presentation/ui-components/Message/Bubble/AttachmentBubble/AttachmentBubble.tsx +0 -71
- package/src/Presentation/ui-components/Message/Bubble/AudioBubble/AudioBubble.scss +0 -84
- package/src/Presentation/ui-components/Message/Bubble/AudioBubble/AudioBubble.tsx +0 -162
- package/src/Presentation/ui-components/Message/Bubble/FileBubble/FileBubble.scss +0 -29
- package/src/Presentation/ui-components/Message/Bubble/FileBubble/FileBubble.tsx +0 -16
- package/src/Presentation/ui-components/Message/Bubble/ImageBubble/ImageBubble.scss +0 -16
- package/src/Presentation/ui-components/Message/Bubble/ImageBubble/ImageBubble.tsx +0 -25
- package/src/Presentation/ui-components/Message/Bubble/TextBubble/TextBubble.scss +0 -40
- package/src/Presentation/ui-components/Message/Bubble/TextBubble/TextBubble.tsx +0 -22
- package/src/Presentation/ui-components/Message/Bubble/VideoBubble/VideoBubble.scss +0 -27
- package/src/Presentation/ui-components/Message/Bubble/VideoBubble/VideoBubble.tsx +0 -34
- package/src/Presentation/ui-components/Message/FileUrl/FileUrl.scss +0 -58
- package/src/Presentation/ui-components/Message/FileUrl/FileUrl.tsx +0 -43
- package/src/Presentation/ui-components/Message/Message.scss +0 -136
- package/src/Presentation/ui-components/Message/Message.stories.tsx +0 -328
- package/src/Presentation/ui-components/Message/Message.tsx +0 -85
- package/src/Presentation/ui-components/Message/MessageCaption/MessageCaption.scss +0 -90
- package/src/Presentation/ui-components/Message/MessageCaption/MessageCaption.tsx +0 -46
- package/src/Presentation/ui-components/Message/TimeAndStatus/TimeAndStatus.scss +0 -51
- package/src/Presentation/ui-components/Message/TimeAndStatus/TimeAndStatus.tsx +0 -32
- package/src/Presentation/ui-components/MessageInput/AttachmentUploader/AttachmentUploader.tsx +0 -38
- package/src/Presentation/ui-components/MessageInput/MessageInput.scss +0 -137
- package/src/Presentation/ui-components/MessageInput/MessageInput.stories.tsx +0 -145
- package/src/Presentation/ui-components/MessageInput/MessageInput.tsx +0 -161
- package/src/Presentation/ui-components/MessageInput/ReplyMessagePreview/ReplyImagePreviewAttachment/ReplyImagePreviewAttachment.scss +0 -16
- package/src/Presentation/ui-components/MessageInput/ReplyMessagePreview/ReplyImagePreviewAttachment/ReplyImagePreviewAttachment.tsx +0 -27
- package/src/Presentation/ui-components/MessageInput/ReplyMessagePreview/ReplyMessagePreview.scss +0 -140
- package/src/Presentation/ui-components/MessageInput/ReplyMessagePreview/ReplyMessagePreview.tsx +0 -101
- package/src/Presentation/ui-components/MessageInput/VoiceRecordingProgress/VoiceRecordingProgress.scss +0 -35
- package/src/Presentation/ui-components/MessageInput/VoiceRecordingProgress/VoiceRecordingProgress.tsx +0 -79
- package/src/Presentation/ui-components/MessageSeparator/MessageSeparator.scss +0 -30
- package/src/Presentation/ui-components/MessageSeparator/MessageSeparator.stories.ts +0 -160
- package/src/Presentation/ui-components/MessageSeparator/MessageSeparator.tsx +0 -34
- package/src/Presentation/ui-components/Placeholder/Placeholder.scss +0 -51
- package/src/Presentation/ui-components/Placeholder/Placeholder.stories.tsx +0 -91
- package/src/Presentation/ui-components/Placeholder/Placeholder.tsx +0 -38
- package/src/Presentation/ui-components/PreviewFileMessage/PreviewFileMessage.scss +0 -30
- package/src/Presentation/ui-components/PreviewFileMessage/PreviewFileMessage.stories.ts +0 -77
- package/src/Presentation/ui-components/PreviewFileMessage/PreviewFileMessage.tsx +0 -38
- package/src/Presentation/ui-components/SettingsItem/SettingsItem.scss +0 -69
- package/src/Presentation/ui-components/SettingsItem/SettingsItem.stories.tsx +0 -184
- package/src/Presentation/ui-components/SettingsItem/SettingsItem.tsx +0 -56
- package/src/Presentation/ui-components/TextField/TextField.scss +0 -91
- package/src/Presentation/ui-components/TextField/TextField.stories.ts +0 -108
- package/src/Presentation/ui-components/TextField/TextField.tsx +0 -88
- package/src/Presentation/ui-components/Toast/Toast.scss +0 -22
- package/src/Presentation/ui-components/Toast/Toast.stories.tsx +0 -50
- package/src/Presentation/ui-components/Toast/ToastProvider.tsx +0 -29
- package/src/Presentation/ui-components/UserListItem/UserListItem.scss +0 -33
- package/src/Presentation/ui-components/UserListItem/UserListItem.stories.tsx +0 -130
- package/src/Presentation/ui-components/UserListItem/UserListItem.tsx +0 -43
- package/src/Presentation/ui-components/index.ts +0 -19
- package/src/QBconfig.ts +0 -151
- package/src/hooks/useModal.ts +0 -13
- package/src/index-ui.ts +0 -87
- package/src/index.scss +0 -28
- 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 -670
- package/src/react-app-env.d.ts +0 -1
- package/src/setupTests.ts +0 -5
- package/src/utils/DateTimeFormatter.ts +0 -90
- package/src/utils/formatFileSize.ts +0 -8
- package/src/utils/parse.ts +0 -76
- package/src/utils/utils.ts +0 -102
- package/storybook-static/426.be971fb5.iframe.bundle.js +0 -157
- package/storybook-static/426.be971fb5.iframe.bundle.js.map +0 -1
- package/storybook-static/433.dffc897e.iframe.bundle.js +0 -1
- package/storybook-static/603.4cf0423b.iframe.bundle.js +0 -1
- package/storybook-static/607.b04b9f0b.iframe.bundle.js +0 -1
- package/storybook-static/703.f12f2e71.iframe.bundle.js +0 -33
- package/storybook-static/703.f12f2e71.iframe.bundle.js.map +0 -1
- package/storybook-static/729.734b4ae4.iframe.bundle.js +0 -1
- package/storybook-static/768.e44c05aa.iframe.bundle.js +0 -351
- package/storybook-static/768.e44c05aa.iframe.bundle.js.map +0 -1
- package/storybook-static/797.b3873e04.iframe.bundle.js +0 -1
- package/storybook-static/926.f5308089.iframe.bundle.js +0 -508
- package/storybook-static/926.f5308089.iframe.bundle.js.map +0 -1
- package/storybook-static/938.56e9d83c.iframe.bundle.js +0 -1
- package/storybook-static/Presentation-ui-components-Avatar-avatar-stories.1b74ae55.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Avatar-avatar-stories.1b74ae55.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Badge-Badge-stories.9449e470.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Badge-Badge-stories.9449e470.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Button-Button-stories.84103f20.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Button-Button-stories.84103f20.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-DialogBanner-DialogBanner-stories.fa91d2c7.iframe.bundle.js +0 -10
- package/storybook-static/Presentation-ui-components-DialogBanner-DialogBanner-stories.fa91d2c7.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.bf9005d3.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.bf9005d3.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-DialogWindow-DialogWindow-stories.f81a8e38.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-DialogWindow-DialogWindow-stories.f81a8e38.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Dropdown-Dropdown-stories.141a3ae7.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Dropdown-Dropdown-stories.141a3ae7.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Header-Header-stories.9f45c30e.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Header-Header-stories.9f45c30e.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Loader-Loader-stories.af01e15d.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Loader-Loader-stories.af01e15d.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Message-Message-stories.264d251d.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Message-Message-stories.264d251d.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-MessageInput-MessageInput-stories.0d1800d9.iframe.bundle.js +0 -1
- package/storybook-static/Presentation-ui-components-MessageSeparator-MessageSeparator-stories.a7d43c0b.iframe.bundle.js +0 -10
- package/storybook-static/Presentation-ui-components-MessageSeparator-MessageSeparator-stories.a7d43c0b.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Placeholder-Placeholder-stories.97287936.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Placeholder-Placeholder-stories.97287936.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories.a9f5cd67.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories.a9f5cd67.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-SettingsItem-SettingsItem-stories.429a72d5.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-SettingsItem-SettingsItem-stories.429a72d5.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-TextField-TextField-stories.fd8caf6c.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-TextField-TextField-stories.fd8caf6c.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Toast-Toast-stories.1b8758fc.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Toast-Toast-stories.1b8758fc.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-UserListItem-UserListItem-stories.8781472b.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-UserListItem-UserListItem-stories.8781472b.iframe.bundle.js.map +0 -1
- package/storybook-static/docs-Introduction-mdx.9dc275f1.iframe.bundle.js +0 -10
- package/storybook-static/docs-Introduction-mdx.9dc275f1.iframe.bundle.js.map +0 -1
- package/storybook-static/docs-Styling-mdx.72149f36.iframe.bundle.js +0 -10
- package/storybook-static/docs-Styling-mdx.72149f36.iframe.bundle.js.map +0 -1
- package/storybook-static/favicon.ico +0 -0
- package/storybook-static/favicon.svg +0 -7
- package/storybook-static/iframe.html +0 -355
- package/storybook-static/index.html +0 -127
- package/storybook-static/index.json +0 -1
- package/storybook-static/logo192.png +0 -0
- package/storybook-static/logo512.png +0 -0
- package/storybook-static/main.2f6d7582.iframe.bundle.js +0 -1
- package/storybook-static/manifest.json +0 -25
- package/storybook-static/project.json +0 -1
- package/storybook-static/quickblox.js +0 -54609
- package/storybook-static/robots.txt +0 -3
- package/storybook-static/runtime~main.72d6302b.iframe.bundle.js +0 -1
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +0 -12
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +0 -63
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +0 -18
- package/storybook-static/sb-addons/essentials-measure-5/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-measure-5/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-outline-6/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-outline-6/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-toolbars-4/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-toolbars-4/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/interactions-7/manager-bundle.js +0 -12
- package/storybook-static/sb-addons/interactions-7/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/links-0/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/links-0/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/viewport-8/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/viewport-8/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-common-assets/fonts.css +0 -31
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/WithTooltip-V3YHNWJZ-LVYLGZW2.js +0 -1
- package/storybook-static/sb-manager/chunk-2IXBUOFS.js +0 -7
- package/storybook-static/sb-manager/chunk-INSKDKQB.js +0 -348
- package/storybook-static/sb-manager/chunk-NGTUFCUO.js +0 -9
- package/storybook-static/sb-manager/chunk-NMB3SATH.js +0 -406
- package/storybook-static/sb-manager/chunk-ZEU7PDD3.js +0 -1
- package/storybook-static/sb-manager/formatter-SWP5E3XI-7BGIK6BL.js +0 -156
- package/storybook-static/sb-manager/globals-module-info.js +0 -1
- package/storybook-static/sb-manager/globals.js +0 -1
- package/storybook-static/sb-manager/index.js +0 -1
- package/storybook-static/sb-manager/runtime.js +0 -1
- package/storybook-static/sb-manager/syntaxhighlighter-V7JZZA35-DXZCI2WR.js +0 -1
- package/storybook-static/sb-preview/globals.js +0 -1
- package/storybook-static/sb-preview/runtime.js +0 -112
- package/storybook-static/static/css/Presentation-ui-components-Avatar-avatar-stories.7b228eb0.chunk.css +0 -3
- package/storybook-static/static/css/Presentation-ui-components-Avatar-avatar-stories.7b228eb0.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Badge-Badge-stories.7b8317f8.chunk.css +0 -3
- package/storybook-static/static/css/Presentation-ui-components-Badge-Badge-stories.7b8317f8.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Button-Button-stories.1b6e1c55.chunk.css +0 -4
- package/storybook-static/static/css/Presentation-ui-components-Button-Button-stories.1b6e1c55.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-DialogBanner-DialogBanner-stories.bd07fad3.chunk.css +0 -3
- package/storybook-static/static/css/Presentation-ui-components-DialogBanner-DialogBanner-stories.bd07fad3.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.6d563072.chunk.css +0 -7
- package/storybook-static/static/css/Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.6d563072.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-DialogWindow-DialogWindow-stories.4f813450.chunk.css +0 -6
- package/storybook-static/static/css/Presentation-ui-components-DialogWindow-DialogWindow-stories.4f813450.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Dropdown-Dropdown-stories.e37f549d.chunk.css +0 -5
- package/storybook-static/static/css/Presentation-ui-components-Dropdown-Dropdown-stories.e37f549d.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Header-Header-stories.fb1001e7.chunk.css +0 -4
- package/storybook-static/static/css/Presentation-ui-components-Header-Header-stories.fb1001e7.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Loader-Loader-stories.dab34da1.chunk.css +0 -3
- package/storybook-static/static/css/Presentation-ui-components-Loader-Loader-stories.dab34da1.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Message-Message-stories.4c915c89.chunk.css +0 -14
- package/storybook-static/static/css/Presentation-ui-components-Message-Message-stories.4c915c89.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-MessageInput-MessageInput-stories.7eb916fc.chunk.css +0 -7
- package/storybook-static/static/css/Presentation-ui-components-MessageInput-MessageInput-stories.7eb916fc.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-MessageSeparator-MessageSeparator-stories.34aa36b2.chunk.css +0 -3
- package/storybook-static/static/css/Presentation-ui-components-MessageSeparator-MessageSeparator-stories.34aa36b2.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Placeholder-Placeholder-stories.cb7fb80a.chunk.css +0 -3
- package/storybook-static/static/css/Presentation-ui-components-Placeholder-Placeholder-stories.cb7fb80a.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories.31cd021e.chunk.css +0 -3
- package/storybook-static/static/css/Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories.31cd021e.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-SettingsItem-SettingsItem-stories.b67b748b.chunk.css +0 -5
- package/storybook-static/static/css/Presentation-ui-components-SettingsItem-SettingsItem-stories.b67b748b.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-TextField-TextField-stories.412027f8.chunk.css +0 -4
- package/storybook-static/static/css/Presentation-ui-components-TextField-TextField-stories.412027f8.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Toast-Toast-stories.a5b284f4.chunk.css +0 -754
- package/storybook-static/static/css/Presentation-ui-components-Toast-Toast-stories.a5b284f4.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-UserListItem-UserListItem-stories.655aa6c1.chunk.css +0 -7
- package/storybook-static/static/css/Presentation-ui-components-UserListItem-UserListItem-stories.655aa6c1.chunk.css.map +0 -1
- package/storybook-static/static/css/main.a921485c.css +0 -5
- package/storybook-static/static/css/main.a921485c.css.map +0 -1
- package/storybook-static/static/media/add-contact.e7e7b8b15edebe99cae9c46963126e7c.svg +0 -3
- package/storybook-static/static/media/add.5cbe1f2c489b81396863f7128e3d26e7.svg +0 -3
- package/storybook-static/static/media/admin.476c2854d7ad23f2afdedac2d9bd6815.svg +0 -3
- package/storybook-static/static/media/archive.d0a72898f3c47a4194d18f560a54e109.svg +0 -3
- package/storybook-static/static/media/arrow-left.5005351d4fa6a7c074dd9780fb49dcc8.svg +0 -3
- package/storybook-static/static/media/arrow-right.1be3b599e21158807fdf72f4976179a2.svg +0 -3
- package/storybook-static/static/media/attachment.a58b8549f46ae5bbe93be779cd9f2037.svg +0 -3
- package/storybook-static/static/media/audio-file.40179c472f715fc74d4da607da96aa5e.svg +0 -3
- package/storybook-static/static/media/back.b541e72fe05542e145575c8851558998.svg +0 -3
- package/storybook-static/static/media/banned.c7c74bfa1c833263f3ab42d0529132d1.svg +0 -3
- package/storybook-static/static/media/broadcast.55273926379e5f486ccfdfab1a310b2d.svg +0 -7
- package/storybook-static/static/media/broken-file.bc084278a0d284b7901b47f24001caa6.svg +0 -3
- package/storybook-static/static/media/camera-off.8e01960815ce7620a1039d0fc5f758b2.svg +0 -3
- package/storybook-static/static/media/camera-on.ddd56e36fa505d618ab772e23c8381e6.svg +0 -3
- package/storybook-static/static/media/camera.a5a215695fba60146e649094188f37e2.svg +0 -3
- package/storybook-static/static/media/chat-filled.aaf0b778d198e7b8f632a68299a8fd13.svg +0 -3
- package/storybook-static/static/media/chat.59cd437f21fe7043682dd04cbe6377be.svg +0 -3
- package/storybook-static/static/media/check-off.0c0256f00eeb75770ffc2fbd2b59eab0.svg +0 -3
- package/storybook-static/static/media/check-on.80442753ef6922df1913453f50099315.svg +0 -3
- package/storybook-static/static/media/close.c145af996de81b25f3930bf36d88b161.svg +0 -3
- package/storybook-static/static/media/conference.ffbdf37c0510c796138f18e6c1205204.svg +0 -3
- package/storybook-static/static/media/contact-filled.f04f56ba3f98ade5d7ced7814d8a5fa8.svg +0 -3
- package/storybook-static/static/media/contact.40a8b8104c3a448b81108ffede850963.svg +0 -3
- package/storybook-static/static/media/copy.100bd0fff933cbde8ad4bc2ac281c845.svg +0 -3
- package/storybook-static/static/media/delete.287c9b4b3b0e58cb081c6e388e68b409.svg +0 -3
- package/storybook-static/static/media/down.7a43a3d78885f40616ce111c86c108a4.svg +0 -3
- package/storybook-static/static/media/download.43c26d404dd023e42aaacc52151f7a59.svg +0 -3
- package/storybook-static/static/media/edit.8d813af82ecab84303ee3c97bd7bc562.svg +0 -3
- package/storybook-static/static/media/emoji.9a202cbb16735f3c83ba8772f0218aa4.svg +0 -3
- package/storybook-static/static/media/error.ec60e2052661b82f27b7ce270ae133a7.svg +0 -3
- package/storybook-static/static/media/favorite.194d78057be6cd7968c85e7b5822f82a.svg +0 -3
- package/storybook-static/static/media/file.e537292693b3c89c023fd383c70bd221.svg +0 -3
- package/storybook-static/static/media/forward-filled.43120a68057427c89c88b28d9b20dd90.svg +0 -3
- package/storybook-static/static/media/freeze.35619771e645b649c38e0427d9b39a25.svg +0 -3
- package/storybook-static/static/media/full-screen.6b01c93e069421c69bda2bbde5d01336.svg +0 -3
- package/storybook-static/static/media/gif-file.2c46a5df6c8397f5b9088e66aee3fd44.svg +0 -3
- package/storybook-static/static/media/group-chat.19d5305cab6017d494ac35ecb285a9fe.svg +0 -3
- package/storybook-static/static/media/help.786f48518c96c8e7098296d68245c339.svg +0 -3
- package/storybook-static/static/media/hide.2785264246d70868717984a5ad44d4c9.svg +0 -3
- package/storybook-static/static/media/hungup.e5d2289a9e8cd755bd1ee36b738305a2.svg +0 -3
- package/storybook-static/static/media/image-filled.8afb62b142d786e90102f1cac73a9c13.svg +0 -3
- package/storybook-static/static/media/image.64092dadd5215c8d3ba99ccac753d743.svg +0 -3
- package/storybook-static/static/media/income-call.60ca2d367a00d582f4b6f4a5f2047e27.svg +0 -3
- package/storybook-static/static/media/information.8217e163c334852f143e7199c97fab1d.svg +0 -3
- package/storybook-static/static/media/leave.ae5422a12edec1b61484ff2932819c77.svg +0 -3
- package/storybook-static/static/media/like.45662989373aa524cd580fb42432e0bc.svg +0 -3
- package/storybook-static/static/media/link.74f567c3ee4366d79fb81d73eb8c0919.svg +0 -3
- package/storybook-static/static/media/loader.2eb72391c5267453edb4106528c075ad.svg +0 -3
- package/storybook-static/static/media/location.cab52453404524c345ec7efdd86fa66b.svg +0 -4
- package/storybook-static/static/media/louder.133519141541a9cd2f0e898534b39732.svg +0 -3
- package/storybook-static/static/media/mention.6c4885bb0ea5ca85c8962f6f51ac1cb4.svg +0 -3
- package/storybook-static/static/media/mic-off.43e60427600bcf7fd78fb840ff50d804.svg +0 -3
- package/storybook-static/static/media/mic-on.5a52100de3770550b3a57a76827843c2.svg +0 -4
- package/storybook-static/static/media/minimize.a849dd3a36ece08b992a773d135a0c3f.svg +0 -3
- package/storybook-static/static/media/moderations.07c8d1fe96b0b8bb5911f6cc37f764c6.svg +0 -3
- package/storybook-static/static/media/more.4ed9ad54ae110d9760b6e9698d821960.svg +0 -3
- package/storybook-static/static/media/muted.cb37ac3c577c87c800466aa7aee65af2.svg +0 -3
- package/storybook-static/static/media/new-chat.124e0351bd0e19ff4c5fdbabbe5c6027.svg +0 -3
- package/storybook-static/static/media/next.97a0eeea1f8daa2d31c8452f29908bf1.svg +0 -3
- package/storybook-static/static/media/notifications.ab8e847ae04e2bec9209dbdd1054b0f2.svg +0 -3
- package/storybook-static/static/media/notify-off.4a669a3a8cbd38b3309dbc4c909f6089.svg +0 -3
- package/storybook-static/static/media/notify-on.ea9ffc856ad6cdbe87184af558c78eec.svg +0 -3
- package/storybook-static/static/media/outcome-call.9f5fec07823796ad78963a06cdcf629e.svg +0 -3
- package/storybook-static/static/media/pause.27eb8c32999f10d05d6a200165d798a9.svg +0 -3
- package/storybook-static/static/media/phone-filled.e969511d74935af26ef366f575929f68.svg +0 -3
- package/storybook-static/static/media/phone.6355580a064a488b6317372d71f84c00.svg +0 -3
- package/storybook-static/static/media/play.00bfe0e9c94dc6dfb230262e45b2f860.svg +0 -3
- package/storybook-static/static/media/plus.d3953cb1cf830bcfc41c8cc6133b13b1.svg +0 -3
- package/storybook-static/static/media/private-chat.c68f36baf025b9d20ad1f801a2396e7a.svg +0 -3
- package/storybook-static/static/media/public-channel.7a6ada7f30c44fb4a99021df0eb0e996.svg +0 -7
- package/storybook-static/static/media/quite.9f45e2152fe6c499a776cb387ee4859f.svg +0 -3
- package/storybook-static/static/media/record.e49ee7da793b2ce446a4e7128970c0cc.svg +0 -3
- package/storybook-static/static/media/refresh.6e955728d9ec086f34e9adaaaafacf3e.svg +0 -3
- package/storybook-static/static/media/remove-2.8a7700757f02c941f03c37c7e495bf63.svg +0 -3
- package/storybook-static/static/media/remove.831e69b70db1b3eb72a49444b8aa1e16.svg +0 -3
- package/storybook-static/static/media/rephrase.551171aa8903b31746a58a95528b1f68.svg +0 -6
- package/storybook-static/static/media/reply-filled.17ed65506e902f17bb22e87ffac93314.svg +0 -3
- package/storybook-static/static/media/screenshare.c2f94264a7640ea1bbb2a22f7d570038.svg +0 -3
- package/storybook-static/static/media/search.25663e60d71e01c64fdfc83df7460ab0.svg +0 -3
- package/storybook-static/static/media/send.d298db52aafdb846a46c9d180ad45946.svg +0 -3
- package/storybook-static/static/media/sent.f427753e5502fd7783a08e5f0e0d2f35.svg +0 -3
- package/storybook-static/static/media/settings-filled.bd9b60ff4e9eae911e4e2bc69e8e79ca.svg +0 -3
- package/storybook-static/static/media/share.7ce8283aa267fb065c568d65b482e211.svg +0 -3
- package/storybook-static/static/media/show.de1782527c4a7fa14101dffbfba8aea6.svg +0 -3
- package/storybook-static/static/media/speaker-off.fe84597c4b68f4f761e12f789dc58718.svg +0 -3
- package/storybook-static/static/media/speaker.e7ff48a73ca43188703b36dfecd932b5.svg +0 -3
- package/storybook-static/static/media/stop-record.a2e9d50a0930c24af43d7f357093be81.svg +0 -3
- package/storybook-static/static/media/stop-share.d1be236e01dd924ba711e1e17f41054c.svg +0 -3
- package/storybook-static/static/media/stream-filled.c40bae61fea25455602a61db5e77fa71.svg +0 -3
- package/storybook-static/static/media/stream.700f4f8ce0cee0ae1ef56132867427fe.svg +0 -3
- package/storybook-static/static/media/swap-camera.bc3a4652106f5c57d14b4dcbffff08a5.svg +0 -3
- package/storybook-static/static/media/text-document.cad7e87368501b96de2a939d08852dcd.svg +0 -3
- package/storybook-static/static/media/unarchive.1b1a7438cd8eb6fee80e6ac89baa195b.svg +0 -3
- package/storybook-static/static/media/user.911c7ae778615185b285ce0ae4068486.svg +0 -3
- package/storybook-static/static/media/video-file.dbd1f8c63a3769f9e9a027f0922d56b2.svg +0 -3
- package/storybook-static/static/media/video.bbcc2109285c18eea02ede86920de0dd.svg +0 -3
- package/storybook-static/static/media/viewed-delivered.f43360dc87235a6cf574ff53f73dd777.svg +0 -3
- package/storybook-static/static/media/voice.b937c8a1f744050bec2cd389ad2a1f3a.svg +0 -3
- package/storybook-static/stories.json +0 -1
|
@@ -1,465 +0,0 @@
|
|
|
1
|
-
import { IMapper } from './IMapper';
|
|
2
|
-
import {
|
|
3
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_CODE,
|
|
4
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
5
|
-
MapperDTOException,
|
|
6
|
-
UNEXPECTED_MAPPER_DTO_EXCEPTION_EXCEPTION_CODE,
|
|
7
|
-
UNEXPECTED_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
8
|
-
} from '../source/exception/MapperDTOException';
|
|
9
|
-
import { MessageEntity } from '../../Domain/entity/MessageEntity';
|
|
10
|
-
import { RemoteMessageDTO } from '../dto/message/RemoteMessageDTO';
|
|
11
|
-
import ChatMessageAttachmentEntity from '../../Domain/entity/ChatMessageAttachmentEntity';
|
|
12
|
-
|
|
13
|
-
type DtoValidator<T> = {
|
|
14
|
-
[key in keyof T]: (v: unknown) => v is T[key];
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export class MessageRemoteDTOMapper implements IMapper {
|
|
18
|
-
// eslint-disable-next-line class-methods-use-this
|
|
19
|
-
fromEntity<TArg, TResult>(entity: TArg): Promise<TResult> {
|
|
20
|
-
const messageEntity: MessageEntity = entity as MessageEntity;
|
|
21
|
-
|
|
22
|
-
if (messageEntity === null || messageEntity === undefined) {
|
|
23
|
-
throw new MapperDTOException(
|
|
24
|
-
UNEXPECTED_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
25
|
-
UNEXPECTED_MAPPER_DTO_EXCEPTION_EXCEPTION_CODE,
|
|
26
|
-
'entity is null or undefined',
|
|
27
|
-
);
|
|
28
|
-
}
|
|
29
|
-
const messageDTO = this.MessageEntityToRemoteMessageDTO(messageEntity);
|
|
30
|
-
|
|
31
|
-
const messagesDTO: RemoteMessageDTO[] =
|
|
32
|
-
messageEntity.qb_original_messages?.map((it) => {
|
|
33
|
-
const tmpDTO = this.MessageEntityToRemoteMessageDTO(it);
|
|
34
|
-
|
|
35
|
-
return tmpDTO;
|
|
36
|
-
}) || [];
|
|
37
|
-
|
|
38
|
-
messageDTO.qb_original_messages = messagesDTO;
|
|
39
|
-
messageDTO.qb_message_action = messageEntity.qb_message_action;
|
|
40
|
-
messageDTO.origin_sender_name = messageEntity.origin_sender_name;
|
|
41
|
-
|
|
42
|
-
return Promise.resolve(messageDTO as TResult);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// eslint-disable-next-line class-methods-use-this
|
|
46
|
-
private MessageEntityToRemoteMessageDTO(messageEntity: MessageEntity) {
|
|
47
|
-
const messageDTO: RemoteMessageDTO = new RemoteMessageDTO();
|
|
48
|
-
|
|
49
|
-
MessageRemoteDTOMapper.validateEntity(messageEntity);
|
|
50
|
-
|
|
51
|
-
messageDTO.id = messageEntity.id.toString();
|
|
52
|
-
messageDTO.dialogId = messageEntity.dialogId;
|
|
53
|
-
messageDTO.created_at = messageEntity.created_at;
|
|
54
|
-
messageDTO.date_sent = messageEntity.date_sent;
|
|
55
|
-
messageDTO.delivered_ids = messageEntity.delivered_ids;
|
|
56
|
-
messageDTO.message = messageEntity.message;
|
|
57
|
-
messageDTO.read_ids = messageEntity.read_ids;
|
|
58
|
-
messageDTO.read = messageEntity.read ? 1 : 0;
|
|
59
|
-
if (messageEntity.recipient_id !== null) {
|
|
60
|
-
messageDTO.recipient_id = messageEntity.recipient_id;
|
|
61
|
-
}
|
|
62
|
-
messageDTO.notification_type = messageEntity.notification_type;
|
|
63
|
-
messageDTO.dialog_type = messageEntity.dialogType;
|
|
64
|
-
messageDTO.sender_id = messageEntity.sender_id;
|
|
65
|
-
messageDTO.updated_at = messageEntity.updated_at;
|
|
66
|
-
if (messageEntity.attachments && messageEntity.attachments.length) {
|
|
67
|
-
messageEntity.attachments.forEach((att) => {
|
|
68
|
-
const newAtt: ChatMessageAttachmentEntity = { ...att };
|
|
69
|
-
|
|
70
|
-
messageDTO.attachments.push(newAtt);
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
return messageDTO;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
// eslint-disable-next-line class-methods-use-this
|
|
78
|
-
toEntity<TArg, TResult>(data: TArg): Promise<TResult> {
|
|
79
|
-
const messageDTO = data as unknown as RemoteMessageDTO;
|
|
80
|
-
|
|
81
|
-
if (messageDTO === null || messageDTO === undefined) {
|
|
82
|
-
throw new MapperDTOException(
|
|
83
|
-
UNEXPECTED_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
84
|
-
UNEXPECTED_MAPPER_DTO_EXCEPTION_EXCEPTION_CODE,
|
|
85
|
-
'messageDTO is null or undefined',
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
const messageEntity = this.remoteMessageDTOToMessageEntity(messageDTO);
|
|
89
|
-
//
|
|
90
|
-
const messageEntities: MessageEntity[] =
|
|
91
|
-
messageDTO.qb_original_messages?.map((it) => {
|
|
92
|
-
return this.remoteMessageDTOToMessageEntity(it);
|
|
93
|
-
}) || [];
|
|
94
|
-
|
|
95
|
-
messageEntity.qb_original_messages = messageEntities;
|
|
96
|
-
messageEntity.qb_message_action = messageDTO.qb_message_action;
|
|
97
|
-
messageEntity.origin_sender_name = messageDTO.origin_sender_name;
|
|
98
|
-
|
|
99
|
-
return Promise.resolve(messageEntity as TResult);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// eslint-disable-next-line class-methods-use-this
|
|
103
|
-
private remoteMessageDTOToMessageEntity(messageDTO: RemoteMessageDTO) {
|
|
104
|
-
MessageRemoteDTOMapper.validateDTO(messageDTO);
|
|
105
|
-
|
|
106
|
-
const messageEntity: MessageEntity =
|
|
107
|
-
MessageRemoteDTOMapper.createDefaultMessageEntity();
|
|
108
|
-
|
|
109
|
-
// messageEntity.id = parseInt(messageDTO.id, 10);
|
|
110
|
-
messageEntity.id = messageDTO.id;
|
|
111
|
-
messageEntity.dialogId = messageDTO.dialogId;
|
|
112
|
-
messageEntity.created_at = messageDTO.created_at;
|
|
113
|
-
messageEntity.date_sent = messageDTO.date_sent;
|
|
114
|
-
messageEntity.delivered_ids = messageDTO.delivered_ids;
|
|
115
|
-
messageEntity.message = messageDTO.message || '';
|
|
116
|
-
messageEntity.read_ids = messageDTO.read_ids;
|
|
117
|
-
messageEntity.read = messageDTO.read;
|
|
118
|
-
messageEntity.recipient_id = messageDTO.recipient_id;
|
|
119
|
-
messageEntity.sender_id = messageDTO.sender_id;
|
|
120
|
-
messageEntity.updated_at = messageDTO.updated_at;
|
|
121
|
-
//
|
|
122
|
-
if (messageDTO.attachments && messageDTO.attachments.length) {
|
|
123
|
-
messageEntity.attachments = [];
|
|
124
|
-
messageDTO.attachments.forEach((att) => {
|
|
125
|
-
const newAtt: ChatMessageAttachmentEntity = { ...att };
|
|
126
|
-
|
|
127
|
-
messageEntity.attachments?.push(newAtt);
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
messageEntity.notification_type =
|
|
131
|
-
messageDTO?.notification_type &&
|
|
132
|
-
!messageDTO.notification_type.includes('undefined')
|
|
133
|
-
? messageDTO?.notification_type
|
|
134
|
-
: '';
|
|
135
|
-
messageEntity.markable = messageDTO?.markable ? messageDTO?.markable : '';
|
|
136
|
-
|
|
137
|
-
return messageEntity;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
private static validateEntity(messageEntity: MessageEntity) {
|
|
141
|
-
const messageEntityValidator: DtoValidator<MessageEntity> = {
|
|
142
|
-
created_at(v: unknown): v is MessageEntity['created_at'] {
|
|
143
|
-
const { created_at } = v as MessageEntity;
|
|
144
|
-
|
|
145
|
-
return (
|
|
146
|
-
created_at !== undefined &&
|
|
147
|
-
created_at !== null &&
|
|
148
|
-
created_at.length > 0
|
|
149
|
-
);
|
|
150
|
-
},
|
|
151
|
-
date_sent(v: unknown): v is MessageEntity['date_sent'] {
|
|
152
|
-
const { date_sent } = v as MessageEntity;
|
|
153
|
-
|
|
154
|
-
return date_sent !== undefined && date_sent !== null;
|
|
155
|
-
},
|
|
156
|
-
delivered_ids(v: unknown): v is MessageEntity['delivered_ids'] {
|
|
157
|
-
const { delivered_ids } = v as MessageEntity;
|
|
158
|
-
|
|
159
|
-
return delivered_ids !== undefined && delivered_ids !== null;
|
|
160
|
-
// && delivered_ids.length >= 0
|
|
161
|
-
},
|
|
162
|
-
dialogId(v: unknown): v is MessageEntity['dialogId'] {
|
|
163
|
-
const { dialogId } = v as MessageEntity;
|
|
164
|
-
|
|
165
|
-
return (
|
|
166
|
-
dialogId !== undefined && dialogId !== null && dialogId.length > 0
|
|
167
|
-
);
|
|
168
|
-
},
|
|
169
|
-
id(v: unknown): v is MessageEntity['id'] {
|
|
170
|
-
const { id } = v as MessageEntity;
|
|
171
|
-
|
|
172
|
-
return id !== undefined && id !== null;
|
|
173
|
-
},
|
|
174
|
-
message(v: unknown): v is MessageEntity['message'] {
|
|
175
|
-
const { message } = v as MessageEntity;
|
|
176
|
-
|
|
177
|
-
return message !== undefined && message !== null && message.length > 0;
|
|
178
|
-
},
|
|
179
|
-
read(v: unknown): v is MessageEntity['read'] {
|
|
180
|
-
const { read } = v as MessageEntity;
|
|
181
|
-
|
|
182
|
-
return read !== undefined && read !== null;
|
|
183
|
-
},
|
|
184
|
-
read_ids(v: unknown): v is MessageEntity['read_ids'] {
|
|
185
|
-
const { read_ids } = v as MessageEntity;
|
|
186
|
-
|
|
187
|
-
return (
|
|
188
|
-
read_ids !== undefined && read_ids !== null
|
|
189
|
-
// && read_ids.length >= 0
|
|
190
|
-
);
|
|
191
|
-
},
|
|
192
|
-
recipient_id(v: unknown): v is MessageEntity['recipient_id'] {
|
|
193
|
-
const { recipient_id } = v as MessageEntity;
|
|
194
|
-
|
|
195
|
-
return recipient_id !== undefined && recipient_id !== null;
|
|
196
|
-
},
|
|
197
|
-
sender_id(v: unknown): v is MessageEntity['sender_id'] {
|
|
198
|
-
const { sender_id } = v as MessageEntity;
|
|
199
|
-
|
|
200
|
-
return sender_id !== undefined && sender_id !== null;
|
|
201
|
-
},
|
|
202
|
-
updated_at(v: unknown): v is MessageEntity['updated_at'] {
|
|
203
|
-
const { updated_at } = v as MessageEntity;
|
|
204
|
-
|
|
205
|
-
return (
|
|
206
|
-
updated_at !== undefined &&
|
|
207
|
-
updated_at !== null &&
|
|
208
|
-
updated_at.length > 0
|
|
209
|
-
);
|
|
210
|
-
},
|
|
211
|
-
};
|
|
212
|
-
|
|
213
|
-
if (!messageEntityValidator.created_at(messageEntity))
|
|
214
|
-
throw new MapperDTOException(
|
|
215
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
216
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_CODE,
|
|
217
|
-
'field {created_at} does not exist or empty',
|
|
218
|
-
);
|
|
219
|
-
|
|
220
|
-
if (!messageEntityValidator.date_sent(messageEntity))
|
|
221
|
-
throw new MapperDTOException(
|
|
222
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
223
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_CODE,
|
|
224
|
-
'field {date_sent} does not exist or empty',
|
|
225
|
-
);
|
|
226
|
-
|
|
227
|
-
if (!messageEntityValidator.delivered_ids(messageEntity))
|
|
228
|
-
throw new MapperDTOException(
|
|
229
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
230
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_CODE,
|
|
231
|
-
'field {delivered_ids} does not exist or empty',
|
|
232
|
-
);
|
|
233
|
-
|
|
234
|
-
if (!messageEntityValidator.dialogId(messageEntity))
|
|
235
|
-
throw new MapperDTOException(
|
|
236
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
237
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_CODE,
|
|
238
|
-
'field {dialogId} does not exist or empty',
|
|
239
|
-
);
|
|
240
|
-
|
|
241
|
-
if (!messageEntityValidator.id(messageEntity))
|
|
242
|
-
throw new MapperDTOException(
|
|
243
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
244
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_CODE,
|
|
245
|
-
'field {id} does not exist or empty',
|
|
246
|
-
);
|
|
247
|
-
|
|
248
|
-
if (!messageEntityValidator.message(messageEntity))
|
|
249
|
-
throw new MapperDTOException(
|
|
250
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
251
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_CODE,
|
|
252
|
-
'field {message} does not exist or empty',
|
|
253
|
-
);
|
|
254
|
-
|
|
255
|
-
if (!messageEntityValidator.read(messageEntity))
|
|
256
|
-
throw new MapperDTOException(
|
|
257
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
258
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_CODE,
|
|
259
|
-
'field {read} does not exist or empty',
|
|
260
|
-
);
|
|
261
|
-
|
|
262
|
-
if (!messageEntityValidator.read_ids(messageEntity))
|
|
263
|
-
throw new MapperDTOException(
|
|
264
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
265
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_CODE,
|
|
266
|
-
'field {read_ids} does not exist or empty',
|
|
267
|
-
);
|
|
268
|
-
|
|
269
|
-
if (!messageEntityValidator.recipient_id(messageEntity))
|
|
270
|
-
throw new MapperDTOException(
|
|
271
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
272
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_CODE,
|
|
273
|
-
'field {recipient_id} does not exist or empty',
|
|
274
|
-
);
|
|
275
|
-
|
|
276
|
-
if (!messageEntityValidator.sender_id(messageEntity))
|
|
277
|
-
throw new MapperDTOException(
|
|
278
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
279
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_CODE,
|
|
280
|
-
'field {sender_id} does not exist or empty',
|
|
281
|
-
);
|
|
282
|
-
|
|
283
|
-
if (!messageEntityValidator.updated_at(messageEntity))
|
|
284
|
-
throw new MapperDTOException(
|
|
285
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
286
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_CODE,
|
|
287
|
-
'field {updated_at} does not exist or empty',
|
|
288
|
-
);
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
private static validateDTO(messageDTO: RemoteMessageDTO) {
|
|
292
|
-
const dtoValidator: DtoValidator<RemoteMessageDTO> = {
|
|
293
|
-
created_at(v: unknown): v is RemoteMessageDTO['created_at'] {
|
|
294
|
-
const { created_at } = v as RemoteMessageDTO;
|
|
295
|
-
|
|
296
|
-
return (
|
|
297
|
-
created_at !== undefined &&
|
|
298
|
-
created_at !== null &&
|
|
299
|
-
created_at.length > 0
|
|
300
|
-
);
|
|
301
|
-
},
|
|
302
|
-
date_sent(v: unknown): v is RemoteMessageDTO['date_sent'] {
|
|
303
|
-
const { date_sent } = v as RemoteMessageDTO;
|
|
304
|
-
|
|
305
|
-
return date_sent !== undefined && date_sent !== null;
|
|
306
|
-
},
|
|
307
|
-
delivered_ids(v: unknown): v is RemoteMessageDTO['delivered_ids'] {
|
|
308
|
-
const { delivered_ids } = v as RemoteMessageDTO;
|
|
309
|
-
|
|
310
|
-
return (
|
|
311
|
-
delivered_ids !== undefined && delivered_ids !== null
|
|
312
|
-
// && delivered_ids.length >= 0
|
|
313
|
-
);
|
|
314
|
-
},
|
|
315
|
-
dialogId(v: unknown): v is RemoteMessageDTO['dialogId'] {
|
|
316
|
-
const { dialogId } = v as RemoteMessageDTO;
|
|
317
|
-
|
|
318
|
-
return (
|
|
319
|
-
dialogId !== undefined && dialogId !== null && dialogId.length > 0
|
|
320
|
-
);
|
|
321
|
-
},
|
|
322
|
-
id(v: unknown): v is RemoteMessageDTO['id'] {
|
|
323
|
-
const { id } = v as RemoteMessageDTO;
|
|
324
|
-
|
|
325
|
-
return id !== undefined && id !== null;
|
|
326
|
-
},
|
|
327
|
-
message(v: unknown): v is RemoteMessageDTO['message'] {
|
|
328
|
-
const { message } = v as RemoteMessageDTO;
|
|
329
|
-
|
|
330
|
-
return message !== undefined && message !== null;
|
|
331
|
-
// && message.length > 0;
|
|
332
|
-
},
|
|
333
|
-
read(v: unknown): v is RemoteMessageDTO['read'] {
|
|
334
|
-
const { read } = v as RemoteMessageDTO;
|
|
335
|
-
|
|
336
|
-
return read !== undefined && read !== null;
|
|
337
|
-
},
|
|
338
|
-
read_ids(v: unknown): v is RemoteMessageDTO['read_ids'] {
|
|
339
|
-
const { read_ids } = v as RemoteMessageDTO;
|
|
340
|
-
|
|
341
|
-
return (
|
|
342
|
-
read_ids !== undefined && read_ids !== null
|
|
343
|
-
// && read_ids.length >= 0
|
|
344
|
-
);
|
|
345
|
-
},
|
|
346
|
-
recipient_id(v: unknown): v is RemoteMessageDTO['recipient_id'] {
|
|
347
|
-
const { recipient_id } = v as RemoteMessageDTO;
|
|
348
|
-
|
|
349
|
-
return recipient_id !== undefined && recipient_id !== null;
|
|
350
|
-
},
|
|
351
|
-
sender_id(v: unknown): v is RemoteMessageDTO['sender_id'] {
|
|
352
|
-
const { sender_id } = v as RemoteMessageDTO;
|
|
353
|
-
|
|
354
|
-
return sender_id !== undefined && sender_id !== null;
|
|
355
|
-
},
|
|
356
|
-
updated_at(v: unknown): v is RemoteMessageDTO['updated_at'] {
|
|
357
|
-
const { updated_at } = v as RemoteMessageDTO;
|
|
358
|
-
|
|
359
|
-
return (
|
|
360
|
-
updated_at !== undefined &&
|
|
361
|
-
updated_at !== null &&
|
|
362
|
-
updated_at.length > 0
|
|
363
|
-
);
|
|
364
|
-
},
|
|
365
|
-
attachments(v: unknown): v is RemoteMessageDTO['attachments'] {
|
|
366
|
-
const { attachments } = v as RemoteMessageDTO;
|
|
367
|
-
|
|
368
|
-
return attachments !== undefined && attachments !== null;
|
|
369
|
-
},
|
|
370
|
-
};
|
|
371
|
-
|
|
372
|
-
if (!dtoValidator.created_at(messageDTO))
|
|
373
|
-
throw new MapperDTOException(
|
|
374
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
375
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_CODE,
|
|
376
|
-
'field {created_at} does not exist or empty',
|
|
377
|
-
);
|
|
378
|
-
|
|
379
|
-
if (!dtoValidator.date_sent(messageDTO))
|
|
380
|
-
throw new MapperDTOException(
|
|
381
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
382
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_CODE,
|
|
383
|
-
'field {date_sent} does not exist or empty',
|
|
384
|
-
);
|
|
385
|
-
|
|
386
|
-
if (!dtoValidator.delivered_ids(messageDTO))
|
|
387
|
-
throw new MapperDTOException(
|
|
388
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
389
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_CODE,
|
|
390
|
-
'field {delivered_ids} does not exist or empty',
|
|
391
|
-
);
|
|
392
|
-
|
|
393
|
-
if (!dtoValidator.dialogId(messageDTO))
|
|
394
|
-
throw new MapperDTOException(
|
|
395
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
396
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_CODE,
|
|
397
|
-
'field {dialogId} does not exist or empty',
|
|
398
|
-
);
|
|
399
|
-
|
|
400
|
-
if (!dtoValidator.id(messageDTO))
|
|
401
|
-
throw new MapperDTOException(
|
|
402
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
403
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_CODE,
|
|
404
|
-
'field {id} does not exist or empty',
|
|
405
|
-
);
|
|
406
|
-
|
|
407
|
-
if (!dtoValidator.message(messageDTO))
|
|
408
|
-
throw new MapperDTOException(
|
|
409
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
410
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_CODE,
|
|
411
|
-
'field {message} does not exist or empty',
|
|
412
|
-
);
|
|
413
|
-
|
|
414
|
-
if (!dtoValidator.read(messageDTO))
|
|
415
|
-
throw new MapperDTOException(
|
|
416
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
417
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_CODE,
|
|
418
|
-
'field {read} does not exist or empty',
|
|
419
|
-
);
|
|
420
|
-
|
|
421
|
-
if (!dtoValidator.read_ids(messageDTO))
|
|
422
|
-
throw new MapperDTOException(
|
|
423
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
424
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_CODE,
|
|
425
|
-
'field {read_ids} does not exist or empty',
|
|
426
|
-
);
|
|
427
|
-
|
|
428
|
-
if (!dtoValidator.recipient_id(messageDTO))
|
|
429
|
-
throw new MapperDTOException(
|
|
430
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
431
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_CODE,
|
|
432
|
-
'field {recipient_id} does not exist or empty',
|
|
433
|
-
);
|
|
434
|
-
|
|
435
|
-
if (!dtoValidator.sender_id(messageDTO))
|
|
436
|
-
throw new MapperDTOException(
|
|
437
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
438
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_CODE,
|
|
439
|
-
'field {sender_id} does not exist or empty',
|
|
440
|
-
);
|
|
441
|
-
|
|
442
|
-
if (!dtoValidator.updated_at(messageDTO))
|
|
443
|
-
throw new MapperDTOException(
|
|
444
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_MESSAGE,
|
|
445
|
-
INCORRECT_DATA_MAPPER_DTO_EXCEPTION_CODE,
|
|
446
|
-
'field {updated_at} does not exist or empty',
|
|
447
|
-
);
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
private static createDefaultMessageEntity() {
|
|
451
|
-
return {
|
|
452
|
-
created_at: '',
|
|
453
|
-
date_sent: 0,
|
|
454
|
-
delivered_ids: new Array<number>(),
|
|
455
|
-
dialogId: '',
|
|
456
|
-
id: '',
|
|
457
|
-
message: '',
|
|
458
|
-
read: 0,
|
|
459
|
-
read_ids: new Array<number>(),
|
|
460
|
-
recipient_id: 0,
|
|
461
|
-
sender_id: 0,
|
|
462
|
-
updated_at: '',
|
|
463
|
-
};
|
|
464
|
-
}
|
|
465
|
-
}
|