@veltdev/types 5.0.2-beta.9 → 5.0.3
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/client/snippyly.model.d.ts +29 -1
- package/app/models/data/activity-resolver.data.model.d.ts +27 -0
- package/app/models/data/activity.data.model.d.ts +4 -0
- package/app/models/data/agent-suggestion.data.model.d.ts +57 -0
- package/app/models/data/autocomplete.data.model.d.ts +1 -0
- package/app/models/data/comment-actions.data.model.d.ts +17 -3
- package/app/models/data/comment-annotation.data.model.d.ts +63 -0
- package/app/models/data/comment-events.data.model.d.ts +23 -0
- package/app/models/data/comment-sidebar-config.model.d.ts +2 -0
- package/app/models/data/comment.data.model.d.ts +18 -0
- package/app/models/data/config.data.model.d.ts +21 -0
- package/app/models/data/core-events.data.model.d.ts +21 -0
- package/app/models/data/document-paths.data.model.d.ts +1 -0
- package/app/models/data/document.data.model.d.ts +2 -0
- package/app/models/data/notification.model.d.ts +20 -0
- package/app/models/data/org-contact.data.model.d.ts +25 -0
- package/app/models/data/page-info.model.d.ts +9 -0
- package/app/models/data/presence-user.data.model.d.ts +5 -0
- package/app/models/data/provider.data.model.d.ts +2 -0
- package/app/models/data/reaction-annotation.data.model.d.ts +5 -0
- package/app/models/data/recorder-events.data.model.d.ts +3 -0
- package/app/models/data/rewriter-events.data.model.d.ts +44 -0
- package/app/models/data/suggestion-events.data.model.d.ts +57 -0
- package/app/models/data/suggestion.data.model.d.ts +267 -0
- package/app/models/data/user-resolver.data.model.d.ts +2 -0
- package/app/models/data/user.data.model.d.ts +49 -0
- package/app/models/element/comment-element.model.d.ts +50 -2
- package/app/models/element/contact-element.model.d.ts +12 -0
- package/app/models/element/notification-element.model.d.ts +15 -1
- package/app/models/element/presence-element.model.d.ts +25 -0
- package/app/models/element/rewriter-element.model.d.ts +20 -0
- package/app/models/element/suggestion-element.model.d.ts +180 -0
- package/app/utils/console.d.ts +25 -0
- package/app/utils/constants.d.ts +203 -5
- package/app/utils/enums.d.ts +24 -3
- package/app/utils/page-info-store.d.ts +29 -0
- package/models.d.ts +6 -0
- package/package.json +1 -1
- package/types.d.ts +2 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { SuggestionEventType } from "../../utils/enums";
|
|
4
|
+
import { SuggestionEventTypesMap } from "../data/suggestion-events.data.model";
|
|
5
|
+
import { CommitSuggestionConfig, EnableSuggestionModeConfig, RegisterTargetConfig, Suggestion, SuggestionGetSuggestionsFilter } from "../data/suggestion.data.model";
|
|
6
|
+
|
|
7
|
+
export declare class SuggestionElement {
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Turn on suggestion mode for this user/session and (optionally) register
|
|
11
|
+
* the onTargetEditStart / onTargetEditCommit callbacks the SDK invokes
|
|
12
|
+
* during the auto-detect edit lifecycle.
|
|
13
|
+
*
|
|
14
|
+
* Re-calling with a new config replaces the previous callbacks.
|
|
15
|
+
*/
|
|
16
|
+
enableSuggestionMode: (config?: EnableSuggestionModeConfig) => void;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Turn off suggestion mode and clear any registered callbacks.
|
|
20
|
+
*/
|
|
21
|
+
disableSuggestionMode: () => void;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Synchronous read of the current enable flag.
|
|
25
|
+
*/
|
|
26
|
+
isSuggestionModeEnabled: () => boolean;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Reactive enable-flag stream; deduplicated.
|
|
30
|
+
*/
|
|
31
|
+
isSuggestionModeEnabled$: () => Observable<boolean>;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Register a getter that returns the current value of a tagged target.
|
|
35
|
+
* Required for non-primitive (wrapper) targets — the SDK calls this on
|
|
36
|
+
* focus to snapshot the pre-edit value, and again on commit for the diff.
|
|
37
|
+
*
|
|
38
|
+
* The getter must reflect edit-time state (typically read from the DOM),
|
|
39
|
+
* not the persisted customer state. See `RegisterTargetConfig`.
|
|
40
|
+
*/
|
|
41
|
+
registerTarget: <T = unknown>(config: RegisterTargetConfig<T>) => void;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Drop the registered getter for a target.
|
|
45
|
+
*/
|
|
46
|
+
unregisterTarget: (targetId: string) => void;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Manually capture the current value as the snapshot for a target.
|
|
50
|
+
* Use for non-focusable elements (custom widgets, virtualized rows)
|
|
51
|
+
* where the auto-focus snapshot does not fire.
|
|
52
|
+
*/
|
|
53
|
+
startSuggestion: (targetId: string) => void;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Programmatically commit a suggestion. Resolves with the new annotation id.
|
|
57
|
+
* Rejects with one of: INVALID_CONFIG, MODE_NOT_SUGGESTING,
|
|
58
|
+
* TARGET_NOT_REGISTERED, NO_GETTER_FOR_COMPLEX, NO_CHANGE_TO_SUGGEST,
|
|
59
|
+
* SNAPSHOT_FAILED.
|
|
60
|
+
*/
|
|
61
|
+
commitSuggestion: <T = unknown>(config: CommitSuggestionConfig<T>) => Promise<{ id: string }>;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Synchronous read of all suggestions on the current document, optionally filtered.
|
|
65
|
+
*/
|
|
66
|
+
getSuggestions: (filter?: SuggestionGetSuggestionsFilter) => Suggestion[];
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Reactive variant of getSuggestions. Re-emits on every annotation change,
|
|
70
|
+
* deduplicated via the SDK's standard distinct-until-changed comparator.
|
|
71
|
+
*/
|
|
72
|
+
getSuggestions$: (filter?: SuggestionGetSuggestionsFilter) => Observable<Suggestion[]>;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Newest pending suggestion for a target, or null. Convenience for
|
|
76
|
+
* pending-overlay UX patterns where each input shows the proposed
|
|
77
|
+
* value while a suggestion is awaiting resolution.
|
|
78
|
+
*/
|
|
79
|
+
getPendingSuggestion: <T = unknown>(targetId: string) => Suggestion<T> | null;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Reactive variant of getPendingSuggestion.
|
|
83
|
+
*/
|
|
84
|
+
getPendingSuggestion$: <T = unknown>(targetId: string) => Observable<Suggestion<T> | null>;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Subscribe to a suggestion event. Customers call `.subscribe(handler)`
|
|
88
|
+
* on the returned Observable. Event names: 'suggestionCreated',
|
|
89
|
+
* 'suggestionApproved', 'suggestionRejected', 'suggestionStale',
|
|
90
|
+
* 'targetEditStart', 'targetEditCommit'.
|
|
91
|
+
*/
|
|
92
|
+
on: <T extends SuggestionEventType>(action: T) => Observable<SuggestionEventTypesMap[T]>;
|
|
93
|
+
|
|
94
|
+
constructor();
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Turn on suggestion mode for this user/session and (optionally) register
|
|
98
|
+
* the onTargetEditStart / onTargetEditCommit callbacks the SDK invokes
|
|
99
|
+
* during the auto-detect edit lifecycle.
|
|
100
|
+
*
|
|
101
|
+
* Re-calling with a new config replaces the previous callbacks.
|
|
102
|
+
*/
|
|
103
|
+
private _enableSuggestionMode;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Turn off suggestion mode and clear any registered callbacks.
|
|
107
|
+
*/
|
|
108
|
+
private _disableSuggestionMode;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Synchronous read of the current enable flag.
|
|
112
|
+
*/
|
|
113
|
+
private _isSuggestionModeEnabled;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Reactive enable-flag stream; deduplicated.
|
|
117
|
+
*/
|
|
118
|
+
private _isSuggestionModeEnabled$;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Register a getter that returns the current value of a tagged target.
|
|
122
|
+
* Required for non-primitive (wrapper) targets — the SDK calls this on
|
|
123
|
+
* focus to snapshot the pre-edit value, and again on commit for the diff.
|
|
124
|
+
*
|
|
125
|
+
* The getter must reflect edit-time state (typically read from the DOM),
|
|
126
|
+
* not the persisted customer state. See `RegisterTargetConfig`.
|
|
127
|
+
*/
|
|
128
|
+
private _registerTarget;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Drop the registered getter for a target.
|
|
132
|
+
*/
|
|
133
|
+
private _unregisterTarget;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Manually capture the current value as the snapshot for a target.
|
|
137
|
+
* Use for non-focusable elements (custom widgets, virtualized rows)
|
|
138
|
+
* where the auto-focus snapshot does not fire.
|
|
139
|
+
*/
|
|
140
|
+
private _startSuggestion;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Programmatically commit a suggestion. Resolves with the new annotation id.
|
|
144
|
+
* Rejects with one of: INVALID_CONFIG, MODE_NOT_SUGGESTING,
|
|
145
|
+
* TARGET_NOT_REGISTERED, NO_GETTER_FOR_COMPLEX, NO_CHANGE_TO_SUGGEST,
|
|
146
|
+
* SNAPSHOT_FAILED.
|
|
147
|
+
*/
|
|
148
|
+
private _commitSuggestion;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Synchronous read of all suggestions on the current document, optionally filtered.
|
|
152
|
+
*/
|
|
153
|
+
private _getSuggestions;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Reactive variant of getSuggestions. Re-emits on every annotation change,
|
|
157
|
+
* deduplicated via the SDK's standard distinct-until-changed comparator.
|
|
158
|
+
*/
|
|
159
|
+
private _getSuggestions$;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Newest pending suggestion for a target, or null. Convenience for
|
|
163
|
+
* pending-overlay UX patterns where each input shows the proposed
|
|
164
|
+
* value while a suggestion is awaiting resolution.
|
|
165
|
+
*/
|
|
166
|
+
private _getPendingSuggestion;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Reactive variant of getPendingSuggestion.
|
|
170
|
+
*/
|
|
171
|
+
private _getPendingSuggestion$;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Subscribe to a suggestion event. Customers call `.subscribe(handler)`
|
|
175
|
+
* on the returned Observable. Event names: 'suggestionCreated',
|
|
176
|
+
* 'suggestionApproved', 'suggestionRejected', 'suggestionStale',
|
|
177
|
+
* 'targetEditStart', 'targetEditCommit'.
|
|
178
|
+
*/
|
|
179
|
+
private _on;
|
|
180
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare class Console {
|
|
2
|
+
static log: {
|
|
3
|
+
(...data: any[]): void;
|
|
4
|
+
(message?: any, ...optionalParams: any[]): void;
|
|
5
|
+
};
|
|
6
|
+
static warn: {
|
|
7
|
+
(...data: any[]): void;
|
|
8
|
+
(message?: any, ...optionalParams: any[]): void;
|
|
9
|
+
};
|
|
10
|
+
static error: {
|
|
11
|
+
(...data: any[]): void;
|
|
12
|
+
(message?: any, ...optionalParams: any[]): void;
|
|
13
|
+
};
|
|
14
|
+
static debug: {
|
|
15
|
+
(...data: any[]): void;
|
|
16
|
+
(message?: any, ...optionalParams: any[]): void;
|
|
17
|
+
};
|
|
18
|
+
static info: {
|
|
19
|
+
(...data: any[]): void;
|
|
20
|
+
(message?: any, ...optionalParams: any[]): void;
|
|
21
|
+
};
|
|
22
|
+
static logsEnabled: boolean;
|
|
23
|
+
static catch: (message: string, error?: any) => void;
|
|
24
|
+
static showLogs(): boolean;
|
|
25
|
+
}
|
package/app/utils/constants.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ export declare class Constants {
|
|
|
37
37
|
static FIREBASE_PARTIAL_PATH_NOTIFICATION_USERS: string;
|
|
38
38
|
static FIREBASE_PARTIAL_PATH_DOC_NOTIFICATION: string;
|
|
39
39
|
static FIREBASE_PARTIAL_PATH_USER_NOTIFICATION: string;
|
|
40
|
+
static FIREBASE_PARTIAL_PATH_USER_NOTIFICATION_INDEX: string;
|
|
40
41
|
static FIREBASE_PARTIAL_PATH_GLOBAL: string;
|
|
41
42
|
static FIREBASE_PARTIAL_PATH_LOGINS: string;
|
|
42
43
|
static FIREBASE_PARTIAL_PATH_METADATA: string;
|
|
@@ -215,18 +216,47 @@ export declare class Constants {
|
|
|
215
216
|
VELT_COMMENT_SIDEBAR_LIST_ITEM_V2: string;
|
|
216
217
|
VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_LIST_V2: string;
|
|
217
218
|
VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_LIST_CATEGORY_V2: string;
|
|
219
|
+
VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_LIST_CATEGORY_LABEL_V2: string;
|
|
218
220
|
VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_LIST_CATEGORY_CONTENT_V2: string;
|
|
219
221
|
VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_LIST_ITEM_V2: string;
|
|
220
222
|
VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_LIST_ITEM_INDICATOR_V2: string;
|
|
221
223
|
VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_LIST_ITEM_LABEL_V2: string;
|
|
222
|
-
|
|
223
|
-
VELT_COMMENT_SIDEBAR_MINIMAL_ACTIONS_DROPDOWN_TRIGGER_V2: string;
|
|
224
|
-
VELT_COMMENT_SIDEBAR_MINIMAL_ACTIONS_DROPDOWN_CONTENT_V2: string;
|
|
225
|
-
VELT_COMMENT_SIDEBAR_MINIMAL_ACTIONS_DROPDOWN_CONTENT_MARK_ALL_READ_V2: string;
|
|
226
|
-
VELT_COMMENT_SIDEBAR_MINIMAL_ACTIONS_DROPDOWN_CONTENT_MARK_ALL_RESOLVED_V2: string;
|
|
224
|
+
VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_LIST_ITEM_COUNT_V2: string;
|
|
227
225
|
VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_V2: string;
|
|
228
226
|
VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_TRIGGER_V2: string;
|
|
229
227
|
VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_V2: string;
|
|
228
|
+
VELT_COMMENT_SIDEBAR_FILTER_BUTTON_V2: string;
|
|
229
|
+
VELT_COMMENT_SIDEBAR_FILTER_BUTTON_V2_APPLIED_ICON: string;
|
|
230
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2: string;
|
|
231
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION: string;
|
|
232
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_FIELD: string;
|
|
233
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_LIST: string;
|
|
234
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_LABEL: string;
|
|
235
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_CONTROL: string;
|
|
236
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_OPTION_LIST: string;
|
|
237
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_OPTION: string;
|
|
238
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_OPTION_CHECKBOX: string;
|
|
239
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_CONTROL_VALUE: string;
|
|
240
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_CONTROL_CHIP: string;
|
|
241
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_CONTROL_CHIP_LIST: string;
|
|
242
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_CONTROL_SEARCH: string;
|
|
243
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_CONTROL_CHEVRON: string;
|
|
244
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_OPTION_NAME: string;
|
|
245
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_OPTION_COUNT: string;
|
|
246
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_TITLE: string;
|
|
247
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_CLOSE_BUTTON: string;
|
|
248
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_GROUP_BY: string;
|
|
249
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_RESET_BUTTON: string;
|
|
250
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_APPLY_BUTTON: string;
|
|
251
|
+
VELT_COMMENT_SIDEBAR_SEARCH_V2: string;
|
|
252
|
+
VELT_COMMENT_SIDEBAR_SEARCH_V2_ICON: string;
|
|
253
|
+
VELT_COMMENT_SIDEBAR_SEARCH_V2_INPUT: string;
|
|
254
|
+
VELT_COMMENT_SIDEBAR_FULLSCREEN_BUTTON_V2: string;
|
|
255
|
+
VELT_COMMENT_SIDEBAR_LIST_GROUP_HEADER_V2: string;
|
|
256
|
+
VELT_COMMENT_SIDEBAR_LIST_GROUP_HEADER_V2_LABEL: string;
|
|
257
|
+
VELT_COMMENT_SIDEBAR_LIST_GROUP_HEADER_V2_COUNT: string;
|
|
258
|
+
VELT_COMMENT_SIDEBAR_LIST_GROUP_HEADER_V2_SEPARATOR: string;
|
|
259
|
+
VELT_COMMENT_SIDEBAR_LIST_GROUP_HEADER_V2_CHEVRON: string;
|
|
230
260
|
VELT_COMMENT_SIDEBAR_HEADER_V2: string;
|
|
231
261
|
VELT_COMMENT_SIDEBAR_CLOSE_BUTTON_V2: string;
|
|
232
262
|
VELT_COMMENT_SIDEBAR_EMPTY_PLACEHOLDER_V2: string;
|
|
@@ -236,12 +266,48 @@ export declare class Constants {
|
|
|
236
266
|
VELT_COMMENT_SIDEBAR_FOCUSED_THREAD_BACK_BUTTON_V2: string;
|
|
237
267
|
VELT_COMMENT_SIDEBAR_FOCUSED_THREAD_DIALOG_CONTAINER_V2: string;
|
|
238
268
|
VELT_COMMENT_BUBBLE: string;
|
|
269
|
+
VELT_COMMENT_BUBBLE_AVATAR: string;
|
|
270
|
+
VELT_COMMENT_BUBBLE_COMMENTS_COUNT: string;
|
|
271
|
+
VELT_COMMENT_BUBBLE_UNREAD_ICON: string;
|
|
239
272
|
VELT_COMMENT_THREAD: string;
|
|
240
273
|
VELT_COMMENT_PIN: string;
|
|
274
|
+
VELT_COMMENT_PIN_NUMBER: string;
|
|
275
|
+
VELT_COMMENT_PIN_INDEX: string;
|
|
276
|
+
VELT_COMMENT_PIN_TRIANGLE: string;
|
|
277
|
+
VELT_COMMENT_PIN_PRIVATE_COMMENT_INDICATOR: string;
|
|
278
|
+
VELT_COMMENT_PIN_GHOST_COMMENT_INDICATOR: string;
|
|
279
|
+
VELT_COMMENT_PIN_UNREAD_COMMENT_INDICATOR: string;
|
|
280
|
+
VELT_SIDEBAR_BUTTON_ICON: string;
|
|
281
|
+
VELT_SIDEBAR_BUTTON_COMMENTS_COUNT: string;
|
|
282
|
+
VELT_SIDEBAR_BUTTON_UNREAD_ICON: string;
|
|
241
283
|
VELT_COMMENT_TEXT: string;
|
|
242
284
|
VELT_CHART_COMMENT: string;
|
|
243
285
|
VELT_CANVAS_COMMENT: string;
|
|
244
286
|
VELT_INLINE_COMMENTS_SECTION: string;
|
|
287
|
+
VELT_INLINE_COMMENTS_SECTION_SKELETON: string;
|
|
288
|
+
VELT_INLINE_COMMENTS_SECTION_PANEL: string;
|
|
289
|
+
VELT_INLINE_COMMENTS_SECTION_LIST: string;
|
|
290
|
+
VELT_INLINE_COMMENTS_SECTION_COMPOSER_CONTAINER: string;
|
|
291
|
+
VELT_INLINE_COMMENTS_SECTION_COMMENT_COUNT: string;
|
|
292
|
+
VELT_INLINE_COMMENTS_SECTION_SORTING_DROPDOWN: string;
|
|
293
|
+
VELT_INLINE_COMMENTS_SECTION_SORTING_DROPDOWN_TRIGGER: string;
|
|
294
|
+
VELT_INLINE_COMMENTS_SECTION_SORTING_DROPDOWN_TRIGGER_NAME: string;
|
|
295
|
+
VELT_INLINE_COMMENTS_SECTION_SORTING_DROPDOWN_TRIGGER_ICON: string;
|
|
296
|
+
VELT_INLINE_COMMENTS_SECTION_SORTING_DROPDOWN_CONTENT: string;
|
|
297
|
+
VELT_INLINE_COMMENTS_SECTION_SORTING_DROPDOWN_CONTENT_ITEM: string;
|
|
298
|
+
VELT_INLINE_COMMENTS_SECTION_SORTING_DROPDOWN_CONTENT_ITEM_ICON: string;
|
|
299
|
+
VELT_INLINE_COMMENTS_SECTION_SORTING_DROPDOWN_CONTENT_ITEM_TICK: string;
|
|
300
|
+
VELT_INLINE_COMMENTS_SECTION_SORTING_DROPDOWN_CONTENT_ITEM_NAME: string;
|
|
301
|
+
VELT_INLINE_COMMENTS_SECTION_FILTER_DROPDOWN: string;
|
|
302
|
+
VELT_INLINE_COMMENTS_SECTION_FILTER_DROPDOWN_TRIGGER: string;
|
|
303
|
+
VELT_INLINE_COMMENTS_SECTION_FILTER_DROPDOWN_TRIGGER_NAME: string;
|
|
304
|
+
VELT_INLINE_COMMENTS_SECTION_FILTER_DROPDOWN_TRIGGER_ARROW: string;
|
|
305
|
+
VELT_INLINE_COMMENTS_SECTION_FILTER_DROPDOWN_CONTENT: string;
|
|
306
|
+
VELT_INLINE_COMMENTS_SECTION_FILTER_DROPDOWN_CONTENT_LIST: string;
|
|
307
|
+
VELT_INLINE_COMMENTS_SECTION_FILTER_DROPDOWN_CONTENT_LIST_ITEM: string;
|
|
308
|
+
VELT_INLINE_COMMENTS_SECTION_FILTER_DROPDOWN_CONTENT_LIST_ITEM_CHECKBOX: string;
|
|
309
|
+
VELT_INLINE_COMMENTS_SECTION_FILTER_DROPDOWN_CONTENT_LIST_ITEM_LABEL: string;
|
|
310
|
+
VELT_INLINE_COMMENTS_SECTION_FILTER_DROPDOWN_CONTENT_APPLY_BUTTON: string;
|
|
245
311
|
VELT_COMMENTS_MINIMAP: string;
|
|
246
312
|
VELT_HIGHLIGHT_USER_TEXT: string;
|
|
247
313
|
VELT_AUDIO_HUDDLE: string;
|
|
@@ -269,7 +335,74 @@ export declare class Constants {
|
|
|
269
335
|
VELT_INLINE_REACTIONS_SECTION: string;
|
|
270
336
|
VELT_VIEW_ANALYTICS: string;
|
|
271
337
|
VELT_NOTIFICATIONS_TOOL: string;
|
|
338
|
+
VELT_NOTIFICATIONS_TOOL_ICON: string;
|
|
339
|
+
VELT_NOTIFICATIONS_TOOL_UNREAD_ICON: string;
|
|
340
|
+
VELT_NOTIFICATIONS_TOOL_LABEL: string;
|
|
341
|
+
VELT_NOTIFICATIONS_TOOL_UNREAD_COUNT: string;
|
|
272
342
|
VELT_NOTIFICATIONS_PANEL: string;
|
|
343
|
+
VELT_NOTIFICATIONS_PANEL_TITLE: string;
|
|
344
|
+
VELT_NOTIFICATIONS_PANEL_TITLE_TEXT: string;
|
|
345
|
+
VELT_NOTIFICATIONS_PANEL_HEADER: string;
|
|
346
|
+
VELT_NOTIFICATIONS_PANEL_HEADER_TAB_FOR_YOU: string;
|
|
347
|
+
VELT_NOTIFICATIONS_PANEL_HEADER_TAB_PEOPLE: string;
|
|
348
|
+
VELT_NOTIFICATIONS_PANEL_HEADER_TAB_DOCUMENTS: string;
|
|
349
|
+
VELT_NOTIFICATIONS_PANEL_HEADER_TAB_ALL: string;
|
|
350
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT: string;
|
|
351
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_FOR_YOU: string;
|
|
352
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_ALL: string;
|
|
353
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_PEOPLE: string;
|
|
354
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_DOCUMENTS: string;
|
|
355
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_LIST: string;
|
|
356
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_LIST_ITEM: string;
|
|
357
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_LIST_ITEM_AVATAR: string;
|
|
358
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_LIST_ITEM_UNREAD: string;
|
|
359
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_LIST_ITEM_HEADLINE: string;
|
|
360
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_LIST_ITEM_BODY: string;
|
|
361
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_LIST_ITEM_FILE_NAME: string;
|
|
362
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_LIST_ITEM_TIME: string;
|
|
363
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_ALL_LIST: string;
|
|
364
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_ALL_LIST_ITEM: string;
|
|
365
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_ALL_LIST_ITEM_LABEL: string;
|
|
366
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_ALL_LIST_ITEM_CONTENT: string;
|
|
367
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_PEOPLE_LIST: string;
|
|
368
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_PEOPLE_LIST_ITEM: string;
|
|
369
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_PEOPLE_LIST_ITEM_AVATAR: string;
|
|
370
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_PEOPLE_LIST_ITEM_NAME: string;
|
|
371
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_PEOPLE_LIST_ITEM_COUNT: string;
|
|
372
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_PEOPLE_LIST_ITEM_CONTENT: string;
|
|
373
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_DOCUMENTS_LIST: string;
|
|
374
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_DOCUMENTS_LIST_ITEM: string;
|
|
375
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_DOCUMENTS_LIST_ITEM_NAME: string;
|
|
376
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_DOCUMENTS_LIST_ITEM_COUNT: string;
|
|
377
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_DOCUMENTS_LIST_ITEM_CONTENT: string;
|
|
378
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_DOCUMENTS_LIST_ITEM_UNREAD: string;
|
|
379
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_LOAD_MORE: string;
|
|
380
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_ALL_READ_CONTAINER: string;
|
|
381
|
+
VELT_NOTIFICATIONS_PANEL_CLOSE_BUTTON: string;
|
|
382
|
+
VELT_NOTIFICATIONS_PANEL_READ_ALL_BUTTON: string;
|
|
383
|
+
VELT_NOTIFICATIONS_PANEL_VIEW_ALL_BUTTON: string;
|
|
384
|
+
VELT_NOTIFICATIONS_PANEL_SKELETON: string;
|
|
385
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_BUTTON: string;
|
|
386
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS: string;
|
|
387
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_HEADER: string;
|
|
388
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_HEADER_TITLE: string;
|
|
389
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_TITLE: string;
|
|
390
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_DESCRIPTION: string;
|
|
391
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_LIST: string;
|
|
392
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_MUTE_ALL_TITLE: string;
|
|
393
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_MUTE_ALL_DESCRIPTION: string;
|
|
394
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_MUTE_ALL_TOGGLE: string;
|
|
395
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION: string;
|
|
396
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_TRIGGER: string;
|
|
397
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_TRIGGER_LABEL: string;
|
|
398
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_TRIGGER_ICON: string;
|
|
399
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_TRIGGER_SELECTED_VALUE: string;
|
|
400
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_CONTENT: string;
|
|
401
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_CONTENT_ITEM: string;
|
|
402
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_CONTENT_ITEM_LABEL: string;
|
|
403
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_CONTENT_ITEM_ICON: string;
|
|
404
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_BACK_BUTTON: string;
|
|
405
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_FOOTER: string;
|
|
273
406
|
VELT_NOTIFICATIONS_HISTORY_PANEL: string;
|
|
274
407
|
VELT_WIREFRAME: string;
|
|
275
408
|
VELT_AUTOCOMPLETE: string;
|
|
@@ -288,6 +421,34 @@ export declare class Constants {
|
|
|
288
421
|
VELT_AUTOCOMPLETE_CHIP_TOOLTIP_NAME: string;
|
|
289
422
|
VELT_AUTOCOMPLETE_CHIP_TOOLTIP_DESCRIPTION: string;
|
|
290
423
|
VELT_AUTOCOMPLETE_CONTEXT_WRAPPER: string;
|
|
424
|
+
VELT_ACTIVITY_LOG: string;
|
|
425
|
+
VELT_ACTIVITY_LOG_HEADER: string;
|
|
426
|
+
VELT_ACTIVITY_LOG_HEADER_TITLE: string;
|
|
427
|
+
VELT_ACTIVITY_LOG_HEADER_CLOSE_BUTTON: string;
|
|
428
|
+
VELT_ACTIVITY_LOG_HEADER_FILTER: string;
|
|
429
|
+
VELT_ACTIVITY_LOG_HEADER_FILTER_TRIGGER: string;
|
|
430
|
+
VELT_ACTIVITY_LOG_HEADER_FILTER_TRIGGER_LABEL: string;
|
|
431
|
+
VELT_ACTIVITY_LOG_HEADER_FILTER_TRIGGER_ICON: string;
|
|
432
|
+
VELT_ACTIVITY_LOG_HEADER_FILTER_CONTENT: string;
|
|
433
|
+
VELT_ACTIVITY_LOG_HEADER_FILTER_CONTENT_ITEM: string;
|
|
434
|
+
VELT_ACTIVITY_LOG_HEADER_FILTER_CONTENT_ITEM_LABEL: string;
|
|
435
|
+
VELT_ACTIVITY_LOG_HEADER_FILTER_CONTENT_ITEM_ICON: string;
|
|
436
|
+
VELT_ACTIVITY_LOG_LOADING: string;
|
|
437
|
+
VELT_ACTIVITY_LOG_LIST: string;
|
|
438
|
+
VELT_ACTIVITY_LOG_LIST_DATE_GROUP: string;
|
|
439
|
+
VELT_ACTIVITY_LOG_LIST_DATE_GROUP_LABEL: string;
|
|
440
|
+
VELT_ACTIVITY_LOG_LIST_ITEM: string;
|
|
441
|
+
VELT_ACTIVITY_LOG_LIST_ITEM_ICON: string;
|
|
442
|
+
VELT_ACTIVITY_LOG_LIST_ITEM_AVATAR: string;
|
|
443
|
+
VELT_ACTIVITY_LOG_LIST_ITEM_CONTENT: string;
|
|
444
|
+
VELT_ACTIVITY_LOG_LIST_ITEM_CONTENT_USER: string;
|
|
445
|
+
VELT_ACTIVITY_LOG_LIST_ITEM_CONTENT_ACTION: string;
|
|
446
|
+
VELT_ACTIVITY_LOG_LIST_ITEM_CONTENT_TARGET: string;
|
|
447
|
+
VELT_ACTIVITY_LOG_LIST_ITEM_CONTENT_DETAIL: string;
|
|
448
|
+
VELT_ACTIVITY_LOG_LIST_ITEM_TIME: string;
|
|
449
|
+
VELT_ACTIVITY_LOG_LIST_SHOW_MORE: string;
|
|
450
|
+
VELT_ACTIVITY_LOG_EMPTY: string;
|
|
451
|
+
VELT_ACTIVITY_LOG_CONTEXT_WRAPPER: string;
|
|
291
452
|
VELT_COMMENT_DIALOG_VISIBILITY_BANNER: string;
|
|
292
453
|
VELT_COMMENT_DIALOG_VISIBILITY_BANNER_ICON: string;
|
|
293
454
|
VELT_COMMENT_DIALOG_VISIBILITY_BANNER_TEXT: string;
|
|
@@ -303,10 +464,42 @@ export declare class Constants {
|
|
|
303
464
|
VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_CONTENT_ITEM_ICON: string;
|
|
304
465
|
VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_CONTENT_ITEM_LABEL: string;
|
|
305
466
|
VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_CONTENT_USER_PICKER: string;
|
|
467
|
+
VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_CONTENT_ORG_PICKER: string;
|
|
306
468
|
VELT_COMMENT_COMPOSER: string;
|
|
307
469
|
VELT_SKELETON_LOADER: string;
|
|
308
470
|
VELT_SHADOW_DOM_INTERNAL: string;
|
|
309
471
|
VELT_SINGLE_EDITOR_MODE_PANEL: string;
|
|
472
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG: string;
|
|
473
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG_LIST: string;
|
|
474
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG_PANEL: string;
|
|
475
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG_COMPOSER_CONTAINER: string;
|
|
476
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG_COMMENT_COUNT: string;
|
|
477
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG_EMPTY_PLACEHOLDER: string;
|
|
478
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG_CLOSE_BUTTON: string;
|
|
479
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG_NEW_THREAD_BUTTON: string;
|
|
480
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG_RESET_FILTER_BUTTON: string;
|
|
481
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN: string;
|
|
482
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_TRIGGER: string;
|
|
483
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT: string;
|
|
484
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT_FILTER_ALL: string;
|
|
485
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT_FILTER_READ: string;
|
|
486
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT_FILTER_RESOLVED: string;
|
|
487
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT_FILTER_UNREAD: string;
|
|
488
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT_SELECTED_ICON: string;
|
|
489
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT_SORT_DATE: string;
|
|
490
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT_SORT_UNREAD: string;
|
|
491
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_ACTIONS_DROPDOWN: string;
|
|
492
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_ACTIONS_DROPDOWN_TRIGGER: string;
|
|
493
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_ACTIONS_DROPDOWN_CONTENT: string;
|
|
494
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_ACTIONS_DROPDOWN_CONTENT_MARK_ALL_READ: string;
|
|
495
|
+
VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_ACTIONS_DROPDOWN_CONTENT_MARK_ALL_RESOLVED: string;
|
|
496
|
+
VELT_TEXT_COMMENT: string;
|
|
497
|
+
VELT_TEXT_COMMENT_TOOL: string;
|
|
498
|
+
VELT_TEXT_COMMENT_TOOLBAR: string;
|
|
499
|
+
VELT_TEXT_COMMENT_TOOLBAR_COMMENT_ANNOTATION: string;
|
|
500
|
+
VELT_TEXT_COMMENT_TOOLBAR_DIVIDER: string;
|
|
501
|
+
VELT_TEXT_COMMENT_TOOLBAR_COPYWRITER: string;
|
|
502
|
+
VELT_TEXT_COMMENT_TOOLBAR_GENERIC: string;
|
|
310
503
|
};
|
|
311
504
|
static ATTRIBUTES: {
|
|
312
505
|
VELT_COMMENT_CONTAINER: string;
|
|
@@ -358,6 +551,7 @@ export declare class Constants {
|
|
|
358
551
|
VELT_AREA_PIN_HOST_STATIC: string;
|
|
359
552
|
VELT_AREA_DISABLED: string;
|
|
360
553
|
VELT_AREA_PIN_ACTIVE: string;
|
|
554
|
+
VELT_SUGGESTION_TARGET: string;
|
|
361
555
|
VELT_ONGOING_RECORDING: string;
|
|
362
556
|
VELT_COMMENT_RECORDING: string;
|
|
363
557
|
SYNC_VIDEO_PLAYER_ID: string;
|
|
@@ -388,6 +582,9 @@ export declare class Constants {
|
|
|
388
582
|
VELT_AVATAR_COLOR: string;
|
|
389
583
|
VELT_COMMENT_PRIORITY_COLOR: string;
|
|
390
584
|
};
|
|
585
|
+
static BODY_CLASSES: {
|
|
586
|
+
VELT_PIN_DRAGGING: string;
|
|
587
|
+
};
|
|
391
588
|
static INJECTION_ATTRIBUTES: {
|
|
392
589
|
/**
|
|
393
590
|
* @deprecated Use VELT_AVATAR_IMG instead
|
|
@@ -424,6 +621,7 @@ export declare class Constants {
|
|
|
424
621
|
VELT_VERSION: string;
|
|
425
622
|
VELT_ADVANCED_QUERIES: string;
|
|
426
623
|
VELT_COMMENT_VIEWS_MIGRATED: string;
|
|
624
|
+
VELT_AUTH_PROXY_HOST: string;
|
|
427
625
|
};
|
|
428
626
|
static NON_NESTABLE_ELEMENTS: {
|
|
429
627
|
[tag: string]: boolean;
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -14,7 +14,9 @@ export declare enum CommentStatus {
|
|
|
14
14
|
REACTION_ADDED = "reactionAdded",
|
|
15
15
|
REACTION_DELETED = "reactionDeleted",
|
|
16
16
|
SUBSCRIBED = "subscribed",
|
|
17
|
-
UNSUBSCRIBED = "unsubscribed"
|
|
17
|
+
UNSUBSCRIBED = "unsubscribed",
|
|
18
|
+
SUGGESTION_ACCEPTED = "suggestionAccepted",
|
|
19
|
+
SUGGESTION_REJECTED = "suggestionRejected"
|
|
18
20
|
}
|
|
19
21
|
export declare enum ResolverActions {
|
|
20
22
|
COMMENT_ANNOTATION_ADD = "comment_annotation.add",
|
|
@@ -28,7 +30,8 @@ export declare enum ResolverActions {
|
|
|
28
30
|
ATTACHMENT_DELETE = "attachment.delete",
|
|
29
31
|
RECORDER_ANNOTATION_ADD = "recorder_annotation.add",
|
|
30
32
|
RECORDER_ANNOTATION_UPDATE = "recorder_annotation.update",
|
|
31
|
-
RECORDER_ANNOTATION_DELETE = "recorder_annotation.delete"
|
|
33
|
+
RECORDER_ANNOTATION_DELETE = "recorder_annotation.delete",
|
|
34
|
+
ACTIVITY_SAVE = "activity.save"
|
|
32
35
|
}
|
|
33
36
|
export declare const CommentEventTypes: {
|
|
34
37
|
readonly ADD_COMMENT_ANNOTATION: "addCommentAnnotation";
|
|
@@ -45,6 +48,7 @@ export declare const CommentEventTypes: {
|
|
|
45
48
|
readonly UPDATE_ACCESS: "updateAccess";
|
|
46
49
|
readonly RESOLVE_COMMENT: "resolveComment";
|
|
47
50
|
readonly ADD_COMMENT: "addComment";
|
|
51
|
+
readonly ADD_COMMENT_DRAFT: "addCommentDraft";
|
|
48
52
|
readonly UPDATE_COMMENT: "updateComment";
|
|
49
53
|
readonly DELETE_COMMENT: "deleteComment";
|
|
50
54
|
readonly ADD_ATTACHMENT: "addAttachment";
|
|
@@ -70,6 +74,8 @@ export declare const CommentEventTypes: {
|
|
|
70
74
|
readonly COMMENT_SAVED: "commentSaved";
|
|
71
75
|
readonly COMMENT_SAVE_TRIGGERED: "commentSaveTriggered";
|
|
72
76
|
readonly VISIBILITY_OPTION_CLICKED: "visibilityOptionClicked";
|
|
77
|
+
readonly SUGGESTION_ACCEPTED: "suggestionAccepted";
|
|
78
|
+
readonly SUGGESTION_REJECTED: "suggestionRejected";
|
|
73
79
|
};
|
|
74
80
|
export declare const RecorderEventTypes: {
|
|
75
81
|
readonly TRANSCRIPTION_DONE: "transcriptionDone";
|
|
@@ -83,6 +89,18 @@ export declare const RecorderEventTypes: {
|
|
|
83
89
|
readonly RECORDING_RESUMED: "recordingResumed";
|
|
84
90
|
readonly RECORDING_CANCELLED: "recordingCancelled";
|
|
85
91
|
readonly RECORDING_STOPPED: "recordingStopped";
|
|
92
|
+
readonly RECORDING_DONE_LOCAL: "recordingDoneLocal";
|
|
93
|
+
};
|
|
94
|
+
export declare const RewriterEventTypes: {
|
|
95
|
+
readonly TEXT_SELECTED: "textSelected";
|
|
96
|
+
};
|
|
97
|
+
export declare const SuggestionEventTypes: {
|
|
98
|
+
readonly SUGGESTION_CREATED: "suggestionCreated";
|
|
99
|
+
readonly SUGGESTION_APPROVED: "suggestionApproved";
|
|
100
|
+
readonly SUGGESTION_REJECTED: "suggestionRejected";
|
|
101
|
+
readonly SUGGESTION_STALE: "suggestionStale";
|
|
102
|
+
readonly TARGET_EDIT_START: "targetEditStart";
|
|
103
|
+
readonly TARGET_EDIT_COMMIT: "targetEditCommit";
|
|
86
104
|
};
|
|
87
105
|
export declare const CoreEventTypes: {
|
|
88
106
|
readonly PERMISSION_PROVIDER: "permissionProvider";
|
|
@@ -92,6 +110,7 @@ export declare const CoreEventTypes: {
|
|
|
92
110
|
readonly REACTION_RESOLVER: "reactionResolver";
|
|
93
111
|
readonly RECORDER_RESOLVER: "recorderResolver";
|
|
94
112
|
readonly NOTIFICATION_RESOLVER: "notificationResolver";
|
|
113
|
+
readonly ACTIVITY_RESOLVER: "activityResolver";
|
|
95
114
|
readonly VELT_BUTTON_CLICK: "veltButtonClick";
|
|
96
115
|
readonly USER_UPDATE: "userUpdate";
|
|
97
116
|
readonly INIT_UPDATE: "initUpdate";
|
|
@@ -123,6 +142,8 @@ export type CoreEventType = typeof CoreEventTypes[keyof typeof CoreEventTypes];
|
|
|
123
142
|
export type LiveStateSyncEventType = typeof LiveStateSyncEventTypes[keyof typeof LiveStateSyncEventTypes];
|
|
124
143
|
export type PresenceEventType = typeof PresenceEventTypes[keyof typeof PresenceEventTypes];
|
|
125
144
|
export type NotificationEventType = typeof NotificationEventTypes[keyof typeof NotificationEventTypes];
|
|
145
|
+
export type RewriterEventType = typeof RewriterEventTypes[keyof typeof RewriterEventTypes];
|
|
146
|
+
export type SuggestionEventType = typeof SuggestionEventTypes[keyof typeof SuggestionEventTypes];
|
|
126
147
|
export type CrdtEventType = typeof CrdtEventTypes[keyof typeof CrdtEventTypes];
|
|
127
148
|
export declare enum TagStatus {
|
|
128
149
|
ADDED = "added",
|
|
@@ -269,7 +290,7 @@ export type RecorderType = 'audio' | 'video' | 'screen';
|
|
|
269
290
|
export type RecorderFileFormat = 'mp3' | 'mp4' | 'webm';
|
|
270
291
|
export type RecorderLayoutMode = 'floating' | 'thread';
|
|
271
292
|
export type SupportedMimeType = 'audio' | 'video';
|
|
272
|
-
export type FirebaseRegion = 'usCentral1' | 'asiaSouthEast1' | 'europeWest1';
|
|
293
|
+
export type FirebaseRegion = 'usCentral1' | 'asiaSouthEast1' | 'europeWest1' | 'australiaSouthEast1';
|
|
273
294
|
export type VideoEventType = 'play' | 'pause' | 'ratechange' | 'seeked' | 'timeupdate' | 'volumechange';
|
|
274
295
|
export type RewriterType = 'copywriter' | 'generic';
|
|
275
296
|
export type RecorderStatusType = 'started' | 'paused' | 'resumed' | 'stopped' | 'error' | null;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { PageInfo } from "../models/data/page-info.model";
|
|
2
|
+
/**
|
|
3
|
+
* Register a resolver that returns the current client document id.
|
|
4
|
+
* Used to pick the right per-document override when no explicit document id is passed.
|
|
5
|
+
*/
|
|
6
|
+
export declare const registerCurrentClientDocumentIdGetter: (getter: () => string | number | undefined | null) => void;
|
|
7
|
+
/**
|
|
8
|
+
* Set client-provided page info.
|
|
9
|
+
* @param pageInfo page info provided by the client
|
|
10
|
+
* @param documentId optional client document id; when omitted, sets the global override
|
|
11
|
+
*/
|
|
12
|
+
export declare const setClientPageInfo: (pageInfo: Partial<PageInfo> | undefined | null, documentId?: string | number) => void;
|
|
13
|
+
/**
|
|
14
|
+
* Clear client-provided page info.
|
|
15
|
+
* @param documentId optional client document id; when omitted, clears the global override
|
|
16
|
+
*/
|
|
17
|
+
export declare const clearClientPageInfo: (documentId?: string | number) => void;
|
|
18
|
+
/**
|
|
19
|
+
* Get the client-provided page info that applies for the given (or current) document.
|
|
20
|
+
* Per-document override wins; otherwise falls back to the global override.
|
|
21
|
+
* @param documentId optional client document id; when omitted, resolves the current document
|
|
22
|
+
* @returns client page info, or undefined when the client has not provided any
|
|
23
|
+
*/
|
|
24
|
+
export declare const getClientPageInfo: (documentId?: string | number) => Partial<PageInfo> | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Reset all client page info and the registered document-id resolver.
|
|
27
|
+
* Intended for tests.
|
|
28
|
+
*/
|
|
29
|
+
export declare const resetClientPageInfo: () => void;
|
package/models.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './app/models/data/attachment.model';
|
|
|
4
4
|
export * from './app/models/data/activity.data.model';
|
|
5
5
|
export * from './app/models/data/area-annotation.data.model';
|
|
6
6
|
export * from './app/models/data/arrow-annotation.data.model';
|
|
7
|
+
export * from './app/models/data/agent-suggestion.data.model';
|
|
7
8
|
export * from './app/models/data/base-metadata.data.model';
|
|
8
9
|
export * from './app/models/data/button.data.model';
|
|
9
10
|
export * from './app/models/data/chatgpt.data.model';
|
|
@@ -49,6 +50,9 @@ export * from './app/models/data/recorder.model';
|
|
|
49
50
|
export * from './app/models/data/recorder-annotation.data.model';
|
|
50
51
|
export * from './app/models/data/recorder-events.data.model';
|
|
51
52
|
export * from './app/models/data/rewriter-annotation.data.model';
|
|
53
|
+
export * from './app/models/data/rewriter-events.data.model';
|
|
54
|
+
export * from './app/models/data/suggestion.data.model';
|
|
55
|
+
export * from './app/models/data/suggestion-events.data.model';
|
|
52
56
|
export * from './app/models/data/screen-size.data.model';
|
|
53
57
|
export * from './app/models/data/screenshot.data.model';
|
|
54
58
|
export * from './app/models/data/selection.model';
|
|
@@ -58,6 +62,7 @@ export * from './app/models/data/target-element.data.model';
|
|
|
58
62
|
export * from './app/models/data/target-text-range.data.model';
|
|
59
63
|
export * from './app/models/data/toast.data.model';
|
|
60
64
|
export * from './app/models/data/transcription.data.model';
|
|
65
|
+
export * from './app/models/data/org-contact.data.model';
|
|
61
66
|
export * from './app/models/data/user-contact.data.model';
|
|
62
67
|
export * from './app/models/data/user-contact-us.data.model';
|
|
63
68
|
export * from './app/models/data/user-feedback.data.model';
|
|
@@ -75,6 +80,7 @@ export * from './app/models/data/reaction-annotation.data.model';
|
|
|
75
80
|
export * from './app/models/data/reaction-resolver.data.model';
|
|
76
81
|
export * from './app/models/data/recorder-resolver.data.model';
|
|
77
82
|
export * from './app/models/data/attachment-resolver.data.model';
|
|
83
|
+
export * from './app/models/data/activity-resolver.data.model';
|
|
78
84
|
export * from './app/models/data/reaction.data.model';
|
|
79
85
|
export * from './app/models/data/organization-groups.data.model';
|
|
80
86
|
export * from './app/models/data/organization-metadata.model';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/types",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.3",
|
|
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": [
|
package/types.d.ts
CHANGED
|
@@ -14,8 +14,10 @@ export * from './app/models/element/selection-element.model';
|
|
|
14
14
|
export * from './app/models/element/tag-element.model';
|
|
15
15
|
export * from './app/models/element/views-element.model';
|
|
16
16
|
export * from './app/models/element/notification-element.model';
|
|
17
|
+
export * from './app/models/element/cross-organization-config.model';
|
|
17
18
|
export * from './app/models/element/autocomplete-element.model';
|
|
18
19
|
export * from './app/models/element/reaction-element.model';
|
|
19
20
|
export * from './app/models/element/crdt-element.model';
|
|
20
21
|
export * from './app/models/element/activity-element.model';
|
|
22
|
+
export * from './app/models/element/suggestion-element.model';
|
|
21
23
|
export * from './models';
|