@veltdev/sdk-staging 6.0.0-beta.4 → 6.0.0-beta.6
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/app/client/snippyly.model.d.ts +2 -3
- package/app/models/data/selection.model.d.ts +10 -8
- package/app/models/data/user-resolver.data.model.d.ts +11 -9
- package/app/models/data/user.data.model.d.ts +21 -18
- package/app/models/element/activity-element.model.d.ts +0 -1
- package/app/models/element/area-element.model.d.ts +0 -1
- package/app/models/element/arrow-element.model.d.ts +1 -2
- package/app/models/element/autocomplete-element.model.d.ts +0 -1
- package/app/models/element/comment-element.model.d.ts +77 -76
- package/app/models/element/contact-element.model.d.ts +1 -2
- package/app/models/element/crdt-element.model.d.ts +1 -1
- package/app/models/element/cursor-element.model.d.ts +1 -2
- package/app/models/element/huddle-element.model.d.ts +1 -2
- package/app/models/element/live-state-sync-element.model.d.ts +1 -1
- package/app/models/element/notification-element.model.d.ts +1 -1
- package/app/models/element/presence-element.model.d.ts +2 -3
- package/app/models/element/reaction-element.model.d.ts +1 -1
- package/app/models/element/recorder-element.model.d.ts +1 -2
- package/app/models/element/rewriter-element.model.d.ts +0 -1
- package/app/models/element/selection-element.model.d.ts +1 -1
- package/app/models/element/suggestion-element.model.d.ts +0 -1
- package/app/models/element/tag-element.model.d.ts +7 -8
- package/app/models/element/views-element.model.d.ts +1 -1
- package/app/utils/enums.d.ts +91 -82
- package/{chunk-HRMFENXY.js → chunk-2SCLSWUI.js} +1 -1
- package/{chunk-JWZNY6MR.js → chunk-35INURYJ.js} +1 -1
- package/{chunk-EJCDV3ZL.js → chunk-4BYJUQVK.js} +1 -1
- package/{chunk-XQKUJSNO.js → chunk-5XJNMHCQ.js} +1 -1
- package/{chunk-2CSNE6K3.js → chunk-6IWSFGHO.js} +1 -1
- package/{chunk-NVSEAZ7V.js → chunk-7RLDJ3TX.js} +1 -1
- package/{chunk-62IPFSNC.js → chunk-AJBPEYH2.js} +1 -1
- package/{chunk-3HVKHN3C.js → chunk-B3CJKZVO.js} +26 -26
- package/{chunk-NREV2I2E.js → chunk-BBHGUBZX.js} +1 -1
- package/{chunk-6YU4HPC3.js → chunk-BCAZZFTN.js} +1 -1
- package/{chunk-DEKTLMP2.js → chunk-BK5JJW2P.js} +1 -1
- package/{chunk-S6BGMPB5.js → chunk-GEH4RJOJ.js} +1 -1
- package/{chunk-HPCGJVBV.js → chunk-HO4WGONW.js} +1 -1
- package/{chunk-BLOVLKDQ.js → chunk-IPXYNWSO.js} +1 -1
- package/{chunk-ZOM7FOLY.js → chunk-J3LHRGBW.js} +1 -1
- package/{chunk-4KHSKSMM.js → chunk-JTH67F4J.js} +1 -1
- package/{chunk-I3QEZDJJ.js → chunk-LFO2GQRO.js} +1 -1
- package/{chunk-OSPUUVRC.js → chunk-MAGKH3OV.js} +1 -1
- package/{chunk-6YAEGDTT.js → chunk-MAGSGLOK.js} +1 -1
- package/{chunk-4RKIO2W6.js → chunk-MEOHEVHF.js} +1 -1
- package/{chunk-NM7DOIHZ.js → chunk-MRHAAI4W.js} +1 -1
- package/{chunk-H4F2DT7C.js → chunk-RGMVMDST.js} +1 -1
- package/{chunk-A7KXFTE5.js → chunk-RLWXLNWS.js} +1 -1
- package/{chunk-GY4HESRT.js → chunk-ULEKI3MZ.js} +1 -1
- package/{chunk-4HTRJDUT.js → chunk-UZBBNATV.js} +1 -1
- package/{chunk-WEQZFWL6.js → chunk-VOWPK6CE.js} +1 -1
- package/{chunk-GUCATQJB.js → chunk-VQG5C7MZ.js} +1 -1
- package/{chunk-CAH7LK67.js → chunk-VTZB5JOQ.js} +1 -1
- package/{chunk-GG5L5Y4V.js → chunk-W7S7KT6W.js} +1 -1
- package/{chunk-AUXK5IGY.js → chunk-WGSKTJUY.js} +1 -1
- package/{chunk-ZOEYUSVF.js → chunk-XQ7NWRSX.js} +1 -1
- package/{chunk-M6OYNJUV.js → chunk-YUOWYJZO.js} +1 -1
- package/{chunk-ONMQQFFH.js → chunk-ZPRS6JQT.js} +1 -1
- package/package.json +1 -1
- package/types.d.ts +22 -22
- package/velt-activity-log.js +1 -1
- package/velt-area.js +1 -1
- package/velt-arrow.js +1 -1
- package/velt-comment.js +7 -7
- package/velt-crdt.js +1 -1
- package/velt-cursor.js +1 -1
- package/velt-huddle.js +1 -1
- package/velt-live-state-sync.js +1 -1
- package/velt-notification.js +1 -1
- package/velt-presence.js +1 -1
- package/velt-reaction.js +1 -1
- package/velt-recorder.js +1 -1
- package/velt-rewriter.js +1 -1
- package/velt-selection.js +1 -1
- package/velt-tag.js +1 -1
- package/velt-user-invite.js +1 -1
- package/velt-user-request.js +1 -1
- package/velt-video-player.js +1 -1
- package/velt-views.js +1 -1
- package/velt.d.ts +1 -2
- package/velt.js +3 -3
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
import { Observable } from "rxjs";
|
|
3
2
|
import { Config, DisableLogsConfig } from "../models/data/config.data.model";
|
|
4
3
|
import { DocumentUser } from "../models/data/document-user.data.model";
|
|
5
4
|
import { Location } from "../models/data/location.model";
|
|
6
|
-
import { User,
|
|
5
|
+
import { User, Options, VeltAuthProvider, VeltPermissionProvider } from "../models/data/user.data.model";
|
|
7
6
|
import { CustomCss } from "../models/data/custom-css.data.model";
|
|
8
7
|
import { ActivityElement } from "../models/element/activity-element.model";
|
|
9
8
|
import { AreaElement } from "../models/element/area-element.model";
|
|
@@ -40,7 +39,7 @@ import { HeartbeatConfig, Heartbeat, GetHeartbeatResponse } from "../models/data
|
|
|
40
39
|
export declare class Snippyly {
|
|
41
40
|
constructor();
|
|
42
41
|
initConfig: (apiKey: string, config?: Config) => void;
|
|
43
|
-
identify: (user: User, userOptions?:
|
|
42
|
+
identify: (user: User, userOptions?: Options) => Promise<unknown>;
|
|
44
43
|
setVeltAuthProvider: (veltAuthProvider: VeltAuthProvider) => Promise<User | null>;
|
|
45
44
|
/**
|
|
46
45
|
* Tell us who the currently logged in user is.
|
|
@@ -21,14 +21,16 @@ export declare class Selection {
|
|
|
21
21
|
pageInfo: PageInfo;
|
|
22
22
|
timestamp: number;
|
|
23
23
|
}
|
|
24
|
-
export declare
|
|
25
|
-
Start
|
|
26
|
-
End
|
|
27
|
-
}
|
|
28
|
-
export
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
24
|
+
export declare const UserIndicatorPosition: {
|
|
25
|
+
readonly Start: "start";
|
|
26
|
+
readonly End: "end";
|
|
27
|
+
};
|
|
28
|
+
export type UserIndicatorPosition = (typeof UserIndicatorPosition)[keyof typeof UserIndicatorPosition];
|
|
29
|
+
export declare const UserIndicatorType: {
|
|
30
|
+
readonly Avatar: "avatar";
|
|
31
|
+
readonly Label: "label";
|
|
32
|
+
};
|
|
33
|
+
export type UserIndicatorType = (typeof UserIndicatorType)[keyof typeof UserIndicatorType];
|
|
32
34
|
export declare class LiveSelectionData {
|
|
33
35
|
[userIdHash: string]: Selection;
|
|
34
36
|
}
|
|
@@ -61,12 +61,14 @@ export interface GetUserPermissionsResponse {
|
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
|
-
export declare
|
|
65
|
-
EDITOR
|
|
66
|
-
VIEWER
|
|
67
|
-
}
|
|
68
|
-
export
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
64
|
+
export declare const UserPermissionAccessRole: {
|
|
65
|
+
readonly EDITOR: "editor";
|
|
66
|
+
readonly VIEWER: "viewer";
|
|
67
|
+
};
|
|
68
|
+
export type UserPermissionAccessRole = (typeof UserPermissionAccessRole)[keyof typeof UserPermissionAccessRole];
|
|
69
|
+
export declare const UserPermissionAccessRoleResult: {
|
|
70
|
+
readonly DOES_NOT_EXIST: "does_not_exist";
|
|
71
|
+
readonly PERMISSION_DENIED: "permission_denied";
|
|
72
|
+
readonly SOMETHING_WENT_WRONG: "something_went_wrong";
|
|
73
|
+
};
|
|
74
|
+
export type UserPermissionAccessRoleResult = (typeof UserPermissionAccessRoleResult)[keyof typeof UserPermissionAccessRoleResult];
|
|
@@ -125,18 +125,20 @@ export interface VeltAuthProvider {
|
|
|
125
125
|
generateToken?: () => Promise<string>;
|
|
126
126
|
onError?: (err: unknown) => void;
|
|
127
127
|
}
|
|
128
|
-
export declare
|
|
129
|
-
DOCUMENT_UNSET
|
|
130
|
-
USER_LOGOUT
|
|
131
|
-
}
|
|
132
|
-
export
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
128
|
+
export declare const RevokeAccessOnType: {
|
|
129
|
+
readonly DOCUMENT_UNSET: "document_unset";
|
|
130
|
+
readonly USER_LOGOUT: "user_logout";
|
|
131
|
+
};
|
|
132
|
+
export type RevokeAccessOnType = (typeof RevokeAccessOnType)[keyof typeof RevokeAccessOnType];
|
|
133
|
+
export declare const PermissionSource: {
|
|
134
|
+
readonly SET_DOCUMENTS: "setDocuments";
|
|
135
|
+
readonly IDENTIFY: "identify";
|
|
136
|
+
readonly GET_NOTIFICATIONS: "getNotifications";
|
|
137
|
+
readonly SET_NOTIFICATIONS: "setNotifications";
|
|
138
|
+
readonly REVOKE_ACCESS_ON_USER_LOGOUT: "revokeAccessOnUserLogout";
|
|
139
|
+
readonly REVOKE_ACCESS_ON_DOCUMENT_UNSET: "revokeAccessOnDocumentUnset";
|
|
140
|
+
};
|
|
141
|
+
export type PermissionSource = (typeof PermissionSource)[keyof typeof PermissionSource];
|
|
140
142
|
export interface RevokeAccessOn {
|
|
141
143
|
type: RevokeAccessOnType;
|
|
142
144
|
revokeOrganizationAccess?: boolean;
|
|
@@ -192,12 +194,13 @@ export interface PermissionResolverRequest {
|
|
|
192
194
|
requests: PermissionQuery[];
|
|
193
195
|
};
|
|
194
196
|
}
|
|
195
|
-
export declare
|
|
196
|
-
FOLDER
|
|
197
|
-
DOCUMENT
|
|
198
|
-
ORGANIZATION
|
|
199
|
-
CONTEXT
|
|
200
|
-
}
|
|
197
|
+
export declare const PermissionResourceType: {
|
|
198
|
+
readonly FOLDER: "folder";
|
|
199
|
+
readonly DOCUMENT: "document";
|
|
200
|
+
readonly ORGANIZATION: "organization";
|
|
201
|
+
readonly CONTEXT: "context";
|
|
202
|
+
};
|
|
203
|
+
export type PermissionResourceType = (typeof PermissionResourceType)[keyof typeof PermissionResourceType];
|
|
201
204
|
export interface PermissionQuery {
|
|
202
205
|
userId: string;
|
|
203
206
|
resource: {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
export declare class ArrowElement {
|
|
3
2
|
/**
|
|
4
3
|
* To allow arrow in specific elements only
|
|
5
4
|
* @param elementIds Element ids to be allowed for arrow
|
|
6
5
|
*/
|
|
7
|
-
public allowedElementIds: (elementIds: string[]) =>
|
|
6
|
+
public allowedElementIds: (elementIds: string[]) => void;
|
|
8
7
|
|
|
9
8
|
constructor();
|
|
10
9
|
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import { ReactionMap } from "../data/reaction-annotation.data.model";
|
|
2
|
+
import { RecordedData } from "../data/recorder.model";
|
|
2
3
|
import { Observable } from "rxjs";
|
|
3
4
|
import { AssignToType, CommentSidebarSystemFiltersOperator, SidebarButtonCountType } from "../../utils/enums";
|
|
4
|
-
import { UploadFileData } from "../data/attachment.model";
|
|
5
|
+
import { UploadFileData, Attachment } from "../data/attachment.model";
|
|
5
6
|
import { AutocompleteData } from "../data/autocomplete.data.model";
|
|
6
|
-
import { AcceptCommentAnnotationRequest, AddAttachmentRequest, AddAttachmentResponse, AddCommentAnnotationRequest, AddCommentRequest, AddReactionRequest, ApproveCommentAnnotationRequest,
|
|
7
|
+
import { AcceptCommentAnnotationRequest, AddAttachmentRequest, AddAttachmentResponse, AddCommentAnnotationRequest, AddCommentRequest, AddReactionRequest, ApproveCommentAnnotationRequest, AssignUserRequest, CommentRequestQuery, CommentVisibilityConfig, ClearComposerRequest, CopyLinkRequest, DeleteAttachmentRequest, DeleteCommentAnnotationRequest, DeleteCommentRequest, DeleteReactionRequest, DeleteRecordingRequest, FetchCommentAnnotationsRequest, FormatConfig, GetAttachmentRequest, GetCommentRequest, GetComposerDataRequest, GetLinkRequest, GetRecordingRequest, PrivateModeConfig, RejectCommentAnnotationRequest, ResolveCommentAnnotationRequest, SubmitCommentRequest, SubscribeCommentAnnotationRequest, ToggleReactionRequest, UnsubscribeCommentAnnotationRequest, UpdateAccessRequest, UpdateCommentRequest, UpdatePriorityRequest, UpdateStatusRequest } from "../data/comment-actions.data.model";
|
|
7
8
|
import { CommentAnnotation, CommentOnElementConfig, CommentSelectionChangeData, ManualCommentAnnotationConfig, UpdateContextConfig } from "../data/comment-annotation.data.model";
|
|
8
|
-
import { AcceptCommentAnnotationEvent, AddCommentAnnotationEvent, AddCommentEvent, AddReactionEvent, ApproveCommentAnnotationEvent, AssignToConfig, CommentAddEventData, CommentEventTypesMap, CommentUpdateEventData, ComposerTextChangeEvent, CopyLinkEvent, DeleteAttachmentEvent, DeleteCommentAnnotationEvent, DeleteCommentEvent, DeleteReactionEvent, DeleteRecordingEvent, FetchCommentAnnotationsResponse, GetCommentAnnotationsCountResponse, GetCommentAnnotationsResponse,
|
|
9
|
-
import { CommentSidebarCustomActionEventData, CommentSidebarData, CommentSidebarDataOptions } from "../data/comment-sidebar-config.model";
|
|
10
|
-
import { CommentContextProvider,
|
|
9
|
+
import { AcceptCommentAnnotationEvent, AddCommentAnnotationEvent, AddCommentEvent, AddReactionEvent, ApproveCommentAnnotationEvent, AssignToConfig, AssignUserEvent, CommentAddEventData, CommentEventTypesMap, CommentUpdateEventData, ComposerTextChangeEvent, CopyLinkEvent, DeleteAttachmentEvent, DeleteCommentAnnotationEvent, DeleteCommentEvent, DeleteReactionEvent, DeleteRecordingEvent, FetchCommentAnnotationsResponse, GetCommentAnnotationsCountResponse, GetCommentAnnotationsResponse, GetLinkResponse, PageModeComposerConfig, RejectCommentAnnotationEvent, SubscribeCommentAnnotationEvent, UnsubscribeCommentAnnotationEvent, ToggleReactionEvent, UpdateAccessEvent, UpdateCommentEvent, UpdatePriorityEvent, UpdateStatusEvent } from "../data/comment-events.data.model";
|
|
10
|
+
import { CommentSidebarCustomActionEventData, CommentSidebarCustomActionsState, CommentSidebarData, CommentSidebarDataOptions } from "../data/comment-sidebar-config.model";
|
|
11
|
+
import { CommentContextProvider, TransformContext, UnreadCommentsCount } from "../data/comment-utils.data.model";
|
|
11
12
|
import { CustomAnnotationDropdownData } from "../data/custom-chip-dropdown.data.model";
|
|
12
13
|
import { CustomCategory, CustomPriority, CustomStatus } from "../data/custom-filter.data.model";
|
|
13
14
|
export { ReactionMap } from '../data/reaction-annotation.data.model';
|
|
@@ -28,62 +29,62 @@ export declare class CommentElement {
|
|
|
28
29
|
/**
|
|
29
30
|
* To enable text comment selection
|
|
30
31
|
*/
|
|
31
|
-
enableTextComments: () =>
|
|
32
|
+
enableTextComments: () => void;
|
|
32
33
|
|
|
33
34
|
/**
|
|
34
35
|
* To disable text comment selection
|
|
35
36
|
*/
|
|
36
|
-
disableTextComments: () =>
|
|
37
|
+
disableTextComments: () => void;
|
|
37
38
|
|
|
38
39
|
/**
|
|
39
40
|
* To allow text selection in specific elements only
|
|
40
41
|
* @param elementIds Element ids to be allowed for text selection
|
|
41
42
|
*/
|
|
42
|
-
allowedElementIds: (elementIds: string[]) =>
|
|
43
|
+
allowedElementIds: (elementIds: string[]) => void;
|
|
43
44
|
|
|
44
45
|
/**
|
|
45
46
|
* To allow adding comments in specific elements only
|
|
46
47
|
* @param classNames Element class names to be allowed for adding comments
|
|
47
48
|
*/
|
|
48
|
-
allowedElementClassNames: (classNames: string[]) =>
|
|
49
|
+
allowedElementClassNames: (classNames: string[]) => void;
|
|
49
50
|
|
|
50
51
|
/**
|
|
51
52
|
* To allow adding comments in specific elements only
|
|
52
53
|
* @param querySelectors Element query selectors to be allowed for adding comments
|
|
53
54
|
*/
|
|
54
|
-
allowedElementQuerySelectors: (querySelectors: string[]) =>
|
|
55
|
+
allowedElementQuerySelectors: (querySelectors: string[]) => void;
|
|
55
56
|
|
|
56
57
|
/**
|
|
57
58
|
* To enable floating comment dialog
|
|
58
59
|
*/
|
|
59
|
-
enableFloatingCommentDialog: () =>
|
|
60
|
+
enableFloatingCommentDialog: () => void;
|
|
60
61
|
|
|
61
62
|
/**
|
|
62
63
|
* To disable floating comment dialog
|
|
63
64
|
*/
|
|
64
|
-
disableFloatingCommentDialog: () =>
|
|
65
|
+
disableFloatingCommentDialog: () => void;
|
|
65
66
|
|
|
66
67
|
/**
|
|
67
68
|
* To add comments on specific elements
|
|
68
69
|
*
|
|
69
70
|
* @param elementId ID of html element
|
|
70
71
|
*/
|
|
71
|
-
attachComment: (elementId: string) =>
|
|
72
|
+
attachComment: (elementId: string) => void;
|
|
72
73
|
|
|
73
74
|
/**
|
|
74
75
|
* To open comment sidebar
|
|
75
76
|
*/
|
|
76
|
-
openCommentSidebar: () =>
|
|
77
|
+
openCommentSidebar: () => void;
|
|
77
78
|
|
|
78
79
|
/**
|
|
79
80
|
* To close comment sidebar
|
|
80
81
|
*/
|
|
81
|
-
closeCommentSidebar: () =>
|
|
82
|
+
closeCommentSidebar: () => void;
|
|
82
83
|
|
|
83
84
|
/**
|
|
84
85
|
* To toggle comment sidebar
|
|
85
86
|
*/
|
|
86
|
-
toggleCommentSidebar: () =>
|
|
87
|
+
toggleCommentSidebar: () => void;
|
|
87
88
|
|
|
88
89
|
/**
|
|
89
90
|
* To enable context in page mode composer feature
|
|
@@ -121,42 +122,42 @@ export declare class CommentElement {
|
|
|
121
122
|
/**
|
|
122
123
|
* To enable moderator mode
|
|
123
124
|
*/
|
|
124
|
-
enableModeratorMode: () =>
|
|
125
|
+
enableModeratorMode: () => void;
|
|
125
126
|
|
|
126
127
|
/**
|
|
127
128
|
* To disable moderator mode
|
|
128
129
|
*/
|
|
129
|
-
disableModeratorMode: () =>
|
|
130
|
+
disableModeratorMode: () => void;
|
|
130
131
|
|
|
131
132
|
/**
|
|
132
133
|
* To enable stream mode
|
|
133
134
|
*/
|
|
134
|
-
enableStreamMode: () =>
|
|
135
|
+
enableStreamMode: () => void;
|
|
135
136
|
|
|
136
137
|
/**
|
|
137
138
|
* To disable stream mode
|
|
138
139
|
*/
|
|
139
|
-
disableStreamMode: () =>
|
|
140
|
+
disableStreamMode: () => void;
|
|
140
141
|
|
|
141
142
|
/**
|
|
142
143
|
* To show sign in button in comments if user is signed out
|
|
143
144
|
*/
|
|
144
|
-
enableSignInButton: () =>
|
|
145
|
+
enableSignInButton: () => void;
|
|
145
146
|
|
|
146
147
|
/**
|
|
147
148
|
* To hide sign in button in comments if user is signed out
|
|
148
149
|
*/
|
|
149
|
-
disableSignInButton: () =>
|
|
150
|
+
disableSignInButton: () => void;
|
|
150
151
|
|
|
151
152
|
/**
|
|
152
153
|
* To enable upgrade button in comments when plan is expired
|
|
153
154
|
*/
|
|
154
|
-
enableUpgradeButton: () =>
|
|
155
|
+
enableUpgradeButton: () => void;
|
|
155
156
|
|
|
156
157
|
/**
|
|
157
158
|
* To disable upgrade button in comments when plan is expired
|
|
158
159
|
*/
|
|
159
|
-
disableUpgradeButton: () =>
|
|
160
|
+
disableUpgradeButton: () => void;
|
|
160
161
|
|
|
161
162
|
/**
|
|
162
163
|
* Subscribe to comment mode change.
|
|
@@ -168,22 +169,22 @@ export declare class CommentElement {
|
|
|
168
169
|
/**
|
|
169
170
|
* Enable attachments feature in comments
|
|
170
171
|
*/
|
|
171
|
-
enableAttachments: () =>
|
|
172
|
+
enableAttachments: () => void;
|
|
172
173
|
|
|
173
174
|
/**
|
|
174
175
|
* Disable attachments feature in comments
|
|
175
176
|
*/
|
|
176
|
-
disableAttachments: () =>
|
|
177
|
+
disableAttachments: () => void;
|
|
177
178
|
|
|
178
179
|
/**
|
|
179
180
|
* Enable automatic file download when attachment download button is clicked
|
|
180
181
|
*/
|
|
181
|
-
enableAttachmentDownload: () =>
|
|
182
|
+
enableAttachmentDownload: () => void;
|
|
182
183
|
|
|
183
184
|
/**
|
|
184
185
|
* Disable automatic file download when attachment download button is clicked. The attachmentDownloadClicked event will still be triggered.
|
|
185
186
|
*/
|
|
186
|
-
disableAttachmentDownload: () =>
|
|
187
|
+
disableAttachmentDownload: () => void;
|
|
187
188
|
|
|
188
189
|
/**
|
|
189
190
|
* Get if user is part of global contact or not.
|
|
@@ -193,142 +194,142 @@ export declare class CommentElement {
|
|
|
193
194
|
/**
|
|
194
195
|
* Enable device info in comments
|
|
195
196
|
*/
|
|
196
|
-
enableDeviceInfo: () =>
|
|
197
|
+
enableDeviceInfo: () => void;
|
|
197
198
|
|
|
198
199
|
/**
|
|
199
200
|
* Disable device info in comments
|
|
200
201
|
*/
|
|
201
|
-
disableDeviceInfo: () =>
|
|
202
|
+
disableDeviceInfo: () => void;
|
|
202
203
|
|
|
203
204
|
/**
|
|
204
205
|
* Enable comment mode to add comments.
|
|
205
206
|
*/
|
|
206
|
-
public enableCommentMode: () =>
|
|
207
|
+
public enableCommentMode: () => void;
|
|
207
208
|
|
|
208
209
|
/**
|
|
209
210
|
* Disable comment mode.
|
|
210
211
|
*/
|
|
211
|
-
public disableCommentMode: () =>
|
|
212
|
+
public disableCommentMode: () => void;
|
|
212
213
|
|
|
213
214
|
/**
|
|
214
215
|
* Enable persistent comment mode.
|
|
215
216
|
*/
|
|
216
|
-
public enablePersistentCommentMode: () =>
|
|
217
|
+
public enablePersistentCommentMode: () => void;
|
|
217
218
|
|
|
218
219
|
/**
|
|
219
220
|
* Disable persistent comment mode.
|
|
220
221
|
*/
|
|
221
|
-
public disablePersistentCommentMode: () =>
|
|
222
|
+
public disablePersistentCommentMode: () => void;
|
|
222
223
|
|
|
223
224
|
/**
|
|
224
225
|
* To show comment number
|
|
225
226
|
*/
|
|
226
|
-
public enableCommentIndex: () =>
|
|
227
|
+
public enableCommentIndex: () => void;
|
|
227
228
|
|
|
228
229
|
/**
|
|
229
230
|
* To hide comment number
|
|
230
231
|
*/
|
|
231
|
-
public disableCommentIndex: () =>
|
|
232
|
+
public disableCommentIndex: () => void;
|
|
232
233
|
|
|
233
234
|
/**
|
|
234
235
|
* To enable popover mode
|
|
235
236
|
*/
|
|
236
|
-
public enablePopoverMode: () =>
|
|
237
|
+
public enablePopoverMode: () => void;
|
|
237
238
|
|
|
238
239
|
/**
|
|
239
240
|
* To disable popover mode
|
|
240
241
|
*/
|
|
241
|
-
public disablePopoverMode: () =>
|
|
242
|
+
public disablePopoverMode: () => void;
|
|
242
243
|
|
|
243
244
|
/**
|
|
244
245
|
* To show triangle in popover mode
|
|
245
246
|
*/
|
|
246
|
-
public enablePopoverTriangleComponent: () =>
|
|
247
|
+
public enablePopoverTriangleComponent: () => void;
|
|
247
248
|
|
|
248
249
|
/**
|
|
249
250
|
* To hide triangle in popover mode
|
|
250
251
|
*/
|
|
251
|
-
public disablePopoverTriangleComponent: () =>
|
|
252
|
+
public disablePopoverTriangleComponent: () => void;
|
|
252
253
|
|
|
253
254
|
/**
|
|
254
255
|
* To enable dialog on hover
|
|
255
256
|
*/
|
|
256
|
-
public enableDialogOnHover: () =>
|
|
257
|
+
public enableDialogOnHover: () => void;
|
|
257
258
|
|
|
258
259
|
/**
|
|
259
260
|
* To disable dialog on hover
|
|
260
261
|
*/
|
|
261
|
-
public disableDialogOnHover: () =>
|
|
262
|
+
public disableDialogOnHover: () => void;
|
|
262
263
|
|
|
263
264
|
/**
|
|
264
265
|
* To enable feature to show dialog on target element click
|
|
265
266
|
*/
|
|
266
|
-
public enableDialogOnTargetElementClick: () =>
|
|
267
|
+
public enableDialogOnTargetElementClick: () => void;
|
|
267
268
|
|
|
268
269
|
/**
|
|
269
270
|
* To disable feature to show dialog on target element click
|
|
270
271
|
*/
|
|
271
|
-
public disableDialogOnTargetElementClick: () =>
|
|
272
|
+
public disableDialogOnTargetElementClick: () => void;
|
|
272
273
|
|
|
273
274
|
/**
|
|
274
275
|
* To enable feature to set priority on comments
|
|
275
276
|
*/
|
|
276
|
-
public enablePriority: () =>
|
|
277
|
+
public enablePriority: () => void;
|
|
277
278
|
|
|
278
279
|
/**
|
|
279
280
|
* To disable feature to set priority on comments
|
|
280
281
|
*/
|
|
281
|
-
public disablePriority: () =>
|
|
282
|
+
public disablePriority: () => void;
|
|
282
283
|
|
|
283
284
|
/**
|
|
284
285
|
* To enable feature to set status on comments
|
|
285
286
|
*/
|
|
286
|
-
public enableStatus: () =>
|
|
287
|
+
public enableStatus: () => void;
|
|
287
288
|
|
|
288
289
|
/**
|
|
289
290
|
* To disable feature to set status on comments
|
|
290
291
|
*/
|
|
291
|
-
public disableStatus: () =>
|
|
292
|
+
public disableStatus: () => void;
|
|
292
293
|
|
|
293
294
|
/**
|
|
294
295
|
* To enable visibility options on comments
|
|
295
296
|
*/
|
|
296
|
-
public enableVisibilityOptions: () =>
|
|
297
|
+
public enableVisibilityOptions: () => void;
|
|
297
298
|
|
|
298
299
|
/**
|
|
299
300
|
* To disable visibility options on comments
|
|
300
301
|
*/
|
|
301
|
-
public disableVisibilityOptions: () =>
|
|
302
|
+
public disableVisibilityOptions: () => void;
|
|
302
303
|
|
|
303
304
|
/**
|
|
304
305
|
* To enable feature to show resolve button
|
|
305
306
|
*/
|
|
306
|
-
public enableResolveButton: () =>
|
|
307
|
+
public enableResolveButton: () => void;
|
|
307
308
|
|
|
308
309
|
/**
|
|
309
310
|
* To disable feature to show resolve button
|
|
310
311
|
*/
|
|
311
|
-
public disableResolveButton: () =>
|
|
312
|
+
public disableResolveButton: () => void;
|
|
312
313
|
|
|
313
314
|
/**
|
|
314
315
|
* To enable feature to show ghost comments
|
|
315
316
|
*/
|
|
316
|
-
public enableGhostComments: () =>
|
|
317
|
+
public enableGhostComments: () => void;
|
|
317
318
|
|
|
318
319
|
/**
|
|
319
320
|
* To disable feature to show ghost comments
|
|
320
321
|
*/
|
|
321
|
-
public disableGhostComments: () =>
|
|
322
|
+
public disableGhostComments: () => void;
|
|
322
323
|
|
|
323
324
|
/**
|
|
324
325
|
* To enable feature to show ghost comments message in comment dialog and comment sidebar
|
|
325
326
|
*/
|
|
326
|
-
public enableGhostCommentsIndicator: () =>
|
|
327
|
+
public enableGhostCommentsIndicator: () => void;
|
|
327
328
|
|
|
328
329
|
/**
|
|
329
330
|
* To disable feature to show ghost comments message in comment dialog and comment sidebar
|
|
330
331
|
*/
|
|
331
|
-
public disableGhostCommentsIndicator: () =>
|
|
332
|
+
public disableGhostCommentsIndicator: () => void;
|
|
332
333
|
|
|
333
334
|
/**
|
|
334
335
|
* @description Sets custom status filters
|
|
@@ -351,32 +352,32 @@ export declare class CommentElement {
|
|
|
351
352
|
/**
|
|
352
353
|
* To enable inbox mode
|
|
353
354
|
*/
|
|
354
|
-
public enableInboxMode: () =>
|
|
355
|
+
public enableInboxMode: () => void;
|
|
355
356
|
|
|
356
357
|
/**
|
|
357
358
|
* To disable inbox mode
|
|
358
359
|
*/
|
|
359
|
-
public disableInboxMode: () =>
|
|
360
|
+
public disableInboxMode: () => void;
|
|
360
361
|
|
|
361
362
|
/**
|
|
362
363
|
* To enable auto categorize feature
|
|
363
364
|
*/
|
|
364
|
-
public enableAutoCategorize: () =>
|
|
365
|
+
public enableAutoCategorize: () => void;
|
|
365
366
|
|
|
366
367
|
/**
|
|
367
368
|
* To disable auto categorize feature
|
|
368
369
|
*/
|
|
369
|
-
public disableAutoCategorize: () =>
|
|
370
|
+
public disableAutoCategorize: () => void;
|
|
370
371
|
|
|
371
372
|
/**
|
|
372
373
|
* To enable dark mode in comments
|
|
373
374
|
*/
|
|
374
|
-
public enableDarkMode: () =>
|
|
375
|
+
public enableDarkMode: () => void;
|
|
375
376
|
|
|
376
377
|
/**
|
|
377
378
|
* To disable dark mode in comments
|
|
378
379
|
*/
|
|
379
|
-
public disableDarkMode: () =>
|
|
380
|
+
public disableDarkMode: () => void;
|
|
380
381
|
|
|
381
382
|
/**
|
|
382
383
|
* @description Sets the comment context provider
|
|
@@ -387,62 +388,62 @@ export declare class CommentElement {
|
|
|
387
388
|
/**
|
|
388
389
|
* To enable suggestion mode
|
|
389
390
|
*/
|
|
390
|
-
public enableSuggestionMode: () =>
|
|
391
|
+
public enableSuggestionMode: () => void;
|
|
391
392
|
|
|
392
393
|
/**
|
|
393
394
|
* To disable suggestion mode
|
|
394
395
|
*/
|
|
395
|
-
public disableSuggestionMode: () =>
|
|
396
|
+
public disableSuggestionMode: () => void;
|
|
396
397
|
|
|
397
398
|
/**
|
|
398
399
|
* To enable mobile mode
|
|
399
400
|
*/
|
|
400
|
-
public enableMobileMode: () =>
|
|
401
|
+
public enableMobileMode: () => void;
|
|
401
402
|
|
|
402
403
|
/**
|
|
403
404
|
* To disable mobile mode
|
|
404
405
|
*/
|
|
405
|
-
public disableMobileMode: () =>
|
|
406
|
+
public disableMobileMode: () => void;
|
|
406
407
|
|
|
407
408
|
/**
|
|
408
409
|
* To enable inline comment mode
|
|
409
410
|
*/
|
|
410
|
-
public enableInlineCommentMode: () =>
|
|
411
|
+
public enableInlineCommentMode: () => void;
|
|
411
412
|
|
|
412
413
|
/**
|
|
413
414
|
* To disable inline comment mode
|
|
414
415
|
*/
|
|
415
|
-
public disableInlineCommentMode: () =>
|
|
416
|
+
public disableInlineCommentMode: () => void;
|
|
416
417
|
|
|
417
418
|
/**
|
|
418
419
|
* To enable minimap
|
|
419
420
|
*/
|
|
420
|
-
public enableMinimap: () =>
|
|
421
|
+
public enableMinimap: () => void;
|
|
421
422
|
|
|
422
423
|
/**
|
|
423
424
|
* To disable minimap
|
|
424
425
|
*/
|
|
425
|
-
public disableMinimap: () =>
|
|
426
|
+
public disableMinimap: () => void;
|
|
426
427
|
|
|
427
428
|
/**
|
|
428
429
|
* To show comments on DOM
|
|
429
430
|
*/
|
|
430
|
-
public showCommentsOnDom: () =>
|
|
431
|
+
public showCommentsOnDom: () => void;
|
|
431
432
|
|
|
432
433
|
/**
|
|
433
434
|
* To hide comments on DOM
|
|
434
435
|
*/
|
|
435
|
-
public hideCommentsOnDom: () =>
|
|
436
|
+
public hideCommentsOnDom: () => void;
|
|
436
437
|
|
|
437
438
|
/**
|
|
438
439
|
* To enable comment tool
|
|
439
440
|
*/
|
|
440
|
-
public enableCommentTool: () =>
|
|
441
|
+
public enableCommentTool: () => void;
|
|
441
442
|
|
|
442
443
|
/**
|
|
443
444
|
* To disable comment tool
|
|
444
445
|
*/
|
|
445
|
-
public disableCommentTool: () =>
|
|
446
|
+
public disableCommentTool: () => void;
|
|
446
447
|
|
|
447
448
|
/**
|
|
448
449
|
* To set total media length.
|
|
@@ -1109,7 +1110,7 @@ export declare class CommentElement {
|
|
|
1109
1110
|
/**
|
|
1110
1111
|
* To get link
|
|
1111
1112
|
*/
|
|
1112
|
-
public getLink: (request: GetLinkRequest) => Promise<
|
|
1113
|
+
public getLink: (request: GetLinkRequest) => Promise<GetLinkResponse | null>;
|
|
1113
1114
|
|
|
1114
1115
|
/**
|
|
1115
1116
|
* To copy link
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
import { Observable } from "rxjs";
|
|
3
2
|
import { ContactListScopeForOrganizationUsers } from "../../utils/enums";
|
|
4
3
|
import { GetContactListResponse } from "../data/contact-utils.data.model";
|
|
5
|
-
import { SelectedUserContact } from "../data/user-contact.data.model";
|
|
4
|
+
import { SelectedUserContact, UserContact } from "../data/user-contact.data.model";
|
|
6
5
|
|
|
7
6
|
export declare class ContactElement {
|
|
8
7
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
2
|
import { CrdtGetDataQuery, CrdtGetMessagesQuery, CrdtGetSnapshotQuery, CrdtGetVersionQuery, CrdtGetVersionsQuery, CrdtMessageData, CrdtOnDataChangeQuery, CrdtOnMessageQuery, CrdtOnPresenceChangeQuery, CrdtOnRegisteredUserChangeQuery, CrdtOnStateChangeQuery, CrdtPruneMessagesQuery, CrdtPushMessageQuery, CrdtRegisterSyncUserQuery, CrdtSaveSnapshotQuery, CrdtSetPresenceQuery, CrdtSaveVersionQuery, CrdtSnapshotData, CrdtUpdateDataQuery, CrdtUpdateStateQuery } from "../data/crdt.data.model";
|
|
3
3
|
import { CrdtEventTypesMap } from "../data/crdt-events.data.model";
|
|
4
4
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
import { Observable } from "rxjs";
|
|
3
2
|
import { CursorUser } from "../data/cursor-user.data.model";
|
|
4
3
|
export declare class CursorElement {
|
|
@@ -28,7 +27,7 @@ export declare class CursorElement {
|
|
|
28
27
|
* To allow cursors in specific elements only
|
|
29
28
|
* @param elementIds Element ids to be allowed to show cursor on it
|
|
30
29
|
*/
|
|
31
|
-
allowedElementIds: (elementIds: string[]) =>
|
|
30
|
+
allowedElementIds: (elementIds: string[]) => void;
|
|
32
31
|
constructor();
|
|
33
32
|
/**
|
|
34
33
|
* Subscribe to cursors of all online users who are either active or inactive on the current document.
|