@univerjs-pro/collaboration-client 0.5.1 → 0.5.2-nightly.202412281605
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 -0
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.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/ru-RU.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 -0
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.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/ru-RU.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/types/config/config.d.ts +7 -2
- package/lib/types/controllers/collaboration/collaboration-entity.d.ts +20 -18
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +18 -15
- package/lib/types/controllers/collaboration/collaboration.controller.d.ts +2 -0
- package/lib/types/facade/f-collaboration.d.ts +33 -0
- package/lib/types/facade/f-univer.d.ts +12 -0
- package/lib/types/facade/index.d.ts +2 -0
- package/lib/types/index.d.ts +12 -12
- package/lib/types/plugin.d.ts +1 -6
- package/lib/types/services/collaboration-session/collaboration-session.d.ts +4 -5
- package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +7 -8
- package/lib/types/services/collaboration-ui-event/collaboration-ui-event.d.ts +19 -0
- package/lib/types/services/data-loader/data-loader.service.d.ts +23 -0
- package/lib/types/services/image-remote/image-io.service.d.ts +1 -1
- package/lib/types/services/local-cache/local-cache.service.d.ts +7 -23
- package/lib/types/services/member/member.service.d.ts +6 -0
- package/lib/types/services/network-condition/network-condition.service.d.ts +6 -0
- package/lib/types/services/permission/permission.service.d.ts +8 -3
- package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +0 -24
- package/lib/types/services/socket/collaboration-socket.service.d.ts +4 -4
- package/lib/umd/facade.js +1 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.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/ru-RU.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 +23 -21
- package/lib/index.css +0 -1
- package/lib/types/controllers/clipboard/docs/image/image-paste.controller.d.ts +0 -9
- package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +0 -23
- package/lib/types/controllers/collab-cursor/__tests__/serialize-text-ranges.spec.d.ts +0 -1
- package/lib/types/controllers/collab-cursor/__tests__/sheet-collab-cursor.controller.spec.d.ts +0 -1
- package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +0 -22
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +0 -38
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +0 -24
- package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +0 -3
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +0 -39
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +0 -21
- package/lib/types/controllers/collab-status/collab-status.controller.d.ts +0 -18
- package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +0 -4
- package/lib/types/controllers/collaboration/__tests__/mock-text-selection-render-manager.service.d.ts +0 -0
- package/lib/types/controllers/collaboration/__tests__/mocks.d.ts +0 -58
- package/lib/types/controllers/data-loader/__tests__/data-loader.controller.spec.d.ts +0 -1
- package/lib/types/controllers/data-loader/data-loader.controller.d.ts +0 -22
- package/lib/types/models/cursor.d.ts +0 -30
- package/lib/types/services/color-assign/color-assign.service.d.ts +0 -10
- package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +0 -13
- package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +0 -12
- package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +0 -13
- package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +0 -8
- package/lib/types/services/url/url.service.d.ts +0 -12
- package/lib/types/services/url/web-url.service.d.ts +0 -10
- package/lib/types/views/components/CollabStatus.d.ts +0 -10
- package/lib/types/views/components/CollabStatus.stories.d.ts +0 -8
- package/lib/types/views/shapes/doc-collab-cursor.d.ts +0 -27
- package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +0 -27
- package/lib/types/views/shapes/text-bubble.shape.d.ts +0 -19
@@ -1,9 +1,9 @@
|
|
1
|
-
import { IDisposable, Nullable, IConfigService, ILogService, LocaleService, RxDisposable } from '@univerjs/core';
|
2
1
|
import { ICollaborationEvent } from '@univerjs-pro/collaboration';
|
2
|
+
import { IDisposable, Nullable, IConfigService, ILogService, LocaleService, RxDisposable } from '@univerjs/core';
|
3
3
|
import { Observable } from 'rxjs';
|
4
4
|
import { ICollaborationSocket } from '../socket/collaboration-socket.service';
|
5
5
|
import { ITelemetryService } from '@univerjs/telemetry';
|
6
|
-
import {
|
6
|
+
import { CollaborationUIEventService } from '../collaboration-ui-event/collaboration-ui-event';
|
7
7
|
import { CommentService } from '../comment/comment.service';
|
8
8
|
import { MemberService } from '../member/member.service';
|
9
9
|
export declare enum SessionStatus {
|
@@ -27,12 +27,11 @@ export declare const FailedReason: {
|
|
27
27
|
export declare class CollaborationSession extends RxDisposable implements IDisposable {
|
28
28
|
private readonly _unitID;
|
29
29
|
private readonly _logService;
|
30
|
-
private readonly _beforeCloseService;
|
31
|
-
private readonly _messageService;
|
32
30
|
private readonly _configService;
|
33
31
|
private readonly _localeService;
|
34
32
|
private readonly _memberService;
|
35
33
|
private readonly _commentService;
|
34
|
+
private readonly _collaborationUIEventService;
|
36
35
|
private readonly _telemetryService?;
|
37
36
|
private readonly _sessionStatus$;
|
38
37
|
readonly sessionStatus$: Observable<SessionStatus>;
|
@@ -41,7 +40,7 @@ export declare class CollaborationSession extends RxDisposable implements IDispo
|
|
41
40
|
readonly event$: Observable<ICollaborationEvent>;
|
42
41
|
private _socket;
|
43
42
|
private _socketMessageSubscription;
|
44
|
-
constructor(_unitID: string, socket$: Observable<Nullable<ICollaborationSocket>>, _logService: ILogService,
|
43
|
+
constructor(_unitID: string, socket$: Observable<Nullable<ICollaborationSocket>>, _logService: ILogService, _configService: IConfigService, _localeService: LocaleService, _memberService: MemberService, _commentService: CommentService, _collaborationUIEventService: CollaborationUIEventService, _telemetryService?: ITelemetryService | undefined);
|
45
44
|
getMemberID(): string | null;
|
46
45
|
dispose(): void;
|
47
46
|
close(): void;
|
@@ -1,7 +1,8 @@
|
|
1
|
-
import { Nullable, Disposable, IConfigService, ILogService, Injector
|
1
|
+
import { Nullable, Disposable, IConfigService, ILogService, Injector } from '@univerjs/core';
|
2
2
|
import { ICollaborationSocket, ICollaborationSocketService } from '../socket/collaboration-socket.service';
|
3
3
|
import { HTTPService } from '@univerjs/network';
|
4
|
-
import {
|
4
|
+
import { CollaborationUIEventService } from '../collaboration-ui-event/collaboration-ui-event';
|
5
|
+
import { INetworkConditionService } from '../network-condition/network-condition.service';
|
5
6
|
import { CollaborationSession, SessionStatus } from './collaboration-session';
|
6
7
|
/**
|
7
8
|
* This service provide collaboration sessions to univer instances. A collaboration session
|
@@ -9,12 +10,12 @@ import { CollaborationSession, SessionStatus } from './collaboration-session';
|
|
9
10
|
*/
|
10
11
|
export declare class CollaborationSessionService extends Disposable {
|
11
12
|
private readonly _injector;
|
12
|
-
private readonly _localeService;
|
13
|
-
private readonly _messageService;
|
14
13
|
private readonly _logService;
|
15
14
|
private readonly _configService;
|
16
15
|
private readonly _socketService;
|
17
16
|
private readonly _httpService;
|
17
|
+
private readonly _collaborationUIEventService;
|
18
|
+
private readonly _networkConditionService?;
|
18
19
|
/**
|
19
20
|
* Socket for collaboration sessions. Session are by unitID but the socket is share by collaboration sessions.
|
20
21
|
*/
|
@@ -28,8 +29,8 @@ export declare class CollaborationSessionService extends Disposable {
|
|
28
29
|
private _socketReady;
|
29
30
|
private _retryConnectingTimer;
|
30
31
|
private _retryCount;
|
31
|
-
constructor(_injector: Injector,
|
32
|
-
private
|
32
|
+
constructor(_injector: Injector, _logService: ILogService, _configService: IConfigService, _socketService: ICollaborationSocketService, _httpService: HTTPService, _collaborationUIEventService: CollaborationUIEventService, _networkConditionService?: INetworkConditionService | undefined);
|
33
|
+
private _listenToNetworkCondition;
|
33
34
|
dispose(): void;
|
34
35
|
/**
|
35
36
|
* Require a collaboration session.
|
@@ -59,10 +60,8 @@ export declare class CollaborationSessionService extends Disposable {
|
|
59
60
|
*/
|
60
61
|
private _tryEnsureSocket;
|
61
62
|
private _onConnectionOpen;
|
62
|
-
private _listenToOfflineEvent;
|
63
63
|
private _onOffline;
|
64
64
|
private _onConnectionFailed;
|
65
|
-
private _listenToOnlineEvent;
|
66
65
|
private _tryReconnect;
|
67
66
|
private _onMessage;
|
68
67
|
private _sendHeartbeatTimer;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export interface ICollaborationUIEvent {
|
2
|
+
id: CollaborationUIEventId;
|
3
|
+
data?: string;
|
4
|
+
}
|
5
|
+
export declare enum CollaborationUIEventId {
|
6
|
+
OTHER_CLIENT_EDITING = "OTHER_CLIENT_EDITING",
|
7
|
+
PERMISSION_DENIED = "PERMISSION_DENIED",
|
8
|
+
CONFLICT = "CONFLICT",
|
9
|
+
CLOSE_ROOM = "CLOSE_ROOM",
|
10
|
+
JOIN_ROOM_FAILED = "JOIN_ROOM_FAILED",
|
11
|
+
SOCKET_FAILED_RETRY = "SOCKET_FAILED_RETRY",
|
12
|
+
SOCKET_FAILED = "SOCKET_FAILED",
|
13
|
+
SUBMIT_CHANGESET_TIMEOUT = "SUBMIT_CHANGESET_TIMEOUT"
|
14
|
+
}
|
15
|
+
export declare class CollaborationUIEventService {
|
16
|
+
private readonly _event$;
|
17
|
+
readonly event$: import('rxjs').Observable<ICollaborationUIEvent>;
|
18
|
+
emitEvent(event: ICollaborationUIEvent): void;
|
19
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { UnitModel, ILogService, RxDisposable } from '@univerjs/core';
|
2
|
+
import { SnapshotService } from '@univerjs-pro/collaboration';
|
3
|
+
import { UniverType } from '@univerjs/protocol';
|
4
|
+
import { ILocalCacheService } from '../local-cache/local-cache.service';
|
5
|
+
export interface IUnitInfo {
|
6
|
+
unitId: string;
|
7
|
+
type: UniverType;
|
8
|
+
subUnitId?: string;
|
9
|
+
}
|
10
|
+
/**
|
11
|
+
* This service provides a way to load data from the server and initialize the Univer instance.
|
12
|
+
*/
|
13
|
+
export declare class DataLoaderService extends RxDisposable {
|
14
|
+
private readonly _logService;
|
15
|
+
private readonly _snapshotService;
|
16
|
+
private readonly _localCacheService?;
|
17
|
+
private readonly _unitInfo$;
|
18
|
+
readonly unitInfo$: import('rxjs').Observable<IUnitInfo | null>;
|
19
|
+
constructor(_logService: ILogService, _snapshotService: SnapshotService, _localCacheService?: ILocalCacheService | undefined);
|
20
|
+
loadUnit(unitId: string, type: UniverType, subUnitId?: string): Promise<UnitModel | null>;
|
21
|
+
private _loadSheet;
|
22
|
+
private _loadDoc;
|
23
|
+
}
|
@@ -12,7 +12,7 @@ export interface ISignUrlResponse {
|
|
12
12
|
error: IError | undefined;
|
13
13
|
url: string;
|
14
14
|
}
|
15
|
-
export declare class
|
15
|
+
export declare class CollaborationImageIoService implements IImageIoService {
|
16
16
|
private readonly _httpService;
|
17
17
|
private readonly _configService;
|
18
18
|
private readonly _univerInstanceService;
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import { IMutationInfo, Nullable
|
1
|
+
import { IMutationInfo, Nullable } from '@univerjs/core';
|
2
2
|
import { UniverType } from '@univerjs/protocol';
|
3
|
-
import { IChangeset
|
4
|
-
import { IBeforeCloseService } from '@univerjs/ui';
|
3
|
+
import { IChangeset } from '@univerjs-pro/collaboration';
|
5
4
|
export interface IUnitCacheData {
|
6
5
|
unitID: string;
|
7
6
|
type: UniverType;
|
@@ -9,29 +8,14 @@ export interface IUnitCacheData {
|
|
9
8
|
awaitingChangeset: Nullable<IChangeset>;
|
10
9
|
mutations: IMutationInfo[];
|
11
10
|
}
|
12
|
-
|
13
|
-
* This service provide caching to the collaboration controller.
|
14
|
-
*/
|
15
|
-
export declare class LocalCacheService extends Disposable {
|
16
|
-
private readonly _configService;
|
17
|
-
private readonly _localStorageService;
|
18
|
-
private readonly _beforeCloseService;
|
19
|
-
private readonly _localeService;
|
20
|
-
private readonly _revisionService;
|
21
|
-
private _cachedData;
|
22
|
-
private _saveTaskMap;
|
23
|
-
private _disabled;
|
24
|
-
constructor(_configService: IConfigService, _localStorageService: ILocalStorageService, _beforeCloseService: IBeforeCloseService, _localeService: LocaleService, _revisionService: RevisionService);
|
25
|
-
disableLocalCache(): void;
|
26
|
-
enableLocalCache(): void;
|
27
|
-
dispose(): void;
|
11
|
+
export interface ILocalCacheService {
|
28
12
|
loadOfflineData(unitID: string): Promise<Nullable<IUnitCacheData>>;
|
29
13
|
saveOfflineData(unitID: string, data: IUnitCacheData): Promise<boolean>;
|
30
14
|
updateOfflineData(unitID: string, type: UniverType, awaitingChangeset: Nullable<IChangeset>, pendingMutations: IMutationInfo[]): void;
|
31
|
-
|
32
|
-
|
33
|
-
private _saveCache;
|
15
|
+
disableLocalCache(): void;
|
16
|
+
enableLocalCache(): void;
|
34
17
|
exhaustSavingTask(): Promise<void>;
|
35
|
-
|
18
|
+
saveTaskMap: Map<string, number>;
|
36
19
|
}
|
20
|
+
export declare const ILocalCacheService: import('@wendellhu/redi').IdentifierDecorator<ILocalCacheService>;
|
37
21
|
export declare function getLocalCacheKey(unitID: string): string;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { Nullable, Disposable, IUniverInstanceService, UserManagerService } from '@univerjs/core';
|
2
2
|
import { IMember } from '@univerjs/protocol';
|
3
|
+
import { Observable } from 'rxjs';
|
3
4
|
export interface IUser extends IMember {
|
4
5
|
userID: string;
|
5
6
|
}
|
@@ -10,7 +11,9 @@ export declare class MemberService extends Disposable {
|
|
10
11
|
private readonly _univerInstanceService;
|
11
12
|
private _userManagerService;
|
12
13
|
private _roomMembers;
|
14
|
+
private readonly _roomCreated$;
|
13
15
|
constructor(_univerInstanceService: IUniverInstanceService, _userManagerService: UserManagerService);
|
16
|
+
waitForRoom$(unitId: string): Observable<RoomMember>;
|
14
17
|
/**
|
15
18
|
* @deprecated please use userManagerService
|
16
19
|
*/
|
@@ -52,6 +55,8 @@ export declare class MemberService extends Disposable {
|
|
52
55
|
*/
|
53
56
|
export declare class RoomMember extends Disposable {
|
54
57
|
private readonly _members;
|
58
|
+
private readonly _members$;
|
59
|
+
readonly members$: Observable<Map<string, IMember>>;
|
55
60
|
dispose(): void;
|
56
61
|
/**
|
57
62
|
* Update a member in the room(unit).
|
@@ -74,4 +79,5 @@ export declare class RoomMember extends Disposable {
|
|
74
79
|
* @returns member object array.
|
75
80
|
*/
|
76
81
|
getAllMembers(): IMember[];
|
82
|
+
private _emitMembers;
|
77
83
|
}
|
@@ -1,12 +1,17 @@
|
|
1
|
-
import { Injector, IPermissionService,
|
1
|
+
import { IAuthzIoService, Injector, IPermissionService, IUndoRedoService, IUniverInstanceService, RxDisposable } from '@univerjs/core';
|
2
2
|
import { CollaborationSessionService } from '../collaboration-session/collaboration-session.service';
|
3
|
+
import { CollaborationUIEventService } from '../collaboration-ui-event/collaboration-ui-event';
|
3
4
|
export declare class PermissionService extends RxDisposable {
|
4
5
|
private _injector;
|
5
6
|
private _univerInstanceService;
|
6
7
|
private _permissionService;
|
7
8
|
private _collaborationSessionService;
|
8
|
-
private
|
9
|
-
|
9
|
+
private _collaborationUIEventService;
|
10
|
+
private _authzIoService;
|
11
|
+
private readonly _undoRedoService;
|
12
|
+
constructor(_injector: Injector, _univerInstanceService: IUniverInstanceService, _permissionService: IPermissionService, _collaborationSessionService: CollaborationSessionService, _collaborationUIEventService: CollaborationUIEventService, _authzIoService: IAuthzIoService, _undoRedoService: IUndoRedoService);
|
10
13
|
private _initCloseConn;
|
11
14
|
private _initUnitPermissionChange;
|
15
|
+
initWorkbookPermissionChange(_unitId?: string): Promise<void>;
|
16
|
+
refreshPermission(unitId: string, permissionId: string): void;
|
12
17
|
}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { Disposable } from '@univerjs/core';
|
2
1
|
import { Observable } from 'rxjs';
|
3
2
|
/**
|
4
3
|
* It is not recommended to open multiple units in different browser tabs at the same time,
|
@@ -14,26 +13,3 @@ export declare enum UnitStatus {
|
|
14
13
|
NO_OTHER_CLIENTS_EDITING = 0,
|
15
14
|
OTHER_CLIENTS_EDITING = 1
|
16
15
|
}
|
17
|
-
export declare class WebBrowserSingleActiveUnitService extends Disposable implements ISingleActiveUnitService {
|
18
|
-
private _id;
|
19
|
-
private _selfUnitIDs;
|
20
|
-
private _unitOnClients;
|
21
|
-
private _heartbeatTimer;
|
22
|
-
private _clearOtherTimers;
|
23
|
-
private _unitStatus;
|
24
|
-
constructor();
|
25
|
-
dispose(): void;
|
26
|
-
getUnitStatus$(unitID: string): Observable<UnitStatus>;
|
27
|
-
editingUnit(unitID: string): void;
|
28
|
-
disposeUnit(unitID: string): void;
|
29
|
-
private _init;
|
30
|
-
private _handleEvent;
|
31
|
-
private _handleJoinEvent;
|
32
|
-
private _scheduleClearOtherTimer;
|
33
|
-
private _removeClearOtherTimer;
|
34
|
-
private _handleLeaveEvent;
|
35
|
-
private _handleHeartbeatEvent;
|
36
|
-
private _send;
|
37
|
-
private _scheduleHeartbeat;
|
38
|
-
private _ensureSubject;
|
39
|
-
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ICombRequestEvent, ICombResponseEvent, IFetchingMissEvent, ISubmitChangesetEvent, ISnapshotServerService } from '@univerjs-pro/collaboration';
|
2
|
-
import { Nullable, Disposable, IConfigService, ILogService } from '@univerjs/core';
|
3
|
-
import { ISocket, HTTPService
|
2
|
+
import { Nullable, Disposable, IConfigService, ILogService, Injector } from '@univerjs/core';
|
3
|
+
import { ISocket, HTTPService } from '@univerjs/network';
|
4
4
|
import { IChangeset } from '@univerjs/protocol';
|
5
5
|
import { Observable } from 'rxjs';
|
6
6
|
export interface ICollaborationSocket extends Pick<ISocket, 'open$' | 'error$' | 'close$'> {
|
@@ -17,12 +17,12 @@ export interface ICollaborationSocketService {
|
|
17
17
|
}
|
18
18
|
export declare const ICollaborationSocketService: import('@wendellhu/redi').IdentifierDecorator<ICollaborationSocketService>;
|
19
19
|
export declare class CollaborationSocketService extends Disposable implements ICollaborationSocketService {
|
20
|
+
protected readonly _injector: Injector;
|
20
21
|
protected readonly _http: HTTPService;
|
21
|
-
protected readonly _ws: WebSocketService;
|
22
22
|
protected readonly _configService: IConfigService;
|
23
23
|
protected readonly _logService: ILogService;
|
24
24
|
protected readonly _snapshotServerService: ISnapshotServerService;
|
25
|
-
constructor(
|
25
|
+
constructor(_injector: Injector, _http: HTTPService, _configService: IConfigService, _logService: ILogService, _snapshotServerService: ISnapshotServerService);
|
26
26
|
/**
|
27
27
|
* Create a socket that would connect to the remote collaboration server. It would throw an error when the socket cannot be created.
|
28
28
|
*
|
@@ -0,0 +1 @@
|
|
1
|
+
function _0x420d(){var _0x71a065=['CollaborationController','UNIVER_SHEET','198CZqKuD','defineProperty','exports','540acpCrJ','64830xEACZL','UniverProCollaborationClient','FBase','UniverInstanceType','waitForRoom$','subscribe','extend','get','UniverProCollaboration','Module','_injector','object','_snapshotService','IUniverInstanceService','124415TIzpAr','_univerInstanceService','rxjs','getCollaboration','_handler','getUniverSheet','toStringTag','SnapshotService','117986lQjbDa','4287rtJBIo','switchMap','1237398rqIKGy','values','from','@univerjs-pro/collaboration-client','244rpZoWy','686otvCMY','Injector','_collaborationController','476250jnCNjs','MemberService','FUniver','members$','@univerjs/core','Inject','UniverProCollaborationClientFacade','readyForCollab','5nuFcwp','createInstance','subscribeCollaborators','amd','loadActiveSheet','toDisposable','loadSheet','2232hsMnSX','getOwnPropertyDescriptor','@univerjs-pro/collaboration','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FCollaboration'];_0x420d=function(){return _0x71a065;};return _0x420d();}function _0x4b3f(_0x2b9cb9,_0x4b97c5){var _0x420d88=_0x420d();return _0x4b3f=function(_0x4b3f4b,_0x4be31c){_0x4b3f4b=_0x4b3f4b-0x10a;var _0x48e133=_0x420d88[_0x4b3f4b];return _0x48e133;},_0x4b3f(_0x2b9cb9,_0x4b97c5);}(function(_0x98a525,_0x2c0432){var _0x2b6839=_0x4b3f,_0x289b0=_0x98a525();while(!![]){try{var _0x19a6ae=-parseInt(_0x2b6839(0x127))/0x1+-parseInt(_0x2b6839(0x13a))/0x2+parseInt(_0x2b6839(0x130))/0x3*(-parseInt(_0x2b6839(0x136))/0x4)+parseInt(_0x2b6839(0x142))/0x5*(parseInt(_0x2b6839(0x132))/0x6)+parseInt(_0x2b6839(0x137))/0x7*(parseInt(_0x2b6839(0x10e))/0x8)+parseInt(_0x2b6839(0x115))/0x9*(-parseInt(_0x2b6839(0x119))/0xa)+-parseInt(_0x2b6839(0x12f))/0xb*(-parseInt(_0x2b6839(0x118))/0xc);if(_0x19a6ae===_0x2c0432)break;else _0x289b0['push'](_0x289b0['shift']());}catch(_0x21b4d9){_0x289b0['push'](_0x289b0['shift']());}}}(_0x420d,0x1e406),function(_0x1c4960,_0x16513c){var _0x1ad441=_0x4b3f;typeof exports==_0x1ad441(0x124)&&typeof module<'u'?_0x16513c(exports,require(_0x1ad441(0x13e)),require(_0x1ad441(0x110)),require(_0x1ad441(0x135)),require(_0x1ad441(0x129))):typeof define=='function'&&define[_0x1ad441(0x10a)]?define([_0x1ad441(0x117),_0x1ad441(0x13e),'@univerjs-pro/collaboration',_0x1ad441(0x135),_0x1ad441(0x129)],_0x16513c):(_0x1c4960=typeof globalThis<'u'?globalThis:_0x1c4960||self,_0x16513c(_0x1c4960[_0x1ad441(0x140)]={},_0x1c4960['UniverCore'],_0x1c4960[_0x1ad441(0x121)],_0x1c4960[_0x1ad441(0x11a)],_0x1c4960['rxjs']));}(this,function(_0x5014ba,_0x3081a7,_0x371984,_0x38c004,_0x3ac28c){'use strict';var _0x4442b2=_0x4b3f;var _0x50ef56=Object[_0x4442b2(0x116)],_0x4b8850=Object[_0x4442b2(0x10f)],_0x13cbf0=(_0x5ddce8,_0x4fe74a,_0x1cc046,_0x371c5a)=>{for(var _0x11eff7=_0x371c5a>0x1?void 0x0:_0x371c5a?_0x4b8850(_0x4fe74a,_0x1cc046):_0x4fe74a,_0x12d4e1=_0x5ddce8['length']-0x1,_0x33573e;_0x12d4e1>=0x0;_0x12d4e1--)(_0x33573e=_0x5ddce8[_0x12d4e1])&&(_0x11eff7=(_0x371c5a?_0x33573e(_0x4fe74a,_0x1cc046,_0x11eff7):_0x33573e(_0x11eff7))||_0x11eff7);return _0x371c5a&&_0x11eff7&&_0x50ef56(_0x4fe74a,_0x1cc046,_0x11eff7),_0x11eff7;},_0x13eac9=(_0x402fc4,_0x1d8276)=>(_0x187ab6,_0x383f8a)=>_0x1d8276(_0x187ab6,_0x383f8a,_0x402fc4);_0x5014ba[_0x4442b2(0x112)]=class extends _0x3081a7[_0x4442b2(0x11b)]{constructor(_0x54f848,_0x493a8,_0x367042,_0x3a80d7,_0x43d8bc){var _0x3a3d21=_0x4442b2;super(),this[_0x3a3d21(0x12b)]=_0x54f848,this[_0x3a3d21(0x123)]=_0x493a8,this[_0x3a3d21(0x128)]=_0x367042,this[_0x3a3d21(0x125)]=_0x3a80d7,this[_0x3a3d21(0x139)]=_0x43d8bc;}async[_0x4442b2(0x10b)](){var _0x51741f=_0x4442b2;throw new Error(_0x51741f(0x111));}async['loadSheet'](_0x418992){var _0x2a3a30=_0x4442b2;return this[_0x2a3a30(0x128)]['getUnit'](_0x418992,_0x3081a7[_0x2a3a30(0x11c)][_0x2a3a30(0x114)])||await this[_0x2a3a30(0x125)][_0x2a3a30(0x10d)](_0x418992,0x0)?(await this[_0x2a3a30(0x139)][_0x2a3a30(0x141)](_0x418992),this[_0x2a3a30(0x12b)]['getUniverSheet'](_0x418992)):null;}[_0x4442b2(0x144)](_0x4a5fe0,_0x29a520){var _0x205ff1=_0x4442b2;const _0x3a548a=this['_injector'][_0x205ff1(0x120)](_0x38c004[_0x205ff1(0x13b)])[_0x205ff1(0x11d)](_0x4a5fe0)['pipe'](_0x3ac28c[_0x205ff1(0x131)](_0x3222ac=>_0x3222ac[_0x205ff1(0x13d)]))[_0x205ff1(0x11e)](_0x78ae03=>_0x29a520(Array[_0x205ff1(0x134)](_0x78ae03[_0x205ff1(0x133)]())));return _0x3081a7[_0x205ff1(0x10c)](_0x3a548a);}},_0x5014ba[_0x4442b2(0x112)]=_0x13cbf0([_0x13eac9(0x1,_0x3081a7[_0x4442b2(0x13f)](_0x3081a7[_0x4442b2(0x138)])),_0x13eac9(0x2,_0x3081a7[_0x4442b2(0x126)]),_0x13eac9(0x3,_0x3081a7[_0x4442b2(0x13f)](_0x371984[_0x4442b2(0x12e)])),_0x13eac9(0x4,_0x3081a7['Inject'](_0x38c004[_0x4442b2(0x113)]))],_0x5014ba[_0x4442b2(0x112)]);class _0x302295 extends _0x3081a7[_0x4442b2(0x13c)]{[_0x4442b2(0x12a)](){var _0x847a53=_0x4442b2;return this[_0x847a53(0x123)][_0x847a53(0x143)](_0x5014ba[_0x847a53(0x112)],{'getUniverSheet':_0x98c72d=>this[_0x847a53(0x12c)](_0x98c72d)});}}_0x3081a7[_0x4442b2(0x13c)][_0x4442b2(0x11f)](_0x302295),Object[_0x4442b2(0x116)](_0x5014ba,Symbol[_0x4442b2(0x12d)],{'value':_0x4442b2(0x122)});}));
|