@veltdev/types-dev 1.0.449 → 1.0.451
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 +5 -0
- package/app/models/data/autocomplete.data.model.d.ts +23 -0
- package/app/models/data/comment.data.model.d.ts +2 -0
- package/app/models/element/autocomplete-element.model.d.ts +25 -0
- package/app/utils/constants.d.ts +2 -0
- package/models.d.ts +1 -0
- package/package.json +1 -1
- package/types.d.ts +1 -0
|
@@ -17,6 +17,7 @@ import { HuddleElement } from "../models/element/huddle-element.model";
|
|
|
17
17
|
import { SelectionElement } from "../models/element/selection-element.model";
|
|
18
18
|
import { ViewsElement } from "../models/element/views-element.model";
|
|
19
19
|
import { NotificationElement } from "../models/element/notification-element.model";
|
|
20
|
+
import { AutocompleteElement } from "../models/element/autocomplete-element.model";
|
|
20
21
|
import { TagElement } from "../models/element/tag-element.model";
|
|
21
22
|
import { FeatureType } from "../utils/enums";
|
|
22
23
|
export declare class Snippyly {
|
|
@@ -138,6 +139,10 @@ export declare class Snippyly {
|
|
|
138
139
|
* Get the Notification Object.
|
|
139
140
|
*/
|
|
140
141
|
getNotificationElement: () => NotificationElement;
|
|
142
|
+
/**
|
|
143
|
+
* Get the Autocomplete Object.
|
|
144
|
+
*/
|
|
145
|
+
getAutocompleteElement: () => AutocompleteElement;
|
|
141
146
|
/**
|
|
142
147
|
* To signout a user
|
|
143
148
|
*/
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare class AutocompleteDataMap {
|
|
2
|
+
[hotkey: string]: AutocompleteData;
|
|
3
|
+
}
|
|
4
|
+
export declare class AutocompleteData {
|
|
5
|
+
hotkey: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
type: 'custom' | 'contact';
|
|
8
|
+
list: AutocompleteItem[];
|
|
9
|
+
}
|
|
10
|
+
export declare class AutocompleteItem {
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
icon?: {
|
|
15
|
+
url?: string;
|
|
16
|
+
svg?: string;
|
|
17
|
+
};
|
|
18
|
+
link?: string;
|
|
19
|
+
}
|
|
20
|
+
export declare class AutocompleteReplaceData {
|
|
21
|
+
text: string;
|
|
22
|
+
custom: AutocompleteItem;
|
|
23
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Attachment } from "./attachment.model";
|
|
2
|
+
import { AutocompleteReplaceData } from "./autocomplete.data.model";
|
|
2
3
|
import { RecordedData } from "./recorder.model";
|
|
3
4
|
import { User } from "./user.data.model";
|
|
4
5
|
export declare class Comment {
|
|
@@ -63,4 +64,5 @@ export declare class Comment {
|
|
|
63
64
|
*/
|
|
64
65
|
recorders: RecordedData[];
|
|
65
66
|
reactionAnnotationIds: string[];
|
|
67
|
+
customList: AutocompleteReplaceData[];
|
|
66
68
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { AutocompleteData } from "../data/autocomplete.data.model";
|
|
4
|
+
export declare class AutocompleteElement {
|
|
5
|
+
/**
|
|
6
|
+
* To set autocomplete data
|
|
7
|
+
*/
|
|
8
|
+
public create: (data: AutocompleteData) => void;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* To get callback on autocomplete chip click
|
|
12
|
+
*/
|
|
13
|
+
public onAutocompleteChipClick: () => Observable<any>;
|
|
14
|
+
constructor();
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* To set autocomplete data
|
|
18
|
+
*/
|
|
19
|
+
private _create;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* To get callback on autocomplete chip click
|
|
23
|
+
*/
|
|
24
|
+
private _onAutocompleteChipClick;
|
|
25
|
+
}
|
package/app/utils/constants.d.ts
CHANGED
|
@@ -205,6 +205,8 @@ export declare class Constants {
|
|
|
205
205
|
VELT_NOTIFICATIONS_PANEL: string;
|
|
206
206
|
VELT_NOTIFICATIONS_HISTORY_PANEL: string;
|
|
207
207
|
VELT_WIREFRAME: string;
|
|
208
|
+
VELT_AUTOCOMPLETE: string;
|
|
209
|
+
VELT_AUTOCOMPLETE_CHIP: string;
|
|
208
210
|
VELT_COMMENT_DIALOG_HEADER: string;
|
|
209
211
|
VELT_COMMENT_DIALOG_BODY: string;
|
|
210
212
|
VELT_COMMENT_DIALOG_FOOTER: string;
|
package/models.d.ts
CHANGED
|
@@ -47,3 +47,4 @@ export * from './app/models/data/flock-options.model';
|
|
|
47
47
|
export * from './app/models/data/customer-metadata.data.model';
|
|
48
48
|
export * from './app/models/data/comment-sidebar-config.model';
|
|
49
49
|
export * from './app/models/data/views.data.model';
|
|
50
|
+
export * from './app/models/data/autocomplete.data.model';
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -14,4 +14,5 @@ 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/autocomplete-element.model';
|
|
17
18
|
export * from './models';
|