@univerjs-pro/collaboration-client-ui 1.0.0-alpha.7 → 1.0.0-alpha.8
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/types/controllers/collab-cursor/board-collab-cursor-entity.d.ts +3 -3
- package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +2 -2
- package/lib/types/controllers/collab-cursor/slide-collab-cursor-entity.d.ts +3 -3
- package/lib/types/models/cursor.d.ts +0 -2
- 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 +22 -21
package/lib/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x7a789d=_0x2ba1;function _0x2ba1(_0x3bcf97,_0x547227){_0x3bcf97=_0x3bcf97-0x187;const _0x286bb1=_0x286b();let _0x2ba164=_0x286bb1[_0x3bcf97];return _0x2ba164;}(function(_0x4b3488,_0x42b269){const _0x5c554c=_0x2ba1,_0x491d1f=_0x4b3488();while(!![]){try{const _0x35a5b9=-parseInt(_0x5c554c(0x193))/0x1*(-parseInt(_0x5c554c(0x18b))/0x2)+-parseInt(_0x5c554c(0x190))/0x3+parseInt(_0x5c554c(0x19a))/0x4+parseInt(_0x5c554c(0x192))/0x5*(-parseInt(_0x5c554c(0x1a7))/0x6)+parseInt(_0x5c554c(0x18f))/0x7*(-parseInt(_0x5c554c(0x1a8))/0x8)+-parseInt(_0x5c554c(0x194))/0x9+parseInt(_0x5c554c(0x1a1))/0xa;if(_0x35a5b9===_0x42b269)break;else _0x491d1f['push'](_0x491d1f['shift']());}catch(_0x23452f){_0x491d1f['push'](_0x491d1f['shift']());}}}(_0x286b,0xb2f8b));function _0x286b(){const _0xdba516=['編輯衝突','公式計算已開始。','連線失敗,請檢查您的網絡。','公式計算佇列已滿,正在等待可用資源...','332SayVHy','認證錯誤','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','由於協作房間已關閉,編輯權限已被收回。','89383XvmUlM','4190466AWdjnK','資料載入停留在\x20{0}/{1},請重新整理頁面後再試。','25DpGoHs','6445uveWBw','3477177znIOaA','已同步','已離線,編輯將儲存在本機','協作衝突','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','本機檔案','2925968WOiAyi','重新整理頁面','伺服器未回應協作請求,您的編輯將儲存在本機。','連線失敗,將在稍後重試連線。','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','同步中...','19262740NmvaHA','正在擷取伺服器資料...','目前無法執行公式計算,請稍後重試。','協作房間已滿,您的編輯將暫存於本機。','您有未儲存至伺服器的離線編輯,請檢查網絡後重試。','正在載入工作表','978666gtXgTQ','248Hqzewe'];_0x286b=function(){return _0xdba516;};return _0x286b();}const e={'collaboration-client-ui':{'collabClient':{'tooltip':{'reconnect':'點擊重新連線'}},'collabStatus':{'fetchMiss':_0x7a789d(0x1a2),'conflict':_0x7a789d(0x187),'notCollab':_0x7a789d(0x199),'synced':_0x7a789d(0x195),'syncing':_0x7a789d(0x1a0),'offline':_0x7a789d(0x196)},'snapshotLoading':{'loadingSheet':_0x7a789d(0x1a6),'timeout':_0x7a789d(0x191),'refresh':_0x7a789d(0x19b)},'session':{'connection-failed':_0x7a789d(0x189),'will-retry':_0x7a789d(0x19d),'room-full':_0x7a789d(0x1a4),'collaboration-timeout':_0x7a789d(0x19c)},'conflict':{'title':_0x7a789d(0x197),'content':_0x7a789d(0x198)},'permission':{'title':_0x7a789d(0x18c),'content':_0x7a789d(0x18d)},'collaboration':{'offline-data-not-saved':_0x7a789d(0x1a5),'single-unit':{'warning':_0x7a789d(0x19f)},'closeRoom':_0x7a789d(0x18e)},'auth':{'needGotoLoginAlert':_0x7a789d(0x19e)},'formula':{'calculation':{'started':_0x7a789d(0x188),'waiting':_0x7a789d(0x18a),'unable':_0x7a789d(0x1a3)}}}};export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x55087b=_0x1553;function _0x4426(){const _0x399c56=['正在擷取伺服器資料...','519605fhiPkK','資料載入停留在\x20{0}/{1},請重新整理頁面後再試。','2683163HdukIF','連線失敗,將在稍後重試連線。','重新整理頁面','您有未儲存至伺服器的離線編輯,請檢查網路後重試。','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','18moImGY','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','伺服器未回應協作請求,您的編輯將儲存在本機。','145184cGcNfa','已同步','1529487PNtwwv','1154090cSvUoe','4TkTUCk','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','1885640jUbRLW','已離線,編輯將儲存在本機','18bHKZQj','同步中...','公式計算已開始。','正在載入工作表','編輯衝突','協作房間已滿,您的編輯將暫存於本機。','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','208898QmOMIO'];_0x4426=function(){return _0x399c56;};return _0x4426();}(function(_0x37ce36,_0x523d57){const _0x42e24a=_0x1553,_0x520a10=_0x37ce36();while(!![]){try{const _0x380482=-parseInt(_0x42e24a(0xc8))/0x1*(-parseInt(_0x42e24a(0xb8))/0x2)+parseInt(_0x42e24a(0xc6))/0x3+parseInt(_0x42e24a(0xc4))/0x4+-parseInt(_0x42e24a(0xba))/0x5*(parseInt(_0x42e24a(0xc1))/0x6)+-parseInt(_0x42e24a(0xbc))/0x7+parseInt(_0x42e24a(0xca))/0x8+-parseInt(_0x42e24a(0xcc))/0x9*(parseInt(_0x42e24a(0xc7))/0xa);if(_0x380482===_0x523d57)break;else _0x520a10['push'](_0x520a10['shift']());}catch(_0x2803f1){_0x520a10['push'](_0x520a10['shift']());}}}(_0x4426,0x42d48));const e={'collaboration-client-ui':{'collabClient':{'tooltip':{'reconnect':'點擊重新連線'}},'collabStatus':{'fetchMiss':_0x55087b(0xb9),'conflict':_0x55087b(0xb5),'notCollab':'本機檔案','synced':_0x55087b(0xc5),'syncing':_0x55087b(0xcd),'offline':_0x55087b(0xcb)},'snapshotLoading':{'loadingSheet':_0x55087b(0xb4),'timeout':_0x55087b(0xbb),'refresh':_0x55087b(0xbe)},'session':{'connection-failed':'連線失敗,請檢查您的網路。','will-retry':_0x55087b(0xbd),'room-full':_0x55087b(0xb6),'collaboration-timeout':_0x55087b(0xc3)},'conflict':{'title':'協作衝突','content':_0x55087b(0xc9)},'permission':{'title':'認證錯誤','content':_0x55087b(0xc2)},'collaboration':{'offline-data-not-saved':_0x55087b(0xbf),'single-unit':{'warning':_0x55087b(0xb7)},'closeRoom':'由於協作房間已關閉,編輯權限已被收回。'},'auth':{'needGotoLoginAlert':_0x55087b(0xc0)},'formula':{'calculation':{'started':_0x55087b(0xce),'waiting':'公式計算佇列已滿,正在等待可用資源...','unable':'目前無法執行公式計算,請稍後重試。'}}}};function _0x1553(_0x42b003,_0x3af462){_0x42b003=_0x42b003-0xb4;const _0x4426b4=_0x4426();let _0x15531f=_0x4426b4[_0x42b003];return _0x15531f;}export{e as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ICollaborationUser } from '@univerjs-pro/collaboration';
|
|
2
2
|
import type { CollaborationSession } from '@univerjs-pro/collaboration-client';
|
|
3
|
-
import type {
|
|
3
|
+
import type { IBoardCollabSelectionPayload, IElementCollabCursor } from '../../models/cursor';
|
|
4
4
|
import { IBoardElementStateService } from '@univerjs-pro/boards-ui';
|
|
5
5
|
import { MemberService } from '@univerjs-pro/collaboration-client';
|
|
6
6
|
import { RxDisposable } from '@univerjs/core';
|
|
@@ -15,8 +15,8 @@ export declare class BoardCollabCursorEntity extends RxDisposable {
|
|
|
15
15
|
private _online;
|
|
16
16
|
private _init;
|
|
17
17
|
private _cursorInfo$;
|
|
18
|
-
cursorInfo$: import("rxjs").Observable<Map<string,
|
|
19
|
-
get cursorInfo(): Readonly<Map<string,
|
|
18
|
+
cursorInfo$: import("rxjs").Observable<Map<string, IElementCollabCursor>>;
|
|
19
|
+
get cursorInfo(): Readonly<Map<string, IElementCollabCursor>>;
|
|
20
20
|
private _roomMembers$;
|
|
21
21
|
roomMembers$: import("rxjs").Observable<ICollaborationUser[]>;
|
|
22
22
|
get roomMembers(): Readonly<ICollaborationUser[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Observable } from 'rxjs';
|
|
2
|
-
import type {
|
|
2
|
+
import type { IDocCollabCursor, IElementCollabCursor, ISheetCollabCursor } from '../../models/cursor';
|
|
3
3
|
import { CollaborationSessionService } from '@univerjs-pro/collaboration-client';
|
|
4
4
|
import { Injector, IUniverInstanceService, RxDisposable } from '@univerjs/core';
|
|
5
5
|
/**
|
|
@@ -15,7 +15,7 @@ export declare class CollabCursorController extends RxDisposable {
|
|
|
15
15
|
private readonly _entityInit$;
|
|
16
16
|
constructor(_univerInstanceService: IUniverInstanceService, _injector: Injector, _collabSessionService: CollaborationSessionService);
|
|
17
17
|
dispose(): void;
|
|
18
|
-
getCollabCursors$(unitID: string): Observable<Map<string, ISheetCollabCursor> | Map<string, IDocCollabCursor> | Map<string,
|
|
18
|
+
getCollabCursors$(unitID: string): Observable<Map<string, ISheetCollabCursor> | Map<string, IDocCollabCursor> | Map<string, IElementCollabCursor> | Map<string, IElementCollabCursor>>;
|
|
19
19
|
private _init;
|
|
20
20
|
private _startSheetCollabCursor;
|
|
21
21
|
private _startDocCollabCursor;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ICollaborationUser } from '@univerjs-pro/collaboration';
|
|
2
2
|
import type { CollaborationSession } from '@univerjs-pro/collaboration-client';
|
|
3
|
-
import type {
|
|
3
|
+
import type { IElementCollabCursor, ISlideCollabSelectionPayload } from '../../models/cursor';
|
|
4
4
|
import { MemberService } from '@univerjs-pro/collaboration-client';
|
|
5
5
|
import { ISlideDrawingStateService } from '@univerjs-pro/slides-ui';
|
|
6
6
|
import { RxDisposable } from '@univerjs/core';
|
|
@@ -18,8 +18,8 @@ export declare class SlideCollabCursorEntity extends RxDisposable {
|
|
|
18
18
|
private _online;
|
|
19
19
|
private _init;
|
|
20
20
|
private _cursorInfo$;
|
|
21
|
-
cursorInfo$: import("rxjs").Observable<Map<string,
|
|
22
|
-
get cursorInfo(): Readonly<Map<string,
|
|
21
|
+
cursorInfo$: import("rxjs").Observable<Map<string, IElementCollabCursor>>;
|
|
22
|
+
get cursorInfo(): Readonly<Map<string, IElementCollabCursor>>;
|
|
23
23
|
private _roomMembers$;
|
|
24
24
|
roomMembers$: import("rxjs").Observable<ICollaborationUser[]>;
|
|
25
25
|
get roomMembers(): Readonly<ICollaborationUser[]>;
|
|
@@ -58,6 +58,4 @@ export interface IElementCollabCursor {
|
|
|
58
58
|
selection: string;
|
|
59
59
|
}
|
|
60
60
|
export type ISlideCollabSelectionPayload = IElementCollabSelectionPayload<'slide-element-selection'>;
|
|
61
|
-
export type ISlideCollabCursor = IElementCollabCursor;
|
|
62
61
|
export type IBoardCollabSelectionPayload = IElementCollabSelectionPayload<'board-element-selection'>;
|
|
63
|
-
export type IBoardCollabCursor = IElementCollabCursor;
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x4003(_0x32880f,_0x39309a){_0x32880f=_0x32880f-0x19b;var _0x548194=_0x5481();var _0x4003e2=_0x548194[_0x32880f];return _0x4003e2;}(function(_0xec81f9,_0x9f8169){var _0x2ca7ee=_0x4003,_0x543682=_0xec81f9();while(!![]){try{var _0x9d27c=parseInt(_0x2ca7ee(0x19d))/0x1+parseInt(_0x2ca7ee(0x1a3))/0x2*(parseInt(_0x2ca7ee(0x1ac))/0x3)+-parseInt(_0x2ca7ee(0x1af))/0x4*(parseInt(_0x2ca7ee(0x1a1))/0x5)+parseInt(_0x2ca7ee(0x1a5))/0x6+parseInt(_0x2ca7ee(0x19e))/0x7*(-parseInt(_0x2ca7ee(0x1a0))/0x8)+parseInt(_0x2ca7ee(0x1ae))/0x9+-parseInt(_0x2ca7ee(0x1ab))/0xa*(parseInt(_0x2ca7ee(0x1a4))/0xb);if(_0x9d27c===_0x9f8169)break;else _0x543682['push'](_0x543682['shift']());}catch(_0x489e0a){_0x543682['push'](_0x543682['shift']());}}}(_0x5481,0xdb4e5),function(_0x39064f,_0x11efec){var _0x518abc=_0x4003;typeof exports=='object'&&typeof module<'u'?_0x11efec(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define=='function'&&define[_0x518abc(0x1a6)]?define(['@univerjs-pro/collaboration-client-ui',_0x518abc(0x1a2)],_0x11efec):(_0x39064f=typeof globalThis<'u'?globalThis:_0x39064f||self,_0x11efec(_0x39064f[_0x518abc(0x1ad)],_0x39064f[_0x518abc(0x19b)]));}(this,function(_0x1c481e,_0x476195){var _0x5e4b8e=_0x4003,_0x2bcbc0=class extends _0x476195['FUniver']{[_0x5e4b8e(0x1aa)](_0x8bc636,_0x50f04f,..._0x299efd){var _0x204cad=_0x5e4b8e;return this[_0x204cad(0x19f)][_0x204cad(0x19c)](_0x1c481e[_0x204cad(0x1a8)])['runOnServer'](_0x8bc636,_0x50f04f,{},..._0x299efd);}};_0x476195[_0x5e4b8e(0x1a9)][_0x5e4b8e(0x1a7)](_0x2bcbc0);}));function _0x5481(){var _0x38a55e=['56HIfcMH','134455ZOAiMp','@univerjs/core/facade','16rqXoYv','396099ZvisCN','2413074xNKNOc','amd','extend','RemoteUniscriptService','FUniver','runOnServer','200MyHKBr','635982ixMkgv','UniverProCollaborationClientUi','6070338BmptNq','68mEOqgp','UniverCoreFacade','get','19462SwpUUx','716471LiPVVG','_injector'];_0x5481=function(){return _0x38a55e;};return _0x5481();}
|