@univerjs-pro/collaboration-client-ui 0.21.1 → 0.22.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 (58) hide show
  1. package/README.md +33 -7
  2. package/lib/cjs/facade.js +1 -1
  3. package/lib/cjs/index.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/ja-JP.js +1 -1
  10. package/lib/cjs/locale/ko-KR.js +1 -1
  11. package/lib/cjs/locale/ru-RU.js +1 -1
  12. package/lib/cjs/locale/sk-SK.js +1 -1
  13. package/lib/cjs/locale/vi-VN.js +1 -1
  14. package/lib/cjs/locale/zh-CN.js +1 -1
  15. package/lib/cjs/locale/zh-TW.js +1 -1
  16. package/lib/es/facade.js +1 -1
  17. package/lib/es/index.js +1 -1
  18. package/lib/es/locale/ca-ES.js +1 -1
  19. package/lib/es/locale/en-US.js +1 -1
  20. package/lib/es/locale/es-ES.js +1 -1
  21. package/lib/es/locale/fa-IR.js +1 -1
  22. package/lib/es/locale/fr-FR.js +1 -1
  23. package/lib/es/locale/ja-JP.js +1 -1
  24. package/lib/es/locale/ko-KR.js +1 -1
  25. package/lib/es/locale/ru-RU.js +1 -1
  26. package/lib/es/locale/sk-SK.js +1 -1
  27. package/lib/es/locale/vi-VN.js +1 -1
  28. package/lib/es/locale/zh-CN.js +1 -1
  29. package/lib/es/locale/zh-TW.js +1 -1
  30. package/lib/facade.js +1 -1
  31. package/lib/index.js +1 -1
  32. package/lib/locale/ca-ES.js +1 -1
  33. package/lib/locale/en-US.js +1 -1
  34. package/lib/locale/es-ES.js +1 -1
  35. package/lib/locale/fa-IR.js +1 -1
  36. package/lib/locale/fr-FR.js +1 -1
  37. package/lib/locale/ja-JP.js +1 -1
  38. package/lib/locale/ko-KR.js +1 -1
  39. package/lib/locale/ru-RU.js +1 -1
  40. package/lib/locale/sk-SK.js +1 -1
  41. package/lib/locale/vi-VN.js +1 -1
  42. package/lib/locale/zh-CN.js +1 -1
  43. package/lib/locale/zh-TW.js +1 -1
  44. package/lib/umd/facade.js +1 -1
  45. package/lib/umd/index.js +1 -1
  46. package/lib/umd/locale/ca-ES.js +1 -1
  47. package/lib/umd/locale/en-US.js +1 -1
  48. package/lib/umd/locale/es-ES.js +1 -1
  49. package/lib/umd/locale/fa-IR.js +1 -1
  50. package/lib/umd/locale/fr-FR.js +1 -1
  51. package/lib/umd/locale/ja-JP.js +1 -1
  52. package/lib/umd/locale/ko-KR.js +1 -1
  53. package/lib/umd/locale/ru-RU.js +1 -1
  54. package/lib/umd/locale/sk-SK.js +1 -1
  55. package/lib/umd/locale/vi-VN.js +1 -1
  56. package/lib/umd/locale/zh-CN.js +1 -1
  57. package/lib/umd/locale/zh-TW.js +1 -1
  58. package/package.json +26 -20
package/README.md CHANGED
@@ -1,18 +1,44 @@
1
1
  # @univerjs-pro/collaboration-client-ui
2
2
 
3
- ## Introduction
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
+ [![downloads](https://img.shields.io/npm/dm/@univerjs-pro/collaboration-client-ui?style=flat-square)](https://npmjs.com/package/@univerjs-pro/collaboration-client-ui)
4
5
 
5
- Univer collaboration plugin on the client side. It brings online collaboration UI to your Univer application. It based on @univerjs-pro/collaboration-client.
6
+ `@univerjs-pro/collaboration-client-ui` provides collaboration UI integration for Univer Pro clients.
7
+
8
+ ## Package Overview
9
+
10
+ | Package | UMD global | CSS | Locales | Facade entry |
11
+ | --- | --- | :---: | :---: | :---: |
12
+ | `@univerjs-pro/collaboration-client-ui` | `UniverProCollaborationClientUi` | Yes | Yes | Yes |
13
+
14
+ ## Installation
15
+
16
+ ```sh
17
+ pnpm add @univerjs-pro/collaboration-client-ui
18
+ # or
19
+ npm install @univerjs-pro/collaboration-client-ui
20
+ ```
21
+
22
+ Keep all `@univerjs/*` and `@univerjs-pro/*` packages on the same version.
6
23
 
7
24
  ## Usage
8
25
 
9
- ### Installation
26
+ ```ts
27
+ import '@univerjs-pro/collaboration-client-ui/lib/index.css';
28
+ import EnUS from '@univerjs-pro/collaboration-client-ui/locale/en-US';
29
+ import { UniverCollaborationClientUIPlugin } from '@univerjs-pro/collaboration-client-ui';
30
+
31
+ univer.registerPlugin(UniverCollaborationClientUIPlugin);
10
32
 
11
- ```shell
12
- npm i @univerjs-pro/collaboration-client-ui
33
+ // Merge EnUS into your Univer locale map when this package contributes UI text.
13
34
  ```
14
35
 
15
- ### API
36
+ ## Integration Notes
37
+
38
+ Register this package with `@univerjs-pro/collaboration-client` when the application needs collaboration UI.
39
+
40
+ ## Resources
16
41
 
17
- Check [Univer](https://github.com/dream-num/univer/)
42
+ - [Documentation](https://docs.univer.ai/guides/pro)
43
+ - [NPM package](https://npmjs.com/package/@univerjs-pro/collaboration-client-ui)
18
44
 
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- const _0xe5c11d=_0x1834;function _0x1834(_0x33c0c3,_0xce9369){_0x33c0c3=_0x33c0c3-0xdb;const _0x672fa4=_0x672f();let _0x183410=_0x672fa4[_0x33c0c3];return _0x183410;}function _0x672f(){const _0x1852af=['77Mxennl','FUniver','_injector','extend','runOnServer','20HehZIL','34dwfjkW','317096sSTemI','522264LHutdd','1785032GapfLp','646326ATiNeR','59635kRGMzJ','RemoteUniscriptService','get','218415fkZrNr','126KOWEGf','122142FlbbBc','341tMpdwT'];_0x672f=function(){return _0x1852af;};return _0x672f();}(function(_0x2b25ef,_0x8c8f98){const _0x226a2b=_0x1834,_0x13551b=_0x2b25ef();while(!![]){try{const _0x1754aa=parseInt(_0x226a2b(0xe6))/0x1+-parseInt(_0x226a2b(0xde))/0x2*(parseInt(_0x226a2b(0xe8))/0x3)+-parseInt(_0x226a2b(0xe1))/0x4+parseInt(_0x226a2b(0xe3))/0x5*(parseInt(_0x226a2b(0xe7))/0x6)+parseInt(_0x226a2b(0xea))/0x7*(-parseInt(_0x226a2b(0xdf))/0x8)+parseInt(_0x226a2b(0xe2))/0x9*(parseInt(_0x226a2b(0xdd))/0xa)+parseInt(_0x226a2b(0xe9))/0xb*(parseInt(_0x226a2b(0xe0))/0xc);if(_0x1754aa===_0x8c8f98)break;else _0x13551b['push'](_0x13551b['shift']());}catch(_0x173c0b){_0x13551b['push'](_0x13551b['shift']());}}}(_0x672f,0x5e8d9));let _univerjs_pro_collaboration_client_ui=require('@univerjs-pro/collaboration-client-ui'),_univerjs_core_facade=require('@univerjs/core/facade');var FUniverNodeRuntimeMixin=class extends _univerjs_core_facade[_0xe5c11d(0xeb)]{['runOnServer'](_0x4bd8f5,_0x5dda00,..._0x57b37a){const _0xc5e672=_0xe5c11d;return this[_0xc5e672(0xec)][_0xc5e672(0xe5)](_univerjs_pro_collaboration_client_ui[_0xc5e672(0xe4)])[_0xc5e672(0xdc)](_0x4bd8f5,_0x5dda00,{},..._0x57b37a);}};_univerjs_core_facade[_0xe5c11d(0xeb)][_0xe5c11d(0xdb)](FUniverNodeRuntimeMixin);
1
+ const _0x54ba30=_0x49d4;(function(_0x1415ca,_0x44807c){const _0x265434=_0x49d4,_0x569c5a=_0x1415ca();while(!![]){try{const _0x4f6792=-parseInt(_0x265434(0x198))/0x1+parseInt(_0x265434(0x19c))/0x2+-parseInt(_0x265434(0x19d))/0x3+-parseInt(_0x265434(0x199))/0x4*(-parseInt(_0x265434(0x1a0))/0x5)+-parseInt(_0x265434(0x19b))/0x6*(-parseInt(_0x265434(0x19a))/0x7)+parseInt(_0x265434(0x1a4))/0x8*(-parseInt(_0x265434(0x19e))/0x9)+parseInt(_0x265434(0x1a1))/0xa;if(_0x4f6792===_0x44807c)break;else _0x569c5a['push'](_0x569c5a['shift']());}catch(_0x3cf988){_0x569c5a['push'](_0x569c5a['shift']());}}}(_0x2972,0x74145));let _univerjs_pro_collaboration_client_ui=require('@univerjs-pro/collaboration-client-ui'),_univerjs_core_facade=require('@univerjs/core/facade');function _0x49d4(_0x130a02,_0x14a8f9){_0x130a02=_0x130a02-0x197;const _0x297223=_0x2972();let _0x49d4ed=_0x297223[_0x130a02];return _0x49d4ed;}var FUniverNodeRuntimeMixin=class extends _univerjs_core_facade['FUniver']{['runOnServer'](_0x32c67f,_0x4571d9,..._0x2077c4){const _0x155a4b=_0x49d4;return this['_injector'][_0x155a4b(0x1a3)](_univerjs_pro_collaboration_client_ui[_0x155a4b(0x19f)])[_0x155a4b(0x197)](_0x32c67f,_0x4571d9,{},..._0x2077c4);}};function _0x2972(){const _0x3da9d0=['FUniver','get','624YJZarL','runOnServer','142717wjjsiV','194052ggGVGf','7iSluRD','5001114YIuxmh','1076060OpuMYf','2514891yQfTjq','100053KBWZLb','RemoteUniscriptService','35sMoenr','6124610rKGazc'];_0x2972=function(){return _0x3da9d0;};return _0x2972();}_univerjs_core_facade[_0x54ba30(0x1a2)]['extend'](FUniverNodeRuntimeMixin);