vue-parley 5.2.0 → 5.3.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 (37) hide show
  1. package/README.md +2 -1
  2. package/dist/chunks/{Call-h9r4EZ5Y.cjs → Call-4KBqhFK6.cjs} +68 -13
  3. package/dist/chunks/Call-4KBqhFK6.cjs.map +1 -0
  4. package/dist/chunks/{Call-DvVJ7IsY.mjs → Call-CQpSxbDL.mjs} +68 -13
  5. package/dist/chunks/Call-CQpSxbDL.mjs.map +1 -0
  6. package/dist/chunks/{index-C5yf_PW0.mjs → index-B89wAtdh.mjs} +9 -6
  7. package/dist/chunks/index-B89wAtdh.mjs.map +1 -0
  8. package/dist/chunks/{index-BSzP10Mk.cjs → index-jw7O-NMe.cjs} +9 -6
  9. package/dist/chunks/index-jw7O-NMe.cjs.map +1 -0
  10. package/dist/chunks/{session-CKOlYafG.mjs → session-CAv8AIQt.mjs} +65 -17
  11. package/dist/chunks/session-CAv8AIQt.mjs.map +1 -0
  12. package/dist/chunks/{session-DhajXqvC.cjs → session-Ij2decwl.cjs} +65 -17
  13. package/dist/chunks/session-Ij2decwl.cjs.map +1 -0
  14. package/dist/index.cjs +1 -1
  15. package/dist/index.mjs +1 -1
  16. package/dist/types/app/components/call/Call.vue.d.ts.map +1 -1
  17. package/dist/types/app/components/call/CallTile.vue.d.ts +3 -0
  18. package/dist/types/app/components/call/CallTile.vue.d.ts.map +1 -1
  19. package/dist/types/app/composables/call/media.d.ts +3 -0
  20. package/dist/types/app/composables/call/media.d.ts.map +1 -1
  21. package/dist/types/app/composables/call/session.d.ts +31 -0
  22. package/dist/types/app/composables/call/session.d.ts.map +1 -1
  23. package/dist/types/app/composables/useCall.d.ts +3 -0
  24. package/dist/types/app/composables/useCall.d.ts.map +1 -1
  25. package/dist/types/app/plugin.d.ts +2 -0
  26. package/dist/types/app/plugin.d.ts.map +1 -1
  27. package/dist/types/app/stores/callStore.d.ts +190 -1
  28. package/dist/types/app/stores/callStore.d.ts.map +1 -1
  29. package/dist/types/i18n/locales/index.d.ts +4 -0
  30. package/dist/types/i18n/locales/index.d.ts.map +1 -1
  31. package/package.json +1 -1
  32. package/dist/chunks/Call-DvVJ7IsY.mjs.map +0 -1
  33. package/dist/chunks/Call-h9r4EZ5Y.cjs.map +0 -1
  34. package/dist/chunks/index-BSzP10Mk.cjs.map +0 -1
  35. package/dist/chunks/index-C5yf_PW0.mjs.map +0 -1
  36. package/dist/chunks/session-CKOlYafG.mjs.map +0 -1
  37. package/dist/chunks/session-DhajXqvC.cjs.map +0 -1
@@ -202,7 +202,7 @@ const general$2 = { "themes": { "light": "Light", "dark": "Dark" }, "all": "All"
202
202
  const generalEn = {
203
203
  general: general$2
204
204
  };
205
- const chat$2 = { "title": "Messages", "filters": { "active": "Active", "ended": "Ended", "online": "Online" }, "info": { "nationalCode": "National code", "phoneNumber": "Phone number", "age": "Age", "ageDisplay": "{year} years", "files": "Files", "media": "Images" }, "lastSeen": "Last seen {time}", "nationalId": "National code", "age": "Age", "ageText": "{years} years", "attachements": "Attachments", "options": { "end": "End", "voiceCall": "Call", "videoCall": "Video" }, "attachementTypes": { "image": "Photo", "file": "File", "voice": "Voice message", "video": "Video", "request": "Request" }, "messageOptions": { "edit": "Edit message", "delete": "Delete message", "copy": "Copy", "select": "Select", "reply": "Reply", "deselect": "Deselect" }, "barOptions": { "endChat": "End conversation", "deleteMessages": "Delete messages" }, "placeholder": "Write...", "chatLocked": "Conversation ended", "noConversationSelected": "No conversation selected yet", "noMessages": "No messages exchanged", "swipeToCancel": "Swipe to cancel", "cancel": "Cancel", "online": "Online", "file": { "calculating": "Calculating", "attachMedia": "Photo or video", "attachFile": "File", "sendImage": "Send image", "sendImages": "Send images", "sendFile": "Send file", "cancel": "Cancel" }, "permissions": { "permissionTitle": "Camera and microphone access", "description": "To join video calls or send voice messages, we need access to your camera and microphone.", "allow": "Allow access", "notNow": "Not now", "retry": "Try again", "mic": { "title": "Microphone access", "description": "We need microphone access to send voice messages and place video calls." }, "cam": { "title": "Camera access", "description": "We need camera access to send video messages and place video calls." }, "micError": { "title": "Your microphone is disabled", "description": "We need microphone permission to send voice messages or place calls." }, "camError": { "title": "Camera access error", "description": "We need camera permission to send video messages or place video calls." }, "screen": { "title": "Screen access", "description": "After tapping confirm, please select the screen or tab you want to share." }, "screenError": { "title": "Screen access error", "description": "Screen capture permission was denied. We need screen access permission to share your screen." } }, "you": "You", "copiedMessage": "Message copied to clipboard.", "editFailed": "Could not edit the message. Please try again.", "deleteFailed": "Could not delete the message. Please try again.", "unreadMessages": "Unread.", "caption": "Caption", "send": "Send", "delete": { "title": "Delete message", "singleMessage": "Are you sure you want to delete this message?", "multipleMessages": "Are you sure you want to delete {count} messages?", "confirm": "Delete", "requestTitle": "Cancel request", "request": "Are you sure you want to cancel this request?" }, "call": { "title": "Call", "you": "You", "active": "Call active", "participants": "{count} participant | {count} participants", "yourPresentation": "Your presentation", "presentationOf": "Presented by {name}", "cameraIsOff": "Camera is off", "cameraOff": "Camera off", "people": "People", "muted": "Microphone off", "micOn": "Microphone on", "cameraOn": "Camera on", "waiting": "Waiting for others to join…", "everyoneLeft": "Everyone else left", "joined": "{names} joined | {names} joined", "left": "{names} left | {names} left", "andJoin": "and", "connecting": "Connecting…", "reconnecting": "Reconnecting…", "cantConnect": "Can't connect to {name}", "deviceDoesntSupport": "Your device does not support this feature.", "errors": { "noMicDevice": "No microphone device detected", "noCameraDevice": "No camera device detected", "cameraDenied": "Camera access denied", "micDenied": "Microphone access denied", "noMicFound": "No microphone found", "micAccessError": "Error accessing microphone", "noCameraFound": "No camera found", "cameraAccessError": "Error accessing camera", "mediaInitError": "Error initializing media devices", "screenShareMobileUnsupported": "Screen sharing is not supported on mobile devices", "screenShareBrowserUnsupported": "Screen sharing is not supported in this browser", "screenShareDenied": "Screen sharing permission denied", "screenAccessError": "Unable to access screen", "screenShareMobileMaybeUnavailable": "Screen sharing may not be available on mobile devices", "screenShareStartFailed": "Failed to start screen sharing", "cameraUnavailable": "Camera not available", "flashlightToggleFailed": "Failed to toggle flashlight", "insecureContext": "Camera and microphone need a secure (https) connection. You can still see and hear the others.", "callServerUnavailable": "Could not get the call server credentials. Retrying…", "callServerUnreachable": "The call server is unreachable from this network, so the call may not connect.", "connectionFailed": "The connection was lost. Reconnecting…", "callFull": "This call is full (up to {max} people)" }, "controls": { "enableSound": "Tap to turn on sound", "endCall": "End call", "minimize": "Minimize", "maximize": "Return to call", "mute": "Mute", "unmute": "Unmute", "cameraOff": "Turn camera off", "cameraOn": "Turn camera on", "shareScreen": "Share screen", "stopSharing": "Stop sharing", "fullscreen": "Full screen", "exitFullscreen": "Exit full screen", "flashlight": "Flashlight", "cameras": "Available cameras", "chooseCamera": "Choose camera", "pauseVideo": "Pause video", "playVideo": "Play video", "nextParticipant": "Show next participant", "more": "More options", "flashlightOn": "Turn flashlight on", "flashlightOff": "Turn flashlight off", "pin": "Pin", "unpin": "Unpin", "retry": "Try again", "people": "Show everyone", "closePeople": "Close" } }, "board": { "title": "Board", "selectColor": "Select color", "page": "Page {page}", "addPage": "New page", "confirm": "Confirm", "savedSuccessfully": "Image saved successfully." } };
205
+ const chat$2 = { "title": "Messages", "filters": { "active": "Active", "ended": "Ended", "online": "Online" }, "info": { "nationalCode": "National code", "phoneNumber": "Phone number", "age": "Age", "ageDisplay": "{year} years", "files": "Files", "media": "Images" }, "lastSeen": "Last seen {time}", "nationalId": "National code", "age": "Age", "ageText": "{years} years", "attachements": "Attachments", "options": { "end": "End", "voiceCall": "Call", "videoCall": "Video" }, "attachementTypes": { "image": "Photo", "file": "File", "voice": "Voice message", "video": "Video", "request": "Request" }, "messageOptions": { "edit": "Edit message", "delete": "Delete message", "copy": "Copy", "select": "Select", "reply": "Reply", "deselect": "Deselect" }, "barOptions": { "endChat": "End conversation", "deleteMessages": "Delete messages" }, "placeholder": "Write...", "chatLocked": "Conversation ended", "noConversationSelected": "No conversation selected yet", "noMessages": "No messages exchanged", "swipeToCancel": "Swipe to cancel", "cancel": "Cancel", "online": "Online", "file": { "calculating": "Calculating", "attachMedia": "Photo or video", "attachFile": "File", "sendImage": "Send image", "sendImages": "Send images", "sendFile": "Send file", "cancel": "Cancel" }, "permissions": { "permissionTitle": "Camera and microphone access", "description": "To join video calls or send voice messages, we need access to your camera and microphone.", "allow": "Allow access", "notNow": "Not now", "retry": "Try again", "mic": { "title": "Microphone access", "description": "We need microphone access to send voice messages and place video calls." }, "cam": { "title": "Camera access", "description": "We need camera access to send video messages and place video calls." }, "micError": { "title": "Your microphone is disabled", "description": "We need microphone permission to send voice messages or place calls." }, "camError": { "title": "Camera access error", "description": "We need camera permission to send video messages or place video calls." }, "screen": { "title": "Screen access", "description": "After tapping confirm, please select the screen or tab you want to share." }, "screenError": { "title": "Screen access error", "description": "Screen capture permission was denied. We need screen access permission to share your screen." } }, "you": "You", "copiedMessage": "Message copied to clipboard.", "editFailed": "Could not edit the message. Please try again.", "deleteFailed": "Could not delete the message. Please try again.", "unreadMessages": "Unread.", "caption": "Caption", "send": "Send", "delete": { "title": "Delete message", "singleMessage": "Are you sure you want to delete this message?", "multipleMessages": "Are you sure you want to delete {count} messages?", "confirm": "Delete", "requestTitle": "Cancel request", "request": "Are you sure you want to cancel this request?" }, "call": { "title": "Call", "you": "You", "active": "Call active", "participants": "{count} participant | {count} participants", "yourPresentation": "Your presentation", "presentationOf": "Presented by {name}", "cameraIsOff": "Camera is off", "cameraOff": "Camera off", "people": "People", "muted": "Microphone off", "micOn": "Microphone on", "cameraOn": "Camera on", "waiting": "Waiting for others to join…", "everyoneLeft": "Everyone else left", "joined": "{names} joined | {names} joined", "left": "{names} left | {names} left", "andJoin": "and", "connecting": "Connecting…", "reconnecting": "Reconnecting…", "cantConnect": "Can't connect to {name}", "deviceDoesntSupport": "Your device does not support this feature.", "errors": { "noMicDevice": "No microphone device detected", "noCameraDevice": "No camera device detected", "cameraDenied": "Camera access denied", "micDenied": "Microphone access denied", "noMicFound": "No microphone found", "micAccessError": "Error accessing microphone", "noCameraFound": "No camera found", "cameraAccessError": "Error accessing camera", "mediaInitError": "Error initializing media devices", "screenShareMobileUnsupported": "Screen sharing is not supported on mobile devices", "screenShareBrowserUnsupported": "Screen sharing is not supported in this browser", "screenShareDenied": "Screen sharing permission denied", "screenAccessError": "Unable to access screen", "screenShareMobileMaybeUnavailable": "Screen sharing may not be available on mobile devices", "screenShareStartFailed": "Failed to start screen sharing", "cameraUnavailable": "Camera not available", "flashlightToggleFailed": "Failed to toggle flashlight", "insecureContext": "Camera and microphone need a secure (https) connection. You can still see and hear the others.", "callServerUnavailable": "Could not get the call server credentials. Retrying…", "callServerUnreachable": "The call server is unreachable from this network, so the call may not connect.", "connectionFailed": "The connection was lost. Reconnecting…", "callFull": "This call is full (up to {max} people)" }, "controls": { "enableSound": "Tap to turn on sound", "endCall": "End call", "minimize": "Minimize", "maximize": "Return to call", "mute": "Mute", "unmute": "Unmute", "cameraOff": "Turn camera off", "cameraOn": "Turn camera on", "shareScreen": "Share screen", "stopSharing": "Stop sharing", "fullscreen": "Full screen", "exitFullscreen": "Exit full screen", "flashlight": "Flashlight", "cameras": "Available cameras", "chooseCamera": "Choose camera", "frontCamera": "Switch to front camera", "backCamera": "Switch to back camera", "pauseVideo": "Pause video", "playVideo": "Play video", "nextParticipant": "Show next participant", "more": "More options", "flashlightOn": "Turn flashlight on", "flashlightOff": "Turn flashlight off", "pin": "Pin", "unpin": "Unpin", "retry": "Try again", "people": "Show everyone", "closePeople": "Close" } }, "board": { "title": "Board", "selectColor": "Select color", "page": "Page {page}", "addPage": "New page", "confirm": "Confirm", "savedSuccessfully": "Image saved successfully." } };
206
206
  const chatEn = {
207
207
  chat: chat$2
208
208
  };
@@ -210,7 +210,7 @@ const general$1 = { "themes": { "light": "روشن", "dark": "تاریک" }, "al
210
210
  const generalFa = {
211
211
  general: general$1
212
212
  };
213
- const chat$1 = { "title": "پیام ها", "filters": { "active": "فعال", "ended": "خاتمه یافته", "online": "آنلاین ها" }, "info": { "nationalCode": "کد ملی", "phoneNumber": "شماره تماس", "age": "سن", "ageDisplay": "{year} سال", "files": "فایل ها", "media": "تصاویر" }, "lastSeen": "آخرین بازدید {time}", "nationalId": "کد ملی", "age": "سن", "ageText": "{years} سال", "attachements": "پیوست ها", "options": { "end": "خاتمه", "voiceCall": "تماس", "videoCall": "تصویری" }, "attachementTypes": { "image": "عکس", "file": "فایل", "voice": "پیام صوتی", "video": "ویدیو", "request": "درخواست" }, "messageOptions": { "edit": "ویرایش پیام", "delete": "حذف پیام", "copy": "کپی", "select": "انتخاب", "reply": "پاسخ", "deselect": "لغو انتخاب" }, "barOptions": { "endChat": "خاتمه مکالمه", "deleteMessages": "حذف پیام ها" }, "placeholder": "بنویسید ...", "chatLocked": "گفتگو تمام شده", "noConversationSelected": "هنوز مکالمه ای انتخاب نشده", "noMessages": "هیچ پیامی تبادل نشده", "swipeToCancel": "برای لغو بکشید", "cancel": "لغو", "online": "آنلاین", "file": { "calculating": "در حال محاسبه", "attachMedia": "عکس یا ویدیو", "attachFile": "فایل", "sendImage": "ارسال تصویر", "sendImages": "ارسال تصاویر", "sendFile": "ارسال فایل", "cancel": "انصراف" }, "permissions": { "permissionTitle": "دسترسی دوربین و میکروفون", "description": " برای اینکه بتونی توی تماس‌های تصویری شرکت کنی یا پیام صوتی بفرستی، نیاز داریم به دوربین و میکروفونت دسترسی داشته باشیم.", "allow": "تایید دسترسی", "notNow": "الان نه", "retry": "تلاش مجدد", "mic": { "title": "دسترسی میکروفون", "description": "برای ارسال پیام صوتی و برقراری تماس تصویری به دسترسی میکروفون شما نیاز داریم." }, "cam": { "title": "دسترسی دوربین", "description": "برای ارسال پیام ویدیویی و برقراری تماس تصویری به دسترسی دوربین شما نیاز داریم." }, "micError": { "title": "میکروفون شما غیرفعال است", "description": "برای ارسال پیام صوتی یا تماس، نیاز به تایید دسترسی میکروفون داریم." }, "camError": { "title": "خطای دسترسی به دوربین", "description": "برای ارسال پیام و تماس ویدیویی نیاز به تایید دسترسی دوربین داریم." }, "screen": { "title": "دسترسی به صفحه", "description": "بعد از زدن دکمه تایید لطفا صفحه یا زبانه انتخابی خویش را برای به اشتراک گذاری انتخاب نمایید." }, "screenError": { "title": "خطا در دسترسی به صفحه", "description": "دسترسی به تصویر صفحه با خطا مواجه شد. برای اشتراک گذاری تصویر صفحه شما نیازمند تایید دسترسی به صفحه هستیم." } }, "you": "شما", "copiedMessage": "پیام با موفقیت به کلیپ بورد الصاق شد.", "editFailed": "ویرایش پیام انجام نشد. دوباره تلاش کنید.", "deleteFailed": "حذف پیام انجام نشد. دوباره تلاش کنید.", "unreadMessages": "خوانده نشده.", "caption": "کپشن", "send": "ارسال", "delete": { "title": "حذف پیام", "singleMessage": "آیا از حذف پیام اطمینان دارید ؟", "multipleMessages": "آیا از حذف {count} پیام اطمینان دارید؟", "confirm": "حذف", "requestTitle": "لغو درخواست", "request": "آیا از لغو درخواست خود اطمینان دارید ؟" }, "call": { "title": "تماس", "you": "شما", "active": "تماس برقرار است", "participants": "{count} شرکت‌کننده", "yourPresentation": "ارائه شما", "presentationOf": "ارائه {name}", "cameraIsOff": "دوربین خاموش است", "cameraOff": "دوربین خاموش", "people": "افراد", "muted": "میکروفون خاموش", "micOn": "میکروفون روشن", "cameraOn": "دوربین روشن", "waiting": "در انتظار پیوستن دیگران…", "everyoneLeft": "بقیه از تماس خارج شدند", "joined": "{names} به تماس پیوست | {names} به تماس پیوستند", "left": "{names} از تماس خارج شد | {names} از تماس خارج شدند", "andJoin": "و", "connecting": "در حال اتصال…", "reconnecting": "در حال اتصال دوباره…", "cantConnect": "اتصال به {name} برقرار نشد", "deviceDoesntSupport": "دستگاه شما از این قابلیت پشتیبانی نمیکند.", "errors": { "noMicDevice": "میکروفونی شناسایی نشد", "noCameraDevice": "دوربینی شناسایی نشد", "cameraDenied": "دسترسی به دوربین رد شد", "micDenied": "دسترسی به میکروفون رد شد", "noMicFound": "میکروفونی یافت نشد", "micAccessError": "خطا در دسترسی به میکروفون", "noCameraFound": "دوربینی یافت نشد", "cameraAccessError": "خطا در دسترسی به دوربین", "mediaInitError": "خطا در راه‌اندازی دستگاه‌های رسانه‌ای", "screenShareMobileUnsupported": "اشتراک‌گذاری صفحه در دستگاه‌های موبایل پشتیبانی نمی‌شود", "screenShareBrowserUnsupported": "اشتراک‌گذاری صفحه در این مرورگر پشتیبانی نمی‌شود", "screenShareDenied": "دسترسی به اشتراک‌گذاری صفحه رد شد", "screenAccessError": "امکان دسترسی به صفحه وجود ندارد", "screenShareMobileMaybeUnavailable": "ممکن است اشتراک‌گذاری صفحه در دستگاه‌های موبایل در دسترس نباشد", "screenShareStartFailed": "راه‌اندازی اشتراک‌گذاری صفحه ناموفق بود", "cameraUnavailable": "دوربین در دسترس نیست", "flashlightToggleFailed": "تغییر حالت چراغ قوه ناموفق بود", "insecureContext": "دوربین و میکروفون فقط روی اتصال امن (https) کار می‌کنند. همچنان می‌توانید دیگران را ببینید و بشنوید.", "callServerUnavailable": "دریافت اطلاعات سرور تماس ممکن نشد. در حال تلاش دوباره…", "callServerUnreachable": "سرور تماس از این شبکه در دسترس نیست و ممکن است تماس برقرار نشود.", "connectionFailed": "اتصال قطع شد. در حال اتصال دوباره…", "callFull": "این تماس پر است (حداکثر {max} نفر)" }, "controls": { "enableSound": "برای روشن کردن صدا ضربه بزنید", "endCall": "پایان تماس", "minimize": "کوچک کردن", "maximize": "بازگشت به تماس", "mute": "قطع میکروفون", "unmute": "وصل میکروفون", "cameraOff": "خاموش کردن دوربین", "cameraOn": "روشن کردن دوربین", "shareScreen": "اشتراک‌گذاری صفحه", "stopSharing": "توقف اشتراک‌گذاری", "fullscreen": "تمام صفحه", "exitFullscreen": "خروج از تمام صفحه", "flashlight": "چراغ‌قوه", "cameras": "دوربین‌های موجود", "chooseCamera": "انتخاب دوربین", "pauseVideo": "توقف ویدیو", "playVideo": "پخش ویدیو", "nextParticipant": "نمایش شرکت‌کننده بعدی", "more": "گزینه‌های بیشتر", "flashlightOn": "روشن کردن چراغ‌قوه", "flashlightOff": "خاموش کردن چراغ‌قوه", "pin": "سنجاق کردن", "unpin": "برداشتن سنجاق", "retry": "تلاش دوباره", "people": "نمایش افراد", "closePeople": "بستن" } }, "board": { "title": "تخته", "selectColor": "انتخاب رنگ", "page": "صفحه {page}", "addPage": "صفحه جدید", "confirm": "تایید", "savedSuccessfully": "تصویر با موفقیت ذخیره سازی شد." } };
213
+ const chat$1 = { "title": "پیام ها", "filters": { "active": "فعال", "ended": "خاتمه یافته", "online": "آنلاین ها" }, "info": { "nationalCode": "کد ملی", "phoneNumber": "شماره تماس", "age": "سن", "ageDisplay": "{year} سال", "files": "فایل ها", "media": "تصاویر" }, "lastSeen": "آخرین بازدید {time}", "nationalId": "کد ملی", "age": "سن", "ageText": "{years} سال", "attachements": "پیوست ها", "options": { "end": "خاتمه", "voiceCall": "تماس", "videoCall": "تصویری" }, "attachementTypes": { "image": "عکس", "file": "فایل", "voice": "پیام صوتی", "video": "ویدیو", "request": "درخواست" }, "messageOptions": { "edit": "ویرایش پیام", "delete": "حذف پیام", "copy": "کپی", "select": "انتخاب", "reply": "پاسخ", "deselect": "لغو انتخاب" }, "barOptions": { "endChat": "خاتمه مکالمه", "deleteMessages": "حذف پیام ها" }, "placeholder": "بنویسید ...", "chatLocked": "گفتگو تمام شده", "noConversationSelected": "هنوز مکالمه ای انتخاب نشده", "noMessages": "هیچ پیامی تبادل نشده", "swipeToCancel": "برای لغو بکشید", "cancel": "لغو", "online": "آنلاین", "file": { "calculating": "در حال محاسبه", "attachMedia": "عکس یا ویدیو", "attachFile": "فایل", "sendImage": "ارسال تصویر", "sendImages": "ارسال تصاویر", "sendFile": "ارسال فایل", "cancel": "انصراف" }, "permissions": { "permissionTitle": "دسترسی دوربین و میکروفون", "description": " برای اینکه بتونی توی تماس‌های تصویری شرکت کنی یا پیام صوتی بفرستی، نیاز داریم به دوربین و میکروفونت دسترسی داشته باشیم.", "allow": "تایید دسترسی", "notNow": "الان نه", "retry": "تلاش مجدد", "mic": { "title": "دسترسی میکروفون", "description": "برای ارسال پیام صوتی و برقراری تماس تصویری به دسترسی میکروفون شما نیاز داریم." }, "cam": { "title": "دسترسی دوربین", "description": "برای ارسال پیام ویدیویی و برقراری تماس تصویری به دسترسی دوربین شما نیاز داریم." }, "micError": { "title": "میکروفون شما غیرفعال است", "description": "برای ارسال پیام صوتی یا تماس، نیاز به تایید دسترسی میکروفون داریم." }, "camError": { "title": "خطای دسترسی به دوربین", "description": "برای ارسال پیام و تماس ویدیویی نیاز به تایید دسترسی دوربین داریم." }, "screen": { "title": "دسترسی به صفحه", "description": "بعد از زدن دکمه تایید لطفا صفحه یا زبانه انتخابی خویش را برای به اشتراک گذاری انتخاب نمایید." }, "screenError": { "title": "خطا در دسترسی به صفحه", "description": "دسترسی به تصویر صفحه با خطا مواجه شد. برای اشتراک گذاری تصویر صفحه شما نیازمند تایید دسترسی به صفحه هستیم." } }, "you": "شما", "copiedMessage": "پیام با موفقیت به کلیپ بورد الصاق شد.", "editFailed": "ویرایش پیام انجام نشد. دوباره تلاش کنید.", "deleteFailed": "حذف پیام انجام نشد. دوباره تلاش کنید.", "unreadMessages": "خوانده نشده.", "caption": "کپشن", "send": "ارسال", "delete": { "title": "حذف پیام", "singleMessage": "آیا از حذف پیام اطمینان دارید ؟", "multipleMessages": "آیا از حذف {count} پیام اطمینان دارید؟", "confirm": "حذف", "requestTitle": "لغو درخواست", "request": "آیا از لغو درخواست خود اطمینان دارید ؟" }, "call": { "title": "تماس", "you": "شما", "active": "تماس برقرار است", "participants": "{count} شرکت‌کننده", "yourPresentation": "ارائه شما", "presentationOf": "ارائه {name}", "cameraIsOff": "دوربین خاموش است", "cameraOff": "دوربین خاموش", "people": "افراد", "muted": "میکروفون خاموش", "micOn": "میکروفون روشن", "cameraOn": "دوربین روشن", "waiting": "در انتظار پیوستن دیگران…", "everyoneLeft": "بقیه از تماس خارج شدند", "joined": "{names} به تماس پیوست | {names} به تماس پیوستند", "left": "{names} از تماس خارج شد | {names} از تماس خارج شدند", "andJoin": "و", "connecting": "در حال اتصال…", "reconnecting": "در حال اتصال دوباره…", "cantConnect": "اتصال به {name} برقرار نشد", "deviceDoesntSupport": "دستگاه شما از این قابلیت پشتیبانی نمیکند.", "errors": { "noMicDevice": "میکروفونی شناسایی نشد", "noCameraDevice": "دوربینی شناسایی نشد", "cameraDenied": "دسترسی به دوربین رد شد", "micDenied": "دسترسی به میکروفون رد شد", "noMicFound": "میکروفونی یافت نشد", "micAccessError": "خطا در دسترسی به میکروفون", "noCameraFound": "دوربینی یافت نشد", "cameraAccessError": "خطا در دسترسی به دوربین", "mediaInitError": "خطا در راه‌اندازی دستگاه‌های رسانه‌ای", "screenShareMobileUnsupported": "اشتراک‌گذاری صفحه در دستگاه‌های موبایل پشتیبانی نمی‌شود", "screenShareBrowserUnsupported": "اشتراک‌گذاری صفحه در این مرورگر پشتیبانی نمی‌شود", "screenShareDenied": "دسترسی به اشتراک‌گذاری صفحه رد شد", "screenAccessError": "امکان دسترسی به صفحه وجود ندارد", "screenShareMobileMaybeUnavailable": "ممکن است اشتراک‌گذاری صفحه در دستگاه‌های موبایل در دسترس نباشد", "screenShareStartFailed": "راه‌اندازی اشتراک‌گذاری صفحه ناموفق بود", "cameraUnavailable": "دوربین در دسترس نیست", "flashlightToggleFailed": "تغییر حالت چراغ قوه ناموفق بود", "insecureContext": "دوربین و میکروفون فقط روی اتصال امن (https) کار می‌کنند. همچنان می‌توانید دیگران را ببینید و بشنوید.", "callServerUnavailable": "دریافت اطلاعات سرور تماس ممکن نشد. در حال تلاش دوباره…", "callServerUnreachable": "سرور تماس از این شبکه در دسترس نیست و ممکن است تماس برقرار نشود.", "connectionFailed": "اتصال قطع شد. در حال اتصال دوباره…", "callFull": "این تماس پر است (حداکثر {max} نفر)" }, "controls": { "enableSound": "برای روشن کردن صدا ضربه بزنید", "endCall": "پایان تماس", "minimize": "کوچک کردن", "maximize": "بازگشت به تماس", "mute": "قطع میکروفون", "unmute": "وصل میکروفون", "cameraOff": "خاموش کردن دوربین", "cameraOn": "روشن کردن دوربین", "shareScreen": "اشتراک‌گذاری صفحه", "stopSharing": "توقف اشتراک‌گذاری", "fullscreen": "تمام صفحه", "exitFullscreen": "خروج از تمام صفحه", "flashlight": "چراغ‌قوه", "cameras": "دوربین‌های موجود", "chooseCamera": "انتخاب دوربین", "frontCamera": "تغییر به دوربین جلو", "backCamera": "تغییر به دوربین پشت", "pauseVideo": "توقف ویدیو", "playVideo": "پخش ویدیو", "nextParticipant": "نمایش شرکت‌کننده بعدی", "more": "گزینه‌های بیشتر", "flashlightOn": "روشن کردن چراغ‌قوه", "flashlightOff": "خاموش کردن چراغ‌قوه", "pin": "سنجاق کردن", "unpin": "برداشتن سنجاق", "retry": "تلاش دوباره", "people": "نمایش افراد", "closePeople": "بستن" } }, "board": { "title": "تخته", "selectColor": "انتخاب رنگ", "page": "صفحه {page}", "addPage": "صفحه جدید", "confirm": "تایید", "savedSuccessfully": "تصویر با موفقیت ذخیره سازی شد." } };
214
214
  const chatFa = {
215
215
  chat: chat$1
216
216
  };
@@ -691,6 +691,7 @@ const useCallStore = defineStore("call-modal", () => {
691
691
  const startTime = ref(null);
692
692
  const isMinimized = ref(false);
693
693
  const isActive = ref(false);
694
+ const canShareScreen = ref(false);
694
695
  const elapsedTime = ref(0);
695
696
  const stopTimer = () => {
696
697
  if (timerInterval.value) clearInterval(timerInterval.value);
@@ -727,7 +728,7 @@ const useCallStore = defineStore("call-modal", () => {
727
728
  channelId.value = id;
728
729
  isActive.value = true;
729
730
  isMinimized.value = false;
730
- void import("./session-CKOlYafG.mjs").then(({ createCallSession }) => {
731
+ void import("./session-CAv8AIQt.mjs").then(({ createCallSession }) => {
731
732
  if (current !== attempt) return;
732
733
  const call = createCallSession({
733
734
  handlers: callHandlers,
@@ -823,6 +824,7 @@ const useCallStore = defineStore("call-modal", () => {
823
824
  session,
824
825
  isActive,
825
826
  isMinimized,
827
+ canShareScreen,
826
828
  elapsedTime,
827
829
  channelId,
828
830
  setHandlers,
@@ -9334,7 +9336,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
9334
9336
  headerOptions: { default: () => [] }
9335
9337
  },
9336
9338
  setup(__props) {
9337
- const Call2 = defineAsyncComponent(() => import("./Call-DvVJ7IsY.mjs"));
9339
+ const Call2 = defineAsyncComponent(() => import("./Call-CQpSxbDL.mjs"));
9338
9340
  const props = __props;
9339
9341
  const slots = useSlots();
9340
9342
  const chatStore = useChatStore();
@@ -9433,6 +9435,7 @@ function createChat(options2) {
9433
9435
  break;
9434
9436
  case useCallStore.$id:
9435
9437
  if (options2.call) store.setHandlers(options2.call);
9438
+ store.canShareScreen = options2.screenShare ?? false;
9436
9439
  break;
9437
9440
  case useProfileStore.$id:
9438
9441
  if (options2.profile) store.setHandlers(options2.profile);
@@ -9447,7 +9450,7 @@ function createChat(options2) {
9447
9450
  }
9448
9451
  };
9449
9452
  }
9450
- const Call = defineAsyncComponent(() => import("./Call-DvVJ7IsY.mjs"));
9453
+ const Call = defineAsyncComponent(() => import("./Call-CQpSxbDL.mjs"));
9451
9454
  async function resetChat() {
9452
9455
  useCallStore().reset();
9453
9456
  useMessagesStore().reset();
@@ -9486,4 +9489,4 @@ export {
9486
9489
  useMediaStore as y,
9487
9490
  useMessagesStore as z
9488
9491
  };
9489
- //# sourceMappingURL=index-C5yf_PW0.mjs.map
9492
+ //# sourceMappingURL=index-B89wAtdh.mjs.map