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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/en-US.js +1 -1
  3. package/lib/cjs/locale/fa-IR.js +1 -1
  4. package/lib/cjs/locale/fr-FR.js +1 -1
  5. package/lib/cjs/locale/ru-RU.js +1 -1
  6. package/lib/cjs/locale/vi-VN.js +1 -1
  7. package/lib/cjs/locale/zh-CN.js +1 -1
  8. package/lib/cjs/locale/zh-TW.js +1 -1
  9. package/lib/es/index.js +1 -1
  10. package/lib/es/locale/en-US.js +1 -1
  11. package/lib/es/locale/fa-IR.js +1 -1
  12. package/lib/es/locale/fr-FR.js +1 -1
  13. package/lib/es/locale/ru-RU.js +1 -1
  14. package/lib/es/locale/vi-VN.js +1 -1
  15. package/lib/es/locale/zh-CN.js +1 -1
  16. package/lib/es/locale/zh-TW.js +1 -1
  17. package/lib/index.css +0 -1
  18. package/lib/types/controllers/collaboration/collaboration-entity.d.ts +20 -18
  19. package/lib/types/controllers/collaboration/collaboration-state.d.ts +17 -14
  20. package/lib/types/controllers/collaboration/collaboration.controller.d.ts +1 -0
  21. package/lib/types/index.d.ts +11 -11
  22. package/lib/types/plugin.d.ts +1 -6
  23. package/lib/types/services/collaboration-session/collaboration-session.d.ts +3 -4
  24. package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +3 -3
  25. package/lib/types/services/collaboration-ui-event/collaboration-ui-event.d.ts +19 -0
  26. package/lib/types/services/data-loader/data-loader.service.d.ts +23 -0
  27. package/lib/types/services/image-remote/image-io.service.d.ts +1 -1
  28. package/lib/types/services/local-cache/local-cache.service.d.ts +7 -23
  29. package/lib/types/services/permission/permission.service.d.ts +8 -3
  30. package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +0 -24
  31. package/lib/umd/index.js +1 -1
  32. package/lib/umd/locale/en-US.js +1 -1
  33. package/lib/umd/locale/fa-IR.js +1 -1
  34. package/lib/umd/locale/fr-FR.js +1 -1
  35. package/lib/umd/locale/ru-RU.js +1 -1
  36. package/lib/umd/locale/vi-VN.js +1 -1
  37. package/lib/umd/locale/zh-CN.js +1 -1
  38. package/lib/umd/locale/zh-TW.js +1 -1
  39. package/package.json +8 -17
  40. package/lib/types/controllers/clipboard/docs/image/image-paste.controller.d.ts +0 -9
  41. package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +0 -23
  42. package/lib/types/controllers/collab-cursor/__tests__/serialize-text-ranges.spec.d.ts +0 -1
  43. package/lib/types/controllers/collab-cursor/__tests__/sheet-collab-cursor.controller.spec.d.ts +0 -1
  44. package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +0 -22
  45. package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +0 -38
  46. package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +0 -24
  47. package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +0 -3
  48. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +0 -39
  49. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +0 -21
  50. package/lib/types/controllers/collab-status/collab-status.controller.d.ts +0 -18
  51. package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +0 -4
  52. package/lib/types/controllers/collaboration/__tests__/mock-text-selection-render-manager.service.d.ts +0 -0
  53. package/lib/types/controllers/collaboration/__tests__/mocks.d.ts +0 -58
  54. package/lib/types/controllers/data-loader/__tests__/data-loader.controller.spec.d.ts +0 -1
  55. package/lib/types/controllers/data-loader/data-loader.controller.d.ts +0 -22
  56. package/lib/types/models/cursor.d.ts +0 -30
  57. package/lib/types/services/color-assign/color-assign.service.d.ts +0 -10
  58. package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +0 -13
  59. package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +0 -12
  60. package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +0 -13
  61. package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +0 -8
  62. package/lib/types/services/url/url.service.d.ts +0 -12
  63. package/lib/types/services/url/web-url.service.d.ts +0 -10
  64. package/lib/types/views/components/CollabStatus.d.ts +0 -10
  65. package/lib/types/views/components/CollabStatus.stories.d.ts +0 -8
  66. package/lib/types/views/shapes/doc-collab-cursor.d.ts +0 -27
  67. package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +0 -27
  68. package/lib/types/views/shapes/text-bubble.shape.d.ts +0 -19
@@ -1 +1 @@
1
- function _0x2d68(_0x54b7a3,_0x449db7){var _0x4d6782=_0x4d67();return _0x2d68=function(_0x2d6803,_0x16fdfd){_0x2d6803=_0x2d6803-0x1e9;var _0x5f4523=_0x4d6782[_0x2d6803];return _0x5f4523;},_0x2d68(_0x54b7a3,_0x449db7);}(function(_0x353dfd,_0x484b94){var _0x199146=_0x2d68,_0x506901=_0x353dfd();while(!![]){try{var _0x3c684b=-parseInt(_0x199146(0x1e9))/0x1*(parseInt(_0x199146(0x1ee))/0x2)+parseInt(_0x199146(0x1eb))/0x3*(parseInt(_0x199146(0x1fb))/0x4)+parseInt(_0x199146(0x1ec))/0x5*(-parseInt(_0x199146(0x1ea))/0x6)+-parseInt(_0x199146(0x202))/0x7+-parseInt(_0x199146(0x208))/0x8*(parseInt(_0x199146(0x207))/0x9)+-parseInt(_0x199146(0x1fd))/0xa*(parseInt(_0x199146(0x1ef))/0xb)+parseInt(_0x199146(0x1ff))/0xc*(parseInt(_0x199146(0x20a))/0xd);if(_0x3c684b===_0x484b94)break;else _0x506901['push'](_0x506901['shift']());}catch(_0x19bf60){_0x506901['push'](_0x506901['shift']());}}}(_0x4d67,0x75b49),function(_0x66dd4b,_0x24aa41){var _0x58f034=_0x2d68;typeof exports=='object'&&typeof module<'u'?module[_0x58f034(0x1f2)]=_0x24aa41():typeof define==_0x58f034(0x1ed)&&define[_0x58f034(0x206)]?define(_0x24aa41):(_0x66dd4b=typeof globalThis<'u'?globalThis:_0x66dd4b||self,_0x66dd4b[_0x58f034(0x1f3)]=_0x24aa41());}(this,function(){'use strict';var _0x194ad5=_0x2d68;return{'collab-client':{'tooltip':{'reconnect':_0x194ad5(0x1f0)}},'collabStatus':{'fetchMiss':_0x194ad5(0x201),'conflict':_0x194ad5(0x205),'notCollab':_0x194ad5(0x1f8),'synced':_0x194ad5(0x1f4),'syncing':'Syncing...','offline':_0x194ad5(0x204)},'session':{'connection-failed':_0x194ad5(0x1f6),'will-retry':_0x194ad5(0x1fa),'room-full':_0x194ad5(0x200),'join-failed':_0x194ad5(0x1fc),'room-not-exists':_0x194ad5(0x1f7),'room-permission-denied':_0x194ad5(0x203),'room-cnt-exceeds':_0x194ad5(0x1f1),'collaboration-timeout':_0x194ad5(0x1f5)},'conflict':{'title':_0x194ad5(0x20c),'content':_0x194ad5(0x1fe)},'permission':{'title':_0x194ad5(0x1f9),'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':_0x194ad5(0x20b)},'auth':{'needGotoLoginAlert':_0x194ad5(0x209)}};}));function _0x4d67(){var _0x5cf090=['Connection\x20failed.\x20Please\x20check\x20your\x20network.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Local\x20file','Authentication\x20Error','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','340NLyfwo','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','8690jWtisE','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.','35704872dcGDhB','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','1166641RBtPrd','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Edit\x20conflicts','amd','279mKnXsQ','183152AtHdIV','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','13FfYCPx','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Collaboration\x20Conflict','2QzWSPp','84WtHaOn','18339iYIUiM','325505oqvtse','function','629834jlqmlN','7535xSKNYT','Click\x20to\x20Reconnect','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','exports','UniverProCollaborationClientEnUS','Synced','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'];_0x4d67=function(){return _0x5cf090;};return _0x4d67();}
1
+ function _0x3af3(_0x1b2331,_0x223e01){var _0x4eb3a4=_0x4eb3();return _0x3af3=function(_0x3af3f3,_0x4a3344){_0x3af3f3=_0x3af3f3-0xcf;var _0x1378e1=_0x4eb3a4[_0x3af3f3];return _0x1378e1;},_0x3af3(_0x1b2331,_0x223e01);}(function(_0x293793,_0x1b315b){var _0x551fc0=_0x3af3,_0x23c1c5=_0x293793();while(!![]){try{var _0x1dd963=-parseInt(_0x551fc0(0xd0))/0x1*(parseInt(_0x551fc0(0xe2))/0x2)+-parseInt(_0x551fc0(0xe3))/0x3*(parseInt(_0x551fc0(0xdd))/0x4)+-parseInt(_0x551fc0(0xde))/0x5+parseInt(_0x551fc0(0xeb))/0x6+-parseInt(_0x551fc0(0xe6))/0x7+parseInt(_0x551fc0(0xe8))/0x8*(parseInt(_0x551fc0(0xea))/0x9)+-parseInt(_0x551fc0(0xdf))/0xa*(-parseInt(_0x551fc0(0xed))/0xb);if(_0x1dd963===_0x1b315b)break;else _0x23c1c5['push'](_0x23c1c5['shift']());}catch(_0x3093e7){_0x23c1c5['push'](_0x23c1c5['shift']());}}}(_0x4eb3,0x88359),function(_0xa91ff1,_0x45f07c){var _0x594ac5=_0x3af3;typeof exports==_0x594ac5(0xe1)&&typeof module<'u'?module[_0x594ac5(0xe4)]=_0x45f07c():typeof define=='function'&&define[_0x594ac5(0xd5)]?define(_0x45f07c):(_0xa91ff1=typeof globalThis<'u'?globalThis:_0xa91ff1||self,_0xa91ff1['UniverProCollaborationClientEnUS']=_0x45f07c());}(this,function(){'use strict';var _0x618c63=_0x3af3;return{'collab-client':{'tooltip':{'reconnect':_0x618c63(0xd8)}},'collabStatus':{'fetchMiss':_0x618c63(0xdb),'conflict':'Edit\x20conflicts','notCollab':_0x618c63(0xda),'synced':_0x618c63(0xd1),'syncing':_0x618c63(0xe9),'offline':_0x618c63(0xd6)},'session':{'connection-failed':_0x618c63(0xef),'will-retry':_0x618c63(0xe7),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x618c63(0xd7),'room-not-exists':_0x618c63(0xd9),'room-permission-denied':_0x618c63(0xd2),'room-cnt-exceeds':_0x618c63(0xdc),'collaboration-timeout':_0x618c63(0xd4)},'conflict':{'title':_0x618c63(0xec),'content':_0x618c63(0xe5)},'permission':{'title':_0x618c63(0xe0),'content':_0x618c63(0xee)},'collaboration':{'single-unit':{'warning':_0x618c63(0xcf)},'closeRoom':_0x618c63(0xd3)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};}));function _0x4eb3(){var _0x3f50ec=['Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Click\x20to\x20Reconnect','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Local\x20file','Syncing\x20server\x20data...','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','15668vPIYzJ','3134880Dmzvqy','190nTxTFC','Authentication\x20Error','object','3518QKSsib','3kZqeKP','exports','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.','19957QnGkcN','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','16wnVFtK','Syncing...','1591362jScXJI','6502980EYEwvc','Collaboration\x20Conflict','364837LuyrnN','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','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.','498qHgZSL','Synced','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','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.','amd','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'];_0x4eb3=function(){return _0x3f50ec;};return _0x4eb3();}
@@ -1 +1 @@
1
- function _0x47eb(){var _0x3ddc5c=['1687553gKlkVc','1435962RGrfSP','8GBuoNu','240rPAVZE','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','تداخل\x20همکاری','amd','968BykCFm','11ZfoBxr','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','پرونده\x20محلی','همگام\x20سازی','در\x20حال\x20همگام\x20سازی...','تداخل\x20ویرایش','اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','580266bxKwyW','159633inLyIk','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','1718NShkGl','7577340wQdbuQ','2324132DUxdxu','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','exports','5zCorTC','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','function','ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی‌دهد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\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','object'];_0x47eb=function(){return _0x3ddc5c;};return _0x47eb();}function _0x2dbe(_0x58d60e,_0x53c041){var _0x47ebb9=_0x47eb();return _0x2dbe=function(_0x2dbe1f,_0xa0952d){_0x2dbe1f=_0x2dbe1f-0x1c2;var _0x3e58af=_0x47ebb9[_0x2dbe1f];return _0x3e58af;},_0x2dbe(_0x58d60e,_0x53c041);}(function(_0x225b51,_0x4549bb){var _0x760d29=_0x2dbe,_0x4e9494=_0x225b51();while(!![]){try{var _0x1dcc54=-parseInt(_0x760d29(0x1c7))/0x1*(parseInt(_0x760d29(0x1dc))/0x2)+-parseInt(_0x760d29(0x1e4))/0x3+-parseInt(_0x760d29(0x1c9))/0x4*(-parseInt(_0x760d29(0x1cc))/0x5)+-parseInt(_0x760d29(0x1d6))/0x6+-parseInt(_0x760d29(0x1d5))/0x7*(-parseInt(_0x760d29(0x1d7))/0x8)+parseInt(_0x760d29(0x1c2))/0x9*(parseInt(_0x760d29(0x1d8))/0xa)+parseInt(_0x760d29(0x1dd))/0xb*(parseInt(_0x760d29(0x1c8))/0xc);if(_0x1dcc54===_0x4549bb)break;else _0x4e9494['push'](_0x4e9494['shift']());}catch(_0x138a2d){_0x4e9494['push'](_0x4e9494['shift']());}}}(_0x47eb,0x96248),function(_0xe7c8cf,_0x2ae13c){var _0x41d1de=_0x2dbe;typeof exports==_0x41d1de(0x1d4)&&typeof module<'u'?module[_0x41d1de(0x1cb)]=_0x2ae13c():typeof define==_0x41d1de(0x1cf)&&define[_0x41d1de(0x1db)]?define(_0x2ae13c):(_0xe7c8cf=typeof globalThis<'u'?globalThis:_0xe7c8cf||self,_0xe7c8cf[_0x41d1de(0x1d3)]=_0x2ae13c());}(this,function(){'use strict';var _0x11e691=_0x2dbe;return{'collab-client':{'tooltip':{'reconnect':_0x11e691(0x1ce)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x11e691(0x1e2),'notCollab':_0x11e691(0x1df),'synced':_0x11e691(0x1e0),'syncing':_0x11e691(0x1e1),'offline':_0x11e691(0x1c5)},'session':{'connection-failed':_0x11e691(0x1e3),'will-retry':_0x11e691(0x1ca),'room-full':_0x11e691(0x1d0),'join-failed':_0x11e691(0x1de),'room-not-exists':_0x11e691(0x1cd),'room-permission-denied':_0x11e691(0x1c6),'room-cnt-exceeds':_0x11e691(0x1c4),'collaboration-timeout':_0x11e691(0x1d1)},'conflict':{'title':_0x11e691(0x1da),'content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':'خطای\x20اعتبارسنجی','content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x11e691(0x1d2)},'closeRoom':_0x11e691(0x1d9)},'auth':{'needGotoLoginAlert':_0x11e691(0x1c3)}};}));
1
+ function _0x17a8(){var _0x31e1af=['ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\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','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','1307336NbWJVP','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شد.','3028ulIUnl','302004AKPGgh','672yFKvsv','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی‌دهد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','42812HLWYAN','خطای\x20اعتبارسنجی','287991xiIGeX','2875615TnztLh','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','تداخل\x20ویرایش','در\x20حال\x20همگام\x20سازی...','دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','363WwElSf','UniverProCollaborationClientFaIR','1906002gIDnPA','330VohhnU'];_0x17a8=function(){return _0x31e1af;};return _0x17a8();}function _0x3ed2(_0x431d3b,_0x29e3fe){var _0x17a88f=_0x17a8();return _0x3ed2=function(_0x3ed2e4,_0x2559b9){_0x3ed2e4=_0x3ed2e4-0x173;var _0x396571=_0x17a88f[_0x3ed2e4];return _0x396571;},_0x3ed2(_0x431d3b,_0x29e3fe);}(function(_0x3b963f,_0x334fb9){var _0x5f0756=_0x3ed2,_0x2ccb7c=_0x3b963f();while(!![]){try{var _0x28aa7b=-parseInt(_0x5f0756(0x184))/0x1*(-parseInt(_0x5f0756(0x178))/0x2)+parseInt(_0x5f0756(0x17e))/0x3+-parseInt(_0x5f0756(0x174))/0x4+parseInt(_0x5f0756(0x17f))/0x5+parseInt(_0x5f0756(0x186))/0x6+-parseInt(_0x5f0756(0x17c))/0x7*(-parseInt(_0x5f0756(0x17a))/0x8)+parseInt(_0x5f0756(0x179))/0x9*(-parseInt(_0x5f0756(0x187))/0xa);if(_0x28aa7b===_0x334fb9)break;else _0x2ccb7c['push'](_0x2ccb7c['shift']());}catch(_0x2d2f9e){_0x2ccb7c['push'](_0x2ccb7c['shift']());}}}(_0x17a8,0x96dcb),function(_0x13a3e6,_0x5c2626){var _0x490955=_0x3ed2;typeof exports=='object'&&typeof module<'u'?module[_0x490955(0x175)]=_0x5c2626():typeof define=='function'&&define[_0x490955(0x18e)]?define(_0x5c2626):(_0x13a3e6=typeof globalThis<'u'?globalThis:_0x13a3e6||self,_0x13a3e6[_0x490955(0x185)]=_0x5c2626());}(this,function(){'use strict';var _0x511729=_0x3ed2;return{'collab-client':{'tooltip':{'reconnect':_0x511729(0x18f)}},'collabStatus':{'fetchMiss':_0x511729(0x18b),'conflict':_0x511729(0x181),'notCollab':'پرونده\x20محلی','synced':_0x511729(0x18c),'syncing':_0x511729(0x182),'offline':_0x511729(0x173)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x511729(0x188),'join-failed':_0x511729(0x189),'room-not-exists':_0x511729(0x18d),'room-permission-denied':_0x511729(0x183),'room-cnt-exceeds':_0x511729(0x177),'collaboration-timeout':_0x511729(0x17b)},'conflict':{'title':'تداخل\x20همکاری','content':_0x511729(0x18a)},'permission':{'title':_0x511729(0x17d),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x511729(0x180)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x511729(0x176)}};}));
@@ -1 +1 @@
1
- function _0x46d2(){var _0x1db9bb=['4SKKIDh','UniverProCollaborationClientFrFR','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','3293169KzrrhW','Syncing\x20server\x20data...','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','7019232UNderP','45913vbeywV','10zmfMEk','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','exports','Authentication\x20Error','Collaboration\x20Conflict','function','object','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','462UdVmkY','Connection\x20failed.\x20Please\x20check\x20your\x20network.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing...','No\x20collaboration\x20permission.\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.','581502WTpWgG','11639820bvwKeV','264ooQVRc','10178631ngZOXU','Synced','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','54155mJPnPw','1pgNfMK','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','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.','Edit\x20conflicts'];_0x46d2=function(){return _0x1db9bb;};return _0x46d2();}function _0x3821(_0x306821,_0x1e411d){var _0x46d2db=_0x46d2();return _0x3821=function(_0x382144,_0x2ddd03){_0x382144=_0x382144-0xea;var _0x3a3858=_0x46d2db[_0x382144];return _0x3a3858;},_0x3821(_0x306821,_0x1e411d);}(function(_0x269f05,_0x6d0c83){var _0x453f97=_0x3821,_0x39f13d=_0x269f05();while(!![]){try{var _0x42f64b=parseInt(_0x453f97(0xf9))/0x1*(-parseInt(_0x453f97(0xf2))/0x2)+-parseInt(_0x453f97(0x101))/0x3*(-parseInt(_0x453f97(0xfe))/0x4)+parseInt(_0x453f97(0xf8))/0x5*(-parseInt(_0x453f97(0xec))/0x6)+parseInt(_0x453f97(0x106))/0x7*(parseInt(_0x453f97(0xf4))/0x8)+parseInt(_0x453f97(0xf5))/0x9*(-parseInt(_0x453f97(0x107))/0xa)+parseInt(_0x453f97(0x105))/0xb+parseInt(_0x453f97(0xf3))/0xc;if(_0x42f64b===_0x6d0c83)break;else _0x39f13d['push'](_0x39f13d['shift']());}catch(_0x1bfc3d){_0x39f13d['push'](_0x39f13d['shift']());}}}(_0x46d2,0xa2bca),function(_0x30fdd4,_0x1d3b34){var _0x540e3c=_0x3821;typeof exports==_0x540e3c(0xea)&&typeof module<'u'?module[_0x540e3c(0x109)]=_0x1d3b34():typeof define==_0x540e3c(0x10c)&&define['amd']?define(_0x1d3b34):(_0x30fdd4=typeof globalThis<'u'?globalThis:_0x30fdd4||self,_0x30fdd4[_0x540e3c(0xff)]=_0x1d3b34());}(this,function(){'use strict';var _0x4801f3=_0x3821;return{'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x4801f3(0x102),'conflict':_0x4801f3(0xfd),'notCollab':'Local\x20file','synced':_0x4801f3(0xf6),'syncing':_0x4801f3(0xef),'offline':_0x4801f3(0x100)},'session':{'connection-failed':_0x4801f3(0xed),'will-retry':_0x4801f3(0xf7),'room-full':_0x4801f3(0xee),'join-failed':_0x4801f3(0xfc),'room-not-exists':_0x4801f3(0x108),'room-permission-denied':_0x4801f3(0xf0),'room-cnt-exceeds':_0x4801f3(0x104),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x4801f3(0x10b),'content':_0x4801f3(0xf1)},'permission':{'title':_0x4801f3(0x10a),'content':_0x4801f3(0x103)},'collaboration':{'single-unit':{'warning':_0x4801f3(0xfa)},'closeRoom':_0x4801f3(0xeb)},'auth':{'needGotoLoginAlert':_0x4801f3(0xfb)}};}));
1
+ function _0x4fc3(_0x4e261e,_0x55d946){var _0x25c3d2=_0x25c3();return _0x4fc3=function(_0x4fc3b3,_0x15fbd9){_0x4fc3b3=_0x4fc3b3-0x158;var _0x14e03b=_0x25c3d2[_0x4fc3b3];return _0x14e03b;},_0x4fc3(_0x4e261e,_0x55d946);}function _0x25c3(){var _0x5c5846=['Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','UniverProCollaborationClientFrFR','exports','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1444155thonof','Collaboration\x20Conflict','1700164genaJO','792395kBHKyd','73938HOMRbS','16rgQLXz','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.\x20Please\x20check\x20your\x20network.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','52YbZYUc','Syncing...','Syncing\x20server\x20data...','Click\x20to\x20Reconnect','function','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1843793UQHKwK','Authentication\x20Error','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','18GLdwGD','780426HsfhYj','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','25175710HsXmPC','amd','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x25c3=function(){return _0x5c5846;};return _0x25c3();}(function(_0x421cb4,_0x485f73){var _0x462054=_0x4fc3,_0x82480b=_0x421cb4();while(!![]){try{var _0x3ca052=-parseInt(_0x462054(0x16e))/0x1+-parseInt(_0x462054(0x175))/0x2*(parseInt(_0x462054(0x16f))/0x3)+parseInt(_0x462054(0x16d))/0x4+-parseInt(_0x462054(0x16b))/0x5+-parseInt(_0x462054(0x160))/0x6*(parseInt(_0x462054(0x15d))/0x7)+parseInt(_0x462054(0x170))/0x8*(parseInt(_0x462054(0x161))/0x9)+parseInt(_0x462054(0x163))/0xa;if(_0x3ca052===_0x485f73)break;else _0x82480b['push'](_0x82480b['shift']());}catch(_0x3bf757){_0x82480b['push'](_0x82480b['shift']());}}}(_0x25c3,0x936ad),function(_0x510e7e,_0x5945ce){var _0x117837=_0x4fc3;typeof exports=='object'&&typeof module<'u'?module[_0x117837(0x169)]=_0x5945ce():typeof define==_0x117837(0x15a)&&define[_0x117837(0x164)]?define(_0x5945ce):(_0x510e7e=typeof globalThis<'u'?globalThis:_0x510e7e||self,_0x510e7e[_0x117837(0x168)]=_0x5945ce());}(this,function(){'use strict';var _0x206dbc=_0x4fc3;return{'collab-client':{'tooltip':{'reconnect':_0x206dbc(0x159)}},'collabStatus':{'fetchMiss':_0x206dbc(0x158),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':'Synced','syncing':_0x206dbc(0x176),'offline':_0x206dbc(0x15c)},'session':{'connection-failed':_0x206dbc(0x172),'will-retry':_0x206dbc(0x167),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x206dbc(0x166),'room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':_0x206dbc(0x165),'room-cnt-exceeds':_0x206dbc(0x15b),'collaboration-timeout':_0x206dbc(0x16a)},'conflict':{'title':_0x206dbc(0x16c),'content':_0x206dbc(0x171)},'permission':{'title':_0x206dbc(0x15e),'content':_0x206dbc(0x174)},'collaboration':{'single-unit':{'warning':_0x206dbc(0x162)},'closeRoom':_0x206dbc(0x173)},'auth':{'needGotoLoginAlert':_0x206dbc(0x15f)}};}));
@@ -1 +1 @@
1
- (function(_0x3a0cbb,_0x5ebb2f){var _0xb3316e=_0x5875,_0x3cb3fe=_0x3a0cbb();while(!![]){try{var _0x485667=-parseInt(_0xb3316e(0x78))/0x1*(-parseInt(_0xb3316e(0x7f))/0x2)+parseInt(_0xb3316e(0x68))/0x3+parseInt(_0xb3316e(0x81))/0x4*(parseInt(_0xb3316e(0x82))/0x5)+parseInt(_0xb3316e(0x72))/0x6+parseInt(_0xb3316e(0x67))/0x7+-parseInt(_0xb3316e(0x71))/0x8+-parseInt(_0xb3316e(0x69))/0x9*(parseInt(_0xb3316e(0x6b))/0xa);if(_0x485667===_0x5ebb2f)break;else _0x3cb3fe['push'](_0x3cb3fe['shift']());}catch(_0x3b5990){_0x3cb3fe['push'](_0x3cb3fe['shift']());}}}(_0x3d56,0x492e6),function(_0x156822,_0x485179){var _0x881f1d=_0x5875;typeof exports==_0x881f1d(0x7e)&&typeof module<'u'?module['exports']=_0x485179():typeof define==_0x881f1d(0x76)&&define[_0x881f1d(0x73)]?define(_0x485179):(_0x156822=typeof globalThis<'u'?globalThis:_0x156822||self,_0x156822[_0x881f1d(0x6d)]=_0x485179());}(this,function(){'use strict';var _0x3d9cdf=_0x5875;return{'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x3d9cdf(0x74),'conflict':'Edit\x20conflicts','notCollab':_0x3d9cdf(0x66),'synced':_0x3d9cdf(0x75),'syncing':_0x3d9cdf(0x79),'offline':_0x3d9cdf(0x7b)},'session':{'connection-failed':_0x3d9cdf(0x7d),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0x3d9cdf(0x6a),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x3d9cdf(0x6f),'room-permission-denied':_0x3d9cdf(0x7a),'room-cnt-exceeds':_0x3d9cdf(0x7c),'collaboration-timeout':_0x3d9cdf(0x77)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x3d9cdf(0x6e)},'permission':{'title':_0x3d9cdf(0x70),'content':_0x3d9cdf(0x65)},'collaboration':{'single-unit':{'warning':_0x3d9cdf(0x80)},'closeRoom':_0x3d9cdf(0x6c)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};}));function _0x5875(_0x8f09bb,_0x3252e5){var _0x3d563c=_0x3d56();return _0x5875=function(_0x58752f,_0x20e467){_0x58752f=_0x58752f-0x65;var _0x3d16a4=_0x3d563c[_0x58752f];return _0x3d16a4;},_0x5875(_0x8f09bb,_0x3252e5);}function _0x3d56(){var _0x36251e=['Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Local\x20file','3346238uacRnB','947550auDrFX','14705532vGFtHo','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','10VqBQyf','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','UniverProCollaborationClientRuRU','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.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Authentication\x20Error','1680152bLfhpx','3092982VlRASk','amd','Syncing\x20server\x20data...','Synced','function','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','6227spdhoH','Syncing...','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','object','154TLxgKQ','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','45788OhZHRu','155pAUPuE'];_0x3d56=function(){return _0x36251e;};return _0x3d56();}
1
+ function _0x50ed(_0x1eda4e,_0x5c3d02){var _0x5c283c=_0x5c28();return _0x50ed=function(_0x50edec,_0xa27dd){_0x50edec=_0x50edec-0x1a5;var _0x837129=_0x5c283c[_0x50edec];return _0x837129;},_0x50ed(_0x1eda4e,_0x5c3d02);}(function(_0x5f436e,_0x458bf4){var _0x246b62=_0x50ed,_0x22725d=_0x5f436e();while(!![]){try{var _0x51d64a=parseInt(_0x246b62(0x1bc))/0x1*(parseInt(_0x246b62(0x1ac))/0x2)+-parseInt(_0x246b62(0x1b9))/0x3+parseInt(_0x246b62(0x1ae))/0x4+-parseInt(_0x246b62(0x1a7))/0x5*(-parseInt(_0x246b62(0x1ab))/0x6)+-parseInt(_0x246b62(0x1b2))/0x7*(-parseInt(_0x246b62(0x1c1))/0x8)+parseInt(_0x246b62(0x1b8))/0x9+parseInt(_0x246b62(0x1bb))/0xa*(-parseInt(_0x246b62(0x1a5))/0xb);if(_0x51d64a===_0x458bf4)break;else _0x22725d['push'](_0x22725d['shift']());}catch(_0x907222){_0x22725d['push'](_0x22725d['shift']());}}}(_0x5c28,0xed634),function(_0x269b98,_0x168aae){var _0x5ca4be=_0x50ed;typeof exports=='object'&&typeof module<'u'?module[_0x5ca4be(0x1ba)]=_0x168aae():typeof define==_0x5ca4be(0x1b6)&&define['amd']?define(_0x168aae):(_0x269b98=typeof globalThis<'u'?globalThis:_0x269b98||self,_0x269b98[_0x5ca4be(0x1b1)]=_0x168aae());}(this,function(){'use strict';var _0x35a1d2=_0x50ed;return{'collab-client':{'tooltip':{'reconnect':_0x35a1d2(0x1a9)}},'collabStatus':{'fetchMiss':_0x35a1d2(0x1be),'conflict':_0x35a1d2(0x1a8),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x35a1d2(0x1b5),'offline':_0x35a1d2(0x1aa)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x35a1d2(0x1b0),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x35a1d2(0x1b7),'room-not-exists':_0x35a1d2(0x1bf),'room-permission-denied':_0x35a1d2(0x1c0),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x35a1d2(0x1af)},'conflict':{'title':_0x35a1d2(0x1bd),'content':_0x35a1d2(0x1b3)},'permission':{'title':_0x35a1d2(0x1a6),'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':_0x35a1d2(0x1b4)},'closeRoom':_0x35a1d2(0x1ad)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};}));function _0x5c28(){var _0x4070d1=['93747jtaNAK','Collaboration\x20Conflict','Syncing\x20server\x20data...','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','160CoJXwu','19589141AZYixK','Authentication\x20Error','1756855JnpfRg','Edit\x20conflicts','Click\x20to\x20Reconnect','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','6YiKXVl','14NbFPIT','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','5500636GSQuNK','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','UniverProCollaborationClientRuRU','211862ZTuqSq','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.','Syncing...','function','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','6066630pjqvNU','2726934zjnMfz','exports','10ZliGcg'];_0x5c28=function(){return _0x4070d1;};return _0x5c28();}
@@ -1 +1 @@
1
- function _0x4c37(_0x209d76,_0x165489){var _0x58bac4=_0x58ba();return _0x4c37=function(_0x4c3715,_0x171972){_0x4c3715=_0x4c3715-0x177;var _0x1ca53=_0x58bac4[_0x4c3715];return _0x1ca53;},_0x4c37(_0x209d76,_0x165489);}function _0x58ba(){var _0x2c4adf=['UniverProCollaborationClientViVN','9DPSmtd','Syncing...','amd','26RldEtR','10840NAulhY','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Local\x20file','10581940jgbshm','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','431936WYBOxE','exports','2738225RzgBwe','4395048tJWjQr','Synced','Syncing\x20server\x20data...','2374328xkkQIw','2261lcBXDY','Click\x20to\x20Reconnect','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','20046TNjzei','Collaboration\x20Conflict','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','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.','function','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.'];_0x58ba=function(){return _0x2c4adf;};return _0x58ba();}(function(_0x550d48,_0x20a6fd){var _0x3f4c75=_0x4c37,_0x1a3fae=_0x550d48();while(!![]){try{var _0x126597=parseInt(_0x3f4c75(0x17c))/0x1+parseInt(_0x3f4c75(0x191))/0x2*(-parseInt(_0x3f4c75(0x186))/0x3)+-parseInt(_0x3f4c75(0x182))/0x4+parseInt(_0x3f4c75(0x17e))/0x5+parseInt(_0x3f4c75(0x17f))/0x6+parseInt(_0x3f4c75(0x183))/0x7*(parseInt(_0x3f4c75(0x192))/0x8)+-parseInt(_0x3f4c75(0x18e))/0x9*(parseInt(_0x3f4c75(0x17a))/0xa);if(_0x126597===_0x20a6fd)break;else _0x1a3fae['push'](_0x1a3fae['shift']());}catch(_0x2ff8e8){_0x1a3fae['push'](_0x1a3fae['shift']());}}}(_0x58ba,0x645e8),function(_0x4d9a82,_0x35226b){var _0x4369cf=_0x4c37;typeof exports=='object'&&typeof module<'u'?module[_0x4369cf(0x17d)]=_0x35226b():typeof define==_0x4369cf(0x18b)&&define[_0x4369cf(0x190)]?define(_0x35226b):(_0x4d9a82=typeof globalThis<'u'?globalThis:_0x4d9a82||self,_0x4d9a82[_0x4369cf(0x18d)]=_0x35226b());}(this,function(){'use strict';var _0xab67bd=_0x4c37;return{'collab-client':{'tooltip':{'reconnect':_0xab67bd(0x184)}},'collabStatus':{'fetchMiss':_0xab67bd(0x181),'conflict':'Edit\x20conflicts','notCollab':_0xab67bd(0x179),'synced':_0xab67bd(0x180),'syncing':_0xab67bd(0x18f),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0xab67bd(0x188),'room-full':_0xab67bd(0x178),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0xab67bd(0x18a),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0xab67bd(0x177),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0xab67bd(0x187),'content':_0xab67bd(0x18c)},'permission':{'title':'Authentication\x20Error','content':_0xab67bd(0x185)},'collaboration':{'single-unit':{'warning':_0xab67bd(0x17b)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0xab67bd(0x189)}};}));
1
+ function _0x762a(){var _0x1c1dbe=['The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Syncing...','2794148BMJGRz','amd','Click\x20to\x20Reconnect','UniverProCollaborationClientViVN','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Authentication\x20Error','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','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.','310815YOAemc','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','3397314bRtFxB','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','482691ymsWKA','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','4PutvrY','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','10mQZGIx','Local\x20file','3675355krwkPL','Syncing\x20server\x20data...','262ShFeaY','object','Edit\x20conflicts','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Synced','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','8922768YarTGB','5024cxPttd','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x762a=function(){return _0x1c1dbe;};return _0x762a();}function _0x5915(_0x34711f,_0x3b3636){var _0x762aef=_0x762a();return _0x5915=function(_0x5915b6,_0x5e2234){_0x5915b6=_0x5915b6-0x193;var _0x5ee3b5=_0x762aef[_0x5915b6];return _0x5ee3b5;},_0x5915(_0x34711f,_0x3b3636);}(function(_0x349972,_0x41c212){var _0x517ccb=_0x5915,_0x1d8d3b=_0x349972();while(!![]){try{var _0x3f4c63=-parseInt(_0x517ccb(0x19e))/0x1*(-parseInt(_0x517ccb(0x1a5))/0x2)+-parseInt(_0x517ccb(0x196))/0x3*(-parseInt(_0x517ccb(0x198))/0x4)+-parseInt(_0x517ccb(0x19c))/0x5+-parseInt(_0x517ccb(0x194))/0x6+parseInt(_0x517ccb(0x1aa))/0x7+parseInt(_0x517ccb(0x1a4))/0x8+parseInt(_0x517ccb(0x1b2))/0x9*(-parseInt(_0x517ccb(0x19a))/0xa);if(_0x3f4c63===_0x41c212)break;else _0x1d8d3b['push'](_0x1d8d3b['shift']());}catch(_0x4e3e5c){_0x1d8d3b['push'](_0x1d8d3b['shift']());}}}(_0x762a,0xf395e),function(_0xfb9f06,_0x27727c){var _0xa20534=_0x5915;typeof exports==_0xa20534(0x19f)&&typeof module<'u'?module['exports']=_0x27727c():typeof define=='function'&&define[_0xa20534(0x1ab)]?define(_0x27727c):(_0xfb9f06=typeof globalThis<'u'?globalThis:_0xfb9f06||self,_0xfb9f06[_0xa20534(0x1ad)]=_0x27727c());}(this,function(){'use strict';var _0x3d3470=_0x5915;return{'collab-client':{'tooltip':{'reconnect':_0x3d3470(0x1ac)}},'collabStatus':{'fetchMiss':_0x3d3470(0x19d),'conflict':_0x3d3470(0x1a0),'notCollab':_0x3d3470(0x19b),'synced':_0x3d3470(0x1a2),'syncing':_0x3d3470(0x1a9),'offline':_0x3d3470(0x1b0)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x3d3470(0x1ae),'room-full':_0x3d3470(0x1a6),'join-failed':_0x3d3470(0x1a7),'room-not-exists':_0x3d3470(0x195),'room-permission-denied':_0x3d3470(0x193),'room-cnt-exceeds':_0x3d3470(0x1a3),'collaboration-timeout':_0x3d3470(0x1a8)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x3d3470(0x1b1)},'permission':{'title':_0x3d3470(0x1af),'content':_0x3d3470(0x199)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x3d3470(0x1a1)},'auth':{'needGotoLoginAlert':_0x3d3470(0x197)}};}));
@@ -1 +1 @@
1
- function _0x1237(){var _0x1be77c=['服务器未响应,你的编辑将在本地缓存','136951MKRZjr','1044nXcbrb','exports','此文档协同人数已满,你的编辑将在本地缓存','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','连接失败,请检查你的网络','UniverProCollaborationClientZhCN','连接失败,将在一会儿之后重试连接','1697900KtLHGo','保存中...','amd','加入协同失败,你的编辑将在本地缓存','44tanqJX','本地文件','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','164500JhbNHI','点击重新连接','协同冲突','加入协同失败,请稍后重试,你的编辑将在本地缓存','1545152muiWtR','没有协同权限,你的编辑将在本地缓存','21bUTBAn','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','5290hUDQDa','475720MwlbzS','18EwZaOr','已离线,编辑将在本地缓存','3701304QGnzNO','权限错误','function'];_0x1237=function(){return _0x1be77c;};return _0x1237();}function _0xc758(_0x5ac846,_0x63139b){var _0x123794=_0x1237();return _0xc758=function(_0xc75861,_0x7387f9){_0xc75861=_0xc75861-0x11b;var _0x42f095=_0x123794[_0xc75861];return _0x42f095;},_0xc758(_0x5ac846,_0x63139b);}(function(_0x4fac85,_0xe67cc0){var _0x421c54=_0xc758,_0x48342b=_0x4fac85();while(!![]){try{var _0x67ccbd=parseInt(_0x421c54(0x137))/0x1+parseInt(_0x421c54(0x127))/0x2*(parseInt(_0x421c54(0x12d))/0x3)+parseInt(_0x421c54(0x138))/0x4*(parseInt(_0x421c54(0x12f))/0x5)+-parseInt(_0x421c54(0x131))/0x6*(-parseInt(_0x421c54(0x130))/0x7)+parseInt(_0x421c54(0x12b))/0x8+-parseInt(_0x421c54(0x133))/0x9+-parseInt(_0x421c54(0x120))/0xa*(parseInt(_0x421c54(0x124))/0xb);if(_0x67ccbd===_0xe67cc0)break;else _0x48342b['push'](_0x48342b['shift']());}catch(_0x238435){_0x48342b['push'](_0x48342b['shift']());}}}(_0x1237,0x48217),function(_0xf29cc5,_0x679183){var _0x5fb2e6=_0xc758;typeof exports=='object'&&typeof module<'u'?module[_0x5fb2e6(0x139)]=_0x679183():typeof define==_0x5fb2e6(0x135)&&define[_0x5fb2e6(0x122)]?define(_0x679183):(_0xf29cc5=typeof globalThis<'u'?globalThis:_0xf29cc5||self,_0xf29cc5[_0x5fb2e6(0x11e)]=_0x679183());}(this,function(){'use strict';var _0xf75094=_0xc758;return{'collab-client':{'tooltip':{'reconnect':_0xf75094(0x128)}},'collabStatus':{'fetchMiss':'正在拉取服务端数据...','conflict':'编辑冲突','notCollab':_0xf75094(0x125),'synced':'已同步','syncing':_0xf75094(0x121),'offline':_0xf75094(0x132)},'session':{'connection-failed':_0xf75094(0x11d),'will-retry':_0xf75094(0x11f),'room-full':_0xf75094(0x11b),'join-failed':_0xf75094(0x12a),'room-not-exists':_0xf75094(0x123),'room-permission-denied':_0xf75094(0x12c),'room-cnt-exceeds':'协同文档数量超过限制,你的编辑将在本地缓存','collaboration-timeout':_0xf75094(0x136)},'conflict':{'title':_0xf75094(0x129),'content':_0xf75094(0x126)},'permission':{'title':_0xf75094(0x134),'content':_0xf75094(0x12e)},'collaboration':{'single-unit':{'warning':_0xf75094(0x11c)},'closeRoom':'由于协同房间被关闭,编辑权限被收回。'},'auth':{'needGotoLoginAlert':'你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。'}};}));
1
+ (function(_0x318d26,_0x250069){var _0x3d51ba=_0x57ff,_0x1b961b=_0x318d26();while(!![]){try{var _0x1b4edb=-parseInt(_0x3d51ba(0x14b))/0x1+parseInt(_0x3d51ba(0x145))/0x2*(-parseInt(_0x3d51ba(0x13c))/0x3)+-parseInt(_0x3d51ba(0x141))/0x4+parseInt(_0x3d51ba(0x142))/0x5+parseInt(_0x3d51ba(0x139))/0x6+parseInt(_0x3d51ba(0x14c))/0x7+-parseInt(_0x3d51ba(0x151))/0x8*(parseInt(_0x3d51ba(0x136))/0x9);if(_0x1b4edb===_0x250069)break;else _0x1b961b['push'](_0x1b961b['shift']());}catch(_0x2d1990){_0x1b961b['push'](_0x1b961b['shift']());}}}(_0x5197,0x35f18),function(_0x551979,_0x492232){var _0x443d86=_0x57ff;typeof exports==_0x443d86(0x137)&&typeof module<'u'?module[_0x443d86(0x14f)]=_0x492232():typeof define==_0x443d86(0x147)&&define[_0x443d86(0x153)]?define(_0x492232):(_0x551979=typeof globalThis<'u'?globalThis:_0x551979||self,_0x551979[_0x443d86(0x149)]=_0x492232());}(this,function(){'use strict';var _0x404665=_0x57ff;return{'collab-client':{'tooltip':{'reconnect':_0x404665(0x13e)}},'collabStatus':{'fetchMiss':_0x404665(0x140),'conflict':_0x404665(0x13b),'notCollab':_0x404665(0x14a),'synced':_0x404665(0x155),'syncing':_0x404665(0x143),'offline':'已离线,编辑将在本地缓存'},'session':{'connection-failed':_0x404665(0x14d),'will-retry':_0x404665(0x13d),'room-full':_0x404665(0x148),'join-failed':_0x404665(0x144),'room-not-exists':'加入协同失败,你的编辑将在本地缓存','room-permission-denied':_0x404665(0x14e),'room-cnt-exceeds':_0x404665(0x138),'collaboration-timeout':_0x404665(0x154)},'conflict':{'title':'协同冲突','content':_0x404665(0x146)},'permission':{'title':_0x404665(0x13a),'content':'你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'collaboration':{'single-unit':{'warning':_0x404665(0x13f)},'closeRoom':_0x404665(0x150)},'auth':{'needGotoLoginAlert':_0x404665(0x152)}};}));function _0x57ff(_0x3707d0,_0x7b0ecb){var _0x51970a=_0x5197();return _0x57ff=function(_0x57ff4b,_0x4f6c04){_0x57ff4b=_0x57ff4b-0x136;var _0x154386=_0x51970a[_0x57ff4b];return _0x154386;},_0x57ff(_0x3707d0,_0x7b0ecb);}function _0x5197(){var _0x17bcf3=['由于协同房间被关闭,编辑权限被收回。','48huBfQo','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','amd','服务器未响应,你的编辑将在本地缓存','已同步','420732nuwRap','object','协同文档数量超过限制,你的编辑将在本地缓存','1879980aoAzjZ','权限错误','编辑冲突','54fpnHOQ','连接失败,将在一会儿之后重试连接','点击重新连接','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','正在拉取服务端数据...','206032OAwYOj','1692365StvHXZ','保存中...','加入协同失败,请稍后重试,你的编辑将在本地缓存','15874fUnWkw','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','function','此文档协同人数已满,你的编辑将在本地缓存','UniverProCollaborationClientZhCN','本地文件','150342hBkVeB','1360471DssWfw','连接失败,请检查你的网络','没有协同权限,你的编辑将在本地缓存','exports'];_0x5197=function(){return _0x17bcf3;};return _0x5197();}
@@ -1 +1 @@
1
- function _0x3c15(_0x2b593b,_0x383eaa){var _0x3055f7=_0x3055();return _0x3c15=function(_0x3c1531,_0x332fc7){_0x3c1531=_0x3c1531-0x183;var _0x325e51=_0x3055f7[_0x3c1531];return _0x325e51;},_0x3c15(_0x2b593b,_0x383eaa);}(function(_0x4b106f,_0x41286e){var _0x52a75d=_0x3c15,_0x58e806=_0x4b106f();while(!![]){try{var _0x2458e6=-parseInt(_0x52a75d(0x18b))/0x1+parseInt(_0x52a75d(0x1a0))/0x2*(parseInt(_0x52a75d(0x18e))/0x3)+parseInt(_0x52a75d(0x19e))/0x4*(parseInt(_0x52a75d(0x19a))/0x5)+-parseInt(_0x52a75d(0x187))/0x6+parseInt(_0x52a75d(0x185))/0x7+-parseInt(_0x52a75d(0x183))/0x8*(parseInt(_0x52a75d(0x198))/0x9)+parseInt(_0x52a75d(0x197))/0xa*(parseInt(_0x52a75d(0x189))/0xb);if(_0x2458e6===_0x41286e)break;else _0x58e806['push'](_0x58e806['shift']());}catch(_0x103d37){_0x58e806['push'](_0x58e806['shift']());}}}(_0x3055,0x2bede),function(_0x4e5f8a,_0x3409a6){var _0x121db8=_0x3c15;typeof exports==_0x121db8(0x196)&&typeof module<'u'?module[_0x121db8(0x19b)]=_0x3409a6():typeof define==_0x121db8(0x186)&&define[_0x121db8(0x1a2)]?define(_0x3409a6):(_0x4e5f8a=typeof globalThis<'u'?globalThis:_0x4e5f8a||self,_0x4e5f8a[_0x121db8(0x18a)]=_0x3409a6());}(this,function(){'use strict';var _0x2be58f=_0x3c15;return{'collab-client':{'tooltip':{'reconnect':_0x2be58f(0x19f)}},'collabStatus':{'fetchMiss':_0x2be58f(0x18c),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':'Synced','syncing':_0x2be58f(0x199),'offline':_0x2be58f(0x191)},'session':{'connection-failed':_0x2be58f(0x193),'will-retry':_0x2be58f(0x194),'room-full':_0x2be58f(0x1a1),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x2be58f(0x192),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x2be58f(0x190),'collaboration-timeout':_0x2be58f(0x18f)},'conflict':{'title':_0x2be58f(0x195),'content':_0x2be58f(0x188)},'permission':{'title':_0x2be58f(0x18d),'content':_0x2be58f(0x19c)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x2be58f(0x184)},'auth':{'needGotoLoginAlert':_0x2be58f(0x19d)}};}));function _0x3055(){var _0x1463ef=['The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','amd','5704nvNhsA','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','1461621NWPBAl','function','1568196iBWSZM','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.','584903yKUELK','UniverProCollaborationClientZhTW','342917MdYFxH','Syncing\x20server\x20data...','Authentication\x20Error','2004jaYFqt','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.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Collaboration\x20Conflict','object','70wMacUl','693NAvpkd','Syncing...','5azvpRx','exports','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.','506032SdBigx','Click\x20to\x20Reconnect','394kzkBVt'];_0x3055=function(){return _0x1463ef;};return _0x3055();}
1
+ (function(_0x4abc75,_0x3ca5dd){var _0x30e349=_0x2e60,_0x28113a=_0x4abc75();while(!![]){try{var _0x297293=-parseInt(_0x30e349(0x14d))/0x1+-parseInt(_0x30e349(0x169))/0x2*(parseInt(_0x30e349(0x15f))/0x3)+parseInt(_0x30e349(0x14e))/0x4*(-parseInt(_0x30e349(0x167))/0x5)+-parseInt(_0x30e349(0x150))/0x6*(-parseInt(_0x30e349(0x151))/0x7)+parseInt(_0x30e349(0x158))/0x8+parseInt(_0x30e349(0x154))/0x9+-parseInt(_0x30e349(0x16b))/0xa*(-parseInt(_0x30e349(0x165))/0xb);if(_0x297293===_0x3ca5dd)break;else _0x28113a['push'](_0x28113a['shift']());}catch(_0x1886b5){_0x28113a['push'](_0x28113a['shift']());}}}(_0x1572,0xd9001),function(_0x4a10a6,_0x227f5c){var _0x440eea=_0x2e60;typeof exports==_0x440eea(0x153)&&typeof module<'u'?module['exports']=_0x227f5c():typeof define==_0x440eea(0x152)&&define[_0x440eea(0x162)]?define(_0x227f5c):(_0x4a10a6=typeof globalThis<'u'?globalThis:_0x4a10a6||self,_0x4a10a6['UniverProCollaborationClientZhTW']=_0x227f5c());}(this,function(){'use strict';var _0x3a3fdf=_0x2e60;return{'collab-client':{'tooltip':{'reconnect':_0x3a3fdf(0x15d)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x3a3fdf(0x168),'notCollab':_0x3a3fdf(0x156),'synced':_0x3a3fdf(0x161),'syncing':_0x3a3fdf(0x14f),'offline':_0x3a3fdf(0x15c)},'session':{'connection-failed':_0x3a3fdf(0x15a),'will-retry':_0x3a3fdf(0x163),'room-full':_0x3a3fdf(0x14b),'join-failed':_0x3a3fdf(0x14c),'room-not-exists':_0x3a3fdf(0x155),'room-permission-denied':_0x3a3fdf(0x157),'room-cnt-exceeds':_0x3a3fdf(0x160),'collaboration-timeout':_0x3a3fdf(0x164)},'conflict':{'title':_0x3a3fdf(0x16a),'content':_0x3a3fdf(0x15e)},'permission':{'title':'Authentication\x20Error','content':_0x3a3fdf(0x159)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x3a3fdf(0x166)},'auth':{'needGotoLoginAlert':_0x3a3fdf(0x15b)}};}));function _0x2e60(_0x4e0bdd,_0x2162cc){var _0x15725b=_0x1572();return _0x2e60=function(_0x2e607e,_0x58cf9c){_0x2e607e=_0x2e607e-0x14b;var _0x3d2982=_0x15725b[_0x2e607e];return _0x3d2982;},_0x2e60(_0x4e0bdd,_0x2162cc);}function _0x1572(){var _0x5c3b07=['Collaboration\x20Conflict','10bDfIsF','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1588702VphLym','1284852pZPAcs','Syncing...','48UDeDBj','1256941WFYXeK','function','object','7672194pkTIdW','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Local\x20file','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','14064296kZDjTG','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Click\x20to\x20Reconnect','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','964719iCXchn','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Synced','amd','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','7477129npTiSf','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','25KDVbQT','Edit\x20conflicts','4EDCjKF'];_0x1572=function(){return _0x5c3b07;};return _0x1572();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/collaboration-client",
3
- "version": "0.5.1-nightly.202412041606",
3
+ "version": "0.5.1-nightly.202412051606",
4
4
  "private": false,
5
5
  "description": "Univer Collaboration Client",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -47,29 +47,20 @@
47
47
  "lib"
48
48
  ],
49
49
  "peerDependencies": {
50
- "react": "^16.9.0 || ^17.0.0 || ^18.0.0",
51
50
  "rxjs": ">=7.0.0"
52
51
  },
53
52
  "dependencies": {
54
- "@univerjs/icons": "^0.2.8",
55
53
  "clsx": "^2.1.1",
56
54
  "crypto-js": "4.2.0",
57
55
  "uuid": "^11.0.3",
58
- "@univerjs-pro/collaboration": "0.5.1-nightly.202412041606",
59
- "@univerjs/core": "0.5.1-nightly.202412041606",
60
- "@univerjs/docs-ui": "0.5.1-nightly.202412041606",
61
- "@univerjs/docs": "0.5.1-nightly.202412041606",
62
- "@univerjs/design": "0.5.1-nightly.202412041606",
63
- "@univerjs/drawing": "0.5.1-nightly.202412041606",
64
- "@univerjs/engine-formula": "0.5.1-nightly.202412041606",
65
- "@univerjs/engine-render": "0.5.1-nightly.202412041606",
66
- "@univerjs/network": "0.5.1-nightly.202412041606",
56
+ "@univerjs-pro/collaboration": "0.5.1-nightly.202412051606",
57
+ "@univerjs/core": "0.5.1-nightly.202412051606",
58
+ "@univerjs/docs": "0.5.1-nightly.202412051606",
59
+ "@univerjs/drawing": "0.5.1-nightly.202412051606",
60
+ "@univerjs/network": "0.5.1-nightly.202412051606",
67
61
  "@univerjs/protocol": "0.1.39",
68
- "@univerjs/rpc": "0.5.1-nightly.202412041606",
69
- "@univerjs/sheets-ui": "0.5.1-nightly.202412041606",
70
- "@univerjs/sheets": "0.5.1-nightly.202412041606",
71
- "@univerjs/ui": "0.5.1-nightly.202412041606",
72
- "@univerjs/telemetry": "0.5.1-nightly.202412041606"
62
+ "@univerjs/sheets": "0.5.1-nightly.202412051606",
63
+ "@univerjs/telemetry": "0.5.1-nightly.202412051606"
73
64
  },
74
65
  "devDependencies": {
75
66
  "@types/crypto-js": "^4.2.2",
@@ -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
- }
@@ -1,22 +0,0 @@
1
- import { ICommandService, ILogService, RxDisposable } from '@univerjs/core';
2
- import { IRemoteInstanceService } from '@univerjs/rpc';
3
- import { SnapshotService } from '@univerjs-pro/collaboration';
4
- import { LocalCacheService } from '../../services/local-cache/local-cache.service';
5
- import { IURLService } from '../../services/url/url.service';
6
- /**
7
- * This controller loads data when URL changes.
8
- */
9
- export declare class DataLoaderController extends RxDisposable {
10
- private _urlService;
11
- private readonly _logService;
12
- private readonly _commandService;
13
- private readonly _localCacheService;
14
- private readonly _snapshotService;
15
- constructor(_urlService: IURLService, _logService: ILogService, _commandService: ICommandService, _localCacheService: LocalCacheService, _snapshotService: SnapshotService, remoteInstanceService?: IRemoteInstanceService);
16
- private _init;
17
- private _setupSubUnitSync;
18
- private _updateURLWithCurrentState;
19
- private _updateSubUnitFromURLParams;
20
- private _loadSheet;
21
- private _loadDoc;
22
- }