@veltdev/sdk 1.0.176 → 1.0.177
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/autocomplete.data.model.d.ts +8 -1
- package/app/models/data/comment.data.model.d.ts +2 -1
- package/app/models/data/document-paths.data.model.d.ts +4 -0
- package/app/models/data/organization-groups.data.model.d.ts +10 -0
- package/app/models/data/user-contact.data.model.d.ts +1 -1
- package/app/models/element/contact-element.model.d.ts +35 -2
- package/app/utils/constants.d.ts +1 -0
- package/app/utils/enums.d.ts +6 -0
- package/models.d.ts +1 -0
- package/package.json +1 -1
- package/velt.js +2 -2
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { OrganizationUserGroup } from "./organization-groups.data.model";
|
|
1
2
|
export declare class AutocompleteDataMap {
|
|
2
3
|
[hotkey: string]: AutocompleteData;
|
|
3
4
|
}
|
|
4
5
|
export declare class AutocompleteData {
|
|
5
6
|
hotkey: string;
|
|
6
7
|
description?: string;
|
|
7
|
-
type: 'custom' | 'contact';
|
|
8
|
+
type: 'custom' | 'contact' | 'group';
|
|
8
9
|
list: AutocompleteItem[];
|
|
9
10
|
}
|
|
10
11
|
export declare class AutocompleteItem {
|
|
@@ -21,6 +22,12 @@ export declare class AutocompleteReplaceData {
|
|
|
21
22
|
text: string;
|
|
22
23
|
custom: AutocompleteItem;
|
|
23
24
|
}
|
|
25
|
+
export declare class AutocompleteGroupReplaceData {
|
|
26
|
+
text: string;
|
|
27
|
+
groupId: string;
|
|
28
|
+
clientGroupId: string;
|
|
29
|
+
group?: OrganizationUserGroup;
|
|
30
|
+
}
|
|
24
31
|
export declare class AutocompleteChipData extends AutocompleteItem {
|
|
25
32
|
type: 'contact' | 'custom';
|
|
26
33
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Attachment } from "./attachment.model";
|
|
2
|
-
import { AutocompleteReplaceData } from "./autocomplete.data.model";
|
|
2
|
+
import { AutocompleteGroupReplaceData, AutocompleteReplaceData } from "./autocomplete.data.model";
|
|
3
3
|
import { RecordedData } from "./recorder.model";
|
|
4
4
|
import { User } from "./user.data.model";
|
|
5
5
|
export declare class Comment {
|
|
@@ -65,4 +65,5 @@ export declare class Comment {
|
|
|
65
65
|
recorders: RecordedData[];
|
|
66
66
|
reactionAnnotationIds: string[];
|
|
67
67
|
customList: AutocompleteReplaceData[];
|
|
68
|
+
toOrganizationUserGroup: AutocompleteGroupReplaceData[];
|
|
68
69
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
|
-
import {
|
|
3
|
+
import { SelectedUserContact } from "../data/user-contact.data.model";
|
|
4
|
+
import { ContactListScopeForOrganizationUsers } from "../../utils/enums";
|
|
4
5
|
export declare class ContactElement {
|
|
5
6
|
/**
|
|
6
7
|
* Get if user is part of global contact or not.
|
|
@@ -10,7 +11,23 @@ export declare class ContactElement {
|
|
|
10
11
|
/**
|
|
11
12
|
* Get selected contact details.
|
|
12
13
|
*/
|
|
13
|
-
public onContactSelected: () => Observable<
|
|
14
|
+
public onContactSelected: () => Observable<SelectedUserContact | null>;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Enable @here for contact list.
|
|
18
|
+
*/
|
|
19
|
+
public enableAtHere: () => void;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Disable @here for contact list.
|
|
23
|
+
*/
|
|
24
|
+
public disableAtHere: () => void;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Update contact list scope for organization users.
|
|
28
|
+
* @param scope ContactListScopeForOrganizationUsers[]
|
|
29
|
+
*/
|
|
30
|
+
public updateContactListScopeForOrganizationUsers: (scope: ContactListScopeForOrganizationUsers[]) => void;
|
|
14
31
|
constructor();
|
|
15
32
|
/**
|
|
16
33
|
* Get if user is part of global contact or not.
|
|
@@ -21,4 +38,20 @@ export declare class ContactElement {
|
|
|
21
38
|
* Get selected contact details.
|
|
22
39
|
*/
|
|
23
40
|
private _onContactSelected;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Enable @here for contact list.
|
|
44
|
+
*/
|
|
45
|
+
private _enableAtHere;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Disable @here for contact list.
|
|
49
|
+
*/
|
|
50
|
+
private _disableAtHere;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Update contact list scope for organization users.
|
|
54
|
+
* @param scope ContactListScopeForOrganizationUsers[]
|
|
55
|
+
*/
|
|
56
|
+
private _updateContactListScopeForOrganizationUsers;
|
|
24
57
|
}
|
package/app/utils/constants.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export declare class Constants {
|
|
|
23
23
|
static FIREBASE_PARTIAL_PATH_LOGINS: string;
|
|
24
24
|
static FIREBASE_PARTIAL_PATH_METADATA: string;
|
|
25
25
|
static FIREBASE_PARTIAL_PATH_ORGANIZATION_METADATA: string;
|
|
26
|
+
static FIREBASE_PARTIAL_PATH_ORGANIZATION_GROUPS: string;
|
|
26
27
|
static FIREBASE_PARTIAL_PATH_LOCATIONS: string;
|
|
27
28
|
static FIREBASE_PARTIAL_PATH_RECORDER: string;
|
|
28
29
|
static FIREBASE_PARTIAL_PATH_FOLLOW_ALONG: string;
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -116,3 +116,9 @@ export declare enum ServerConnectionState {
|
|
|
116
116
|
PENDING_INIT = "pendingInit",
|
|
117
117
|
PENDING_DATA = "pendingData"
|
|
118
118
|
}
|
|
119
|
+
export declare enum ContactListScopeForOrganizationUsers {
|
|
120
|
+
ALL = "all",
|
|
121
|
+
ORGANIZATION = "organization",
|
|
122
|
+
ORGANIZATION_USER_GROUP = "organizationUserGroup",
|
|
123
|
+
DOCUMENT = "document"
|
|
124
|
+
}
|
package/models.d.ts
CHANGED
|
@@ -50,3 +50,4 @@ export * from './app/models/data/views.data.model';
|
|
|
50
50
|
export * from './app/models/data/autocomplete.data.model';
|
|
51
51
|
export * from './app/models/data/reaction-annotation.data.model';
|
|
52
52
|
export * from './app/models/data/reaction.data.model';
|
|
53
|
+
export * from './app/models/data/organization-groups.data.model';
|