@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
- (function(_0x237a2d,_0x9fd139){var _0x5828a1=_0x2566,_0x556fff=_0x237a2d();while(!![]){try{var _0x528b4b=-parseInt(_0x5828a1(0x1e8))/0x1*(-parseInt(_0x5828a1(0x1f9))/0x2)+-parseInt(_0x5828a1(0x1df))/0x3*(parseInt(_0x5828a1(0x1f7))/0x4)+parseInt(_0x5828a1(0x1f8))/0x5*(parseInt(_0x5828a1(0x1f1))/0x6)+parseInt(_0x5828a1(0x1e1))/0x7*(parseInt(_0x5828a1(0x1ef))/0x8)+parseInt(_0x5828a1(0x1e9))/0x9*(parseInt(_0x5828a1(0x1f3))/0xa)+-parseInt(_0x5828a1(0x1dd))/0xb*(parseInt(_0x5828a1(0x1f2))/0xc)+-parseInt(_0x5828a1(0x1de))/0xd*(parseInt(_0x5828a1(0x1fb))/0xe);if(_0x528b4b===_0x9fd139)break;else _0x556fff['push'](_0x556fff['shift']());}catch(_0x2202fe){_0x556fff['push'](_0x556fff['shift']());}}}(_0x318f,0x99025),function(_0x310bde,_0x127938){var _0x1ae90f=_0x2566;typeof exports==_0x1ae90f(0x1e2)&&typeof module<'u'?module[_0x1ae90f(0x1ea)]=_0x127938():typeof define==_0x1ae90f(0x1f5)&&define[_0x1ae90f(0x1f4)]?define(_0x127938):(_0x310bde=typeof globalThis<'u'?globalThis:_0x310bde||self,_0x310bde[_0x1ae90f(0x1eb)]=_0x127938());}(this,function(){'use strict';var _0x28cbf1=_0x2566;return{'collab-client':{'tooltip':{'reconnect':_0x28cbf1(0x1ed)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x28cbf1(0x1fa),'notCollab':_0x28cbf1(0x1fc),'synced':_0x28cbf1(0x1fd),'syncing':_0x28cbf1(0x1dc),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x28cbf1(0x1ec),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0x28cbf1(0x1e0),'join-failed':_0x28cbf1(0x1e5),'room-not-exists':_0x28cbf1(0x1e6),'room-permission-denied':_0x28cbf1(0x1f6),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'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':_0x28cbf1(0x1ee),'content':_0x28cbf1(0x1e7)},'collaboration':{'single-unit':{'warning':_0x28cbf1(0x1f0)},'closeRoom':_0x28cbf1(0x1e3)},'auth':{'needGotoLoginAlert':_0x28cbf1(0x1e4)}};}));function _0x2566(_0x431182,_0x410869){var _0x318fae=_0x318f();return _0x2566=function(_0x25664a,_0x3bf34b){_0x25664a=_0x25664a-0x1dc;var _0x6e4f2f=_0x318fae[_0x25664a];return _0x6e4f2f;},_0x2566(_0x431182,_0x410869);}function _0x318f(){var _0x1c7712=['No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','4nOVyOx','225PxLCHR','758578xmVtWQ','Edit\x20conflicts','2017190WVdAPm','Local\x20file','Synced','Syncing...','1672hJZapD','26ckxRkP','666087CKekvA','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','7ChIGDp','object','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.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\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.','3khkXDI','4154769jbacEP','exports','UniverProCollaborationClientEnUS','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Click\x20to\x20Reconnect','Authentication\x20Error','3669232EZhSFe','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','5436YxVuwL','75948MMtWnf','10PCrgUQ','amd','function'];_0x318f=function(){return _0x1c7712;};return _0x318f();}
1
+ function _0xf3b8(_0x1ea8fa,_0x452641){var _0x2a38a7=_0x2a38();return _0xf3b8=function(_0xf3b8dc,_0x50eeb1){_0xf3b8dc=_0xf3b8dc-0x15e;var _0x1fe670=_0x2a38a7[_0xf3b8dc];return _0x1fe670;},_0xf3b8(_0x1ea8fa,_0x452641);}(function(_0x49838f,_0x5aaeb6){var _0x3e1cae=_0xf3b8,_0x414466=_0x49838f();while(!![]){try{var _0x12069d=-parseInt(_0x3e1cae(0x177))/0x1*(-parseInt(_0x3e1cae(0x172))/0x2)+-parseInt(_0x3e1cae(0x16a))/0x3*(-parseInt(_0x3e1cae(0x173))/0x4)+parseInt(_0x3e1cae(0x164))/0x5*(-parseInt(_0x3e1cae(0x17c))/0x6)+parseInt(_0x3e1cae(0x17d))/0x7*(-parseInt(_0x3e1cae(0x16f))/0x8)+-parseInt(_0x3e1cae(0x179))/0x9+-parseInt(_0x3e1cae(0x171))/0xa+parseInt(_0x3e1cae(0x170))/0xb*(parseInt(_0x3e1cae(0x15f))/0xc);if(_0x12069d===_0x5aaeb6)break;else _0x414466['push'](_0x414466['shift']());}catch(_0x5c507c){_0x414466['push'](_0x414466['shift']());}}}(_0x2a38,0x322dd),function(_0x4b4930,_0x55ef63){var _0x501aed=_0xf3b8;typeof exports==_0x501aed(0x16c)&&typeof module<'u'?module[_0x501aed(0x176)]=_0x55ef63():typeof define==_0x501aed(0x16d)&&define[_0x501aed(0x166)]?define(_0x55ef63):(_0x4b4930=typeof globalThis<'u'?globalThis:_0x4b4930||self,_0x4b4930[_0x501aed(0x161)]=_0x55ef63());}(this,function(){'use strict';var _0x28f67b=_0xf3b8;return{'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x28f67b(0x17b),'conflict':_0x28f67b(0x169),'notCollab':_0x28f67b(0x16e),'synced':_0x28f67b(0x168),'syncing':_0x28f67b(0x178),'offline':_0x28f67b(0x17a)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x28f67b(0x175),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x28f67b(0x15e),'room-not-exists':_0x28f67b(0x167),'room-permission-denied':_0x28f67b(0x16b),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x28f67b(0x165)},'conflict':{'title':_0x28f67b(0x160),'content':_0x28f67b(0x174)},'permission':{'title':_0x28f67b(0x162),'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':'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':_0x28f67b(0x163)}};}));function _0x2a38(){var _0x53a4db=['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.','exports','221522QcDonx','Syncing...','1663308DxNUqu','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing\x20server\x20data...','2175402rsfDRF','7nKnbEC','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','12dtauwI','Collaboration\x20Conflict','UniverProCollaborationClientEnUS','Authentication\x20Error','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','5zsKQfX','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','amd','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Synced','Edit\x20conflicts','122154bpLaFb','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','object','function','Local\x20file','1040168aaqAUD','6991688MWYZeD','2999410JonzDB','2lAGhaO','32GwJgQm'];_0x2a38=function(){return _0x53a4db;};return _0x2a38();}
@@ -1 +1 @@
1
- function _0x20e9(_0x450f82,_0x371bc5){var _0x94b637=_0x94b6();return _0x20e9=function(_0x20e977,_0x7a4eea){_0x20e977=_0x20e977-0x1bd;var _0x43cc8a=_0x94b637[_0x20e977];return _0x43cc8a;},_0x20e9(_0x450f82,_0x371bc5);}function _0x94b6(){var _0x35821f=['در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','1164EGHFJU','تداخل\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رفت.','amd','258257pdNqax','اعمال\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شد.','220TtxpWR','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','function','1908008eamVwu','1762443ZgNIZM','دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','در\x20حال\x20همگام\x20سازی...','278547JXzauj','8600472iNPSiJ','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','exports','شما\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کنید.','9999332XUKgyN','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','object','سرور\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شد.','7710mZYvnq','4HjjuDc'];_0x94b6=function(){return _0x35821f;};return _0x94b6();}(function(_0x37b846,_0x59744d){var _0x2e78bd=_0x20e9,_0x4a9ec3=_0x37b846();while(!![]){try{var _0x4414a0=-parseInt(_0x2e78bd(0x1bd))/0x1+parseInt(_0x2e78bd(0x1d5))/0x2*(-parseInt(_0x2e78bd(0x1c9))/0x3)+parseInt(_0x2e78bd(0x1d7))/0x4*(-parseInt(_0x2e78bd(0x1d4))/0x5)+-parseInt(_0x2e78bd(0x1ca))/0x6+-parseInt(_0x2e78bd(0x1cf))/0x7+parseInt(_0x2e78bd(0x1c5))/0x8+-parseInt(_0x2e78bd(0x1c6))/0x9*(-parseInt(_0x2e78bd(0x1c2))/0xa);if(_0x4414a0===_0x59744d)break;else _0x4a9ec3['push'](_0x4a9ec3['shift']());}catch(_0x2af7de){_0x4a9ec3['push'](_0x4a9ec3['shift']());}}}(_0x94b6,0xc1642),function(_0x4e734c,_0x8ca521){var _0x42f268=_0x20e9;typeof exports==_0x42f268(0x1d1)&&typeof module<'u'?module[_0x42f268(0x1cc)]=_0x8ca521():typeof define==_0x42f268(0x1c4)&&define[_0x42f268(0x1dd)]?define(_0x8ca521):(_0x4e734c=typeof globalThis<'u'?globalThis:_0x4e734c||self,_0x4e734c['UniverProCollaborationClientFaIR']=_0x8ca521());}(this,function(){'use strict';var _0x517716=_0x20e9;return{'collab-client':{'tooltip':{'reconnect':_0x517716(0x1c3)}},'collabStatus':{'fetchMiss':_0x517716(0x1d6),'conflict':_0x517716(0x1d8),'notCollab':_0x517716(0x1da),'synced':'همگام\x20سازی','syncing':_0x517716(0x1c8),'offline':_0x517716(0x1d9)},'session':{'connection-failed':_0x517716(0x1ce),'will-retry':_0x517716(0x1bf),'room-full':_0x517716(0x1d3),'join-failed':'پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-not-exists':_0x517716(0x1c1),'room-permission-denied':_0x517716(0x1c7),'room-cnt-exceeds':_0x517716(0x1cb),'collaboration-timeout':_0x517716(0x1d2)},'conflict':{'title':_0x517716(0x1c0),'content':_0x517716(0x1dc)},'permission':{'title':_0x517716(0x1db),'content':_0x517716(0x1be)},'collaboration':{'single-unit':{'warning':_0x517716(0x1cd)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x517716(0x1d0)}};}));
1
+ function _0x24bf(){var _0x42ed1c=['exports','در\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شد.','UniverProCollaborationClientFaIR','در\x20حال\x20همگام\x20سازی...','1029225QQyLqg','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','object','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','function','20RXsEaJ','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','amd','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','136ZdeoXq','160424OXyWqP','تداخل\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صفحه\x20از\x20بین\x20خواهند\x20رفت.','306251FXuKhe','1835442fRbWFo','102865joXUyZ','45Yhgqiv','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی‌دهد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','60680PpvbvF','دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','4256892hxatlp'];_0x24bf=function(){return _0x42ed1c;};return _0x24bf();}function _0x2c2f(_0x56f93e,_0x12bd49){var _0x24bfaa=_0x24bf();return _0x2c2f=function(_0x2c2fc2,_0x5381b3){_0x2c2fc2=_0x2c2fc2-0x1d1;var _0x3e40ee=_0x24bfaa[_0x2c2fc2];return _0x3e40ee;},_0x2c2f(_0x56f93e,_0x12bd49);}(function(_0x2e91db,_0x48d08f){var _0x19c6a1=_0x2c2f,_0x1943e0=_0x2e91db();while(!![]){try{var _0x1ee275=parseInt(_0x19c6a1(0x1ed))/0x1+-parseInt(_0x19c6a1(0x1e8))/0x2+parseInt(_0x19c6a1(0x1f0))/0x3*(parseInt(_0x19c6a1(0x1d1))/0x4)+parseInt(_0x19c6a1(0x1dd))/0x5+parseInt(_0x19c6a1(0x1ee))/0x6+parseInt(_0x19c6a1(0x1ef))/0x7*(parseInt(_0x19c6a1(0x1e7))/0x8)+-parseInt(_0x19c6a1(0x1d3))/0x9*(parseInt(_0x19c6a1(0x1e3))/0xa);if(_0x1ee275===_0x48d08f)break;else _0x1943e0['push'](_0x1943e0['shift']());}catch(_0x38f19e){_0x1943e0['push'](_0x1943e0['shift']());}}}(_0x24bf,0x41b7c),function(_0x1cd76d,_0x299337){var _0x36792f=_0x2c2f;typeof exports==_0x36792f(0x1e0)&&typeof module<'u'?module[_0x36792f(0x1d4)]=_0x299337():typeof define==_0x36792f(0x1e2)&&define[_0x36792f(0x1e5)]?define(_0x299337):(_0x1cd76d=typeof globalThis<'u'?globalThis:_0x1cd76d||self,_0x1cd76d[_0x36792f(0x1db)]=_0x299337());}(this,function(){'use strict';var _0xc7b575=_0x2c2f;return{'collab-client':{'tooltip':{'reconnect':_0xc7b575(0x1de)}},'collabStatus':{'fetchMiss':_0xc7b575(0x1d5),'conflict':'تداخل\x20ویرایش','notCollab':'پرونده\x20محلی','synced':_0xc7b575(0x1d8),'syncing':_0xc7b575(0x1dc),'offline':_0xc7b575(0x1d7)},'session':{'connection-failed':_0xc7b575(0x1d9),'will-retry':_0xc7b575(0x1df),'room-full':'ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','join-failed':_0xc7b575(0x1da),'room-not-exists':_0xc7b575(0x1e6),'room-permission-denied':_0xc7b575(0x1d2),'room-cnt-exceeds':_0xc7b575(0x1e1),'collaboration-timeout':_0xc7b575(0x1f1)},'conflict':{'title':_0xc7b575(0x1e9),'content':_0xc7b575(0x1eb)},'permission':{'title':_0xc7b575(0x1d6),'content':_0xc7b575(0x1ec)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0xc7b575(0x1ea)},'auth':{'needGotoLoginAlert':_0xc7b575(0x1e4)}};}));
@@ -1 +1 @@
1
- function _0x5c2c(){var _0x42478b=['function','Edit\x20conflicts','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Click\x20to\x20Reconnect','156384KEDuXm','26257PUSSRl','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.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','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.','5auiRZC','2393396OGbEEo','7138890AOJpQV','6QjkmfM','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','3406QlruDS','amd','1335495fCbnOX','Authentication\x20Error','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','40sEojKx','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','object','46884BjjGXv','10892tzaCkV','exports','Collaboration\x20Conflict','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Synced','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','UniverProCollaborationClientFrFR','171xGzzlt','790HXdEJo'];_0x5c2c=function(){return _0x42478b;};return _0x5c2c();}function _0x3428(_0x281f26,_0x1a978d){var _0x5c2c67=_0x5c2c();return _0x3428=function(_0x34285f,_0x360c86){_0x34285f=_0x34285f-0x17b;var _0x11d112=_0x5c2c67[_0x34285f];return _0x11d112;},_0x3428(_0x281f26,_0x1a978d);}(function(_0x4cfbde,_0x4536be){var _0x5ec02a=_0x3428,_0x3dc954=_0x4cfbde();while(!![]){try{var _0x2e7bca=parseInt(_0x5ec02a(0x186))/0x1*(-parseInt(_0x5ec02a(0x17e))/0x2)+-parseInt(_0x5ec02a(0x197))/0x3*(parseInt(_0x5ec02a(0x195))/0x4)+-parseInt(_0x5ec02a(0x194))/0x5*(parseInt(_0x5ec02a(0x18c))/0x6)+-parseInt(_0x5ec02a(0x19b))/0x7*(-parseInt(_0x5ec02a(0x19e))/0x8)+parseInt(_0x5ec02a(0x196))/0x9+parseInt(_0x5ec02a(0x187))/0xa*(parseInt(_0x5ec02a(0x18d))/0xb)+-parseInt(_0x5ec02a(0x17d))/0xc*(-parseInt(_0x5ec02a(0x199))/0xd);if(_0x2e7bca===_0x4536be)break;else _0x3dc954['push'](_0x3dc954['shift']());}catch(_0x44a26c){_0x3dc954['push'](_0x3dc954['shift']());}}}(_0x5c2c,0xc49c2),function(_0x5e2cc3,_0x44e32b){var _0x5f3dac=_0x3428;typeof exports==_0x5f3dac(0x17c)&&typeof module<'u'?module[_0x5f3dac(0x17f)]=_0x44e32b():typeof define==_0x5f3dac(0x188)&&define[_0x5f3dac(0x19a)]?define(_0x44e32b):(_0x5e2cc3=typeof globalThis<'u'?globalThis:_0x5e2cc3||self,_0x5e2cc3[_0x5f3dac(0x185)]=_0x44e32b());}(this,function(){'use strict';var _0x18ec77=_0x3428;return{'collab-client':{'tooltip':{'reconnect':_0x18ec77(0x18b)}},'collabStatus':{'fetchMiss':_0x18ec77(0x191),'conflict':_0x18ec77(0x189),'notCollab':'Local\x20file','synced':_0x18ec77(0x182),'syncing':'Syncing...','offline':_0x18ec77(0x198)},'session':{'connection-failed':_0x18ec77(0x183),'will-retry':_0x18ec77(0x18a),'room-full':_0x18ec77(0x193),'join-failed':_0x18ec77(0x190),'room-not-exists':_0x18ec77(0x184),'room-permission-denied':_0x18ec77(0x181),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x18ec77(0x18f)},'conflict':{'title':_0x18ec77(0x180),'content':_0x18ec77(0x192)},'permission':{'title':_0x18ec77(0x19c),'content':_0x18ec77(0x17b)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x18ec77(0x18e)},'auth':{'needGotoLoginAlert':_0x18ec77(0x19d)}};}));
1
+ (function(_0x3652b7,_0x162642){var _0x25d418=_0x2e37,_0x1f7810=_0x3652b7();while(!![]){try{var _0x2f6062=-parseInt(_0x25d418(0xa0))/0x1*(parseInt(_0x25d418(0x9c))/0x2)+parseInt(_0x25d418(0xa4))/0x3+parseInt(_0x25d418(0x8a))/0x4*(parseInt(_0x25d418(0x8e))/0x5)+parseInt(_0x25d418(0xa5))/0x6*(-parseInt(_0x25d418(0xa1))/0x7)+-parseInt(_0x25d418(0x92))/0x8+-parseInt(_0x25d418(0xa3))/0x9*(parseInt(_0x25d418(0x8f))/0xa)+parseInt(_0x25d418(0x9f))/0xb*(parseInt(_0x25d418(0x9b))/0xc);if(_0x2f6062===_0x162642)break;else _0x1f7810['push'](_0x1f7810['shift']());}catch(_0x21ee03){_0x1f7810['push'](_0x1f7810['shift']());}}}(_0x465b,0xaeffa),function(_0x4b926c,_0x73b5b7){var _0x181d18=_0x2e37;typeof exports==_0x181d18(0x88)&&typeof module<'u'?module['exports']=_0x73b5b7():typeof define==_0x181d18(0x9d)&&define[_0x181d18(0x9a)]?define(_0x73b5b7):(_0x4b926c=typeof globalThis<'u'?globalThis:_0x4b926c||self,_0x4b926c[_0x181d18(0x87)]=_0x73b5b7());}(this,function(){'use strict';var _0x2fec79=_0x2e37;return{'collab-client':{'tooltip':{'reconnect':_0x2fec79(0x97)}},'collabStatus':{'fetchMiss':_0x2fec79(0x93),'conflict':'Edit\x20conflicts','notCollab':_0x2fec79(0xa2),'synced':'Synced','syncing':_0x2fec79(0x89),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x2fec79(0x91),'room-full':_0x2fec79(0x96),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x2fec79(0x98),'room-permission-denied':_0x2fec79(0x9e),'room-cnt-exceeds':_0x2fec79(0x90),'collaboration-timeout':_0x2fec79(0x8c)},'conflict':{'title':_0x2fec79(0x8d),'content':_0x2fec79(0x94)},'permission':{'title':_0x2fec79(0x99),'content':_0x2fec79(0x86)},'collaboration':{'single-unit':{'warning':_0x2fec79(0x95)},'closeRoom':_0x2fec79(0x8b)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};}));function _0x2e37(_0x1a0cdd,_0x1d762a){var _0x465b08=_0x465b();return _0x2e37=function(_0x2e37d4,_0x4ba624){_0x2e37d4=_0x2e37d4-0x86;var _0x478409=_0x465b08[_0x2e37d4];return _0x478409;},_0x2e37(_0x1a0cdd,_0x1d762a);}function _0x465b(){var _0x1c6abc=['16KfVGWg','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.','Collaboration\x20Conflict','1650630yABhFU','5130gmQtGV','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','4330536BrFLBB','Syncing\x20server\x20data...','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.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Click\x20to\x20Reconnect','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Authentication\x20Error','amd','252JdfKEv','20ArWeXU','function','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','932701VTfzyf','119114cSLLxC','805oWIYrY','Local\x20file','9612WQdLkP','1452045ZmkLZx','30678bGdVBJ','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','UniverProCollaborationClientFrFR','object','Syncing...'];_0x465b=function(){return _0x1c6abc;};return _0x465b();}
@@ -1 +1 @@
1
- function _0x3959(_0x4b5f33,_0x325804){var _0x145d30=_0x145d();return _0x3959=function(_0x3959b1,_0x46c029){_0x3959b1=_0x3959b1-0x116;var _0x1ec68e=_0x145d30[_0x3959b1];return _0x1ec68e;},_0x3959(_0x4b5f33,_0x325804);}(function(_0x10b781,_0x224646){var _0x227c06=_0x3959,_0x151d88=_0x10b781();while(!![]){try{var _0x1351f7=-parseInt(_0x227c06(0x12e))/0x1*(-parseInt(_0x227c06(0x11b))/0x2)+parseInt(_0x227c06(0x11a))/0x3+-parseInt(_0x227c06(0x116))/0x4*(parseInt(_0x227c06(0x118))/0x5)+parseInt(_0x227c06(0x126))/0x6*(-parseInt(_0x227c06(0x119))/0x7)+parseInt(_0x227c06(0x128))/0x8*(-parseInt(_0x227c06(0x129))/0x9)+-parseInt(_0x227c06(0x122))/0xa+parseInt(_0x227c06(0x12c))/0xb*(parseInt(_0x227c06(0x131))/0xc);if(_0x1351f7===_0x224646)break;else _0x151d88['push'](_0x151d88['shift']());}catch(_0x1112a5){_0x151d88['push'](_0x151d88['shift']());}}}(_0x145d,0x3f160),function(_0x289045,_0x5d5925){typeof exports=='object'&&typeof module<'u'?module['exports']=_0x5d5925():typeof define=='function'&&define['amd']?define(_0x5d5925):(_0x289045=typeof globalThis<'u'?globalThis:_0x289045||self,_0x289045['UniverProCollaborationClientRuRU']=_0x5d5925());}(this,function(){'use strict';var _0x3730c0=_0x3959;return{'collab-client':{'tooltip':{'reconnect':_0x3730c0(0x11d)}},'collabStatus':{'fetchMiss':_0x3730c0(0x12a),'conflict':_0x3730c0(0x12d),'notCollab':_0x3730c0(0x127),'synced':'Synced','syncing':'Syncing...','offline':_0x3730c0(0x11c)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x3730c0(0x12b),'room-full':_0x3730c0(0x121),'join-failed':_0x3730c0(0x117),'room-not-exists':_0x3730c0(0x12f),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x3730c0(0x125),'collaboration-timeout':_0x3730c0(0x124)},'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':_0x3730c0(0x11f),'content':_0x3730c0(0x120)},'collaboration':{'single-unit':{'warning':_0x3730c0(0x130)},'closeRoom':_0x3730c0(0x123)},'auth':{'needGotoLoginAlert':_0x3730c0(0x11e)}};}));function _0x145d(){var _0x32a5ce=['12108426QNoHsr','Edit\x20conflicts','23kxBWFF','Failed\x20to\x20join\x20collaboration.\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.','12fPBLbe','12YIYmKQ','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','381820itSkWn','133zwbGVE','1272723pyvFTw','10518ctrjUj','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Click\x20to\x20Reconnect','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Authentication\x20Error','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.','4982360TLwcXX','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.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','130038GWYAUU','Local\x20file','8OIlnSv','2236041JWYNAA','Syncing\x20server\x20data...','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.'];_0x145d=function(){return _0x32a5ce;};return _0x145d();}
1
+ function _0xd9af(_0x25af4d,_0x7bd465){var _0x405d82=_0x405d();return _0xd9af=function(_0xd9af40,_0x18fe32){_0xd9af40=_0xd9af40-0x14f;var _0x322515=_0x405d82[_0xd9af40];return _0x322515;},_0xd9af(_0x25af4d,_0x7bd465);}(function(_0x1f4d70,_0x5955d7){var _0x298efe=_0xd9af,_0x3d59d6=_0x1f4d70();while(!![]){try{var _0x1b0f41=-parseInt(_0x298efe(0x15b))/0x1*(-parseInt(_0x298efe(0x151))/0x2)+parseInt(_0x298efe(0x167))/0x3+parseInt(_0x298efe(0x161))/0x4*(-parseInt(_0x298efe(0x160))/0x5)+parseInt(_0x298efe(0x15a))/0x6+-parseInt(_0x298efe(0x150))/0x7*(-parseInt(_0x298efe(0x15d))/0x8)+-parseInt(_0x298efe(0x156))/0x9+parseInt(_0x298efe(0x153))/0xa*(-parseInt(_0x298efe(0x14f))/0xb);if(_0x1b0f41===_0x5955d7)break;else _0x3d59d6['push'](_0x3d59d6['shift']());}catch(_0x5c988b){_0x3d59d6['push'](_0x3d59d6['shift']());}}}(_0x405d,0xe70e2),function(_0x541655,_0x40b27f){var _0x3cf2c8=_0xd9af;typeof exports=='object'&&typeof module<'u'?module[_0x3cf2c8(0x166)]=_0x40b27f():typeof define==_0x3cf2c8(0x164)&&define[_0x3cf2c8(0x15c)]?define(_0x40b27f):(_0x541655=typeof globalThis<'u'?globalThis:_0x541655||self,_0x541655[_0x3cf2c8(0x155)]=_0x40b27f());}(this,function(){'use strict';var _0x18f5da=_0xd9af;return{'collab-client':{'tooltip':{'reconnect':_0x18f5da(0x15e)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x18f5da(0x162),'syncing':'Syncing...','offline':_0x18f5da(0x158)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x18f5da(0x159),'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':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':_0x18f5da(0x157),'room-cnt-exceeds':_0x18f5da(0x154),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x18f5da(0x152),'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':'Authentication\x20Error','content':_0x18f5da(0x163)},'collaboration':{'single-unit':{'warning':_0x18f5da(0x15f)},'closeRoom':_0x18f5da(0x165)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};}));function _0x405d(){var _0x4df8e3=['Synced','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','function','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','exports','1365027ZMiFDj','7816237kLDtlx','28QBWwBa','3228922BIvSzK','Collaboration\x20Conflict','20toglsl','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','UniverProCollaborationClientRuRU','14161968mDffXg','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','2847732gbEYmk','1cXqJqb','amd','3199840SlFmkI','Click\x20to\x20Reconnect','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','485lQXlmC','8368rMQQsT'];_0x405d=function(){return _0x4df8e3;};return _0x405d();}
@@ -1 +1 @@
1
- function _0x9c55(){var _0x3fa4f7=['Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','5183283XFyvPv','7070dAPRjE','387813bQAxSG','amd','exports','Collaboration\x20Conflict','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','6yVxkdF','563995lqSpto','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1467JzDZZs','6bRFQRT','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Click\x20to\x20Reconnect','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','UniverProCollaborationClientViVN','2662156hkRWwp','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Authentication\x20Error','Connection\x20failed.\x20Please\x20check\x20your\x20network.','656527AElfLk','Local\x20file','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','object','5063728WaUvRC'];_0x9c55=function(){return _0x3fa4f7;};return _0x9c55();}function _0x4062(_0x32c61b,_0x56454a){var _0x9c5589=_0x9c55();return _0x4062=function(_0x406244,_0x33303e){_0x406244=_0x406244-0x12e;var _0x1446a2=_0x9c5589[_0x406244];return _0x1446a2;},_0x4062(_0x32c61b,_0x56454a);}(function(_0x4130b6,_0x5c59f6){var _0x999eff=_0x4062,_0xaf6e6f=_0x4130b6();while(!![]){try{var _0xdcd108=parseInt(_0x999eff(0x142))/0x1+parseInt(_0x999eff(0x133))/0x2*(parseInt(_0x999eff(0x12e))/0x3)+-parseInt(_0x999eff(0x13e))/0x4+parseInt(_0x999eff(0x134))/0x5*(parseInt(_0x999eff(0x139))/0x6)+parseInt(_0x999eff(0x14a))/0x7+-parseInt(_0x999eff(0x148))/0x8+parseInt(_0x999eff(0x138))/0x9*(-parseInt(_0x999eff(0x14b))/0xa);if(_0xdcd108===_0x5c59f6)break;else _0xaf6e6f['push'](_0xaf6e6f['shift']());}catch(_0x5c14cb){_0xaf6e6f['push'](_0xaf6e6f['shift']());}}}(_0x9c55,0x76216),function(_0x637acf,_0x931163){var _0x3e20c5=_0x4062;typeof exports==_0x3e20c5(0x147)&&typeof module<'u'?module[_0x3e20c5(0x130)]=_0x931163():typeof define=='function'&&define[_0x3e20c5(0x12f)]?define(_0x931163):(_0x637acf=typeof globalThis<'u'?globalThis:_0x637acf||self,_0x637acf[_0x3e20c5(0x13d)]=_0x931163());}(this,function(){'use strict';var _0x1a09e5=_0x4062;return{'collab-client':{'tooltip':{'reconnect':_0x1a09e5(0x13b)}},'collabStatus':{'fetchMiss':_0x1a09e5(0x146),'conflict':'Edit\x20conflicts','notCollab':_0x1a09e5(0x143),'synced':'Synced','syncing':'Syncing...','offline':_0x1a09e5(0x137)},'session':{'connection-failed':_0x1a09e5(0x141),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0x1a09e5(0x144),'join-failed':_0x1a09e5(0x149),'room-not-exists':_0x1a09e5(0x13c),'room-permission-denied':_0x1a09e5(0x132),'room-cnt-exceeds':_0x1a09e5(0x145),'collaboration-timeout':_0x1a09e5(0x13a)},'conflict':{'title':_0x1a09e5(0x131),'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':_0x1a09e5(0x140),'content':_0x1a09e5(0x135)},'collaboration':{'single-unit':{'warning':_0x1a09e5(0x136)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x1a09e5(0x13f)}};}));
1
+ function _0x1d13(){var _0x17ee72=['Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Authentication\x20Error','15WvVKLl','194884YzFels','Syncing\x20server\x20data...','2442621DTyzDx','exports','4exBQEM','3435616qriyaG','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','function','4575074RXieso','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Synced','Edit\x20conflicts','Local\x20file','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Click\x20to\x20Reconnect','Collaboration\x20Conflict','amd','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\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.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','UniverProCollaborationClientViVN','object','1016125GAaeTM','Syncing...','2424300cDwqGT','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','31326669vqamGc'];_0x1d13=function(){return _0x17ee72;};return _0x1d13();}function _0x4567(_0x4046c7,_0x3c160e){var _0x1d13d6=_0x1d13();return _0x4567=function(_0x45677a,_0x4e159d){_0x45677a=_0x45677a-0x12d;var _0x23a019=_0x1d13d6[_0x45677a];return _0x23a019;},_0x4567(_0x4046c7,_0x3c160e);}(function(_0x989aad,_0x54b1e9){var _0x5c4460=_0x4567,_0x48ae4b=_0x989aad();while(!![]){try{var _0x3c568f=parseInt(_0x5c4460(0x139))/0x1+parseInt(_0x5c4460(0x142))/0x2+-parseInt(_0x5c4460(0x144))/0x3*(-parseInt(_0x5c4460(0x146))/0x4)+-parseInt(_0x5c4460(0x141))/0x5*(-parseInt(_0x5c4460(0x13b))/0x6)+parseInt(_0x5c4460(0x14b))/0x7+parseInt(_0x5c4460(0x147))/0x8+-parseInt(_0x5c4460(0x13d))/0x9;if(_0x3c568f===_0x54b1e9)break;else _0x48ae4b['push'](_0x48ae4b['shift']());}catch(_0x555f01){_0x48ae4b['push'](_0x48ae4b['shift']());}}}(_0x1d13,0xb5349),function(_0x28184c,_0x2c385f){var _0x59e708=_0x4567;typeof exports==_0x59e708(0x138)&&typeof module<'u'?module[_0x59e708(0x145)]=_0x2c385f():typeof define==_0x59e708(0x14a)&&define[_0x59e708(0x133)]?define(_0x2c385f):(_0x28184c=typeof globalThis<'u'?globalThis:_0x28184c||self,_0x28184c[_0x59e708(0x137)]=_0x2c385f());}(this,function(){'use strict';var _0x2c8e2a=_0x4567;return{'collab-client':{'tooltip':{'reconnect':_0x2c8e2a(0x131)}},'collabStatus':{'fetchMiss':_0x2c8e2a(0x143),'conflict':_0x2c8e2a(0x12d),'notCollab':_0x2c8e2a(0x12e),'synced':_0x2c8e2a(0x14d),'syncing':_0x2c8e2a(0x13a),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x2c8e2a(0x13c),'room-full':_0x2c8e2a(0x12f),'join-failed':_0x2c8e2a(0x13e),'room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':_0x2c8e2a(0x13f),'room-cnt-exceeds':_0x2c8e2a(0x134),'collaboration-timeout':_0x2c8e2a(0x136)},'conflict':{'title':_0x2c8e2a(0x132),'content':_0x2c8e2a(0x135)},'permission':{'title':_0x2c8e2a(0x140),'content':_0x2c8e2a(0x148)},'collaboration':{'single-unit':{'warning':_0x2c8e2a(0x149)},'closeRoom':_0x2c8e2a(0x14c)},'auth':{'needGotoLoginAlert':_0x2c8e2a(0x130)}};}));
@@ -1 +1 @@
1
- function _0x2989(_0x2845d5,_0x63dafd){var _0x2c9d75=_0x2c9d();return _0x2989=function(_0x298993,_0x34c35a){_0x298993=_0x298993-0x184;var _0x3b40ad=_0x2c9d75[_0x298993];return _0x3b40ad;},_0x2989(_0x2845d5,_0x63dafd);}(function(_0xab0a30,_0x1a68a4){var _0x47efce=_0x2989,_0x2dd703=_0xab0a30();while(!![]){try{var _0x42840f=-parseInt(_0x47efce(0x18a))/0x1+-parseInt(_0x47efce(0x196))/0x2+parseInt(_0x47efce(0x199))/0x3+parseInt(_0x47efce(0x18c))/0x4*(parseInt(_0x47efce(0x197))/0x5)+parseInt(_0x47efce(0x195))/0x6*(parseInt(_0x47efce(0x185))/0x7)+parseInt(_0x47efce(0x191))/0x8+-parseInt(_0x47efce(0x186))/0x9;if(_0x42840f===_0x1a68a4)break;else _0x2dd703['push'](_0x2dd703['shift']());}catch(_0x39b71f){_0x2dd703['push'](_0x2dd703['shift']());}}}(_0x2c9d,0x1dcdc),function(_0x339891,_0xeeecfb){var _0xb0abdc=_0x2989;typeof exports==_0xb0abdc(0x19a)&&typeof module<'u'?module[_0xb0abdc(0x187)]=_0xeeecfb():typeof define==_0xb0abdc(0x184)&&define['amd']?define(_0xeeecfb):(_0x339891=typeof globalThis<'u'?globalThis:_0x339891||self,_0x339891['UniverProCollaborationClientZhCN']=_0xeeecfb());}(this,function(){'use strict';var _0x23172c=_0x2989;return{'collab-client':{'tooltip':{'reconnect':'点击重新连接'}},'collabStatus':{'fetchMiss':_0x23172c(0x19d),'conflict':_0x23172c(0x18b),'notCollab':_0x23172c(0x198),'synced':_0x23172c(0x190),'syncing':'保存中...','offline':'已离线,编辑将在本地缓存'},'session':{'connection-failed':_0x23172c(0x189),'will-retry':_0x23172c(0x188),'room-full':_0x23172c(0x194),'join-failed':'加入协同失败,请稍后重试,你的编辑将在本地缓存','room-not-exists':_0x23172c(0x18e),'room-permission-denied':_0x23172c(0x192),'room-cnt-exceeds':_0x23172c(0x18f),'collaboration-timeout':'服务器未响应,你的编辑将在本地缓存'},'conflict':{'title':_0x23172c(0x18d),'content':_0x23172c(0x193)},'permission':{'title':_0x23172c(0x19b),'content':_0x23172c(0x19e)},'collaboration':{'single-unit':{'warning':'你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。'},'closeRoom':_0x23172c(0x19c)},'auth':{'needGotoLoginAlert':_0x23172c(0x19f)}};}));function _0x2c9d(){var _0x3af66a=['协同文档数量超过限制,你的编辑将在本地缓存','已同步','888568Qsdgmj','没有协同权限,你的编辑将在本地缓存','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','此文档协同人数已满,你的编辑将在本地缓存','114wtAjqj','317364CkPeoI','5FiGJxj','本地文件','713229qlrFTg','object','权限错误','由于协同房间被关闭,编辑权限被收回。','正在拉取服务端数据...','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','function','44338xACYkf','1552887inQsei','exports','连接失败,将在一会儿之后重试连接','连接失败,请检查你的网络','66524iIEVxB','编辑冲突','202660AQYJGX','协同冲突','加入协同失败,你的编辑将在本地缓存'];_0x2c9d=function(){return _0x3af66a;};return _0x2c9d();}
1
+ (function(_0x82c3a4,_0x59d3db){var _0x38f204=_0x2d2d,_0x30e818=_0x82c3a4();while(!![]){try{var _0x5851ef=parseInt(_0x38f204(0x100))/0x1+-parseInt(_0x38f204(0xf0))/0x2*(-parseInt(_0x38f204(0xf3))/0x3)+parseInt(_0x38f204(0xf4))/0x4+-parseInt(_0x38f204(0x105))/0x5*(parseInt(_0x38f204(0xff))/0x6)+-parseInt(_0x38f204(0xfc))/0x7*(parseInt(_0x38f204(0x103))/0x8)+parseInt(_0x38f204(0x102))/0x9*(parseInt(_0x38f204(0xfb))/0xa)+parseInt(_0x38f204(0xef))/0xb*(-parseInt(_0x38f204(0xf8))/0xc);if(_0x5851ef===_0x59d3db)break;else _0x30e818['push'](_0x30e818['shift']());}catch(_0x1bdf71){_0x30e818['push'](_0x30e818['shift']());}}}(_0x3622,0xae7f4),function(_0x342b44,_0x56c2ee){var _0x2d8184=_0x2d2d;typeof exports==_0x2d8184(0xfa)&&typeof module<'u'?module[_0x2d8184(0xed)]=_0x56c2ee():typeof define==_0x2d8184(0xec)&&define['amd']?define(_0x56c2ee):(_0x342b44=typeof globalThis<'u'?globalThis:_0x342b44||self,_0x342b44[_0x2d8184(0xf9)]=_0x56c2ee());}(this,function(){'use strict';var _0xaf6df3=_0x2d2d;return{'collab-client':{'tooltip':{'reconnect':_0xaf6df3(0xf7)}},'collabStatus':{'fetchMiss':'正在拉取服务端数据...','conflict':_0xaf6df3(0xf5),'notCollab':_0xaf6df3(0xeb),'synced':'已同步','syncing':'保存中...','offline':_0xaf6df3(0x109)},'session':{'connection-failed':'连接失败,请检查你的网络','will-retry':_0xaf6df3(0xf6),'room-full':_0xaf6df3(0xfd),'join-failed':_0xaf6df3(0x108),'room-not-exists':_0xaf6df3(0x101),'room-permission-denied':_0xaf6df3(0xfe),'room-cnt-exceeds':_0xaf6df3(0x104),'collaboration-timeout':_0xaf6df3(0xee)},'conflict':{'title':_0xaf6df3(0xf2),'content':'你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'permission':{'title':'权限错误','content':'你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'collaboration':{'single-unit':{'warning':_0xaf6df3(0x106)},'closeRoom':_0xaf6df3(0x107)},'auth':{'needGotoLoginAlert':_0xaf6df3(0xf1)}};}));function _0x2d2d(_0x2e50d4,_0x2e7e18){var _0x3622c7=_0x3622();return _0x2d2d=function(_0x2d2d4d,_0xab6fec){_0x2d2d4d=_0x2d2d4d-0xeb;var _0x19d626=_0x3622c7[_0x2d2d4d];return _0x19d626;},_0x2d2d(_0x2e50d4,_0x2e7e18);}function _0x3622(){var _0x1f247a=['184646yTnIqQ','此文档协同人数已满,你的编辑将在本地缓存','没有协同权限,你的编辑将在本地缓存','60042ryserN','965976tqlaCB','加入协同失败,你的编辑将在本地缓存','777699uicxEu','152ZrMyNQ','协同文档数量超过限制,你的编辑将在本地缓存','470lBPzIM','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','由于协同房间被关闭,编辑权限被收回。','加入协同失败,请稍后重试,你的编辑将在本地缓存','已离线,编辑将在本地缓存','本地文件','function','exports','服务器未响应,你的编辑将在本地缓存','11BZARku','566VJdKRv','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','协同冲突','3165HWirso','4166788jTsjgV','编辑冲突','连接失败,将在一会儿之后重试连接','点击重新连接','2832828ORtJcb','UniverProCollaborationClientZhCN','object','10IbFDji'];_0x3622=function(){return _0x1f247a;};return _0x3622();}
@@ -1 +1 @@
1
- function _0x1976(_0x2193d1,_0x54f1dd){var _0xd0d9ba=_0xd0d9();return _0x1976=function(_0x19765f,_0x231112){_0x19765f=_0x19765f-0x91;var _0x164110=_0xd0d9ba[_0x19765f];return _0x164110;},_0x1976(_0x2193d1,_0x54f1dd);}(function(_0x119b04,_0x542f70){var _0x487871=_0x1976,_0x481461=_0x119b04();while(!![]){try{var _0x50da3f=parseInt(_0x487871(0xa5))/0x1+parseInt(_0x487871(0xa1))/0x2+parseInt(_0x487871(0xa2))/0x3+parseInt(_0x487871(0xa3))/0x4*(parseInt(_0x487871(0xa4))/0x5)+parseInt(_0x487871(0x97))/0x6+parseInt(_0x487871(0x91))/0x7*(parseInt(_0x487871(0x9c))/0x8)+-parseInt(_0x487871(0xa6))/0x9;if(_0x50da3f===_0x542f70)break;else _0x481461['push'](_0x481461['shift']());}catch(_0x2d3abc){_0x481461['push'](_0x481461['shift']());}}}(_0xd0d9,0x9a8b7),function(_0x3227fb,_0x392de0){var _0x20c030=_0x1976;typeof exports==_0x20c030(0x9a)&&typeof module<'u'?module['exports']=_0x392de0():typeof define=='function'&&define[_0x20c030(0xa8)]?define(_0x392de0):(_0x3227fb=typeof globalThis<'u'?globalThis:_0x3227fb||self,_0x3227fb['UniverProCollaborationClientZhTW']=_0x392de0());}(this,function(){'use strict';var _0x4a3a95=_0x1976;return{'collab-client':{'tooltip':{'reconnect':_0x4a3a95(0xa9)}},'collabStatus':{'fetchMiss':_0x4a3a95(0x9d),'conflict':_0x4a3a95(0x95),'notCollab':'Local\x20file','synced':_0x4a3a95(0x9b),'syncing':_0x4a3a95(0x94),'offline':_0x4a3a95(0xaa)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x4a3a95(0x98),'room-full':_0x4a3a95(0x93),'join-failed':_0x4a3a95(0xa7),'room-not-exists':_0x4a3a95(0xa0),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x4a3a95(0x9e),'collaboration-timeout':_0x4a3a95(0x99)},'conflict':{'title':_0x4a3a95(0x92),'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':_0x4a3a95(0x9f),'content':_0x4a3a95(0x96)},'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':_0x4a3a95(0xab)}};}));function _0xd0d9(){var _0x293adf=['Synced','40DWYyxV','Syncing\x20server\x20data...','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Authentication\x20Error','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','925904NiVdnV','1457676ymzWhj','4fHJQGC','249765GtSSgs','720174CScOei','19727712zsIFdo','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','amd','Click\x20to\x20Reconnect','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','827743rZBodf','Collaboration\x20Conflict','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing...','Edit\x20conflicts','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','3088602gsEVYy','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','object'];_0xd0d9=function(){return _0x293adf;};return _0xd0d9();}
1
+ function _0x4cb7(_0x2653d0,_0x41c32b){var _0x1323f9=_0x1323();return _0x4cb7=function(_0x4cb769,_0xf1ad28){_0x4cb769=_0x4cb769-0xd4;var _0x22c225=_0x1323f9[_0x4cb769];return _0x22c225;},_0x4cb7(_0x2653d0,_0x41c32b);}function _0x1323(){var _0x185b46=['The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','13016640gYCFXv','18810SxCejH','245JBQoCM','18rYbdkE','48lHEnFA','4370008ktpfdp','UniverProCollaborationClientZhTW','1167943BOjznM','Synced','34824BOKRoL','Local\x20file','amd','2189aJdauX','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Collaboration\x20Conflict','88520LhfXPr','75125EBIrWc','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','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.','Syncing\x20server\x20data...','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','object','Click\x20to\x20Reconnect','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','9fayedy','Edit\x20conflicts','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing...'];_0x1323=function(){return _0x185b46;};return _0x1323();}(function(_0x2caeb0,_0x5545ed){var _0x3ee617=_0x4cb7,_0x1999fb=_0x2caeb0();while(!![]){try{var _0x545579=parseInt(_0x3ee617(0xe4))/0x1+-parseInt(_0x3ee617(0xe3))/0x2*(-parseInt(_0x3ee617(0xd8))/0x3)+parseInt(_0x3ee617(0xdd))/0x4*(parseInt(_0x3ee617(0xd6))/0x5)+parseInt(_0x3ee617(0xd7))/0x6*(parseInt(_0x3ee617(0xdb))/0x7)+parseInt(_0x3ee617(0xd9))/0x8*(-parseInt(_0x3ee617(0xef))/0x9)+parseInt(_0x3ee617(0xd5))/0xa*(parseInt(_0x3ee617(0xe0))/0xb)+-parseInt(_0x3ee617(0xd4))/0xc;if(_0x545579===_0x5545ed)break;else _0x1999fb['push'](_0x1999fb['shift']());}catch(_0x3e5637){_0x1999fb['push'](_0x1999fb['shift']());}}}(_0x1323,0x6ec8e),function(_0x4acd3a,_0x3d04fd){var _0x534e87=_0x4cb7;typeof exports==_0x534e87(0xeb)&&typeof module<'u'?module['exports']=_0x3d04fd():typeof define=='function'&&define[_0x534e87(0xdf)]?define(_0x3d04fd):(_0x4acd3a=typeof globalThis<'u'?globalThis:_0x4acd3a||self,_0x4acd3a[_0x534e87(0xda)]=_0x3d04fd());}(this,function(){'use strict';var _0x470b21=_0x4cb7;return{'collab-client':{'tooltip':{'reconnect':_0x470b21(0xec)}},'collabStatus':{'fetchMiss':_0x470b21(0xe8),'conflict':_0x470b21(0xf0),'notCollab':_0x470b21(0xde),'synced':_0x470b21(0xdc),'syncing':_0x470b21(0xf2),'offline':_0x470b21(0xed)},'session':{'connection-failed':_0x470b21(0xe9),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0x470b21(0xe5),'join-failed':_0x470b21(0xf1),'room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':_0x470b21(0xe1),'room-cnt-exceeds':_0x470b21(0xee),'collaboration-timeout':_0x470b21(0xf3)},'conflict':{'title':_0x470b21(0xe2),'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':'Authentication\x20Error','content':_0x470b21(0xea)},'collaboration':{'single-unit':{'warning':_0x470b21(0xe7)},'closeRoom':_0x470b21(0xe6)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/collaboration-client",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "private": false,
5
5
  "description": "Univer Collaboration Client",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -33,6 +33,11 @@
33
33
  "require": "./lib/cjs/locale/*.js",
34
34
  "types": "./lib/types/locale/*.d.ts"
35
35
  },
36
+ "./facade": {
37
+ "import": "./lib/es/facade.js",
38
+ "require": "./lib/cjs/facade.js",
39
+ "types": "./lib/types/facade/index.d.ts"
40
+ },
36
41
  "./lib/*": "./lib/*"
37
42
  },
38
43
  "main": "./lib/es/index.js",
@@ -47,29 +52,21 @@
47
52
  "lib"
48
53
  ],
49
54
  "peerDependencies": {
50
- "react": "^16.9.0 || ^17.0.0 || ^18.0.0",
51
55
  "rxjs": ">=7.0.0"
52
56
  },
53
57
  "dependencies": {
54
- "@univerjs/icons": "^0.2.8",
55
58
  "clsx": "^2.1.1",
56
59
  "crypto-js": "4.2.0",
57
60
  "uuid": "^11.0.3",
58
- "@univerjs-pro/collaboration": "0.5.1",
59
- "@univerjs/core": "0.5.1",
60
- "@univerjs/docs": "0.5.1",
61
- "@univerjs/design": "0.5.1",
62
- "@univerjs/drawing": "0.5.1",
63
- "@univerjs/engine-formula": "0.5.1",
64
- "@univerjs/network": "0.5.1",
65
- "@univerjs/docs-ui": "0.5.1",
66
- "@univerjs/engine-render": "0.5.1",
67
- "@univerjs/protocol": "0.1.39",
68
- "@univerjs/rpc": "0.5.1",
69
- "@univerjs/sheets": "0.5.1",
70
- "@univerjs/sheets-ui": "0.5.1",
71
- "@univerjs/ui": "0.5.1",
72
- "@univerjs/telemetry": "0.5.1"
61
+ "@univerjs-pro/license": "0.5.2",
62
+ "@univerjs/docs": "0.5.2",
63
+ "@univerjs/core": "0.5.2",
64
+ "@univerjs/drawing": "0.5.2",
65
+ "@univerjs-pro/collaboration": "0.5.2",
66
+ "@univerjs/network": "0.5.2",
67
+ "@univerjs/protocol": "0.1.40-alpha.10",
68
+ "@univerjs/telemetry": "0.5.2",
69
+ "@univerjs/sheets": "0.5.2"
73
70
  },
74
71
  "devDependencies": {
75
72
  "@types/crypto-js": "^4.2.2",
@@ -77,9 +74,9 @@
77
74
  "rxjs": "^7.8.1",
78
75
  "tailwindcss": "^3.4.15",
79
76
  "typescript": "^5.7.2",
80
- "vite": "^6.0.0",
81
- "vitest": "^2.1.6",
82
- "@univerjs-infra/shared": "0.5.1"
77
+ "vite": "^6.0.3",
78
+ "vitest": "^2.1.8",
79
+ "@univerjs-infra/shared": "0.5.2"
83
80
  },
84
81
  "space": {
85
82
  ".": {
@@ -97,6 +94,11 @@
97
94
  "require": "./lib/cjs/locale/*.js",
98
95
  "types": "./lib/types/locale/*.d.ts"
99
96
  },
97
+ "./facade": {
98
+ "import": "./lib/es/facade.js",
99
+ "require": "./lib/cjs/facade.js",
100
+ "types": "./lib/types/facade/index.d.ts"
101
+ },
100
102
  "./lib/*": "./lib/*"
101
103
  },
102
104
  "scripts": {
package/lib/index.css DELETED
@@ -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))}
@@ -1,9 +0,0 @@
1
- import { RxDisposable } from '@univerjs/core';
2
- import { IDocClipboardService } from '@univerjs/docs-ui';
3
- import { IImageIoService } from '@univerjs/drawing';
4
- export declare class ImagePasteController extends RxDisposable {
5
- private _docClipboardService;
6
- private _imageIoService;
7
- constructor(_docClipboardService: IDocClipboardService, _imageIoService: IImageIoService);
8
- private _init;
9
- }
@@ -1,23 +0,0 @@
1
- import { DocumentDataModel, Injector, IUniverInstanceService, RxDisposable } from '@univerjs/core';
2
- import { DocumentSkeleton, IRender, IRenderContext, IRenderModule, DocumentViewModel, IRenderManagerService } from '@univerjs/engine-render';
3
- import { Nullable } from 'vitest';
4
- export declare class MockRenderManagerService implements Pick<IRenderManagerService, 'getRenderById'> {
5
- private readonly _injector;
6
- constructor(_injector: Injector);
7
- getRenderById(_unitId: string): Nullable<IRender>;
8
- }
9
- export declare class MockDocSkeletonManagerService extends RxDisposable implements IRenderModule {
10
- private readonly _context;
11
- private readonly _univerInstanceService;
12
- private _docViewModel;
13
- private readonly _currentSkeleton$;
14
- readonly currentSkeleton$: import('rxjs').Observable<Nullable<DocumentSkeleton>>;
15
- private readonly _currentSkeletonBefore$;
16
- readonly currentSkeletonBefore$: import('rxjs').Observable<Nullable<DocumentSkeleton>>;
17
- constructor(_context: IRenderContext<DocumentDataModel>, _univerInstanceService: IUniverInstanceService);
18
- dispose(): void;
19
- private _update;
20
- getSkeleton(): DocumentSkeleton;
21
- getViewModel(): DocumentViewModel;
22
- private _buildDocViewModel;
23
- }
@@ -1,22 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { IDocCollabCursor, ISheetCollabCursor } from '../../models/cursor';
3
- import { Injector, IUniverInstanceService, RxDisposable } from '@univerjs/core';
4
- import { CollaborationSessionService } from '../../services/collaboration-session/collaboration-session.service';
5
- /**
6
- * This controller adds collaboration cursors to Univer. It works with `CollabCursorRenderController`.
7
- *
8
- * This controller is also responsible for managing online collaborators' data.
9
- */
10
- export declare class CollabCursorController extends RxDisposable {
11
- private readonly _univerInstanceService;
12
- private readonly _injector;
13
- private readonly _collabSessionService;
14
- private readonly _entities;
15
- private readonly _entityInit$;
16
- constructor(_univerInstanceService: IUniverInstanceService, _injector: Injector, _collabSessionService: CollaborationSessionService);
17
- dispose(): void;
18
- getCollabCursors$(unitID: string): Observable<Map<string, ISheetCollabCursor> | Map<string, IDocCollabCursor>>;
19
- private _init;
20
- private _startSheetCollabCursor;
21
- private _startDocCollabCursor;
22
- }
@@ -1,38 +0,0 @@
1
- import { ICollaborationUser, ITransformService } from '@univerjs-pro/collaboration';
2
- import { IDocCollabCursor } from '../../models/cursor';
3
- import { ICommandService, Injector, IUniverInstanceService, RxDisposable } from '@univerjs/core';
4
- import { CollaborationSession } from '../../services/collaboration-session/collaboration-session';
5
- import { ColorAssignService } from '../../services/color-assign/color-assign.service';
6
- import { MemberService } from '../../services/member/member.service';
7
- import { DocSyncEditingCollabCursorService } from '../../services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service';
8
- /**
9
- * Each univer document instance would map to an `CollabCursorEntity` to handle collaborated editing events.
10
- */
11
- export declare class DocCollabCursorEntity extends RxDisposable {
12
- readonly unitID: string;
13
- private readonly _session;
14
- private readonly _injector;
15
- private readonly _colorAssignService;
16
- private readonly _memberService;
17
- private readonly _syncEditingCollabCursorService;
18
- private readonly _transformService;
19
- private readonly _univerInstanceService;
20
- private readonly _commandService;
21
- private _online;
22
- private _init;
23
- /** Cursor info of the collaboration room members. The key would be the memberID. */
24
- private _cursorInfo$;
25
- cursorInfo$: import('rxjs').Observable<Map<string, IDocCollabCursor>>;
26
- get cursorInfo(): Readonly<Map<string, IDocCollabCursor>>;
27
- private _roomMembers$;
28
- roomMembers$: import('rxjs').Observable<ICollaborationUser[]>;
29
- get roomMembers(): Readonly<ICollaborationUser[]>;
30
- constructor(unitID: string, _session: CollaborationSession, _injector: Injector, _colorAssignService: ColorAssignService, _memberService: MemberService, _syncEditingCollabCursorService: DocSyncEditingCollabCursorService, _transformService: ITransformService, _univerInstanceService: IUniverInstanceService, _commandService: ICommandService);
31
- dispose(): void;
32
- init(): void;
33
- private _onCursorUpdate;
34
- private _onCursorDelete;
35
- private _updateLocalCursor;
36
- private _toggleOnline;
37
- private _toggleOffline;
38
- }
@@ -1,24 +0,0 @@
1
- import { DocumentDataModel, ICommandService, RxDisposable, ThemeService } from '@univerjs/core';
2
- import { IRenderContext, IRenderModule } from '@univerjs/engine-render';
3
- import { DocSkeletonManagerService } from '@univerjs/docs';
4
- import { CollabCursorController } from './collab-cursor.controller';
5
- /**
6
- * This controller works with `CollabCursorController` to render doc collaboration cursors.
7
- */
8
- export declare class DocCollabCursorRenderController extends RxDisposable implements IRenderModule {
9
- private readonly _context;
10
- private readonly _docSkeletonManagerService;
11
- private readonly _collabCursorController;
12
- private readonly _commandService;
13
- private readonly _themeService;
14
- /** Cursors stored for different Workbooks. */
15
- private _cursorShapes;
16
- private _cursors;
17
- constructor(_context: IRenderContext<DocumentDataModel>, _docSkeletonManagerService: DocSkeletonManagerService, _collabCursorController: CollabCursorController, _commandService: ICommandService, _themeService: ThemeService);
18
- private _init;
19
- private _updateCollabCursors;
20
- private _refreshCollabCursors;
21
- private _removeCollabCursors;
22
- private _initCommandExecutedListener;
23
- private _initResize;
24
- }
@@ -1,3 +0,0 @@
1
- import { ITextRangeWithStyle } from '@univerjs/engine-render';
2
- export declare function serializeDocTextRanges(ranges: ITextRangeWithStyle[]): string;
3
- export declare function deserializeDocTextRanges(serializedTextRanges: string): ITextRangeWithStyle[];
@@ -1,39 +0,0 @@
1
- import { ICollaborationUser } from '@univerjs-pro/collaboration';
2
- import { ISheetCollabCursor } from '../../models/cursor';
3
- import { CollaborationSession } from '../../services/collaboration-session/collaboration-session';
4
- import { ICommandService, Injector, IUniverInstanceService, RxDisposable } from '@univerjs/core';
5
- import { RefRangeService } from '@univerjs/sheets';
6
- import { ColorAssignService } from '../../services/color-assign/color-assign.service';
7
- import { MemberService } from '../../services/member/member.service';
8
- /**
9
- * Each univer document instance would map to an `CollabCursorEntity` to handle collaborated editing events.
10
- */
11
- export declare class SheetCollabCursorEntity extends RxDisposable {
12
- readonly unitID: string;
13
- private readonly _session;
14
- private readonly _injector;
15
- private readonly _colorAssignService;
16
- private readonly _memberService;
17
- private readonly _univerInstanceService;
18
- private readonly _commandService;
19
- private _refRangeService;
20
- private _online;
21
- private _init;
22
- /** Cursor info of the collaboration room members. The key would be the memberID. */
23
- private _cursorInfo$;
24
- cursorInfo$: import('rxjs').Observable<Map<string, ISheetCollabCursor>>;
25
- get cursorInfo(): Readonly<Map<string, ISheetCollabCursor>>;
26
- private _roomMembers$;
27
- roomMembers$: import('rxjs').Observable<ICollaborationUser[]>;
28
- get roomMembers(): Readonly<ICollaborationUser[]>;
29
- constructor(unitID: string, _session: CollaborationSession, _injector: Injector, _colorAssignService: ColorAssignService, _memberService: MemberService, _univerInstanceService: IUniverInstanceService, _commandService: ICommandService, _refRangeService: RefRangeService);
30
- dispose(): void;
31
- init(): void;
32
- private _onCursorUpdate;
33
- private _onCursorDelete;
34
- private _getMergeRange;
35
- private _onRefRangeChange;
36
- private _updateLocalCursor;
37
- private _toggleOnline;
38
- private _toggleOffline;
39
- }
@@ -1,21 +0,0 @@
1
- import { Workbook, RxDisposable, ThemeService } from '@univerjs/core';
2
- import { IRenderContext, IRenderModule } from '@univerjs/engine-render';
3
- import { SheetSkeletonManagerService } from '@univerjs/sheets-ui';
4
- import { CollabCursorController } from './collab-cursor.controller';
5
- /**
6
- * This controller works with `CollabCursorController` to render sheet collaboration cursors.
7
- */
8
- export declare class SheetCollabCursorRenderController extends RxDisposable implements IRenderModule {
9
- private readonly _context;
10
- private readonly _sheetSkeletonManagerService;
11
- private readonly _collabCursorController;
12
- private readonly _themeService;
13
- /** Cursors stored for different Workbooks. */
14
- private _cursors;
15
- private _lastPointer;
16
- constructor(_context: IRenderContext<Workbook>, _sheetSkeletonManagerService: SheetSkeletonManagerService, _collabCursorController: CollabCursorController, _themeService: ThemeService);
17
- private _init;
18
- private _updateCollabCursors;
19
- private _removeCollabCursors;
20
- private _getSheetObject;
21
- }
@@ -1,18 +0,0 @@
1
- import { Disposable, Injector, IUniverInstanceService } from '@univerjs/core';
2
- import { IUIPartsService } from '@univerjs/ui';
3
- import { BehaviorSubject } from 'rxjs';
4
- import { CollaborationController } from '../collaboration/collaboration.controller';
5
- import { CollaborationStatus } from '../collaboration/collaboration-state';
6
- /**
7
- * This controller is responsible for monitoring the collaboration status of the currently focused unit.
8
- */
9
- export declare class DesktopCollaborationStatusDisplayController extends Disposable {
10
- private readonly _univerInstanceService;
11
- private readonly _uiPartsService;
12
- private readonly _injector;
13
- private readonly _collaborationController;
14
- protected readonly _status$: BehaviorSubject<CollaborationStatus>;
15
- constructor(_univerInstanceService: IUniverInstanceService, _uiPartsService: IUIPartsService, _injector: Injector, _collaborationController: CollaborationController);
16
- private _initStatusListener;
17
- protected _initStatusComponent(): void;
18
- }
@@ -1,4 +0,0 @@
1
- import { IWorkbookData } from '@univerjs/core';
2
- export declare const TEST_UNIT_ID = "test";
3
- export declare const ANOTHER_TEST_UNIT_ID = "test2";
4
- export declare function getTestSheetData(id?: string): IWorkbookData;
@@ -1,58 +0,0 @@
1
- import { IDisposable, ILocalStorageService, Nullable, ILogService } from '@univerjs/core';
2
- import { IMessageOptions, IMessageProps } from '@univerjs/design';
3
- import { HTTPResponse } from '@univerjs/network';
4
- import { IBeforeCloseService, IMessageService, INotificationService } from '@univerjs/ui';
5
- import { ICombResponseEvent } from '@univerjs-pro/collaboration';
6
- import { ICollaborationSocket, ICollaborationSocketService } from '../../../services/socket/collaboration-socket.service';
7
- import { Subject } from 'rxjs';
8
- /**
9
- * The handler object for a mocked socket connection. You can terminate, send messages / error through this object.
10
- */
11
- export interface IMockCollabSessionSocketHandler extends ICollaborationSocket {
12
- socket: ICollaborationSocket;
13
- close$: Subject<CloseEvent>;
14
- error$: Subject<Event>;
15
- open$: Subject<Event>;
16
- message$: Subject<ICombResponseEvent>;
17
- }
18
- /**
19
- * This service provides a mocked
20
- */
21
- export declare class MockCollaborationSocketService implements ICollaborationSocketService {
22
- private readonly _logService;
23
- private readonly _handlers;
24
- constructor(_logService: ILogService);
25
- createSocket(url: string): Nullable<ICollaborationSocket>;
26
- /** Test scripts could get the session handler from this method to mock network events. */
27
- getHandler(url: string): Nullable<IMockCollabSessionSocketHandler>;
28
- }
29
- export declare class MockBeforeCloseService implements IBeforeCloseService {
30
- private _onCloseCallbacks;
31
- private _beforeCloseCallbacks;
32
- registerBeforeClose(callback: () => string | undefined): IDisposable;
33
- registerOnClose(callback: () => void): IDisposable;
34
- }
35
- /**
36
- * A mocked local storage service which use in-memory storage.
37
- */
38
- export declare class MockLocalStorageService implements ILocalStorageService {
39
- private readonly _inMemoryCache;
40
- getItem<T>(key: string): Promise<T | null>;
41
- setItem<T>(key: string, value: T): Promise<T>;
42
- removeItem(_key: string): Promise<void>;
43
- clear(): Promise<void>;
44
- key(_index: number): Promise<string | null>;
45
- keys(): Promise<string[]>;
46
- iterate<T, U>(_iteratee: (value: T, key: string, iterationNumber: number) => U): Promise<U>;
47
- }
48
- export declare class MockMessageService implements IMessageService {
49
- show(_options: IMessageOptions & Omit<IMessageProps, 'key'>): IDisposable;
50
- setContainer(_container: HTMLElement): void;
51
- getContainer(): HTMLElement;
52
- }
53
- export declare class MockNotificationService implements INotificationService {
54
- show(): IDisposable;
55
- }
56
- export declare class MockHTTPService {
57
- get(url: string): Promise<HTTPResponse<any>>;
58
- }