@univerjs-pro/collaboration-client 0.5.1-nightly.202412031606 → 0.5.1-nightly.202412051606

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 (68) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/en-US.js +1 -1
  3. package/lib/cjs/locale/fa-IR.js +1 -1
  4. package/lib/cjs/locale/fr-FR.js +1 -1
  5. package/lib/cjs/locale/ru-RU.js +1 -1
  6. package/lib/cjs/locale/vi-VN.js +1 -1
  7. package/lib/cjs/locale/zh-CN.js +1 -1
  8. package/lib/cjs/locale/zh-TW.js +1 -1
  9. package/lib/es/index.js +1 -1
  10. package/lib/es/locale/en-US.js +1 -1
  11. package/lib/es/locale/fa-IR.js +1 -1
  12. package/lib/es/locale/fr-FR.js +1 -1
  13. package/lib/es/locale/ru-RU.js +1 -1
  14. package/lib/es/locale/vi-VN.js +1 -1
  15. package/lib/es/locale/zh-CN.js +1 -1
  16. package/lib/es/locale/zh-TW.js +1 -1
  17. package/lib/index.css +0 -1
  18. package/lib/types/controllers/collaboration/collaboration-entity.d.ts +20 -18
  19. package/lib/types/controllers/collaboration/collaboration-state.d.ts +17 -14
  20. package/lib/types/controllers/collaboration/collaboration.controller.d.ts +1 -0
  21. package/lib/types/index.d.ts +11 -11
  22. package/lib/types/plugin.d.ts +1 -6
  23. package/lib/types/services/collaboration-session/collaboration-session.d.ts +3 -4
  24. package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +3 -3
  25. package/lib/types/services/collaboration-ui-event/collaboration-ui-event.d.ts +19 -0
  26. package/lib/types/services/data-loader/data-loader.service.d.ts +23 -0
  27. package/lib/types/services/image-remote/image-io.service.d.ts +1 -1
  28. package/lib/types/services/local-cache/local-cache.service.d.ts +7 -23
  29. package/lib/types/services/permission/permission.service.d.ts +8 -3
  30. package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +0 -24
  31. package/lib/umd/index.js +1 -1
  32. package/lib/umd/locale/en-US.js +1 -1
  33. package/lib/umd/locale/fa-IR.js +1 -1
  34. package/lib/umd/locale/fr-FR.js +1 -1
  35. package/lib/umd/locale/ru-RU.js +1 -1
  36. package/lib/umd/locale/vi-VN.js +1 -1
  37. package/lib/umd/locale/zh-CN.js +1 -1
  38. package/lib/umd/locale/zh-TW.js +1 -1
  39. package/package.json +8 -17
  40. package/lib/types/controllers/clipboard/docs/image/image-paste.controller.d.ts +0 -9
  41. package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +0 -23
  42. package/lib/types/controllers/collab-cursor/__tests__/serialize-text-ranges.spec.d.ts +0 -1
  43. package/lib/types/controllers/collab-cursor/__tests__/sheet-collab-cursor.controller.spec.d.ts +0 -1
  44. package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +0 -22
  45. package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +0 -38
  46. package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +0 -24
  47. package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +0 -3
  48. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +0 -39
  49. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +0 -21
  50. package/lib/types/controllers/collab-status/collab-status.controller.d.ts +0 -18
  51. package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +0 -4
  52. package/lib/types/controllers/collaboration/__tests__/mock-text-selection-render-manager.service.d.ts +0 -0
  53. package/lib/types/controllers/collaboration/__tests__/mocks.d.ts +0 -58
  54. package/lib/types/controllers/data-loader/__tests__/data-loader.controller.spec.d.ts +0 -1
  55. package/lib/types/controllers/data-loader/data-loader.controller.d.ts +0 -22
  56. package/lib/types/models/cursor.d.ts +0 -30
  57. package/lib/types/services/color-assign/color-assign.service.d.ts +0 -10
  58. package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +0 -13
  59. package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +0 -12
  60. package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +0 -13
  61. package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +0 -8
  62. package/lib/types/services/url/url.service.d.ts +0 -12
  63. package/lib/types/services/url/web-url.service.d.ts +0 -10
  64. package/lib/types/views/components/CollabStatus.d.ts +0 -10
  65. package/lib/types/views/components/CollabStatus.stories.d.ts +0 -8
  66. package/lib/types/views/shapes/doc-collab-cursor.d.ts +0 -27
  67. package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +0 -27
  68. package/lib/types/views/shapes/text-bubble.shape.d.ts +0 -19
@@ -1 +1 @@
1
- const _0x3ca819=_0x8ac9;function _0x190c(){const _0x5583ee=['Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','315dHTjid','49689UOnVmn','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','387153geQMYN','1437544sXJscU','Click\x20to\x20Reconnect','3020XfcoLP','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Authentication\x20Error','Edit\x20conflicts','50970agTsYe','7107864RZIBhT','2244015GgMDCf','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','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.','4oKqhbQ','Local\x20file','4589770KOOSQn'];_0x190c=function(){return _0x5583ee;};return _0x190c();}function _0x8ac9(_0x3f7857,_0x392837){const _0x190cc0=_0x190c();return _0x8ac9=function(_0x8ac96b,_0x9b1162){_0x8ac96b=_0x8ac96b-0x9d;let _0xe07203=_0x190cc0[_0x8ac96b];return _0xe07203;},_0x8ac9(_0x3f7857,_0x392837);}(function(_0x12fec5,_0x4ed1a9){const _0x5a864b=_0x8ac9,_0x33d72a=_0x12fec5();while(!![]){try{const _0x4a8efb=parseInt(_0x5a864b(0x9d))/0x1+parseInt(_0x5a864b(0x9e))/0x2+parseInt(_0x5a864b(0xa6))/0x3+parseInt(_0x5a864b(0xac))/0x4*(-parseInt(_0x5a864b(0xae))/0x5)+-parseInt(_0x5a864b(0xa4))/0x6*(-parseInt(_0x5a864b(0xb3))/0x7)+parseInt(_0x5a864b(0xa5))/0x8+parseInt(_0x5a864b(0xb4))/0x9*(-parseInt(_0x5a864b(0xa0))/0xa);if(_0x4a8efb===_0x4ed1a9)break;else _0x33d72a['push'](_0x33d72a['shift']());}catch(_0x3cb831){_0x33d72a['push'](_0x33d72a['shift']());}}}(_0x190c,0x83b00));const e={'collab-client':{'tooltip':{'reconnect':_0x3ca819(0x9f)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x3ca819(0xa3),'notCollab':_0x3ca819(0xad),'synced':'Synced','syncing':'Syncing...','offline':_0x3ca819(0xb0)},'session':{'connection-failed':_0x3ca819(0xa8),'will-retry':_0x3ca819(0xaf),'room-full':_0x3ca819(0xa1),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x3ca819(0xa7),'collaboration-timeout':_0x3ca819(0xb1)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x3ca819(0xab)},'permission':{'title':_0x3ca819(0xa2),'content':_0x3ca819(0xb5)},'collaboration':{'single-unit':{'warning':_0x3ca819(0xaa)},'closeRoom':_0x3ca819(0xb2)},'auth':{'needGotoLoginAlert':_0x3ca819(0xa9)}};export{e as default};
1
+ function _0x1053(_0x266560,_0x314f07){const _0x202484=_0x2024();return _0x1053=function(_0x1053b4,_0x16455a){_0x1053b4=_0x1053b4-0x1d8;let _0x40d210=_0x202484[_0x1053b4];return _0x40d210;},_0x1053(_0x266560,_0x314f07);}function _0x2024(){const _0x3a9bb1=['2688rfoKJG','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.','66632yEPnkY','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Edit\x20conflicts','3640674vJxJYk','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','18ZPvpoa','107949ehIIut','Connection\x20failed.\x20Please\x20check\x20your\x20network.','16290zaWgwf','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','11840120IWNWae','Syncing...','5217445XvosBx','Collaboration\x20Conflict','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','9djqEDt','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Synced','366796jSFAKk'];_0x2024=function(){return _0x3a9bb1;};return _0x2024();}const _0x2fe2c0=_0x1053;(function(_0x172d42,_0x34adae){const _0xd41dc6=_0x1053,_0xb5cb5d=_0x172d42();while(!![]){try{const _0x2fe4fc=-parseInt(_0xd41dc6(0x1eb))/0x1*(-parseInt(_0xd41dc6(0x1ea))/0x2)+-parseInt(_0xd41dc6(0x1e7))/0x3+parseInt(_0xd41dc6(0x1df))/0x4+parseInt(_0xd41dc6(0x1f1))/0x5+-parseInt(_0xd41dc6(0x1ed))/0x6*(-parseInt(_0xd41dc6(0x1e0))/0x7)+-parseInt(_0xd41dc6(0x1e2))/0x8*(parseInt(_0xd41dc6(0x1da))/0x9)+-parseInt(_0xd41dc6(0x1ef))/0xa;if(_0x2fe4fc===_0x34adae)break;else _0xb5cb5d['push'](_0xb5cb5d['shift']());}catch(_0xaedfdb){_0xb5cb5d['push'](_0xb5cb5d['shift']());}}}(_0x2024,0xb57de));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x2fe2c0(0x1e4),'conflict':_0x2fe2c0(0x1e6),'notCollab':'Local\x20file','synced':_0x2fe2c0(0x1de),'syncing':_0x2fe2c0(0x1f0),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x2fe2c0(0x1ec),'will-retry':_0x2fe2c0(0x1e9),'room-full':_0x2fe2c0(0x1d9),'join-failed':_0x2fe2c0(0x1ee),'room-not-exists':_0x2fe2c0(0x1e5),'room-permission-denied':_0x2fe2c0(0x1e3),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x2fe2c0(0x1e8)},'conflict':{'title':_0x2fe2c0(0x1d8),'content':_0x2fe2c0(0x1e1)},'permission':{'title':'Authentication\x20Error','content':_0x2fe2c0(0x1dd)},'collaboration':{'single-unit':{'warning':_0x2fe2c0(0x1dc)},'closeRoom':_0x2fe2c0(0x1db)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
@@ -1 +1 @@
1
- const _0x495f4f=_0x33af;function _0x33af(_0x3b86b9,_0x1c6325){const _0x3c4d77=_0x3c4d();return _0x33af=function(_0x33af5c,_0x34ff4f){_0x33af5c=_0x33af5c-0x8e;let _0x36653d=_0x3c4d77[_0x33af5c];return _0x36653d;},_0x33af(_0x3b86b9,_0x1c6325);}function _0x3c4d(){const _0x163018=['اتصال\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شد.','316eKvjQF','دسترسی\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رفت.','2536554qGuXze','132PAaHBS','81rTrZJq','خطای\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رفت.','4340994YtvbPJ','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','453986ZXMvgS','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','8679LpiAYn','اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','3FfNuAB','5430IqpdpU','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','5847LehoCM','327972iANCBR','تداخل\x20ویرایش','319184TBvmZS','امتیازات\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کنید.','10qVUDyn'];_0x3c4d=function(){return _0x163018;};return _0x3c4d();}(function(_0x240aee,_0x31804f){const _0x96e20b=_0x33af,_0x46aa3b=_0x240aee();while(!![]){try{const _0x4daaaf=-parseInt(_0x96e20b(0x92))/0x1*(-parseInt(_0x96e20b(0x96))/0x2)+-parseInt(_0x96e20b(0x95))/0x3*(parseInt(_0x96e20b(0xa0))/0x4)+parseInt(_0x96e20b(0x9c))/0x5*(-parseInt(_0x96e20b(0xa3))/0x6)+parseInt(_0x96e20b(0xa8))/0x7+parseInt(_0x96e20b(0x98))/0x8*(parseInt(_0x96e20b(0xa5))/0x9)+parseInt(_0x96e20b(0x93))/0xa*(-parseInt(_0x96e20b(0x90))/0xb)+-parseInt(_0x96e20b(0xa4))/0xc*(-parseInt(_0x96e20b(0x8e))/0xd);if(_0x4daaaf===_0x31804f)break;else _0x46aa3b['push'](_0x46aa3b['shift']());}catch(_0x3711a0){_0x46aa3b['push'](_0x46aa3b['shift']());}}}(_0x3c4d,0x68590));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x495f4f(0x94),'conflict':_0x495f4f(0x97),'notCollab':'پرونده\x20محلی','synced':'همگام\x20سازی','syncing':_0x495f4f(0x9e),'offline':_0x495f4f(0x8f)},'session':{'connection-failed':_0x495f4f(0x91),'will-retry':_0x495f4f(0x9d),'room-full':_0x495f4f(0x9f),'join-failed':'پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-not-exists':'پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-permission-denied':_0x495f4f(0xa1),'room-cnt-exceeds':_0x495f4f(0xa9),'collaboration-timeout':_0x495f4f(0x9a)},'conflict':{'title':'تداخل\x20همکاری','content':_0x495f4f(0xa2)},'permission':{'title':_0x495f4f(0xa6),'content':_0x495f4f(0xa7)},'collaboration':{'single-unit':{'warning':_0x495f4f(0x9b)},'closeRoom':_0x495f4f(0x99)},'auth':{'needGotoLoginAlert':'ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
1
+ const _0x3a26f3=_0x451f;(function(_0x46dd29,_0x457ac9){const _0x169dc2=_0x451f,_0x2e2d57=_0x46dd29();while(!![]){try{const _0x21afac=-parseInt(_0x169dc2(0x97))/0x1*(-parseInt(_0x169dc2(0x9f))/0x2)+-parseInt(_0x169dc2(0xa5))/0x3*(parseInt(_0x169dc2(0xa9))/0x4)+-parseInt(_0x169dc2(0x95))/0x5+-parseInt(_0x169dc2(0xa2))/0x6+-parseInt(_0x169dc2(0xa6))/0x7*(parseInt(_0x169dc2(0xad))/0x8)+parseInt(_0x169dc2(0xa1))/0x9+parseInt(_0x169dc2(0xa3))/0xa;if(_0x21afac===_0x457ac9)break;else _0x2e2d57['push'](_0x2e2d57['shift']());}catch(_0x5f0ccf){_0x2e2d57['push'](_0x2e2d57['shift']());}}}(_0x25f5,0xb4440));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x3a26f3(0x98),'notCollab':_0x3a26f3(0xaf),'synced':_0x3a26f3(0xa0),'syncing':_0x3a26f3(0xae),'offline':_0x3a26f3(0xac)},'session':{'connection-failed':_0x3a26f3(0x9a),'will-retry':_0x3a26f3(0x9c),'room-full':_0x3a26f3(0x9e),'join-failed':_0x3a26f3(0x9b),'room-not-exists':_0x3a26f3(0x99),'room-permission-denied':_0x3a26f3(0x96),'room-cnt-exceeds':_0x3a26f3(0xa4),'collaboration-timeout':_0x3a26f3(0xb0)},'conflict':{'title':_0x3a26f3(0xaa),'content':_0x3a26f3(0xa7)},'permission':{'title':_0x3a26f3(0x9d),'content':'اعمال\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رفت.'},'collaboration':{'single-unit':{'warning':_0x3a26f3(0x94)},'closeRoom':_0x3a26f3(0xa8)},'auth':{'needGotoLoginAlert':_0x3a26f3(0xab)}};function _0x451f(_0x10aeaa,_0x107002){const _0x25f516=_0x25f5();return _0x451f=function(_0x451f77,_0x40654f){_0x451f77=_0x451f77-0x94;let _0x180080=_0x25f516[_0x451f77];return _0x180080;},_0x451f(_0x10aeaa,_0x107002);}export{o as default};function _0x25f5(){const _0x314aa9=['5966868mNgzdn','23739620bIWVqR','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','1468146vUSlMr','1925nQaIwy','یک\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شد.','4yeiqYr','تداخل\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شوند','27560BvFiQR','در\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کنید.','7096875zXfWUw','دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','374587khbIEV','تداخل\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صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','4JDkdyl','همگام\x20سازی','13192578aZvbCc'];_0x25f5=function(){return _0x314aa9;};return _0x25f5();}
@@ -1 +1 @@
1
- function _0x2ea4(){const _0x1af175=['9140UCYlFi','Synced','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Click\x20to\x20Reconnect','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','457090pDrDgj','Edit\x20conflicts','12bzOYgE','Collaboration\x20Conflict','Local\x20file','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...','4gYwcNR','Syncing\x20server\x20data...','3530149VudzKm','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','3AVHPUV','25523663JkygyU','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','4077ukgftE','1371312UoISwT','18jXbQsm','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','359875lUxBBv','1356590gXRxNR'];_0x2ea4=function(){return _0x1af175;};return _0x2ea4();}const _0x449331=_0x345c;(function(_0x5a07f7,_0x55f4b5){const _0x5814ce=_0x345c,_0x31957b=_0x5a07f7();while(!![]){try{const _0x2cf1e7=parseInt(_0x5814ce(0xc9))/0x1+-parseInt(_0x5814ce(0xbf))/0x2*(parseInt(_0x5814ce(0xd4))/0x3)+parseInt(_0x5814ce(0xd0))/0x4*(parseInt(_0x5814ce(0xbe))/0x5)+parseInt(_0x5814ce(0xbb))/0x6*(-parseInt(_0x5814ce(0xd2))/0x7)+-parseInt(_0x5814ce(0xda))/0x8+parseInt(_0x5814ce(0xd9))/0x9*(parseInt(_0x5814ce(0xc0))/0xa)+-parseInt(_0x5814ce(0xd5))/0xb*(-parseInt(_0x5814ce(0xcb))/0xc);if(_0x2cf1e7===_0x55f4b5)break;else _0x31957b['push'](_0x31957b['shift']());}catch(_0x1a3152){_0x31957b['push'](_0x31957b['shift']());}}}(_0x2ea4,0xdbeca));const e={'collab-client':{'tooltip':{'reconnect':_0x449331(0xc5)}},'collabStatus':{'fetchMiss':_0x449331(0xd1),'conflict':_0x449331(0xca),'notCollab':_0x449331(0xcd),'synced':_0x449331(0xc1),'syncing':_0x449331(0xcf),'offline':_0x449331(0xbc)},'session':{'connection-failed':_0x449331(0xd8),'will-retry':_0x449331(0xd7),'room-full':_0x449331(0xc2),'join-failed':_0x449331(0xc7),'room-not-exists':_0x449331(0xc4),'room-permission-denied':_0x449331(0xc3),'room-cnt-exceeds':_0x449331(0xd3),'collaboration-timeout':_0x449331(0xd6)},'conflict':{'title':_0x449331(0xcc),'content':_0x449331(0xce)},'permission':{'title':'Authentication\x20Error','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':_0x449331(0xbd)},'closeRoom':_0x449331(0xc6)},'auth':{'needGotoLoginAlert':_0x449331(0xc8)}},o=e;function _0x345c(_0xcd0c0a,_0x269a99){const _0x2ea4fb=_0x2ea4();return _0x345c=function(_0x345c82,_0x873ac1){_0x345c82=_0x345c82-0xbb;let _0x55f617=_0x2ea4fb[_0x345c82];return _0x55f617;},_0x345c(_0xcd0c0a,_0x269a99);}export{o as default};
1
+ const _0x2af0ac=_0x27ad;(function(_0x2a95d3,_0x4764b1){const _0x162aef=_0x27ad,_0x4f9013=_0x2a95d3();while(!![]){try{const _0x9f3d43=parseInt(_0x162aef(0xc8))/0x1+parseInt(_0x162aef(0xcc))/0x2+parseInt(_0x162aef(0xcb))/0x3+-parseInt(_0x162aef(0xce))/0x4+parseInt(_0x162aef(0xd2))/0x5+parseInt(_0x162aef(0xd8))/0x6+-parseInt(_0x162aef(0xd9))/0x7*(parseInt(_0x162aef(0xd4))/0x8);if(_0x9f3d43===_0x4764b1)break;else _0x4f9013['push'](_0x4f9013['shift']());}catch(_0x553432){_0x4f9013['push'](_0x4f9013['shift']());}}}(_0x2365,0x634eb));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x2af0ac(0xca),'conflict':_0x2af0ac(0xc3),'notCollab':_0x2af0ac(0xcf),'synced':_0x2af0ac(0xc1),'syncing':'Syncing...','offline':_0x2af0ac(0xd3)},'session':{'connection-failed':_0x2af0ac(0xc4),'will-retry':_0x2af0ac(0xbf),'room-full':_0x2af0ac(0xc5),'join-failed':_0x2af0ac(0xd7),'room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':_0x2af0ac(0xd0),'room-cnt-exceeds':_0x2af0ac(0xc2),'collaboration-timeout':_0x2af0ac(0xc9)},'conflict':{'title':_0x2af0ac(0xcd),'content':_0x2af0ac(0xc6)},'permission':{'title':_0x2af0ac(0xc7),'content':_0x2af0ac(0xc0)},'collaboration':{'single-unit':{'warning':_0x2af0ac(0xd1)},'closeRoom':_0x2af0ac(0xd6)},'auth':{'needGotoLoginAlert':_0x2af0ac(0xd5)}},o=e;export{o as default};function _0x27ad(_0xad0bf0,_0x2beac8){const _0x2365c8=_0x2365();return _0x27ad=function(_0x27ada0,_0xf6275){_0x27ada0=_0x27ada0-0xbf;let _0x134227=_0x2365c8[_0x27ada0];return _0x134227;},_0x27ad(_0xad0bf0,_0x2beac8);}function _0x2365(){const _0x4923e5=['4044DvNGtv','6924442ueEPWf','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Synced','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Edit\x20conflicts','Connection\x20failed.\x20Please\x20check\x20your\x20network.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\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.','Authentication\x20Error','396609pQBLBC','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Syncing\x20server\x20data...','934476sSQryq','1452826IvqqcM','Collaboration\x20Conflict','677996IsPvHj','Local\x20file','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','651400vXgIHn','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','8AZYdfo','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x2365=function(){return _0x4923e5;};return _0x2365();}
@@ -1 +1 @@
1
- function _0x3685(){const _0x2a0239=['Authentication\x20Error','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','313xLWyRW','670872haxauL','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Local\x20file','4238wssnTL','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Synced','1921977qHjTLT','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Click\x20to\x20Reconnect','40uyTTPN','2284824PLuinA','Syncing...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Edit\x20conflicts','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','4410162VWnSIp','2590364KOJDKo','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','5415936HJjZdI','Collaboration\x20Conflict'];_0x3685=function(){return _0x2a0239;};return _0x3685();}function _0x1adc(_0x45945e,_0x68dd50){const _0x368512=_0x3685();return _0x1adc=function(_0x1adc7a,_0x42fa4b){_0x1adc7a=_0x1adc7a-0xd2;let _0x4d0a13=_0x368512[_0x1adc7a];return _0x4d0a13;},_0x1adc(_0x45945e,_0x68dd50);}const _0x2c5c05=_0x1adc;(function(_0x5ebb2b,_0x382aa2){const _0xd9a693=_0x1adc,_0x384d70=_0x5ebb2b();while(!![]){try{const _0xce304c=parseInt(_0xd9a693(0xd2))/0x1*(parseInt(_0xd9a693(0xd7))/0x2)+-parseInt(_0xd9a693(0xdc))/0x3+parseInt(_0xd9a693(0xe0))/0x4+parseInt(_0xd9a693(0xdf))/0x5*(parseInt(_0xd9a693(0xd3))/0x6)+parseInt(_0xd9a693(0xe8))/0x7+-parseInt(_0xd9a693(0xea))/0x8+-parseInt(_0xd9a693(0xe7))/0x9;if(_0xce304c===_0x382aa2)break;else _0x384d70['push'](_0x384d70['shift']());}catch(_0x4a2b75){_0x384d70['push'](_0x384d70['shift']());}}}(_0x3685,0xa8c84));const e={'collab-client':{'tooltip':{'reconnect':_0x2c5c05(0xde)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x2c5c05(0xe3),'notCollab':_0x2c5c05(0xd6),'synced':_0x2c5c05(0xdb),'syncing':_0x2c5c05(0xe1),'offline':_0x2c5c05(0xe2)},'session':{'connection-failed':_0x2c5c05(0xd5),'will-retry':_0x2c5c05(0xd4),'room-full':_0x2c5c05(0xe6),'join-failed':_0x2c5c05(0xed),'room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':_0x2c5c05(0xe4),'room-cnt-exceeds':_0x2c5c05(0xe5),'collaboration-timeout':_0x2c5c05(0xd8)},'conflict':{'title':_0x2c5c05(0xeb),'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':_0x2c5c05(0xec),'content':_0x2c5c05(0xe9)},'collaboration':{'single-unit':{'warning':_0x2c5c05(0xdd)},'closeRoom':_0x2c5c05(0xda)},'auth':{'needGotoLoginAlert':_0x2c5c05(0xd9)}},o=e;export{o as default};
1
+ function _0x4c3a(_0x25c0a7,_0x312bf4){const _0x4272fc=_0x4272();return _0x4c3a=function(_0x4c3a5a,_0x1195f0){_0x4c3a5a=_0x4c3a5a-0x1b5;let _0x5d1e7e=_0x4272fc[_0x4c3a5a];return _0x5d1e7e;},_0x4c3a(_0x25c0a7,_0x312bf4);}const _0x244d73=_0x4c3a;(function(_0x38c3f4,_0x5603b1){const _0x161c4d=_0x4c3a,_0x4f7096=_0x38c3f4();while(!![]){try{const _0x62394b=parseInt(_0x161c4d(0x1bb))/0x1*(parseInt(_0x161c4d(0x1c0))/0x2)+parseInt(_0x161c4d(0x1bd))/0x3*(parseInt(_0x161c4d(0x1cd))/0x4)+-parseInt(_0x161c4d(0x1ce))/0x5+-parseInt(_0x161c4d(0x1ca))/0x6+parseInt(_0x161c4d(0x1c1))/0x7*(-parseInt(_0x161c4d(0x1c9))/0x8)+-parseInt(_0x161c4d(0x1c2))/0x9+parseInt(_0x161c4d(0x1b7))/0xa;if(_0x62394b===_0x5603b1)break;else _0x4f7096['push'](_0x4f7096['shift']());}catch(_0x3fd740){_0x4f7096['push'](_0x4f7096['shift']());}}}(_0x4272,0x35701));function _0x4272(){const _0x57c623=['Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','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.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','56yniMRN','167940ckYHzl','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','4Szpzff','856855OrUYUX','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.','Collaboration\x20Conflict','5297270YEntHk','Syncing...','Authentication\x20Error','Syncing\x20server\x20data...','1TFDHrM','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','742749sstjbJ','Edit\x20conflicts','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','43786QZfoeL','146006vinLrr','2114595xaXZuC','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.'];_0x4272=function(){return _0x57c623;};return _0x4272();}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x244d73(0x1ba),'conflict':_0x244d73(0x1be),'notCollab':_0x244d73(0x1cf),'synced':'Synced','syncing':_0x244d73(0x1b8),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x244d73(0x1c4),'room-full':_0x244d73(0x1bc),'join-failed':_0x244d73(0x1c3),'room-not-exists':_0x244d73(0x1cb),'room-permission-denied':_0x244d73(0x1cc),'room-cnt-exceeds':_0x244d73(0x1c7),'collaboration-timeout':_0x244d73(0x1bf)},'conflict':{'title':_0x244d73(0x1b6),'content':_0x244d73(0x1c6)},'permission':{'title':_0x244d73(0x1b9),'content':_0x244d73(0x1b5)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x244d73(0x1c8)},'auth':{'needGotoLoginAlert':_0x244d73(0x1c5)}},o=e;export{o as default};
@@ -1 +1 @@
1
- function _0x3773(_0x1858b8,_0x3bc343){const _0x467069=_0x4670();return _0x3773=function(_0x3773a7,_0x5c98f6){_0x3773a7=_0x3773a7-0x9c;let _0xd27ed5=_0x467069[_0x3773a7];return _0xd27ed5;},_0x3773(_0x1858b8,_0x3bc343);}const _0x4c0fc4=_0x3773;(function(_0x39abc6,_0x516d55){const _0x11c911=_0x3773,_0xe4e689=_0x39abc6();while(!![]){try{const _0xdf3488=-parseInt(_0x11c911(0xa5))/0x1+-parseInt(_0x11c911(0xaf))/0x2*(parseInt(_0x11c911(0xae))/0x3)+-parseInt(_0x11c911(0xb4))/0x4*(parseInt(_0x11c911(0xb0))/0x5)+parseInt(_0x11c911(0xb5))/0x6+parseInt(_0x11c911(0xa6))/0x7+parseInt(_0x11c911(0x9d))/0x8+parseInt(_0x11c911(0xb6))/0x9;if(_0xdf3488===_0x516d55)break;else _0xe4e689['push'](_0xe4e689['shift']());}catch(_0x4052cf){_0xe4e689['push'](_0xe4e689['shift']());}}}(_0x4670,0xe7c92));const e={'collab-client':{'tooltip':{'reconnect':_0x4c0fc4(0xa8)}},'collabStatus':{'fetchMiss':_0x4c0fc4(0xb2),'conflict':'Edit\x20conflicts','notCollab':_0x4c0fc4(0xa7),'synced':_0x4c0fc4(0xa1),'syncing':_0x4c0fc4(0xad),'offline':_0x4c0fc4(0xaa)},'session':{'connection-failed':_0x4c0fc4(0x9c),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0x4c0fc4(0xb3),'join-failed':_0x4c0fc4(0xa0),'room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':_0x4c0fc4(0xac),'room-cnt-exceeds':_0x4c0fc4(0xa4),'collaboration-timeout':_0x4c0fc4(0x9f)},'conflict':{'title':_0x4c0fc4(0x9e),'content':_0x4c0fc4(0xa9)},'permission':{'title':_0x4c0fc4(0xb1),'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':_0x4c0fc4(0xab)},'closeRoom':_0x4c0fc4(0xa2)},'auth':{'needGotoLoginAlert':_0x4c0fc4(0xa3)}},o=e;export{o as default};function _0x4670(){const _0x244975=['Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Synced','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1289226aQsGDM','3201744bpzcTK','Local\x20file','Click\x20to\x20Reconnect','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.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing...','3543ENnmWk','1198cQJANa','11470JDRwrY','Authentication\x20Error','Syncing\x20server\x20data...','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','3212Bmzygd','2462424zAAsQY','24713397YDGlJA','Connection\x20failed.\x20Please\x20check\x20your\x20network.','9395136AWkwne','Collaboration\x20Conflict','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'];_0x4670=function(){return _0x244975;};return _0x4670();}
1
+ const _0x459faa=_0x2302;(function(_0x5763fb,_0x4a2d8a){const _0x357447=_0x2302,_0x47060f=_0x5763fb();while(!![]){try{const _0x4f4cf5=parseInt(_0x357447(0x172))/0x1+parseInt(_0x357447(0x166))/0x2*(parseInt(_0x357447(0x162))/0x3)+-parseInt(_0x357447(0x16c))/0x4*(-parseInt(_0x357447(0x167))/0x5)+parseInt(_0x357447(0x160))/0x6+parseInt(_0x357447(0x177))/0x7*(-parseInt(_0x357447(0x176))/0x8)+-parseInt(_0x357447(0x175))/0x9+-parseInt(_0x357447(0x164))/0xa;if(_0x4f4cf5===_0x4a2d8a)break;else _0x47060f['push'](_0x47060f['shift']());}catch(_0x594389){_0x47060f['push'](_0x47060f['shift']());}}}(_0x2b20,0x39fca));const e={'collab-client':{'tooltip':{'reconnect':_0x459faa(0x161)}},'collabStatus':{'fetchMiss':_0x459faa(0x15f),'conflict':'Edit\x20conflicts','notCollab':_0x459faa(0x169),'synced':_0x459faa(0x168),'syncing':_0x459faa(0x163),'offline':_0x459faa(0x16b)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x459faa(0x173),'room-full':_0x459faa(0x170),'join-failed':_0x459faa(0x178),'room-not-exists':_0x459faa(0x15d),'room-permission-denied':_0x459faa(0x15e),'room-cnt-exceeds':_0x459faa(0x165),'collaboration-timeout':_0x459faa(0x179)},'conflict':{'title':_0x459faa(0x16a),'content':_0x459faa(0x16d)},'permission':{'title':_0x459faa(0x16f),'content':_0x459faa(0x16e)},'collaboration':{'single-unit':{'warning':_0x459faa(0x174)},'closeRoom':_0x459faa(0x171)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;function _0x2302(_0x5886f6,_0x1f76a0){const _0x2b20df=_0x2b20();return _0x2302=function(_0x23024a,_0x74a15c){_0x23024a=_0x23024a-0x15d;let _0x5e0c10=_0x2b20df[_0x23024a];return _0x5e0c10;},_0x2302(_0x5886f6,_0x1f76a0);}function _0x2b20(){const _0x525a59=['68728pdikCh','245zjnwxi','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','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.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','2810424bAqhMB','Click\x20to\x20Reconnect','93nFegDA','Syncing...','1465320TGPDZO','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','10130iQCXWW','283675kIRtHP','Synced','Local\x20file','Collaboration\x20Conflict','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','28vGEafs','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.','Authentication\x20Error','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','72040cDQKuV','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','3688857KhcyTC'];_0x2b20=function(){return _0x525a59;};return _0x2b20();}export{o as default};
@@ -1 +1 @@
1
- const _0x85f166=_0x4630;function _0x4630(_0x2f1f31,_0x64c287){const _0x1d13e7=_0x1d13();return _0x4630=function(_0x463093,_0x23c4b4){_0x463093=_0x463093-0xb0;let _0x4ff5f9=_0x1d13e7[_0x463093];return _0x4ff5f9;},_0x4630(_0x2f1f31,_0x64c287);}(function(_0x191790,_0x197a46){const _0x5035dd=_0x4630,_0x413bad=_0x191790();while(!![]){try{const _0xc0808=parseInt(_0x5035dd(0xc4))/0x1+parseInt(_0x5035dd(0xba))/0x2+parseInt(_0x5035dd(0xc2))/0x3*(-parseInt(_0x5035dd(0xb4))/0x4)+-parseInt(_0x5035dd(0xbb))/0x5*(parseInt(_0x5035dd(0xb3))/0x6)+parseInt(_0x5035dd(0xbd))/0x7*(parseInt(_0x5035dd(0xca))/0x8)+-parseInt(_0x5035dd(0xc3))/0x9*(parseInt(_0x5035dd(0xc9))/0xa)+parseInt(_0x5035dd(0xb0))/0xb;if(_0xc0808===_0x197a46)break;else _0x413bad['push'](_0x413bad['shift']());}catch(_0x45a473){_0x413bad['push'](_0x413bad['shift']());}}}(_0x1d13,0xc9f71));function _0x1d13(){const _0x35b0b6=['700TbpNXJ','权限错误','连接失败,将在一会儿之后重试连接','由于协同房间被关闭,编辑权限被收回。','加入协同失败,请稍后重试,你的编辑将在本地缓存','141CMaPRl','1359JaIRKn','318821JfkJcr','此文档协同人数已满,你的编辑将在本地缓存','点击重新连接','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','协同文档数量超过限制,你的编辑将在本地缓存','4670ATLSUY','7432QsAyPa','协同冲突','已同步','12819840Fftsvt','保存中...','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','10314ZIIaDZ','28156fnhBlX','正在拉取服务端数据...','本地文件','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','加入协同失败,你的编辑将在本地缓存','服务器未响应,你的编辑将在本地缓存','2256118tRfRtf','4295dOTtSh','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。'];_0x1d13=function(){return _0x35b0b6;};return _0x1d13();}const o={'collab-client':{'tooltip':{'reconnect':_0x85f166(0xc6)}},'collabStatus':{'fetchMiss':_0x85f166(0xb5),'conflict':'编辑冲突','notCollab':_0x85f166(0xb6),'synced':_0x85f166(0xcc),'syncing':_0x85f166(0xb1),'offline':'已离线,编辑将在本地缓存'},'session':{'connection-failed':'连接失败,请检查你的网络','will-retry':_0x85f166(0xbf),'room-full':_0x85f166(0xc5),'join-failed':_0x85f166(0xc1),'room-not-exists':_0x85f166(0xb8),'room-permission-denied':'没有协同权限,你的编辑将在本地缓存','room-cnt-exceeds':_0x85f166(0xc8),'collaboration-timeout':_0x85f166(0xb9)},'conflict':{'title':_0x85f166(0xcb),'content':_0x85f166(0xb7)},'permission':{'title':_0x85f166(0xbe),'content':_0x85f166(0xb2)},'collaboration':{'single-unit':{'warning':_0x85f166(0xbc)},'closeRoom':_0x85f166(0xc0)},'auth':{'needGotoLoginAlert':_0x85f166(0xc7)}};export{o as default};
1
+ function _0x4e3c(){const _0x4333e0=['24451dbaxyT','已离线,编辑将在本地缓存','保存中...','2751462nlIxzU','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','6SziOJu','1453962xXCrch','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','连接失败,将在一会儿之后重试连接','服务器未响应,你的编辑将在本地缓存','连接失败,请检查你的网络','由于协同房间被关闭,编辑权限被收回。','没有协同权限,你的编辑将在本地缓存','正在拉取服务端数据...','编辑冲突','896196ZYRRFa','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','加入协同失败,你的编辑将在本地缓存','已同步','此文档协同人数已满,你的编辑将在本地缓存','本地文件','1126365hhNwLN','10royIwe','1112LNJbRn','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','9580810dlfBAw','47391PmXbMb'];_0x4e3c=function(){return _0x4333e0;};return _0x4e3c();}const _0x47bbc1=_0x36e2;(function(_0x2d8e43,_0xad3756){const _0x17a2db=_0x36e2,_0x43286a=_0x2d8e43();while(!![]){try{const _0x3a3db3=parseInt(_0x17a2db(0x138))/0x1*(parseInt(_0x17a2db(0x13e))/0x2)+-parseInt(_0x17a2db(0x133))/0x3+parseInt(_0x17a2db(0x12d))/0x4+-parseInt(_0x17a2db(0x134))/0x5*(parseInt(_0x17a2db(0x13f))/0x6)+parseInt(_0x17a2db(0x139))/0x7*(-parseInt(_0x17a2db(0x135))/0x8)+parseInt(_0x17a2db(0x13c))/0x9+parseInt(_0x17a2db(0x137))/0xa;if(_0x3a3db3===_0xad3756)break;else _0x43286a['push'](_0x43286a['shift']());}catch(_0x3668bf){_0x43286a['push'](_0x43286a['shift']());}}}(_0x4e3c,0x456e1));const o={'collab-client':{'tooltip':{'reconnect':'点击重新连接'}},'collabStatus':{'fetchMiss':_0x47bbc1(0x12b),'conflict':_0x47bbc1(0x12c),'notCollab':_0x47bbc1(0x132),'synced':_0x47bbc1(0x130),'syncing':_0x47bbc1(0x13b),'offline':_0x47bbc1(0x13a)},'session':{'connection-failed':_0x47bbc1(0x128),'will-retry':_0x47bbc1(0x126),'room-full':_0x47bbc1(0x131),'join-failed':'加入协同失败,请稍后重试,你的编辑将在本地缓存','room-not-exists':_0x47bbc1(0x12f),'room-permission-denied':_0x47bbc1(0x12a),'room-cnt-exceeds':'协同文档数量超过限制,你的编辑将在本地缓存','collaboration-timeout':_0x47bbc1(0x127)},'conflict':{'title':'协同冲突','content':_0x47bbc1(0x140)},'permission':{'title':'权限错误','content':_0x47bbc1(0x12e)},'collaboration':{'single-unit':{'warning':_0x47bbc1(0x136)},'closeRoom':_0x47bbc1(0x129)},'auth':{'needGotoLoginAlert':_0x47bbc1(0x13d)}};function _0x36e2(_0x443eb7,_0x1b6ee9){const _0x4e3c3e=_0x4e3c();return _0x36e2=function(_0x36e2d5,_0x3f6894){_0x36e2d5=_0x36e2d5-0x126;let _0x2f5142=_0x4e3c3e[_0x36e2d5];return _0x2f5142;},_0x36e2(_0x443eb7,_0x1b6ee9);}export{o as default};
@@ -1 +1 @@
1
- const _0x204214=_0x447b;function _0x4bac(){const _0x4f9902=['495XmzIdE','Collaboration\x20Conflict','1668kPALqx','3114hUZzoE','20536eVNwKZ','Authentication\x20Error','20532480MvYkjN','Local\x20file','6140850FtIixI','1000601GKsLez','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Syncing...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Click\x20to\x20Reconnect','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\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.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Synced','Edit\x20conflicts','19644BhPRaH','Connection\x20failed.\x20Please\x20check\x20your\x20network.','78PaWHxw','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1052807KEOsLN'];_0x4bac=function(){return _0x4f9902;};return _0x4bac();}(function(_0x97a211,_0x3d7190){const _0x254a3e=_0x447b,_0x1d1db9=_0x97a211();while(!![]){try{const _0x1bf11b=parseInt(_0x254a3e(0x9f))/0x1+-parseInt(_0x254a3e(0x91))/0x2*(parseInt(_0x254a3e(0x93))/0x3)+parseInt(_0x254a3e(0x98))/0x4*(-parseInt(_0x254a3e(0x96))/0x5)+-parseInt(_0x254a3e(0x9e))/0x6+-parseInt(_0x254a3e(0x95))/0x7+parseInt(_0x254a3e(0x9a))/0x8*(-parseInt(_0x254a3e(0x99))/0x9)+parseInt(_0x254a3e(0x9c))/0xa;if(_0x1bf11b===_0x3d7190)break;else _0x1d1db9['push'](_0x1d1db9['shift']());}catch(_0x5786fa){_0x1d1db9['push'](_0x1d1db9['shift']());}}}(_0x4bac,0xa9b60));function _0x447b(_0x4125bc,_0x40f61f){const _0x4bacae=_0x4bac();return _0x447b=function(_0x447b4b,_0x1c45c8){_0x447b4b=_0x447b4b-0x8f;let _0x2d3477=_0x4bacae[_0x447b4b];return _0x2d3477;},_0x447b(_0x4125bc,_0x40f61f);}const e={'collab-client':{'tooltip':{'reconnect':_0x204214(0xa5)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x204214(0x90),'notCollab':_0x204214(0x9d),'synced':_0x204214(0x8f),'syncing':_0x204214(0xa2),'offline':_0x204214(0xa3)},'session':{'connection-failed':_0x204214(0x92),'will-retry':_0x204214(0xa6),'room-full':_0x204214(0xaa),'join-failed':_0x204214(0x94),'room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x204214(0xa8),'collaboration-timeout':_0x204214(0xa1)},'conflict':{'title':_0x204214(0x97),'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':_0x204214(0x9b),'content':_0x204214(0xa9)},'collaboration':{'single-unit':{'warning':_0x204214(0xa0)},'closeRoom':_0x204214(0xa7)},'auth':{'needGotoLoginAlert':_0x204214(0xa4)}},o=e;export{o as default};
1
+ const _0x11db97=_0x38b3;(function(_0x101d1a,_0xcbb681){const _0x3fc35f=_0x38b3,_0x51bc5a=_0x101d1a();while(!![]){try{const _0x3c49e1=parseInt(_0x3fc35f(0xb3))/0x1+-parseInt(_0x3fc35f(0xbe))/0x2*(parseInt(_0x3fc35f(0xbf))/0x3)+-parseInt(_0x3fc35f(0xaf))/0x4*(parseInt(_0x3fc35f(0xbc))/0x5)+-parseInt(_0x3fc35f(0xbd))/0x6*(parseInt(_0x3fc35f(0xac))/0x7)+-parseInt(_0x3fc35f(0xb1))/0x8*(-parseInt(_0x3fc35f(0xae))/0x9)+parseInt(_0x3fc35f(0xb8))/0xa+parseInt(_0x3fc35f(0xb0))/0xb;if(_0x3c49e1===_0xcbb681)break;else _0x51bc5a['push'](_0x51bc5a['shift']());}catch(_0x5e599b){_0x51bc5a['push'](_0x51bc5a['shift']());}}}(_0x1e53,0x25fbc));const e={'collab-client':{'tooltip':{'reconnect':_0x11db97(0xc3)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x11db97(0xc4),'notCollab':_0x11db97(0xc6),'synced':_0x11db97(0xb4),'syncing':_0x11db97(0xc1),'offline':_0x11db97(0xc5)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x11db97(0xb7),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x11db97(0xc7),'room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':_0x11db97(0xba),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x11db97(0xc2)},'conflict':{'title':_0x11db97(0xc0),'content':_0x11db97(0xb6)},'permission':{'title':_0x11db97(0xbb),'content':_0x11db97(0xad)},'collaboration':{'single-unit':{'warning':_0x11db97(0xb9)},'closeRoom':_0x11db97(0xb2)},'auth':{'needGotoLoginAlert':_0x11db97(0xb5)}},o=e;export{o as default};function _0x38b3(_0x2521f7,_0x5f38e0){const _0x1e535e=_0x1e53();return _0x38b3=function(_0x38b368,_0x301cf9){_0x38b368=_0x38b368-0xac;let _0x5d4aa7=_0x1e535e[_0x38b368];return _0x5d4aa7;},_0x38b3(_0x2521f7,_0x5f38e0);}function _0x1e53(){const _0x43037d=['220952uzCnXC','6oatTiT','Collaboration\x20Conflict','Syncing...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Click\x20to\x20Reconnect','Edit\x20conflicts','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Local\x20file','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','7LBTqhv','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','2416374MydCTM','8syKZii','198836Zzoacg','8QQqvyH','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','138627xllfoR','Synced','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','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.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','2693930meEbOZ','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Authentication\x20Error','630640ESjxPG','394764VgvJyK'];_0x1e53=function(){return _0x43037d;};return _0x1e53();}
package/lib/index.css CHANGED
@@ -1 +0,0 @@
1
- .univer-online-status-icon{display:flex;margin-right:8px;font-size:20px}.univer-online-status-title{font-size:14px;line-height:32px;color:rgb(var(--grey-600))}.univer-online-status.univer-online .univer-online-status-icon{color:rgb(var(--green-500))}.univer-online-status.univer-offline .univer-online-status-icon{color:rgb(var(--red-500))}
@@ -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;
@@ -149,7 +149,7 @@ export declare class PendingState extends CollaborationState {
149
149
  readonly status = CollaborationStatus.PENDING;
150
150
  private _scheduleTimestamp;
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,6 +8,7 @@ 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>;
@@ -3,7 +3,7 @@ export {
3
3
  /** @deprecated Will be removed in the 0.2.19 release */
4
4
  COLLAB_SUBMIT_CHANGESET_URL_KEY,
5
5
  /** @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,
6
+ 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
7
  /** @deprecated Will be removed in the 0.2.19 release */
8
8
  SEND_CHANGESET_TIMEOUT_KEY,
9
9
  /** @deprecated Will be removed in the 0.2.19 release */
@@ -11,28 +11,28 @@ SNAPSHOT_SERVER_URL_KEY,
11
11
  /** @deprecated Will be removed in the 0.2.19 release */
12
12
  SNAPSHOT_URL_KEY, } from './config/config';
13
13
  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';
14
+ export { CollaborationEntity, DocCollaborationEntity, type IDocCollaborationEntityCallback, SheetCollaborationEntity } from './controllers/collaboration/collaboration-entity';
15
+ export { AwaitingState, AwaitingWithPendingState, CollaborationStatus, ConflictState, FetchingMissState, OfflineState, PendingState, SyncedState } from './controllers/collaboration/collaboration-state';
16
16
  export { UniverCollaborationClientPlugin } from './plugin';
17
17
  export { CollaborationSessionService } from './services/collaboration-session/collaboration-session.service';
18
18
  export { CollaborationSession, SessionStatus } from './services/collaboration-session/collaboration-session';
19
19
  export type { ICollaborationSocket } from './services/socket/collaboration-socket.service';
20
20
  export { type IUniverCollaborationClientConfig } from './controllers/config.schema';
21
21
  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';
22
+ export { DataLoaderService } from './services/data-loader/data-loader.service';
27
23
  export { AuthzIoHttpService } from './services/auth-server/authz-io-http.service';
28
24
  /** @deprecated Will be removed in the 0.2.19 release */
29
25
  export { AUTHZ_URL_KEY } from './services/auth-server/authz-io-http.service';
30
26
  export { deserializeToCombResponse, serializeCombRequest } from './services/socket/serialize';
31
- export { CollaborationStatusDisplay } from './views/components/CollabStatus';
32
27
  export { SnapshotServerOverHTTPService } from './services/snapshot-server/snapshot-server.service';
33
28
  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';
29
+ export { CollaborationImageIoService } from './services/image-remote/image-io.service';
36
30
  export { MemberService } from './services/member/member.service';
37
31
  export { COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY } from './controllers/config.schema';
38
32
  export { MentionIoHttpService } from './services/mention-server/mention-io-http.service';
33
+ export { ISingleActiveUnitService, UnitStatus } from './services/single-active-unit/single-active-unit.service';
34
+ export { CollaborationUIEventId, CollaborationUIEventService } from './services/collaboration-ui-event/collaboration-ui-event';
35
+ export { SheetTransformSelectionsService } from './services/range-selection/sheet-transform-selections.service';
36
+ export { CollaborativeUndoRedoService } from './services/undoredo/collaborative-undoredo.service';
37
+ export { DEFAULT_COLLAB_WEB_SOCKET_URL } from './config/config';
38
+ export { getLocalCacheKey, ILocalCacheService, type IUnitCacheData } from './services/local-cache/local-cache.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
  }
@@ -3,9 +3,9 @@ import { ICollaborationEvent } from '@univerjs-pro/collaboration';
3
3
  import { Observable } from 'rxjs';
4
4
  import { ICollaborationSocket } from '../socket/collaboration-socket.service';
5
5
  import { ITelemetryService } from '@univerjs/telemetry';
6
- import { IBeforeCloseService, IMessageService } from '@univerjs/ui';
7
6
  import { CommentService } from '../comment/comment.service';
8
7
  import { MemberService } from '../member/member.service';
8
+ import { CollaborationUIEventService } from '../collaboration-ui-event/collaboration-ui-event';
9
9
  export declare enum SessionStatus {
10
10
  IDLE = 0,
11
11
  JOINING = 1,
@@ -27,12 +27,11 @@ export declare const FailedReason: {
27
27
  export declare class CollaborationSession extends RxDisposable implements IDisposable {
28
28
  private readonly _unitID;
29
29
  private readonly _logService;
30
- private readonly _beforeCloseService;
31
- private readonly _messageService;
32
30
  private readonly _configService;
33
31
  private readonly _localeService;
34
32
  private readonly _memberService;
35
33
  private readonly _commentService;
34
+ private readonly _collaborationUIEventService;
36
35
  private readonly _telemetryService?;
37
36
  private readonly _sessionStatus$;
38
37
  readonly sessionStatus$: Observable<SessionStatus>;
@@ -41,7 +40,7 @@ export declare class CollaborationSession extends RxDisposable implements IDispo
41
40
  readonly event$: Observable<ICollaborationEvent>;
42
41
  private _socket;
43
42
  private _socketMessageSubscription;
44
- constructor(_unitID: string, socket$: Observable<Nullable<ICollaborationSocket>>, _logService: ILogService, _beforeCloseService: IBeforeCloseService, _messageService: IMessageService, _configService: IConfigService, _localeService: LocaleService, _memberService: MemberService, _commentService: CommentService, _telemetryService?: ITelemetryService | undefined);
43
+ constructor(_unitID: string, socket$: Observable<Nullable<ICollaborationSocket>>, _logService: ILogService, _configService: IConfigService, _localeService: LocaleService, _memberService: MemberService, _commentService: CommentService, _collaborationUIEventService: CollaborationUIEventService, _telemetryService?: ITelemetryService | undefined);
45
44
  getMemberID(): string | null;
46
45
  dispose(): void;
47
46
  close(): void;
@@ -1,8 +1,8 @@
1
1
  import { Nullable, Disposable, IConfigService, ILogService, Injector, LocaleService } from '@univerjs/core';
2
2
  import { ICollaborationSocket, ICollaborationSocketService } from '../socket/collaboration-socket.service';
3
3
  import { HTTPService } from '@univerjs/network';
4
- import { IMessageService } from '@univerjs/ui';
5
4
  import { CollaborationSession, SessionStatus } from './collaboration-session';
5
+ import { CollaborationUIEventService } from '../collaboration-ui-event/collaboration-ui-event';
6
6
  /**
7
7
  * This service provide collaboration sessions to univer instances. A collaboration session
8
8
  * may be used by different controllers of different features.
@@ -10,11 +10,11 @@ import { CollaborationSession, SessionStatus } from './collaboration-session';
10
10
  export declare class CollaborationSessionService extends Disposable {
11
11
  private readonly _injector;
12
12
  private readonly _localeService;
13
- private readonly _messageService;
14
13
  private readonly _logService;
15
14
  private readonly _configService;
16
15
  private readonly _socketService;
17
16
  private readonly _httpService;
17
+ private readonly _collaborationUIEventService;
18
18
  /**
19
19
  * Socket for collaboration sessions. Session are by unitID but the socket is share by collaboration sessions.
20
20
  */
@@ -28,7 +28,7 @@ export declare class CollaborationSessionService extends Disposable {
28
28
  private _socketReady;
29
29
  private _retryConnectingTimer;
30
30
  private _retryCount;
31
- constructor(_injector: Injector, _localeService: LocaleService, _messageService: IMessageService, _logService: ILogService, _configService: IConfigService, _socketService: ICollaborationSocketService, _httpService: HTTPService);
31
+ constructor(_injector: Injector, _localeService: LocaleService, _logService: ILogService, _configService: IConfigService, _socketService: ICollaborationSocketService, _httpService: HTTPService, _collaborationUIEventService: CollaborationUIEventService);
32
32
  private _initEventListeners;
33
33
  dispose(): void;
34
34
  /**