1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
7 | import { DomSanitizer } from '@angular/platform-browser';
|
8 | import { NbComponentOrCustomStatus } from '../component-status';
|
9 | import * as i0 from "@angular/core";
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 | export declare class NbChatFormComponent {
|
39 | protected cd: ChangeDetectorRef;
|
40 | protected domSanitizer: DomSanitizer;
|
41 | status: NbComponentOrCustomStatus;
|
42 | inputFocus: boolean;
|
43 | inputHover: boolean;
|
44 | droppedFiles: any[];
|
45 | imgDropTypes: string[];
|
46 | |
47 |
|
48 |
|
49 |
|
50 | message: string;
|
51 | |
52 |
|
53 |
|
54 |
|
55 | messagePlaceholder: string;
|
56 | |
57 |
|
58 |
|
59 |
|
60 | buttonTitle: string;
|
61 | |
62 |
|
63 |
|
64 |
|
65 | buttonIcon: string;
|
66 | |
67 |
|
68 |
|
69 |
|
70 | showButton: boolean;
|
71 | |
72 |
|
73 |
|
74 |
|
75 | dropFiles: boolean;
|
76 | |
77 |
|
78 |
|
79 |
|
80 | dropFilePlaceholder: string;
|
81 | |
82 |
|
83 |
|
84 |
|
85 | send: EventEmitter<{
|
86 | message: string;
|
87 | files: File[];
|
88 | }>;
|
89 | |
90 |
|
91 |
|
92 |
|
93 | onInputChange: EventEmitter<string>;
|
94 | fileOver: boolean;
|
95 | constructor(cd: ChangeDetectorRef, domSanitizer: DomSanitizer);
|
96 | onDrop(event: any): void;
|
97 | removeFile(file: any): void;
|
98 | onDragOver(event: DragEvent): void;
|
99 | onDragLeave(event: DragEvent): void;
|
100 | sendMessage(): void;
|
101 | setStatus(status: NbComponentOrCustomStatus): void;
|
102 | getInputStatus(): NbComponentOrCustomStatus;
|
103 | getButtonStatus(): NbComponentOrCustomStatus;
|
104 | protected getHighlightStatus(): NbComponentOrCustomStatus;
|
105 | onModelChange(value: string): void;
|
106 | static ɵfac: i0.ɵɵFactoryDeclaration<NbChatFormComponent, never>;
|
107 | static ɵcmp: i0.ɵɵComponentDeclaration<NbChatFormComponent, "nb-chat-form", never, { "message": { "alias": "message"; "required": false; }; "messagePlaceholder": { "alias": "messagePlaceholder"; "required": false; }; "buttonTitle": { "alias": "buttonTitle"; "required": false; }; "buttonIcon": { "alias": "buttonIcon"; "required": false; }; "showButton": { "alias": "showButton"; "required": false; }; "dropFiles": { "alias": "dropFiles"; "required": false; }; "dropFilePlaceholder": { "alias": "dropFilePlaceholder"; "required": false; }; }, { "send": "send"; "onInputChange": "onInputChange"; }, never, never, false, never>;
|
108 | }
|