@univerjs-pro/collaboration-client 1.0.0 → 1.0.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.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.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/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.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-HK.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/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.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/id-ID.js +1 -1
- package/lib/es/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.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-HK.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/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.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/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.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-HK.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/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.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/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.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-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
- package/lib/types/controllers/config.schema.d.ts +0 -64
package/lib/umd/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1c9c(_0xba621a,_0x5e6f2b){_0xba621a=_0xba621a-0x1d4;var _0x5d35f5=_0x5d35();var _0x1c9c3d=_0x5d35f5[_0xba621a];return _0x1c9c3d;}function _0x5d35(){var _0x3d652c=['同步中...','認證錯誤','function','6769360FIiFsg','10938hdcBuD','object','952316hkyWuu','515424qUCzGC','exports','加入協作失敗,請稍後重試,您的編輯將暫存於本機。','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','協作衝突','已離線,編輯將儲存在本機','連線失敗,請檢查您的網絡。','加入協作失敗,您的編輯將暫存於本機。','36TKvQrW','amd','79563hgQAyV','點擊重新連線','2665092PqqnAw','29926830EqzWqa','編輯衝突','協作文件數量超過限制,您的編輯將暫存於本機。','1827GnPwKp','由於協作房間已關閉,編輯權限已被收回。','UniverProCollaborationClientZhHK','28ACFFOZ','正在擷取伺服器資料...'];_0x5d35=function(){return _0x3d652c;};return _0x5d35();}(function(_0x4811ca,_0x8176df){var _0x26b032=_0x1c9c,_0x581a18=_0x4811ca();while(!![]){try{var _0x22cd23=-parseInt(_0x26b032(0x1d7))/0x1+parseInt(_0x26b032(0x1eb))/0x2*(-parseInt(_0x26b032(0x1e2))/0x3)+parseInt(_0x26b032(0x1e4))/0x4+-parseInt(_0x26b032(0x1d4))/0x5+-parseInt(_0x26b032(0x1d5))/0x6*(parseInt(_0x26b032(0x1e8))/0x7)+parseInt(_0x26b032(0x1d8))/0x8*(parseInt(_0x26b032(0x1e0))/0x9)+parseInt(_0x26b032(0x1e5))/0xa;if(_0x22cd23===_0x8176df)break;else _0x581a18['push'](_0x581a18['shift']());}catch(_0x3046a5){_0x581a18['push'](_0x581a18['shift']());}}}(_0x5d35,0xba5f7),function(_0x56e697,_0x13b8ef){var _0x4bcadc=_0x1c9c;typeof exports==_0x4bcadc(0x1d6)&&typeof module<'u'?module[_0x4bcadc(0x1d9)]=_0x13b8ef():typeof define==_0x4bcadc(0x1ef)&&define[_0x4bcadc(0x1e1)]?define([],_0x13b8ef):(_0x56e697=typeof globalThis<'u'?globalThis:_0x56e697||self,_0x56e697[_0x4bcadc(0x1ea)]=_0x13b8ef());}(this,function(){var _0xe91e12=_0x1c9c;return{'collaboration-client':{'collabClient':{'tooltip':{'reconnect':_0xe91e12(0x1e3)}},'collabStatus':{'fetchMiss':_0xe91e12(0x1ec),'conflict':_0xe91e12(0x1e6),'notCollab':'本機檔案','synced':'已同步','syncing':_0xe91e12(0x1ed),'offline':_0xe91e12(0x1dd)},'session':{'connection-failed':_0xe91e12(0x1de),'will-retry':'連線失敗,將在稍後重試連線。','room-full':'此文件協作人數已達上限,您的編輯將暫存於本機。','join-failed':_0xe91e12(0x1da),'room-not-exists':_0xe91e12(0x1df),'room-permission-denied':'沒有協作權限,您的編輯將暫存於本機。','room-cnt-exceeds':_0xe91e12(0x1e7),'collaboration-timeout':'伺服器未回應協作請求,您的編輯將儲存在本機。'},'conflict':{'title':_0xe91e12(0x1dc),'content':_0xe91e12(0x1db)},'permission':{'title':_0xe91e12(0x1ee),'content':'您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。'},'collaboration':{'single-unit':{'warning':'您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。'},'closeRoom':_0xe91e12(0x1e9)},'auth':{'needGotoLoginAlert':'您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。'}}};}));
|
package/lib/umd/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x4cb4(){var _0x595154=['由於協作房間已關閉,編輯權限已被收回。','已離線,編輯將儲存在本機','編輯衝突','1628PVZdwg','765400vnBIdI','加入協作失敗,您的編輯將暫存於本機。','exports','連線失敗,將在稍後重試連線。','9dSXMcV','1327044ZJeqCy','function','點擊重新連線','5YalAeU','object','2660800WOaCYw','14539161UFcgoR','協作衝突','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','12oDBGwt','同步中...','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','協作文件數量超過限制,您的編輯將暫存於本機。','35440MGovUj','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','7OSytJj','此文件協作人數已達上限,您的編輯將暫存於本機。','伺服器未回應協作請求,您的編輯將儲存在本機。','UniverProCollaborationClientZhTW','已同步','7ObOZDb','4776924cRvJkP','109392ICVSCL','本機檔案'];_0x4cb4=function(){return _0x595154;};return _0x4cb4();}function _0x4c0f(_0x466d32,_0x1f8064){_0x466d32=_0x466d32-0x17b;var _0x4cb43e=_0x4cb4();var _0x4c0fba=_0x4cb43e[_0x466d32];return _0x4c0fba;}(function(_0x52b4ce,_0x560bc){var _0x3215d9=_0x4c0f,_0xf2e40a=_0x52b4ce();while(!![]){try{var _0xbef621=parseInt(_0x3215d9(0x186))/0x1*(-parseInt(_0x3215d9(0x18d))/0x2)+parseInt(_0x3215d9(0x198))/0x3+parseInt(_0x3215d9(0x193))/0x4*(-parseInt(_0x3215d9(0x19b))/0x5)+parseInt(_0x3215d9(0x18c))/0x6*(parseInt(_0x3215d9(0x18b))/0x7)+-parseInt(_0x3215d9(0x17c))/0x8*(-parseInt(_0x3215d9(0x197))/0x9)+parseInt(_0x3215d9(0x184))/0xa*(parseInt(_0x3215d9(0x192))/0xb)+parseInt(_0x3215d9(0x180))/0xc*(-parseInt(_0x3215d9(0x17d))/0xd);if(_0xbef621===_0x560bc)break;else _0xf2e40a['push'](_0xf2e40a['shift']());}catch(_0x344b2e){_0xf2e40a['push'](_0xf2e40a['shift']());}}}(_0x4cb4,0x62633),function(_0x512695,_0x410244){var _0xd0f562=_0x4c0f;typeof exports==_0xd0f562(0x17b)&&typeof module<'u'?module[_0xd0f562(0x195)]=_0x410244():typeof define==_0xd0f562(0x199)&&define['amd']?define([],_0x410244):(_0x512695=typeof globalThis<'u'?globalThis:_0x512695||self,_0x512695[_0xd0f562(0x189)]=_0x410244());}(this,function(){var _0x34a014=_0x4c0f;return{'collaboration-client':{'collabClient':{'tooltip':{'reconnect':_0x34a014(0x19a)}},'collabStatus':{'fetchMiss':'正在擷取伺服器資料...','conflict':_0x34a014(0x191),'notCollab':_0x34a014(0x18e),'synced':_0x34a014(0x18a),'syncing':_0x34a014(0x181),'offline':_0x34a014(0x190)},'session':{'connection-failed':'連線失敗,請檢查您的網路。','will-retry':_0x34a014(0x196),'room-full':_0x34a014(0x187),'join-failed':'加入協作失敗,請稍後重試,您的編輯將暫存於本機。','room-not-exists':_0x34a014(0x194),'room-permission-denied':'沒有協作權限,您的編輯將暫存於本機。','room-cnt-exceeds':_0x34a014(0x183),'collaboration-timeout':_0x34a014(0x188)},'conflict':{'title':_0x34a014(0x17e),'content':_0x34a014(0x17f)},'permission':{'title':'認證錯誤','content':'您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。'},'collaboration':{'single-unit':{'warning':_0x34a014(0x182)},'closeRoom':_0x34a014(0x18f)},'auth':{'needGotoLoginAlert':_0x34a014(0x185)}}};}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/collaboration-client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Client-side collaboration plugin for Univer Pro.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -67,22 +67,22 @@
|
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
69
|
"@noble/ciphers": "^2.2.0",
|
|
70
|
-
"@univerjs-pro/collaboration": "1.0.
|
|
71
|
-
"@univerjs-pro/license": "1.0.
|
|
72
|
-
"@univerjs-pro/slides": "1.0.
|
|
73
|
-
"@univerjs/core": "1.0.
|
|
74
|
-
"@univerjs/docs": "1.0.
|
|
75
|
-
"@univerjs/drawing": "1.0.
|
|
76
|
-
"@univerjs/network": "1.0.
|
|
77
|
-
"@univerjs/protocol": "1.0.
|
|
78
|
-
"@univerjs/sheets": "1.0.
|
|
79
|
-
"@univerjs/telemetry": "1.0.
|
|
70
|
+
"@univerjs-pro/collaboration": "1.0.1",
|
|
71
|
+
"@univerjs-pro/license": "1.0.1",
|
|
72
|
+
"@univerjs-pro/slides": "1.0.1",
|
|
73
|
+
"@univerjs/core": "1.0.1",
|
|
74
|
+
"@univerjs/docs": "1.0.1",
|
|
75
|
+
"@univerjs/drawing": "1.0.1",
|
|
76
|
+
"@univerjs/network": "1.0.1",
|
|
77
|
+
"@univerjs/protocol": "1.0.1",
|
|
78
|
+
"@univerjs/sheets": "1.0.1",
|
|
79
|
+
"@univerjs/telemetry": "1.0.1"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@univerjs-infra/shared": "1.0.
|
|
83
|
-
"@univerjs-pro/bases": "1.0.
|
|
84
|
-
"@univerjs-pro/boards": "1.0.
|
|
85
|
-
"@univerjs-pro/pdfs": "1.0.
|
|
82
|
+
"@univerjs-infra/shared": "1.0.1",
|
|
83
|
+
"@univerjs-pro/bases": "1.0.1",
|
|
84
|
+
"@univerjs-pro/boards": "1.0.1",
|
|
85
|
+
"@univerjs-pro/pdfs": "1.0.1",
|
|
86
86
|
"rxjs": "7.8.2",
|
|
87
87
|
"typescript": "^6.0.3",
|
|
88
88
|
"vitest": "^5.0.0"
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import type { Ctor, DependencyOverride } from '@univerjs/core';
|
|
2
|
-
import type { ICollaborationSocketService } from '../services/socket/collaboration-socket.service';
|
|
3
|
-
export declare const COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY = "collaboration-client.config";
|
|
4
|
-
export declare const configSymbol: unique symbol;
|
|
5
|
-
export interface IUniverCollaborationClientConfig {
|
|
6
|
-
/**
|
|
7
|
-
* Which socket should the plugin use to build connections to the collaborative engine.
|
|
8
|
-
* For normal cases, you should use `BrowserCollaborationSocketService` from the `collaboration-client-ui` plugin.
|
|
9
|
-
*/
|
|
10
|
-
socketService: Ctor<ICollaborationSocketService>;
|
|
11
|
-
/**
|
|
12
|
-
* If the plugin should enable collaborative editing. Which means the client will exchange edits with
|
|
13
|
-
* the collaboration server. It this is set to false, the client will simply load data from the server.
|
|
14
|
-
*
|
|
15
|
-
* @default true
|
|
16
|
-
*/
|
|
17
|
-
enableCollaboration?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* If offline editing is enabled.
|
|
20
|
-
* @default false
|
|
21
|
-
*/
|
|
22
|
-
enableOfflineEditing?: boolean;
|
|
23
|
-
enableSingleActiveInstanceLock?: boolean;
|
|
24
|
-
enableAuthServer?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Override internal modules with custom implementations.
|
|
27
|
-
*/
|
|
28
|
-
override?: DependencyOverride;
|
|
29
|
-
sendChangesetTimeout?: number;
|
|
30
|
-
snapshotServerUrl?: string;
|
|
31
|
-
collabSubmitChangesetUrl?: string;
|
|
32
|
-
collabWebSocketUrl?: string;
|
|
33
|
-
/**
|
|
34
|
-
* The URL of the endpoint for getting the websocket session ticket.
|
|
35
|
-
*/
|
|
36
|
-
wsSessionTicketUrl?: string;
|
|
37
|
-
loginUrlKey?: string;
|
|
38
|
-
retryConnectingInterval?: number;
|
|
39
|
-
authzUrl?: string;
|
|
40
|
-
/**
|
|
41
|
-
* The URL of the endpoint for downloading files.
|
|
42
|
-
* @default 'location.origin'
|
|
43
|
-
*/
|
|
44
|
-
downloadEndpointUrl?: string;
|
|
45
|
-
uploadFileServerUrl?: string;
|
|
46
|
-
signUrlServerUrl?: string;
|
|
47
|
-
/**
|
|
48
|
-
* The URL of the endpoint for starting formula limit.
|
|
49
|
-
*/
|
|
50
|
-
startFormulaLimitUrl?: string;
|
|
51
|
-
/**
|
|
52
|
-
* The URL of the endpoint for getting formula limit status.
|
|
53
|
-
*/
|
|
54
|
-
getFormulaLimitStatusUrl?: string;
|
|
55
|
-
/**
|
|
56
|
-
* The URL of the endpoint for releasing formula limit.
|
|
57
|
-
*/
|
|
58
|
-
releaseFormulaLimitUrl?: string;
|
|
59
|
-
/**
|
|
60
|
-
* The socket connection custom headers.
|
|
61
|
-
*/
|
|
62
|
-
customHeaders?: Record<string, string>;
|
|
63
|
-
}
|
|
64
|
-
export declare const defaultPluginConfig: Omit<IUniverCollaborationClientConfig, 'socketService'>;
|