@univerjs-pro/collaboration-client 0.4.2-nightly.202411061606 → 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 _0x5ae7(){var _0x504621=['Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','10120428GADvIU','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','740ZPwWYf','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','269194vYSsuE','52Kggpoo','945ZHrenn','7336670cXdpkl','Connection\x20failed,\x20please\x20check\x20your\x20network.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Syncing...','Synced','6KSUMgn','70584aQFgXP','Local\x20file','Authentication\x20Error','amd','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','UniverCollaborationClientEnUS','Edit\x20conflicts','14532laDAca','Syncing\x20server\x20data...','5250404jgDAcm','474859ZPJoOF'];_0x5ae7=function(){return _0x504621;};return _0x5ae7();}function _0x44f4(_0x2ef4bd,_0x559de1){var _0x5ae7dc=_0x5ae7();return _0x44f4=function(_0x44f4ca,_0x40b144){_0x44f4ca=_0x44f4ca-0x80;var _0x60ebce=_0x5ae7dc[_0x44f4ca];return _0x60ebce;},_0x44f4(_0x2ef4bd,_0x559de1);}(function(_0x5047e7,_0x22e303){var _0x445e06=_0x44f4,_0x85613d=_0x5047e7();while(!![]){try{var _0xd75077=parseInt(_0x445e06(0x8b))/0x1+parseInt(_0x445e06(0x8c))/0x2*(parseInt(_0x445e06(0x80))/0x3)+-parseInt(_0x445e06(0x82))/0x4+parseInt(_0x445e06(0x8e))/0x5*(-parseInt(_0x445e06(0x94))/0x6)+parseInt(_0x445e06(0x8d))/0x7*(-parseInt(_0x445e06(0x95))/0x8)+parseInt(_0x445e06(0x85))/0x9+-parseInt(_0x445e06(0x89))/0xa*(-parseInt(_0x445e06(0x83))/0xb);if(_0xd75077===_0x22e303)break;else _0x85613d['push'](_0x85613d['shift']());}catch(_0x40c91f){_0x85613d['push'](_0x85613d['shift']());}}}(_0x5ae7,0xb56b8),function(_0x1d244d,_0x36c18d){var _0x275555=_0x44f4;typeof exports=='object'&&typeof module<'u'?module['exports']=_0x36c18d():typeof define=='function'&&define[_0x275555(0x98)]?define(_0x36c18d):(_0x1d244d=typeof globalThis<'u'?globalThis:_0x1d244d||self,_0x1d244d[_0x275555(0x9a)]=_0x36c18d());}(this,function(){'use strict';var _0x3bcc70=_0x44f4;return{'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x3bcc70(0x81),'conflict':_0x3bcc70(0x9b),'notCollab':_0x3bcc70(0x96),'synced':_0x3bcc70(0x93),'syncing':_0x3bcc70(0x92),'offline':_0x3bcc70(0x84)},'session':{'connection-failed':_0x3bcc70(0x8f),'will-retry':_0x3bcc70(0x91),'room-full':_0x3bcc70(0x88),'collaboration-timeout':_0x3bcc70(0x90)},'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':_0x3bcc70(0x97),'content':_0x3bcc70(0x86)},'collaboration':{'single-unit':{'warning':_0x3bcc70(0x87)},'closeRoom':_0x3bcc70(0x99)},'auth':{'needGotoLoginAlert':_0x3bcc70(0x8a)}};}));
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 _0x1e86(_0x6d196e,_0x54ca45){var _0x44d7ae=_0x44d7();return _0x1e86=function(_0x1e863f,_0x1d83d8){_0x1e863f=_0x1e863f-0x106;var _0x399cea=_0x44d7ae[_0x1e863f];return _0x399cea;},_0x1e86(_0x6d196e,_0x54ca45);}function _0x44d7(){var _0xf8e46=['642692ymUbSJ','همگام\x20سازی','586648ogQJAz','10eqFkya','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','خطای\x20اعتبارسنجی','1911771bsLeCu','204774mQgSDG','456fkntoH','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','پرونده\x20محلی','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','3SFyhsm','4413836KVeLKf','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','95hmkuYE','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','تداخل\x20همکاری','exports','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','amd','64533wMUczu','در\x20حال\x20همگام\x20سازی...','function','تداخل\x20ویرایش','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','16037868SebNXI','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','UniverCollaborationClientFaIR','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'];_0x44d7=function(){return _0xf8e46;};return _0x44d7();}(function(_0x579f1a,_0x24ffd2){var _0x259ff4=_0x1e86,_0x397100=_0x579f1a();while(!![]){try{var _0x3ceebd=parseInt(_0x259ff4(0x115))/0x1+-parseInt(_0x259ff4(0x113))/0x2+-parseInt(_0x259ff4(0x11f))/0x3*(parseInt(_0x259ff4(0x120))/0x4)+parseInt(_0x259ff4(0x122))/0x5*(-parseInt(_0x259ff4(0x11a))/0x6)+-parseInt(_0x259ff4(0x10a))/0x7*(-parseInt(_0x259ff4(0x11b))/0x8)+-parseInt(_0x259ff4(0x119))/0x9*(-parseInt(_0x259ff4(0x116))/0xa)+parseInt(_0x259ff4(0x10f))/0xb;if(_0x3ceebd===_0x24ffd2)break;else _0x397100['push'](_0x397100['shift']());}catch(_0x2019d6){_0x397100['push'](_0x397100['shift']());}}}(_0x44d7,0xad2a2),function(_0x1509a1,_0x183ace){var _0x104553=_0x1e86;typeof exports=='object'&&typeof module<'u'?module[_0x104553(0x107)]=_0x183ace():typeof define==_0x104553(0x10c)&&define[_0x104553(0x109)]?define(_0x183ace):(_0x1509a1=typeof globalThis<'u'?globalThis:_0x1509a1||self,_0x1509a1[_0x104553(0x111)]=_0x183ace());}(this,function(){'use strict';var _0x2f5def=_0x1e86;return{'collab-client':{'tooltip':{'reconnect':_0x2f5def(0x10e)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x2f5def(0x10d),'notCollab':_0x2f5def(0x11d),'synced':_0x2f5def(0x114),'syncing':_0x2f5def(0x10b),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x2f5def(0x110),'will-retry':_0x2f5def(0x123),'room-full':_0x2f5def(0x121),'collaboration-timeout':_0x2f5def(0x108)},'conflict':{'title':_0x2f5def(0x106),'content':_0x2f5def(0x11e)},'permission':{'title':_0x2f5def(0x118),'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':_0x2f5def(0x11c)},'closeRoom':_0x2f5def(0x112)},'auth':{'needGotoLoginAlert':_0x2f5def(0x117)}};}));
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 _0x16f8(_0x487842,_0x96759a){var _0x6e1642=_0x6e16();return _0x16f8=function(_0x16f875,_0x5430de){_0x16f875=_0x16f875-0x1ab;var _0x2b6b89=_0x6e1642[_0x16f875];return _0x2b6b89;},_0x16f8(_0x487842,_0x96759a);}(function(_0x3ce758,_0x1534c1){var _0x395963=_0x16f8,_0x4f8cb5=_0x3ce758();while(!![]){try{var _0x380b08=parseInt(_0x395963(0x1ad))/0x1+-parseInt(_0x395963(0x1bf))/0x2*(parseInt(_0x395963(0x1c1))/0x3)+-parseInt(_0x395963(0x1c0))/0x4*(-parseInt(_0x395963(0x1b2))/0x5)+parseInt(_0x395963(0x1c3))/0x6*(-parseInt(_0x395963(0x1be))/0x7)+-parseInt(_0x395963(0x1b9))/0x8*(-parseInt(_0x395963(0x1ac))/0x9)+-parseInt(_0x395963(0x1c6))/0xa+parseInt(_0x395963(0x1b4))/0xb;if(_0x380b08===_0x1534c1)break;else _0x4f8cb5['push'](_0x4f8cb5['shift']());}catch(_0x232cb4){_0x4f8cb5['push'](_0x4f8cb5['shift']());}}}(_0x6e16,0xd870a),function(_0xfd4368,_0x8c654c){var _0x3f322c=_0x16f8;typeof exports==_0x3f322c(0x1bd)&&typeof module<'u'?module['exports']=_0x8c654c():typeof define==_0x3f322c(0x1b8)&&define[_0x3f322c(0x1c4)]?define(_0x8c654c):(_0xfd4368=typeof globalThis<'u'?globalThis:_0xfd4368||self,_0xfd4368[_0x3f322c(0x1b5)]=_0x8c654c());}(this,function(){'use strict';var _0x4b1d63=_0x16f8;return{'collab-client':{'tooltip':{'reconnect':_0x4b1d63(0x1b6)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x4b1d63(0x1ba),'notCollab':'Local\x20file','synced':_0x4b1d63(0x1b7),'syncing':'Syncing...','offline':_0x4b1d63(0x1ae)},'session':{'connection-failed':_0x4b1d63(0x1bb),'will-retry':_0x4b1d63(0x1c2),'room-full':_0x4b1d63(0x1b0),'collaboration-timeout':_0x4b1d63(0x1b1)},'conflict':{'title':_0x4b1d63(0x1bc),'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':_0x4b1d63(0x1c5),'content':_0x4b1d63(0x1ab)},'collaboration':{'single-unit':{'warning':_0x4b1d63(0x1af)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x4b1d63(0x1b3)}};}));function _0x6e16(){var _0x6fdc9a=['7269845agNvEO','UniverCollaborationClientRuRU','Click\x20to\x20Reconnect','Synced','function','3705544YhSuYm','Edit\x20conflicts','Connection\x20failed,\x20please\x20check\x20your\x20network.','Collaboration\x20Conflict','object','161kFnMga','2mzCUZm','164GtKNlP','5060787FWpLPq','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','33882VpwUjX','amd','Authentication\x20Error','5256860udsLXW','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','27kutSvm','854906fjqOMJ','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.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','39470hbDBbI','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'];_0x6e16=function(){return _0x6fdc9a;};return _0x6e16();}
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(_0x4ee4dd,_0x45f7bc){var _0xaafbdb=_0x28d5,_0x371baf=_0x4ee4dd();while(!![]){try{var _0x5311ba=-parseInt(_0xaafbdb(0xaa))/0x1+parseInt(_0xaafbdb(0x9b))/0x2*(-parseInt(_0xaafbdb(0x95))/0x3)+-parseInt(_0xaafbdb(0x98))/0x4+parseInt(_0xaafbdb(0xa2))/0x5*(-parseInt(_0xaafbdb(0xad))/0x6)+-parseInt(_0xaafbdb(0x96))/0x7*(-parseInt(_0xaafbdb(0xa6))/0x8)+-parseInt(_0xaafbdb(0xa3))/0x9+parseInt(_0xaafbdb(0x9a))/0xa;if(_0x5311ba===_0x45f7bc)break;else _0x371baf['push'](_0x371baf['shift']());}catch(_0x1f470d){_0x371baf['push'](_0x371baf['shift']());}}}(_0x5e7d,0xd2bec),function(_0x342225,_0x5001fc){var _0x10b53c=_0x28d5;typeof exports=='object'&&typeof module<'u'?module[_0x10b53c(0x99)]=_0x5001fc():typeof define==_0x10b53c(0xaf)&&define[_0x10b53c(0xb2)]?define(_0x5001fc):(_0x342225=typeof globalThis<'u'?globalThis:_0x342225||self,_0x342225[_0x10b53c(0xa4)]=_0x5001fc());}(this,function(){'use strict';var _0x4db95b=_0x28d5;return{'collab-client':{'tooltip':{'reconnect':_0x4db95b(0x97)}},'collabStatus':{'fetchMiss':_0x4db95b(0xa0),'conflict':_0x4db95b(0x9e),'notCollab':_0x4db95b(0x9f),'synced':_0x4db95b(0x9c),'syncing':'Syncing...','offline':_0x4db95b(0xab)},'session':{'connection-failed':_0x4db95b(0xa5),'will-retry':_0x4db95b(0xa9),'room-full':_0x4db95b(0xa7),'collaboration-timeout':_0x4db95b(0xa8)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x4db95b(0xb1)},'permission':{'title':_0x4db95b(0xac),'content':_0x4db95b(0xa1)},'collaboration':{'single-unit':{'warning':_0x4db95b(0xb0)},'closeRoom':_0x4db95b(0xae)},'auth':{'needGotoLoginAlert':_0x4db95b(0x9d)}};}));function _0x28d5(_0x57e712,_0x2ec4e4){var _0x5e7d4f=_0x5e7d();return _0x28d5=function(_0x28d5dc,_0x1e6055){_0x28d5dc=_0x28d5dc-0x95;var _0x5c4988=_0x5e7d4f[_0x28d5dc];return _0x5c4988;},_0x28d5(_0x57e712,_0x2ec4e4);}function _0x5e7d(){var _0x359a4b=['Authentication\x20Error','2733474gZgIFG','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','function','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','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','61818itGVfp','7525kfwjuZ','Click\x20to\x20Reconnect','5159428WXpFwG','exports','33638190WScqwD','2nQCRHL','Synced','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Edit\x20conflicts','Local\x20file','Syncing\x20server\x20data...','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','5mULdit','9396594HLyvRM','UniverCollaborationClientViVN','Connection\x20failed,\x20please\x20check\x20your\x20network.','3480EbLVVF','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','158124eHGTsX','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'];_0x5e7d=function(){return _0x359a4b;};return _0x5e7d();}
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 _0x34c7(){var _0x2a844c=['连接失败,请检查你的网络','464370uwDVHp','9bQvSCc','本地文件','exports','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','49pakdtB','保存中...','协同冲突','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','2376850jlXqlE','130466fQYIJb','amd','服务器未响应,你的编辑将在本地缓存','编辑冲突','2772432ooqyCI','权限错误','object','9289144UQwYDW','已离线,编辑将在本地缓存','连接失败,将在一会儿之后重试连接','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','1523628iqKsaN','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','1ZdTsXy','function','340167sWkKmp','协同房间已满,你的编辑将在本地缓存','539hQGrZN','正在拉取服务端数据...','已同步','点击重新连接'];_0x34c7=function(){return _0x2a844c;};return _0x34c7();}function _0x4421(_0x125639,_0xe80401){var _0x34c777=_0x34c7();return _0x4421=function(_0x4421e4,_0x29b445){_0x4421e4=_0x4421e4-0x1c4;var _0x4c2e7d=_0x34c777[_0x4421e4];return _0x4c2e7d;},_0x4421(_0x125639,_0xe80401);}(function(_0x51c59f,_0x3072b9){var _0x5f574b=_0x4421,_0x1d8bf8=_0x51c59f();while(!![]){try{var _0x4be46f=parseInt(_0x5f574b(0x1d9))/0x1*(-parseInt(_0x5f574b(0x1cc))/0x2)+parseInt(_0x5f574b(0x1db))/0x3+parseInt(_0x5f574b(0x1d0))/0x4+-parseInt(_0x5f574b(0x1cb))/0x5+parseInt(_0x5f574b(0x1d7))/0x6*(parseInt(_0x5f574b(0x1c7))/0x7)+parseInt(_0x5f574b(0x1d3))/0x8*(parseInt(_0x5f574b(0x1e3))/0x9)+parseInt(_0x5f574b(0x1e2))/0xa*(-parseInt(_0x5f574b(0x1dd))/0xb);if(_0x4be46f===_0x3072b9)break;else _0x1d8bf8['push'](_0x1d8bf8['shift']());}catch(_0x45fd00){_0x1d8bf8['push'](_0x1d8bf8['shift']());}}}(_0x34c7,0xe2da6),function(_0x52460d,_0x569e83){var _0x340cca=_0x4421;typeof exports==_0x340cca(0x1d2)&&typeof module<'u'?module[_0x340cca(0x1c5)]=_0x569e83():typeof define==_0x340cca(0x1da)&&define[_0x340cca(0x1cd)]?define(_0x569e83):(_0x52460d=typeof globalThis<'u'?globalThis:_0x52460d||self,_0x52460d['UniverCollaborationClientZhCN']=_0x569e83());}(this,function(){'use strict';var _0x290a7d=_0x4421;return{'collab-client':{'tooltip':{'reconnect':_0x290a7d(0x1e0)}},'collabStatus':{'fetchMiss':_0x290a7d(0x1de),'conflict':_0x290a7d(0x1cf),'notCollab':_0x290a7d(0x1c4),'synced':_0x290a7d(0x1df),'syncing':_0x290a7d(0x1c8),'offline':_0x290a7d(0x1d4)},'session':{'connection-failed':_0x290a7d(0x1e1),'will-retry':_0x290a7d(0x1d5),'room-full':_0x290a7d(0x1dc),'collaboration-timeout':_0x290a7d(0x1ce)},'conflict':{'title':_0x290a7d(0x1c9),'content':_0x290a7d(0x1d8)},'permission':{'title':_0x290a7d(0x1d1),'content':_0x290a7d(0x1ca)},'collaboration':{'single-unit':{'warning':_0x290a7d(0x1d6)},'closeRoom':'由于协同房间被关闭,编辑权限被收回。'},'auth':{'needGotoLoginAlert':_0x290a7d(0x1c6)}};}));
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(_0x967fcc,_0x4c70a8){var _0x51122d=_0x57bd,_0x50462e=_0x967fcc();while(!![]){try{var _0x5307eb=parseInt(_0x51122d(0x1a5))/0x1+parseInt(_0x51122d(0x1aa))/0x2+parseInt(_0x51122d(0x198))/0x3+parseInt(_0x51122d(0x197))/0x4*(-parseInt(_0x51122d(0x1a1))/0x5)+parseInt(_0x51122d(0x19d))/0x6*(parseInt(_0x51122d(0x1b1))/0x7)+parseInt(_0x51122d(0x19e))/0x8*(parseInt(_0x51122d(0x1ac))/0x9)+parseInt(_0x51122d(0x1b0))/0xa*(-parseInt(_0x51122d(0x19a))/0xb);if(_0x5307eb===_0x4c70a8)break;else _0x50462e['push'](_0x50462e['shift']());}catch(_0x11b56d){_0x50462e['push'](_0x50462e['shift']());}}}(_0x122f,0x1c762),function(_0x2ac462,_0xaaa150){var _0x541cf7=_0x57bd;typeof exports==_0x541cf7(0x1a8)&&typeof module<'u'?module['exports']=_0xaaa150():typeof define==_0x541cf7(0x1a2)&&define[_0x541cf7(0x1a3)]?define(_0xaaa150):(_0x2ac462=typeof globalThis<'u'?globalThis:_0x2ac462||self,_0x2ac462[_0x541cf7(0x1af)]=_0xaaa150());}(this,function(){'use strict';var _0x215208=_0x57bd;return{'collab-client':{'tooltip':{'reconnect':_0x215208(0x1a9)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x215208(0x194),'notCollab':_0x215208(0x1a7),'synced':_0x215208(0x19b),'syncing':_0x215208(0x199),'offline':_0x215208(0x1ad)},'session':{'connection-failed':_0x215208(0x195),'will-retry':_0x215208(0x1a6),'room-full':_0x215208(0x1b2),'collaboration-timeout':_0x215208(0x19c)},'conflict':{'title':_0x215208(0x1ab),'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':_0x215208(0x1a0),'content':_0x215208(0x196)},'collaboration':{'single-unit':{'warning':_0x215208(0x1a4)},'closeRoom':_0x215208(0x1ae)},'auth':{'needGotoLoginAlert':_0x215208(0x19f)}};}));function _0x57bd(_0x55ec22,_0x449ecb){var _0x122ffa=_0x122f();return _0x57bd=function(_0x57bd7c,_0x12f752){_0x57bd7c=_0x57bd7c-0x194;var _0xf0b50d=_0x122ffa[_0x57bd7c];return _0xf0b50d;},_0x57bd(_0x55ec22,_0x449ecb);}function _0x122f(){var _0x329ac9=['Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','109472rmKfVQ','40398oqfPYR','Syncing...','4151059QvRFYY','Synced','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','5964QtIIKs','67448zkLBco','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Authentication\x20Error','10tieAiw','function','amd','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','223523BJQapN','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Local\x20file','object','Click\x20to\x20Reconnect','354194luAhSS','Collaboration\x20Conflict','45lRJPpo','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','UniverCollaborationClientZhTW','10qcfyBz','651CPhyda','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Edit\x20conflicts','Connection\x20failed,\x20please\x20check\x20your\x20network.'];_0x122f=function(){return _0x329ac9;};return _0x122f();}
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.202411061606",
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-pro/license": "0.4.2-nightly.202411061606",
56
- "@univerjs-pro/collaboration": "0.4.2-nightly.202411061606",
57
- "@univerjs/core": "0.4.2-nightly.202411061606",
58
- "@univerjs/design": "0.4.2-nightly.202411061606",
59
- "@univerjs/docs-ui": "0.4.2-nightly.202411061606",
60
- "@univerjs/network": "0.4.2-nightly.202411061606",
61
- "@univerjs/docs": "0.4.2-nightly.202411061606",
62
- "@univerjs/drawing": "0.4.2-nightly.202411061606",
63
- "@univerjs/engine-render": "0.4.2-nightly.202411061606",
64
- "@univerjs/engine-formula": "0.4.2-nightly.202411061606",
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.202411061606",
67
- "@univerjs/sheets-ui": "0.4.2-nightly.202411061606",
68
- "@univerjs/sheets": "0.4.2-nightly.202411061606",
69
- "@univerjs/telemetry": "0.4.2-nightly.202411061606",
70
- "@univerjs/ui": "0.4.2-nightly.202411061606"
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 _0x279c09=_0x557f;function _0x557f(_0x54af95,_0x15ef5a){const _0x45e80e=_0x45e8();return _0x557f=function(_0x557f76,_0x401685){_0x557f76=_0x557f76-0x137;let _0x117202=_0x45e80e[_0x557f76];return _0x117202;},_0x557f(_0x54af95,_0x15ef5a);}(function(_0x5052d0,_0x2bdd11){const _0x3c540a=_0x557f,_0x248b36=_0x5052d0();while(!![]){try{const _0xb12b6b=-parseInt(_0x3c540a(0x149))/0x1*(parseInt(_0x3c540a(0x144))/0x2)+parseInt(_0x3c540a(0x13a))/0x3*(-parseInt(_0x3c540a(0x141))/0x4)+parseInt(_0x3c540a(0x147))/0x5*(parseInt(_0x3c540a(0x152))/0x6)+parseInt(_0x3c540a(0x145))/0x7*(parseInt(_0x3c540a(0x13c))/0x8)+parseInt(_0x3c540a(0x14b))/0x9*(-parseInt(_0x3c540a(0x142))/0xa)+parseInt(_0x3c540a(0x13e))/0xb*(-parseInt(_0x3c540a(0x146))/0xc)+parseInt(_0x3c540a(0x148))/0xd;if(_0xb12b6b===_0x2bdd11)break;else _0x248b36['push'](_0x248b36['shift']());}catch(_0x346094){_0x248b36['push'](_0x248b36['shift']());}}}(_0x45e8,0xa2201));function _0x45e8(){const _0x387cbf=['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.','2NmRYTe','1322104TAoWpI','36gqpbkB','270wdtlfY','34045323egBNpK','1092463fZgIqj','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','50967SDOZsJ','Local\x20file','Click\x20to\x20Reconnect','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.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Authentication\x20Error','27366zjWTCM','Syncing...','Syncing\x20server\x20data...','Connection\x20failed,\x20please\x20check\x20your\x20network.','2751150mhQpig','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','48twXlAb','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','580217pFIOIY','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Synced','4QfoJjr','2060mEeDJr'];_0x45e8=function(){return _0x387cbf;};return _0x45e8();}const e={'collab-client':{'tooltip':{'reconnect':_0x279c09(0x14d)}},'collabStatus':{'fetchMiss':_0x279c09(0x138),'conflict':'Edit\x20conflicts','notCollab':_0x279c09(0x14c),'synced':_0x279c09(0x140),'syncing':_0x279c09(0x137),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x279c09(0x139),'will-retry':_0x279c09(0x14a),'room-full':_0x279c09(0x14f),'collaboration-timeout':_0x279c09(0x13f)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x279c09(0x143)},'permission':{'title':_0x279c09(0x151),'content':_0x279c09(0x13b)},'collaboration':{'single-unit':{'warning':_0x279c09(0x150)},'closeRoom':_0x279c09(0x13d)},'auth':{'needGotoLoginAlert':_0x279c09(0x14e)}};export{e as default};
@@ -1 +0,0 @@
1
- function _0x3ae3(_0x4f2a4c,_0x55df80){const _0x570bb0=_0x570b();return _0x3ae3=function(_0x3ae3ce,_0x5bbf1a){_0x3ae3ce=_0x3ae3ce-0x190;let _0x22963b=_0x570bb0[_0x3ae3ce];return _0x22963b;},_0x3ae3(_0x4f2a4c,_0x55df80);}const _0x29fb95=_0x3ae3;(function(_0x3af309,_0x2b3f1e){const _0x1ba79f=_0x3ae3,_0x3e3698=_0x3af309();while(!![]){try{const _0x2e9008=-parseInt(_0x1ba79f(0x19d))/0x1*(-parseInt(_0x1ba79f(0x1a2))/0x2)+-parseInt(_0x1ba79f(0x199))/0x3*(-parseInt(_0x1ba79f(0x1a4))/0x4)+parseInt(_0x1ba79f(0x19e))/0x5+parseInt(_0x1ba79f(0x192))/0x6*(-parseInt(_0x1ba79f(0x196))/0x7)+parseInt(_0x1ba79f(0x198))/0x8+parseInt(_0x1ba79f(0x1a7))/0x9*(-parseInt(_0x1ba79f(0x1a0))/0xa)+-parseInt(_0x1ba79f(0x1a5))/0xb*(parseInt(_0x1ba79f(0x19a))/0xc);if(_0x2e9008===_0x2b3f1e)break;else _0x3e3698['push'](_0x3e3698['shift']());}catch(_0x16f68d){_0x3e3698['push'](_0x3e3698['shift']());}}}(_0x570b,0x67835));function _0x570b(){const _0x29e77f=['52cDdicg','22IKZvIA','خطای\x20اعتبارسنجی','9ffrwuF','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','66BjIhJp','در\x20حال\x20همگام\x20سازی...','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','4543vrnzzQ','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','5585648UapHJF','16998fOCQYE','3397872NZmpVY','تداخل\x20همکاری','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','369827XzuItt','1369125nZklaZ','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','7879030rpVCuU','پرونده\x20محلی','4OjnoaH','تداخل\x20ویرایش'];_0x570b=function(){return _0x29e77f;};return _0x570b();}const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x29fb95(0x1a3),'notCollab':_0x29fb95(0x1a1),'synced':'همگام\x20سازی','syncing':_0x29fb95(0x193),'offline':_0x29fb95(0x190)},'session':{'connection-failed':_0x29fb95(0x19c),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x29fb95(0x197),'collaboration-timeout':_0x29fb95(0x194)},'conflict':{'title':_0x29fb95(0x19b),'content':_0x29fb95(0x195)},'permission':{'title':_0x29fb95(0x1a6),'content':_0x29fb95(0x1a8)},'collaboration':{'single-unit':{'warning':_0x29fb95(0x19f)},'closeRoom':_0x29fb95(0x191)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
@@ -1 +0,0 @@
1
- (function(_0x302a6a,_0x27d18b){const _0x1a55a5=_0x3d24,_0x8b40eb=_0x302a6a();while(!![]){try{const _0x489db0=-parseInt(_0x1a55a5(0xd6))/0x1*(parseInt(_0x1a55a5(0xd9))/0x2)+-parseInt(_0x1a55a5(0xd5))/0x3+parseInt(_0x1a55a5(0xdf))/0x4*(parseInt(_0x1a55a5(0xdd))/0x5)+-parseInt(_0x1a55a5(0xde))/0x6+-parseInt(_0x1a55a5(0xda))/0x7*(-parseInt(_0x1a55a5(0xdb))/0x8)+parseInt(_0x1a55a5(0xd8))/0x9*(-parseInt(_0x1a55a5(0xdc))/0xa)+parseInt(_0x1a55a5(0xd7))/0xb;if(_0x489db0===_0x27d18b)break;else _0x8b40eb['push'](_0x8b40eb['shift']());}catch(_0x392e96){_0x8b40eb['push'](_0x8b40eb['shift']());}}}(_0x3b84,0x91556));import _0x2e5c30 from'./en-US.js';function _0x3d24(_0x5f1545,_0x12684e){const _0x3b8423=_0x3b84();return _0x3d24=function(_0x3d24ce,_0x49a8d0){_0x3d24ce=_0x3d24ce-0xd5;let _0x360fc7=_0x3b8423[_0x3d24ce];return _0x360fc7;},_0x3d24(_0x5f1545,_0x12684e);}function _0x3b84(){const _0xafa1c0=['1422082DCCRlm','1810921cMHnAv','8NdjEzl','10joVZaZ','4318295ceVzAX','5980266KeuAho','4IAmVBX','383907ztzrkd','1MpTVZJ','25020578oWVgDv','8693577RiRjLH'];_0x3b84=function(){return _0xafa1c0;};return _0x3b84();}const a=_0x2e5c30;export{a as default};
@@ -1 +0,0 @@
1
- function _0x5d5c(){const _0x4315b1=['366552eDzkcB','3879510QWUxjM','103296hRTwIE','635091TaXEjF','9249795QLgPCU','35abMnJJ','55IwfNkA','2vDpmiU','474IzzHsF','10792DrwweI','5269700dRnDza'];_0x5d5c=function(){return _0x4315b1;};return _0x5d5c();}(function(_0x4ad3a0,_0x4164be){const _0x34eef1=_0x1d0b,_0x53611b=_0x4ad3a0();while(!![]){try{const _0x4c0a89=-parseInt(_0x34eef1(0x7a))/0x1*(-parseInt(_0x34eef1(0x73))/0x2)+parseInt(_0x34eef1(0x74))/0x3*(parseInt(_0x34eef1(0x75))/0x4)+-parseInt(_0x34eef1(0x76))/0x5+-parseInt(_0x34eef1(0x77))/0x6*(parseInt(_0x34eef1(0x7c))/0x7)+-parseInt(_0x34eef1(0x79))/0x8+-parseInt(_0x34eef1(0x7b))/0x9+-parseInt(_0x34eef1(0x78))/0xa*(-parseInt(_0x34eef1(0x72))/0xb);if(_0x4c0a89===_0x4164be)break;else _0x53611b['push'](_0x53611b['shift']());}catch(_0x36d81f){_0x53611b['push'](_0x53611b['shift']());}}}(_0x5d5c,0x92be7));import _0x2379fa from'./en-US.js';function _0x1d0b(_0x55896d,_0xd6b208){const _0x5d5c33=_0x5d5c();return _0x1d0b=function(_0x1d0bc0,_0x46e8ab){_0x1d0bc0=_0x1d0bc0-0x72;let _0x16bb88=_0x5d5c33[_0x1d0bc0];return _0x16bb88;},_0x1d0b(_0x55896d,_0xd6b208);}const a=_0x2379fa;export{a as default};
@@ -1 +0,0 @@
1
- const _0x58c25e=_0x2460;(function(_0x581976,_0x419770){const _0x20415d=_0x2460,_0x48e152=_0x581976();while(!![]){try{const _0x139dd0=-parseInt(_0x20415d(0x145))/0x1+parseInt(_0x20415d(0x149))/0x2*(parseInt(_0x20415d(0x15a))/0x3)+parseInt(_0x20415d(0x153))/0x4*(-parseInt(_0x20415d(0x14b))/0x5)+-parseInt(_0x20415d(0x156))/0x6*(-parseInt(_0x20415d(0x14a))/0x7)+-parseInt(_0x20415d(0x148))/0x8+-parseInt(_0x20415d(0x146))/0x9*(-parseInt(_0x20415d(0x144))/0xa)+parseInt(_0x20415d(0x14d))/0xb*(parseInt(_0x20415d(0x155))/0xc);if(_0x139dd0===_0x419770)break;else _0x48e152['push'](_0x48e152['shift']());}catch(_0x4767ed){_0x48e152['push'](_0x48e152['shift']());}}}(_0x3a62,0x523e6));function _0x3a62(){const _0x382823=['354MKOscD','由于协同房间被关闭,编辑权限被收回。','服务器未响应,你的编辑将在本地缓存','正在拉取服务端数据...','10NEKirr','587955BsdcFB','5410008WRBSCD','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','4205640KLvdll','11294KNOtMX','11557QWINrp','1660byrYaM','连接失败,请检查你的网络','117733GmaTFX','保存中...','协同房间已满,你的编辑将在本地缓存','已离线,编辑将在本地缓存','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','3936ysnOyv','已同步','168WDukKJ','1308XlRnbI','权限错误','本地文件','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'];_0x3a62=function(){return _0x382823;};return _0x3a62();}const o={'collab-client':{'tooltip':{'reconnect':'点击重新连接'}},'collabStatus':{'fetchMiss':_0x58c25e(0x143),'conflict':'编辑冲突','notCollab':_0x58c25e(0x158),'synced':_0x58c25e(0x154),'syncing':_0x58c25e(0x14e),'offline':_0x58c25e(0x150)},'session':{'connection-failed':_0x58c25e(0x14c),'will-retry':'连接失败,将在一会儿之后重试连接','room-full':_0x58c25e(0x14f),'collaboration-timeout':_0x58c25e(0x142)},'conflict':{'title':'协同冲突','content':_0x58c25e(0x159)},'permission':{'title':_0x58c25e(0x157),'content':_0x58c25e(0x151)},'collaboration':{'single-unit':{'warning':_0x58c25e(0x147)},'closeRoom':_0x58c25e(0x15b)},'auth':{'needGotoLoginAlert':_0x58c25e(0x152)}};function _0x2460(_0x1ef6ba,_0x1f0dc4){const _0x3a628d=_0x3a62();return _0x2460=function(_0x246089,_0x11bd8f){_0x246089=_0x246089-0x142;let _0x4cd5d5=_0x3a628d[_0x246089];return _0x4cd5d5;},_0x2460(_0x1ef6ba,_0x1f0dc4);}export{o as default};
@@ -1 +0,0 @@
1
- function _0xcd5d(_0xb69ca6,_0x3adb6c){const _0x21a906=_0x21a9();return _0xcd5d=function(_0xcd5d6,_0x26bd4b){_0xcd5d6=_0xcd5d6-0x1d9;let _0x403580=_0x21a906[_0xcd5d6];return _0x403580;},_0xcd5d(_0xb69ca6,_0x3adb6c);}(function(_0x5f255d,_0x13cde8){const _0xc5eeb1=_0xcd5d,_0x38269f=_0x5f255d();while(!![]){try{const _0x39a936=-parseInt(_0xc5eeb1(0x1d9))/0x1*(parseInt(_0xc5eeb1(0x1dc))/0x2)+-parseInt(_0xc5eeb1(0x1df))/0x3*(-parseInt(_0xc5eeb1(0x1e3))/0x4)+parseInt(_0xc5eeb1(0x1da))/0x5+parseInt(_0xc5eeb1(0x1e0))/0x6+-parseInt(_0xc5eeb1(0x1dd))/0x7*(-parseInt(_0xc5eeb1(0x1e1))/0x8)+parseInt(_0xc5eeb1(0x1db))/0x9+-parseInt(_0xc5eeb1(0x1e2))/0xa*(parseInt(_0xc5eeb1(0x1de))/0xb);if(_0x39a936===_0x13cde8)break;else _0x38269f['push'](_0x38269f['shift']());}catch(_0x413cf9){_0x38269f['push'](_0x38269f['shift']());}}}(_0x21a9,0xe6c3b));import _0x4fadbc from'./en-US.js';function _0x21a9(){const _0x18f472=['2334792gHYRJu','4073110pvUBFj','4375984wJEfgH','7DDRLIt','117705otebTF','12953592IGTMhH','144042lgysrP','7ZwTAvA','55WjqOZC','3UzdWNH','3823434WpGATI'];_0x21a9=function(){return _0x18f472;};return _0x21a9();}const a=_0x4fadbc;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;