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

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 _0x3baf(_0x4237ef,_0x393f36){var _0x1f7bf4=_0x1f7b();return _0x3baf=function(_0x3baf8a,_0x85554a){_0x3baf8a=_0x3baf8a-0x15f;var _0x42db10=_0x1f7bf4[_0x3baf8a];return _0x42db10;},_0x3baf(_0x4237ef,_0x393f36);}function _0x1f7b(){var _0x40f5b5=['Syncing...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','function','UniverCollaborationClientEnUS','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','47509jruUyj','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Authentication\x20Error','Click\x20to\x20Reconnect','3089218lNszpP','136ovmEWo','16eNXXPM','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.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Edit\x20conflicts','496814GTSIHM','670GviECF','amd','6RzNXVH','1723945ZRPboY','195063tZpPCq','11OnUjiO','Connection\x20failed,\x20please\x20check\x20your\x20network.','5367372OYkGnL','Local\x20file','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','73737diDuEF'];_0x1f7b=function(){return _0x40f5b5;};return _0x1f7b();}(function(_0x55b099,_0x27a056){var _0x5c9ad4=_0x3baf,_0x4caeb3=_0x55b099();while(!![]){try{var _0x5b0ca5=-parseInt(_0x5c9ad4(0x160))/0x1+parseInt(_0x5c9ad4(0x175))/0x2+parseInt(_0x5c9ad4(0x165))/0x3*(-parseInt(_0x5c9ad4(0x177))/0x4)+parseInt(_0x5c9ad4(0x164))/0x5*(parseInt(_0x5c9ad4(0x163))/0x6)+-parseInt(_0x5c9ad4(0x171))/0x7*(parseInt(_0x5c9ad4(0x176))/0x8)+-parseInt(_0x5c9ad4(0x16b))/0x9*(parseInt(_0x5c9ad4(0x161))/0xa)+parseInt(_0x5c9ad4(0x166))/0xb*(parseInt(_0x5c9ad4(0x168))/0xc);if(_0x5b0ca5===_0x27a056)break;else _0x4caeb3['push'](_0x4caeb3['shift']());}catch(_0x4cf844){_0x4caeb3['push'](_0x4caeb3['shift']());}}}(_0x1f7b,0xdf80f),function(_0x52cdc3,_0x3a6334){var _0x5e28bf=_0x3baf;typeof exports=='object'&&typeof module<'u'?module['exports']=_0x3a6334():typeof define==_0x5e28bf(0x16e)&&define[_0x5e28bf(0x162)]?define(_0x3a6334):(_0x52cdc3=typeof globalThis<'u'?globalThis:_0x52cdc3||self,_0x52cdc3[_0x5e28bf(0x16f)]=_0x3a6334());}(this,function(){'use strict';var _0x268e99=_0x3baf;return{'collab-client':{'tooltip':{'reconnect':_0x268e99(0x174)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x268e99(0x15f),'notCollab':_0x268e99(0x169),'synced':'Synced','syncing':_0x268e99(0x16c),'offline':_0x268e99(0x16a)},'session':{'connection-failed':_0x268e99(0x167),'will-retry':_0x268e99(0x172),'room-full':_0x268e99(0x179),'collaboration-timeout':_0x268e99(0x16d)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x268e99(0x178)},'permission':{'title':_0x268e99(0x173),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x268e99(0x170)}};}));
@@ -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(_0x4655b0,_0x22df70){var _0x33aa35=_0x1f23,_0x50a339=_0x4655b0();while(!![]){try{var _0x381589=-parseInt(_0x33aa35(0xdc))/0x1*(-parseInt(_0x33aa35(0xc9))/0x2)+parseInt(_0x33aa35(0xcb))/0x3*(parseInt(_0x33aa35(0xde))/0x4)+-parseInt(_0x33aa35(0xd1))/0x5*(parseInt(_0x33aa35(0xd9))/0x6)+parseInt(_0x33aa35(0xd8))/0x7*(parseInt(_0x33aa35(0xd2))/0x8)+-parseInt(_0x33aa35(0xd3))/0x9+parseInt(_0x33aa35(0xda))/0xa+-parseInt(_0x33aa35(0xdd))/0xb*(parseInt(_0x33aa35(0xd6))/0xc);if(_0x381589===_0x22df70)break;else _0x50a339['push'](_0x50a339['shift']());}catch(_0x2a999b){_0x50a339['push'](_0x50a339['shift']());}}}(_0x413d,0xa50a9),function(_0x44519e,_0x43aaf3){var _0x1bce58=_0x1f23;typeof exports=='object'&&typeof module<'u'?module['exports']=_0x43aaf3():typeof define==_0x1bce58(0xc8)&&define[_0x1bce58(0xcd)]?define(_0x43aaf3):(_0x44519e=typeof globalThis<'u'?globalThis:_0x44519e||self,_0x44519e['UniverCollaborationClientFaIR']=_0x43aaf3());}(this,function(){'use strict';var _0x39ab75=_0x1f23;return{'collab-client':{'tooltip':{'reconnect':_0x39ab75(0xca)}},'collabStatus':{'fetchMiss':_0x39ab75(0xd7),'conflict':_0x39ab75(0xc5),'notCollab':'پرونده\x20محلی','synced':'همگام\x20سازی','syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x39ab75(0xcc)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x39ab75(0xd4),'room-full':_0x39ab75(0xc6),'collaboration-timeout':_0x39ab75(0xdb)},'conflict':{'title':_0x39ab75(0xce),'content':_0x39ab75(0xe0)},'permission':{'title':_0x39ab75(0xc7),'content':_0x39ab75(0xcf)},'collaboration':{'single-unit':{'warning':_0x39ab75(0xdf)},'closeRoom':_0x39ab75(0xd5)},'auth':{'needGotoLoginAlert':_0x39ab75(0xd0)}};}));function _0x1f23(_0x47036a,_0x203032){var _0x413dcd=_0x413d();return _0x1f23=function(_0x1f23bb,_0x46e46f){_0x1f23bb=_0x1f23bb-0xc5;var _0x54719f=_0x413dcd[_0x1f23bb];return _0x54719f;},_0x1f23(_0x47036a,_0x203032);}function _0x413d(){var _0x11158c=['شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\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','225430oRbCvO','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','15igHQpW','آفلاین،\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ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','20fohrie','10712080VWrElM','9949959iSJvLi','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','46428jaTkZR','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','7EHpYFB','1596720qslHbZ','10056800doKXJC','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','11AytkoL','5830rhKjfN','1049644sneiPn'];_0x413d=function(){return _0x11158c;};return _0x413d();}
@@ -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 _0x16c2(_0x153dce,_0x4ea7fe){var _0x19df63=_0x19df();return _0x16c2=function(_0x16c280,_0xc7c01){_0x16c280=_0x16c280-0x1e1;var _0x44338b=_0x19df63[_0x16c280];return _0x44338b;},_0x16c2(_0x153dce,_0x4ea7fe);}function _0x19df(){var _0x592f6e=['3150JvKWca','60337ypOSuF','515868NFJLoB','77exWmuN','Collaboration\x20Conflict','Local\x20file','113915BpkwBW','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','4764HJeVAk','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','4bRIfZH','exports','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','amd','176193eaLAcn','Connection\x20failed,\x20we\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.','14vBXAfQ','16elBcvm','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1392ZJFNDK','Synced','Syncing\x20server\x20data...','3373130lMMbgO','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','UniverCollaborationClientRuRU'];_0x19df=function(){return _0x592f6e;};return _0x19df();}(function(_0x7c9193,_0x306ebb){var _0x31c9e0=_0x16c2,_0x42411f=_0x7c9193();while(!![]){try{var _0x19443b=-parseInt(_0x31c9e0(0x1eb))/0x1*(-parseInt(_0x31c9e0(0x1f4))/0x2)+parseInt(_0x31c9e0(0x1f8))/0x3+-parseInt(_0x31c9e0(0x1e1))/0x4*(parseInt(_0x31c9e0(0x1f0))/0x5)+parseInt(_0x31c9e0(0x1ec))/0x6*(-parseInt(_0x31c9e0(0x1fb))/0x7)+parseInt(_0x31c9e0(0x1e3))/0x8*(-parseInt(_0x31c9e0(0x1ea))/0x9)+parseInt(_0x31c9e0(0x1e6))/0xa+parseInt(_0x31c9e0(0x1ed))/0xb*(parseInt(_0x31c9e0(0x1f2))/0xc);if(_0x19443b===_0x306ebb)break;else _0x42411f['push'](_0x42411f['shift']());}catch(_0x5d77fc){_0x42411f['push'](_0x42411f['shift']());}}}(_0x19df,0x2fbb5),function(_0x55c528,_0x982e27){var _0x16bcff=_0x16c2;typeof exports=='object'&&typeof module<'u'?module[_0x16bcff(0x1f5)]=_0x982e27():typeof define=='function'&&define[_0x16bcff(0x1f7)]?define(_0x982e27):(_0x55c528=typeof globalThis<'u'?globalThis:_0x55c528||self,_0x55c528[_0x16bcff(0x1e9)]=_0x982e27());}(this,function(){'use strict';var _0x3cd848=_0x16c2;return{'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x3cd848(0x1e5),'conflict':'Edit\x20conflicts','notCollab':_0x3cd848(0x1ef),'synced':_0x3cd848(0x1e4),'syncing':'Syncing...','offline':_0x3cd848(0x1e7)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x3cd848(0x1f9),'room-full':_0x3cd848(0x1f3),'collaboration-timeout':_0x3cd848(0x1e2)},'conflict':{'title':_0x3cd848(0x1ee),'content':_0x3cd848(0x1f6)},'permission':{'title':'Authentication\x20Error','content':_0x3cd848(0x1fa)},'collaboration':{'single-unit':{'warning':_0x3cd848(0x1e8)},'closeRoom':_0x3cd848(0x1f1)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};}));
@@ -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 _0x56b3(_0x12be48,_0x582bbc){var _0x5ca504=_0x5ca5();return _0x56b3=function(_0x56b386,_0x48102d){_0x56b386=_0x56b386-0xed;var _0x39163c=_0x5ca504[_0x56b386];return _0x39163c;},_0x56b3(_0x12be48,_0x582bbc);}(function(_0x5bc9f5,_0x1c5ed3){var _0x45ef7b=_0x56b3,_0x14ba5a=_0x5bc9f5();while(!![]){try{var _0x3ae378=parseInt(_0x45ef7b(0xf9))/0x1*(-parseInt(_0x45ef7b(0x102))/0x2)+-parseInt(_0x45ef7b(0xf2))/0x3+parseInt(_0x45ef7b(0xf8))/0x4+parseInt(_0x45ef7b(0xfd))/0x5*(parseInt(_0x45ef7b(0x105))/0x6)+-parseInt(_0x45ef7b(0xf0))/0x7+-parseInt(_0x45ef7b(0x101))/0x8*(-parseInt(_0x45ef7b(0x107))/0x9)+parseInt(_0x45ef7b(0xf5))/0xa;if(_0x3ae378===_0x1c5ed3)break;else _0x14ba5a['push'](_0x14ba5a['shift']());}catch(_0x3e6b5d){_0x14ba5a['push'](_0x14ba5a['shift']());}}}(_0x5ca5,0xf1731),function(_0x2b5126,_0x1dce82){var _0x39e565=_0x56b3;typeof exports==_0x39e565(0xf4)&&typeof module<'u'?module[_0x39e565(0xfe)]=_0x1dce82():typeof define==_0x39e565(0xfb)&&define['amd']?define(_0x1dce82):(_0x2b5126=typeof globalThis<'u'?globalThis:_0x2b5126||self,_0x2b5126['UniverCollaborationClientViVN']=_0x1dce82());}(this,function(){'use strict';var _0x1cf419=_0x56b3;return{'collab-client':{'tooltip':{'reconnect':_0x1cf419(0xf1)}},'collabStatus':{'fetchMiss':_0x1cf419(0xff),'conflict':_0x1cf419(0x104),'notCollab':_0x1cf419(0xfa),'synced':_0x1cf419(0xf7),'syncing':_0x1cf419(0xee),'offline':_0x1cf419(0xed)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x1cf419(0x103),'collaboration-timeout':_0x1cf419(0xef)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x1cf419(0x106)},'permission':{'title':_0x1cf419(0x100),'content':_0x1cf419(0xfc)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x1cf419(0xf6)},'auth':{'needGotoLoginAlert':_0x1cf419(0xf3)}};}));function _0x5ca5(){var _0x3386ff=['5258715UopyNe','Click\x20to\x20Reconnect','4494063tCDMtg','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','object','6490150qlZyjE','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Synced','4084204JMPDOX','170PMGoEz','Local\x20file','function','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','7956695hqYVUo','exports','Syncing\x20server\x20data...','Authentication\x20Error','728NFsycH','21832yktPky','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Edit\x20conflicts','6aluLJR','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.','181242HsvhEn','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'];_0x5ca5=function(){return _0x3386ff;};return _0x5ca5();}
@@ -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 _0x7c67(){var _0x7adc7f=['2488oMnWgQ','946928MAoSIB','2550SlMeOt','266968OtaLvz','object','点击重新连接','7hAKYCq','exports','amd','本地文件','协同房间已满,你的编辑将在本地缓存','UniverCollaborationClientZhCN','编辑冲突','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','2086578kggzlj','12261VAdVmf','1190eYDSpk','协同冲突','连接失败,将在一会儿之后重试连接','function','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','权限错误','126445bsGrDl','已同步','保存中...','连接失败,请检查你的网络','4402989tqnCli','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','232DOiHJA','由于协同房间被关闭,编辑权限被收回。','服务器未响应,你的编辑将在本地缓存'];_0x7c67=function(){return _0x7adc7f;};return _0x7c67();}function _0x4546(_0x3baaf3,_0x5ba695){var _0x7c677=_0x7c67();return _0x4546=function(_0x4546c1,_0x4faff8){_0x4546c1=_0x4546c1-0x173;var _0x3911ab=_0x7c677[_0x4546c1];return _0x3911ab;},_0x4546(_0x3baaf3,_0x5ba695);}(function(_0x453c53,_0x305ad6){var _0x301ab9=_0x4546,_0x3da933=_0x453c53();while(!![]){try{var _0x235b19=-parseInt(_0x301ab9(0x187))/0x1+parseInt(_0x301ab9(0x181))/0x2*(parseInt(_0x301ab9(0x173))/0x3)+-parseInt(_0x301ab9(0x184))/0x4*(parseInt(_0x301ab9(0x186))/0x5)+-parseInt(_0x301ab9(0x192))/0x6+parseInt(_0x301ab9(0x18a))/0x7*(-parseInt(_0x301ab9(0x185))/0x8)+-parseInt(_0x301ab9(0x17f))/0x9+parseInt(_0x301ab9(0x174))/0xa*(parseInt(_0x301ab9(0x17b))/0xb);if(_0x235b19===_0x305ad6)break;else _0x3da933['push'](_0x3da933['shift']());}catch(_0x2d726a){_0x3da933['push'](_0x3da933['shift']());}}}(_0x7c67,0x49d7b),function(_0x5af16e,_0x33d067){var _0x6377fc=_0x4546;typeof exports==_0x6377fc(0x188)&&typeof module<'u'?module[_0x6377fc(0x18b)]=_0x33d067():typeof define==_0x6377fc(0x177)&&define[_0x6377fc(0x18c)]?define(_0x33d067):(_0x5af16e=typeof globalThis<'u'?globalThis:_0x5af16e||self,_0x5af16e[_0x6377fc(0x18f)]=_0x33d067());}(this,function(){'use strict';var _0x160e16=_0x4546;return{'collab-client':{'tooltip':{'reconnect':_0x160e16(0x189)}},'collabStatus':{'fetchMiss':'正在拉取服务端数据...','conflict':_0x160e16(0x190),'notCollab':_0x160e16(0x18d),'synced':_0x160e16(0x17c),'syncing':_0x160e16(0x17d),'offline':'已离线,编辑将在本地缓存'},'session':{'connection-failed':_0x160e16(0x17e),'will-retry':_0x160e16(0x176),'room-full':_0x160e16(0x18e),'collaboration-timeout':_0x160e16(0x183)},'conflict':{'title':_0x160e16(0x175),'content':_0x160e16(0x180)},'permission':{'title':_0x160e16(0x17a),'content':_0x160e16(0x178)},'collaboration':{'single-unit':{'warning':_0x160e16(0x191)},'closeRoom':_0x160e16(0x182)},'auth':{'needGotoLoginAlert':_0x160e16(0x179)}};}));
@@ -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 _0x2619(_0x248050,_0x23fb87){var _0x28e917=_0x28e9();return _0x2619=function(_0x261986,_0x1c3425){_0x261986=_0x261986-0xea;var _0xd246ae=_0x28e917[_0x261986];return _0xd246ae;},_0x2619(_0x248050,_0x23fb87);}function _0x28e9(){var _0x24bc22=['The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Syncing...','object','exports','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','651042vWaUlt','Authentication\x20Error','Synced','127071pKOmwf','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','amd','117081iFsxSb','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','48hbKWHR','8NnIpkB','154860jxvUIU','4665MSmZKZ','1900710VhWBZy','Connection\x20failed,\x20please\x20check\x20your\x20network.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Collaboration\x20Conflict','UniverCollaborationClientZhTW','2hzQnvq','Edit\x20conflicts','Syncing\x20server\x20data...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','713150cCnomL','function'];_0x28e9=function(){return _0x24bc22;};return _0x28e9();}(function(_0x464694,_0x33bdd5){var _0x330c8b=_0x2619,_0x2165ad=_0x464694();while(!![]){try{var _0x2688d5=parseInt(_0x330c8b(0xfb))/0x1*(parseInt(_0x330c8b(0xec))/0x2)+parseInt(_0x330c8b(0xfe))/0x3+parseInt(_0x330c8b(0x103))/0x4+-parseInt(_0x330c8b(0x104))/0x5*(-parseInt(_0x330c8b(0x101))/0x6)+parseInt(_0x330c8b(0xf8))/0x7*(parseInt(_0x330c8b(0x102))/0x8)+-parseInt(_0x330c8b(0x105))/0x9+parseInt(_0x330c8b(0xf0))/0xa;if(_0x2688d5===_0x33bdd5)break;else _0x2165ad['push'](_0x2165ad['shift']());}catch(_0x4695c4){_0x2165ad['push'](_0x2165ad['shift']());}}}(_0x28e9,0x28620),function(_0x37273e,_0x63931f){var _0x169d4c=_0x2619;typeof exports==_0x169d4c(0xf4)&&typeof module<'u'?module[_0x169d4c(0xf5)]=_0x63931f():typeof define==_0x169d4c(0xf1)&&define[_0x169d4c(0xfd)]?define(_0x63931f):(_0x37273e=typeof globalThis<'u'?globalThis:_0x37273e||self,_0x37273e[_0x169d4c(0xeb)]=_0x63931f());}(this,function(){'use strict';var _0x3b255d=_0x2619;return{'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x3b255d(0xee),'conflict':_0x3b255d(0xed),'notCollab':'Local\x20file','synced':_0x3b255d(0xfa),'syncing':_0x3b255d(0xf3),'offline':_0x3b255d(0xef)},'session':{'connection-failed':_0x3b255d(0x106),'will-retry':_0x3b255d(0xf6),'room-full':_0x3b255d(0xff),'collaboration-timeout':_0x3b255d(0xf2)},'conflict':{'title':_0x3b255d(0xea),'content':_0x3b255d(0xfc)},'permission':{'title':_0x3b255d(0xf9),'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':_0x3b255d(0x107)},'closeRoom':_0x3b255d(0xf7)},'auth':{'needGotoLoginAlert':_0x3b255d(0x100)}};}));
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.202411091134",
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/license": "0.4.2-nightly.202411091134",
59
+ "@univerjs-pro/collaboration": "0.4.2-nightly.202411091134",
60
+ "@univerjs/core": "0.4.2-nightly.202411091134",
61
+ "@univerjs/design": "0.4.2-nightly.202411091134",
62
+ "@univerjs/docs": "0.4.2-nightly.202411091134",
63
+ "@univerjs/drawing": "0.4.2-nightly.202411091134",
64
+ "@univerjs/engine-formula": "0.4.2-nightly.202411091134",
65
+ "@univerjs/docs-ui": "0.4.2-nightly.202411091134",
66
+ "@univerjs/engine-render": "0.4.2-nightly.202411091134",
67
+ "@univerjs/network": "0.4.2-nightly.202411091134",
65
68
  "@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"
69
+ "@univerjs/sheets": "0.4.2-nightly.202411091134",
70
+ "@univerjs/rpc": "0.4.2-nightly.202411091134",
71
+ "@univerjs/sheets-ui": "0.4.2-nightly.202411091134",
72
+ "@univerjs/ui": "0.4.2-nightly.202411091134",
73
+ "@univerjs/telemetry": "0.4.2-nightly.202411091134"
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;