quickblox-react-ui-kit 0.2.4 → 0.2.6-patch
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/dist/{Presentation/Views/Base → CommonTypes}/BaseViewModel.d.ts +22 -6
- package/dist/CommonTypes/FunctionResult.d.ts +3 -1
- package/dist/Data/dto/message/RemoteMessageDTO.d.ts +3 -0
- package/dist/Data/mapper/MessageRemoteDTOMapper.d.ts +2 -0
- package/dist/Data/repository/DialogsRepository.d.ts +2 -1
- package/dist/Data/repository/EventMessagesRepository.d.ts +1 -0
- package/dist/Data/repository/MessagesRepository.d.ts +2 -2
- package/dist/Data/source/local/ILocalDataSource.d.ts +1 -1
- package/dist/Data/source/remote/Mapper/DialogDTOMapper.d.ts +1 -0
- package/dist/Data/source/remote/Mapper/MessageDTOMapper.d.ts +6 -0
- package/dist/Domain/entity/MessageEntity.d.ts +3 -0
- package/dist/Domain/entity/NotificationTypes.d.ts +1 -0
- package/dist/Domain/repository/IDialogsRepository.d.ts +2 -1
- package/dist/Domain/repository/IMessagesRepository.d.ts +2 -2
- package/dist/Domain/use_cases/CreateDialogUseCase.d.ts +2 -1
- package/dist/Domain/use_cases/ForwardMessagesUseCase.d.ts +13 -0
- package/dist/Domain/use_cases/LeaveDialogUseCase.d.ts +2 -1
- package/dist/Domain/use_cases/RemoveUsersFromTheDialogUseCase.d.ts +2 -1
- package/dist/Domain/use_cases/ReplyMessagesUseCase.d.ts +10 -0
- package/dist/Domain/use_cases/SubscribeToDialogEventsUseCase.d.ts +1 -0
- package/dist/Domain/use_cases/UpdateDialogUseCase.d.ts +2 -1
- package/dist/Domain/use_cases/ai/AIRephraseUseCase.d.ts +1 -1
- package/dist/Domain/use_cases/ai/AIRephraseWithProxyUseCase.d.ts +1 -1
- package/dist/Presentation/{components/UI/Dialogs → Views}/CreateDialog/CreateDialog.d.ts +1 -1
- package/dist/Presentation/Views/CreateDialogFlow/CreateNewDialogFlow.d.ts +2 -2
- package/dist/Presentation/Views/Dialog/AIComponents/AIAssistComponent/AIAssistComponent.d.ts +8 -0
- package/dist/Presentation/Views/Dialog/AIComponents/AITranslateComponent/AITranslateComponent.d.ts +11 -0
- package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/AIMessageWidget.d.ts +1 -1
- package/dist/Presentation/Views/Dialog/AIWidgets/AIRephraseWidget/AIRephraseWidget.d.ts +22 -0
- package/dist/Presentation/Views/Dialog/AttachmentMessage/AttachmentMessage.d.ts +7 -0
- package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AudioAttachmentComponent/AudioAttachmentComponent.d.ts +1 -1
- package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog/ContextMenu}/ContextMenu.d.ts +1 -0
- package/dist/Presentation/Views/Dialog/ContextMenu/MessageContextMenu/MessageContextMenu.d.ts +14 -0
- package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/DefaultAttachmentComponent/DefaultAttachmentComponent.d.ts +1 -0
- package/dist/Presentation/Views/Dialog/Dialog.d.ts +22 -0
- package/dist/Presentation/Views/Dialog/DialogHeader/DialogHeader.d.ts +12 -0
- package/dist/Presentation/Views/Dialog/DialogViewModel.d.ts +16 -0
- package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/DropDownMenu/DropDownMenu.d.ts +2 -3
- package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/DropDownMenu/ItemDropDownMenu/ItemDropDownMenu.d.ts +1 -1
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogsWithSearch.d.ts +12 -0
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/ItemForListComponent/ItemDialogList.d.ts +14 -0
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/SearchComponent/SearchComponent.d.ts +8 -0
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessageFlow.d.ts +13 -0
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessagePreview/ForwardMessagePreview.d.ts +9 -0
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/InputForForwarding/InputForForwarding.d.ts +10 -0
- package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/ImageAttachmentComponent/ImageAttachmentComponent.d.ts +1 -1
- package/dist/Presentation/Views/Dialog/IncomingForwardedRepliedMessage/IncomingForwardedRepliedMessage.d.ts +25 -0
- package/dist/Presentation/Views/Dialog/IncomingMessage/AttachmentContentComponent/AttachmentContentComponent.d.ts +8 -0
- package/dist/Presentation/{components/UI/Dialogs/MessagesView/InComingMessage → Views/Dialog/IncomingMessage}/AvatarContentIncomingUser/AvatarContentIncomingUser.d.ts +3 -0
- package/dist/Presentation/Views/Dialog/IncomingMessage/IncomingMessage.d.ts +29 -0
- package/dist/Presentation/Views/Dialog/IncomingMessage/MessageContentComponent/MessageContentComponent.d.ts +10 -0
- package/dist/Presentation/Views/Dialog/Message/Message.d.ts +22 -0
- package/dist/Presentation/Views/Dialog/MessageInput/MessageInput.d.ts +21 -0
- package/dist/Presentation/Views/Dialog/OutgoingForwardedRepliedMessage/OutgoingForwardedRepliedMessage.d.ts +17 -0
- package/dist/Presentation/Views/Dialog/OutgoingMessage/OutgoingMessage.d.ts +14 -0
- package/dist/Presentation/Views/Dialog/RenderDialogHeaderNavigator/RenderDialogHeaderNavigator.d.ts +9 -0
- package/dist/Presentation/Views/Dialog/ReplyMessagePreview/ReplyImagePreviewAttachment/ReplyImagePreviewAttachment.d.ts +8 -0
- package/dist/Presentation/Views/Dialog/ReplyMessagePreview/ReplyMessagePreview.d.ts +11 -0
- package/dist/Presentation/Views/Dialog/SystemDateBanner/SystemDateBanner.d.ts +7 -0
- package/dist/Presentation/Views/Dialog/SystemMessageBanner/SystemMessageBanner.d.ts +7 -0
- package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/VideoAttachmentComponent/VideoAttachmentComponent.d.ts +1 -1
- package/dist/Presentation/Views/Dialog/VoiceMessage/VoiceMessage.d.ts +8 -0
- package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/VoiceRecordingProgress/VoiceRecordingProgress.d.ts +3 -3
- package/dist/Presentation/Views/Dialog/useDialogViewModel.d.ts +4 -0
- package/dist/Presentation/Views/DialogInfo/DialogInfo.d.ts +16 -0
- package/dist/Presentation/{components/UI/Dialogs/DialogInformation → Views/DialogInfo}/DialogMemberButton/DialogMembersButton.d.ts +1 -1
- package/dist/Presentation/{components/UI/Dialogs/DialogInformation → Views/DialogInfo}/UsersList/SingleUser/SingleUser.d.ts +1 -1
- package/dist/Presentation/{components/UI/Dialogs/DialogInformation → Views/DialogInfo}/UsersList/UsersList.d.ts +1 -1
- package/dist/Presentation/{components/UI/Dialogs/DialogInformation → Views/DialogInfo}/UsersList/UsersListViewModel.d.ts +3 -3
- package/dist/Presentation/{components/UI/Dialogs/DialogInformation → Views/DialogInfo}/UsersList/useUsersListViewModel.d.ts +1 -1
- package/dist/Presentation/Views/{Dialogs/Dialogs.d.ts → DialogList/DialogList.d.ts} +8 -8
- package/dist/Presentation/Views/{Dialogs/DialogViewModel.d.ts → DialogList/DialogListViewModel.d.ts} +2 -2
- package/dist/Presentation/Views/DialogList/useDialogListViewModel.d.ts +4 -0
- package/dist/Presentation/{components/UI/Dialogs/HeaderDialogs/HeaderDialogs.d.ts → Views/DialogListHeader/DialogListHeader.d.ts} +6 -6
- package/dist/Presentation/{components/UI/Dialogs → Views}/EditDialog/EditDialog.d.ts +2 -2
- package/dist/Presentation/{components/UI/Dialogs → Views}/EditDialog/UserAvatar/UserAvatar.d.ts +2 -2
- package/dist/Presentation/{components/UI/Dialogs → Views}/InviteMembers/InviteMembers.d.ts +2 -2
- package/dist/Presentation/{components/UI/Dialogs → Views}/InviteMembers/InviteMembersViewModel.d.ts +3 -3
- package/dist/Presentation/{components/UI/Dialogs → Views}/InviteMembers/InviteUsersList/SingleUserWithCheckBox/SingleUserWithCheckBox.d.ts +1 -1
- package/dist/Presentation/{components/UI/Dialogs → Views}/InviteMembers/InviteUsersResultViewModel.d.ts +1 -1
- package/dist/Presentation/{components/UI/Dialogs → Views}/MembersList/MembersList.d.ts +2 -2
- package/dist/Presentation/{components/UI/Dialogs → Views}/PreviewDialog/PreviewDialog.d.ts +2 -2
- package/dist/Presentation/{components/UI/Dialogs → Views}/PreviewDialog/PreviewDialogViewModel.d.ts +2 -2
- package/dist/Presentation/{components/UI/Dialogs → Views}/YesNoQuestion/YesNoQuestion.d.ts +1 -1
- package/dist/Presentation/components/UI/Buttons/ActiveButton/ActiveButton.d.ts +1 -1
- package/dist/Presentation/components/UI/Buttons/MainBoundedButton/MainBoundedButton.d.ts +1 -1
- package/dist/Presentation/components/UI/Buttons/MainButton/MainButton.d.ts +1 -1
- package/dist/Presentation/components/UI/Elements/SwitchButton/SwitchButton.d.ts +1 -1
- package/dist/Presentation/components/UI/Placeholders/ErrorComponent/ErrorComponent.d.ts +1 -1
- package/dist/Presentation/components/UI/svgs/ActiveSvg/ActiveSvg.d.ts +1 -1
- package/dist/Presentation/components/containers/ColumnContainer/ColumnContainer.d.ts +1 -1
- package/dist/Presentation/{components/layouts → layouts}/Desktop/DesktopLayout.d.ts +1 -1
- package/dist/Presentation/{components/layouts → layouts}/Desktop/QuickBloxUIKitDesktopLayout.d.ts +3 -2
- package/dist/Presentation/{components/layouts → layouts}/TestStage/LoginView/Login.d.ts +1 -1
- package/dist/Presentation/{components/providers → providers}/QuickBloxUIKitProvider/QuickBloxUIKitProvider.d.ts +6 -6
- package/dist/Presentation/{components/providers → providers}/QuickBloxUIKitProvider/useEventMessagesRepository.d.ts +1 -1
- package/dist/Presentation/{components/providers → providers}/QuickBloxUIKitProvider/useQBConnection.d.ts +1 -1
- package/dist/QBconfig.d.ts +2 -0
- package/dist/index-ui.d.ts +22 -18
- package/dist/index-ui.js +1331 -649
- package/dist/utils/utils.d.ts +1 -1
- package/global.d.ts +23 -14
- package/package.json +26 -2
- package/.prettierignore +0 -4
- package/.prettierrc +0 -10
- package/dist/Presentation/Views/Dialogs/useDialogsViewModel.d.ts +0 -4
- package/dist/Presentation/components/UI/Dialogs/DialogInformation/DialogInformation.d.ts +0 -16
- package/dist/Presentation/components/UI/Dialogs/MessagesView/HeaderMessages/HeaderMessages.d.ts +0 -14
- package/dist/Presentation/components/UI/Dialogs/MessagesView/InComingMessage/InComingMessage.d.ts +0 -17
- package/dist/Presentation/components/UI/Dialogs/MessagesView/MessagesView.d.ts +0 -19
- package/dist/Presentation/components/UI/Dialogs/MessagesView/MessagesViewModel.d.ts +0 -14
- package/dist/Presentation/components/UI/Dialogs/MessagesView/OutGoingMessage/OutGoingMessage.d.ts +0 -9
- package/dist/Presentation/components/UI/Dialogs/MessagesView/useMessagesViewModel.d.ts +0 -4
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -47
- package/public/logo192.png +0 -0
- package/public/logo512.png +0 -0
- package/public/manifest.json +0 -25
- package/public/quickblox.js +0 -54609
- package/public/robots.txt +0 -3
- package/src/App.scss +0 -0
- package/src/App.tsx +0 -246
- package/src/CommonTypes/FunctionResult.ts +0 -63
- package/src/Data/DefaultConfigurations.ts +0 -333
- package/src/Data/Stubs.ts +0 -1131
- package/src/Data/dto/dialog/LocalDialogDTO.ts +0 -42
- package/src/Data/dto/dialog/LocalDialogsDTO.ts +0 -21
- package/src/Data/dto/dialog/RemoteDialogDTO.ts +0 -58
- package/src/Data/dto/dialog/RemoteDialogsDTO.ts +0 -21
- package/src/Data/dto/file/LocalFileDTO.ts +0 -26
- package/src/Data/dto/file/RemoteFileDTO.ts +0 -26
- package/src/Data/dto/message/LocalMessageDTO.ts +0 -51
- package/src/Data/dto/message/LocalMessagesDTO.ts +0 -21
- package/src/Data/dto/message/RemoteMessageDTO.ts +0 -51
- package/src/Data/dto/message/RemoteMessagesDTO.ts +0 -21
- package/src/Data/dto/user/LocalUserDTO.ts +0 -37
- package/src/Data/dto/user/LocalUsersDTO.ts +0 -23
- package/src/Data/dto/user/RemoteUserDTO.ts +0 -37
- package/src/Data/dto/user/RemoteUsersDTO.ts +0 -21
- package/src/Data/mapper/DialogLocalDTOMapper.ts +0 -742
- package/src/Data/mapper/DialogRemoteDTOMapper.ts +0 -777
- package/src/Data/mapper/FileLocalDTOMapper.ts +0 -253
- package/src/Data/mapper/FileRemoteDTOMapper.ts +0 -265
- package/src/Data/mapper/IMapper.ts +0 -14
- package/src/Data/mapper/MessageLocalDTOMapper.ts +0 -426
- package/src/Data/mapper/MessageRemoteDTOMapper.ts +0 -432
- package/src/Data/mapper/UserLocalDTOMapper.ts +0 -381
- package/src/Data/mapper/UserRemoteDTOMapper.ts +0 -393
- package/src/Data/repository/ConnectionRepository.ts +0 -144
- package/src/Data/repository/DialogsRepository.ts +0 -422
- package/src/Data/repository/EventMessagesRepository.ts +0 -291
- package/src/Data/repository/FileRepository.ts +0 -110
- package/src/Data/repository/MessagesRepository.ts +0 -288
- package/src/Data/repository/UsersRepository.ts +0 -324
- package/src/Data/source/AISource.ts +0 -133
- package/src/Data/source/exception/LocalDataSourceException.ts +0 -17
- package/src/Data/source/exception/MapperDTOException.ts +0 -19
- package/src/Data/source/exception/RemoteDataSourceException.ts +0 -28
- package/src/Data/source/exception/RepositoryException.ts +0 -27
- package/src/Data/source/local/ChatLocalStorageDataSource.ts +0 -262
- package/src/Data/source/local/ILocalDataSource.ts +0 -45
- package/src/Data/source/local/ILocalFileDataSource.ts +0 -11
- package/src/Data/source/local/LocalDataSource.ts +0 -377
- package/src/Data/source/local/LocalFileDataSource.ts +0 -22
- package/src/Data/source/remote/IRemoteDataSource.ts +0 -112
- package/src/Data/source/remote/Mapper/DialogDTOMapper.ts +0 -418
- package/src/Data/source/remote/Mapper/FileDTOMapper.ts +0 -276
- package/src/Data/source/remote/Mapper/IDTOMapper.ts +0 -4
- package/src/Data/source/remote/Mapper/MessageDTOMapper.ts +0 -452
- package/src/Data/source/remote/Mapper/UserDTOMapper.ts +0 -344
- package/src/Data/source/remote/RemoteDataSource.ts +0 -1392
- package/src/Domain/entity/Chat.ts +0 -4
- package/src/Domain/entity/ChatMessageAttachmentEntity.ts +0 -15
- package/src/Domain/entity/CustomDataEntity.ts +0 -3
- package/src/Domain/entity/DialogEntity.ts +0 -15
- package/src/Domain/entity/DialogEventInfo.ts +0 -15
- package/src/Domain/entity/DialogTypes.ts +0 -7
- package/src/Domain/entity/EventMessageType.ts +0 -7
- package/src/Domain/entity/FileEntity.ts +0 -11
- package/src/Domain/entity/FileTypes.ts +0 -9
- package/src/Domain/entity/GroupDialogEntity.ts +0 -54
- package/src/Domain/entity/LastMessageEntity.ts +0 -5
- package/src/Domain/entity/MessageEntity.ts +0 -25
- package/src/Domain/entity/NotificationTypes.ts +0 -7
- package/src/Domain/entity/PrivateDialogEntity.ts +0 -46
- package/src/Domain/entity/PublicDialogEntity.ts +0 -80
- package/src/Domain/entity/UserEntity.ts +0 -22
- package/src/Domain/exception/domain/DomainExecption.ts +0 -5
- package/src/Domain/repository/IDialogsRepository.ts +0 -40
- package/src/Domain/repository/IFileRepository.ts +0 -9
- package/src/Domain/repository/IMessagesRepository.ts +0 -28
- package/src/Domain/repository/IUsersRepository.ts +0 -13
- package/src/Domain/repository/Pagination.ts +0 -48
- package/src/Domain/use_cases/CreateDialogUseCase.ts +0 -73
- package/src/Domain/use_cases/GetAllDialogsUseCase.ts +0 -20
- package/src/Domain/use_cases/GetAllDialogsUseCaseWithMock.ts +0 -45
- package/src/Domain/use_cases/GetAllMessagesForDialog.ts +0 -61
- package/src/Domain/use_cases/GetAllUsersUseCase.ts +0 -34
- package/src/Domain/use_cases/GetDialogByIdUseCase.ts +0 -28
- package/src/Domain/use_cases/GetUsersByIdsUseCase.ts +0 -22
- package/src/Domain/use_cases/LeaveDialogUseCase.ts +0 -109
- package/src/Domain/use_cases/RemoveUsersFromTheDialogUseCase.ts +0 -103
- package/src/Domain/use_cases/SendTextMessageUseCase.ts +0 -26
- package/src/Domain/use_cases/SubscribeToDialogEventsUseCase.ts +0 -141
- package/src/Domain/use_cases/SubscribeToDialogsUpdatesUseCase.ts +0 -69
- package/src/Domain/use_cases/SubscribeToDialogsUpdatesUseCaseWithMock.ts +0 -61
- package/src/Domain/use_cases/SyncDialogsUseCase.ts +0 -246
- package/src/Domain/use_cases/UpdateDialogUseCase.ts +0 -65
- package/src/Domain/use_cases/UploadFileUseCase.ts +0 -24
- package/src/Domain/use_cases/UserTypingMessageUseCase.ts +0 -51
- package/src/Domain/use_cases/ai/AIAnswerAssistUseCase.ts +0 -69
- package/src/Domain/use_cases/ai/AIAnswerAssistWithProxyUseCase.ts +0 -71
- package/src/Domain/use_cases/ai/AIRephraseUseCase.ts +0 -89
- package/src/Domain/use_cases/ai/AIRephraseWithProxyUseCase.ts +0 -75
- package/src/Domain/use_cases/ai/AITranslateUseCase.ts +0 -76
- package/src/Domain/use_cases/ai/AITranslateWithProxyUseCase.ts +0 -79
- package/src/Domain/use_cases/base/BaseUseCase.ts +0 -77
- package/src/Domain/use_cases/base/IUseCase.ts +0 -5
- package/src/Domain/use_cases/base/Subscribable/ISubscribable.ts +0 -6
- package/src/Domain/use_cases/base/Subscribable/SubscriptionPerformer.ts +0 -151
- package/src/Presentation/.gitkeep +0 -0
- package/src/Presentation/Views/Base/BaseViewModel.ts +0 -90
- package/src/Presentation/Views/CreateDialogFlow/CreateNewDialogFlow.tsx +0 -188
- package/src/Presentation/Views/Dialogs/DialogViewModel.ts +0 -25
- package/src/Presentation/Views/Dialogs/Dialogs.scss +0 -76
- package/src/Presentation/Views/Dialogs/Dialogs.tsx +0 -400
- package/src/Presentation/Views/Dialogs/useDialogsViewModel.ts +0 -382
- package/src/Presentation/Views/Navigation/More.svg +0 -7
- package/src/Presentation/assets/DarkTheme.ts +0 -58
- package/src/Presentation/assets/DefaultThemes/CustomTheme.ts +0 -58
- package/src/Presentation/assets/DefaultThemes/DefaultTheme.ts +0 -58
- package/src/Presentation/assets/LightTheme.ts +0 -58
- package/src/Presentation/assets/ThemeScheme.ts +0 -83
- package/src/Presentation/assets/UiKitTheme.ts +0 -143
- package/src/Presentation/assets/fonts/.gitkeep +0 -0
- package/src/Presentation/assets/fonts/Roboto-Bold.eot +0 -0
- package/src/Presentation/assets/fonts/Roboto-Bold.ttf +0 -0
- package/src/Presentation/assets/fonts/Roboto-Bold.woff +0 -0
- package/src/Presentation/assets/fonts/Roboto-Bold.woff2 +0 -0
- package/src/Presentation/assets/fonts/Roboto-Medium.eot +0 -0
- package/src/Presentation/assets/fonts/Roboto-Medium.ttf +0 -0
- package/src/Presentation/assets/fonts/Roboto-Medium.woff +0 -0
- package/src/Presentation/assets/fonts/Roboto-Medium.woff2 +0 -0
- package/src/Presentation/assets/fonts/Roboto-Regular.eot +0 -0
- package/src/Presentation/assets/fonts/Roboto-Regular.ttf +0 -0
- package/src/Presentation/assets/fonts/Roboto-Regular.woff +0 -0
- package/src/Presentation/assets/fonts/Roboto-Regular.woff2 +0 -0
- package/src/Presentation/assets/img/Artem_Koltunov_Selfi.png +0 -0
- package/src/Presentation/assets/img/bee-img.png +0 -0
- package/src/Presentation/assets/img/web-doc.png +0 -0
- package/src/Presentation/assets/styles/_fonts.scss +0 -32
- package/src/Presentation/assets/styles/_reset-styles.scss +0 -435
- package/src/Presentation/assets/styles/_theme_colors_scheme.scss +0 -56
- package/src/Presentation/assets/styles/_theme_colors_scheme_green.scss +0 -57
- package/src/Presentation/assets/styles/_theme_colors_scheme_pink.scss +0 -72
- package/src/Presentation/assets/styles/_theme_dark.scss +0 -33
- package/src/Presentation/assets/styles/_theme_light.scss +0 -33
- package/src/Presentation/assets/styles/_variables.scss +0 -2
- package/src/Presentation/components/Button.js +0 -5
- package/src/Presentation/components/Navbar.tsx +0 -45
- package/src/Presentation/components/TextInput.js +0 -10
- package/src/Presentation/components/UI/Buttons/ActiveButton/ActiveButton.tsx +0 -40
- package/src/Presentation/components/UI/Buttons/MainBoundedButton/MainBoundedButton.scss +0 -0
- package/src/Presentation/components/UI/Buttons/MainBoundedButton/MainBoundedButton.tsx +0 -30
- package/src/Presentation/components/UI/Buttons/MainButton/MainButton.scss +0 -127
- package/src/Presentation/components/UI/Buttons/MainButton/MainButton.tsx +0 -62
- package/src/Presentation/components/UI/Dialogs/CreateDialog/CreateDialog.scss +0 -45
- package/src/Presentation/components/UI/Dialogs/CreateDialog/CreateDialog.tsx +0 -77
- package/src/Presentation/components/UI/Dialogs/DialogInformation/DialogInformation.scss +0 -429
- package/src/Presentation/components/UI/Dialogs/DialogInformation/DialogInformation.tsx +0 -574
- package/src/Presentation/components/UI/Dialogs/DialogInformation/DialogMemberButton/DialogMembersButton.scss +0 -42
- package/src/Presentation/components/UI/Dialogs/DialogInformation/DialogMemberButton/DialogMembersButton.tsx +0 -26
- package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/SingleUser/SingleUser.scss +0 -95
- package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/SingleUser/SingleUser.tsx +0 -42
- package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/UsersList.scss +0 -60
- package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/UsersList.tsx +0 -65
- package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/UsersListViewModel.ts +0 -13
- package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/useUsersListViewModel.ts +0 -81
- package/src/Presentation/components/UI/Dialogs/EditDialog/EditDialog.scss +0 -196
- package/src/Presentation/components/UI/Dialogs/EditDialog/EditDialog.tsx +0 -277
- package/src/Presentation/components/UI/Dialogs/EditDialog/UserAvatar/UserAvatar.scss +0 -32
- package/src/Presentation/components/UI/Dialogs/EditDialog/UserAvatar/UserAvatar.tsx +0 -59
- package/src/Presentation/components/UI/Dialogs/HeaderDialogs/HeaderDialogs.scss +0 -67
- package/src/Presentation/components/UI/Dialogs/HeaderDialogs/HeaderDialogs.tsx +0 -112
- package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteMembers.scss +0 -146
- package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteMembers.tsx +0 -328
- package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteMembersViewModel.ts +0 -18
- package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteUsersList/SingleUserWithCheckBox/SingleUserWithCheckBox.scss +0 -113
- package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteUsersList/SingleUserWithCheckBox/SingleUserWithCheckBox.tsx +0 -79
- package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteUsersResultViewModel.ts +0 -12
- package/src/Presentation/components/UI/Dialogs/InviteMembers/NotFoundContent/NotFoundContent.scss +0 -37
- package/src/Presentation/components/UI/Dialogs/InviteMembers/NotFoundContent/NotFoundContent.tsx +0 -22
- package/src/Presentation/components/UI/Dialogs/InviteMembers/useInviteMembersViewModel.ts +0 -116
- package/src/Presentation/components/UI/Dialogs/MembersList/MembersList.scss +0 -128
- package/src/Presentation/components/UI/Dialogs/MembersList/MembersList.tsx +0 -93
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/AIMessageWidget.ts +0 -40
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/AIWidgetActions/AIWidgetActions.scss +0 -55
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/AIWidgetActions/AIWidgetActions.tsx +0 -122
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/ErrorMessageIcon.tsx +0 -98
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/SliderMenu.tsx +0 -172
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/Tone.ts +0 -35
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/UseDefaultAIAssistAnswerWidget.tsx +0 -83
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/UseDefaultAIAssistAnswerWidgetWithProxy.tsx +0 -83
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/UseDefaultAIRephraseMessageWidget.tsx +0 -104
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/UseDefaultAIRephraseMessageWidgetWithProxy.tsx +0 -102
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/UseDefaultAITranslateWidget.tsx +0 -89
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/UseDefaultAITranslateWidgetWithProxy.tsx +0 -89
- package/src/Presentation/components/UI/Dialogs/MessagesView/AIWidgets/useDefaultVoiceInputWidget.tsx +0 -87
- package/src/Presentation/components/UI/Dialogs/MessagesView/AudioAttachmentComponent/AudioAttachmentComponent.scss +0 -7
- package/src/Presentation/components/UI/Dialogs/MessagesView/AudioAttachmentComponent/AudioAttachmentComponent.tsx +0 -27
- package/src/Presentation/components/UI/Dialogs/MessagesView/ContextMenu.tsx +0 -95
- package/src/Presentation/components/UI/Dialogs/MessagesView/DefaultAttachmentComponent/DefaultAttachmentComponent.scss +0 -76
- package/src/Presentation/components/UI/Dialogs/MessagesView/DefaultAttachmentComponent/DefaultAttachmentComponent.tsx +0 -34
- package/src/Presentation/components/UI/Dialogs/MessagesView/DropDownMenu/DropDownMenu.scss +0 -84
- package/src/Presentation/components/UI/Dialogs/MessagesView/DropDownMenu/DropDownMenu.tsx +0 -105
- package/src/Presentation/components/UI/Dialogs/MessagesView/DropDownMenu/ItemDropDownMenu/ItemDropDownMenu.scss +0 -50
- package/src/Presentation/components/UI/Dialogs/MessagesView/DropDownMenu/ItemDropDownMenu/ItemDropDownMenu.tsx +0 -43
- package/src/Presentation/components/UI/Dialogs/MessagesView/ErrorToast/ErrorToast.scss +0 -26
- package/src/Presentation/components/UI/Dialogs/MessagesView/ErrorToast/ErrorToast.tsx +0 -25
- package/src/Presentation/components/UI/Dialogs/MessagesView/HeaderMessages/HeaderMessages.scss +0 -133
- package/src/Presentation/components/UI/Dialogs/MessagesView/HeaderMessages/HeaderMessages.tsx +0 -144
- package/src/Presentation/components/UI/Dialogs/MessagesView/HighLightLink/HighLightLink.scss +0 -92
- package/src/Presentation/components/UI/Dialogs/MessagesView/HighLightLink/HighLightLink.tsx +0 -128
- package/src/Presentation/components/UI/Dialogs/MessagesView/ImageAttachmentComponent/ImageAttachmentComponent.scss +0 -11
- package/src/Presentation/components/UI/Dialogs/MessagesView/ImageAttachmentComponent/ImageAttachmentComponent.tsx +0 -25
- package/src/Presentation/components/UI/Dialogs/MessagesView/InComingMessage/AvatarContentIncomingUser/AvatarContentIncomingUser.scss +0 -39
- package/src/Presentation/components/UI/Dialogs/MessagesView/InComingMessage/AvatarContentIncomingUser/AvatarContentIncomingUser.tsx +0 -26
- package/src/Presentation/components/UI/Dialogs/MessagesView/InComingMessage/InComingMessage.scss +0 -392
- package/src/Presentation/components/UI/Dialogs/MessagesView/InComingMessage/InComingMessage.tsx +0 -435
- package/src/Presentation/components/UI/Dialogs/MessagesView/MessagesView.scss +0 -410
- package/src/Presentation/components/UI/Dialogs/MessagesView/MessagesView.tsx +0 -1636
- package/src/Presentation/components/UI/Dialogs/MessagesView/MessagesViewModel.ts +0 -20
- package/src/Presentation/components/UI/Dialogs/MessagesView/OutGoingMessage/OutGoingMessage.scss +0 -7
- package/src/Presentation/components/UI/Dialogs/MessagesView/OutGoingMessage/OutGoingMessage.tsx +0 -99
- package/src/Presentation/components/UI/Dialogs/MessagesView/VideoAttachmentComponent/VideoAttachmentComponent.scss +0 -11
- package/src/Presentation/components/UI/Dialogs/MessagesView/VideoAttachmentComponent/VideoAttachmentComponent.tsx +0 -33
- package/src/Presentation/components/UI/Dialogs/MessagesView/VoiceRecordingProgress/VoiceRecordingProgress.scss +0 -35
- package/src/Presentation/components/UI/Dialogs/MessagesView/VoiceRecordingProgress/VoiceRecordingProgress.tsx +0 -89
- package/src/Presentation/components/UI/Dialogs/MessagesView/useMessagesViewModel.ts +0 -475
- package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewAudioFile/PreviewAudioFile.scss +0 -62
- package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewAudioFile/PreviewAudioFile.tsx +0 -25
- package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewDefaultFile/PreviewDefaultFile.scss +0 -61
- package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewDefaultFile/PreviewDefaultFile.tsx +0 -32
- package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewDialog.scss +0 -100
- package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewDialog.tsx +0 -489
- package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewDialogViewModel.ts +0 -42
- package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewImageFile/PreviewImageFile.scss +0 -40
- package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewImageFile/PreviewImageFile.tsx +0 -26
- package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewVideoFile/PreviewVideoFile.scss +0 -62
- package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewVideoFile/PreviewVideoFile.tsx +0 -25
- package/src/Presentation/components/UI/Dialogs/YesNoQuestion/YesNoQuestion.scss +0 -35
- package/src/Presentation/components/UI/Dialogs/YesNoQuestion/YesNoQuestion.tsx +0 -89
- package/src/Presentation/components/UI/Elements/SwitchButton/SwitchButton.scss +0 -61
- package/src/Presentation/components/UI/Elements/SwitchButton/SwitchButton.tsx +0 -48
- package/src/Presentation/components/UI/Placeholders/ErrorComponent/ErrorComponent.scss +0 -74
- package/src/Presentation/components/UI/Placeholders/ErrorComponent/ErrorComponent.tsx +0 -72
- package/src/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.scss +0 -21
- package/src/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.tsx +0 -41
- package/src/Presentation/components/UI/svgs/ActiveSvg/ActiveSvg.scss +0 -3
- package/src/Presentation/components/UI/svgs/ActiveSvg/ActiveSvg.tsx +0 -41
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/AIWidget/Send.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/AIWidget/index.tsx +0 -39
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/BookIcon/BookIcon.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/BotIcon/BotIcon.svg +0 -5
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/BotIcon/BotIcon.tsx +0 -50
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/HammerIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/HandshakeIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/MuscleIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/NecktieIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/NeutralFaceIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/PalmsUpTogetherIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/PerformingArtsIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/PointUpIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/SmileyIcon/index.tsx +0 -20
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/SmirkIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/AIWidgets/WhiteCheckMarkIcon/index.tsx +0 -7
- package/src/Presentation/components/UI/svgs/Icons/Actions/Add/Add.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Add/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/AddContact/Add contact.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/AddContact/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Archive/Archive.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Archive/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/AssistAnswer/AssistAnswer.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/AssistAnswer/index.tsx +0 -93
- package/src/Presentation/components/UI/svgs/Icons/Actions/Copy/Copy.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Copy/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Delete/Delete.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Delete/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Download/Download.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Download/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Edit/Edit.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Edit/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/EditDots/EditDots.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/EditDots/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Emoji/Emoji.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Emoji/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/ForwardFilled/Forward filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/ForwardFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Hungup/Hungup.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Hungup/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/IncomeCall/Income call.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/IncomeCall/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Like/Like.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Like/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/NewChat/New chat.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/NewChat/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/OutcomeCall/Outcome call.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/OutcomeCall/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Phone/Phone.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Phone/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Actions/PhoneFilled/Phone filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/PhoneFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Remove/Remove.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Remove/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Remove2/Remove2.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Remove2/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/ReplyFilled/Reply filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/ReplyFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Send/Send.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Send/index.tsx +0 -38
- package/src/Presentation/components/UI/svgs/Icons/Actions/Share/Share.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Share/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Summarize/Summarize.svg +0 -6
- package/src/Presentation/components/UI/svgs/Icons/Actions/Summarize/index.tsx +0 -58
- package/src/Presentation/components/UI/svgs/Icons/Actions/SwapCamera/Swap camera.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/SwapCamera/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Tone/Tone.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Tone/index.tsx +0 -34
- package/src/Presentation/components/UI/svgs/Icons/Actions/Unarchive/Unarchive.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Unarchive/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/VideoIcon/Video.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/VideoIcon/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Actions/Voice/Voice.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Actions/Voice/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Contents/Brodcast/Broadcast.svg +0 -7
- package/src/Presentation/components/UI/svgs/Icons/Contents/Brodcast/index.tsx +0 -38
- package/src/Presentation/components/UI/svgs/Icons/Contents/Chat/Chat.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/Chat/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Contents/ChatFilled/Chat filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/ChatFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/Conference/Conference.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/Conference/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/Contact/Contact.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/Contact/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/ContactFilled/Contact filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/ContactFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/GroupChat/Group chat.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/GroupChat/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Contents/Notifications/Notifications.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/Notifications/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/PrivateChat/Private chat.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/PrivateChat/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/PublicChannel/Public channel.svg +0 -7
- package/src/Presentation/components/UI/svgs/Icons/Contents/PublicChannel/index.tsx +0 -67
- package/src/Presentation/components/UI/svgs/Icons/Contents/Stream/Stream.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/Stream/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/StreamFilled/Stream filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/StreamFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Contents/User/User.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Contents/User/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/IconsCommonTypes.ts +0 -6
- package/src/Presentation/components/UI/svgs/Icons/Media/Attachment/Attachment.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/Attachment/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/AudioFile/Audio file.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/AudioFile/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/BrokenFile/Broken file.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/BrokenFile/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/Camera/Camera.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/Camera/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/GifFile/GIF file.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/GifFile/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageEmpty/Image.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageEmpty/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageFile/File.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageFile/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageFilled/Image filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/ImageFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/LinkWeb/Link.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/LinkWeb/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/Location/Location.svg +0 -4
- package/src/Presentation/components/UI/svgs/Icons/Media/Location/index.tsx +0 -26
- package/src/Presentation/components/UI/svgs/Icons/Media/TextDocument/Text document.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/TextDocument/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Media/Translate/Translate.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/Translate/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Media/VideoFile/Video file.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Media/VideoFile/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Admin/Admin.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Admin/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Banned/Banned.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Banned/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Freeze/Freeze.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Freeze/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Moderations/Moderations.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Moderations/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Muted/Muted.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Moderation/Muted/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowLeft/Arrow left.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowLeft/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowRight/Arrow right.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowRight/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Back/Back.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Back/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Close/Close.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Close/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Down/Down.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Down/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Leave/Leave.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Leave/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Navigation/More/More.svg +0 -7
- package/src/Presentation/components/UI/svgs/Icons/Navigation/More/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Next/Next.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Next/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Plus/Plus.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Plus/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Refresh/Refresh.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Refresh/index.tsx +0 -36
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Search/Search.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Search/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Settings/Settings.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/Settings/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Navigation/SettingsField/Settings filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Navigation/SettingsField/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Status/Error/Error.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Error/index.tsx +0 -36
- package/src/Presentation/components/UI/svgs/Icons/Status/Help/Help.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Help/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Status/Information/Information.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Information/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Status/InformationFill/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Status/Loader/Loader.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Loader/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Status/Mention/Mention.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Mention/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Status/Sent/Sent.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/Sent/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Status/ViewedDelivered/Viewed_Delivered.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Status/ViewedDelivered/index.tsx +0 -38
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOff/Camera off.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOff/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOn/Camera on.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOn/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOff/Check off.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOff/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOn/Check on.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOn/index.tsx +0 -24
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Favourite/Favourite.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Favourite/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/FavouriteFilled/Favourite filled.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/FavouriteFilled/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/FullScreen/Full screen.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/FullScreen/inex.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Hide/Hide.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Hide/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/ImagePlay/Play.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/ImagePlay/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Louder/Louder.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Louder/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOff/Mic off.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOff/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOn/Mic on.svg +0 -4
- package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOn/index.tsx +0 -26
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Minimize/Minimize.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Minimize/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOff/Notify off.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOff/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOn/Notify on.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOn/index.tsx +0 -35
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Pause/Pause.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Pause/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Quite/Quite.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Quite/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Record/Record.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Record/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Screenshare/Screenshare.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Screenshare/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Show/Show.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Show/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Speaker/Speaker.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/Speaker/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/SpeakerOff/Speaker off.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/SpeakerOff/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/StopRecord/Stop record.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/StopRecord/index.tsx +0 -22
- package/src/Presentation/components/UI/svgs/Icons/Toggle/StopShare/Stop share.svg +0 -3
- package/src/Presentation/components/UI/svgs/Icons/Toggle/StopShare/index.tsx +0 -22
- package/src/Presentation/components/containers/ColumnContainer/ColumnContainer.scss +0 -6
- package/src/Presentation/components/containers/ColumnContainer/ColumnContainer.tsx +0 -24
- package/src/Presentation/components/containers/RowCenterContainer/RowCenterContainer.scss +0 -45
- package/src/Presentation/components/containers/RowCenterContainer/RowCenterContainer.tsx +0 -95
- package/src/Presentation/components/containers/RowLeftContainer/RowLeftContainer.scss +0 -45
- package/src/Presentation/components/containers/RowLeftContainer/RowLeftContainer.tsx +0 -97
- package/src/Presentation/components/containers/RowRightContainer/RowRightContainer.scss +0 -46
- package/src/Presentation/components/containers/RowRightContainer/RowRightContainer.tsx +0 -97
- package/src/Presentation/components/containers/ScrollableContainer/ScrollableContainer.scss +0 -45
- package/src/Presentation/components/containers/ScrollableContainer/ScrollableContainer.tsx +0 -85
- package/src/Presentation/components/layouts/Desktop/DesktopLayout.scss +0 -31
- package/src/Presentation/components/layouts/Desktop/DesktopLayout.tsx +0 -52
- package/src/Presentation/components/layouts/Desktop/QuickBloxUIKitDesktopLayout.tsx +0 -382
- package/src/Presentation/components/layouts/LayoutCommonTypes.ts +0 -7
- package/src/Presentation/components/layouts/TestStage/CompanyLogo/CompanyLogo.tsx +0 -27
- package/src/Presentation/components/layouts/TestStage/LoginView/Login.scss +0 -71
- package/src/Presentation/components/layouts/TestStage/LoginView/Login.tsx +0 -95
- package/src/Presentation/components/layouts/TestStage/TestStageMarkup.scss +0 -24
- package/src/Presentation/components/layouts/TestStage/TestStageMarkup.tsx +0 -1109
- package/src/Presentation/components/providers/ModalContextProvider/Modal.scss +0 -71
- package/src/Presentation/components/providers/ModalContextProvider/Modal.tsx +0 -131
- package/src/Presentation/components/providers/ModalContextProvider/ModalContextProvider.tsx +0 -38
- package/src/Presentation/components/providers/ModalContextProvider/useModal.ts +0 -39
- package/src/Presentation/components/providers/ProviderProps.ts +0 -5
- package/src/Presentation/components/providers/QuickBloxUIKitProvider/QuickBloxUIKitProvider.tsx +0 -344
- package/src/Presentation/components/providers/QuickBloxUIKitProvider/useEventMessagesRepository.ts +0 -10
- package/src/Presentation/components/providers/QuickBloxUIKitProvider/useQBConnection.ts +0 -38
- package/src/Presentation/components/providers/QuickBloxUIKitProvider/useQbInitializedDataContext.ts +0 -83
- package/src/Presentation/components/providers/QuickBloxUIKitProvider/useQbUIKitDataContext.ts +0 -11
- package/src/QBconfig.ts +0 -221
- package/src/index-ui.ts +0 -77
- package/src/index.scss +0 -18
- package/src/index.tsx +0 -25
- package/src/logo.svg +0 -1
- package/src/package_artan_react_ui.json +0 -91
- package/src/package_original.json +0 -115
- package/src/qb-api-calls/index.ts +0 -581
- package/src/react-app-env.d.ts +0 -1
- package/src/setupTests.ts +0 -5
- package/src/utils/DateTimeFormatter.ts +0 -35
- package/src/utils/parse.ts +0 -74
- package/src/utils/utils.ts +0 -102
- package/tsconfig.json +0 -33
- package/typedoc.json +0 -4
- package/webpack.config.js +0 -56
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/AIWidgetActions/AIWidgetActions.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/ErrorMessageIcon.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/SliderMenu.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/Tone.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/UseDefaultAIAssistAnswerWidget.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/UseDefaultAIAssistAnswerWidgetWithProxy.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/UseDefaultAIRephraseMessageWidget.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/UseDefaultAIRephraseMessageWidgetWithProxy.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/UseDefaultAITranslateWidget.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/UseDefaultAITranslateWidgetWithProxy.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/AIWidgets/useDefaultVoiceInputWidget.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/ErrorToast/ErrorToast.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs/MessagesView → Views/Dialog}/HighLightLink/HighLightLink.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs → Views}/InviteMembers/NotFoundContent/NotFoundContent.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs → Views}/InviteMembers/useInviteMembersViewModel.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs → Views}/PreviewDialog/PreviewAudioFile/PreviewAudioFile.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs → Views}/PreviewDialog/PreviewDefaultFile/PreviewDefaultFile.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs → Views}/PreviewDialog/PreviewImageFile/PreviewImageFile.d.ts +0 -0
- /package/dist/Presentation/{components/UI/Dialogs → Views}/PreviewDialog/PreviewVideoFile/PreviewVideoFile.d.ts +0 -0
- /package/dist/Presentation/{components/layouts → layouts}/LayoutCommonTypes.d.ts +0 -0
- /package/dist/Presentation/{components/layouts → layouts}/TestStage/CompanyLogo/CompanyLogo.d.ts +0 -0
- /package/dist/Presentation/{components/layouts → layouts}/TestStage/TestStageMarkup.d.ts +0 -0
- /package/dist/Presentation/{components/providers → providers}/ModalContextProvider/Modal.d.ts +0 -0
- /package/dist/Presentation/{components/providers → providers}/ModalContextProvider/ModalContextProvider.d.ts +0 -0
- /package/dist/Presentation/{components/providers → providers}/ModalContextProvider/useModal.d.ts +0 -0
- /package/dist/Presentation/{components/providers → providers}/ProviderProps.d.ts +0 -0
- /package/dist/Presentation/{components/providers → providers}/QuickBloxUIKitProvider/useQbInitializedDataContext.d.ts +0 -0
- /package/dist/Presentation/{components/providers → providers}/QuickBloxUIKitProvider/useQbUIKitDataContext.d.ts +0 -0
- /package/dist/Presentation/{assets → themes}/DarkTheme.d.ts +0 -0
- /package/dist/Presentation/{assets → themes}/DefaultThemes/CustomTheme.d.ts +0 -0
- /package/dist/Presentation/{assets → themes}/DefaultThemes/DefaultTheme.d.ts +0 -0
- /package/dist/Presentation/{assets → themes}/LightTheme.d.ts +0 -0
- /package/dist/Presentation/{assets → themes}/ThemeScheme.d.ts +0 -0
- /package/dist/Presentation/{assets → themes}/UiKitTheme.d.ts +0 -0
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import './ItemDropDownMenu.scss';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { FunctionTypeVoidToVoid } from '../../../../../../Views/Base/BaseViewModel';
|
|
4
|
-
|
|
5
|
-
type ItemDropDownMenuProps = {
|
|
6
|
-
item: string;
|
|
7
|
-
icon?: React.ReactNode;
|
|
8
|
-
touchAction?: FunctionTypeVoidToVoid;
|
|
9
|
-
clickAction?: FunctionTypeVoidToVoid;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
// eslint-disable-next-line react/function-component-definition
|
|
13
|
-
export const ItemDropDownMenu: React.FC<ItemDropDownMenuProps> = ({
|
|
14
|
-
item,
|
|
15
|
-
icon,
|
|
16
|
-
touchAction,
|
|
17
|
-
clickAction,
|
|
18
|
-
}: ItemDropDownMenuProps) => {
|
|
19
|
-
return (
|
|
20
|
-
<div
|
|
21
|
-
className="item-drop-down-menu-container"
|
|
22
|
-
onTouchStart={() => {
|
|
23
|
-
// eslint-disable-next-line no-unused-expressions
|
|
24
|
-
touchAction && typeof touchAction === 'function'
|
|
25
|
-
? touchAction()
|
|
26
|
-
: () => {
|
|
27
|
-
console.log('item menu touched');
|
|
28
|
-
};
|
|
29
|
-
}}
|
|
30
|
-
onClick={() => {
|
|
31
|
-
// eslint-disable-next-line no-unused-expressions
|
|
32
|
-
clickAction && typeof clickAction === 'function'
|
|
33
|
-
? clickAction()
|
|
34
|
-
: () => {
|
|
35
|
-
console.log('item menu clicked');
|
|
36
|
-
};
|
|
37
|
-
}}
|
|
38
|
-
>
|
|
39
|
-
<span className="item-drop-down-menu-container--title">{item}</span>
|
|
40
|
-
<div className="item-drop-down-menu-container--icon">{icon}</div>
|
|
41
|
-
</div>
|
|
42
|
-
);
|
|
43
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
.error-toast,
|
|
2
|
-
.error-toast * {
|
|
3
|
-
box-sizing: border-box;
|
|
4
|
-
}
|
|
5
|
-
.error-toast {
|
|
6
|
-
background: var(--color-background-overlay);
|
|
7
|
-
border-radius: 4px;
|
|
8
|
-
opacity: 0.6000000238418579;
|
|
9
|
-
padding: 4px 12px 4px 12px;
|
|
10
|
-
// margin-top: 36px;
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
gap: 10px;
|
|
14
|
-
align-items: flex-start;
|
|
15
|
-
justify-content: flex-start;
|
|
16
|
-
position: relative;
|
|
17
|
-
}
|
|
18
|
-
.translation-failed-try-again {
|
|
19
|
-
color: var(--color-background);
|
|
20
|
-
text-align: left;
|
|
21
|
-
font: 500 12px/16px "Roboto", sans-serif;
|
|
22
|
-
position: relative;
|
|
23
|
-
display: flex;
|
|
24
|
-
align-items: center;
|
|
25
|
-
justify-content: flex-start;
|
|
26
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './ErrorToast.scss';
|
|
3
|
-
|
|
4
|
-
type ErrorToastProps = {
|
|
5
|
-
messageText: string;
|
|
6
|
-
// displayTimeout: number;
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
// eslint-disable-next-line react/function-component-definition
|
|
10
|
-
export const ErrorToast: React.FC<ErrorToastProps> = ({
|
|
11
|
-
messageText,
|
|
12
|
-
}: // displayTimeout,
|
|
13
|
-
ErrorToastProps) => {
|
|
14
|
-
return (
|
|
15
|
-
// <div>
|
|
16
|
-
// {messageText} - {displayTimeout}
|
|
17
|
-
// </div>
|
|
18
|
-
|
|
19
|
-
<div className="error-toast">
|
|
20
|
-
<div className="translation-failed-try-again">
|
|
21
|
-
{messageText} Try again.
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
);
|
|
25
|
-
};
|
package/src/Presentation/components/UI/Dialogs/MessagesView/HeaderMessages/HeaderMessages.scss
DELETED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
$dialog-information-container-height: 64px;
|
|
2
|
-
$dialog-information-container-width: 720px;
|
|
3
|
-
$dialog-information-container-dialog-information-height: 64px;
|
|
4
|
-
|
|
5
|
-
.message-header-container {
|
|
6
|
-
border-bottom: 1px solid var(--divider);
|
|
7
|
-
min-height: $dialog-information-container-height;
|
|
8
|
-
max-height: $dialog-information-container-height;
|
|
9
|
-
height: $dialog-information-container-height;
|
|
10
|
-
|
|
11
|
-
// todo: delete this comment
|
|
12
|
-
// min-width: $dialog-information-container-width; // !!!
|
|
13
|
-
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
//align-items: center;
|
|
17
|
-
padding: 0px;
|
|
18
|
-
|
|
19
|
-
//position: absolute;
|
|
20
|
-
//width: 720px;
|
|
21
|
-
//height: 64px;
|
|
22
|
-
//left: 0px;
|
|
23
|
-
//top: 0px;
|
|
24
|
-
|
|
25
|
-
// border: 1px solid green;
|
|
26
|
-
|
|
27
|
-
&--info-wrapper{
|
|
28
|
-
min-height: $dialog-information-container-dialog-information-height;
|
|
29
|
-
width: 100%;
|
|
30
|
-
display: flex;
|
|
31
|
-
flex-direction: row;
|
|
32
|
-
flex-wrap: nowrap;
|
|
33
|
-
justify-content: space-between;
|
|
34
|
-
|
|
35
|
-
margin: 0px;
|
|
36
|
-
//padding: 0px;
|
|
37
|
-
|
|
38
|
-
//align-items: center;
|
|
39
|
-
//gap: 16px;
|
|
40
|
-
|
|
41
|
-
// border: 1px solid orange;
|
|
42
|
-
|
|
43
|
-
&__dialog-icon{
|
|
44
|
-
flex: 1 1 40px;
|
|
45
|
-
min-height: 40px;
|
|
46
|
-
min-width: 40px;
|
|
47
|
-
max-width: 40px;
|
|
48
|
-
margin-left: 20px;
|
|
49
|
-
margin-top: 12px;
|
|
50
|
-
margin-bottom: 12px;
|
|
51
|
-
display: flex;
|
|
52
|
-
justify-content: center;
|
|
53
|
-
align-items: center;
|
|
54
|
-
background-color: var(--disabled-elements);
|
|
55
|
-
border-radius: 50%;
|
|
56
|
-
|
|
57
|
-
// border: 1px solid red;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&__detail{
|
|
61
|
-
flex: 2 3;
|
|
62
|
-
display: flex;
|
|
63
|
-
flex-direction: column;
|
|
64
|
-
align-items: flex-start;
|
|
65
|
-
padding: 0px;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
min-height: 40px;
|
|
69
|
-
// border: 1px solid orange;
|
|
70
|
-
|
|
71
|
-
&__dialog-name{
|
|
72
|
-
margin-top: 12px;
|
|
73
|
-
//margin-bottom: 28px;
|
|
74
|
-
margin-left: 8px;
|
|
75
|
-
|
|
76
|
-
max-width: 250px;
|
|
77
|
-
text-overflow: ellipsis;
|
|
78
|
-
white-space: nowrap;
|
|
79
|
-
overflow: hidden;
|
|
80
|
-
|
|
81
|
-
font-family: 'Roboto';
|
|
82
|
-
font-style: normal;
|
|
83
|
-
font-weight: 500;
|
|
84
|
-
font-size: 16px;
|
|
85
|
-
line-height: 24px;
|
|
86
|
-
letter-spacing: 0.15px;
|
|
87
|
-
color: var(--main-text);
|
|
88
|
-
|
|
89
|
-
// border: 1px solid blue;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
&__dialog-members{
|
|
93
|
-
margin-left: 8px;
|
|
94
|
-
|
|
95
|
-
font-family: 'Roboto';
|
|
96
|
-
font-style: normal;
|
|
97
|
-
font-weight: 500;
|
|
98
|
-
font-size: 11px;
|
|
99
|
-
line-height: 16px;
|
|
100
|
-
letter-spacing: 0.5px;
|
|
101
|
-
color: var(--secondary-text)
|
|
102
|
-
// border: 1px solid green;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
&__detail-button{
|
|
107
|
-
flex: 1 1 80px;
|
|
108
|
-
min-width: 80px;
|
|
109
|
-
max-width: 80px;
|
|
110
|
-
display: flex;
|
|
111
|
-
flex-direction: row;
|
|
112
|
-
//justify-content: flex-end;
|
|
113
|
-
align-items: flex-end;
|
|
114
|
-
padding: 0px;
|
|
115
|
-
gap: 16px;
|
|
116
|
-
|
|
117
|
-
min-height: 32px;
|
|
118
|
-
min-width: 80px;
|
|
119
|
-
margin: 16px 16px 16px 0px;
|
|
120
|
-
// flex: 1 1 40px;
|
|
121
|
-
|
|
122
|
-
// border: 1px solid green;
|
|
123
|
-
|
|
124
|
-
&__call {
|
|
125
|
-
// border: 1px solid orange;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
&__info {
|
|
129
|
-
// border: 1px solid blue;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
package/src/Presentation/components/UI/Dialogs/MessagesView/HeaderMessages/HeaderMessages.tsx
DELETED
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
import './HeaderMessages.scss';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { FunctionTypeVoidToVoid } from '../../../../../Views/Base/BaseViewModel';
|
|
4
|
-
import { DialogEntity } from '../../../../../../Domain/entity/DialogEntity';
|
|
5
|
-
import GroupChat from '../../../svgs/Icons/Contents/GroupChat';
|
|
6
|
-
import InformationFill from '../../../svgs/Icons/Status/InformationFill';
|
|
7
|
-
import ActiveSvg from '../../../svgs/ActiveSvg/ActiveSvg';
|
|
8
|
-
import { DialogType } from '../../../../../../Domain/entity/DialogTypes';
|
|
9
|
-
import { GroupDialogEntity } from '../../../../../../Domain/entity/GroupDialogEntity';
|
|
10
|
-
import UserAvatar from '../../EditDialog/UserAvatar/UserAvatar';
|
|
11
|
-
import User from '../../../svgs/Icons/Contents/User';
|
|
12
|
-
import { PublicDialogEntity } from '../../../../../../Domain/entity/PublicDialogEntity';
|
|
13
|
-
import PublicChannel from '../../../svgs/Icons/Contents/PublicChannel';
|
|
14
|
-
import UiKitTheme from '../../../../../assets/UiKitTheme';
|
|
15
|
-
|
|
16
|
-
type HeaderMessagesProps = {
|
|
17
|
-
dialog: DialogEntity;
|
|
18
|
-
countMembers?: number;
|
|
19
|
-
InformationHandler?: FunctionTypeVoidToVoid;
|
|
20
|
-
CallHandler?: FunctionTypeVoidToVoid;
|
|
21
|
-
theme?: UiKitTheme;
|
|
22
|
-
};
|
|
23
|
-
// eslint-disable-next-line react/function-component-definition
|
|
24
|
-
const HeaderMessages: React.FC<HeaderMessagesProps> = ({
|
|
25
|
-
dialog,
|
|
26
|
-
countMembers = 0,
|
|
27
|
-
InformationHandler,
|
|
28
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
29
|
-
CallHandler,
|
|
30
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
31
|
-
theme = undefined,
|
|
32
|
-
}: HeaderMessagesProps) => {
|
|
33
|
-
// TODO: check showDialogInformation, add handler for close DialogInformation
|
|
34
|
-
const [showDialogInformation, setShowDialogInformation] =
|
|
35
|
-
React.useState(false);
|
|
36
|
-
|
|
37
|
-
// eslint-disable-next-line consistent-return
|
|
38
|
-
const renderIconForTypeDialog = (dialogEntity: DialogEntity) => {
|
|
39
|
-
if (dialogEntity.type === DialogType.group) {
|
|
40
|
-
const groupDialogEntity = dialogEntity as GroupDialogEntity;
|
|
41
|
-
|
|
42
|
-
if (groupDialogEntity.photo) {
|
|
43
|
-
return (
|
|
44
|
-
<UserAvatar
|
|
45
|
-
urlAvatar={groupDialogEntity.photo}
|
|
46
|
-
iconTheme={{ width: '40px', height: '40px' }}
|
|
47
|
-
/>
|
|
48
|
-
);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
return (
|
|
52
|
-
<GroupChat
|
|
53
|
-
width="24"
|
|
54
|
-
height="24"
|
|
55
|
-
applyZoom
|
|
56
|
-
color="var(--secondary-text)"
|
|
57
|
-
/>
|
|
58
|
-
);
|
|
59
|
-
}
|
|
60
|
-
if (dialogEntity.type === DialogType.private) {
|
|
61
|
-
return (
|
|
62
|
-
<User width="24" height="24" applyZoom color="var(--secondary-text)" />
|
|
63
|
-
);
|
|
64
|
-
}
|
|
65
|
-
if (dialogEntity.type === DialogType.public) {
|
|
66
|
-
const publicDialogEntity = dialogEntity as PublicDialogEntity;
|
|
67
|
-
|
|
68
|
-
if (publicDialogEntity.photo) {
|
|
69
|
-
return (
|
|
70
|
-
<UserAvatar
|
|
71
|
-
urlAvatar={publicDialogEntity.photo}
|
|
72
|
-
iconTheme={{ width: '40px', height: '40px' }}
|
|
73
|
-
/>
|
|
74
|
-
);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
return (
|
|
78
|
-
<PublicChannel
|
|
79
|
-
width="24"
|
|
80
|
-
height="24"
|
|
81
|
-
applyZoom
|
|
82
|
-
color="var(--secondary-text)"
|
|
83
|
-
/>
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
return (
|
|
89
|
-
<div className="message-header-container">
|
|
90
|
-
<div className="message-header-container--info-wrapper">
|
|
91
|
-
<div className="message-header-container--info-wrapper__dialog-icon">
|
|
92
|
-
{renderIconForTypeDialog(dialog)}
|
|
93
|
-
{/* <GroupChat width="40" height="40" applyZoom color="#636D78" /> */}
|
|
94
|
-
</div>
|
|
95
|
-
<div className="message-header-container--info-wrapper__detail">
|
|
96
|
-
<div className="message-header-container--info-wrapper__detail__dialog-name">
|
|
97
|
-
{dialog?.name || 'Dialog name'}
|
|
98
|
-
</div>
|
|
99
|
-
<div className="message-header-container--info-wrapper__detail__dialog-members">
|
|
100
|
-
{countMembers || 0} members
|
|
101
|
-
</div>
|
|
102
|
-
</div>
|
|
103
|
-
<div className="message-header-container--info-wrapper__detail-button">
|
|
104
|
-
<div
|
|
105
|
-
className="message-header-container--info-wrapper__detail-button__call"
|
|
106
|
-
style={{ width: '32px' }}
|
|
107
|
-
>
|
|
108
|
-
{/* <ActiveSvg */}
|
|
109
|
-
{/* content={<Phone width="32" height="32" applyZoom />} */}
|
|
110
|
-
{/* clickAction={() => { */}
|
|
111
|
-
{/* if (CallHandler) CallHandler(); */}
|
|
112
|
-
{/* }} */}
|
|
113
|
-
{/* touchAction={() => { */}
|
|
114
|
-
{/* if (CallHandler) CallHandler(); */}
|
|
115
|
-
{/* }} */}
|
|
116
|
-
{/* /> */}
|
|
117
|
-
</div>
|
|
118
|
-
<div className="message-header-container--info-wrapper__detail-button__info">
|
|
119
|
-
<ActiveSvg
|
|
120
|
-
content={
|
|
121
|
-
<InformationFill
|
|
122
|
-
width="32"
|
|
123
|
-
height="32"
|
|
124
|
-
applyZoom
|
|
125
|
-
color="var(--secondary-background)"
|
|
126
|
-
/>
|
|
127
|
-
}
|
|
128
|
-
clickAction={() => {
|
|
129
|
-
setShowDialogInformation(!showDialogInformation);
|
|
130
|
-
if (InformationHandler) InformationHandler();
|
|
131
|
-
}}
|
|
132
|
-
touchAction={() => {
|
|
133
|
-
setShowDialogInformation(!showDialogInformation);
|
|
134
|
-
if (InformationHandler) InformationHandler();
|
|
135
|
-
}}
|
|
136
|
-
/>
|
|
137
|
-
</div>
|
|
138
|
-
</div>
|
|
139
|
-
</div>
|
|
140
|
-
</div>
|
|
141
|
-
);
|
|
142
|
-
};
|
|
143
|
-
|
|
144
|
-
export default HeaderMessages;
|
package/src/Presentation/components/UI/Dialogs/MessagesView/HighLightLink/HighLightLink.scss
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
.high-light-link-container {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
align-items: flex-start;
|
|
5
|
-
padding: 0px;
|
|
6
|
-
|
|
7
|
-
width: 240px;
|
|
8
|
-
height: 70px;
|
|
9
|
-
|
|
10
|
-
background: #E4E6E8;
|
|
11
|
-
border-radius: 8px;
|
|
12
|
-
|
|
13
|
-
flex: none;
|
|
14
|
-
order: 0;
|
|
15
|
-
flex-grow: 0;
|
|
16
|
-
|
|
17
|
-
&--header-wrapper{
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: row;
|
|
20
|
-
align-items: center;
|
|
21
|
-
padding: 6px 16px;
|
|
22
|
-
|
|
23
|
-
width: 240px;
|
|
24
|
-
height: 32px;
|
|
25
|
-
|
|
26
|
-
flex: none;
|
|
27
|
-
order: 0;
|
|
28
|
-
align-self: stretch;
|
|
29
|
-
flex-grow: 0;
|
|
30
|
-
|
|
31
|
-
&__link_url{
|
|
32
|
-
width: 208px;
|
|
33
|
-
height: 20px;
|
|
34
|
-
|
|
35
|
-
text-decoration: none;
|
|
36
|
-
cursor: pointer;
|
|
37
|
-
|
|
38
|
-
font-family: 'Roboto';
|
|
39
|
-
font-style: normal;
|
|
40
|
-
font-weight: 400;
|
|
41
|
-
font-size: 14px;
|
|
42
|
-
line-height: 20px;
|
|
43
|
-
|
|
44
|
-
display: flex;
|
|
45
|
-
align-items: center;
|
|
46
|
-
letter-spacing: 0.25px;
|
|
47
|
-
|
|
48
|
-
color: #636D78;
|
|
49
|
-
|
|
50
|
-
flex: none;
|
|
51
|
-
order: 0;
|
|
52
|
-
flex-grow: 1;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&--footer-wrapper{
|
|
57
|
-
display: flex;
|
|
58
|
-
flex-direction: row;
|
|
59
|
-
align-items: center;
|
|
60
|
-
padding: 8px 16px;
|
|
61
|
-
|
|
62
|
-
width: 240px;
|
|
63
|
-
height: 32px;
|
|
64
|
-
|
|
65
|
-
flex: none;
|
|
66
|
-
order: 4;
|
|
67
|
-
align-self: stretch;
|
|
68
|
-
flex-grow: 0;
|
|
69
|
-
|
|
70
|
-
&__content{
|
|
71
|
-
width: 208px;
|
|
72
|
-
height: 16px;
|
|
73
|
-
|
|
74
|
-
font-family: 'Roboto';
|
|
75
|
-
font-style: normal;
|
|
76
|
-
font-weight: 500;
|
|
77
|
-
font-size: 11px;
|
|
78
|
-
line-height: 16px;
|
|
79
|
-
|
|
80
|
-
display: flex;
|
|
81
|
-
align-items: center;
|
|
82
|
-
letter-spacing: 0.5px;
|
|
83
|
-
|
|
84
|
-
color: #636D78;
|
|
85
|
-
|
|
86
|
-
flex: none;
|
|
87
|
-
order: 0;
|
|
88
|
-
flex-grow: 1;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import './HighLightLink.scss';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
|
|
4
|
-
const pattern =
|
|
5
|
-
'^(https?:\\/\\/)?' + // protocol
|
|
6
|
-
'((([a-zA-Z\\d]([a-zA-Z\\d-]{0,61}[a-zA-Z\\d])*\\.)+' + // sub-domain + domain name
|
|
7
|
-
'[a-zA-Z]{2,13})' + // extension
|
|
8
|
-
'|((\\d{1,3}\\.){3}\\d{1,3})' + // OR ip (v4) address
|
|
9
|
-
'|localhost)' + // OR localhost
|
|
10
|
-
'(\\:\\d{1,5})?' + // port
|
|
11
|
-
'(\\/[a-zA-Z\\&\\d%_.~+-:@]*)*' + // path
|
|
12
|
-
'(\\?[a-zA-Z\\&\\d%_.,~+-:@=;&]*)?' + // query string
|
|
13
|
-
'(\\#[-a-zA-Z&\\d_]*)?$'; // fragment locator
|
|
14
|
-
|
|
15
|
-
function removeLastPunctuation(str: string): string {
|
|
16
|
-
const punctuationRegex = /[!;%:?*_.,:-]/;
|
|
17
|
-
const decimalSeparatorRegex = /[.,]/;
|
|
18
|
-
|
|
19
|
-
if (str.length > 0) {
|
|
20
|
-
const lastChar = str.charAt(str.length - 1);
|
|
21
|
-
|
|
22
|
-
if (
|
|
23
|
-
punctuationRegex.test(lastChar) ||
|
|
24
|
-
decimalSeparatorRegex.test(lastChar)
|
|
25
|
-
) {
|
|
26
|
-
return str.slice(0, -1);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
return str;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export const isURL = (str: string) => {
|
|
34
|
-
const regex = new RegExp(pattern);
|
|
35
|
-
|
|
36
|
-
// return regex.test(str);
|
|
37
|
-
const result = regex.test(str) || regex.test(removeLastPunctuation(str));
|
|
38
|
-
// const result = str.match(pattern);
|
|
39
|
-
|
|
40
|
-
return result;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
const getURIParts = (url: string) => {
|
|
44
|
-
const matches = url.match(/^(\w+?:\/\/)?([\w-\\.]+(?=\/?))?:?(\d*)?([^:]*)/);
|
|
45
|
-
|
|
46
|
-
return {
|
|
47
|
-
scheme: matches ? matches[1] : undefined,
|
|
48
|
-
host: matches ? matches[2] : '',
|
|
49
|
-
port: matches ? matches[3] : undefined,
|
|
50
|
-
pathname: matches ? matches[4] : '',
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
const getRuleUrl = (url: string) => {
|
|
55
|
-
const uriParts = getURIParts(url);
|
|
56
|
-
let result = url;
|
|
57
|
-
|
|
58
|
-
if (uriParts.scheme === undefined) {
|
|
59
|
-
result = `http://${url}`;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
return result;
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
export const messageHasUrls = (message: string) => {
|
|
66
|
-
let result = 0;
|
|
67
|
-
|
|
68
|
-
const strings = message.split(/\n| /);
|
|
69
|
-
|
|
70
|
-
strings.forEach((s: string) => {
|
|
71
|
-
if (s.match(pattern) || removeLastPunctuation(s).match(pattern)) {
|
|
72
|
-
result += 1;
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
|
|
76
|
-
return result > 0;
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
type HighLightLinkProps = {
|
|
80
|
-
messageText: string;
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
// eslint-disable-next-line react/function-component-definition
|
|
84
|
-
//
|
|
85
|
-
// export const HighLightLink: React.FC<HighLightLinkProps> = ({
|
|
86
|
-
// urlText,
|
|
87
|
-
// }: HighLightLinkProps) => {
|
|
88
|
-
// return (
|
|
89
|
-
// <div className="high-light-link-container">
|
|
90
|
-
// <div className="high-light-link-container--header-wrapper">
|
|
91
|
-
// <a
|
|
92
|
-
// href={urlText}
|
|
93
|
-
// target="blank"
|
|
94
|
-
// className="high-light-link-container--header-wrapper__link_url"
|
|
95
|
-
// >
|
|
96
|
-
// {getNameUrl(urlText)}
|
|
97
|
-
// </a>
|
|
98
|
-
// </div>
|
|
99
|
-
// <div className="high-light-link-container--footer-wrapper">
|
|
100
|
-
// <div className="high-light-link-container--footer-wrapper__content">
|
|
101
|
-
// {getURIParts(urlText).host}
|
|
102
|
-
// </div>
|
|
103
|
-
// </div>
|
|
104
|
-
// </div>
|
|
105
|
-
// );
|
|
106
|
-
// };
|
|
107
|
-
|
|
108
|
-
// eslint-disable-next-line react/function-component-definition
|
|
109
|
-
export const HighLightLink: React.FC<HighLightLinkProps> = ({
|
|
110
|
-
messageText,
|
|
111
|
-
}: HighLightLinkProps) => {
|
|
112
|
-
const strings = messageText.split(/\n| /);
|
|
113
|
-
const elements = strings.map((item, index) => {
|
|
114
|
-
if (isURL(item)) {
|
|
115
|
-
return (
|
|
116
|
-
<span>
|
|
117
|
-
<a key={index} href={`${getRuleUrl(item)}`} target="blank">
|
|
118
|
-
{item}
|
|
119
|
-
</a>{' '}
|
|
120
|
-
</span>
|
|
121
|
-
);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
return <span>{item} </span>;
|
|
125
|
-
});
|
|
126
|
-
|
|
127
|
-
return <div>{elements}</div>;
|
|
128
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './ImageAttachmentComponent.scss';
|
|
3
|
-
import { FileEntity } from '../../../../../../Domain/entity/FileEntity';
|
|
4
|
-
|
|
5
|
-
type ImageAttachmentComponentProps = {
|
|
6
|
-
imageFile: FileEntity;
|
|
7
|
-
};
|
|
8
|
-
// eslint-disable-next-line react/function-component-definition
|
|
9
|
-
const ImageAttachmentComponent: React.FC<ImageAttachmentComponentProps> = ({
|
|
10
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
11
|
-
imageFile,
|
|
12
|
-
}: ImageAttachmentComponentProps) => {
|
|
13
|
-
return (
|
|
14
|
-
<div>
|
|
15
|
-
<img
|
|
16
|
-
className="image-body"
|
|
17
|
-
key={imageFile.id}
|
|
18
|
-
src={imageFile.url}
|
|
19
|
-
alt={imageFile.name || 'attached image'}
|
|
20
|
-
/>
|
|
21
|
-
</div>
|
|
22
|
-
);
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export default ImageAttachmentComponent;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
.avatar-wrap {
|
|
3
|
-
padding: 0px 0px 16px 0px;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: row;
|
|
6
|
-
gap: 10px;
|
|
7
|
-
align-items: flex-end;
|
|
8
|
-
justify-content: flex-start;
|
|
9
|
-
flex-shrink: 0;
|
|
10
|
-
position: relative;
|
|
11
|
-
}
|
|
12
|
-
.avatar {
|
|
13
|
-
flex-shrink: 0;
|
|
14
|
-
width: 36px;
|
|
15
|
-
height: 36px;
|
|
16
|
-
position: relative;
|
|
17
|
-
}
|
|
18
|
-
.rectangle {
|
|
19
|
-
width: 36px;
|
|
20
|
-
height: 36px;
|
|
21
|
-
position: absolute;
|
|
22
|
-
left: 0px;
|
|
23
|
-
top: 0px;
|
|
24
|
-
}
|
|
25
|
-
.ellipse {
|
|
26
|
-
background: var(--secondary-secondary-100, #bcc1c5);
|
|
27
|
-
border-radius: 50%;
|
|
28
|
-
width: 36px;
|
|
29
|
-
height: 36px;
|
|
30
|
-
position: absolute;
|
|
31
|
-
left: 0px;
|
|
32
|
-
top: 0px;
|
|
33
|
-
}
|
|
34
|
-
.contents-user {
|
|
35
|
-
position: absolute;
|
|
36
|
-
left: 6.43px;
|
|
37
|
-
top: 6.43px;
|
|
38
|
-
overflow: visible;
|
|
39
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './AvatarContentIncomingUser.scss';
|
|
3
|
-
|
|
4
|
-
export default function AvatarContentIncomingUser() {
|
|
5
|
-
return (
|
|
6
|
-
<div className="avatar-wrap">
|
|
7
|
-
<div className="avatar">
|
|
8
|
-
<div className="rectangle" />
|
|
9
|
-
<div className="ellipse" />
|
|
10
|
-
<svg
|
|
11
|
-
className="contents-user"
|
|
12
|
-
width="24"
|
|
13
|
-
height="24"
|
|
14
|
-
viewBox="0 0 24 24"
|
|
15
|
-
fill="none"
|
|
16
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
17
|
-
>
|
|
18
|
-
<path
|
|
19
|
-
d="M11.9999 6.11828C13.1185 6.11828 14.0249 7.0247 14.0249 8.14328C14.0249 9.26185 13.1185 10.1683 11.9999 10.1683C10.8814 10.1683 9.97493 9.26185 9.97493 8.14328C9.97493 7.0247 10.8814 6.11828 11.9999 6.11828ZM11.9999 14.7968C14.8639 14.7968 17.8821 16.2047 17.8821 16.8218V17.8826H6.11779V16.8218C6.11779 16.2047 9.136 14.7968 11.9999 14.7968ZM11.9999 4.28613C9.86886 4.28613 8.14279 6.0122 8.14279 8.14328C8.14279 10.2743 9.86886 12.0004 11.9999 12.0004C14.131 12.0004 15.8571 10.2743 15.8571 8.14328C15.8571 6.0122 14.131 4.28613 11.9999 4.28613ZM11.9999 12.9647C9.42529 12.9647 4.28564 14.2568 4.28564 16.8218V19.7147H19.7142V16.8218C19.7142 14.2568 14.5746 12.9647 11.9999 12.9647Z"
|
|
20
|
-
fill="#636D78"
|
|
21
|
-
/>
|
|
22
|
-
</svg>
|
|
23
|
-
</div>
|
|
24
|
-
</div>
|
|
25
|
-
);
|
|
26
|
-
}
|