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

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 +9 -18
  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 _0x69b9(_0x2d80c8,_0x5dc2cd){var _0xa53679=_0xa536();return _0x69b9=function(_0x69b92e,_0x5a750e){_0x69b92e=_0x69b92e-0x132;var _0x4fdf81=_0xa53679[_0x69b92e];return _0x4fdf81;},_0x69b9(_0x2d80c8,_0x5dc2cd);}function _0xa536(){var _0x2a4cce=['98ELMeGO','Edit\x20conflicts','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','505272NSPwjB','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.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1221432RnDjGp','8133260QFtDgs','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Syncing\x20server\x20data...','exports','Collaboration\x20Conflict','amd','737186FoTHay','3FUMUWJ','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','951406ZqxmWM','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1100QmPWCB','function','181920aIgqUp','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','15aqWXyK','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','9WfoNyn','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','91950gsaczh','Connection\x20failed.\x20Please\x20check\x20your\x20network.'];_0xa536=function(){return _0x2a4cce;};return _0xa536();}(function(_0x175c34,_0x3a6136){var _0x34d6e5=_0x69b9,_0x237e81=_0x175c34();while(!![]){try{var _0x432e96=parseInt(_0x34d6e5(0x132))/0x1+-parseInt(_0x34d6e5(0x14f))/0x2*(-parseInt(_0x34d6e5(0x150))/0x3)+-parseInt(_0x34d6e5(0x148))/0x4*(parseInt(_0x34d6e5(0x138))/0x5)+-parseInt(_0x34d6e5(0x13c))/0x6+parseInt(_0x34d6e5(0x13e))/0x7*(parseInt(_0x34d6e5(0x141))/0x8)+parseInt(_0x34d6e5(0x13a))/0x9*(parseInt(_0x34d6e5(0x149))/0xa)+-parseInt(_0x34d6e5(0x134))/0xb*(parseInt(_0x34d6e5(0x136))/0xc);if(_0x432e96===_0x3a6136)break;else _0x237e81['push'](_0x237e81['shift']());}catch(_0x303ad1){_0x237e81['push'](_0x237e81['shift']());}}}(_0xa536,0x8b328),function(_0x477c56,_0xd16601){var _0x2e9afa=_0x69b9;typeof exports=='object'&&typeof module<'u'?module[_0x2e9afa(0x14c)]=_0xd16601():typeof define==_0x2e9afa(0x135)&&define[_0x2e9afa(0x14e)]?define(_0xd16601):(_0x477c56=typeof globalThis<'u'?globalThis:_0x477c56||self,_0x477c56['UniverProCollaborationClientEnUS']=_0xd16601());}(this,function(){'use strict';var _0x114d85=_0x69b9;return{'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x114d85(0x14b),'conflict':_0x114d85(0x13f),'notCollab':'Local\x20file','synced':'Synced','syncing':'Syncing...','offline':_0x114d85(0x133)},'session':{'connection-failed':_0x114d85(0x13d),'will-retry':_0x114d85(0x14a),'room-full':_0x114d85(0x147),'join-failed':_0x114d85(0x140),'room-not-exists':_0x114d85(0x143),'room-permission-denied':_0x114d85(0x146),'room-cnt-exceeds':_0x114d85(0x145),'collaboration-timeout':_0x114d85(0x13b)},'conflict':{'title':_0x114d85(0x14d),'content':_0x114d85(0x142)},'permission':{'title':'Authentication\x20Error','content':_0x114d85(0x151)},'collaboration':{'single-unit':{'warning':_0x114d85(0x137)},'closeRoom':_0x114d85(0x144)},'auth':{'needGotoLoginAlert':_0x114d85(0x139)}};}));
@@ -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(_0x3b88d8,_0x5d3439){var _0x12a192=_0x5b97,_0x4c4e83=_0x3b88d8();while(!![]){try{var _0x19b7fd=-parseInt(_0x12a192(0x1ae))/0x1*(-parseInt(_0x12a192(0x1ad))/0x2)+-parseInt(_0x12a192(0x1b0))/0x3+parseInt(_0x12a192(0x1b4))/0x4*(parseInt(_0x12a192(0x1b5))/0x5)+-parseInt(_0x12a192(0x1aa))/0x6+parseInt(_0x12a192(0x1ac))/0x7+-parseInt(_0x12a192(0x1b7))/0x8*(-parseInt(_0x12a192(0x1a1))/0x9)+-parseInt(_0x12a192(0x1b8))/0xa;if(_0x19b7fd===_0x5d3439)break;else _0x4c4e83['push'](_0x4c4e83['shift']());}catch(_0x270fb6){_0x4c4e83['push'](_0x4c4e83['shift']());}}}(_0x4e97,0xb9bae),function(_0x98a6fc,_0x2dc9ff){var _0x15950a=_0x5b97;typeof exports==_0x15950a(0x1b2)&&typeof module<'u'?module['exports']=_0x2dc9ff():typeof define==_0x15950a(0x1a9)&&define[_0x15950a(0x19e)]?define(_0x2dc9ff):(_0x98a6fc=typeof globalThis<'u'?globalThis:_0x98a6fc||self,_0x98a6fc[_0x15950a(0x1b1)]=_0x2dc9ff());}(this,function(){'use strict';var _0x245543=_0x5b97;return{'collab-client':{'tooltip':{'reconnect':_0x245543(0x1af)}},'collabStatus':{'fetchMiss':_0x245543(0x1a2),'conflict':_0x245543(0x1b3),'notCollab':_0x245543(0x1a0),'synced':_0x245543(0x1ba),'syncing':_0x245543(0x1a6),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x245543(0x1a3),'will-retry':_0x245543(0x1a7),'room-full':_0x245543(0x1a8),'join-failed':_0x245543(0x1b6),'room-not-exists':'پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-permission-denied':_0x245543(0x1b9),'room-cnt-exceeds':_0x245543(0x19f),'collaboration-timeout':_0x245543(0x1a5)},'conflict':{'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بین\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':_0x245543(0x1a4)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x245543(0x1ab)}};}));function _0x5b97(_0x5101b9,_0xbc69a3){var _0x4e979a=_0x4e97();return _0x5b97=function(_0x5b970d,_0x2c19b5){_0x5b970d=_0x5b970d-0x19e;var _0x4009b3=_0x4e979a[_0x5b970d];return _0x4009b3;},_0x5b97(_0x5101b9,_0xbc69a3);}function _0x4e97(){var _0x2e3962=['19707rHlqOU','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','3441156BapPYx','UniverProCollaborationClientFaIR','object','تداخل\x20ویرایش','29900ATJozr','1015gFMxXW','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','48YOEZGp','12044040AMdsDt','دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','همگام\x20سازی','amd','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','پرونده\x20محلی','2002608pDLHWA','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی‌دهد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','در\x20حال\x20همگام\x20سازی...','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','function','4355670VfrHSN','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','3312904Zfcftl','52yDIJis'];_0x4e97=function(){return _0x2e3962;};return _0x4e97();}
@@ -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 _0x550a(_0x2b3fe0,_0x36e35f){var _0x258ca8=_0x258c();return _0x550a=function(_0x550a9c,_0x51d158){_0x550a9c=_0x550a9c-0x8d;var _0xb5feeb=_0x258ca8[_0x550a9c];return _0xb5feeb;},_0x550a(_0x2b3fe0,_0x36e35f);}(function(_0x6aacb8,_0x16cc67){var _0x522a20=_0x550a,_0x5377d4=_0x6aacb8();while(!![]){try{var _0x3dcd50=parseInt(_0x522a20(0x96))/0x1+parseInt(_0x522a20(0xa8))/0x2*(parseInt(_0x522a20(0x9e))/0x3)+-parseInt(_0x522a20(0xa9))/0x4*(parseInt(_0x522a20(0x99))/0x5)+-parseInt(_0x522a20(0x94))/0x6*(-parseInt(_0x522a20(0xab))/0x7)+-parseInt(_0x522a20(0xa1))/0x8+-parseInt(_0x522a20(0x93))/0x9+parseInt(_0x522a20(0xa4))/0xa;if(_0x3dcd50===_0x16cc67)break;else _0x5377d4['push'](_0x5377d4['shift']());}catch(_0x5e0154){_0x5377d4['push'](_0x5377d4['shift']());}}}(_0x258c,0x4d2ab),function(_0x38d899,_0xc9168){var _0x50f979=_0x550a;typeof exports==_0x50f979(0x97)&&typeof module<'u'?module[_0x50f979(0xa7)]=_0xc9168():typeof define==_0x50f979(0xa5)&&define[_0x50f979(0x98)]?define(_0xc9168):(_0x38d899=typeof globalThis<'u'?globalThis:_0x38d899||self,_0x38d899['UniverProCollaborationClientFrFR']=_0xc9168());}(this,function(){'use strict';var _0xffa22d=_0x550a;return{'collab-client':{'tooltip':{'reconnect':_0xffa22d(0x9f)}},'collabStatus':{'fetchMiss':_0xffa22d(0xa0),'conflict':_0xffa22d(0x91),'notCollab':'Local\x20file','synced':_0xffa22d(0xa3),'syncing':_0xffa22d(0xa2),'offline':_0xffa22d(0x90)},'session':{'connection-failed':_0xffa22d(0x9d),'will-retry':_0xffa22d(0x9a),'room-full':_0xffa22d(0xa6),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0xffa22d(0x9c),'room-permission-denied':_0xffa22d(0x8d),'room-cnt-exceeds':_0xffa22d(0xad),'collaboration-timeout':_0xffa22d(0xaa)},'conflict':{'title':_0xffa22d(0x95),'content':_0xffa22d(0x92)},'permission':{'title':_0xffa22d(0xac),'content':_0xffa22d(0x9b)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0xffa22d(0x8e)},'auth':{'needGotoLoginAlert':_0xffa22d(0x8f)}};}));function _0x258c(){var _0x8ed8c5=['Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Edit\x20conflicts','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.','2239146KGMcdd','6iLsELq','Collaboration\x20Conflict','182457RIXCuh','object','amd','966765JdDATK','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','366PMRUfL','Click\x20to\x20Reconnect','Syncing\x20server\x20data...','2643360TjRDHB','Syncing...','Synced','6781420tTvjeA','function','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','exports','946vEXaje','4WVIYQR','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1192359OIxdNS','Authentication\x20Error','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','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.'];_0x258c=function(){return _0x8ed8c5;};return _0x258c();}
@@ -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(_0x3bdf51,_0x385750){var _0x22ce09=_0x487e,_0xb35750=_0x3bdf51();while(!![]){try{var _0x4ca7f1=parseInt(_0x22ce09(0x95))/0x1+-parseInt(_0x22ce09(0x8e))/0x2*(-parseInt(_0x22ce09(0x87))/0x3)+parseInt(_0x22ce09(0x82))/0x4+-parseInt(_0x22ce09(0x88))/0x5*(parseInt(_0x22ce09(0x7c))/0x6)+-parseInt(_0x22ce09(0x7f))/0x7*(-parseInt(_0x22ce09(0x81))/0x8)+-parseInt(_0x22ce09(0x83))/0x9+-parseInt(_0x22ce09(0x8b))/0xa*(parseInt(_0x22ce09(0x7d))/0xb);if(_0x4ca7f1===_0x385750)break;else _0xb35750['push'](_0xb35750['shift']());}catch(_0xafad26){_0xb35750['push'](_0xb35750['shift']());}}}(_0x35e4,0x75a45),function(_0x407bd8,_0x3bc1d3){var _0xe4656b=_0x487e;typeof exports==_0xe4656b(0x86)&&typeof module<'u'?module[_0xe4656b(0x8d)]=_0x3bc1d3():typeof define==_0xe4656b(0x7e)&&define[_0xe4656b(0x97)]?define(_0x3bc1d3):(_0x407bd8=typeof globalThis<'u'?globalThis:_0x407bd8||self,_0x407bd8[_0xe4656b(0x8c)]=_0x3bc1d3());}(this,function(){'use strict';var _0x511d34=_0x487e;return{'collab-client':{'tooltip':{'reconnect':_0x511d34(0x94)}},'collabStatus':{'fetchMiss':_0x511d34(0x9a),'conflict':_0x511d34(0x91),'notCollab':_0x511d34(0x9c),'synced':_0x511d34(0x98),'syncing':_0x511d34(0x7b),'offline':_0x511d34(0x9b)},'session':{'connection-failed':_0x511d34(0x99),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0x511d34(0x90),'join-failed':_0x511d34(0x8a),'room-not-exists':_0x511d34(0x80),'room-permission-denied':_0x511d34(0x92),'room-cnt-exceeds':_0x511d34(0x84),'collaboration-timeout':_0x511d34(0x93)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x511d34(0x8f)},'permission':{'title':_0x511d34(0x85),'content':_0x511d34(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':_0x511d34(0x89)},'auth':{'needGotoLoginAlert':_0x511d34(0x9d)}};}));function _0x487e(_0x28f3ef,_0x1ab06d){var _0x35e45f=_0x35e4();return _0x487e=function(_0x487e71,_0x530a80){_0x487e71=_0x487e71-0x7b;var _0x30fc1b=_0x35e45f[_0x487e71];return _0x30fc1b;},_0x487e(_0x28f3ef,_0x1ab06d);}function _0x35e4(){var _0x313e73=['Syncing...','354XmGwCX','4169LiPLoX','function','12075tWEeTu','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','4424TKLNSs','710732EnZGPy','6375609lsWRZD','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Authentication\x20Error','object','1263yqEIlr','71215dJKkBw','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','6990UudTmX','UniverProCollaborationClientRuRU','exports','4366JbqrTW','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.','Edit\x20conflicts','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Click\x20to\x20Reconnect','244869gVPSPZ','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','amd','Synced','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Syncing\x20server\x20data...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Local\x20file','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'];_0x35e4=function(){return _0x313e73;};return _0x35e4();}
@@ -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 _0x1c84(){var _0x17b5d8=['amd','Synced','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','object','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Local\x20file','4452lVtnYi','Edit\x20conflicts','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','UniverProCollaborationClientViVN','function','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\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.','624211gIZVcX','336591ygdInn','exports','397396kQqNcV','3lJPtOZ','2629944phhTWo','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','2185dkNAEZ','443232IPpDWO','Click\x20to\x20Reconnect','415525fPXmCf','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'];_0x1c84=function(){return _0x17b5d8;};return _0x1c84();}function _0x130e(_0x2e6094,_0x27f894){var _0x1c8496=_0x1c84();return _0x130e=function(_0x130e98,_0x456d95){_0x130e98=_0x130e98-0x144;var _0x4c22b1=_0x1c8496[_0x130e98];return _0x4c22b1;},_0x130e(_0x2e6094,_0x27f894);}(function(_0x111a11,_0x44c05e){var _0x29f112=_0x130e,_0x39fbc7=_0x111a11();while(!![]){try{var _0x32a90e=parseInt(_0x29f112(0x146))/0x1+parseInt(_0x29f112(0x144))/0x2+parseInt(_0x29f112(0x15c))/0x3*(parseInt(_0x29f112(0x15b))/0x4)+parseInt(_0x29f112(0x15f))/0x5*(-parseInt(_0x29f112(0x14f))/0x6)+parseInt(_0x29f112(0x158))/0x7+-parseInt(_0x29f112(0x15d))/0x8+parseInt(_0x29f112(0x159))/0x9;if(_0x32a90e===_0x44c05e)break;else _0x39fbc7['push'](_0x39fbc7['shift']());}catch(_0x238c1d){_0x39fbc7['push'](_0x39fbc7['shift']());}}}(_0x1c84,0x33491),function(_0x2075a1,_0x1af772){var _0x7dd86e=_0x130e;typeof exports==_0x7dd86e(0x14c)&&typeof module<'u'?module[_0x7dd86e(0x15a)]=_0x1af772():typeof define==_0x7dd86e(0x155)&&define[_0x7dd86e(0x148)]?define(_0x1af772):(_0x2075a1=typeof globalThis<'u'?globalThis:_0x2075a1||self,_0x2075a1[_0x7dd86e(0x154)]=_0x1af772());}(this,function(){'use strict';var _0x3b9062=_0x130e;return{'collab-client':{'tooltip':{'reconnect':_0x3b9062(0x145)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x3b9062(0x150),'notCollab':_0x3b9062(0x14e),'synced':_0x3b9062(0x149),'syncing':'Syncing...','offline':_0x3b9062(0x147)},'session':{'connection-failed':_0x3b9062(0x152),'will-retry':_0x3b9062(0x14b),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x3b9062(0x156),'room-not-exists':_0x3b9062(0x151),'room-permission-denied':_0x3b9062(0x14a),'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':_0x3b9062(0x157)},'permission':{'title':'Authentication\x20Error','content':_0x3b9062(0x153)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x3b9062(0x14d)},'auth':{'needGotoLoginAlert':_0x3b9062(0x15e)}};}));
@@ -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 _0x477c(){var _0xbccb35=['19024mvubtz','exports','加入协同失败,请稍后重试,你的编辑将在本地缓存','已同步','64989yrXTmm','没有协同权限,你的编辑将在本地缓存','object','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','由于协同房间被关闭,编辑权限被收回。','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','此文档协同人数已满,你的编辑将在本地缓存','编辑冲突','权限错误','2roTbDU','服务器未响应,你的编辑将在本地缓存','225LPjEod','UniverProCollaborationClientZhCN','协同冲突','正在拉取服务端数据...','function','amd','11WoajKb','557460sORBlP','2016973xMEdSI','4133810FjZbHv','265380unXSyG','238697PRuACM','协同文档数量超过限制,你的编辑将在本地缓存','连接失败,将在一会儿之后重试连接','连接失败,请检查你的网络','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','12RzINFQ','保存中...'];_0x477c=function(){return _0xbccb35;};return _0x477c();}function _0x14e4(_0x196e23,_0x70a47b){var _0x477c41=_0x477c();return _0x14e4=function(_0x14e47b,_0x42097d){_0x14e47b=_0x14e47b-0x97;var _0x362a94=_0x477c41[_0x14e47b];return _0x362a94;},_0x14e4(_0x196e23,_0x70a47b);}(function(_0x3ccb95,_0x2f5d8d){var _0x235e66=_0x14e4,_0x4073b3=_0x3ccb95();while(!![]){try{var _0x9168b9=-parseInt(_0x235e66(0xb6))/0x1*(parseInt(_0x235e66(0xa9))/0x2)+-parseInt(_0x235e66(0xa0))/0x3*(-parseInt(_0x235e66(0x9a))/0x4)+parseInt(_0x235e66(0xb5))/0x5+parseInt(_0x235e66(0xb2))/0x6+-parseInt(_0x235e66(0xb3))/0x7+-parseInt(_0x235e66(0x9c))/0x8*(-parseInt(_0x235e66(0xab))/0x9)+-parseInt(_0x235e66(0xb4))/0xa*(-parseInt(_0x235e66(0xb1))/0xb);if(_0x9168b9===_0x2f5d8d)break;else _0x4073b3['push'](_0x4073b3['shift']());}catch(_0x5c0301){_0x4073b3['push'](_0x4073b3['shift']());}}}(_0x477c,0x2652a),function(_0x227135,_0x16c789){var _0x420ac3=_0x14e4;typeof exports==_0x420ac3(0xa2)&&typeof module<'u'?module[_0x420ac3(0x9d)]=_0x16c789():typeof define==_0x420ac3(0xaf)&&define[_0x420ac3(0xb0)]?define(_0x16c789):(_0x227135=typeof globalThis<'u'?globalThis:_0x227135||self,_0x227135[_0x420ac3(0xac)]=_0x16c789());}(this,function(){'use strict';var _0x32958f=_0x14e4;return{'collab-client':{'tooltip':{'reconnect':'点击重新连接'}},'collabStatus':{'fetchMiss':_0x32958f(0xae),'conflict':_0x32958f(0xa7),'notCollab':'本地文件','synced':_0x32958f(0x9f),'syncing':_0x32958f(0x9b),'offline':'已离线,编辑将在本地缓存'},'session':{'connection-failed':_0x32958f(0x98),'will-retry':_0x32958f(0x97),'room-full':_0x32958f(0xa6),'join-failed':_0x32958f(0x9e),'room-not-exists':'加入协同失败,你的编辑将在本地缓存','room-permission-denied':_0x32958f(0xa1),'room-cnt-exceeds':_0x32958f(0xb7),'collaboration-timeout':_0x32958f(0xaa)},'conflict':{'title':_0x32958f(0xad),'content':_0x32958f(0xa3)},'permission':{'title':_0x32958f(0xa8),'content':_0x32958f(0xa5)},'collaboration':{'single-unit':{'warning':'你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。'},'closeRoom':_0x32958f(0xa4)},'auth':{'needGotoLoginAlert':_0x32958f(0x99)}};}));
@@ -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 _0x4fa0(){var _0x1fc2ee=['object','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\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.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','amd','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','278056Svtysy','49WXeGFm','536296SkcYqy','Local\x20file','414760TcwsVi','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Click\x20to\x20Reconnect','exports','Authentication\x20Error','Syncing...','Syncing\x20server\x20data...','21bepFlC','Synced','69806SQphih','54218JxtpoR','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','UniverProCollaborationClientZhTW','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1878696RUtAZP','6237693zAqoWc','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','function','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x4fa0=function(){return _0x1fc2ee;};return _0x4fa0();}function _0x42ef(_0x26468a,_0x30f7ad){var _0x4fa064=_0x4fa0();return _0x42ef=function(_0x42ef9b,_0x57ae59){_0x42ef9b=_0x42ef9b-0xcc;var _0x559c5c=_0x4fa064[_0x42ef9b];return _0x559c5c;},_0x42ef(_0x26468a,_0x30f7ad);}(function(_0xff2740,_0x32a6a3){var _0x572435=_0x42ef,_0x4616df=_0xff2740();while(!![]){try{var _0x10bba0=parseInt(_0x572435(0xd0))/0x1+-parseInt(_0x572435(0xd1))/0x2*(-parseInt(_0x572435(0xce))/0x3)+-parseInt(_0x572435(0xe4))/0x4+-parseInt(_0x572435(0xe6))/0x5+-parseInt(_0x572435(0xd5))/0x6+-parseInt(_0x572435(0xe3))/0x7*(parseInt(_0x572435(0xe2))/0x8)+parseInt(_0x572435(0xd6))/0x9;if(_0x10bba0===_0x32a6a3)break;else _0x4616df['push'](_0x4616df['shift']());}catch(_0x375649){_0x4616df['push'](_0x4616df['shift']());}}}(_0x4fa0,0x2bc05),function(_0x334233,_0x56bd75){var _0x47039a=_0x42ef;typeof exports==_0x47039a(0xdb)&&typeof module<'u'?module[_0x47039a(0xe9)]=_0x56bd75():typeof define==_0x47039a(0xd9)&&define[_0x47039a(0xe0)]?define(_0x56bd75):(_0x334233=typeof globalThis<'u'?globalThis:_0x334233||self,_0x334233[_0x47039a(0xd3)]=_0x56bd75());}(this,function(){'use strict';var _0x3a02b9=_0x42ef;return{'collab-client':{'tooltip':{'reconnect':_0x3a02b9(0xe8)}},'collabStatus':{'fetchMiss':_0x3a02b9(0xcd),'conflict':'Edit\x20conflicts','notCollab':_0x3a02b9(0xe5),'synced':_0x3a02b9(0xcf),'syncing':_0x3a02b9(0xcc),'offline':_0x3a02b9(0xdf)},'session':{'connection-failed':_0x3a02b9(0xdc),'will-retry':_0x3a02b9(0xe1),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x3a02b9(0xd2),'room-not-exists':_0x3a02b9(0xda),'room-permission-denied':_0x3a02b9(0xd4),'room-cnt-exceeds':_0x3a02b9(0xdd),'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':_0x3a02b9(0xea),'content':_0x3a02b9(0xe7)},'collaboration':{'single-unit':{'warning':_0x3a02b9(0xde)},'closeRoom':_0x3a02b9(0xd8)},'auth':{'needGotoLoginAlert':_0x3a02b9(0xd7)}};}));
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.202412061606",
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",
67
- "@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"
56
+ "@univerjs/core": "0.5.1-nightly.202412061606",
57
+ "@univerjs-pro/collaboration": "0.5.1-nightly.202412061606",
58
+ "@univerjs/docs": "0.5.1-nightly.202412061606",
59
+ "@univerjs/drawing": "0.5.1-nightly.202412061606",
60
+ "@univerjs/network": "0.5.1-nightly.202412061606",
61
+ "@univerjs/sheets": "0.5.1-nightly.202412061606",
62
+ "@univerjs/telemetry": "0.5.1-nightly.202412061606",
63
+ "@univerjs/protocol": "0.1.39"
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
- }