@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.
- package/README.md +33 -7
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +26 -20
package/README.md
CHANGED
|
@@ -1,18 +1,44 @@
|
|
|
1
1
|
# @univerjs-pro/collaboration-client-ui
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://npmjs.com/package/@univerjs-pro/collaboration-client-ui)
|
|
4
|
+
[](https://npmjs.com/package/@univerjs-pro/collaboration-client-ui)
|
|
4
5
|
|
|
5
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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);
|