@yonus_amire01/chat 1.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (354) 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 +10827 -8846
  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/app/composables/useDate.d.ts +7 -0
  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 +5 -0
  109. package/dist/types/app/composables/useLocalI18n.d.ts.map +1 -0
  110. package/dist/types/app/directives/filePicker.d.ts.map +1 -0
  111. package/dist/types/app/directives/imagePicker.d.ts.map +1 -0
  112. package/dist/types/app/directives/loading.d.ts.map +1 -0
  113. package/dist/types/app/index.d.ts +28 -0
  114. package/dist/types/app/index.d.ts.map +1 -0
  115. package/dist/types/{stores → app/stores}/callStore.d.ts +451 -102
  116. package/dist/types/app/stores/callStore.d.ts.map +1 -0
  117. package/dist/types/app/stores/chatStore.d.ts +969 -0
  118. package/dist/types/app/stores/chatStore.d.ts.map +1 -0
  119. package/dist/types/app/stores/mediaStore.d.ts +18 -0
  120. package/dist/types/app/stores/mediaStore.d.ts.map +1 -0
  121. package/dist/types/app/stores/messageStores.d.ts +2229 -0
  122. package/dist/types/{stores/chatStore.d.ts.map → app/stores/messageStores.d.ts.map} +1 -1
  123. package/dist/types/app/stores/profileStore.d.ts +45 -0
  124. package/dist/types/app/stores/profileStore.d.ts.map +1 -0
  125. package/dist/types/app/types/components/chat-input.d.ts.map +1 -0
  126. package/dist/types/app/types/components/input.d.ts.map +1 -0
  127. package/dist/types/app/types/components/menu-options.d.ts.map +1 -0
  128. package/dist/types/app/types/components/menu.d.ts.map +1 -0
  129. package/dist/types/app/types/components/modal.d.ts.map +1 -0
  130. package/dist/types/app/types/components/popup.d.ts.map +1 -0
  131. package/dist/types/app/types/components/select.d.ts.map +1 -0
  132. package/dist/types/app/types/components/toast.d.ts.map +1 -0
  133. package/dist/types/app/types/index.d.ts +149 -0
  134. package/dist/types/app/types/index.d.ts.map +1 -0
  135. package/dist/types/app/utils/emojiParser.d.ts.map +1 -0
  136. package/dist/types/app/utils/format.d.ts +4 -0
  137. package/dist/types/app/utils/format.d.ts.map +1 -0
  138. package/dist/types/i18n/locales/index.d.ts +2603 -0
  139. package/dist/types/i18n/locales/index.d.ts.map +1 -0
  140. package/dist/types/index.d.ts +2 -10
  141. package/package.json +7 -14
  142. package/dist/index.cjs.map +0 -1
  143. package/dist/index.mjs.map +0 -1
  144. package/dist/style.css +0 -1
  145. package/dist/types/adapter/HostAdapter.d.ts +0 -13
  146. package/dist/types/adapter/HostAdapter.d.ts.map +0 -1
  147. package/dist/types/adapter/PushPort.d.ts +0 -10
  148. package/dist/types/adapter/PushPort.d.ts.map +0 -1
  149. package/dist/types/adapter/index.d.ts +0 -7
  150. package/dist/types/adapter/index.d.ts.map +0 -1
  151. package/dist/types/adapter/mock/MockCallAdapter.d.ts +0 -14
  152. package/dist/types/adapter/mock/MockCallAdapter.d.ts.map +0 -1
  153. package/dist/types/adapter/mock/MockChatActionAdapter.d.ts +0 -9
  154. package/dist/types/adapter/mock/MockChatActionAdapter.d.ts.map +0 -1
  155. package/dist/types/adapter/mock/MockChatAdapter.d.ts +0 -7
  156. package/dist/types/adapter/mock/MockChatAdapter.d.ts.map +0 -1
  157. package/dist/types/adapter/mock/MockMedicationAdapter.d.ts +0 -7
  158. package/dist/types/adapter/mock/MockMedicationAdapter.d.ts.map +0 -1
  159. package/dist/types/adapter/mock/MockServiceAdapter.d.ts +0 -6
  160. package/dist/types/adapter/mock/MockServiceAdapter.d.ts.map +0 -1
  161. package/dist/types/adapter/mock/createMockAdapter.d.ts +0 -13
  162. package/dist/types/adapter/mock/createMockAdapter.d.ts.map +0 -1
  163. package/dist/types/adapter/mock/index.d.ts +0 -12
  164. package/dist/types/adapter/mock/index.d.ts.map +0 -1
  165. package/dist/types/adapter/ports/CallAdapter.d.ts +0 -36
  166. package/dist/types/adapter/ports/CallAdapter.d.ts.map +0 -1
  167. package/dist/types/adapter/ports/ChatActionAdapter.d.ts +0 -17
  168. package/dist/types/adapter/ports/ChatActionAdapter.d.ts.map +0 -1
  169. package/dist/types/adapter/ports/ChatAdapter.d.ts +0 -22
  170. package/dist/types/adapter/ports/ChatAdapter.d.ts.map +0 -1
  171. package/dist/types/adapter/ports/MedicationAdapter.d.ts +0 -6
  172. package/dist/types/adapter/ports/MedicationAdapter.d.ts.map +0 -1
  173. package/dist/types/adapter/ports/ServiceAdapter.d.ts +0 -16
  174. package/dist/types/adapter/ports/ServiceAdapter.d.ts.map +0 -1
  175. package/dist/types/components/ChatPage.vue.d.ts +0 -8
  176. package/dist/types/components/ChatPage.vue.d.ts.map +0 -1
  177. package/dist/types/components/call/CallBoard.vue.d.ts +0 -154
  178. package/dist/types/components/call/CallBoard.vue.d.ts.map +0 -1
  179. package/dist/types/components/call/CallMemberDisplay.vue.d.ts +0 -57
  180. package/dist/types/components/call/CallMemberDisplay.vue.d.ts.map +0 -1
  181. package/dist/types/components/call/CallPageOverlay.vue.d.ts +0 -1365
  182. package/dist/types/components/call/CallPageOverlay.vue.d.ts.map +0 -1
  183. package/dist/types/components/call/paint-board/BoardColorPicker.vue.d.ts +0 -41
  184. package/dist/types/components/call/paint-board/BoardColorPicker.vue.d.ts.map +0 -1
  185. package/dist/types/components/call/paint-board/BrushSizeSlider.vue.d.ts +0 -48
  186. package/dist/types/components/call/paint-board/BrushSizeSlider.vue.d.ts.map +0 -1
  187. package/dist/types/components/call/paint-board/CallPaintBoard.vue.d.ts +0 -127
  188. package/dist/types/components/call/paint-board/CallPaintBoard.vue.d.ts.map +0 -1
  189. package/dist/types/components/chat/ChatBubble.vue.d.ts +0 -12236
  190. package/dist/types/components/chat/ChatBubble.vue.d.ts.map +0 -1
  191. package/dist/types/components/chat/ChatInput.vue.d.ts +0 -2477
  192. package/dist/types/components/chat/ChatInput.vue.d.ts.map +0 -1
  193. package/dist/types/components/chat/ChatMessages.vue.d.ts +0 -13873
  194. package/dist/types/components/chat/ChatMessages.vue.d.ts.map +0 -1
  195. package/dist/types/components/chat/ChatPageBar.vue.d.ts +0 -1204
  196. package/dist/types/components/chat/ChatPageBar.vue.d.ts.map +0 -1
  197. package/dist/types/components/chat/ChatProfileOverview.vue.d.ts +0 -327
  198. package/dist/types/components/chat/ChatProfileOverview.vue.d.ts.map +0 -1
  199. package/dist/types/components/chat/ChatView.vue.d.ts +0 -4
  200. package/dist/types/components/chat/ChatView.vue.d.ts.map +0 -1
  201. package/dist/types/components/chat/PatientReferral.vue.d.ts +0 -33
  202. package/dist/types/components/chat/PatientReferral.vue.d.ts.map +0 -1
  203. package/dist/types/components/chat/chat-bubbles/BubbleOptions.vue.d.ts +0 -53
  204. package/dist/types/components/chat/chat-bubbles/BubbleOptions.vue.d.ts.map +0 -1
  205. package/dist/types/components/chat/chat-bubbles/BubbleVideo.vue.d.ts +0 -103
  206. package/dist/types/components/chat/chat-bubbles/BubbleVideo.vue.d.ts.map +0 -1
  207. package/dist/types/components/chat/chat-bubbles/FileDisplay.vue.d.ts +0 -170
  208. package/dist/types/components/chat/chat-bubbles/FileDisplay.vue.d.ts.map +0 -1
  209. package/dist/types/components/chat/chat-bubbles/ImageGroupDisplay.vue.d.ts +0 -74
  210. package/dist/types/components/chat/chat-bubbles/ImageGroupDisplay.vue.d.ts.map +0 -1
  211. package/dist/types/components/chat/chat-bubbles/RequestCard.vue.d.ts +0 -11449
  212. package/dist/types/components/chat/chat-bubbles/RequestCard.vue.d.ts.map +0 -1
  213. package/dist/types/components/chat/chat-bubbles/VoiceDisplay.vue.d.ts +0 -107
  214. package/dist/types/components/chat/chat-bubbles/VoiceDisplay.vue.d.ts.map +0 -1
  215. package/dist/types/components/chat/chat-bubbles/request-card/ProviderDisplay.vue.d.ts +0 -56
  216. package/dist/types/components/chat/chat-bubbles/request-card/ProviderDisplay.vue.d.ts.map +0 -1
  217. package/dist/types/components/chat/chat-input/AttachementFileDisplay.vue.d.ts +0 -28
  218. package/dist/types/components/chat/chat-input/AttachementFileDisplay.vue.d.ts.map +0 -1
  219. package/dist/types/components/chat/chat-input/InputAttachement.vue.d.ts +0 -72
  220. package/dist/types/components/chat/chat-input/InputAttachement.vue.d.ts.map +0 -1
  221. package/dist/types/components/chat/chat-input/PermissionPopup.vue.d.ts +0 -15
  222. package/dist/types/components/chat/chat-input/PermissionPopup.vue.d.ts.map +0 -1
  223. package/dist/types/components/chat/chat-input/VideoRecordDisplay.vue.d.ts +0 -149
  224. package/dist/types/components/chat/chat-input/VideoRecordDisplay.vue.d.ts.map +0 -1
  225. package/dist/types/components/chat/contact/ChatContactDisplay.vue.d.ts +0 -85
  226. package/dist/types/components/chat/contact/ChatContactDisplay.vue.d.ts.map +0 -1
  227. package/dist/types/components/chat/contact/ChatList.vue.d.ts +0 -3111
  228. package/dist/types/components/chat/contact/ChatList.vue.d.ts.map +0 -1
  229. package/dist/types/components/chat/contact/ChatListSearch.vue.d.ts +0 -24
  230. package/dist/types/components/chat/contact/ChatListSearch.vue.d.ts.map +0 -1
  231. package/dist/types/components/chat/contact/ContactAvatar.vue.d.ts +0 -28
  232. package/dist/types/components/chat/contact/ContactAvatar.vue.d.ts.map +0 -1
  233. package/dist/types/components/chat/medic-features/MedicDisplay.vue.d.ts +0 -61
  234. package/dist/types/components/chat/medic-features/MedicDisplay.vue.d.ts.map +0 -1
  235. package/dist/types/components/chat/medic-features/MedicSelector.vue.d.ts +0 -1113
  236. package/dist/types/components/chat/medic-features/MedicSelector.vue.d.ts.map +0 -1
  237. package/dist/types/components/chat/medic-features/MedicSelectorContent.vue.d.ts +0 -1060
  238. package/dist/types/components/chat/medic-features/MedicSelectorContent.vue.d.ts.map +0 -1
  239. package/dist/types/components/chat/medic-features/PrescribtionDisplay.vue.d.ts +0 -1431
  240. package/dist/types/components/chat/medic-features/PrescribtionDisplay.vue.d.ts.map +0 -1
  241. package/dist/types/components/chat/profile/FileDisplay.vue.d.ts +0 -28
  242. package/dist/types/components/chat/profile/FileDisplay.vue.d.ts.map +0 -1
  243. package/dist/types/components/general/FileFormatDisplay.vue.d.ts +0 -60
  244. package/dist/types/components/general/FileFormatDisplay.vue.d.ts.map +0 -1
  245. package/dist/types/components/general/LoadingStatus.vue.d.ts +0 -59
  246. package/dist/types/components/general/LoadingStatus.vue.d.ts.map +0 -1
  247. package/dist/types/components/general/NoDataDisplay.vue.d.ts +0 -24
  248. package/dist/types/components/general/NoDataDisplay.vue.d.ts.map +0 -1
  249. package/dist/types/components/general/SafeEmojiText.vue.d.ts +0 -24
  250. package/dist/types/components/general/SafeEmojiText.vue.d.ts.map +0 -1
  251. package/dist/types/components/global/BCarousel.vue.d.ts +0 -48
  252. package/dist/types/components/global/BCarousel.vue.d.ts.map +0 -1
  253. package/dist/types/composables/chat/useChatRecording.d.ts.map +0 -1
  254. package/dist/types/composables/useAppPermissions.d.ts.map +0 -1
  255. package/dist/types/composables/useAppToast.d.ts.map +0 -1
  256. package/dist/types/composables/useClickOutside.d.ts.map +0 -1
  257. package/dist/types/composables/useDate.d.ts +0 -24
  258. package/dist/types/composables/useDate.d.ts.map +0 -1
  259. package/dist/types/composables/useDevice.d.ts.map +0 -1
  260. package/dist/types/composables/useLocale.d.ts +0 -12
  261. package/dist/types/composables/useLocale.d.ts.map +0 -1
  262. package/dist/types/composables/useTheme.d.ts +0 -4
  263. package/dist/types/composables/useTheme.d.ts.map +0 -1
  264. package/dist/types/composables/useValidation.d.ts +0 -20
  265. package/dist/types/composables/useValidation.d.ts.map +0 -1
  266. package/dist/types/composables/useWindowSize.d.ts +0 -5
  267. package/dist/types/composables/useWindowSize.d.ts.map +0 -1
  268. package/dist/types/directives/filePicker.d.ts.map +0 -1
  269. package/dist/types/directives/imagePicker.d.ts.map +0 -1
  270. package/dist/types/directives/loading.d.ts.map +0 -1
  271. package/dist/types/index.d.ts.map +0 -1
  272. package/dist/types/install.d.ts +0 -20
  273. package/dist/types/install.d.ts.map +0 -1
  274. package/dist/types/mock/chat.seed.d.ts +0 -20
  275. package/dist/types/mock/chat.seed.d.ts.map +0 -1
  276. package/dist/types/mock/helpers.d.ts +0 -3
  277. package/dist/types/mock/helpers.d.ts.map +0 -1
  278. package/dist/types/mock/index.d.ts +0 -5
  279. package/dist/types/mock/index.d.ts.map +0 -1
  280. package/dist/types/mock/medication.seed.d.ts +0 -4
  281. package/dist/types/mock/medication.seed.d.ts.map +0 -1
  282. package/dist/types/mock/service.seed.d.ts +0 -13
  283. package/dist/types/mock/service.seed.d.ts.map +0 -1
  284. package/dist/types/nuxt-shims.d.ts +0 -43
  285. package/dist/types/nuxt-shims.d.ts.map +0 -1
  286. package/dist/types/prime-preset.d.ts +0 -72
  287. package/dist/types/prime-preset.d.ts.map +0 -1
  288. package/dist/types/stores/callStore.d.ts.map +0 -1
  289. package/dist/types/stores/chatActionStore.d.ts +0 -11303
  290. package/dist/types/stores/chatActionStore.d.ts.map +0 -1
  291. package/dist/types/stores/chatStore.d.ts +0 -2966
  292. package/dist/types/stores/createStores.d.ts +0 -19290
  293. package/dist/types/stores/createStores.d.ts.map +0 -1
  294. package/dist/types/stores/medicationsStore.d.ts +0 -3542
  295. package/dist/types/stores/medicationsStore.d.ts.map +0 -1
  296. package/dist/types/stores/serviceStore.d.ts +0 -953
  297. package/dist/types/stores/serviceStore.d.ts.map +0 -1
  298. package/dist/types/themes/factory.d.ts +0 -4
  299. package/dist/types/themes/factory.d.ts.map +0 -1
  300. package/dist/types/types/address.d.ts +0 -26
  301. package/dist/types/types/address.d.ts.map +0 -1
  302. package/dist/types/types/calendar.d.ts +0 -88
  303. package/dist/types/types/calendar.d.ts.map +0 -1
  304. package/dist/types/types/call.d.ts +0 -9
  305. package/dist/types/types/call.d.ts.map +0 -1
  306. package/dist/types/types/chat.d.ts +0 -71
  307. package/dist/types/types/chat.d.ts.map +0 -1
  308. package/dist/types/types/clinic.d.ts +0 -7
  309. package/dist/types/types/clinic.d.ts.map +0 -1
  310. package/dist/types/types/components/chat-input.d.ts.map +0 -1
  311. package/dist/types/types/components/input.d.ts.map +0 -1
  312. package/dist/types/types/components/menu-options.d.ts.map +0 -1
  313. package/dist/types/types/components/menu.d.ts.map +0 -1
  314. package/dist/types/types/components/modal.d.ts.map +0 -1
  315. package/dist/types/types/components/nav-item.d.ts +0 -11
  316. package/dist/types/types/components/nav-item.d.ts.map +0 -1
  317. package/dist/types/types/components/nav-sub-item.d.ts +0 -9
  318. package/dist/types/types/components/nav-sub-item.d.ts.map +0 -1
  319. package/dist/types/types/components/popup.d.ts.map +0 -1
  320. package/dist/types/types/components/select.d.ts.map +0 -1
  321. package/dist/types/types/components/toast.d.ts.map +0 -1
  322. package/dist/types/types/env/runtimeConfig.d.ts +0 -22
  323. package/dist/types/types/invoice.d.ts +0 -8
  324. package/dist/types/types/invoice.d.ts.map +0 -1
  325. package/dist/types/types/medic.d.ts +0 -6
  326. package/dist/types/types/medic.d.ts.map +0 -1
  327. package/dist/types/types/medication.d.ts +0 -25
  328. package/dist/types/types/medication.d.ts.map +0 -1
  329. package/dist/types/types/notification.d.ts +0 -10
  330. package/dist/types/types/notification.d.ts.map +0 -1
  331. package/dist/types/types/service.d.ts +0 -25
  332. package/dist/types/types/service.d.ts.map +0 -1
  333. package/dist/types/types/story.d.ts +0 -12
  334. package/dist/types/types/story.d.ts.map +0 -1
  335. package/dist/types/types/theme.d.ts +0 -26
  336. package/dist/types/types/theme.d.ts.map +0 -1
  337. package/dist/types/utils/emojiParser.d.ts.map +0 -1
  338. package/dist/types/utils/format.d.ts +0 -52
  339. package/dist/types/utils/format.d.ts.map +0 -1
  340. /package/dist/types/{composables → app/composables}/useAppPermissions.d.ts +0 -0
  341. /package/dist/types/{composables → app/composables}/useClickOutside.d.ts +0 -0
  342. /package/dist/types/{composables → app/composables}/useDevice.d.ts +0 -0
  343. /package/dist/types/{directives → app/directives}/filePicker.d.ts +0 -0
  344. /package/dist/types/{directives → app/directives}/imagePicker.d.ts +0 -0
  345. /package/dist/types/{directives → app/directives}/loading.d.ts +0 -0
  346. /package/dist/types/{types → app/types}/components/chat-input.d.ts +0 -0
  347. /package/dist/types/{types → app/types}/components/input.d.ts +0 -0
  348. /package/dist/types/{types → app/types}/components/menu-options.d.ts +0 -0
  349. /package/dist/types/{types → app/types}/components/menu.d.ts +0 -0
  350. /package/dist/types/{types → app/types}/components/modal.d.ts +0 -0
  351. /package/dist/types/{types → app/types}/components/popup.d.ts +0 -0
  352. /package/dist/types/{types → app/types}/components/select.d.ts +0 -0
  353. /package/dist/types/{types → app/types}/components/toast.d.ts +0 -0
  354. /package/dist/types/{utils → app/utils}/emojiParser.d.ts +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"serviceStore.d.ts","sourceRoot":"","sources":["../../../app/stores/serviceStore.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6DAA4C,CAAC"}
@@ -1,4 +0,0 @@
1
- import { CssVariables, ThemePresetName } from '../types/theme';
2
- export declare const themePresetNames: ThemePresetName[];
3
- export declare const getTheme: (name?: ThemePresetName, overrides?: Partial<CssVariables>) => CssVariables;
4
- //# sourceMappingURL=factory.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../../app/themes/factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AA0BpE,eAAO,MAAM,gBAAgB,EAA2B,eAAe,EAAE,CAAC;AAE1E,eAAO,MAAM,QAAQ,GACnB,OAAM,eAA2B,EACjC,YAAY,OAAO,CAAC,YAAY,CAAC,KAChC,YAGD,CAAC"}
@@ -1,26 +0,0 @@
1
- export interface Address {
2
- id: number;
3
- date: String;
4
- longitude: String;
5
- latitude: String;
6
- title: String;
7
- path: String;
8
- postalCode: String;
9
- cityId: number;
10
- provinceId: number;
11
- isMain: Boolean;
12
- }
13
- export interface Province {
14
- id: number;
15
- name: string;
16
- }
17
- export interface City {
18
- id: number;
19
- name: string;
20
- }
21
- export interface ProvinceWithCities {
22
- id: number;
23
- name: string;
24
- cities: City[];
25
- }
26
- //# sourceMappingURL=address.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../../../app/types/address.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,IAAI,EAAE,CAAA;CACf"}
@@ -1,88 +0,0 @@
1
- import { ServiceRequest, Contact } from './chat';
2
- export type ShareTypes = "viewer" | "owner" | "editor";
3
- export type EventCategory = "task" | "medicine" | "event" | "service";
4
- export type RepetitionCycleType = "day" | "hour" | "custom";
5
- export type RepetitionEndType = "date" | "times";
6
- export type CalendarBusPayload = {
7
- type: "delete";
8
- id: number;
9
- } | {
10
- type: "edit-event";
11
- event: CalendarEventPayload;
12
- } | {
13
- type: "share-event";
14
- event: CalendarEventPayload;
15
- } | {
16
- type: "share-calendar";
17
- } | {
18
- type: "update-event-access-master";
19
- eventId: number;
20
- userId: number;
21
- newAccess: any;
22
- } | {
23
- type: "remove-event-access-master";
24
- eventId: number;
25
- userId: number;
26
- } | {
27
- type: "add-event-access-master";
28
- eventId: number;
29
- record: any;
30
- } | {
31
- type: "remove-event-user-ui";
32
- id: number;
33
- };
34
- export interface EventChecklistItem {
35
- id?: number;
36
- text: string;
37
- isChecked: boolean;
38
- }
39
- export interface EventRepetitionConfig {
40
- repetitionStart: string | Date;
41
- repetitionType: RepetitionCycleType;
42
- repeatTimeCycle: number;
43
- selectedDays?: number[];
44
- wholeDay: boolean;
45
- chosenTime: string;
46
- isReminder: boolean;
47
- selectedReminder?: number;
48
- repeatitionEnd: RepetitionEndType;
49
- repetitionAmount: string | number;
50
- }
51
- export interface CalendarEventPayload {
52
- id?: number;
53
- eventType: EventCategory;
54
- title: string;
55
- description: string;
56
- selectedUsers?: number[] | Contact[];
57
- attachement?: string;
58
- color?: string;
59
- checkList?: EventChecklistItem[];
60
- date: string | Date;
61
- time: string;
62
- isFullDay: boolean;
63
- hasRepetition: boolean;
64
- repetition?: EventRepetitionConfig;
65
- endDate?: Date;
66
- duration?: number;
67
- service?: ServiceRequest;
68
- accesss?: EventAccess[];
69
- }
70
- export interface EventAccess {
71
- id: number;
72
- user: Contact;
73
- accessType: ShareTypes;
74
- }
75
- export interface CalendarAccess extends Contact {
76
- accessType: ShareTypes;
77
- }
78
- export interface CalendarSettingsPayload {
79
- calendar: "jalaali" | "georgian" | "islamic";
80
- startOfWeek: string;
81
- timeZone: string;
82
- showHolidays: boolean;
83
- showAi: boolean;
84
- showMedicine: boolean;
85
- showServices: boolean;
86
- showTasks: boolean;
87
- }
88
- //# sourceMappingURL=calendar.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../app/types/calendar.ts"],"names":[],"mappings":"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"}
@@ -1,9 +0,0 @@
1
- import { Contact } from './chat';
2
- export interface CallMember extends Contact {
3
- stream: MediaStream | null;
4
- isScreenSharing: boolean;
5
- isCameraOn: boolean;
6
- isSpeaking: boolean;
7
- isMuted: boolean;
8
- }
9
- //# sourceMappingURL=call.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../../app/types/call.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEtC,MAAM,WAAW,UAAW,SAAQ,OAAO;IACvC,MAAM,EAAE,WAAW,GAAG,IAAI,CAAC;IAC3B,eAAe,EAAE,OAAO,CAAC;IACzB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;CACpB"}
@@ -1,71 +0,0 @@
1
- import { Service, Provider } from './service';
2
- import { Invoice } from './invoice';
3
- export type MessageType = "text" | "image" | "file" | "voice" | "video";
4
- export type status = "pending" | "approved" | "rejected" | "expired";
5
- export type ServicePresence = "online" | "on-site";
6
- export type UserRoleKey = "user" | "employee" | "business" | "support";
7
- export interface Message {
8
- id: string;
9
- conversationId: string;
10
- date: Date;
11
- type: MessageType;
12
- text?: string;
13
- imageUrl?: string[];
14
- fileUrl?: string;
15
- voiceUrl?: string;
16
- videoUrl?: string;
17
- isEdited: boolean;
18
- senderId: string;
19
- isSent: boolean;
20
- isRead: boolean;
21
- repliedTo: Message;
22
- request?: Request;
23
- }
24
- export interface Contact {
25
- id: string;
26
- name: string;
27
- lastName: string;
28
- isOnline: boolean;
29
- lastSeen: Date;
30
- imageUrl: string;
31
- nationalCode?: string;
32
- phoneNumber?: string;
33
- isActive: boolean;
34
- birthDate: Date;
35
- lastMessage?: Message;
36
- unreadCount?: number;
37
- serviceType?: "video-call" | "voice-call" | "chat";
38
- userType: UserRoleKey[];
39
- }
40
- export type FilterKeys = "" | "online" | "ended" | "active";
41
- export interface ChatFilter {
42
- key: FilterKeys;
43
- label: string;
44
- }
45
- export interface ExtendedMessage extends Message {
46
- prevMessage?: Message;
47
- nextMessage?: Message;
48
- isFirstInDate: boolean;
49
- contact?: Contact;
50
- }
51
- export interface Request {
52
- id: string;
53
- type: "personal-info" | "add-person";
54
- request: AccessRequest | ServiceRequest;
55
- }
56
- export interface AccessRequest {
57
- id: string;
58
- date: Date;
59
- status: status;
60
- }
61
- export interface RequestProvider extends Provider {
62
- status: "pending" | "approved" | "payment" | "rejected" | "expired";
63
- }
64
- export interface ServiceRequest extends Service {
65
- status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
66
- provider?: RequestProvider[];
67
- service?: Service;
68
- serviceType?: ServicePresence;
69
- invoice?: Invoice;
70
- }
71
- //# sourceMappingURL=chat.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../app/types/chat.ts"],"names":[],"mappings":"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"}
@@ -1,7 +0,0 @@
1
- export interface Clinic {
2
- id: string;
3
- title: number;
4
- latitude: number;
5
- longitude: number;
6
- }
7
- //# sourceMappingURL=clinic.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"clinic.d.ts","sourceRoot":"","sources":["../../../app/types/clinic.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-input.d.ts","sourceRoot":"","sources":["../../../../app/types/components/chat-input.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../app/types/components/input.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,UAAU,0DAA0D,CAAC;AAClF,eAAO,MAAM,WAAW,qDAAsD,CAAC;AAC/E,eAAO,MAAM,aAAa,4DAA6D,CAAC;AAGxF,eAAO,MAAM,kBAAkB,iIAIrB,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC;AAClD,MAAM,MAAM,UAAU,GAAG,OAAO,WAAW,CAAC,MAAM,CAAC,CAAC;AACpD,MAAM,MAAM,YAAY,GAAG,OAAO,aAAa,CAAC,MAAM,CAAC,CAAC;AAGxD,MAAM,MAAM,YAAY,GAAG,OAAO,kBAAkB,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAE7E,MAAM,WAAW,KAAK;IACpB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,IAAI,CAAC;CAClB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"menu-options.d.ts","sourceRoot":"","sources":["../../../../app/types/components/menu-options.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../../app/types/components/menu.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,IAAI;IACjB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;CACrB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../../app/types/components/modal.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;AAEzD,MAAM,WAAW,KAAK;IACpB;;;;;;;OAOG;IACH,SAAS,EAAE,CACT,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,UAAU,EACjB,MAAM,CAAC,EAAE,OAAO,EAChB,UAAU,CAAC,EAAE,MAAM,KAChB,IAAI,CAAC;IAEV;;OAEG;IACH,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB"}
@@ -1,11 +0,0 @@
1
- import { NavSubItem } from './nav-sub-item';
2
- export interface NavItem {
3
- key: string;
4
- label: string;
5
- icon: string;
6
- to?: string;
7
- roles: string[];
8
- disabled?: boolean;
9
- links?: NavSubItem[];
10
- }
11
- //# sourceMappingURL=nav-item.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nav-item.d.ts","sourceRoot":"","sources":["../../../../app/types/components/nav-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,MAAM,WAAW,OAAO;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;CACtB"}
@@ -1,9 +0,0 @@
1
- export interface NavSubItem {
2
- label: string;
3
- icon?: string;
4
- to: string;
5
- roles?: string[];
6
- disabled?: boolean;
7
- children?: NavSubItem[];
8
- }
9
- //# sourceMappingURL=nav-sub-item.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nav-sub-item.d.ts","sourceRoot":"","sources":["../../../../app/types/components/nav-sub-item.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAC;CACzB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"popup.d.ts","sourceRoot":"","sources":["../../../../app/types/components/popup.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../app/types/components/select.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../../app/types/components/toast.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IACpB,SAAS,EAAE,CACT,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,EAC/C,QAAQ,CAAC,EAAE,MAAM,KACd,IAAI,CAAC;IACV,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB"}
@@ -1,22 +0,0 @@
1
- // types/runtimeConfig.d.ts
2
- declare module 'nuxt/schema' {
3
- interface PublicRuntimeConfig {
4
- apiBaseUrl: string
5
- platformApiBaseUrl: string
6
- domainName: string
7
- vapidPublicKey: string
8
- altchaChallengeUrl: string
9
- mqttWsUrl: string
10
- sentryDsn: string
11
- sentryTracesSampleRate: number
12
- google: {
13
- scope: string
14
- clientId: string
15
- redirectUri: string
16
- }
17
- mapTileServerPath: string
18
- }
19
- }
20
-
21
- // Important: ensure this file is treated as a module
22
- export {}
@@ -1,8 +0,0 @@
1
- export interface Invoice {
2
- id: number | string;
3
- amount?: number;
4
- currency?: string;
5
- status?: string;
6
- [key: string]: unknown;
7
- }
8
- //# sourceMappingURL=invoice.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"invoice.d.ts","sourceRoot":"","sources":["../../../app/types/invoice.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB"}
@@ -1,6 +0,0 @@
1
- export interface Illness {
2
- id: number | string;
3
- name: string;
4
- [key: string]: unknown;
5
- }
6
- //# sourceMappingURL=medic.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"medic.d.ts","sourceRoot":"","sources":["../../../app/types/medic.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB"}
@@ -1,25 +0,0 @@
1
- export type MedicationPeriodType = "day" | "hour";
2
- export interface MedicationBrand {
3
- id: string;
4
- title: String;
5
- }
6
- export interface MedicationUsagePeriod {
7
- period: MedicationPeriodType;
8
- amount: number;
9
- }
10
- export interface Medication {
11
- id: string;
12
- title: String;
13
- englishTitle: String;
14
- brands: MedicationBrand[];
15
- }
16
- export interface PrescribedMedication {
17
- id: string;
18
- medication: Medication;
19
- repetitionAmount: String;
20
- usageMethod: String;
21
- dose: String;
22
- period: MedicationUsagePeriod;
23
- warning?: String;
24
- }
25
- //# sourceMappingURL=medication.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"medication.d.ts","sourceRoot":"","sources":["../../../app/types/medication.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG,KAAK,GAAG,MAAM,CAAC;AAElD,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,oBAAoB,CAAC;IAC7B,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,eAAe,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,UAAU,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,qBAAqB,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -1,10 +0,0 @@
1
- export interface Notification {
2
- id: number;
3
- title: string;
4
- description: string;
5
- date: Date;
6
- isRead: boolean;
7
- tag: "request" | "wallet" | "reminder" | "announcement";
8
- path: string;
9
- }
10
- //# sourceMappingURL=notification.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../app/types/notification.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,EAAE,OAAO,CAAC;IAChB,GAAG,EAAE,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,cAAc,CAAC;IACxD,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -1,25 +0,0 @@
1
- import { Contact } from './chat';
2
- import { Clinic } from './clinic';
3
- import { Illness } from './medic';
4
- export type InsitutionType = "public" | "private" | "semi-public";
5
- export interface Fellowship {
6
- id: string;
7
- title: string;
8
- }
9
- export interface Provider extends Contact {
10
- expertise: string;
11
- service: Service;
12
- clinics: Clinic[];
13
- fellowships: Fellowship[];
14
- type: InsitutionType;
15
- illnesses?: Illness[];
16
- }
17
- export interface Service {
18
- id: string;
19
- icon?: string;
20
- label: string;
21
- fellowships: Fellowship[];
22
- expertiseLevel: "speciality" | "sub-speciality";
23
- price: number;
24
- }
25
- //# sourceMappingURL=service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../app/types/service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEtC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,SAAS,GAAG,aAAa,CAAC;AAElE,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,QAAS,SAAQ,OAAO;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,IAAI,EAAE,cAAc,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,EAAE,CAAC;CACvB;AAED,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,cAAc,EAAE,YAAY,GAAG,gBAAgB,CAAC;IAChD,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -1,12 +0,0 @@
1
- export interface Story {
2
- id: number;
3
- date: Date | string;
4
- mediaUrl: string;
5
- thumbnail: string;
6
- isRead: boolean;
7
- type: "video" | "image";
8
- isLoading: boolean;
9
- isLoaded: boolean;
10
- localBlobUrl?: string;
11
- }
12
- //# sourceMappingURL=story.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"story.d.ts","sourceRoot":"","sources":["../../../app/types/story.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,IAAI,GAAG,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
@@ -1,26 +0,0 @@
1
- import { Ref } from 'vue';
2
- export type ThemeMode = "light" | "dark";
3
- export type ColorModeInstance = Ref<ThemeMode> & {
4
- preference: ThemeMode;
5
- value: ThemeMode;
6
- };
7
- export type CssVariables = {
8
- background: string;
9
- primary: string;
10
- secondary: string;
11
- fontFamily: string;
12
- fontSize: string;
13
- };
14
- export type ThemePresetName = "default" | "midnight" | "warm";
15
- export type Theme = {
16
- mode: ColorModeInstance;
17
- cssVariable: CssVariables;
18
- styleVars: Record<string, string>;
19
- toggleMode: () => void;
20
- };
21
- export type ThemeInput = {
22
- name?: ThemePresetName;
23
- overrides?: Partial<CssVariables>;
24
- global?: boolean;
25
- };
26
- //# sourceMappingURL=theme.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../app/types/theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAEzC,MAAM,MAAM,iBAAiB,GAAG,GAAG,CAAC,SAAS,CAAC,GAAG;IAC/C,UAAU,EAAE,SAAS,CAAC;IACtB,KAAK,EAAE,SAAS,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,CAAC;AAE9D,MAAM,MAAM,KAAK,GAAG;IAClB,IAAI,EAAE,iBAAiB,CAAC;IACxB,WAAW,EAAE,YAAY,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAClC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"emojiParser.d.ts","sourceRoot":"","sources":["../../../app/utils/emojiParser.ts"],"names":[],"mappings":"AA0BA,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,SAyCvD"}
@@ -1,52 +0,0 @@
1
- /**
2
- * Formats a number with commas and localized digits based on the current locale.
3
- * Maps 'fa' to 'fa-IR' to ensure Persian digits (۰۱۲۳) are used.
4
- * @param value - The number or string to format
5
- * @param locale - The current i18n locale (e.g., 'fa' or 'en')
6
- */
7
- export declare const formatCurrency: (value: number | string, locale?: string) => string | number;
8
- /**
9
- * Converts digits to Persian digits without adding thousands separators.
10
- * Improved to handle strings with existing commas safely.
11
- * @param value - The number or string to convert
12
- */
13
- export declare const toPersianNumbers: (value: number | string) => string | number;
14
- /**
15
- * Replaces all English digits (0-9) in a string with Persian digits (۰-۹).
16
- * Preserves leading zeros and non-numeric characters.
17
- * @param value - The string or number containing digits to convert
18
- */
19
- export declare const replaceDigitsWithPersian: (value: string | number) => string;
20
- /**
21
- * جایگزینی تمام اعداد انگلیسی داخل یک رشته با اعداد فارسی بر اساس زبان
22
- * @param value - رشته یا عددی که باید تبدیل شود
23
- * @param locale - زبان فعلی (fa یا en)
24
- */
25
- export declare const replaceDigitsByLocale: (value: string | number, locale?: string) => string;
26
- /**
27
- * Formats a phone number into a readable standard.
28
- * Example: 9134168227 -> 913 416 8227
29
- * @param bytes - The raw string or number
30
- */
31
- export declare const formatBytes: (bytes: number) => string;
32
- /**
33
- * Formats a phone number into a readable standard.
34
- * Example: 9134168227 -> 913 416 8227
35
- * @param phoneNumber - The raw string or number
36
- */
37
- export declare const formatPhoneNumber: (identifier: string, dir?: string) => string;
38
- export declare const formatCountdown: (totalSeconds: number) => string;
39
- /**
40
- * Formats seconds into HH:MM:SS
41
- * @param totalSeconds - Total elapsed seconds
42
- */
43
- export declare const formatDuration: (totalSeconds: number) => string;
44
- /**
45
- * Formats the start and end time of an event.
46
- * @param startTime - Start time in HH:mm format
47
- * @param duration - Duration in minutes
48
- * @param endDate - Optional end date object
49
- * @param locale - Current locale
50
- */
51
- export declare const formatEventTimeRange: (startTime: string, duration?: number, endDate?: Date, locale?: string) => string;
52
- //# sourceMappingURL=format.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../app/utils/format.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,cAAc,GAAI,OAAO,MAAM,GAAG,MAAM,EAAE,SAAS,MAAM,oBAWrE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,GAAI,OAAO,MAAM,GAAG,MAAM,oBAQtD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,GAAI,OAAO,MAAM,GAAG,MAAM,KAAG,MAQjE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,GAChC,OAAO,MAAM,GAAG,MAAM,EACtB,SAAQ,MAAa,KACpB,MAcF,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,WAAW,GAAI,OAAO,MAAM,WAMxC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,GAC5B,YAAY,MAAM,EAClB,MAAK,MAAc,KAClB,MAYF,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,cAAc,MAAM,KAAG,MAUtD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,cAAc,MAAM,KAAG,MAYrD,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,GAC/B,WAAW,MAAM,EACjB,WAAW,MAAM,EACjB,UAAU,IAAI,EACd,SAAQ,MAAa,KACpB,MAqBF,CAAC"}