import { OnInit } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb'; import { NzModalService } from 'ng-zorro-antd/modal'; import { LanguageService } from 'vhobjects-service/src/services'; import { FunctionService } from 'vhobjects-service/src/services'; import * as i0 from "@angular/core"; export declare class AtwFlipBookConfig implements OnInit { functionService: FunctionService; private vhQueryAutoWeb; private vhEventMediator; private matdialog; languageService: LanguageService; private nzModalService; objectChoosing: any; type: any; device: any; class: any; staticdata: any; config: any; currentViewAll: any; isViewAll: boolean; id_subproject: any; resolution: any; style_fields: { title: string; index: number; isDrop: boolean; }[]; constructor(functionService: FunctionService, vhQueryAutoWeb: VhQueryAutoWeb, vhEventMediator: VhEventMediator, matdialog: MatDialog, languageService: LanguageService, nzModalService: NzModalService); ngOnInit(): void; /** * Hàm mở modal chứa danh sách hình ảnh * - Để thay đổi thứ tự hình ảnh * - Để thêm hình ảnh * - Để xoá hình ảnh * - Để chuyển ảnh lên server */ openModalEditImages(): void; /** * Hàm xử lý thay đổi vị trí cụm nút theo chiều dọc * @param event */ handleSetPositionControls(event: any): void; /** * Hàm mở bảng chọn icon * @param item */ openDialogChooseIcon(eleName: any): void; /** * Hàm update class vào database. */ updateClass(): void; /** * Hàm update config vào database. */ updateConfig(): void; updateClassAndConfig(): void; /** * Cập nhật staticdata vào database. */ updateStaticData(): void; /** * Hàm này dùng để cho phép mở menu config . * Khi mở ở vị trí menu[0] thì các menu khác (menu[n]) đóng lại. * @param: value */ openMap: { [name: string]: boolean; }; openMapSub: { [name: string]: boolean; }; openHandler(value: string, isSub?: boolean): void; /** * Hàm này dùng để mở rộng phần cấu hình. * @param field_text : trả về phần tử được chọn của mảng style_field */ openViewAll(field_text: any): void; /** * hàm này nhận sk thay đổi width height từ component app-width-height-config truyền về * @param event width hieght của element sau khi thay đổi */ changeWidthHeight(event: any): void; /** Xử lí lưu vị trí ảnh * -> xử lí dữ liệu bóng -> css: object-position: `x y` */ handleSetPositionImage(): void; scale(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }