@veltdev/sdk 2.0.3 → 2.0.5

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.
@@ -5,6 +5,7 @@ import { DocumentUser } from "../models/data/document-user.data.model";
5
5
  import { Location } from "../models/data/location.model";
6
6
  import { User, UserOptions } from "../models/data/user.data.model";
7
7
  import { CustomCss } from "../models/data/custom-css.data.model";
8
+ import { AreaElement } from "../models/element/area-element.model";
8
9
  import { ArrowElement } from "../models/element/arrow-element.model";
9
10
  import { CommentElement } from "../models/element/comment-element.model";
10
11
  import { ContactElement } from "../models/element/contact-element.model";
@@ -144,6 +145,10 @@ export declare class Snippyly {
144
145
  * Get the Autocomplete Object.
145
146
  */
146
147
  getAutocompleteElement: () => AutocompleteElement;
148
+ /**
149
+ * Get the Area Object.
150
+ */
151
+ getAreaElement: () => AreaElement;
147
152
  /**
148
153
  * To signout a user
149
154
  */
@@ -673,6 +673,21 @@ export declare class CommentElement {
673
673
  * Returns Observable<{count: string} | null>.
674
674
  */
675
675
  public getUnreadCommentCountByLocationId: (locationId: string) => Observable<{ count: number } | null>;
676
+
677
+ /**
678
+ * To update comment dialog position
679
+ */
680
+ public updateCommentDialogPosition: () => void;
681
+
682
+ /**
683
+ * To enable area comment
684
+ */
685
+ public enableAreaComment: () => void;
686
+
687
+ /**
688
+ * To disable area comment
689
+ */
690
+ public disableAreaComment: () => void;
676
691
  constructor();
677
692
  /**
678
693
  * Subscribe to comments on the current document.
@@ -1337,4 +1352,19 @@ export declare class CommentElement {
1337
1352
  * @returns Observable<{count: string} | null>.
1338
1353
  */
1339
1354
  private _getUnreadCommentCountByLocationId;
1355
+
1356
+ /**
1357
+ * To update comment dialog position
1358
+ */
1359
+ private _updateCommentDialogPosition;
1360
+
1361
+ /**
1362
+ * To enable area comment
1363
+ */
1364
+ private _enableAreaComment;
1365
+
1366
+ /**
1367
+ * To disable area comment
1368
+ */
1369
+ private _disableAreaComment;
1340
1370
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {