import { OnInit, SimpleChanges } from '@angular/core'; import { VhImage, VhQueryAutoWeb, VhEventMediator } from 'vhautowebdb'; import { NzMessageService } from 'ng-zorro-antd/message'; import { HttpClient } from '@angular/common/http'; import { MatDialog } from '@angular/material/dialog'; import { FunctionService } from 'vhobjects-service/src/services'; import { NzImageService } from 'ng-zorro-antd/image'; import * as i0 from "@angular/core"; export declare class AtwImageProductConfig implements OnInit { vhQueryAutoWeb: VhQueryAutoWeb; private dialog; private http; private vhEventMediator; private vhImage; private nzMessageService; private matdialog; functionService: FunctionService; private platformId; private nzImageService; isCollapsed: boolean; isViewAll: boolean; arr_link_page: any; currentViewAll: any; objectChoosing: any; device: any; class: any; staticdata: any; config: any; type: any; effect_hover: any[]; isApplyShadow: boolean; effect_hover_data: any; style_fields: ({ title: string; index: number; isDrop: boolean; } | { title: string; index: number; isDrop?: undefined; })[]; resolution: any; shadow_styles: any; constructor(vhQueryAutoWeb: VhQueryAutoWeb, dialog: MatDialog, http: HttpClient, vhEventMediator: VhEventMediator, vhImage: VhImage, nzMessageService: NzMessageService, matdialog: MatDialog, functionService: FunctionService, platformId: Object, nzImageService: NzImageService); ngOnInit(): void; ngOnChanges({ device }: SimpleChanges): void; /** * Hàm xử lí khi người dùng bật/tắt chế độ toàn màn hình cho ảnh */ 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; /** UPLOAD IMAGE */ openUpload(): void; saveImage(): void; customize: any[]; /** *Hàm update config vào database. */ updateConfig(): void; /** * Hàm update object vào database. */ updateObject(): 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; onShadowSelected(value: any, event: any): void; /** * remove link khi click vào nút x */ removeLink(): void; dataAfterChange: any; updateCss(name: any, key: any): void; /** * Cập nhật lưu hàm updateCss vào database. */ saveDataProperties(): void; updateDynamic(name: any, value: any): void; urlBackgroundImage: string; /** Hàm thực hiện xử lí khi chuyển lựa chon background * * @param event */ handleSetBackground(event: any): void; /** Hàm sẽ thực hiện disable các option khi lựa chọn tải ảnh nền cho frame * * @param valueItem * @returns */ checkDisableUploadImage(valueItem: any): boolean; /** 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; private setCustomize; /** * 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; }