@veltdev/sdk 1.0.126 → 1.0.128
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.
- package/app/models/data/comment-annotation.data.model.d.ts +5 -0
- package/app/models/data/notification.model.d.ts +2 -2
- package/app/models/element/comment-element.model.d.ts +60 -0
- package/app/utils/constants.d.ts +1 -0
- package/app/utils/enums.d.ts +4 -0
- package/package.json +1 -1
- package/velt.js +2 -2
|
@@ -127,6 +127,8 @@ export declare class CommentAnnotation {
|
|
|
127
127
|
*/
|
|
128
128
|
location?: Location | null;
|
|
129
129
|
type?: string;
|
|
130
|
+
commentType?: string;
|
|
131
|
+
metadata?: CommentMetadata;
|
|
130
132
|
/**
|
|
131
133
|
* Selected text range of comment annotation
|
|
132
134
|
*/
|
|
@@ -186,3 +188,6 @@ export declare class CommentOnElementConfig {
|
|
|
186
188
|
export declare class CommentIAMConfig {
|
|
187
189
|
accessMode?: CommentAccessMode;
|
|
188
190
|
}
|
|
191
|
+
export declare class CommentMetadata {
|
|
192
|
+
[key: string]: any;
|
|
193
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AreaStatus, ArrowStatus, CommentStatus, TagStatus, UserActionTypes } from "../../utils/enums";
|
|
1
|
+
import { AreaStatus, ArrowStatus, CommentStatus, HuddleActionTypes, TagStatus, UserActionTypes } from "../../utils/enums";
|
|
2
2
|
import { DocumentMetadata } from "./document-metadata.model";
|
|
3
3
|
import { DocumentUser } from "./document-user.data.model";
|
|
4
4
|
import { Location } from "./location.model";
|
|
@@ -23,7 +23,7 @@ export declare class NotificationRawData {
|
|
|
23
23
|
/**
|
|
24
24
|
* Type of notification like 'Added', 'Updated' etc.
|
|
25
25
|
*/
|
|
26
|
-
actionType?: AreaStatus | ArrowStatus | CommentStatus | TagStatus | UserActionTypes;
|
|
26
|
+
actionType?: AreaStatus | ArrowStatus | CommentStatus | TagStatus | UserActionTypes | HuddleActionTypes;
|
|
27
27
|
/**
|
|
28
28
|
* Annotation object
|
|
29
29
|
*/
|
|
@@ -563,6 +563,36 @@ export declare class CommentElement {
|
|
|
563
563
|
* @param mode unread indicator mode
|
|
564
564
|
*/
|
|
565
565
|
public setUnreadIndicatorMode: (mode: string) => void;
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* To enable shadow DOM on comment pin
|
|
569
|
+
*/
|
|
570
|
+
public enablePinShadowDOM: () => void;
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* To disable shadow DOM on comment pin
|
|
574
|
+
*/
|
|
575
|
+
public disablePinShadowDOM: () => void;
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* To enable shadow DOM on comment dialog
|
|
579
|
+
*/
|
|
580
|
+
public enableDialogShadowDOM: () => void;
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* To disable shadow DOM on comment dialog
|
|
584
|
+
*/
|
|
585
|
+
public disableDialogShadowDOM: () => void;
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* To enable shadow DOM on comment sidebar
|
|
589
|
+
*/
|
|
590
|
+
public enableSidebarShadowDOM: () => void;
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* To disable shadow DOM on comment sidebar
|
|
594
|
+
*/
|
|
595
|
+
public disableSidebarShadowDOM: () => void;
|
|
566
596
|
constructor();
|
|
567
597
|
/**
|
|
568
598
|
* Subscribe to comments on the current document.
|
|
@@ -1119,4 +1149,34 @@ export declare class CommentElement {
|
|
|
1119
1149
|
* @param mode unread indicator mode
|
|
1120
1150
|
*/
|
|
1121
1151
|
private _setUnreadIndicatorMode;
|
|
1152
|
+
|
|
1153
|
+
/**
|
|
1154
|
+
* To enable shadow DOM on comment pin
|
|
1155
|
+
*/
|
|
1156
|
+
private _enablePinShadowDOM;
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* To disable shadow DOM on comment pin
|
|
1160
|
+
*/
|
|
1161
|
+
private _disablePinShadowDOM;
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* To enable shadow DOM on comment dialog
|
|
1165
|
+
*/
|
|
1166
|
+
private _enableDialogShadowDOM;
|
|
1167
|
+
|
|
1168
|
+
/**
|
|
1169
|
+
* To disable shadow DOM on comment dialog
|
|
1170
|
+
*/
|
|
1171
|
+
private _disableDialogShadowDOM;
|
|
1172
|
+
|
|
1173
|
+
/**
|
|
1174
|
+
* To enable shadow DOM on comment sidebar
|
|
1175
|
+
*/
|
|
1176
|
+
private _enableSidebarShadowDOM;
|
|
1177
|
+
|
|
1178
|
+
/**
|
|
1179
|
+
* To disable shadow DOM on comment sidebar
|
|
1180
|
+
*/
|
|
1181
|
+
private _disableSidebarShadowDOM;
|
|
1122
1182
|
}
|
package/app/utils/constants.d.ts
CHANGED
|
@@ -176,6 +176,7 @@ export declare class Constants {
|
|
|
176
176
|
VELT_COMMENTS_SIDEBAR: string;
|
|
177
177
|
VELT_COMMENT_BUBBLE: string;
|
|
178
178
|
VELT_COMMENT_THREAD: string;
|
|
179
|
+
VELT_CHART_COMMENT: string;
|
|
179
180
|
VELT_HIGHLIGHT_USER_TEXT: string;
|
|
180
181
|
VELT_AUDIO_HUDDLE: string;
|
|
181
182
|
VELT_VIDEO_HUDDLE: string;
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -22,6 +22,10 @@ export declare enum UserActionTypes {
|
|
|
22
22
|
INVITE = "invite",
|
|
23
23
|
REMOVE = "remove"
|
|
24
24
|
}
|
|
25
|
+
export declare enum HuddleActionTypes {
|
|
26
|
+
CREATED = "created",
|
|
27
|
+
JOINED = "joined"
|
|
28
|
+
}
|
|
25
29
|
export declare enum RecorderStatus {
|
|
26
30
|
ADDED = "added",
|
|
27
31
|
UPDATED = "updated",
|