@univerjs-pro/collaboration-client 0.25.0 → 1.0.0-alpha.0

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 _0xc030(){var _0x518a2c=['2wZwoFq','同步中...','加入協作失敗,請稍後重試,您的編輯將暫存於本機。','1953bnaFok','UniverProCollaborationClientZhHK','245016vHUPOp','88oXpYzS','協作衝突','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','已離線,編輯將儲存在本機','伺服器未回應協作請求,您的編輯將儲存在本機。','連線失敗,請檢查您的網絡。','此文件協作人數已達上限,您的編輯將暫存於本機。','由於協作房間已關閉,編輯權限已被收回。','1562IVaDfx','amd','function','連線失敗,將在稍後重試連線。','1352596nGCQkY','958974Vcrecy','正在擷取伺服器資料...','編輯衝突','協作文件數量超過限制,您的編輯將暫存於本機。','已同步','164420RverSs','object','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','152QXxfOy','6870ThgOXt','1244388HQtHGl'];_0xc030=function(){return _0x518a2c;};return _0xc030();}function _0x1047(_0x162969,_0xc67353){_0x162969=_0x162969-0xe6;var _0xc030c1=_0xc030();var _0x104734=_0xc030c1[_0x162969];return _0x104734;}(function(_0x48c1d0,_0x18d47d){var _0x200f33=_0x1047,_0x27e5e9=_0x48c1d0();while(!![]){try{var _0x3f7899=parseInt(_0x200f33(0xea))/0x1*(-parseInt(_0x200f33(0x105))/0x2)+-parseInt(_0x200f33(0xfa))/0x3+-parseInt(_0x200f33(0xeb))/0x4*(-parseInt(_0x200f33(0xff))/0x5)+parseInt(_0x200f33(0x104))/0x6+parseInt(_0x200f33(0xf9))/0x7+-parseInt(_0x200f33(0x102))/0x8*(-parseInt(_0x200f33(0xe8))/0x9)+parseInt(_0x200f33(0x103))/0xa*(-parseInt(_0x200f33(0xf5))/0xb);if(_0x3f7899===_0x18d47d)break;else _0x27e5e9['push'](_0x27e5e9['shift']());}catch(_0x153320){_0x27e5e9['push'](_0x27e5e9['shift']());}}}(_0xc030,0x71c31),function(_0x465ecd,_0x550cfd){var _0x2819d9=_0x1047;typeof exports==_0x2819d9(0x100)&&typeof module<'u'?module['exports']=_0x550cfd():typeof define==_0x2819d9(0xf7)&&define[_0x2819d9(0xf6)]?define([],_0x550cfd):(_0x465ecd=typeof globalThis<'u'?globalThis:_0x465ecd||self,_0x465ecd[_0x2819d9(0xe9)]=_0x550cfd());}(this,function(){var _0x40e5fb=_0x1047;return{'collaboration-client':{'collabClient':{'tooltip':{'reconnect':'點擊重新連線'}},'collabStatus':{'fetchMiss':_0x40e5fb(0xfb),'conflict':_0x40e5fb(0xfc),'notCollab':'本機檔案','synced':_0x40e5fb(0xfe),'syncing':_0x40e5fb(0xe6),'offline':_0x40e5fb(0xf0)},'session':{'connection-failed':_0x40e5fb(0xf2),'will-retry':_0x40e5fb(0xf8),'room-full':_0x40e5fb(0xf3),'join-failed':_0x40e5fb(0xe7),'room-not-exists':'加入協作失敗,您的編輯將暫存於本機。','room-permission-denied':'沒有協作權限,您的編輯將暫存於本機。','room-cnt-exceeds':_0x40e5fb(0xfd),'collaboration-timeout':_0x40e5fb(0xf1)},'conflict':{'title':_0x40e5fb(0xec),'content':_0x40e5fb(0xed)},'permission':{'title':'認證錯誤','content':_0x40e5fb(0xef)},'collaboration':{'single-unit':{'warning':_0x40e5fb(0x101)},'closeRoom':_0x40e5fb(0xf4)},'auth':{'needGotoLoginAlert':_0x40e5fb(0xee)}}};}));
1
+ function _0x1e45(_0x37f193,_0x2b13a0){_0x37f193=_0x37f193-0x1b4;var _0x2c3c99=_0x2c3c();var _0x1e45c7=_0x2c3c99[_0x37f193];return _0x1e45c7;}(function(_0x1b2f93,_0x236988){var _0x2a4bdd=_0x1e45,_0x30fb1e=_0x1b2f93();while(!![]){try{var _0x2e4abb=parseInt(_0x2a4bdd(0x1bb))/0x1*(-parseInt(_0x2a4bdd(0x1d4))/0x2)+parseInt(_0x2a4bdd(0x1bd))/0x3+-parseInt(_0x2a4bdd(0x1d2))/0x4*(parseInt(_0x2a4bdd(0x1c6))/0x5)+-parseInt(_0x2a4bdd(0x1d0))/0x6*(parseInt(_0x2a4bdd(0x1c4))/0x7)+-parseInt(_0x2a4bdd(0x1d3))/0x8*(-parseInt(_0x2a4bdd(0x1cf))/0x9)+parseInt(_0x2a4bdd(0x1b9))/0xa*(-parseInt(_0x2a4bdd(0x1c7))/0xb)+parseInt(_0x2a4bdd(0x1c9))/0xc;if(_0x2e4abb===_0x236988)break;else _0x30fb1e['push'](_0x30fb1e['shift']());}catch(_0x4fc029){_0x30fb1e['push'](_0x30fb1e['shift']());}}}(_0x2c3c,0x4a6de),function(_0x2a3f42,_0x367619){var _0x4a8a4b=_0x1e45;typeof exports==_0x4a8a4b(0x1cd)&&typeof module<'u'?module[_0x4a8a4b(0x1c8)]=_0x367619():typeof define==_0x4a8a4b(0x1ca)&&define[_0x4a8a4b(0x1b6)]?define([],_0x367619):(_0x2a3f42=typeof globalThis<'u'?globalThis:_0x2a3f42||self,_0x2a3f42[_0x4a8a4b(0x1c2)]=_0x367619());}(this,function(){var _0x504d9e=_0x1e45;return{'collaboration-client':{'collabClient':{'tooltip':{'reconnect':'點擊重新連線'}},'collabStatus':{'fetchMiss':_0x504d9e(0x1b4),'conflict':_0x504d9e(0x1ce),'notCollab':_0x504d9e(0x1c3),'synced':'已同步','syncing':_0x504d9e(0x1b5),'offline':_0x504d9e(0x1ba)},'session':{'connection-failed':'連線失敗,請檢查您的網絡。','will-retry':_0x504d9e(0x1bf),'room-full':_0x504d9e(0x1be),'join-failed':_0x504d9e(0x1cb),'room-not-exists':'加入協作失敗,您的編輯將暫存於本機。','room-permission-denied':_0x504d9e(0x1c1),'room-cnt-exceeds':_0x504d9e(0x1b7),'collaboration-timeout':_0x504d9e(0x1d1)},'conflict':{'title':_0x504d9e(0x1bc),'content':_0x504d9e(0x1cc)},'permission':{'title':'認證錯誤','content':_0x504d9e(0x1c5)},'collaboration':{'single-unit':{'warning':_0x504d9e(0x1c0)},'closeRoom':_0x504d9e(0x1b8)},'auth':{'needGotoLoginAlert':'您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。'}}};}));function _0x2c3c(){var _0x1dc477=['協作文件數量超過限制,您的編輯將暫存於本機。','由於協作房間已關閉,編輯權限已被收回。','977540JIwkJi','已離線,編輯將儲存在本機','405838sgWHPn','協作衝突','1339251nzXOTr','此文件協作人數已達上限,您的編輯將暫存於本機。','連線失敗,將在稍後重試連線。','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','沒有協作權限,您的編輯將暫存於本機。','UniverProCollaborationClientZhHK','本機檔案','180726sUXxtD','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','2245kzvXXQ','44zzbcFy','exports','15910896AefUMP','function','加入協作失敗,請稍後重試,您的編輯將暫存於本機。','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','object','編輯衝突','27erCrsM','114pEcbdP','伺服器未回應協作請求,您的編輯將儲存在本機。','4964Xqhllr','1005712eTVTsw','2EVCZVo','正在擷取伺服器資料...','同步中...','amd'];_0x2c3c=function(){return _0x1dc477;};return _0x2c3c();}
@@ -1 +1 @@
1
- function _0x1391(_0x37acf1,_0x10250c){_0x37acf1=_0x37acf1-0xbe;var _0x36ed70=_0x36ed();var _0x139121=_0x36ed70[_0x37acf1];return _0x139121;}function _0x36ed(){var _0x5ef2d1=['已同步','加入協作失敗,請稍後重試,您的編輯將暫存於本機。','伺服器未回應協作請求,您的編輯將儲存在本機。','編輯衝突','68717pRAtEF','加入協作失敗,您的編輯將暫存於本機。','31624SRQVJC','認證錯誤','點擊重新連線','37416azDINa','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','本機檔案','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','協作衝突','exports','連線失敗,將在稍後重試連線。','830nNYlOv','5qvKkpA','84958zaBnJb','75954JWbJin','6006dSHbeM','532293EXCouM','正在擷取伺服器資料...','此文件協作人數已達上限,您的編輯將暫存於本機。','16AhthUM','已離線,編輯將儲存在本機','同步中...','3tIzSBX','沒有協作權限,您的編輯將暫存於本機。','623ZlAYkD','由於協作房間已關閉,編輯權限已被收回。','8292978fvXgMq','協作文件數量超過限制,您的編輯將暫存於本機。','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','連線失敗,請檢查您的網路。'];_0x36ed=function(){return _0x5ef2d1;};return _0x36ed();}(function(_0x4aa85b,_0xee5dc2){var _0x45d34f=_0x1391,_0x29c48d=_0x4aa85b();while(!![]){try{var _0x382046=-parseInt(_0x45d34f(0xcf))/0x1*(-parseInt(_0x45d34f(0xc6))/0x2)+-parseInt(_0x45d34f(0xc9))/0x3*(-parseInt(_0x45d34f(0xcc))/0x4)+parseInt(_0x45d34f(0xc5))/0x5*(-parseInt(_0x45d34f(0xc7))/0x6)+-parseInt(_0x45d34f(0xd1))/0x7*(parseInt(_0x45d34f(0xdd))/0x8)+parseInt(_0x45d34f(0xd3))/0x9+parseInt(_0x45d34f(0xc4))/0xa*(parseInt(_0x45d34f(0xdb))/0xb)+-parseInt(_0x45d34f(0xe0))/0xc*(parseInt(_0x45d34f(0xc8))/0xd);if(_0x382046===_0xee5dc2)break;else _0x29c48d['push'](_0x29c48d['shift']());}catch(_0x5504b5){_0x29c48d['push'](_0x29c48d['shift']());}}}(_0x36ed,0x73430),function(_0x1d060d,_0x4661d6){var _0x528a77=_0x1391;typeof exports=='object'&&typeof module<'u'?module[_0x528a77(0xc2)]=_0x4661d6():typeof define=='function'&&define['amd']?define([],_0x4661d6):(_0x1d060d=typeof globalThis<'u'?globalThis:_0x1d060d||self,_0x1d060d['UniverProCollaborationClientZhTW']=_0x4661d6());}(this,function(){var _0x30f222=_0x1391;return{'collaboration-client':{'collabClient':{'tooltip':{'reconnect':_0x30f222(0xdf)}},'collabStatus':{'fetchMiss':_0x30f222(0xca),'conflict':_0x30f222(0xda),'notCollab':_0x30f222(0xbf),'synced':_0x30f222(0xd7),'syncing':_0x30f222(0xce),'offline':_0x30f222(0xcd)},'session':{'connection-failed':_0x30f222(0xd6),'will-retry':_0x30f222(0xc3),'room-full':_0x30f222(0xcb),'join-failed':_0x30f222(0xd8),'room-not-exists':_0x30f222(0xdc),'room-permission-denied':_0x30f222(0xd0),'room-cnt-exceeds':_0x30f222(0xd4),'collaboration-timeout':_0x30f222(0xd9)},'conflict':{'title':_0x30f222(0xc1),'content':_0x30f222(0xbe)},'permission':{'title':_0x30f222(0xde),'content':'您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。'},'collaboration':{'single-unit':{'warning':_0x30f222(0xc0)},'closeRoom':_0x30f222(0xd2)},'auth':{'needGotoLoginAlert':_0x30f222(0xd5)}}};}));
1
+ function _0x5bfe(_0x3ebdd4,_0x2909c6){_0x3ebdd4=_0x3ebdd4-0x1be;var _0x2ec216=_0x2ec2();var _0x5bfee6=_0x2ec216[_0x3ebdd4];return _0x5bfee6;}function _0x2ec2(){var _0x1d8e3e=['您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','function','本機檔案','176067CStMVe','連線失敗,將在稍後重試連線。','此文件協作人數已達上限,您的編輯將暫存於本機。','正在擷取伺服器資料...','連線失敗,請檢查您的網路。','5387080CXVqIK','已同步','1239546KXHwji','協作衝突','6MolSlE','amd','加入協作失敗,請稍後重試,您的編輯將暫存於本機。','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','353377aySDVB','UniverProCollaborationClientZhTW','232596fqgclo','同步中...','2DnVXuX','475896HzcUgw','4lWoTzv','由於協作房間已關閉,編輯權限已被收回。','編輯衝突','加入協作失敗,您的編輯將暫存於本機。','已離線,編輯將儲存在本機','638845bGENsY'];_0x2ec2=function(){return _0x1d8e3e;};return _0x2ec2();}(function(_0x574e39,_0x486ee8){var _0x54b4fe=_0x5bfe,_0x562ec4=_0x574e39();while(!![]){try{var _0x1c1253=parseInt(_0x54b4fe(0x1d7))/0x1*(-parseInt(_0x54b4fe(0x1bf))/0x2)+parseInt(_0x54b4fe(0x1ca))/0x3+parseInt(_0x54b4fe(0x1c1))/0x4*(-parseInt(_0x54b4fe(0x1c6))/0x5)+parseInt(_0x54b4fe(0x1d3))/0x6*(parseInt(_0x54b4fe(0x1d1))/0x7)+parseInt(_0x54b4fe(0x1c0))/0x8+-parseInt(_0x54b4fe(0x1d9))/0x9+parseInt(_0x54b4fe(0x1cf))/0xa;if(_0x1c1253===_0x486ee8)break;else _0x562ec4['push'](_0x562ec4['shift']());}catch(_0x11951f){_0x562ec4['push'](_0x562ec4['shift']());}}}(_0x2ec2,0x4fd3c),function(_0x3231d1,_0x19a0f1){var _0x50bee1=_0x5bfe;typeof exports=='object'&&typeof module<'u'?module['exports']=_0x19a0f1():typeof define==_0x50bee1(0x1c8)&&define[_0x50bee1(0x1d4)]?define([],_0x19a0f1):(_0x3231d1=typeof globalThis<'u'?globalThis:_0x3231d1||self,_0x3231d1[_0x50bee1(0x1d8)]=_0x19a0f1());}(this,function(){var _0x3b07cf=_0x5bfe;return{'collaboration-client':{'collabClient':{'tooltip':{'reconnect':'點擊重新連線'}},'collabStatus':{'fetchMiss':_0x3b07cf(0x1cd),'conflict':_0x3b07cf(0x1c3),'notCollab':_0x3b07cf(0x1c9),'synced':_0x3b07cf(0x1d0),'syncing':_0x3b07cf(0x1be),'offline':_0x3b07cf(0x1c5)},'session':{'connection-failed':_0x3b07cf(0x1ce),'will-retry':_0x3b07cf(0x1cb),'room-full':_0x3b07cf(0x1cc),'join-failed':_0x3b07cf(0x1d5),'room-not-exists':_0x3b07cf(0x1c4),'room-permission-denied':'沒有協作權限,您的編輯將暫存於本機。','room-cnt-exceeds':'協作文件數量超過限制,您的編輯將暫存於本機。','collaboration-timeout':'伺服器未回應協作請求,您的編輯將儲存在本機。'},'conflict':{'title':_0x3b07cf(0x1d2),'content':_0x3b07cf(0x1d6)},'permission':{'title':'認證錯誤','content':'您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。'},'collaboration':{'single-unit':{'warning':'您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。'},'closeRoom':_0x3b07cf(0x1c2)},'auth':{'needGotoLoginAlert':_0x3b07cf(0x1c7)}}};}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/collaboration-client",
3
- "version": "0.25.0",
3
+ "version": "1.0.0-alpha.0",
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/collaboration": "0.25.0",
71
- "@univerjs-pro/license": "0.25.0",
72
- "@univerjs/core": "0.25.0",
73
- "@univerjs/docs": "0.25.0",
74
- "@univerjs/drawing": "0.25.0",
75
- "@univerjs/network": "0.25.0",
76
- "@univerjs/protocol": "0.25.0",
77
- "@univerjs/sheets": "0.25.0",
78
- "@univerjs/telemetry": "0.25.0"
70
+ "@univerjs-pro/bases": "1.0.0-alpha.0",
71
+ "@univerjs-pro/license": "1.0.0-alpha.0",
72
+ "@univerjs-pro/slides": "1.0.0-alpha.0",
73
+ "@univerjs-pro/collaboration": "1.0.0-alpha.0",
74
+ "@univerjs/core": "1.0.0-alpha.0",
75
+ "@univerjs/docs": "1.0.0-alpha.0",
76
+ "@univerjs/drawing": "1.0.0-alpha.0",
77
+ "@univerjs/protocol": "1.0.0-alpha.0",
78
+ "@univerjs/network": "1.0.0-alpha.0",
79
+ "@univerjs/sheets": "1.0.0-alpha.0",
80
+ "@univerjs/telemetry": "1.0.0-alpha.0"
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.0"
87
+ "vitest": "^4.1.9",
88
+ "@univerjs-infra/shared": "1.0.0-alpha.0"
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'>;