@univerjs-pro/collaboration-client-ui 1.0.0-beta.0 → 1.0.0-beta.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 (104) 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.css +10 -22
  45. package/lib/index.js +1 -1
  46. package/lib/locale/ar-SA.js +1 -1
  47. package/lib/locale/ca-ES.js +1 -1
  48. package/lib/locale/de-DE.js +1 -1
  49. package/lib/locale/en-US.js +1 -1
  50. package/lib/locale/es-ES.js +1 -1
  51. package/lib/locale/fa-IR.js +1 -1
  52. package/lib/locale/fr-FR.js +1 -1
  53. package/lib/locale/id-ID.js +1 -1
  54. package/lib/locale/it-IT.js +1 -1
  55. package/lib/locale/ja-JP.js +1 -1
  56. package/lib/locale/ko-KR.js +1 -1
  57. package/lib/locale/pl-PL.js +1 -1
  58. package/lib/locale/pt-BR.js +1 -1
  59. package/lib/locale/ru-RU.js +1 -1
  60. package/lib/locale/sk-SK.js +1 -1
  61. package/lib/locale/vi-VN.js +1 -1
  62. package/lib/locale/zh-CN.js +1 -1
  63. package/lib/locale/zh-HK.js +1 -1
  64. package/lib/locale/zh-TW.js +1 -1
  65. package/lib/types/commands/operations/update-remote-unit-presence.operation.d.ts +25 -0
  66. package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +2 -4
  67. package/lib/types/controllers/collab-cursor/unit-presence-collab-cursor-entity.d.ts +38 -0
  68. package/lib/types/controllers/collab-cursor/unit-presence-collab-cursor.controller.d.ts +21 -0
  69. package/lib/types/controllers/collab-status/collab-status.controller.d.ts +8 -13
  70. package/lib/types/controllers/data-loader/data-loader.controller.d.ts +1 -2
  71. package/lib/types/controllers/snapshot-loading/snapshot-loading.controller.d.ts +3 -15
  72. package/lib/types/locale/en-US.d.ts +0 -1
  73. package/lib/types/models/cursor.d.ts +0 -25
  74. package/lib/types/plugin.d.ts +3 -2
  75. package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +3 -3
  76. package/lib/types/views/components/SnapshotLoadingTimeout.d.ts +0 -4
  77. package/lib/types/views/shapes/doc-collab-cursor.d.ts +6 -1
  78. package/lib/umd/facade.js +1 -1
  79. package/lib/umd/index.js +1 -1
  80. package/lib/umd/locale/ar-SA.js +1 -1
  81. package/lib/umd/locale/ca-ES.js +1 -1
  82. package/lib/umd/locale/de-DE.js +1 -1
  83. package/lib/umd/locale/en-US.js +1 -1
  84. package/lib/umd/locale/es-ES.js +1 -1
  85. package/lib/umd/locale/fa-IR.js +1 -1
  86. package/lib/umd/locale/fr-FR.js +1 -1
  87. package/lib/umd/locale/id-ID.js +1 -1
  88. package/lib/umd/locale/it-IT.js +1 -1
  89. package/lib/umd/locale/ja-JP.js +1 -1
  90. package/lib/umd/locale/ko-KR.js +1 -1
  91. package/lib/umd/locale/pl-PL.js +1 -1
  92. package/lib/umd/locale/pt-BR.js +1 -1
  93. package/lib/umd/locale/ru-RU.js +1 -1
  94. package/lib/umd/locale/sk-SK.js +1 -1
  95. package/lib/umd/locale/vi-VN.js +1 -1
  96. package/lib/umd/locale/zh-CN.js +1 -1
  97. package/lib/umd/locale/zh-HK.js +1 -1
  98. package/lib/umd/locale/zh-TW.js +1 -1
  99. package/package.json +17 -21
  100. package/lib/types/controllers/collab-cursor/board-collab-cursor-entity.d.ts +0 -31
  101. package/lib/types/controllers/collab-cursor/board-collab-cursor-render.controller.d.ts +0 -21
  102. package/lib/types/controllers/collab-cursor/slide-collab-cursor-entity.d.ts +0 -34
  103. package/lib/types/controllers/collab-cursor/slide-collab-cursor-render.controller.d.ts +0 -21
  104. package/lib/types/views/shapes/slide-collab-cursor.shape.d.ts +0 -15
@@ -1 +1 @@
1
- function _0x2196(_0x41d35f,_0x2c351b){_0x41d35f=_0x41d35f-0x1d5;var _0x23f86b=_0x23f8();var _0x219682=_0x23f86b[_0x41d35f];return _0x219682;}function _0x23f8(){var _0x455c2c=['你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','UniverProCollaborationClientUiZhCN','服务器未响应,你的编辑将在本地缓存','amd','15875vLdTAO','正在加载表格','5243204PJKivO','12NvJcGH','64YsyoCZ','公式计算已开始。','function','6EPnrgS','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','395285sOaAlZ','已同步','数据加载停留在\x20{0}/{1},请刷新页面后重试。','1530USjgMd','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','协同房间已满,你的编辑将在本地缓存','798258LxDeHS','编辑冲突','点击重新连接','18605246yGZoSh','刷新页面','exports','本地文件','14ViBkpf','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','目前无法执行公式计算。请稍后重试。','856737OoxRGB','88947QzwFuJ','保存中...','你有离线编辑未保存到服务器,请检查网络后重试。'];_0x23f8=function(){return _0x455c2c;};return _0x23f8();}(function(_0x2201ad,_0x4d334c){var _0x49b3d1=_0x2196,_0x1e39ba=_0x2201ad();while(!![]){try{var _0x57afa9=parseInt(_0x49b3d1(0x1f0))/0x1*(-parseInt(_0x49b3d1(0x1e5))/0x2)+parseInt(_0x49b3d1(0x1de))/0x3+-parseInt(_0x49b3d1(0x1f2))/0x4+-parseInt(_0x49b3d1(0x1d8))/0x5*(parseInt(_0x49b3d1(0x1d6))/0x6)+parseInt(_0x49b3d1(0x1e8))/0x7*(-parseInt(_0x49b3d1(0x1f4))/0x8)+-parseInt(_0x49b3d1(0x1e9))/0x9*(-parseInt(_0x49b3d1(0x1db))/0xa)+-parseInt(_0x49b3d1(0x1e1))/0xb*(-parseInt(_0x49b3d1(0x1f3))/0xc);if(_0x57afa9===_0x4d334c)break;else _0x1e39ba['push'](_0x1e39ba['shift']());}catch(_0x53f6dc){_0x1e39ba['push'](_0x1e39ba['shift']());}}}(_0x23f8,0xf1914),function(_0x8847d6,_0x233db3){var _0x142410=_0x2196;typeof exports=='object'&&typeof module<'u'?module[_0x142410(0x1e3)]=_0x233db3():typeof define==_0x142410(0x1d5)&&define[_0x142410(0x1ef)]?define([],_0x233db3):(_0x8847d6=typeof globalThis<'u'?globalThis:_0x8847d6||self,_0x8847d6[_0x142410(0x1ed)]=_0x233db3());}(this,function(){var _0x5a5f60=_0x2196;return{'collaboration-client-ui':{'collabClient':{'tooltip':{'reconnect':_0x5a5f60(0x1e0)}},'collabStatus':{'fetchMiss':'正在拉取服务端数据...','conflict':_0x5a5f60(0x1df),'notCollab':_0x5a5f60(0x1e4),'synced':_0x5a5f60(0x1d9),'syncing':_0x5a5f60(0x1ea),'offline':'已离线,编辑将在本地缓存'},'snapshotLoading':{'loadingSheet':_0x5a5f60(0x1f1),'timeout':_0x5a5f60(0x1da),'refresh':_0x5a5f60(0x1e2)},'session':{'connection-failed':'连接失败,请检查你的网络','will-retry':'连接失败,将在一会儿之后重试连接','room-full':_0x5a5f60(0x1dd),'collaboration-timeout':_0x5a5f60(0x1ee)},'conflict':{'title':'协同冲突','content':_0x5a5f60(0x1dc)},'permission':{'title':'权限错误','content':_0x5a5f60(0x1ec)},'collaboration':{'offline-data-not-saved':_0x5a5f60(0x1eb),'single-unit':{'warning':_0x5a5f60(0x1e6)},'closeRoom':'由于协同房间被关闭,编辑权限被收回。'},'auth':{'needGotoLoginAlert':_0x5a5f60(0x1d7)},'formula':{'calculation':{'started':_0x5a5f60(0x1f5),'waiting':'公式计算队列已满,正在等待空闲位置...','unable':_0x5a5f60(0x1e7)}}}};}));
1
+ function _0x2878(_0x2b24a2,_0xf217ba){_0x2b24a2=_0x2b24a2-0xbc;var _0x27d26e=_0x27d2();var _0x28786e=_0x27d26e[_0x2b24a2];return _0x28786e;}function _0x27d2(){var _0x13de18=['1414144XZuLpL','连接失败,将在一会儿之后重试连接','保存中...','权限错误','连接失败,请检查你的网络','27toSLBj','UniverProCollaborationClientUiZhCN','33114xEcDQN','协同房间已满,你的编辑将在本地缓存','1285630nCoKsq','已离线,编辑将在本地缓存','386950hzGukB','581PrMeeS','目前无法执行公式计算。请稍后重试。','amd','object','function','56442sBVIIi','已同步','点击重新连接','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','314737BYLdbR','exports','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','3355352QYVuxW','协同冲突','正在拉取服务端数据...','刷新页面','本地文件','14qxvGle','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。'];_0x27d2=function(){return _0x13de18;};return _0x27d2();}(function(_0xd1abc7,_0x4c2212){var _0x417f75=_0x2878,_0x25f243=_0xd1abc7();while(!![]){try{var _0x29a11e=-parseInt(_0x417f75(0xdb))/0x1+parseInt(_0x417f75(0xc3))/0x2*(parseInt(_0x417f75(0xd6))/0x3)+parseInt(_0x417f75(0xc5))/0x4+-parseInt(_0x417f75(0xd0))/0x5+parseInt(_0x417f75(0xcc))/0x6*(parseInt(_0x417f75(0xd1))/0x7)+-parseInt(_0x417f75(0xbe))/0x8+parseInt(_0x417f75(0xca))/0x9*(parseInt(_0x417f75(0xce))/0xa);if(_0x29a11e===_0x4c2212)break;else _0x25f243['push'](_0x25f243['shift']());}catch(_0x3976c6){_0x25f243['push'](_0x25f243['shift']());}}}(_0x27d2,0x7e54e),function(_0x49da04,_0x533f11){var _0x30ea3b=_0x2878;typeof exports==_0x30ea3b(0xd4)&&typeof module<'u'?module[_0x30ea3b(0xbc)]=_0x533f11():typeof define==_0x30ea3b(0xd5)&&define[_0x30ea3b(0xd3)]?define([],_0x533f11):(_0x49da04=typeof globalThis<'u'?globalThis:_0x49da04||self,_0x49da04[_0x30ea3b(0xcb)]=_0x533f11());}(this,function(){var _0x3d099f=_0x2878;return{'collaboration-client-ui':{'collabClient':{'tooltip':{'reconnect':_0x3d099f(0xd8)}},'collabStatus':{'fetchMiss':_0x3d099f(0xc0),'conflict':'编辑冲突','notCollab':_0x3d099f(0xc2),'synced':_0x3d099f(0xd7),'syncing':_0x3d099f(0xc7),'offline':_0x3d099f(0xcf)},'snapshotLoading':{'timeout':'数据加载停留在\x20{0}/{1},请刷新页面后重试。','refresh':_0x3d099f(0xc1)},'session':{'connection-failed':_0x3d099f(0xc9),'will-retry':_0x3d099f(0xc6),'room-full':_0x3d099f(0xcd),'collaboration-timeout':'服务器未响应,你的编辑将在本地缓存'},'conflict':{'title':_0x3d099f(0xbf),'content':_0x3d099f(0xbd)},'permission':{'title':_0x3d099f(0xc8),'content':_0x3d099f(0xda)},'collaboration':{'offline-data-not-saved':'你有离线编辑未保存到服务器,请检查网络后重试。','single-unit':{'warning':_0x3d099f(0xd9)},'closeRoom':'由于协同房间被关闭,编辑权限被收回。'},'auth':{'needGotoLoginAlert':_0x3d099f(0xc4)},'formula':{'calculation':{'started':'公式计算已开始。','waiting':'公式计算队列已满,正在等待空闲位置...','unable':_0x3d099f(0xd2)}}}};}));
@@ -1 +1 @@
1
- function _0x5eab(_0x686106,_0x56f22b){_0x686106=_0x686106-0x1f3;var _0x2f0736=_0x2f07();var _0x5eab20=_0x2f0736[_0x686106];return _0x5eab20;}(function(_0x3eb472,_0x1db0f1){var _0x21e187=_0x5eab,_0x47903c=_0x3eb472();while(!![]){try{var _0x5c347d=parseInt(_0x21e187(0x207))/0x1+-parseInt(_0x21e187(0x202))/0x2*(parseInt(_0x21e187(0x20e))/0x3)+parseInt(_0x21e187(0x1fe))/0x4*(parseInt(_0x21e187(0x201))/0x5)+parseInt(_0x21e187(0x1f9))/0x6*(parseInt(_0x21e187(0x1fc))/0x7)+-parseInt(_0x21e187(0x20b))/0x8*(-parseInt(_0x21e187(0x1f5))/0x9)+parseInt(_0x21e187(0x204))/0xa*(parseInt(_0x21e187(0x211))/0xb)+parseInt(_0x21e187(0x1fb))/0xc*(-parseInt(_0x21e187(0x20a))/0xd);if(_0x5c347d===_0x1db0f1)break;else _0x47903c['push'](_0x47903c['shift']());}catch(_0x1ae4c8){_0x47903c['push'](_0x47903c['shift']());}}}(_0x2f07,0x5d549),function(_0x30b359,_0x34414c){var _0x527d9f=_0x5eab;typeof exports=='object'&&typeof module<'u'?module[_0x527d9f(0x212)]=_0x34414c():typeof define=='function'&&define[_0x527d9f(0x20c)]?define([],_0x34414c):(_0x30b359=typeof globalThis<'u'?globalThis:_0x30b359||self,_0x30b359['UniverProCollaborationClientUiZhHK']=_0x34414c());}(this,function(){var _0x4e8ecd=_0x5eab;return{'collaboration-client-ui':{'collabClient':{'tooltip':{'reconnect':'點擊重新連線'}},'collabStatus':{'fetchMiss':'正在擷取伺服器資料...','conflict':_0x4e8ecd(0x206),'notCollab':_0x4e8ecd(0x1fa),'synced':_0x4e8ecd(0x209),'syncing':_0x4e8ecd(0x1ff),'offline':'已離線,編輯將儲存在本機'},'snapshotLoading':{'loadingSheet':_0x4e8ecd(0x1f7),'timeout':_0x4e8ecd(0x210),'refresh':'重新整理頁面'},'session':{'connection-failed':_0x4e8ecd(0x1fd),'will-retry':_0x4e8ecd(0x208),'room-full':_0x4e8ecd(0x1f6),'collaboration-timeout':_0x4e8ecd(0x20f)},'conflict':{'title':_0x4e8ecd(0x1f3),'content':_0x4e8ecd(0x1f8)},'permission':{'title':_0x4e8ecd(0x20d),'content':_0x4e8ecd(0x205)},'collaboration':{'offline-data-not-saved':_0x4e8ecd(0x200),'single-unit':{'warning':_0x4e8ecd(0x1f4)},'closeRoom':'由於協作房間已關閉,編輯權限已被收回。'},'auth':{'needGotoLoginAlert':'您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。'},'formula':{'calculation':{'started':'公式計算已開始。','waiting':'公式計算佇列已滿,正在等待可用資源...','unable':_0x4e8ecd(0x203)}}}};}));function _0x2f07(){var _0x50a7e6=['12fVtjTg','本機檔案','4318056CKZAJA','2475823HLEhJN','連線失敗,請檢查您的網絡。','8aXxTgn','同步中...','您有未儲存至伺服器的離線編輯,請檢查網絡後重試。','324125VXzMja','5098UCLwWc','目前無法執行公式計算,請稍後重試。','440ZwMgLE','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','編輯衝突','18959uNyAec','連線失敗,將在稍後重試連線。','已同步','26AzXPMv','152ScvnaC','amd','認證錯誤','585GGHWkj','伺服器未回應協作請求,您的編輯將儲存在本機。','資料載入停留在\x20{0}/{1},請重新整理頁面後再試。','105809uQVKTT','exports','協作衝突','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','151479fyQHpa','協作房間已滿,您的編輯將暫存於本機。','正在載入工作表','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。'];_0x2f07=function(){return _0x50a7e6;};return _0x2f07();}
1
+ function _0x5b64(_0x46a035,_0x38584d){_0x46a035=_0x46a035-0x13f;var _0x3f3520=_0x3f35();var _0x5b6421=_0x3f3520[_0x46a035];return _0x5b6421;}(function(_0x31e32f,_0x1a04a1){var _0x41ef2f=_0x5b64,_0x3dd58b=_0x31e32f();while(!![]){try{var _0x356f72=parseInt(_0x41ef2f(0x148))/0x1+parseInt(_0x41ef2f(0x14d))/0x2*(parseInt(_0x41ef2f(0x150))/0x3)+-parseInt(_0x41ef2f(0x161))/0x4+-parseInt(_0x41ef2f(0x15f))/0x5*(parseInt(_0x41ef2f(0x14e))/0x6)+parseInt(_0x41ef2f(0x140))/0x7*(-parseInt(_0x41ef2f(0x13f))/0x8)+-parseInt(_0x41ef2f(0x154))/0x9*(-parseInt(_0x41ef2f(0x159))/0xa)+-parseInt(_0x41ef2f(0x14a))/0xb*(-parseInt(_0x41ef2f(0x15c))/0xc);if(_0x356f72===_0x1a04a1)break;else _0x3dd58b['push'](_0x3dd58b['shift']());}catch(_0x2eef2a){_0x3dd58b['push'](_0x3dd58b['shift']());}}}(_0x3f35,0xe9053),function(_0x28f2ca,_0x3464c3){var _0x140b90=_0x5b64;typeof exports=='object'&&typeof module<'u'?module[_0x140b90(0x151)]=_0x3464c3():typeof define==_0x140b90(0x146)&&define[_0x140b90(0x14c)]?define([],_0x3464c3):(_0x28f2ca=typeof globalThis<'u'?globalThis:_0x28f2ca||self,_0x28f2ca[_0x140b90(0x157)]=_0x3464c3());}(this,function(){var _0x2f26f2=_0x5b64;return{'collaboration-client-ui':{'collabClient':{'tooltip':{'reconnect':_0x2f26f2(0x152)}},'collabStatus':{'fetchMiss':_0x2f26f2(0x147),'conflict':_0x2f26f2(0x14f),'notCollab':_0x2f26f2(0x160),'synced':'已同步','syncing':_0x2f26f2(0x143),'offline':_0x2f26f2(0x15b)},'snapshotLoading':{'timeout':_0x2f26f2(0x145),'refresh':_0x2f26f2(0x163)},'session':{'connection-failed':_0x2f26f2(0x15e),'will-retry':_0x2f26f2(0x144),'room-full':_0x2f26f2(0x158),'collaboration-timeout':_0x2f26f2(0x153)},'conflict':{'title':_0x2f26f2(0x155),'content':_0x2f26f2(0x14b)},'permission':{'title':_0x2f26f2(0x156),'content':_0x2f26f2(0x149)},'collaboration':{'offline-data-not-saved':_0x2f26f2(0x15a),'single-unit':{'warning':_0x2f26f2(0x142)},'closeRoom':_0x2f26f2(0x164)},'auth':{'needGotoLoginAlert':_0x2f26f2(0x15d)},'formula':{'calculation':{'started':_0x2f26f2(0x141),'waiting':'公式計算佇列已滿,正在等待可用資源...','unable':_0x2f26f2(0x162)}}}};}));function _0x3f35(){var _0x1e943d=['您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','同步中...','連線失敗,將在稍後重試連線。','資料載入停留在\x20{0}/{1},請重新整理頁面後再試。','function','正在擷取伺服器資料...','517748oUbQtv','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','24134sTEyup','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','amd','14iAhMdE','1506geBztH','編輯衝突','726171csJRQi','exports','點擊重新連線','伺服器未回應協作請求,您的編輯將儲存在本機。','9657fsGomP','協作衝突','認證錯誤','UniverProCollaborationClientUiZhHK','協作房間已滿,您的編輯將暫存於本機。','14330pMfzGg','您有未儲存至伺服器的離線編輯,請檢查網絡後重試。','已離線,編輯將儲存在本機','312rmYJes','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','連線失敗,請檢查您的網絡。','27035EYRYpX','本機檔案','3830500cckunL','目前無法執行公式計算,請稍後重試。','重新整理頁面','由於協作房間已關閉,編輯權限已被收回。','226344XFKqgm','133oWDApq','公式計算已開始。'];_0x3f35=function(){return _0x1e943d;};return _0x3f35();}
@@ -1 +1 @@
1
- function _0x2411(_0x1db3a0,_0x4cf1d1){_0x1db3a0=_0x1db3a0-0x184;var _0x46b5c5=_0x46b5();var _0x2411f3=_0x46b5c5[_0x1db3a0];return _0x2411f3;}function _0x46b5(){var _0x15dbf7=['您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','連線失敗,請檢查您的網路。','協作房間已滿,您的編輯將暫存於本機。','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','4439030PqyuvZ','資料載入停留在\x20{0}/{1},請重新整理頁面後再試。','637887prXqpE','點擊重新連線','UniverProCollaborationClientUiZhTW','2843kGAHjP','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','重新整理頁面','連線失敗,將在稍後重試連線。','目前無法執行公式計算,請稍後重試。','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','協作衝突','4nKyVdf','伺服器未回應協作請求,您的編輯將儲存在本機。','4kDXvbk','本機檔案','2508723UEDXWE','2784192NSMwLW','function','公式計算已開始。','exports','149926ItGjiH','正在擷取伺服器資料...','已離線,編輯將儲存在本機','編輯衝突','object','1225045xgcnhr','由於協作房間已關閉,編輯權限已被收回。','同步中...','176MUiJlI','公式計算佇列已滿,正在等待可用資源...'];_0x46b5=function(){return _0x15dbf7;};return _0x46b5();}(function(_0xc6f9aa,_0x35f47d){var _0x401095=_0x2411,_0x308d04=_0xc6f9aa();while(!![]){try{var _0xc5e776=-parseInt(_0x401095(0x198))/0x1*(-parseInt(_0x401095(0x1a1))/0x2)+-parseInt(_0x401095(0x195))/0x3+-parseInt(_0x401095(0x19f))/0x4*(-parseInt(_0x401095(0x18a))/0x5)+parseInt(_0x401095(0x1a4))/0x6+parseInt(_0x401095(0x185))/0x7*(parseInt(_0x401095(0x18d))/0x8)+-parseInt(_0x401095(0x1a3))/0x9+-parseInt(_0x401095(0x193))/0xa;if(_0xc5e776===_0x35f47d)break;else _0x308d04['push'](_0x308d04['shift']());}catch(_0x50d0f0){_0x308d04['push'](_0x308d04['shift']());}}}(_0x46b5,0x3d314),function(_0x2b3e15,_0x25846c){var _0x1953b3=_0x2411;typeof exports==_0x1953b3(0x189)&&typeof module<'u'?module[_0x1953b3(0x184)]=_0x25846c():typeof define==_0x1953b3(0x1a5)&&define['amd']?define([],_0x25846c):(_0x2b3e15=typeof globalThis<'u'?globalThis:_0x2b3e15||self,_0x2b3e15[_0x1953b3(0x197)]=_0x25846c());}(this,function(){var _0x2cf76b=_0x2411;return{'collaboration-client-ui':{'collabClient':{'tooltip':{'reconnect':_0x2cf76b(0x196)}},'collabStatus':{'fetchMiss':_0x2cf76b(0x186),'conflict':_0x2cf76b(0x188),'notCollab':_0x2cf76b(0x1a2),'synced':'已同步','syncing':_0x2cf76b(0x18c),'offline':_0x2cf76b(0x187)},'snapshotLoading':{'loadingSheet':'正在載入工作表','timeout':_0x2cf76b(0x194),'refresh':_0x2cf76b(0x19a)},'session':{'connection-failed':_0x2cf76b(0x190),'will-retry':_0x2cf76b(0x19b),'room-full':_0x2cf76b(0x191),'collaboration-timeout':_0x2cf76b(0x1a0)},'conflict':{'title':_0x2cf76b(0x19e),'content':_0x2cf76b(0x199)},'permission':{'title':'認證錯誤','content':_0x2cf76b(0x18f)},'collaboration':{'offline-data-not-saved':'您有未儲存至伺服器的離線編輯,請檢查網路後重試。','single-unit':{'warning':_0x2cf76b(0x192)},'closeRoom':_0x2cf76b(0x18b)},'auth':{'needGotoLoginAlert':_0x2cf76b(0x19d)},'formula':{'calculation':{'started':_0x2cf76b(0x1a6),'waiting':_0x2cf76b(0x18e),'unable':_0x2cf76b(0x19c)}}}};}));
1
+ (function(_0x440992,_0x315ef6){var _0x36c900=_0x4547,_0x27fa0c=_0x440992();while(!![]){try{var _0x239d82=parseInt(_0x36c900(0xf0))/0x1*(parseInt(_0x36c900(0xe0))/0x2)+-parseInt(_0x36c900(0xf2))/0x3*(parseInt(_0x36c900(0xdc))/0x4)+parseInt(_0x36c900(0xdb))/0x5+-parseInt(_0x36c900(0xe6))/0x6+parseInt(_0x36c900(0xdf))/0x7*(-parseInt(_0x36c900(0xed))/0x8)+parseInt(_0x36c900(0xf4))/0x9*(-parseInt(_0x36c900(0xd6))/0xa)+parseInt(_0x36c900(0xef))/0xb*(parseInt(_0x36c900(0xf3))/0xc);if(_0x239d82===_0x315ef6)break;else _0x27fa0c['push'](_0x27fa0c['shift']());}catch(_0x24ae09){_0x27fa0c['push'](_0x27fa0c['shift']());}}}(_0x4f2f,0xb20b9),function(_0x59749f,_0x3d54b7){var _0x381310=_0x4547;typeof exports==_0x381310(0xe7)&&typeof module<'u'?module['exports']=_0x3d54b7():typeof define==_0x381310(0xd4)&&define[_0x381310(0xe8)]?define([],_0x3d54b7):(_0x59749f=typeof globalThis<'u'?globalThis:_0x59749f||self,_0x59749f[_0x381310(0xe9)]=_0x3d54b7());}(this,function(){var _0x34e684=_0x4547;return{'collaboration-client-ui':{'collabClient':{'tooltip':{'reconnect':'點擊重新連線'}},'collabStatus':{'fetchMiss':_0x34e684(0xeb),'conflict':_0x34e684(0xec),'notCollab':_0x34e684(0xd9),'synced':_0x34e684(0xd8),'syncing':_0x34e684(0xd5),'offline':_0x34e684(0xee)},'snapshotLoading':{'timeout':_0x34e684(0xdd),'refresh':_0x34e684(0xe2)},'session':{'connection-failed':_0x34e684(0xd7),'will-retry':_0x34e684(0xea),'room-full':_0x34e684(0xe5),'collaboration-timeout':_0x34e684(0xd3)},'conflict':{'title':_0x34e684(0xda),'content':'您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。'},'permission':{'title':_0x34e684(0xe4),'content':_0x34e684(0xde)},'collaboration':{'offline-data-not-saved':'您有未儲存至伺服器的離線編輯,請檢查網路後重試。','single-unit':{'warning':'您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。'},'closeRoom':_0x34e684(0xe1)},'auth':{'needGotoLoginAlert':_0x34e684(0xe3)},'formula':{'calculation':{'started':_0x34e684(0xf1),'waiting':'公式計算佇列已滿,正在等待可用資源...','unable':_0x34e684(0xd2)}}}};}));function _0x4547(_0x1f4ed3,_0x3e431d){_0x1f4ed3=_0x1f4ed3-0xd2;var _0x4f2ff0=_0x4f2f();var _0x45475d=_0x4f2ff0[_0x1f4ed3];return _0x45475d;}function _0x4f2f(){var _0x19f704=['17410PwaFZV','連線失敗,請檢查您的網路。','已同步','本機檔案','協作衝突','378570XUFXHv','23652tXoYmJ','資料載入停留在\x20{0}/{1},請重新整理頁面後再試。','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','65233omAheB','282106wTcSVX','由於協作房間已關閉,編輯權限已被收回。','重新整理頁面','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','認證錯誤','協作房間已滿,您的編輯將暫存於本機。','113376puWbvE','object','amd','UniverProCollaborationClientUiZhTW','連線失敗,將在稍後重試連線。','正在擷取伺服器資料...','編輯衝突','840XiexVt','已離線,編輯將儲存在本機','26323649KaIXPR','3bRZtuY','公式計算已開始。','237BTETcL','12UHWgxK','3609oXiqCN','目前無法執行公式計算,請稍後重試。','伺服器未回應協作請求,您的編輯將儲存在本機。','function','同步中...'];_0x4f2f=function(){return _0x19f704;};return _0x4f2f();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/collaboration-client-ui",
3
- "version": "1.0.0-beta.0",
3
+ "version": "1.0.0-beta.1",
4
4
  "private": false,
5
5
  "description": "Collaboration UI integration for Univer Pro clients.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -68,23 +68,20 @@
68
68
  },
69
69
  "dependencies": {
70
70
  "@univerjs/icons": "1.35.0",
71
- "@univerjs-pro/boards-ui": "1.0.0-beta.0",
72
- "@univerjs-pro/collaboration": "1.0.0-beta.0",
73
- "@univerjs-pro/collaboration-client": "1.0.0-beta.0",
74
- "@univerjs/core": "1.0.0-beta.0",
75
- "@univerjs-pro/slides-ui": "1.0.0-beta.0",
76
- "@univerjs-pro/license": "1.0.0-beta.0",
77
- "@univerjs/design": "1.0.0-beta.0",
78
- "@univerjs/docs": "1.0.0-beta.0",
79
- "@univerjs/docs-ui": "1.0.0-beta.0",
80
- "@univerjs/engine-formula": "1.0.0-beta.0",
81
- "@univerjs/engine-render": "1.0.0-beta.0",
82
- "@univerjs/network": "1.0.0-beta.0",
83
- "@univerjs/protocol": "1.0.0-beta.0",
84
- "@univerjs/rpc": "1.0.0-beta.0",
85
- "@univerjs/sheets-ui": "1.0.0-beta.0",
86
- "@univerjs/ui": "1.0.0-beta.0",
87
- "@univerjs/sheets": "1.0.0-beta.0"
71
+ "@univerjs-pro/collaboration": "1.0.0-beta.1",
72
+ "@univerjs-pro/license": "1.0.0-beta.1",
73
+ "@univerjs-pro/collaboration-client": "1.0.0-beta.1",
74
+ "@univerjs/core": "1.0.0-beta.1",
75
+ "@univerjs/engine-formula": "1.0.0-beta.1",
76
+ "@univerjs/docs": "1.0.0-beta.1",
77
+ "@univerjs/engine-render": "1.0.0-beta.1",
78
+ "@univerjs/design": "1.0.0-beta.1",
79
+ "@univerjs/docs-ui": "1.0.0-beta.1",
80
+ "@univerjs/network": "1.0.0-beta.1",
81
+ "@univerjs/protocol": "1.0.0-beta.1",
82
+ "@univerjs/sheets": "1.0.0-beta.1",
83
+ "@univerjs/sheets-ui": "1.0.0-beta.1",
84
+ "@univerjs/ui": "1.0.0-beta.1"
88
85
  },
89
86
  "devDependencies": {
90
87
  "postcss": "^8.5.25",
@@ -93,9 +90,8 @@
93
90
  "tailwindcss": "3.4.17",
94
91
  "typescript": "^6.0.3",
95
92
  "vitest": "^4.1.10",
96
- "@univerjs-infra/shared": "1.0.0-beta.0",
97
- "@univerjs-pro/boards": "1.0.0-beta.0",
98
- "@univerjs-pro/slides": "1.0.0-beta.0"
93
+ "@univerjs-infra/shared": "1.0.0-beta.1",
94
+ "@univerjs/rpc": "1.0.0-beta.1"
99
95
  },
100
96
  "scripts": {
101
97
  "test": "vitest run --pool=threads",
@@ -1,31 +0,0 @@
1
- import type { ICollaborationUser } from '@univerjs-pro/collaboration';
2
- import type { CollaborationSession } from '@univerjs-pro/collaboration-client';
3
- import type { IBoardCollabSelectionPayload, IElementCollabCursor } from '../../models/cursor';
4
- import { IBoardElementStateService } from '@univerjs-pro/boards-ui';
5
- import { MemberService } from '@univerjs-pro/collaboration-client';
6
- import { RxDisposable } from '@univerjs/core';
7
- import { ColorAssignService } from '../../services/color-assign/color-assign.service';
8
- export declare function parseBoardCursorSelection(selection: string): IBoardCollabSelectionPayload | null;
9
- export declare class BoardCollabCursorEntity extends RxDisposable {
10
- readonly unitID: string;
11
- private readonly _session;
12
- private readonly _colorAssignService;
13
- private readonly _memberService;
14
- private readonly _boardElementStateService;
15
- private _online;
16
- private _init;
17
- private _cursorInfo$;
18
- cursorInfo$: import("rxjs").Observable<Map<string, IElementCollabCursor>>;
19
- get cursorInfo(): Readonly<Map<string, IElementCollabCursor>>;
20
- private _roomMembers$;
21
- roomMembers$: import("rxjs").Observable<ICollaborationUser[]>;
22
- get roomMembers(): Readonly<ICollaborationUser[]>;
23
- constructor(unitID: string, _session: CollaborationSession, _colorAssignService: ColorAssignService, _memberService: MemberService, _boardElementStateService: IBoardElementStateService);
24
- dispose(): void;
25
- init(): void;
26
- private _onCursorUpdate;
27
- private _onCursorDelete;
28
- private _updateLocalCursor;
29
- private _toggleOnline;
30
- private _toggleOffline;
31
- }
@@ -1,21 +0,0 @@
1
- import type { BoardModel } from '@univerjs-pro/boards';
2
- import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
3
- import { RxDisposable, ThemeService } from '@univerjs/core';
4
- import { CollabCursorController } from './collab-cursor.controller';
5
- export declare class BoardCollabCursorRenderController extends RxDisposable implements IRenderModule {
6
- private readonly _context;
7
- private readonly _collabCursorController;
8
- private readonly _themeService;
9
- private _cursors;
10
- private _renderScheduled;
11
- private _isApplyingOverlays;
12
- private _latestCursors;
13
- constructor(_context: IRenderContext<BoardModel>, _collabCursorController: CollabCursorController, _themeService: ThemeService);
14
- dispose(): void;
15
- private _init;
16
- private _scheduleRender;
17
- private _render;
18
- private _removeCollabCursors;
19
- private _getSceneObjectByKey;
20
- private _getObjectBounds;
21
- }
@@ -1,34 +0,0 @@
1
- import type { ICollaborationUser } from '@univerjs-pro/collaboration';
2
- import type { CollaborationSession } from '@univerjs-pro/collaboration-client';
3
- import type { IElementCollabCursor, ISlideCollabSelectionPayload } from '../../models/cursor';
4
- import { MemberService } from '@univerjs-pro/collaboration-client';
5
- import { ISlideDrawingStateService } from '@univerjs-pro/slides-ui';
6
- import { RxDisposable } from '@univerjs/core';
7
- import { ColorAssignService } from '../../services/color-assign/color-assign.service';
8
- export declare function parseSlideCursorSelection(selection: string): ISlideCollabSelectionPayload | null;
9
- /**
10
- * Stores slide collaborator cursor presence without mutating local slide selection.
11
- */
12
- export declare class SlideCollabCursorEntity extends RxDisposable {
13
- readonly unitID: string;
14
- private readonly _session;
15
- private readonly _colorAssignService;
16
- private readonly _memberService;
17
- private readonly _slideDrawingStateService;
18
- private _online;
19
- private _init;
20
- private _cursorInfo$;
21
- cursorInfo$: import("rxjs").Observable<Map<string, IElementCollabCursor>>;
22
- get cursorInfo(): Readonly<Map<string, IElementCollabCursor>>;
23
- private _roomMembers$;
24
- roomMembers$: import("rxjs").Observable<ICollaborationUser[]>;
25
- get roomMembers(): Readonly<ICollaborationUser[]>;
26
- constructor(unitID: string, _session: CollaborationSession, _colorAssignService: ColorAssignService, _memberService: MemberService, _slideDrawingStateService: ISlideDrawingStateService);
27
- dispose(): void;
28
- init(): void;
29
- private _onCursorUpdate;
30
- private _onCursorDelete;
31
- private _updateLocalCursor;
32
- private _toggleOnline;
33
- private _toggleOffline;
34
- }
@@ -1,21 +0,0 @@
1
- import type { SlideModel } from '@univerjs-pro/slides';
2
- import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
3
- import { RxDisposable, ThemeService } from '@univerjs/core';
4
- import { CollabCursorController } from './collab-cursor.controller';
5
- export declare class SlideCollabCursorRenderController extends RxDisposable implements IRenderModule {
6
- private readonly _context;
7
- private readonly _collabCursorController;
8
- private readonly _themeService;
9
- private _cursors;
10
- private _renderScheduled;
11
- private _isApplyingOverlays;
12
- private _latestCursors;
13
- constructor(_context: IRenderContext<SlideModel>, _collabCursorController: CollabCursorController, _themeService: ThemeService);
14
- dispose(): void;
15
- private _init;
16
- private _scheduleRender;
17
- private _render;
18
- private _removeCollabCursors;
19
- private _getSceneObjectByKey;
20
- private _getObjectBounds;
21
- }
@@ -1,15 +0,0 @@
1
- import type { IShapeProps } from '@univerjs/engine-render';
2
- import type { IElementCollabCursor } from '../../models/cursor';
3
- import { Shape } from '@univerjs/engine-render';
4
- export declare const SLIDE_COLLAB_CURSOR_ZINDEX = 5002;
5
- export interface ISlideCollabCursorShapeProps extends IShapeProps, IElementCollabCursor {
6
- showText?: boolean;
7
- }
8
- export declare class SlideCollabCursorShape<T extends ISlideCollabCursorShapeProps = ISlideCollabCursorShapeProps> extends Shape<T> {
9
- private _color;
10
- private _name;
11
- private _showText;
12
- constructor(key?: string, props?: T);
13
- setShapeProps(props: Partial<ISlideCollabCursorShapeProps>): void;
14
- protected _draw(ctx: CanvasRenderingContext2D): void;
15
- }