1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | import { ChangeDetectorRef } from '@angular/core';
|
7 | import { DomSanitizer } from '@angular/platform-browser';
|
8 | import * as i0 from "@angular/core";
|
9 | export interface NbChatMessageFileIconPreview {
|
10 | url: string;
|
11 | icon: string;
|
12 | }
|
13 | export interface NbChatMessageFileImagePreview {
|
14 | url: string;
|
15 | type: string;
|
16 | }
|
17 | export type NbChatMessageFile = NbChatMessageFileIconPreview | NbChatMessageFileImagePreview;
|
18 |
|
19 |
|
20 |
|
21 | export declare class NbChatMessageFileComponent {
|
22 | protected cd: ChangeDetectorRef;
|
23 | protected domSanitizer: DomSanitizer;
|
24 | readyFiles: any[];
|
25 | |
26 |
|
27 |
|
28 |
|
29 | message: string;
|
30 | |
31 |
|
32 |
|
33 |
|
34 | sender: string;
|
35 | |
36 |
|
37 |
|
38 |
|
39 | date: Date;
|
40 | |
41 |
|
42 |
|
43 |
|
44 | dateFormat: string;
|
45 | |
46 |
|
47 |
|
48 |
|
49 | set files(files: NbChatMessageFile[]);
|
50 | constructor(cd: ChangeDetectorRef, domSanitizer: DomSanitizer);
|
51 | isImage(file: NbChatMessageFile): boolean;
|
52 | static ɵfac: i0.ɵɵFactoryDeclaration<NbChatMessageFileComponent, never>;
|
53 | static ɵcmp: i0.ɵɵComponentDeclaration<NbChatMessageFileComponent, "nb-chat-message-file", never, { "message": { "alias": "message"; "required": false; }; "sender": { "alias": "sender"; "required": false; }; "date": { "alias": "date"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "files": { "alias": "files"; "required": false; }; }, {}, never, never, false, never>;
|
54 | }
|