@veltdev/sdk 4.6.6 → 4.6.7
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-events.data.model.d.ts +6 -0
- package/app/models/data/selection.model.d.ts +1 -0
- package/app/models/element/comment-element.model.d.ts +20 -0
- package/app/models/element/selection-element.model.d.ts +12 -0
- package/app/utils/enums.d.ts +1 -0
- package/package.json +1 -1
- package/velt.js +74 -74
|
@@ -81,6 +81,7 @@ export type CommentEventTypesMap = {
|
|
|
81
81
|
[CommentEventTypes.COMPOSER_CLICKED]: ComposerClickedEvent;
|
|
82
82
|
[CommentEventTypes.LINK_CLICKED]: LinkClickedEvent;
|
|
83
83
|
[CommentEventTypes.COMMENT_PIN_CLICKED]: CommentPinClickedEvent;
|
|
84
|
+
[CommentEventTypes.COMMENT_BUBBLE_CLICKED]: CommentBubbleClickedEvent;
|
|
84
85
|
};
|
|
85
86
|
export interface AddAttachmentEvent {
|
|
86
87
|
annotationId: string;
|
|
@@ -264,3 +265,8 @@ export interface CommentPinClickedEvent {
|
|
|
264
265
|
commentAnnotation: CommentAnnotation;
|
|
265
266
|
metadata?: VeltEventMetadata;
|
|
266
267
|
}
|
|
268
|
+
export interface CommentBubbleClickedEvent {
|
|
269
|
+
annotationId: string;
|
|
270
|
+
commentAnnotation: CommentAnnotation;
|
|
271
|
+
metadata?: VeltEventMetadata;
|
|
272
|
+
}
|
|
@@ -1264,6 +1264,16 @@ export declare class CommentElement {
|
|
|
1264
1264
|
*/
|
|
1265
1265
|
public disableScreenshot: () => void;
|
|
1266
1266
|
|
|
1267
|
+
/**
|
|
1268
|
+
* To enable paginated contact list
|
|
1269
|
+
*/
|
|
1270
|
+
public enablePaginatedContactList: () => void;
|
|
1271
|
+
|
|
1272
|
+
/**
|
|
1273
|
+
* To disable paginated contact list
|
|
1274
|
+
*/
|
|
1275
|
+
public disablePaginatedContactList: () => void;
|
|
1276
|
+
|
|
1267
1277
|
constructor();
|
|
1268
1278
|
/**
|
|
1269
1279
|
* Subscribe to comments on the current document.
|
|
@@ -2506,4 +2516,14 @@ export declare class CommentElement {
|
|
|
2506
2516
|
* To disable screenshot
|
|
2507
2517
|
*/
|
|
2508
2518
|
private _disableScreenshot;
|
|
2519
|
+
|
|
2520
|
+
/**
|
|
2521
|
+
* To enable paginated contact list
|
|
2522
|
+
*/
|
|
2523
|
+
private _enablePaginatedContactList;
|
|
2524
|
+
|
|
2525
|
+
/**
|
|
2526
|
+
* To disable paginated contact list
|
|
2527
|
+
*/
|
|
2528
|
+
private _disablePaginatedContactList;
|
|
2509
2529
|
}
|
|
@@ -56,6 +56,12 @@ export declare class SelectionElement {
|
|
|
56
56
|
*/
|
|
57
57
|
getLiveSelectionData: () => Observable<LiveSelectionData | null>;
|
|
58
58
|
|
|
59
|
+
/**
|
|
60
|
+
* To set inactivity time (Default value is 5 minutes)
|
|
61
|
+
* @param time inactivity time in milliseconds
|
|
62
|
+
*/
|
|
63
|
+
setInactivityTime: (time: number) => void;
|
|
64
|
+
|
|
59
65
|
constructor();
|
|
60
66
|
|
|
61
67
|
/**
|
|
@@ -112,4 +118,10 @@ export declare class SelectionElement {
|
|
|
112
118
|
* To get live selection data
|
|
113
119
|
*/
|
|
114
120
|
private _getLiveSelectionData;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* To set inactivity time (Default value is 5 minutes)
|
|
124
|
+
* @param time inactivity time in milliseconds
|
|
125
|
+
*/
|
|
126
|
+
private _setInactivityTime;
|
|
115
127
|
}
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ export declare const CommentEventTypes: {
|
|
|
56
56
|
readonly COMPOSER_CLICKED: "composerClicked";
|
|
57
57
|
readonly LINK_CLICKED: "linkClicked";
|
|
58
58
|
readonly COMMENT_PIN_CLICKED: "commentPinClicked";
|
|
59
|
+
readonly COMMENT_BUBBLE_CLICKED: "commentBubbleClicked";
|
|
59
60
|
};
|
|
60
61
|
export declare const RecorderEventTypes: {
|
|
61
62
|
readonly TRANSCRIPTION_DONE: "transcriptionDone";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.7",
|
|
4
4
|
"description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
|
|
5
5
|
"homepage": "https://velt.dev",
|
|
6
6
|
"keywords": [
|