@univerjs-pro/collaboration-client 0.25.1 → 1.0.0-alpha.1

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 (97) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/types/config/config.d.ts +70 -0
  65. package/lib/types/controllers/collaboration/collaboration-entity.d.ts +15 -1
  66. package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +6 -14
  67. package/lib/types/facade/f-collaboration.d.ts +38 -25
  68. package/lib/types/index.d.ts +11 -7
  69. package/lib/types/locale/types.d.ts +3 -0
  70. package/lib/types/plugin.d.ts +1 -1
  71. package/lib/types/services/attachment-remote/attachment-io.service.d.ts +22 -0
  72. package/lib/types/services/attachment-remote/types.d.ts +23 -0
  73. package/lib/types/services/data-loader/data-loader.service.d.ts +3 -0
  74. package/lib/types/services/local-cache/local-cache.service.d.ts +1 -0
  75. package/lib/umd/facade.js +1 -1
  76. package/lib/umd/index.js +1 -1
  77. package/lib/umd/locale/ar-SA.js +1 -1
  78. package/lib/umd/locale/ca-ES.js +1 -1
  79. package/lib/umd/locale/de-DE.js +1 -1
  80. package/lib/umd/locale/en-US.js +1 -1
  81. package/lib/umd/locale/es-ES.js +1 -1
  82. package/lib/umd/locale/fa-IR.js +1 -1
  83. package/lib/umd/locale/fr-FR.js +1 -1
  84. package/lib/umd/locale/id-ID.js +1 -1
  85. package/lib/umd/locale/it-IT.js +1 -1
  86. package/lib/umd/locale/ja-JP.js +1 -1
  87. package/lib/umd/locale/ko-KR.js +1 -1
  88. package/lib/umd/locale/pl-PL.js +1 -1
  89. package/lib/umd/locale/pt-BR.js +1 -1
  90. package/lib/umd/locale/ru-RU.js +1 -1
  91. package/lib/umd/locale/sk-SK.js +1 -1
  92. package/lib/umd/locale/vi-VN.js +1 -1
  93. package/lib/umd/locale/zh-CN.js +1 -1
  94. package/lib/umd/locale/zh-HK.js +1 -1
  95. package/lib/umd/locale/zh-TW.js +1 -1
  96. package/package.json +16 -14
  97. package/lib/types/controllers/config.schema.d.ts +0 -64
@@ -1 +1 @@
1
- function _0x31f7(_0x6b0d3c,_0xaea778){_0x6b0d3c=_0x6b0d3c-0xb8;var _0x451e83=_0x451e();var _0x31f76b=_0x451e83[_0x6b0d3c];return _0x31f76b;}(function(_0x4608a9,_0x4d33dc){var _0x378aa8=_0x31f7,_0x4c1b85=_0x4608a9();while(!![]){try{var _0x55036c=parseInt(_0x378aa8(0xbb))/0x1*(parseInt(_0x378aa8(0xc3))/0x2)+-parseInt(_0x378aa8(0xd4))/0x3+-parseInt(_0x378aa8(0xd2))/0x4*(-parseInt(_0x378aa8(0xbf))/0x5)+-parseInt(_0x378aa8(0xcf))/0x6*(-parseInt(_0x378aa8(0xcc))/0x7)+parseInt(_0x378aa8(0xd6))/0x8+-parseInt(_0x378aa8(0xcd))/0x9+parseInt(_0x378aa8(0xd3))/0xa;if(_0x55036c===_0x4d33dc)break;else _0x4c1b85['push'](_0x4c1b85['shift']());}catch(_0x41c973){_0x4c1b85['push'](_0x4c1b85['shift']());}}}(_0x451e,0x78568),function(_0x238b05,_0x558219){var _0x517485=_0x31f7;typeof exports==_0x517485(0xc5)&&typeof module<'u'?module[_0x517485(0xc2)]=_0x558219():typeof define==_0x517485(0xc6)&&define[_0x517485(0xb9)]?define([],_0x558219):(_0x238b05=typeof globalThis<'u'?globalThis:_0x238b05||self,_0x238b05[_0x517485(0xd1)]=_0x558219());}(this,function(){var _0xc4ee92=_0x31f7;return{'collaboration-client':{'collabClient':{'tooltip':{'reconnect':_0xc4ee92(0xba)}},'collabStatus':{'fetchMiss':_0xc4ee92(0xca),'conflict':_0xc4ee92(0xc4),'notCollab':_0xc4ee92(0xc7),'synced':_0xc4ee92(0xcb),'syncing':_0xc4ee92(0xd5),'offline':_0xc4ee92(0xbd)},'session':{'connection-failed':'連線失敗,請檢查您的網絡。','will-retry':_0xc4ee92(0xc8),'room-full':'此文件協作人數已達上限,您的編輯將暫存於本機。','join-failed':'加入協作失敗,請稍後重試,您的編輯將暫存於本機。','room-not-exists':_0xc4ee92(0xd0),'room-permission-denied':_0xc4ee92(0xce),'room-cnt-exceeds':_0xc4ee92(0xc9),'collaboration-timeout':'伺服器未回應協作請求,您的編輯將儲存在本機。'},'conflict':{'title':_0xc4ee92(0xbc),'content':'您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。'},'permission':{'title':'認證錯誤','content':_0xc4ee92(0xb8)},'collaboration':{'single-unit':{'warning':_0xc4ee92(0xc1)},'closeRoom':_0xc4ee92(0xbe)},'auth':{'needGotoLoginAlert':_0xc4ee92(0xc0)}}};}));function _0x451e(){var _0x5996e1=['88ygFAau','4064500McHJJw','2135817IuaSxi','同步中...','2247800iKTXXf','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','amd','點擊重新連線','19wirrRO','協作衝突','已離線,編輯將儲存在本機','由於協作房間已關閉,編輯權限已被收回。','94970QmKmYg','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','exports','29302bgHiYz','編輯衝突','object','function','本機檔案','連線失敗,將在稍後重試連線。','協作文件數量超過限制,您的編輯將暫存於本機。','正在擷取伺服器資料...','已同步','7gUdztw','3410388EKsfqq','沒有協作權限,您的編輯將暫存於本機。','1200678BfMVLi','加入協作失敗,您的編輯將暫存於本機。','UniverProCollaborationClientZhHK'];_0x451e=function(){return _0x5996e1;};return _0x451e();}
1
+ function _0x3b2c(_0x296b8b,_0x48295c){_0x296b8b=_0x296b8b-0x10a;var _0x1cfcd1=_0x1cfc();var _0x3b2c07=_0x1cfcd1[_0x296b8b];return _0x3b2c07;}(function(_0xf65e7b,_0x38adc9){var _0x3d48ee=_0x3b2c,_0x5da130=_0xf65e7b();while(!![]){try{var _0x2226d8=parseInt(_0x3d48ee(0x10f))/0x1*(-parseInt(_0x3d48ee(0x119))/0x2)+-parseInt(_0x3d48ee(0x117))/0x3+parseInt(_0x3d48ee(0x10c))/0x4+parseInt(_0x3d48ee(0x124))/0x5*(parseInt(_0x3d48ee(0x112))/0x6)+-parseInt(_0x3d48ee(0x11b))/0x7+parseInt(_0x3d48ee(0x115))/0x8*(parseInt(_0x3d48ee(0x111))/0x9)+parseInt(_0x3d48ee(0x10a))/0xa;if(_0x2226d8===_0x38adc9)break;else _0x5da130['push'](_0x5da130['shift']());}catch(_0x106676){_0x5da130['push'](_0x5da130['shift']());}}}(_0x1cfc,0x928e7),function(_0x597c46,_0x4f66b5){var _0x234949=_0x3b2c;typeof exports==_0x234949(0x11e)&&typeof module<'u'?module[_0x234949(0x114)]=_0x4f66b5():typeof define==_0x234949(0x122)&&define[_0x234949(0x118)]?define([],_0x4f66b5):(_0x597c46=typeof globalThis<'u'?globalThis:_0x597c46||self,_0x597c46[_0x234949(0x11d)]=_0x4f66b5());}(this,function(){var _0x412140=_0x3b2c;return{'collaboration-client':{'collabClient':{'tooltip':{'reconnect':_0x412140(0x123)}},'collabStatus':{'fetchMiss':_0x412140(0x11f),'conflict':_0x412140(0x126),'notCollab':'本機檔案','synced':'已同步','syncing':_0x412140(0x10e),'offline':_0x412140(0x10d)},'session':{'connection-failed':_0x412140(0x125),'will-retry':_0x412140(0x121),'room-full':'此文件協作人數已達上限,您的編輯將暫存於本機。','join-failed':_0x412140(0x127),'room-not-exists':_0x412140(0x113),'room-permission-denied':_0x412140(0x116),'room-cnt-exceeds':_0x412140(0x128),'collaboration-timeout':_0x412140(0x120)},'conflict':{'title':'協作衝突','content':'您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。'},'permission':{'title':_0x412140(0x10b),'content':'您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。'},'collaboration':{'single-unit':{'warning':_0x412140(0x11a)},'closeRoom':_0x412140(0x11c)},'auth':{'needGotoLoginAlert':_0x412140(0x110)}}};}));function _0x1cfc(){var _0x11daad=['45soowiq','連線失敗,請檢查您的網絡。','編輯衝突','加入協作失敗,請稍後重試,您的編輯將暫存於本機。','協作文件數量超過限制,您的編輯將暫存於本機。','3963100QIkfGI','認證錯誤','3763740OGTuMR','已離線,編輯將儲存在本機','同步中...','4iRNQad','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','3216924izMtoq','109296SUKpFU','加入協作失敗,您的編輯將暫存於本機。','exports','8lXWevL','沒有協作權限,您的編輯將暫存於本機。','337587wqIsbk','amd','434416GSgHsY','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','1938783jtgOcl','由於協作房間已關閉,編輯權限已被收回。','UniverProCollaborationClientZhHK','object','正在擷取伺服器資料...','伺服器未回應協作請求,您的編輯將儲存在本機。','連線失敗,將在稍後重試連線。','function','點擊重新連線'];_0x1cfc=function(){return _0x11daad;};return _0x1cfc();}
@@ -1 +1 @@
1
- function _0x469c(_0x368fa3,_0x5d0a82){_0x368fa3=_0x368fa3-0x1ad;var _0x288cbb=_0x288c();var _0x469c51=_0x288cbb[_0x368fa3];return _0x469c51;}(function(_0x5401cf,_0x37d88c){var _0x5d0f6e=_0x469c,_0x405e54=_0x5401cf();while(!![]){try{var _0x28f469=parseInt(_0x5d0f6e(0x1cc))/0x1*(parseInt(_0x5d0f6e(0x1c9))/0x2)+-parseInt(_0x5d0f6e(0x1cd))/0x3+parseInt(_0x5d0f6e(0x1af))/0x4*(-parseInt(_0x5d0f6e(0x1c5))/0x5)+-parseInt(_0x5d0f6e(0x1c1))/0x6*(-parseInt(_0x5d0f6e(0x1ca))/0x7)+-parseInt(_0x5d0f6e(0x1b0))/0x8*(parseInt(_0x5d0f6e(0x1cb))/0x9)+parseInt(_0x5d0f6e(0x1ad))/0xa+parseInt(_0x5d0f6e(0x1b9))/0xb;if(_0x28f469===_0x37d88c)break;else _0x405e54['push'](_0x405e54['shift']());}catch(_0x219e75){_0x405e54['push'](_0x405e54['shift']());}}}(_0x288c,0x52e9f),function(_0x893ddf,_0xdf7526){var _0x1ba206=_0x469c;typeof exports==_0x1ba206(0x1b8)&&typeof module<'u'?module[_0x1ba206(0x1c3)]=_0xdf7526():typeof define==_0x1ba206(0x1bd)&&define['amd']?define([],_0xdf7526):(_0x893ddf=typeof globalThis<'u'?globalThis:_0x893ddf||self,_0x893ddf[_0x1ba206(0x1c7)]=_0xdf7526());}(this,function(){var _0x1ab037=_0x469c;return{'collaboration-client':{'collabClient':{'tooltip':{'reconnect':_0x1ab037(0x1ae)}},'collabStatus':{'fetchMiss':_0x1ab037(0x1b1),'conflict':_0x1ab037(0x1b5),'notCollab':_0x1ab037(0x1b7),'synced':'已同步','syncing':_0x1ab037(0x1bb),'offline':_0x1ab037(0x1c0)},'session':{'connection-failed':'連線失敗,請檢查您的網路。','will-retry':_0x1ab037(0x1ce),'room-full':_0x1ab037(0x1bf),'join-failed':_0x1ab037(0x1ba),'room-not-exists':_0x1ab037(0x1c8),'room-permission-denied':_0x1ab037(0x1b3),'room-cnt-exceeds':_0x1ab037(0x1c4),'collaboration-timeout':_0x1ab037(0x1b6)},'conflict':{'title':_0x1ab037(0x1bc),'content':_0x1ab037(0x1be)},'permission':{'title':_0x1ab037(0x1b2),'content':_0x1ab037(0x1c6)},'collaboration':{'single-unit':{'warning':_0x1ab037(0x1c2)},'closeRoom':_0x1ab037(0x1b4)},'auth':{'needGotoLoginAlert':'您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。'}}};}));function _0x288c(){var _0xb6b95c=['認證錯誤','沒有協作權限,您的編輯將暫存於本機。','由於協作房間已關閉,編輯權限已被收回。','編輯衝突','伺服器未回應協作請求,您的編輯將儲存在本機。','本機檔案','object','2053733ukLhNT','加入協作失敗,請稍後重試,您的編輯將暫存於本機。','同步中...','協作衝突','function','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','此文件協作人數已達上限,您的編輯將暫存於本機。','已離線,編輯將儲存在本機','12UlYDXC','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','exports','協作文件數量超過限制,您的編輯將暫存於本機。','115495NGMVol','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','UniverProCollaborationClientZhTW','加入協作失敗,您的編輯將暫存於本機。','1101154hrXrev','1005151JvUslI','90234hDrHfg','1TNfbCE','571827tdlCsw','連線失敗,將在稍後重試連線。','6786990RZsmap','點擊重新連線','92KbaRul','512QspRCr','正在擷取伺服器資料...'];_0x288c=function(){return _0xb6b95c;};return _0x288c();}
1
+ function _0x24c2(){var _0x3f6e59=['amd','function','連線失敗,請檢查您的網路。','協作文件數量超過限制,您的編輯將暫存於本機。','5698231jFCOhq','本機檔案','2VtKxUd','沒有協作權限,您的編輯將暫存於本機。','編輯衝突','加入協作失敗,您的編輯將暫存於本機。','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','已離線,編輯將儲存在本機','1895928DHoGZp','6026976REAjhc','正在擷取伺服器資料...','2055alKSvs','伺服器未回應協作請求,您的編輯將儲存在本機。','連線失敗,將在稍後重試連線。','90TpZceZ','exports','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','78336sSQzwc','此文件協作人數已達上限,您的編輯將暫存於本機。','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','點擊重新連線','2182008iLewOa','同步中...','已同步','624211gGXEiZ','UniverProCollaborationClientZhTW','11820EygBDN'];_0x24c2=function(){return _0x3f6e59;};return _0x24c2();}function _0x1df0(_0x491e12,_0x3b5a0c){_0x491e12=_0x491e12-0x186;var _0x24c277=_0x24c2();var _0x1df048=_0x24c277[_0x491e12];return _0x1df048;}(function(_0xde59fa,_0x6f12e4){var _0x44e2d8=_0x1df0,_0x4908d9=_0xde59fa();while(!![]){try{var _0x484cf1=-parseInt(_0x44e2d8(0x19a))/0x1*(parseInt(_0x44e2d8(0x1a3))/0x2)+parseInt(_0x44e2d8(0x197))/0x3+-parseInt(_0x44e2d8(0x18a))/0x4+-parseInt(_0x44e2d8(0x18d))/0x5*(-parseInt(_0x44e2d8(0x19c))/0x6)+parseInt(_0x44e2d8(0x1a1))/0x7+-parseInt(_0x44e2d8(0x18b))/0x8+-parseInt(_0x44e2d8(0x193))/0x9*(parseInt(_0x44e2d8(0x190))/0xa);if(_0x484cf1===_0x6f12e4)break;else _0x4908d9['push'](_0x4908d9['shift']());}catch(_0x4e435d){_0x4908d9['push'](_0x4908d9['shift']());}}}(_0x24c2,0x66d12),function(_0x11ec7e,_0x4c5e78){var _0x467523=_0x1df0;typeof exports=='object'&&typeof module<'u'?module[_0x467523(0x191)]=_0x4c5e78():typeof define==_0x467523(0x19e)&&define[_0x467523(0x19d)]?define([],_0x4c5e78):(_0x11ec7e=typeof globalThis<'u'?globalThis:_0x11ec7e||self,_0x11ec7e[_0x467523(0x19b)]=_0x4c5e78());}(this,function(){var _0x40eddf=_0x1df0;return{'collaboration-client':{'collabClient':{'tooltip':{'reconnect':_0x40eddf(0x196)}},'collabStatus':{'fetchMiss':_0x40eddf(0x18c),'conflict':_0x40eddf(0x186),'notCollab':_0x40eddf(0x1a2),'synced':_0x40eddf(0x199),'syncing':_0x40eddf(0x198),'offline':_0x40eddf(0x189)},'session':{'connection-failed':_0x40eddf(0x19f),'will-retry':_0x40eddf(0x18f),'room-full':_0x40eddf(0x194),'join-failed':'加入協作失敗,請稍後重試,您的編輯將暫存於本機。','room-not-exists':_0x40eddf(0x187),'room-permission-denied':_0x40eddf(0x1a4),'room-cnt-exceeds':_0x40eddf(0x1a0),'collaboration-timeout':_0x40eddf(0x18e)},'conflict':{'title':'協作衝突','content':_0x40eddf(0x192)},'permission':{'title':'認證錯誤','content':_0x40eddf(0x195)},'collaboration':{'single-unit':{'warning':_0x40eddf(0x188)},'closeRoom':'由於協作房間已關閉,編輯權限已被收回。'},'auth':{'needGotoLoginAlert':'您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。'}}};}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/collaboration-client",
3
- "version": "0.25.1",
3
+ "version": "1.0.0-alpha.1",
4
4
  "private": false,
5
5
  "description": "Client-side collaboration plugin for Univer Pro.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -67,23 +67,25 @@
67
67
  },
68
68
  "dependencies": {
69
69
  "@noble/ciphers": "^2.2.0",
70
- "@univerjs-pro/license": "0.25.1",
71
- "@univerjs-pro/collaboration": "0.25.1",
72
- "@univerjs/core": "0.25.1",
73
- "@univerjs/docs": "0.25.1",
74
- "@univerjs/drawing": "0.25.1",
75
- "@univerjs/protocol": "0.25.1",
76
- "@univerjs/telemetry": "0.25.1",
77
- "@univerjs/sheets": "0.25.1",
78
- "@univerjs/network": "0.25.1"
70
+ "@univerjs-pro/bases": "1.0.0-alpha.1",
71
+ "@univerjs-pro/license": "1.0.0-alpha.1",
72
+ "@univerjs-pro/collaboration": "1.0.0-alpha.1",
73
+ "@univerjs/core": "1.0.0-alpha.1",
74
+ "@univerjs-pro/slides": "1.0.0-alpha.1",
75
+ "@univerjs/drawing": "1.0.0-alpha.1",
76
+ "@univerjs/protocol": "1.0.0-alpha.1",
77
+ "@univerjs/network": "1.0.0-alpha.1",
78
+ "@univerjs/sheets": "1.0.0-alpha.1",
79
+ "@univerjs/docs": "1.0.0-alpha.1",
80
+ "@univerjs/telemetry": "1.0.0-alpha.1"
79
81
  },
80
82
  "devDependencies": {
81
- "postcss": "^8.5.14",
83
+ "postcss": "^8.5.15",
82
84
  "rxjs": "7.8.2",
83
- "tailwindcss": "^3.4.17",
85
+ "tailwindcss": "3.4.17",
84
86
  "typescript": "^6.0.3",
85
- "vitest": "^4.1.6",
86
- "@univerjs-infra/shared": "0.25.1"
87
+ "vitest": "^4.1.9",
88
+ "@univerjs-infra/shared": "1.0.0-alpha.1"
87
89
  },
88
90
  "scripts": {
89
91
  "test": "vitest run --pool=threads",
@@ -1,64 +0,0 @@
1
- import type { Ctor, DependencyOverride } from '@univerjs/core';
2
- import type { ICollaborationSocketService } from '../services/socket/collaboration-socket.service';
3
- export declare const COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY = "collaboration-client.config";
4
- export declare const configSymbol: unique symbol;
5
- export interface IUniverCollaborationClientConfig {
6
- /**
7
- * Which socket should the plugin use to build connections to the collaborative engine.
8
- * For normal cases, you should use `BrowserCollaborationSocketService` from the `collaboration-client-ui` plugin.
9
- */
10
- socketService: Ctor<ICollaborationSocketService>;
11
- /**
12
- * If the plugin should enable collaborative editing. Which means the client will exchange edits with
13
- * the collaboration server. It this is set to false, the client will simply load data from the server.
14
- *
15
- * @default true
16
- */
17
- enableCollaboration?: boolean;
18
- /**
19
- * If offline editing is enabled.
20
- * @default false
21
- */
22
- enableOfflineEditing?: boolean;
23
- enableSingleActiveInstanceLock?: boolean;
24
- enableAuthServer?: boolean;
25
- /**
26
- * Override internal modules with custom implementations.
27
- */
28
- override?: DependencyOverride;
29
- sendChangesetTimeout?: number;
30
- snapshotServerUrl?: string;
31
- collabSubmitChangesetUrl?: string;
32
- collabWebSocketUrl?: string;
33
- /**
34
- * The URL of the endpoint for getting the websocket session ticket.
35
- */
36
- wsSessionTicketUrl?: string;
37
- loginUrlKey?: string;
38
- retryConnectingInterval?: number;
39
- authzUrl?: string;
40
- /**
41
- * The URL of the endpoint for downloading files.
42
- * @default 'location.origin'
43
- */
44
- downloadEndpointUrl?: string;
45
- uploadFileServerUrl?: string;
46
- signUrlServerUrl?: string;
47
- /**
48
- * The URL of the endpoint for starting formula limit.
49
- */
50
- startFormulaLimitUrl?: string;
51
- /**
52
- * The URL of the endpoint for getting formula limit status.
53
- */
54
- getFormulaLimitStatusUrl?: string;
55
- /**
56
- * The URL of the endpoint for releasing formula limit.
57
- */
58
- releaseFormulaLimitUrl?: string;
59
- /**
60
- * The socket connection custom headers.
61
- */
62
- customHeaders?: Record<string, string>;
63
- }
64
- export declare const defaultPluginConfig: Omit<IUniverCollaborationClientConfig, 'socketService'>;