@veltdev/sdk-staging 4.5.0-beta.52 → 4.5.0-beta.54
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/models/element/comment-element.model.d.ts +40 -10
- package/package.json +1 -1
- package/velt.js +68 -68
|
@@ -126,7 +126,7 @@ export declare class CommentElement {
|
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
128
|
* Subscribe to comment mode change.
|
|
129
|
-
*
|
|
129
|
+
*
|
|
130
130
|
* Returns Observable<boolean>.
|
|
131
131
|
*/
|
|
132
132
|
onCommentModeChange: () => Observable<boolean>;
|
|
@@ -278,7 +278,7 @@ export declare class CommentElement {
|
|
|
278
278
|
|
|
279
279
|
/**
|
|
280
280
|
* @description Sets custom status filters
|
|
281
|
-
* @param statuses
|
|
281
|
+
* @param statuses
|
|
282
282
|
*/
|
|
283
283
|
setCustomStatus: (statuses: CustomStatus[]) => void;
|
|
284
284
|
|
|
@@ -326,7 +326,7 @@ export declare class CommentElement {
|
|
|
326
326
|
|
|
327
327
|
/**
|
|
328
328
|
* @description Sets the comment context provider
|
|
329
|
-
* @param provider
|
|
329
|
+
* @param provider
|
|
330
330
|
*/
|
|
331
331
|
public setContextProvider: (provider: (documentId: string, location?: any) => any) => void;
|
|
332
332
|
|
|
@@ -397,14 +397,14 @@ export declare class CommentElement {
|
|
|
397
397
|
|
|
398
398
|
/**
|
|
399
399
|
* To get documentId, location and set context data when comment is added.
|
|
400
|
-
*
|
|
400
|
+
*
|
|
401
401
|
* @legacy Use `AddCommentAnnotationEvent` instead
|
|
402
402
|
*/
|
|
403
403
|
public onCommentAdd: () => Observable<CommentAddEventData>;
|
|
404
404
|
|
|
405
405
|
/**
|
|
406
406
|
* To get data when comment is updated.
|
|
407
|
-
*
|
|
407
|
+
*
|
|
408
408
|
* @legacy Use action specific events instead
|
|
409
409
|
*/
|
|
410
410
|
public onCommentUpdate: () => Observable<CommentUpdateEventData>;
|
|
@@ -1173,6 +1173,21 @@ export declare class CommentElement {
|
|
|
1173
1173
|
*/
|
|
1174
1174
|
public disableFilterCommentsOnDom: () => void;
|
|
1175
1175
|
|
|
1176
|
+
/**
|
|
1177
|
+
* To enable reply avatars
|
|
1178
|
+
*/
|
|
1179
|
+
public enableReplyAvatars: () => void;
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* To disable reply avatars
|
|
1183
|
+
*/
|
|
1184
|
+
public disableReplyAvatars: () => void;
|
|
1185
|
+
|
|
1186
|
+
/**
|
|
1187
|
+
* To set max reply avatars
|
|
1188
|
+
*/
|
|
1189
|
+
public setMaxReplyAvatars: (maxReplyAvatars: number) => void;
|
|
1190
|
+
|
|
1176
1191
|
constructor();
|
|
1177
1192
|
/**
|
|
1178
1193
|
* Subscribe to comments on the current document.
|
|
@@ -1288,7 +1303,7 @@ export declare class CommentElement {
|
|
|
1288
1303
|
|
|
1289
1304
|
/**
|
|
1290
1305
|
* Subscribe to comment mode change.
|
|
1291
|
-
*
|
|
1306
|
+
*
|
|
1292
1307
|
* Returns Observable<boolean>.
|
|
1293
1308
|
*/
|
|
1294
1309
|
private _onCommentModeChange;
|
|
@@ -1435,7 +1450,7 @@ export declare class CommentElement {
|
|
|
1435
1450
|
|
|
1436
1451
|
/**
|
|
1437
1452
|
* @description Sets custom status filters
|
|
1438
|
-
* @param statuses
|
|
1453
|
+
* @param statuses
|
|
1439
1454
|
*/
|
|
1440
1455
|
private _setCustomStatus;
|
|
1441
1456
|
|
|
@@ -1483,7 +1498,7 @@ export declare class CommentElement {
|
|
|
1483
1498
|
|
|
1484
1499
|
/**
|
|
1485
1500
|
* @description Sets the comment context provider
|
|
1486
|
-
* @param provider
|
|
1501
|
+
* @param provider
|
|
1487
1502
|
*/
|
|
1488
1503
|
private _setContextProvider;
|
|
1489
1504
|
|
|
@@ -1728,7 +1743,7 @@ export declare class CommentElement {
|
|
|
1728
1743
|
*/
|
|
1729
1744
|
private _disableRecordingSummary;
|
|
1730
1745
|
|
|
1731
|
-
/**
|
|
1746
|
+
/**
|
|
1732
1747
|
* To enable recording transcription
|
|
1733
1748
|
*/
|
|
1734
1749
|
private _enableRecordingTranscription;
|
|
@@ -2023,7 +2038,7 @@ export declare class CommentElement {
|
|
|
2023
2038
|
*/
|
|
2024
2039
|
private _disableQueryParamsComments;
|
|
2025
2040
|
|
|
2026
|
-
/**
|
|
2041
|
+
/**
|
|
2027
2042
|
* To enable comment sidebar action button click
|
|
2028
2043
|
*/
|
|
2029
2044
|
private _onCommentSidebarActionButtonClick;
|
|
@@ -2325,4 +2340,19 @@ export declare class CommentElement {
|
|
|
2325
2340
|
* To disable filter comments on dom
|
|
2326
2341
|
*/
|
|
2327
2342
|
private _disableFilterCommentsOnDom;
|
|
2343
|
+
|
|
2344
|
+
/**
|
|
2345
|
+
* To enable reply avatars
|
|
2346
|
+
*/
|
|
2347
|
+
private _enableReplyAvatars;
|
|
2348
|
+
|
|
2349
|
+
/**
|
|
2350
|
+
* To disable reply avatars
|
|
2351
|
+
*/
|
|
2352
|
+
private _disableReplyAvatars;
|
|
2353
|
+
|
|
2354
|
+
/**
|
|
2355
|
+
* To set max reply avatars
|
|
2356
|
+
*/
|
|
2357
|
+
private _setMaxReplyAvatars;
|
|
2328
2358
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk-staging",
|
|
3
|
-
"version": "4.5.0-beta.
|
|
3
|
+
"version": "4.5.0-beta.54",
|
|
4
4
|
"description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
|
|
5
5
|
"homepage": "https://velt.dev",
|
|
6
6
|
"keywords": [
|