@veltdev/sdk-staging 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/README.md +44 -0
- package/app/client/snippyly.model.d.ts +141 -0
- package/app/client/velt.model.d.ts +5 -0
- package/app/models/data/annotation-property.data.model.d.ts +30 -0
- package/app/models/data/area-annotation.data.model.d.ts +74 -0
- package/app/models/data/attachment.model.d.ts +40 -0
- package/app/models/data/chatgpt.data.model.d.ts +10 -0
- package/app/models/data/comment-annotation.data.model.d.ts +161 -0
- package/app/models/data/comment.data.model.d.ts +71 -0
- package/app/models/data/config.data.model.d.ts +45 -0
- package/app/models/data/cursor-position.data.model.d.ts +10 -0
- package/app/models/data/cursor-user.data.model.d.ts +118 -0
- package/app/models/data/custom-filter.data.model.d.ts +26 -0
- package/app/models/data/device-info.model.d.ts +75 -0
- package/app/models/data/document-iam.data.model.d.ts +14 -0
- package/app/models/data/document-metadata.model.d.ts +22 -0
- package/app/models/data/document-paths.data.model.d.ts +94 -0
- package/app/models/data/document-user.data.model.d.ts +33 -0
- package/app/models/data/flock-options.model.d.ts +7 -0
- package/app/models/data/huddle.model.d.ts +17 -0
- package/app/models/data/live-state-data-map.data.model.d.ts +7 -0
- package/app/models/data/live-state-data.data.model.d.ts +11 -0
- package/app/models/data/localstorage.data.model.d.ts +4 -0
- package/app/models/data/location-metadata.model.d.ts +16 -0
- package/app/models/data/location.model.d.ts +15 -0
- package/app/models/data/media-preview-config.data.model.d.ts +14 -0
- package/app/models/data/notification.model.d.ts +41 -0
- package/app/models/data/page-info.model.d.ts +46 -0
- package/app/models/data/permission.data.model.d.ts +14 -0
- package/app/models/data/presence-user.data.model.d.ts +79 -0
- package/app/models/data/recorder-annotation.data.model.d.ts +120 -0
- package/app/models/data/recorder.model.d.ts +74 -0
- package/app/models/data/rewriter-annotation.data.model.d.ts +62 -0
- package/app/models/data/screen-size.data.model.d.ts +14 -0
- package/app/models/data/selection.model.d.ts +22 -0
- package/app/models/data/tag-annotation.data.model.d.ts +113 -0
- package/app/models/data/target-element.data.model.d.ts +18 -0
- package/app/models/data/target-text-range.data.model.d.ts +14 -0
- package/app/models/data/toast.data.model.d.ts +19 -0
- package/app/models/data/transcription.data.model.d.ts +35 -0
- package/app/models/data/user-contact-us.data.model.d.ts +3 -0
- package/app/models/data/user-contact.data.model.d.ts +29 -0
- package/app/models/data/user-feedback.data.model.d.ts +3 -0
- package/app/models/data/user-iam.data.model.d.ts +33 -0
- package/app/models/data/user-report-bug.data.model.d.ts +3 -0
- package/app/models/data/user-request.data.model.d.ts +37 -0
- package/app/models/data/user-role.data.model.d.ts +19 -0
- package/app/models/data/user.data.model.d.ts +60 -0
- package/app/models/data/workspace-iam.data.model.d.ts +14 -0
- package/app/models/element/area-element.model.d.ts +23 -0
- package/app/models/element/comment-element.model.d.ts +466 -0
- package/app/models/element/contact-element.model.d.ts +13 -0
- package/app/models/element/cursor-element.model.d.ts +42 -0
- package/app/models/element/presence-element.model.d.ts +53 -0
- package/app/models/element/recorder-element.model.d.ts +15 -0
- package/app/models/element/rewriter-element.model.d.ts +23 -0
- package/app/models/element/selection-element.model.d.ts +15 -0
- package/app/models/element/tag-element.model.d.ts +68 -0
- package/app/utils/constants.d.ts +381 -0
- package/app/utils/enums.d.ts +95 -0
- package/declarations.d.ts +6 -0
- package/models.d.ts +44 -0
- package/package.json +14 -0
- package/types.d.ts +4 -0
- package/velt.css +1 -0
- package/velt.d.ts +21 -0
- package/velt.js +110 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { UserIAM } from "./user-iam.data.model";
|
|
2
|
+
import { UserRole } from "./user-role.data.model";
|
|
3
|
+
export declare class WorkspaceIAM {
|
|
4
|
+
/**
|
|
5
|
+
* List of roles
|
|
6
|
+
*/
|
|
7
|
+
roles: UserRole[];
|
|
8
|
+
/**
|
|
9
|
+
* Users with access to the workspace
|
|
10
|
+
*/
|
|
11
|
+
users: {
|
|
12
|
+
[userId: string]: UserIAM;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
export declare class AreaElement {
|
|
3
|
+
/**
|
|
4
|
+
* To enable area feature
|
|
5
|
+
*/
|
|
6
|
+
enableArea: () => void;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* To disable area feature
|
|
10
|
+
*/
|
|
11
|
+
disableArea: () => void;
|
|
12
|
+
constructor();
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* To enable area feature
|
|
16
|
+
*/
|
|
17
|
+
private _enableArea;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* To disable area feature
|
|
21
|
+
*/
|
|
22
|
+
private _disableArea;
|
|
23
|
+
}
|
|
@@ -0,0 +1,466 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { CommentPinAnnotation } from "../data/comment-pin-annotation.data.model";
|
|
4
|
+
export declare class CommentElement {
|
|
5
|
+
/**
|
|
6
|
+
* Subscribe to comments on the current document.
|
|
7
|
+
*
|
|
8
|
+
* Returns Observable<CommentPinAnnotation[] | null>.
|
|
9
|
+
*/
|
|
10
|
+
getAllCommentAnnotations: (documentId?: string, documentParams?: object) => Observable<CommentPinAnnotation[] | null>;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* To delete selected comments
|
|
14
|
+
*/
|
|
15
|
+
deleteComment: () => any;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* To enable text comment selection
|
|
19
|
+
*/
|
|
20
|
+
enableTextComments: () => any;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* To disable text comment selection
|
|
24
|
+
*/
|
|
25
|
+
disableTextComments: () => any;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* To allow text selection in specific elements only
|
|
29
|
+
* @param elementIds Element ids to be allowed for text selection
|
|
30
|
+
*/
|
|
31
|
+
allowedElementIds: (elementIds: string[]) => any;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* To enable/disable floating comments
|
|
35
|
+
*
|
|
36
|
+
* By default floating comments will be enabled
|
|
37
|
+
*
|
|
38
|
+
* Pass `true` to disable floating comments
|
|
39
|
+
*
|
|
40
|
+
* Pass `false` to enable floating comments
|
|
41
|
+
*
|
|
42
|
+
* @param disable Enble/Disable floating comments
|
|
43
|
+
*/
|
|
44
|
+
disableFloatingComments: (disable: boolean) => any;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* To add comments on specific elements
|
|
48
|
+
*
|
|
49
|
+
* @param elementId ID of html element
|
|
50
|
+
*/
|
|
51
|
+
attachComment: (elementId: string) => any;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* To open comment sidebar
|
|
55
|
+
*/
|
|
56
|
+
openCommentSidebar: () => any;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* To close comment sidebar
|
|
60
|
+
*/
|
|
61
|
+
closeCommentSidebar: () => any;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* To toggle comment sidebar
|
|
65
|
+
*/
|
|
66
|
+
toggleCommentSidebar: () => any;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* To enable/disable moderator mode
|
|
70
|
+
*
|
|
71
|
+
* @param moderatorMode pass `true` to enable it, `false` to disable it.
|
|
72
|
+
*/
|
|
73
|
+
enableModeratorMode: (moderatorMode: boolean) => any;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* To enable/disable stream mode
|
|
77
|
+
*
|
|
78
|
+
* @param enable pass `true` to enable it, `false` to disable it.
|
|
79
|
+
*/
|
|
80
|
+
enableStreamMode: (enable: boolean) => any;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* To show sign in button in comments if user is signed out
|
|
84
|
+
*
|
|
85
|
+
* @param enable pass `true` to enable it, `false` to disable it.
|
|
86
|
+
*/
|
|
87
|
+
enableSignInButton: (enable: boolean) => any;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Subscribe to add comment mode change.
|
|
91
|
+
*
|
|
92
|
+
* Returns Observable<boolean>.
|
|
93
|
+
*/
|
|
94
|
+
addCommentModeChange: () => Observable<boolean>;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Enable this feature to add attachments in comments
|
|
98
|
+
*
|
|
99
|
+
* @param enable pass `true` to enable it, `false` to disable it.
|
|
100
|
+
*/
|
|
101
|
+
enableAttachment: (enable: boolean) => any;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Enable this feature to show device info in comments
|
|
105
|
+
*
|
|
106
|
+
* @param showInfo pass `true` to show info, `false` to hide it.
|
|
107
|
+
*/
|
|
108
|
+
showDeviceInfo: (showInfo: boolean) => any;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Enable comment mode to add comments.
|
|
112
|
+
*/
|
|
113
|
+
public enableCommentMode: () => any;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Disable comment mode.
|
|
117
|
+
*/
|
|
118
|
+
public disableCommentMode: () => any;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* To show/hide comment number
|
|
122
|
+
* @param show pass `true` to show it, `false` to hide it.
|
|
123
|
+
*/
|
|
124
|
+
public showCommentIndex: (show: boolean) => any;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* To enable popover mode
|
|
128
|
+
*/
|
|
129
|
+
public enablePopoverMode: () => any;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* To disable popover mode
|
|
133
|
+
*/
|
|
134
|
+
public disablePopoverMode: () => any;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* To enable dialog on hover
|
|
138
|
+
*/
|
|
139
|
+
public enableDialogOnHover: () => any;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* To disable dialog on hover
|
|
143
|
+
*/
|
|
144
|
+
public disableDialogOnHover: () => any;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* To enable feature to show dialog on target element click
|
|
148
|
+
*/
|
|
149
|
+
public enableDialogOnTargetElementClick: () => any;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* To disable feature to show dialog on target element click
|
|
153
|
+
*/
|
|
154
|
+
public disableDialogOnTargetElementClick: () => any;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* To enable feature to set priority on comments
|
|
158
|
+
*/
|
|
159
|
+
public enablePriority: () => any;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* To disable feature to set priority on comments
|
|
163
|
+
*/
|
|
164
|
+
public disablePriority: () => any;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* To enable feature to set status on comments
|
|
168
|
+
*/
|
|
169
|
+
public enableStatus: () => any;
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* To disable feature to set status on comments
|
|
173
|
+
*/
|
|
174
|
+
public disableStatus: () => any;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* To enable feature to resolve comments
|
|
178
|
+
*/
|
|
179
|
+
public enableResolve: () => any;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* To disable feature to resolve comments
|
|
183
|
+
*/
|
|
184
|
+
public disableResolve: () => any;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* To enable feature to show ghost comments
|
|
188
|
+
*/
|
|
189
|
+
public enableGhostCommentsInDOM: () => any;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* To disable feature to show ghost comments
|
|
193
|
+
*/
|
|
194
|
+
public disableGhostCommentsInDOM: () => any;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* To enable feature to show ghost comments message in comment dialog and comment sidebar
|
|
198
|
+
*/
|
|
199
|
+
public enableGhostCommentsMessage: () => any;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* To disable feature to show ghost comments message in comment dialog and comment sidebar
|
|
203
|
+
*/
|
|
204
|
+
public disableGhostCommentsMessage: () => any;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* To enable inbox mode
|
|
208
|
+
*/
|
|
209
|
+
public enableInboxMode: () => any;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* To disable inbox mode
|
|
213
|
+
*/
|
|
214
|
+
public disableInboxMode: () => any;
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* To enable auto categorize feature
|
|
218
|
+
*/
|
|
219
|
+
public enableAutoCategorize: () => any;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* To disable auto categorize feature
|
|
223
|
+
*/
|
|
224
|
+
public disableAutoCategorize: () => any;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* To enable suggestion mode
|
|
228
|
+
*/
|
|
229
|
+
public enableSuggestionMode: () => any;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* To disable suggestion mode
|
|
233
|
+
*/
|
|
234
|
+
public disableSuggestionMode: () => any;
|
|
235
|
+
constructor();
|
|
236
|
+
/**
|
|
237
|
+
* Subscribe to comments on the current document.
|
|
238
|
+
*
|
|
239
|
+
* Returns Observable<CommentPinAnnotation[] | null>.
|
|
240
|
+
*/
|
|
241
|
+
private _getAllCommentAnnotations;
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* To delete selected comments
|
|
245
|
+
*/
|
|
246
|
+
private _deleteComment;
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* To enable text comment selection
|
|
250
|
+
*/
|
|
251
|
+
private _enableTextComments;
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* To disable text comment selection
|
|
255
|
+
*/
|
|
256
|
+
private _disableTextComments;
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* To allow text selection in specific elements only
|
|
260
|
+
* @param elementIds Element ids to be allowed for text selection
|
|
261
|
+
*/
|
|
262
|
+
private _allowedElementIds;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* To enable/disable floating comments
|
|
266
|
+
*
|
|
267
|
+
* By default floating comments will be enabled
|
|
268
|
+
*
|
|
269
|
+
* Pass `true` to disable floating comments
|
|
270
|
+
*
|
|
271
|
+
* Pass `false` to enable floating comments
|
|
272
|
+
*
|
|
273
|
+
* @param disable Enble/Disable floating comments
|
|
274
|
+
*/
|
|
275
|
+
private _disableFloatingComments;
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* To add comments on specific elements
|
|
279
|
+
*
|
|
280
|
+
* @param elementId ID of html element
|
|
281
|
+
*/
|
|
282
|
+
private _attachComment;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* To open comment sidebar
|
|
286
|
+
*/
|
|
287
|
+
private _openCommentSidebar;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* To close comment sidebar
|
|
291
|
+
*/
|
|
292
|
+
private _closeCommentSidebar;
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* To toggle comment sidebar
|
|
296
|
+
*/
|
|
297
|
+
private _toggleCommentSidebar;
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* To enable/disable moderator mode
|
|
301
|
+
*
|
|
302
|
+
* @param moderatorMode pass `true` to enable it, `false` to disable it.
|
|
303
|
+
*/
|
|
304
|
+
private _enableModeratorMode;
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* To enable/disable stream mode
|
|
308
|
+
*
|
|
309
|
+
* @param enable pass `true` to enable it, `false` to disable it.
|
|
310
|
+
*/
|
|
311
|
+
private _enableStreamMode;
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* To show sign in button in comments if user is signed out
|
|
315
|
+
*
|
|
316
|
+
* @param enable pass `true` to enable it, `false` to disable it.
|
|
317
|
+
*/
|
|
318
|
+
private _enableSignInButton;
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* Subscribe to add comment mode change.
|
|
322
|
+
*
|
|
323
|
+
* Returns Observable<boolean>.
|
|
324
|
+
*/
|
|
325
|
+
private _addCommentModeChange;
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* Enable this feature to add attachments in comments
|
|
329
|
+
*
|
|
330
|
+
* @param enable pass `true` to enable it, `false` to disable it.
|
|
331
|
+
*/
|
|
332
|
+
private _enableAttachment;
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Enable this feature to show device info in comments
|
|
336
|
+
*
|
|
337
|
+
* @param showInfo pass `true` to show info, `false` to hide it.
|
|
338
|
+
*/
|
|
339
|
+
private _showDeviceInfo;
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* Enable comment mode to add comments.
|
|
343
|
+
*/
|
|
344
|
+
private _enableCommentMode;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Disable comment mode.
|
|
348
|
+
*/
|
|
349
|
+
private _disableCommentMode;
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* To show/hide comment number
|
|
353
|
+
* @param show pass `true` to show it, `false` to hide it.
|
|
354
|
+
*/
|
|
355
|
+
private _showCommentIndex;
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* To enable popover mode
|
|
359
|
+
*/
|
|
360
|
+
private _enablePopoverMode;
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* To disable popover mode
|
|
364
|
+
*/
|
|
365
|
+
private _disablePopoverMode;
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* To enable dialog on hover
|
|
369
|
+
*/
|
|
370
|
+
private _enableDialogOnHover;
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* To disable dialog on hover
|
|
374
|
+
*/
|
|
375
|
+
private _disableDialogOnHover;
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* To enable feature to show dialog on target element click
|
|
379
|
+
*/
|
|
380
|
+
private _enableDialogOnTargetElementClick;
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* To disable feature to show dialog on target element click
|
|
384
|
+
*/
|
|
385
|
+
private _disableDialogOnTargetElementClick;
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* To enable feature to set priority on comments
|
|
389
|
+
*/
|
|
390
|
+
private _enablePriority;
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* To disable feature to set priority on comments
|
|
394
|
+
*/
|
|
395
|
+
private _disablePriority;
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* To enable feature to set status on comments
|
|
399
|
+
*/
|
|
400
|
+
private _enableStatus;
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* To disable feature to set status on comments
|
|
404
|
+
*/
|
|
405
|
+
private _disableStatus;
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* To enable feature to resolve comments
|
|
409
|
+
*/
|
|
410
|
+
private _enableResolve;
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* To disable feature to resolve comments
|
|
414
|
+
*/
|
|
415
|
+
private _disableResolve;
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* To enable feature to show ghost comments
|
|
419
|
+
*/
|
|
420
|
+
private _enableGhostCommentsInDOM;
|
|
421
|
+
|
|
422
|
+
/**
|
|
423
|
+
* To disable feature to show ghost comments
|
|
424
|
+
*/
|
|
425
|
+
private _disableGhostCommentsInDOM;
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* To enable feature to show ghost comments message in comment dialog and comment sidebar
|
|
429
|
+
*/
|
|
430
|
+
private _enableGhostCommentsMessage;
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* To disable feature to show ghost comments message in comment dialog and comment sidebar
|
|
434
|
+
*/
|
|
435
|
+
private _disableGhostCommentsMessage;
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* To enable inbox mode
|
|
439
|
+
*/
|
|
440
|
+
private _enableInboxMode;
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* To disable inbox mode
|
|
444
|
+
*/
|
|
445
|
+
private _disableInboxMode;
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* To enable auto categorize feature
|
|
449
|
+
*/
|
|
450
|
+
private _enableAutoCategorize;
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* To disable auto categorize feature
|
|
454
|
+
*/
|
|
455
|
+
private _disableAutoCategorize;
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* To enable suggestion mode
|
|
459
|
+
*/
|
|
460
|
+
private _enableSuggestionMode;
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* To disable suggestion mode
|
|
464
|
+
*/
|
|
465
|
+
private _disableSuggestionMode;
|
|
466
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
export declare class ContactElement {
|
|
4
|
+
/**
|
|
5
|
+
* Get if user is part of global contact or not.
|
|
6
|
+
*/
|
|
7
|
+
public isUserGlobalContact: () => Observable<boolean>;
|
|
8
|
+
constructor();
|
|
9
|
+
/**
|
|
10
|
+
* Get if user is part of global contact or not.
|
|
11
|
+
*/
|
|
12
|
+
private _isUserGlobalContact;
|
|
13
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { CursorUser } from "../data/cursor-user.data.model";
|
|
4
|
+
export declare class CursorElement {
|
|
5
|
+
/**
|
|
6
|
+
* Subscribe to cursors of all online users who are either active or inactive on the current document.
|
|
7
|
+
*
|
|
8
|
+
* Returns Observable<CursorUser[] | null>.
|
|
9
|
+
*/
|
|
10
|
+
getLiveCursorsOnCurrentDocument: () => Observable<CursorUser[] | null>;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* To set inactivity time (Default value is 2 minutes)
|
|
14
|
+
* @param time inactivity time in milliseconds
|
|
15
|
+
*/
|
|
16
|
+
setInactivityTime: (time: number) => void;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* To allow cursors in specific elements only
|
|
20
|
+
* @param elementIds Element ids to be allowed to show cursor on it
|
|
21
|
+
*/
|
|
22
|
+
allowedElementIds: (elementIds: string[]) => any;
|
|
23
|
+
constructor();
|
|
24
|
+
/**
|
|
25
|
+
* Subscribe to cursors of all online users who are either active or inactive on the current document.
|
|
26
|
+
*
|
|
27
|
+
* Returns Observable<CursorUser[] | null>.
|
|
28
|
+
*/
|
|
29
|
+
private _getLiveCursorsOnCurrentDocument;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* To set inactivity time (Default value is 2 minutes)
|
|
33
|
+
* @param time inactivity time in milliseconds
|
|
34
|
+
*/
|
|
35
|
+
private _setInactivityTime;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* To allow cursors in specific elements only
|
|
39
|
+
* @param elementIds Element ids to be allowed to show cursor on it
|
|
40
|
+
*/
|
|
41
|
+
private _allowedElementIds;
|
|
42
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { PresenceUser } from "../data/presence-user.data.model";
|
|
4
|
+
export declare class PresenceElement {
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Subscribe to a list of all online users who are either active or inactive on the current document.
|
|
8
|
+
*
|
|
9
|
+
* Returns Observable<PresenceUser[] | null>.
|
|
10
|
+
*/
|
|
11
|
+
getOnlineUsersOnCurrentDocument: () => Observable<PresenceUser[] | null>;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* To set inactivity time (Default value is 5 minutes)
|
|
15
|
+
* @param time inactivity time in milliseconds
|
|
16
|
+
*/
|
|
17
|
+
setInactivityTime: (time: number) => void;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Enables follow along mode globally
|
|
21
|
+
* @param options {FollowOptions: {useHistoryAPI: boolean, onNavigate: (url: PageInfo) => void}}}
|
|
22
|
+
*/
|
|
23
|
+
enableFollowAlongMode: (useHistoryAPI: boolean) => any;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* To disable follow along mode
|
|
27
|
+
*/
|
|
28
|
+
disableFollowAlongMode: () => any;
|
|
29
|
+
constructor();
|
|
30
|
+
/**
|
|
31
|
+
* Subscribe to a list of all online users who are either active or inactive on the current document.
|
|
32
|
+
*
|
|
33
|
+
* Returns Observable<PresenceUser[] | null>.
|
|
34
|
+
*/
|
|
35
|
+
private _getOnlineUsersOnCurrentDocument;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* To set inactivity time (Default value is 5 minutes)
|
|
39
|
+
* @param time inactivity time in milliseconds
|
|
40
|
+
*/
|
|
41
|
+
private _setInactivityTime;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Enables follow along mode globally
|
|
45
|
+
* @param options {FollowOptions: {useHistoryAPI: boolean, onNavigate: (url: PageInfo) => void}}}
|
|
46
|
+
*/
|
|
47
|
+
private _enableFollowAlongMode;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* To disable follow along mode
|
|
51
|
+
*/
|
|
52
|
+
private _disableFollowAlongMode;
|
|
53
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
|
|
4
|
+
export declare class RecorderElement {
|
|
5
|
+
|
|
6
|
+
initRecording: (type: string, panelId?: string) => any;
|
|
7
|
+
|
|
8
|
+
onRecordedData: () => Observable<any>;
|
|
9
|
+
|
|
10
|
+
constructor();
|
|
11
|
+
|
|
12
|
+
private _initRecording;
|
|
13
|
+
|
|
14
|
+
private _onRecordedData;
|
|
15
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
export declare class RewriterElement {
|
|
3
|
+
/**
|
|
4
|
+
* To enable rewriter feature
|
|
5
|
+
*/
|
|
6
|
+
enableRewriter: () => void;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* To disable rewriter feature
|
|
10
|
+
*/
|
|
11
|
+
disableRewriter: () => void;
|
|
12
|
+
constructor();
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* To enable rewriter feature
|
|
16
|
+
*/
|
|
17
|
+
private _enableRewriter;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* To disable rewriter feature
|
|
21
|
+
*/
|
|
22
|
+
private _disableRewriter;
|
|
23
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
export declare class SelectionElement {
|
|
3
|
+
/**
|
|
4
|
+
* To enable/disable selections
|
|
5
|
+
* @param enable pass `true` to enable it, `false` to disable it.
|
|
6
|
+
*/
|
|
7
|
+
enableLiveSelection: (enable: boolean) => void;
|
|
8
|
+
constructor();
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* To enable/disable selections
|
|
12
|
+
* @param enable pass `true` to enable it, `false` to disable it.
|
|
13
|
+
*/
|
|
14
|
+
private _enableLiveSelection;
|
|
15
|
+
}
|