@veltdev/sdk 1.0.147 → 1.0.149

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.
@@ -191,3 +191,7 @@ export declare class CommentIAMConfig {
191
191
  export declare class CommentMetadata {
192
192
  [key: string]: any;
193
193
  }
194
+ export declare class CommentSelectionChangeData {
195
+ selected: boolean;
196
+ annotation: CommentAnnotation;
197
+ }
@@ -1,6 +1,6 @@
1
1
  // @ts-nocheck
2
2
  import { Observable } from "rxjs";
3
- import { CommentAnnotation, CommentOnElementConfig } from "../data/comment-annotation.data.model";
3
+ import { CommentAnnotation, CommentOnElementConfig, CommentSelectionChangeData } from "../data/comment-annotation.data.model";
4
4
  import { CustomCategory, CustomPriority, CustomStatus } from "../data/custom-filter.data.model";
5
5
  export { ReactionMap } from '../data/reaction-annotation.data.model';
6
6
  export declare class CommentElement {
@@ -630,6 +630,12 @@ export declare class CommentElement {
630
630
  * @param reactions Reactions to be set
631
631
  */
632
632
  public setCustomReactions: (reactions: ReactionMap) => void;
633
+
634
+ /**
635
+ * To detect comment selection change
636
+ * @returns Observable<CommentSelectionChangeData | null>
637
+ */
638
+ public onCommentSelectionChange: () => Observable<CommentSelectionChangeData | null>;
633
639
  constructor();
634
640
  /**
635
641
  * Subscribe to comments on the current document.
@@ -1252,4 +1258,10 @@ export declare class CommentElement {
1252
1258
  * @param reactions Reactions to be set
1253
1259
  */
1254
1260
  private _setCustomReactions;
1261
+
1262
+ /**
1263
+ * To detect comment selection change
1264
+ * @returns Observable<CommentSelectionChangeData | null>
1265
+ */
1266
+ private _onCommentSelectionChange;
1255
1267
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "1.0.147",
3
+ "version": "1.0.149",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {