@veltdev/types 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/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 +51 -0
- package/app/models/element/comment-element.model.d.ts +808 -0
- package/app/models/element/contact-element.model.d.ts +13 -0
- package/app/models/element/cursor-element.model.d.ts +60 -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 +23 -0
- package/app/models/element/tag-element.model.d.ts +68 -0
- package/app/utils/constants.d.ts +349 -0
- package/app/utils/enums.d.ts +95 -0
- package/models.d.ts +44 -0
- package/package.json +12 -0
- package/types.d.ts +5 -0
- package/velt.d.ts +20 -0
|
@@ -0,0 +1,808 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { CommentPinAnnotation } from "../data/comment-pin-annotation.data.model";
|
|
4
|
+
import { CustomCategory, CustomPriority, CustomStatus } from "../data/custom-filter.data.model";
|
|
5
|
+
export declare class CommentElement {
|
|
6
|
+
/**
|
|
7
|
+
* Subscribe to comments on the current document.
|
|
8
|
+
*
|
|
9
|
+
* Returns Observable<CommentPinAnnotation[] | null>.
|
|
10
|
+
*/
|
|
11
|
+
getAllCommentAnnotations: (documentId?: string, documentParams?: object) => Observable<CommentPinAnnotation[] | null>;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* To delete selected comments
|
|
15
|
+
*/
|
|
16
|
+
deleteComment: () => any;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* To enable text comment selection
|
|
20
|
+
*/
|
|
21
|
+
enableTextComments: () => any;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* To disable text comment selection
|
|
25
|
+
*/
|
|
26
|
+
disableTextComments: () => any;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* To allow text selection in specific elements only
|
|
30
|
+
* @param elementIds Element ids to be allowed for text selection
|
|
31
|
+
*/
|
|
32
|
+
allowedElementIds: (elementIds: string[]) => any;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* To enable floating comments
|
|
36
|
+
* @deprecated Use enableFloatingMode instead
|
|
37
|
+
*/
|
|
38
|
+
enableFloatingComments: () => any;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* To disable floating comments
|
|
42
|
+
* @deprecated Use disableFloatingMode instead
|
|
43
|
+
*/
|
|
44
|
+
disableFloatingComments: () => any;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* To enable floating mode
|
|
48
|
+
*/
|
|
49
|
+
enableFloatingMode: () => any;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* To disable floating mode
|
|
53
|
+
*/
|
|
54
|
+
disableFloatingMode: () => any;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* To add comments on specific elements
|
|
58
|
+
*
|
|
59
|
+
* @param elementId ID of html element
|
|
60
|
+
*/
|
|
61
|
+
attachComment: (elementId: string) => any;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* To open comment sidebar
|
|
65
|
+
*/
|
|
66
|
+
openCommentSidebar: () => any;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* To close comment sidebar
|
|
70
|
+
*/
|
|
71
|
+
closeCommentSidebar: () => any;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* To toggle comment sidebar
|
|
75
|
+
*/
|
|
76
|
+
toggleCommentSidebar: () => any;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* To enable moderator mode
|
|
80
|
+
*/
|
|
81
|
+
enableModeratorMode: () => any;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* To disable moderator mode
|
|
85
|
+
*/
|
|
86
|
+
disableModeratorMode: () => any;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* To enable stream mode
|
|
90
|
+
*/
|
|
91
|
+
enableStreamMode: () => any;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* To disable stream mode
|
|
95
|
+
*/
|
|
96
|
+
disableStreamMode: () => any;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* To show sign in button in comments if user is signed out
|
|
100
|
+
*/
|
|
101
|
+
enableSignInButton: () => any;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* To hide sign in button in comments if user is signed out
|
|
105
|
+
*/
|
|
106
|
+
disableSignInButton: () => any;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* @deprecated Use onCommentModeChange instead
|
|
110
|
+
*
|
|
111
|
+
* Subscribe to add comment mode change.
|
|
112
|
+
*
|
|
113
|
+
* Returns Observable<boolean>.
|
|
114
|
+
*/
|
|
115
|
+
addCommentModeChange: () => Observable<boolean>;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Subscribe to comment mode change.
|
|
119
|
+
*
|
|
120
|
+
* Returns Observable<boolean>.
|
|
121
|
+
*/
|
|
122
|
+
onCommentModeChange: () => Observable<boolean>;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Enable attachments feature in comments
|
|
126
|
+
*
|
|
127
|
+
* @deprecated Use enableAttachments instead
|
|
128
|
+
*/
|
|
129
|
+
enableAttachment: () => any;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Disable attachments feature in comments
|
|
133
|
+
*
|
|
134
|
+
* @deprecated Use disableAttachments instead
|
|
135
|
+
*/
|
|
136
|
+
disableAttachment: () => any;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Enable attachments feature in comments
|
|
140
|
+
*/
|
|
141
|
+
enableAttachments: () => any;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Disable attachments feature in comments
|
|
145
|
+
*/
|
|
146
|
+
disableAttachments: () => any;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Get if user is part of global contact or not.
|
|
150
|
+
*/
|
|
151
|
+
isUserGlobalContact: () => Observable<boolean>;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Enable this feature to show device info in comments
|
|
155
|
+
*
|
|
156
|
+
* @param showInfo pass `true` to show info, `false` to hide it.
|
|
157
|
+
*
|
|
158
|
+
* @deprecated Use enableDeviceInfo and disableDeviceInfo instead
|
|
159
|
+
*/
|
|
160
|
+
showDeviceInfo: (showInfo: boolean) => any;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Enable device info in comments
|
|
164
|
+
*/
|
|
165
|
+
enableDeviceInfo: () => any;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Disable device info in comments
|
|
169
|
+
*/
|
|
170
|
+
disableDeviceInfo: () => any;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Enable comment mode to add comments.
|
|
174
|
+
*/
|
|
175
|
+
public enableCommentMode: () => any;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Disable comment mode.
|
|
179
|
+
*/
|
|
180
|
+
public disableCommentMode: () => any;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* To show/hide comment number
|
|
184
|
+
* @param show pass `true` to show it, `false` to hide it.
|
|
185
|
+
*
|
|
186
|
+
* @deprecated Use enableCommentIndex and disableCommentIndex instead
|
|
187
|
+
*/
|
|
188
|
+
public showCommentIndex: (show: boolean) => any;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* To show comment number
|
|
192
|
+
*/
|
|
193
|
+
public enableCommentIndex: () => any;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* To hide comment number
|
|
197
|
+
*/
|
|
198
|
+
public disableCommentIndex: () => any;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* To enable popover mode
|
|
202
|
+
*/
|
|
203
|
+
public enablePopoverMode: () => any;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* To disable popover mode
|
|
207
|
+
*/
|
|
208
|
+
public disablePopoverMode: () => any;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* To enable dialog on hover
|
|
212
|
+
*/
|
|
213
|
+
public enableDialogOnHover: () => any;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* To disable dialog on hover
|
|
217
|
+
*/
|
|
218
|
+
public disableDialogOnHover: () => any;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* To enable feature to show dialog on target element click
|
|
222
|
+
*/
|
|
223
|
+
public enableDialogOnTargetElementClick: () => any;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* To disable feature to show dialog on target element click
|
|
227
|
+
*/
|
|
228
|
+
public disableDialogOnTargetElementClick: () => any;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* To enable feature to set priority on comments
|
|
232
|
+
*/
|
|
233
|
+
public enablePriority: () => any;
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* To disable feature to set priority on comments
|
|
237
|
+
*/
|
|
238
|
+
public disablePriority: () => any;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* To enable feature to set status on comments
|
|
242
|
+
*/
|
|
243
|
+
public enableStatus: () => any;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* To disable feature to set status on comments
|
|
247
|
+
*/
|
|
248
|
+
public disableStatus: () => any;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* To enable feature to resolve comments
|
|
252
|
+
*
|
|
253
|
+
* @deprecated Use enableResolveButton instead
|
|
254
|
+
*/
|
|
255
|
+
public enableResolve: () => any;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* To disable feature to resolve comments
|
|
259
|
+
*
|
|
260
|
+
* @deprecated Use disableResolveButton instead
|
|
261
|
+
*/
|
|
262
|
+
public disableResolve: () => any;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* To enable feature to show resolve button
|
|
266
|
+
*/
|
|
267
|
+
public enableResolveButton: () => any;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* To disable feature to show resolve button
|
|
271
|
+
*/
|
|
272
|
+
public disableResolveButton: () => any;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* To enable feature to show ghost comments
|
|
276
|
+
*
|
|
277
|
+
* @deprecated Use enableGhostComments instead
|
|
278
|
+
*/
|
|
279
|
+
public enableGhostCommentsInDOM: () => any;
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* To disable feature to show ghost comments
|
|
283
|
+
*
|
|
284
|
+
* @deprecated Use disableGhostComments instead
|
|
285
|
+
*/
|
|
286
|
+
public disableGhostCommentsInDOM: () => any;
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* To enable feature to show ghost comments
|
|
290
|
+
*/
|
|
291
|
+
public enableGhostComments: () => any;
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* To disable feature to show ghost comments
|
|
295
|
+
*/
|
|
296
|
+
public disableGhostComments: () => any;
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* To enable feature to show ghost comments message in comment dialog and comment sidebar
|
|
300
|
+
*
|
|
301
|
+
* @deprecated Use enableGhostCommentsIndicator instead
|
|
302
|
+
*/
|
|
303
|
+
public enableGhostCommentsMessage: () => any;
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* To disable feature to show ghost comments message in comment dialog and comment sidebar
|
|
307
|
+
*
|
|
308
|
+
* @deprecated Use disableGhostCommentsIndicator instead
|
|
309
|
+
*/
|
|
310
|
+
public disableGhostCommentsMessage: () => any;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* To enable feature to show ghost comments message in comment dialog and comment sidebar
|
|
314
|
+
*/
|
|
315
|
+
public enableGhostCommentsIndicator: () => any;
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* To disable feature to show ghost comments message in comment dialog and comment sidebar
|
|
319
|
+
*/
|
|
320
|
+
public disableGhostCommentsIndicator: () => any;
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* @description Sets custom status filters
|
|
324
|
+
* @param statuses
|
|
325
|
+
*
|
|
326
|
+
* @deprecated Use setCustomStatus instead
|
|
327
|
+
*/
|
|
328
|
+
setCustomStatuses: (statuses: CustomStatus[]) => void;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* @description Sets custom status filters
|
|
332
|
+
* @param statuses
|
|
333
|
+
*/
|
|
334
|
+
setCustomStatus: (statuses: CustomStatus[]) => void;
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* @description Sets custom priority filters
|
|
338
|
+
* @param priorities
|
|
339
|
+
*
|
|
340
|
+
* @deprecated Use setCustomPriority instead
|
|
341
|
+
*/
|
|
342
|
+
setCustomPriorities: (priorities: CustomPriority[]) => void;
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* @description Sets custom priority filters
|
|
346
|
+
* @param priorities
|
|
347
|
+
*/
|
|
348
|
+
setCustomPriority: (priorities: CustomPriority[]) => void;
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* @description Sets custom categories filters
|
|
352
|
+
* @param categories
|
|
353
|
+
*
|
|
354
|
+
* @deprecated Use setCustomCategory instead
|
|
355
|
+
*/
|
|
356
|
+
setCustomCategories: (categories: CustomCategory[]) => void;
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* @description Sets custom categories filters
|
|
360
|
+
* @param categories
|
|
361
|
+
*/
|
|
362
|
+
setCustomCategory: (categories: CustomCategory[]) => void;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* To enable inbox mode
|
|
366
|
+
*/
|
|
367
|
+
public enableInboxMode: () => any;
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* To disable inbox mode
|
|
371
|
+
*/
|
|
372
|
+
public disableInboxMode: () => any;
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* To enable auto categorize feature
|
|
376
|
+
*/
|
|
377
|
+
public enableAutoCategorize: () => any;
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* To disable auto categorize feature
|
|
381
|
+
*/
|
|
382
|
+
public disableAutoCategorize: () => any;
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* To enable dark mode in comments
|
|
386
|
+
*/
|
|
387
|
+
public enableDarkMode: () => any;
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* To disable dark mode in comments
|
|
391
|
+
*/
|
|
392
|
+
public disableDarkMode: () => any;
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* @description Sets the comment context provider
|
|
396
|
+
* @param provider
|
|
397
|
+
*/
|
|
398
|
+
public setContextProvider: (provider: (documentId: string, location?: any) => any) => void;
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* To enable suggestion mode
|
|
402
|
+
*/
|
|
403
|
+
public enableSuggestionMode: () => any;
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* To disable suggestion mode
|
|
407
|
+
*/
|
|
408
|
+
public disableSuggestionMode: () => any;
|
|
409
|
+
constructor();
|
|
410
|
+
/**
|
|
411
|
+
* Subscribe to comments on the current document.
|
|
412
|
+
*
|
|
413
|
+
* Returns Observable<CommentPinAnnotation[] | null>.
|
|
414
|
+
*/
|
|
415
|
+
private _getAllCommentAnnotations;
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* To delete selected comments
|
|
419
|
+
*/
|
|
420
|
+
private _deleteComment;
|
|
421
|
+
|
|
422
|
+
/**
|
|
423
|
+
* To enable text comment selection
|
|
424
|
+
*/
|
|
425
|
+
private _enableTextComments;
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* To disable text comment selection
|
|
429
|
+
*/
|
|
430
|
+
private _disableTextComments;
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* To allow text selection in specific elements only
|
|
434
|
+
* @param elementIds Element ids to be allowed for text selection
|
|
435
|
+
*/
|
|
436
|
+
private _allowedElementIds;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* To enable floating comments
|
|
440
|
+
* @deprecated Use enableFloatingMode instead
|
|
441
|
+
*/
|
|
442
|
+
private _enableFloatingComments;
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* To disable floating comments
|
|
446
|
+
* @deprecated Use disableFloatingMode instead
|
|
447
|
+
*/
|
|
448
|
+
private _disableFloatingComments;
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* To enable floating mode
|
|
452
|
+
*/
|
|
453
|
+
private _enableFloatingMode;
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* To disable floating mode
|
|
457
|
+
*/
|
|
458
|
+
private _disableFloatingMode;
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* To add comments on specific elements
|
|
462
|
+
*
|
|
463
|
+
* @param elementId ID of html element
|
|
464
|
+
*/
|
|
465
|
+
private _attachComment;
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* To open comment sidebar
|
|
469
|
+
*/
|
|
470
|
+
private _openCommentSidebar;
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* To close comment sidebar
|
|
474
|
+
*/
|
|
475
|
+
private _closeCommentSidebar;
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* To toggle comment sidebar
|
|
479
|
+
*/
|
|
480
|
+
private _toggleCommentSidebar;
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* To enable moderator mode
|
|
484
|
+
*/
|
|
485
|
+
private _enableModeratorMode;
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* To disable moderator mode
|
|
489
|
+
*/
|
|
490
|
+
private _disableModeratorMode;
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* To enable stream mode
|
|
494
|
+
*/
|
|
495
|
+
private _enableStreamMode;
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* To disable stream mode
|
|
499
|
+
*/
|
|
500
|
+
private _disableStreamMode;
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
* To show sign in button in comments if user is signed out
|
|
504
|
+
*/
|
|
505
|
+
private _enableSignInButton;
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* To hide sign in button in comments if user is signed out
|
|
509
|
+
*/
|
|
510
|
+
private _disableSignInButton;
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* @deprecated Use onCommentModeChange instead
|
|
514
|
+
*
|
|
515
|
+
* Subscribe to add comment mode change.
|
|
516
|
+
*
|
|
517
|
+
* Returns Observable<boolean>.
|
|
518
|
+
*/
|
|
519
|
+
private _addCommentModeChange;
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* Subscribe to comment mode change.
|
|
523
|
+
*
|
|
524
|
+
* Returns Observable<boolean>.
|
|
525
|
+
*/
|
|
526
|
+
private _onCommentModeChange;
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* Enable attachments feature in comments
|
|
530
|
+
*
|
|
531
|
+
* @deprecated Use enableAttachments instead
|
|
532
|
+
*/
|
|
533
|
+
private _enableAttachment;
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* Disable attachments feature in comments
|
|
537
|
+
*
|
|
538
|
+
* @deprecated Use disableAttachments instead
|
|
539
|
+
*/
|
|
540
|
+
private _disableAttachment;
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* To enable attachments feature in comments
|
|
544
|
+
*/
|
|
545
|
+
private _enableAttachments;
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* To disable attachments feature in comments
|
|
549
|
+
*/
|
|
550
|
+
private _disableAttachments;
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* Enable this feature to show device info in comments
|
|
554
|
+
*
|
|
555
|
+
* @param showInfo pass `true` to show info, `false` to hide it.
|
|
556
|
+
*
|
|
557
|
+
* @deprecated Use enableDeviceInfo and disableDeviceInfo instead
|
|
558
|
+
*/
|
|
559
|
+
private _showDeviceInfo;
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* Enable device info in comments
|
|
563
|
+
*/
|
|
564
|
+
private _enableDeviceInfo;
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* Disable device info in comments
|
|
568
|
+
*/
|
|
569
|
+
private _disableDeviceInfo;
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* Enable comment mode to add comments.
|
|
573
|
+
*/
|
|
574
|
+
private _enableCommentMode;
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* Disable comment mode.
|
|
578
|
+
*/
|
|
579
|
+
private _disableCommentMode;
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* To show/hide comment number
|
|
583
|
+
* @param show pass `true` to show it, `false` to hide it.
|
|
584
|
+
*
|
|
585
|
+
* @deprecated Use enableCommentIndex and disableCommentIndex instead
|
|
586
|
+
*/
|
|
587
|
+
private _showCommentIndex;
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* To enable comment number
|
|
591
|
+
*/
|
|
592
|
+
private _enableCommentIndex;
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* To disable comment number
|
|
596
|
+
*/
|
|
597
|
+
private _disableCommentIndex;
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* To enable popover mode
|
|
601
|
+
*/
|
|
602
|
+
private _enablePopoverMode;
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* To disable popover mode
|
|
606
|
+
*/
|
|
607
|
+
private _disablePopoverMode;
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* To enable dialog on hover
|
|
611
|
+
*/
|
|
612
|
+
private _enableDialogOnHover;
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* To disable dialog on hover
|
|
616
|
+
*/
|
|
617
|
+
private _disableDialogOnHover;
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* To enable feature to show dialog on target element click
|
|
621
|
+
*/
|
|
622
|
+
private _enableDialogOnTargetElementClick;
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* To disable feature to show dialog on target element click
|
|
626
|
+
*/
|
|
627
|
+
private _disableDialogOnTargetElementClick;
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* To enable feature to set priority on comments
|
|
631
|
+
*/
|
|
632
|
+
private _enablePriority;
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* To disable feature to set priority on comments
|
|
636
|
+
*/
|
|
637
|
+
private _disablePriority;
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* To enable feature to set status on comments
|
|
641
|
+
*/
|
|
642
|
+
private _enableStatus;
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* To disable feature to set status on comments
|
|
646
|
+
*/
|
|
647
|
+
private _disableStatus;
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* To enable feature to resolve comments
|
|
651
|
+
*
|
|
652
|
+
* @deprecated Use enableResolveButton instead
|
|
653
|
+
*/
|
|
654
|
+
private _enableResolve;
|
|
655
|
+
|
|
656
|
+
/**
|
|
657
|
+
* To disable feature to resolve comments
|
|
658
|
+
*
|
|
659
|
+
* @deprecated Use disableResolveButton instead
|
|
660
|
+
*/
|
|
661
|
+
private _disableResolve;
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* To enable feature to show resolve button
|
|
665
|
+
*/
|
|
666
|
+
private _enableResolveButton;
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* To disable feature to show resolve button
|
|
670
|
+
*/
|
|
671
|
+
private _disableResolveButton;
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* To enable feature to show ghost comments
|
|
675
|
+
*
|
|
676
|
+
* @deprecated Use enableGhostComments instead
|
|
677
|
+
*/
|
|
678
|
+
private _enableGhostCommentsInDOM;
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* To disable feature to show ghost comments
|
|
682
|
+
*
|
|
683
|
+
* @deprecated Use disableGhostComments instead
|
|
684
|
+
*/
|
|
685
|
+
private _disableGhostCommentsInDOM;
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* To enable feature to show ghost comments
|
|
689
|
+
*/
|
|
690
|
+
private _enableGhostComments;
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* To disable feature to show ghost comments
|
|
694
|
+
*/
|
|
695
|
+
private _disableGhostComments;
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* To enable feature to show ghost comments message in comment dialog and comment sidebar
|
|
699
|
+
*
|
|
700
|
+
* @deprecated Use enableGhostCommentsIndicator instead
|
|
701
|
+
*/
|
|
702
|
+
private _enableGhostCommentsMessage;
|
|
703
|
+
|
|
704
|
+
/**
|
|
705
|
+
* To disable feature to show ghost comments message in comment dialog and comment sidebar
|
|
706
|
+
*
|
|
707
|
+
* @deprecated Use disableGhostCommentsIndicator instead
|
|
708
|
+
*/
|
|
709
|
+
private _disableGhostCommentsMessage;
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* To enable feature to show ghost comments message in comment dialog and comment sidebar
|
|
713
|
+
*/
|
|
714
|
+
private _enableGhostCommentsIndicator;
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* To disable feature to show ghost comments message in comment dialog and comment sidebar
|
|
718
|
+
*/
|
|
719
|
+
private _disableGhostCommentsIndicator;
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* @description Sets custom status filters
|
|
723
|
+
* @param statuses
|
|
724
|
+
*
|
|
725
|
+
* @deprecated Use setCustomStatus instead
|
|
726
|
+
*/
|
|
727
|
+
private _setCustomStatuses;
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* @description Sets custom status filters
|
|
731
|
+
* @param statuses
|
|
732
|
+
*/
|
|
733
|
+
private _setCustomStatus;
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* @description Sets custom priority filters
|
|
737
|
+
* @param priorities
|
|
738
|
+
*
|
|
739
|
+
* @deprecated Use setCustomPriority instead
|
|
740
|
+
*/
|
|
741
|
+
private _setCustomPriorities;
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* @description Sets custom priority filters
|
|
745
|
+
* @param priorities
|
|
746
|
+
*/
|
|
747
|
+
private _setCustomPriority;
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* @description Sets custom categories filters
|
|
751
|
+
* @param categories
|
|
752
|
+
*
|
|
753
|
+
* @deprecated Use setCustomCategory instead
|
|
754
|
+
*/
|
|
755
|
+
private _setCustomCategories;
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* @description Sets custom categories filters
|
|
759
|
+
* @param categories
|
|
760
|
+
*/
|
|
761
|
+
private _setCustomCategory;
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* To enable inbox mode
|
|
765
|
+
*/
|
|
766
|
+
private _enableInboxMode;
|
|
767
|
+
|
|
768
|
+
/**
|
|
769
|
+
* To disable inbox mode
|
|
770
|
+
*/
|
|
771
|
+
private _disableInboxMode;
|
|
772
|
+
|
|
773
|
+
/**
|
|
774
|
+
* To enable auto categorize feature
|
|
775
|
+
*/
|
|
776
|
+
private _enableAutoCategorize;
|
|
777
|
+
|
|
778
|
+
/**
|
|
779
|
+
* To disable auto categorize feature
|
|
780
|
+
*/
|
|
781
|
+
private _disableAutoCategorize;
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* To enable dark mode in comments
|
|
785
|
+
*/
|
|
786
|
+
private _enableDarkMode;
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* To disable dark mode in comments
|
|
790
|
+
*/
|
|
791
|
+
private _disableDarkMode;
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* @description Sets the comment context provider
|
|
795
|
+
* @param provider
|
|
796
|
+
*/
|
|
797
|
+
private _setContextProvider;
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* To enable suggestion mode
|
|
801
|
+
*/
|
|
802
|
+
private _enableSuggestionMode;
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* To disable suggestion mode
|
|
806
|
+
*/
|
|
807
|
+
private _disableSuggestionMode;
|
|
808
|
+
}
|