@veltdev/sdk 1.0.21 → 1.0.22

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,10 +1,20 @@
1
1
  import { DocumentAccessType } from "../../utils/enums";
2
2
  import { UserIAM } from "./user-iam.data.model";
3
+ export declare type DocumentIAMFeatures = {
4
+ all?: {
5
+ disabled?: boolean;
6
+ restricted?: boolean;
7
+ };
8
+ };
3
9
  export declare class DocumentIAM {
4
10
  /**
5
11
  * The document access type
6
12
  */
7
13
  documentAccessType: DocumentAccessType;
14
+ /**
15
+ * Features
16
+ */
17
+ features: DocumentIAMFeatures | undefined;
8
18
  /**
9
19
  * Users with access to the document
10
20
  */
@@ -446,6 +446,16 @@ export declare class CommentElement {
446
446
  * To disable mobile mode
447
447
  */
448
448
  public disableMobileMode: () => any;
449
+
450
+ /**
451
+ * To enable inline comment mode
452
+ */
453
+ public enableInlineCommentMode: () => any;
454
+
455
+ /**
456
+ * To disable inline comment mode
457
+ */
458
+ public disableInlineCommentMode: () => any;
449
459
  constructor();
450
460
  /**
451
461
  * Subscribe to comments on the current document.
@@ -885,4 +895,14 @@ export declare class CommentElement {
885
895
  * To disable mobile mode
886
896
  */
887
897
  private _disableMobileMode;
898
+
899
+ /**
900
+ * To enable inline comment mode
901
+ */
902
+ private _enableInlineCommentMode;
903
+
904
+ /**
905
+ * To disable inline comment mode
906
+ */
907
+ private _disableInlineCommentMode;
888
908
  }
@@ -103,6 +103,7 @@ export declare class Constants {
103
103
  SNIPPYLY_RECORDER_PLAYER: string;
104
104
  SNIPPYLY_TEXT_HIGHLIGHT: string;
105
105
  SNIPPYLY_COMMENT_TEXT_PORTAL: string;
106
+ SNIPPYLY_COMMENT_TEXT: string;
106
107
  /**
107
108
  * @deprecated Use VELT_COMMENTS_SIDEBAR instead
108
109
  */
@@ -194,6 +195,7 @@ export declare class Constants {
194
195
  VELT_ARROWS: string;
195
196
  VELT_AREA_TOOL: string;
196
197
  VELT_AREAS: string;
198
+ VELT_INLINE_COMMENT: string;
197
199
  };
198
200
  static ATTRIBUTES: {
199
201
  VELT_ID: string;
@@ -229,6 +231,8 @@ export declare class Constants {
229
231
  VELT_COMMENT_RECORDING: string;
230
232
  SYNC_VIDEO_PLAYER_ID: string;
231
233
  SYNC_VIDEO_PLAYER: string;
234
+ VELT_INLINE_COMMENT_ID: string;
235
+ VELT_PDF_VIEWER: string;
232
236
  };
233
237
  static INJECTION_STYLE_PROPS: {
234
238
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {