@yonus_amire01/chat 1.0.0 → 2.0.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 (360) hide show
  1. package/README.md +8 -8
  2. package/dist/chat.css +1 -0
  3. package/dist/index.cjs +7 -5
  4. package/dist/index.mjs +81634 -8799
  5. package/dist/signature_pad-BvnS6ckP.cjs +4 -0
  6. package/dist/signature_pad-CSadMJ3H.js +478 -0
  7. package/dist/types/app/components/ChatPage.vue.d.ts +3 -0
  8. package/dist/types/app/components/ChatPage.vue.d.ts.map +1 -0
  9. package/dist/types/app/components/call/CallBoard.vue.d.ts +33 -0
  10. package/dist/types/app/components/call/CallBoard.vue.d.ts.map +1 -0
  11. package/dist/types/app/components/call/CallMemberDisplay.vue.d.ts +16 -0
  12. package/dist/types/app/components/call/CallMemberDisplay.vue.d.ts.map +1 -0
  13. package/dist/types/app/components/call/CallPageOverlay.vue.d.ts +7 -0
  14. package/dist/types/app/components/call/CallPageOverlay.vue.d.ts.map +1 -0
  15. package/dist/types/app/components/call/paint-board/BoardColorPicker.vue.d.ts +24 -0
  16. package/dist/types/app/components/call/paint-board/BoardColorPicker.vue.d.ts.map +1 -0
  17. package/dist/types/app/components/call/paint-board/BrushSizeSlider.vue.d.ts +19 -0
  18. package/dist/types/app/components/call/paint-board/BrushSizeSlider.vue.d.ts.map +1 -0
  19. package/dist/types/app/components/call/paint-board/CallPaintBoard.vue.d.ts +47 -0
  20. package/dist/types/app/components/call/paint-board/CallPaintBoard.vue.d.ts.map +1 -0
  21. package/dist/types/app/components/chat/ChatBubble.vue.d.ts +164 -0
  22. package/dist/types/app/components/chat/ChatBubble.vue.d.ts.map +1 -0
  23. package/dist/types/app/components/chat/ChatInput.vue.d.ts +56 -0
  24. package/dist/types/app/components/chat/ChatInput.vue.d.ts.map +1 -0
  25. package/dist/types/app/components/chat/ChatMessages.vue.d.ts +16 -0
  26. package/dist/types/app/components/chat/ChatMessages.vue.d.ts.map +1 -0
  27. package/dist/types/app/components/chat/ChatPageBar.vue.d.ts +17 -0
  28. package/dist/types/app/components/chat/ChatPageBar.vue.d.ts.map +1 -0
  29. package/dist/types/app/components/chat/ChatProfileOverview.vue.d.ts +11 -0
  30. package/dist/types/app/components/chat/ChatProfileOverview.vue.d.ts.map +1 -0
  31. package/dist/types/app/components/chat/ChatView.vue.d.ts +73 -0
  32. package/dist/types/app/components/chat/ChatView.vue.d.ts.map +1 -0
  33. package/dist/types/app/components/chat/chat-bubbles/BubbleOptions.vue.d.ts +119 -0
  34. package/dist/types/app/components/chat/chat-bubbles/BubbleOptions.vue.d.ts.map +1 -0
  35. package/dist/types/app/components/chat/chat-bubbles/BubbleVideo.vue.d.ts +25 -0
  36. package/dist/types/app/components/chat/chat-bubbles/BubbleVideo.vue.d.ts.map +1 -0
  37. package/dist/types/app/components/chat/chat-bubbles/FileDisplay.vue.d.ts +12 -0
  38. package/dist/types/app/components/chat/chat-bubbles/FileDisplay.vue.d.ts.map +1 -0
  39. package/dist/types/app/components/chat/chat-bubbles/ImageGroupDisplay.vue.d.ts +12 -0
  40. package/dist/types/app/components/chat/chat-bubbles/ImageGroupDisplay.vue.d.ts.map +1 -0
  41. package/dist/types/app/components/chat/chat-bubbles/VoiceDisplay.vue.d.ts +12 -0
  42. package/dist/types/app/components/chat/chat-bubbles/VoiceDisplay.vue.d.ts.map +1 -0
  43. package/dist/types/app/components/chat/chat-input/AttachementFileDisplay.vue.d.ts +12 -0
  44. package/dist/types/app/components/chat/chat-input/AttachementFileDisplay.vue.d.ts.map +1 -0
  45. package/dist/types/app/components/chat/chat-input/InputAttachement.vue.d.ts +15 -0
  46. package/dist/types/app/components/chat/chat-input/InputAttachement.vue.d.ts.map +1 -0
  47. package/dist/types/app/components/chat/chat-input/PermissionPopup.vue.d.ts +16 -0
  48. package/dist/types/app/components/chat/chat-input/PermissionPopup.vue.d.ts.map +1 -0
  49. package/dist/types/app/components/chat/chat-input/VideoRecordDisplay.vue.d.ts +26 -0
  50. package/dist/types/app/components/chat/chat-input/VideoRecordDisplay.vue.d.ts.map +1 -0
  51. package/dist/types/app/components/chat/contact/ChatContactDisplay.vue.d.ts +8 -0
  52. package/dist/types/app/components/chat/contact/ChatContactDisplay.vue.d.ts.map +1 -0
  53. package/dist/types/app/components/chat/contact/ChatList.vue.d.ts +5 -0
  54. package/dist/types/app/components/chat/contact/ChatList.vue.d.ts.map +1 -0
  55. package/dist/types/app/components/chat/contact/ChatListSearch.vue.d.ts +12 -0
  56. package/dist/types/app/components/chat/contact/ChatListSearch.vue.d.ts.map +1 -0
  57. package/dist/types/app/components/chat/contact/ContactAvatar.vue.d.ts +10 -0
  58. package/dist/types/app/components/chat/contact/ContactAvatar.vue.d.ts.map +1 -0
  59. package/dist/types/app/components/chat/profile/FileDisplay.vue.d.ts +9 -0
  60. package/dist/types/app/components/chat/profile/FileDisplay.vue.d.ts.map +1 -0
  61. package/dist/types/app/components/general/FileFormatDisplay.vue.d.ts +16 -0
  62. package/dist/types/app/components/general/FileFormatDisplay.vue.d.ts.map +1 -0
  63. package/dist/types/app/components/general/LoadingStatus.vue.d.ts +16 -0
  64. package/dist/types/app/components/general/LoadingStatus.vue.d.ts.map +1 -0
  65. package/dist/types/app/components/general/NoDataDisplay.vue.d.ts +7 -0
  66. package/dist/types/app/components/general/NoDataDisplay.vue.d.ts.map +1 -0
  67. package/dist/types/app/components/general/SafeEmojiText.vue.d.ts +10 -0
  68. package/dist/types/app/components/general/SafeEmojiText.vue.d.ts.map +1 -0
  69. package/dist/types/app/components/global/BButton.vue.d.ts +74 -0
  70. package/dist/types/app/components/global/BButton.vue.d.ts.map +1 -0
  71. package/dist/types/app/components/global/BCarousel.vue.d.ts +47 -0
  72. package/dist/types/app/components/global/BCarousel.vue.d.ts.map +1 -0
  73. package/dist/types/app/components/global/BCheckBox.vue.d.ts +30 -0
  74. package/dist/types/app/components/global/BCheckBox.vue.d.ts.map +1 -0
  75. package/dist/types/app/components/global/BEmojiPicker.vue.d.ts +7 -0
  76. package/dist/types/app/components/global/BEmojiPicker.vue.d.ts.map +1 -0
  77. package/dist/types/app/components/global/BIcon.vue.d.ts +11 -0
  78. package/dist/types/app/components/global/BIcon.vue.d.ts.map +1 -0
  79. package/dist/types/app/components/global/BImage.vue.d.ts +51 -0
  80. package/dist/types/app/components/global/BImage.vue.d.ts.map +1 -0
  81. package/dist/types/app/components/global/BInput.vue.d.ts +65 -0
  82. package/dist/types/app/components/global/BInput.vue.d.ts.map +1 -0
  83. package/dist/types/app/components/global/BLabel.vue.d.ts +18 -0
  84. package/dist/types/app/components/global/BLabel.vue.d.ts.map +1 -0
  85. package/dist/types/app/components/global/BMenu.vue.d.ts +54 -0
  86. package/dist/types/app/components/global/BMenu.vue.d.ts.map +1 -0
  87. package/dist/types/app/components/global/BModal.vue.d.ts +24 -0
  88. package/dist/types/app/components/global/BModal.vue.d.ts.map +1 -0
  89. package/dist/types/app/components/global/BPopup.vue.d.ts +42 -0
  90. package/dist/types/app/components/global/BPopup.vue.d.ts.map +1 -0
  91. package/dist/types/app/components/global/BSelect.vue.d.ts +43 -0
  92. package/dist/types/app/components/global/BSelect.vue.d.ts.map +1 -0
  93. package/dist/types/app/components/global/BTab.vue.d.ts +15 -0
  94. package/dist/types/app/components/global/BTab.vue.d.ts.map +1 -0
  95. package/dist/types/app/components/global/BToast.vue.d.ts +7 -0
  96. package/dist/types/app/components/global/BToast.vue.d.ts.map +1 -0
  97. package/dist/types/app/components/global/BVirtualVerticalList.vue.d.ts +30 -0
  98. package/dist/types/app/components/global/BVirtualVerticalList.vue.d.ts.map +1 -0
  99. package/dist/types/{composables → app/composables}/chat/useChatRecording.d.ts +4 -4
  100. package/dist/types/app/composables/chat/useChatRecording.d.ts.map +1 -0
  101. package/dist/types/app/composables/useAppPermissions.d.ts.map +1 -0
  102. package/dist/types/{composables → app/composables}/useAppToast.d.ts +2 -1
  103. package/dist/types/app/composables/useAppToast.d.ts.map +1 -0
  104. package/dist/types/app/composables/useClickOutside.d.ts.map +1 -0
  105. package/dist/types/{composables → app/composables}/useDate.d.ts +1 -1
  106. package/dist/types/app/composables/useDate.d.ts.map +1 -0
  107. package/dist/types/app/composables/useDevice.d.ts.map +1 -0
  108. package/dist/types/app/composables/useLocalI18n.d.ts +2 -0
  109. package/dist/types/app/composables/useLocalI18n.d.ts.map +1 -0
  110. package/dist/types/app/composables/useLocale.d.ts +12 -0
  111. package/dist/types/app/composables/useLocale.d.ts.map +1 -0
  112. package/dist/types/app/composables/useTheme.d.ts +4 -0
  113. package/dist/types/app/composables/useTheme.d.ts.map +1 -0
  114. package/dist/types/{composables → app/composables}/useValidation.d.ts +1 -1
  115. package/dist/types/app/composables/useValidation.d.ts.map +1 -0
  116. package/dist/types/app/composables/useWindowSize.d.ts +5 -0
  117. package/dist/types/app/composables/useWindowSize.d.ts.map +1 -0
  118. package/dist/types/app/directives/filePicker.d.ts.map +1 -0
  119. package/dist/types/app/directives/imagePicker.d.ts.map +1 -0
  120. package/dist/types/app/directives/loading.d.ts.map +1 -0
  121. package/dist/types/app/index.d.ts +24 -0
  122. package/dist/types/app/index.d.ts.map +1 -0
  123. package/dist/types/{stores → app/stores}/callStore.d.ts +487 -102
  124. package/dist/types/app/stores/callStore.d.ts.map +1 -0
  125. package/dist/types/app/stores/chatStore.d.ts +983 -0
  126. package/dist/types/app/stores/chatStore.d.ts.map +1 -0
  127. package/dist/types/app/stores/messageStores.d.ts +2248 -0
  128. package/dist/types/app/stores/messageStores.d.ts.map +1 -0
  129. package/dist/types/app/types/address.d.ts.map +1 -0
  130. package/dist/types/{types → app/types}/calendar.d.ts +1 -2
  131. package/dist/types/app/types/calendar.d.ts.map +1 -0
  132. package/dist/types/{types → app/types}/call.d.ts +1 -0
  133. package/dist/types/app/types/call.d.ts.map +1 -0
  134. package/dist/types/{types → app/types}/chat.d.ts +7 -26
  135. package/dist/types/app/types/chat.d.ts.map +1 -0
  136. package/dist/types/app/types/components/chat-input.d.ts.map +1 -0
  137. package/dist/types/app/types/components/input.d.ts.map +1 -0
  138. package/dist/types/app/types/components/menu-options.d.ts.map +1 -0
  139. package/dist/types/app/types/components/menu.d.ts.map +1 -0
  140. package/dist/types/app/types/components/modal.d.ts.map +1 -0
  141. package/dist/types/app/types/components/popup.d.ts.map +1 -0
  142. package/dist/types/app/types/components/select.d.ts.map +1 -0
  143. package/dist/types/app/types/components/toast.d.ts.map +1 -0
  144. package/dist/types/app/types/theme.d.ts +11 -0
  145. package/dist/types/app/types/theme.d.ts.map +1 -0
  146. package/dist/types/app/utils/emojiParser.d.ts.map +1 -0
  147. package/dist/types/app/utils/format.d.ts.map +1 -0
  148. package/dist/types/i18n/locales/index.d.ts +2603 -0
  149. package/dist/types/i18n/locales/index.d.ts.map +1 -0
  150. package/dist/types/index.d.ts +2 -10
  151. package/package.json +7 -14
  152. package/dist/index.cjs.map +0 -1
  153. package/dist/index.mjs.map +0 -1
  154. package/dist/style.css +0 -1
  155. package/dist/types/adapter/HostAdapter.d.ts +0 -13
  156. package/dist/types/adapter/HostAdapter.d.ts.map +0 -1
  157. package/dist/types/adapter/PushPort.d.ts +0 -10
  158. package/dist/types/adapter/PushPort.d.ts.map +0 -1
  159. package/dist/types/adapter/index.d.ts +0 -7
  160. package/dist/types/adapter/index.d.ts.map +0 -1
  161. package/dist/types/adapter/mock/MockCallAdapter.d.ts +0 -14
  162. package/dist/types/adapter/mock/MockCallAdapter.d.ts.map +0 -1
  163. package/dist/types/adapter/mock/MockChatActionAdapter.d.ts +0 -9
  164. package/dist/types/adapter/mock/MockChatActionAdapter.d.ts.map +0 -1
  165. package/dist/types/adapter/mock/MockChatAdapter.d.ts +0 -7
  166. package/dist/types/adapter/mock/MockChatAdapter.d.ts.map +0 -1
  167. package/dist/types/adapter/mock/MockMedicationAdapter.d.ts +0 -7
  168. package/dist/types/adapter/mock/MockMedicationAdapter.d.ts.map +0 -1
  169. package/dist/types/adapter/mock/MockServiceAdapter.d.ts +0 -6
  170. package/dist/types/adapter/mock/MockServiceAdapter.d.ts.map +0 -1
  171. package/dist/types/adapter/mock/createMockAdapter.d.ts +0 -13
  172. package/dist/types/adapter/mock/createMockAdapter.d.ts.map +0 -1
  173. package/dist/types/adapter/mock/index.d.ts +0 -12
  174. package/dist/types/adapter/mock/index.d.ts.map +0 -1
  175. package/dist/types/adapter/ports/CallAdapter.d.ts +0 -36
  176. package/dist/types/adapter/ports/CallAdapter.d.ts.map +0 -1
  177. package/dist/types/adapter/ports/ChatActionAdapter.d.ts +0 -17
  178. package/dist/types/adapter/ports/ChatActionAdapter.d.ts.map +0 -1
  179. package/dist/types/adapter/ports/ChatAdapter.d.ts +0 -22
  180. package/dist/types/adapter/ports/ChatAdapter.d.ts.map +0 -1
  181. package/dist/types/adapter/ports/MedicationAdapter.d.ts +0 -6
  182. package/dist/types/adapter/ports/MedicationAdapter.d.ts.map +0 -1
  183. package/dist/types/adapter/ports/ServiceAdapter.d.ts +0 -16
  184. package/dist/types/adapter/ports/ServiceAdapter.d.ts.map +0 -1
  185. package/dist/types/components/ChatPage.vue.d.ts +0 -8
  186. package/dist/types/components/ChatPage.vue.d.ts.map +0 -1
  187. package/dist/types/components/call/CallBoard.vue.d.ts +0 -154
  188. package/dist/types/components/call/CallBoard.vue.d.ts.map +0 -1
  189. package/dist/types/components/call/CallMemberDisplay.vue.d.ts +0 -57
  190. package/dist/types/components/call/CallMemberDisplay.vue.d.ts.map +0 -1
  191. package/dist/types/components/call/CallPageOverlay.vue.d.ts +0 -1365
  192. package/dist/types/components/call/CallPageOverlay.vue.d.ts.map +0 -1
  193. package/dist/types/components/call/paint-board/BoardColorPicker.vue.d.ts +0 -41
  194. package/dist/types/components/call/paint-board/BoardColorPicker.vue.d.ts.map +0 -1
  195. package/dist/types/components/call/paint-board/BrushSizeSlider.vue.d.ts +0 -48
  196. package/dist/types/components/call/paint-board/BrushSizeSlider.vue.d.ts.map +0 -1
  197. package/dist/types/components/call/paint-board/CallPaintBoard.vue.d.ts +0 -127
  198. package/dist/types/components/call/paint-board/CallPaintBoard.vue.d.ts.map +0 -1
  199. package/dist/types/components/chat/ChatBubble.vue.d.ts +0 -12236
  200. package/dist/types/components/chat/ChatBubble.vue.d.ts.map +0 -1
  201. package/dist/types/components/chat/ChatInput.vue.d.ts +0 -2477
  202. package/dist/types/components/chat/ChatInput.vue.d.ts.map +0 -1
  203. package/dist/types/components/chat/ChatMessages.vue.d.ts +0 -13873
  204. package/dist/types/components/chat/ChatMessages.vue.d.ts.map +0 -1
  205. package/dist/types/components/chat/ChatPageBar.vue.d.ts +0 -1204
  206. package/dist/types/components/chat/ChatPageBar.vue.d.ts.map +0 -1
  207. package/dist/types/components/chat/ChatProfileOverview.vue.d.ts +0 -327
  208. package/dist/types/components/chat/ChatProfileOverview.vue.d.ts.map +0 -1
  209. package/dist/types/components/chat/ChatView.vue.d.ts +0 -4
  210. package/dist/types/components/chat/ChatView.vue.d.ts.map +0 -1
  211. package/dist/types/components/chat/PatientReferral.vue.d.ts +0 -33
  212. package/dist/types/components/chat/PatientReferral.vue.d.ts.map +0 -1
  213. package/dist/types/components/chat/chat-bubbles/BubbleOptions.vue.d.ts +0 -53
  214. package/dist/types/components/chat/chat-bubbles/BubbleOptions.vue.d.ts.map +0 -1
  215. package/dist/types/components/chat/chat-bubbles/BubbleVideo.vue.d.ts +0 -103
  216. package/dist/types/components/chat/chat-bubbles/BubbleVideo.vue.d.ts.map +0 -1
  217. package/dist/types/components/chat/chat-bubbles/FileDisplay.vue.d.ts +0 -170
  218. package/dist/types/components/chat/chat-bubbles/FileDisplay.vue.d.ts.map +0 -1
  219. package/dist/types/components/chat/chat-bubbles/ImageGroupDisplay.vue.d.ts +0 -74
  220. package/dist/types/components/chat/chat-bubbles/ImageGroupDisplay.vue.d.ts.map +0 -1
  221. package/dist/types/components/chat/chat-bubbles/RequestCard.vue.d.ts +0 -11449
  222. package/dist/types/components/chat/chat-bubbles/RequestCard.vue.d.ts.map +0 -1
  223. package/dist/types/components/chat/chat-bubbles/VoiceDisplay.vue.d.ts +0 -107
  224. package/dist/types/components/chat/chat-bubbles/VoiceDisplay.vue.d.ts.map +0 -1
  225. package/dist/types/components/chat/chat-bubbles/request-card/ProviderDisplay.vue.d.ts +0 -56
  226. package/dist/types/components/chat/chat-bubbles/request-card/ProviderDisplay.vue.d.ts.map +0 -1
  227. package/dist/types/components/chat/chat-input/AttachementFileDisplay.vue.d.ts +0 -28
  228. package/dist/types/components/chat/chat-input/AttachementFileDisplay.vue.d.ts.map +0 -1
  229. package/dist/types/components/chat/chat-input/InputAttachement.vue.d.ts +0 -72
  230. package/dist/types/components/chat/chat-input/InputAttachement.vue.d.ts.map +0 -1
  231. package/dist/types/components/chat/chat-input/PermissionPopup.vue.d.ts +0 -15
  232. package/dist/types/components/chat/chat-input/PermissionPopup.vue.d.ts.map +0 -1
  233. package/dist/types/components/chat/chat-input/VideoRecordDisplay.vue.d.ts +0 -149
  234. package/dist/types/components/chat/chat-input/VideoRecordDisplay.vue.d.ts.map +0 -1
  235. package/dist/types/components/chat/contact/ChatContactDisplay.vue.d.ts +0 -85
  236. package/dist/types/components/chat/contact/ChatContactDisplay.vue.d.ts.map +0 -1
  237. package/dist/types/components/chat/contact/ChatList.vue.d.ts +0 -3111
  238. package/dist/types/components/chat/contact/ChatList.vue.d.ts.map +0 -1
  239. package/dist/types/components/chat/contact/ChatListSearch.vue.d.ts +0 -24
  240. package/dist/types/components/chat/contact/ChatListSearch.vue.d.ts.map +0 -1
  241. package/dist/types/components/chat/contact/ContactAvatar.vue.d.ts +0 -28
  242. package/dist/types/components/chat/contact/ContactAvatar.vue.d.ts.map +0 -1
  243. package/dist/types/components/chat/medic-features/MedicDisplay.vue.d.ts +0 -61
  244. package/dist/types/components/chat/medic-features/MedicDisplay.vue.d.ts.map +0 -1
  245. package/dist/types/components/chat/medic-features/MedicSelector.vue.d.ts +0 -1113
  246. package/dist/types/components/chat/medic-features/MedicSelector.vue.d.ts.map +0 -1
  247. package/dist/types/components/chat/medic-features/MedicSelectorContent.vue.d.ts +0 -1060
  248. package/dist/types/components/chat/medic-features/MedicSelectorContent.vue.d.ts.map +0 -1
  249. package/dist/types/components/chat/medic-features/PrescribtionDisplay.vue.d.ts +0 -1431
  250. package/dist/types/components/chat/medic-features/PrescribtionDisplay.vue.d.ts.map +0 -1
  251. package/dist/types/components/chat/profile/FileDisplay.vue.d.ts +0 -28
  252. package/dist/types/components/chat/profile/FileDisplay.vue.d.ts.map +0 -1
  253. package/dist/types/components/general/FileFormatDisplay.vue.d.ts +0 -60
  254. package/dist/types/components/general/FileFormatDisplay.vue.d.ts.map +0 -1
  255. package/dist/types/components/general/LoadingStatus.vue.d.ts +0 -59
  256. package/dist/types/components/general/LoadingStatus.vue.d.ts.map +0 -1
  257. package/dist/types/components/general/NoDataDisplay.vue.d.ts +0 -24
  258. package/dist/types/components/general/NoDataDisplay.vue.d.ts.map +0 -1
  259. package/dist/types/components/general/SafeEmojiText.vue.d.ts +0 -24
  260. package/dist/types/components/general/SafeEmojiText.vue.d.ts.map +0 -1
  261. package/dist/types/components/global/BCarousel.vue.d.ts +0 -48
  262. package/dist/types/components/global/BCarousel.vue.d.ts.map +0 -1
  263. package/dist/types/composables/chat/useChatRecording.d.ts.map +0 -1
  264. package/dist/types/composables/useAppPermissions.d.ts.map +0 -1
  265. package/dist/types/composables/useAppToast.d.ts.map +0 -1
  266. package/dist/types/composables/useClickOutside.d.ts.map +0 -1
  267. package/dist/types/composables/useDate.d.ts.map +0 -1
  268. package/dist/types/composables/useDevice.d.ts.map +0 -1
  269. package/dist/types/composables/useLocale.d.ts +0 -12
  270. package/dist/types/composables/useLocale.d.ts.map +0 -1
  271. package/dist/types/composables/useTheme.d.ts +0 -4
  272. package/dist/types/composables/useTheme.d.ts.map +0 -1
  273. package/dist/types/composables/useValidation.d.ts.map +0 -1
  274. package/dist/types/composables/useWindowSize.d.ts +0 -5
  275. package/dist/types/composables/useWindowSize.d.ts.map +0 -1
  276. package/dist/types/directives/filePicker.d.ts.map +0 -1
  277. package/dist/types/directives/imagePicker.d.ts.map +0 -1
  278. package/dist/types/directives/loading.d.ts.map +0 -1
  279. package/dist/types/index.d.ts.map +0 -1
  280. package/dist/types/install.d.ts +0 -20
  281. package/dist/types/install.d.ts.map +0 -1
  282. package/dist/types/mock/chat.seed.d.ts +0 -20
  283. package/dist/types/mock/chat.seed.d.ts.map +0 -1
  284. package/dist/types/mock/helpers.d.ts +0 -3
  285. package/dist/types/mock/helpers.d.ts.map +0 -1
  286. package/dist/types/mock/index.d.ts +0 -5
  287. package/dist/types/mock/index.d.ts.map +0 -1
  288. package/dist/types/mock/medication.seed.d.ts +0 -4
  289. package/dist/types/mock/medication.seed.d.ts.map +0 -1
  290. package/dist/types/mock/service.seed.d.ts +0 -13
  291. package/dist/types/mock/service.seed.d.ts.map +0 -1
  292. package/dist/types/nuxt-shims.d.ts +0 -43
  293. package/dist/types/nuxt-shims.d.ts.map +0 -1
  294. package/dist/types/prime-preset.d.ts +0 -72
  295. package/dist/types/prime-preset.d.ts.map +0 -1
  296. package/dist/types/stores/callStore.d.ts.map +0 -1
  297. package/dist/types/stores/chatActionStore.d.ts +0 -11303
  298. package/dist/types/stores/chatActionStore.d.ts.map +0 -1
  299. package/dist/types/stores/chatStore.d.ts +0 -2966
  300. package/dist/types/stores/chatStore.d.ts.map +0 -1
  301. package/dist/types/stores/createStores.d.ts +0 -19290
  302. package/dist/types/stores/createStores.d.ts.map +0 -1
  303. package/dist/types/stores/medicationsStore.d.ts +0 -3542
  304. package/dist/types/stores/medicationsStore.d.ts.map +0 -1
  305. package/dist/types/stores/serviceStore.d.ts +0 -953
  306. package/dist/types/stores/serviceStore.d.ts.map +0 -1
  307. package/dist/types/themes/factory.d.ts +0 -4
  308. package/dist/types/themes/factory.d.ts.map +0 -1
  309. package/dist/types/types/address.d.ts.map +0 -1
  310. package/dist/types/types/calendar.d.ts.map +0 -1
  311. package/dist/types/types/call.d.ts.map +0 -1
  312. package/dist/types/types/chat.d.ts.map +0 -1
  313. package/dist/types/types/clinic.d.ts +0 -7
  314. package/dist/types/types/clinic.d.ts.map +0 -1
  315. package/dist/types/types/components/chat-input.d.ts.map +0 -1
  316. package/dist/types/types/components/input.d.ts.map +0 -1
  317. package/dist/types/types/components/menu-options.d.ts.map +0 -1
  318. package/dist/types/types/components/menu.d.ts.map +0 -1
  319. package/dist/types/types/components/modal.d.ts.map +0 -1
  320. package/dist/types/types/components/nav-item.d.ts +0 -11
  321. package/dist/types/types/components/nav-item.d.ts.map +0 -1
  322. package/dist/types/types/components/nav-sub-item.d.ts +0 -9
  323. package/dist/types/types/components/nav-sub-item.d.ts.map +0 -1
  324. package/dist/types/types/components/popup.d.ts.map +0 -1
  325. package/dist/types/types/components/select.d.ts.map +0 -1
  326. package/dist/types/types/components/toast.d.ts.map +0 -1
  327. package/dist/types/types/env/runtimeConfig.d.ts +0 -22
  328. package/dist/types/types/invoice.d.ts +0 -8
  329. package/dist/types/types/invoice.d.ts.map +0 -1
  330. package/dist/types/types/medic.d.ts +0 -6
  331. package/dist/types/types/medic.d.ts.map +0 -1
  332. package/dist/types/types/medication.d.ts +0 -25
  333. package/dist/types/types/medication.d.ts.map +0 -1
  334. package/dist/types/types/notification.d.ts +0 -10
  335. package/dist/types/types/notification.d.ts.map +0 -1
  336. package/dist/types/types/service.d.ts +0 -25
  337. package/dist/types/types/service.d.ts.map +0 -1
  338. package/dist/types/types/story.d.ts +0 -12
  339. package/dist/types/types/story.d.ts.map +0 -1
  340. package/dist/types/types/theme.d.ts +0 -26
  341. package/dist/types/types/theme.d.ts.map +0 -1
  342. package/dist/types/utils/emojiParser.d.ts.map +0 -1
  343. package/dist/types/utils/format.d.ts.map +0 -1
  344. /package/dist/types/{composables → app/composables}/useAppPermissions.d.ts +0 -0
  345. /package/dist/types/{composables → app/composables}/useClickOutside.d.ts +0 -0
  346. /package/dist/types/{composables → app/composables}/useDevice.d.ts +0 -0
  347. /package/dist/types/{directives → app/directives}/filePicker.d.ts +0 -0
  348. /package/dist/types/{directives → app/directives}/imagePicker.d.ts +0 -0
  349. /package/dist/types/{directives → app/directives}/loading.d.ts +0 -0
  350. /package/dist/types/{types → app/types}/address.d.ts +0 -0
  351. /package/dist/types/{types → app/types}/components/chat-input.d.ts +0 -0
  352. /package/dist/types/{types → app/types}/components/input.d.ts +0 -0
  353. /package/dist/types/{types → app/types}/components/menu-options.d.ts +0 -0
  354. /package/dist/types/{types → app/types}/components/menu.d.ts +0 -0
  355. /package/dist/types/{types → app/types}/components/modal.d.ts +0 -0
  356. /package/dist/types/{types → app/types}/components/popup.d.ts +0 -0
  357. /package/dist/types/{types → app/types}/components/select.d.ts +0 -0
  358. /package/dist/types/{types → app/types}/components/toast.d.ts +0 -0
  359. /package/dist/types/{utils → app/utils}/emojiParser.d.ts +0 -0
  360. /package/dist/types/{utils → app/utils}/format.d.ts +0 -0
@@ -1,3111 +0,0 @@
1
- import { ChatFilter, FilterKeys } from '../../../types/chat';
2
- declare const _default: import('vue').DefineComponent<{}, {
3
- setFilter: (type: FilterKeys) => void;
4
- t: import('../../../nuxt-shims').I18nT;
5
- filterProps: (type: FilterKeys) => {
6
- color: string;
7
- icon: string;
8
- };
9
- filters: import('vue').ComputedRef<ChatFilter[]>;
10
- chats: import('vue').ComputedRef<import('../../../types/chat').Contact[]>;
11
- activeFilter: any;
12
- currentState: import('vue').ComputedRef<any>;
13
- searchText: any;
14
- listRef: any;
15
- chatStore: import('pinia').Store<"chat", Pick<{
16
- currentUserId: import('vue').Ref<string, string>;
17
- chosenRole: import('vue').Ref<import('../../../types/chat').UserRoleKey, import('../../../types/chat').UserRoleKey>;
18
- currentUserBirthDate: import('vue').Ref<Date, Date>;
19
- conversationStates: import('vue').Ref<{
20
- "": {
21
- data: {
22
- id: string;
23
- name: string;
24
- lastName: string;
25
- isOnline: boolean;
26
- lastSeen: Date;
27
- imageUrl: string;
28
- nationalCode?: string;
29
- phoneNumber?: string;
30
- isActive: boolean;
31
- birthDate: Date;
32
- lastMessage?: {
33
- id: string;
34
- conversationId: string;
35
- date: Date;
36
- type: import('../../../types/chat').MessageType;
37
- text?: string;
38
- imageUrl?: string[];
39
- fileUrl?: string;
40
- voiceUrl?: string;
41
- videoUrl?: string;
42
- isEdited: boolean;
43
- senderId: string;
44
- isSent: boolean;
45
- isRead: boolean;
46
- repliedTo: /*elided*/ any;
47
- request?: {
48
- id: string;
49
- type: "personal-info" | "add-person";
50
- request: {
51
- id: string;
52
- date: Date;
53
- status: import('../../../types/chat').status;
54
- } | {
55
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
56
- provider?: {
57
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
58
- expertise: string;
59
- service: {
60
- id: string;
61
- icon?: string;
62
- label: string;
63
- fellowships: {
64
- id: string;
65
- title: string;
66
- }[];
67
- expertiseLevel: "speciality" | "sub-speciality";
68
- price: number;
69
- };
70
- clinics: {
71
- id: string;
72
- title: number;
73
- latitude: number;
74
- longitude: number;
75
- }[];
76
- fellowships: {
77
- id: string;
78
- title: string;
79
- }[];
80
- type: import('../../../types/service').InsitutionType;
81
- illnesses?: {
82
- [x: string]: unknown;
83
- id: number | string;
84
- name: string;
85
- }[];
86
- id: string;
87
- name: string;
88
- lastName: string;
89
- isOnline: boolean;
90
- lastSeen: Date;
91
- imageUrl: string;
92
- nationalCode?: string;
93
- phoneNumber?: string;
94
- isActive: boolean;
95
- birthDate: Date;
96
- lastMessage?: /*elided*/ any;
97
- unreadCount?: number;
98
- serviceType?: "video-call" | "voice-call" | "chat";
99
- userType: import('../../../types/chat').UserRoleKey[];
100
- }[];
101
- service?: {
102
- id: string;
103
- icon?: string;
104
- label: string;
105
- fellowships: {
106
- id: string;
107
- title: string;
108
- }[];
109
- expertiseLevel: "speciality" | "sub-speciality";
110
- price: number;
111
- };
112
- serviceType?: import('../../../types/chat').ServicePresence;
113
- invoice?: {
114
- [x: string]: unknown;
115
- id: number | string;
116
- amount?: number;
117
- currency?: string;
118
- status?: string;
119
- };
120
- id: string;
121
- icon?: string;
122
- label: string;
123
- fellowships: {
124
- id: string;
125
- title: string;
126
- }[];
127
- expertiseLevel: "speciality" | "sub-speciality";
128
- price: number;
129
- };
130
- };
131
- };
132
- unreadCount?: number;
133
- serviceType?: "video-call" | "voice-call" | "chat";
134
- userType: import('../../../types/chat').UserRoleKey[];
135
- }[];
136
- loading: boolean;
137
- page: number;
138
- hasNextPage: boolean;
139
- };
140
- online: {
141
- data: {
142
- id: string;
143
- name: string;
144
- lastName: string;
145
- isOnline: boolean;
146
- lastSeen: Date;
147
- imageUrl: string;
148
- nationalCode?: string;
149
- phoneNumber?: string;
150
- isActive: boolean;
151
- birthDate: Date;
152
- lastMessage?: {
153
- id: string;
154
- conversationId: string;
155
- date: Date;
156
- type: import('../../../types/chat').MessageType;
157
- text?: string;
158
- imageUrl?: string[];
159
- fileUrl?: string;
160
- voiceUrl?: string;
161
- videoUrl?: string;
162
- isEdited: boolean;
163
- senderId: string;
164
- isSent: boolean;
165
- isRead: boolean;
166
- repliedTo: /*elided*/ any;
167
- request?: {
168
- id: string;
169
- type: "personal-info" | "add-person";
170
- request: {
171
- id: string;
172
- date: Date;
173
- status: import('../../../types/chat').status;
174
- } | {
175
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
176
- provider?: {
177
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
178
- expertise: string;
179
- service: {
180
- id: string;
181
- icon?: string;
182
- label: string;
183
- fellowships: {
184
- id: string;
185
- title: string;
186
- }[];
187
- expertiseLevel: "speciality" | "sub-speciality";
188
- price: number;
189
- };
190
- clinics: {
191
- id: string;
192
- title: number;
193
- latitude: number;
194
- longitude: number;
195
- }[];
196
- fellowships: {
197
- id: string;
198
- title: string;
199
- }[];
200
- type: import('../../../types/service').InsitutionType;
201
- illnesses?: {
202
- [x: string]: unknown;
203
- id: number | string;
204
- name: string;
205
- }[];
206
- id: string;
207
- name: string;
208
- lastName: string;
209
- isOnline: boolean;
210
- lastSeen: Date;
211
- imageUrl: string;
212
- nationalCode?: string;
213
- phoneNumber?: string;
214
- isActive: boolean;
215
- birthDate: Date;
216
- lastMessage?: /*elided*/ any;
217
- unreadCount?: number;
218
- serviceType?: "video-call" | "voice-call" | "chat";
219
- userType: import('../../../types/chat').UserRoleKey[];
220
- }[];
221
- service?: {
222
- id: string;
223
- icon?: string;
224
- label: string;
225
- fellowships: {
226
- id: string;
227
- title: string;
228
- }[];
229
- expertiseLevel: "speciality" | "sub-speciality";
230
- price: number;
231
- };
232
- serviceType?: import('../../../types/chat').ServicePresence;
233
- invoice?: {
234
- [x: string]: unknown;
235
- id: number | string;
236
- amount?: number;
237
- currency?: string;
238
- status?: string;
239
- };
240
- id: string;
241
- icon?: string;
242
- label: string;
243
- fellowships: {
244
- id: string;
245
- title: string;
246
- }[];
247
- expertiseLevel: "speciality" | "sub-speciality";
248
- price: number;
249
- };
250
- };
251
- };
252
- unreadCount?: number;
253
- serviceType?: "video-call" | "voice-call" | "chat";
254
- userType: import('../../../types/chat').UserRoleKey[];
255
- }[];
256
- loading: boolean;
257
- page: number;
258
- hasNextPage: boolean;
259
- };
260
- ended: {
261
- data: {
262
- id: string;
263
- name: string;
264
- lastName: string;
265
- isOnline: boolean;
266
- lastSeen: Date;
267
- imageUrl: string;
268
- nationalCode?: string;
269
- phoneNumber?: string;
270
- isActive: boolean;
271
- birthDate: Date;
272
- lastMessage?: {
273
- id: string;
274
- conversationId: string;
275
- date: Date;
276
- type: import('../../../types/chat').MessageType;
277
- text?: string;
278
- imageUrl?: string[];
279
- fileUrl?: string;
280
- voiceUrl?: string;
281
- videoUrl?: string;
282
- isEdited: boolean;
283
- senderId: string;
284
- isSent: boolean;
285
- isRead: boolean;
286
- repliedTo: /*elided*/ any;
287
- request?: {
288
- id: string;
289
- type: "personal-info" | "add-person";
290
- request: {
291
- id: string;
292
- date: Date;
293
- status: import('../../../types/chat').status;
294
- } | {
295
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
296
- provider?: {
297
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
298
- expertise: string;
299
- service: {
300
- id: string;
301
- icon?: string;
302
- label: string;
303
- fellowships: {
304
- id: string;
305
- title: string;
306
- }[];
307
- expertiseLevel: "speciality" | "sub-speciality";
308
- price: number;
309
- };
310
- clinics: {
311
- id: string;
312
- title: number;
313
- latitude: number;
314
- longitude: number;
315
- }[];
316
- fellowships: {
317
- id: string;
318
- title: string;
319
- }[];
320
- type: import('../../../types/service').InsitutionType;
321
- illnesses?: {
322
- [x: string]: unknown;
323
- id: number | string;
324
- name: string;
325
- }[];
326
- id: string;
327
- name: string;
328
- lastName: string;
329
- isOnline: boolean;
330
- lastSeen: Date;
331
- imageUrl: string;
332
- nationalCode?: string;
333
- phoneNumber?: string;
334
- isActive: boolean;
335
- birthDate: Date;
336
- lastMessage?: /*elided*/ any;
337
- unreadCount?: number;
338
- serviceType?: "video-call" | "voice-call" | "chat";
339
- userType: import('../../../types/chat').UserRoleKey[];
340
- }[];
341
- service?: {
342
- id: string;
343
- icon?: string;
344
- label: string;
345
- fellowships: {
346
- id: string;
347
- title: string;
348
- }[];
349
- expertiseLevel: "speciality" | "sub-speciality";
350
- price: number;
351
- };
352
- serviceType?: import('../../../types/chat').ServicePresence;
353
- invoice?: {
354
- [x: string]: unknown;
355
- id: number | string;
356
- amount?: number;
357
- currency?: string;
358
- status?: string;
359
- };
360
- id: string;
361
- icon?: string;
362
- label: string;
363
- fellowships: {
364
- id: string;
365
- title: string;
366
- }[];
367
- expertiseLevel: "speciality" | "sub-speciality";
368
- price: number;
369
- };
370
- };
371
- };
372
- unreadCount?: number;
373
- serviceType?: "video-call" | "voice-call" | "chat";
374
- userType: import('../../../types/chat').UserRoleKey[];
375
- }[];
376
- loading: boolean;
377
- page: number;
378
- hasNextPage: boolean;
379
- };
380
- active: {
381
- data: {
382
- id: string;
383
- name: string;
384
- lastName: string;
385
- isOnline: boolean;
386
- lastSeen: Date;
387
- imageUrl: string;
388
- nationalCode?: string;
389
- phoneNumber?: string;
390
- isActive: boolean;
391
- birthDate: Date;
392
- lastMessage?: {
393
- id: string;
394
- conversationId: string;
395
- date: Date;
396
- type: import('../../../types/chat').MessageType;
397
- text?: string;
398
- imageUrl?: string[];
399
- fileUrl?: string;
400
- voiceUrl?: string;
401
- videoUrl?: string;
402
- isEdited: boolean;
403
- senderId: string;
404
- isSent: boolean;
405
- isRead: boolean;
406
- repliedTo: /*elided*/ any;
407
- request?: {
408
- id: string;
409
- type: "personal-info" | "add-person";
410
- request: {
411
- id: string;
412
- date: Date;
413
- status: import('../../../types/chat').status;
414
- } | {
415
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
416
- provider?: {
417
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
418
- expertise: string;
419
- service: {
420
- id: string;
421
- icon?: string;
422
- label: string;
423
- fellowships: {
424
- id: string;
425
- title: string;
426
- }[];
427
- expertiseLevel: "speciality" | "sub-speciality";
428
- price: number;
429
- };
430
- clinics: {
431
- id: string;
432
- title: number;
433
- latitude: number;
434
- longitude: number;
435
- }[];
436
- fellowships: {
437
- id: string;
438
- title: string;
439
- }[];
440
- type: import('../../../types/service').InsitutionType;
441
- illnesses?: {
442
- [x: string]: unknown;
443
- id: number | string;
444
- name: string;
445
- }[];
446
- id: string;
447
- name: string;
448
- lastName: string;
449
- isOnline: boolean;
450
- lastSeen: Date;
451
- imageUrl: string;
452
- nationalCode?: string;
453
- phoneNumber?: string;
454
- isActive: boolean;
455
- birthDate: Date;
456
- lastMessage?: /*elided*/ any;
457
- unreadCount?: number;
458
- serviceType?: "video-call" | "voice-call" | "chat";
459
- userType: import('../../../types/chat').UserRoleKey[];
460
- }[];
461
- service?: {
462
- id: string;
463
- icon?: string;
464
- label: string;
465
- fellowships: {
466
- id: string;
467
- title: string;
468
- }[];
469
- expertiseLevel: "speciality" | "sub-speciality";
470
- price: number;
471
- };
472
- serviceType?: import('../../../types/chat').ServicePresence;
473
- invoice?: {
474
- [x: string]: unknown;
475
- id: number | string;
476
- amount?: number;
477
- currency?: string;
478
- status?: string;
479
- };
480
- id: string;
481
- icon?: string;
482
- label: string;
483
- fellowships: {
484
- id: string;
485
- title: string;
486
- }[];
487
- expertiseLevel: "speciality" | "sub-speciality";
488
- price: number;
489
- };
490
- };
491
- };
492
- unreadCount?: number;
493
- serviceType?: "video-call" | "voice-call" | "chat";
494
- userType: import('../../../types/chat').UserRoleKey[];
495
- }[];
496
- loading: boolean;
497
- page: number;
498
- hasNextPage: boolean;
499
- };
500
- }, Record<FilterKeys, {
501
- data: import('../../../types/chat').Contact[];
502
- loading: boolean;
503
- page: number;
504
- hasNextPage: boolean;
505
- }> | {
506
- "": {
507
- data: {
508
- id: string;
509
- name: string;
510
- lastName: string;
511
- isOnline: boolean;
512
- lastSeen: Date;
513
- imageUrl: string;
514
- nationalCode?: string;
515
- phoneNumber?: string;
516
- isActive: boolean;
517
- birthDate: Date;
518
- lastMessage?: {
519
- id: string;
520
- conversationId: string;
521
- date: Date;
522
- type: import('../../../types/chat').MessageType;
523
- text?: string;
524
- imageUrl?: string[];
525
- fileUrl?: string;
526
- voiceUrl?: string;
527
- videoUrl?: string;
528
- isEdited: boolean;
529
- senderId: string;
530
- isSent: boolean;
531
- isRead: boolean;
532
- repliedTo: /*elided*/ any;
533
- request?: {
534
- id: string;
535
- type: "personal-info" | "add-person";
536
- request: {
537
- id: string;
538
- date: Date;
539
- status: import('../../../types/chat').status;
540
- } | {
541
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
542
- provider?: {
543
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
544
- expertise: string;
545
- service: {
546
- id: string;
547
- icon?: string;
548
- label: string;
549
- fellowships: {
550
- id: string;
551
- title: string;
552
- }[];
553
- expertiseLevel: "speciality" | "sub-speciality";
554
- price: number;
555
- };
556
- clinics: {
557
- id: string;
558
- title: number;
559
- latitude: number;
560
- longitude: number;
561
- }[];
562
- fellowships: {
563
- id: string;
564
- title: string;
565
- }[];
566
- type: import('../../../types/service').InsitutionType;
567
- illnesses?: {
568
- [x: string]: unknown;
569
- id: number | string;
570
- name: string;
571
- }[];
572
- id: string;
573
- name: string;
574
- lastName: string;
575
- isOnline: boolean;
576
- lastSeen: Date;
577
- imageUrl: string;
578
- nationalCode?: string;
579
- phoneNumber?: string;
580
- isActive: boolean;
581
- birthDate: Date;
582
- lastMessage?: /*elided*/ any;
583
- unreadCount?: number;
584
- serviceType?: "video-call" | "voice-call" | "chat";
585
- userType: import('../../../types/chat').UserRoleKey[];
586
- }[];
587
- service?: {
588
- id: string;
589
- icon?: string;
590
- label: string;
591
- fellowships: {
592
- id: string;
593
- title: string;
594
- }[];
595
- expertiseLevel: "speciality" | "sub-speciality";
596
- price: number;
597
- };
598
- serviceType?: import('../../../types/chat').ServicePresence;
599
- invoice?: {
600
- [x: string]: unknown;
601
- id: number | string;
602
- amount?: number;
603
- currency?: string;
604
- status?: string;
605
- };
606
- id: string;
607
- icon?: string;
608
- label: string;
609
- fellowships: {
610
- id: string;
611
- title: string;
612
- }[];
613
- expertiseLevel: "speciality" | "sub-speciality";
614
- price: number;
615
- };
616
- };
617
- };
618
- unreadCount?: number;
619
- serviceType?: "video-call" | "voice-call" | "chat";
620
- userType: import('../../../types/chat').UserRoleKey[];
621
- }[];
622
- loading: boolean;
623
- page: number;
624
- hasNextPage: boolean;
625
- };
626
- online: {
627
- data: {
628
- id: string;
629
- name: string;
630
- lastName: string;
631
- isOnline: boolean;
632
- lastSeen: Date;
633
- imageUrl: string;
634
- nationalCode?: string;
635
- phoneNumber?: string;
636
- isActive: boolean;
637
- birthDate: Date;
638
- lastMessage?: {
639
- id: string;
640
- conversationId: string;
641
- date: Date;
642
- type: import('../../../types/chat').MessageType;
643
- text?: string;
644
- imageUrl?: string[];
645
- fileUrl?: string;
646
- voiceUrl?: string;
647
- videoUrl?: string;
648
- isEdited: boolean;
649
- senderId: string;
650
- isSent: boolean;
651
- isRead: boolean;
652
- repliedTo: /*elided*/ any;
653
- request?: {
654
- id: string;
655
- type: "personal-info" | "add-person";
656
- request: {
657
- id: string;
658
- date: Date;
659
- status: import('../../../types/chat').status;
660
- } | {
661
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
662
- provider?: {
663
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
664
- expertise: string;
665
- service: {
666
- id: string;
667
- icon?: string;
668
- label: string;
669
- fellowships: {
670
- id: string;
671
- title: string;
672
- }[];
673
- expertiseLevel: "speciality" | "sub-speciality";
674
- price: number;
675
- };
676
- clinics: {
677
- id: string;
678
- title: number;
679
- latitude: number;
680
- longitude: number;
681
- }[];
682
- fellowships: {
683
- id: string;
684
- title: string;
685
- }[];
686
- type: import('../../../types/service').InsitutionType;
687
- illnesses?: {
688
- [x: string]: unknown;
689
- id: number | string;
690
- name: string;
691
- }[];
692
- id: string;
693
- name: string;
694
- lastName: string;
695
- isOnline: boolean;
696
- lastSeen: Date;
697
- imageUrl: string;
698
- nationalCode?: string;
699
- phoneNumber?: string;
700
- isActive: boolean;
701
- birthDate: Date;
702
- lastMessage?: /*elided*/ any;
703
- unreadCount?: number;
704
- serviceType?: "video-call" | "voice-call" | "chat";
705
- userType: import('../../../types/chat').UserRoleKey[];
706
- }[];
707
- service?: {
708
- id: string;
709
- icon?: string;
710
- label: string;
711
- fellowships: {
712
- id: string;
713
- title: string;
714
- }[];
715
- expertiseLevel: "speciality" | "sub-speciality";
716
- price: number;
717
- };
718
- serviceType?: import('../../../types/chat').ServicePresence;
719
- invoice?: {
720
- [x: string]: unknown;
721
- id: number | string;
722
- amount?: number;
723
- currency?: string;
724
- status?: string;
725
- };
726
- id: string;
727
- icon?: string;
728
- label: string;
729
- fellowships: {
730
- id: string;
731
- title: string;
732
- }[];
733
- expertiseLevel: "speciality" | "sub-speciality";
734
- price: number;
735
- };
736
- };
737
- };
738
- unreadCount?: number;
739
- serviceType?: "video-call" | "voice-call" | "chat";
740
- userType: import('../../../types/chat').UserRoleKey[];
741
- }[];
742
- loading: boolean;
743
- page: number;
744
- hasNextPage: boolean;
745
- };
746
- ended: {
747
- data: {
748
- id: string;
749
- name: string;
750
- lastName: string;
751
- isOnline: boolean;
752
- lastSeen: Date;
753
- imageUrl: string;
754
- nationalCode?: string;
755
- phoneNumber?: string;
756
- isActive: boolean;
757
- birthDate: Date;
758
- lastMessage?: {
759
- id: string;
760
- conversationId: string;
761
- date: Date;
762
- type: import('../../../types/chat').MessageType;
763
- text?: string;
764
- imageUrl?: string[];
765
- fileUrl?: string;
766
- voiceUrl?: string;
767
- videoUrl?: string;
768
- isEdited: boolean;
769
- senderId: string;
770
- isSent: boolean;
771
- isRead: boolean;
772
- repliedTo: /*elided*/ any;
773
- request?: {
774
- id: string;
775
- type: "personal-info" | "add-person";
776
- request: {
777
- id: string;
778
- date: Date;
779
- status: import('../../../types/chat').status;
780
- } | {
781
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
782
- provider?: {
783
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
784
- expertise: string;
785
- service: {
786
- id: string;
787
- icon?: string;
788
- label: string;
789
- fellowships: {
790
- id: string;
791
- title: string;
792
- }[];
793
- expertiseLevel: "speciality" | "sub-speciality";
794
- price: number;
795
- };
796
- clinics: {
797
- id: string;
798
- title: number;
799
- latitude: number;
800
- longitude: number;
801
- }[];
802
- fellowships: {
803
- id: string;
804
- title: string;
805
- }[];
806
- type: import('../../../types/service').InsitutionType;
807
- illnesses?: {
808
- [x: string]: unknown;
809
- id: number | string;
810
- name: string;
811
- }[];
812
- id: string;
813
- name: string;
814
- lastName: string;
815
- isOnline: boolean;
816
- lastSeen: Date;
817
- imageUrl: string;
818
- nationalCode?: string;
819
- phoneNumber?: string;
820
- isActive: boolean;
821
- birthDate: Date;
822
- lastMessage?: /*elided*/ any;
823
- unreadCount?: number;
824
- serviceType?: "video-call" | "voice-call" | "chat";
825
- userType: import('../../../types/chat').UserRoleKey[];
826
- }[];
827
- service?: {
828
- id: string;
829
- icon?: string;
830
- label: string;
831
- fellowships: {
832
- id: string;
833
- title: string;
834
- }[];
835
- expertiseLevel: "speciality" | "sub-speciality";
836
- price: number;
837
- };
838
- serviceType?: import('../../../types/chat').ServicePresence;
839
- invoice?: {
840
- [x: string]: unknown;
841
- id: number | string;
842
- amount?: number;
843
- currency?: string;
844
- status?: string;
845
- };
846
- id: string;
847
- icon?: string;
848
- label: string;
849
- fellowships: {
850
- id: string;
851
- title: string;
852
- }[];
853
- expertiseLevel: "speciality" | "sub-speciality";
854
- price: number;
855
- };
856
- };
857
- };
858
- unreadCount?: number;
859
- serviceType?: "video-call" | "voice-call" | "chat";
860
- userType: import('../../../types/chat').UserRoleKey[];
861
- }[];
862
- loading: boolean;
863
- page: number;
864
- hasNextPage: boolean;
865
- };
866
- active: {
867
- data: {
868
- id: string;
869
- name: string;
870
- lastName: string;
871
- isOnline: boolean;
872
- lastSeen: Date;
873
- imageUrl: string;
874
- nationalCode?: string;
875
- phoneNumber?: string;
876
- isActive: boolean;
877
- birthDate: Date;
878
- lastMessage?: {
879
- id: string;
880
- conversationId: string;
881
- date: Date;
882
- type: import('../../../types/chat').MessageType;
883
- text?: string;
884
- imageUrl?: string[];
885
- fileUrl?: string;
886
- voiceUrl?: string;
887
- videoUrl?: string;
888
- isEdited: boolean;
889
- senderId: string;
890
- isSent: boolean;
891
- isRead: boolean;
892
- repliedTo: /*elided*/ any;
893
- request?: {
894
- id: string;
895
- type: "personal-info" | "add-person";
896
- request: {
897
- id: string;
898
- date: Date;
899
- status: import('../../../types/chat').status;
900
- } | {
901
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
902
- provider?: {
903
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
904
- expertise: string;
905
- service: {
906
- id: string;
907
- icon?: string;
908
- label: string;
909
- fellowships: {
910
- id: string;
911
- title: string;
912
- }[];
913
- expertiseLevel: "speciality" | "sub-speciality";
914
- price: number;
915
- };
916
- clinics: {
917
- id: string;
918
- title: number;
919
- latitude: number;
920
- longitude: number;
921
- }[];
922
- fellowships: {
923
- id: string;
924
- title: string;
925
- }[];
926
- type: import('../../../types/service').InsitutionType;
927
- illnesses?: {
928
- [x: string]: unknown;
929
- id: number | string;
930
- name: string;
931
- }[];
932
- id: string;
933
- name: string;
934
- lastName: string;
935
- isOnline: boolean;
936
- lastSeen: Date;
937
- imageUrl: string;
938
- nationalCode?: string;
939
- phoneNumber?: string;
940
- isActive: boolean;
941
- birthDate: Date;
942
- lastMessage?: /*elided*/ any;
943
- unreadCount?: number;
944
- serviceType?: "video-call" | "voice-call" | "chat";
945
- userType: import('../../../types/chat').UserRoleKey[];
946
- }[];
947
- service?: {
948
- id: string;
949
- icon?: string;
950
- label: string;
951
- fellowships: {
952
- id: string;
953
- title: string;
954
- }[];
955
- expertiseLevel: "speciality" | "sub-speciality";
956
- price: number;
957
- };
958
- serviceType?: import('../../../types/chat').ServicePresence;
959
- invoice?: {
960
- [x: string]: unknown;
961
- id: number | string;
962
- amount?: number;
963
- currency?: string;
964
- status?: string;
965
- };
966
- id: string;
967
- icon?: string;
968
- label: string;
969
- fellowships: {
970
- id: string;
971
- title: string;
972
- }[];
973
- expertiseLevel: "speciality" | "sub-speciality";
974
- price: number;
975
- };
976
- };
977
- };
978
- unreadCount?: number;
979
- serviceType?: "video-call" | "voice-call" | "chat";
980
- userType: import('../../../types/chat').UserRoleKey[];
981
- }[];
982
- loading: boolean;
983
- page: number;
984
- hasNextPage: boolean;
985
- };
986
- }>;
987
- activeConversationId: import('vue').Ref<string, string>;
988
- profileViewOpen: import('vue').Ref<boolean, boolean>;
989
- messagesMap: import('vue').Ref<Record<string, import('../../../types/chat').Message[]>, Record<string, import('../../../types/chat').Message[]>>;
990
- typingByConversation: import('vue').Ref<Record<string, string>, Record<string, string>>;
991
- chatsPerPage: import('vue').ComputedRef<number>;
992
- unreadCount: import('vue').ComputedRef<number>;
993
- setSelectedChat: (id: string | null) => void;
994
- openProfile: () => void;
995
- closeProfile: () => void;
996
- fetchConversations: (filter?: FilterKeys, page?: number, search?: string) => Promise<void>;
997
- loadNextPage: (filter: FilterKeys) => Promise<void>;
998
- getDisplayedContacts: (filter: FilterKeys) => import('../../../types/chat').Contact[];
999
- getContactById: (id: string) => import('../../../types/chat').Contact | null;
1000
- markAsRead: (conversationId: string) => void;
1001
- updateLastMessage: (conversationId: string, message: import('../../../types/chat').Message) => void;
1002
- patchLastMessage: (conversationId: string, messageId: string, updates: Partial<import('../../../types/chat').Message>) => void;
1003
- }, "currentUserId" | "chosenRole" | "currentUserBirthDate" | "conversationStates" | "activeConversationId" | "profileViewOpen" | "messagesMap" | "typingByConversation">, Pick<{
1004
- currentUserId: import('vue').Ref<string, string>;
1005
- chosenRole: import('vue').Ref<import('../../../types/chat').UserRoleKey, import('../../../types/chat').UserRoleKey>;
1006
- currentUserBirthDate: import('vue').Ref<Date, Date>;
1007
- conversationStates: import('vue').Ref<{
1008
- "": {
1009
- data: {
1010
- id: string;
1011
- name: string;
1012
- lastName: string;
1013
- isOnline: boolean;
1014
- lastSeen: Date;
1015
- imageUrl: string;
1016
- nationalCode?: string;
1017
- phoneNumber?: string;
1018
- isActive: boolean;
1019
- birthDate: Date;
1020
- lastMessage?: {
1021
- id: string;
1022
- conversationId: string;
1023
- date: Date;
1024
- type: import('../../../types/chat').MessageType;
1025
- text?: string;
1026
- imageUrl?: string[];
1027
- fileUrl?: string;
1028
- voiceUrl?: string;
1029
- videoUrl?: string;
1030
- isEdited: boolean;
1031
- senderId: string;
1032
- isSent: boolean;
1033
- isRead: boolean;
1034
- repliedTo: /*elided*/ any;
1035
- request?: {
1036
- id: string;
1037
- type: "personal-info" | "add-person";
1038
- request: {
1039
- id: string;
1040
- date: Date;
1041
- status: import('../../../types/chat').status;
1042
- } | {
1043
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
1044
- provider?: {
1045
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
1046
- expertise: string;
1047
- service: {
1048
- id: string;
1049
- icon?: string;
1050
- label: string;
1051
- fellowships: {
1052
- id: string;
1053
- title: string;
1054
- }[];
1055
- expertiseLevel: "speciality" | "sub-speciality";
1056
- price: number;
1057
- };
1058
- clinics: {
1059
- id: string;
1060
- title: number;
1061
- latitude: number;
1062
- longitude: number;
1063
- }[];
1064
- fellowships: {
1065
- id: string;
1066
- title: string;
1067
- }[];
1068
- type: import('../../../types/service').InsitutionType;
1069
- illnesses?: {
1070
- [x: string]: unknown;
1071
- id: number | string;
1072
- name: string;
1073
- }[];
1074
- id: string;
1075
- name: string;
1076
- lastName: string;
1077
- isOnline: boolean;
1078
- lastSeen: Date;
1079
- imageUrl: string;
1080
- nationalCode?: string;
1081
- phoneNumber?: string;
1082
- isActive: boolean;
1083
- birthDate: Date;
1084
- lastMessage?: /*elided*/ any;
1085
- unreadCount?: number;
1086
- serviceType?: "video-call" | "voice-call" | "chat";
1087
- userType: import('../../../types/chat').UserRoleKey[];
1088
- }[];
1089
- service?: {
1090
- id: string;
1091
- icon?: string;
1092
- label: string;
1093
- fellowships: {
1094
- id: string;
1095
- title: string;
1096
- }[];
1097
- expertiseLevel: "speciality" | "sub-speciality";
1098
- price: number;
1099
- };
1100
- serviceType?: import('../../../types/chat').ServicePresence;
1101
- invoice?: {
1102
- [x: string]: unknown;
1103
- id: number | string;
1104
- amount?: number;
1105
- currency?: string;
1106
- status?: string;
1107
- };
1108
- id: string;
1109
- icon?: string;
1110
- label: string;
1111
- fellowships: {
1112
- id: string;
1113
- title: string;
1114
- }[];
1115
- expertiseLevel: "speciality" | "sub-speciality";
1116
- price: number;
1117
- };
1118
- };
1119
- };
1120
- unreadCount?: number;
1121
- serviceType?: "video-call" | "voice-call" | "chat";
1122
- userType: import('../../../types/chat').UserRoleKey[];
1123
- }[];
1124
- loading: boolean;
1125
- page: number;
1126
- hasNextPage: boolean;
1127
- };
1128
- online: {
1129
- data: {
1130
- id: string;
1131
- name: string;
1132
- lastName: string;
1133
- isOnline: boolean;
1134
- lastSeen: Date;
1135
- imageUrl: string;
1136
- nationalCode?: string;
1137
- phoneNumber?: string;
1138
- isActive: boolean;
1139
- birthDate: Date;
1140
- lastMessage?: {
1141
- id: string;
1142
- conversationId: string;
1143
- date: Date;
1144
- type: import('../../../types/chat').MessageType;
1145
- text?: string;
1146
- imageUrl?: string[];
1147
- fileUrl?: string;
1148
- voiceUrl?: string;
1149
- videoUrl?: string;
1150
- isEdited: boolean;
1151
- senderId: string;
1152
- isSent: boolean;
1153
- isRead: boolean;
1154
- repliedTo: /*elided*/ any;
1155
- request?: {
1156
- id: string;
1157
- type: "personal-info" | "add-person";
1158
- request: {
1159
- id: string;
1160
- date: Date;
1161
- status: import('../../../types/chat').status;
1162
- } | {
1163
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
1164
- provider?: {
1165
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
1166
- expertise: string;
1167
- service: {
1168
- id: string;
1169
- icon?: string;
1170
- label: string;
1171
- fellowships: {
1172
- id: string;
1173
- title: string;
1174
- }[];
1175
- expertiseLevel: "speciality" | "sub-speciality";
1176
- price: number;
1177
- };
1178
- clinics: {
1179
- id: string;
1180
- title: number;
1181
- latitude: number;
1182
- longitude: number;
1183
- }[];
1184
- fellowships: {
1185
- id: string;
1186
- title: string;
1187
- }[];
1188
- type: import('../../../types/service').InsitutionType;
1189
- illnesses?: {
1190
- [x: string]: unknown;
1191
- id: number | string;
1192
- name: string;
1193
- }[];
1194
- id: string;
1195
- name: string;
1196
- lastName: string;
1197
- isOnline: boolean;
1198
- lastSeen: Date;
1199
- imageUrl: string;
1200
- nationalCode?: string;
1201
- phoneNumber?: string;
1202
- isActive: boolean;
1203
- birthDate: Date;
1204
- lastMessage?: /*elided*/ any;
1205
- unreadCount?: number;
1206
- serviceType?: "video-call" | "voice-call" | "chat";
1207
- userType: import('../../../types/chat').UserRoleKey[];
1208
- }[];
1209
- service?: {
1210
- id: string;
1211
- icon?: string;
1212
- label: string;
1213
- fellowships: {
1214
- id: string;
1215
- title: string;
1216
- }[];
1217
- expertiseLevel: "speciality" | "sub-speciality";
1218
- price: number;
1219
- };
1220
- serviceType?: import('../../../types/chat').ServicePresence;
1221
- invoice?: {
1222
- [x: string]: unknown;
1223
- id: number | string;
1224
- amount?: number;
1225
- currency?: string;
1226
- status?: string;
1227
- };
1228
- id: string;
1229
- icon?: string;
1230
- label: string;
1231
- fellowships: {
1232
- id: string;
1233
- title: string;
1234
- }[];
1235
- expertiseLevel: "speciality" | "sub-speciality";
1236
- price: number;
1237
- };
1238
- };
1239
- };
1240
- unreadCount?: number;
1241
- serviceType?: "video-call" | "voice-call" | "chat";
1242
- userType: import('../../../types/chat').UserRoleKey[];
1243
- }[];
1244
- loading: boolean;
1245
- page: number;
1246
- hasNextPage: boolean;
1247
- };
1248
- ended: {
1249
- data: {
1250
- id: string;
1251
- name: string;
1252
- lastName: string;
1253
- isOnline: boolean;
1254
- lastSeen: Date;
1255
- imageUrl: string;
1256
- nationalCode?: string;
1257
- phoneNumber?: string;
1258
- isActive: boolean;
1259
- birthDate: Date;
1260
- lastMessage?: {
1261
- id: string;
1262
- conversationId: string;
1263
- date: Date;
1264
- type: import('../../../types/chat').MessageType;
1265
- text?: string;
1266
- imageUrl?: string[];
1267
- fileUrl?: string;
1268
- voiceUrl?: string;
1269
- videoUrl?: string;
1270
- isEdited: boolean;
1271
- senderId: string;
1272
- isSent: boolean;
1273
- isRead: boolean;
1274
- repliedTo: /*elided*/ any;
1275
- request?: {
1276
- id: string;
1277
- type: "personal-info" | "add-person";
1278
- request: {
1279
- id: string;
1280
- date: Date;
1281
- status: import('../../../types/chat').status;
1282
- } | {
1283
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
1284
- provider?: {
1285
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
1286
- expertise: string;
1287
- service: {
1288
- id: string;
1289
- icon?: string;
1290
- label: string;
1291
- fellowships: {
1292
- id: string;
1293
- title: string;
1294
- }[];
1295
- expertiseLevel: "speciality" | "sub-speciality";
1296
- price: number;
1297
- };
1298
- clinics: {
1299
- id: string;
1300
- title: number;
1301
- latitude: number;
1302
- longitude: number;
1303
- }[];
1304
- fellowships: {
1305
- id: string;
1306
- title: string;
1307
- }[];
1308
- type: import('../../../types/service').InsitutionType;
1309
- illnesses?: {
1310
- [x: string]: unknown;
1311
- id: number | string;
1312
- name: string;
1313
- }[];
1314
- id: string;
1315
- name: string;
1316
- lastName: string;
1317
- isOnline: boolean;
1318
- lastSeen: Date;
1319
- imageUrl: string;
1320
- nationalCode?: string;
1321
- phoneNumber?: string;
1322
- isActive: boolean;
1323
- birthDate: Date;
1324
- lastMessage?: /*elided*/ any;
1325
- unreadCount?: number;
1326
- serviceType?: "video-call" | "voice-call" | "chat";
1327
- userType: import('../../../types/chat').UserRoleKey[];
1328
- }[];
1329
- service?: {
1330
- id: string;
1331
- icon?: string;
1332
- label: string;
1333
- fellowships: {
1334
- id: string;
1335
- title: string;
1336
- }[];
1337
- expertiseLevel: "speciality" | "sub-speciality";
1338
- price: number;
1339
- };
1340
- serviceType?: import('../../../types/chat').ServicePresence;
1341
- invoice?: {
1342
- [x: string]: unknown;
1343
- id: number | string;
1344
- amount?: number;
1345
- currency?: string;
1346
- status?: string;
1347
- };
1348
- id: string;
1349
- icon?: string;
1350
- label: string;
1351
- fellowships: {
1352
- id: string;
1353
- title: string;
1354
- }[];
1355
- expertiseLevel: "speciality" | "sub-speciality";
1356
- price: number;
1357
- };
1358
- };
1359
- };
1360
- unreadCount?: number;
1361
- serviceType?: "video-call" | "voice-call" | "chat";
1362
- userType: import('../../../types/chat').UserRoleKey[];
1363
- }[];
1364
- loading: boolean;
1365
- page: number;
1366
- hasNextPage: boolean;
1367
- };
1368
- active: {
1369
- data: {
1370
- id: string;
1371
- name: string;
1372
- lastName: string;
1373
- isOnline: boolean;
1374
- lastSeen: Date;
1375
- imageUrl: string;
1376
- nationalCode?: string;
1377
- phoneNumber?: string;
1378
- isActive: boolean;
1379
- birthDate: Date;
1380
- lastMessage?: {
1381
- id: string;
1382
- conversationId: string;
1383
- date: Date;
1384
- type: import('../../../types/chat').MessageType;
1385
- text?: string;
1386
- imageUrl?: string[];
1387
- fileUrl?: string;
1388
- voiceUrl?: string;
1389
- videoUrl?: string;
1390
- isEdited: boolean;
1391
- senderId: string;
1392
- isSent: boolean;
1393
- isRead: boolean;
1394
- repliedTo: /*elided*/ any;
1395
- request?: {
1396
- id: string;
1397
- type: "personal-info" | "add-person";
1398
- request: {
1399
- id: string;
1400
- date: Date;
1401
- status: import('../../../types/chat').status;
1402
- } | {
1403
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
1404
- provider?: {
1405
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
1406
- expertise: string;
1407
- service: {
1408
- id: string;
1409
- icon?: string;
1410
- label: string;
1411
- fellowships: {
1412
- id: string;
1413
- title: string;
1414
- }[];
1415
- expertiseLevel: "speciality" | "sub-speciality";
1416
- price: number;
1417
- };
1418
- clinics: {
1419
- id: string;
1420
- title: number;
1421
- latitude: number;
1422
- longitude: number;
1423
- }[];
1424
- fellowships: {
1425
- id: string;
1426
- title: string;
1427
- }[];
1428
- type: import('../../../types/service').InsitutionType;
1429
- illnesses?: {
1430
- [x: string]: unknown;
1431
- id: number | string;
1432
- name: string;
1433
- }[];
1434
- id: string;
1435
- name: string;
1436
- lastName: string;
1437
- isOnline: boolean;
1438
- lastSeen: Date;
1439
- imageUrl: string;
1440
- nationalCode?: string;
1441
- phoneNumber?: string;
1442
- isActive: boolean;
1443
- birthDate: Date;
1444
- lastMessage?: /*elided*/ any;
1445
- unreadCount?: number;
1446
- serviceType?: "video-call" | "voice-call" | "chat";
1447
- userType: import('../../../types/chat').UserRoleKey[];
1448
- }[];
1449
- service?: {
1450
- id: string;
1451
- icon?: string;
1452
- label: string;
1453
- fellowships: {
1454
- id: string;
1455
- title: string;
1456
- }[];
1457
- expertiseLevel: "speciality" | "sub-speciality";
1458
- price: number;
1459
- };
1460
- serviceType?: import('../../../types/chat').ServicePresence;
1461
- invoice?: {
1462
- [x: string]: unknown;
1463
- id: number | string;
1464
- amount?: number;
1465
- currency?: string;
1466
- status?: string;
1467
- };
1468
- id: string;
1469
- icon?: string;
1470
- label: string;
1471
- fellowships: {
1472
- id: string;
1473
- title: string;
1474
- }[];
1475
- expertiseLevel: "speciality" | "sub-speciality";
1476
- price: number;
1477
- };
1478
- };
1479
- };
1480
- unreadCount?: number;
1481
- serviceType?: "video-call" | "voice-call" | "chat";
1482
- userType: import('../../../types/chat').UserRoleKey[];
1483
- }[];
1484
- loading: boolean;
1485
- page: number;
1486
- hasNextPage: boolean;
1487
- };
1488
- }, Record<FilterKeys, {
1489
- data: import('../../../types/chat').Contact[];
1490
- loading: boolean;
1491
- page: number;
1492
- hasNextPage: boolean;
1493
- }> | {
1494
- "": {
1495
- data: {
1496
- id: string;
1497
- name: string;
1498
- lastName: string;
1499
- isOnline: boolean;
1500
- lastSeen: Date;
1501
- imageUrl: string;
1502
- nationalCode?: string;
1503
- phoneNumber?: string;
1504
- isActive: boolean;
1505
- birthDate: Date;
1506
- lastMessage?: {
1507
- id: string;
1508
- conversationId: string;
1509
- date: Date;
1510
- type: import('../../../types/chat').MessageType;
1511
- text?: string;
1512
- imageUrl?: string[];
1513
- fileUrl?: string;
1514
- voiceUrl?: string;
1515
- videoUrl?: string;
1516
- isEdited: boolean;
1517
- senderId: string;
1518
- isSent: boolean;
1519
- isRead: boolean;
1520
- repliedTo: /*elided*/ any;
1521
- request?: {
1522
- id: string;
1523
- type: "personal-info" | "add-person";
1524
- request: {
1525
- id: string;
1526
- date: Date;
1527
- status: import('../../../types/chat').status;
1528
- } | {
1529
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
1530
- provider?: {
1531
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
1532
- expertise: string;
1533
- service: {
1534
- id: string;
1535
- icon?: string;
1536
- label: string;
1537
- fellowships: {
1538
- id: string;
1539
- title: string;
1540
- }[];
1541
- expertiseLevel: "speciality" | "sub-speciality";
1542
- price: number;
1543
- };
1544
- clinics: {
1545
- id: string;
1546
- title: number;
1547
- latitude: number;
1548
- longitude: number;
1549
- }[];
1550
- fellowships: {
1551
- id: string;
1552
- title: string;
1553
- }[];
1554
- type: import('../../../types/service').InsitutionType;
1555
- illnesses?: {
1556
- [x: string]: unknown;
1557
- id: number | string;
1558
- name: string;
1559
- }[];
1560
- id: string;
1561
- name: string;
1562
- lastName: string;
1563
- isOnline: boolean;
1564
- lastSeen: Date;
1565
- imageUrl: string;
1566
- nationalCode?: string;
1567
- phoneNumber?: string;
1568
- isActive: boolean;
1569
- birthDate: Date;
1570
- lastMessage?: /*elided*/ any;
1571
- unreadCount?: number;
1572
- serviceType?: "video-call" | "voice-call" | "chat";
1573
- userType: import('../../../types/chat').UserRoleKey[];
1574
- }[];
1575
- service?: {
1576
- id: string;
1577
- icon?: string;
1578
- label: string;
1579
- fellowships: {
1580
- id: string;
1581
- title: string;
1582
- }[];
1583
- expertiseLevel: "speciality" | "sub-speciality";
1584
- price: number;
1585
- };
1586
- serviceType?: import('../../../types/chat').ServicePresence;
1587
- invoice?: {
1588
- [x: string]: unknown;
1589
- id: number | string;
1590
- amount?: number;
1591
- currency?: string;
1592
- status?: string;
1593
- };
1594
- id: string;
1595
- icon?: string;
1596
- label: string;
1597
- fellowships: {
1598
- id: string;
1599
- title: string;
1600
- }[];
1601
- expertiseLevel: "speciality" | "sub-speciality";
1602
- price: number;
1603
- };
1604
- };
1605
- };
1606
- unreadCount?: number;
1607
- serviceType?: "video-call" | "voice-call" | "chat";
1608
- userType: import('../../../types/chat').UserRoleKey[];
1609
- }[];
1610
- loading: boolean;
1611
- page: number;
1612
- hasNextPage: boolean;
1613
- };
1614
- online: {
1615
- data: {
1616
- id: string;
1617
- name: string;
1618
- lastName: string;
1619
- isOnline: boolean;
1620
- lastSeen: Date;
1621
- imageUrl: string;
1622
- nationalCode?: string;
1623
- phoneNumber?: string;
1624
- isActive: boolean;
1625
- birthDate: Date;
1626
- lastMessage?: {
1627
- id: string;
1628
- conversationId: string;
1629
- date: Date;
1630
- type: import('../../../types/chat').MessageType;
1631
- text?: string;
1632
- imageUrl?: string[];
1633
- fileUrl?: string;
1634
- voiceUrl?: string;
1635
- videoUrl?: string;
1636
- isEdited: boolean;
1637
- senderId: string;
1638
- isSent: boolean;
1639
- isRead: boolean;
1640
- repliedTo: /*elided*/ any;
1641
- request?: {
1642
- id: string;
1643
- type: "personal-info" | "add-person";
1644
- request: {
1645
- id: string;
1646
- date: Date;
1647
- status: import('../../../types/chat').status;
1648
- } | {
1649
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
1650
- provider?: {
1651
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
1652
- expertise: string;
1653
- service: {
1654
- id: string;
1655
- icon?: string;
1656
- label: string;
1657
- fellowships: {
1658
- id: string;
1659
- title: string;
1660
- }[];
1661
- expertiseLevel: "speciality" | "sub-speciality";
1662
- price: number;
1663
- };
1664
- clinics: {
1665
- id: string;
1666
- title: number;
1667
- latitude: number;
1668
- longitude: number;
1669
- }[];
1670
- fellowships: {
1671
- id: string;
1672
- title: string;
1673
- }[];
1674
- type: import('../../../types/service').InsitutionType;
1675
- illnesses?: {
1676
- [x: string]: unknown;
1677
- id: number | string;
1678
- name: string;
1679
- }[];
1680
- id: string;
1681
- name: string;
1682
- lastName: string;
1683
- isOnline: boolean;
1684
- lastSeen: Date;
1685
- imageUrl: string;
1686
- nationalCode?: string;
1687
- phoneNumber?: string;
1688
- isActive: boolean;
1689
- birthDate: Date;
1690
- lastMessage?: /*elided*/ any;
1691
- unreadCount?: number;
1692
- serviceType?: "video-call" | "voice-call" | "chat";
1693
- userType: import('../../../types/chat').UserRoleKey[];
1694
- }[];
1695
- service?: {
1696
- id: string;
1697
- icon?: string;
1698
- label: string;
1699
- fellowships: {
1700
- id: string;
1701
- title: string;
1702
- }[];
1703
- expertiseLevel: "speciality" | "sub-speciality";
1704
- price: number;
1705
- };
1706
- serviceType?: import('../../../types/chat').ServicePresence;
1707
- invoice?: {
1708
- [x: string]: unknown;
1709
- id: number | string;
1710
- amount?: number;
1711
- currency?: string;
1712
- status?: string;
1713
- };
1714
- id: string;
1715
- icon?: string;
1716
- label: string;
1717
- fellowships: {
1718
- id: string;
1719
- title: string;
1720
- }[];
1721
- expertiseLevel: "speciality" | "sub-speciality";
1722
- price: number;
1723
- };
1724
- };
1725
- };
1726
- unreadCount?: number;
1727
- serviceType?: "video-call" | "voice-call" | "chat";
1728
- userType: import('../../../types/chat').UserRoleKey[];
1729
- }[];
1730
- loading: boolean;
1731
- page: number;
1732
- hasNextPage: boolean;
1733
- };
1734
- ended: {
1735
- data: {
1736
- id: string;
1737
- name: string;
1738
- lastName: string;
1739
- isOnline: boolean;
1740
- lastSeen: Date;
1741
- imageUrl: string;
1742
- nationalCode?: string;
1743
- phoneNumber?: string;
1744
- isActive: boolean;
1745
- birthDate: Date;
1746
- lastMessage?: {
1747
- id: string;
1748
- conversationId: string;
1749
- date: Date;
1750
- type: import('../../../types/chat').MessageType;
1751
- text?: string;
1752
- imageUrl?: string[];
1753
- fileUrl?: string;
1754
- voiceUrl?: string;
1755
- videoUrl?: string;
1756
- isEdited: boolean;
1757
- senderId: string;
1758
- isSent: boolean;
1759
- isRead: boolean;
1760
- repliedTo: /*elided*/ any;
1761
- request?: {
1762
- id: string;
1763
- type: "personal-info" | "add-person";
1764
- request: {
1765
- id: string;
1766
- date: Date;
1767
- status: import('../../../types/chat').status;
1768
- } | {
1769
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
1770
- provider?: {
1771
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
1772
- expertise: string;
1773
- service: {
1774
- id: string;
1775
- icon?: string;
1776
- label: string;
1777
- fellowships: {
1778
- id: string;
1779
- title: string;
1780
- }[];
1781
- expertiseLevel: "speciality" | "sub-speciality";
1782
- price: number;
1783
- };
1784
- clinics: {
1785
- id: string;
1786
- title: number;
1787
- latitude: number;
1788
- longitude: number;
1789
- }[];
1790
- fellowships: {
1791
- id: string;
1792
- title: string;
1793
- }[];
1794
- type: import('../../../types/service').InsitutionType;
1795
- illnesses?: {
1796
- [x: string]: unknown;
1797
- id: number | string;
1798
- name: string;
1799
- }[];
1800
- id: string;
1801
- name: string;
1802
- lastName: string;
1803
- isOnline: boolean;
1804
- lastSeen: Date;
1805
- imageUrl: string;
1806
- nationalCode?: string;
1807
- phoneNumber?: string;
1808
- isActive: boolean;
1809
- birthDate: Date;
1810
- lastMessage?: /*elided*/ any;
1811
- unreadCount?: number;
1812
- serviceType?: "video-call" | "voice-call" | "chat";
1813
- userType: import('../../../types/chat').UserRoleKey[];
1814
- }[];
1815
- service?: {
1816
- id: string;
1817
- icon?: string;
1818
- label: string;
1819
- fellowships: {
1820
- id: string;
1821
- title: string;
1822
- }[];
1823
- expertiseLevel: "speciality" | "sub-speciality";
1824
- price: number;
1825
- };
1826
- serviceType?: import('../../../types/chat').ServicePresence;
1827
- invoice?: {
1828
- [x: string]: unknown;
1829
- id: number | string;
1830
- amount?: number;
1831
- currency?: string;
1832
- status?: string;
1833
- };
1834
- id: string;
1835
- icon?: string;
1836
- label: string;
1837
- fellowships: {
1838
- id: string;
1839
- title: string;
1840
- }[];
1841
- expertiseLevel: "speciality" | "sub-speciality";
1842
- price: number;
1843
- };
1844
- };
1845
- };
1846
- unreadCount?: number;
1847
- serviceType?: "video-call" | "voice-call" | "chat";
1848
- userType: import('../../../types/chat').UserRoleKey[];
1849
- }[];
1850
- loading: boolean;
1851
- page: number;
1852
- hasNextPage: boolean;
1853
- };
1854
- active: {
1855
- data: {
1856
- id: string;
1857
- name: string;
1858
- lastName: string;
1859
- isOnline: boolean;
1860
- lastSeen: Date;
1861
- imageUrl: string;
1862
- nationalCode?: string;
1863
- phoneNumber?: string;
1864
- isActive: boolean;
1865
- birthDate: Date;
1866
- lastMessage?: {
1867
- id: string;
1868
- conversationId: string;
1869
- date: Date;
1870
- type: import('../../../types/chat').MessageType;
1871
- text?: string;
1872
- imageUrl?: string[];
1873
- fileUrl?: string;
1874
- voiceUrl?: string;
1875
- videoUrl?: string;
1876
- isEdited: boolean;
1877
- senderId: string;
1878
- isSent: boolean;
1879
- isRead: boolean;
1880
- repliedTo: /*elided*/ any;
1881
- request?: {
1882
- id: string;
1883
- type: "personal-info" | "add-person";
1884
- request: {
1885
- id: string;
1886
- date: Date;
1887
- status: import('../../../types/chat').status;
1888
- } | {
1889
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
1890
- provider?: {
1891
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
1892
- expertise: string;
1893
- service: {
1894
- id: string;
1895
- icon?: string;
1896
- label: string;
1897
- fellowships: {
1898
- id: string;
1899
- title: string;
1900
- }[];
1901
- expertiseLevel: "speciality" | "sub-speciality";
1902
- price: number;
1903
- };
1904
- clinics: {
1905
- id: string;
1906
- title: number;
1907
- latitude: number;
1908
- longitude: number;
1909
- }[];
1910
- fellowships: {
1911
- id: string;
1912
- title: string;
1913
- }[];
1914
- type: import('../../../types/service').InsitutionType;
1915
- illnesses?: {
1916
- [x: string]: unknown;
1917
- id: number | string;
1918
- name: string;
1919
- }[];
1920
- id: string;
1921
- name: string;
1922
- lastName: string;
1923
- isOnline: boolean;
1924
- lastSeen: Date;
1925
- imageUrl: string;
1926
- nationalCode?: string;
1927
- phoneNumber?: string;
1928
- isActive: boolean;
1929
- birthDate: Date;
1930
- lastMessage?: /*elided*/ any;
1931
- unreadCount?: number;
1932
- serviceType?: "video-call" | "voice-call" | "chat";
1933
- userType: import('../../../types/chat').UserRoleKey[];
1934
- }[];
1935
- service?: {
1936
- id: string;
1937
- icon?: string;
1938
- label: string;
1939
- fellowships: {
1940
- id: string;
1941
- title: string;
1942
- }[];
1943
- expertiseLevel: "speciality" | "sub-speciality";
1944
- price: number;
1945
- };
1946
- serviceType?: import('../../../types/chat').ServicePresence;
1947
- invoice?: {
1948
- [x: string]: unknown;
1949
- id: number | string;
1950
- amount?: number;
1951
- currency?: string;
1952
- status?: string;
1953
- };
1954
- id: string;
1955
- icon?: string;
1956
- label: string;
1957
- fellowships: {
1958
- id: string;
1959
- title: string;
1960
- }[];
1961
- expertiseLevel: "speciality" | "sub-speciality";
1962
- price: number;
1963
- };
1964
- };
1965
- };
1966
- unreadCount?: number;
1967
- serviceType?: "video-call" | "voice-call" | "chat";
1968
- userType: import('../../../types/chat').UserRoleKey[];
1969
- }[];
1970
- loading: boolean;
1971
- page: number;
1972
- hasNextPage: boolean;
1973
- };
1974
- }>;
1975
- activeConversationId: import('vue').Ref<string, string>;
1976
- profileViewOpen: import('vue').Ref<boolean, boolean>;
1977
- messagesMap: import('vue').Ref<Record<string, import('../../../types/chat').Message[]>, Record<string, import('../../../types/chat').Message[]>>;
1978
- typingByConversation: import('vue').Ref<Record<string, string>, Record<string, string>>;
1979
- chatsPerPage: import('vue').ComputedRef<number>;
1980
- unreadCount: import('vue').ComputedRef<number>;
1981
- setSelectedChat: (id: string | null) => void;
1982
- openProfile: () => void;
1983
- closeProfile: () => void;
1984
- fetchConversations: (filter?: FilterKeys, page?: number, search?: string) => Promise<void>;
1985
- loadNextPage: (filter: FilterKeys) => Promise<void>;
1986
- getDisplayedContacts: (filter: FilterKeys) => import('../../../types/chat').Contact[];
1987
- getContactById: (id: string) => import('../../../types/chat').Contact | null;
1988
- markAsRead: (conversationId: string) => void;
1989
- updateLastMessage: (conversationId: string, message: import('../../../types/chat').Message) => void;
1990
- patchLastMessage: (conversationId: string, messageId: string, updates: Partial<import('../../../types/chat').Message>) => void;
1991
- }, "chatsPerPage" | "unreadCount">, Pick<{
1992
- currentUserId: import('vue').Ref<string, string>;
1993
- chosenRole: import('vue').Ref<import('../../../types/chat').UserRoleKey, import('../../../types/chat').UserRoleKey>;
1994
- currentUserBirthDate: import('vue').Ref<Date, Date>;
1995
- conversationStates: import('vue').Ref<{
1996
- "": {
1997
- data: {
1998
- id: string;
1999
- name: string;
2000
- lastName: string;
2001
- isOnline: boolean;
2002
- lastSeen: Date;
2003
- imageUrl: string;
2004
- nationalCode?: string;
2005
- phoneNumber?: string;
2006
- isActive: boolean;
2007
- birthDate: Date;
2008
- lastMessage?: {
2009
- id: string;
2010
- conversationId: string;
2011
- date: Date;
2012
- type: import('../../../types/chat').MessageType;
2013
- text?: string;
2014
- imageUrl?: string[];
2015
- fileUrl?: string;
2016
- voiceUrl?: string;
2017
- videoUrl?: string;
2018
- isEdited: boolean;
2019
- senderId: string;
2020
- isSent: boolean;
2021
- isRead: boolean;
2022
- repliedTo: /*elided*/ any;
2023
- request?: {
2024
- id: string;
2025
- type: "personal-info" | "add-person";
2026
- request: {
2027
- id: string;
2028
- date: Date;
2029
- status: import('../../../types/chat').status;
2030
- } | {
2031
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
2032
- provider?: {
2033
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
2034
- expertise: string;
2035
- service: {
2036
- id: string;
2037
- icon?: string;
2038
- label: string;
2039
- fellowships: {
2040
- id: string;
2041
- title: string;
2042
- }[];
2043
- expertiseLevel: "speciality" | "sub-speciality";
2044
- price: number;
2045
- };
2046
- clinics: {
2047
- id: string;
2048
- title: number;
2049
- latitude: number;
2050
- longitude: number;
2051
- }[];
2052
- fellowships: {
2053
- id: string;
2054
- title: string;
2055
- }[];
2056
- type: import('../../../types/service').InsitutionType;
2057
- illnesses?: {
2058
- [x: string]: unknown;
2059
- id: number | string;
2060
- name: string;
2061
- }[];
2062
- id: string;
2063
- name: string;
2064
- lastName: string;
2065
- isOnline: boolean;
2066
- lastSeen: Date;
2067
- imageUrl: string;
2068
- nationalCode?: string;
2069
- phoneNumber?: string;
2070
- isActive: boolean;
2071
- birthDate: Date;
2072
- lastMessage?: /*elided*/ any;
2073
- unreadCount?: number;
2074
- serviceType?: "video-call" | "voice-call" | "chat";
2075
- userType: import('../../../types/chat').UserRoleKey[];
2076
- }[];
2077
- service?: {
2078
- id: string;
2079
- icon?: string;
2080
- label: string;
2081
- fellowships: {
2082
- id: string;
2083
- title: string;
2084
- }[];
2085
- expertiseLevel: "speciality" | "sub-speciality";
2086
- price: number;
2087
- };
2088
- serviceType?: import('../../../types/chat').ServicePresence;
2089
- invoice?: {
2090
- [x: string]: unknown;
2091
- id: number | string;
2092
- amount?: number;
2093
- currency?: string;
2094
- status?: string;
2095
- };
2096
- id: string;
2097
- icon?: string;
2098
- label: string;
2099
- fellowships: {
2100
- id: string;
2101
- title: string;
2102
- }[];
2103
- expertiseLevel: "speciality" | "sub-speciality";
2104
- price: number;
2105
- };
2106
- };
2107
- };
2108
- unreadCount?: number;
2109
- serviceType?: "video-call" | "voice-call" | "chat";
2110
- userType: import('../../../types/chat').UserRoleKey[];
2111
- }[];
2112
- loading: boolean;
2113
- page: number;
2114
- hasNextPage: boolean;
2115
- };
2116
- online: {
2117
- data: {
2118
- id: string;
2119
- name: string;
2120
- lastName: string;
2121
- isOnline: boolean;
2122
- lastSeen: Date;
2123
- imageUrl: string;
2124
- nationalCode?: string;
2125
- phoneNumber?: string;
2126
- isActive: boolean;
2127
- birthDate: Date;
2128
- lastMessage?: {
2129
- id: string;
2130
- conversationId: string;
2131
- date: Date;
2132
- type: import('../../../types/chat').MessageType;
2133
- text?: string;
2134
- imageUrl?: string[];
2135
- fileUrl?: string;
2136
- voiceUrl?: string;
2137
- videoUrl?: string;
2138
- isEdited: boolean;
2139
- senderId: string;
2140
- isSent: boolean;
2141
- isRead: boolean;
2142
- repliedTo: /*elided*/ any;
2143
- request?: {
2144
- id: string;
2145
- type: "personal-info" | "add-person";
2146
- request: {
2147
- id: string;
2148
- date: Date;
2149
- status: import('../../../types/chat').status;
2150
- } | {
2151
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
2152
- provider?: {
2153
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
2154
- expertise: string;
2155
- service: {
2156
- id: string;
2157
- icon?: string;
2158
- label: string;
2159
- fellowships: {
2160
- id: string;
2161
- title: string;
2162
- }[];
2163
- expertiseLevel: "speciality" | "sub-speciality";
2164
- price: number;
2165
- };
2166
- clinics: {
2167
- id: string;
2168
- title: number;
2169
- latitude: number;
2170
- longitude: number;
2171
- }[];
2172
- fellowships: {
2173
- id: string;
2174
- title: string;
2175
- }[];
2176
- type: import('../../../types/service').InsitutionType;
2177
- illnesses?: {
2178
- [x: string]: unknown;
2179
- id: number | string;
2180
- name: string;
2181
- }[];
2182
- id: string;
2183
- name: string;
2184
- lastName: string;
2185
- isOnline: boolean;
2186
- lastSeen: Date;
2187
- imageUrl: string;
2188
- nationalCode?: string;
2189
- phoneNumber?: string;
2190
- isActive: boolean;
2191
- birthDate: Date;
2192
- lastMessage?: /*elided*/ any;
2193
- unreadCount?: number;
2194
- serviceType?: "video-call" | "voice-call" | "chat";
2195
- userType: import('../../../types/chat').UserRoleKey[];
2196
- }[];
2197
- service?: {
2198
- id: string;
2199
- icon?: string;
2200
- label: string;
2201
- fellowships: {
2202
- id: string;
2203
- title: string;
2204
- }[];
2205
- expertiseLevel: "speciality" | "sub-speciality";
2206
- price: number;
2207
- };
2208
- serviceType?: import('../../../types/chat').ServicePresence;
2209
- invoice?: {
2210
- [x: string]: unknown;
2211
- id: number | string;
2212
- amount?: number;
2213
- currency?: string;
2214
- status?: string;
2215
- };
2216
- id: string;
2217
- icon?: string;
2218
- label: string;
2219
- fellowships: {
2220
- id: string;
2221
- title: string;
2222
- }[];
2223
- expertiseLevel: "speciality" | "sub-speciality";
2224
- price: number;
2225
- };
2226
- };
2227
- };
2228
- unreadCount?: number;
2229
- serviceType?: "video-call" | "voice-call" | "chat";
2230
- userType: import('../../../types/chat').UserRoleKey[];
2231
- }[];
2232
- loading: boolean;
2233
- page: number;
2234
- hasNextPage: boolean;
2235
- };
2236
- ended: {
2237
- data: {
2238
- id: string;
2239
- name: string;
2240
- lastName: string;
2241
- isOnline: boolean;
2242
- lastSeen: Date;
2243
- imageUrl: string;
2244
- nationalCode?: string;
2245
- phoneNumber?: string;
2246
- isActive: boolean;
2247
- birthDate: Date;
2248
- lastMessage?: {
2249
- id: string;
2250
- conversationId: string;
2251
- date: Date;
2252
- type: import('../../../types/chat').MessageType;
2253
- text?: string;
2254
- imageUrl?: string[];
2255
- fileUrl?: string;
2256
- voiceUrl?: string;
2257
- videoUrl?: string;
2258
- isEdited: boolean;
2259
- senderId: string;
2260
- isSent: boolean;
2261
- isRead: boolean;
2262
- repliedTo: /*elided*/ any;
2263
- request?: {
2264
- id: string;
2265
- type: "personal-info" | "add-person";
2266
- request: {
2267
- id: string;
2268
- date: Date;
2269
- status: import('../../../types/chat').status;
2270
- } | {
2271
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
2272
- provider?: {
2273
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
2274
- expertise: string;
2275
- service: {
2276
- id: string;
2277
- icon?: string;
2278
- label: string;
2279
- fellowships: {
2280
- id: string;
2281
- title: string;
2282
- }[];
2283
- expertiseLevel: "speciality" | "sub-speciality";
2284
- price: number;
2285
- };
2286
- clinics: {
2287
- id: string;
2288
- title: number;
2289
- latitude: number;
2290
- longitude: number;
2291
- }[];
2292
- fellowships: {
2293
- id: string;
2294
- title: string;
2295
- }[];
2296
- type: import('../../../types/service').InsitutionType;
2297
- illnesses?: {
2298
- [x: string]: unknown;
2299
- id: number | string;
2300
- name: string;
2301
- }[];
2302
- id: string;
2303
- name: string;
2304
- lastName: string;
2305
- isOnline: boolean;
2306
- lastSeen: Date;
2307
- imageUrl: string;
2308
- nationalCode?: string;
2309
- phoneNumber?: string;
2310
- isActive: boolean;
2311
- birthDate: Date;
2312
- lastMessage?: /*elided*/ any;
2313
- unreadCount?: number;
2314
- serviceType?: "video-call" | "voice-call" | "chat";
2315
- userType: import('../../../types/chat').UserRoleKey[];
2316
- }[];
2317
- service?: {
2318
- id: string;
2319
- icon?: string;
2320
- label: string;
2321
- fellowships: {
2322
- id: string;
2323
- title: string;
2324
- }[];
2325
- expertiseLevel: "speciality" | "sub-speciality";
2326
- price: number;
2327
- };
2328
- serviceType?: import('../../../types/chat').ServicePresence;
2329
- invoice?: {
2330
- [x: string]: unknown;
2331
- id: number | string;
2332
- amount?: number;
2333
- currency?: string;
2334
- status?: string;
2335
- };
2336
- id: string;
2337
- icon?: string;
2338
- label: string;
2339
- fellowships: {
2340
- id: string;
2341
- title: string;
2342
- }[];
2343
- expertiseLevel: "speciality" | "sub-speciality";
2344
- price: number;
2345
- };
2346
- };
2347
- };
2348
- unreadCount?: number;
2349
- serviceType?: "video-call" | "voice-call" | "chat";
2350
- userType: import('../../../types/chat').UserRoleKey[];
2351
- }[];
2352
- loading: boolean;
2353
- page: number;
2354
- hasNextPage: boolean;
2355
- };
2356
- active: {
2357
- data: {
2358
- id: string;
2359
- name: string;
2360
- lastName: string;
2361
- isOnline: boolean;
2362
- lastSeen: Date;
2363
- imageUrl: string;
2364
- nationalCode?: string;
2365
- phoneNumber?: string;
2366
- isActive: boolean;
2367
- birthDate: Date;
2368
- lastMessage?: {
2369
- id: string;
2370
- conversationId: string;
2371
- date: Date;
2372
- type: import('../../../types/chat').MessageType;
2373
- text?: string;
2374
- imageUrl?: string[];
2375
- fileUrl?: string;
2376
- voiceUrl?: string;
2377
- videoUrl?: string;
2378
- isEdited: boolean;
2379
- senderId: string;
2380
- isSent: boolean;
2381
- isRead: boolean;
2382
- repliedTo: /*elided*/ any;
2383
- request?: {
2384
- id: string;
2385
- type: "personal-info" | "add-person";
2386
- request: {
2387
- id: string;
2388
- date: Date;
2389
- status: import('../../../types/chat').status;
2390
- } | {
2391
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
2392
- provider?: {
2393
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
2394
- expertise: string;
2395
- service: {
2396
- id: string;
2397
- icon?: string;
2398
- label: string;
2399
- fellowships: {
2400
- id: string;
2401
- title: string;
2402
- }[];
2403
- expertiseLevel: "speciality" | "sub-speciality";
2404
- price: number;
2405
- };
2406
- clinics: {
2407
- id: string;
2408
- title: number;
2409
- latitude: number;
2410
- longitude: number;
2411
- }[];
2412
- fellowships: {
2413
- id: string;
2414
- title: string;
2415
- }[];
2416
- type: import('../../../types/service').InsitutionType;
2417
- illnesses?: {
2418
- [x: string]: unknown;
2419
- id: number | string;
2420
- name: string;
2421
- }[];
2422
- id: string;
2423
- name: string;
2424
- lastName: string;
2425
- isOnline: boolean;
2426
- lastSeen: Date;
2427
- imageUrl: string;
2428
- nationalCode?: string;
2429
- phoneNumber?: string;
2430
- isActive: boolean;
2431
- birthDate: Date;
2432
- lastMessage?: /*elided*/ any;
2433
- unreadCount?: number;
2434
- serviceType?: "video-call" | "voice-call" | "chat";
2435
- userType: import('../../../types/chat').UserRoleKey[];
2436
- }[];
2437
- service?: {
2438
- id: string;
2439
- icon?: string;
2440
- label: string;
2441
- fellowships: {
2442
- id: string;
2443
- title: string;
2444
- }[];
2445
- expertiseLevel: "speciality" | "sub-speciality";
2446
- price: number;
2447
- };
2448
- serviceType?: import('../../../types/chat').ServicePresence;
2449
- invoice?: {
2450
- [x: string]: unknown;
2451
- id: number | string;
2452
- amount?: number;
2453
- currency?: string;
2454
- status?: string;
2455
- };
2456
- id: string;
2457
- icon?: string;
2458
- label: string;
2459
- fellowships: {
2460
- id: string;
2461
- title: string;
2462
- }[];
2463
- expertiseLevel: "speciality" | "sub-speciality";
2464
- price: number;
2465
- };
2466
- };
2467
- };
2468
- unreadCount?: number;
2469
- serviceType?: "video-call" | "voice-call" | "chat";
2470
- userType: import('../../../types/chat').UserRoleKey[];
2471
- }[];
2472
- loading: boolean;
2473
- page: number;
2474
- hasNextPage: boolean;
2475
- };
2476
- }, Record<FilterKeys, {
2477
- data: import('../../../types/chat').Contact[];
2478
- loading: boolean;
2479
- page: number;
2480
- hasNextPage: boolean;
2481
- }> | {
2482
- "": {
2483
- data: {
2484
- id: string;
2485
- name: string;
2486
- lastName: string;
2487
- isOnline: boolean;
2488
- lastSeen: Date;
2489
- imageUrl: string;
2490
- nationalCode?: string;
2491
- phoneNumber?: string;
2492
- isActive: boolean;
2493
- birthDate: Date;
2494
- lastMessage?: {
2495
- id: string;
2496
- conversationId: string;
2497
- date: Date;
2498
- type: import('../../../types/chat').MessageType;
2499
- text?: string;
2500
- imageUrl?: string[];
2501
- fileUrl?: string;
2502
- voiceUrl?: string;
2503
- videoUrl?: string;
2504
- isEdited: boolean;
2505
- senderId: string;
2506
- isSent: boolean;
2507
- isRead: boolean;
2508
- repliedTo: /*elided*/ any;
2509
- request?: {
2510
- id: string;
2511
- type: "personal-info" | "add-person";
2512
- request: {
2513
- id: string;
2514
- date: Date;
2515
- status: import('../../../types/chat').status;
2516
- } | {
2517
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
2518
- provider?: {
2519
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
2520
- expertise: string;
2521
- service: {
2522
- id: string;
2523
- icon?: string;
2524
- label: string;
2525
- fellowships: {
2526
- id: string;
2527
- title: string;
2528
- }[];
2529
- expertiseLevel: "speciality" | "sub-speciality";
2530
- price: number;
2531
- };
2532
- clinics: {
2533
- id: string;
2534
- title: number;
2535
- latitude: number;
2536
- longitude: number;
2537
- }[];
2538
- fellowships: {
2539
- id: string;
2540
- title: string;
2541
- }[];
2542
- type: import('../../../types/service').InsitutionType;
2543
- illnesses?: {
2544
- [x: string]: unknown;
2545
- id: number | string;
2546
- name: string;
2547
- }[];
2548
- id: string;
2549
- name: string;
2550
- lastName: string;
2551
- isOnline: boolean;
2552
- lastSeen: Date;
2553
- imageUrl: string;
2554
- nationalCode?: string;
2555
- phoneNumber?: string;
2556
- isActive: boolean;
2557
- birthDate: Date;
2558
- lastMessage?: /*elided*/ any;
2559
- unreadCount?: number;
2560
- serviceType?: "video-call" | "voice-call" | "chat";
2561
- userType: import('../../../types/chat').UserRoleKey[];
2562
- }[];
2563
- service?: {
2564
- id: string;
2565
- icon?: string;
2566
- label: string;
2567
- fellowships: {
2568
- id: string;
2569
- title: string;
2570
- }[];
2571
- expertiseLevel: "speciality" | "sub-speciality";
2572
- price: number;
2573
- };
2574
- serviceType?: import('../../../types/chat').ServicePresence;
2575
- invoice?: {
2576
- [x: string]: unknown;
2577
- id: number | string;
2578
- amount?: number;
2579
- currency?: string;
2580
- status?: string;
2581
- };
2582
- id: string;
2583
- icon?: string;
2584
- label: string;
2585
- fellowships: {
2586
- id: string;
2587
- title: string;
2588
- }[];
2589
- expertiseLevel: "speciality" | "sub-speciality";
2590
- price: number;
2591
- };
2592
- };
2593
- };
2594
- unreadCount?: number;
2595
- serviceType?: "video-call" | "voice-call" | "chat";
2596
- userType: import('../../../types/chat').UserRoleKey[];
2597
- }[];
2598
- loading: boolean;
2599
- page: number;
2600
- hasNextPage: boolean;
2601
- };
2602
- online: {
2603
- data: {
2604
- id: string;
2605
- name: string;
2606
- lastName: string;
2607
- isOnline: boolean;
2608
- lastSeen: Date;
2609
- imageUrl: string;
2610
- nationalCode?: string;
2611
- phoneNumber?: string;
2612
- isActive: boolean;
2613
- birthDate: Date;
2614
- lastMessage?: {
2615
- id: string;
2616
- conversationId: string;
2617
- date: Date;
2618
- type: import('../../../types/chat').MessageType;
2619
- text?: string;
2620
- imageUrl?: string[];
2621
- fileUrl?: string;
2622
- voiceUrl?: string;
2623
- videoUrl?: string;
2624
- isEdited: boolean;
2625
- senderId: string;
2626
- isSent: boolean;
2627
- isRead: boolean;
2628
- repliedTo: /*elided*/ any;
2629
- request?: {
2630
- id: string;
2631
- type: "personal-info" | "add-person";
2632
- request: {
2633
- id: string;
2634
- date: Date;
2635
- status: import('../../../types/chat').status;
2636
- } | {
2637
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
2638
- provider?: {
2639
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
2640
- expertise: string;
2641
- service: {
2642
- id: string;
2643
- icon?: string;
2644
- label: string;
2645
- fellowships: {
2646
- id: string;
2647
- title: string;
2648
- }[];
2649
- expertiseLevel: "speciality" | "sub-speciality";
2650
- price: number;
2651
- };
2652
- clinics: {
2653
- id: string;
2654
- title: number;
2655
- latitude: number;
2656
- longitude: number;
2657
- }[];
2658
- fellowships: {
2659
- id: string;
2660
- title: string;
2661
- }[];
2662
- type: import('../../../types/service').InsitutionType;
2663
- illnesses?: {
2664
- [x: string]: unknown;
2665
- id: number | string;
2666
- name: string;
2667
- }[];
2668
- id: string;
2669
- name: string;
2670
- lastName: string;
2671
- isOnline: boolean;
2672
- lastSeen: Date;
2673
- imageUrl: string;
2674
- nationalCode?: string;
2675
- phoneNumber?: string;
2676
- isActive: boolean;
2677
- birthDate: Date;
2678
- lastMessage?: /*elided*/ any;
2679
- unreadCount?: number;
2680
- serviceType?: "video-call" | "voice-call" | "chat";
2681
- userType: import('../../../types/chat').UserRoleKey[];
2682
- }[];
2683
- service?: {
2684
- id: string;
2685
- icon?: string;
2686
- label: string;
2687
- fellowships: {
2688
- id: string;
2689
- title: string;
2690
- }[];
2691
- expertiseLevel: "speciality" | "sub-speciality";
2692
- price: number;
2693
- };
2694
- serviceType?: import('../../../types/chat').ServicePresence;
2695
- invoice?: {
2696
- [x: string]: unknown;
2697
- id: number | string;
2698
- amount?: number;
2699
- currency?: string;
2700
- status?: string;
2701
- };
2702
- id: string;
2703
- icon?: string;
2704
- label: string;
2705
- fellowships: {
2706
- id: string;
2707
- title: string;
2708
- }[];
2709
- expertiseLevel: "speciality" | "sub-speciality";
2710
- price: number;
2711
- };
2712
- };
2713
- };
2714
- unreadCount?: number;
2715
- serviceType?: "video-call" | "voice-call" | "chat";
2716
- userType: import('../../../types/chat').UserRoleKey[];
2717
- }[];
2718
- loading: boolean;
2719
- page: number;
2720
- hasNextPage: boolean;
2721
- };
2722
- ended: {
2723
- data: {
2724
- id: string;
2725
- name: string;
2726
- lastName: string;
2727
- isOnline: boolean;
2728
- lastSeen: Date;
2729
- imageUrl: string;
2730
- nationalCode?: string;
2731
- phoneNumber?: string;
2732
- isActive: boolean;
2733
- birthDate: Date;
2734
- lastMessage?: {
2735
- id: string;
2736
- conversationId: string;
2737
- date: Date;
2738
- type: import('../../../types/chat').MessageType;
2739
- text?: string;
2740
- imageUrl?: string[];
2741
- fileUrl?: string;
2742
- voiceUrl?: string;
2743
- videoUrl?: string;
2744
- isEdited: boolean;
2745
- senderId: string;
2746
- isSent: boolean;
2747
- isRead: boolean;
2748
- repliedTo: /*elided*/ any;
2749
- request?: {
2750
- id: string;
2751
- type: "personal-info" | "add-person";
2752
- request: {
2753
- id: string;
2754
- date: Date;
2755
- status: import('../../../types/chat').status;
2756
- } | {
2757
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
2758
- provider?: {
2759
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
2760
- expertise: string;
2761
- service: {
2762
- id: string;
2763
- icon?: string;
2764
- label: string;
2765
- fellowships: {
2766
- id: string;
2767
- title: string;
2768
- }[];
2769
- expertiseLevel: "speciality" | "sub-speciality";
2770
- price: number;
2771
- };
2772
- clinics: {
2773
- id: string;
2774
- title: number;
2775
- latitude: number;
2776
- longitude: number;
2777
- }[];
2778
- fellowships: {
2779
- id: string;
2780
- title: string;
2781
- }[];
2782
- type: import('../../../types/service').InsitutionType;
2783
- illnesses?: {
2784
- [x: string]: unknown;
2785
- id: number | string;
2786
- name: string;
2787
- }[];
2788
- id: string;
2789
- name: string;
2790
- lastName: string;
2791
- isOnline: boolean;
2792
- lastSeen: Date;
2793
- imageUrl: string;
2794
- nationalCode?: string;
2795
- phoneNumber?: string;
2796
- isActive: boolean;
2797
- birthDate: Date;
2798
- lastMessage?: /*elided*/ any;
2799
- unreadCount?: number;
2800
- serviceType?: "video-call" | "voice-call" | "chat";
2801
- userType: import('../../../types/chat').UserRoleKey[];
2802
- }[];
2803
- service?: {
2804
- id: string;
2805
- icon?: string;
2806
- label: string;
2807
- fellowships: {
2808
- id: string;
2809
- title: string;
2810
- }[];
2811
- expertiseLevel: "speciality" | "sub-speciality";
2812
- price: number;
2813
- };
2814
- serviceType?: import('../../../types/chat').ServicePresence;
2815
- invoice?: {
2816
- [x: string]: unknown;
2817
- id: number | string;
2818
- amount?: number;
2819
- currency?: string;
2820
- status?: string;
2821
- };
2822
- id: string;
2823
- icon?: string;
2824
- label: string;
2825
- fellowships: {
2826
- id: string;
2827
- title: string;
2828
- }[];
2829
- expertiseLevel: "speciality" | "sub-speciality";
2830
- price: number;
2831
- };
2832
- };
2833
- };
2834
- unreadCount?: number;
2835
- serviceType?: "video-call" | "voice-call" | "chat";
2836
- userType: import('../../../types/chat').UserRoleKey[];
2837
- }[];
2838
- loading: boolean;
2839
- page: number;
2840
- hasNextPage: boolean;
2841
- };
2842
- active: {
2843
- data: {
2844
- id: string;
2845
- name: string;
2846
- lastName: string;
2847
- isOnline: boolean;
2848
- lastSeen: Date;
2849
- imageUrl: string;
2850
- nationalCode?: string;
2851
- phoneNumber?: string;
2852
- isActive: boolean;
2853
- birthDate: Date;
2854
- lastMessage?: {
2855
- id: string;
2856
- conversationId: string;
2857
- date: Date;
2858
- type: import('../../../types/chat').MessageType;
2859
- text?: string;
2860
- imageUrl?: string[];
2861
- fileUrl?: string;
2862
- voiceUrl?: string;
2863
- videoUrl?: string;
2864
- isEdited: boolean;
2865
- senderId: string;
2866
- isSent: boolean;
2867
- isRead: boolean;
2868
- repliedTo: /*elided*/ any;
2869
- request?: {
2870
- id: string;
2871
- type: "personal-info" | "add-person";
2872
- request: {
2873
- id: string;
2874
- date: Date;
2875
- status: import('../../../types/chat').status;
2876
- } | {
2877
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
2878
- provider?: {
2879
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
2880
- expertise: string;
2881
- service: {
2882
- id: string;
2883
- icon?: string;
2884
- label: string;
2885
- fellowships: {
2886
- id: string;
2887
- title: string;
2888
- }[];
2889
- expertiseLevel: "speciality" | "sub-speciality";
2890
- price: number;
2891
- };
2892
- clinics: {
2893
- id: string;
2894
- title: number;
2895
- latitude: number;
2896
- longitude: number;
2897
- }[];
2898
- fellowships: {
2899
- id: string;
2900
- title: string;
2901
- }[];
2902
- type: import('../../../types/service').InsitutionType;
2903
- illnesses?: {
2904
- [x: string]: unknown;
2905
- id: number | string;
2906
- name: string;
2907
- }[];
2908
- id: string;
2909
- name: string;
2910
- lastName: string;
2911
- isOnline: boolean;
2912
- lastSeen: Date;
2913
- imageUrl: string;
2914
- nationalCode?: string;
2915
- phoneNumber?: string;
2916
- isActive: boolean;
2917
- birthDate: Date;
2918
- lastMessage?: /*elided*/ any;
2919
- unreadCount?: number;
2920
- serviceType?: "video-call" | "voice-call" | "chat";
2921
- userType: import('../../../types/chat').UserRoleKey[];
2922
- }[];
2923
- service?: {
2924
- id: string;
2925
- icon?: string;
2926
- label: string;
2927
- fellowships: {
2928
- id: string;
2929
- title: string;
2930
- }[];
2931
- expertiseLevel: "speciality" | "sub-speciality";
2932
- price: number;
2933
- };
2934
- serviceType?: import('../../../types/chat').ServicePresence;
2935
- invoice?: {
2936
- [x: string]: unknown;
2937
- id: number | string;
2938
- amount?: number;
2939
- currency?: string;
2940
- status?: string;
2941
- };
2942
- id: string;
2943
- icon?: string;
2944
- label: string;
2945
- fellowships: {
2946
- id: string;
2947
- title: string;
2948
- }[];
2949
- expertiseLevel: "speciality" | "sub-speciality";
2950
- price: number;
2951
- };
2952
- };
2953
- };
2954
- unreadCount?: number;
2955
- serviceType?: "video-call" | "voice-call" | "chat";
2956
- userType: import('../../../types/chat').UserRoleKey[];
2957
- }[];
2958
- loading: boolean;
2959
- page: number;
2960
- hasNextPage: boolean;
2961
- };
2962
- }>;
2963
- activeConversationId: import('vue').Ref<string, string>;
2964
- profileViewOpen: import('vue').Ref<boolean, boolean>;
2965
- messagesMap: import('vue').Ref<Record<string, import('../../../types/chat').Message[]>, Record<string, import('../../../types/chat').Message[]>>;
2966
- typingByConversation: import('vue').Ref<Record<string, string>, Record<string, string>>;
2967
- chatsPerPage: import('vue').ComputedRef<number>;
2968
- unreadCount: import('vue').ComputedRef<number>;
2969
- setSelectedChat: (id: string | null) => void;
2970
- openProfile: () => void;
2971
- closeProfile: () => void;
2972
- fetchConversations: (filter?: FilterKeys, page?: number, search?: string) => Promise<void>;
2973
- loadNextPage: (filter: FilterKeys) => Promise<void>;
2974
- getDisplayedContacts: (filter: FilterKeys) => import('../../../types/chat').Contact[];
2975
- getContactById: (id: string) => import('../../../types/chat').Contact | null;
2976
- markAsRead: (conversationId: string) => void;
2977
- updateLastMessage: (conversationId: string, message: import('../../../types/chat').Message) => void;
2978
- patchLastMessage: (conversationId: string, messageId: string, updates: Partial<import('../../../types/chat').Message>) => void;
2979
- }, "setSelectedChat" | "openProfile" | "closeProfile" | "fetchConversations" | "loadNextPage" | "getDisplayedContacts" | "getContactById" | "markAsRead" | "updateLastMessage" | "patchLastMessage">>;
2980
- currentPage: import('vue').ComputedRef<any>;
2981
- NoData: string;
2982
- isLoading: import('vue').ComputedRef<any>;
2983
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
2984
- ChatContactDisplay: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2985
- contact: {
2986
- type: import('vue').PropType<import('../../../types/chat').Contact>;
2987
- required: true;
2988
- };
2989
- loading: {
2990
- type: BooleanConstructor;
2991
- default: boolean;
2992
- };
2993
- }>, {
2994
- lastMessageIcon: import('vue').ComputedRef<{
2995
- color: string;
2996
- icon: string;
2997
- }>;
2998
- attachmentIcon: import('vue').ComputedRef<string>;
2999
- isActive: import('vue').ComputedRef<boolean>;
3000
- openChat: () => void;
3001
- formatRelativeDate: (dateInput: string | Date) => string;
3002
- lastMessageText: import('vue').ComputedRef<string>;
3003
- isLoading: import('vue').ComputedRef<boolean>;
3004
- lastMessageColor: import('vue').ComputedRef<"text-on-surface/50" | "text-primary font-medium" | "text-on-surface font-medium">;
3005
- t: import('../../../nuxt-shims').I18nT;
3006
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
3007
- contact: {
3008
- type: import('vue').PropType<import('../../../types/chat').Contact>;
3009
- required: true;
3010
- };
3011
- loading: {
3012
- type: BooleanConstructor;
3013
- default: boolean;
3014
- };
3015
- }>> & Readonly<{}>, {
3016
- loading: boolean;
3017
- }, {}, {
3018
- SafeEmojiText: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3019
- text: {
3020
- type: StringConstructor;
3021
- default: string;
3022
- };
3023
- truncate: {
3024
- type: BooleanConstructor;
3025
- default: boolean;
3026
- };
3027
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
3028
- text: {
3029
- type: StringConstructor;
3030
- default: string;
3031
- };
3032
- truncate: {
3033
- type: BooleanConstructor;
3034
- default: boolean;
3035
- };
3036
- }>> & Readonly<{}>, {
3037
- text: string;
3038
- truncate: boolean;
3039
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
3040
- ContactAvatar: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3041
- contact: {
3042
- type: import('vue').PropType<import('../../../types/chat').Contact>;
3043
- required: true;
3044
- };
3045
- showOnline: {
3046
- type: BooleanConstructor;
3047
- default: boolean;
3048
- };
3049
- }>, {
3050
- hasImage: any;
3051
- initials: any;
3052
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
3053
- contact: {
3054
- type: import('vue').PropType<import('../../../types/chat').Contact>;
3055
- required: true;
3056
- };
3057
- showOnline: {
3058
- type: BooleanConstructor;
3059
- default: boolean;
3060
- };
3061
- }>> & Readonly<{}>, {
3062
- showOnline: boolean;
3063
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
3064
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
3065
- ChatListSearch: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3066
- modelValue: {
3067
- type: StringConstructor;
3068
- default: string;
3069
- };
3070
- }>, {
3071
- t: import('../../../nuxt-shims').I18nT;
3072
- toggleSearch: () => void;
3073
- isOpen: import('vue').Ref<boolean, boolean>;
3074
- inputRef: import('vue').Ref<HTMLInputElement, HTMLInputElement>;
3075
- searchText: import('vue').Ref<string, string>;
3076
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("search" | "update:modelValue")[], "search" | "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
3077
- modelValue: {
3078
- type: StringConstructor;
3079
- default: string;
3080
- };
3081
- }>> & Readonly<{
3082
- onSearch?: (...args: any[]) => any;
3083
- "onUpdate:modelValue"?: (...args: any[]) => any;
3084
- }>, {
3085
- modelValue: string;
3086
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
3087
- NoDataDisplay: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3088
- imagePath: {
3089
- type: StringConstructor;
3090
- default: string;
3091
- };
3092
- title: {
3093
- type: StringConstructor;
3094
- default: string;
3095
- };
3096
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
3097
- imagePath: {
3098
- type: StringConstructor;
3099
- default: string;
3100
- };
3101
- title: {
3102
- type: StringConstructor;
3103
- default: string;
3104
- };
3105
- }>> & Readonly<{}>, {
3106
- title: string;
3107
- imagePath: string;
3108
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
3109
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
3110
- export default _default;
3111
- //# sourceMappingURL=ChatList.vue.d.ts.map