quickblox-react-ui-kit 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (472) hide show
  1. package/README.md +288 -255
  2. package/dist/Presentation/Views/Dialogs/Dialogs.d.ts +3 -0
  3. package/dist/Presentation/Views/Dialogs/useDialogsViewModel.d.ts +3 -1
  4. package/dist/Presentation/{components/UI → assets}/ DefaultThemes/DefaultTheme.d.ts +2 -2
  5. package/dist/Presentation/assets/DarkTheme.d.ts +2 -2
  6. package/dist/Presentation/assets/LightTheme.d.ts +2 -2
  7. package/dist/Presentation/assets/{Theme.d.ts → UiKitTheme.d.ts} +1 -1
  8. package/dist/Presentation/components/UI/Dialogs/HeaderDialogs/HeaderDialogs.d.ts +2 -2
  9. package/dist/Presentation/components/UI/Dialogs/InviteMembers/InviteMembers.d.ts +2 -0
  10. package/dist/Presentation/components/UI/Dialogs/MessagesView/HeaderMessages/HeaderMessages.d.ts +2 -0
  11. package/dist/Presentation/components/UI/Dialogs/MessagesView/MessagesView.d.ts +2 -0
  12. package/dist/Presentation/components/UI/Dialogs/MessagesView/{useMessagesViewModelWithMockUseCase.d.ts → useMessagesViewModel.d.ts} +1 -1
  13. package/dist/Presentation/components/UI/Dialogs/PreviewDialog/PreviewDialog.d.ts +2 -2
  14. package/dist/Presentation/components/layouts/Desktop/{DesktopLayoutForMockModels.d.ts → DesktopLayout.d.ts} +2 -2
  15. package/dist/Presentation/components/layouts/Desktop/QuickBloxUIKitDesktopLayout.d.ts +7 -0
  16. package/dist/index-ui.d.ts +6 -5
  17. package/dist/index-ui.js +49 -93
  18. package/package.json +9 -2
  19. package/.prettierignore +0 -4
  20. package/.prettierrc +0 -8
  21. package/dist/MyButton/MyButton.d.ts +0 -9
  22. package/dist/MyInput/MyInput.d.ts +0 -10
  23. package/dist/Presentation/Views/Dialogs/useDialogsViewModelWithMockUseCase.d.ts +0 -4
  24. package/dist/Presentation/components/layouts/Desktop/Desktop.d.ts +0 -4
  25. package/dist/Presentation/components/layouts/TestStage/TestStageWithMockData/TestStageWithMockData.d.ts +0 -3
  26. package/public/favicon.ico +0 -0
  27. package/public/index.html +0 -47
  28. package/public/logo192.png +0 -0
  29. package/public/logo512.png +0 -0
  30. package/public/manifest.json +0 -25
  31. package/public/quickblox.js +0 -54609
  32. package/public/robots.txt +0 -3
  33. package/src/App.scss +0 -0
  34. package/src/App.tsx +0 -230
  35. package/src/CommonTypes/FunctionResult.ts +0 -4
  36. package/src/Data/Stubs.ts +0 -1131
  37. package/src/Data/dto/dialog/LocalDialogDTO.ts +0 -42
  38. package/src/Data/dto/dialog/LocalDialogsDTO.ts +0 -21
  39. package/src/Data/dto/dialog/RemoteDialogDTO.ts +0 -58
  40. package/src/Data/dto/dialog/RemoteDialogsDTO.ts +0 -21
  41. package/src/Data/dto/file/LocalFileDTO.ts +0 -26
  42. package/src/Data/dto/file/RemoteFileDTO.ts +0 -26
  43. package/src/Data/dto/message/LocalMessageDTO.ts +0 -51
  44. package/src/Data/dto/message/LocalMessagesDTO.ts +0 -21
  45. package/src/Data/dto/message/RemoteMessageDTO.ts +0 -51
  46. package/src/Data/dto/message/RemoteMessagesDTO.ts +0 -21
  47. package/src/Data/dto/user/LocalUserDTO.ts +0 -37
  48. package/src/Data/dto/user/LocalUsersDTO.ts +0 -23
  49. package/src/Data/dto/user/RemoteUserDTO.ts +0 -37
  50. package/src/Data/dto/user/RemoteUsersDTO.ts +0 -21
  51. package/src/Data/mapper/DialogLocalDTOMapper.ts +0 -742
  52. package/src/Data/mapper/DialogRemoteDTOMapper.ts +0 -776
  53. package/src/Data/mapper/FileLocalDTOMapper.ts +0 -253
  54. package/src/Data/mapper/FileRemoteDTOMapper.ts +0 -265
  55. package/src/Data/mapper/IMapper.ts +0 -14
  56. package/src/Data/mapper/MessageLocalDTOMapper.ts +0 -425
  57. package/src/Data/mapper/MessageRemoteDTOMapper.ts +0 -430
  58. package/src/Data/mapper/UserLocalDTOMapper.ts +0 -381
  59. package/src/Data/mapper/UserRemoteDTOMapper.ts +0 -393
  60. package/src/Data/repository/ConnectionRepository.ts +0 -128
  61. package/src/Data/repository/DialogsRepository.ts +0 -422
  62. package/src/Data/repository/EventMessagesRepository.ts +0 -291
  63. package/src/Data/repository/FileRepository.ts +0 -110
  64. package/src/Data/repository/MessagesRepository.ts +0 -288
  65. package/src/Data/repository/UsersRepository.ts +0 -324
  66. package/src/Data/source/exception/LocalDataSourceException.ts +0 -17
  67. package/src/Data/source/exception/MapperDTOException.ts +0 -19
  68. package/src/Data/source/exception/RemoteDataSourceException.ts +0 -28
  69. package/src/Data/source/exception/RepositoryException.ts +0 -27
  70. package/src/Data/source/local/ChatLocalStorageDataSource.ts +0 -262
  71. package/src/Data/source/local/ILocalDataSource.ts +0 -45
  72. package/src/Data/source/local/ILocalFileDataSource.ts +0 -11
  73. package/src/Data/source/local/LocalDataSource.ts +0 -377
  74. package/src/Data/source/local/LocalFileDataSource.ts +0 -22
  75. package/src/Data/source/remote/IRemoteDataSource.ts +0 -112
  76. package/src/Data/source/remote/Mapper/DialogDTOMapper.ts +0 -401
  77. package/src/Data/source/remote/Mapper/FileDTOMapper.ts +0 -276
  78. package/src/Data/source/remote/Mapper/IDTOMapper.ts +0 -4
  79. package/src/Data/source/remote/Mapper/MessageDTOMapper.ts +0 -399
  80. package/src/Data/source/remote/Mapper/UserDTOMapper.ts +0 -344
  81. package/src/Data/source/remote/RemoteDataSource.ts +0 -1278
  82. package/src/Domain/entity/Chat.ts +0 -4
  83. package/src/Domain/entity/ChatMessageAttachmentEntity.ts +0 -15
  84. package/src/Domain/entity/CustomDataEntity.ts +0 -3
  85. package/src/Domain/entity/DialogEntity.ts +0 -15
  86. package/src/Domain/entity/DialogEventInfo.ts +0 -15
  87. package/src/Domain/entity/DialogTypes.ts +0 -7
  88. package/src/Domain/entity/EventMessageType.ts +0 -7
  89. package/src/Domain/entity/FileEntity.ts +0 -11
  90. package/src/Domain/entity/FileTypes.ts +0 -9
  91. package/src/Domain/entity/GroupDialogEntity.ts +0 -54
  92. package/src/Domain/entity/LastMessageEntity.ts +0 -5
  93. package/src/Domain/entity/MessageEntity.ts +0 -25
  94. package/src/Domain/entity/NotificationTypes.ts +0 -7
  95. package/src/Domain/entity/PrivateDialogEntity.ts +0 -46
  96. package/src/Domain/entity/PublicDialogEntity.ts +0 -72
  97. package/src/Domain/entity/UserEntity.ts +0 -22
  98. package/src/Domain/exception/domain/DomainExecption.ts +0 -5
  99. package/src/Domain/repository/IDialogsRepository.ts +0 -40
  100. package/src/Domain/repository/IFileRepository.ts +0 -9
  101. package/src/Domain/repository/IMessagesRepository.ts +0 -28
  102. package/src/Domain/repository/IUsersRepository.ts +0 -13
  103. package/src/Domain/repository/Pagination.ts +0 -48
  104. package/src/Domain/use_cases/CreateDialogUseCase.ts +0 -73
  105. package/src/Domain/use_cases/GetAllDialogsUseCase.ts +0 -20
  106. package/src/Domain/use_cases/GetAllDialogsUseCaseWithMock.ts +0 -45
  107. package/src/Domain/use_cases/GetAllMessagesForDialog.ts +0 -61
  108. package/src/Domain/use_cases/GetAllUsersUseCase.ts +0 -34
  109. package/src/Domain/use_cases/GetDialogByIdUseCase.ts +0 -28
  110. package/src/Domain/use_cases/GetUsersByIdsUseCase.ts +0 -22
  111. package/src/Domain/use_cases/LeaveDialogUseCase.ts +0 -109
  112. package/src/Domain/use_cases/RemoveUsersFromTheDialogUseCase.ts +0 -103
  113. package/src/Domain/use_cases/SendTextMessageUseCase.ts +0 -26
  114. package/src/Domain/use_cases/SubscribeToDialogEventsUseCase.ts +0 -141
  115. package/src/Domain/use_cases/SubscribeToDialogsUpdatesUseCase.ts +0 -69
  116. package/src/Domain/use_cases/SubscribeToDialogsUpdatesUseCaseWithMock.ts +0 -61
  117. package/src/Domain/use_cases/SyncDialogsUseCase.ts +0 -246
  118. package/src/Domain/use_cases/UpdateDialogUseCase.ts +0 -65
  119. package/src/Domain/use_cases/UploadFileUseCase.ts +0 -24
  120. package/src/Domain/use_cases/UserTypingMessageUseCase.ts +0 -51
  121. package/src/Domain/use_cases/base/BaseUseCase.ts +0 -77
  122. package/src/Domain/use_cases/base/IUseCase.ts +0 -5
  123. package/src/Domain/use_cases/base/Subscribable/ISubscribable.ts +0 -6
  124. package/src/Domain/use_cases/base/Subscribable/SubscriptionPerformer.ts +0 -143
  125. package/src/MyButton/MyButton.scss +0 -11
  126. package/src/MyButton/MyButton.tsx +0 -25
  127. package/src/MyInput/MyInput.scss +0 -9
  128. package/src/MyInput/MyInput.tsx +0 -36
  129. package/src/Presentation/.gitkeep +0 -0
  130. package/src/Presentation/Views/Base/BaseViewModel.ts +0 -66
  131. package/src/Presentation/Views/CreateDialogFlow/CreateNewDialogFlow.tsx +0 -187
  132. package/src/Presentation/Views/Dialogs/DialogViewModel.ts +0 -23
  133. package/src/Presentation/Views/Dialogs/Dialogs.scss +0 -66
  134. package/src/Presentation/Views/Dialogs/Dialogs.tsx +0 -372
  135. package/src/Presentation/Views/Dialogs/useDialogsViewModel.ts +0 -136
  136. package/src/Presentation/Views/Dialogs/useDialogsViewModelWithMockUseCase.ts +0 -345
  137. package/src/Presentation/Views/Navigation/More.svg +0 -7
  138. package/src/Presentation/assets/DarkTheme.ts +0 -58
  139. package/src/Presentation/assets/LightTheme.ts +0 -58
  140. package/src/Presentation/assets/Theme.ts +0 -143
  141. package/src/Presentation/assets/ThemeScheme.ts +0 -83
  142. package/src/Presentation/assets/fonts/.gitkeep +0 -0
  143. package/src/Presentation/assets/fonts/Roboto-Bold.eot +0 -0
  144. package/src/Presentation/assets/fonts/Roboto-Bold.ttf +0 -0
  145. package/src/Presentation/assets/fonts/Roboto-Bold.woff +0 -0
  146. package/src/Presentation/assets/fonts/Roboto-Bold.woff2 +0 -0
  147. package/src/Presentation/assets/fonts/Roboto-Medium.eot +0 -0
  148. package/src/Presentation/assets/fonts/Roboto-Medium.ttf +0 -0
  149. package/src/Presentation/assets/fonts/Roboto-Medium.woff +0 -0
  150. package/src/Presentation/assets/fonts/Roboto-Medium.woff2 +0 -0
  151. package/src/Presentation/assets/fonts/Roboto-Regular.eot +0 -0
  152. package/src/Presentation/assets/fonts/Roboto-Regular.ttf +0 -0
  153. package/src/Presentation/assets/fonts/Roboto-Regular.woff +0 -0
  154. package/src/Presentation/assets/fonts/Roboto-Regular.woff2 +0 -0
  155. package/src/Presentation/assets/img/Artem_Koltunov_Selfi.png +0 -0
  156. package/src/Presentation/assets/img/bee-img.png +0 -0
  157. package/src/Presentation/assets/styles/_fonts.scss +0 -32
  158. package/src/Presentation/assets/styles/_reset-styles.scss +0 -435
  159. package/src/Presentation/assets/styles/_theme_colors_scheme.scss +0 -56
  160. package/src/Presentation/assets/styles/_theme_dark.scss +0 -33
  161. package/src/Presentation/assets/styles/_theme_light.scss +0 -33
  162. package/src/Presentation/assets/styles/_variables.scss +0 -2
  163. package/src/Presentation/components/Button.js +0 -5
  164. package/src/Presentation/components/Navbar.tsx +0 -45
  165. package/src/Presentation/components/TextInput.js +0 -10
  166. package/src/Presentation/components/UI/ DefaultThemes/CustomTheme.ts +0 -13
  167. package/src/Presentation/components/UI/ DefaultThemes/DefaultTheme.ts +0 -58
  168. package/src/Presentation/components/UI/Buttons/ActiveButton/ActiveButton.tsx +0 -40
  169. package/src/Presentation/components/UI/Buttons/MainBoundedButton/MainBoundedButton.scss +0 -0
  170. package/src/Presentation/components/UI/Buttons/MainBoundedButton/MainBoundedButton.tsx +0 -30
  171. package/src/Presentation/components/UI/Buttons/MainButton/MainButton.scss +0 -127
  172. package/src/Presentation/components/UI/Buttons/MainButton/MainButton.tsx +0 -62
  173. package/src/Presentation/components/UI/Dialogs/CreateDialog/CreateDialog.scss +0 -45
  174. package/src/Presentation/components/UI/Dialogs/CreateDialog/CreateDialog.tsx +0 -77
  175. package/src/Presentation/components/UI/Dialogs/DialogInformation/DialogInformation.scss +0 -429
  176. package/src/Presentation/components/UI/Dialogs/DialogInformation/DialogInformation.tsx +0 -646
  177. package/src/Presentation/components/UI/Dialogs/DialogInformation/DialogMemberButton/DialogMembersButton.scss +0 -42
  178. package/src/Presentation/components/UI/Dialogs/DialogInformation/DialogMemberButton/DialogMembersButton.tsx +0 -26
  179. package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/SingleUser/SingleUser.scss +0 -95
  180. package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/SingleUser/SingleUser.tsx +0 -42
  181. package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/UsersList.scss +0 -60
  182. package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/UsersList.tsx +0 -65
  183. package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/UsersListViewModel.ts +0 -13
  184. package/src/Presentation/components/UI/Dialogs/DialogInformation/UsersList/useUsersListViewModel.ts +0 -81
  185. package/src/Presentation/components/UI/Dialogs/EditDialog/EditDialog.scss +0 -183
  186. package/src/Presentation/components/UI/Dialogs/EditDialog/EditDialog.tsx +0 -262
  187. package/src/Presentation/components/UI/Dialogs/EditDialog/UserAvatar/UserAvatar.scss +0 -32
  188. package/src/Presentation/components/UI/Dialogs/EditDialog/UserAvatar/UserAvatar.tsx +0 -59
  189. package/src/Presentation/components/UI/Dialogs/HeaderDialogs/HeaderDialogs.scss +0 -67
  190. package/src/Presentation/components/UI/Dialogs/HeaderDialogs/HeaderDialogs.tsx +0 -112
  191. package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteMembers.scss +0 -146
  192. package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteMembers.tsx +0 -374
  193. package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteMembersViewModel.ts +0 -18
  194. package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteUsersList/SingleUserWithCheckBox/SingleUserWithCheckBox.scss +0 -113
  195. package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteUsersList/SingleUserWithCheckBox/SingleUserWithCheckBox.tsx +0 -87
  196. package/src/Presentation/components/UI/Dialogs/InviteMembers/InviteUsersResultViewModel.ts +0 -12
  197. package/src/Presentation/components/UI/Dialogs/InviteMembers/NotFoundContent/NotFoundContent.scss +0 -37
  198. package/src/Presentation/components/UI/Dialogs/InviteMembers/NotFoundContent/NotFoundContent.tsx +0 -22
  199. package/src/Presentation/components/UI/Dialogs/InviteMembers/useInviteMembersViewModel.ts +0 -116
  200. package/src/Presentation/components/UI/Dialogs/MembersList/MembersList.scss +0 -128
  201. package/src/Presentation/components/UI/Dialogs/MembersList/MembersList.tsx +0 -89
  202. package/src/Presentation/components/UI/Dialogs/MessagesView/AudioAttachmentComponent/AudioAttachmentComponent.scss +0 -7
  203. package/src/Presentation/components/UI/Dialogs/MessagesView/AudioAttachmentComponent/AudioAttachmentComponent.tsx +0 -27
  204. package/src/Presentation/components/UI/Dialogs/MessagesView/HeaderMessages/HeaderMessages.scss +0 -133
  205. package/src/Presentation/components/UI/Dialogs/MessagesView/HeaderMessages/HeaderMessages.tsx +0 -137
  206. package/src/Presentation/components/UI/Dialogs/MessagesView/ImageAttachmentComponent/ImageAttachmentComponent.scss +0 -11
  207. package/src/Presentation/components/UI/Dialogs/MessagesView/ImageAttachmentComponent/ImageAttachmentComponent.tsx +0 -25
  208. package/src/Presentation/components/UI/Dialogs/MessagesView/MessagesView.scss +0 -327
  209. package/src/Presentation/components/UI/Dialogs/MessagesView/MessagesView.tsx +0 -794
  210. package/src/Presentation/components/UI/Dialogs/MessagesView/MessagesViewModel.ts +0 -20
  211. package/src/Presentation/components/UI/Dialogs/MessagesView/VideoAttachmentComponent/VideoAttachmentComponent.scss +0 -7
  212. package/src/Presentation/components/UI/Dialogs/MessagesView/VideoAttachmentComponent/VideoAttachmentComponent.tsx +0 -33
  213. package/src/Presentation/components/UI/Dialogs/MessagesView/VoiceRecordingProgress/VoiceRecordingProgress.scss +0 -35
  214. package/src/Presentation/components/UI/Dialogs/MessagesView/VoiceRecordingProgress/VoiceRecordingProgress.tsx +0 -86
  215. package/src/Presentation/components/UI/Dialogs/MessagesView/useMessagesViewModelWithMockUseCase.ts +0 -452
  216. package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewDialog.scss +0 -100
  217. package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewDialog.tsx +0 -405
  218. package/src/Presentation/components/UI/Dialogs/PreviewDialog/PreviewDialogViewModel.ts +0 -42
  219. package/src/Presentation/components/UI/Dialogs/YesNoQuestion/YesNoQuestion.scss +0 -35
  220. package/src/Presentation/components/UI/Dialogs/YesNoQuestion/YesNoQuestion.tsx +0 -89
  221. package/src/Presentation/components/UI/Elements/SwitchButton/SwitchButton.scss +0 -61
  222. package/src/Presentation/components/UI/Elements/SwitchButton/SwitchButton.tsx +0 -48
  223. package/src/Presentation/components/UI/Placeholders/ErrorComponent/ErrorComponent.scss +0 -74
  224. package/src/Presentation/components/UI/Placeholders/ErrorComponent/ErrorComponent.tsx +0 -72
  225. package/src/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.scss +0 -21
  226. package/src/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.tsx +0 -41
  227. package/src/Presentation/components/UI/svgs/ActiveSvg/ActiveSvg.scss +0 -3
  228. package/src/Presentation/components/UI/svgs/ActiveSvg/ActiveSvg.tsx +0 -41
  229. package/src/Presentation/components/UI/svgs/Icons/Actions/Add/Add.svg +0 -3
  230. package/src/Presentation/components/UI/svgs/Icons/Actions/Add/index.tsx +0 -22
  231. package/src/Presentation/components/UI/svgs/Icons/Actions/AddContact/Add contact.svg +0 -3
  232. package/src/Presentation/components/UI/svgs/Icons/Actions/AddContact/index.tsx +0 -22
  233. package/src/Presentation/components/UI/svgs/Icons/Actions/Archive/Archive.svg +0 -3
  234. package/src/Presentation/components/UI/svgs/Icons/Actions/Archive/index.tsx +0 -22
  235. package/src/Presentation/components/UI/svgs/Icons/Actions/Copy/Copy.svg +0 -3
  236. package/src/Presentation/components/UI/svgs/Icons/Actions/Copy/index.tsx +0 -22
  237. package/src/Presentation/components/UI/svgs/Icons/Actions/Delete/Delete.svg +0 -3
  238. package/src/Presentation/components/UI/svgs/Icons/Actions/Delete/index.tsx +0 -22
  239. package/src/Presentation/components/UI/svgs/Icons/Actions/Download/Download.svg +0 -3
  240. package/src/Presentation/components/UI/svgs/Icons/Actions/Download/index.tsx +0 -22
  241. package/src/Presentation/components/UI/svgs/Icons/Actions/Edit/Edit.svg +0 -3
  242. package/src/Presentation/components/UI/svgs/Icons/Actions/Edit/index.tsx +0 -22
  243. package/src/Presentation/components/UI/svgs/Icons/Actions/EditDots/EditDots.svg +0 -3
  244. package/src/Presentation/components/UI/svgs/Icons/Actions/EditDots/index.tsx +0 -22
  245. package/src/Presentation/components/UI/svgs/Icons/Actions/Emoji/Emoji.svg +0 -3
  246. package/src/Presentation/components/UI/svgs/Icons/Actions/Emoji/index.tsx +0 -22
  247. package/src/Presentation/components/UI/svgs/Icons/Actions/ForwardFilled/Forward filled.svg +0 -3
  248. package/src/Presentation/components/UI/svgs/Icons/Actions/ForwardFilled/index.tsx +0 -22
  249. package/src/Presentation/components/UI/svgs/Icons/Actions/Hungup/Hungup.svg +0 -3
  250. package/src/Presentation/components/UI/svgs/Icons/Actions/Hungup/index.tsx +0 -22
  251. package/src/Presentation/components/UI/svgs/Icons/Actions/IncomeCall/Income call.svg +0 -3
  252. package/src/Presentation/components/UI/svgs/Icons/Actions/IncomeCall/index.tsx +0 -22
  253. package/src/Presentation/components/UI/svgs/Icons/Actions/Like/Like.svg +0 -3
  254. package/src/Presentation/components/UI/svgs/Icons/Actions/Like/index.tsx +0 -22
  255. package/src/Presentation/components/UI/svgs/Icons/Actions/NewChat/New chat.svg +0 -3
  256. package/src/Presentation/components/UI/svgs/Icons/Actions/NewChat/index.tsx +0 -22
  257. package/src/Presentation/components/UI/svgs/Icons/Actions/OutcomeCall/Outcome call.svg +0 -3
  258. package/src/Presentation/components/UI/svgs/Icons/Actions/OutcomeCall/index.tsx +0 -22
  259. package/src/Presentation/components/UI/svgs/Icons/Actions/Phone/Phone.svg +0 -3
  260. package/src/Presentation/components/UI/svgs/Icons/Actions/Phone/index.tsx +0 -35
  261. package/src/Presentation/components/UI/svgs/Icons/Actions/PhoneFilled/Phone filled.svg +0 -3
  262. package/src/Presentation/components/UI/svgs/Icons/Actions/PhoneFilled/index.tsx +0 -22
  263. package/src/Presentation/components/UI/svgs/Icons/Actions/Remove/Remove.svg +0 -3
  264. package/src/Presentation/components/UI/svgs/Icons/Actions/Remove/index.tsx +0 -22
  265. package/src/Presentation/components/UI/svgs/Icons/Actions/Remove2/Remove2.svg +0 -3
  266. package/src/Presentation/components/UI/svgs/Icons/Actions/Remove2/index.tsx +0 -22
  267. package/src/Presentation/components/UI/svgs/Icons/Actions/ReplyFilled/Reply filled.svg +0 -3
  268. package/src/Presentation/components/UI/svgs/Icons/Actions/ReplyFilled/index.tsx +0 -22
  269. package/src/Presentation/components/UI/svgs/Icons/Actions/Send/Send.svg +0 -3
  270. package/src/Presentation/components/UI/svgs/Icons/Actions/Send/index.tsx +0 -38
  271. package/src/Presentation/components/UI/svgs/Icons/Actions/Share/Share.svg +0 -3
  272. package/src/Presentation/components/UI/svgs/Icons/Actions/Share/index.tsx +0 -22
  273. package/src/Presentation/components/UI/svgs/Icons/Actions/SwapCamera/Swap camera.svg +0 -3
  274. package/src/Presentation/components/UI/svgs/Icons/Actions/SwapCamera/index.tsx +0 -22
  275. package/src/Presentation/components/UI/svgs/Icons/Actions/Unarchive/Unarchive.svg +0 -3
  276. package/src/Presentation/components/UI/svgs/Icons/Actions/Unarchive/index.tsx +0 -22
  277. package/src/Presentation/components/UI/svgs/Icons/Actions/VideoIcon/Video.svg +0 -3
  278. package/src/Presentation/components/UI/svgs/Icons/Actions/VideoIcon/index.tsx +0 -22
  279. package/src/Presentation/components/UI/svgs/Icons/Actions/Voice/Voice.svg +0 -3
  280. package/src/Presentation/components/UI/svgs/Icons/Actions/Voice/index.tsx +0 -35
  281. package/src/Presentation/components/UI/svgs/Icons/Contents/Brodcast/Broadcast.svg +0 -7
  282. package/src/Presentation/components/UI/svgs/Icons/Contents/Brodcast/index.tsx +0 -38
  283. package/src/Presentation/components/UI/svgs/Icons/Contents/Chat/Chat.svg +0 -3
  284. package/src/Presentation/components/UI/svgs/Icons/Contents/Chat/index.tsx +0 -35
  285. package/src/Presentation/components/UI/svgs/Icons/Contents/ChatFilled/Chat filled.svg +0 -3
  286. package/src/Presentation/components/UI/svgs/Icons/Contents/ChatFilled/index.tsx +0 -22
  287. package/src/Presentation/components/UI/svgs/Icons/Contents/Conference/Conference.svg +0 -3
  288. package/src/Presentation/components/UI/svgs/Icons/Contents/Conference/index.tsx +0 -22
  289. package/src/Presentation/components/UI/svgs/Icons/Contents/Contact/Contact.svg +0 -3
  290. package/src/Presentation/components/UI/svgs/Icons/Contents/Contact/index.tsx +0 -22
  291. package/src/Presentation/components/UI/svgs/Icons/Contents/ContactFilled/Contact filled.svg +0 -3
  292. package/src/Presentation/components/UI/svgs/Icons/Contents/ContactFilled/index.tsx +0 -22
  293. package/src/Presentation/components/UI/svgs/Icons/Contents/GroupChat/Group chat.svg +0 -3
  294. package/src/Presentation/components/UI/svgs/Icons/Contents/GroupChat/index.tsx +0 -35
  295. package/src/Presentation/components/UI/svgs/Icons/Contents/Notifications/Notifications.svg +0 -3
  296. package/src/Presentation/components/UI/svgs/Icons/Contents/Notifications/index.tsx +0 -22
  297. package/src/Presentation/components/UI/svgs/Icons/Contents/PrivateChat/Private chat.svg +0 -3
  298. package/src/Presentation/components/UI/svgs/Icons/Contents/PrivateChat/index.tsx +0 -22
  299. package/src/Presentation/components/UI/svgs/Icons/Contents/PublicChannel/Public channel.svg +0 -7
  300. package/src/Presentation/components/UI/svgs/Icons/Contents/PublicChannel/index.tsx +0 -67
  301. package/src/Presentation/components/UI/svgs/Icons/Contents/Stream/Stream.svg +0 -3
  302. package/src/Presentation/components/UI/svgs/Icons/Contents/Stream/index.tsx +0 -22
  303. package/src/Presentation/components/UI/svgs/Icons/Contents/StreamFilled/Stream filled.svg +0 -3
  304. package/src/Presentation/components/UI/svgs/Icons/Contents/StreamFilled/index.tsx +0 -22
  305. package/src/Presentation/components/UI/svgs/Icons/Contents/User/User.svg +0 -3
  306. package/src/Presentation/components/UI/svgs/Icons/Contents/User/index.tsx +0 -35
  307. package/src/Presentation/components/UI/svgs/Icons/IconsCommonTypes.ts +0 -6
  308. package/src/Presentation/components/UI/svgs/Icons/Media/Attachment/Attachment.svg +0 -3
  309. package/src/Presentation/components/UI/svgs/Icons/Media/Attachment/index.tsx +0 -22
  310. package/src/Presentation/components/UI/svgs/Icons/Media/AudioFile/Audio file.svg +0 -3
  311. package/src/Presentation/components/UI/svgs/Icons/Media/AudioFile/index.tsx +0 -22
  312. package/src/Presentation/components/UI/svgs/Icons/Media/BrokenFile/Broken file.svg +0 -3
  313. package/src/Presentation/components/UI/svgs/Icons/Media/BrokenFile/index.tsx +0 -22
  314. package/src/Presentation/components/UI/svgs/Icons/Media/Camera/Camera.svg +0 -3
  315. package/src/Presentation/components/UI/svgs/Icons/Media/Camera/index.tsx +0 -22
  316. package/src/Presentation/components/UI/svgs/Icons/Media/GifFile/GIF file.svg +0 -3
  317. package/src/Presentation/components/UI/svgs/Icons/Media/GifFile/index.tsx +0 -22
  318. package/src/Presentation/components/UI/svgs/Icons/Media/ImageEmpty/Image.svg +0 -3
  319. package/src/Presentation/components/UI/svgs/Icons/Media/ImageEmpty/index.tsx +0 -22
  320. package/src/Presentation/components/UI/svgs/Icons/Media/ImageFile/File.svg +0 -3
  321. package/src/Presentation/components/UI/svgs/Icons/Media/ImageFile/index.tsx +0 -35
  322. package/src/Presentation/components/UI/svgs/Icons/Media/ImageFilled/Image filled.svg +0 -3
  323. package/src/Presentation/components/UI/svgs/Icons/Media/ImageFilled/index.tsx +0 -22
  324. package/src/Presentation/components/UI/svgs/Icons/Media/LinkWeb/Link.svg +0 -3
  325. package/src/Presentation/components/UI/svgs/Icons/Media/LinkWeb/index.tsx +0 -22
  326. package/src/Presentation/components/UI/svgs/Icons/Media/Location/Location.svg +0 -4
  327. package/src/Presentation/components/UI/svgs/Icons/Media/Location/index.tsx +0 -26
  328. package/src/Presentation/components/UI/svgs/Icons/Media/TextDocument/Text document.svg +0 -3
  329. package/src/Presentation/components/UI/svgs/Icons/Media/TextDocument/index.tsx +0 -22
  330. package/src/Presentation/components/UI/svgs/Icons/Media/VideoFile/Video file.svg +0 -3
  331. package/src/Presentation/components/UI/svgs/Icons/Media/VideoFile/index.tsx +0 -22
  332. package/src/Presentation/components/UI/svgs/Icons/Moderation/Admin/Admin.svg +0 -3
  333. package/src/Presentation/components/UI/svgs/Icons/Moderation/Admin/index.tsx +0 -22
  334. package/src/Presentation/components/UI/svgs/Icons/Moderation/Banned/Banned.svg +0 -3
  335. package/src/Presentation/components/UI/svgs/Icons/Moderation/Banned/index.tsx +0 -22
  336. package/src/Presentation/components/UI/svgs/Icons/Moderation/Freeze/Freeze.svg +0 -3
  337. package/src/Presentation/components/UI/svgs/Icons/Moderation/Freeze/index.tsx +0 -22
  338. package/src/Presentation/components/UI/svgs/Icons/Moderation/Moderations/Moderations.svg +0 -3
  339. package/src/Presentation/components/UI/svgs/Icons/Moderation/Moderations/index.tsx +0 -22
  340. package/src/Presentation/components/UI/svgs/Icons/Moderation/Muted/Muted.svg +0 -3
  341. package/src/Presentation/components/UI/svgs/Icons/Moderation/Muted/index.tsx +0 -22
  342. package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowLeft/Arrow left.svg +0 -3
  343. package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowLeft/index.tsx +0 -22
  344. package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowRight/Arrow right.svg +0 -3
  345. package/src/Presentation/components/UI/svgs/Icons/Navigation/ArrowRight/index.tsx +0 -22
  346. package/src/Presentation/components/UI/svgs/Icons/Navigation/Back/Back.svg +0 -3
  347. package/src/Presentation/components/UI/svgs/Icons/Navigation/Back/index.tsx +0 -22
  348. package/src/Presentation/components/UI/svgs/Icons/Navigation/Close/Close.svg +0 -3
  349. package/src/Presentation/components/UI/svgs/Icons/Navigation/Close/index.tsx +0 -35
  350. package/src/Presentation/components/UI/svgs/Icons/Navigation/Down/Down.svg +0 -3
  351. package/src/Presentation/components/UI/svgs/Icons/Navigation/Down/index.tsx +0 -35
  352. package/src/Presentation/components/UI/svgs/Icons/Navigation/Leave/Leave.svg +0 -3
  353. package/src/Presentation/components/UI/svgs/Icons/Navigation/Leave/index.tsx +0 -35
  354. package/src/Presentation/components/UI/svgs/Icons/Navigation/More/More.svg +0 -7
  355. package/src/Presentation/components/UI/svgs/Icons/Navigation/More/index.tsx +0 -22
  356. package/src/Presentation/components/UI/svgs/Icons/Navigation/Next/Next.svg +0 -3
  357. package/src/Presentation/components/UI/svgs/Icons/Navigation/Next/index.tsx +0 -35
  358. package/src/Presentation/components/UI/svgs/Icons/Navigation/Plus/Plus.svg +0 -3
  359. package/src/Presentation/components/UI/svgs/Icons/Navigation/Plus/index.tsx +0 -22
  360. package/src/Presentation/components/UI/svgs/Icons/Navigation/Refresh/Refresh.svg +0 -3
  361. package/src/Presentation/components/UI/svgs/Icons/Navigation/Refresh/index.tsx +0 -36
  362. package/src/Presentation/components/UI/svgs/Icons/Navigation/Search/Search.svg +0 -3
  363. package/src/Presentation/components/UI/svgs/Icons/Navigation/Search/index.tsx +0 -35
  364. package/src/Presentation/components/UI/svgs/Icons/Navigation/Settings/Settings.svg +0 -3
  365. package/src/Presentation/components/UI/svgs/Icons/Navigation/Settings/index.tsx +0 -22
  366. package/src/Presentation/components/UI/svgs/Icons/Navigation/SettingsField/Settings filled.svg +0 -3
  367. package/src/Presentation/components/UI/svgs/Icons/Navigation/SettingsField/index.tsx +0 -22
  368. package/src/Presentation/components/UI/svgs/Icons/Status/Error/Error.svg +0 -3
  369. package/src/Presentation/components/UI/svgs/Icons/Status/Error/index.tsx +0 -36
  370. package/src/Presentation/components/UI/svgs/Icons/Status/Help/Help.svg +0 -3
  371. package/src/Presentation/components/UI/svgs/Icons/Status/Help/index.tsx +0 -22
  372. package/src/Presentation/components/UI/svgs/Icons/Status/Information/Information.svg +0 -3
  373. package/src/Presentation/components/UI/svgs/Icons/Status/Information/index.tsx +0 -22
  374. package/src/Presentation/components/UI/svgs/Icons/Status/InformationFill/index.tsx +0 -35
  375. package/src/Presentation/components/UI/svgs/Icons/Status/Loader/Loader.svg +0 -3
  376. package/src/Presentation/components/UI/svgs/Icons/Status/Loader/index.tsx +0 -22
  377. package/src/Presentation/components/UI/svgs/Icons/Status/Mention/Mention.svg +0 -3
  378. package/src/Presentation/components/UI/svgs/Icons/Status/Mention/index.tsx +0 -22
  379. package/src/Presentation/components/UI/svgs/Icons/Status/Sent/Sent.svg +0 -3
  380. package/src/Presentation/components/UI/svgs/Icons/Status/Sent/index.tsx +0 -22
  381. package/src/Presentation/components/UI/svgs/Icons/Status/ViewedDelivered/Viewed_Delivered.svg +0 -3
  382. package/src/Presentation/components/UI/svgs/Icons/Status/ViewedDelivered/index.tsx +0 -38
  383. package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOff/Camera off.svg +0 -3
  384. package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOff/index.tsx +0 -22
  385. package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOn/Camera on.svg +0 -3
  386. package/src/Presentation/components/UI/svgs/Icons/Toggle/CameraOn/index.tsx +0 -22
  387. package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOff/Check off.svg +0 -3
  388. package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOff/index.tsx +0 -22
  389. package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOn/Check on.svg +0 -3
  390. package/src/Presentation/components/UI/svgs/Icons/Toggle/CheckOn/index.tsx +0 -24
  391. package/src/Presentation/components/UI/svgs/Icons/Toggle/Favourite/Favourite.svg +0 -3
  392. package/src/Presentation/components/UI/svgs/Icons/Toggle/Favourite/index.tsx +0 -22
  393. package/src/Presentation/components/UI/svgs/Icons/Toggle/FavouriteFilled/Favourite filled.svg +0 -3
  394. package/src/Presentation/components/UI/svgs/Icons/Toggle/FavouriteFilled/index.tsx +0 -22
  395. package/src/Presentation/components/UI/svgs/Icons/Toggle/FullScreen/Full screen.svg +0 -3
  396. package/src/Presentation/components/UI/svgs/Icons/Toggle/FullScreen/inex.tsx +0 -22
  397. package/src/Presentation/components/UI/svgs/Icons/Toggle/Hide/Hide.svg +0 -3
  398. package/src/Presentation/components/UI/svgs/Icons/Toggle/Hide/index.tsx +0 -22
  399. package/src/Presentation/components/UI/svgs/Icons/Toggle/ImagePlay/Play.svg +0 -3
  400. package/src/Presentation/components/UI/svgs/Icons/Toggle/ImagePlay/index.tsx +0 -22
  401. package/src/Presentation/components/UI/svgs/Icons/Toggle/Louder/Louder.svg +0 -3
  402. package/src/Presentation/components/UI/svgs/Icons/Toggle/Louder/index.tsx +0 -22
  403. package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOff/Mic off.svg +0 -3
  404. package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOff/index.tsx +0 -22
  405. package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOn/Mic on.svg +0 -4
  406. package/src/Presentation/components/UI/svgs/Icons/Toggle/MicOn/index.tsx +0 -26
  407. package/src/Presentation/components/UI/svgs/Icons/Toggle/Minimize/Minimize.svg +0 -3
  408. package/src/Presentation/components/UI/svgs/Icons/Toggle/Minimize/index.tsx +0 -22
  409. package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOff/Notify off.svg +0 -3
  410. package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOff/index.tsx +0 -35
  411. package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOn/Notify on.svg +0 -3
  412. package/src/Presentation/components/UI/svgs/Icons/Toggle/NotifyOn/index.tsx +0 -35
  413. package/src/Presentation/components/UI/svgs/Icons/Toggle/Pause/Pause.svg +0 -3
  414. package/src/Presentation/components/UI/svgs/Icons/Toggle/Pause/index.tsx +0 -22
  415. package/src/Presentation/components/UI/svgs/Icons/Toggle/Quite/Quite.svg +0 -3
  416. package/src/Presentation/components/UI/svgs/Icons/Toggle/Quite/index.tsx +0 -22
  417. package/src/Presentation/components/UI/svgs/Icons/Toggle/Record/Record.svg +0 -3
  418. package/src/Presentation/components/UI/svgs/Icons/Toggle/Record/index.tsx +0 -22
  419. package/src/Presentation/components/UI/svgs/Icons/Toggle/Screenshare/Screenshare.svg +0 -3
  420. package/src/Presentation/components/UI/svgs/Icons/Toggle/Screenshare/index.tsx +0 -22
  421. package/src/Presentation/components/UI/svgs/Icons/Toggle/Show/Show.svg +0 -3
  422. package/src/Presentation/components/UI/svgs/Icons/Toggle/Show/index.tsx +0 -22
  423. package/src/Presentation/components/UI/svgs/Icons/Toggle/Speaker/Speaker.svg +0 -3
  424. package/src/Presentation/components/UI/svgs/Icons/Toggle/Speaker/index.tsx +0 -22
  425. package/src/Presentation/components/UI/svgs/Icons/Toggle/SpeakerOff/Speaker off.svg +0 -3
  426. package/src/Presentation/components/UI/svgs/Icons/Toggle/SpeakerOff/index.tsx +0 -22
  427. package/src/Presentation/components/UI/svgs/Icons/Toggle/StopRecord/Stop record.svg +0 -3
  428. package/src/Presentation/components/UI/svgs/Icons/Toggle/StopRecord/index.tsx +0 -22
  429. package/src/Presentation/components/UI/svgs/Icons/Toggle/StopShare/Stop share.svg +0 -3
  430. package/src/Presentation/components/UI/svgs/Icons/Toggle/StopShare/index.tsx +0 -22
  431. package/src/Presentation/components/containers/ColumnContainer/ColumnContainer.scss +0 -6
  432. package/src/Presentation/components/containers/ColumnContainer/ColumnContainer.tsx +0 -24
  433. package/src/Presentation/components/containers/RowCenterContainer/RowCenterContainer.scss +0 -45
  434. package/src/Presentation/components/containers/RowCenterContainer/RowCenterContainer.tsx +0 -95
  435. package/src/Presentation/components/containers/RowLeftContainer/RowLeftContainer.scss +0 -45
  436. package/src/Presentation/components/containers/RowLeftContainer/RowLeftContainer.tsx +0 -97
  437. package/src/Presentation/components/containers/RowRightContainer/RowRightContainer.scss +0 -46
  438. package/src/Presentation/components/containers/RowRightContainer/RowRightContainer.tsx +0 -97
  439. package/src/Presentation/components/containers/ScrollableContainer/ScrollableContainer.scss +0 -46
  440. package/src/Presentation/components/containers/ScrollableContainer/ScrollableContainer.tsx +0 -85
  441. package/src/Presentation/components/layouts/Desktop/Desktop.tsx +0 -103
  442. package/src/Presentation/components/layouts/Desktop/DesktopLayout.scss +0 -31
  443. package/src/Presentation/components/layouts/Desktop/DesktopLayoutForMockModels.tsx +0 -31
  444. package/src/Presentation/components/layouts/LayoutCommonTypes.ts +0 -7
  445. package/src/Presentation/components/layouts/TestStage/LoginView/Login.scss +0 -71
  446. package/src/Presentation/components/layouts/TestStage/LoginView/Login.tsx +0 -116
  447. package/src/Presentation/components/layouts/TestStage/TestStageMarkup.scss +0 -24
  448. package/src/Presentation/components/layouts/TestStage/TestStageMarkup.tsx +0 -1109
  449. package/src/Presentation/components/layouts/TestStage/TestStageWithMockData/TestStageWithMockData.tsx +0 -209
  450. package/src/Presentation/components/providers/ModalContextProvider/Modal.scss +0 -71
  451. package/src/Presentation/components/providers/ModalContextProvider/Modal.tsx +0 -131
  452. package/src/Presentation/components/providers/ModalContextProvider/ModalContextProvider.tsx +0 -38
  453. package/src/Presentation/components/providers/ModalContextProvider/useModal.ts +0 -39
  454. package/src/Presentation/components/providers/ProviderProps.ts +0 -5
  455. package/src/Presentation/components/providers/QuickBloxUIKitProvider/QuickBloxUIKitProvider.tsx +0 -255
  456. package/src/Presentation/components/providers/QuickBloxUIKitProvider/useEventMessagesRepository.ts +0 -10
  457. package/src/Presentation/components/providers/QuickBloxUIKitProvider/useQBConnection.ts +0 -38
  458. package/src/Presentation/components/providers/QuickBloxUIKitProvider/useQbDataContext.ts +0 -82
  459. package/src/QBconfig.ts +0 -41
  460. package/src/index-ui.ts +0 -60
  461. package/src/index.scss +0 -74
  462. package/src/index.tsx +0 -25
  463. package/src/logo.svg +0 -1
  464. package/src/qb-api-calls/index.ts +0 -543
  465. package/src/react-app-env.d.ts +0 -1
  466. package/src/setupTests.ts +0 -5
  467. package/src/utils/DateTimeFormatter.ts +0 -35
  468. package/src/utils/parse.ts +0 -74
  469. package/tsconfig.json +0 -33
  470. package/typedoc.json +0 -4
  471. package/webpack.config.js +0 -56
  472. /package/dist/Presentation/{components/UI → assets}/ DefaultThemes/CustomTheme.d.ts +0 -0
package/README.md CHANGED
@@ -1,255 +1,288 @@
1
- # Overview
2
-
3
- The QuickBlox UIKit for React is a comprehensive user interface kit specifically designed for building chat applications. It provides a collection of pre-built components, modules, and utilities that simplify the process of creating chat applications.
4
-
5
- The main goal of the QuickBlox UIKit for React is to offer developers a streamlined and efficient way to implement chat functionality within their React applications.
6
-
7
- The QuickBlox UIKit for React offers modules that encapsulate complex chat functionalities, such as dialogs and chat management and real-time updates. These modules provide a simplified interface for integrating chat features into applications without the need for extensive knowledge of the underlying protocols or server-side infrastructure.
8
-
9
- ## Features
10
-
11
- QuickBlox UIKit for React provides next functionality:
12
- - List of dialogs
13
- - Create dialog(Private or Group)
14
- - Dialog screen
15
- - Send text, image, video, audio, file messages
16
- - Dialog info screen
17
- - List, invite, remove members
18
-
19
- # Send your first message
20
-
21
- The QuickBlox UIKit for React comprises a collection of pre-assembled UI components that enable effortless creation of an in-app chat equipped with all the necessary messaging functionalities. Our development kit encompasses light and dark themes, colors, and various other features. These components can be personalized to fashion an engaging messaging interface that reflects your brand's distinct identity.
22
-
23
- The QuickBlox UIKit fully supports both private and group dialogs. To initiate the process of sending a message from the ground up using Java or Kotlin, please refer to the instructions provided in the guide below.
24
-
25
- ## Requirements
26
-
27
- The minimum requirements for QuickBlox UIKit for React are:
28
- - JS QuickBlox SDK v2.15.5
29
- - React v.18.0
30
- - TypeScript v.4.9.3
31
-
32
- # Before you begin
33
-
34
- Register a new account following [this link](https://admin.quickblox.com/signup). Type in your email and password to sign in. You can also sign in with your Google or Github accounts.
35
- Create the app clicking New app button.
36
- Configure the app. Type in the information about your organization into corresponding fields and click Add button.
37
- Go to Dashboard => YOUR_APP => Overview section and copy your Application ID, Authorization Key, Authorization Secret, and Account Key .
38
-
39
- ## Install QuickBlox SDK
40
-
41
- ```
42
- npm install quickblox
43
- ```
44
-
45
- ## Install QuickBlox UIKit
46
-
47
- ```
48
- npm install quickblox-react-ui-kit
49
- ```
50
-
51
- ## Init QuickBlox SDK
52
-
53
- To init QuickBlox SDK you need to pass Application ID, Authorization Key, Authorization Secret, and Account Key to the init() method.
54
-
55
- ```
56
- var APPLICATION_ID = 41;
57
- var AUTH_KEY = "lkjdueksu7392kj";
58
- var AUTH_SECRET = "iiohfdija792hj";
59
- var ACCOUNT_KEY = "sdjfnksnlk2bk1k34kb";
60
- var CONFIG = { debug: true };
61
-
62
- QB.init(APPLICATION_ID, AUTH_KEY, AUTH_SECRET, ACCOUNT_KEY, CONFIG);
63
- ```
64
-
65
- ## Authentication
66
-
67
- Before sending your first message you need to authenticate users in the QuickBlox system. You can read more about different ways of authentication by [this link](https://docs.quickblox.com/docs/js-authentication).
68
- In our example we show how to authenticate user with login and password.
69
-
70
- ```
71
- import * as QB from "quickblox/quickblox";
72
- import { QuickBloxUIKitProvider } from 'quickblox-ui-kit-react/dist/index-ui';
73
-
74
- var params = { login: "garry", password: "garry5santos" };
75
-
76
- QB.login(params, function(error, result) {
77
- if(error){
78
- } else {
79
- // Navigate User to the UIKit
80
- });
81
- ```
82
- To order to config quickblox ui kit provider
83
- ```
84
- <QuickBloxUIKitProvider
85
- maxFileSize={100 * 1000000} //set max size for attachments
86
- >
87
- <Desktop> // container for DesktopLayout
88
- </QuickBloxUIKitProvider>
89
- ```
90
-
91
- # Customization
92
-
93
- The QuickBlox UIKit for React allows you to create your own unique view of the UIKit.
94
-
95
- ## Default themes
96
- The QuickBlox UIKit for React has 2 built in themes: Dark and Light.
97
- Default theme for UIKit is Light.
98
- To set theme you need to set value 'dark' to key data-theme in global styles (html[data-theme="dark”]).
99
- For example, you can use pure JavaScript:
100
-
101
- ```
102
- document.documentElement.setAttribute('data-theme', 'dark');
103
- ```
104
-
105
- ## Use your own theme
106
-
107
- There are two options how you can create your own theme:
108
- - Customize current theme using css
109
- - Create your own theme to customize selected components
110
-
111
- To customize the current theme you just need to set the new colors in css variables.
112
-
113
- Or you can create your own theme. To do this you need to create a new class that implements the UiKitTheme interface.
114
-
115
- To use your own theme using css you need to create _theme_colors_scheme.scss and set colors
116
- ```
117
- $background-overlay-light: rgba(19, 29, 40, .80);
118
- $background-overlay-dark: rgba(144, 151, 159, .80);
119
- $primary-50: #E7EFFF;
120
- $primary-100: #C4D7FE;
121
- $primary-200: #9CBCFE;
122
- $primary-300: #74A1FD;
123
- $primary-400: #578CFC;
124
- $primary-500: #3978FC;
125
- $primary-600: #3370FC;
126
- $primary-700: #2C65FB;
127
- $primary-800: #245BFB;
128
- $primary-900: #1748FA;
129
- $primary-a-100: #FFFFFF;
130
- $primary-a-200: #F7F9FF;
131
- $primary-a-400: #C4CFFF;
132
- $primary-a-700: #ABBAFF;
133
- $secondary-50: #E4E6E8;
134
- $secondary-100: #BCC1C5;
135
- $secondary-200: #90979F;
136
- $secondary-300: #636D78;
137
- $secondary-400: #414E5B;
138
- $secondary-500: #202F3E;
139
- $secondary-600: #1C2A38;
140
- $secondary-700: #182330;
141
- $secondary-800: #131D28;
142
- $secondary-900: #0B121B;
143
- $secondary-a-100: #74A1FD;
144
- $secondary-a-200: #3978FC;
145
- $secondary-a-400: #245BFB;
146
- $secondary-a-700: #0050DC;
147
- $system-green-100: #C8F1D6;
148
- $system-green-200: #A4E7BB;
149
- $system-green-300: #80DDA0;
150
- $system-green-400: #64D68B;
151
- $system-green-500: #49CF77;
152
- $error-100: #FFC4C1;
153
- $error-200: #FF9D98;
154
- $error-300: #FF766E;
155
- $error-400: #FF584F;
156
- $error-500: #FF3B30;
157
- $information: #FDB0FF;
158
- $highlight: #FFFDC1;
159
-
160
- ```
161
- To use your own new theme colors create _theme_dark.scss and _theme_light.scss files and set color variable.
162
- ```
163
- // _theme_dark.scss:
164
-
165
- html[data-theme="dark"]{
166
- --color-background-info: #{$primary-500};
167
- --tertiary-elements: #{$background-overlay-dark};
168
- --main-elements: #{$primary-300};
169
- --secondary-elements: #{$primary-a-100};
170
- --input-elements: #{$secondary-200};
171
- --disabled-elements: #{$secondary-300};
172
- --field-border: #{$secondary-200};
173
- --main-text: #{$primary-a-100};
174
- --secondary-text: #{$secondary-200};
175
- --caption: #{$secondary-100};
176
- --main-background: #{$secondary-500};
177
- --secondary-background: #{$secondary-800};
178
- --incoming-background: #{$secondary-400};
179
- --outgoing-background: #{$primary-500};
180
- --dropdown-background: #{$secondary-400};
181
- --chat-input: #{$secondary-800};
182
- --divider: #{$secondary-400};
183
- --error: #{$error-300};
184
- --hightlight: #{$highlight};
185
- }
186
-
187
- // _theme_light.scss:
188
- :root{
189
- --color-background-info:#{$primary-100};
190
- --tertiary-elements: #{$secondary-300};
191
- --main-elements: #{$primary-500};
192
- --secondary-elements: #{$secondary-500};
193
- --input-elements: #{$secondary-500};
194
- --disabled-elements: #{$secondary-100};
195
- --field-border: #{$secondary-200};
196
- --main-text: #{$secondary-900};
197
- --secondary-text: #{$secondary-300};
198
- --caption: #{$secondary-200};
199
- --main-background: #{$primary-a-100};
200
- --secondary-background: #{$primary-a-100};
201
- --secondary-background-modal: #{$background-overlay-light};
202
- --incoming-background: #{$secondary-50};
203
- --outgoing-background: #{$primary-50};
204
- --dropdown-background: #{$primary-a-100};
205
- --chat-input: #{$primary-a-200};
206
- --divider: #{$primary-50};
207
- --error: #{$error-500};
208
- --hightlight: #{$highlight};
209
- }
210
- ```
211
- To create your own theme to customize selected components you need to create a new class that implements the UiKitTheme interface.
212
- ```
213
- //DefaultTheme implements UiKitTheme
214
- export default class CustomTheme extends DefaultTheme {
215
- divider = (): string => 'var(--divider)';
216
- mainText = (): string => '#FFFFFF';
217
- fontFamily = (): string => 'Roboto';
218
- /*
219
- The DefaultTheme contains other theme methods :
220
- caption = (): string => 'var(--caption)';
221
- chatInput = (): string => 'var(--chat-input)';
222
- disabledElements = (): string => 'var(--disabled-elements)';
223
- dropdownBackground = (): string => 'var(--dropdown-background)';
224
- error = (): string => 'var(--error)';
225
- fieldBorder = (): string => 'var(--field-border)';
226
- hightlight = (): string => 'var(--hightlight)';
227
- incomingBackground = (): string => 'var(--incoming-background)';
228
- inputElements = (): string => 'var(--input-elements)';
229
- mainBackground = (): string => 'var(--main-background)';
230
- mainElements = (): string => 'var(--main-elements)';
231
- outgoingBackground = (): string => 'var(--outgoing-background)';
232
- secondaryBackground = (): string => 'var(--secondary-background)';
233
- secondaryElements = (): string => 'var(--secondary-elements)';
234
- secondaryText = (): string => 'var(--secondary-text)';
235
- */
236
- }
237
- ```
238
- and specify selected components:
239
- - desktop layout container
240
- ```
241
- <QuickBloxUIKitDesktopLayout theme={new CustomTheme()}>
242
- ```
243
- - header of dialogs
244
- ```
245
- <HeaderDialogs title="Dialog 2" theme={new CustomTheme()} />
246
- ```
247
- - item of dialogs
248
- ```
249
- <PreviewDialog
250
- theme={{ selected: true, muted: true, colorTheme={new CustomTheme()} }}
251
- title="Dialog with states"
252
- unreadMessageCount={9}
253
- message_date_time_sent="5 min ago"
254
- />
255
- ```
1
+ # Overview
2
+
3
+ The QuickBlox UIKit for React is a comprehensive user interface kit specifically designed for building chat applications. It provides a collection of pre-built components, modules, and utilities that simplify the process of creating chat applications.
4
+
5
+ The main goal of the QuickBlox UIKit for React is to offer developers a streamlined and efficient way to implement chat functionality within their React applications.
6
+
7
+ The QuickBlox UIKit for React offers modules that encapsulate complex chat functionalities, such as dialogs and chat management and real-time updates. These modules provide a simplified interface for integrating chat features into applications without the need for extensive knowledge of the underlying protocols or server-side infrastructure.
8
+
9
+ # Screenshots
10
+
11
+ Chat dashboard with list of dialogs and create new chat dialog;
12
+
13
+ ![dashboard!](./src/Presentation/assets/img/web-doc.png "chats dashboard")
14
+
15
+ ## Features
16
+
17
+ QuickBlox UIKit for React provides next functionality:
18
+ - List of dialogs
19
+ - Create dialog(Private or Group)
20
+ - Dialog screen
21
+ - Send text, image, video, audio, file messages
22
+ - Dialog info screen
23
+ - List, invite, remove members
24
+
25
+ # Send your first message
26
+
27
+ The QuickBlox UIKit for React comprises a collection of pre-assembled UI components that enable effortless creation of an in-app chat equipped with all the necessary messaging functionalities. Our development kit encompasses light and dark themes, colors, and various other features. These components can be personalized to fashion an engaging messaging interface that reflects your brand's distinct identity.
28
+
29
+ The QuickBlox UIKit fully supports both private and group dialogs. To initiate the process of sending a message from the ground up using Java or Kotlin, please refer to the instructions provided in the guide below.
30
+
31
+ ## Requirements
32
+
33
+ The minimum requirements for QuickBlox UIKit for React are:
34
+ - JS QuickBlox SDK v2.15.5
35
+ - React v.18.0
36
+ - TypeScript v.4.9.3
37
+
38
+ # Before you begin
39
+
40
+ Register a new account following [this link](https://admin.quickblox.com/signup). Type in your email and password to sign in. You can also sign in with your Google or Github accounts.
41
+ Create the app clicking New app button.
42
+ Configure the app. Type in the information about your organization into corresponding fields and click Add button.
43
+ Go to Dashboard => YOUR_APP => Overview section and copy your Application ID, Authorization Key, Authorization Secret, and Account Key .
44
+
45
+ ## Install QuickBlox SDK
46
+
47
+ ```
48
+ npm install quickblox
49
+ ```
50
+
51
+ ## Install QuickBlox UIKit
52
+
53
+ ```
54
+ npm install quickblox-react-ui-kit
55
+ ```
56
+
57
+ ## Init QuickBlox SDK
58
+
59
+ To init QuickBlox SDK you need to pass Application ID, Authorization Key, Authorization Secret, and Account Key to the init() method.
60
+
61
+ ```
62
+ var APPLICATION_ID = 41;
63
+ var AUTH_KEY = "lkjdueksu7392kj";
64
+ var AUTH_SECRET = "iiohfdija792hj";
65
+ var ACCOUNT_KEY = "sdjfnksnlk2bk1k34kb";
66
+ var CONFIG = { debug: true };
67
+
68
+ QB.init(APPLICATION_ID, AUTH_KEY, AUTH_SECRET, ACCOUNT_KEY, CONFIG);
69
+ ```
70
+
71
+ ## Authentication
72
+
73
+ Before sending your first message you need to authenticate users in the QuickBlox system. You can read more about different ways of authentication by [this link](https://docs.quickblox.com/docs/js-authentication).
74
+ In our example we show how to authenticate user with login and password.
75
+
76
+ ```
77
+ import * as QB from "quickblox/quickblox";
78
+ import { QuickBloxUIKitProvider } from 'quickblox-ui-kit-react/dist/index-ui';
79
+
80
+ var params = { login: "garry", password: "garry5santos" };
81
+
82
+ QB.login(params, function(error, result) {
83
+ if(error){
84
+ } else {
85
+ // Navigate User to the UIKit
86
+ });
87
+ ```
88
+ To order to config quickblox ui kit provider
89
+ ```
90
+ <QuickBloxUIKitProvider
91
+ maxFileSize={100 * 1000000} //set max size for attachments
92
+ >
93
+ <Desktop> // container for DesktopLayout
94
+ </QuickBloxUIKitProvider>
95
+ ```
96
+
97
+ # Customization
98
+
99
+ The QuickBlox UIKit for React allows you to create your own unique view of the UIKit.
100
+
101
+ ## Default themes
102
+ The QuickBlox UIKit for React has 2 built in themes: Dark and Light.
103
+ Default theme for UIKit is Light.
104
+ To set theme you need to set value 'dark' to key data-theme in global styles (html[data-theme="dark”]).
105
+ For example, you can use pure JavaScript:
106
+
107
+ ```
108
+ document.documentElement.setAttribute('data-theme', 'dark');
109
+ ```
110
+
111
+ ## Use your own theme
112
+
113
+ There are two options how you can create your own theme:
114
+ - Customize current theme using css
115
+ - Create your own theme to customize selected components
116
+
117
+ To customize the current theme you just need to set the new colors in css variables.
118
+
119
+ Or you can create your own theme. To do this you need to create a new class that implements the UiKitTheme interface.
120
+
121
+ To use your own theme using css you need to create _theme_colors_scheme.scss and set colors
122
+ ```
123
+ $background-overlay-light: rgba(19, 29, 40, .80);
124
+ $background-overlay-dark: rgba(144, 151, 159, .80);
125
+ $primary-50: #E7EFFF;
126
+ $primary-100: #C4D7FE;
127
+ $primary-200: #9CBCFE;
128
+ $primary-300: #74A1FD;
129
+ $primary-400: #578CFC;
130
+ $primary-500: #3978FC;
131
+ $primary-600: #3370FC;
132
+ $primary-700: #2C65FB;
133
+ $primary-800: #245BFB;
134
+ $primary-900: #1748FA;
135
+ $primary-a-100: #FFFFFF;
136
+ $primary-a-200: #F7F9FF;
137
+ $primary-a-400: #C4CFFF;
138
+ $primary-a-700: #ABBAFF;
139
+ $secondary-50: #E4E6E8;
140
+ $secondary-100: #BCC1C5;
141
+ $secondary-200: #90979F;
142
+ $secondary-300: #636D78;
143
+ $secondary-400: #414E5B;
144
+ $secondary-500: #202F3E;
145
+ $secondary-600: #1C2A38;
146
+ $secondary-700: #182330;
147
+ $secondary-800: #131D28;
148
+ $secondary-900: #0B121B;
149
+ $secondary-a-100: #74A1FD;
150
+ $secondary-a-200: #3978FC;
151
+ $secondary-a-400: #245BFB;
152
+ $secondary-a-700: #0050DC;
153
+ $system-green-100: #C8F1D6;
154
+ $system-green-200: #A4E7BB;
155
+ $system-green-300: #80DDA0;
156
+ $system-green-400: #64D68B;
157
+ $system-green-500: #49CF77;
158
+ $error-100: #FFC4C1;
159
+ $error-200: #FF9D98;
160
+ $error-300: #FF766E;
161
+ $error-400: #FF584F;
162
+ $error-500: #FF3B30;
163
+ $information: #FDB0FF;
164
+ $highlight: #FFFDC1;
165
+
166
+ ```
167
+ To use your own new theme colors create _theme_dark.scss and _theme_light.scss files and set color variable.
168
+ ```
169
+ // _theme_dark.scss:
170
+
171
+ html[data-theme="dark"]{
172
+ --color-background-info: #{$primary-500};
173
+ --tertiary-elements: #{$background-overlay-dark};
174
+ --main-elements: #{$primary-300};
175
+ --secondary-elements: #{$primary-a-100};
176
+ --input-elements: #{$secondary-200};
177
+ --disabled-elements: #{$secondary-300};
178
+ --field-border: #{$secondary-200};
179
+ --main-text: #{$primary-a-100};
180
+ --secondary-text: #{$secondary-200};
181
+ --caption: #{$secondary-100};
182
+ --main-background: #{$secondary-500};
183
+ --secondary-background: #{$secondary-800};
184
+ --incoming-background: #{$secondary-400};
185
+ --outgoing-background: #{$primary-500};
186
+ --dropdown-background: #{$secondary-400};
187
+ --chat-input: #{$secondary-800};
188
+ --divider: #{$secondary-400};
189
+ --error: #{$error-300};
190
+ --hightlight: #{$highlight};
191
+ }
192
+
193
+ // _theme_light.scss:
194
+ :root{
195
+ --color-background-info:#{$primary-100};
196
+ --tertiary-elements: #{$secondary-300};
197
+ --main-elements: #{$primary-500};
198
+ --secondary-elements: #{$secondary-500};
199
+ --input-elements: #{$secondary-500};
200
+ --disabled-elements: #{$secondary-100};
201
+ --field-border: #{$secondary-200};
202
+ --main-text: #{$secondary-900};
203
+ --secondary-text: #{$secondary-300};
204
+ --caption: #{$secondary-200};
205
+ --main-background: #{$primary-a-100};
206
+ --secondary-background: #{$primary-a-100};
207
+ --secondary-background-modal: #{$background-overlay-light};
208
+ --incoming-background: #{$secondary-50};
209
+ --outgoing-background: #{$primary-50};
210
+ --dropdown-background: #{$primary-a-100};
211
+ --chat-input: #{$primary-a-200};
212
+ --divider: #{$primary-50};
213
+ --error: #{$error-500};
214
+ --hightlight: #{$highlight};
215
+ }
216
+ ```
217
+ To create your own theme to customize selected components you need to create a new class that implements the UiKitTheme interface.
218
+ ```
219
+ //DefaultTheme implements UiKitTheme
220
+ export default class CustomTheme extends DefaultTheme {
221
+ divider = (): string => 'var(--divider)';
222
+ mainText = (): string => '#FFFFFF';
223
+ fontFamily = (): string => 'Roboto';
224
+ /*
225
+ The DefaultTheme contains other theme methods :
226
+ caption = (): string => 'var(--caption)';
227
+ chatInput = (): string => 'var(--chat-input)';
228
+ disabledElements = (): string => 'var(--disabled-elements)';
229
+ dropdownBackground = (): string => 'var(--dropdown-background)';
230
+ error = (): string => 'var(--error)';
231
+ fieldBorder = (): string => 'var(--field-border)';
232
+ hightlight = (): string => 'var(--hightlight)';
233
+ incomingBackground = (): string => 'var(--incoming-background)';
234
+ inputElements = (): string => 'var(--input-elements)';
235
+ mainBackground = (): string => 'var(--main-background)';
236
+ mainElements = (): string => 'var(--main-elements)';
237
+ outgoingBackground = (): string => 'var(--outgoing-background)';
238
+ secondaryBackground = (): string => 'var(--secondary-background)';
239
+ secondaryElements = (): string => 'var(--secondary-elements)';
240
+ secondaryText = (): string => 'var(--secondary-text)';
241
+ */
242
+ }
243
+ ```
244
+ and specify selected components:
245
+ - desktop layout container
246
+ ```
247
+ <QuickBloxUIKitDesktopLayout theme={new CustomTheme()}>
248
+ ```
249
+ - header of dialogs
250
+ ```
251
+ <HeaderDialogs title="Dialog 2" theme={new CustomTheme()} />
252
+ ```
253
+ - item of dialogs
254
+ ```
255
+ <PreviewDialog
256
+ theme={{ selected: true, muted: true, colorTheme={new CustomTheme()} }}
257
+ title="Dialog with states"
258
+ unreadMessageCount={9}
259
+ message_date_time_sent="5 min ago"
260
+ />
261
+ ```
262
+ # Sample
263
+
264
+ https://github.com/QuickBlox/quickblox-javascript-sdk/tree/gh-pages/samples/react-chat
265
+
266
+ # License
267
+ [](#license)
268
+ MIT License [here](https://github.com/QuickBlox/react-ui-kit/blob/main/LICENSE.md).
269
+
270
+ Copyright © 2023 QuickBlox.
271
+
272
+ Permission is hereby granted, free of charge, to any person obtaining a copy
273
+ of this software and associated documentation files (the "Software"), to deal
274
+ in the Software without restriction, including without limitation the rights
275
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
276
+ copies of the Software, and to permit persons to whom the Software is
277
+ furnished to do so, subject to the following conditions:
278
+
279
+ The above copyright notice and this permission notice shall be included in all
280
+ copies or substantial portions of the Software.
281
+
282
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
283
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
284
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
285
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
286
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
287
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
288
+ SOFTWARE.
@@ -4,10 +4,13 @@ import { FunctionTypeViewModelToVoid } from '../Base/BaseViewModel';
4
4
  import { ThemeNames } from '../../components/UI/Dialogs/PreviewDialog/PreviewDialog';
5
5
  import { DialogsViewModel } from './DialogViewModel';
6
6
  import { DialogEntity } from '../../../Domain/entity/DialogEntity';
7
+ import UiKitTheme from '../../assets/UiKitTheme';
7
8
  type DialogsComponentSettings = {
8
9
  themeName?: ThemeNames;
9
10
  withoutHeader?: boolean;
10
11
  useSubHeader?: boolean;
12
+ themeHeader?: UiKitTheme;
13
+ themePreview?: UiKitTheme;
11
14
  };
12
15
  type DialogsProps = {
13
16
  header?: React.ReactNode;
@@ -1,2 +1,4 @@
1
+ import { QBDataContextType } from '../../components/providers/QuickBloxUIKitProvider/QuickBloxUIKitProvider';
2
+ import { Pagination } from '../../../Domain/repository/Pagination';
1
3
  import { DialogsViewModel } from './DialogViewModel';
2
- export default function useDialogsViewModel(): DialogsViewModel;
4
+ export default function useDialogsViewModel(currentContext: QBDataContextType, initPagination?: Pagination): DialogsViewModel;
@@ -1,5 +1,5 @@
1
- import Theme from '../../../assets/Theme';
2
- export default class DefaultTheme implements Theme {
1
+ import UiKitTheme from '../UiKitTheme';
2
+ export default class DefaultTheme implements UiKitTheme {
3
3
  divider: () => string;
4
4
  mainText: () => string;
5
5
  fontFamily: () => string;
@@ -1,5 +1,5 @@
1
- import Theme from './Theme';
2
- export default class DarkTheme implements Theme {
1
+ import UiKitTheme from './UiKitTheme';
2
+ export default class DarkTheme implements UiKitTheme {
3
3
  caption: () => string;
4
4
  chatInput: () => string;
5
5
  disabledElements: () => string;
@@ -1,5 +1,5 @@
1
- import Theme from './Theme';
2
- export default class LightTheme implements Theme {
1
+ import UiKitTheme from './UiKitTheme';
2
+ export default class LightTheme implements UiKitTheme {
3
3
  caption: () => string;
4
4
  chatInput: () => string;
5
5
  disabledElements: () => string;
@@ -1,4 +1,4 @@
1
- export default interface Theme {
1
+ export default interface UiKitTheme {
2
2
  mainElements(): string;
3
3
  secondaryElements(): string;
4
4
  inputElements(): string;
@@ -1,14 +1,14 @@
1
1
  import React from 'react';
2
2
  import './HeaderDialogs.scss';
3
3
  import { FunctionTypeVoidToVoid } from '../../../../Views/Base/BaseViewModel';
4
- import Theme from '../../../../assets/Theme';
4
+ import UiKitTheme from '../../../../assets/UiKitTheme';
5
5
  type HeaderDialogsProps = {
6
6
  title?: string;
7
7
  clickSearchHandler?: FunctionTypeVoidToVoid;
8
8
  touchSearchHandler?: FunctionTypeVoidToVoid;
9
9
  ClickActionHandler?: FunctionTypeVoidToVoid;
10
10
  TouchActionHandler?: FunctionTypeVoidToVoid;
11
- theme?: Theme;
11
+ theme?: UiKitTheme;
12
12
  settings?: any;
13
13
  };
14
14
  declare const HeaderDialogs: React.FC<HeaderDialogsProps>;
@@ -2,10 +2,12 @@ import React from 'react';
2
2
  import './InviteMembers.scss';
3
3
  import { FunctionTypeVoidToVoid } from '../../../../Views/Base/BaseViewModel';
4
4
  import { DialogType } from '../../../../../Domain/entity/DialogTypes';
5
+ import { OpenDialogArcheType } from '../EditDialog/EditDialog';
5
6
  export type FunctionTypeUserEntitiesToVoid = (userIdsForInvite: number[], usersIdsForRemove: number[]) => void;
6
7
  type InviteMembersProps = {
7
8
  typeDialog: DialogType;
8
9
  idOwnerDialog: string;
10
+ typeAddEditDialog: OpenDialogArcheType;
9
11
  applyInviteUsersHandler: FunctionTypeUserEntitiesToVoid;
10
12
  participants?: number[];
11
13
  cancelInviteMembersHandler?: FunctionTypeVoidToVoid;