@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.
- package/README.md +8 -8
- package/dist/chat.css +1 -0
- package/dist/index.cjs +7 -5
- package/dist/index.mjs +10827 -8846
- package/dist/signature_pad-BvnS6ckP.cjs +4 -0
- package/dist/signature_pad-CSadMJ3H.js +478 -0
- package/dist/types/app/components/ChatPage.vue.d.ts +3 -0
- package/dist/types/app/components/ChatPage.vue.d.ts.map +1 -0
- package/dist/types/app/components/call/CallBoard.vue.d.ts +33 -0
- package/dist/types/app/components/call/CallBoard.vue.d.ts.map +1 -0
- package/dist/types/app/components/call/CallMemberDisplay.vue.d.ts +16 -0
- package/dist/types/app/components/call/CallMemberDisplay.vue.d.ts.map +1 -0
- package/dist/types/app/components/call/CallPageOverlay.vue.d.ts +7 -0
- package/dist/types/app/components/call/CallPageOverlay.vue.d.ts.map +1 -0
- package/dist/types/app/components/call/paint-board/BoardColorPicker.vue.d.ts +24 -0
- package/dist/types/app/components/call/paint-board/BoardColorPicker.vue.d.ts.map +1 -0
- package/dist/types/app/components/call/paint-board/BrushSizeSlider.vue.d.ts +19 -0
- package/dist/types/app/components/call/paint-board/BrushSizeSlider.vue.d.ts.map +1 -0
- package/dist/types/app/components/call/paint-board/CallPaintBoard.vue.d.ts +47 -0
- package/dist/types/app/components/call/paint-board/CallPaintBoard.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/ChatBubble.vue.d.ts +164 -0
- package/dist/types/app/components/chat/ChatBubble.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/ChatInput.vue.d.ts +56 -0
- package/dist/types/app/components/chat/ChatInput.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/ChatMessages.vue.d.ts +16 -0
- package/dist/types/app/components/chat/ChatMessages.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/ChatPageBar.vue.d.ts +17 -0
- package/dist/types/app/components/chat/ChatPageBar.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/ChatProfileOverview.vue.d.ts +11 -0
- package/dist/types/app/components/chat/ChatProfileOverview.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/ChatView.vue.d.ts +73 -0
- package/dist/types/app/components/chat/ChatView.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-bubbles/BubbleOptions.vue.d.ts +119 -0
- package/dist/types/app/components/chat/chat-bubbles/BubbleOptions.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-bubbles/BubbleVideo.vue.d.ts +25 -0
- package/dist/types/app/components/chat/chat-bubbles/BubbleVideo.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-bubbles/FileDisplay.vue.d.ts +12 -0
- package/dist/types/app/components/chat/chat-bubbles/FileDisplay.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-bubbles/ImageGroupDisplay.vue.d.ts +12 -0
- package/dist/types/app/components/chat/chat-bubbles/ImageGroupDisplay.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-bubbles/VoiceDisplay.vue.d.ts +12 -0
- package/dist/types/app/components/chat/chat-bubbles/VoiceDisplay.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-input/AttachementFileDisplay.vue.d.ts +12 -0
- package/dist/types/app/components/chat/chat-input/AttachementFileDisplay.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-input/InputAttachement.vue.d.ts +15 -0
- package/dist/types/app/components/chat/chat-input/InputAttachement.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-input/PermissionPopup.vue.d.ts +16 -0
- package/dist/types/app/components/chat/chat-input/PermissionPopup.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-input/VideoRecordDisplay.vue.d.ts +26 -0
- package/dist/types/app/components/chat/chat-input/VideoRecordDisplay.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/contact/ChatContactDisplay.vue.d.ts +8 -0
- package/dist/types/app/components/chat/contact/ChatContactDisplay.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/contact/ChatList.vue.d.ts +5 -0
- package/dist/types/app/components/chat/contact/ChatList.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/contact/ChatListSearch.vue.d.ts +12 -0
- package/dist/types/app/components/chat/contact/ChatListSearch.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/contact/ContactAvatar.vue.d.ts +10 -0
- package/dist/types/app/components/chat/contact/ContactAvatar.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/profile/FileDisplay.vue.d.ts +9 -0
- package/dist/types/app/components/chat/profile/FileDisplay.vue.d.ts.map +1 -0
- package/dist/types/app/components/general/FileFormatDisplay.vue.d.ts +16 -0
- package/dist/types/app/components/general/FileFormatDisplay.vue.d.ts.map +1 -0
- package/dist/types/app/components/general/LoadingStatus.vue.d.ts +16 -0
- package/dist/types/app/components/general/LoadingStatus.vue.d.ts.map +1 -0
- package/dist/types/app/components/general/NoDataDisplay.vue.d.ts +7 -0
- package/dist/types/app/components/general/NoDataDisplay.vue.d.ts.map +1 -0
- package/dist/types/app/components/general/SafeEmojiText.vue.d.ts +10 -0
- package/dist/types/app/components/general/SafeEmojiText.vue.d.ts.map +1 -0
- package/dist/types/app/components/global/BButton.vue.d.ts +74 -0
- package/dist/types/app/components/global/BButton.vue.d.ts.map +1 -0
- package/dist/types/app/components/global/BCarousel.vue.d.ts +47 -0
- package/dist/types/app/components/global/BCarousel.vue.d.ts.map +1 -0
- package/dist/types/app/components/global/BCheckBox.vue.d.ts +30 -0
- package/dist/types/app/components/global/BCheckBox.vue.d.ts.map +1 -0
- package/dist/types/app/components/global/BEmojiPicker.vue.d.ts +7 -0
- package/dist/types/app/components/global/BEmojiPicker.vue.d.ts.map +1 -0
- package/dist/types/app/components/global/BIcon.vue.d.ts +11 -0
- package/dist/types/app/components/global/BIcon.vue.d.ts.map +1 -0
- package/dist/types/app/components/global/BImage.vue.d.ts +51 -0
- package/dist/types/app/components/global/BImage.vue.d.ts.map +1 -0
- package/dist/types/app/components/global/BInput.vue.d.ts +65 -0
- package/dist/types/app/components/global/BInput.vue.d.ts.map +1 -0
- package/dist/types/app/components/global/BLabel.vue.d.ts +18 -0
- package/dist/types/app/components/global/BLabel.vue.d.ts.map +1 -0
- package/dist/types/app/components/global/BMenu.vue.d.ts +54 -0
- package/dist/types/app/components/global/BMenu.vue.d.ts.map +1 -0
- package/dist/types/app/components/global/BModal.vue.d.ts +24 -0
- package/dist/types/app/components/global/BModal.vue.d.ts.map +1 -0
- package/dist/types/app/components/global/BPopup.vue.d.ts +42 -0
- package/dist/types/app/components/global/BPopup.vue.d.ts.map +1 -0
- package/dist/types/app/components/global/BSelect.vue.d.ts +43 -0
- package/dist/types/app/components/global/BSelect.vue.d.ts.map +1 -0
- package/dist/types/app/components/global/BTab.vue.d.ts +15 -0
- package/dist/types/app/components/global/BTab.vue.d.ts.map +1 -0
- package/dist/types/app/components/global/BToast.vue.d.ts +7 -0
- package/dist/types/app/components/global/BToast.vue.d.ts.map +1 -0
- package/dist/types/app/components/global/BVirtualVerticalList.vue.d.ts +30 -0
- package/dist/types/app/components/global/BVirtualVerticalList.vue.d.ts.map +1 -0
- package/dist/types/{composables → app/composables}/chat/useChatRecording.d.ts +4 -4
- package/dist/types/app/composables/chat/useChatRecording.d.ts.map +1 -0
- package/dist/types/app/composables/useAppPermissions.d.ts.map +1 -0
- package/dist/types/{composables → app/composables}/useAppToast.d.ts +2 -1
- package/dist/types/app/composables/useAppToast.d.ts.map +1 -0
- package/dist/types/app/composables/useClickOutside.d.ts.map +1 -0
- package/dist/types/app/composables/useDate.d.ts +7 -0
- package/dist/types/app/composables/useDate.d.ts.map +1 -0
- package/dist/types/app/composables/useDevice.d.ts.map +1 -0
- package/dist/types/app/composables/useLocalI18n.d.ts +5 -0
- package/dist/types/app/composables/useLocalI18n.d.ts.map +1 -0
- package/dist/types/app/directives/filePicker.d.ts.map +1 -0
- package/dist/types/app/directives/imagePicker.d.ts.map +1 -0
- package/dist/types/app/directives/loading.d.ts.map +1 -0
- package/dist/types/app/index.d.ts +28 -0
- package/dist/types/app/index.d.ts.map +1 -0
- package/dist/types/{stores → app/stores}/callStore.d.ts +451 -102
- package/dist/types/app/stores/callStore.d.ts.map +1 -0
- package/dist/types/app/stores/chatStore.d.ts +969 -0
- package/dist/types/app/stores/chatStore.d.ts.map +1 -0
- package/dist/types/app/stores/mediaStore.d.ts +18 -0
- package/dist/types/app/stores/mediaStore.d.ts.map +1 -0
- package/dist/types/app/stores/messageStores.d.ts +2229 -0
- package/dist/types/{stores/chatStore.d.ts.map → app/stores/messageStores.d.ts.map} +1 -1
- package/dist/types/app/stores/profileStore.d.ts +45 -0
- package/dist/types/app/stores/profileStore.d.ts.map +1 -0
- package/dist/types/app/types/components/chat-input.d.ts.map +1 -0
- package/dist/types/app/types/components/input.d.ts.map +1 -0
- package/dist/types/app/types/components/menu-options.d.ts.map +1 -0
- package/dist/types/app/types/components/menu.d.ts.map +1 -0
- package/dist/types/app/types/components/modal.d.ts.map +1 -0
- package/dist/types/app/types/components/popup.d.ts.map +1 -0
- package/dist/types/app/types/components/select.d.ts.map +1 -0
- package/dist/types/app/types/components/toast.d.ts.map +1 -0
- package/dist/types/app/types/index.d.ts +149 -0
- package/dist/types/app/types/index.d.ts.map +1 -0
- package/dist/types/app/utils/emojiParser.d.ts.map +1 -0
- package/dist/types/app/utils/format.d.ts +4 -0
- package/dist/types/app/utils/format.d.ts.map +1 -0
- package/dist/types/i18n/locales/index.d.ts +2603 -0
- package/dist/types/i18n/locales/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -10
- package/package.json +7 -14
- package/dist/index.cjs.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/dist/style.css +0 -1
- package/dist/types/adapter/HostAdapter.d.ts +0 -13
- package/dist/types/adapter/HostAdapter.d.ts.map +0 -1
- package/dist/types/adapter/PushPort.d.ts +0 -10
- package/dist/types/adapter/PushPort.d.ts.map +0 -1
- package/dist/types/adapter/index.d.ts +0 -7
- package/dist/types/adapter/index.d.ts.map +0 -1
- package/dist/types/adapter/mock/MockCallAdapter.d.ts +0 -14
- package/dist/types/adapter/mock/MockCallAdapter.d.ts.map +0 -1
- package/dist/types/adapter/mock/MockChatActionAdapter.d.ts +0 -9
- package/dist/types/adapter/mock/MockChatActionAdapter.d.ts.map +0 -1
- package/dist/types/adapter/mock/MockChatAdapter.d.ts +0 -7
- package/dist/types/adapter/mock/MockChatAdapter.d.ts.map +0 -1
- package/dist/types/adapter/mock/MockMedicationAdapter.d.ts +0 -7
- package/dist/types/adapter/mock/MockMedicationAdapter.d.ts.map +0 -1
- package/dist/types/adapter/mock/MockServiceAdapter.d.ts +0 -6
- package/dist/types/adapter/mock/MockServiceAdapter.d.ts.map +0 -1
- package/dist/types/adapter/mock/createMockAdapter.d.ts +0 -13
- package/dist/types/adapter/mock/createMockAdapter.d.ts.map +0 -1
- package/dist/types/adapter/mock/index.d.ts +0 -12
- package/dist/types/adapter/mock/index.d.ts.map +0 -1
- package/dist/types/adapter/ports/CallAdapter.d.ts +0 -36
- package/dist/types/adapter/ports/CallAdapter.d.ts.map +0 -1
- package/dist/types/adapter/ports/ChatActionAdapter.d.ts +0 -17
- package/dist/types/adapter/ports/ChatActionAdapter.d.ts.map +0 -1
- package/dist/types/adapter/ports/ChatAdapter.d.ts +0 -22
- package/dist/types/adapter/ports/ChatAdapter.d.ts.map +0 -1
- package/dist/types/adapter/ports/MedicationAdapter.d.ts +0 -6
- package/dist/types/adapter/ports/MedicationAdapter.d.ts.map +0 -1
- package/dist/types/adapter/ports/ServiceAdapter.d.ts +0 -16
- package/dist/types/adapter/ports/ServiceAdapter.d.ts.map +0 -1
- package/dist/types/components/ChatPage.vue.d.ts +0 -8
- package/dist/types/components/ChatPage.vue.d.ts.map +0 -1
- package/dist/types/components/call/CallBoard.vue.d.ts +0 -154
- package/dist/types/components/call/CallBoard.vue.d.ts.map +0 -1
- package/dist/types/components/call/CallMemberDisplay.vue.d.ts +0 -57
- package/dist/types/components/call/CallMemberDisplay.vue.d.ts.map +0 -1
- package/dist/types/components/call/CallPageOverlay.vue.d.ts +0 -1365
- package/dist/types/components/call/CallPageOverlay.vue.d.ts.map +0 -1
- package/dist/types/components/call/paint-board/BoardColorPicker.vue.d.ts +0 -41
- package/dist/types/components/call/paint-board/BoardColorPicker.vue.d.ts.map +0 -1
- package/dist/types/components/call/paint-board/BrushSizeSlider.vue.d.ts +0 -48
- package/dist/types/components/call/paint-board/BrushSizeSlider.vue.d.ts.map +0 -1
- package/dist/types/components/call/paint-board/CallPaintBoard.vue.d.ts +0 -127
- package/dist/types/components/call/paint-board/CallPaintBoard.vue.d.ts.map +0 -1
- package/dist/types/components/chat/ChatBubble.vue.d.ts +0 -12236
- package/dist/types/components/chat/ChatBubble.vue.d.ts.map +0 -1
- package/dist/types/components/chat/ChatInput.vue.d.ts +0 -2477
- package/dist/types/components/chat/ChatInput.vue.d.ts.map +0 -1
- package/dist/types/components/chat/ChatMessages.vue.d.ts +0 -13873
- package/dist/types/components/chat/ChatMessages.vue.d.ts.map +0 -1
- package/dist/types/components/chat/ChatPageBar.vue.d.ts +0 -1204
- package/dist/types/components/chat/ChatPageBar.vue.d.ts.map +0 -1
- package/dist/types/components/chat/ChatProfileOverview.vue.d.ts +0 -327
- package/dist/types/components/chat/ChatProfileOverview.vue.d.ts.map +0 -1
- package/dist/types/components/chat/ChatView.vue.d.ts +0 -4
- package/dist/types/components/chat/ChatView.vue.d.ts.map +0 -1
- package/dist/types/components/chat/PatientReferral.vue.d.ts +0 -33
- package/dist/types/components/chat/PatientReferral.vue.d.ts.map +0 -1
- package/dist/types/components/chat/chat-bubbles/BubbleOptions.vue.d.ts +0 -53
- package/dist/types/components/chat/chat-bubbles/BubbleOptions.vue.d.ts.map +0 -1
- package/dist/types/components/chat/chat-bubbles/BubbleVideo.vue.d.ts +0 -103
- package/dist/types/components/chat/chat-bubbles/BubbleVideo.vue.d.ts.map +0 -1
- package/dist/types/components/chat/chat-bubbles/FileDisplay.vue.d.ts +0 -170
- package/dist/types/components/chat/chat-bubbles/FileDisplay.vue.d.ts.map +0 -1
- package/dist/types/components/chat/chat-bubbles/ImageGroupDisplay.vue.d.ts +0 -74
- package/dist/types/components/chat/chat-bubbles/ImageGroupDisplay.vue.d.ts.map +0 -1
- package/dist/types/components/chat/chat-bubbles/RequestCard.vue.d.ts +0 -11449
- package/dist/types/components/chat/chat-bubbles/RequestCard.vue.d.ts.map +0 -1
- package/dist/types/components/chat/chat-bubbles/VoiceDisplay.vue.d.ts +0 -107
- package/dist/types/components/chat/chat-bubbles/VoiceDisplay.vue.d.ts.map +0 -1
- package/dist/types/components/chat/chat-bubbles/request-card/ProviderDisplay.vue.d.ts +0 -56
- package/dist/types/components/chat/chat-bubbles/request-card/ProviderDisplay.vue.d.ts.map +0 -1
- package/dist/types/components/chat/chat-input/AttachementFileDisplay.vue.d.ts +0 -28
- package/dist/types/components/chat/chat-input/AttachementFileDisplay.vue.d.ts.map +0 -1
- package/dist/types/components/chat/chat-input/InputAttachement.vue.d.ts +0 -72
- package/dist/types/components/chat/chat-input/InputAttachement.vue.d.ts.map +0 -1
- package/dist/types/components/chat/chat-input/PermissionPopup.vue.d.ts +0 -15
- package/dist/types/components/chat/chat-input/PermissionPopup.vue.d.ts.map +0 -1
- package/dist/types/components/chat/chat-input/VideoRecordDisplay.vue.d.ts +0 -149
- package/dist/types/components/chat/chat-input/VideoRecordDisplay.vue.d.ts.map +0 -1
- package/dist/types/components/chat/contact/ChatContactDisplay.vue.d.ts +0 -85
- package/dist/types/components/chat/contact/ChatContactDisplay.vue.d.ts.map +0 -1
- package/dist/types/components/chat/contact/ChatList.vue.d.ts +0 -3111
- package/dist/types/components/chat/contact/ChatList.vue.d.ts.map +0 -1
- package/dist/types/components/chat/contact/ChatListSearch.vue.d.ts +0 -24
- package/dist/types/components/chat/contact/ChatListSearch.vue.d.ts.map +0 -1
- package/dist/types/components/chat/contact/ContactAvatar.vue.d.ts +0 -28
- package/dist/types/components/chat/contact/ContactAvatar.vue.d.ts.map +0 -1
- package/dist/types/components/chat/medic-features/MedicDisplay.vue.d.ts +0 -61
- package/dist/types/components/chat/medic-features/MedicDisplay.vue.d.ts.map +0 -1
- package/dist/types/components/chat/medic-features/MedicSelector.vue.d.ts +0 -1113
- package/dist/types/components/chat/medic-features/MedicSelector.vue.d.ts.map +0 -1
- package/dist/types/components/chat/medic-features/MedicSelectorContent.vue.d.ts +0 -1060
- package/dist/types/components/chat/medic-features/MedicSelectorContent.vue.d.ts.map +0 -1
- package/dist/types/components/chat/medic-features/PrescribtionDisplay.vue.d.ts +0 -1431
- package/dist/types/components/chat/medic-features/PrescribtionDisplay.vue.d.ts.map +0 -1
- package/dist/types/components/chat/profile/FileDisplay.vue.d.ts +0 -28
- package/dist/types/components/chat/profile/FileDisplay.vue.d.ts.map +0 -1
- package/dist/types/components/general/FileFormatDisplay.vue.d.ts +0 -60
- package/dist/types/components/general/FileFormatDisplay.vue.d.ts.map +0 -1
- package/dist/types/components/general/LoadingStatus.vue.d.ts +0 -59
- package/dist/types/components/general/LoadingStatus.vue.d.ts.map +0 -1
- package/dist/types/components/general/NoDataDisplay.vue.d.ts +0 -24
- package/dist/types/components/general/NoDataDisplay.vue.d.ts.map +0 -1
- package/dist/types/components/general/SafeEmojiText.vue.d.ts +0 -24
- package/dist/types/components/general/SafeEmojiText.vue.d.ts.map +0 -1
- package/dist/types/components/global/BCarousel.vue.d.ts +0 -48
- package/dist/types/components/global/BCarousel.vue.d.ts.map +0 -1
- package/dist/types/composables/chat/useChatRecording.d.ts.map +0 -1
- package/dist/types/composables/useAppPermissions.d.ts.map +0 -1
- package/dist/types/composables/useAppToast.d.ts.map +0 -1
- package/dist/types/composables/useClickOutside.d.ts.map +0 -1
- package/dist/types/composables/useDate.d.ts +0 -24
- package/dist/types/composables/useDate.d.ts.map +0 -1
- package/dist/types/composables/useDevice.d.ts.map +0 -1
- package/dist/types/composables/useLocale.d.ts +0 -12
- package/dist/types/composables/useLocale.d.ts.map +0 -1
- package/dist/types/composables/useTheme.d.ts +0 -4
- package/dist/types/composables/useTheme.d.ts.map +0 -1
- package/dist/types/composables/useValidation.d.ts +0 -20
- package/dist/types/composables/useValidation.d.ts.map +0 -1
- package/dist/types/composables/useWindowSize.d.ts +0 -5
- package/dist/types/composables/useWindowSize.d.ts.map +0 -1
- package/dist/types/directives/filePicker.d.ts.map +0 -1
- package/dist/types/directives/imagePicker.d.ts.map +0 -1
- package/dist/types/directives/loading.d.ts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/install.d.ts +0 -20
- package/dist/types/install.d.ts.map +0 -1
- package/dist/types/mock/chat.seed.d.ts +0 -20
- package/dist/types/mock/chat.seed.d.ts.map +0 -1
- package/dist/types/mock/helpers.d.ts +0 -3
- package/dist/types/mock/helpers.d.ts.map +0 -1
- package/dist/types/mock/index.d.ts +0 -5
- package/dist/types/mock/index.d.ts.map +0 -1
- package/dist/types/mock/medication.seed.d.ts +0 -4
- package/dist/types/mock/medication.seed.d.ts.map +0 -1
- package/dist/types/mock/service.seed.d.ts +0 -13
- package/dist/types/mock/service.seed.d.ts.map +0 -1
- package/dist/types/nuxt-shims.d.ts +0 -43
- package/dist/types/nuxt-shims.d.ts.map +0 -1
- package/dist/types/prime-preset.d.ts +0 -72
- package/dist/types/prime-preset.d.ts.map +0 -1
- package/dist/types/stores/callStore.d.ts.map +0 -1
- package/dist/types/stores/chatActionStore.d.ts +0 -11303
- package/dist/types/stores/chatActionStore.d.ts.map +0 -1
- package/dist/types/stores/chatStore.d.ts +0 -2966
- package/dist/types/stores/createStores.d.ts +0 -19290
- package/dist/types/stores/createStores.d.ts.map +0 -1
- package/dist/types/stores/medicationsStore.d.ts +0 -3542
- package/dist/types/stores/medicationsStore.d.ts.map +0 -1
- package/dist/types/stores/serviceStore.d.ts +0 -953
- package/dist/types/stores/serviceStore.d.ts.map +0 -1
- package/dist/types/themes/factory.d.ts +0 -4
- package/dist/types/themes/factory.d.ts.map +0 -1
- package/dist/types/types/address.d.ts +0 -26
- package/dist/types/types/address.d.ts.map +0 -1
- package/dist/types/types/calendar.d.ts +0 -88
- package/dist/types/types/calendar.d.ts.map +0 -1
- package/dist/types/types/call.d.ts +0 -9
- package/dist/types/types/call.d.ts.map +0 -1
- package/dist/types/types/chat.d.ts +0 -71
- package/dist/types/types/chat.d.ts.map +0 -1
- package/dist/types/types/clinic.d.ts +0 -7
- package/dist/types/types/clinic.d.ts.map +0 -1
- package/dist/types/types/components/chat-input.d.ts.map +0 -1
- package/dist/types/types/components/input.d.ts.map +0 -1
- package/dist/types/types/components/menu-options.d.ts.map +0 -1
- package/dist/types/types/components/menu.d.ts.map +0 -1
- package/dist/types/types/components/modal.d.ts.map +0 -1
- package/dist/types/types/components/nav-item.d.ts +0 -11
- package/dist/types/types/components/nav-item.d.ts.map +0 -1
- package/dist/types/types/components/nav-sub-item.d.ts +0 -9
- package/dist/types/types/components/nav-sub-item.d.ts.map +0 -1
- package/dist/types/types/components/popup.d.ts.map +0 -1
- package/dist/types/types/components/select.d.ts.map +0 -1
- package/dist/types/types/components/toast.d.ts.map +0 -1
- package/dist/types/types/env/runtimeConfig.d.ts +0 -22
- package/dist/types/types/invoice.d.ts +0 -8
- package/dist/types/types/invoice.d.ts.map +0 -1
- package/dist/types/types/medic.d.ts +0 -6
- package/dist/types/types/medic.d.ts.map +0 -1
- package/dist/types/types/medication.d.ts +0 -25
- package/dist/types/types/medication.d.ts.map +0 -1
- package/dist/types/types/notification.d.ts +0 -10
- package/dist/types/types/notification.d.ts.map +0 -1
- package/dist/types/types/service.d.ts +0 -25
- package/dist/types/types/service.d.ts.map +0 -1
- package/dist/types/types/story.d.ts +0 -12
- package/dist/types/types/story.d.ts.map +0 -1
- package/dist/types/types/theme.d.ts +0 -26
- package/dist/types/types/theme.d.ts.map +0 -1
- package/dist/types/utils/emojiParser.d.ts.map +0 -1
- package/dist/types/utils/format.d.ts +0 -52
- package/dist/types/utils/format.d.ts.map +0 -1
- /package/dist/types/{composables → app/composables}/useAppPermissions.d.ts +0 -0
- /package/dist/types/{composables → app/composables}/useClickOutside.d.ts +0 -0
- /package/dist/types/{composables → app/composables}/useDevice.d.ts +0 -0
- /package/dist/types/{directives → app/directives}/filePicker.d.ts +0 -0
- /package/dist/types/{directives → app/directives}/imagePicker.d.ts +0 -0
- /package/dist/types/{directives → app/directives}/loading.d.ts +0 -0
- /package/dist/types/{types → app/types}/components/chat-input.d.ts +0 -0
- /package/dist/types/{types → app/types}/components/input.d.ts +0 -0
- /package/dist/types/{types → app/types}/components/menu-options.d.ts +0 -0
- /package/dist/types/{types → app/types}/components/menu.d.ts +0 -0
- /package/dist/types/{types → app/types}/components/modal.d.ts +0 -0
- /package/dist/types/{types → app/types}/components/popup.d.ts +0 -0
- /package/dist/types/{types → app/types}/components/select.d.ts +0 -0
- /package/dist/types/{types → app/types}/components/toast.d.ts +0 -0
- /package/dist/types/{utils → app/utils}/emojiParser.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"messageStores.d.ts","sourceRoot":"","sources":["../../../../app/stores/messageStores.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,gBAAgB,EAAa,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAOrG,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BApFI,eAAe;uBA/CvB,gBAAgB;+BAsDR,eAAe;2BAWnB,eAAe;;kCAwBF,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA2Bf,MAAM;iBAAW,OAAO,CAAC,OAAO,CAAC;;4BAiEhC,OAAO,EAAE;0BAiDX,MAAM,QAAQ,MAAM;oCA4BrC,MAAM,SAChB,MAAM,aACF,MAAM;iCAvHkB,MAAM;wCAaC,MAAM,WAAW,OAAO;uCASjD,MAAM,aACX,MAAM,WACR,OAAO,CAAC,OAAO,CAAC;;;;;;;;;8BAzDM,MAAM,aAAa,MAAM;oCAqB7C,MAAM,aACN,MAAM,WACR,MAAM,OAAO,CAAC,IAAI,CAAC;;;;;;;;;;4SA6L9B,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ProfileHandlers } from '../types';
|
|
2
|
+
export declare const useProfileStore: import('pinia').StoreDefinition<"profile-store", Pick<{
|
|
3
|
+
setHandlers: (val: ProfileHandlers) => void;
|
|
4
|
+
fetchMedia: (conversationId: string, page?: number, size?: number) => Promise<void>;
|
|
5
|
+
fetchFiles: (conversationId: string, page?: number, size?: number) => Promise<void>;
|
|
6
|
+
clear: (conversationId: string) => void;
|
|
7
|
+
mediaMap: globalThis.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
8
|
+
filesMap: globalThis.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
9
|
+
mediaPage: globalThis.Ref<Record<string, number>, Record<string, number>>;
|
|
10
|
+
filesPage: globalThis.Ref<Record<string, number>, Record<string, number>>;
|
|
11
|
+
mediaHasNextPage: globalThis.Ref<Record<string, boolean>, Record<string, boolean>>;
|
|
12
|
+
filesHasNextPage: globalThis.Ref<Record<string, boolean>, Record<string, boolean>>;
|
|
13
|
+
mediaLoading: globalThis.Ref<boolean, boolean>;
|
|
14
|
+
filesLoading: globalThis.Ref<boolean, boolean>;
|
|
15
|
+
pageSize: globalThis.Ref<number, number>;
|
|
16
|
+
}, "mediaMap" | "filesMap" | "mediaPage" | "filesPage" | "mediaHasNextPage" | "filesHasNextPage" | "mediaLoading" | "filesLoading" | "pageSize">, Pick<{
|
|
17
|
+
setHandlers: (val: ProfileHandlers) => void;
|
|
18
|
+
fetchMedia: (conversationId: string, page?: number, size?: number) => Promise<void>;
|
|
19
|
+
fetchFiles: (conversationId: string, page?: number, size?: number) => Promise<void>;
|
|
20
|
+
clear: (conversationId: string) => void;
|
|
21
|
+
mediaMap: globalThis.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
22
|
+
filesMap: globalThis.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
23
|
+
mediaPage: globalThis.Ref<Record<string, number>, Record<string, number>>;
|
|
24
|
+
filesPage: globalThis.Ref<Record<string, number>, Record<string, number>>;
|
|
25
|
+
mediaHasNextPage: globalThis.Ref<Record<string, boolean>, Record<string, boolean>>;
|
|
26
|
+
filesHasNextPage: globalThis.Ref<Record<string, boolean>, Record<string, boolean>>;
|
|
27
|
+
mediaLoading: globalThis.Ref<boolean, boolean>;
|
|
28
|
+
filesLoading: globalThis.Ref<boolean, boolean>;
|
|
29
|
+
pageSize: globalThis.Ref<number, number>;
|
|
30
|
+
}, never>, Pick<{
|
|
31
|
+
setHandlers: (val: ProfileHandlers) => void;
|
|
32
|
+
fetchMedia: (conversationId: string, page?: number, size?: number) => Promise<void>;
|
|
33
|
+
fetchFiles: (conversationId: string, page?: number, size?: number) => Promise<void>;
|
|
34
|
+
clear: (conversationId: string) => void;
|
|
35
|
+
mediaMap: globalThis.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
36
|
+
filesMap: globalThis.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
37
|
+
mediaPage: globalThis.Ref<Record<string, number>, Record<string, number>>;
|
|
38
|
+
filesPage: globalThis.Ref<Record<string, number>, Record<string, number>>;
|
|
39
|
+
mediaHasNextPage: globalThis.Ref<Record<string, boolean>, Record<string, boolean>>;
|
|
40
|
+
filesHasNextPage: globalThis.Ref<Record<string, boolean>, Record<string, boolean>>;
|
|
41
|
+
mediaLoading: globalThis.Ref<boolean, boolean>;
|
|
42
|
+
filesLoading: globalThis.Ref<boolean, boolean>;
|
|
43
|
+
pageSize: globalThis.Ref<number, number>;
|
|
44
|
+
}, "clear" | "setHandlers" | "fetchMedia" | "fetchFiles">>;
|
|
45
|
+
//# sourceMappingURL=profileStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profileStore.d.ts","sourceRoot":"","sources":["../../../../app/stores/profileStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,eAAe,EAChB,MAAM,SAAS,CAAC;AAKjB,eAAO,MAAM,eAAe;uBAGA,eAAe;iCAevB,MAAM,SAChB,MAAM,SACN,MAAM;iCAsBI,MAAM,SAChB,MAAM,SACN,MAAM;4BAqBiB,MAAM;;;;;;;;;;;uBA9DX,eAAe;iCAevB,MAAM,SAChB,MAAM,SACN,MAAM;iCAsBI,MAAM,SAChB,MAAM,SACN,MAAM;4BAqBiB,MAAM;;;;;;;;;;;uBA9DX,eAAe;iCAevB,MAAM,SAChB,MAAM,SACN,MAAM;iCAsBI,MAAM,SAChB,MAAM,SACN,MAAM;4BAqBiB,MAAM;;;;;;;;;;0DAwBrC,CAAC"}
|
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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,149 @@
|
|
|
1
|
+
export type ThemeMode = "light" | "dark";
|
|
2
|
+
export interface CallMember extends Contact {
|
|
3
|
+
stream: MediaStream | null;
|
|
4
|
+
isScreenSharing: boolean;
|
|
5
|
+
isCameraOn: boolean;
|
|
6
|
+
isSpeaking: boolean;
|
|
7
|
+
isMuted: boolean;
|
|
8
|
+
}
|
|
9
|
+
export type status = "pending" | "approved" | "rejected" | "expired";
|
|
10
|
+
export type ServicePresence = "online" | "on-site";
|
|
11
|
+
export type UserRoleKey = "user" | "employee" | "business" | "support";
|
|
12
|
+
export type StateKeys = "" | "online" | "ended" | "active";
|
|
13
|
+
export type MessageType = "text" | "image" | "file" | "voice" | "video";
|
|
14
|
+
export interface Message {
|
|
15
|
+
id: string;
|
|
16
|
+
conversationId: string;
|
|
17
|
+
date: Date;
|
|
18
|
+
type: MessageType;
|
|
19
|
+
text?: string;
|
|
20
|
+
imageUrl?: string[];
|
|
21
|
+
fileUrl?: string;
|
|
22
|
+
voiceUrl?: string;
|
|
23
|
+
videoUrl?: string;
|
|
24
|
+
isEdited: boolean;
|
|
25
|
+
senderId: string;
|
|
26
|
+
isSent: boolean;
|
|
27
|
+
isRead: boolean;
|
|
28
|
+
repliedTo?: Message;
|
|
29
|
+
request?: string;
|
|
30
|
+
}
|
|
31
|
+
export interface Contact {
|
|
32
|
+
id: string;
|
|
33
|
+
name: string;
|
|
34
|
+
lastName: string;
|
|
35
|
+
isOnline: boolean;
|
|
36
|
+
lastSeen: Date;
|
|
37
|
+
imageUrl: string;
|
|
38
|
+
nationalCode?: string;
|
|
39
|
+
phoneNumber?: string;
|
|
40
|
+
isActive: boolean;
|
|
41
|
+
birthDate: Date;
|
|
42
|
+
lastMessage?: Message;
|
|
43
|
+
unreadCount?: number;
|
|
44
|
+
serviceType?: "video-call" | "voice-call" | "chat";
|
|
45
|
+
userType: UserRoleKey[];
|
|
46
|
+
}
|
|
47
|
+
export interface ChatFilter {
|
|
48
|
+
key: StateKeys;
|
|
49
|
+
label: string;
|
|
50
|
+
}
|
|
51
|
+
export interface ExtendedMessage extends Message {
|
|
52
|
+
prevMessage?: Message;
|
|
53
|
+
nextMessage?: Message;
|
|
54
|
+
isFirstInDate: boolean;
|
|
55
|
+
contact?: Contact;
|
|
56
|
+
}
|
|
57
|
+
export interface ChatProvider {
|
|
58
|
+
fetchContacts: () => Promise<Contact[]>;
|
|
59
|
+
}
|
|
60
|
+
export type CallKind = "voice-call" | "video-call";
|
|
61
|
+
export type CallSignalEvent = {
|
|
62
|
+
type: "offer";
|
|
63
|
+
callId: string;
|
|
64
|
+
sdp: RTCSessionDescriptionInit;
|
|
65
|
+
} | {
|
|
66
|
+
type: "answer";
|
|
67
|
+
callId: string;
|
|
68
|
+
sdp: RTCSessionDescriptionInit;
|
|
69
|
+
} | {
|
|
70
|
+
type: "ice";
|
|
71
|
+
callId: string;
|
|
72
|
+
candidate: RTCIceCandidateInit;
|
|
73
|
+
} | {
|
|
74
|
+
type: "end";
|
|
75
|
+
callId: string;
|
|
76
|
+
} | {
|
|
77
|
+
type: "join";
|
|
78
|
+
callId: string;
|
|
79
|
+
memberId: string;
|
|
80
|
+
} | {
|
|
81
|
+
type: "leave";
|
|
82
|
+
callId: string;
|
|
83
|
+
memberId: string;
|
|
84
|
+
};
|
|
85
|
+
export interface CallHandlers {
|
|
86
|
+
initiate(conversationId: string, kind: CallKind): Promise<{
|
|
87
|
+
callId: string;
|
|
88
|
+
}>;
|
|
89
|
+
sendOffer(callId: string, sdp: RTCSessionDescriptionInit): Promise<void>;
|
|
90
|
+
sendAnswer(callId: string, sdp: RTCSessionDescriptionInit): Promise<void>;
|
|
91
|
+
sendIce(callId: string, candidate: RTCIceCandidateInit): Promise<void>;
|
|
92
|
+
end(callId: string): Promise<void>;
|
|
93
|
+
onSignal(handler: (e: CallSignalEvent) => void): () => void;
|
|
94
|
+
}
|
|
95
|
+
export interface FetchContactsParams {
|
|
96
|
+
page: number;
|
|
97
|
+
pageSize: number;
|
|
98
|
+
state: StateKeys;
|
|
99
|
+
search?: string;
|
|
100
|
+
}
|
|
101
|
+
export interface ContactsPage {
|
|
102
|
+
data: Contact[];
|
|
103
|
+
hasNextPage: boolean;
|
|
104
|
+
}
|
|
105
|
+
export interface ChatHandlers {
|
|
106
|
+
fetchConversations(params: FetchContactsParams): Promise<ContactsPage>;
|
|
107
|
+
deleteConversation(id: string): Promise<void>;
|
|
108
|
+
}
|
|
109
|
+
export interface MediaDownloadOptions {
|
|
110
|
+
signal?: AbortSignal;
|
|
111
|
+
onProgress?: (percent: number) => void;
|
|
112
|
+
}
|
|
113
|
+
export interface MediaHandlers {
|
|
114
|
+
download(url: string, opts?: MediaDownloadOptions): Promise<Blob>;
|
|
115
|
+
getFileSize(url: string): Promise<number | null>;
|
|
116
|
+
}
|
|
117
|
+
export interface UploadProgressEvent {
|
|
118
|
+
uploaded: number;
|
|
119
|
+
total: number;
|
|
120
|
+
progress: number;
|
|
121
|
+
}
|
|
122
|
+
export interface SendMessageOptions {
|
|
123
|
+
onProgress?: (e: UploadProgressEvent) => void;
|
|
124
|
+
}
|
|
125
|
+
export interface FetchMessagesParams {
|
|
126
|
+
conversationId: string;
|
|
127
|
+
page: number;
|
|
128
|
+
pageSize: number;
|
|
129
|
+
}
|
|
130
|
+
export interface MessagesHandlers {
|
|
131
|
+
sendMessage(msg: Message, opts?: SendMessageOptions): Promise<Message>;
|
|
132
|
+
editMessage(id: string, text: string): Promise<Message>;
|
|
133
|
+
deleteMessages(ids: string[]): Promise<void>;
|
|
134
|
+
fetchMessages(params: FetchMessagesParams): Promise<Message[]>;
|
|
135
|
+
}
|
|
136
|
+
export interface FetchProfileAttachmentsParams {
|
|
137
|
+
conversationId: string;
|
|
138
|
+
page: number;
|
|
139
|
+
pageSize: number;
|
|
140
|
+
}
|
|
141
|
+
export interface ProfileAttachmentsPage {
|
|
142
|
+
data: string[];
|
|
143
|
+
hasNextPage: boolean;
|
|
144
|
+
}
|
|
145
|
+
export interface ProfileHandlers {
|
|
146
|
+
fetchMedia(params: FetchProfileAttachmentsParams): Promise<ProfileAttachmentsPage>;
|
|
147
|
+
fetchFiles(params: FetchProfileAttachmentsParams): Promise<ProfileAttachmentsPage>;
|
|
148
|
+
}
|
|
149
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../app/types/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAEzC,MAAM,WAAW,UAAW,SAAQ,OAAO;IACzC,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;CAClB;AAED,MAAM,MAAM,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;AACrE,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,SAAS,CAAC;AACnD,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;AACvE,MAAM,MAAM,SAAS,GAAG,EAAE,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;AAC3D,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;AACxE,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MA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,mBAAmB;IAClC,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B,WAAW,CAAC,GAAG,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IACvE,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IACxD,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7C,aAAa,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;CAChE;AAED,MAAM,WAAW,6BAA6B;IAC5C,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,eAAe;IAC9B,UAAU,CAAC,MAAM,EAAE,6BAA6B,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnF,UAAU,CAAC,MAAM,EAAE,6BAA6B,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAAC;CACpF"}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../app/utils/format.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,GAChC,OAAO,MAAM,GAAG,MAAM,EACtB,SAAQ,MAAa,KACpB,MAQF,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,MAAM,WAMxC,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,cAAc,MAAM,KAAG,MAYrD,CAAC"}
|