@rhc-office/sdk 6.6.264 → 6.6.266
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 +3 -4
- package/dist/api/callbacks.d.ts +0 -1
- package/dist/api/callbacks.d.ts.map +1 -1
- package/dist/api/crypto-tool.d.ts +12 -1
- package/dist/api/crypto-tool.d.ts.map +1 -1
- package/dist/api/document-sdk.d.ts +0 -6
- package/dist/api/document-sdk.d.ts.map +1 -1
- package/dist/api/sign-tool.d.ts +43 -1
- package/dist/api/sign-tool.d.ts.map +1 -1
- package/dist/browser/document-viewer.js +1 -1
- package/dist/browser/document-viewer.js.map +1 -1
- package/dist/index.d.ts +0 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +117 -146
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/viewer/DocumentSDK.d.ts +0 -7
- package/dist/viewer/DocumentSDK.d.ts.map +1 -1
- package/dist/viewer/ReaderStateStore.d.ts +0 -1
- package/dist/viewer/ReaderStateStore.d.ts.map +1 -1
- package/dist/viewer/SdkCallbackRegistry.d.ts +1 -2
- package/dist/viewer/SdkCallbackRegistry.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/api/callbacks.ts +4 -17
- package/src/api/crypto-tool.ts +13 -1
- package/src/api/document-sdk.ts +0 -9
- package/src/api/sign-tool.ts +62 -1
- package/src/index.ts +0 -3
- package/src/viewer/DocumentSDK.ts +0 -43
- package/src/viewer/ReaderBridgeClient.ts +1 -1
- package/src/viewer/ReaderStateStore.ts +0 -2
- package/src/viewer/SdkCallbackRegistry.ts +0 -9
- package/dist/api/ekey-tool.d.ts +0 -8
- package/dist/api/ekey-tool.d.ts.map +0 -1
- package/dist/api/extension-tool.d.ts +0 -5
- package/dist/api/extension-tool.d.ts.map +0 -1
- package/dist/api/review-tool.d.ts +0 -71
- package/dist/api/review-tool.d.ts.map +0 -1
- package/src/api/ekey-tool.ts +0 -11
- package/src/api/extension-tool.ts +0 -5
- package/src/api/review-tool.ts +0 -105
package/src/api/review-tool.ts
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
export interface SessionView {
|
|
2
|
-
sessionId?: string;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
export interface RawReviewParticipant extends SessionView {
|
|
6
|
-
userName: string;
|
|
7
|
-
userTitle: string;
|
|
8
|
-
password?: string;
|
|
9
|
-
themeColor?: string;
|
|
10
|
-
|
|
11
|
-
isHost?: boolean;
|
|
12
|
-
isSpeaker?: boolean;
|
|
13
|
-
isOrganizer?: boolean;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export interface ReviewParticipant {
|
|
17
|
-
userId: number;
|
|
18
|
-
userName: string;
|
|
19
|
-
userTitle: string;
|
|
20
|
-
themeColor: string;
|
|
21
|
-
|
|
22
|
-
id: number;
|
|
23
|
-
agentInfo: string;
|
|
24
|
-
ipAddress: string;
|
|
25
|
-
roomHost: boolean;
|
|
26
|
-
roomOrganizer: boolean;
|
|
27
|
-
following?: number;
|
|
28
|
-
|
|
29
|
-
roomId: number;
|
|
30
|
-
online?: boolean;
|
|
31
|
-
idle?: boolean;
|
|
32
|
-
onPresentation?: boolean;
|
|
33
|
-
annotationAbiLocked?: boolean;
|
|
34
|
-
|
|
35
|
-
nameTag: string;
|
|
36
|
-
englishName: boolean;
|
|
37
|
-
inAnnotation?: boolean;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export interface ReviewFile extends SessionView {
|
|
41
|
-
fileName: string;
|
|
42
|
-
downloadURL: string;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export interface ReviewSession extends SessionView {
|
|
46
|
-
sessionId: string;
|
|
47
|
-
sessionURL: string;
|
|
48
|
-
sessionName: string;
|
|
49
|
-
|
|
50
|
-
addParticipants(participants: RawReviewParticipant[]): void;
|
|
51
|
-
|
|
52
|
-
getParticipants(): Promise<RawReviewParticipant[]>;
|
|
53
|
-
|
|
54
|
-
addParticipantCreatedCallback(callback: (participant: ReviewParticipant) => void): void;
|
|
55
|
-
|
|
56
|
-
notifyParticipantCreated(participant: ReviewParticipant): void;
|
|
57
|
-
|
|
58
|
-
notifyParticipantsFetched(questKey: string, participant: ReviewParticipant[]): void;
|
|
59
|
-
|
|
60
|
-
addDocuments(documents: ReviewFile[]): void;
|
|
61
|
-
|
|
62
|
-
showDocumentsUploader(): void;
|
|
63
|
-
|
|
64
|
-
showDocumentsExplorer(): void;
|
|
65
|
-
|
|
66
|
-
getDocuments(): Promise<ReviewFile[]>;
|
|
67
|
-
|
|
68
|
-
addParticipantOnlineCallback(callback: (participant: ReviewParticipant) => void): void;
|
|
69
|
-
|
|
70
|
-
addParticipantOfflineCallback(callback: (participant: ReviewParticipant) => void): void;
|
|
71
|
-
|
|
72
|
-
enableAnnotation(): void;
|
|
73
|
-
|
|
74
|
-
disableAnnotation(): void;
|
|
75
|
-
|
|
76
|
-
isAnnotationEnabled(): Promise<boolean>;
|
|
77
|
-
|
|
78
|
-
enableAnnotationForParticipant(participant: RawReviewParticipant): void;
|
|
79
|
-
|
|
80
|
-
disableAnnotationForParticipant(participant: RawReviewParticipant): void;
|
|
81
|
-
|
|
82
|
-
isAnnotationEnabledForParticipant(participant: RawReviewParticipant): Promise<boolean>;
|
|
83
|
-
|
|
84
|
-
isSpeaker(participant: RawReviewParticipant): Promise<boolean>;
|
|
85
|
-
|
|
86
|
-
getSpeaker(): Promise<RawReviewParticipant | undefined>;
|
|
87
|
-
|
|
88
|
-
setSpeaker(participant: RawReviewParticipant): void;
|
|
89
|
-
|
|
90
|
-
removeSpeaker(): void;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export interface ReviewTool {
|
|
94
|
-
startSession(sessionName: string, sessionPassword?: string, organizer?: RawReviewParticipant): Promise<ReviewSession | undefined>;
|
|
95
|
-
|
|
96
|
-
getSessions(): Promise<ReviewSession[]>;
|
|
97
|
-
|
|
98
|
-
getSession(sessionId: string): Promise<ReviewSession | undefined>;
|
|
99
|
-
|
|
100
|
-
endSession(session: ReviewSession): Promise<ReviewSession | undefined>;
|
|
101
|
-
|
|
102
|
-
openSession(session: ReviewSession): Promise<ReviewSession | undefined>;
|
|
103
|
-
|
|
104
|
-
embedReviewer(session: ReviewSession, domIdOrDomElement: string | HTMLDivElement): Promise<ReviewSession | undefined>;
|
|
105
|
-
}
|