@univerjs-pro/collaboration-client-ui 1.0.0-alpha.2 → 1.0.0-alpha.4

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 (101) hide show
  1. package/README.md +6 -3
  2. package/lib/cjs/facade.js +1 -1
  3. package/lib/cjs/index.js +1 -1
  4. package/lib/cjs/locale/ar-SA.js +1 -1
  5. package/lib/cjs/locale/ca-ES.js +1 -1
  6. package/lib/cjs/locale/de-DE.js +1 -1
  7. package/lib/cjs/locale/en-US.js +1 -1
  8. package/lib/cjs/locale/es-ES.js +1 -1
  9. package/lib/cjs/locale/fa-IR.js +1 -1
  10. package/lib/cjs/locale/fr-FR.js +1 -1
  11. package/lib/cjs/locale/id-ID.js +1 -1
  12. package/lib/cjs/locale/it-IT.js +1 -1
  13. package/lib/cjs/locale/ja-JP.js +1 -1
  14. package/lib/cjs/locale/ko-KR.js +1 -1
  15. package/lib/cjs/locale/pl-PL.js +1 -1
  16. package/lib/cjs/locale/pt-BR.js +1 -1
  17. package/lib/cjs/locale/ru-RU.js +1 -1
  18. package/lib/cjs/locale/sk-SK.js +1 -1
  19. package/lib/cjs/locale/vi-VN.js +1 -1
  20. package/lib/cjs/locale/zh-CN.js +1 -1
  21. package/lib/cjs/locale/zh-HK.js +1 -1
  22. package/lib/cjs/locale/zh-TW.js +1 -1
  23. package/lib/es/facade.js +1 -1
  24. package/lib/es/index.js +1 -1
  25. package/lib/es/locale/ar-SA.js +1 -1
  26. package/lib/es/locale/ca-ES.js +1 -1
  27. package/lib/es/locale/de-DE.js +1 -1
  28. package/lib/es/locale/en-US.js +1 -1
  29. package/lib/es/locale/es-ES.js +1 -1
  30. package/lib/es/locale/fa-IR.js +1 -1
  31. package/lib/es/locale/fr-FR.js +1 -1
  32. package/lib/es/locale/id-ID.js +1 -1
  33. package/lib/es/locale/it-IT.js +1 -1
  34. package/lib/es/locale/ja-JP.js +1 -1
  35. package/lib/es/locale/ko-KR.js +1 -1
  36. package/lib/es/locale/pl-PL.js +1 -1
  37. package/lib/es/locale/pt-BR.js +1 -1
  38. package/lib/es/locale/ru-RU.js +1 -1
  39. package/lib/es/locale/sk-SK.js +1 -1
  40. package/lib/es/locale/vi-VN.js +1 -1
  41. package/lib/es/locale/zh-CN.js +1 -1
  42. package/lib/es/locale/zh-HK.js +1 -1
  43. package/lib/es/locale/zh-TW.js +1 -1
  44. package/lib/facade.js +1 -1
  45. package/lib/index.css +87 -0
  46. package/lib/index.js +1 -1
  47. package/lib/locale/ar-SA.js +1 -1
  48. package/lib/locale/ca-ES.js +1 -1
  49. package/lib/locale/de-DE.js +1 -1
  50. package/lib/locale/en-US.js +1 -1
  51. package/lib/locale/es-ES.js +1 -1
  52. package/lib/locale/fa-IR.js +1 -1
  53. package/lib/locale/fr-FR.js +1 -1
  54. package/lib/locale/id-ID.js +1 -1
  55. package/lib/locale/it-IT.js +1 -1
  56. package/lib/locale/ja-JP.js +1 -1
  57. package/lib/locale/ko-KR.js +1 -1
  58. package/lib/locale/pl-PL.js +1 -1
  59. package/lib/locale/pt-BR.js +1 -1
  60. package/lib/locale/ru-RU.js +1 -1
  61. package/lib/locale/sk-SK.js +1 -1
  62. package/lib/locale/vi-VN.js +1 -1
  63. package/lib/locale/zh-CN.js +1 -1
  64. package/lib/locale/zh-HK.js +1 -1
  65. package/lib/locale/zh-TW.js +1 -1
  66. package/lib/types/controllers/clipboard/docs/image/image-paste.controller.d.ts +1 -2
  67. package/lib/types/controllers/collab-cursor/board-collab-cursor-entity.d.ts +31 -0
  68. package/lib/types/controllers/collab-cursor/board-collab-cursor-render.controller.d.ts +21 -0
  69. package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +3 -2
  70. package/lib/types/controllers/collab-cursor/slide-collab-cursor-entity.d.ts +1 -1
  71. package/lib/types/controllers/collab-status/collab-status.controller.d.ts +11 -0
  72. package/lib/types/controllers/snapshot-loading/snapshot-loading.controller.d.ts +36 -0
  73. package/lib/types/index.d.ts +0 -2
  74. package/lib/types/locale/en-US.d.ts +5 -0
  75. package/lib/types/models/cursor.d.ts +12 -8
  76. package/lib/types/views/components/SnapshotLoadingTimeout.d.ts +15 -0
  77. package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +2 -0
  78. package/lib/types/views/shapes/slide-collab-cursor.shape.d.ts +2 -2
  79. package/lib/types/views/shapes/text-bubble.shape.d.ts +1 -0
  80. package/lib/umd/facade.js +1 -1
  81. package/lib/umd/index.js +1 -1
  82. package/lib/umd/locale/ar-SA.js +1 -1
  83. package/lib/umd/locale/ca-ES.js +1 -1
  84. package/lib/umd/locale/de-DE.js +1 -1
  85. package/lib/umd/locale/en-US.js +1 -1
  86. package/lib/umd/locale/es-ES.js +1 -1
  87. package/lib/umd/locale/fa-IR.js +1 -1
  88. package/lib/umd/locale/fr-FR.js +1 -1
  89. package/lib/umd/locale/id-ID.js +1 -1
  90. package/lib/umd/locale/it-IT.js +1 -1
  91. package/lib/umd/locale/ja-JP.js +1 -1
  92. package/lib/umd/locale/ko-KR.js +1 -1
  93. package/lib/umd/locale/pl-PL.js +1 -1
  94. package/lib/umd/locale/pt-BR.js +1 -1
  95. package/lib/umd/locale/ru-RU.js +1 -1
  96. package/lib/umd/locale/sk-SK.js +1 -1
  97. package/lib/umd/locale/vi-VN.js +1 -1
  98. package/lib/umd/locale/zh-CN.js +1 -1
  99. package/lib/umd/locale/zh-HK.js +1 -1
  100. package/lib/umd/locale/zh-TW.js +1 -1
  101. package/package.json +23 -22
package/README.md CHANGED
@@ -1,9 +1,10 @@
1
1
  # @univerjs-pro/collaboration-client-ui
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/@univerjs-pro/collaboration-client-ui?style=flat-square)](https://npmjs.com/package/@univerjs-pro/collaboration-client-ui)
4
+ [![license](https://img.shields.io/npm/l/@univerjs-pro/collaboration-client-ui?style=flat-square)](https://npmjs.com/package/@univerjs-pro/collaboration-client-ui)
4
5
  [![downloads](https://img.shields.io/npm/dm/@univerjs-pro/collaboration-client-ui?style=flat-square)](https://npmjs.com/package/@univerjs-pro/collaboration-client-ui)
5
6
 
6
- `@univerjs-pro/collaboration-client-ui` provides collaboration UI integration for Univer Pro clients.
7
+ `@univerjs-pro/collaboration-client-ui` is part of Univer Pro. Collaboration UI integration for Univer Pro clients.
7
8
 
8
9
  ## Package Overview
9
10
 
@@ -35,10 +36,12 @@ univer.registerPlugin(UniverCollaborationClientUIPlugin);
35
36
 
36
37
  ## Integration Notes
37
38
 
38
- Register this package with `@univerjs-pro/collaboration-client` when the application needs collaboration UI.
39
+ - Keep this package on the same version as the other `@univerjs/*` and `@univerjs-pro/*` packages in your application.
40
+ - Import the package stylesheet once in the application entry before rendering Univer UI.
41
+ - Import locale files only for the languages your application enables.
42
+ - Use the facade entry when integrating through Univer Facade APIs.
39
43
 
40
44
  ## Resources
41
45
 
42
46
  - [Documentation](https://docs.univer.ai/guides/pro)
43
47
  - [NPM package](https://npmjs.com/package/@univerjs-pro/collaboration-client-ui)
44
-
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x28345a=_0x139c;function _0x139c(_0x3c8a8e,_0x17cfc5){_0x3c8a8e=_0x3c8a8e-0x15e;const _0x2fc301=_0x2fc3();let _0x139c01=_0x2fc301[_0x3c8a8e];return _0x139c01;}function _0x2fc3(){const _0x146421=['6QmHGJZ','4293387jcuZpG','259095CgTxGl','extend','runOnServer','164IzGedg','FUniver','11905Xywljp','281990URCGUX','11VmUgdC','_injector','RemoteUniscriptService','5630106GMvDKl','552495SluSNO','31969NtWPin','112GHgrWZ'];_0x2fc3=function(){return _0x146421;};return _0x2fc3();}(function(_0x12ac80,_0x2507f0){const _0x1aef3a=_0x139c,_0x589f17=_0x12ac80();while(!![]){try{const _0x35558e=-parseInt(_0x1aef3a(0x16c))/0x1+parseInt(_0x1aef3a(0x16a))/0x2*(-parseInt(_0x1aef3a(0x167))/0x3)+-parseInt(_0x1aef3a(0x15f))/0x4*(-parseInt(_0x1aef3a(0x161))/0x5)+parseInt(_0x1aef3a(0x166))/0x6+-parseInt(_0x1aef3a(0x168))/0x7*(parseInt(_0x1aef3a(0x169))/0x8)+parseInt(_0x1aef3a(0x16b))/0x9+parseInt(_0x1aef3a(0x162))/0xa*(parseInt(_0x1aef3a(0x163))/0xb);if(_0x35558e===_0x2507f0)break;else _0x589f17['push'](_0x589f17['shift']());}catch(_0xe45656){_0x589f17['push'](_0x589f17['shift']());}}}(_0x2fc3,0xa2856));let e=require('@univerjs-pro/collaboration-client-ui'),t=require('@univerjs/core/facade');var n=class extends t[_0x28345a(0x160)]{[_0x28345a(0x15e)](_0x9e7a6e,_0x590ed9,..._0x5d3bc8){const _0x37c919=_0x28345a;return this[_0x37c919(0x164)]['get'](e[_0x37c919(0x165)])[_0x37c919(0x15e)](_0x9e7a6e,_0x590ed9,{},..._0x5d3bc8);}};t[_0x28345a(0x160)][_0x28345a(0x16d)](n);
1
+ const _0x2068fc=_0x331b;(function(_0x230848,_0x126f71){const _0x21159d=_0x331b,_0x47f0b2=_0x230848();while(!![]){try{const _0x5f1790=parseInt(_0x21159d(0x123))/0x1+-parseInt(_0x21159d(0x120))/0x2*(parseInt(_0x21159d(0x11e))/0x3)+-parseInt(_0x21159d(0x11d))/0x4*(-parseInt(_0x21159d(0x124))/0x5)+-parseInt(_0x21159d(0x126))/0x6+-parseInt(_0x21159d(0x11f))/0x7*(parseInt(_0x21159d(0x121))/0x8)+-parseInt(_0x21159d(0x11c))/0x9+-parseInt(_0x21159d(0x127))/0xa*(-parseInt(_0x21159d(0x122))/0xb);if(_0x5f1790===_0x126f71)break;else _0x47f0b2['push'](_0x47f0b2['shift']());}catch(_0x44327c){_0x47f0b2['push'](_0x47f0b2['shift']());}}}(_0x52d4,0x397de));let e=require('@univerjs-pro/collaboration-client-ui'),t=require('@univerjs/core/facade');function _0x331b(_0xe9a62c,_0x4326aa){_0xe9a62c=_0xe9a62c-0x119;const _0x52d4e0=_0x52d4();let _0x331b64=_0x52d4e0[_0xe9a62c];return _0x331b64;}var n=class extends t[_0x2068fc(0x119)]{[_0x2068fc(0x125)](_0x35e10e,_0x32c7e4,..._0x180246){const _0x57252b=_0x2068fc;return this[_0x57252b(0x11b)]['get'](e['RemoteUniscriptService'])[_0x57252b(0x125)](_0x35e10e,_0x32c7e4,{},..._0x180246);}};function _0x52d4(){const _0x5da630=['runOnServer','1476990pnPcPE','13687270tLCXaK','FUniver','extend','_injector','3204279WtiCmz','4WEeijK','6ApGUGP','47033YOzuZl','380942aMKjcs','472vIMIBj','11fGuVBx','171209XVHjxf','375545lWunKz'];_0x52d4=function(){return _0x5da630;};return _0x52d4();}t[_0x2068fc(0x119)][_0x2068fc(0x11a)](n);