import { OnInit } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { VhEventMediator, VhImage, VhQueryAutoWeb } from 'vhautowebdb'; import * as i0 from "@angular/core"; export declare class AtwImageBeforeAfterSliderConfig implements OnInit { vhQueryAutoWeb: VhQueryAutoWeb; private vhImage; private matDialog; private vhEventMediator; private platformId; objectChoosing: any; device: any; class: any; staticdata: any; config: any; visible_config_tool: boolean; type: any; isViewAll: boolean; currentViewAll: any; isCollapsed: boolean; style_fields: { title: string; index: number; }[]; /** Ảnh đang chọn để cấu hình ở menu HÌNH ẢNH */ selectedImageToConfig: string; /** Icon đang chọn để cấu hình icon */ selectedIconToConfigIcon: string; /** Ảnh đang chọn để cấu hình filter */ selectedImageToConfigFilter: string; subproject: any; id_subproject: any; resolution: any; path: string; /** Mảng chứa các thiết bị */ devices: { value: string; label: string; width: number; height: number; display: boolean; icon: string; }[]; constructor(vhQueryAutoWeb: VhQueryAutoWeb, vhImage: VhImage, matDialog: MatDialog, vhEventMediator: VhEventMediator, platformId: Object); ngOnInit(): void; /** * Hàm xử lý lấy ảnh ở thư viện */ openLibrary(): void; /** * Hàm này dùng để mở dialog của component icon */ openDialogChooseIcon(): void; /** * Click mở hộp thoại chọn ảnh từ máy tính cho slider__button */ openUploadSliderButton(): void; /** * Upload ảnh từ máy tính * @param e Biến lưu hình ảnh */ onUploadSliderButton(e: any): void; /** * hàm này để xử lý thay đổi cấu hình của hay là staticdata * nếu this.objectChoosing.dynamic_data = true thì cập nhật vào * ngược lại cập nhật vào staticdata */ handleChangeConfig(): void; updateStaticData(): void; updateClass(): void; updateConfig(): 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; }; openHandler(value: string): 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; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }