@veltdev/sdk-staging 4.0.0-beta.102 → 4.0.0-beta.103
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.
|
@@ -77,6 +77,7 @@ export type CommentEventTypesMap = {
|
|
|
77
77
|
[CommentEventTypes.TOGGLE_REACTION]: ToggleReactionEvent;
|
|
78
78
|
[CommentEventTypes.COMMENT_SIDEBAR_DATA_INIT]: CommentSidebarDataInitEvent;
|
|
79
79
|
[CommentEventTypes.COMMENT_SIDEBAR_DATA_UPDATE]: CommentSidebarDataUpdateEvent;
|
|
80
|
+
[CommentEventTypes.AUTOCOMPLETE_SEARCH]: AutocompleteSearchEvent;
|
|
80
81
|
};
|
|
81
82
|
export interface AddAttachmentEvent {
|
|
82
83
|
annotationId: string;
|
|
@@ -238,3 +239,9 @@ export interface CommentSidebarDataInitEvent extends VeltButtonClickEvent {
|
|
|
238
239
|
}
|
|
239
240
|
export interface CommentSidebarDataUpdateEvent extends VeltButtonClickEvent {
|
|
240
241
|
}
|
|
242
|
+
export interface AutocompleteSearchEvent {
|
|
243
|
+
event: KeyboardEvent | InputEvent | Event;
|
|
244
|
+
searchText: string;
|
|
245
|
+
type?: 'contact' | 'custom' | 'group';
|
|
246
|
+
metadata?: VeltEventMetadata;
|
|
247
|
+
}
|
|
@@ -1073,6 +1073,16 @@ export declare class CommentElement {
|
|
|
1073
1073
|
*/
|
|
1074
1074
|
public disableReadOnly: () => void;
|
|
1075
1075
|
|
|
1076
|
+
/**
|
|
1077
|
+
* To enable custom autocomplete search
|
|
1078
|
+
*/
|
|
1079
|
+
public enableCustomAutocompleteSearch: () => void;
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* To disable custom autocomplete search
|
|
1083
|
+
*/
|
|
1084
|
+
public disableCustomAutocompleteSearch: () => void;
|
|
1085
|
+
|
|
1076
1086
|
constructor();
|
|
1077
1087
|
/**
|
|
1078
1088
|
* Subscribe to comments on the current document.
|
|
@@ -2127,4 +2137,14 @@ export declare class CommentElement {
|
|
|
2127
2137
|
* To disable read only
|
|
2128
2138
|
*/
|
|
2129
2139
|
private _disableReadOnly;
|
|
2140
|
+
|
|
2141
|
+
/**
|
|
2142
|
+
* To enable custom autocomplete search
|
|
2143
|
+
*/
|
|
2144
|
+
private _enableCustomAutocompleteSearch;
|
|
2145
|
+
|
|
2146
|
+
/**
|
|
2147
|
+
* To disable custom autocomplete search
|
|
2148
|
+
*/
|
|
2149
|
+
private _disableCustomAutocompleteSearch;
|
|
2130
2150
|
}
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export declare const CommentEventTypes: {
|
|
|
41
41
|
readonly TOGGLE_REACTION: "toggleReaction";
|
|
42
42
|
readonly COMMENT_SIDEBAR_DATA_INIT: "commentSidebarDataInit";
|
|
43
43
|
readonly COMMENT_SIDEBAR_DATA_UPDATE: "commentSidebarDataUpdate";
|
|
44
|
+
readonly AUTOCOMPLETE_SEARCH: "autocompleteSearch";
|
|
44
45
|
};
|
|
45
46
|
export declare const RecorderEventTypes: {
|
|
46
47
|
readonly TRANSCRIPTION_DONE: "transcriptionDone";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk-staging",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.103",
|
|
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": [
|