vue-parley 4.3.1 → 4.5.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 (73) hide show
  1. package/README.md +2 -0
  2. package/dist/chat.css +582 -310
  3. package/dist/chunks/Call-4Dy8ScSp.mjs +1155 -0
  4. package/dist/chunks/Call-4Dy8ScSp.mjs.map +1 -0
  5. package/dist/chunks/Call-Cvl4jYFw.cjs +1155 -0
  6. package/dist/chunks/Call-Cvl4jYFw.cjs.map +1 -0
  7. package/dist/chunks/{index-DI5ok4ow.mjs → index-D6A5iChU.mjs} +1294 -899
  8. package/dist/chunks/index-D6A5iChU.mjs.map +1 -0
  9. package/dist/chunks/{index-DwJwSnRN.cjs → index-IX_VLo2s.cjs} +1285 -890
  10. package/dist/chunks/index-IX_VLo2s.cjs.map +1 -0
  11. package/dist/chunks/{session-BxYnJEOe.mjs → session-ISt2dIJZ.mjs} +59 -8
  12. package/dist/chunks/session-ISt2dIJZ.mjs.map +1 -0
  13. package/dist/chunks/{session-D2gbmnmM.cjs → session-fFt9pNu9.cjs} +59 -8
  14. package/dist/chunks/session-fFt9pNu9.cjs.map +1 -0
  15. package/dist/fakes.cjs +3 -1
  16. package/dist/fakes.cjs.map +1 -1
  17. package/dist/fakes.mjs +3 -1
  18. package/dist/fakes.mjs.map +1 -1
  19. package/dist/index.cjs +9 -9
  20. package/dist/index.mjs +17 -17
  21. package/dist/types/app/components/call/Call.vue.d.ts +10 -0
  22. package/dist/types/app/components/call/Call.vue.d.ts.map +1 -1
  23. package/dist/types/app/components/call/CallButton.vue.d.ts +12 -0
  24. package/dist/types/app/components/call/CallButton.vue.d.ts.map +1 -0
  25. package/dist/types/app/components/call/CallIcon.vue.d.ts +38 -0
  26. package/dist/types/app/components/call/CallIcon.vue.d.ts.map +1 -0
  27. package/dist/types/app/components/chat/ChatInput.vue.d.ts +2 -2
  28. package/dist/types/app/components/chat/ChatMessages.vue.d.ts +3 -3
  29. package/dist/types/app/components/chat/ChatPageBar.vue.d.ts.map +1 -1
  30. package/dist/types/app/components/chat/ChatProfileOverview.vue.d.ts +1 -3
  31. package/dist/types/app/components/chat/ChatProfileOverview.vue.d.ts.map +1 -1
  32. package/dist/types/app/components/chat/ChatView.vue.d.ts +12 -12
  33. package/dist/types/app/components/chat/chat-bubbles/BubbleVideo.vue.d.ts +1 -1
  34. package/dist/types/app/components/chat/chat-bubbles/BubbleVideo.vue.d.ts.map +1 -1
  35. package/dist/types/app/components/chat/chat-input/AttachementFileDisplay.vue.d.ts +7 -1
  36. package/dist/types/app/components/chat/chat-input/AttachementFileDisplay.vue.d.ts.map +1 -1
  37. package/dist/types/app/components/chat/chat-input/InputAttachement.vue.d.ts.map +1 -1
  38. package/dist/types/app/components/chat/chat-input/RecordButton.vue.d.ts +2 -2
  39. package/dist/types/app/components/chat/contact/ChatContactDisplay.vue.d.ts +1 -1
  40. package/dist/types/app/components/chat/contact/ChatContactDisplay.vue.d.ts.map +1 -1
  41. package/dist/types/app/components/chat/contact/ChatList.vue.d.ts.map +1 -1
  42. package/dist/types/app/components/chat/contact/ChatListSearch.vue.d.ts.map +1 -1
  43. package/dist/types/app/components/general/ConfirmModal.vue.d.ts +2 -2
  44. package/dist/types/app/components/general/IconButton.vue.d.ts +1 -1
  45. package/dist/types/app/components/general/IconButton.vue.d.ts.map +1 -1
  46. package/dist/types/app/components/global/BIcon.vue.d.ts.map +1 -1
  47. package/dist/types/app/composables/call/peer.d.ts +2 -0
  48. package/dist/types/app/composables/call/peer.d.ts.map +1 -1
  49. package/dist/types/app/composables/call/peers.d.ts.map +1 -1
  50. package/dist/types/app/composables/call/session.d.ts.map +1 -1
  51. package/dist/types/app/composables/call/useSpeaking.d.ts +6 -0
  52. package/dist/types/app/composables/call/useSpeaking.d.ts.map +1 -0
  53. package/dist/types/app/composables/useAttachmentPicker.d.ts +5 -1
  54. package/dist/types/app/composables/useAttachmentPicker.d.ts.map +1 -1
  55. package/dist/types/app/index.d.ts +10 -0
  56. package/dist/types/app/index.d.ts.map +1 -1
  57. package/dist/types/app/stores/chatStore.d.ts.map +1 -1
  58. package/dist/types/app/stores/messageStores.d.ts +42 -0
  59. package/dist/types/app/stores/messageStores.d.ts.map +1 -1
  60. package/dist/types/app/types/index.d.ts +10 -0
  61. package/dist/types/app/types/index.d.ts.map +1 -1
  62. package/dist/types/fakes/data.d.ts.map +1 -1
  63. package/dist/types/i18n/locales/index.d.ts +82 -0
  64. package/dist/types/i18n/locales/index.d.ts.map +1 -1
  65. package/package.json +12 -13
  66. package/dist/chunks/Call-CPHjSt8T.mjs +0 -865
  67. package/dist/chunks/Call-CPHjSt8T.mjs.map +0 -1
  68. package/dist/chunks/Call-DF1buv8M.cjs +0 -865
  69. package/dist/chunks/Call-DF1buv8M.cjs.map +0 -1
  70. package/dist/chunks/index-DI5ok4ow.mjs.map +0 -1
  71. package/dist/chunks/index-DwJwSnRN.cjs.map +0 -1
  72. package/dist/chunks/session-BxYnJEOe.mjs.map +0 -1
  73. package/dist/chunks/session-D2gbmnmM.cjs.map +0 -1
package/README.md CHANGED
@@ -227,6 +227,8 @@ Every component and directive the chat uses is imported by the component itself,
227
227
 
228
228
  Working with conversations the list page hasn't fetched (say, one opened from a link): add them with `chatStore.addContact(contact)` and change them with `chatStore.updateContact(id, changes)`. `chatStore.conversationStates` is a read-only view.
229
229
 
230
+ Each row shows `lastMessage` (its time, text or attachment kind, and for your own messages whether it was sent or seen). Without one, `lastActivity` gives the row its time and the list its order. `tag` is a short label beside the preview, for telling apart several conversations with the same person (the service each is about, say).
231
+
230
232
  ## Translations
231
233
 
232
234
  English (`en`) and Persian (`fa`) ship with the package and load automatically; the host only has to install vue-i18n and set `locale`. The layout switches to right-to-left when the locale starts with `fa` or `ar`.