@univerjs-pro/collaboration-client 0.4.2-nightly.202411071606 → 0.4.2-nightly.202411081606

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 (90) hide show
  1. package/lib/cjs/index.js +1 -0
  2. package/lib/cjs/locale/en-US.js +1 -0
  3. package/lib/cjs/locale/fa-IR.js +1 -0
  4. package/lib/cjs/locale/ru-RU.js +1 -0
  5. package/lib/cjs/locale/vi-VN.js +1 -0
  6. package/lib/cjs/locale/zh-CN.js +1 -0
  7. package/lib/cjs/locale/zh-TW.js +1 -0
  8. package/lib/es/index.js +1 -1
  9. package/lib/es/locale/en-US.js +1 -0
  10. package/lib/es/locale/fa-IR.js +1 -0
  11. package/lib/es/locale/ru-RU.js +1 -0
  12. package/lib/es/locale/vi-VN.js +1 -0
  13. package/lib/es/locale/zh-CN.js +1 -0
  14. package/lib/es/locale/zh-TW.js +1 -0
  15. package/lib/types/index.d.ts +890 -35
  16. package/lib/umd/index.js +1 -1
  17. package/lib/umd/locale/en-US.js +1 -1
  18. package/lib/umd/locale/fa-IR.js +1 -1
  19. package/lib/umd/locale/ru-RU.js +1 -1
  20. package/lib/umd/locale/vi-VN.js +1 -1
  21. package/lib/umd/locale/zh-CN.js +1 -1
  22. package/lib/umd/locale/zh-TW.js +1 -1
  23. package/package.json +31 -25
  24. package/lib/locale/en-US.js +0 -1
  25. package/lib/locale/fa-IR.js +0 -1
  26. package/lib/locale/ru-RU.js +0 -1
  27. package/lib/locale/vi-VN.js +0 -1
  28. package/lib/locale/zh-CN.js +0 -1
  29. package/lib/locale/zh-TW.js +0 -1
  30. package/lib/types/config/config.d.ts +0 -48
  31. package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +0 -23
  32. package/lib/types/controllers/collab-cursor/__tests__/serialize-text-ranges.spec.d.ts +0 -1
  33. package/lib/types/controllers/collab-cursor/__tests__/sheet-collab-cursor.controller.spec.d.ts +0 -1
  34. package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +0 -22
  35. package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +0 -38
  36. package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +0 -24
  37. package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +0 -3
  38. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +0 -39
  39. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +0 -21
  40. package/lib/types/controllers/collab-status/collab-status.controller.d.ts +0 -18
  41. package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +0 -4
  42. package/lib/types/controllers/collaboration/__tests__/mock-text-selection-render-manager.service.d.ts +0 -0
  43. package/lib/types/controllers/collaboration/__tests__/mocks.d.ts +0 -54
  44. package/lib/types/controllers/collaboration/collaboration-entity.d.ts +0 -91
  45. package/lib/types/controllers/collaboration/collaboration-state.d.ts +0 -303
  46. package/lib/types/controllers/collaboration/collaboration.controller.d.ts +0 -24
  47. package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +0 -18
  48. package/lib/types/controllers/collaboration/utils/empty.d.ts +0 -2
  49. package/lib/types/controllers/config.schema.d.ts +0 -29
  50. package/lib/types/controllers/data-loader/__tests__/data-loader.controller.spec.d.ts +0 -1
  51. package/lib/types/controllers/data-loader/data-loader.controller.d.ts +0 -22
  52. package/lib/types/controllers/file-name/file-name.controller.d.ts +0 -12
  53. package/lib/types/controllers/telemetry.d.ts +0 -11
  54. package/lib/types/locale/en-US.d.ts +0 -3
  55. package/lib/types/locale/fa-IR.d.ts +0 -3
  56. package/lib/types/locale/ru-RU.d.ts +0 -3
  57. package/lib/types/locale/vi-VN.d.ts +0 -3
  58. package/lib/types/locale/zh-CN.d.ts +0 -39
  59. package/lib/types/locale/zh-TW.d.ts +0 -3
  60. package/lib/types/models/cursor.d.ts +0 -30
  61. package/lib/types/plugin.d.ts +0 -18
  62. package/lib/types/services/auth-server/auth-server.service.d.ts +0 -10
  63. package/lib/types/services/auth-server/authz-io-http.service.d.ts +0 -30
  64. package/lib/types/services/auth-server/domain-request.service.d.ts +0 -6
  65. package/lib/types/services/auth-server/util.d.ts +0 -1
  66. package/lib/types/services/collaboration-session/collaboration-session.d.ts +0 -59
  67. package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +0 -61
  68. package/lib/types/services/color-assign/color-assign.service.d.ts +0 -10
  69. package/lib/types/services/comment/comment.service.d.ts +0 -6
  70. package/lib/types/services/image-remote/image-io.service.d.ts +0 -34
  71. package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +0 -13
  72. package/lib/types/services/local-cache/local-cache.service.d.ts +0 -37
  73. package/lib/types/services/member/member.service.d.ts +0 -77
  74. package/lib/types/services/permission/permission.service.d.ts +0 -12
  75. package/lib/types/services/range-selection/sheet-transform-selections.service.d.ts +0 -13
  76. package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +0 -39
  77. package/lib/types/services/snapshot-server/snapshot-server.service.d.ts +0 -21
  78. package/lib/types/services/socket/collaboration-socket.service.d.ts +0 -34
  79. package/lib/types/services/socket/serialize.d.ts +0 -3
  80. package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +0 -12
  81. package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +0 -13
  82. package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +0 -8
  83. package/lib/types/services/undoredo/collaborative-undoredo.service.d.ts +0 -19
  84. package/lib/types/services/url/url.service.d.ts +0 -12
  85. package/lib/types/services/url/web-url.service.d.ts +0 -10
  86. package/lib/types/views/components/CollabStatus.d.ts +0 -10
  87. package/lib/types/views/components/CollabStatus.stories.d.ts +0 -8
  88. package/lib/types/views/shapes/doc-collab-cursor.d.ts +0 -27
  89. package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +0 -27
  90. package/lib/types/views/shapes/text-bubble.shape.d.ts +0 -19
@@ -1 +1 @@
1
- (function(_0x4f6ecd,_0x15cb76){var _0x355637=_0x288b,_0x1c574a=_0x4f6ecd();while(!![]){try{var _0x4aee34=parseInt(_0x355637(0x125))/0x1*(-parseInt(_0x355637(0x134))/0x2)+-parseInt(_0x355637(0x138))/0x3+parseInt(_0x355637(0x135))/0x4+parseInt(_0x355637(0x131))/0x5*(-parseInt(_0x355637(0x12e))/0x6)+-parseInt(_0x355637(0x126))/0x7*(parseInt(_0x355637(0x128))/0x8)+parseInt(_0x355637(0x122))/0x9+parseInt(_0x355637(0x13a))/0xa;if(_0x4aee34===_0x15cb76)break;else _0x1c574a['push'](_0x1c574a['shift']());}catch(_0x3e48f8){_0x1c574a['push'](_0x1c574a['shift']());}}}(_0x24ec,0x2a31e),function(_0x461abd,_0x186f9c){var _0x388626=_0x288b;typeof exports==_0x388626(0x123)&&typeof module<'u'?module['exports']=_0x186f9c():typeof define==_0x388626(0x136)&&define[_0x388626(0x124)]?define(_0x186f9c):(_0x461abd=typeof globalThis<'u'?globalThis:_0x461abd||self,_0x461abd['UniverCollaborationClientEnUS']=_0x186f9c());}(this,function(){'use strict';var _0xcbce20=_0x288b;return{'collab-client':{'tooltip':{'reconnect':_0xcbce20(0x12f)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0xcbce20(0x133),'notCollab':_0xcbce20(0x12c),'synced':_0xcbce20(0x139),'syncing':'Syncing...','offline':_0xcbce20(0x127)},'session':{'connection-failed':_0xcbce20(0x12b),'will-retry':_0xcbce20(0x12a),'room-full':_0xcbce20(0x130),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0xcbce20(0x12d),'content':_0xcbce20(0x132)},'permission':{'title':_0xcbce20(0x137),'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':_0xcbce20(0x129)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};}));function _0x288b(_0x21baa9,_0xa9f48d){var _0x24ec53=_0x24ec();return _0x288b=function(_0x288be4,_0xfe5484){_0x288be4=_0x288be4-0x122;var _0x38d42e=_0x24ec53[_0x288be4];return _0x38d42e;},_0x288b(_0x21baa9,_0xa9f48d);}function _0x24ec(){var _0x112577=['amd','1563chdqlY','21133HvsnQH','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','344wKkvAH','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Local\x20file','Collaboration\x20Conflict','18MOdyrd','Click\x20to\x20Reconnect','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','202025ETjLIi','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.','Edit\x20conflicts','326CmoeVx','506124bcAzdf','function','Authentication\x20Error','766212AfWFYB','Synced','7503800nJoetl','514116IcQRDg','object'];_0x24ec=function(){return _0x112577;};return _0x24ec();}
1
+ function _0x3bab(_0x165c1e,_0x2423e2){var _0x2ff622=_0x2ff6();return _0x3bab=function(_0x3babb1,_0xca35a3){_0x3babb1=_0x3babb1-0x12e;var _0x5a03e0=_0x2ff622[_0x3babb1];return _0x5a03e0;},_0x3bab(_0x165c1e,_0x2423e2);}function _0x2ff6(){var _0xf29228=['Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','14XSHSST','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','36488emKYjI','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','749rkDvVc','Collaboration\x20Conflict','114273gRUivi','10zEiMwd','function','object','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.','Authentication\x20Error','Edit\x20conflicts','16231JYzCVw','723105XWcgRO','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Click\x20to\x20Reconnect','1600314DkIqXw','2044355uVmGZg','Local\x20file','1217540eqSeLY','amd','Synced','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20please\x20check\x20your\x20network.','UniverCollaborationClientEnUS'];_0x2ff6=function(){return _0xf29228;};return _0x2ff6();}(function(_0x1034d0,_0x39b4be){var _0x1af44e=_0x3bab,_0x444121=_0x1034d0();while(!![]){try{var _0x59dcc4=parseInt(_0x1af44e(0x142))/0x1*(parseInt(_0x1af44e(0x133))/0x2)+-parseInt(_0x1af44e(0x143))/0x3+parseInt(_0x1af44e(0x149))/0x4+parseInt(_0x1af44e(0x147))/0x5+parseInt(_0x1af44e(0x146))/0x6+parseInt(_0x1af44e(0x138))/0x7*(-parseInt(_0x1af44e(0x135))/0x8)+-parseInt(_0x1af44e(0x13a))/0x9*(parseInt(_0x1af44e(0x13b))/0xa);if(_0x59dcc4===_0x39b4be)break;else _0x444121['push'](_0x444121['shift']());}catch(_0x12dccb){_0x444121['push'](_0x444121['shift']());}}}(_0x2ff6,0x55e59),function(_0x3028e9,_0x11241f){var _0x19caf8=_0x3bab;typeof exports==_0x19caf8(0x13d)&&typeof module<'u'?module['exports']=_0x11241f():typeof define==_0x19caf8(0x13c)&&define[_0x19caf8(0x14a)]?define(_0x11241f):(_0x3028e9=typeof globalThis<'u'?globalThis:_0x3028e9||self,_0x3028e9[_0x19caf8(0x131)]=_0x11241f());}(this,function(){'use strict';var _0x2da19d=_0x3bab;return{'collab-client':{'tooltip':{'reconnect':_0x2da19d(0x145)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x2da19d(0x141),'notCollab':_0x2da19d(0x148),'synced':_0x2da19d(0x12e),'syncing':'Syncing...','offline':_0x2da19d(0x13e)},'session':{'connection-failed':_0x2da19d(0x130),'will-retry':_0x2da19d(0x144),'room-full':_0x2da19d(0x136),'collaboration-timeout':_0x2da19d(0x12f)},'conflict':{'title':_0x2da19d(0x139),'content':_0x2da19d(0x13f)},'permission':{'title':_0x2da19d(0x140),'content':_0x2da19d(0x132)},'collaboration':{'single-unit':{'warning':_0x2da19d(0x137)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x2da19d(0x134)}};}));
@@ -1 +1 @@
1
- function _0x4a85(){var _0x1752de=['همگام\x20سازی','3558KhmwNu','تداخل\x20ویرایش','126TizUiy','1652679Zpnjhu','16zBLTgK','223632xhkcdH','28460pRbmri','exports','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','function','6085flyGan','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','11835000ZWsZXu','4nYZGsB','UniverCollaborationClientFaIR','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','1272489ZsBgHG','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','114203aHzoxb','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','تداخل\x20همکاری','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','پرونده\x20محلی','object','869CTVbTC','در\x20حال\x20همگام\x20سازی...','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'];_0x4a85=function(){return _0x1752de;};return _0x4a85();}function _0x40ba(_0x26a2ef,_0x3bec14){var _0x4a8576=_0x4a85();return _0x40ba=function(_0x40ba85,_0x55d417){_0x40ba85=_0x40ba85-0x1b9;var _0x29d41d=_0x4a8576[_0x40ba85];return _0x29d41d;},_0x40ba(_0x26a2ef,_0x3bec14);}(function(_0x1d5a54,_0x362ec0){var _0x1b429e=_0x40ba,_0x1d0ab5=_0x1d5a54();while(!![]){try{var _0x4f6c28=-parseInt(_0x1b429e(0x1c4))/0x1*(parseInt(_0x1b429e(0x1d2))/0x2)+-parseInt(_0x1b429e(0x1c2))/0x3*(parseInt(_0x1b429e(0x1bf))/0x4)+-parseInt(_0x1b429e(0x1bc))/0x5*(-parseInt(_0x1b429e(0x1ce))/0x6)+parseInt(_0x1b429e(0x1d0))/0x7*(parseInt(_0x1b429e(0x1d3))/0x8)+-parseInt(_0x1b429e(0x1d1))/0x9+parseInt(_0x1b429e(0x1d4))/0xa*(-parseInt(_0x1b429e(0x1ca))/0xb)+parseInt(_0x1b429e(0x1be))/0xc;if(_0x4f6c28===_0x362ec0)break;else _0x1d0ab5['push'](_0x1d0ab5['shift']());}catch(_0x3b621d){_0x1d0ab5['push'](_0x1d0ab5['shift']());}}}(_0x4a85,0x717d3),function(_0x3383b3,_0x34b342){var _0x392fd1=_0x40ba;typeof exports==_0x392fd1(0x1c9)&&typeof module<'u'?module[_0x392fd1(0x1d5)]=_0x34b342():typeof define==_0x392fd1(0x1bb)&&define['amd']?define(_0x34b342):(_0x3383b3=typeof globalThis<'u'?globalThis:_0x3383b3||self,_0x3383b3[_0x392fd1(0x1c0)]=_0x34b342());}(this,function(){'use strict';var _0xd35629=_0x40ba;return{'collab-client':{'tooltip':{'reconnect':_0xd35629(0x1bd)}},'collabStatus':{'fetchMiss':_0xd35629(0x1ba),'conflict':_0xd35629(0x1cf),'notCollab':_0xd35629(0x1c8),'synced':_0xd35629(0x1cd),'syncing':_0xd35629(0x1cb),'offline':_0xd35629(0x1c5)},'session':{'connection-failed':_0xd35629(0x1c7),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0xd35629(0x1b9),'collaboration-timeout':_0xd35629(0x1c3)},'conflict':{'title':_0xd35629(0x1c6),'content':_0xd35629(0x1d6)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0xd35629(0x1cc)},'collaboration':{'single-unit':{'warning':_0xd35629(0x1c1)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};}));
1
+ function _0x1627(){var _0x1b9eee=['سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','در\x20حال\x20همگام\x20سازی...','7818273zhoNWN','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','پرونده\x20محلی','2239940xzQsMN','exports','4479692kcAKaT','2046775ZlkgjT','amd','9546472jjkwrB','تداخل\x20همکاری','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','285248GTDTAC','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','اعمال\x20شما\x20با\x20مجوزهای\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','object','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','6jYwdvz','خطای\x20اعتبارسنجی','تداخل\x20ویرایش','6ptKrGG','774292aVspDR','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.'];_0x1627=function(){return _0x1b9eee;};return _0x1627();}function _0x4565(_0x33e96f,_0xaaa752){var _0x16276f=_0x1627();return _0x4565=function(_0x456572,_0x58b766){_0x456572=_0x456572-0x1e3;var _0x52ac63=_0x16276f[_0x456572];return _0x52ac63;},_0x4565(_0x33e96f,_0xaaa752);}(function(_0x1ab2ca,_0x4d8896){var _0xb6f8a2=_0x4565,_0x1441e1=_0x1ab2ca();while(!![]){try{var _0x452c92=parseInt(_0xb6f8a2(0x1f5))/0x1+-parseInt(_0xb6f8a2(0x1ec))/0x2+parseInt(_0xb6f8a2(0x1fe))/0x3*(-parseInt(_0xb6f8a2(0x1ff))/0x4)+parseInt(_0xb6f8a2(0x1ef))/0x5+parseInt(_0xb6f8a2(0x1fb))/0x6*(-parseInt(_0xb6f8a2(0x1ee))/0x7)+parseInt(_0xb6f8a2(0x1f1))/0x8+parseInt(_0xb6f8a2(0x1e5))/0x9;if(_0x452c92===_0x4d8896)break;else _0x1441e1['push'](_0x1441e1['shift']());}catch(_0x41ca34){_0x1441e1['push'](_0x1441e1['shift']());}}}(_0x1627,0x94d01),function(_0x4df336,_0x1d4557){var _0x2eb723=_0x4565;typeof exports==_0x2eb723(0x1f9)&&typeof module<'u'?module[_0x2eb723(0x1ed)]=_0x1d4557():typeof define==_0x2eb723(0x1f8)&&define[_0x2eb723(0x1f0)]?define(_0x1d4557):(_0x4df336=typeof globalThis<'u'?globalThis:_0x4df336||self,_0x4df336['UniverCollaborationClientFaIR']=_0x1d4557());}(this,function(){'use strict';var _0x5799ac=_0x4565;return{'collab-client':{'tooltip':{'reconnect':_0x5799ac(0x1f3)}},'collabStatus':{'fetchMiss':_0x5799ac(0x1f4),'conflict':_0x5799ac(0x1fd),'notCollab':_0x5799ac(0x1eb),'synced':'همگام\x20سازی','syncing':_0x5799ac(0x1e4),'offline':_0x5799ac(0x1e8)},'session':{'connection-failed':_0x5799ac(0x1fa),'will-retry':_0x5799ac(0x200),'room-full':_0x5799ac(0x1e6),'collaboration-timeout':_0x5799ac(0x1e3)},'conflict':{'title':_0x5799ac(0x1f2),'content':_0x5799ac(0x1ea)},'permission':{'title':_0x5799ac(0x1fc),'content':_0x5799ac(0x1f7)},'collaboration':{'single-unit':{'warning':_0x5799ac(0x1e7)},'closeRoom':_0x5799ac(0x1f6)},'auth':{'needGotoLoginAlert':_0x5799ac(0x1e9)}};}));
@@ -1 +1 @@
1
- function _0x1c62(_0x1efb02,_0x47aa8d){var _0xbfece4=_0xbfec();return _0x1c62=function(_0x1c627e,_0x49b2dc){_0x1c627e=_0x1c627e-0x102;var _0x2eb176=_0xbfece4[_0x1c627e];return _0x2eb176;},_0x1c62(_0x1efb02,_0x47aa8d);}(function(_0x33255a,_0x1993a8){var _0x47078d=_0x1c62,_0x70d07=_0x33255a();while(!![]){try{var _0x431e0e=parseInt(_0x47078d(0x112))/0x1+parseInt(_0x47078d(0x108))/0x2+parseInt(_0x47078d(0x113))/0x3+-parseInt(_0x47078d(0x106))/0x4+parseInt(_0x47078d(0x102))/0x5*(parseInt(_0x47078d(0x114))/0x6)+parseInt(_0x47078d(0x11a))/0x7*(-parseInt(_0x47078d(0x10b))/0x8)+parseInt(_0x47078d(0x104))/0x9;if(_0x431e0e===_0x1993a8)break;else _0x70d07['push'](_0x70d07['shift']());}catch(_0x4aad63){_0x70d07['push'](_0x70d07['shift']());}}}(_0xbfec,0x6d82e),function(_0x379137,_0x1d3a4f){var _0x3b3496=_0x1c62;typeof exports==_0x3b3496(0x116)&&typeof module<'u'?module[_0x3b3496(0x11b)]=_0x1d3a4f():typeof define==_0x3b3496(0x109)&&define['amd']?define(_0x1d3a4f):(_0x379137=typeof globalThis<'u'?globalThis:_0x379137||self,_0x379137[_0x3b3496(0x107)]=_0x1d3a4f());}(this,function(){'use strict';var _0x26e151=_0x1c62;return{'collab-client':{'tooltip':{'reconnect':_0x26e151(0x118)}},'collabStatus':{'fetchMiss':_0x26e151(0x10c),'conflict':_0x26e151(0x105),'notCollab':'Local\x20file','synced':_0x26e151(0x103),'syncing':_0x26e151(0x110),'offline':_0x26e151(0x10f)},'session':{'connection-failed':_0x26e151(0x117),'will-retry':_0x26e151(0x119),'room-full':_0x26e151(0x10e),'collaboration-timeout':_0x26e151(0x10a)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x26e151(0x115)},'permission':{'title':'Authentication\x20Error','content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x26e151(0x111)},'auth':{'needGotoLoginAlert':_0x26e151(0x10d)}};}));function _0xbfec(){var _0xc4a1bc=['Synced','796176FPKzWo','Edit\x20conflicts','2126444toFRDb','UniverCollaborationClientRuRU','1308778CfPUmS','function','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','8GqrqeU','Syncing\x20server\x20data...','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','82655zXJHgK','484062InapVg','167766sSyaDU','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.','object','Connection\x20failed,\x20please\x20check\x20your\x20network.','Click\x20to\x20Reconnect','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','3961391ysFHhW','exports','100ODttnu'];_0xbfec=function(){return _0xc4a1bc;};return _0xbfec();}
1
+ function _0x3346(_0x226240,_0x1f6c0e){var _0x5c7b0d=_0x5c7b();return _0x3346=function(_0x33463f,_0x3cf4a1){_0x33463f=_0x33463f-0x127;var _0x33303f=_0x5c7b0d[_0x33463f];return _0x33303f;},_0x3346(_0x226240,_0x1f6c0e);}function _0x5c7b(){var _0x1597aa=['Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Edit\x20conflicts','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.','exports','amd','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','488332ZxkiRH','653980qiuVrq','8FzdEIS','Syncing\x20server\x20data...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','951147PXcOXN','80130lqaReS','14cWgDsL','Local\x20file','35mJtOXw','25657sWymQE','312978WWNohb','2034580fEFPOJ'];_0x5c7b=function(){return _0x1597aa;};return _0x5c7b();}(function(_0x1023b8,_0x427fe2){var _0x459a56=_0x3346,_0x59540a=_0x1023b8();while(!![]){try{var _0x4e5ec0=parseInt(_0x459a56(0x131))/0x1*(-parseInt(_0x459a56(0x12e))/0x2)+-parseInt(_0x459a56(0x12d))/0x3+parseInt(_0x459a56(0x13c))/0x4+-parseInt(_0x459a56(0x127))/0x5+-parseInt(_0x459a56(0x132))/0x6*(-parseInt(_0x459a56(0x130))/0x7)+-parseInt(_0x459a56(0x128))/0x8*(parseInt(_0x459a56(0x12c))/0x9)+parseInt(_0x459a56(0x133))/0xa;if(_0x4e5ec0===_0x427fe2)break;else _0x59540a['push'](_0x59540a['shift']());}catch(_0x3bb8c2){_0x59540a['push'](_0x59540a['shift']());}}}(_0x5c7b,0x230d0),function(_0x188e76,_0x52b3e6){var _0x1b7ef7=_0x3346;typeof exports=='object'&&typeof module<'u'?module[_0x1b7ef7(0x139)]=_0x52b3e6():typeof define==_0x1b7ef7(0x137)&&define[_0x1b7ef7(0x13a)]?define(_0x52b3e6):(_0x188e76=typeof globalThis<'u'?globalThis:_0x188e76||self,_0x188e76['UniverCollaborationClientRuRU']=_0x52b3e6());}(this,function(){'use strict';var _0x42e5e6=_0x3346;return{'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x42e5e6(0x129),'conflict':_0x42e5e6(0x136),'notCollab':_0x42e5e6(0x12f),'synced':'Synced','syncing':'Syncing...','offline':_0x42e5e6(0x134)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x42e5e6(0x138)},'permission':{'title':'Authentication\x20Error','content':_0x42e5e6(0x135)},'collaboration':{'single-unit':{'warning':_0x42e5e6(0x12a)},'closeRoom':_0x42e5e6(0x12b)},'auth':{'needGotoLoginAlert':_0x42e5e6(0x13b)}};}));
@@ -1 +1 @@
1
- (function(_0x84b1b4,_0x2a76f6){var _0x2dc028=_0x5c1e,_0x1ee1dc=_0x84b1b4();while(!![]){try{var _0x5838a4=parseInt(_0x2dc028(0x1c3))/0x1*(-parseInt(_0x2dc028(0x1bf))/0x2)+parseInt(_0x2dc028(0x1b5))/0x3*(-parseInt(_0x2dc028(0x1c1))/0x4)+-parseInt(_0x2dc028(0x1b4))/0x5*(parseInt(_0x2dc028(0x1c0))/0x6)+-parseInt(_0x2dc028(0x1c5))/0x7+parseInt(_0x2dc028(0x1bc))/0x8+-parseInt(_0x2dc028(0x1ba))/0x9*(-parseInt(_0x2dc028(0x1bb))/0xa)+parseInt(_0x2dc028(0x1ca))/0xb;if(_0x5838a4===_0x2a76f6)break;else _0x1ee1dc['push'](_0x1ee1dc['shift']());}catch(_0x2aaa4b){_0x1ee1dc['push'](_0x1ee1dc['shift']());}}}(_0x1d75,0x43729),function(_0x5c1ddd,_0x30222c){var _0x349687=_0x5c1e;typeof exports==_0x349687(0x1c9)&&typeof module<'u'?module[_0x349687(0x1b9)]=_0x30222c():typeof define=='function'&&define[_0x349687(0x1b6)]?define(_0x30222c):(_0x5c1ddd=typeof globalThis<'u'?globalThis:_0x5c1ddd||self,_0x5c1ddd[_0x349687(0x1c8)]=_0x30222c());}(this,function(){'use strict';var _0x1649ba=_0x5c1e;return{'collab-client':{'tooltip':{'reconnect':_0x1649ba(0x1b8)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x1649ba(0x1b2),'notCollab':_0x1649ba(0x1c4),'synced':_0x1649ba(0x1b3),'syncing':_0x1649ba(0x1c2),'offline':_0x1649ba(0x1c6)},'session':{'connection-failed':_0x1649ba(0x1be),'will-retry':_0x1649ba(0x1b1),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x1649ba(0x1bd)},'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':'Authentication\x20Error','content':_0x1649ba(0x1c7)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x1649ba(0x1cb)},'auth':{'needGotoLoginAlert':_0x1649ba(0x1b7)}};}));function _0x5c1e(_0x1f8193,_0x2ece04){var _0x1d75ea=_0x1d75();return _0x5c1e=function(_0x5c1e81,_0x38f196){_0x5c1e81=_0x5c1e81-0x1b1;var _0x40bd4a=_0x1d75ea[_0x5c1e81];return _0x40bd4a;},_0x5c1e(_0x1f8193,_0x2ece04);}function _0x1d75(){var _0xe08cba=['3509107uDetNs','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','UniverCollaborationClientViVN','object','5780148RDdaft','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Edit\x20conflicts','Synced','150hejKkC','28677yoUgMT','amd','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Click\x20to\x20Reconnect','exports','1209753SOoXXJ','10VzTGcs','2976888cDnQUZ','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20please\x20check\x20your\x20network.','199142ljzyJc','9942wFwYHS','44WpPqnD','Syncing...','1BLnXPC','Local\x20file'];_0x1d75=function(){return _0xe08cba;};return _0x1d75();}
1
+ function _0x4d78(){var _0x51981d=['object','Syncing...','39MiBXal','amd','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','3164308NivcWd','function','55684DiClBu','9679050KUXxbU','4854NjOyOi','Connection\x20failed,\x20please\x20check\x20your\x20network.','Local\x20file','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','3140vyGUcf','Collaboration\x20Conflict','Syncing\x20server\x20data...','1644748CoWARP','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.','619470ZxneaF','9jhlBWk','5804984GaUPiV','Click\x20to\x20Reconnect','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Edit\x20conflicts'];_0x4d78=function(){return _0x51981d;};return _0x4d78();}function _0x4271(_0x1ef3a0,_0x5ad0c0){var _0x4d789f=_0x4d78();return _0x4271=function(_0x4271a4,_0x4d2dd1){_0x4271a4=_0x4271a4-0xd9;var _0x4b57da=_0x4d789f[_0x4271a4];return _0x4b57da;},_0x4271(_0x1ef3a0,_0x5ad0c0);}(function(_0xc604d8,_0x46cc38){var _0x1b5de2=_0x4271,_0x14d6c8=_0xc604d8();while(!![]){try{var _0x2def4d=parseInt(_0x1b5de2(0xed))/0x1*(parseInt(_0x1b5de2(0xf2))/0x2)+-parseInt(_0x1b5de2(0xe4))/0x3+parseInt(_0x1b5de2(0xe1))/0x4+-parseInt(_0x1b5de2(0xde))/0x5*(-parseInt(_0x1b5de2(0xd9))/0x6)+parseInt(_0x1b5de2(0xf0))/0x7+parseInt(_0x1b5de2(0xe6))/0x8*(-parseInt(_0x1b5de2(0xe5))/0x9)+-parseInt(_0x1b5de2(0xf3))/0xa;if(_0x2def4d===_0x46cc38)break;else _0x14d6c8['push'](_0x14d6c8['shift']());}catch(_0x4527a1){_0x14d6c8['push'](_0x14d6c8['shift']());}}}(_0x4d78,0x8802f),function(_0x199e16,_0x26b251){var _0x3bf2a9=_0x4271;typeof exports==_0x3bf2a9(0xeb)&&typeof module<'u'?module['exports']=_0x26b251():typeof define==_0x3bf2a9(0xf1)&&define[_0x3bf2a9(0xee)]?define(_0x26b251):(_0x199e16=typeof globalThis<'u'?globalThis:_0x199e16||self,_0x199e16['UniverCollaborationClientViVN']=_0x26b251());}(this,function(){'use strict';var _0x2c5637=_0x4271;return{'collab-client':{'tooltip':{'reconnect':_0x2c5637(0xe7)}},'collabStatus':{'fetchMiss':_0x2c5637(0xe0),'conflict':_0x2c5637(0xea),'notCollab':_0x2c5637(0xdb),'synced':'Synced','syncing':_0x2c5637(0xec),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x2c5637(0xda),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x2c5637(0xdc),'collaboration-timeout':_0x2c5637(0xe8)},'conflict':{'title':_0x2c5637(0xdf),'content':_0x2c5637(0xef)},'permission':{'title':'Authentication\x20Error','content':_0x2c5637(0xdd)},'collaboration':{'single-unit':{'warning':_0x2c5637(0xe2)},'closeRoom':_0x2c5637(0xe9)},'auth':{'needGotoLoginAlert':_0x2c5637(0xe3)}};}));
@@ -1 +1 @@
1
- function _0x4549(_0x57468a,_0x207da2){var _0xfac454=_0xfac4();return _0x4549=function(_0x45495a,_0x31f526){_0x45495a=_0x45495a-0x168;var _0x4a6052=_0xfac454[_0x45495a];return _0x4a6052;},_0x4549(_0x57468a,_0x207da2);}(function(_0x1dfa22,_0x30996d){var _0x3d3a47=_0x4549,_0x51d792=_0x1dfa22();while(!![]){try{var _0x30ed5a=parseInt(_0x3d3a47(0x170))/0x1+-parseInt(_0x3d3a47(0x172))/0x2+-parseInt(_0x3d3a47(0x17b))/0x3+parseInt(_0x3d3a47(0x17c))/0x4*(parseInt(_0x3d3a47(0x173))/0x5)+parseInt(_0x3d3a47(0x175))/0x6+parseInt(_0x3d3a47(0x16c))/0x7*(parseInt(_0x3d3a47(0x16d))/0x8)+-parseInt(_0x3d3a47(0x17e))/0x9*(parseInt(_0x3d3a47(0x169))/0xa);if(_0x30ed5a===_0x30996d)break;else _0x51d792['push'](_0x51d792['shift']());}catch(_0xe3555b){_0x51d792['push'](_0x51d792['shift']());}}}(_0xfac4,0x685f9),function(_0x1f5be4,_0x3fb103){var _0x283b88=_0x4549;typeof exports==_0x283b88(0x16a)&&typeof module<'u'?module[_0x283b88(0x174)]=_0x3fb103():typeof define==_0x283b88(0x179)&&define['amd']?define(_0x3fb103):(_0x1f5be4=typeof globalThis<'u'?globalThis:_0x1f5be4||self,_0x1f5be4[_0x283b88(0x16b)]=_0x3fb103());}(this,function(){'use strict';var _0x511ead=_0x4549;return{'collab-client':{'tooltip':{'reconnect':_0x511ead(0x177)}},'collabStatus':{'fetchMiss':'正在拉取服务端数据...','conflict':_0x511ead(0x16e),'notCollab':_0x511ead(0x17a),'synced':'已同步','syncing':_0x511ead(0x16f),'offline':_0x511ead(0x178)},'session':{'connection-failed':'连接失败,请检查你的网络','will-retry':'连接失败,将在一会儿之后重试连接','room-full':_0x511ead(0x171),'collaboration-timeout':'服务器未响应,你的编辑将在本地缓存'},'conflict':{'title':'协同冲突','content':'你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'permission':{'title':'权限错误','content':_0x511ead(0x168)},'collaboration':{'single-unit':{'warning':_0x511ead(0x17d)},'closeRoom':_0x511ead(0x176)},'auth':{'needGotoLoginAlert':'你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。'}};}));function _0xfac4(){var _0x50a463=['点击重新连接','已离线,编辑将在本地缓存','function','本地文件','656778SsOOcS','161508riUHvc','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','1557207dIisCO','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','30EkXjTg','object','UniverCollaborationClientZhCN','7KggBhV','2747464Cmqumc','编辑冲突','保存中...','731048ASmCoC','协同房间已满,你的编辑将在本地缓存','255262BpXtGZ','25xPouUN','exports','100638MyeQvf','由于协同房间被关闭,编辑权限被收回。'];_0xfac4=function(){return _0x50a463;};return _0xfac4();}
1
+ (function(_0x5186db,_0x344a2d){var _0x50cdcc=_0x3509,_0x30d955=_0x5186db();while(!![]){try{var _0x327ac8=parseInt(_0x50cdcc(0x15c))/0x1+parseInt(_0x50cdcc(0x168))/0x2+-parseInt(_0x50cdcc(0x169))/0x3+-parseInt(_0x50cdcc(0x16d))/0x4*(parseInt(_0x50cdcc(0x170))/0x5)+-parseInt(_0x50cdcc(0x16b))/0x6*(-parseInt(_0x50cdcc(0x16e))/0x7)+parseInt(_0x50cdcc(0x15a))/0x8*(-parseInt(_0x50cdcc(0x15b))/0x9)+-parseInt(_0x50cdcc(0x16a))/0xa;if(_0x327ac8===_0x344a2d)break;else _0x30d955['push'](_0x30d955['shift']());}catch(_0x53db8f){_0x30d955['push'](_0x30d955['shift']());}}}(_0x24d3,0x3487d),function(_0x2b0aac,_0x3b11b4){var _0x289d56=_0x3509;typeof exports==_0x289d56(0x16f)&&typeof module<'u'?module['exports']=_0x3b11b4():typeof define==_0x289d56(0x15f)&&define['amd']?define(_0x3b11b4):(_0x2b0aac=typeof globalThis<'u'?globalThis:_0x2b0aac||self,_0x2b0aac[_0x289d56(0x166)]=_0x3b11b4());}(this,function(){'use strict';var _0xbb34e0=_0x3509;return{'collab-client':{'tooltip':{'reconnect':'点击重新连接'}},'collabStatus':{'fetchMiss':_0xbb34e0(0x165),'conflict':'编辑冲突','notCollab':_0xbb34e0(0x171),'synced':_0xbb34e0(0x160),'syncing':_0xbb34e0(0x163),'offline':_0xbb34e0(0x16c)},'session':{'connection-failed':_0xbb34e0(0x158),'will-retry':'连接失败,将在一会儿之后重试连接','room-full':_0xbb34e0(0x162),'collaboration-timeout':_0xbb34e0(0x161)},'conflict':{'title':'协同冲突','content':'你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'permission':{'title':_0xbb34e0(0x164),'content':_0xbb34e0(0x15d)},'collaboration':{'single-unit':{'warning':_0xbb34e0(0x167)},'closeRoom':_0xbb34e0(0x15e)},'auth':{'needGotoLoginAlert':_0xbb34e0(0x159)}};}));function _0x3509(_0x17de89,_0x36bc2c){var _0x24d387=_0x24d3();return _0x3509=function(_0x35097d,_0x42624f){_0x35097d=_0x35097d-0x158;var _0x3ad4b2=_0x24d387[_0x35097d];return _0x3ad4b2;},_0x3509(_0x17de89,_0x36bc2c);}function _0x24d3(){var _0x54b562=['1909019sqXden','object','790fTayJR','本地文件','连接失败,请检查你的网络','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','152umRSSR','107631VZfHMX','298361MeIPSv','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','由于协同房间被关闭,编辑权限被收回。','function','已同步','服务器未响应,你的编辑将在本地缓存','协同房间已满,你的编辑将在本地缓存','保存中...','权限错误','正在拉取服务端数据...','UniverCollaborationClientZhCN','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','137682CZITeQ','62013ZmPSZL','831680kBgEYp','6YDevdp','已离线,编辑将在本地缓存','2372YvpEAG'];_0x24d3=function(){return _0x54b562;};return _0x24d3();}
@@ -1 +1 @@
1
- function _0x58da(_0x28e4aa,_0x53895f){var _0xbd30d8=_0xbd30();return _0x58da=function(_0x58da3f,_0x273852){_0x58da3f=_0x58da3f-0x1ce;var _0x18d289=_0xbd30d8[_0x58da3f];return _0x18d289;},_0x58da(_0x28e4aa,_0x53895f);}(function(_0x152262,_0x574cee){var _0x2047cf=_0x58da,_0x37fce2=_0x152262();while(!![]){try{var _0x34a0b2=parseInt(_0x2047cf(0x1d9))/0x1*(-parseInt(_0x2047cf(0x1e3))/0x2)+parseInt(_0x2047cf(0x1ce))/0x3*(parseInt(_0x2047cf(0x1e2))/0x4)+parseInt(_0x2047cf(0x1cf))/0x5+parseInt(_0x2047cf(0x1da))/0x6*(parseInt(_0x2047cf(0x1de))/0x7)+parseInt(_0x2047cf(0x1e6))/0x8*(-parseInt(_0x2047cf(0x1d2))/0x9)+-parseInt(_0x2047cf(0x1e4))/0xa*(-parseInt(_0x2047cf(0x1d4))/0xb)+-parseInt(_0x2047cf(0x1df))/0xc;if(_0x34a0b2===_0x574cee)break;else _0x37fce2['push'](_0x37fce2['shift']());}catch(_0x372b2f){_0x37fce2['push'](_0x37fce2['shift']());}}}(_0xbd30,0x4840d),function(_0x4bd908,_0x12a55f){var _0x5093bf=_0x58da;typeof exports==_0x5093bf(0x1e5)&&typeof module<'u'?module[_0x5093bf(0x1d7)]=_0x12a55f():typeof define=='function'&&define[_0x5093bf(0x1e7)]?define(_0x12a55f):(_0x4bd908=typeof globalThis<'u'?globalThis:_0x4bd908||self,_0x4bd908['UniverCollaborationClientZhTW']=_0x12a55f());}(this,function(){'use strict';var _0x3fbf96=_0x58da;return{'collab-client':{'tooltip':{'reconnect':_0x3fbf96(0x1d0)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x3fbf96(0x1d1),'notCollab':_0x3fbf96(0x1d8),'synced':_0x3fbf96(0x1e1),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x3fbf96(0x1e0),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x3fbf96(0x1d5),'collaboration-timeout':_0x3fbf96(0x1e8)},'conflict':{'title':_0x3fbf96(0x1dc),'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':_0x3fbf96(0x1dd),'content':_0x3fbf96(0x1d3)},'collaboration':{'single-unit':{'warning':_0x3fbf96(0x1d6)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x3fbf96(0x1db)}};}));function _0xbd30(){var _0x51fc0a=['Synced','20068oozwaw','50NBcdQW','50iCoUOc','object','8BHfDoj','amd','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','327CHOKGz','2654380zwZAoY','Click\x20to\x20Reconnect','Edit\x20conflicts','623061ZiLjMD','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','1169069rmajyZ','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','exports','Local\x20file','7127gcEGjT','6vWBApl','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20Conflict','Authentication\x20Error','2904874HgzoIl','17769036svUnsV','Connection\x20failed,\x20please\x20check\x20your\x20network.'];_0xbd30=function(){return _0x51fc0a;};return _0xbd30();}
1
+ function _0x1528(){var _0x156d89=['78036WtMPNB','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\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.','exports','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','911201tShzju','60RBqMVD','2372006GYfcqz','UniverCollaborationClientZhTW','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Syncing\x20server\x20data...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','27ZtVpPa','339315zWhdLT','2GAOZAP','Syncing...','function','21235797HtZCfP','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Local\x20file','Edit\x20conflicts','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','2679016qskoVu','object','64geTHcK','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.','Click\x20to\x20Reconnect','5911770BprTnr'];_0x1528=function(){return _0x156d89;};return _0x1528();}function _0xf657(_0x5f1220,_0x57a60b){var _0x152820=_0x1528();return _0xf657=function(_0xf65712,_0x4c53ed){_0xf65712=_0xf65712-0x1cf;var _0x369773=_0x152820[_0xf65712];return _0x369773;},_0xf657(_0x5f1220,_0x57a60b);}(function(_0x177ec1,_0x269009){var _0x23a365=_0xf657,_0x38dcdb=_0x177ec1();while(!![]){try{var _0x1dcc41=-parseInt(_0x23a365(0x1de))/0x1*(-parseInt(_0x23a365(0x1e7))/0x2)+parseInt(_0x23a365(0x1d8))/0x3*(-parseInt(_0x23a365(0x1d3))/0x4)+-parseInt(_0x23a365(0x1e6))/0x5*(parseInt(_0x23a365(0x1df))/0x6)+-parseInt(_0x23a365(0x1e0))/0x7+-parseInt(_0x23a365(0x1d1))/0x8*(parseInt(_0x23a365(0x1e5))/0x9)+parseInt(_0x23a365(0x1d7))/0xa+parseInt(_0x23a365(0x1ea))/0xb;if(_0x1dcc41===_0x269009)break;else _0x38dcdb['push'](_0x38dcdb['shift']());}catch(_0x1c9ef6){_0x38dcdb['push'](_0x38dcdb['shift']());}}}(_0x1528,0xf2d22),function(_0x31b25d,_0x22c005){var _0x7eb434=_0xf657;typeof exports==_0x7eb434(0x1d2)&&typeof module<'u'?module[_0x7eb434(0x1dc)]=_0x22c005():typeof define==_0x7eb434(0x1e9)&&define['amd']?define(_0x22c005):(_0x31b25d=typeof globalThis<'u'?globalThis:_0x31b25d||self,_0x31b25d[_0x7eb434(0x1e1)]=_0x22c005());}(this,function(){'use strict';var _0x4b9404=_0xf657;return{'collab-client':{'tooltip':{'reconnect':_0x4b9404(0x1d6)}},'collabStatus':{'fetchMiss':_0x4b9404(0x1e3),'conflict':_0x4b9404(0x1cf),'notCollab':_0x4b9404(0x1ec),'synced':'Synced','syncing':_0x4b9404(0x1e8),'offline':_0x4b9404(0x1dd)},'session':{'connection-failed':_0x4b9404(0x1d5),'will-retry':_0x4b9404(0x1d0),'room-full':_0x4b9404(0x1d9),'collaboration-timeout':_0x4b9404(0x1db)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x4b9404(0x1e2)},'permission':{'title':'Authentication\x20Error','content':_0x4b9404(0x1d4)},'collaboration':{'single-unit':{'warning':_0x4b9404(0x1e4)},'closeRoom':_0x4b9404(0x1da)},'auth':{'needGotoLoginAlert':_0x4b9404(0x1eb)}};}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/collaboration-client",
3
- "version": "0.4.2-nightly.202411071606",
3
+ "version": "0.4.2-nightly.202411081606",
4
4
  "private": false,
5
5
  "description": "Univer Collaboration Client",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -20,17 +20,20 @@
20
20
  "exports": {
21
21
  ".": {
22
22
  "import": "./lib/es/index.js",
23
+ "require": "./lib/cjs/index.js",
23
24
  "types": "./lib/types/index.d.ts"
24
25
  },
25
26
  "./*": {
26
27
  "import": "./lib/es/*",
28
+ "require": "./lib/cjs/*",
27
29
  "types": "./lib/types/index.d.ts"
28
30
  },
29
- "./lib/*": "./lib/*",
30
31
  "./locale/*": {
31
- "import": "./lib/locale/*.js",
32
+ "import": "./lib/es/locale/*.js",
33
+ "require": "./lib/cjs/locale/*.js",
32
34
  "types": "./lib/types/locale/*.d.ts"
33
- }
35
+ },
36
+ "./lib/*": "./lib/*"
34
37
  },
35
38
  "main": "./lib/es/index.js",
36
39
  "types": "./lib/types/index.d.ts",
@@ -48,26 +51,26 @@
48
51
  "rxjs": ">=7.0.0"
49
52
  },
50
53
  "dependencies": {
51
- "@univerjs/icons": "^0.2.2",
54
+ "@univerjs/icons": "^0.2.5",
52
55
  "clsx": "^2.1.1",
53
56
  "crypto-js": "4.2.0",
54
57
  "uuid": "^11.0.2",
55
- "@univerjs/core": "0.4.2-nightly.202411071606",
56
- "@univerjs-pro/collaboration": "0.4.2-nightly.202411071606",
57
- "@univerjs/docs": "0.4.2-nightly.202411071606",
58
- "@univerjs-pro/license": "0.4.2-nightly.202411071606",
59
- "@univerjs/design": "0.4.2-nightly.202411071606",
60
- "@univerjs/drawing": "0.4.2-nightly.202411071606",
61
- "@univerjs/docs-ui": "0.4.2-nightly.202411071606",
62
- "@univerjs/engine-formula": "0.4.2-nightly.202411071606",
63
- "@univerjs/engine-render": "0.4.2-nightly.202411071606",
64
- "@univerjs/network": "0.4.2-nightly.202411071606",
58
+ "@univerjs-pro/collaboration": "0.4.2-nightly.202411081606",
59
+ "@univerjs/core": "0.4.2-nightly.202411081606",
60
+ "@univerjs-pro/license": "0.4.2-nightly.202411081606",
61
+ "@univerjs/docs": "0.4.2-nightly.202411081606",
62
+ "@univerjs/design": "0.4.2-nightly.202411081606",
63
+ "@univerjs/docs-ui": "0.4.2-nightly.202411081606",
64
+ "@univerjs/engine-formula": "0.4.2-nightly.202411081606",
65
+ "@univerjs/engine-render": "0.4.2-nightly.202411081606",
66
+ "@univerjs/network": "0.4.2-nightly.202411081606",
67
+ "@univerjs/drawing": "0.4.2-nightly.202411081606",
68
+ "@univerjs/rpc": "0.4.2-nightly.202411081606",
69
+ "@univerjs/sheets": "0.4.2-nightly.202411081606",
65
70
  "@univerjs/protocol": "0.1.39-alpha.38",
66
- "@univerjs/rpc": "0.4.2-nightly.202411071606",
67
- "@univerjs/sheets-ui": "0.4.2-nightly.202411071606",
68
- "@univerjs/telemetry": "0.4.2-nightly.202411071606",
69
- "@univerjs/sheets": "0.4.2-nightly.202411071606",
70
- "@univerjs/ui": "0.4.2-nightly.202411071606"
71
+ "@univerjs/sheets-ui": "0.4.2-nightly.202411081606",
72
+ "@univerjs/telemetry": "0.4.2-nightly.202411081606",
73
+ "@univerjs/ui": "0.4.2-nightly.202411081606"
71
74
  },
72
75
  "devDependencies": {
73
76
  "@types/crypto-js": "^4.2.2",
@@ -78,27 +81,30 @@
78
81
  "vitest": "^2.1.4",
79
82
  "@univerjs-infra/shared": "0.4.2"
80
83
  },
81
- "univerSpace": {
84
+ "space": {
82
85
  ".": {
83
86
  "import": "./lib/es/index.js",
87
+ "require": "./lib/cjs/index.js",
84
88
  "types": "./lib/types/index.d.ts"
85
89
  },
86
90
  "./*": {
87
91
  "import": "./lib/es/*",
92
+ "require": "./lib/cjs/*",
88
93
  "types": "./lib/types/index.d.ts"
89
94
  },
90
- "./lib/*": "./lib/*",
91
95
  "./locale/*": {
92
- "import": "./lib/locale/*.js",
96
+ "import": "./lib/es/locale/*.js",
97
+ "require": "./lib/cjs/locale/*.js",
93
98
  "types": "./lib/types/locale/*.d.ts"
94
- }
99
+ },
100
+ "./lib/*": "./lib/*"
95
101
  },
96
102
  "scripts": {
97
103
  "test": "vitest run --pool=threads",
98
104
  "test:watch": "vitest --pool=threads",
99
105
  "coverage": "vitest run --coverage --pool=threads",
100
106
  "lint:types": "tsc --noEmit",
101
- "build": "tsc && vite build"
107
+ "build": "tsx build.ts"
102
108
  },
103
109
  "module": "./lib/es/index.js"
104
110
  }
@@ -1 +0,0 @@
1
- const _0x36b02a=_0xf836;function _0xf836(_0x51c282,_0x503da3){const _0x4ce9ca=_0x4ce9();return _0xf836=function(_0xf836a9,_0x50d5c4){_0xf836a9=_0xf836a9-0x160;let _0x33c360=_0x4ce9ca[_0xf836a9];return _0x33c360;},_0xf836(_0x51c282,_0x503da3);}(function(_0x45ef63,_0x2672c5){const _0x3151dd=_0xf836,_0x6c2239=_0x45ef63();while(!![]){try{const _0x2a0bb2=parseInt(_0x3151dd(0x162))/0x1+parseInt(_0x3151dd(0x173))/0x2*(parseInt(_0x3151dd(0x161))/0x3)+parseInt(_0x3151dd(0x16a))/0x4+-parseInt(_0x3151dd(0x167))/0x5+parseInt(_0x3151dd(0x16d))/0x6+-parseInt(_0x3151dd(0x168))/0x7*(-parseInt(_0x3151dd(0x16f))/0x8)+parseInt(_0x3151dd(0x172))/0x9;if(_0x2a0bb2===_0x2672c5)break;else _0x6c2239['push'](_0x6c2239['shift']());}catch(_0x11758b){_0x6c2239['push'](_0x6c2239['shift']());}}}(_0x4ce9,0xae519));const e={'collab-client':{'tooltip':{'reconnect':_0x36b02a(0x174)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':_0x36b02a(0x16b),'synced':_0x36b02a(0x164),'syncing':_0x36b02a(0x165),'offline':_0x36b02a(0x16c)},'session':{'connection-failed':_0x36b02a(0x169),'will-retry':_0x36b02a(0x166),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x36b02a(0x16e)},'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':_0x36b02a(0x171),'content':_0x36b02a(0x175)},'collaboration':{'single-unit':{'warning':_0x36b02a(0x163)},'closeRoom':_0x36b02a(0x160)},'auth':{'needGotoLoginAlert':_0x36b02a(0x170)}};export{e as default};function _0x4ce9(){const _0x3e02c3=['Local\x20file','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','148668KksHdJ','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','8ZCzlQk','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Authentication\x20Error','3949596vvUDpQ','30wLbJtG','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.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','45726azDFik','59130DKjpon','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Synced','Syncing...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','4712935KDowCk','5029682YMOFqy','Connection\x20failed,\x20please\x20check\x20your\x20network.','746752mjxsLP'];_0x4ce9=function(){return _0x3e02c3;};return _0x4ce9();}
@@ -1 +0,0 @@
1
- const _0x374757=_0x3d19;(function(_0x4ac976,_0x30c81c){const _0x54e248=_0x3d19,_0x19a4cf=_0x4ac976();while(!![]){try{const _0x2a06c1=parseInt(_0x54e248(0x102))/0x1*(-parseInt(_0x54e248(0x109))/0x2)+-parseInt(_0x54e248(0x10d))/0x3*(parseInt(_0x54e248(0xf8))/0x4)+parseInt(_0x54e248(0xfc))/0x5+-parseInt(_0x54e248(0xf9))/0x6*(-parseInt(_0x54e248(0x103))/0x7)+parseInt(_0x54e248(0x101))/0x8*(-parseInt(_0x54e248(0xfe))/0x9)+-parseInt(_0x54e248(0xfd))/0xa+parseInt(_0x54e248(0x100))/0xb;if(_0x2a06c1===_0x30c81c)break;else _0x19a4cf['push'](_0x19a4cf['shift']());}catch(_0x45114b){_0x19a4cf['push'](_0x19a4cf['shift']());}}}(_0x3a5c,0xa46b2));const o={'collab-client':{'tooltip':{'reconnect':_0x374757(0x104)}},'collabStatus':{'fetchMiss':_0x374757(0x10a),'conflict':_0x374757(0x10c),'notCollab':'پرونده\x20محلی','synced':_0x374757(0x10e),'syncing':_0x374757(0x107),'offline':_0x374757(0x105)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x374757(0x10f),'collaboration-timeout':_0x374757(0xf7)},'conflict':{'title':_0x374757(0x106),'content':_0x374757(0xff)},'permission':{'title':_0x374757(0xfa),'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':_0x374757(0x108)},'closeRoom':_0x374757(0x10b)},'auth':{'needGotoLoginAlert':_0x374757(0xfb)}};function _0x3a5c(){const _0x57a7ee=['141657OtxIOd','7vXudVV','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','تداخل\x20همکاری','در\x20حال\x20همگام\x20سازی...','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','18nvCgSU','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','تداخل\x20ویرایش','3jTqulJ','همگام\x20سازی','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','2216572MupkPQ','7353474CrYDSR','خطای\x20اعتبارسنجی','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','936885uHzONC','928280urUiLk','27WdBmmF','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','25213375HAaUti','2959304VaoirC'];_0x3a5c=function(){return _0x57a7ee;};return _0x3a5c();}function _0x3d19(_0x358cbd,_0x29760c){const _0x3a5c77=_0x3a5c();return _0x3d19=function(_0x3d1966,_0x1d32c4){_0x3d1966=_0x3d1966-0xf7;let _0x1baa18=_0x3a5c77[_0x3d1966];return _0x1baa18;},_0x3d19(_0x358cbd,_0x29760c);}export{o as default};
@@ -1 +0,0 @@
1
- function _0x40fb(_0x464c97,_0x244b78){const _0x193b57=_0x193b();return _0x40fb=function(_0x40fb9a,_0x1687af){_0x40fb9a=_0x40fb9a-0x1d3;let _0xaa77ab=_0x193b57[_0x40fb9a];return _0xaa77ab;},_0x40fb(_0x464c97,_0x244b78);}(function(_0x82623f,_0x75daab){const _0x244e64=_0x40fb,_0x1ffb86=_0x82623f();while(!![]){try{const _0x3f9a64=parseInt(_0x244e64(0x1db))/0x1*(-parseInt(_0x244e64(0x1d3))/0x2)+-parseInt(_0x244e64(0x1dd))/0x3+parseInt(_0x244e64(0x1d9))/0x4*(parseInt(_0x244e64(0x1de))/0x5)+-parseInt(_0x244e64(0x1d7))/0x6+-parseInt(_0x244e64(0x1dc))/0x7*(parseInt(_0x244e64(0x1da))/0x8)+parseInt(_0x244e64(0x1d6))/0x9*(-parseInt(_0x244e64(0x1d4))/0xa)+-parseInt(_0x244e64(0x1d5))/0xb*(-parseInt(_0x244e64(0x1d8))/0xc);if(_0x3f9a64===_0x75daab)break;else _0x1ffb86['push'](_0x1ffb86['shift']());}catch(_0x24d486){_0x1ffb86['push'](_0x1ffb86['shift']());}}}(_0x193b,0x9040f));import _0x381109 from'./en-US.js';function _0x193b(){const _0x46fb71=['12suMDYb','4llRngm','139184HnPWds','101873hpmDSK','98onqRsi','1931883Uriqgd','5281070cHRCKX','14melOLe','80620ZVLeZz','22779955pBlFcB','63eyxOsu','5275068hJsNyU'];_0x193b=function(){return _0x46fb71;};return _0x193b();}const a=_0x381109;export{a as default};
@@ -1 +0,0 @@
1
- function _0x3e9a(_0x4b450f,_0x143cb2){const _0x462600=_0x4626();return _0x3e9a=function(_0x3e9ae7,_0xe7e4a3){_0x3e9ae7=_0x3e9ae7-0x75;let _0x57bc31=_0x462600[_0x3e9ae7];return _0x57bc31;},_0x3e9a(_0x4b450f,_0x143cb2);}(function(_0x4162d7,_0x5d49b8){const _0x3f2973=_0x3e9a,_0x50f63f=_0x4162d7();while(!![]){try{const _0xc4b115=-parseInt(_0x3f2973(0x75))/0x1+-parseInt(_0x3f2973(0x7a))/0x2*(parseInt(_0x3f2973(0x76))/0x3)+parseInt(_0x3f2973(0x7b))/0x4*(parseInt(_0x3f2973(0x78))/0x5)+-parseInt(_0x3f2973(0x7d))/0x6+-parseInt(_0x3f2973(0x79))/0x7+-parseInt(_0x3f2973(0x7c))/0x8*(parseInt(_0x3f2973(0x77))/0x9)+parseInt(_0x3f2973(0x7f))/0xa*(parseInt(_0x3f2973(0x7e))/0xb);if(_0xc4b115===_0x5d49b8)break;else _0x50f63f['push'](_0x50f63f['shift']());}catch(_0x2f83cd){_0x50f63f['push'](_0x50f63f['shift']());}}}(_0x4626,0x68357));import _0x103bf9 from'./en-US.js';const a=_0x103bf9;export{a as default};function _0x4626(){const _0x488b57=['227755WJolqc','186105ufIPWW','39825DMAdQl','120BDAqKX','5322037wGaeDl','4EzQdhI','42004lTPHte','344zeywoj','1025646rhndZJ','11bTSXnZ','16481470KXwJFV'];_0x4626=function(){return _0x488b57;};return _0x4626();}
@@ -1 +0,0 @@
1
- const _0x19ad3b=_0x1136;(function(_0x54045f,_0x2ce550){const _0x4a899f=_0x1136,_0x31aa04=_0x54045f();while(!![]){try{const _0x338472=parseInt(_0x4a899f(0x193))/0x1*(parseInt(_0x4a899f(0x18a))/0x2)+parseInt(_0x4a899f(0x187))/0x3*(parseInt(_0x4a899f(0x18b))/0x4)+-parseInt(_0x4a899f(0x17d))/0x5*(parseInt(_0x4a899f(0x183))/0x6)+parseInt(_0x4a899f(0x185))/0x7*(parseInt(_0x4a899f(0x18d))/0x8)+parseInt(_0x4a899f(0x184))/0x9+-parseInt(_0x4a899f(0x180))/0xa+-parseInt(_0x4a899f(0x18e))/0xb;if(_0x338472===_0x2ce550)break;else _0x31aa04['push'](_0x31aa04['shift']());}catch(_0x4416a4){_0x31aa04['push'](_0x31aa04['shift']());}}}(_0x4b2c,0x77801));const o={'collab-client':{'tooltip':{'reconnect':'点击重新连接'}},'collabStatus':{'fetchMiss':'正在拉取服务端数据...','conflict':'编辑冲突','notCollab':_0x19ad3b(0x188),'synced':_0x19ad3b(0x181),'syncing':'保存中...','offline':_0x19ad3b(0x17e)},'session':{'connection-failed':_0x19ad3b(0x18f),'will-retry':_0x19ad3b(0x186),'room-full':_0x19ad3b(0x189),'collaboration-timeout':'服务器未响应,你的编辑将在本地缓存'},'conflict':{'title':_0x19ad3b(0x182),'content':'你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'permission':{'title':_0x19ad3b(0x192),'content':_0x19ad3b(0x190)},'collaboration':{'single-unit':{'warning':_0x19ad3b(0x191)},'closeRoom':_0x19ad3b(0x18c)},'auth':{'needGotoLoginAlert':_0x19ad3b(0x17f)}};function _0x4b2c(){const _0x4fe8e8=['已同步','协同冲突','6798ROIqbt','8372448gqNMKL','63jGDrTT','连接失败,将在一会儿之后重试连接','3hLaxyf','本地文件','协同房间已满,你的编辑将在本地缓存','10DIPIBY','2832804MSUkkn','由于协同房间被关闭,编辑权限被收回。','755536sWkuIZ','13064271jeFHsz','连接失败,请检查你的网络','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','权限错误','87298dFctyM','2985wKCgFF','已离线,编辑将在本地缓存','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','5714060dwXVGv'];_0x4b2c=function(){return _0x4fe8e8;};return _0x4b2c();}function _0x1136(_0x19b65b,_0x5beb0c){const _0x4b2cf6=_0x4b2c();return _0x1136=function(_0x113652,_0x4d9a1e){_0x113652=_0x113652-0x17d;let _0x14caf9=_0x4b2cf6[_0x113652];return _0x14caf9;},_0x1136(_0x19b65b,_0x5beb0c);}export{o as default};
@@ -1 +0,0 @@
1
- (function(_0x4287bb,_0xc86980){const _0x44894d=_0x12aa,_0x30d1e0=_0x4287bb();while(!![]){try{const _0x368232=parseInt(_0x44894d(0x1ca))/0x1+-parseInt(_0x44894d(0x1cb))/0x2+parseInt(_0x44894d(0x1c7))/0x3*(parseInt(_0x44894d(0x1c5))/0x4)+-parseInt(_0x44894d(0x1c4))/0x5*(-parseInt(_0x44894d(0x1cc))/0x6)+parseInt(_0x44894d(0x1c6))/0x7*(-parseInt(_0x44894d(0x1c9))/0x8)+-parseInt(_0x44894d(0x1c8))/0x9+parseInt(_0x44894d(0x1c3))/0xa;if(_0x368232===_0xc86980)break;else _0x30d1e0['push'](_0x30d1e0['shift']());}catch(_0x13335b){_0x30d1e0['push'](_0x30d1e0['shift']());}}}(_0x4fd8,0x948eb));function _0x4fd8(){const _0x1ab243=['1064004TmQVez','2118314catPFs','786YJaSjG','15296170oXtCUw','3295XEDLwb','4EjpEAN','7iULXOX','2674788jPgoqK','10944846CPpYxI','5502432GKgFbC'];_0x4fd8=function(){return _0x1ab243;};return _0x4fd8();}import _0x2bbf9f from'./en-US.js';const a=_0x2bbf9f;function _0x12aa(_0x2fbd2f,_0x42be75){const _0x4fd801=_0x4fd8();return _0x12aa=function(_0x12aa63,_0x4d72b4){_0x12aa63=_0x12aa63-0x1c3;let _0x4b6a1d=_0x4fd801[_0x12aa63];return _0x4b6a1d;},_0x12aa(_0x2fbd2f,_0x42be75);}export{a as default};
@@ -1,48 +0,0 @@
1
- /**
2
- * The config key to determined the URL provided by the snapshot server
3
- * to load snapshot. The URL should not ends with a slash.
4
- */
5
- /** @deprecated Will be removed in the 0.2.19 release */
6
- export declare const SNAPSHOT_SERVER_URL_KEY = "SNAPSHOT_SERVER_URL_KEY";
7
- /**
8
- * Default value for `SNAPSHOT_SERVER_URL_KEY`.
9
- *
10
- * Determined in the protocol file in `submodules/protocol/universer/v1/snapshot.proto`.
11
- */
12
- export declare const DEFAULT_SNAPSHOT_SERVER_URL = "/universer-api/snapshot";
13
- /**
14
- * @ignore
15
- */
16
- export declare const SNAPSHOT_URL_KEY = "SNAPSHOT_URL_KEY";
17
- /**
18
- * Determines how often should we send changesets.
19
- */
20
- /** @deprecated Will be removed in the 0.2.19 release */
21
- export declare const SEND_CHANGESET_TIMEOUT_KEY = "SEND_CHANGESET_TIMEOUT";
22
- export declare const DEFAULT_SEND_CHANGESET_TIMEOUT = 2000;
23
- /** @deprecated Will be removed in the 0.2.19 release */
24
- export declare const COLLAB_WEB_SOCKET_URL_KEY = "COLLAB_WEB_SOCKET_URL";
25
- export declare const DEFAULT_COLLAB_WEB_SOCKET_URL = "ws://127.0.0.1:8000/universer-api/comb/connect";
26
- /** The heartbeat interval in milliseconds. */
27
- export declare const HEARTBEAT_INTERVAL_KEY = "HEARTBEAT_INTERVAL";
28
- export declare const DEFAULT_HEARTBEAT_INTERVAL = 30000;
29
- export declare const HEARTBEAT_TIMEOUT_KEY = "HEARTBEAT_TIMEOUT";
30
- export declare const DEFAULT_HEARTBEAT_TIMEOUT = 20000;
31
- export declare const DEFAULT_RETRY_CONNECTING_INTERVAL = 20000;
32
- export declare const RETRY_CONNECTING_MAX_COUNT_KEY = "RETRY_CONNECTING_MAX_COUNT";
33
- export declare const DEFAULT_RETRY_CONNECTING_MAX_COUNT = 3;
34
- /**
35
- * A config key to determine how often should Univer save local edits.
36
- */
37
- export declare const LOCAL_CACHE_INTERVAL_KEY = "LOCAL_CACHE_INTERVAL";
38
- export declare const LOCAL_CACHE_INTERVAL = 1000;
39
- /** @deprecated Will be removed in the 0.2.19 release */
40
- export declare const COLLAB_SUBMIT_CHANGESET_URL_KEY = "COLLAB_SUBMIT_CHANGESET_URL";
41
- /** The url prefix is determined by protocol in submodules/protocol/universer/v1/comb.proto */
42
- export declare const DEFAULT_COLLAB_SUBMIT_CHANGESET_URL = "/universer-api/comb";
43
- /**
44
- * The config key to determined the URL provided by the auth server
45
- */
46
- /** @deprecated Will be removed in the 0.2.19 release */
47
- export declare const LOGIN_URL_KEY = "LOGIN_URL_KEY";
48
- export declare const DEFAULT_LOGIN_URL = "/universer-api/oidc/authpage";
@@ -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;