@veltdev/types-dev 1.0.117 → 1.0.119

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 { CommentPinAnnotation } from "../data/comment-pin-annotation.data.model";
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<CommentPinAnnotation[] | null>;
11
+ getAllCommentAnnotations: (documentId?: string, documentParams?: object) => Observable<CommentAnnotation[] | null>;
12
12
 
13
13
  /**
14
14
  * To delete selected comments
@@ -547,6 +547,12 @@ export declare class CommentElement {
547
547
  * @param allowedRecordings "all", "none" or "audio", "video", "screen"
548
548
  */
549
549
  public setAllowedRecordings: (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;
550
556
  constructor();
551
557
  /**
552
558
  * Subscribe to comments on the current document.
@@ -1087,4 +1093,10 @@ export declare class CommentElement {
1087
1093
  * @param allowedRecordings "all", "none" or "audio", "video", "screen"
1088
1094
  */
1089
1095
  private _setAllowedRecordings;
1096
+
1097
+ /**
1098
+ * To manually add comment on element.
1099
+ * @param data comment data
1100
+ */
1101
+ private _addCommentOnElement;
1090
1102
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "1.0.117",
3
+ "version": "1.0.119",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",