@univerjs-pro/collaboration-client-ui 1.4.0 → 1.5.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 (86) hide show
  1. package/README.md +7 -7
  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/umd/facade.js +1 -1
  66. package/lib/umd/index.js +1 -1
  67. package/lib/umd/locale/ar-SA.js +1 -1
  68. package/lib/umd/locale/ca-ES.js +1 -1
  69. package/lib/umd/locale/de-DE.js +1 -1
  70. package/lib/umd/locale/en-US.js +1 -1
  71. package/lib/umd/locale/es-ES.js +1 -1
  72. package/lib/umd/locale/fa-IR.js +1 -1
  73. package/lib/umd/locale/fr-FR.js +1 -1
  74. package/lib/umd/locale/id-ID.js +1 -1
  75. package/lib/umd/locale/it-IT.js +1 -1
  76. package/lib/umd/locale/ja-JP.js +1 -1
  77. package/lib/umd/locale/ko-KR.js +1 -1
  78. package/lib/umd/locale/pl-PL.js +1 -1
  79. package/lib/umd/locale/pt-BR.js +1 -1
  80. package/lib/umd/locale/ru-RU.js +1 -1
  81. package/lib/umd/locale/sk-SK.js +1 -1
  82. package/lib/umd/locale/vi-VN.js +1 -1
  83. package/lib/umd/locale/zh-CN.js +1 -1
  84. package/lib/umd/locale/zh-HK.js +1 -1
  85. package/lib/umd/locale/zh-TW.js +1 -1
  86. package/package.json +18 -18
package/README.md CHANGED
@@ -8,9 +8,9 @@
8
8
 
9
9
  ## Package Overview
10
10
 
11
- | Package | UMD global | CSS | Locales | Facade entry |
12
- | --- | --- | :---: | :---: | :---: |
13
- | `@univerjs-pro/collaboration-client-ui` | `UniverProCollaborationClientUi` | Yes | Yes | Yes |
11
+ | Package | UMD global | CSS | Locales | Facade entry | Worker entry |
12
+ | --- | --- | :---: | :---: | :---: | :---: |
13
+ | `@univerjs-pro/collaboration-client-ui` | `UniverProCollaborationClientUi` | Yes | Yes | Yes | No |
14
14
 
15
15
  ## Installation
16
16
 
@@ -20,10 +20,10 @@ pnpm add @univerjs-pro/collaboration-client-ui
20
20
  npm install @univerjs-pro/collaboration-client-ui
21
21
  ```
22
22
 
23
- Keep all `@univerjs/*` and `@univerjs-pro/*` packages on the same version.
24
-
25
23
  ## Usage
26
24
 
25
+ Start with the [integration setup](https://docs.univer.ai/) for your document type, including its required plugins, styles, and locale resources. The snippet below assumes that setup is complete.
26
+
27
27
  ```ts
28
28
  import '@univerjs-pro/collaboration-client-ui/lib/index.css';
29
29
  import EnUS from '@univerjs-pro/collaboration-client-ui/locale/en-US';
@@ -36,12 +36,12 @@ univer.registerPlugin(UniverCollaborationClientUIPlugin);
36
36
 
37
37
  ## Integration Notes
38
38
 
39
- - Keep this package on the same version as the other `@univerjs/*` and `@univerjs-pro/*` packages in your application.
40
39
  - Import the package stylesheet once in the application entry before rendering Univer UI.
41
40
  - Import locale files only for the languages your application enables.
42
41
  - Use the facade entry when integrating through Univer Facade APIs.
43
42
 
44
43
  ## Resources
45
44
 
46
- - [Documentation](https://docs.univer.ai/guides/pro)
45
+ - [Documentation](https://docs.univer.ai)
47
46
  - [NPM package](https://npmjs.com/package/@univerjs-pro/collaboration-client-ui)
47
+ - [GitHub repository](https://github.com/dream-num/univer-pro)
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x702d(_0x343a14,_0x48fffe){_0x343a14=_0x343a14-0x1d0;const _0x304fba=_0x304f();let _0x702dd1=_0x304fba[_0x343a14];return _0x702dd1;}const _0x2f8341=_0x702d;(function(_0x3ded5c,_0x4a365a){const _0x127472=_0x702d,_0x54aa2c=_0x3ded5c();while(!![]){try{const _0x7f12be=-parseInt(_0x127472(0x1dc))/0x1+parseInt(_0x127472(0x1d2))/0x2+parseInt(_0x127472(0x1d6))/0x3+parseInt(_0x127472(0x1db))/0x4+-parseInt(_0x127472(0x1d8))/0x5+-parseInt(_0x127472(0x1d1))/0x6+-parseInt(_0x127472(0x1d4))/0x7*(-parseInt(_0x127472(0x1d7))/0x8);if(_0x7f12be===_0x4a365a)break;else _0x54aa2c['push'](_0x54aa2c['shift']());}catch(_0x305860){_0x54aa2c['push'](_0x54aa2c['shift']());}}}(_0x304f,0x2a0f1));let e=require('@univerjs-pro/collaboration-client-ui'),t=require('@univerjs/core/facade');function _0x304f(){const _0x13c71f=['68924syTVhB','RemoteUniscriptService','97188qfqoeq','36864IwpMaA','_injector','154749HAWjGH','FUniver','376098YbwDpA','24ByYubq','659390hHEmHB','extend','runOnServer','716616PJIOii'];_0x304f=function(){return _0x13c71f;};return _0x304f();}var n=class extends t['FUniver']{[_0x2f8341(0x1da)](_0x27262a,_0x51ad40,..._0x387072){const _0x2c97ab=_0x2f8341;return this[_0x2c97ab(0x1d3)]['get'](e[_0x2c97ab(0x1d0)])[_0x2c97ab(0x1da)](_0x27262a,_0x51ad40,{},..._0x387072);}};t[_0x2f8341(0x1d5)][_0x2f8341(0x1d9)](n);
1
+ const _0x40f5e3=_0x54ae;(function(_0x491d3c,_0x5a8fbf){const _0x4ba15c=_0x54ae,_0x1cf8ff=_0x491d3c();while(!![]){try{const _0x3b0635=parseInt(_0x4ba15c(0x190))/0x1+parseInt(_0x4ba15c(0x188))/0x2*(parseInt(_0x4ba15c(0x186))/0x3)+-parseInt(_0x4ba15c(0x18e))/0x4+parseInt(_0x4ba15c(0x192))/0x5+parseInt(_0x4ba15c(0x195))/0x6*(parseInt(_0x4ba15c(0x191))/0x7)+parseInt(_0x4ba15c(0x193))/0x8+parseInt(_0x4ba15c(0x187))/0x9*(-parseInt(_0x4ba15c(0x18c))/0xa);if(_0x3b0635===_0x5a8fbf)break;else _0x1cf8ff['push'](_0x1cf8ff['shift']());}catch(_0x1e7081){_0x1cf8ff['push'](_0x1cf8ff['shift']());}}}(_0x2935,0x65908));function _0x54ae(_0x3021cb,_0x31aab7){_0x3021cb=_0x3021cb-0x186;const _0x293550=_0x2935();let _0x54ae9f=_0x293550[_0x3021cb];return _0x54ae9f;}function _0x2935(){const _0x5b1169=['extend','runOnServer','_injector','4690KkpqVT','get','1180760yxHXzG','RemoteUniscriptService','541816unSGtE','2705416uETzTz','724295ADrKFe','6380584udpddp','FUniver','12ayfMdz','1374Etlfzx','30204pDBVxL','122NOAnwb'];_0x2935=function(){return _0x5b1169;};return _0x2935();}let e=require('@univerjs-pro/collaboration-client-ui'),t=require('@univerjs/core/facade');var n=class extends t['FUniver']{[_0x40f5e3(0x18a)](_0x35afa2,_0x5a4a38,..._0x1c6bc5){const _0x392522=_0x40f5e3;return this[_0x392522(0x18b)][_0x392522(0x18d)](e[_0x392522(0x18f)])[_0x392522(0x18a)](_0x35afa2,_0x5a4a38,{},..._0x1c6bc5);}};t[_0x40f5e3(0x194)][_0x40f5e3(0x189)](n);