@univerjs-pro/collaboration-client 0.5.1 → 0.5.2

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 (78) hide show
  1. package/lib/cjs/facade.js +1 -0
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ru-RU.js +1 -1
  7. package/lib/cjs/locale/vi-VN.js +1 -1
  8. package/lib/cjs/locale/zh-CN.js +1 -1
  9. package/lib/cjs/locale/zh-TW.js +1 -1
  10. package/lib/es/facade.js +1 -0
  11. package/lib/es/index.js +1 -1
  12. package/lib/es/locale/en-US.js +1 -1
  13. package/lib/es/locale/fa-IR.js +1 -1
  14. package/lib/es/locale/fr-FR.js +1 -1
  15. package/lib/es/locale/ru-RU.js +1 -1
  16. package/lib/es/locale/vi-VN.js +1 -1
  17. package/lib/es/locale/zh-CN.js +1 -1
  18. package/lib/es/locale/zh-TW.js +1 -1
  19. package/lib/types/config/config.d.ts +7 -2
  20. package/lib/types/controllers/collaboration/collaboration-entity.d.ts +20 -18
  21. package/lib/types/controllers/collaboration/collaboration-state.d.ts +18 -15
  22. package/lib/types/controllers/collaboration/collaboration.controller.d.ts +2 -0
  23. package/lib/types/facade/f-collaboration.d.ts +33 -0
  24. package/lib/types/facade/f-univer.d.ts +12 -0
  25. package/lib/types/facade/index.d.ts +2 -0
  26. package/lib/types/index.d.ts +12 -12
  27. package/lib/types/plugin.d.ts +1 -6
  28. package/lib/types/services/collaboration-session/collaboration-session.d.ts +4 -5
  29. package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +7 -8
  30. package/lib/types/services/collaboration-ui-event/collaboration-ui-event.d.ts +19 -0
  31. package/lib/types/services/data-loader/data-loader.service.d.ts +23 -0
  32. package/lib/types/services/image-remote/image-io.service.d.ts +1 -1
  33. package/lib/types/services/local-cache/local-cache.service.d.ts +7 -23
  34. package/lib/types/services/member/member.service.d.ts +6 -0
  35. package/lib/types/services/network-condition/network-condition.service.d.ts +6 -0
  36. package/lib/types/services/permission/permission.service.d.ts +8 -3
  37. package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +0 -24
  38. package/lib/types/services/socket/collaboration-socket.service.d.ts +4 -4
  39. package/lib/umd/facade.js +1 -0
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/en-US.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ru-RU.js +1 -1
  45. package/lib/umd/locale/vi-VN.js +1 -1
  46. package/lib/umd/locale/zh-CN.js +1 -1
  47. package/lib/umd/locale/zh-TW.js +1 -1
  48. package/package.json +23 -21
  49. package/lib/index.css +0 -1
  50. package/lib/types/controllers/clipboard/docs/image/image-paste.controller.d.ts +0 -9
  51. package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +0 -23
  52. package/lib/types/controllers/collab-cursor/__tests__/serialize-text-ranges.spec.d.ts +0 -1
  53. package/lib/types/controllers/collab-cursor/__tests__/sheet-collab-cursor.controller.spec.d.ts +0 -1
  54. package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +0 -22
  55. package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +0 -38
  56. package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +0 -24
  57. package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +0 -3
  58. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +0 -39
  59. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +0 -21
  60. package/lib/types/controllers/collab-status/collab-status.controller.d.ts +0 -18
  61. package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +0 -4
  62. package/lib/types/controllers/collaboration/__tests__/mock-text-selection-render-manager.service.d.ts +0 -0
  63. package/lib/types/controllers/collaboration/__tests__/mocks.d.ts +0 -58
  64. package/lib/types/controllers/data-loader/__tests__/data-loader.controller.spec.d.ts +0 -1
  65. package/lib/types/controllers/data-loader/data-loader.controller.d.ts +0 -22
  66. package/lib/types/models/cursor.d.ts +0 -30
  67. package/lib/types/services/color-assign/color-assign.service.d.ts +0 -10
  68. package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +0 -13
  69. package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +0 -12
  70. package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +0 -13
  71. package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +0 -8
  72. package/lib/types/services/url/url.service.d.ts +0 -12
  73. package/lib/types/services/url/web-url.service.d.ts +0 -10
  74. package/lib/types/views/components/CollabStatus.d.ts +0 -10
  75. package/lib/types/views/components/CollabStatus.stories.d.ts +0 -8
  76. package/lib/types/views/shapes/doc-collab-cursor.d.ts +0 -27
  77. package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +0 -27
  78. package/lib/types/views/shapes/text-bubble.shape.d.ts +0 -19
@@ -1 +1 @@
1
- const _0x38a6d8=_0x45ee;function _0x45ee(_0x32959a,_0x134855){const _0x11a547=_0x11a5();return _0x45ee=function(_0x45ee7d,_0x58ccf7){_0x45ee7d=_0x45ee7d-0x1ba;let _0x3d650f=_0x11a547[_0x45ee7d];return _0x3d650f;},_0x45ee(_0x32959a,_0x134855);}(function(_0x8c3478,_0x3d0c37){const _0x29e743=_0x45ee,_0x507904=_0x8c3478();while(!![]){try{const _0x2511ac=parseInt(_0x29e743(0x1c1))/0x1*(parseInt(_0x29e743(0x1c3))/0x2)+-parseInt(_0x29e743(0x1ba))/0x3+-parseInt(_0x29e743(0x1c7))/0x4*(parseInt(_0x29e743(0x1ca))/0x5)+parseInt(_0x29e743(0x1c6))/0x6*(parseInt(_0x29e743(0x1c9))/0x7)+parseInt(_0x29e743(0x1c5))/0x8+-parseInt(_0x29e743(0x1cf))/0x9+-parseInt(_0x29e743(0x1c4))/0xa;if(_0x2511ac===_0x3d0c37)break;else _0x507904['push'](_0x507904['shift']());}catch(_0x4c1cf6){_0x507904['push'](_0x507904['shift']());}}}(_0x11a5,0xc8b83));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x38a6d8(0x1d1),'syncing':_0x38a6d8(0x1c2),'offline':_0x38a6d8(0x1bb)},'session':{'connection-failed':_0x38a6d8(0x1cb),'will-retry':_0x38a6d8(0x1d0),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x38a6d8(0x1be),'room-not-exists':_0x38a6d8(0x1bf),'room-permission-denied':_0x38a6d8(0x1c8),'room-cnt-exceeds':_0x38a6d8(0x1cc),'collaboration-timeout':_0x38a6d8(0x1bd)},'conflict':{'title':_0x38a6d8(0x1ce),'content':_0x38a6d8(0x1c0)},'permission':{'title':_0x38a6d8(0x1bc),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x38a6d8(0x1d2)},'closeRoom':_0x38a6d8(0x1cd)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};function _0x11a5(){const _0x27fea7=['841834PkumyZ','2056370ZUljsc','11772224AxLGzv','18TnDSOB','4kXiOVJ','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','3338391BDtvCm','3031915uCUrOa','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Collaboration\x20Conflict','4485105EdaDWL','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Synced','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','4834767RwixPR','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Authentication\x20Error','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','2qJiWky','Syncing...'];_0x11a5=function(){return _0x27fea7;};return _0x11a5();}
1
+ const _0x39f56d=_0x223e;(function(_0xdb24c4,_0x5e1453){const _0x1b6441=_0x223e,_0x159635=_0xdb24c4();while(!![]){try{const _0x362924=-parseInt(_0x1b6441(0x169))/0x1+parseInt(_0x1b6441(0x163))/0x2*(-parseInt(_0x1b6441(0x166))/0x3)+parseInt(_0x1b6441(0x15e))/0x4*(parseInt(_0x1b6441(0x16d))/0x5)+-parseInt(_0x1b6441(0x158))/0x6+parseInt(_0x1b6441(0x15f))/0x7*(parseInt(_0x1b6441(0x155))/0x8)+parseInt(_0x1b6441(0x167))/0x9+-parseInt(_0x1b6441(0x16c))/0xa*(-parseInt(_0x1b6441(0x160))/0xb);if(_0x362924===_0x5e1453)break;else _0x159635['push'](_0x159635['shift']());}catch(_0xd2bcb2){_0x159635['push'](_0x159635['shift']());}}}(_0x1869,0x51866));const e={'collab-client':{'tooltip':{'reconnect':_0x39f56d(0x164)}},'collabStatus':{'fetchMiss':_0x39f56d(0x16b),'conflict':_0x39f56d(0x154),'notCollab':_0x39f56d(0x161),'synced':'Synced','syncing':_0x39f56d(0x168),'offline':_0x39f56d(0x16e)},'session':{'connection-failed':_0x39f56d(0x156),'will-retry':_0x39f56d(0x162),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x39f56d(0x153),'room-not-exists':_0x39f56d(0x15b),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x39f56d(0x16a),'collaboration-timeout':_0x39f56d(0x15a)},'conflict':{'title':_0x39f56d(0x15d),'content':_0x39f56d(0x157)},'permission':{'title':_0x39f56d(0x15c),'content':_0x39f56d(0x165)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x39f56d(0x159)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x223e(_0x3a5f0a,_0x2ebbff){const _0x1869e7=_0x1869();return _0x223e=function(_0x223e4f,_0x3833bb){_0x223e4f=_0x223e4f-0x153;let _0x4096a1=_0x1869e7[_0x223e4f];return _0x4096a1;},_0x223e(_0x3a5f0a,_0x2ebbff);}export{e as default};function _0x1869(){const _0x1f6063=['Syncing\x20server\x20data...','207170nEXpRF','450815mKmppP','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Edit\x20conflicts','8408NnjYIN','Connection\x20failed.\x20Please\x20check\x20your\x20network.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','1998948FelZXj','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Authentication\x20Error','Collaboration\x20Conflict','4AfjQeE','2751EpDEsL','176QfYDZT','Local\x20file','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','1322678TvpZOG','Click\x20to\x20Reconnect','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','3umXFIg','4972896MuRMKE','Syncing...','58799dVcMsi','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x1869=function(){return _0x1f6063;};return _0x1869();}
@@ -1 +1 @@
1
- const _0x417c94=_0xa1af;(function(_0x4436fd,_0x4a8e67){const _0x2b4344=_0xa1af,_0x1e4819=_0x4436fd();while(!![]){try{const _0x2d3246=parseInt(_0x2b4344(0x158))/0x1*(parseInt(_0x2b4344(0x157))/0x2)+-parseInt(_0x2b4344(0x15f))/0x3*(-parseInt(_0x2b4344(0x15a))/0x4)+-parseInt(_0x2b4344(0x15d))/0x5*(-parseInt(_0x2b4344(0x159))/0x6)+parseInt(_0x2b4344(0x14c))/0x7*(parseInt(_0x2b4344(0x151))/0x8)+parseInt(_0x2b4344(0x14f))/0x9+-parseInt(_0x2b4344(0x14a))/0xa+-parseInt(_0x2b4344(0x153))/0xb;if(_0x2d3246===_0x4a8e67)break;else _0x1e4819['push'](_0x1e4819['shift']());}catch(_0x25435e){_0x1e4819['push'](_0x1e4819['shift']());}}}(_0x3d89,0x8c3bb));function _0x3d89(){const _0xb9d1a8=['1624498ZcEmBn','1drPmIm','14046WzjvLU','4YoFZWT','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی‌دهد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','615NpBzEC','تداخل\x20همکاری','1007517vozCbn','خطای\x20اعتبارسنجی','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','4052230DQtspz','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','7CnTwir','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','7588143dTghSi','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','1568592mDxAea','ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','16451754pibbbv','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','در\x20حال\x20همگام\x20سازی...','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'];_0x3d89=function(){return _0xb9d1a8;};return _0x3d89();}const o={'collab-client':{'tooltip':{'reconnect':_0x417c94(0x156)}},'collabStatus':{'fetchMiss':_0x417c94(0x161),'conflict':'تداخل\x20ویرایش','notCollab':'پرونده\x20محلی','synced':'همگام\x20سازی','syncing':_0x417c94(0x155),'offline':_0x417c94(0x14d)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x417c94(0x152),'join-failed':_0x417c94(0x15b),'room-not-exists':'پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-permission-denied':'دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-cnt-exceeds':_0x417c94(0x149),'collaboration-timeout':_0x417c94(0x15c)},'conflict':{'title':_0x417c94(0x15e),'content':_0x417c94(0x150)},'permission':{'title':_0x417c94(0x160),'content':_0x417c94(0x154)},'collaboration':{'single-unit':{'warning':_0x417c94(0x14e)},'closeRoom':_0x417c94(0x14b)},'auth':{'needGotoLoginAlert':_0x417c94(0x148)}};function _0xa1af(_0x41cce9,_0xfec1c8){const _0x3d89fb=_0x3d89();return _0xa1af=function(_0xa1af05,_0x41981c){_0xa1af05=_0xa1af05-0x148;let _0x2bd08b=_0x3d89fb[_0xa1af05];return _0x2bd08b;},_0xa1af(_0x41cce9,_0xfec1c8);}export{o as default};
1
+ const _0x52a350=_0xf4e1;function _0xf4e1(_0x3c0e2f,_0x587e65){const _0x5c216c=_0x5c21();return _0xf4e1=function(_0xf4e12b,_0x2538b4){_0xf4e12b=_0xf4e12b-0x146;let _0x3ca889=_0x5c216c[_0xf4e12b];return _0x3ca889;},_0xf4e1(_0x3c0e2f,_0x587e65);}(function(_0x531b09,_0x229be8){const _0x8c132=_0xf4e1,_0x3d118a=_0x531b09();while(!![]){try{const _0x274927=-parseInt(_0x8c132(0x155))/0x1+parseInt(_0x8c132(0x15c))/0x2*(-parseInt(_0x8c132(0x14a))/0x3)+parseInt(_0x8c132(0x151))/0x4+-parseInt(_0x8c132(0x152))/0x5*(-parseInt(_0x8c132(0x150))/0x6)+-parseInt(_0x8c132(0x147))/0x7+-parseInt(_0x8c132(0x159))/0x8+parseInt(_0x8c132(0x14f))/0x9*(parseInt(_0x8c132(0x158))/0xa);if(_0x274927===_0x229be8)break;else _0x3d118a['push'](_0x3d118a['shift']());}catch(_0x68c13e){_0x3d118a['push'](_0x3d118a['shift']());}}}(_0x5c21,0x75e91));function _0x5c21(){const _0x3f0565=['شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','1028811PznjuP','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','پرونده\x20محلی','9NrVZrL','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','همگام\x20سازی','تداخل\x20ویرایش','3430161meMppk','2082DUaoUe','1834480lZfTRL','3430jdsEDp','دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','737933BJWmuH','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','30bConwI','764808eTINoR','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','251054nwwADN','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی‌دهد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','در\x20حال\x20همگام\x20سازی...','ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','خطای\x20اعتبارسنجی'];_0x5c21=function(){return _0x3f0565;};return _0x5c21();}const o={'collab-client':{'tooltip':{'reconnect':_0x52a350(0x154)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x52a350(0x14e),'notCollab':_0x52a350(0x149),'synced':_0x52a350(0x14d),'syncing':_0x52a350(0x15e),'offline':_0x52a350(0x15b)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x52a350(0x156),'room-full':_0x52a350(0x15f),'join-failed':_0x52a350(0x157),'room-not-exists':_0x52a350(0x148),'room-permission-denied':_0x52a350(0x153),'room-cnt-exceeds':'تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','collaboration-timeout':_0x52a350(0x15d)},'conflict':{'title':'تداخل\x20همکاری','content':_0x52a350(0x14c)},'permission':{'title':_0x52a350(0x160),'content':_0x52a350(0x14b)},'collaboration':{'single-unit':{'warning':_0x52a350(0x146)},'closeRoom':_0x52a350(0x15a)},'auth':{'needGotoLoginAlert':'ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
@@ -1 +1 @@
1
- const _0x1f8b4b=_0x5238;function _0x103e(){const _0x171e7c=['2376995JAZOCA','10191391gdoIFG','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','152XtIYTy','34321932jLxNYD','18DjebIf','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','11476iZpctR','Edit\x20conflicts','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','2988820uqiDoF','Syncing...','13851520LqjYli','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','3MAPgxK','Syncing\x20server\x20data...','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Local\x20file','16wpOkKV','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','11oYlIJx','Authentication\x20Error','4473459OcTddH','Click\x20to\x20Reconnect','Collaboration\x20Conflict','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Synced'];_0x103e=function(){return _0x171e7c;};return _0x103e();}(function(_0x18dda7,_0x3b708d){const _0x27715f=_0x5238,_0x4560ab=_0x18dda7();while(!![]){try{const _0x2233e4=parseInt(_0x27715f(0xb9))/0x1*(-parseInt(_0x27715f(0xb5))/0x2)+-parseInt(_0x27715f(0xa4))/0x3*(parseInt(_0x27715f(0xbc))/0x4)+parseInt(_0x27715f(0xb2))/0x5*(-parseInt(_0x27715f(0xb7))/0x6)+-parseInt(_0x27715f(0xb3))/0x7+-parseInt(_0x27715f(0xa8))/0x8*(-parseInt(_0x27715f(0xad))/0x9)+parseInt(_0x27715f(0xbe))/0xa+parseInt(_0x27715f(0xab))/0xb*(parseInt(_0x27715f(0xb6))/0xc);if(_0x2233e4===_0x3b708d)break;else _0x4560ab['push'](_0x4560ab['shift']());}catch(_0x3dd3b4){_0x4560ab['push'](_0x4560ab['shift']());}}}(_0x103e,0xb4284));function _0x5238(_0x2c146e,_0x1b5daa){const _0x103e79=_0x103e();return _0x5238=function(_0x5238af,_0x1736bf){_0x5238af=_0x5238af-0xa4;let _0xbde2c9=_0x103e79[_0x5238af];return _0xbde2c9;},_0x5238(_0x2c146e,_0x1b5daa);}const e={'collab-client':{'tooltip':{'reconnect':_0x1f8b4b(0xae)}},'collabStatus':{'fetchMiss':_0x1f8b4b(0xa5),'conflict':_0x1f8b4b(0xba),'notCollab':_0x1f8b4b(0xa7),'synced':_0x1f8b4b(0xb1),'syncing':_0x1f8b4b(0xbd),'offline':_0x1f8b4b(0xb4)},'session':{'connection-failed':_0x1f8b4b(0xa6),'will-retry':_0x1f8b4b(0xb0),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x1f8b4b(0xc0),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x1f8b4b(0xa9)},'conflict':{'title':_0x1f8b4b(0xaf),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x1f8b4b(0xac),'content':_0x1f8b4b(0xaa)},'collaboration':{'single-unit':{'warning':_0x1f8b4b(0xbf)},'closeRoom':_0x1f8b4b(0xbb)},'auth':{'needGotoLoginAlert':_0x1f8b4b(0xb8)}},o=e;export{o as default};
1
+ function _0x2971(){const _0x125571=['1TXhSLg','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Local\x20file','11538890rjWHsJ','7388496NuUycC','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Authentication\x20Error','945588ayQLYz','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1261434yGNmva','Syncing\x20server\x20data...','21abaGjZ','1950766xiLfhF','2223425ZukMHx','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Collaboration\x20Conflict','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Syncing...','19720ysckXy','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Click\x20to\x20Reconnect','12NHNvRW','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','7029yUvfps','Edit\x20conflicts'];_0x2971=function(){return _0x125571;};return _0x2971();}const _0x528f7=_0x524f;(function(_0x35c755,_0x7843af){const _0x5954c2=_0x524f,_0x3584ca=_0x35c755();while(!![]){try{const _0x50e8dc=-parseInt(_0x5954c2(0x16a))/0x1*(parseInt(_0x5954c2(0x176))/0x2)+parseInt(_0x5954c2(0x171))/0x3+parseInt(_0x5954c2(0x166))/0x4*(parseInt(_0x5954c2(0x177))/0x5)+-parseInt(_0x5954c2(0x173))/0x6*(-parseInt(_0x5954c2(0x175))/0x7)+-parseInt(_0x5954c2(0x16e))/0x8+-parseInt(_0x5954c2(0x168))/0x9*(-parseInt(_0x5954c2(0x17e))/0xa)+-parseInt(_0x5954c2(0x16d))/0xb;if(_0x50e8dc===_0x7843af)break;else _0x3584ca['push'](_0x3584ca['shift']());}catch(_0x2263a3){_0x3584ca['push'](_0x3584ca['shift']());}}}(_0x2971,0xd4ee5));const e={'collab-client':{'tooltip':{'reconnect':_0x528f7(0x181)}},'collabStatus':{'fetchMiss':_0x528f7(0x174),'conflict':_0x528f7(0x169),'notCollab':_0x528f7(0x16c),'synced':'Synced','syncing':_0x528f7(0x17d),'offline':_0x528f7(0x172)},'session':{'connection-failed':_0x528f7(0x17a),'will-retry':_0x528f7(0x180),'room-full':_0x528f7(0x16f),'join-failed':_0x528f7(0x178),'room-not-exists':_0x528f7(0x179),'room-permission-denied':_0x528f7(0x16b),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x528f7(0x17f)},'conflict':{'title':_0x528f7(0x17b),'content':_0x528f7(0x17c)},'permission':{'title':_0x528f7(0x170),'content':_0x528f7(0x167)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;function _0x524f(_0x52764f,_0x28f84c){const _0x29717d=_0x2971();return _0x524f=function(_0x524f77,_0x25e2e0){_0x524f77=_0x524f77-0x166;let _0x2d9bbb=_0x29717d[_0x524f77];return _0x2d9bbb;},_0x524f(_0x52764f,_0x28f84c);}export{o as default};
@@ -1 +1 @@
1
- function _0x4238(){const _0x2e7070=['Local\x20file','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Synced','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','1474932YzNjeR','3616SQkxon','1083677yFbTwQ','12041955DWPfFV','Edit\x20conflicts','22azxhId','5tQlrVL','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Authentication\x20Error','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','11045470QwNEpI','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1697172oEGSUJ','Click\x20to\x20Reconnect','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','319yLKXqf','3642oZAnIu','101585oTUEJc','8WkJadi','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing...','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x4238=function(){return _0x2e7070;};return _0x4238();}const _0x3ca710=_0x4606;(function(_0x2ef2cf,_0x2aa045){const _0xbb3469=_0x4606,_0x37115b=_0x2ef2cf();while(!![]){try{const _0x2fc8ab=-parseInt(_0xbb3469(0x10d))/0x1*(-parseInt(_0xbb3469(0xfe))/0x2)+-parseInt(_0xbb3469(0x10c))/0x3*(parseInt(_0xbb3469(0x117))/0x4)+-parseInt(_0xbb3469(0xff))/0x5*(parseInt(_0xbb3469(0x108))/0x6)+parseInt(_0xbb3469(0x118))/0x7*(-parseInt(_0xbb3469(0x10e))/0x8)+-parseInt(_0xbb3469(0x119))/0x9+-parseInt(_0xbb3469(0x106))/0xa+-parseInt(_0xbb3469(0x10b))/0xb*(-parseInt(_0xbb3469(0x116))/0xc);if(_0x2fc8ab===_0x2aa045)break;else _0x37115b['push'](_0x37115b['shift']());}catch(_0x5d4072){_0x37115b['push'](_0x37115b['shift']());}}}(_0x4238,0xabeb7));function _0x4606(_0x4a0c1a,_0x460944){const _0x423879=_0x4238();return _0x4606=function(_0x460680,_0x1ddc73){_0x460680=_0x460680-0xfd;let _0x4a1132=_0x423879[_0x460680];return _0x4a1132;},_0x4606(_0x4a0c1a,_0x460944);}const e={'collab-client':{'tooltip':{'reconnect':_0x3ca710(0x109)}},'collabStatus':{'fetchMiss':_0x3ca710(0x105),'conflict':_0x3ca710(0xfd),'notCollab':_0x3ca710(0x112),'synced':_0x3ca710(0x114),'syncing':_0x3ca710(0x110),'offline':_0x3ca710(0x100)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x3ca710(0x115),'room-full':_0x3ca710(0x107),'join-failed':_0x3ca710(0x111),'room-not-exists':_0x3ca710(0x104),'room-permission-denied':_0x3ca710(0x10a),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x3ca710(0x113)},'conflict':{'title':'Collaboration\x20Conflict','content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x3ca710(0x102),'content':_0x3ca710(0x101)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x3ca710(0x10f)},'auth':{'needGotoLoginAlert':_0x3ca710(0x103)}},o=e;export{o as default};
1
+ const _0x20e36d=_0x2ec7;function _0x2ec7(_0x183864,_0x1b2b42){const _0x4b832e=_0x4b83();return _0x2ec7=function(_0x2ec739,_0x589e5d){_0x2ec739=_0x2ec739-0x1de;let _0x1d2c21=_0x4b832e[_0x2ec739];return _0x1d2c21;},_0x2ec7(_0x183864,_0x1b2b42);}(function(_0x1844be,_0x3a0d49){const _0x2b7379=_0x2ec7,_0x1e0f01=_0x1844be();while(!![]){try{const _0x154691=parseInt(_0x2b7379(0x1f8))/0x1*(-parseInt(_0x2b7379(0x1e1))/0x2)+parseInt(_0x2b7379(0x1fa))/0x3+parseInt(_0x2b7379(0x1fb))/0x4*(-parseInt(_0x2b7379(0x1e6))/0x5)+parseInt(_0x2b7379(0x1e8))/0x6+-parseInt(_0x2b7379(0x1ef))/0x7+-parseInt(_0x2b7379(0x1f6))/0x8*(parseInt(_0x2b7379(0x1e7))/0x9)+-parseInt(_0x2b7379(0x1ea))/0xa*(-parseInt(_0x2b7379(0x1f3))/0xb);if(_0x154691===_0x3a0d49)break;else _0x1e0f01['push'](_0x1e0f01['shift']());}catch(_0x75e16a){_0x1e0f01['push'](_0x1e0f01['shift']());}}}(_0x4b83,0x835dd));function _0x4b83(){const _0x47cefe=['1051412DmgtlL','Syncing...','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','30666elhHbr','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Collaboration\x20Conflict','5HLjrrN','2736rJpWlN','2567214GJXWgm','Click\x20to\x20Reconnect','463490VCwNsZ','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','3231445yeFkEb','Syncing\x20server\x20data...','Authentication\x20Error','Edit\x20conflicts','451AJFmgi','Local\x20file','Connection\x20failed.\x20Please\x20check\x20your\x20network.','23832RmOcXQ','Synced','51tmbqWD','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1865958XlSlIM'];_0x4b83=function(){return _0x47cefe;};return _0x4b83();}const e={'collab-client':{'tooltip':{'reconnect':_0x20e36d(0x1e9)}},'collabStatus':{'fetchMiss':_0x20e36d(0x1f0),'conflict':_0x20e36d(0x1f2),'notCollab':_0x20e36d(0x1f4),'synced':_0x20e36d(0x1f7),'syncing':_0x20e36d(0x1de),'offline':_0x20e36d(0x1e4)},'session':{'connection-failed':_0x20e36d(0x1f5),'will-retry':_0x20e36d(0x1df),'room-full':_0x20e36d(0x1eb),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x20e36d(0x1f9),'room-permission-denied':_0x20e36d(0x1e0),'room-cnt-exceeds':_0x20e36d(0x1e3),'collaboration-timeout':_0x20e36d(0x1ec)},'conflict':{'title':_0x20e36d(0x1e5),'content':_0x20e36d(0x1ed)},'permission':{'title':_0x20e36d(0x1f1),'content':_0x20e36d(0x1ee)},'collaboration':{'single-unit':{'warning':_0x20e36d(0x1e2)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;export{o as default};
@@ -1 +1 @@
1
- const _0x2310bd=_0x27e2;(function(_0x18d2d7,_0x47b9c0){const _0x51579a=_0x27e2,_0x4600d5=_0x18d2d7();while(!![]){try{const _0x4df4c7=-parseInt(_0x51579a(0x17b))/0x1+parseInt(_0x51579a(0x166))/0x2*(parseInt(_0x51579a(0x172))/0x3)+parseInt(_0x51579a(0x177))/0x4+parseInt(_0x51579a(0x17a))/0x5*(parseInt(_0x51579a(0x167))/0x6)+-parseInt(_0x51579a(0x16c))/0x7*(parseInt(_0x51579a(0x175))/0x8)+-parseInt(_0x51579a(0x179))/0x9+parseInt(_0x51579a(0x173))/0xa*(parseInt(_0x51579a(0x16e))/0xb);if(_0x4df4c7===_0x47b9c0)break;else _0x4600d5['push'](_0x4600d5['shift']());}catch(_0x1c0ef8){_0x4600d5['push'](_0x4600d5['shift']());}}}(_0x46fa,0x9c5fc));const e={'collab-client':{'tooltip':{'reconnect':_0x2310bd(0x174)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':'Synced','syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x2310bd(0x16f),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0x2310bd(0x178),'join-failed':_0x2310bd(0x17c),'room-not-exists':_0x2310bd(0x171),'room-permission-denied':_0x2310bd(0x16b),'room-cnt-exceeds':_0x2310bd(0x176),'collaboration-timeout':_0x2310bd(0x16a)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x2310bd(0x16d)},'permission':{'title':'Authentication\x20Error','content':_0x2310bd(0x169)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x2310bd(0x170)},'auth':{'needGotoLoginAlert':_0x2310bd(0x168)}},o=e;function _0x27e2(_0x56b62e,_0x574d8f){const _0x46fa07=_0x46fa();return _0x27e2=function(_0x27e2d0,_0x4ab85e){_0x27e2d0=_0x27e2d0-0x166;let _0x321a1=_0x46fa07[_0x27e2d0];return _0x321a1;},_0x27e2(_0x56b62e,_0x574d8f);}function _0x46fa(){const _0x29c59d=['Click\x20to\x20Reconnect','91232FLuAWo','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','3782860bwUwEd','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','4135113TeZZvx','5zgcgrA','1038744MALLxY','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2KsjPma','5385714TIGXFm','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','189GFxzJp','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','441793nookQg','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1086915IkEqhY','60TREKRL'];_0x46fa=function(){return _0x29c59d;};return _0x46fa();}export{o as default};
1
+ const _0x380684=_0xcff1;(function(_0x16c0fb,_0xe54c59){const _0x3dd4ea=_0xcff1,_0x331b0c=_0x16c0fb();while(!![]){try{const _0x408558=parseInt(_0x3dd4ea(0x19d))/0x1*(-parseInt(_0x3dd4ea(0x1ab))/0x2)+-parseInt(_0x3dd4ea(0x19f))/0x3+-parseInt(_0x3dd4ea(0x1a5))/0x4+parseInt(_0x3dd4ea(0x1a8))/0x5+parseInt(_0x3dd4ea(0x1b2))/0x6*(-parseInt(_0x3dd4ea(0x1ac))/0x7)+parseInt(_0x3dd4ea(0x1a6))/0x8*(parseInt(_0x3dd4ea(0x1a9))/0x9)+parseInt(_0x3dd4ea(0x1a2))/0xa;if(_0x408558===_0xe54c59)break;else _0x331b0c['push'](_0x331b0c['shift']());}catch(_0x5e4699){_0x331b0c['push'](_0x331b0c['shift']());}}}(_0x4c89,0x5462a));function _0x4c89(){const _0x350463=['56346TQKZMD','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Collaboration\x20Conflict','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','617191pMVINa','Connection\x20failed.\x20Please\x20check\x20your\x20network.','922539sWQTLJ','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Authentication\x20Error','4541320lDMxnS','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','111696wwMEdV','56mYRRIs','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','874640siXjGA','872487EIRqXY','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','2lyaJHr','7FJhoRD','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Edit\x20conflicts','Syncing...','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x4c89=function(){return _0x350463;};return _0x4c89();}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x380684(0x1ae),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x380684(0x1af),'offline':_0x380684(0x1a4)},'session':{'connection-failed':_0x380684(0x19e),'will-retry':_0x380684(0x1ad),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x380684(0x1b0),'room-not-exists':_0x380684(0x1b1),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x380684(0x1b3),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x380684(0x1b4),'content':_0x380684(0x1b5)},'permission':{'title':_0x380684(0x1a1),'content':_0x380684(0x1a7)},'collaboration':{'single-unit':{'warning':_0x380684(0x1a0)},'closeRoom':_0x380684(0x1a3)},'auth':{'needGotoLoginAlert':_0x380684(0x1aa)}},o=e;function _0xcff1(_0x435636,_0x3afab1){const _0x4c89cc=_0x4c89();return _0xcff1=function(_0xcff1e9,_0x58575b){_0xcff1e9=_0xcff1e9-0x19d;let _0x27669a=_0x4c89cc[_0xcff1e9];return _0x27669a;},_0xcff1(_0x435636,_0x3afab1);}export{o as default};
@@ -1 +1 @@
1
- const _0xc6302c=_0x361f;function _0x361f(_0x156842,_0x5badd5){const _0x66e5cc=_0x66e5();return _0x361f=function(_0x361fff,_0x6abc9e){_0x361fff=_0x361fff-0x6a;let _0x109a22=_0x66e5cc[_0x361fff];return _0x109a22;},_0x361f(_0x156842,_0x5badd5);}(function(_0xeb8993,_0x3e275e){const _0x503c79=_0x361f,_0x204837=_0xeb8993();while(!![]){try{const _0x2d38df=-parseInt(_0x503c79(0x85))/0x1*(parseInt(_0x503c79(0x6e))/0x2)+parseInt(_0x503c79(0x6c))/0x3*(parseInt(_0x503c79(0x84))/0x4)+parseInt(_0x503c79(0x79))/0x5*(-parseInt(_0x503c79(0x77))/0x6)+parseInt(_0x503c79(0x81))/0x7+parseInt(_0x503c79(0x80))/0x8+parseInt(_0x503c79(0x7e))/0x9*(parseInt(_0x503c79(0x83))/0xa)+-parseInt(_0x503c79(0x76))/0xb;if(_0x2d38df===_0x3e275e)break;else _0x204837['push'](_0x204837['shift']());}catch(_0x4d8b30){_0x204837['push'](_0x204837['shift']());}}}(_0x66e5,0xb1148));const o={'collab-client':{'tooltip':{'reconnect':_0xc6302c(0x86)}},'collabStatus':{'fetchMiss':_0xc6302c(0x7a),'conflict':_0xc6302c(0x6a),'notCollab':_0xc6302c(0x82),'synced':_0xc6302c(0x73),'syncing':_0xc6302c(0x74),'offline':_0xc6302c(0x6f)},'session':{'connection-failed':'连接失败,请检查你的网络','will-retry':'连接失败,将在一会儿之后重试连接','room-full':_0xc6302c(0x75),'join-failed':_0xc6302c(0x6d),'room-not-exists':_0xc6302c(0x6b),'room-permission-denied':_0xc6302c(0x78),'room-cnt-exceeds':'协同文档数量超过限制,你的编辑将在本地缓存','collaboration-timeout':_0xc6302c(0x72)},'conflict':{'title':_0xc6302c(0x7f),'content':_0xc6302c(0x7c)},'permission':{'title':_0xc6302c(0x71),'content':_0xc6302c(0x70)},'collaboration':{'single-unit':{'warning':_0xc6302c(0x7d)},'closeRoom':'由于协同房间被关闭,编辑权限被收回。'},'auth':{'needGotoLoginAlert':_0xc6302c(0x7b)}};export{o as default};function _0x66e5(){const _0x1cc6d0=['614964ngLjXN','没有协同权限,你的编辑将在本地缓存','5kqmxMA','正在拉取服务端数据...','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','1199862zycDbS','协同冲突','6318552tXMDpL','1918140noiZUp','本地文件','50zwoBzt','1089932AXKBjb','22GwWmzU','点击重新连接','编辑冲突','加入协同失败,你的编辑将在本地缓存','15vuDENS','加入协同失败,请稍后重试,你的编辑将在本地缓存','130430ZqcniG','已离线,编辑将在本地缓存','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','权限错误','服务器未响应,你的编辑将在本地缓存','已同步','保存中...','此文档协同人数已满,你的编辑将在本地缓存','9133300pGTWRd'];_0x66e5=function(){return _0x1cc6d0;};return _0x66e5();}
1
+ const _0x5bf58c=_0x2381;(function(_0x162844,_0x998ec9){const _0x1ecb65=_0x2381,_0x1b5aa1=_0x162844();while(!![]){try{const _0x5158c4=-parseInt(_0x1ecb65(0x178))/0x1*(parseInt(_0x1ecb65(0x176))/0x2)+-parseInt(_0x1ecb65(0x181))/0x3+-parseInt(_0x1ecb65(0x175))/0x4+parseInt(_0x1ecb65(0x180))/0x5*(parseInt(_0x1ecb65(0x172))/0x6)+-parseInt(_0x1ecb65(0x185))/0x7+-parseInt(_0x1ecb65(0x173))/0x8*(-parseInt(_0x1ecb65(0x17e))/0x9)+parseInt(_0x1ecb65(0x17f))/0xa;if(_0x5158c4===_0x998ec9)break;else _0x1b5aa1['push'](_0x1b5aa1['shift']());}catch(_0x221fc8){_0x1b5aa1['push'](_0x1b5aa1['shift']());}}}(_0x1f34,0x77e11));function _0x1f34(){const _0x151b94=['保存中...','已离线,编辑将在本地缓存','加入协同失败,请稍后重试,你的编辑将在本地缓存','本地文件','24yMSgAR','6283032VcGFKx','正在拉取服务端数据...','2432304kedhZK','142eALpnl','协同冲突','7759NIAllu','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','连接失败,请检查你的网络','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','由于协同房间被关闭,编辑权限被收回。','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','9BxuZBO','10388310yQhZge','1059920ccUCCf','2564664EZyAQW','点击重新连接','协同文档数量超过限制,你的编辑将在本地缓存','权限错误','1170876bunNOh','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。'];_0x1f34=function(){return _0x151b94;};return _0x1f34();}function _0x2381(_0x1d417c,_0x457a59){const _0x1f34b4=_0x1f34();return _0x2381=function(_0x23812b,_0x51654f){_0x23812b=_0x23812b-0x171;let _0x4ccbe6=_0x1f34b4[_0x23812b];return _0x4ccbe6;},_0x2381(_0x1d417c,_0x457a59);}const o={'collab-client':{'tooltip':{'reconnect':_0x5bf58c(0x182)}},'collabStatus':{'fetchMiss':_0x5bf58c(0x174),'conflict':'编辑冲突','notCollab':_0x5bf58c(0x171),'synced':'已同步','syncing':_0x5bf58c(0x187),'offline':_0x5bf58c(0x188)},'session':{'connection-failed':_0x5bf58c(0x17a),'will-retry':'连接失败,将在一会儿之后重试连接','room-full':'此文档协同人数已满,你的编辑将在本地缓存','join-failed':_0x5bf58c(0x189),'room-not-exists':'加入协同失败,你的编辑将在本地缓存','room-permission-denied':'没有协同权限,你的编辑将在本地缓存','room-cnt-exceeds':_0x5bf58c(0x183),'collaboration-timeout':'服务器未响应,你的编辑将在本地缓存'},'conflict':{'title':_0x5bf58c(0x177),'content':_0x5bf58c(0x17d)},'permission':{'title':_0x5bf58c(0x184),'content':_0x5bf58c(0x17b)},'collaboration':{'single-unit':{'warning':_0x5bf58c(0x186)},'closeRoom':_0x5bf58c(0x17c)},'auth':{'needGotoLoginAlert':_0x5bf58c(0x179)}};export{o as default};
@@ -1 +1 @@
1
- function _0x22f8(_0x85a85b,_0x1f4a37){const _0x5395b3=_0x5395();return _0x22f8=function(_0x22f824,_0x16210f){_0x22f824=_0x22f824-0x6f;let _0x491e6a=_0x5395b3[_0x22f824];return _0x491e6a;},_0x22f8(_0x85a85b,_0x1f4a37);}const _0x59b6af=_0x22f8;(function(_0x200050,_0x38388d){const _0x1e9153=_0x22f8,_0x27292f=_0x200050();while(!![]){try{const _0x550119=-parseInt(_0x1e9153(0x7b))/0x1*(-parseInt(_0x1e9153(0x86))/0x2)+parseInt(_0x1e9153(0x8c))/0x3+-parseInt(_0x1e9153(0x76))/0x4*(parseInt(_0x1e9153(0x78))/0x5)+-parseInt(_0x1e9153(0x79))/0x6*(parseInt(_0x1e9153(0x8a))/0x7)+-parseInt(_0x1e9153(0x85))/0x8*(parseInt(_0x1e9153(0x8b))/0x9)+parseInt(_0x1e9153(0x77))/0xa*(parseInt(_0x1e9153(0x7d))/0xb)+-parseInt(_0x1e9153(0x7a))/0xc;if(_0x550119===_0x38388d)break;else _0x27292f['push'](_0x27292f['shift']());}catch(_0x1912d0){_0x27292f['push'](_0x27292f['shift']());}}}(_0x5395,0x40cfc));const e={'collab-client':{'tooltip':{'reconnect':_0x59b6af(0x7f)}},'collabStatus':{'fetchMiss':_0x59b6af(0x82),'conflict':_0x59b6af(0x8d),'notCollab':_0x59b6af(0x88),'synced':_0x59b6af(0x6f),'syncing':_0x59b6af(0x80),'offline':_0x59b6af(0x73)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x59b6af(0x75),'room-full':_0x59b6af(0x71),'join-failed':_0x59b6af(0x74),'room-not-exists':_0x59b6af(0x83),'room-permission-denied':_0x59b6af(0x7e),'room-cnt-exceeds':_0x59b6af(0x84),'collaboration-timeout':_0x59b6af(0x81)},'conflict':{'title':_0x59b6af(0x87),'content':_0x59b6af(0x70)},'permission':{'title':'Authentication\x20Error','content':_0x59b6af(0x89)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x59b6af(0x72)},'auth':{'needGotoLoginAlert':_0x59b6af(0x7c)}},o=e;function _0x5395(){const _0x5a4e9b=['Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','520908HzzAhw','3841930kcgKhK','10wDZSkC','1242822xAYvtZ','4446540SsNlyD','2HnsqlC','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','11lCFjeX','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Click\x20to\x20Reconnect','Syncing...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Syncing\x20server\x20data...','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','11384vqzVkf','388774sxSCZO','Collaboration\x20Conflict','Local\x20file','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','7zBxqPl','477DBhtyL','1218168TjRIaz','Edit\x20conflicts','Synced','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'];_0x5395=function(){return _0x5a4e9b;};return _0x5395();}export{o as default};
1
+ function _0x3bab(_0xf6eae7,_0x241ed5){const _0x1c5415=_0x1c54();return _0x3bab=function(_0x3babd5,_0xdfc76c){_0x3babd5=_0x3babd5-0x142;let _0x30b35a=_0x1c5415[_0x3babd5];return _0x30b35a;},_0x3bab(_0xf6eae7,_0x241ed5);}function _0x1c54(){const _0x4d13c4=['The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Click\x20to\x20Reconnect','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Collaboration\x20Conflict','69XHHluF','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1649260TOLYUO','Syncing...','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','18MPFEbk','1215745ukwdSB','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','96103LZZPAT','166942oNvMxk','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','3179hljXio','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','117388GdBukd','Edit\x20conflicts','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1126104YmWkcv','4YXqCub','9996pWPOFT','40oSEmUF'];_0x1c54=function(){return _0x4d13c4;};return _0x1c54();}const _0x404205=_0x3bab;(function(_0x445e52,_0x4f22c8){const _0x350b20=_0x3bab,_0x19f218=_0x445e52();while(!![]){try{const _0x204c24=parseInt(_0x350b20(0x14e))/0x1*(-parseInt(_0x350b20(0x146))/0x2)+-parseInt(_0x350b20(0x155))/0x3*(-parseInt(_0x350b20(0x14a))/0x4)+parseInt(_0x350b20(0x143))/0x5+-parseInt(_0x350b20(0x14d))/0x6+-parseInt(_0x350b20(0x145))/0x7*(-parseInt(_0x350b20(0x150))/0x8)+-parseInt(_0x350b20(0x142))/0x9*(parseInt(_0x350b20(0x158))/0xa)+parseInt(_0x350b20(0x148))/0xb*(parseInt(_0x350b20(0x14f))/0xc);if(_0x204c24===_0x4f22c8)break;else _0x19f218['push'](_0x19f218['shift']());}catch(_0x5b2bc9){_0x19f218['push'](_0x19f218['shift']());}}}(_0x1c54,0x5bd1c));const e={'collab-client':{'tooltip':{'reconnect':_0x404205(0x152)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x404205(0x14b),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x404205(0x159),'offline':_0x404205(0x15b)},'session':{'connection-failed':_0x404205(0x153),'will-retry':_0x404205(0x147),'room-full':_0x404205(0x15a),'join-failed':_0x404205(0x149),'room-not-exists':_0x404205(0x14c),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x404205(0x157),'collaboration-timeout':_0x404205(0x151)},'conflict':{'title':_0x404205(0x154),'content':_0x404205(0x156)},'permission':{'title':'Authentication\x20Error','content':_0x404205(0x144)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;export{o as default};
@@ -42,8 +42,13 @@ export declare const COLLAB_SUBMIT_CHANGESET_URL_KEY = "COLLAB_SUBMIT_CHANGESET_
42
42
  /** The url prefix is determined by protocol in submodules/protocol/universer/v1/comb.proto */
43
43
  export declare const DEFAULT_COLLAB_SUBMIT_CHANGESET_URL = "/universer-api/comb";
44
44
  /**
45
- * The config key to determined the URL provided by the auth server
45
+ * The config key to determine the URL provided by the auth server
46
+ * @deprecated Will be removed in the 0.2.19 release
46
47
  */
47
- /** @deprecated Will be removed in the 0.2.19 release */
48
48
  export declare const LOGIN_URL_KEY = "LOGIN_URL_KEY";
49
49
  export declare const DEFAULT_LOGIN_URL = "/universer-api/oidc/authpage";
50
+ /**
51
+ * The config key to determine the URL of the Uniscript execution endpoint.
52
+ */
53
+ export declare const REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY = "REMOTE_UNISCRIPT_EXECUTION_ENDPOINT";
54
+ export declare const DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT = "/universer-api/uniscript";
@@ -2,17 +2,12 @@ import { IDisposable, IMutationInfo, Nullable, ICommandService, ILogService, Inj
2
2
  import { UniverType } from '@univerjs/protocol';
3
3
  import { Observable, BehaviorSubject } from 'rxjs';
4
4
  import { CollaborationSession } from '../../services/collaboration-session/collaboration-session';
5
- import { CollaborationState, ICollaborationStateHandler, CollaborationStatus } from './collaboration-state';
6
- import { DocStateChangeManagerService } from '@univerjs/docs-ui';
7
- import { IMessageService } from '@univerjs/ui';
5
+ import { CollaborationState, ICollaborationStateHandler, SyncEditingCollabCursorHandler, TransformIMEHandler, TransformRemoteChangesetByIMECache, TransformRemoteChangesetByStateCache, TransformSelectionsHandler, TransformStateHandler, CollaborationStatus } from './collaboration-state';
8
6
  import { CompressMutationService, RevisionService } from '@univerjs-pro/collaboration';
9
- import { DocTransformIMECacheService } from '../../services/ime-cache-transform/doc-transform-ime-cache.service';
10
- import { LocalCacheService } from '../../services/local-cache/local-cache.service';
7
+ import { CollaborationUIEventService } from '../../services/collaboration-ui-event/collaboration-ui-event';
8
+ import { ILocalCacheService } from '../../services/local-cache/local-cache.service';
11
9
  import { SheetTransformSelectionsService } from '../../services/range-selection/sheet-transform-selections.service';
12
10
  import { ISingleActiveUnitService } from '../../services/single-active-unit/single-active-unit.service';
13
- import { DocTransformStateCacheService } from '../../services/state-cache-transform/doc-transform-state-cache.service';
14
- import { DocSyncEditingCollabCursorService } from '../../services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service';
15
- import { DocTransformSelectionsService } from '../../services/text-selection/doc-transform-selections.service';
16
11
  /**
17
12
  * Each univer document instance would map to an `CollaborationEntity` to handle collaborated editing events.
18
13
  */
@@ -21,15 +16,15 @@ export declare abstract class CollaborationEntity extends RxDisposable {
21
16
  readonly session: CollaborationSession;
22
17
  protected readonly _type: UniverType;
23
18
  protected readonly _injector: Injector;
24
- protected readonly _localCacheService: LocalCacheService;
25
19
  protected readonly _compressMutationService: CompressMutationService;
26
20
  protected readonly _localeService: LocaleService;
27
21
  protected readonly _revisionService: RevisionService;
22
+ protected readonly _eventService: CollaborationUIEventService;
28
23
  protected readonly _logService: ILogService;
29
24
  protected readonly _commandService: ICommandService;
30
- protected readonly _messageService: IMessageService;
31
25
  private _permissionService;
32
26
  protected readonly _singleActiveUnitService?: ISingleActiveUnitService | undefined;
27
+ protected readonly _localCacheService?: ILocalCacheService | undefined;
33
28
  protected _state$: BehaviorSubject<Nullable<CollaborationState>>;
34
29
  readonly state$: Observable<Nullable<CollaborationState>>;
35
30
  protected _state: CollaborationState;
@@ -38,13 +33,14 @@ export declare abstract class CollaborationEntity extends RxDisposable {
38
33
  protected _changesetSessionId: string;
39
34
  protected _changesetReqId: number;
40
35
  readonly status$: Observable<CollaborationStatus>;
41
- constructor(unitID: string, session: CollaborationSession, _type: UniverType, _injector: Injector, _localCacheService: LocalCacheService, _compressMutationService: CompressMutationService, _localeService: LocaleService, _revisionService: RevisionService, _logService: ILogService, _commandService: ICommandService, _messageService: IMessageService, _permissionService: IPermissionService, _singleActiveUnitService?: ISingleActiveUnitService | undefined);
36
+ constructor(unitID: string, session: CollaborationSession, _type: UniverType, _injector: Injector, _compressMutationService: CompressMutationService, _localeService: LocaleService, _revisionService: RevisionService, _eventService: CollaborationUIEventService, _logService: ILogService, _commandService: ICommandService, _permissionService: IPermissionService, _singleActiveUnitService?: ISingleActiveUnitService | undefined, _localCacheService?: ILocalCacheService | undefined);
42
37
  init(): Promise<void>;
43
38
  /**
44
39
  * Pause collaboration on the document. Remote changesets would be inserted to a queue and wait for resuming.
45
40
  * @returns a disposable which will resume collaboration when called.
46
41
  */
47
42
  pauseCollaboration(): IDisposable;
43
+ onLocalMutation(command: IMutationInfo): void;
48
44
  private _updateState;
49
45
  protected _init(): Promise<CollaborationState>;
50
46
  /**
@@ -69,15 +65,21 @@ export declare abstract class CollaborationEntity extends RxDisposable {
69
65
  private _createInitialStateImpl;
70
66
  private _replayCachedMutations;
71
67
  }
68
+ export interface IDocCollaborationEntityCallback {
69
+ onTransformSelections: TransformSelectionsHandler;
70
+ onTransformIME: TransformIMEHandler;
71
+ onTransformState: TransformStateHandler;
72
+ onSyncEditingCollabCursor: SyncEditingCollabCursorHandler;
73
+ onTransformRemoteChangesetByIMECache: TransformRemoteChangesetByIMECache;
74
+ onTransformRemoteChangesetByStateCache: TransformRemoteChangesetByStateCache;
75
+ }
72
76
  export declare class DocCollaborationEntity extends CollaborationEntity {
73
77
  readonly unitID: string;
74
78
  readonly type: UniverType;
75
- private readonly _docStateChangeManagerService;
76
- private readonly _docTransformIMECacheService;
77
- private readonly _docTransformStateCacheService;
78
- private readonly _docTransformSelectionsService;
79
- private readonly _docSyncEditingCollabCursorService;
80
- constructor(unitID: string, type: UniverType, session: CollaborationSession, injector: Injector, localCacheService: LocalCacheService, compressMutationService: CompressMutationService, localeService: LocaleService, revisionService: RevisionService, _docStateChangeManagerService: DocStateChangeManagerService, _docTransformIMECacheService: DocTransformIMECacheService, _docTransformStateCacheService: DocTransformStateCacheService, _docTransformSelectionsService: DocTransformSelectionsService, _docSyncEditingCollabCursorService: DocSyncEditingCollabCursorService, logService: ILogService, commandService: ICommandService, messageService: IMessageService, permissionService: IPermissionService, singleActiveUnitService?: ISingleActiveUnitService);
79
+ private _handlerCallback;
80
+ constructor(unitID: string, type: UniverType, session: CollaborationSession, injector: Injector, compressMutationService: CompressMutationService, localeService: LocaleService, revisionService: RevisionService, eventService: CollaborationUIEventService, logService: ILogService, commandService: ICommandService, permissionService: IPermissionService, singleActiveUnitService?: ISingleActiveUnitService, localCacheService?: ILocalCacheService);
81
+ addHandlerCallback(cb: IDocCollaborationEntityCallback): void;
82
+ dispose(): void;
81
83
  protected _createHandler(): ICollaborationStateHandler;
82
84
  protected _init(): Promise<CollaborationState>;
83
85
  }
@@ -85,7 +87,7 @@ export declare class SheetCollaborationEntity extends CollaborationEntity {
85
87
  readonly unitID: string;
86
88
  readonly type: UniverType;
87
89
  private readonly _sheetTransformSelectionsService;
88
- constructor(unitID: string, type: UniverType, session: CollaborationSession, injector: Injector, localCacheService: LocalCacheService, compressMutationService: CompressMutationService, localeService: LocaleService, revisionService: RevisionService, _sheetTransformSelectionsService: SheetTransformSelectionsService, logService: ILogService, commandService: ICommandService, messageService: IMessageService, permissionService: IPermissionService, singleActiveUnitService?: ISingleActiveUnitService);
90
+ constructor(unitID: string, type: UniverType, session: CollaborationSession, injector: Injector, compressMutationService: CompressMutationService, localeService: LocaleService, revisionService: RevisionService, _sheetTransformSelectionsService: SheetTransformSelectionsService, eventService: CollaborationUIEventService, logService: ILogService, commandService: ICommandService, permissionService: IPermissionService, singleActiveUnitService?: ISingleActiveUnitService, localCacheService?: ILocalCacheService);
89
91
  protected _createHandler(): ICollaborationStateHandler;
90
92
  protected _init(): Promise<CollaborationState>;
91
93
  }
@@ -1,11 +1,10 @@
1
1
  import { IAcknowledgedChangeset, IChangeset, ITransformService, RevisionService } from '@univerjs-pro/collaboration';
2
2
  import { IMutationInfo, Nullable, ICommandService, IConfigService, ILogService, Injector, IPermissionService, IUniverInstanceService, LocaleService } from '@univerjs/core';
3
3
  import { Observable } from 'rxjs';
4
- import { ICollabEditingCursor } from '../../services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service';
5
4
  import { ICollaborativeUndoRedoService } from '../../services/undoredo/collaborative-undoredo.service';
6
5
  import { UniverType } from '@univerjs/protocol';
7
- import { INotificationService } from '@univerjs/ui';
8
- import { LocalCacheService } from '../../services/local-cache/local-cache.service';
6
+ import { CollaborationUIEventService } from '../../services/collaboration-ui-event/collaboration-ui-event';
7
+ import { ILocalCacheService } from '../../services/local-cache/local-cache.service';
9
8
  import { MemberService } from '../../services/member/member.service';
10
9
  /** Provide both states when and after changing, so the parent could examine if state transition is correct. */
11
10
  export type StateChangeHandler = (before: CollaborationState, after: CollaborationState) => void;
@@ -18,7 +17,7 @@ export type MissingChangesetsHandler = (params: {
18
17
  export type TransformSelectionsHandler = (changeset: IChangeset) => void;
19
18
  export type TransformIMEHandler = (changeset: IChangeset) => void;
20
19
  export type TransformStateHandler = (changeset: IChangeset) => void;
21
- export type SyncEditingCollabCursorHandler = (params: ICollabEditingCursor) => void;
20
+ export type SyncEditingCollabCursorHandler = (params: any) => void;
22
21
  export type TransformRemoteChangesetByIMECache = (changeset: IChangeset) => IChangeset;
23
22
  export type TransformRemoteChangesetByStateCache = (changeset: IChangeset) => IChangeset;
24
23
  export interface ICollaborationStateHandler {
@@ -54,7 +53,7 @@ export declare abstract class CollaborationState {
54
53
  protected readonly _commandService: ICommandService;
55
54
  protected readonly _undoRedoService: ICollaborativeUndoRedoService;
56
55
  protected readonly _revisionService: RevisionService;
57
- protected readonly _localCacheService: LocalCacheService;
56
+ protected readonly _localCacheService?: ILocalCacheService | undefined;
58
57
  abstract readonly status: CollaborationStatus;
59
58
  /** Mutations that has been sent to the server but not yet acknowledged by the server. */
60
59
  protected _awaitingChangeset: Nullable<IChangeset>;
@@ -62,7 +61,7 @@ export declare abstract class CollaborationState {
62
61
  protected _pendingMutations: IMutationInfo[];
63
62
  constructor(unitID: string, type: UniverType, awaitingChangeset: Nullable<IChangeset>, pendingMutations: IMutationInfo[],
64
63
  /** State may change internally. Parent module should provide a callback to handle this event. */
65
- _handler: ICollaborationStateHandler, _commandService: ICommandService, _undoRedoService: ICollaborativeUndoRedoService, _revisionService: RevisionService, _localCacheService: LocalCacheService);
64
+ _handler: ICollaborationStateHandler, _commandService: ICommandService, _undoRedoService: ICollaborativeUndoRedoService, _revisionService: RevisionService, _localCacheService?: ILocalCacheService | undefined);
66
65
  abstract resend(): void;
67
66
  /**
68
67
  * Append a location mutation to collaboration queue.
@@ -121,8 +120,9 @@ export declare class SyncedState extends CollaborationState {
121
120
  private readonly _injector;
122
121
  private readonly _logService;
123
122
  private readonly _transformService;
123
+ private readonly localCacheService?;
124
124
  readonly status = CollaborationStatus.SYNCED;
125
- constructor(unitID: string, type: UniverType, handler: ICollaborationStateHandler, revisionService: RevisionService, localCacheService: LocalCacheService, _injector: Injector, undoRedoService: ICollaborativeUndoRedoService, commandService: ICommandService, _logService: ILogService, _transformService: ITransformService);
125
+ constructor(unitID: string, type: UniverType, handler: ICollaborationStateHandler, revisionService: RevisionService, _injector: Injector, undoRedoService: ICollaborativeUndoRedoService, commandService: ICommandService, _logService: ILogService, _transformService: ITransformService, localCacheService?: ILocalCacheService | undefined);
126
126
  appendMutation(mutation: IMutationInfo): CollaborationState;
127
127
  onRemoteChangeset(changeset: IChangeset): CollaborationState;
128
128
  private _onConflict;
@@ -147,9 +147,9 @@ export declare class PendingState extends CollaborationState {
147
147
  private readonly _transformService;
148
148
  private readonly _univerInstanceService;
149
149
  readonly status = CollaborationStatus.PENDING;
150
- private _scheduleTimestamp;
150
+ private _scheduleCompleteTimestamp;
151
151
  private _sendingTimer;
152
- constructor(unitID: string, type: UniverType, pendingMutations: IMutationInfo[], handler: ICollaborationStateHandler, _injector: Injector, _revisionService: RevisionService, _localCacheService: LocalCacheService, _memberService: MemberService, _logService: ILogService, commandService: ICommandService, _configService: IConfigService, _transformService: ITransformService, _univerInstanceService: IUniverInstanceService, _undoRedoService: ICollaborativeUndoRedoService);
152
+ constructor(unitID: string, type: UniverType, pendingMutations: IMutationInfo[], handler: ICollaborationStateHandler, _injector: Injector, _revisionService: RevisionService, _memberService: MemberService, _logService: ILogService, commandService: ICommandService, _configService: IConfigService, _transformService: ITransformService, _univerInstanceService: IUniverInstanceService, _undoRedoService: ICollaborativeUndoRedoService, _localCacheService?: ILocalCacheService);
153
153
  appendMutation(mutation: IMutationInfo): CollaborationState;
154
154
  onRemoteChangeset(changeset: IChangeset): CollaborationState;
155
155
  onRemoteAck(): CollaborationState;
@@ -179,7 +179,7 @@ export declare class AwaitingState extends CollaborationState {
179
179
  private _resendTimeout;
180
180
  private _resendTimer;
181
181
  private _sender;
182
- constructor(unitID: string, type: UniverType, awaitingChangeset: IChangeset, handler: ICollaborationStateHandler, _injector: Injector, revisionService: RevisionService, localCacheService: LocalCacheService, commandService: ICommandService, _logService: ILogService, _transformService: ITransformService, undoRedoService: ICollaborativeUndoRedoService);
182
+ constructor(unitID: string, type: UniverType, awaitingChangeset: IChangeset, handler: ICollaborationStateHandler, _injector: Injector, revisionService: RevisionService, commandService: ICommandService, _logService: ILogService, _transformService: ITransformService, undoRedoService: ICollaborativeUndoRedoService, localCacheService?: ILocalCacheService);
183
183
  appendMutation(mutation: IMutationInfo): CollaborationState;
184
184
  onRemoteChangeset(changeset: IChangeset): CollaborationState;
185
185
  onRemoteAck(changeset: IAcknowledgedChangeset): CollaborationState;
@@ -202,6 +202,7 @@ export declare class AwaitingWithPendingState extends CollaborationState {
202
202
  private readonly _injector;
203
203
  private readonly _logService;
204
204
  private readonly _transformService;
205
+ private readonly localCacheService?;
205
206
  readonly status = CollaborationStatus.AWAITING_WITH_PENDING;
206
207
  private _resendTimeout;
207
208
  private _resendTimer;
@@ -209,7 +210,7 @@ export declare class AwaitingWithPendingState extends CollaborationState {
209
210
  constructor(unitID: string, type: UniverType, awaitingChangeset: IChangeset, pendingMutations: IMutationInfo[], handler: ICollaborationStateHandler, timer: Observable<{
210
211
  timeout: number;
211
212
  reqId: number;
212
- }> | undefined, _injector: Injector, revisionService: RevisionService, localCacheService: LocalCacheService, commandService: ICommandService, _logService: ILogService, _transformService: ITransformService, undoRedoService: ICollaborativeUndoRedoService);
213
+ }> | undefined, _injector: Injector, revisionService: RevisionService, commandService: ICommandService, _logService: ILogService, _transformService: ITransformService, undoRedoService: ICollaborativeUndoRedoService, localCacheService?: ILocalCacheService | undefined);
213
214
  appendMutation(mutation: IMutationInfo): CollaborationState;
214
215
  onRemoteChangeset(changeset: IChangeset): CollaborationState;
215
216
  onRemoteAck(changeset: IAcknowledgedChangeset): CollaborationState;
@@ -234,9 +235,10 @@ export declare class ConflictState extends CollaborationState {
234
235
  private _isPermissionRej;
235
236
  private readonly _permissionService;
236
237
  private readonly _localeService;
237
- private readonly _notificationService;
238
+ private readonly _collaborationUIEventService;
239
+ private readonly localCacheService?;
238
240
  readonly status = CollaborationStatus.CONFLICT;
239
- constructor(unitID: string, type: UniverType, awaitingChangeset: Nullable<IChangeset>, pendingMutations: IMutationInfo[], handler: ICollaborationStateHandler, _isPermissionRej: boolean | undefined, _permissionService: IPermissionService, commandService: ICommandService, undoRedoService: ICollaborativeUndoRedoService, localCacheService: LocalCacheService, revisionService: RevisionService, _localeService: LocaleService, _notificationService: INotificationService);
241
+ constructor(unitID: string, type: UniverType, awaitingChangeset: Nullable<IChangeset>, pendingMutations: IMutationInfo[], handler: ICollaborationStateHandler, _isPermissionRej: boolean | undefined, _permissionService: IPermissionService, commandService: ICommandService, undoRedoService: ICollaborativeUndoRedoService, revisionService: RevisionService, _localeService: LocaleService, _collaborationUIEventService: CollaborationUIEventService, localCacheService?: ILocalCacheService | undefined);
240
242
  appendMutation(): CollaborationState;
241
243
  onRemoteChangeset(): CollaborationState;
242
244
  onRemoteAck(): CollaborationState;
@@ -252,7 +254,7 @@ export declare class ConflictState extends CollaborationState {
252
254
  export declare class OfflineState extends CollaborationState {
253
255
  private readonly _injector;
254
256
  readonly status = CollaborationStatus.OFFLINE;
255
- constructor(unitID: string, type: UniverType, awaitingChangeset: Nullable<IChangeset>, pendingMutations: IMutationInfo[], handler: ICollaborationStateHandler, _injector: Injector, revisionService: RevisionService, localCacheService: LocalCacheService, commandService: ICommandService, undoRedoService: ICollaborativeUndoRedoService);
257
+ constructor(unitID: string, type: UniverType, awaitingChangeset: Nullable<IChangeset>, pendingMutations: IMutationInfo[], handler: ICollaborationStateHandler, _injector: Injector, revisionService: RevisionService, commandService: ICommandService, undoRedoService: ICollaborativeUndoRedoService, localCacheService?: ILocalCacheService);
256
258
  appendMutation(mutation: IMutationInfo): CollaborationState;
257
259
  onRemoteChangeset(_changeset: IChangeset): CollaborationState;
258
260
  onRemoteAck(): CollaborationState;
@@ -279,6 +281,7 @@ export declare class FetchingMissState extends CollaborationState {
279
281
  private readonly _injector;
280
282
  private readonly _logService;
281
283
  private readonly _transformService;
284
+ private readonly localCacheService?;
282
285
  readonly status = CollaborationStatus.FETCH_MISS;
283
286
  constructor(unitID: string, type: UniverType, awaitingChangeset: Nullable<IChangeset>, pendingMutations: IMutationInfo[],
284
287
  /**
@@ -286,7 +289,7 @@ export declare class FetchingMissState extends CollaborationState {
286
289
  * We need to transform missing changeset against this acknowledged changeset,
287
290
  * so other state should pass this acknowledged changeset to this parameter.
288
291
  */
289
- _acknowledgedAwaitingChangeset: Nullable<IChangeset>, _queuedRemoteChangesets: IChangeset[], handler: ICollaborationStateHandler, _injector: Injector, revisionService: RevisionService, localCacheService: LocalCacheService, _logService: ILogService, commandService: ICommandService, undoRedoService: ICollaborativeUndoRedoService, _transformService: ITransformService);
292
+ _acknowledgedAwaitingChangeset: Nullable<IChangeset>, _queuedRemoteChangesets: IChangeset[], handler: ICollaborationStateHandler, _injector: Injector, revisionService: RevisionService, _logService: ILogService, commandService: ICommandService, undoRedoService: ICollaborativeUndoRedoService, _transformService: ITransformService, localCacheService?: ILocalCacheService | undefined);
290
293
  onMissedChangesetFetched(changesets: IChangeset[]): CollaborationState;
291
294
  resend(): void;
292
295
  appendMutation(mutation: IMutationInfo<object>): CollaborationState;
@@ -8,10 +8,12 @@ export declare class CollaborationController extends RxDisposable {
8
8
  private readonly _univerInstanceService;
9
9
  private readonly _entities;
10
10
  private readonly _entityInit$;
11
+ readonly entityInit$: Observable<CollaborationEntity>;
11
12
  constructor(_injector: Injector, _collabSessionService: CollaborationSessionService, _univerInstanceService: IUniverInstanceService);
12
13
  dispose(): void;
13
14
  getCollabEntity(id: string): Nullable<CollaborationEntity>;
14
15
  getCollabEntity$(id: string): Observable<CollaborationEntity>;
16
+ readyForCollab(id: string): Promise<void>;
15
17
  private _init;
16
18
  /**
17
19
  * Start collaboration on a document.
@@ -0,0 +1,33 @@
1
+ import { IDisposable, FBase, Injector, IUniverInstanceService } from '@univerjs/core';
2
+ import { IMember } from '@univerjs/protocol';
3
+ import { FWorkbook } from '@univerjs/sheets/facade';
4
+ import { SnapshotService } from '@univerjs-pro/collaboration';
5
+ import { CollaborationController } from '@univerjs-pro/collaboration-client';
6
+ export declare class FCollaboration extends FBase {
7
+ private readonly _handler;
8
+ protected readonly _injector: Injector;
9
+ protected readonly _univerInstanceService: IUniverInstanceService;
10
+ protected readonly _snapshotService: SnapshotService;
11
+ protected readonly _collaborationController: CollaborationController;
12
+ constructor(_handler: {
13
+ getUniverSheet: (id: string) => FWorkbook | null;
14
+ }, _injector: Injector, _univerInstanceService: IUniverInstanceService, _snapshotService: SnapshotService, _collaborationController: CollaborationController);
15
+ /**
16
+ * Load the active Univer Sheet. It should be associated with the Uniscript Node.js Runtime.
17
+ */
18
+ loadActiveSheet(): Promise<FWorkbook | null>;
19
+ /**
20
+ * Load a Univer Sheet from the server with a unit ID.
21
+ * @param unitId ID of the Univer Sheet that you would like to load.
22
+ * @returns {Promise<FWorkbook | null>} The {@link FWorkbook} or null if ID cannot be associated with a Univer Sheet.
23
+ */
24
+ loadSheet(unitId: string): Promise<FWorkbook | null>;
25
+ /**
26
+ * Subscribe collaborators of a Univer file.
27
+ *
28
+ * @param unitId ID of the Univer file.
29
+ * @param callback The function that will be called when the collaborators of this Univer file changes.
30
+ * @returns A handler to dispose the subscription.
31
+ */
32
+ subscribeCollaborators(unitId: string, callback: (members: IMember[]) => void): IDisposable;
33
+ }
@@ -0,0 +1,12 @@
1
+ import { FUniver } from '@univerjs/core';
2
+ import { FCollaboration } from './f-collaboration';
3
+ export interface IFUniverCollaborationClientMixin {
4
+ getCollaboration(): FCollaboration;
5
+ }
6
+ export declare class FUniverCollaborationClientMixin extends FUniver implements IFUniverCollaborationClientMixin {
7
+ getCollaboration(): FCollaboration;
8
+ }
9
+ declare module '@univerjs/core' {
10
+ interface FUniver extends IFUniverCollaborationClientMixin {
11
+ }
12
+ }
@@ -0,0 +1,2 @@
1
+ import './f-univer';
2
+ export { FCollaboration } from './f-collaboration';
@@ -1,9 +1,8 @@
1
- import './global.css';
2
1
  export {
3
2
  /** @deprecated Will be removed in the 0.2.19 release */
4
3
  COLLAB_SUBMIT_CHANGESET_URL_KEY,
5
4
  /** @deprecated Will be removed in the 0.2.19 release */
6
- COLLAB_WEB_SOCKET_URL_KEY, HEARTBEAT_INTERVAL_KEY, HEARTBEAT_TIMEOUT_KEY, LOCAL_CACHE_INTERVAL_KEY, LOGIN_URL_KEY, RETRY_CONNECTING_MAX_COUNT_KEY,
5
+ COLLAB_WEB_SOCKET_URL_KEY, HEARTBEAT_INTERVAL_KEY, HEARTBEAT_TIMEOUT_KEY, LOCAL_CACHE_INTERVAL, LOCAL_CACHE_INTERVAL_KEY, LOGIN_URL_KEY, RETRY_CONNECTING_MAX_COUNT_KEY,
7
6
  /** @deprecated Will be removed in the 0.2.19 release */
8
7
  SEND_CHANGESET_TIMEOUT_KEY,
9
8
  /** @deprecated Will be removed in the 0.2.19 release */
@@ -11,28 +10,29 @@ SNAPSHOT_SERVER_URL_KEY,
11
10
  /** @deprecated Will be removed in the 0.2.19 release */
12
11
  SNAPSHOT_URL_KEY, } from './config/config';
13
12
  export { CollaborationController } from './controllers/collaboration/collaboration.controller';
14
- export { CollaborationEntity, DocCollaborationEntity, SheetCollaborationEntity } from './controllers/collaboration/collaboration-entity';
15
- export { CollaborationStatus } from './controllers/collaboration/collaboration-state';
13
+ export { CollaborationEntity, DocCollaborationEntity, type IDocCollaborationEntityCallback, SheetCollaborationEntity } from './controllers/collaboration/collaboration-entity';
14
+ export { AwaitingState, AwaitingWithPendingState, CollaborationStatus, ConflictState, FetchingMissState, OfflineState, PendingState, SyncedState } from './controllers/collaboration/collaboration-state';
16
15
  export { UniverCollaborationClientPlugin } from './plugin';
17
16
  export { CollaborationSessionService } from './services/collaboration-session/collaboration-session.service';
18
17
  export { CollaborationSession, SessionStatus } from './services/collaboration-session/collaboration-session';
19
18
  export type { ICollaborationSocket } from './services/socket/collaboration-socket.service';
20
19
  export { type IUniverCollaborationClientConfig } from './controllers/config.schema';
21
20
  export { CollaborationSocketService, ICollaborationSocketService, } from './services/socket/collaboration-socket.service';
22
- export { LocalCacheService } from './services/local-cache/local-cache.service';
23
- export { IURLService } from './services/url/url.service';
24
- export { WebURLService } from './services/url/web-url.service';
25
- export { DataLoaderController } from './controllers/data-loader/data-loader.controller';
26
- export { DesktopCollaborationStatusDisplayController } from './controllers/collab-status/collab-status.controller';
21
+ export { DataLoaderService } from './services/data-loader/data-loader.service';
27
22
  export { AuthzIoHttpService } from './services/auth-server/authz-io-http.service';
28
23
  /** @deprecated Will be removed in the 0.2.19 release */
29
24
  export { AUTHZ_URL_KEY } from './services/auth-server/authz-io-http.service';
30
25
  export { deserializeToCombResponse, serializeCombRequest } from './services/socket/serialize';
31
- export { CollaborationStatusDisplay } from './views/components/CollabStatus';
32
26
  export { SnapshotServerOverHTTPService } from './services/snapshot-server/snapshot-server.service';
33
27
  export { CommentService } from './services/comment/comment.service';
34
- export { type ISheetCollabCursorShapeProps, SheetCollabCursorShape } from './views/shapes/sheet-collab-cursor.shape';
35
- export { CollabrationImageIoService } from './services/image-remote/image-io.service';
28
+ export { CollaborationImageIoService } from './services/image-remote/image-io.service';
36
29
  export { MemberService } from './services/member/member.service';
37
30
  export { COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY } from './controllers/config.schema';
38
31
  export { MentionIoHttpService } from './services/mention-server/mention-io-http.service';
32
+ export { ISingleActiveUnitService, UnitStatus } from './services/single-active-unit/single-active-unit.service';
33
+ export { CollaborationUIEventId, CollaborationUIEventService } from './services/collaboration-ui-event/collaboration-ui-event';
34
+ export { SheetTransformSelectionsService } from './services/range-selection/sheet-transform-selections.service';
35
+ export { CollaborativeUndoRedoService } from './services/undoredo/collaborative-undoredo.service';
36
+ export { DEFAULT_COLLAB_WEB_SOCKET_URL, DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT, REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY } from './config/config';
37
+ export { getLocalCacheKey, ILocalCacheService, type IUnitCacheData } from './services/local-cache/local-cache.service';
38
+ export { INetworkConditionService } from './services/network-condition/network-condition.service';
@@ -1,18 +1,13 @@
1
1
  import { IUniverCollaborationClientConfig } from './controllers/config.schema';
2
2
  import { IConfigService, ILogService, Injector, Plugin } from '@univerjs/core';
3
- import { IRenderManagerService } from '@univerjs/engine-render';
4
3
  export declare class UniverCollaborationClientPlugin extends Plugin {
5
4
  private readonly _config;
6
5
  private readonly _logService;
7
- private readonly _renderManagerService;
8
6
  protected _injector: Injector;
9
7
  private readonly _configService;
10
8
  static pluginName: string;
11
- constructor(_config: Partial<IUniverCollaborationClientConfig> | undefined, _logService: ILogService, _renderManagerService: IRenderManagerService, _injector: Injector, _configService: IConfigService);
9
+ constructor(_config: Partial<IUniverCollaborationClientConfig> | undefined, _logService: ILogService, _injector: Injector, _configService: IConfigService);
12
10
  onStarting(): void;
13
- onReady(): void;
14
- onRendered(): void;
15
11
  private _registerDependencies;
16
- private _registerRenderDependencies;
17
12
  private _initDependencies;
18
13
  }