@veltdev/types 1.0.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/client/snippyly.model.d.ts +141 -0
- package/app/client/velt.model.d.ts +5 -0
- package/app/models/data/annotation-property.data.model.d.ts +30 -0
- package/app/models/data/area-annotation.data.model.d.ts +74 -0
- package/app/models/data/attachment.model.d.ts +40 -0
- package/app/models/data/chatgpt.data.model.d.ts +10 -0
- package/app/models/data/comment-annotation.data.model.d.ts +161 -0
- package/app/models/data/comment.data.model.d.ts +71 -0
- package/app/models/data/config.data.model.d.ts +45 -0
- package/app/models/data/cursor-position.data.model.d.ts +10 -0
- package/app/models/data/cursor-user.data.model.d.ts +118 -0
- package/app/models/data/custom-filter.data.model.d.ts +26 -0
- package/app/models/data/device-info.model.d.ts +75 -0
- package/app/models/data/document-iam.data.model.d.ts +14 -0
- package/app/models/data/document-metadata.model.d.ts +22 -0
- package/app/models/data/document-paths.data.model.d.ts +94 -0
- package/app/models/data/document-user.data.model.d.ts +33 -0
- package/app/models/data/flock-options.model.d.ts +7 -0
- package/app/models/data/huddle.model.d.ts +17 -0
- package/app/models/data/live-state-data-map.data.model.d.ts +7 -0
- package/app/models/data/live-state-data.data.model.d.ts +11 -0
- package/app/models/data/localstorage.data.model.d.ts +4 -0
- package/app/models/data/location-metadata.model.d.ts +16 -0
- package/app/models/data/location.model.d.ts +15 -0
- package/app/models/data/media-preview-config.data.model.d.ts +14 -0
- package/app/models/data/notification.model.d.ts +41 -0
- package/app/models/data/page-info.model.d.ts +46 -0
- package/app/models/data/permission.data.model.d.ts +14 -0
- package/app/models/data/presence-user.data.model.d.ts +79 -0
- package/app/models/data/recorder-annotation.data.model.d.ts +120 -0
- package/app/models/data/recorder.model.d.ts +74 -0
- package/app/models/data/rewriter-annotation.data.model.d.ts +62 -0
- package/app/models/data/screen-size.data.model.d.ts +14 -0
- package/app/models/data/selection.model.d.ts +22 -0
- package/app/models/data/tag-annotation.data.model.d.ts +113 -0
- package/app/models/data/target-element.data.model.d.ts +18 -0
- package/app/models/data/target-text-range.data.model.d.ts +14 -0
- package/app/models/data/toast.data.model.d.ts +19 -0
- package/app/models/data/transcription.data.model.d.ts +35 -0
- package/app/models/data/user-contact-us.data.model.d.ts +3 -0
- package/app/models/data/user-contact.data.model.d.ts +29 -0
- package/app/models/data/user-feedback.data.model.d.ts +3 -0
- package/app/models/data/user-iam.data.model.d.ts +33 -0
- package/app/models/data/user-report-bug.data.model.d.ts +3 -0
- package/app/models/data/user-request.data.model.d.ts +37 -0
- package/app/models/data/user-role.data.model.d.ts +19 -0
- package/app/models/data/user.data.model.d.ts +60 -0
- package/app/models/data/workspace-iam.data.model.d.ts +14 -0
- package/app/models/element/area-element.model.d.ts +51 -0
- package/app/models/element/comment-element.model.d.ts +808 -0
- package/app/models/element/contact-element.model.d.ts +13 -0
- package/app/models/element/cursor-element.model.d.ts +60 -0
- package/app/models/element/presence-element.model.d.ts +53 -0
- package/app/models/element/recorder-element.model.d.ts +15 -0
- package/app/models/element/rewriter-element.model.d.ts +23 -0
- package/app/models/element/selection-element.model.d.ts +23 -0
- package/app/models/element/tag-element.model.d.ts +68 -0
- package/app/utils/constants.d.ts +349 -0
- package/app/utils/enums.d.ts +95 -0
- package/models.d.ts +44 -0
- package/package.json +12 -0
- package/types.d.ts +5 -0
- package/velt.d.ts +20 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
export declare class ContactElement {
|
|
4
|
+
/**
|
|
5
|
+
* Get if user is part of global contact or not.
|
|
6
|
+
*/
|
|
7
|
+
public isUserGlobalContact: () => Observable<boolean>;
|
|
8
|
+
constructor();
|
|
9
|
+
/**
|
|
10
|
+
* Get if user is part of global contact or not.
|
|
11
|
+
*/
|
|
12
|
+
private _isUserGlobalContact;
|
|
13
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { CursorUser } from "../data/cursor-user.data.model";
|
|
4
|
+
export declare class CursorElement {
|
|
5
|
+
/**
|
|
6
|
+
* Subscribe to cursors of all online users who are either active or inactive on the current document.
|
|
7
|
+
*
|
|
8
|
+
* Returns Observable<CursorUser[] | null>.
|
|
9
|
+
*
|
|
10
|
+
* @deprecated Use getOnlineUsersOnCurrentDocument instead.
|
|
11
|
+
*/
|
|
12
|
+
getLiveCursorsOnCurrentDocument: () => Observable<CursorUser[] | null>;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Subscribe to cursors of all online users who are either active or inactive on the current document.
|
|
16
|
+
*
|
|
17
|
+
* Returns Observable<CursorUser[] | null>.
|
|
18
|
+
*/
|
|
19
|
+
getOnlineUsersOnCurrentDocument: () => Observable<CursorUser[] | null>;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* To set inactivity time (Default value is 2 minutes)
|
|
23
|
+
* @param time inactivity time in milliseconds
|
|
24
|
+
*/
|
|
25
|
+
setInactivityTime: (time: number) => void;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* To allow cursors in specific elements only
|
|
29
|
+
* @param elementIds Element ids to be allowed to show cursor on it
|
|
30
|
+
*/
|
|
31
|
+
allowedElementIds: (elementIds: string[]) => any;
|
|
32
|
+
constructor();
|
|
33
|
+
/**
|
|
34
|
+
* Subscribe to cursors of all online users who are either active or inactive on the current document.
|
|
35
|
+
*
|
|
36
|
+
* Returns Observable<CursorUser[] | null>.
|
|
37
|
+
*
|
|
38
|
+
* @deprecated Use getOnlineUsersOnCurrentDocument instead.
|
|
39
|
+
*/
|
|
40
|
+
private _getLiveCursorsOnCurrentDocument;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Subscribe to cursors of all online users who are either active or inactive on the current document.
|
|
44
|
+
*
|
|
45
|
+
* Returns Observable<CursorUser[] | null>.
|
|
46
|
+
*/
|
|
47
|
+
private _getOnlineUsersOnCurrentDocument;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* To set inactivity time (Default value is 2 minutes)
|
|
51
|
+
* @param time inactivity time in milliseconds
|
|
52
|
+
*/
|
|
53
|
+
private _setInactivityTime;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* To allow cursors in specific elements only
|
|
57
|
+
* @param elementIds Element ids to be allowed to show cursor on it
|
|
58
|
+
*/
|
|
59
|
+
private _allowedElementIds;
|
|
60
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { PresenceUser } from "../data/presence-user.data.model";
|
|
4
|
+
export declare class PresenceElement {
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Subscribe to a list of all online users who are either active or inactive on the current document.
|
|
8
|
+
*
|
|
9
|
+
* Returns Observable<PresenceUser[] | null>.
|
|
10
|
+
*/
|
|
11
|
+
getOnlineUsersOnCurrentDocument: () => Observable<PresenceUser[] | null>;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* To set inactivity time (Default value is 5 minutes)
|
|
15
|
+
* @param time inactivity time in milliseconds
|
|
16
|
+
*/
|
|
17
|
+
setInactivityTime: (time: number) => void;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Enables follow along mode globally
|
|
21
|
+
* @param options {FollowOptions: {useHistoryAPI: boolean, onNavigate: (url: PageInfo) => void}}}
|
|
22
|
+
*/
|
|
23
|
+
enableFollowAlongMode: (useHistoryAPI: boolean) => any;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* To disable follow along mode
|
|
27
|
+
*/
|
|
28
|
+
disableFollowAlongMode: () => any;
|
|
29
|
+
constructor();
|
|
30
|
+
/**
|
|
31
|
+
* Subscribe to a list of all online users who are either active or inactive on the current document.
|
|
32
|
+
*
|
|
33
|
+
* Returns Observable<PresenceUser[] | null>.
|
|
34
|
+
*/
|
|
35
|
+
private _getOnlineUsersOnCurrentDocument;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* To set inactivity time (Default value is 5 minutes)
|
|
39
|
+
* @param time inactivity time in milliseconds
|
|
40
|
+
*/
|
|
41
|
+
private _setInactivityTime;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Enables follow along mode globally
|
|
45
|
+
* @param options {FollowOptions: {useHistoryAPI: boolean, onNavigate: (url: PageInfo) => void}}}
|
|
46
|
+
*/
|
|
47
|
+
private _enableFollowAlongMode;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* To disable follow along mode
|
|
51
|
+
*/
|
|
52
|
+
private _disableFollowAlongMode;
|
|
53
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
|
|
4
|
+
export declare class RecorderElement {
|
|
5
|
+
|
|
6
|
+
initRecording: (type: string, panelId?: string) => any;
|
|
7
|
+
|
|
8
|
+
onRecordedData: () => Observable<any>;
|
|
9
|
+
|
|
10
|
+
constructor();
|
|
11
|
+
|
|
12
|
+
private _initRecording;
|
|
13
|
+
|
|
14
|
+
private _onRecordedData;
|
|
15
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
export declare class RewriterElement {
|
|
3
|
+
/**
|
|
4
|
+
* To enable rewriter feature
|
|
5
|
+
*/
|
|
6
|
+
enableRewriter: () => void;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* To disable rewriter feature
|
|
10
|
+
*/
|
|
11
|
+
disableRewriter: () => void;
|
|
12
|
+
constructor();
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* To enable rewriter feature
|
|
16
|
+
*/
|
|
17
|
+
private _enableRewriter;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* To disable rewriter feature
|
|
21
|
+
*/
|
|
22
|
+
private _disableRewriter;
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
export declare class SelectionElement {
|
|
3
|
+
/**
|
|
4
|
+
* To enable selections
|
|
5
|
+
*/
|
|
6
|
+
enableLiveSelection: () => void;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* To disable selections
|
|
10
|
+
*/
|
|
11
|
+
disableLiveSelection: () => void;
|
|
12
|
+
constructor();
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* To enable selections
|
|
16
|
+
*/
|
|
17
|
+
private _enableLiveSelection;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* To disable selections
|
|
21
|
+
*/
|
|
22
|
+
private _disableLiveSelection;
|
|
23
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { TagPinAnnotation } from "../data/tag-annotation.data.model";
|
|
4
|
+
export declare class TagElement {
|
|
5
|
+
/**
|
|
6
|
+
* Subscribe to tags on the current document.
|
|
7
|
+
*
|
|
8
|
+
* Returns Observable<TagPinAnnotation[] | null>.
|
|
9
|
+
*/
|
|
10
|
+
getAllTagAnnotations: (documentId?: string, documentParams?: object) => Observable<TagPinAnnotation[] | null>;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* To delete selected tags
|
|
14
|
+
*/
|
|
15
|
+
deleteTag: () => any;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* To allow text selection in specific elements only
|
|
19
|
+
* @param elementIds Element ids to be allowed
|
|
20
|
+
*/
|
|
21
|
+
allowedElementIds: (elementIds: string[]) => any;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* To add tags on specific elements
|
|
25
|
+
*
|
|
26
|
+
* @param elementId ID of html element
|
|
27
|
+
*/
|
|
28
|
+
attachTag: (elementId: string) => any;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Subscribe to add tag mode change.
|
|
32
|
+
*
|
|
33
|
+
* Returns Observable<boolean>.
|
|
34
|
+
*/
|
|
35
|
+
addTagModeChange: () => Observable<boolean>;
|
|
36
|
+
constructor();
|
|
37
|
+
/**
|
|
38
|
+
* Subscribe to tags on the current document.
|
|
39
|
+
*
|
|
40
|
+
* Returns Observable<TagPinAnnotation[] | null>.
|
|
41
|
+
*/
|
|
42
|
+
private _getAllTagAnnotations;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* To delete selected tags
|
|
46
|
+
*/
|
|
47
|
+
private _deleteTag;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* To allow text selection in specific elements only
|
|
51
|
+
* @param elementIds Element ids to be allowed
|
|
52
|
+
*/
|
|
53
|
+
private _allowedElementIds;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* To add tags on specific elements
|
|
57
|
+
*
|
|
58
|
+
* @param elementId ID of html element
|
|
59
|
+
*/
|
|
60
|
+
private _attachTag;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Subscribe to add tag mode change.
|
|
64
|
+
*
|
|
65
|
+
* Returns Observable<boolean>.
|
|
66
|
+
*/
|
|
67
|
+
private _addTagModeChange;
|
|
68
|
+
}
|
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
import { CustomPriorityMap, CustomStatus, CustomStatusMap } from "../models/data/custom-filter.data.model";
|
|
2
|
+
import { UserRole } from "../models/data/user-role.data.model";
|
|
3
|
+
export declare class Constants {
|
|
4
|
+
static SNIPPYLY_HOST_URL_PROD: string;
|
|
5
|
+
static SNIPPYLY_HOST_URL_STAGING: string;
|
|
6
|
+
static USER_TYPE_ANONYMOUS: string;
|
|
7
|
+
static USER_TYPE_SIGNED_IN: string;
|
|
8
|
+
static LOCALSTORAGE_DATA_ID: string;
|
|
9
|
+
static FIREBASE_PARTIAL_PATH_DOCS: string;
|
|
10
|
+
static FIREBASE_PARTIAL_PATH_PRESENCE: string;
|
|
11
|
+
static FIREBASE_PARTIAL_PATH_CURSOR: string;
|
|
12
|
+
static FIREBASE_PARTIAL_PATH_ARROW: string;
|
|
13
|
+
static FIREBASE_PARTIAL_PATH_AREA: string;
|
|
14
|
+
static FIREBASE_PARTIAL_PATH_COMMENT: string;
|
|
15
|
+
static FIREBASE_PARTIAL_PATH_TAG: string;
|
|
16
|
+
static FIREBASE_PARTIAL_PATH_SELECTION: string;
|
|
17
|
+
static FIREBASE_PARTIAL_PATH_AUDIO_HUDDLE: string;
|
|
18
|
+
static FIREBASE_PARTIAL_PATH_HUDDLE: string;
|
|
19
|
+
static FIREBASE_PARTIAL_PATH_CONTACTS: string;
|
|
20
|
+
static FIREBASE_PARTIAL_PATH_GROUPS: string;
|
|
21
|
+
static FIREBASE_PARTIAL_PATH_GLOBAL: string;
|
|
22
|
+
static FIREBASE_PARTIAL_PATH_LOGINS: string;
|
|
23
|
+
static FIREBASE_PARTIAL_PATH_METADATA: string;
|
|
24
|
+
static FIREBASE_PARTIAL_PATH_LOCATIONS: string;
|
|
25
|
+
static FIREBASE_PARTIAL_PATH_RECORDER: string;
|
|
26
|
+
static FIREBASE_PARTIAL_PATH_FOLLOW_ALONG: string;
|
|
27
|
+
static FIREBASE_PARTIAL_PATH_IAM: string;
|
|
28
|
+
static FIREBASE_PARTIAL_PATH_USERS: string;
|
|
29
|
+
static FIREBASE_PARTIAL_PATH_USER_REQUESTS: string;
|
|
30
|
+
static FIREBASE_PARTIAL_PATH_FEEDBACK: string;
|
|
31
|
+
static FIREBASE_PARTIAL_PATH_BUGS: string;
|
|
32
|
+
static FIREBASE_PARTIAL_PATH_CONTACT_US: string;
|
|
33
|
+
static PRESENCE_STATUS_ONLINE: string;
|
|
34
|
+
static PRESENCE_STATUS_OFFLINE: string;
|
|
35
|
+
static PRESENCE_STATUS_AWAY: string;
|
|
36
|
+
static IMG_URL_NOT_FOUND: string;
|
|
37
|
+
static IMG_CLASS_NOT_FOUND: string;
|
|
38
|
+
static VALIDATE_CLIENT: string;
|
|
39
|
+
static GET_ICE_SERVERS: string;
|
|
40
|
+
static CONVERT_RECORDING: string;
|
|
41
|
+
static CONVERT_RECORDING_V2: string;
|
|
42
|
+
static ANALYTICS_FUNCTION: string;
|
|
43
|
+
static CHATGPT_COMPLETION: string;
|
|
44
|
+
static WHISPER_TRANSCRIPTION: string;
|
|
45
|
+
static GET_PLAN_DETAILS: string;
|
|
46
|
+
static AVATAR_COLOR_LIST: string[];
|
|
47
|
+
static TEXT_COLOR_MAP: any;
|
|
48
|
+
static DEFAULT_ANNOTATION_COLOR: string;
|
|
49
|
+
static REGEX_EMAIL: RegExp;
|
|
50
|
+
static REGEX_URL: RegExp;
|
|
51
|
+
static REGEX_SPECIAL_CHARS: RegExp;
|
|
52
|
+
static SNIPPYLY_HIGHLIGHT: string;
|
|
53
|
+
static SNIPPYLY_HIGHLIGHT_PREVIEW: string;
|
|
54
|
+
/**
|
|
55
|
+
* @deprecated Use VELT_IGNORE_CHANGE_DETECTION instead
|
|
56
|
+
*/
|
|
57
|
+
static SNIPPYLY_HIGHLIGHT_USER: string;
|
|
58
|
+
static SNIPPYLY_HIGHLIGHT_USER_NAME: string;
|
|
59
|
+
static SNIPPYLY_HIGHLIGHT_USER_TEXT: string;
|
|
60
|
+
static VELT_IGNORE_CHANGE_DETECTION: string;
|
|
61
|
+
static TAGS: {
|
|
62
|
+
/**
|
|
63
|
+
* @deprecated Use VELT_ROOT instead
|
|
64
|
+
*/
|
|
65
|
+
SNIPPYLY_ROOT: string;
|
|
66
|
+
/**
|
|
67
|
+
* @deprecated Use VELT_PRESENCE instead
|
|
68
|
+
*/
|
|
69
|
+
SNIPPYLY_PRESENCE: string;
|
|
70
|
+
/**
|
|
71
|
+
* @deprecated Use VELT_CURSOR instead
|
|
72
|
+
*/
|
|
73
|
+
SNIPPYLY_CURSOR: string;
|
|
74
|
+
/**
|
|
75
|
+
* @deprecated Use VELT_COMMENT_TOOL instead
|
|
76
|
+
*/
|
|
77
|
+
SNIPPYLY_COMMENT_TOOL: string;
|
|
78
|
+
/**
|
|
79
|
+
* @deprecated Use VELT_COMMENTS instead
|
|
80
|
+
*/
|
|
81
|
+
SNIPPYLY_COMMENTS: string;
|
|
82
|
+
/**
|
|
83
|
+
* @deprecated Use VELT_TAG_TOOL instead
|
|
84
|
+
*/
|
|
85
|
+
SNIPPYLY_TAG_TOOL: string;
|
|
86
|
+
/**
|
|
87
|
+
* @deprecated Use VELT_TAGS instead
|
|
88
|
+
*/
|
|
89
|
+
SNIPPYLY_TAGS: string;
|
|
90
|
+
/**
|
|
91
|
+
* @deprecated Use VELT_RECORDER_NOTES instead
|
|
92
|
+
*/
|
|
93
|
+
SNIPPYLY_RECORDER_NOTES: string;
|
|
94
|
+
/**
|
|
95
|
+
* @deprecated Use VELT_RECORDER_CONTROL_PANEL instead
|
|
96
|
+
*/
|
|
97
|
+
SNIPPYLY_RECORDER_CONTROL_PANEL: string;
|
|
98
|
+
SNIPPYLY_RECORDER_CONTROL_PANEL_INTERNAL: string;
|
|
99
|
+
/**
|
|
100
|
+
* @deprecated Use VELT_RECORDER_PLAYER instead
|
|
101
|
+
*/
|
|
102
|
+
SNIPPYLY_RECORDER_PLAYER: string;
|
|
103
|
+
SNIPPYLY_TEXT_HIGHLIGHT: string;
|
|
104
|
+
SNIPPYLY_COMMENT_TEXT_PORTAL: string;
|
|
105
|
+
/**
|
|
106
|
+
* @deprecated Use VELT_COMMENTS_SIDEBAR instead
|
|
107
|
+
*/
|
|
108
|
+
SNIPPYLY_COMMENTS_SIDEBAR: string;
|
|
109
|
+
/**
|
|
110
|
+
* @deprecated User SNIPPYLY_COMMENT_BUBBLE instead
|
|
111
|
+
*/
|
|
112
|
+
SNIPPYLY_COMMENT_BUBBLE: string;
|
|
113
|
+
SNIPPYLY_HIGHLIGHT_USER_TEXT: string;
|
|
114
|
+
SNIPPYLY_AUDIO_HUDDLE: string;
|
|
115
|
+
SNIPPYLY_VIDEO_HUDDLE: string;
|
|
116
|
+
/**
|
|
117
|
+
* @deprecated Use VELT_HUDDLE instead
|
|
118
|
+
*/
|
|
119
|
+
SNIPPYLY_HUDDLE: string;
|
|
120
|
+
/**
|
|
121
|
+
* @deprecated Use VELT_HUDDLE_TOOL instead
|
|
122
|
+
*/
|
|
123
|
+
SNIPPYLY_HUDDLE_TOOL: string;
|
|
124
|
+
/**
|
|
125
|
+
* @deprecated Use VELT_RECORDER_TOOL instead
|
|
126
|
+
*/
|
|
127
|
+
SNIPPYLY_RECORDER_TOOL: string;
|
|
128
|
+
SNIPPYLY_PLUGIN: string;
|
|
129
|
+
SNIPPYLY_MENU: string;
|
|
130
|
+
SNIPPYLY_COMMENT_DIALOG: string;
|
|
131
|
+
/**
|
|
132
|
+
* @deprecated Use VELT_SIDEBAR_BUTTON instead
|
|
133
|
+
*/
|
|
134
|
+
SNIPPYLY_SIDEBAR_BUTTON: string;
|
|
135
|
+
/**
|
|
136
|
+
* @deprecated Use VELT_REWRITER instead
|
|
137
|
+
*/
|
|
138
|
+
SNIPPYLY_REWRITER: string;
|
|
139
|
+
/**
|
|
140
|
+
* @deprecated Use VELT_USER_SELECTOR instead
|
|
141
|
+
*/
|
|
142
|
+
SNIPPYLY_USER_SELECTOR: string;
|
|
143
|
+
/**
|
|
144
|
+
* @deprecated Use VELT_USER_INVITE_TOOL instead
|
|
145
|
+
*/
|
|
146
|
+
SNIPPYLY_USER_INVITE_TOOL: string;
|
|
147
|
+
/**
|
|
148
|
+
* @deprecated Use VELT_USER_REQUEST_TOOL instead
|
|
149
|
+
*/
|
|
150
|
+
SNIPPYLY_USER_REQUEST_TOOL: string;
|
|
151
|
+
SNIPPYLY_USER_AVATAR: string;
|
|
152
|
+
/**
|
|
153
|
+
* @deprecated Use VELT_ARROW_TOOL instead
|
|
154
|
+
*/
|
|
155
|
+
SNIPPYLY_ARROW_TOOL: string;
|
|
156
|
+
/**
|
|
157
|
+
* @deprecated Use VELT_ARROWS instead
|
|
158
|
+
*/
|
|
159
|
+
SNIPPYLY_ARROWS: string;
|
|
160
|
+
SNIPPYLY_AREA_TOOL: string;
|
|
161
|
+
SNIPPYLY_AREAS: string;
|
|
162
|
+
VELT_ROOT: string;
|
|
163
|
+
VELT_PRESENCE: string;
|
|
164
|
+
VELT_CURSOR: string;
|
|
165
|
+
VELT_COMMENT_TOOL: string;
|
|
166
|
+
VELT_COMMENTS: string;
|
|
167
|
+
VELT_TAG_TOOL: string;
|
|
168
|
+
VELT_TAGS: string;
|
|
169
|
+
VELT_RECORDER_NOTES: string;
|
|
170
|
+
VELT_RECORDER_CONTROL_PANEL: string;
|
|
171
|
+
VELT_RECORDER_CONTROL_PANEL_INTERNAL: string;
|
|
172
|
+
VELT_RECORDER_PLAYER: string;
|
|
173
|
+
VELT_TEXT_HIGHLIGHT: string;
|
|
174
|
+
VELT_COMMENT_TEXT_PORTAL: string;
|
|
175
|
+
VELT_COMMENTS_SIDEBAR: string;
|
|
176
|
+
VELT_COMMENT_BUBBLE: string;
|
|
177
|
+
VELT_HIGHLIGHT_USER_TEXT: string;
|
|
178
|
+
VELT_AUDIO_HUDDLE: string;
|
|
179
|
+
VELT_VIDEO_HUDDLE: string;
|
|
180
|
+
VELT_HUDDLE: string;
|
|
181
|
+
VELT_HUDDLE_TOOL: string;
|
|
182
|
+
VELT_RECORDER_TOOL: string;
|
|
183
|
+
VELT_PLUGIN: string;
|
|
184
|
+
VELT_MENU: string;
|
|
185
|
+
VELT_COMMENT_DIALOG: string;
|
|
186
|
+
VELT_SIDEBAR_BUTTON: string;
|
|
187
|
+
VELT_REWRITER: string;
|
|
188
|
+
VELT_USER_SELECTOR: string;
|
|
189
|
+
VELT_USER_INVITE_TOOL: string;
|
|
190
|
+
VELT_USER_REQUEST_TOOL: string;
|
|
191
|
+
VELT_USER_AVATAR: string;
|
|
192
|
+
VELT_ARROW_TOOL: string;
|
|
193
|
+
VELT_ARROWS: string;
|
|
194
|
+
VELT_AREA_TOOL: string;
|
|
195
|
+
VELT_AREAS: string;
|
|
196
|
+
};
|
|
197
|
+
static ATTRIBUTES: {
|
|
198
|
+
VELT_ID: string;
|
|
199
|
+
VELT_ELEMENT: string;
|
|
200
|
+
VELT_ANNOTATION_ID: string;
|
|
201
|
+
VELT_ANNOTATION_IDS: string;
|
|
202
|
+
VELT_COMMENT_PIN_HOST: string;
|
|
203
|
+
VELT_COMMENT_PIN_HOST_STATIC: string;
|
|
204
|
+
VELT_COMMENT_DISABLED: string;
|
|
205
|
+
VELT_TAG_PIN_HOST: string;
|
|
206
|
+
VELT_TAG_PIN_HOST_STATIC: string;
|
|
207
|
+
VELT_TAG_DISABLED: string;
|
|
208
|
+
VELT_RECORDER_PIN_HOST: string;
|
|
209
|
+
VELT_RECORDER_PIN_HOST_STATIC: string;
|
|
210
|
+
VELT_RECORDER_DISABLED: string;
|
|
211
|
+
VELT_ANNOTATION_DRAFT: string;
|
|
212
|
+
VELT_LOCATION: string;
|
|
213
|
+
VELT_THEME: string;
|
|
214
|
+
VELT_IGNORE: string;
|
|
215
|
+
EMBED_MODE: string;
|
|
216
|
+
DEFAULT_CURSOR: string;
|
|
217
|
+
VELT_HUDDLE_ON_CURSOR_MODE: string;
|
|
218
|
+
VELT_SELECTION_ENABLED: string;
|
|
219
|
+
VELT_POPOVER_MODE: string;
|
|
220
|
+
VELT_ELEMENT_CACHE_ID: string;
|
|
221
|
+
VELT_ARROW_PIN_HOST: string;
|
|
222
|
+
VELT_ARROW_PIN_HOST_STATIC: string;
|
|
223
|
+
VELT_ARROW_DISABLED: string;
|
|
224
|
+
VELT_AREA_PIN_HOST: string;
|
|
225
|
+
VELT_AREA_PIN_HOST_STATIC: string;
|
|
226
|
+
VELT_AREA_DISABLED: string;
|
|
227
|
+
};
|
|
228
|
+
static INJECTION_STYLE_PROPS: {
|
|
229
|
+
/**
|
|
230
|
+
* @deprecated Use VELT_AVATAR_COLOR instead
|
|
231
|
+
*/
|
|
232
|
+
/**
|
|
233
|
+
* @deprecated Use VELT_COMMENT_PRIORITY_COLOR instead
|
|
234
|
+
*/
|
|
235
|
+
VELT_AVATAR_COLOR: string;
|
|
236
|
+
VELT_COMMENT_PRIORITY_COLOR: string;
|
|
237
|
+
};
|
|
238
|
+
static INJECTION_ATTRIBUTES: {
|
|
239
|
+
/**
|
|
240
|
+
* @deprecated Use VELT_AVATAR_IMG instead
|
|
241
|
+
*/
|
|
242
|
+
/**
|
|
243
|
+
* @deprecated Use VELT_COMMENT_LENGTH instead
|
|
244
|
+
*/
|
|
245
|
+
VELT_AVATAR_IMG: string;
|
|
246
|
+
VELT_COMMENT_LENGTH: string;
|
|
247
|
+
};
|
|
248
|
+
static SESSION_STORAGE: {
|
|
249
|
+
SNIPPYLY_AUTO_SELECT_ANNOTATION_ID: string;
|
|
250
|
+
SNIPPYLY_SELECTED_ANNOTATION_ID: string;
|
|
251
|
+
SNIPPYLY_COMMENT_SIDEBAR_FILTERS: string;
|
|
252
|
+
SNIPPYLY_COMMENT_DIALOG_AUTO_POPULATE_TEXT: string;
|
|
253
|
+
SNIPPYLY_HUDDLE_DATA: string;
|
|
254
|
+
};
|
|
255
|
+
static LOCAL_STORAGE: {
|
|
256
|
+
SNIPPYLY_DEFAULT_MEDIA_SOURCE_OPTIONS: string;
|
|
257
|
+
SNIPPYLY_QUEUED_COMMENT: string;
|
|
258
|
+
};
|
|
259
|
+
static NON_NESTABLE_ELEMENTS: {
|
|
260
|
+
[tag: string]: boolean;
|
|
261
|
+
};
|
|
262
|
+
static INGNORE_MUTATION_OBSERVER_CHANGE_TAGS: {
|
|
263
|
+
[tag: string]: boolean;
|
|
264
|
+
};
|
|
265
|
+
static SELECTION_ENABLED_ELEMENTS: {
|
|
266
|
+
[tag: string]: boolean;
|
|
267
|
+
};
|
|
268
|
+
static URL_PARAMS: {
|
|
269
|
+
REVIEW_MODE: string;
|
|
270
|
+
REVIEW_DOC_ID: string;
|
|
271
|
+
SNIPPYLY_USER: string;
|
|
272
|
+
COMMENT_ID: string;
|
|
273
|
+
TAG_ID: string;
|
|
274
|
+
RECORDER_ID: string;
|
|
275
|
+
PROJECT_INSTALL: string;
|
|
276
|
+
};
|
|
277
|
+
static VELT_BASE_REM_UNIT: string;
|
|
278
|
+
static VELT_VIEWPORT_WIDTH: string;
|
|
279
|
+
static VELT_VIEWPORT_HEIGHT: string;
|
|
280
|
+
static VELT_COLOR: string;
|
|
281
|
+
static VELT_MIN_ARROW_LENGTH: number;
|
|
282
|
+
static VELT_ARROW_VIEWPORT_PADDING: number;
|
|
283
|
+
static CURSOR: {
|
|
284
|
+
COMMENT_PIN: string;
|
|
285
|
+
TAG_PIN: string;
|
|
286
|
+
ARROW_PIN: string;
|
|
287
|
+
AREA_PIN: string;
|
|
288
|
+
};
|
|
289
|
+
static VIDEO_POSTER_DEFAULT_IMAGE: string;
|
|
290
|
+
static HUDDLE_TYPE_CONFIGS: {
|
|
291
|
+
audio: {
|
|
292
|
+
audio: boolean;
|
|
293
|
+
video: boolean;
|
|
294
|
+
presentation: boolean;
|
|
295
|
+
};
|
|
296
|
+
video: {
|
|
297
|
+
audio: boolean;
|
|
298
|
+
video: boolean;
|
|
299
|
+
presentation: boolean;
|
|
300
|
+
};
|
|
301
|
+
presentation: {
|
|
302
|
+
audio: boolean;
|
|
303
|
+
video: boolean;
|
|
304
|
+
presentation: boolean;
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
static ViewModes: {
|
|
308
|
+
INTERNAL: string;
|
|
309
|
+
EXTERNAL: string;
|
|
310
|
+
ALL: string;
|
|
311
|
+
};
|
|
312
|
+
static RecorderModes: {
|
|
313
|
+
VIDEO: string;
|
|
314
|
+
AUDIO: string;
|
|
315
|
+
SCREEN: string;
|
|
316
|
+
ALL: string;
|
|
317
|
+
};
|
|
318
|
+
static CommentAnnotationStatusMap: CustomStatusMap;
|
|
319
|
+
static CommentAcceptStatus: CustomStatus;
|
|
320
|
+
static CommentRejectStatus: CustomStatus;
|
|
321
|
+
static CommentAnnotationPriorityMap: CustomPriorityMap;
|
|
322
|
+
static WorkspaceRoles: Array<UserRole>;
|
|
323
|
+
static DocumentAccessTypeMap: {
|
|
324
|
+
[key: string]: {
|
|
325
|
+
id: string;
|
|
326
|
+
name: string;
|
|
327
|
+
description: string;
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
|
+
static CommentCategoryMap: {
|
|
331
|
+
[categoryId: string]: {
|
|
332
|
+
id: string;
|
|
333
|
+
name: string;
|
|
334
|
+
color: string;
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
static OVERLAY_POSITIONS: {
|
|
338
|
+
originX: any;
|
|
339
|
+
originY: any;
|
|
340
|
+
overlayX: any;
|
|
341
|
+
overlayY: any;
|
|
342
|
+
}[];
|
|
343
|
+
static OVERLAY_POSITIONS_FOR_POPOVER_MODE: {
|
|
344
|
+
originX: any;
|
|
345
|
+
originY: any;
|
|
346
|
+
overlayX: any;
|
|
347
|
+
overlayY: any;
|
|
348
|
+
}[];
|
|
349
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
export declare enum CommentStatus {
|
|
2
|
+
ADDED = "added",
|
|
3
|
+
UPDATED = "updated",
|
|
4
|
+
DELETED = "deleted",
|
|
5
|
+
APPROVED = "approved",
|
|
6
|
+
ASSIGNED = "assigned",
|
|
7
|
+
RESOLVED = "resolved",
|
|
8
|
+
REOPENED = "reopened",
|
|
9
|
+
IN_PROGRESS = "inProgress",
|
|
10
|
+
STATUS_CHANGED = "statusChanged",
|
|
11
|
+
PRIORITY_CHANGED = "priorityChanged",
|
|
12
|
+
ACCEPTED = "accepted",
|
|
13
|
+
REJECTED = "rejected"
|
|
14
|
+
}
|
|
15
|
+
export declare enum CommentAction {
|
|
16
|
+
ADD = "add",
|
|
17
|
+
UPDATE = "update",
|
|
18
|
+
DELETE = "delete",
|
|
19
|
+
APPROVE = "approve",
|
|
20
|
+
ASSIGN = "assign",
|
|
21
|
+
RESOLVE = "resolve",
|
|
22
|
+
REOPEN = "reopen",
|
|
23
|
+
IN_PROGRESS = "inProgress",
|
|
24
|
+
CHANGE_STATUS = "changeStatus",
|
|
25
|
+
CHANGE_PRIORITY = "changePriority",
|
|
26
|
+
ACCEPT = "accept",
|
|
27
|
+
REJECT = "reject"
|
|
28
|
+
}
|
|
29
|
+
export declare enum TagStatus {
|
|
30
|
+
ADDED = "added",
|
|
31
|
+
UPDATED = "updated",
|
|
32
|
+
DELETED = "deleted",
|
|
33
|
+
APPROVED = "approved",
|
|
34
|
+
RESOLVED = "resolved"
|
|
35
|
+
}
|
|
36
|
+
export declare enum RecorderStatus {
|
|
37
|
+
ADDED = "added",
|
|
38
|
+
UPDATED = "updated",
|
|
39
|
+
DELETED = "deleted",
|
|
40
|
+
APPROVED = "approved",
|
|
41
|
+
RESOLVED = "resolved"
|
|
42
|
+
}
|
|
43
|
+
export declare enum ArrowStatus {
|
|
44
|
+
ADDED = "added",
|
|
45
|
+
UPDATED = "updated",
|
|
46
|
+
DELETED = "deleted"
|
|
47
|
+
}
|
|
48
|
+
export declare enum AreaStatus {
|
|
49
|
+
ADDED = "added",
|
|
50
|
+
UPDATED = "updated",
|
|
51
|
+
DELETED = "deleted"
|
|
52
|
+
}
|
|
53
|
+
export declare enum Features {
|
|
54
|
+
AREA = "area",
|
|
55
|
+
ARROW = "arrow",
|
|
56
|
+
AUDIO_HUDDLE = "audioHuddle",
|
|
57
|
+
COMMENT = "comment",
|
|
58
|
+
CURSOR = "cursor",
|
|
59
|
+
HUDDLE = "huddle",
|
|
60
|
+
LIVE_STATE_SYNC = "liveStateSync",
|
|
61
|
+
PRESENCE = "presence",
|
|
62
|
+
TAG = "tag",
|
|
63
|
+
RECORDER = "recorder",
|
|
64
|
+
REWRITER = "rewriter"
|
|
65
|
+
}
|
|
66
|
+
export declare type FeatureType = 'area' | 'arrow' | 'audioHuddle' | 'comment' | 'cursor' | 'huddle' | 'liveStateSync' | 'presence' | 'recorder' | 'rewriter' | 'tag';
|
|
67
|
+
export declare enum DeviceType {
|
|
68
|
+
DESKTOP = "Desktop",
|
|
69
|
+
MOBILE = "Mobile",
|
|
70
|
+
TABLET = "Tablet",
|
|
71
|
+
MONITOR = "Monitor",
|
|
72
|
+
UNKNOWN = "Unknown"
|
|
73
|
+
}
|
|
74
|
+
export declare enum Orientation {
|
|
75
|
+
PORTRAIT = "portrait",
|
|
76
|
+
LANDSCAPE = "landscape",
|
|
77
|
+
UNKNOWN = "unknown"
|
|
78
|
+
}
|
|
79
|
+
export declare enum OrientationMediaQueries {
|
|
80
|
+
Portrait = "(orientation: portrait)",
|
|
81
|
+
Landscape = "(orientation: landscape)"
|
|
82
|
+
}
|
|
83
|
+
export declare enum GhostCommentType {
|
|
84
|
+
DIFFERENT_DEVICE = "differentDevice",
|
|
85
|
+
ELEMENT_DELETED = "elementDeleted"
|
|
86
|
+
}
|
|
87
|
+
export declare enum Roles {
|
|
88
|
+
ADMIN = "Admin",
|
|
89
|
+
COMMENTER = "Commenter"
|
|
90
|
+
}
|
|
91
|
+
export declare enum DocumentAccessType {
|
|
92
|
+
PUBLIC = "public",
|
|
93
|
+
RESTRICTED = "restricted",
|
|
94
|
+
PRIVATE = "private"
|
|
95
|
+
}
|