@veltdev/sdk 1.0.41 → 1.0.42
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.
|
@@ -163,3 +163,20 @@ export declare class GhostComment {
|
|
|
163
163
|
*/
|
|
164
164
|
isSameGroup?: boolean;
|
|
165
165
|
}
|
|
166
|
+
export declare class CommentOnElementConfig {
|
|
167
|
+
targetElement?: {
|
|
168
|
+
targetText: string;
|
|
169
|
+
occurrence: number;
|
|
170
|
+
elementId: string;
|
|
171
|
+
selectAllContent: boolean;
|
|
172
|
+
};
|
|
173
|
+
commentData?: {
|
|
174
|
+
commentText: string;
|
|
175
|
+
commentHtml?: string;
|
|
176
|
+
status: string;
|
|
177
|
+
from: any;
|
|
178
|
+
replaceContentHtml?: string;
|
|
179
|
+
replaceContentText?: string;
|
|
180
|
+
}[];
|
|
181
|
+
status?: string;
|
|
182
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
|
-
import {
|
|
3
|
+
import { CommentAnnotation, CommentOnElementConfig } from "../data/comment-annotation.data.model";
|
|
4
4
|
import { CustomCategory, CustomPriority, CustomStatus } from "../data/custom-filter.data.model";
|
|
5
5
|
export declare class CommentElement {
|
|
6
6
|
/**
|
|
@@ -8,7 +8,7 @@ export declare class CommentElement {
|
|
|
8
8
|
*
|
|
9
9
|
* Returns Observable<CommentPinAnnotation[] | null>.
|
|
10
10
|
*/
|
|
11
|
-
getAllCommentAnnotations: (documentId?: string, documentParams?: object) => Observable<
|
|
11
|
+
getAllCommentAnnotations: (documentId?: string, documentParams?: object) => Observable<CommentAnnotation[] | null>;
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* To delete selected comments
|
|
@@ -531,6 +531,28 @@ export declare class CommentElement {
|
|
|
531
531
|
* To detect click on sidebar button on comment dialog.
|
|
532
532
|
*/
|
|
533
533
|
public onSidebarButtonOnCommentDialogClick: () => Observable<any>;
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* To enable reactions in comments
|
|
537
|
+
*/
|
|
538
|
+
public enableReactions: () => void;
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* To disable reactions in comments
|
|
542
|
+
*/
|
|
543
|
+
public disableReactions: () => void;
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* To set allowed recordings in comments
|
|
547
|
+
* @param allowedRecordings "all", "none" or "audio", "video", "screen"
|
|
548
|
+
*/
|
|
549
|
+
public setRecordings: (allowedRecordings: string | string[]) => void;
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* To manually add comment on element.
|
|
553
|
+
* @param data comment data
|
|
554
|
+
*/
|
|
555
|
+
public addCommentOnElement: (data: CommentOnElementConfig) => void;
|
|
534
556
|
constructor();
|
|
535
557
|
/**
|
|
536
558
|
* Subscribe to comments on the current document.
|
|
@@ -1055,4 +1077,26 @@ export declare class CommentElement {
|
|
|
1055
1077
|
* To detect click on sidebar button on comment dialog.
|
|
1056
1078
|
*/
|
|
1057
1079
|
private _onSidebarButtonOnCommentDialogClick;
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* To enable reactions in comments
|
|
1083
|
+
*/
|
|
1084
|
+
private _enableReactions;
|
|
1085
|
+
|
|
1086
|
+
/**
|
|
1087
|
+
* To disable reactions in comments
|
|
1088
|
+
*/
|
|
1089
|
+
private _disableReactions;
|
|
1090
|
+
|
|
1091
|
+
/**
|
|
1092
|
+
* To set allowed recordings in comments
|
|
1093
|
+
* @param allowedRecordings "all", "none" or "audio", "video", "screen"
|
|
1094
|
+
*/
|
|
1095
|
+
private _setRecordings;
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* To manually add comment on element.
|
|
1099
|
+
* @param data comment data
|
|
1100
|
+
*/
|
|
1101
|
+
private _addCommentOnElement;
|
|
1058
1102
|
}
|