@veltdev/sdk 1.0.21 → 1.0.23
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
|
*/
|
|
@@ -230,12 +230,12 @@ export declare class CommentElement {
|
|
|
230
230
|
/**
|
|
231
231
|
* To show triangle in popover mode
|
|
232
232
|
*/
|
|
233
|
-
|
|
233
|
+
public enablePopoverTriangleComponent: () => any;
|
|
234
234
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
235
|
+
/**
|
|
236
|
+
* To hide triangle in popover mode
|
|
237
|
+
*/
|
|
238
|
+
public disablePopoverTriangleComponent: () => any;
|
|
239
239
|
|
|
240
240
|
/**
|
|
241
241
|
* To enable dialog on hover
|
|
@@ -383,13 +383,13 @@ export declare class CommentElement {
|
|
|
383
383
|
*
|
|
384
384
|
* @deprecated Use setCustomCategory instead
|
|
385
385
|
*/
|
|
386
|
-
|
|
386
|
+
setCustomCategories: (categories: CustomCategory[]) => void;
|
|
387
387
|
|
|
388
388
|
/**
|
|
389
389
|
* @description Sets custom categories filters
|
|
390
390
|
* @param categories
|
|
391
391
|
*/
|
|
392
|
-
|
|
392
|
+
setCustomCategory: (categories: CustomCategory[]) => void;
|
|
393
393
|
|
|
394
394
|
/**
|
|
395
395
|
* To enable inbox mode
|
|
@@ -440,12 +440,52 @@ export declare class CommentElement {
|
|
|
440
440
|
/**
|
|
441
441
|
* To enable mobile mode
|
|
442
442
|
*/
|
|
443
|
-
|
|
443
|
+
public enableMobileMode: () => any;
|
|
444
|
+
|
|
445
|
+
/**
|
|
446
|
+
* To disable mobile mode
|
|
447
|
+
*/
|
|
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;
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* To enable minimap
|
|
462
|
+
*/
|
|
463
|
+
public enableMinimap: () => any;
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* To disable minimap
|
|
467
|
+
*/
|
|
468
|
+
public disableMinimap: () => any;
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* To show comments on DOM
|
|
472
|
+
*/
|
|
473
|
+
public showCommentsOnDom: () => any;
|
|
444
474
|
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
475
|
+
/**
|
|
476
|
+
* To hide comments on DOM
|
|
477
|
+
*/
|
|
478
|
+
public hideCommentsOnDom: () => any;
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* To enable comment tool
|
|
482
|
+
*/
|
|
483
|
+
public enableCommentTool: () => any;
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* To disable comment tool
|
|
487
|
+
*/
|
|
488
|
+
public disableCommentTool: () => any;
|
|
449
489
|
constructor();
|
|
450
490
|
/**
|
|
451
491
|
* Subscribe to comments on the current document.
|
|
@@ -669,12 +709,12 @@ export declare class CommentElement {
|
|
|
669
709
|
/**
|
|
670
710
|
* To show triangle in popover mode
|
|
671
711
|
*/
|
|
672
|
-
|
|
712
|
+
private _enablePopoverTriangleComponent;
|
|
673
713
|
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
714
|
+
/**
|
|
715
|
+
* To hide triangle in popover mode
|
|
716
|
+
*/
|
|
717
|
+
private _disablePopoverTriangleComponent;
|
|
678
718
|
|
|
679
719
|
/**
|
|
680
720
|
* To enable dialog on hover
|
|
@@ -885,4 +925,44 @@ export declare class CommentElement {
|
|
|
885
925
|
* To disable mobile mode
|
|
886
926
|
*/
|
|
887
927
|
private _disableMobileMode;
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* To enable inline comment mode
|
|
931
|
+
*/
|
|
932
|
+
private _enableInlineCommentMode;
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* To disable inline comment mode
|
|
936
|
+
*/
|
|
937
|
+
private _disableInlineCommentMode;
|
|
938
|
+
|
|
939
|
+
/**
|
|
940
|
+
* To enable minimap
|
|
941
|
+
*/
|
|
942
|
+
private _enableMinimap;
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
* To disable minimap
|
|
946
|
+
*/
|
|
947
|
+
private _disableMinimap;
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* To show comments on DOM
|
|
951
|
+
*/
|
|
952
|
+
private _showCommentsOnDom;
|
|
953
|
+
|
|
954
|
+
/**
|
|
955
|
+
* To hide comments on DOM
|
|
956
|
+
*/
|
|
957
|
+
private _hideCommentsOnDom;
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* To enable comment tool
|
|
961
|
+
*/
|
|
962
|
+
private _enableCommentTool;
|
|
963
|
+
|
|
964
|
+
/**
|
|
965
|
+
* To disable comment tool
|
|
966
|
+
*/
|
|
967
|
+
private _disableCommentTool;
|
|
888
968
|
}
|
package/app/utils/constants.d.ts
CHANGED
|
@@ -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
|
/**
|