quickblox-react-ui-kit 0.1.0

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.
Files changed (724) hide show
  1. package/.prettierignore +4 -0
  2. package/.prettierrc +8 -0
  3. package/LICENSE.md +19 -0
  4. package/README.md +255 -0
  5. package/dist/App.d.ts +4 -0
  6. package/dist/CommonTypes/FunctionResult.d.ts +4 -0
  7. package/dist/Data/Stubs.d.ts +29 -0
  8. package/dist/Data/dto/dialog/LocalDialogDTO.d.ts +16 -0
  9. package/dist/Data/dto/dialog/LocalDialogsDTO.d.ts +9 -0
  10. package/dist/Data/dto/dialog/RemoteDialogDTO.d.ts +18 -0
  11. package/dist/Data/dto/dialog/RemoteDialogsDTO.d.ts +9 -0
  12. package/dist/Data/dto/file/LocalFileDTO.d.ts +10 -0
  13. package/dist/Data/dto/file/RemoteFileDTO.d.ts +10 -0
  14. package/dist/Data/dto/message/LocalMessageDTO.d.ts +20 -0
  15. package/dist/Data/dto/message/LocalMessagesDTO.d.ts +9 -0
  16. package/dist/Data/dto/message/RemoteMessageDTO.d.ts +20 -0
  17. package/dist/Data/dto/message/RemoteMessagesDTO.d.ts +9 -0
  18. package/dist/Data/dto/user/LocalUserDTO.d.ts +14 -0
  19. package/dist/Data/dto/user/LocalUsersDTO.d.ts +9 -0
  20. package/dist/Data/dto/user/RemoteUserDTO.d.ts +14 -0
  21. package/dist/Data/dto/user/RemoteUsersDTO.d.ts +9 -0
  22. package/dist/Data/mapper/DialogLocalDTOMapper.d.ts +17 -0
  23. package/dist/Data/mapper/DialogRemoteDTOMapper.d.ts +18 -0
  24. package/dist/Data/mapper/FileLocalDTOMapper.d.ts +8 -0
  25. package/dist/Data/mapper/FileRemoteDTOMapper.d.ts +8 -0
  26. package/dist/Data/mapper/IMapper.d.ts +4 -0
  27. package/dist/Data/mapper/MessageLocalDTOMapper.d.ts +8 -0
  28. package/dist/Data/mapper/MessageRemoteDTOMapper.d.ts +8 -0
  29. package/dist/Data/mapper/UserLocalDTOMapper.d.ts +9 -0
  30. package/dist/Data/mapper/UserRemoteDTOMapper.d.ts +9 -0
  31. package/dist/Data/repository/ConnectionRepository.d.ts +15 -0
  32. package/dist/Data/repository/DialogsRepository.d.ts +28 -0
  33. package/dist/Data/repository/EventMessagesRepository.d.ts +35 -0
  34. package/dist/Data/repository/FileRepository.d.ts +14 -0
  35. package/dist/Data/repository/MessagesRepository.d.ts +24 -0
  36. package/dist/Data/repository/UsersRepository.d.ts +18 -0
  37. package/dist/Data/source/exception/LocalDataSourceException.d.ts +10 -0
  38. package/dist/Data/source/exception/MapperDTOException.d.ts +9 -0
  39. package/dist/Data/source/exception/RemoteDataSourceException.d.ts +15 -0
  40. package/dist/Data/source/exception/RepositoryException.d.ts +15 -0
  41. package/dist/Data/source/local/ChatLocalStorageDataSource.d.ts +8 -0
  42. package/dist/Data/source/local/ILocalDataSource.d.ts +25 -0
  43. package/dist/Data/source/local/ILocalFileDataSource.d.ts +7 -0
  44. package/dist/Data/source/local/LocalDataSource.d.ts +28 -0
  45. package/dist/Data/source/local/LocalFileDataSource.d.ts +8 -0
  46. package/dist/Data/source/remote/IRemoteDataSource.d.ts +36 -0
  47. package/dist/Data/source/remote/Mapper/DialogDTOMapper.d.ts +7 -0
  48. package/dist/Data/source/remote/Mapper/FileDTOMapper.d.ts +7 -0
  49. package/dist/Data/source/remote/Mapper/IDTOMapper.d.ts +4 -0
  50. package/dist/Data/source/remote/Mapper/MessageDTOMapper.d.ts +9 -0
  51. package/dist/Data/source/remote/Mapper/UserDTOMapper.d.ts +7 -0
  52. package/dist/Data/source/remote/RemoteDataSource.d.ts +81 -0
  53. package/dist/Domain/entity/Chat.d.ts +4 -0
  54. package/dist/Domain/entity/ChatMessageAttachmentEntity.d.ts +14 -0
  55. package/dist/Domain/entity/CustomDataEntity.d.ts +3 -0
  56. package/dist/Domain/entity/DialogEntity.d.ts +13 -0
  57. package/dist/Domain/entity/DialogEventInfo.d.ts +14 -0
  58. package/dist/Domain/entity/DialogTypes.d.ts +5 -0
  59. package/dist/Domain/entity/EventMessageType.d.ts +5 -0
  60. package/dist/Domain/entity/FileEntity.d.ts +10 -0
  61. package/dist/Domain/entity/FileTypes.d.ts +6 -0
  62. package/dist/Domain/entity/GroupDialogEntity.d.ts +19 -0
  63. package/dist/Domain/entity/LastMessageEntity.d.ts +5 -0
  64. package/dist/Domain/entity/MessageEntity.d.ts +21 -0
  65. package/dist/Domain/entity/NotificationTypes.d.ts +5 -0
  66. package/dist/Domain/entity/PrivateDialogEntity.d.ts +16 -0
  67. package/dist/Domain/entity/PublicDialogEntity.d.ts +18 -0
  68. package/dist/Domain/entity/UserEntity.d.ts +12 -0
  69. package/dist/Domain/exception/domain/DomainExecption.d.ts +4 -0
  70. package/dist/Domain/repository/IDialogsRepository.d.ts +20 -0
  71. package/dist/Domain/repository/IFileRepository.d.ts +6 -0
  72. package/dist/Domain/repository/IMessagesRepository.d.ts +15 -0
  73. package/dist/Domain/repository/IUsersRepository.d.ts +8 -0
  74. package/dist/Domain/repository/Pagination.d.ts +16 -0
  75. package/dist/Domain/use_cases/CreateDialogUseCase.d.ts +12 -0
  76. package/dist/Domain/use_cases/GetAllDialogsUseCase.d.ts +8 -0
  77. package/dist/Domain/use_cases/GetAllDialogsUseCaseWithMock.d.ts +10 -0
  78. package/dist/Domain/use_cases/GetAllMessagesForDialog.d.ts +11 -0
  79. package/dist/Domain/use_cases/GetAllUsersUseCase.d.ts +11 -0
  80. package/dist/Domain/use_cases/GetDialogByIdUseCase.d.ts +9 -0
  81. package/dist/Domain/use_cases/GetUsersByIdsUseCase.d.ts +9 -0
  82. package/dist/Domain/use_cases/LeaveDialogUseCase.d.ts +18 -0
  83. package/dist/Domain/use_cases/RemoveUsersFromTheDialogUseCase.d.ts +12 -0
  84. package/dist/Domain/use_cases/SendTextMessageUseCase.d.ts +9 -0
  85. package/dist/Domain/use_cases/SubscribeToDialogEventsUseCase.d.ts +16 -0
  86. package/dist/Domain/use_cases/SubscribeToDialogsUpdatesUseCase.d.ts +11 -0
  87. package/dist/Domain/use_cases/SubscribeToDialogsUpdatesUseCaseWithMock.d.ts +11 -0
  88. package/dist/Domain/use_cases/SyncDialogsUseCase.d.ts +23 -0
  89. package/dist/Domain/use_cases/UpdateDialogUseCase.d.ts +12 -0
  90. package/dist/Domain/use_cases/UploadFileUseCase.d.ts +9 -0
  91. package/dist/Domain/use_cases/UserTypingMessageUseCase.d.ts +13 -0
  92. package/dist/Domain/use_cases/base/BaseUseCase.d.ts +5 -0
  93. package/dist/Domain/use_cases/base/IUseCase.d.ts +5 -0
  94. package/dist/Domain/use_cases/base/Subscribable/ISubscribable.d.ts +5 -0
  95. package/dist/Domain/use_cases/base/Subscribable/SubscriptionPerformer.d.ts +24 -0
  96. package/dist/MyButton/MyButton.d.ts +9 -0
  97. package/dist/MyInput/MyInput.d.ts +10 -0
  98. package/dist/Presentation/Views/Base/BaseViewModel.d.ts +23 -0
  99. package/dist/Presentation/Views/CreateDialogFlow/CreateNewDialogFlow.d.ts +7 -0
  100. package/dist/Presentation/Views/Dialogs/DialogViewModel.d.ts +16 -0
  101. package/dist/Presentation/Views/Dialogs/Dialogs.d.ts +20 -0
  102. package/dist/Presentation/Views/Dialogs/useDialogsViewModel.d.ts +2 -0
  103. package/dist/Presentation/Views/Dialogs/useDialogsViewModelWithMockUseCase.d.ts +4 -0
  104. package/dist/Presentation/assets/DarkTheme.d.ts +21 -0
  105. package/dist/Presentation/assets/LightTheme.d.ts +21 -0
  106. package/dist/Presentation/assets/Theme.d.ts +20 -0
  107. package/dist/Presentation/assets/ThemeScheme.d.ts +43 -0
  108. package/dist/Presentation/components/Button.d.ts +4 -0
  109. package/dist/Presentation/components/Navbar.d.ts +2 -0
  110. package/dist/Presentation/components/TextInput.d.ts +1 -0
  111. package/dist/Presentation/components/UI/ DefaultThemes/CustomTheme.d.ts +6 -0
  112. package/dist/Presentation/components/UI/ DefaultThemes/DefaultTheme.d.ts +21 -0
  113. package/dist/Presentation/components/UI/Buttons/ActiveButton/ActiveButton.d.ts +9 -0
  114. package/dist/Presentation/components/UI/Buttons/MainBoundedButton/MainBoundedButton.d.ts +11 -0
  115. package/dist/Presentation/components/UI/Buttons/MainButton/MainButton.d.ts +21 -0
  116. package/dist/Presentation/components/UI/Dialogs/CreateDialog/CreateDialog.d.ts +13 -0
  117. package/dist/Presentation/components/UI/Dialogs/DialogInformation/DialogInformation.d.ts +12 -0
  118. package/dist/Presentation/components/UI/Dialogs/DialogInformation/DialogMemberButton/DialogMembersButton.d.ts +10 -0
  119. package/dist/Presentation/components/UI/Dialogs/DialogInformation/UsersList/SingleUser/SingleUser.d.ts +9 -0
  120. package/dist/Presentation/components/UI/Dialogs/DialogInformation/UsersList/UsersList.d.ts +10 -0
  121. package/dist/Presentation/components/UI/Dialogs/DialogInformation/UsersList/UsersListViewModel.d.ts +10 -0
  122. package/dist/Presentation/components/UI/Dialogs/DialogInformation/UsersList/useUsersListViewModel.d.ts +3 -0
  123. package/dist/Presentation/components/UI/Dialogs/EditDialog/EditDialog.d.ts +19 -0
  124. package/dist/Presentation/components/UI/Dialogs/EditDialog/UserAvatar/UserAvatar.d.ts +11 -0
  125. package/dist/Presentation/components/UI/Dialogs/HeaderDialogs/HeaderDialogs.d.ts +15 -0
  126. package/dist/Presentation/components/UI/Dialogs/InviteMembers/InviteMembers.d.ts +14 -0
  127. package/dist/Presentation/components/UI/Dialogs/InviteMembers/InviteMembersViewModel.d.ts +13 -0
  128. package/dist/Presentation/components/UI/Dialogs/InviteMembers/InviteUsersList/SingleUserWithCheckBox/SingleUserWithCheckBox.d.ts +13 -0
  129. package/dist/Presentation/components/UI/Dialogs/InviteMembers/InviteUsersResultViewModel.d.ts +6 -0
  130. package/dist/Presentation/components/UI/Dialogs/InviteMembers/NotFoundContent/NotFoundContent.d.ts +7 -0
  131. package/dist/Presentation/components/UI/Dialogs/InviteMembers/useInviteMembersViewModel.d.ts +2 -0
  132. package/dist/Presentation/components/UI/Dialogs/MembersList/MembersList.d.ts +10 -0
  133. package/dist/Presentation/components/UI/Dialogs/MessagesView/AudioAttachmentComponent/AudioAttachmentComponent.d.ts +8 -0
  134. package/dist/Presentation/components/UI/Dialogs/MessagesView/HeaderMessages/HeaderMessages.d.ts +12 -0
  135. package/dist/Presentation/components/UI/Dialogs/MessagesView/ImageAttachmentComponent/ImageAttachmentComponent.d.ts +8 -0
  136. package/dist/Presentation/components/UI/Dialogs/MessagesView/MessagesView.d.ts +11 -0
  137. package/dist/Presentation/components/UI/Dialogs/MessagesView/MessagesViewModel.d.ts +14 -0
  138. package/dist/Presentation/components/UI/Dialogs/MessagesView/VideoAttachmentComponent/VideoAttachmentComponent.d.ts +8 -0
  139. package/dist/Presentation/components/UI/Dialogs/MessagesView/VoiceRecordingProgress/VoiceRecordingProgress.d.ts +10 -0
  140. package/dist/Presentation/components/UI/Dialogs/MessagesView/useMessagesViewModelWithMockUseCase.d.ts +4 -0
  141. package/dist/Presentation/components/UI/Dialogs/PreviewDialog/PreviewDialog.d.ts +34 -0
  142. package/dist/Presentation/components/UI/Dialogs/PreviewDialog/PreviewDialogViewModel.d.ts +11 -0
  143. package/dist/Presentation/components/UI/Dialogs/YesNoQuestion/YesNoQuestion.d.ts +14 -0
  144. package/dist/Presentation/components/UI/Elements/SwitchButton/SwitchButton.d.ts +11 -0
  145. package/dist/Presentation/components/UI/Placeholders/ErrorComponent/ErrorComponent.d.ts +12 -0
  146. package/dist/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.d.ts +4 -0
  147. package/dist/Presentation/components/UI/svgs/ActiveSvg/ActiveSvg.d.ts +10 -0
  148. package/dist/Presentation/components/UI/svgs/Icons/Actions/Add/index.d.ts +4 -0
  149. package/dist/Presentation/components/UI/svgs/Icons/Actions/AddContact/index.d.ts +4 -0
  150. package/dist/Presentation/components/UI/svgs/Icons/Actions/Archive/index.d.ts +4 -0
  151. package/dist/Presentation/components/UI/svgs/Icons/Actions/Copy/index.d.ts +4 -0
  152. package/dist/Presentation/components/UI/svgs/Icons/Actions/Delete/index.d.ts +4 -0
  153. package/dist/Presentation/components/UI/svgs/Icons/Actions/Download/index.d.ts +4 -0
  154. package/dist/Presentation/components/UI/svgs/Icons/Actions/Edit/index.d.ts +4 -0
  155. package/dist/Presentation/components/UI/svgs/Icons/Actions/EditDots/index.d.ts +4 -0
  156. package/dist/Presentation/components/UI/svgs/Icons/Actions/Emoji/index.d.ts +4 -0
  157. package/dist/Presentation/components/UI/svgs/Icons/Actions/ForwardFilled/index.d.ts +4 -0
  158. package/dist/Presentation/components/UI/svgs/Icons/Actions/Hungup/index.d.ts +4 -0
  159. package/dist/Presentation/components/UI/svgs/Icons/Actions/IncomeCall/index.d.ts +4 -0
  160. package/dist/Presentation/components/UI/svgs/Icons/Actions/Like/index.d.ts +4 -0
  161. package/dist/Presentation/components/UI/svgs/Icons/Actions/NewChat/index.d.ts +4 -0
  162. package/dist/Presentation/components/UI/svgs/Icons/Actions/OutcomeCall/index.d.ts +4 -0
  163. package/dist/Presentation/components/UI/svgs/Icons/Actions/Phone/index.d.ts +4 -0
  164. package/dist/Presentation/components/UI/svgs/Icons/Actions/PhoneFilled/index.d.ts +4 -0
  165. package/dist/Presentation/components/UI/svgs/Icons/Actions/Remove/index.d.ts +4 -0
  166. package/dist/Presentation/components/UI/svgs/Icons/Actions/Remove2/index.d.ts +4 -0
  167. package/dist/Presentation/components/UI/svgs/Icons/Actions/ReplyFilled/index.d.ts +4 -0
  168. package/dist/Presentation/components/UI/svgs/Icons/Actions/Send/index.d.ts +4 -0
  169. package/dist/Presentation/components/UI/svgs/Icons/Actions/Share/index.d.ts +4 -0
  170. package/dist/Presentation/components/UI/svgs/Icons/Actions/SwapCamera/index.d.ts +4 -0
  171. package/dist/Presentation/components/UI/svgs/Icons/Actions/Unarchive/index.d.ts +4 -0
  172. package/dist/Presentation/components/UI/svgs/Icons/Actions/VideoIcon/index.d.ts +4 -0
  173. package/dist/Presentation/components/UI/svgs/Icons/Actions/Voice/index.d.ts +4 -0
  174. package/dist/Presentation/components/UI/svgs/Icons/Contents/Brodcast/index.d.ts +4 -0
  175. package/dist/Presentation/components/UI/svgs/Icons/Contents/Chat/index.d.ts +4 -0
  176. package/dist/Presentation/components/UI/svgs/Icons/Contents/ChatFilled/index.d.ts +4 -0
  177. package/dist/Presentation/components/UI/svgs/Icons/Contents/Conference/index.d.ts +4 -0
  178. package/dist/Presentation/components/UI/svgs/Icons/Contents/Contact/index.d.ts +4 -0
  179. package/dist/Presentation/components/UI/svgs/Icons/Contents/ContactFilled/index.d.ts +4 -0
  180. package/dist/Presentation/components/UI/svgs/Icons/Contents/GroupChat/index.d.ts +4 -0
  181. package/dist/Presentation/components/UI/svgs/Icons/Contents/Notifications/index.d.ts +4 -0
  182. package/dist/Presentation/components/UI/svgs/Icons/Contents/PrivateChat/index.d.ts +4 -0
  183. package/dist/Presentation/components/UI/svgs/Icons/Contents/PublicChannel/index.d.ts +4 -0
  184. package/dist/Presentation/components/UI/svgs/Icons/Contents/Stream/index.d.ts +4 -0
  185. package/dist/Presentation/components/UI/svgs/Icons/Contents/StreamFilled/index.d.ts +4 -0
  186. package/dist/Presentation/components/UI/svgs/Icons/Contents/User/index.d.ts +4 -0
  187. package/dist/Presentation/components/UI/svgs/Icons/IconsCommonTypes.d.ts +6 -0
  188. package/dist/Presentation/components/UI/svgs/Icons/Media/Attachment/index.d.ts +4 -0
  189. package/dist/Presentation/components/UI/svgs/Icons/Media/AudioFile/index.d.ts +4 -0
  190. package/dist/Presentation/components/UI/svgs/Icons/Media/BrokenFile/index.d.ts +4 -0
  191. package/dist/Presentation/components/UI/svgs/Icons/Media/Camera/index.d.ts +4 -0
  192. package/dist/Presentation/components/UI/svgs/Icons/Media/GifFile/index.d.ts +4 -0
  193. package/dist/Presentation/components/UI/svgs/Icons/Media/ImageEmpty/index.d.ts +4 -0
  194. package/dist/Presentation/components/UI/svgs/Icons/Media/ImageFile/index.d.ts +4 -0
  195. package/dist/Presentation/components/UI/svgs/Icons/Media/ImageFilled/index.d.ts +4 -0
  196. package/dist/Presentation/components/UI/svgs/Icons/Media/LinkWeb/index.d.ts +4 -0
  197. package/dist/Presentation/components/UI/svgs/Icons/Media/Location/index.d.ts +4 -0
  198. package/dist/Presentation/components/UI/svgs/Icons/Media/TextDocument/index.d.ts +4 -0
  199. package/dist/Presentation/components/UI/svgs/Icons/Media/VideoFile/index.d.ts +4 -0
  200. package/dist/Presentation/components/UI/svgs/Icons/Moderation/Admin/index.d.ts +4 -0
  201. package/dist/Presentation/components/UI/svgs/Icons/Moderation/Banned/index.d.ts +4 -0
  202. package/dist/Presentation/components/UI/svgs/Icons/Moderation/Freeze/index.d.ts +4 -0
  203. package/dist/Presentation/components/UI/svgs/Icons/Moderation/Moderations/index.d.ts +4 -0
  204. package/dist/Presentation/components/UI/svgs/Icons/Moderation/Muted/index.d.ts +4 -0
  205. package/dist/Presentation/components/UI/svgs/Icons/Navigation/ArrowLeft/index.d.ts +4 -0
  206. package/dist/Presentation/components/UI/svgs/Icons/Navigation/ArrowRight/index.d.ts +4 -0
  207. package/dist/Presentation/components/UI/svgs/Icons/Navigation/Back/index.d.ts +4 -0
  208. package/dist/Presentation/components/UI/svgs/Icons/Navigation/Close/index.d.ts +4 -0
  209. package/dist/Presentation/components/UI/svgs/Icons/Navigation/Down/index.d.ts +4 -0
  210. package/dist/Presentation/components/UI/svgs/Icons/Navigation/Leave/index.d.ts +4 -0
  211. package/dist/Presentation/components/UI/svgs/Icons/Navigation/More/index.d.ts +4 -0
  212. package/dist/Presentation/components/UI/svgs/Icons/Navigation/Next/index.d.ts +4 -0
  213. package/dist/Presentation/components/UI/svgs/Icons/Navigation/Plus/index.d.ts +4 -0
  214. package/dist/Presentation/components/UI/svgs/Icons/Navigation/Refresh/index.d.ts +4 -0
  215. package/dist/Presentation/components/UI/svgs/Icons/Navigation/Search/index.d.ts +4 -0
  216. package/dist/Presentation/components/UI/svgs/Icons/Navigation/Settings/index.d.ts +4 -0
  217. package/dist/Presentation/components/UI/svgs/Icons/Navigation/SettingsField/index.d.ts +4 -0
  218. package/dist/Presentation/components/UI/svgs/Icons/Status/Error/index.d.ts +4 -0
  219. package/dist/Presentation/components/UI/svgs/Icons/Status/Help/index.d.ts +4 -0
  220. package/dist/Presentation/components/UI/svgs/Icons/Status/Information/index.d.ts +4 -0
  221. package/dist/Presentation/components/UI/svgs/Icons/Status/InformationFill/index.d.ts +4 -0
  222. package/dist/Presentation/components/UI/svgs/Icons/Status/Loader/index.d.ts +4 -0
  223. package/dist/Presentation/components/UI/svgs/Icons/Status/Mention/index.d.ts +4 -0
  224. package/dist/Presentation/components/UI/svgs/Icons/Status/Sent/index.d.ts +4 -0
  225. package/dist/Presentation/components/UI/svgs/Icons/Status/ViewedDelivered/index.d.ts +4 -0
  226. package/dist/Presentation/components/UI/svgs/Icons/Toggle/CameraOff/index.d.ts +4 -0
  227. package/dist/Presentation/components/UI/svgs/Icons/Toggle/CameraOn/index.d.ts +4 -0
  228. package/dist/Presentation/components/UI/svgs/Icons/Toggle/CheckOff/index.d.ts +4 -0
  229. package/dist/Presentation/components/UI/svgs/Icons/Toggle/CheckOn/index.d.ts +4 -0
  230. package/dist/Presentation/components/UI/svgs/Icons/Toggle/Favourite/index.d.ts +4 -0
  231. package/dist/Presentation/components/UI/svgs/Icons/Toggle/FavouriteFilled/index.d.ts +4 -0
  232. package/dist/Presentation/components/UI/svgs/Icons/Toggle/FullScreen/inex.d.ts +4 -0
  233. package/dist/Presentation/components/UI/svgs/Icons/Toggle/Hide/index.d.ts +4 -0
  234. package/dist/Presentation/components/UI/svgs/Icons/Toggle/ImagePlay/index.d.ts +4 -0
  235. package/dist/Presentation/components/UI/svgs/Icons/Toggle/Louder/index.d.ts +4 -0
  236. package/dist/Presentation/components/UI/svgs/Icons/Toggle/MicOff/index.d.ts +4 -0
  237. package/dist/Presentation/components/UI/svgs/Icons/Toggle/MicOn/index.d.ts +4 -0
  238. package/dist/Presentation/components/UI/svgs/Icons/Toggle/Minimize/index.d.ts +4 -0
  239. package/dist/Presentation/components/UI/svgs/Icons/Toggle/NotifyOff/index.d.ts +4 -0
  240. package/dist/Presentation/components/UI/svgs/Icons/Toggle/NotifyOn/index.d.ts +4 -0
  241. package/dist/Presentation/components/UI/svgs/Icons/Toggle/Pause/index.d.ts +4 -0
  242. package/dist/Presentation/components/UI/svgs/Icons/Toggle/Quite/index.d.ts +4 -0
  243. package/dist/Presentation/components/UI/svgs/Icons/Toggle/Record/index.d.ts +4 -0
  244. package/dist/Presentation/components/UI/svgs/Icons/Toggle/Screenshare/index.d.ts +4 -0
  245. package/dist/Presentation/components/UI/svgs/Icons/Toggle/Show/index.d.ts +4 -0
  246. package/dist/Presentation/components/UI/svgs/Icons/Toggle/Speaker/index.d.ts +4 -0
  247. package/dist/Presentation/components/UI/svgs/Icons/Toggle/SpeakerOff/index.d.ts +4 -0
  248. package/dist/Presentation/components/UI/svgs/Icons/Toggle/StopRecord/index.d.ts +4 -0
  249. package/dist/Presentation/components/UI/svgs/Icons/Toggle/StopShare/index.d.ts +4 -0
  250. package/dist/Presentation/components/containers/ColumnContainer/ColumnContainer.d.ts +5 -0
  251. package/dist/Presentation/components/containers/RowCenterContainer/RowCenterContainer.d.ts +33 -0
  252. package/dist/Presentation/components/containers/RowLeftContainer/RowLeftContainer.d.ts +33 -0
  253. package/dist/Presentation/components/containers/RowRightContainer/RowRightContainer.d.ts +33 -0
  254. package/dist/Presentation/components/containers/ScrollableContainer/ScrollableContainer.d.ts +14 -0
  255. package/dist/Presentation/components/layouts/Desktop/Desktop.d.ts +4 -0
  256. package/dist/Presentation/components/layouts/Desktop/DesktopLayoutForMockModels.d.ts +9 -0
  257. package/dist/Presentation/components/layouts/LayoutCommonTypes.d.ts +6 -0
  258. package/dist/Presentation/components/layouts/TestStage/LoginView/Login.d.ts +9 -0
  259. package/dist/Presentation/components/layouts/TestStage/TestStageMarkup.d.ts +4 -0
  260. package/dist/Presentation/components/layouts/TestStage/TestStageWithMockData/TestStageWithMockData.d.ts +3 -0
  261. package/dist/Presentation/components/providers/ModalContextProvider/Modal.d.ts +14 -0
  262. package/dist/Presentation/components/providers/ModalContextProvider/ModalContextProvider.d.ts +4 -0
  263. package/dist/Presentation/components/providers/ModalContextProvider/useModal.d.ts +11 -0
  264. package/dist/Presentation/components/providers/ProviderProps.d.ts +4 -0
  265. package/dist/Presentation/components/providers/QuickBloxUIKitProvider/QuickBloxUIKitProvider.d.ts +41 -0
  266. package/dist/Presentation/components/providers/QuickBloxUIKitProvider/useEventMessagesRepository.d.ts +3 -0
  267. package/dist/Presentation/components/providers/QuickBloxUIKitProvider/useQBConnection.d.ts +7 -0
  268. package/dist/Presentation/components/providers/QuickBloxUIKitProvider/useQbDataContext.d.ts +3 -0
  269. package/dist/QBconfig.d.ts +29 -0
  270. package/dist/index-ui.d.ts +25 -0
  271. package/dist/index-ui.js +2589 -0
  272. package/dist/index.d.ts +1 -0
  273. package/dist/qb-api-calls/index.d.ts +59 -0
  274. package/dist/setupTests.d.ts +1 -0
  275. package/dist/utils/DateTimeFormatter.d.ts +4 -0
  276. package/dist/utils/parse.d.ts +6 -0
  277. package/global.d.ts +855 -0
  278. package/package.json +104 -0
  279. package/public/favicon.ico +0 -0
  280. package/public/index.html +47 -0
  281. package/public/logo192.png +0 -0
  282. package/public/logo512.png +0 -0
  283. package/public/manifest.json +25 -0
  284. package/public/quickblox.js +54609 -0
  285. package/public/robots.txt +3 -0
  286. package/src/App.scss +0 -0
  287. package/src/App.tsx +230 -0
  288. package/src/CommonTypes/FunctionResult.ts +4 -0
  289. package/src/Data/Stubs.ts +1131 -0
  290. package/src/Data/dto/dialog/LocalDialogDTO.ts +42 -0
  291. package/src/Data/dto/dialog/LocalDialogsDTO.ts +21 -0
  292. package/src/Data/dto/dialog/RemoteDialogDTO.ts +58 -0
  293. package/src/Data/dto/dialog/RemoteDialogsDTO.ts +21 -0
  294. package/src/Data/dto/file/LocalFileDTO.ts +26 -0
  295. package/src/Data/dto/file/RemoteFileDTO.ts +26 -0
  296. package/src/Data/dto/message/LocalMessageDTO.ts +51 -0
  297. package/src/Data/dto/message/LocalMessagesDTO.ts +21 -0
  298. package/src/Data/dto/message/RemoteMessageDTO.ts +51 -0
  299. package/src/Data/dto/message/RemoteMessagesDTO.ts +21 -0
  300. package/src/Data/dto/user/LocalUserDTO.ts +37 -0
  301. package/src/Data/dto/user/LocalUsersDTO.ts +23 -0
  302. package/src/Data/dto/user/RemoteUserDTO.ts +37 -0
  303. package/src/Data/dto/user/RemoteUsersDTO.ts +21 -0
  304. package/src/Data/mapper/DialogLocalDTOMapper.ts +742 -0
  305. package/src/Data/mapper/DialogRemoteDTOMapper.ts +776 -0
  306. package/src/Data/mapper/FileLocalDTOMapper.ts +253 -0
  307. package/src/Data/mapper/FileRemoteDTOMapper.ts +265 -0
  308. package/src/Data/mapper/IMapper.ts +14 -0
  309. package/src/Data/mapper/MessageLocalDTOMapper.ts +425 -0
  310. package/src/Data/mapper/MessageRemoteDTOMapper.ts +430 -0
  311. package/src/Data/mapper/UserLocalDTOMapper.ts +381 -0
  312. package/src/Data/mapper/UserRemoteDTOMapper.ts +393 -0
  313. package/src/Data/repository/ConnectionRepository.ts +128 -0
  314. package/src/Data/repository/DialogsRepository.ts +422 -0
  315. package/src/Data/repository/EventMessagesRepository.ts +291 -0
  316. package/src/Data/repository/FileRepository.ts +110 -0
  317. package/src/Data/repository/MessagesRepository.ts +288 -0
  318. package/src/Data/repository/UsersRepository.ts +324 -0
  319. package/src/Data/source/exception/LocalDataSourceException.ts +17 -0
  320. package/src/Data/source/exception/MapperDTOException.ts +19 -0
  321. package/src/Data/source/exception/RemoteDataSourceException.ts +28 -0
  322. package/src/Data/source/exception/RepositoryException.ts +27 -0
  323. package/src/Data/source/local/ChatLocalStorageDataSource.ts +262 -0
  324. package/src/Data/source/local/ILocalDataSource.ts +45 -0
  325. package/src/Data/source/local/ILocalFileDataSource.ts +11 -0
  326. package/src/Data/source/local/LocalDataSource.ts +377 -0
  327. package/src/Data/source/local/LocalFileDataSource.ts +22 -0
  328. package/src/Data/source/remote/IRemoteDataSource.ts +112 -0
  329. package/src/Data/source/remote/Mapper/DialogDTOMapper.ts +401 -0
  330. package/src/Data/source/remote/Mapper/FileDTOMapper.ts +276 -0
  331. package/src/Data/source/remote/Mapper/IDTOMapper.ts +4 -0
  332. package/src/Data/source/remote/Mapper/MessageDTOMapper.ts +399 -0
  333. package/src/Data/source/remote/Mapper/UserDTOMapper.ts +344 -0
  334. package/src/Data/source/remote/RemoteDataSource.ts +1278 -0
  335. package/src/Domain/entity/Chat.ts +4 -0
  336. package/src/Domain/entity/ChatMessageAttachmentEntity.ts +15 -0
  337. package/src/Domain/entity/CustomDataEntity.ts +3 -0
  338. package/src/Domain/entity/DialogEntity.ts +15 -0
  339. package/src/Domain/entity/DialogEventInfo.ts +15 -0
  340. package/src/Domain/entity/DialogTypes.ts +7 -0
  341. package/src/Domain/entity/EventMessageType.ts +7 -0
  342. package/src/Domain/entity/FileEntity.ts +11 -0
  343. package/src/Domain/entity/FileTypes.ts +9 -0
  344. package/src/Domain/entity/GroupDialogEntity.ts +54 -0
  345. package/src/Domain/entity/LastMessageEntity.ts +5 -0
  346. package/src/Domain/entity/MessageEntity.ts +25 -0
  347. package/src/Domain/entity/NotificationTypes.ts +7 -0
  348. package/src/Domain/entity/PrivateDialogEntity.ts +46 -0
  349. package/src/Domain/entity/PublicDialogEntity.ts +72 -0
  350. package/src/Domain/entity/UserEntity.ts +22 -0
  351. package/src/Domain/exception/domain/DomainExecption.ts +5 -0
  352. package/src/Domain/repository/IDialogsRepository.ts +40 -0
  353. package/src/Domain/repository/IFileRepository.ts +9 -0
  354. package/src/Domain/repository/IMessagesRepository.ts +28 -0
  355. package/src/Domain/repository/IUsersRepository.ts +13 -0
  356. package/src/Domain/repository/Pagination.ts +48 -0
  357. package/src/Domain/use_cases/CreateDialogUseCase.ts +73 -0
  358. package/src/Domain/use_cases/GetAllDialogsUseCase.ts +20 -0
  359. package/src/Domain/use_cases/GetAllDialogsUseCaseWithMock.ts +45 -0
  360. package/src/Domain/use_cases/GetAllMessagesForDialog.ts +61 -0
  361. package/src/Domain/use_cases/GetAllUsersUseCase.ts +34 -0
  362. package/src/Domain/use_cases/GetDialogByIdUseCase.ts +28 -0
  363. package/src/Domain/use_cases/GetUsersByIdsUseCase.ts +22 -0
  364. package/src/Domain/use_cases/LeaveDialogUseCase.ts +109 -0
  365. package/src/Domain/use_cases/RemoveUsersFromTheDialogUseCase.ts +103 -0
  366. package/src/Domain/use_cases/SendTextMessageUseCase.ts +26 -0
  367. package/src/Domain/use_cases/SubscribeToDialogEventsUseCase.ts +141 -0
  368. package/src/Domain/use_cases/SubscribeToDialogsUpdatesUseCase.ts +69 -0
  369. package/src/Domain/use_cases/SubscribeToDialogsUpdatesUseCaseWithMock.ts +61 -0
  370. package/src/Domain/use_cases/SyncDialogsUseCase.ts +246 -0
  371. package/src/Domain/use_cases/UpdateDialogUseCase.ts +65 -0
  372. package/src/Domain/use_cases/UploadFileUseCase.ts +24 -0
  373. package/src/Domain/use_cases/UserTypingMessageUseCase.ts +51 -0
  374. package/src/Domain/use_cases/base/BaseUseCase.ts +77 -0
  375. package/src/Domain/use_cases/base/IUseCase.ts +5 -0
  376. package/src/Domain/use_cases/base/Subscribable/ISubscribable.ts +6 -0
  377. package/src/Domain/use_cases/base/Subscribable/SubscriptionPerformer.ts +143 -0
  378. package/src/MyButton/MyButton.scss +11 -0
  379. package/src/MyButton/MyButton.tsx +25 -0
  380. package/src/MyInput/MyInput.scss +9 -0
  381. package/src/MyInput/MyInput.tsx +36 -0
  382. package/src/Presentation/.gitkeep +0 -0
  383. package/src/Presentation/Views/Base/BaseViewModel.ts +66 -0
  384. package/src/Presentation/Views/CreateDialogFlow/CreateNewDialogFlow.tsx +187 -0
  385. package/src/Presentation/Views/Dialogs/DialogViewModel.ts +23 -0
  386. package/src/Presentation/Views/Dialogs/Dialogs.scss +66 -0
  387. package/src/Presentation/Views/Dialogs/Dialogs.tsx +372 -0
  388. package/src/Presentation/Views/Dialogs/useDialogsViewModel.ts +136 -0
  389. package/src/Presentation/Views/Dialogs/useDialogsViewModelWithMockUseCase.ts +345 -0
  390. package/src/Presentation/Views/Navigation/More.svg +7 -0
  391. package/src/Presentation/assets/DarkTheme.ts +58 -0
  392. package/src/Presentation/assets/LightTheme.ts +58 -0
  393. package/src/Presentation/assets/Theme.ts +143 -0
  394. package/src/Presentation/assets/ThemeScheme.ts +83 -0
  395. package/src/Presentation/assets/fonts/.gitkeep +0 -0
  396. package/src/Presentation/assets/fonts/Roboto-Bold.eot +0 -0
  397. package/src/Presentation/assets/fonts/Roboto-Bold.ttf +0 -0
  398. package/src/Presentation/assets/fonts/Roboto-Bold.woff +0 -0
  399. package/src/Presentation/assets/fonts/Roboto-Bold.woff2 +0 -0
  400. package/src/Presentation/assets/fonts/Roboto-Medium.eot +0 -0
  401. package/src/Presentation/assets/fonts/Roboto-Medium.ttf +0 -0
  402. package/src/Presentation/assets/fonts/Roboto-Medium.woff +0 -0
  403. package/src/Presentation/assets/fonts/Roboto-Medium.woff2 +0 -0
  404. package/src/Presentation/assets/fonts/Roboto-Regular.eot +0 -0
  405. package/src/Presentation/assets/fonts/Roboto-Regular.ttf +0 -0
  406. package/src/Presentation/assets/fonts/Roboto-Regular.woff +0 -0
  407. package/src/Presentation/assets/fonts/Roboto-Regular.woff2 +0 -0
  408. package/src/Presentation/assets/img/Artem_Koltunov_Selfi.png +0 -0
  409. package/src/Presentation/assets/img/bee-img.png +0 -0
  410. package/src/Presentation/assets/styles/_fonts.scss +32 -0
  411. package/src/Presentation/assets/styles/_reset-styles.scss +435 -0
  412. package/src/Presentation/assets/styles/_theme_colors_scheme.scss +56 -0
  413. package/src/Presentation/assets/styles/_theme_dark.scss +33 -0
  414. package/src/Presentation/assets/styles/_theme_light.scss +33 -0
  415. package/src/Presentation/assets/styles/_variables.scss +2 -0
  416. package/src/Presentation/components/Button.js +5 -0
  417. package/src/Presentation/components/Navbar.tsx +45 -0
  418. package/src/Presentation/components/TextInput.js +10 -0
  419. package/src/Presentation/components/UI/ DefaultThemes/CustomTheme.ts +13 -0
  420. package/src/Presentation/components/UI/ DefaultThemes/DefaultTheme.ts +58 -0
  421. package/src/Presentation/components/UI/Buttons/ActiveButton/ActiveButton.tsx +40 -0
  422. package/src/Presentation/components/UI/Buttons/MainBoundedButton/MainBoundedButton.scss +0 -0
  423. package/src/Presentation/components/UI/Buttons/MainBoundedButton/MainBoundedButton.tsx +30 -0
  424. package/src/Presentation/components/UI/Buttons/MainButton/MainButton.scss +127 -0
  425. package/src/Presentation/components/UI/Buttons/MainButton/MainButton.tsx +62 -0
  426. package/src/Presentation/components/UI/Dialogs/CreateDialog/CreateDialog.scss +45 -0
  427. package/src/Presentation/components/UI/Dialogs/CreateDialog/CreateDialog.tsx +77 -0
  428. package/src/Presentation/components/UI/Dialogs/DialogInformation/DialogInformation.scss +429 -0
  429. package/src/Presentation/components/UI/Dialogs/DialogInformation/DialogInformation.tsx +646 -0
  430. package/src/Presentation/components/UI/Dialogs/DialogInformation/DialogMemberButton/DialogMembersButton.scss +42 -0
  431. package/src/Presentation/components/UI/Dialogs/DialogInformation/DialogMemberButton/DialogMembersButton.tsx +26 -0
  432. package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/SingleUser/SingleUser.scss +95 -0
  433. package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/SingleUser/SingleUser.tsx +42 -0
  434. package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/UsersList.scss +60 -0
  435. package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/UsersList.tsx +65 -0
  436. package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/UsersListViewModel.ts +13 -0
  437. package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/useUsersListViewModel.ts +81 -0
  438. package/src/Presentation/components/UI/Dialogs/EditDialog/EditDialog.scss +183 -0
  439. package/src/Presentation/components/UI/Dialogs/EditDialog/EditDialog.tsx +262 -0
  440. package/src/Presentation/components/UI/Dialogs/EditDialog/UserAvatar/UserAvatar.scss +32 -0
  441. package/src/Presentation/components/UI/Dialogs/EditDialog/UserAvatar/UserAvatar.tsx +59 -0
  442. package/src/Presentation/components/UI/Dialogs/HeaderDialogs/HeaderDialogs.scss +67 -0
  443. package/src/Presentation/components/UI/Dialogs/HeaderDialogs/HeaderDialogs.tsx +112 -0
  444. package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteMembers.scss +146 -0
  445. package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteMembers.tsx +374 -0
  446. package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteMembersViewModel.ts +18 -0
  447. package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteUsersList/SingleUserWithCheckBox/SingleUserWithCheckBox.scss +113 -0
  448. package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteUsersList/SingleUserWithCheckBox/SingleUserWithCheckBox.tsx +87 -0
  449. package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteUsersResultViewModel.ts +12 -0
  450. package/src/Presentation/components/UI/Dialogs/InviteMembers/NotFoundContent/NotFoundContent.scss +37 -0
  451. package/src/Presentation/components/UI/Dialogs/InviteMembers/NotFoundContent/NotFoundContent.tsx +22 -0
  452. package/src/Presentation/components/UI/Dialogs/InviteMembers/useInviteMembersViewModel.ts +116 -0
  453. package/src/Presentation/components/UI/Dialogs/MembersList/MembersList.scss +128 -0
  454. package/src/Presentation/components/UI/Dialogs/MembersList/MembersList.tsx +89 -0
  455. package/src/Presentation/components/UI/Dialogs/MessagesView/AudioAttachmentComponent/AudioAttachmentComponent.scss +7 -0
  456. package/src/Presentation/components/UI/Dialogs/MessagesView/AudioAttachmentComponent/AudioAttachmentComponent.tsx +27 -0
  457. package/src/Presentation/components/UI/Dialogs/MessagesView/HeaderMessages/HeaderMessages.scss +133 -0
  458. package/src/Presentation/components/UI/Dialogs/MessagesView/HeaderMessages/HeaderMessages.tsx +137 -0
  459. package/src/Presentation/components/UI/Dialogs/MessagesView/ImageAttachmentComponent/ImageAttachmentComponent.scss +11 -0
  460. package/src/Presentation/components/UI/Dialogs/MessagesView/ImageAttachmentComponent/ImageAttachmentComponent.tsx +25 -0
  461. package/src/Presentation/components/UI/Dialogs/MessagesView/MessagesView.scss +327 -0
  462. package/src/Presentation/components/UI/Dialogs/MessagesView/MessagesView.tsx +794 -0
  463. package/src/Presentation/components/UI/Dialogs/MessagesView/MessagesViewModel.ts +20 -0
  464. package/src/Presentation/components/UI/Dialogs/MessagesView/VideoAttachmentComponent/VideoAttachmentComponent.scss +7 -0
  465. package/src/Presentation/components/UI/Dialogs/MessagesView/VideoAttachmentComponent/VideoAttachmentComponent.tsx +33 -0
  466. package/src/Presentation/components/UI/Dialogs/MessagesView/VoiceRecordingProgress/VoiceRecordingProgress.scss +35 -0
  467. package/src/Presentation/components/UI/Dialogs/MessagesView/VoiceRecordingProgress/VoiceRecordingProgress.tsx +86 -0
  468. package/src/Presentation/components/UI/Dialogs/MessagesView/useMessagesViewModelWithMockUseCase.ts +452 -0
  469. package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewDialog.scss +100 -0
  470. package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewDialog.tsx +405 -0
  471. package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewDialogViewModel.ts +42 -0
  472. package/src/Presentation/components/UI/Dialogs/YesNoQuestion/YesNoQuestion.scss +35 -0
  473. package/src/Presentation/components/UI/Dialogs/YesNoQuestion/YesNoQuestion.tsx +89 -0
  474. package/src/Presentation/components/UI/Elements/SwitchButton/SwitchButton.scss +61 -0
  475. package/src/Presentation/components/UI/Elements/SwitchButton/SwitchButton.tsx +48 -0
  476. package/src/Presentation/components/UI/Placeholders/ErrorComponent/ErrorComponent.scss +74 -0
  477. package/src/Presentation/components/UI/Placeholders/ErrorComponent/ErrorComponent.tsx +72 -0
  478. package/src/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.scss +21 -0
  479. package/src/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.tsx +41 -0
  480. package/src/Presentation/components/UI/svgs/ActiveSvg/ActiveSvg.scss +3 -0
  481. package/src/Presentation/components/UI/svgs/ActiveSvg/ActiveSvg.tsx +41 -0
  482. package/src/Presentation/components/UI/svgs/Icons/Actions/Add/Add.svg +3 -0
  483. package/src/Presentation/components/UI/svgs/Icons/Actions/Add/index.tsx +22 -0
  484. package/src/Presentation/components/UI/svgs/Icons/Actions/AddContact/Add contact.svg +3 -0
  485. package/src/Presentation/components/UI/svgs/Icons/Actions/AddContact/index.tsx +22 -0
  486. package/src/Presentation/components/UI/svgs/Icons/Actions/Archive/Archive.svg +3 -0
  487. package/src/Presentation/components/UI/svgs/Icons/Actions/Archive/index.tsx +22 -0
  488. package/src/Presentation/components/UI/svgs/Icons/Actions/Copy/Copy.svg +3 -0
  489. package/src/Presentation/components/UI/svgs/Icons/Actions/Copy/index.tsx +22 -0
  490. package/src/Presentation/components/UI/svgs/Icons/Actions/Delete/Delete.svg +3 -0
  491. package/src/Presentation/components/UI/svgs/Icons/Actions/Delete/index.tsx +22 -0
  492. package/src/Presentation/components/UI/svgs/Icons/Actions/Download/Download.svg +3 -0
  493. package/src/Presentation/components/UI/svgs/Icons/Actions/Download/index.tsx +22 -0
  494. package/src/Presentation/components/UI/svgs/Icons/Actions/Edit/Edit.svg +3 -0
  495. package/src/Presentation/components/UI/svgs/Icons/Actions/Edit/index.tsx +22 -0
  496. package/src/Presentation/components/UI/svgs/Icons/Actions/EditDots/EditDots.svg +3 -0
  497. package/src/Presentation/components/UI/svgs/Icons/Actions/EditDots/index.tsx +22 -0
  498. package/src/Presentation/components/UI/svgs/Icons/Actions/Emoji/Emoji.svg +3 -0
  499. package/src/Presentation/components/UI/svgs/Icons/Actions/Emoji/index.tsx +22 -0
  500. package/src/Presentation/components/UI/svgs/Icons/Actions/ForwardFilled/Forward filled.svg +3 -0
  501. package/src/Presentation/components/UI/svgs/Icons/Actions/ForwardFilled/index.tsx +22 -0
  502. package/src/Presentation/components/UI/svgs/Icons/Actions/Hungup/Hungup.svg +3 -0
  503. package/src/Presentation/components/UI/svgs/Icons/Actions/Hungup/index.tsx +22 -0
  504. package/src/Presentation/components/UI/svgs/Icons/Actions/IncomeCall/Income call.svg +3 -0
  505. package/src/Presentation/components/UI/svgs/Icons/Actions/IncomeCall/index.tsx +22 -0
  506. package/src/Presentation/components/UI/svgs/Icons/Actions/Like/Like.svg +3 -0
  507. package/src/Presentation/components/UI/svgs/Icons/Actions/Like/index.tsx +22 -0
  508. package/src/Presentation/components/UI/svgs/Icons/Actions/NewChat/New chat.svg +3 -0
  509. package/src/Presentation/components/UI/svgs/Icons/Actions/NewChat/index.tsx +22 -0
  510. package/src/Presentation/components/UI/svgs/Icons/Actions/OutcomeCall/Outcome call.svg +3 -0
  511. package/src/Presentation/components/UI/svgs/Icons/Actions/OutcomeCall/index.tsx +22 -0
  512. package/src/Presentation/components/UI/svgs/Icons/Actions/Phone/Phone.svg +3 -0
  513. package/src/Presentation/components/UI/svgs/Icons/Actions/Phone/index.tsx +35 -0
  514. package/src/Presentation/components/UI/svgs/Icons/Actions/PhoneFilled/Phone filled.svg +3 -0
  515. package/src/Presentation/components/UI/svgs/Icons/Actions/PhoneFilled/index.tsx +22 -0
  516. package/src/Presentation/components/UI/svgs/Icons/Actions/Remove/Remove.svg +3 -0
  517. package/src/Presentation/components/UI/svgs/Icons/Actions/Remove/index.tsx +22 -0
  518. package/src/Presentation/components/UI/svgs/Icons/Actions/Remove2/Remove2.svg +3 -0
  519. package/src/Presentation/components/UI/svgs/Icons/Actions/Remove2/index.tsx +22 -0
  520. package/src/Presentation/components/UI/svgs/Icons/Actions/ReplyFilled/Reply filled.svg +3 -0
  521. package/src/Presentation/components/UI/svgs/Icons/Actions/ReplyFilled/index.tsx +22 -0
  522. package/src/Presentation/components/UI/svgs/Icons/Actions/Send/Send.svg +3 -0
  523. package/src/Presentation/components/UI/svgs/Icons/Actions/Send/index.tsx +38 -0
  524. package/src/Presentation/components/UI/svgs/Icons/Actions/Share/Share.svg +3 -0
  525. package/src/Presentation/components/UI/svgs/Icons/Actions/Share/index.tsx +22 -0
  526. package/src/Presentation/components/UI/svgs/Icons/Actions/SwapCamera/Swap camera.svg +3 -0
  527. package/src/Presentation/components/UI/svgs/Icons/Actions/SwapCamera/index.tsx +22 -0
  528. package/src/Presentation/components/UI/svgs/Icons/Actions/Unarchive/Unarchive.svg +3 -0
  529. package/src/Presentation/components/UI/svgs/Icons/Actions/Unarchive/index.tsx +22 -0
  530. package/src/Presentation/components/UI/svgs/Icons/Actions/VideoIcon/Video.svg +3 -0
  531. package/src/Presentation/components/UI/svgs/Icons/Actions/VideoIcon/index.tsx +22 -0
  532. package/src/Presentation/components/UI/svgs/Icons/Actions/Voice/Voice.svg +3 -0
  533. package/src/Presentation/components/UI/svgs/Icons/Actions/Voice/index.tsx +35 -0
  534. package/src/Presentation/components/UI/svgs/Icons/Contents/Brodcast/Broadcast.svg +7 -0
  535. package/src/Presentation/components/UI/svgs/Icons/Contents/Brodcast/index.tsx +38 -0
  536. package/src/Presentation/components/UI/svgs/Icons/Contents/Chat/Chat.svg +3 -0
  537. package/src/Presentation/components/UI/svgs/Icons/Contents/Chat/index.tsx +35 -0
  538. package/src/Presentation/components/UI/svgs/Icons/Contents/ChatFilled/Chat filled.svg +3 -0
  539. package/src/Presentation/components/UI/svgs/Icons/Contents/ChatFilled/index.tsx +22 -0
  540. package/src/Presentation/components/UI/svgs/Icons/Contents/Conference/Conference.svg +3 -0
  541. package/src/Presentation/components/UI/svgs/Icons/Contents/Conference/index.tsx +22 -0
  542. package/src/Presentation/components/UI/svgs/Icons/Contents/Contact/Contact.svg +3 -0
  543. package/src/Presentation/components/UI/svgs/Icons/Contents/Contact/index.tsx +22 -0
  544. package/src/Presentation/components/UI/svgs/Icons/Contents/ContactFilled/Contact filled.svg +3 -0
  545. package/src/Presentation/components/UI/svgs/Icons/Contents/ContactFilled/index.tsx +22 -0
  546. package/src/Presentation/components/UI/svgs/Icons/Contents/GroupChat/Group chat.svg +3 -0
  547. package/src/Presentation/components/UI/svgs/Icons/Contents/GroupChat/index.tsx +35 -0
  548. package/src/Presentation/components/UI/svgs/Icons/Contents/Notifications/Notifications.svg +3 -0
  549. package/src/Presentation/components/UI/svgs/Icons/Contents/Notifications/index.tsx +22 -0
  550. package/src/Presentation/components/UI/svgs/Icons/Contents/PrivateChat/Private chat.svg +3 -0
  551. package/src/Presentation/components/UI/svgs/Icons/Contents/PrivateChat/index.tsx +22 -0
  552. package/src/Presentation/components/UI/svgs/Icons/Contents/PublicChannel/Public channel.svg +7 -0
  553. package/src/Presentation/components/UI/svgs/Icons/Contents/PublicChannel/index.tsx +67 -0
  554. package/src/Presentation/components/UI/svgs/Icons/Contents/Stream/Stream.svg +3 -0
  555. package/src/Presentation/components/UI/svgs/Icons/Contents/Stream/index.tsx +22 -0
  556. package/src/Presentation/components/UI/svgs/Icons/Contents/StreamFilled/Stream filled.svg +3 -0
  557. package/src/Presentation/components/UI/svgs/Icons/Contents/StreamFilled/index.tsx +22 -0
  558. package/src/Presentation/components/UI/svgs/Icons/Contents/User/User.svg +3 -0
  559. package/src/Presentation/components/UI/svgs/Icons/Contents/User/index.tsx +35 -0
  560. package/src/Presentation/components/UI/svgs/Icons/IconsCommonTypes.ts +6 -0
  561. package/src/Presentation/components/UI/svgs/Icons/Media/Attachment/Attachment.svg +3 -0
  562. package/src/Presentation/components/UI/svgs/Icons/Media/Attachment/index.tsx +22 -0
  563. package/src/Presentation/components/UI/svgs/Icons/Media/AudioFile/Audio file.svg +3 -0
  564. package/src/Presentation/components/UI/svgs/Icons/Media/AudioFile/index.tsx +22 -0
  565. package/src/Presentation/components/UI/svgs/Icons/Media/BrokenFile/Broken file.svg +3 -0
  566. package/src/Presentation/components/UI/svgs/Icons/Media/BrokenFile/index.tsx +22 -0
  567. package/src/Presentation/components/UI/svgs/Icons/Media/Camera/Camera.svg +3 -0
  568. package/src/Presentation/components/UI/svgs/Icons/Media/Camera/index.tsx +22 -0
  569. package/src/Presentation/components/UI/svgs/Icons/Media/GifFile/GIF file.svg +3 -0
  570. package/src/Presentation/components/UI/svgs/Icons/Media/GifFile/index.tsx +22 -0
  571. package/src/Presentation/components/UI/svgs/Icons/Media/ImageEmpty/Image.svg +3 -0
  572. package/src/Presentation/components/UI/svgs/Icons/Media/ImageEmpty/index.tsx +22 -0
  573. package/src/Presentation/components/UI/svgs/Icons/Media/ImageFile/File.svg +3 -0
  574. package/src/Presentation/components/UI/svgs/Icons/Media/ImageFile/index.tsx +35 -0
  575. package/src/Presentation/components/UI/svgs/Icons/Media/ImageFilled/Image filled.svg +3 -0
  576. package/src/Presentation/components/UI/svgs/Icons/Media/ImageFilled/index.tsx +22 -0
  577. package/src/Presentation/components/UI/svgs/Icons/Media/LinkWeb/Link.svg +3 -0
  578. package/src/Presentation/components/UI/svgs/Icons/Media/LinkWeb/index.tsx +22 -0
  579. package/src/Presentation/components/UI/svgs/Icons/Media/Location/Location.svg +4 -0
  580. package/src/Presentation/components/UI/svgs/Icons/Media/Location/index.tsx +26 -0
  581. package/src/Presentation/components/UI/svgs/Icons/Media/TextDocument/Text document.svg +3 -0
  582. package/src/Presentation/components/UI/svgs/Icons/Media/TextDocument/index.tsx +22 -0
  583. package/src/Presentation/components/UI/svgs/Icons/Media/VideoFile/Video file.svg +3 -0
  584. package/src/Presentation/components/UI/svgs/Icons/Media/VideoFile/index.tsx +22 -0
  585. package/src/Presentation/components/UI/svgs/Icons/Moderation/Admin/Admin.svg +3 -0
  586. package/src/Presentation/components/UI/svgs/Icons/Moderation/Admin/index.tsx +22 -0
  587. package/src/Presentation/components/UI/svgs/Icons/Moderation/Banned/Banned.svg +3 -0
  588. package/src/Presentation/components/UI/svgs/Icons/Moderation/Banned/index.tsx +22 -0
  589. package/src/Presentation/components/UI/svgs/Icons/Moderation/Freeze/Freeze.svg +3 -0
  590. package/src/Presentation/components/UI/svgs/Icons/Moderation/Freeze/index.tsx +22 -0
  591. package/src/Presentation/components/UI/svgs/Icons/Moderation/Moderations/Moderations.svg +3 -0
  592. package/src/Presentation/components/UI/svgs/Icons/Moderation/Moderations/index.tsx +22 -0
  593. package/src/Presentation/components/UI/svgs/Icons/Moderation/Muted/Muted.svg +3 -0
  594. package/src/Presentation/components/UI/svgs/Icons/Moderation/Muted/index.tsx +22 -0
  595. package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowLeft/Arrow left.svg +3 -0
  596. package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowLeft/index.tsx +22 -0
  597. package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowRight/Arrow right.svg +3 -0
  598. package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowRight/index.tsx +22 -0
  599. package/src/Presentation/components/UI/svgs/Icons/Navigation/Back/Back.svg +3 -0
  600. package/src/Presentation/components/UI/svgs/Icons/Navigation/Back/index.tsx +22 -0
  601. package/src/Presentation/components/UI/svgs/Icons/Navigation/Close/Close.svg +3 -0
  602. package/src/Presentation/components/UI/svgs/Icons/Navigation/Close/index.tsx +35 -0
  603. package/src/Presentation/components/UI/svgs/Icons/Navigation/Down/Down.svg +3 -0
  604. package/src/Presentation/components/UI/svgs/Icons/Navigation/Down/index.tsx +35 -0
  605. package/src/Presentation/components/UI/svgs/Icons/Navigation/Leave/Leave.svg +3 -0
  606. package/src/Presentation/components/UI/svgs/Icons/Navigation/Leave/index.tsx +35 -0
  607. package/src/Presentation/components/UI/svgs/Icons/Navigation/More/More.svg +7 -0
  608. package/src/Presentation/components/UI/svgs/Icons/Navigation/More/index.tsx +22 -0
  609. package/src/Presentation/components/UI/svgs/Icons/Navigation/Next/Next.svg +3 -0
  610. package/src/Presentation/components/UI/svgs/Icons/Navigation/Next/index.tsx +35 -0
  611. package/src/Presentation/components/UI/svgs/Icons/Navigation/Plus/Plus.svg +3 -0
  612. package/src/Presentation/components/UI/svgs/Icons/Navigation/Plus/index.tsx +22 -0
  613. package/src/Presentation/components/UI/svgs/Icons/Navigation/Refresh/Refresh.svg +3 -0
  614. package/src/Presentation/components/UI/svgs/Icons/Navigation/Refresh/index.tsx +36 -0
  615. package/src/Presentation/components/UI/svgs/Icons/Navigation/Search/Search.svg +3 -0
  616. package/src/Presentation/components/UI/svgs/Icons/Navigation/Search/index.tsx +35 -0
  617. package/src/Presentation/components/UI/svgs/Icons/Navigation/Settings/Settings.svg +3 -0
  618. package/src/Presentation/components/UI/svgs/Icons/Navigation/Settings/index.tsx +22 -0
  619. package/src/Presentation/components/UI/svgs/Icons/Navigation/SettingsField/Settings filled.svg +3 -0
  620. package/src/Presentation/components/UI/svgs/Icons/Navigation/SettingsField/index.tsx +22 -0
  621. package/src/Presentation/components/UI/svgs/Icons/Status/Error/Error.svg +3 -0
  622. package/src/Presentation/components/UI/svgs/Icons/Status/Error/index.tsx +36 -0
  623. package/src/Presentation/components/UI/svgs/Icons/Status/Help/Help.svg +3 -0
  624. package/src/Presentation/components/UI/svgs/Icons/Status/Help/index.tsx +22 -0
  625. package/src/Presentation/components/UI/svgs/Icons/Status/Information/Information.svg +3 -0
  626. package/src/Presentation/components/UI/svgs/Icons/Status/Information/index.tsx +22 -0
  627. package/src/Presentation/components/UI/svgs/Icons/Status/InformationFill/index.tsx +35 -0
  628. package/src/Presentation/components/UI/svgs/Icons/Status/Loader/Loader.svg +3 -0
  629. package/src/Presentation/components/UI/svgs/Icons/Status/Loader/index.tsx +22 -0
  630. package/src/Presentation/components/UI/svgs/Icons/Status/Mention/Mention.svg +3 -0
  631. package/src/Presentation/components/UI/svgs/Icons/Status/Mention/index.tsx +22 -0
  632. package/src/Presentation/components/UI/svgs/Icons/Status/Sent/Sent.svg +3 -0
  633. package/src/Presentation/components/UI/svgs/Icons/Status/Sent/index.tsx +22 -0
  634. package/src/Presentation/components/UI/svgs/Icons/Status/ViewedDelivered/Viewed_Delivered.svg +3 -0
  635. package/src/Presentation/components/UI/svgs/Icons/Status/ViewedDelivered/index.tsx +38 -0
  636. package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOff/Camera off.svg +3 -0
  637. package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOff/index.tsx +22 -0
  638. package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOn/Camera on.svg +3 -0
  639. package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOn/index.tsx +22 -0
  640. package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOff/Check off.svg +3 -0
  641. package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOff/index.tsx +22 -0
  642. package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOn/Check on.svg +3 -0
  643. package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOn/index.tsx +24 -0
  644. package/src/Presentation/components/UI/svgs/Icons/Toggle/Favourite/Favourite.svg +3 -0
  645. package/src/Presentation/components/UI/svgs/Icons/Toggle/Favourite/index.tsx +22 -0
  646. package/src/Presentation/components/UI/svgs/Icons/Toggle/FavouriteFilled/Favourite filled.svg +3 -0
  647. package/src/Presentation/components/UI/svgs/Icons/Toggle/FavouriteFilled/index.tsx +22 -0
  648. package/src/Presentation/components/UI/svgs/Icons/Toggle/FullScreen/Full screen.svg +3 -0
  649. package/src/Presentation/components/UI/svgs/Icons/Toggle/FullScreen/inex.tsx +22 -0
  650. package/src/Presentation/components/UI/svgs/Icons/Toggle/Hide/Hide.svg +3 -0
  651. package/src/Presentation/components/UI/svgs/Icons/Toggle/Hide/index.tsx +22 -0
  652. package/src/Presentation/components/UI/svgs/Icons/Toggle/ImagePlay/Play.svg +3 -0
  653. package/src/Presentation/components/UI/svgs/Icons/Toggle/ImagePlay/index.tsx +22 -0
  654. package/src/Presentation/components/UI/svgs/Icons/Toggle/Louder/Louder.svg +3 -0
  655. package/src/Presentation/components/UI/svgs/Icons/Toggle/Louder/index.tsx +22 -0
  656. package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOff/Mic off.svg +3 -0
  657. package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOff/index.tsx +22 -0
  658. package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOn/Mic on.svg +4 -0
  659. package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOn/index.tsx +26 -0
  660. package/src/Presentation/components/UI/svgs/Icons/Toggle/Minimize/Minimize.svg +3 -0
  661. package/src/Presentation/components/UI/svgs/Icons/Toggle/Minimize/index.tsx +22 -0
  662. package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOff/Notify off.svg +3 -0
  663. package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOff/index.tsx +35 -0
  664. package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOn/Notify on.svg +3 -0
  665. package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOn/index.tsx +35 -0
  666. package/src/Presentation/components/UI/svgs/Icons/Toggle/Pause/Pause.svg +3 -0
  667. package/src/Presentation/components/UI/svgs/Icons/Toggle/Pause/index.tsx +22 -0
  668. package/src/Presentation/components/UI/svgs/Icons/Toggle/Quite/Quite.svg +3 -0
  669. package/src/Presentation/components/UI/svgs/Icons/Toggle/Quite/index.tsx +22 -0
  670. package/src/Presentation/components/UI/svgs/Icons/Toggle/Record/Record.svg +3 -0
  671. package/src/Presentation/components/UI/svgs/Icons/Toggle/Record/index.tsx +22 -0
  672. package/src/Presentation/components/UI/svgs/Icons/Toggle/Screenshare/Screenshare.svg +3 -0
  673. package/src/Presentation/components/UI/svgs/Icons/Toggle/Screenshare/index.tsx +22 -0
  674. package/src/Presentation/components/UI/svgs/Icons/Toggle/Show/Show.svg +3 -0
  675. package/src/Presentation/components/UI/svgs/Icons/Toggle/Show/index.tsx +22 -0
  676. package/src/Presentation/components/UI/svgs/Icons/Toggle/Speaker/Speaker.svg +3 -0
  677. package/src/Presentation/components/UI/svgs/Icons/Toggle/Speaker/index.tsx +22 -0
  678. package/src/Presentation/components/UI/svgs/Icons/Toggle/SpeakerOff/Speaker off.svg +3 -0
  679. package/src/Presentation/components/UI/svgs/Icons/Toggle/SpeakerOff/index.tsx +22 -0
  680. package/src/Presentation/components/UI/svgs/Icons/Toggle/StopRecord/Stop record.svg +3 -0
  681. package/src/Presentation/components/UI/svgs/Icons/Toggle/StopRecord/index.tsx +22 -0
  682. package/src/Presentation/components/UI/svgs/Icons/Toggle/StopShare/Stop share.svg +3 -0
  683. package/src/Presentation/components/UI/svgs/Icons/Toggle/StopShare/index.tsx +22 -0
  684. package/src/Presentation/components/containers/ColumnContainer/ColumnContainer.scss +6 -0
  685. package/src/Presentation/components/containers/ColumnContainer/ColumnContainer.tsx +24 -0
  686. package/src/Presentation/components/containers/RowCenterContainer/RowCenterContainer.scss +45 -0
  687. package/src/Presentation/components/containers/RowCenterContainer/RowCenterContainer.tsx +95 -0
  688. package/src/Presentation/components/containers/RowLeftContainer/RowLeftContainer.scss +45 -0
  689. package/src/Presentation/components/containers/RowLeftContainer/RowLeftContainer.tsx +97 -0
  690. package/src/Presentation/components/containers/RowRightContainer/RowRightContainer.scss +46 -0
  691. package/src/Presentation/components/containers/RowRightContainer/RowRightContainer.tsx +97 -0
  692. package/src/Presentation/components/containers/ScrollableContainer/ScrollableContainer.scss +46 -0
  693. package/src/Presentation/components/containers/ScrollableContainer/ScrollableContainer.tsx +85 -0
  694. package/src/Presentation/components/layouts/Desktop/Desktop.tsx +103 -0
  695. package/src/Presentation/components/layouts/Desktop/DesktopLayout.scss +31 -0
  696. package/src/Presentation/components/layouts/Desktop/DesktopLayoutForMockModels.tsx +31 -0
  697. package/src/Presentation/components/layouts/LayoutCommonTypes.ts +7 -0
  698. package/src/Presentation/components/layouts/TestStage/LoginView/Login.scss +71 -0
  699. package/src/Presentation/components/layouts/TestStage/LoginView/Login.tsx +116 -0
  700. package/src/Presentation/components/layouts/TestStage/TestStageMarkup.scss +24 -0
  701. package/src/Presentation/components/layouts/TestStage/TestStageMarkup.tsx +1109 -0
  702. package/src/Presentation/components/layouts/TestStage/TestStageWithMockData/TestStageWithMockData.tsx +209 -0
  703. package/src/Presentation/components/providers/ModalContextProvider/Modal.scss +71 -0
  704. package/src/Presentation/components/providers/ModalContextProvider/Modal.tsx +131 -0
  705. package/src/Presentation/components/providers/ModalContextProvider/ModalContextProvider.tsx +38 -0
  706. package/src/Presentation/components/providers/ModalContextProvider/useModal.ts +39 -0
  707. package/src/Presentation/components/providers/ProviderProps.ts +5 -0
  708. package/src/Presentation/components/providers/QuickBloxUIKitProvider/QuickBloxUIKitProvider.tsx +255 -0
  709. package/src/Presentation/components/providers/QuickBloxUIKitProvider/useEventMessagesRepository.ts +10 -0
  710. package/src/Presentation/components/providers/QuickBloxUIKitProvider/useQBConnection.ts +38 -0
  711. package/src/Presentation/components/providers/QuickBloxUIKitProvider/useQbDataContext.ts +82 -0
  712. package/src/QBconfig.ts +41 -0
  713. package/src/index-ui.ts +60 -0
  714. package/src/index.scss +74 -0
  715. package/src/index.tsx +25 -0
  716. package/src/logo.svg +1 -0
  717. package/src/qb-api-calls/index.ts +543 -0
  718. package/src/react-app-env.d.ts +1 -0
  719. package/src/setupTests.ts +5 -0
  720. package/src/utils/DateTimeFormatter.ts +35 -0
  721. package/src/utils/parse.ts +74 -0
  722. package/tsconfig.json +33 -0
  723. package/typedoc.json +4 -0
  724. package/webpack.config.js +56 -0
@@ -0,0 +1,1109 @@
1
+ import React, { useEffect } from 'react';
2
+ import './TestStageMarkup.scss';
3
+ import ColumnContainer from '../../containers/ColumnContainer/ColumnContainer';
4
+ import HeaderDialogs from '../../UI/Dialogs/HeaderDialogs/HeaderDialogs';
5
+ import { IconTheme } from '../../UI/svgs/Icons/IconsCommonTypes';
6
+ import Search from '../../UI/svgs/Icons/Navigation/Search';
7
+ import More from '../../UI/svgs/Icons/Navigation/More';
8
+ import Settings from '../../UI/svgs/Icons/Navigation/Settings';
9
+ import SettingsField from '../../UI/svgs/Icons/Navigation/SettingsField';
10
+ import Close from '../../UI/svgs/Icons/Navigation/Close';
11
+ import Back from '../../UI/svgs/Icons/Navigation/Back';
12
+ import Plus from '../../UI/svgs/Icons/Navigation/Plus';
13
+ import Leave from '../../UI/svgs/Icons/Navigation/Leave';
14
+ import Down from '../../UI/svgs/Icons/Navigation/Down';
15
+ import ArrowLeft from '../../UI/svgs/Icons/Navigation/ArrowLeft';
16
+ import ArrowRight from '../../UI/svgs/Icons/Navigation/ArrowRight';
17
+ import Refresh from '../../UI/svgs/Icons/Navigation/Refresh';
18
+ import Next from '../../UI/svgs/Icons/Navigation/Next';
19
+
20
+ import NewChat from '../../UI/svgs/Icons/Actions/NewChat';
21
+ import AddContact from '../../UI/svgs/Icons/Actions/AddContact';
22
+ import Download from '../../UI/svgs/Icons/Actions/Download';
23
+ import Share from '../../UI/svgs/Icons/Actions/Share';
24
+ import Archive from '../../UI/svgs/Icons/Actions/Archive';
25
+ import Unarchive from '../../UI/svgs/Icons/Actions/Unarchive';
26
+ import Send from '../../UI/svgs/Icons/Actions/Send';
27
+ import Voice from '../../UI/svgs/Icons/Actions/Voice';
28
+ import Emoji from '../../UI/svgs/Icons/Actions/Emoji';
29
+ import Edit from '../../UI/svgs/Icons/Actions/Edit';
30
+ import ReplyFilled from '../../UI/svgs/Icons/Actions/ReplyFilled';
31
+ import ForwardFilled from '../../UI/svgs/Icons/Actions/ForwardFilled';
32
+ import SwapCamera from '../../UI/svgs/Icons/Actions/SwapCamera';
33
+ import Phone from '../../UI/svgs/Icons/Actions/Phone';
34
+ import PhoneFilled from '../../UI/svgs/Icons/Actions/PhoneFilled';
35
+ import OutcomeCall from '../../UI/svgs/Icons/Actions/OutcomeCall';
36
+ import IncomeCall from '../../UI/svgs/Icons/Actions/IncomeCall';
37
+ import Hungup from '../../UI/svgs/Icons/Actions/Hungup';
38
+ import VideoIcon from '../../UI/svgs/Icons/Actions/VideoIcon';
39
+ import Remove from '../../UI/svgs/Icons/Actions/Remove';
40
+ import Remove2 from '../../UI/svgs/Icons/Actions/Remove2';
41
+ import Like from '../../UI/svgs/Icons/Actions/Like';
42
+ import Copy from '../../UI/svgs/Icons/Actions/Copy';
43
+ import Delete from '../../UI/svgs/Icons/Actions/Delete';
44
+ import Add from '../../UI/svgs/Icons/Actions/Add';
45
+ import Chat from '../../UI/svgs/Icons/Contents/Chat';
46
+ import ChatFilled from '../../UI/svgs/Icons/Contents/ChatFilled';
47
+ import PrivateChat from '../../UI/svgs/Icons/Contents/PrivateChat';
48
+ import GroupChat from '../../UI/svgs/Icons/Contents/GroupChat';
49
+ import Notifications from '../../UI/svgs/Icons/Contents/Notifications';
50
+ import PublicChannel from '../../UI/svgs/Icons/Contents/PublicChannel';
51
+ import Broadcast from '../../UI/svgs/Icons/Contents/Brodcast';
52
+ import Stream from '../../UI/svgs/Icons/Contents/Stream';
53
+ import StreamFilled from '../../UI/svgs/Icons/Contents/StreamFilled';
54
+ import User from '../../UI/svgs/Icons/Contents/User';
55
+ import Conference from '../../UI/svgs/Icons/Contents/Conference';
56
+ import Contact from '../../UI/svgs/Icons/Contents/Contact';
57
+ import ContactFilled from '../../UI/svgs/Icons/Contents/ContactFilled';
58
+ import Attachment from '../../UI/svgs/Icons/Media/Attachment';
59
+ import Location from '../../UI/svgs/Icons/Media/Location';
60
+ import ImageFile from '../../UI/svgs/Icons/Media/ImageFile';
61
+ import ImageFilled from '../../UI/svgs/Icons/Media/ImageFilled';
62
+ import TextDocument from '../../UI/svgs/Icons/Media/TextDocument';
63
+ import AudioFile from '../../UI/svgs/Icons/Media/AudioFile';
64
+ import VideoFile from '../../UI/svgs/Icons/Media/VideoFile';
65
+ import GifFile from '../../UI/svgs/Icons/Media/GifFile';
66
+ import BrokenFile from '../../UI/svgs/Icons/Media/BrokenFile';
67
+ import Camera from '../../UI/svgs/Icons/Media/Camera';
68
+ import LinkWeb from '../../UI/svgs/Icons/Media/LinkWeb';
69
+ import ViewedDelivered from '../../UI/svgs/Icons/Status/ViewedDelivered';
70
+ import Sent from '../../UI/svgs/Icons/Status/Sent';
71
+ import Help from '../../UI/svgs/Icons/Status/Help';
72
+ import Information from '../../UI/svgs/Icons/Status/Information';
73
+ import Error from '../../UI/svgs/Icons/Status/Error';
74
+ import Loader from '../../UI/svgs/Icons/Status/Loader';
75
+ import Mention from '../../UI/svgs/Icons/Status/Mention';
76
+ import MicOn from '../../UI/svgs/Icons/Toggle/MicOn';
77
+ import MicOff from '../../UI/svgs/Icons/Toggle/MicOff';
78
+ import CameraOn from '../../UI/svgs/Icons/Toggle/CameraOn';
79
+ import CameraOff from '../../UI/svgs/Icons/Toggle/CameraOff';
80
+ import Favourite from '../../UI/svgs/Icons/Toggle/Favourite';
81
+ import FavouriteFilled from '../../UI/svgs/Icons/Toggle/FavouriteFilled';
82
+ import NotifyOn from '../../UI/svgs/Icons/Toggle/NotifyOn';
83
+ import NotifyOff from '../../UI/svgs/Icons/Toggle/NotifyOff';
84
+ import CheckOn from '../../UI/svgs/Icons/Toggle/CheckOn';
85
+ import CheckOff from '../../UI/svgs/Icons/Toggle/CheckOff';
86
+ import FullScreen from '../../UI/svgs/Icons/Toggle/FullScreen/inex';
87
+ import Minimize from '../../UI/svgs/Icons/Toggle/Minimize';
88
+ import ImagePlay from '../../UI/svgs/Icons/Toggle/ImagePlay';
89
+ import Pause from '../../UI/svgs/Icons/Toggle/Pause';
90
+ import Record from '../../UI/svgs/Icons/Toggle/Record';
91
+ import StopRecord from '../../UI/svgs/Icons/Toggle/StopRecord';
92
+ import Speaker from '../../UI/svgs/Icons/Toggle/Speaker';
93
+ import SpeakerOff from '../../UI/svgs/Icons/Toggle/SpeakerOff';
94
+ import Quite from '../../UI/svgs/Icons/Toggle/Quite';
95
+ import ScreenShare from '../../UI/svgs/Icons/Toggle/Screenshare';
96
+ import StopShare from '../../UI/svgs/Icons/Toggle/StopShare';
97
+ import Show from '../../UI/svgs/Icons/Toggle/Show';
98
+ import Hide from '../../UI/svgs/Icons/Toggle/Hide';
99
+ import Admin from '../../UI/svgs/Icons/Moderation/Admin';
100
+ import Moderations from '../../UI/svgs/Icons/Moderation/Moderations';
101
+ import Banned from '../../UI/svgs/Icons/Moderation/Banned';
102
+ import Muted from '../../UI/svgs/Icons/Moderation/Muted';
103
+ import Freeze from '../../UI/svgs/Icons/Moderation/Freeze';
104
+ import ImageEmpty from '../../UI/svgs/Icons/Media/ImageEmpty';
105
+ import { ModalContext } from '../../providers/ModalContextProvider/Modal';
106
+ import PreviewDialog from '../../UI/Dialogs/PreviewDialog/PreviewDialog';
107
+ import { DialogType } from '../../../../Domain/entity/DialogTypes';
108
+
109
+ import imageName from '../../../assets/img/bee-img.png';
110
+ import PreviewDialogViewModel from '../../UI/Dialogs/PreviewDialog/PreviewDialogViewModel';
111
+ import BaseViewModel from '../../../Views/Base/BaseViewModel';
112
+ import { Stubs } from '../../../../Data/Stubs';
113
+ import imageSelfie from '../../../assets/img/Artem_Koltunov_Selfi.png';
114
+ import DarkTheme from '../../../assets/DarkTheme';
115
+ import LoaderComponent from '../../UI/Placeholders/LoaderComponent/LoaderComponent';
116
+ import ErrorComponent from '../../UI/Placeholders/ErrorComponent/ErrorComponent';
117
+ import SwitchButton from '../../UI/Elements/SwitchButton/SwitchButton';
118
+ import { DialogEntity } from '../../../../Domain/entity/DialogEntity';
119
+ import MainButton, { TypeButton } from '../../UI/Buttons/MainButton/MainButton';
120
+
121
+ function TestStageMarkup() {
122
+ const { handleModal } = React.useContext(ModalContext);
123
+ const theme1: IconTheme = { color: '#6c38cc', width: '34', height: '34' };
124
+ const loaderTheme: IconTheme = {
125
+ color: '#FF3B30',
126
+ width: '42',
127
+ height: '42',
128
+ };
129
+
130
+ const closeModal = () => {
131
+ console.log('closeModal');
132
+ handleModal(false, '');
133
+ };
134
+
135
+ const defEntity = Stubs.createDialogEntityByTypeWithDefaultValues(
136
+ DialogType.group,
137
+ );
138
+
139
+ const viewModel: PreviewDialogViewModel = new PreviewDialogViewModel(
140
+ (it) => {
141
+ console.log(`list item click ${it.entity.name || ''}`);
142
+ },
143
+ (it) => {
144
+ console.log(`list item touch ${it.entity.name || ''}`);
145
+ },
146
+ // -1,
147
+ // 'test item',
148
+ defEntity,
149
+ );
150
+
151
+ const [selectedDialog, setSelectedDialog] =
152
+ React.useState<BaseViewModel<DialogEntity>>(viewModel);
153
+
154
+ const dialogs: PreviewDialogViewModel[] = [
155
+ new PreviewDialogViewModel(
156
+ (it) => {
157
+ console.log(`list item click ${it.entity.name || ''}`);
158
+ setSelectedDialog(it);
159
+ },
160
+ (it) => {
161
+ console.log(`list item touch ${it.entity.name || ''}`);
162
+ setSelectedDialog(it);
163
+ },
164
+ // 0,
165
+ // 'item 0',
166
+ defEntity,
167
+ ),
168
+ new PreviewDialogViewModel(
169
+ (it) => {
170
+ console.log(`list item click ${it.entity.name || ''}`);
171
+ setSelectedDialog(it);
172
+ },
173
+ (it) => {
174
+ console.log(`list item touch ${it.entity.name || ''}`);
175
+ setSelectedDialog(it);
176
+ },
177
+ // 1,
178
+ // 'item 1',
179
+ defEntity,
180
+ ),
181
+ new PreviewDialogViewModel(
182
+ (it) => {
183
+ console.log(`list item click ${it.entity.name || ''}`);
184
+ setSelectedDialog(it);
185
+ },
186
+ (it) => {
187
+ console.log(`list item touch ${it.entity.name || ''}`);
188
+ setSelectedDialog(it);
189
+ },
190
+ // 2,
191
+ // 'item 2',
192
+ defEntity,
193
+ ),
194
+ ];
195
+
196
+ const [dialogsList, setDialogsList] = React.useState(dialogs);
197
+
198
+ const [themeName, setThemeName] = React.useState(
199
+ document.documentElement.getAttribute('data-theme'),
200
+ );
201
+
202
+ function changeThemeActions() {
203
+ console.log('Theme has changed.');
204
+ setThemeName(document.documentElement.getAttribute('data-theme'));
205
+ setDialogsList(dialogs);
206
+ }
207
+
208
+ useEffect(() => {
209
+ changeThemeActions();
210
+ }, [document.documentElement.getAttribute('data-theme')]);
211
+
212
+ return (
213
+ <div className="container-test-stage">
214
+ <div className="container-test-stage__item">
215
+ <ColumnContainer>
216
+ <HeaderDialogs />
217
+ <HeaderDialogs title="Dialog 2" />
218
+ <HeaderDialogs title="1234567890123456789012345678901234567890" />
219
+ <PreviewDialog
220
+ typeDialog={DialogType.public}
221
+ title="Public"
222
+ message_date_time_sent="now"
223
+ previewMessage={
224
+ ' I am not even going to pretend to understand what you are\n' +
225
+ ' talking about.'
226
+ }
227
+ />
228
+
229
+ <PreviewDialog
230
+ typeDialog={DialogType.group}
231
+ dialogViewModel={viewModel}
232
+ theme={{ selected: true, muted: true }}
233
+ title="Dialog with states"
234
+ unreadMessageCount={9}
235
+ message_date_time_sent="5 min ago"
236
+ previewMessage={
237
+ ' I am not even going to pretend to understand what you are\n' +
238
+ ' talking about.'
239
+ }
240
+ />
241
+ {dialogsList.map((item, index) => (
242
+ <div
243
+ onClick={() => {
244
+ const newData = [...dialogs];
245
+
246
+ newData[index].isSelected = true;
247
+ setDialogsList(newData);
248
+ }}
249
+ >
250
+ <PreviewDialog
251
+ typeDialog={DialogType.group}
252
+ dialogViewModel={item}
253
+ theme={{
254
+ themeName: themeName === 'dark' ? 'dark' : 'light',
255
+ selected: item.isSelected,
256
+ muted: true,
257
+ }}
258
+ title={`${item.entity.name || ''} ${
259
+ item.isSelected ? `selected ${themeName || ''}` : ''
260
+ }`}
261
+ unreadMessageCount={index > 0 ? index : undefined}
262
+ message_date_time_sent={`${new Date().toLocaleTimeString()}`}
263
+ previewMessage={
264
+ ' I am not even going to pretend to understand what you are\n' +
265
+ ' talking about.'
266
+ }
267
+ />
268
+ </div>
269
+ ))}
270
+ <PreviewDialog
271
+ typeDialog={DialogType.private}
272
+ title="1234567890123456789012345678901234567890"
273
+ message_date_time_sent="09:03"
274
+ previewMessage={
275
+ ' I am not even going to pretend to understand what you are\n' +
276
+ ' talking about.'
277
+ }
278
+ />
279
+ <PreviewDialog
280
+ typeDialog={DialogType.private}
281
+ dialogAvatar={
282
+ <img
283
+ style={{ width: '55px', height: '55px', borderRadius: '50%' }}
284
+ src={imageName}
285
+ />
286
+ }
287
+ theme={{
288
+ selected: false,
289
+ muted: false,
290
+ colorTheme: new DarkTheme(),
291
+ themeName: 'custom',
292
+ }}
293
+ title="Name"
294
+ message_date_time_sent="07:22"
295
+ previewMessage={
296
+ ' I am not even going to pretend to understand what you are\n' +
297
+ ' talking about.'
298
+ }
299
+ />
300
+ <PreviewDialog
301
+ typeDialog={DialogType.private}
302
+ title="Name"
303
+ message_date_time_sent="Yesterday"
304
+ previewMessage={
305
+ ' I am not even going to pretend to understand what you are\n' +
306
+ ' talking about.'
307
+ }
308
+ />
309
+ <PreviewDialog
310
+ typeDialog={DialogType.private}
311
+ dialogAvatar={
312
+ <img
313
+ style={{ width: '55px', height: '55px', borderRadius: '50%' }}
314
+ src={imageSelfie}
315
+ />
316
+ }
317
+ title="Name"
318
+ message_date_time_sent="07:22"
319
+ previewMessage={
320
+ ' I am not even going to pretend to understand what you are\n' +
321
+ ' talking about.'
322
+ }
323
+ />
324
+ </ColumnContainer>
325
+ </div>
326
+ <div className="container-test-stage__item">
327
+ <h1>Test Icons</h1>
328
+
329
+ <div className="container-test-stage--content-wrapper">
330
+ <h3>Navigation</h3>
331
+ <strong>Default</strong>
332
+
333
+ <Search />
334
+ <More />
335
+ <Settings />
336
+ <SettingsField />
337
+ <Plus />
338
+ <Leave />
339
+ <Close />
340
+ <Back />
341
+ <Next />
342
+ <Down />
343
+ <ArrowLeft />
344
+ <ArrowRight />
345
+ <Refresh />
346
+ </div>
347
+
348
+ <div className="container-test-stage--content-wrapper">
349
+ <hr />
350
+ <h3>Navigation</h3>
351
+ <strong>With Themes</strong>
352
+ <br />
353
+ <Search
354
+ color={theme1.color}
355
+ width={theme1.width}
356
+ height={theme1.height}
357
+ />
358
+ <More
359
+ color={theme1.color}
360
+ width={theme1.width}
361
+ height={theme1.height}
362
+ />
363
+ <Settings
364
+ color={theme1.color}
365
+ width={theme1.width}
366
+ height={theme1.height}
367
+ />
368
+ <SettingsField
369
+ color={theme1.color}
370
+ width={theme1.width}
371
+ height={theme1.height}
372
+ />
373
+ <Plus
374
+ color={theme1.color}
375
+ width={theme1.width}
376
+ height={theme1.height}
377
+ />
378
+ <Leave
379
+ color={theme1.color}
380
+ width={theme1.width}
381
+ height={theme1.height}
382
+ />
383
+ <Close
384
+ color={theme1.color}
385
+ width={theme1.width}
386
+ height={theme1.height}
387
+ />
388
+ <Back
389
+ color={theme1.color}
390
+ width={theme1.width}
391
+ height={theme1.height}
392
+ />
393
+ <Next
394
+ color={theme1.color}
395
+ width={theme1.width}
396
+ height={theme1.height}
397
+ />
398
+ <Down
399
+ color={theme1.color}
400
+ width={theme1.width}
401
+ height={theme1.height}
402
+ />
403
+ <ArrowLeft
404
+ color={theme1.color}
405
+ width={theme1.width}
406
+ height={theme1.height}
407
+ />
408
+ <ArrowRight
409
+ color={theme1.color}
410
+ width={theme1.width}
411
+ height={theme1.height}
412
+ />
413
+ <Refresh
414
+ color={theme1.color}
415
+ width={theme1.width}
416
+ height={theme1.height}
417
+ />
418
+ </div>
419
+
420
+ <div className="container-test-stage--content-wrapper">
421
+ <hr />
422
+ <h3>Actions</h3>
423
+ <strong>default</strong>
424
+ <br />
425
+ <Add />
426
+ <AddContact />
427
+ <NewChat />
428
+ <Delete />
429
+ <Download />
430
+ <Share />
431
+ <Archive />
432
+ <Unarchive />
433
+ <Send />
434
+ <Voice />
435
+ <Emoji />
436
+ <Edit />
437
+ <ReplyFilled />
438
+ <ForwardFilled />
439
+ <Copy />
440
+ <SwapCamera />
441
+ <Phone />
442
+ <PhoneFilled />
443
+ <OutcomeCall />
444
+ <IncomeCall />
445
+ <Hungup />
446
+ <VideoIcon />
447
+ <Remove />
448
+ <Remove2 />
449
+ <Like />
450
+ </div>
451
+
452
+ <div className="container-test-stage--content-wrapper">
453
+ <hr />
454
+ <h3>Actions</h3>
455
+ <strong>with themes</strong>
456
+ <br />
457
+ <Add
458
+ color={theme1.color}
459
+ width={theme1.width}
460
+ height={theme1.height}
461
+ />
462
+ <AddContact
463
+ color={theme1.color}
464
+ width={theme1.width}
465
+ height={theme1.height}
466
+ />
467
+ <NewChat
468
+ color={theme1.color}
469
+ width={theme1.width}
470
+ height={theme1.height}
471
+ />
472
+ <Delete
473
+ color={theme1.color}
474
+ width={theme1.width}
475
+ height={theme1.height}
476
+ />
477
+ <Download
478
+ color={theme1.color}
479
+ width={theme1.width}
480
+ height={theme1.height}
481
+ />
482
+ <Share
483
+ color={theme1.color}
484
+ width={theme1.width}
485
+ height={theme1.height}
486
+ />
487
+ <Archive
488
+ color={theme1.color}
489
+ width={theme1.width}
490
+ height={theme1.height}
491
+ />
492
+ <Unarchive
493
+ color={theme1.color}
494
+ width={theme1.width}
495
+ height={theme1.height}
496
+ />
497
+ <Send
498
+ color={theme1.color}
499
+ width={theme1.width}
500
+ height={theme1.height}
501
+ />
502
+ <Voice
503
+ color={theme1.color}
504
+ width={theme1.width}
505
+ height={theme1.height}
506
+ />
507
+ <Emoji
508
+ color={theme1.color}
509
+ width={theme1.width}
510
+ height={theme1.height}
511
+ />
512
+ <Edit
513
+ color={theme1.color}
514
+ width={theme1.width}
515
+ height={theme1.height}
516
+ />
517
+ <ReplyFilled
518
+ color={theme1.color}
519
+ width={theme1.width}
520
+ height={theme1.height}
521
+ />
522
+ <ForwardFilled
523
+ color={theme1.color}
524
+ width={theme1.width}
525
+ height={theme1.height}
526
+ />
527
+ <Copy
528
+ color={theme1.color}
529
+ width={theme1.width}
530
+ height={theme1.height}
531
+ />
532
+ <SwapCamera
533
+ color={theme1.color}
534
+ width={theme1.width}
535
+ height={theme1.height}
536
+ />
537
+ <Phone
538
+ color={theme1.color}
539
+ width={theme1.width}
540
+ height={theme1.height}
541
+ />
542
+ <PhoneFilled
543
+ color={theme1.color}
544
+ width={theme1.width}
545
+ height={theme1.height}
546
+ />
547
+ <OutcomeCall
548
+ color={theme1.color}
549
+ width={theme1.width}
550
+ height={theme1.height}
551
+ />
552
+ <IncomeCall
553
+ color={theme1.color}
554
+ width={theme1.width}
555
+ height={theme1.height}
556
+ />
557
+ <Hungup
558
+ color={theme1.color}
559
+ width={theme1.width}
560
+ height={theme1.height}
561
+ />
562
+ <VideoIcon
563
+ color={theme1.color}
564
+ width={theme1.width}
565
+ height={theme1.height}
566
+ />
567
+ <Remove
568
+ color={theme1.color}
569
+ width={theme1.width}
570
+ height={theme1.height}
571
+ />
572
+ <Remove2
573
+ color={theme1.color}
574
+ width={theme1.width}
575
+ height={theme1.height}
576
+ />
577
+ <Like
578
+ color={theme1.color}
579
+ width={theme1.width}
580
+ height={theme1.height}
581
+ />
582
+ </div>
583
+
584
+ <div className="container-test-stage--content-wrapper">
585
+ <hr />
586
+ <h3>Contents</h3>
587
+ <strong>default</strong>
588
+ <br />
589
+ <Chat />
590
+ <ChatFilled />
591
+ <PrivateChat />
592
+ <GroupChat />
593
+ <Notifications />
594
+ <PublicChannel />
595
+ <Broadcast />
596
+ <Stream />
597
+ <StreamFilled />
598
+ <User />
599
+ <Conference />
600
+ <Contact />
601
+ <ContactFilled />
602
+ </div>
603
+
604
+ <div className="container-test-stage--content-wrapper">
605
+ <hr />
606
+ <h3>Contents</h3>
607
+ <strong>with themes</strong>
608
+ <br />
609
+ <Chat
610
+ color={theme1.color}
611
+ width={theme1.width}
612
+ height={theme1.height}
613
+ />
614
+ <ChatFilled
615
+ color={theme1.color}
616
+ width={theme1.width}
617
+ height={theme1.height}
618
+ />
619
+ <PrivateChat
620
+ color={theme1.color}
621
+ width={theme1.width}
622
+ height={theme1.height}
623
+ />
624
+ <GroupChat
625
+ color={theme1.color}
626
+ width={theme1.width}
627
+ height={theme1.height}
628
+ />
629
+ <Notifications
630
+ color={theme1.color}
631
+ width={theme1.width}
632
+ height={theme1.height}
633
+ />
634
+ <PublicChannel
635
+ color={theme1.color}
636
+ width={theme1.width}
637
+ height={theme1.height}
638
+ />
639
+ <Broadcast
640
+ color={theme1.color}
641
+ width={theme1.width}
642
+ height={theme1.height}
643
+ />
644
+ <Stream
645
+ color={theme1.color}
646
+ width={theme1.width}
647
+ height={theme1.height}
648
+ />
649
+ <StreamFilled
650
+ color={theme1.color}
651
+ width={theme1.width}
652
+ height={theme1.height}
653
+ />
654
+ <User
655
+ color={theme1.color}
656
+ width={theme1.width}
657
+ height={theme1.height}
658
+ />
659
+ <Conference
660
+ color={theme1.color}
661
+ width={theme1.width}
662
+ height={theme1.height}
663
+ />
664
+ <Contact
665
+ color={theme1.color}
666
+ width={theme1.width}
667
+ height={theme1.height}
668
+ />
669
+ <ContactFilled
670
+ color={theme1.color}
671
+ width={theme1.width}
672
+ height={theme1.height}
673
+ />
674
+ </div>
675
+
676
+ <div className="container-test-stage--content-wrapper">
677
+ <hr />
678
+ <h3>Media</h3>
679
+ <strong>default</strong>
680
+ <br />
681
+ <Attachment />
682
+ <LinkWeb />
683
+ <Location />
684
+ <Camera />
685
+ <ImageFile />
686
+ <ImageEmpty />
687
+ <ImageFilled />
688
+ <TextDocument />
689
+ <AudioFile />
690
+ <VideoFile />
691
+ <GifFile />
692
+ <BrokenFile />
693
+ </div>
694
+
695
+ <div className="container-test-stage--content-wrapper">
696
+ <hr />
697
+ <h3>Media</h3>
698
+ <strong>with themes</strong>
699
+ <br />
700
+ <Attachment
701
+ color={theme1.color}
702
+ width={theme1.width}
703
+ height={theme1.height}
704
+ />
705
+ <LinkWeb
706
+ color={theme1.color}
707
+ width={theme1.width}
708
+ height={theme1.height}
709
+ />
710
+ <Location
711
+ color={theme1.color}
712
+ width={theme1.width}
713
+ height={theme1.height}
714
+ />
715
+ <Camera
716
+ color={theme1.color}
717
+ width={theme1.width}
718
+ height={theme1.height}
719
+ />
720
+ <ImageFile
721
+ color={theme1.color}
722
+ width={theme1.width}
723
+ height={theme1.height}
724
+ />
725
+ <ImageEmpty
726
+ color={theme1.color}
727
+ width={theme1.width}
728
+ height={theme1.height}
729
+ />
730
+ <ImageFilled
731
+ color={theme1.color}
732
+ width={theme1.width}
733
+ height={theme1.height}
734
+ />
735
+ <TextDocument
736
+ color={theme1.color}
737
+ width={theme1.width}
738
+ height={theme1.height}
739
+ />
740
+ <AudioFile
741
+ color={theme1.color}
742
+ width={theme1.width}
743
+ height={theme1.height}
744
+ />
745
+ <VideoFile
746
+ color={theme1.color}
747
+ width={theme1.width}
748
+ height={theme1.height}
749
+ />
750
+ <GifFile
751
+ color={theme1.color}
752
+ width={theme1.width}
753
+ height={theme1.height}
754
+ />
755
+ <BrokenFile
756
+ color={theme1.color}
757
+ width={theme1.width}
758
+ height={theme1.height}
759
+ />
760
+ </div>
761
+
762
+ <div className="container-test-stage--content-wrapper">
763
+ <hr />
764
+ <h3>Status</h3>
765
+ <strong>default</strong>
766
+ <br />
767
+ <Sent />
768
+ <ViewedDelivered />
769
+ <Information />
770
+ <Help />
771
+ <Error />
772
+ <Mention />
773
+ <Loader />
774
+ </div>
775
+
776
+ <div className="container-test-stage--content-wrapper">
777
+ <hr />
778
+ <h3>Status</h3>
779
+ <strong>with themes</strong>
780
+ <br />
781
+ <Sent
782
+ color={theme1.color}
783
+ width={theme1.width}
784
+ height={theme1.height}
785
+ />
786
+ <ViewedDelivered
787
+ color={theme1.color}
788
+ width={theme1.width}
789
+ height={theme1.height}
790
+ />
791
+ <Information
792
+ color={theme1.color}
793
+ width={theme1.width}
794
+ height={theme1.height}
795
+ />
796
+ <Help
797
+ color={theme1.color}
798
+ width={theme1.width}
799
+ height={theme1.height}
800
+ />
801
+ <Error
802
+ color={theme1.color}
803
+ width={theme1.width}
804
+ height={theme1.height}
805
+ />
806
+ <Mention
807
+ color={theme1.color}
808
+ width={theme1.width}
809
+ height={theme1.height}
810
+ />
811
+ <Loader
812
+ color={theme1.color}
813
+ width={theme1.width}
814
+ height={theme1.height}
815
+ />
816
+ </div>
817
+
818
+ <div className="container-test-stage--content-wrapper">
819
+ <hr />
820
+ <h3>Toggle</h3>
821
+ <strong>default</strong>
822
+ <br />
823
+ <MicOn />
824
+ <MicOff />
825
+ <CameraOn />
826
+ <CameraOff />
827
+ <Favourite />
828
+ <FavouriteFilled />
829
+ <Show />
830
+ <Hide />
831
+ <NotifyOn />
832
+ <NotifyOff />
833
+ <CheckOn />
834
+ <CheckOff />
835
+ <FullScreen />
836
+ <Minimize />
837
+ <ImagePlay />
838
+ <Pause />
839
+ <Record />
840
+ <StopRecord />
841
+ <Speaker />
842
+ <SpeakerOff />
843
+ <Quite />
844
+ <Loader />
845
+ <ScreenShare />
846
+ <StopShare />
847
+ </div>
848
+
849
+ <div className="container-test-stage--content-wrapper">
850
+ <hr />
851
+ <h3>Toggle</h3>
852
+ <strong>with themes</strong>
853
+ <br />
854
+ <MicOn
855
+ color={theme1.color}
856
+ width={theme1.width}
857
+ height={theme1.height}
858
+ />
859
+ <MicOff
860
+ color={theme1.color}
861
+ width={theme1.width}
862
+ height={theme1.height}
863
+ />
864
+ <CameraOn
865
+ color={theme1.color}
866
+ width={theme1.width}
867
+ height={theme1.height}
868
+ />
869
+ <CameraOff
870
+ color={theme1.color}
871
+ width={theme1.width}
872
+ height={theme1.height}
873
+ />
874
+ <Favourite
875
+ color={theme1.color}
876
+ width={theme1.width}
877
+ height={theme1.height}
878
+ />
879
+ <FavouriteFilled
880
+ color={theme1.color}
881
+ width={theme1.width}
882
+ height={theme1.height}
883
+ />
884
+ <Show
885
+ color={theme1.color}
886
+ width={theme1.width}
887
+ height={theme1.height}
888
+ />
889
+ <Hide
890
+ color={theme1.color}
891
+ width={theme1.width}
892
+ height={theme1.height}
893
+ />
894
+ <NotifyOn
895
+ color={theme1.color}
896
+ width={theme1.width}
897
+ height={theme1.height}
898
+ />
899
+ <NotifyOff
900
+ color={theme1.color}
901
+ width={theme1.width}
902
+ height={theme1.height}
903
+ />
904
+ <CheckOn
905
+ color={theme1.color}
906
+ width={theme1.width}
907
+ height={theme1.height}
908
+ />
909
+ <CheckOff
910
+ color={theme1.color}
911
+ width={theme1.width}
912
+ height={theme1.height}
913
+ />
914
+ <FullScreen
915
+ color={theme1.color}
916
+ width={theme1.width}
917
+ height={theme1.height}
918
+ />
919
+ <Minimize
920
+ color={theme1.color}
921
+ width={theme1.width}
922
+ height={theme1.height}
923
+ />
924
+ <ImagePlay
925
+ color={theme1.color}
926
+ width={theme1.width}
927
+ height={theme1.height}
928
+ />
929
+ <Pause
930
+ color={theme1.color}
931
+ width={theme1.width}
932
+ height={theme1.height}
933
+ />
934
+ <Record
935
+ color={theme1.color}
936
+ width={theme1.width}
937
+ height={theme1.height}
938
+ />
939
+ <StopRecord
940
+ color={theme1.color}
941
+ width={theme1.width}
942
+ height={theme1.height}
943
+ />
944
+ <Speaker
945
+ color={theme1.color}
946
+ width={theme1.width}
947
+ height={theme1.height}
948
+ />
949
+ <SpeakerOff
950
+ color={theme1.color}
951
+ width={theme1.width}
952
+ height={theme1.height}
953
+ />
954
+ <Quite
955
+ color={theme1.color}
956
+ width={theme1.width}
957
+ height={theme1.height}
958
+ />
959
+ <Loader
960
+ color={theme1.color}
961
+ width={theme1.width}
962
+ height={theme1.height}
963
+ />
964
+ <ScreenShare
965
+ color={theme1.color}
966
+ width={theme1.width}
967
+ height={theme1.height}
968
+ />
969
+ <StopShare
970
+ color={theme1.color}
971
+ width={theme1.width}
972
+ height={theme1.height}
973
+ />
974
+ </div>
975
+
976
+ <div className="container-test-stage--content-wrapper">
977
+ <hr />
978
+ <h3>Moderation</h3>
979
+ <strong>default</strong>
980
+ <br />
981
+ <Admin />
982
+ <Moderations />
983
+ <Banned />
984
+ <Muted />
985
+ <Freeze />
986
+ </div>
987
+
988
+ <div className="container-test-stage--content-wrapper">
989
+ <hr />
990
+ <h3>Moderation</h3>
991
+ <strong>with themes</strong>
992
+ <br />
993
+ <Admin
994
+ color={theme1.color}
995
+ width={theme1.width}
996
+ height={theme1.height}
997
+ />
998
+ <Moderations
999
+ color={theme1.color}
1000
+ width={theme1.width}
1001
+ height={theme1.height}
1002
+ />
1003
+ <Banned
1004
+ color={theme1.color}
1005
+ width={theme1.width}
1006
+ height={theme1.height}
1007
+ />
1008
+ <Muted
1009
+ color={theme1.color}
1010
+ width={theme1.width}
1011
+ height={theme1.height}
1012
+ />
1013
+ <Freeze
1014
+ color={theme1.color}
1015
+ width={theme1.width}
1016
+ height={theme1.height}
1017
+ />
1018
+ </div>
1019
+ </div>
1020
+ <div className="container-test-stage__item">
1021
+ <LoaderComponent
1022
+ width={loaderTheme.width}
1023
+ height={loaderTheme.height}
1024
+ color={loaderTheme.color}
1025
+ />
1026
+ <LoaderComponent />
1027
+ <hr />
1028
+ <ErrorComponent
1029
+ title="Something is wrong!!!"
1030
+ theme={theme1}
1031
+ ClickActionHandler={() => {
1032
+ alert('call click retry');
1033
+ }}
1034
+ />
1035
+ <hr />
1036
+ <ErrorComponent
1037
+ title="Something is wrong!!!"
1038
+ ClickActionHandler={() => {
1039
+ alert('call click retry');
1040
+ }}
1041
+ />
1042
+ <hr />
1043
+ <SwitchButton />
1044
+ <hr />
1045
+ Selected dialog name: {selectedDialog.entity.name}
1046
+ <br />
1047
+ Selected dialog id: {selectedDialog.entity.id}
1048
+ <hr />
1049
+ <br />
1050
+ <MainButton
1051
+ title="Test"
1052
+ styleBox={{
1053
+ width: '100px',
1054
+ color: 'green',
1055
+ background: 'var(--color-background)',
1056
+ }}
1057
+ />
1058
+ <br />
1059
+ <MainButton title="Default" typeButton={TypeButton.default} />
1060
+ <br />
1061
+ <MainButton title="Danger" typeButton={TypeButton.danger} />
1062
+ <br />
1063
+ <MainButton title="Outlined" typeButton={TypeButton.outlined} />
1064
+ </div>
1065
+ <div className="container-test-stage__item">
1066
+ <ColumnContainer>
1067
+ Theme switcher
1068
+ <button
1069
+ onClick={() => {
1070
+ console.log('clicked theme');
1071
+ document.documentElement.setAttribute('data-theme', 'dark');
1072
+ changeThemeActions();
1073
+ }}
1074
+ type="button"
1075
+ >
1076
+ SWITCH THEME
1077
+ </button>
1078
+ Modal window tester
1079
+ <button
1080
+ onClick={() => {
1081
+ handleModal(
1082
+ true,
1083
+ <ColumnContainer gapBetweenItem="8px">
1084
+ <ErrorComponent
1085
+ title="Something is wrong!!!"
1086
+ theme={theme1}
1087
+ ClickActionHandler={() => {
1088
+ alert('clicked on error message');
1089
+ closeModal();
1090
+ }}
1091
+ />
1092
+ </ColumnContainer>,
1093
+ 'Modal window test title',
1094
+ false,
1095
+ true,
1096
+ );
1097
+ }}
1098
+ type="button"
1099
+ >
1100
+ SHOW ME
1101
+ </button>
1102
+ </ColumnContainer>
1103
+ </div>
1104
+ <div className="container-test-stage__item" />
1105
+ </div>
1106
+ );
1107
+ }
1108
+
1109
+ export default TestStageMarkup;