import { VhQueryAutoWeb } from 'vhautowebdb'; import { NzMessageService } from 'ng-zorro-antd/message'; import * as i0 from "@angular/core"; export declare class AtwMessengerAdmin { private vhQueryAutoWeb; private message; data: any; /** * Biến này để chứa dữ liệu của this.data.data * Lưu ý: không thể gộp 2 trường _id và id_object (gán _id=id_object và xóa id_object) vì: không cho phép chỉ định _id khi gán */ data_object: any; isVisible: boolean; loading: boolean; constructor(vhQueryAutoWeb: VhQueryAutoWeb, message: NzMessageService); ngOnChanges(): void; /** * Kiểm tra xem object đã tồn tại hay chưa, nếu chưa thì add, tồn tại rồi thì update * @param value */ updateOrAdd(value: any): void; /** * Hàm hiển thị thông báo * @param type * @param content * @param duration */ createMessage(type: 'success' | 'error' | 'warning' | 'info', content: string, duration?: number): void; showModal(): void; handleOk(): void; handleCancel(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }