@veltdev/sdk 1.0.104 → 1.0.106

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.
@@ -1,5 +1,6 @@
1
1
  import { LocationMetadata } from "./location-metadata.model";
2
2
  import { PageInfo } from "./page-info.model";
3
+ import { User } from "./user.data.model";
3
4
  export declare class DocumentMetadata {
4
5
  /**
5
6
  * Unique document id generated from client document id
@@ -19,4 +20,8 @@ export declare class DocumentMetadata {
19
20
  locations?: {
20
21
  [locationId: number]: LocationMetadata;
21
22
  };
23
+ /**
24
+ * Document creator
25
+ */
26
+ creator?: User;
22
27
  }
@@ -64,4 +64,7 @@ export declare class Notification {
64
64
  };
65
65
  };
66
66
  };
67
+ documentViews?: {
68
+ emails: string[];
69
+ };
67
70
  }
@@ -524,6 +524,19 @@ export declare class CommentElement {
524
524
  * To disable option to show device indicator on comment pins for the pin added from different devices.
525
525
  */
526
526
  public disableDeviceIndicatorOnCommentPins: () => void;
527
+
528
+ /**
529
+ * To get xpath of element by comment annotation id
530
+ * @param annotationId Comment annotation id
531
+ * @returns xpath of element
532
+ */
533
+ public getElementRefByAnnotationId: (annotationId: string) => { xpath: string } | undefined;
534
+
535
+ /**
536
+ * To scroll to comment by annotation id
537
+ * @param annotationId Comment annotation id
538
+ */
539
+ public scrollToCommentByAnnotationId: (annotationId: string) => void;
527
540
  constructor();
528
541
  /**
529
542
  * Subscribe to comments on the current document.
@@ -1041,4 +1054,17 @@ export declare class CommentElement {
1041
1054
  * To disable option to show device indicator on comment pins for the pin added from different devices.
1042
1055
  */
1043
1056
  private _disableDeviceIndicatorOnCommentPins;
1057
+
1058
+ /**
1059
+ * To get xpath of element by comment annotation id
1060
+ * @param annotationId Comment annotation id
1061
+ * @returns xpath of element
1062
+ */
1063
+ private _getElementRefByAnnotationId;
1064
+
1065
+ /**
1066
+ * To scroll to comment by annotation id
1067
+ * @param annotationId Comment annotation id
1068
+ */
1069
+ private _scrollToCommentByAnnotationId;
1044
1070
  }
@@ -26,6 +26,16 @@ export declare class PresenceElement {
26
26
  * To disable follow along mode
27
27
  */
28
28
  disableFollowAlongMode: () => any;
29
+
30
+ /**
31
+ * To enable adding self to the presence list
32
+ */
33
+ enableSelf: () => void;
34
+
35
+ /**
36
+ * To disable adding self to the presence list
37
+ */
38
+ disableSelf: () => void;
29
39
  constructor();
30
40
  /**
31
41
  * Subscribe to a list of all online users who are either active or inactive on the current document.
@@ -50,4 +60,14 @@ export declare class PresenceElement {
50
60
  * To disable follow along mode
51
61
  */
52
62
  private _disableFollowAlongMode;
63
+
64
+ /**
65
+ * To enable adding self to the presence list
66
+ */
67
+ private _enableSelf;
68
+
69
+ /**
70
+ * To disable adding self to the presence list
71
+ */
72
+ private _disableSelf;
53
73
  }
@@ -223,6 +223,7 @@ export declare class Constants {
223
223
  DEFAULT_CURSOR: string;
224
224
  VELT_HUDDLE_ON_CURSOR_MODE: string;
225
225
  VELT_SELECTION_ENABLED: string;
226
+ VELT_SELECTION_CONFIG: string;
226
227
  VELT_POPOVER_MODE: string;
227
228
  VELT_ELEMENT_CACHE_ID: string;
228
229
  VELT_ARROW_PIN_HOST: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "1.0.104",
3
+ "version": "1.0.106",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {