@veltdev/sdk-staging 3.0.62 → 3.0.64-patch.1
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 +2 -0
- package/app/models/data/comment-events.data.model.d.ts +33 -0
- package/app/models/data/comment-sidebar-config.model.d.ts +21 -0
- package/app/models/data/comment.data.model.d.ts +1 -0
- package/app/models/data/config.data.model.d.ts +4 -0
- package/app/models/data/recorder-annotation.data.model.d.ts +30 -0
- package/app/models/data/selection.model.d.ts +11 -0
- package/app/models/data/target-text-range.data.model.d.ts +8 -0
- package/app/models/data/user.data.model.d.ts +1 -0
- package/app/models/element/comment-element.model.d.ts +159 -3
- package/app/models/element/notification-element.model.d.ts +11 -0
- package/app/models/element/recorder-element.model.d.ts +31 -0
- package/app/models/element/selection-element.model.d.ts +94 -2
- package/app/utils/constants.d.ts +22 -0
- package/models.d.ts +1 -0
- package/package.json +1 -1
- package/velt.js +2 -2
|
@@ -174,6 +174,7 @@ export declare class CommentAnnotation {
|
|
|
174
174
|
resolvedByUserId?: string | null;
|
|
175
175
|
multiThreadAnnotationId?: string;
|
|
176
176
|
isDraft?: boolean;
|
|
177
|
+
sourceId?: string;
|
|
177
178
|
}
|
|
178
179
|
export declare class GhostComment {
|
|
179
180
|
targetElement?: TargetElement | null;
|
|
@@ -202,6 +203,7 @@ export declare class CommentOnElementConfig {
|
|
|
202
203
|
status?: string;
|
|
203
204
|
context?: any;
|
|
204
205
|
openComment?: boolean;
|
|
206
|
+
sourceId?: string;
|
|
205
207
|
}
|
|
206
208
|
export declare class CommentIAMConfig {
|
|
207
209
|
accessMode?: CommentAccessMode;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { CommentStatus } from "../../utils/enums";
|
|
2
|
+
import { CommentAnnotation, UpdateContextConfig } from "./comment-annotation.data.model";
|
|
3
|
+
import { Location } from "./location.model";
|
|
4
|
+
import { User } from "./user.data.model";
|
|
5
|
+
export interface CommentAddEventData {
|
|
6
|
+
annotation: CommentAnnotation;
|
|
7
|
+
location?: Location;
|
|
8
|
+
documentId?: string;
|
|
9
|
+
addContext: (context: any) => void;
|
|
10
|
+
targetAnnotationId?: string;
|
|
11
|
+
targetCommentId?: number;
|
|
12
|
+
elementRef?: {
|
|
13
|
+
xpath: string;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export interface CommentEvent {
|
|
17
|
+
annotation?: CommentAnnotation | null;
|
|
18
|
+
element?: HTMLElement;
|
|
19
|
+
type?: string;
|
|
20
|
+
targetAnnotationId?: string;
|
|
21
|
+
targetCommentId?: number;
|
|
22
|
+
updateContext?: (context: any, config?: UpdateContextConfig) => void;
|
|
23
|
+
}
|
|
24
|
+
export interface CommentUpdateEventData extends CommentEvent {
|
|
25
|
+
}
|
|
26
|
+
export interface CommentSuggestionEventData {
|
|
27
|
+
annotationId: string;
|
|
28
|
+
actionUser?: User;
|
|
29
|
+
actionType?: CommentStatus;
|
|
30
|
+
replaceContentHtml?: string;
|
|
31
|
+
replaceContentText?: string;
|
|
32
|
+
annotation?: any;
|
|
33
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CommentAnnotation } from "./comment-annotation.data.model";
|
|
1
2
|
import { Location } from "./location.model";
|
|
2
3
|
declare class FilterTypeConfig {
|
|
3
4
|
name?: string;
|
|
@@ -33,4 +34,24 @@ export declare class CommentSidebarFilters {
|
|
|
33
34
|
name?: string;
|
|
34
35
|
}[];
|
|
35
36
|
}
|
|
37
|
+
export interface CommentSidebarCustomActionsState {
|
|
38
|
+
[key: string]: boolean;
|
|
39
|
+
}
|
|
40
|
+
export interface CommentSidebarCustomActionEventData {
|
|
41
|
+
actions: CommentSidebarCustomActionsState;
|
|
42
|
+
data: CommentAnnotation[];
|
|
43
|
+
unreadDataMap: {
|
|
44
|
+
[commentAnnotationId: string]: number;
|
|
45
|
+
};
|
|
46
|
+
systemFilteredData: CommentAnnotation[];
|
|
47
|
+
}
|
|
48
|
+
export declare class CommentSidebarData {
|
|
49
|
+
groupId?: string;
|
|
50
|
+
groupName?: string;
|
|
51
|
+
isExpanded?: boolean;
|
|
52
|
+
annotations: CommentAnnotation[];
|
|
53
|
+
}
|
|
54
|
+
export declare class CommentSidebarDataOptions {
|
|
55
|
+
grouping?: boolean;
|
|
56
|
+
}
|
|
36
57
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FirebaseOptions } from "@angular/fire/app";
|
|
1
2
|
import { FeatureType } from "../../utils/enums";
|
|
2
3
|
export declare class Config {
|
|
3
4
|
/**
|
|
@@ -43,3 +44,6 @@ export declare class Config {
|
|
|
43
44
|
*/
|
|
44
45
|
usePrefersColorScheme?: boolean;
|
|
45
46
|
}
|
|
47
|
+
export interface ExtendedFirebaseOptions extends FirebaseOptions {
|
|
48
|
+
storeDbId: string;
|
|
49
|
+
}
|
|
@@ -126,3 +126,33 @@ export declare class RecorderAnnotation {
|
|
|
126
126
|
*/
|
|
127
127
|
displayName?: string;
|
|
128
128
|
}
|
|
129
|
+
declare class RecorderDataTranscriptSegment {
|
|
130
|
+
startTime: string;
|
|
131
|
+
endTime: string;
|
|
132
|
+
startTimeInSeconds: number;
|
|
133
|
+
endTimeInSeconds: number;
|
|
134
|
+
text: string;
|
|
135
|
+
}
|
|
136
|
+
declare class RecorderDataTranscription {
|
|
137
|
+
transcriptSegments?: RecorderDataTranscriptSegment[];
|
|
138
|
+
vttFileUrl?: string;
|
|
139
|
+
contentSummary?: string;
|
|
140
|
+
}
|
|
141
|
+
declare class RecorderDataAsset {
|
|
142
|
+
url: string;
|
|
143
|
+
mimeType?: string;
|
|
144
|
+
fileName?: string;
|
|
145
|
+
/** File size in bytes */
|
|
146
|
+
fileSizeInBytes?: number;
|
|
147
|
+
/**
|
|
148
|
+
* The format/extension of the file
|
|
149
|
+
* @example 'mp3', 'mp4', 'webm'
|
|
150
|
+
*/
|
|
151
|
+
fileFormat?: 'mp3' | 'mp4' | 'webm' | string;
|
|
152
|
+
thumbnailUrl?: string;
|
|
153
|
+
}
|
|
154
|
+
export declare class RecorderData {
|
|
155
|
+
assets: RecorderDataAsset[];
|
|
156
|
+
transcription: RecorderDataTranscription;
|
|
157
|
+
}
|
|
158
|
+
export {};
|
|
@@ -20,3 +20,14 @@ export declare class Selection {
|
|
|
20
20
|
targetTextRange?: TargetTextRange | null;
|
|
21
21
|
pageInfo: PageInfo;
|
|
22
22
|
}
|
|
23
|
+
export declare enum UserIndicatorPosition {
|
|
24
|
+
Start = "start",
|
|
25
|
+
End = "end"
|
|
26
|
+
}
|
|
27
|
+
export declare enum UserIndicatorType {
|
|
28
|
+
Avatar = "avatar",
|
|
29
|
+
Label = "label"
|
|
30
|
+
}
|
|
31
|
+
export declare class LiveSelectionData {
|
|
32
|
+
[userIdHash: string]: Selection;
|
|
33
|
+
}
|
|
@@ -3,6 +3,14 @@ export declare class TargetTextRange {
|
|
|
3
3
|
* Xpath of common Ancestor Container
|
|
4
4
|
*/
|
|
5
5
|
commonAncestorContainer?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Full xpath of common Ancestor Container
|
|
8
|
+
*/
|
|
9
|
+
commonAncestorContainerFXpath?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Full xpath of common Ancestor Container with class names
|
|
12
|
+
*/
|
|
13
|
+
commonAncestorContainerCFXpath?: string;
|
|
6
14
|
/**
|
|
7
15
|
* Selected text
|
|
8
16
|
*/
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { CommentAnnotation, CommentOnElementConfig, CommentSelectionChangeData, ManualCommentAnnotationConfig, UpdateContextConfig } from "../data/comment-annotation.data.model";
|
|
4
|
+
import { CommentAddEventData, CommentUpdateEventData } from "../data/comment-events.data.model";
|
|
4
5
|
import { CustomCategory, CustomPriority, CustomStatus } from "../data/custom-filter.data.model";
|
|
5
6
|
import { CustomAnnotationDropdownData } from "../data/custom-chip-dropdown.data.model";
|
|
6
7
|
import { AutocompleteData } from "../data/autocomplete.data.model";
|
|
7
|
-
|
|
8
|
+
import { CommentSidebarCustomActionEventData, CommentSidebarData, CommentSidebarDataOptions } from "../data/comment-sidebar-config.model";
|
|
8
9
|
export { ReactionMap } from '../data/reaction-annotation.data.model';
|
|
9
10
|
export declare class CommentElement {
|
|
10
11
|
/**
|
|
@@ -393,12 +394,12 @@ export declare class CommentElement {
|
|
|
393
394
|
/**
|
|
394
395
|
* To get documentId, location and set context data when comment is added.
|
|
395
396
|
*/
|
|
396
|
-
public onCommentAdd: () => Observable<
|
|
397
|
+
public onCommentAdd: () => Observable<CommentAddEventData>;
|
|
397
398
|
|
|
398
399
|
/**
|
|
399
400
|
* To get data when comment is updated.
|
|
400
401
|
*/
|
|
401
|
-
public onCommentUpdate: () => Observable<
|
|
402
|
+
public onCommentUpdate: () => Observable<CommentUpdateEventData>;
|
|
402
403
|
|
|
403
404
|
/**
|
|
404
405
|
* To add comment on selected text.
|
|
@@ -550,14 +551,26 @@ export declare class CommentElement {
|
|
|
550
551
|
|
|
551
552
|
/**
|
|
552
553
|
* To enable showing recording summary in comments
|
|
554
|
+
* @deprecated Use `enableRecordingTranscription` instead
|
|
553
555
|
*/
|
|
554
556
|
public enableRecordingSummary: () => void;
|
|
555
557
|
|
|
556
558
|
/**
|
|
557
559
|
* To disable showing recording summary in comments
|
|
560
|
+
* @deprecated Use `disableRecordingTranscription` instead
|
|
558
561
|
*/
|
|
559
562
|
public disableRecordingSummary: () => void;
|
|
560
563
|
|
|
564
|
+
/**
|
|
565
|
+
* To enable recording transcription
|
|
566
|
+
*/
|
|
567
|
+
public enableRecordingTranscription: () => void;
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* To disable recording transcription
|
|
571
|
+
*/
|
|
572
|
+
public disableRecordingTranscription: () => void;
|
|
573
|
+
|
|
561
574
|
/**
|
|
562
575
|
* To enable recording countdown
|
|
563
576
|
*/
|
|
@@ -823,6 +836,71 @@ export declare class CommentElement {
|
|
|
823
836
|
*/
|
|
824
837
|
public disableQueryParamsComments: () => void;
|
|
825
838
|
|
|
839
|
+
/**
|
|
840
|
+
* Subscribe to comment sidebar action button click
|
|
841
|
+
* @returns comment sidebar data
|
|
842
|
+
*/
|
|
843
|
+
public onCommentSidebarActionButtonClick: () => Observable<CommentSidebarCustomActionEventData | null>;
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* To set comment sidebar data
|
|
847
|
+
* @param data comment sidebar data
|
|
848
|
+
*/
|
|
849
|
+
public setCommentSidebarData: (data: CommentSidebarData[], options?: CommentSidebarDataOptions) => void;
|
|
850
|
+
|
|
851
|
+
/**
|
|
852
|
+
* Subscribe to comment sidebar init
|
|
853
|
+
* @returns comment sidebar data
|
|
854
|
+
*/
|
|
855
|
+
public onCommentSidebarInit: () => Observable<CommentSidebarCustomActionEventData | null>;
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* Subscribe to comment sidebar data
|
|
859
|
+
* @returns comment sidebar data
|
|
860
|
+
*/
|
|
861
|
+
public onCommentSidebarData: () => Observable<CommentSidebarCustomActionEventData | null>;
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* To set comment sidebar default actions config
|
|
865
|
+
* @param data comment sidebar default actions config
|
|
866
|
+
*/
|
|
867
|
+
public setCommentSidebarDefaultCustomActions: (data: CommentSidebarCustomActionsState) => void;
|
|
868
|
+
|
|
869
|
+
/**
|
|
870
|
+
* To enable comment sidebar custom filter mode
|
|
871
|
+
*/
|
|
872
|
+
public enableSidebarCustomActions: () => void;
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* To disable comment sidebar custom filter mode
|
|
876
|
+
*/
|
|
877
|
+
public disableSidebarCustomActions: () => void;
|
|
878
|
+
|
|
879
|
+
// /**
|
|
880
|
+
// * To get comment navigation button click
|
|
881
|
+
// * @returns comment navigation button click
|
|
882
|
+
// */
|
|
883
|
+
// public onCommentNavigationButtonClick: () => Observable<any>;
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* To enable resolve status access admin only
|
|
887
|
+
*/
|
|
888
|
+
public enableResolveStatusAccessAdminOnly: () => void;
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* To disable resolve status access admin only
|
|
892
|
+
*/
|
|
893
|
+
public disableResolveStatusAccessAdminOnly: () => void;
|
|
894
|
+
|
|
895
|
+
/**
|
|
896
|
+
* To enable seen by users
|
|
897
|
+
*/
|
|
898
|
+
public enableSeenByUsers: () => void;
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* To disable seen by users
|
|
902
|
+
*/
|
|
903
|
+
public disableSeenByUsers: () => void;
|
|
826
904
|
|
|
827
905
|
constructor();
|
|
828
906
|
/**
|
|
@@ -1363,14 +1441,26 @@ export declare class CommentElement {
|
|
|
1363
1441
|
|
|
1364
1442
|
/**
|
|
1365
1443
|
* To enable showing recording summary in comments
|
|
1444
|
+
* @deprecated Use `enableRecordingTranscription` instead
|
|
1366
1445
|
*/
|
|
1367
1446
|
private _enableRecordingSummary;
|
|
1368
1447
|
|
|
1369
1448
|
/**
|
|
1370
1449
|
* To disable showing recording summary in comments
|
|
1450
|
+
* @deprecated Use `disableRecordingTranscription` instead
|
|
1371
1451
|
*/
|
|
1372
1452
|
private _disableRecordingSummary;
|
|
1373
1453
|
|
|
1454
|
+
/**
|
|
1455
|
+
* To enable recording transcription
|
|
1456
|
+
*/
|
|
1457
|
+
private _enableRecordingTranscription;
|
|
1458
|
+
|
|
1459
|
+
/**
|
|
1460
|
+
* To disable recording transcription
|
|
1461
|
+
*/
|
|
1462
|
+
private _disableRecordingTranscription;
|
|
1463
|
+
|
|
1374
1464
|
/**
|
|
1375
1465
|
* To enable recording countdown
|
|
1376
1466
|
*/
|
|
@@ -1633,4 +1723,70 @@ export declare class CommentElement {
|
|
|
1633
1723
|
* To disable query params comments
|
|
1634
1724
|
*/
|
|
1635
1725
|
private _disableQueryParamsComments;
|
|
1726
|
+
|
|
1727
|
+
/**
|
|
1728
|
+
* To enable comment sidebar action button click
|
|
1729
|
+
*/
|
|
1730
|
+
private _onCommentSidebarActionButtonClick;
|
|
1731
|
+
|
|
1732
|
+
/**
|
|
1733
|
+
* To set comment sidebar data
|
|
1734
|
+
* @param data comment sidebar data
|
|
1735
|
+
* @param options options
|
|
1736
|
+
*/
|
|
1737
|
+
private _setCommentSidebarData;
|
|
1738
|
+
|
|
1739
|
+
/**
|
|
1740
|
+
* To subscribe to comment sidebar init
|
|
1741
|
+
* @returns comment sidebar data
|
|
1742
|
+
*/
|
|
1743
|
+
private _onCommentSidebarInit;
|
|
1744
|
+
|
|
1745
|
+
/**
|
|
1746
|
+
* To subscribe to comment sidebar data
|
|
1747
|
+
* @returns comment sidebar data
|
|
1748
|
+
*/
|
|
1749
|
+
private _onCommentSidebarData;
|
|
1750
|
+
|
|
1751
|
+
/**
|
|
1752
|
+
* To set comment sidebar default actions config
|
|
1753
|
+
* @param data comment sidebar default actions config
|
|
1754
|
+
*/
|
|
1755
|
+
private _setCommentSidebarDefaultCustomActions;
|
|
1756
|
+
|
|
1757
|
+
/**
|
|
1758
|
+
* To enable comment sidebar custom filter mode
|
|
1759
|
+
*/
|
|
1760
|
+
private _enableSidebarCustomActions;
|
|
1761
|
+
|
|
1762
|
+
/**
|
|
1763
|
+
* To disable comment sidebar custom filter mode
|
|
1764
|
+
*/
|
|
1765
|
+
private _disableSidebarCustomActions;
|
|
1766
|
+
|
|
1767
|
+
// /**
|
|
1768
|
+
// * To get comment navigation button click
|
|
1769
|
+
// * @returns comment navigation button click
|
|
1770
|
+
// */
|
|
1771
|
+
// private _onCommentNavigationButtonClick;
|
|
1772
|
+
|
|
1773
|
+
/**
|
|
1774
|
+
* To enable resolve status access admin only
|
|
1775
|
+
*/
|
|
1776
|
+
private _enableResolveStatusAccessAdminOnly;
|
|
1777
|
+
|
|
1778
|
+
/**
|
|
1779
|
+
* To disable resolve status access admin only
|
|
1780
|
+
*/
|
|
1781
|
+
private _disableResolveStatusAccessAdminOnly;
|
|
1782
|
+
|
|
1783
|
+
/**
|
|
1784
|
+
* To enable seen by users
|
|
1785
|
+
*/
|
|
1786
|
+
private _enableSeenByUsers;
|
|
1787
|
+
|
|
1788
|
+
/**
|
|
1789
|
+
* To disable seen by users
|
|
1790
|
+
*/
|
|
1791
|
+
private _disableSeenByUsers;
|
|
1636
1792
|
}
|
|
@@ -52,6 +52,12 @@ export declare class NotificationElement {
|
|
|
52
52
|
* To get unread notifications count
|
|
53
53
|
*/
|
|
54
54
|
getUnreadNotificationsCount: () => Observable<{ forYou: number | null, all: number | null }>;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* To mark notification as read by id
|
|
58
|
+
*/
|
|
59
|
+
markNotificationAsReadById: (notificationId: string) => void;
|
|
60
|
+
|
|
55
61
|
constructor();
|
|
56
62
|
|
|
57
63
|
/**
|
|
@@ -103,4 +109,9 @@ export declare class NotificationElement {
|
|
|
103
109
|
* To get unread notifications count
|
|
104
110
|
*/
|
|
105
111
|
private _getUnreadNotificationsCount;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* To mark notification as read by id
|
|
115
|
+
*/
|
|
116
|
+
private _markNotificationAsReadById;
|
|
106
117
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
|
+
import { RecorderData } from "../data/recorder-annotation.data.model";
|
|
3
4
|
|
|
4
5
|
export declare class RecorderElement {
|
|
5
6
|
|
|
@@ -17,6 +18,21 @@ export declare class RecorderElement {
|
|
|
17
18
|
*/
|
|
18
19
|
disableRecordingCountdown: () => void;
|
|
19
20
|
|
|
21
|
+
/**
|
|
22
|
+
* To get recording data by recorder id
|
|
23
|
+
*/
|
|
24
|
+
getRecordingDataByRecorderId: (recorderId: string) => Observable<RecorderData | null>;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* To enable recording transcription
|
|
28
|
+
*/
|
|
29
|
+
enableRecordingTranscription: () => void;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* To disable recording transcription
|
|
33
|
+
*/
|
|
34
|
+
disableRecordingTranscription: () => void;
|
|
35
|
+
|
|
20
36
|
constructor();
|
|
21
37
|
|
|
22
38
|
private _initRecording;
|
|
@@ -32,4 +48,19 @@ export declare class RecorderElement {
|
|
|
32
48
|
* To disable dark mode in comments
|
|
33
49
|
*/
|
|
34
50
|
private _disableRecordingCountdown;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* To get recording data by recorder id
|
|
54
|
+
*/
|
|
55
|
+
private _getRecordingDataByRecorderId;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* To enable recording transcription
|
|
59
|
+
*/
|
|
60
|
+
private _enableRecordingTranscription;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* To disable recording transcription
|
|
64
|
+
*/
|
|
65
|
+
private _disableRecordingTranscription;
|
|
35
66
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
+
import { LiveSelectionData, UserIndicatorPosition, UserIndicatorType } from "../data/selection.model";
|
|
2
3
|
export declare class SelectionElement {
|
|
3
4
|
/**
|
|
4
5
|
* To enable selections
|
|
@@ -8,7 +9,53 @@ export declare class SelectionElement {
|
|
|
8
9
|
/**
|
|
9
10
|
* To disable selections
|
|
10
11
|
*/
|
|
11
|
-
disableLiveSelection: () => void;
|
|
12
|
+
disableLiveSelection: () => void;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* To enable user indicator
|
|
16
|
+
*/
|
|
17
|
+
enableUserIndicator: () => void;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* To disable user indicator
|
|
21
|
+
*/
|
|
22
|
+
disableUserIndicator: () => void;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* To set user indicator position
|
|
26
|
+
*/
|
|
27
|
+
setUserIndicatorPosition: (position: UserIndicatorPosition) => void;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* To set user indicator type
|
|
31
|
+
*/
|
|
32
|
+
setUserIndicatorType: (type: UserIndicatorType) => void;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* To enable default elements tracking
|
|
36
|
+
*/
|
|
37
|
+
enableDefaultElementsTracking: () => void;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* To disable default elements tracking
|
|
41
|
+
*/
|
|
42
|
+
disableDefaultElementsTracking: () => void;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* To enable default styling
|
|
46
|
+
*/
|
|
47
|
+
enableDefaultStyling: () => void;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* To disable default styling
|
|
51
|
+
*/
|
|
52
|
+
disableDefaultStyling: () => void;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* To get live selection data
|
|
56
|
+
*/
|
|
57
|
+
getLiveSelectionData: () => Observable<LiveSelectionData | null>;
|
|
58
|
+
|
|
12
59
|
constructor();
|
|
13
60
|
|
|
14
61
|
/**
|
|
@@ -20,4 +67,49 @@ export declare class SelectionElement {
|
|
|
20
67
|
* To disable selections
|
|
21
68
|
*/
|
|
22
69
|
private _disableLiveSelection;
|
|
23
|
-
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* To enable user indicator
|
|
73
|
+
*/
|
|
74
|
+
private _enableUserIndicator;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* To disable user indicator
|
|
78
|
+
*/
|
|
79
|
+
private _disableUserIndicator;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* To set user indicator position
|
|
83
|
+
*/
|
|
84
|
+
private _setUserIndicatorPosition;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* To set user indicator type
|
|
88
|
+
*/
|
|
89
|
+
private _setUserIndicatorType;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* To enable default elements tracking
|
|
93
|
+
*/
|
|
94
|
+
private _enableDefaultElementsTracking;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* To disable default elements tracking
|
|
98
|
+
*/
|
|
99
|
+
private _disableDefaultElementsTracking;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* To enable default styling
|
|
103
|
+
*/
|
|
104
|
+
private _enableDefaultStyling;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* To disable default styling
|
|
108
|
+
*/
|
|
109
|
+
private _disableDefaultStyling;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* To get live selection data
|
|
113
|
+
*/
|
|
114
|
+
private _getLiveSelectionData;
|
|
115
|
+
}
|
package/app/utils/constants.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export declare class Constants {
|
|
|
9
9
|
static FIREBASE_PARTIAL_PATH_ORGANIZATIONS: string;
|
|
10
10
|
static FIREBASE_PARTIAL_PATH_DOCS: string;
|
|
11
11
|
static FIREBASE_PARTIAL_PATH_PRESENCE: string;
|
|
12
|
+
static FIREBASE_PARTIAL_PATH_ORGANIZATION_USERS: string;
|
|
13
|
+
static FIREBASE_PARTIAL_PATH_DOCUMENT_USERS: string;
|
|
12
14
|
static FIREBASE_PARTIAL_PATH_CURSOR: string;
|
|
13
15
|
static FIREBASE_PARTIAL_PATH_ARROW: string;
|
|
14
16
|
static FIREBASE_PARTIAL_PATH_AREA: string;
|
|
@@ -20,6 +22,10 @@ export declare class Constants {
|
|
|
20
22
|
static FIREBASE_PARTIAL_PATH_HUDDLE: string;
|
|
21
23
|
static FIREBASE_PARTIAL_PATH_CONTACTS: string;
|
|
22
24
|
static FIREBASE_PARTIAL_PATH_GROUPS: string;
|
|
25
|
+
static FIREBASE_PARTIAL_PATH_NOTIFICATION_DOCS: string;
|
|
26
|
+
static FIREBASE_PARTIAL_PATH_NOTIFICATION_USERS: string;
|
|
27
|
+
static FIREBASE_PARTIAL_PATH_DOC_NOTIFICATION: string;
|
|
28
|
+
static FIREBASE_PARTIAL_PATH_USER_NOTIFICATION: string;
|
|
23
29
|
static FIREBASE_PARTIAL_PATH_GLOBAL: string;
|
|
24
30
|
static FIREBASE_PARTIAL_PATH_LOGINS: string;
|
|
25
31
|
static FIREBASE_PARTIAL_PATH_METADATA: string;
|
|
@@ -33,6 +39,10 @@ export declare class Constants {
|
|
|
33
39
|
static FIREBASE_PARTIAL_PATH_IAM: string;
|
|
34
40
|
static FIREBASE_PARTIAL_PATH_REACTION: string;
|
|
35
41
|
static FIREBASE_PARTIAL_PATH_VIEWS: string;
|
|
42
|
+
static FIREBASE_PARTIAL_PATH_COMMENT_VIEWS: string;
|
|
43
|
+
static FIREBASE_PARTIAL_PATH_NOTIFICATION_VIEWS: string;
|
|
44
|
+
static FIREBASE_PARTIAL_PATH_DOCUMENT_VIEWS: string;
|
|
45
|
+
static FIREBASE_PARTIAL_PATH_LOCATION_VIEWS: string;
|
|
36
46
|
static FIREBASE_PARTIAL_PATH_NOTIFICATIONS: string;
|
|
37
47
|
static FIREBASE_PARTIAL_PATH_ORGANIZATION_NOTIFICATIONS: string;
|
|
38
48
|
static FIREBASE_PARTIAL_PATH_LAST_NOTIFICATION_TIMESTAMP: string;
|
|
@@ -62,6 +72,10 @@ export declare class Constants {
|
|
|
62
72
|
static SNIPPYLY_HIGHLIGHT_USER: string;
|
|
63
73
|
static SNIPPYLY_HIGHLIGHT_USER_NAME: string;
|
|
64
74
|
static SNIPPYLY_HIGHLIGHT_USER_TEXT: string;
|
|
75
|
+
static VELT_LIVE_SELECTION_ON_ELEMENT: string;
|
|
76
|
+
static VELT_LIVE_SELECTION_ON_ELEMENT_DEFAULT: string;
|
|
77
|
+
static VELT_LIVE_SELECTION_ON_TEXT: string;
|
|
78
|
+
static VELT_LIVE_SELECTION_ON_TEXT_DEFAULT: string;
|
|
65
79
|
static VELT_IGNORE_CHANGE_DETECTION: string;
|
|
66
80
|
static VELT_CUSTOM_CSS: string;
|
|
67
81
|
static TAGS: {
|
|
@@ -236,6 +250,7 @@ export declare class Constants {
|
|
|
236
250
|
TARGET_ELEMENT_ID: string;
|
|
237
251
|
VELT_ID: string;
|
|
238
252
|
VELT_ELEMENT: string;
|
|
253
|
+
VELT_SOURCE_ID: string;
|
|
239
254
|
VELT_ANNOTATION_ID: string;
|
|
240
255
|
VELT_ANNOTATION_IDS: string;
|
|
241
256
|
VELT_COMMENT_PIN_HOST: string;
|
|
@@ -252,6 +267,7 @@ export declare class Constants {
|
|
|
252
267
|
VELT_RECORDER_PIN_HOST_STATIC: string;
|
|
253
268
|
VELT_RECORDER_DISABLED: string;
|
|
254
269
|
VELT_ANNOTATION_DRAFT: string;
|
|
270
|
+
VELT_ANNOTATION_EDIT_COMMENT: string;
|
|
255
271
|
VELT_LOCATION: string;
|
|
256
272
|
VELT_LOCATION_ID: string;
|
|
257
273
|
VELT_THEME: string;
|
|
@@ -260,6 +276,9 @@ export declare class Constants {
|
|
|
260
276
|
DEFAULT_CURSOR: string;
|
|
261
277
|
VELT_HUDDLE_ON_CURSOR_MODE: string;
|
|
262
278
|
VELT_SELECTION_ENABLED: string;
|
|
279
|
+
VELT_LIVE_SELECTION_ENABLED: string;
|
|
280
|
+
VELT_LIVE_SELECTION_USER_INDICATOR_POSITION: string;
|
|
281
|
+
VELT_LIVE_SELECTION_USER_INDICATOR_TYPE: string;
|
|
263
282
|
VELT_SELECTION_CONFIG: string;
|
|
264
283
|
VELT_POPOVER_MODE: string;
|
|
265
284
|
VELT_ELEMENT_CACHE_ID: string;
|
|
@@ -318,6 +337,7 @@ export declare class Constants {
|
|
|
318
337
|
SNIPPYLY_HUDDLE_DATA: string;
|
|
319
338
|
VELT_TAB_ID: string;
|
|
320
339
|
VELT_COMMENT_SIDEBAR_FILTERS_RESET: string;
|
|
340
|
+
VELT_COMMENT_SIDEBAR_CUSTOM_ACTIONS_STATE: string;
|
|
321
341
|
VELT_CURSOR_MULTIPLE_USERS_DETECTED: string;
|
|
322
342
|
VELT_PRESENCE_MULTIPLE_USERS_DETECTED: string;
|
|
323
343
|
VELT_CUSTOM_PRIORITY_MAP: string;
|
|
@@ -328,6 +348,8 @@ export declare class Constants {
|
|
|
328
348
|
SNIPPYLY_DEFAULT_MEDIA_SOURCE_OPTIONS: string;
|
|
329
349
|
SNIPPYLY_QUEUED_COMMENT: string;
|
|
330
350
|
VELT_USER: string;
|
|
351
|
+
VELT_USER_FORCE_RE_LOGGED_IN: string;
|
|
352
|
+
VELT_VERSION: string;
|
|
331
353
|
};
|
|
332
354
|
static NON_NESTABLE_ELEMENTS: {
|
|
333
355
|
[tag: string]: boolean;
|
package/models.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from './app/models/data/attachment.model';
|
|
|
3
3
|
export * from './app/models/data/area-annotation.data.model';
|
|
4
4
|
export * from './app/models/data/chatgpt.data.model';
|
|
5
5
|
export * from './app/models/data/comment-annotation.data.model';
|
|
6
|
+
export * from './app/models/data/comment-events.data.model';
|
|
6
7
|
export * from './app/models/data/comment.data.model';
|
|
7
8
|
export * from './app/models/data/config.data.model';
|
|
8
9
|
export * from './app/models/data/cursor-position.data.model';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk-staging",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.64-patch.1",
|
|
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": [
|