@univerjs-pro/collaboration-client 0.5.1 → 0.5.2-nightly.202412281605

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 _0x5e34(_0x3f931f,_0x2be595){var _0x170962=_0x1709();return _0x5e34=function(_0x5e3492,_0x4a178c){_0x5e3492=_0x5e3492-0x1d5;var _0x5ac4dd=_0x170962[_0x5e3492];return _0x5ac4dd;},_0x5e34(_0x3f931f,_0x2be595);}(function(_0x20023a,_0xd29313){var _0x47af78=_0x5e34,_0x29b852=_0x20023a();while(!![]){try{var _0x3482ad=parseInt(_0x47af78(0x1e1))/0x1*(parseInt(_0x47af78(0x1e2))/0x2)+parseInt(_0x47af78(0x1ea))/0x3+-parseInt(_0x47af78(0x1d9))/0x4+-parseInt(_0x47af78(0x1e6))/0x5*(parseInt(_0x47af78(0x1e7))/0x6)+parseInt(_0x47af78(0x1d6))/0x7*(parseInt(_0x47af78(0x1d7))/0x8)+-parseInt(_0x47af78(0x1e9))/0x9+parseInt(_0x47af78(0x1ef))/0xa;if(_0x3482ad===_0xd29313)break;else _0x29b852['push'](_0x29b852['shift']());}catch(_0x312ebe){_0x29b852['push'](_0x29b852['shift']());}}}(_0x1709,0x3e65c),function(_0x324281,_0x5aa03c){var _0x44086c=_0x5e34;typeof exports=='object'&&typeof module<'u'?module['exports']=_0x5aa03c():typeof define==_0x44086c(0x1d8)&&define[_0x44086c(0x1e4)]?define(_0x5aa03c):(_0x324281=typeof globalThis<'u'?globalThis:_0x324281||self,_0x324281[_0x44086c(0x1de)]=_0x5aa03c());}(this,function(){'use strict';var _0x77b9d8=_0x5e34;return{'collab-client':{'tooltip':{'reconnect':_0x77b9d8(0x1eb)}},'collabStatus':{'fetchMiss':_0x77b9d8(0x1ed),'conflict':_0x77b9d8(0x1f0),'notCollab':'Local\x20file','synced':_0x77b9d8(0x1ee),'syncing':_0x77b9d8(0x1e0),'offline':_0x77b9d8(0x1f3)},'session':{'connection-failed':_0x77b9d8(0x1e3),'will-retry':_0x77b9d8(0x1d5),'room-full':_0x77b9d8(0x1dc),'join-failed':_0x77b9d8(0x1da),'room-not-exists':_0x77b9d8(0x1db),'room-permission-denied':_0x77b9d8(0x1ec),'room-cnt-exceeds':_0x77b9d8(0x1f1),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x77b9d8(0x1e5)},'permission':{'title':'Authentication\x20Error','content':_0x77b9d8(0x1dd)},'collaboration':{'single-unit':{'warning':_0x77b9d8(0x1df)},'closeRoom':_0x77b9d8(0x1f2)},'auth':{'needGotoLoginAlert':_0x77b9d8(0x1e8)}};}));function _0x1709(){var _0xf6c106=['Connection\x20failed.\x20Please\x20check\x20your\x20network.','amd','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.','662525aoaELo','6ZpfcCr','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1946655sIAyGU','683712rrGpVG','Click\x20to\x20Reconnect','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','Synced','6117320RNNNfJ','Edit\x20conflicts','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','7pVtkse','480stgseC','function','964232wgRnPr','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20document\x20has\x20reached\x20its\x20collaboration\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.','UniverProCollaborationClientEnUS','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing...','2BPPuVo','5742GtXaqO'];_0x1709=function(){return _0xf6c106;};return _0x1709();}
@@ -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(_0x440691,_0x3d44fd){var _0x4a00f2=_0x2834,_0x622008=_0x440691();while(!![]){try{var _0x3e077a=-parseInt(_0x4a00f2(0x89))/0x1*(-parseInt(_0x4a00f2(0x73))/0x2)+parseInt(_0x4a00f2(0x78))/0x3*(-parseInt(_0x4a00f2(0x92))/0x4)+parseInt(_0x4a00f2(0x79))/0x5*(-parseInt(_0x4a00f2(0x85))/0x6)+parseInt(_0x4a00f2(0x7f))/0x7+-parseInt(_0x4a00f2(0x88))/0x8*(-parseInt(_0x4a00f2(0x93))/0x9)+-parseInt(_0x4a00f2(0x7c))/0xa+-parseInt(_0x4a00f2(0x83))/0xb*(-parseInt(_0x4a00f2(0x94))/0xc);if(_0x3e077a===_0x3d44fd)break;else _0x622008['push'](_0x622008['shift']());}catch(_0x506631){_0x622008['push'](_0x622008['shift']());}}}(_0x56dc,0xec747),function(_0x4d2090,_0x26827f){var _0x1fee9c=_0x2834;typeof exports==_0x1fee9c(0x87)&&typeof module<'u'?module[_0x1fee9c(0x8e)]=_0x26827f():typeof define=='function'&&define[_0x1fee9c(0x75)]?define(_0x26827f):(_0x4d2090=typeof globalThis<'u'?globalThis:_0x4d2090||self,_0x4d2090[_0x1fee9c(0x91)]=_0x26827f());}(this,function(){'use strict';var _0x5a8da8=_0x2834;return{'collab-client':{'tooltip':{'reconnect':_0x5a8da8(0x8d)}},'collabStatus':{'fetchMiss':_0x5a8da8(0x82),'conflict':'تداخل\x20ویرایش','notCollab':_0x5a8da8(0x7a),'synced':_0x5a8da8(0x7e),'syncing':_0x5a8da8(0x74),'offline':_0x5a8da8(0x8f)},'session':{'connection-failed':_0x5a8da8(0x8b),'will-retry':_0x5a8da8(0x84),'room-full':_0x5a8da8(0x76),'join-failed':_0x5a8da8(0x7d),'room-not-exists':_0x5a8da8(0x86),'room-permission-denied':_0x5a8da8(0x95),'room-cnt-exceeds':_0x5a8da8(0x7b),'collaboration-timeout':_0x5a8da8(0x80)},'conflict':{'title':_0x5a8da8(0x8a),'content':_0x5a8da8(0x8c)},'permission':{'title':_0x5a8da8(0x77),'content':_0x5a8da8(0x90)},'collaboration':{'single-unit':{'warning':_0x5a8da8(0x96)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x5a8da8(0x81)}};}));function _0x2834(_0x13eb93,_0x56d178){var _0x56dc95=_0x56dc();return _0x2834=function(_0x283442,_0x28236c){_0x283442=_0x283442-0x73;var _0x3a150d=_0x56dc95[_0x283442];return _0x3a150d;},_0x2834(_0x13eb93,_0x56d178);}function _0x56dc(){var _0x4d3410=['اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','902814feIacp','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','object','76000KdRqDL','22886qlFtyA','تداخل\x20همکاری','اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\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صفحه\x20از\x20بین\x20خواهند\x20رفت.','UniverProCollaborationClientFaIR','4WPtjJt','9LdqIxO','1116gigwPG','دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','54MEOFTE','در\x20حال\x20همگام\x20سازی...','amd','ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','خطای\x20اعتبارسنجی','5034444PdrXGH','35uXEpOt','پرونده\x20محلی','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','18650980zMHQCx','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','همگام\x20سازی','790804isugfX','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی‌دهد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','570658iGezpr'];_0x56dc=function(){return _0x4d3410;};return _0x56dc();}
@@ -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 _0xde00(){var _0x4021a0=['Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','21096NqmPfp','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Synced','1864058dyzNSd','2772876QeRpGo','Authentication\x20Error','890ebDjpH','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','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.','7oztjlB','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Local\x20file','Edit\x20conflicts','556501JxIfHE','1tGnSwz','11516XnyTfX','4671410jgLHRd','1095UJORhi','Syncing...','amd','Connection\x20failed.\x20Please\x20check\x20your\x20network.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','13128496XrUmTx','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'];_0xde00=function(){return _0x4021a0;};return _0xde00();}function _0x5810(_0x100db1,_0x2ce3d1){var _0xde00f1=_0xde00();return _0x5810=function(_0x581024,_0x23b429){_0x581024=_0x581024-0x188;var _0x31e5f6=_0xde00f1[_0x581024];return _0x31e5f6;},_0x5810(_0x100db1,_0x2ce3d1);}(function(_0xe79319,_0x5131b2){var _0x25074a=_0x5810,_0x1b1783=_0xe79319();while(!![]){try{var _0x46b70f=-parseInt(_0x25074a(0x190))/0x1*(parseInt(_0x25074a(0x1a0))/0x2)+parseInt(_0x25074a(0x193))/0x3*(-parseInt(_0x25074a(0x191))/0x4)+parseInt(_0x25074a(0x192))/0x5+parseInt(_0x25074a(0x1a1))/0x6+-parseInt(_0x25074a(0x18b))/0x7*(-parseInt(_0x25074a(0x19a))/0x8)+-parseInt(_0x25074a(0x19d))/0x9*(parseInt(_0x25074a(0x1a3))/0xa)+parseInt(_0x25074a(0x18f))/0xb;if(_0x46b70f===_0x5131b2)break;else _0x1b1783['push'](_0x1b1783['shift']());}catch(_0x5b11f4){_0x1b1783['push'](_0x1b1783['shift']());}}}(_0xde00,0xdae59),function(_0x594e7f,_0x349b83){var _0x408621=_0x5810;typeof exports=='object'&&typeof module<'u'?module['exports']=_0x349b83():typeof define=='function'&&define[_0x408621(0x195)]?define(_0x349b83):(_0x594e7f=typeof globalThis<'u'?globalThis:_0x594e7f||self,_0x594e7f['UniverProCollaborationClientFrFR']=_0x349b83());}(this,function(){'use strict';var _0x21c51d=_0x5810;return{'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x21c51d(0x18e),'notCollab':_0x21c51d(0x18d),'synced':_0x21c51d(0x19f),'syncing':_0x21c51d(0x194),'offline':_0x21c51d(0x19e)},'session':{'connection-failed':_0x21c51d(0x196),'will-retry':_0x21c51d(0x19c),'room-full':_0x21c51d(0x18c),'join-failed':_0x21c51d(0x198),'room-not-exists':_0x21c51d(0x189),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x21c51d(0x19b)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x21c51d(0x18a)},'permission':{'title':_0x21c51d(0x1a2),'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':_0x21c51d(0x197)},'closeRoom':_0x21c51d(0x199)},'auth':{'needGotoLoginAlert':_0x21c51d(0x188)}};}));
@@ -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 _0x2960(_0x95e2c7,_0x25cbf6){var _0x5cdd4c=_0x5cdd();return _0x2960=function(_0x2960ab,_0x2083ac){_0x2960ab=_0x2960ab-0xdd;var _0x73fc4a=_0x5cdd4c[_0x2960ab];return _0x73fc4a;},_0x2960(_0x95e2c7,_0x25cbf6);}(function(_0x52df4c,_0xb2c1f6){var _0x2bd8f3=_0x2960,_0xfdb292=_0x52df4c();while(!![]){try{var _0x5d32a6=-parseInt(_0x2bd8f3(0xe1))/0x1+parseInt(_0x2bd8f3(0xf5))/0x2*(parseInt(_0x2bd8f3(0xf0))/0x3)+-parseInt(_0x2bd8f3(0xea))/0x4+-parseInt(_0x2bd8f3(0xf6))/0x5+parseInt(_0x2bd8f3(0xe8))/0x6+-parseInt(_0x2bd8f3(0xf9))/0x7*(-parseInt(_0x2bd8f3(0xfb))/0x8)+-parseInt(_0x2bd8f3(0xdd))/0x9;if(_0x5d32a6===_0xb2c1f6)break;else _0xfdb292['push'](_0xfdb292['shift']());}catch(_0x13425a){_0xfdb292['push'](_0xfdb292['shift']());}}}(_0x5cdd,0x427e2),function(_0x205afc,_0x583c86){var _0x281cc7=_0x2960;typeof exports==_0x281cc7(0xf8)&&typeof module<'u'?module[_0x281cc7(0xe9)]=_0x583c86():typeof define==_0x281cc7(0xec)&&define[_0x281cc7(0xe3)]?define(_0x583c86):(_0x205afc=typeof globalThis<'u'?globalThis:_0x205afc||self,_0x205afc[_0x281cc7(0xfa)]=_0x583c86());}(this,function(){'use strict';var _0x564c28=_0x2960;return{'collab-client':{'tooltip':{'reconnect':_0x564c28(0xe5)}},'collabStatus':{'fetchMiss':_0x564c28(0xe7),'conflict':_0x564c28(0xf2),'notCollab':_0x564c28(0xde),'synced':_0x564c28(0xe4),'syncing':_0x564c28(0xeb),'offline':_0x564c28(0xfc)},'session':{'connection-failed':_0x564c28(0xf1),'will-retry':_0x564c28(0xf4),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x564c28(0xed),'room-not-exists':_0x564c28(0xf7),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x564c28(0xf3)},'conflict':{'title':_0x564c28(0xdf),'content':_0x564c28(0xe2)},'permission':{'title':_0x564c28(0xe0),'content':_0x564c28(0xee)},'collaboration':{'single-unit':{'warning':_0x564c28(0xe6)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x564c28(0xef)}};}));function _0x5cdd(){var _0x4c3cfa=['5032awJEvL','910455wDSdgL','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','object','455JTwRjB','UniverProCollaborationClientRuRU','21808irBoML','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','390942kcUeXf','Local\x20file','Collaboration\x20Conflict','Authentication\x20Error','158901OXouDi','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.','amd','Synced','Click\x20to\x20Reconnect','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing\x20server\x20data...','3205644fDbVLx','exports','1808832pongeL','Syncing...','function','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\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.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','474oHdZTR','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Edit\x20conflicts','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.'];_0x5cdd=function(){return _0x4c3cfa;};return _0x5cdd();}
@@ -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 _0x4ac2(_0x17a077,_0x7d128e){var _0x1adc71=_0x1adc();return _0x4ac2=function(_0x4ac25a,_0x551dc6){_0x4ac25a=_0x4ac25a-0x9b;var _0x386e3b=_0x1adc71[_0x4ac25a];return _0x386e3b;},_0x4ac2(_0x17a077,_0x7d128e);}function _0x1adc(){var _0x709c75=['2268696KOghpZ','151310YAPpzx','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','UniverProCollaborationClientViVN','2185603fVqnLE','2677995GJRCpx','amd','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','313536YSRYrb','324565DjwXzf','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.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','exports','Syncing...','Syncing\x20server\x20data...','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1533280REmYsx','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Synced','3rUaBOA','Local\x20file','Authentication\x20Error','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20Conflict','Edit\x20conflicts'];_0x1adc=function(){return _0x709c75;};return _0x1adc();}(function(_0x41593c,_0x3ed356){var _0x483065=_0x4ac2,_0x19a7fd=_0x41593c();while(!![]){try{var _0x1d4b43=parseInt(_0x483065(0xa9))/0x1+-parseInt(_0x483065(0xa1))/0x2+parseInt(_0x483065(0xb5))/0x3*(parseInt(_0x483065(0xa8))/0x4)+parseInt(_0x483065(0xa5))/0x5+-parseInt(_0x483065(0xa0))/0x6+-parseInt(_0x483065(0xa4))/0x7+parseInt(_0x483065(0xb1))/0x8;if(_0x1d4b43===_0x3ed356)break;else _0x19a7fd['push'](_0x19a7fd['shift']());}catch(_0x58a788){_0x19a7fd['push'](_0x19a7fd['shift']());}}}(_0x1adc,0x58eb0),function(_0x3e8988,_0x41d066){var _0x3914f8=_0x4ac2;typeof exports=='object'&&typeof module<'u'?module[_0x3914f8(0xad)]=_0x41d066():typeof define=='function'&&define[_0x3914f8(0xa6)]?define(_0x41d066):(_0x3e8988=typeof globalThis<'u'?globalThis:_0x3e8988||self,_0x3e8988[_0x3914f8(0xa3)]=_0x41d066());}(this,function(){'use strict';var _0x4b5205=_0x4ac2;return{'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x4b5205(0xaf),'conflict':_0x4b5205(0x9f),'notCollab':_0x4b5205(0x9b),'synced':_0x4b5205(0xb4),'syncing':_0x4b5205(0xae),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x4b5205(0xb2),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x4b5205(0xac),'room-not-exists':_0x4b5205(0xb3),'room-permission-denied':_0x4b5205(0xb0),'room-cnt-exceeds':_0x4b5205(0xaa),'collaboration-timeout':_0x4b5205(0xa7)},'conflict':{'title':_0x4b5205(0x9e),'content':_0x4b5205(0xab)},'permission':{'title':_0x4b5205(0x9c),'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':_0x4b5205(0xa2)},'auth':{'needGotoLoginAlert':_0x4b5205(0x9d)}};}));
@@ -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 _0x7626(){var _0x40cb98=['由于协同房间被关闭,编辑权限被收回。','function','连接失败,将在一会儿之后重试连接','7AhpvKS','amd','保存中...','加入协同失败,你的编辑将在本地缓存','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','6957171VhXfcw','4963146DMOlmk','协同冲突','UniverProCollaborationClientZhCN','296312uadCBe','724822wKoqqO','exports','3885016kRptZx','92eMnivv','object','正在拉取服务端数据...','44160720qudsbj','186580QPTzkj','连接失败,请检查你的网络','协同文档数量超过限制,你的编辑将在本地缓存','已同步','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','6bzhJOD'];_0x7626=function(){return _0x40cb98;};return _0x7626();}function _0x5bd1(_0x34b1c6,_0x33b49d){var _0x7626d7=_0x7626();return _0x5bd1=function(_0x5bd1a0,_0xff2837){_0x5bd1a0=_0x5bd1a0-0x86;var _0x4e2605=_0x7626d7[_0x5bd1a0];return _0x4e2605;},_0x5bd1(_0x34b1c6,_0x33b49d);}(function(_0x1f963a,_0x5dd757){var _0x127b3f=_0x5bd1,_0x159cde=_0x1f963a();while(!![]){try{var _0x4b0dc1=-parseInt(_0x127b3f(0x9a))/0x1+parseInt(_0x127b3f(0x99))/0x2*(-parseInt(_0x127b3f(0x8c))/0x3)+-parseInt(_0x127b3f(0x9d))/0x4*(parseInt(_0x127b3f(0x86))/0x5)+-parseInt(_0x127b3f(0x96))/0x6+parseInt(_0x127b3f(0x90))/0x7*(-parseInt(_0x127b3f(0x9c))/0x8)+-parseInt(_0x127b3f(0x95))/0x9+parseInt(_0x127b3f(0xa0))/0xa;if(_0x4b0dc1===_0x5dd757)break;else _0x159cde['push'](_0x159cde['shift']());}catch(_0x5c4acd){_0x159cde['push'](_0x159cde['shift']());}}}(_0x7626,0x6e111),function(_0xa8997c,_0x3acaba){var _0x3e819e=_0x5bd1;typeof exports==_0x3e819e(0x9e)&&typeof module<'u'?module[_0x3e819e(0x9b)]=_0x3acaba():typeof define==_0x3e819e(0x8e)&&define[_0x3e819e(0x91)]?define(_0x3acaba):(_0xa8997c=typeof globalThis<'u'?globalThis:_0xa8997c||self,_0xa8997c[_0x3e819e(0x98)]=_0x3acaba());}(this,function(){'use strict';var _0x5b0eca=_0x5bd1;return{'collab-client':{'tooltip':{'reconnect':'点击重新连接'}},'collabStatus':{'fetchMiss':_0x5b0eca(0x9f),'conflict':'编辑冲突','notCollab':'本地文件','synced':_0x5b0eca(0x89),'syncing':_0x5b0eca(0x92),'offline':'已离线,编辑将在本地缓存'},'session':{'connection-failed':_0x5b0eca(0x87),'will-retry':_0x5b0eca(0x8f),'room-full':'此文档协同人数已满,你的编辑将在本地缓存','join-failed':'加入协同失败,请稍后重试,你的编辑将在本地缓存','room-not-exists':_0x5b0eca(0x93),'room-permission-denied':'没有协同权限,你的编辑将在本地缓存','room-cnt-exceeds':_0x5b0eca(0x88),'collaboration-timeout':'服务器未响应,你的编辑将在本地缓存'},'conflict':{'title':_0x5b0eca(0x97),'content':'你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'permission':{'title':'权限错误','content':_0x5b0eca(0x94)},'collaboration':{'single-unit':{'warning':_0x5b0eca(0x8a)},'closeRoom':_0x5b0eca(0x8d)},'auth':{'needGotoLoginAlert':_0x5b0eca(0x8b)}};}));
@@ -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(_0x5d929e,_0x264dcd){var _0x5c643d=_0x164c,_0x46cd41=_0x5d929e();while(!![]){try{var _0x4ccaac=-parseInt(_0x5c643d(0x154))/0x1+-parseInt(_0x5c643d(0x156))/0x2+parseInt(_0x5c643d(0x14f))/0x3+parseInt(_0x5c643d(0x14c))/0x4+parseInt(_0x5c643d(0x15f))/0x5*(parseInt(_0x5c643d(0x149))/0x6)+parseInt(_0x5c643d(0x14b))/0x7*(-parseInt(_0x5c643d(0x14a))/0x8)+-parseInt(_0x5c643d(0x166))/0x9*(-parseInt(_0x5c643d(0x152))/0xa);if(_0x4ccaac===_0x264dcd)break;else _0x46cd41['push'](_0x46cd41['shift']());}catch(_0x4e3f86){_0x46cd41['push'](_0x46cd41['shift']());}}}(_0x5ab7,0x6664c),function(_0x36adfb,_0x5e5e41){var _0x6d406f=_0x164c;typeof exports==_0x6d406f(0x159)&&typeof module<'u'?module[_0x6d406f(0x168)]=_0x5e5e41():typeof define==_0x6d406f(0x15c)&&define[_0x6d406f(0x151)]?define(_0x5e5e41):(_0x36adfb=typeof globalThis<'u'?globalThis:_0x36adfb||self,_0x36adfb[_0x6d406f(0x161)]=_0x5e5e41());}(this,function(){'use strict';var _0xcd198c=_0x164c;return{'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0xcd198c(0x164),'conflict':'Edit\x20conflicts','notCollab':_0xcd198c(0x169),'synced':_0xcd198c(0x162),'syncing':_0xcd198c(0x14e),'offline':_0xcd198c(0x15a)},'session':{'connection-failed':_0xcd198c(0x15e),'will-retry':_0xcd198c(0x150),'room-full':_0xcd198c(0x15b),'join-failed':_0xcd198c(0x165),'room-not-exists':_0xcd198c(0x16a),'room-permission-denied':_0xcd198c(0x155),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0xcd198c(0x15d)},'conflict':{'title':_0xcd198c(0x160),'content':_0xcd198c(0x157)},'permission':{'title':_0xcd198c(0x158),'content':_0xcd198c(0x163)},'collaboration':{'single-unit':{'warning':_0xcd198c(0x14d)},'closeRoom':_0xcd198c(0x167)},'auth':{'needGotoLoginAlert':_0xcd198c(0x153)}};}));function _0x164c(_0x3c3199,_0x48bee8){var _0x5ab735=_0x5ab7();return _0x164c=function(_0x164c06,_0x2f158f){_0x164c06=_0x164c06-0x149;var _0xaf8d31=_0x5ab735[_0x164c06];return _0xaf8d31;},_0x164c(_0x3c3199,_0x48bee8);}function _0x5ab7(){var _0x3a4307=['Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','amd','11784460xzRkoJ','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','777012uUcOfX','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','433936akIEhC','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','object','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','function','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','5qMGFXN','Collaboration\x20Conflict','UniverProCollaborationClientZhTW','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.','Syncing\x20server\x20data...','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','9saHavB','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','exports','Local\x20file','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','902436nrxepH','589592LeLVSP','70NqFabu','679464CMZjQK','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing...','1954968REWRbA'];_0x5ab7=function(){return _0x3a4307;};return _0x5ab7();}
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-nightly.202412281605",
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/collaboration": "0.5.2-nightly.202412281605",
62
+ "@univerjs/docs": "0.5.2-nightly.202412281605",
63
+ "@univerjs-pro/license": "0.5.2-nightly.202412281605",
64
+ "@univerjs/protocol": "0.1.40-alpha.10",
65
+ "@univerjs/core": "0.5.2-nightly.202412281605",
66
+ "@univerjs/drawing": "0.5.2-nightly.202412281605",
67
+ "@univerjs/sheets": "0.5.2-nightly.202412281605",
68
+ "@univerjs/network": "0.5.2-nightly.202412281605",
69
+ "@univerjs/telemetry": "0.5.2-nightly.202412281605"
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
- }