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

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/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.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/controllers/clipboard/docs/image/image-paste.controller.d.ts +1 -2
  66. package/lib/types/controllers/collab-cursor/board-collab-cursor-entity.d.ts +31 -0
  67. package/lib/types/controllers/collab-cursor/board-collab-cursor-render.controller.d.ts +21 -0
  68. package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +3 -2
  69. package/lib/types/controllers/collab-cursor/slide-collab-cursor-entity.d.ts +1 -1
  70. package/lib/types/controllers/collab-status/collab-status.controller.d.ts +11 -0
  71. package/lib/types/index.d.ts +0 -2
  72. package/lib/types/models/cursor.d.ts +12 -8
  73. package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +2 -0
  74. package/lib/types/views/shapes/slide-collab-cursor.shape.d.ts +2 -2
  75. package/lib/types/views/shapes/text-bubble.shape.d.ts +1 -0
  76. package/lib/umd/facade.js +1 -1
  77. package/lib/umd/index.js +1 -1
  78. package/lib/umd/locale/ar-SA.js +1 -1
  79. package/lib/umd/locale/ca-ES.js +1 -1
  80. package/lib/umd/locale/de-DE.js +1 -1
  81. package/lib/umd/locale/en-US.js +1 -1
  82. package/lib/umd/locale/es-ES.js +1 -1
  83. package/lib/umd/locale/fa-IR.js +1 -1
  84. package/lib/umd/locale/fr-FR.js +1 -1
  85. package/lib/umd/locale/id-ID.js +1 -1
  86. package/lib/umd/locale/it-IT.js +1 -1
  87. package/lib/umd/locale/ja-JP.js +1 -1
  88. package/lib/umd/locale/ko-KR.js +1 -1
  89. package/lib/umd/locale/pl-PL.js +1 -1
  90. package/lib/umd/locale/pt-BR.js +1 -1
  91. package/lib/umd/locale/ru-RU.js +1 -1
  92. package/lib/umd/locale/sk-SK.js +1 -1
  93. package/lib/umd/locale/vi-VN.js +1 -1
  94. package/lib/umd/locale/zh-CN.js +1 -1
  95. package/lib/umd/locale/zh-HK.js +1 -1
  96. package/lib/umd/locale/zh-TW.js +1 -1
  97. 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 _0x10d9e1=_0x2ffb;function _0x2dff(){const _0x392bf2=['5870SYpkJl','FUniver','6957900idTnAx','90354XjvMrS','57704LAvdaI','8orqnOq','824HaQuRy','extend','_injector','2006919OnyXcA','2SJpsCi','13420VgeZvG','1730pailzn','7ZfLBdk','RemoteUniscriptService','736998kZNFcV','runOnServer'];_0x2dff=function(){return _0x392bf2;};return _0x2dff();}function _0x2ffb(_0x406f71,_0x1e6dbd){_0x406f71=_0x406f71-0x18b;const _0x2dff04=_0x2dff();let _0x2ffb92=_0x2dff04[_0x406f71];return _0x2ffb92;}(function(_0x4b1a7d,_0xe8e183){const _0x43622a=_0x2ffb,_0x4198b8=_0x4b1a7d();while(!![]){try{const _0x429853=parseInt(_0x43622a(0x18e))/0x1*(-parseInt(_0x43622a(0x199))/0x2)+-parseInt(_0x43622a(0x198))/0x3+-parseInt(_0x43622a(0x19b))/0x4*(-parseInt(_0x43622a(0x195))/0x5)+-parseInt(_0x43622a(0x193))/0x6*(-parseInt(_0x43622a(0x191))/0x7)+parseInt(_0x43622a(0x19a))/0x8*(parseInt(_0x43622a(0x18d))/0x9)+-parseInt(_0x43622a(0x190))/0xa*(-parseInt(_0x43622a(0x18f))/0xb)+-parseInt(_0x43622a(0x197))/0xc;if(_0x429853===_0xe8e183)break;else _0x4198b8['push'](_0x4198b8['shift']());}catch(_0x223c81){_0x4198b8['push'](_0x4198b8['shift']());}}}(_0x2dff,0x20009));let e=require('@univerjs-pro/collaboration-client-ui'),t=require('@univerjs/core/facade');var n=class extends t[_0x10d9e1(0x196)]{[_0x10d9e1(0x194)](_0xfe31fd,_0x2f60fa,..._0x53b3c9){const _0x3f499c=_0x10d9e1;return this[_0x3f499c(0x18c)]['get'](e[_0x3f499c(0x192)])[_0x3f499c(0x194)](_0xfe31fd,_0x2f60fa,{},..._0x53b3c9);}};t['FUniver'][_0x10d9e1(0x18b)](n);
1
+ function _0x404e(){const _0x367feb=['36OsEMjw','runOnServer','extend','2265747cYfyJf','get','322FVzCas','221360eorUlq','27245894klfSHi','422696QWUyjy','_injector','12DdfIit','161334ejRFWw','2PLbWPV','527227UQaNfO','RemoteUniscriptService','200wcsLLc','1196615OlSEOB','12UofdHK','FUniver'];_0x404e=function(){return _0x367feb;};return _0x404e();}const _0x2dff6c=_0x4b43;function _0x4b43(_0xd17aef,_0x36df95){_0xd17aef=_0xd17aef-0xae;const _0x404ea6=_0x404e();let _0x4b43a5=_0x404ea6[_0xd17aef];return _0x4b43a5;}(function(_0x3ecdea,_0x8c5351){const _0x558443=_0x4b43,_0x50da8b=_0x3ecdea();while(!![]){try{const _0x4ef9ab=-parseInt(_0x558443(0xb0))/0x1*(-parseInt(_0x558443(0xaf))/0x2)+-parseInt(_0x558443(0xb6))/0x3*(-parseInt(_0x558443(0xbe))/0x4)+-parseInt(_0x558443(0xb3))/0x5*(parseInt(_0x558443(0xc0))/0x6)+-parseInt(_0x558443(0xbb))/0x7*(-parseInt(_0x558443(0xbc))/0x8)+parseInt(_0x558443(0xae))/0x9*(parseInt(_0x558443(0xb2))/0xa)+-parseInt(_0x558443(0xb9))/0xb+parseInt(_0x558443(0xb4))/0xc*(-parseInt(_0x558443(0xbd))/0xd);if(_0x4ef9ab===_0x8c5351)break;else _0x50da8b['push'](_0x50da8b['shift']());}catch(_0x41404b){_0x50da8b['push'](_0x50da8b['shift']());}}}(_0x404e,0x9dc32));let e=require('@univerjs-pro/collaboration-client-ui'),t=require('@univerjs/core/facade');var n=class extends t['FUniver']{[_0x2dff6c(0xb7)](_0x434dfa,_0x42bf7a,..._0x17dd7e){const _0x15f22e=_0x2dff6c;return this[_0x15f22e(0xbf)][_0x15f22e(0xba)](e[_0x15f22e(0xb1)])[_0x15f22e(0xb7)](_0x434dfa,_0x42bf7a,{},..._0x17dd7e);}};t[_0x2dff6c(0xb5)][_0x2dff6c(0xb8)](n);