@veltdev/sdk 2.0.4 → 2.0.6

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
  */
@@ -1,4 +1,5 @@
1
1
  import { OrganizationUserGroup } from "./organization-groups.data.model";
2
+ import { UserContact } from "./user-contact.data.model";
2
3
  export declare class AutocompleteDataMap {
3
4
  [hotkey: string]: AutocompleteData;
4
5
  }
@@ -28,6 +29,11 @@ export declare class AutocompleteGroupReplaceData {
28
29
  clientGroupId: string;
29
30
  group?: OrganizationUserGroup;
30
31
  }
32
+ export declare class AutocompleteUserContactReplaceData {
33
+ text: string;
34
+ userId: string;
35
+ contact?: UserContact;
36
+ }
31
37
  export declare class AutocompleteChipData extends AutocompleteItem {
32
38
  type: 'contact' | 'custom';
33
39
  }
@@ -1,5 +1,5 @@
1
1
  import { Attachment } from "./attachment.model";
2
- import { AutocompleteGroupReplaceData, AutocompleteReplaceData } from "./autocomplete.data.model";
2
+ import { AutocompleteGroupReplaceData, AutocompleteReplaceData, AutocompleteUserContactReplaceData } from "./autocomplete.data.model";
3
3
  import { RecordedData } from "./recorder.model";
4
4
  import { User } from "./user.data.model";
5
5
  export declare class Comment {
@@ -64,6 +64,7 @@ export declare class Comment {
64
64
  */
65
65
  recorders: RecordedData[];
66
66
  reactionAnnotationIds: string[];
67
+ taggedUserContacts: AutocompleteUserContactReplaceData[];
67
68
  customList: AutocompleteReplaceData[];
68
69
  toOrganizationUserGroup: AutocompleteGroupReplaceData[];
69
70
  }
@@ -678,6 +678,16 @@ export declare class CommentElement {
678
678
  * To update comment dialog position
679
679
  */
680
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;
681
691
  constructor();
682
692
  /**
683
693
  * Subscribe to comments on the current document.
@@ -1347,4 +1357,14 @@ export declare class CommentElement {
1347
1357
  * To update comment dialog position
1348
1358
  */
1349
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;
1350
1370
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {