UNPKG

1.39 kBTypeScriptView Raw
1import { NbChatOptions } from './chat.options';
2import * as i0 from "@angular/core";
3/**
4 * Chat message component.
5 */
6export declare class NbChatMessageMapComponent {
7 /**
8 * Message sender
9 * @type {string}
10 */
11 message: string;
12 /**
13 * Message sender
14 * @type {string}
15 */
16 sender: string;
17 /**
18 * Message send date
19 * @type {Date}
20 */
21 date: Date;
22 /**
23 * Message send date format, default 'shortTime'
24 * @type {string}
25 */
26 dateFormat: string;
27 /**
28 * Map latitude
29 * @type {number}
30 */
31 latitude: number;
32 /**
33 * Map longitude
34 * @type {number}
35 */
36 longitude: number;
37 get file(): {
38 url: string;
39 type: string;
40 icon: string;
41 };
42 mapKey: string;
43 constructor(options: NbChatOptions);
44 static ɵfac: i0.ɵɵFactoryDeclaration<NbChatMessageMapComponent, never>;
45 static ɵcmp: i0.ɵɵComponentDeclaration<NbChatMessageMapComponent, "nb-chat-message-map", never, { "message": { "alias": "message"; "required": false; }; "sender": { "alias": "sender"; "required": false; }; "date": { "alias": "date"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "latitude": { "alias": "latitude"; "required": false; }; "longitude": { "alias": "longitude"; "required": false; }; }, {}, never, never, false, never>;
46}