import { HttpClient } from '@angular/common/http'; import { OnInit, SimpleChanges } from '@angular/core'; import { NzImageService } from 'ng-zorro-antd/image'; import { VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb'; import { FunctionService } from 'vhobjects-service/src/services'; import * as i0 from "@angular/core"; export declare class AtwNewFieldImageConfig implements OnInit { vhQueryAutoWeb: VhQueryAutoWeb; private http; private vhEventMediator; functionService: FunctionService; private nzImageService; isCollapsed: boolean; isShowConfirmPopup: boolean; isConfirmLoading: boolean; isViewAll: boolean; currentViewAll: any; objectChoosing: any; type: any; device: any; class: any; staticdata: any; config: any; blocks_of_page?: any; effect_hover: any[]; isApplyShadow: boolean; effect_hover_data: any; visible_config_tool: boolean; previewUploadUrl: string | null; dragging: boolean; customize: any[]; style_fields: ({ title: string; index: number; isDrop: boolean; } | { title: string; index: number; isDrop?: undefined; })[]; id_subproject: any; subproject: any; resolution: any; lookupGroupArray: number[]; newFields: any[]; currentField: any; template: any; constructor(vhQueryAutoWeb: VhQueryAutoWeb, http: HttpClient, vhEventMediator: VhEventMediator, functionService: FunctionService, nzImageService: NzImageService); ngOnInit(): Promise; ngOnChanges(changes: SimpleChanges): Promise; getNewFileds(): void; changeLookupGroup(event: any): void; handleOpenFullscreenPreview(): void; /** Xử lí xoay lật * @param axis : Lật theo trục 'x' | 'y' | 'z' | '-z' */ handleSetTransform(axis: any): void; SetTransform(): void; /** * Cập nhật staticdata vào database. */ updateStaticData(): void; /** * Cập nhật Setups vào database. */ updateSetups(): void; /** *Hàm update config vào database. */ updateConfig(): void; /** * Hàm update object vào database. */ updateFields(value: any): void; /** *Hàm update class vào database. */ updateClass(): 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; /** Áp dụng đổ bóng * * -> xử lí dữ liệu bóng -> css: box-shadow: `x y blur color` */ handleSetShadow(): void; /** Xử lí đổ bóng * -> xử lí dữ liệu bóng -> css: object-position: `x y blur color` */ handleSetPositionShadow(): 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; /** * remove link khi click vào nút x */ removeLink(): void; /** Xử lí lưu vị trí ảnh * -> xử lí dữ liệu bóng -> css: object-position: `x y` */ handleSetPositionImage(): void; scale(): void; /** * Hàm này set customize mở phần mở rộng của config từ choose-animations-config truyền về * @param event customize sau khi thay đổi */ openAnimationDetail(event: 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; updateClassAndConfig(): void; onChangeFieldCustom(selectedValue: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }