@yonus_amire01/chat 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (222) hide show
  1. package/README.md +127 -0
  2. package/dist/index.cjs +6 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.mjs +9360 -0
  5. package/dist/index.mjs.map +1 -0
  6. package/dist/style.css +1 -0
  7. package/dist/types/adapter/HostAdapter.d.ts +13 -0
  8. package/dist/types/adapter/HostAdapter.d.ts.map +1 -0
  9. package/dist/types/adapter/PushPort.d.ts +10 -0
  10. package/dist/types/adapter/PushPort.d.ts.map +1 -0
  11. package/dist/types/adapter/index.d.ts +7 -0
  12. package/dist/types/adapter/index.d.ts.map +1 -0
  13. package/dist/types/adapter/mock/MockCallAdapter.d.ts +14 -0
  14. package/dist/types/adapter/mock/MockCallAdapter.d.ts.map +1 -0
  15. package/dist/types/adapter/mock/MockChatActionAdapter.d.ts +9 -0
  16. package/dist/types/adapter/mock/MockChatActionAdapter.d.ts.map +1 -0
  17. package/dist/types/adapter/mock/MockChatAdapter.d.ts +7 -0
  18. package/dist/types/adapter/mock/MockChatAdapter.d.ts.map +1 -0
  19. package/dist/types/adapter/mock/MockMedicationAdapter.d.ts +7 -0
  20. package/dist/types/adapter/mock/MockMedicationAdapter.d.ts.map +1 -0
  21. package/dist/types/adapter/mock/MockServiceAdapter.d.ts +6 -0
  22. package/dist/types/adapter/mock/MockServiceAdapter.d.ts.map +1 -0
  23. package/dist/types/adapter/mock/createMockAdapter.d.ts +13 -0
  24. package/dist/types/adapter/mock/createMockAdapter.d.ts.map +1 -0
  25. package/dist/types/adapter/mock/index.d.ts +12 -0
  26. package/dist/types/adapter/mock/index.d.ts.map +1 -0
  27. package/dist/types/adapter/ports/CallAdapter.d.ts +36 -0
  28. package/dist/types/adapter/ports/CallAdapter.d.ts.map +1 -0
  29. package/dist/types/adapter/ports/ChatActionAdapter.d.ts +17 -0
  30. package/dist/types/adapter/ports/ChatActionAdapter.d.ts.map +1 -0
  31. package/dist/types/adapter/ports/ChatAdapter.d.ts +22 -0
  32. package/dist/types/adapter/ports/ChatAdapter.d.ts.map +1 -0
  33. package/dist/types/adapter/ports/MedicationAdapter.d.ts +6 -0
  34. package/dist/types/adapter/ports/MedicationAdapter.d.ts.map +1 -0
  35. package/dist/types/adapter/ports/ServiceAdapter.d.ts +16 -0
  36. package/dist/types/adapter/ports/ServiceAdapter.d.ts.map +1 -0
  37. package/dist/types/components/ChatPage.vue.d.ts +8 -0
  38. package/dist/types/components/ChatPage.vue.d.ts.map +1 -0
  39. package/dist/types/components/call/CallBoard.vue.d.ts +154 -0
  40. package/dist/types/components/call/CallBoard.vue.d.ts.map +1 -0
  41. package/dist/types/components/call/CallMemberDisplay.vue.d.ts +57 -0
  42. package/dist/types/components/call/CallMemberDisplay.vue.d.ts.map +1 -0
  43. package/dist/types/components/call/CallPageOverlay.vue.d.ts +1365 -0
  44. package/dist/types/components/call/CallPageOverlay.vue.d.ts.map +1 -0
  45. package/dist/types/components/call/paint-board/BoardColorPicker.vue.d.ts +41 -0
  46. package/dist/types/components/call/paint-board/BoardColorPicker.vue.d.ts.map +1 -0
  47. package/dist/types/components/call/paint-board/BrushSizeSlider.vue.d.ts +48 -0
  48. package/dist/types/components/call/paint-board/BrushSizeSlider.vue.d.ts.map +1 -0
  49. package/dist/types/components/call/paint-board/CallPaintBoard.vue.d.ts +127 -0
  50. package/dist/types/components/call/paint-board/CallPaintBoard.vue.d.ts.map +1 -0
  51. package/dist/types/components/chat/ChatBubble.vue.d.ts +12236 -0
  52. package/dist/types/components/chat/ChatBubble.vue.d.ts.map +1 -0
  53. package/dist/types/components/chat/ChatInput.vue.d.ts +2477 -0
  54. package/dist/types/components/chat/ChatInput.vue.d.ts.map +1 -0
  55. package/dist/types/components/chat/ChatMessages.vue.d.ts +13873 -0
  56. package/dist/types/components/chat/ChatMessages.vue.d.ts.map +1 -0
  57. package/dist/types/components/chat/ChatPageBar.vue.d.ts +1204 -0
  58. package/dist/types/components/chat/ChatPageBar.vue.d.ts.map +1 -0
  59. package/dist/types/components/chat/ChatProfileOverview.vue.d.ts +327 -0
  60. package/dist/types/components/chat/ChatProfileOverview.vue.d.ts.map +1 -0
  61. package/dist/types/components/chat/ChatView.vue.d.ts +4 -0
  62. package/dist/types/components/chat/ChatView.vue.d.ts.map +1 -0
  63. package/dist/types/components/chat/PatientReferral.vue.d.ts +33 -0
  64. package/dist/types/components/chat/PatientReferral.vue.d.ts.map +1 -0
  65. package/dist/types/components/chat/chat-bubbles/BubbleOptions.vue.d.ts +53 -0
  66. package/dist/types/components/chat/chat-bubbles/BubbleOptions.vue.d.ts.map +1 -0
  67. package/dist/types/components/chat/chat-bubbles/BubbleVideo.vue.d.ts +103 -0
  68. package/dist/types/components/chat/chat-bubbles/BubbleVideo.vue.d.ts.map +1 -0
  69. package/dist/types/components/chat/chat-bubbles/FileDisplay.vue.d.ts +170 -0
  70. package/dist/types/components/chat/chat-bubbles/FileDisplay.vue.d.ts.map +1 -0
  71. package/dist/types/components/chat/chat-bubbles/ImageGroupDisplay.vue.d.ts +74 -0
  72. package/dist/types/components/chat/chat-bubbles/ImageGroupDisplay.vue.d.ts.map +1 -0
  73. package/dist/types/components/chat/chat-bubbles/RequestCard.vue.d.ts +11449 -0
  74. package/dist/types/components/chat/chat-bubbles/RequestCard.vue.d.ts.map +1 -0
  75. package/dist/types/components/chat/chat-bubbles/VoiceDisplay.vue.d.ts +107 -0
  76. package/dist/types/components/chat/chat-bubbles/VoiceDisplay.vue.d.ts.map +1 -0
  77. package/dist/types/components/chat/chat-bubbles/request-card/ProviderDisplay.vue.d.ts +56 -0
  78. package/dist/types/components/chat/chat-bubbles/request-card/ProviderDisplay.vue.d.ts.map +1 -0
  79. package/dist/types/components/chat/chat-input/AttachementFileDisplay.vue.d.ts +28 -0
  80. package/dist/types/components/chat/chat-input/AttachementFileDisplay.vue.d.ts.map +1 -0
  81. package/dist/types/components/chat/chat-input/InputAttachement.vue.d.ts +72 -0
  82. package/dist/types/components/chat/chat-input/InputAttachement.vue.d.ts.map +1 -0
  83. package/dist/types/components/chat/chat-input/PermissionPopup.vue.d.ts +15 -0
  84. package/dist/types/components/chat/chat-input/PermissionPopup.vue.d.ts.map +1 -0
  85. package/dist/types/components/chat/chat-input/VideoRecordDisplay.vue.d.ts +149 -0
  86. package/dist/types/components/chat/chat-input/VideoRecordDisplay.vue.d.ts.map +1 -0
  87. package/dist/types/components/chat/contact/ChatContactDisplay.vue.d.ts +85 -0
  88. package/dist/types/components/chat/contact/ChatContactDisplay.vue.d.ts.map +1 -0
  89. package/dist/types/components/chat/contact/ChatList.vue.d.ts +3111 -0
  90. package/dist/types/components/chat/contact/ChatList.vue.d.ts.map +1 -0
  91. package/dist/types/components/chat/contact/ChatListSearch.vue.d.ts +24 -0
  92. package/dist/types/components/chat/contact/ChatListSearch.vue.d.ts.map +1 -0
  93. package/dist/types/components/chat/contact/ContactAvatar.vue.d.ts +28 -0
  94. package/dist/types/components/chat/contact/ContactAvatar.vue.d.ts.map +1 -0
  95. package/dist/types/components/chat/medic-features/MedicDisplay.vue.d.ts +61 -0
  96. package/dist/types/components/chat/medic-features/MedicDisplay.vue.d.ts.map +1 -0
  97. package/dist/types/components/chat/medic-features/MedicSelector.vue.d.ts +1113 -0
  98. package/dist/types/components/chat/medic-features/MedicSelector.vue.d.ts.map +1 -0
  99. package/dist/types/components/chat/medic-features/MedicSelectorContent.vue.d.ts +1060 -0
  100. package/dist/types/components/chat/medic-features/MedicSelectorContent.vue.d.ts.map +1 -0
  101. package/dist/types/components/chat/medic-features/PrescribtionDisplay.vue.d.ts +1431 -0
  102. package/dist/types/components/chat/medic-features/PrescribtionDisplay.vue.d.ts.map +1 -0
  103. package/dist/types/components/chat/profile/FileDisplay.vue.d.ts +28 -0
  104. package/dist/types/components/chat/profile/FileDisplay.vue.d.ts.map +1 -0
  105. package/dist/types/components/general/FileFormatDisplay.vue.d.ts +60 -0
  106. package/dist/types/components/general/FileFormatDisplay.vue.d.ts.map +1 -0
  107. package/dist/types/components/general/LoadingStatus.vue.d.ts +59 -0
  108. package/dist/types/components/general/LoadingStatus.vue.d.ts.map +1 -0
  109. package/dist/types/components/general/NoDataDisplay.vue.d.ts +24 -0
  110. package/dist/types/components/general/NoDataDisplay.vue.d.ts.map +1 -0
  111. package/dist/types/components/general/SafeEmojiText.vue.d.ts +24 -0
  112. package/dist/types/components/general/SafeEmojiText.vue.d.ts.map +1 -0
  113. package/dist/types/components/global/BCarousel.vue.d.ts +48 -0
  114. package/dist/types/components/global/BCarousel.vue.d.ts.map +1 -0
  115. package/dist/types/composables/chat/useChatRecording.d.ts +74 -0
  116. package/dist/types/composables/chat/useChatRecording.d.ts.map +1 -0
  117. package/dist/types/composables/useAppPermissions.d.ts +25 -0
  118. package/dist/types/composables/useAppPermissions.d.ts.map +1 -0
  119. package/dist/types/composables/useAppToast.d.ts +6 -0
  120. package/dist/types/composables/useAppToast.d.ts.map +1 -0
  121. package/dist/types/composables/useClickOutside.d.ts +3 -0
  122. package/dist/types/composables/useClickOutside.d.ts.map +1 -0
  123. package/dist/types/composables/useDate.d.ts +24 -0
  124. package/dist/types/composables/useDate.d.ts.map +1 -0
  125. package/dist/types/composables/useDevice.d.ts +32 -0
  126. package/dist/types/composables/useDevice.d.ts.map +1 -0
  127. package/dist/types/composables/useLocale.d.ts +12 -0
  128. package/dist/types/composables/useLocale.d.ts.map +1 -0
  129. package/dist/types/composables/useTheme.d.ts +4 -0
  130. package/dist/types/composables/useTheme.d.ts.map +1 -0
  131. package/dist/types/composables/useValidation.d.ts +20 -0
  132. package/dist/types/composables/useValidation.d.ts.map +1 -0
  133. package/dist/types/composables/useWindowSize.d.ts +5 -0
  134. package/dist/types/composables/useWindowSize.d.ts.map +1 -0
  135. package/dist/types/directives/filePicker.d.ts +4 -0
  136. package/dist/types/directives/filePicker.d.ts.map +1 -0
  137. package/dist/types/directives/imagePicker.d.ts +4 -0
  138. package/dist/types/directives/imagePicker.d.ts.map +1 -0
  139. package/dist/types/directives/loading.d.ts +6 -0
  140. package/dist/types/directives/loading.d.ts.map +1 -0
  141. package/dist/types/index.d.ts +10 -0
  142. package/dist/types/index.d.ts.map +1 -0
  143. package/dist/types/install.d.ts +20 -0
  144. package/dist/types/install.d.ts.map +1 -0
  145. package/dist/types/mock/chat.seed.d.ts +20 -0
  146. package/dist/types/mock/chat.seed.d.ts.map +1 -0
  147. package/dist/types/mock/helpers.d.ts +3 -0
  148. package/dist/types/mock/helpers.d.ts.map +1 -0
  149. package/dist/types/mock/index.d.ts +5 -0
  150. package/dist/types/mock/index.d.ts.map +1 -0
  151. package/dist/types/mock/medication.seed.d.ts +4 -0
  152. package/dist/types/mock/medication.seed.d.ts.map +1 -0
  153. package/dist/types/mock/service.seed.d.ts +13 -0
  154. package/dist/types/mock/service.seed.d.ts.map +1 -0
  155. package/dist/types/nuxt-shims.d.ts +43 -0
  156. package/dist/types/nuxt-shims.d.ts.map +1 -0
  157. package/dist/types/prime-preset.d.ts +72 -0
  158. package/dist/types/prime-preset.d.ts.map +1 -0
  159. package/dist/types/stores/callStore.d.ts +518 -0
  160. package/dist/types/stores/callStore.d.ts.map +1 -0
  161. package/dist/types/stores/chatActionStore.d.ts +11303 -0
  162. package/dist/types/stores/chatActionStore.d.ts.map +1 -0
  163. package/dist/types/stores/chatStore.d.ts +2966 -0
  164. package/dist/types/stores/chatStore.d.ts.map +1 -0
  165. package/dist/types/stores/createStores.d.ts +19290 -0
  166. package/dist/types/stores/createStores.d.ts.map +1 -0
  167. package/dist/types/stores/medicationsStore.d.ts +3542 -0
  168. package/dist/types/stores/medicationsStore.d.ts.map +1 -0
  169. package/dist/types/stores/serviceStore.d.ts +953 -0
  170. package/dist/types/stores/serviceStore.d.ts.map +1 -0
  171. package/dist/types/themes/factory.d.ts +4 -0
  172. package/dist/types/themes/factory.d.ts.map +1 -0
  173. package/dist/types/types/address.d.ts +26 -0
  174. package/dist/types/types/address.d.ts.map +1 -0
  175. package/dist/types/types/calendar.d.ts +88 -0
  176. package/dist/types/types/calendar.d.ts.map +1 -0
  177. package/dist/types/types/call.d.ts +9 -0
  178. package/dist/types/types/call.d.ts.map +1 -0
  179. package/dist/types/types/chat.d.ts +71 -0
  180. package/dist/types/types/chat.d.ts.map +1 -0
  181. package/dist/types/types/clinic.d.ts +7 -0
  182. package/dist/types/types/clinic.d.ts.map +1 -0
  183. package/dist/types/types/components/chat-input.d.ts +4 -0
  184. package/dist/types/types/components/chat-input.d.ts.map +1 -0
  185. package/dist/types/types/components/input.d.ts +13 -0
  186. package/dist/types/types/components/input.d.ts.map +1 -0
  187. package/dist/types/types/components/menu-options.d.ts +7 -0
  188. package/dist/types/types/components/menu-options.d.ts.map +1 -0
  189. package/dist/types/types/components/menu.d.ts +5 -0
  190. package/dist/types/types/components/menu.d.ts.map +1 -0
  191. package/dist/types/types/components/modal.d.ts +17 -0
  192. package/dist/types/types/components/modal.d.ts.map +1 -0
  193. package/dist/types/types/components/nav-item.d.ts +11 -0
  194. package/dist/types/types/components/nav-item.d.ts.map +1 -0
  195. package/dist/types/types/components/nav-sub-item.d.ts +9 -0
  196. package/dist/types/types/components/nav-sub-item.d.ts.map +1 -0
  197. package/dist/types/types/components/popup.d.ts +5 -0
  198. package/dist/types/types/components/popup.d.ts.map +1 -0
  199. package/dist/types/types/components/select.d.ts +8 -0
  200. package/dist/types/types/components/select.d.ts.map +1 -0
  201. package/dist/types/types/components/toast.d.ts +5 -0
  202. package/dist/types/types/components/toast.d.ts.map +1 -0
  203. package/dist/types/types/env/runtimeConfig.d.ts +22 -0
  204. package/dist/types/types/invoice.d.ts +8 -0
  205. package/dist/types/types/invoice.d.ts.map +1 -0
  206. package/dist/types/types/medic.d.ts +6 -0
  207. package/dist/types/types/medic.d.ts.map +1 -0
  208. package/dist/types/types/medication.d.ts +25 -0
  209. package/dist/types/types/medication.d.ts.map +1 -0
  210. package/dist/types/types/notification.d.ts +10 -0
  211. package/dist/types/types/notification.d.ts.map +1 -0
  212. package/dist/types/types/service.d.ts +25 -0
  213. package/dist/types/types/service.d.ts.map +1 -0
  214. package/dist/types/types/story.d.ts +12 -0
  215. package/dist/types/types/story.d.ts.map +1 -0
  216. package/dist/types/types/theme.d.ts +26 -0
  217. package/dist/types/types/theme.d.ts.map +1 -0
  218. package/dist/types/utils/emojiParser.d.ts +2 -0
  219. package/dist/types/utils/emojiParser.d.ts.map +1 -0
  220. package/dist/types/utils/format.d.ts +52 -0
  221. package/dist/types/utils/format.d.ts.map +1 -0
  222. package/package.json +68 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serviceStore.d.ts","sourceRoot":"","sources":["../../../app/stores/serviceStore.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6DAA4C,CAAC"}
@@ -0,0 +1,4 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,26 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,88 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../app/types/calendar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEtC,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,OAA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AAY,EAAE,OAAO,CAAC;IACtB,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;CACpB"}
@@ -0,0 +1,9 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,71 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../app/types/chat.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;AACxE,MAAM,MAAM,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;AACrE,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,SAAS,CAAC;A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G,EAAE,UAAU,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAgB,SAAQ,OAAO;IAC9C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,eAAe,GAAG,YAAY,CAAC;IACrC,OAAO,EAAE,aAAa,GAAG,cAAc,CAAC;CACzC;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,eAAgB,SAAQ,QAAQ;IAC/C,MAAM,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;CACrE;AAED,MAAM,WAAW,cAAe,SAAQ,OAAO;IAC7C,MAAM,CAAC,EACH,WAAW,GACX,SAAS,GACT,UAAU,GACV,SAAS,GACT,UAAU,GACV,SAAS,CAAC;IACd,QAAQ,CAAC,EAAE,eAAe,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB"}
@@ -0,0 +1,7 @@
1
+ export interface Clinic {
2
+ id: string;
3
+ title: number;
4
+ latitude: number;
5
+ longitude: number;
6
+ }
7
+ //# sourceMappingURL=clinic.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,4 @@
1
+ export interface ChatTextField {
2
+ focus: () => void;
3
+ }
4
+ //# sourceMappingURL=chat-input.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,13 @@
1
+ export declare const inputTypes: readonly ["password", "number", "slug", "text", "phone"];
2
+ export declare const inputColors: readonly ["primary", "error", "success", "warning"];
3
+ export declare const enterKeyHints: readonly ["search", "go", "done", "next", "send", "enter"];
4
+ export declare const autocompleteValues: readonly ["on", "off", "name", "email", "username", "new-password", "current-password", "tel", "street-address", "postal-code"];
5
+ export type InputType = typeof inputTypes[number];
6
+ export type InputColor = typeof inputColors[number];
7
+ export type EnterKeyHint = typeof enterKeyHints[number];
8
+ export type Autocomplete = typeof autocompleteValues[number] | (string & {});
9
+ export interface Input {
10
+ focus: () => void;
11
+ blur: () => void;
12
+ }
13
+ //# sourceMappingURL=input.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,7 @@
1
+ export interface MenuOption {
2
+ key: string;
3
+ icon?: string;
4
+ label: string;
5
+ color?: string;
6
+ }
7
+ //# sourceMappingURL=menu-options.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,5 @@
1
+ export interface Menu {
2
+ open: () => void;
3
+ close: () => void;
4
+ }
5
+ //# sourceMappingURL=menu.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,17 @@
1
+ export type ModalState = "error" | "warning" | "success";
2
+ export interface Modal {
3
+ /**
4
+ * Opens the modal with the specified configuration.
5
+ * @param title - The main heading of the modal.
6
+ * @param description - The supporting text or body content.
7
+ * @param color - The visual state/theme ('error', 'warning', or 'success').
8
+ * @param action - Whether to display the primary action button (defaults to false).
9
+ * @param actionText - Custom label for the primary action button.
10
+ */
11
+ openModal: (title: string, description: string, color: ModalState, action?: boolean, actionText?: string) => void;
12
+ /**
13
+ * Programmatically closes the modal and the underlying popup.
14
+ */
15
+ closeModal: () => void;
16
+ }
17
+ //# sourceMappingURL=modal.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,11 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,9 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,5 @@
1
+ export interface Popup {
2
+ open: () => void;
3
+ close: () => void;
4
+ }
5
+ //# sourceMappingURL=popup.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,8 @@
1
+ export interface DropdownOption {
2
+ label: string;
3
+ value: string | number;
4
+ icon?: string;
5
+ image?: string;
6
+ color?: string;
7
+ }
8
+ //# sourceMappingURL=select.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,5 @@
1
+ export interface Toast {
2
+ openToast: (message: string, color: "success" | "error" | "warning" | "info", duration?: number) => void;
3
+ closeToast: () => void;
4
+ }
5
+ //# sourceMappingURL=toast.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,22 @@
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 {}
@@ -0,0 +1,8 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,6 @@
1
+ export interface Illness {
2
+ id: number | string;
3
+ name: string;
4
+ [key: string]: unknown;
5
+ }
6
+ //# sourceMappingURL=medic.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,25 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,10 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,25 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,12 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,26 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export declare function parseEmojiArray(text: string | undefined): any[];
2
+ //# sourceMappingURL=emojiParser.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,52 @@
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
@@ -0,0 +1 @@
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"}