import { EventEmitter, OnInit, SimpleChanges } from '@angular/core'; import { VhQueryAutoWeb } from 'vhautowebdb'; import { HttpClient } from '@angular/common/http'; import * as i0 from "@angular/core"; export declare class AtwBlockHeaderConfig implements OnInit { private vhQueryAutoWeb; private http; private platformId; blockChoosing: any; device: any; class: any; config: any; staticdata: any; position: any; changeOptionConfig: EventEmitter; isViewAll: boolean; urlBackgroundImage: string; openMenu: { [name: string]: boolean; }; currentViewAll: any; stylesField: { title: string; index: number; }[]; typeGradient: { type: string; direction: string; name: string; deg: string; }[]; configUpdates: any; effect_hover: any[]; customize: any[]; constructor(vhQueryAutoWeb: VhQueryAutoWeb, http: HttpClient, platformId: Object); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; openHandler(value: string): void; updateBackgroundRgb(): void; /** * Chuyển đổi mã màu hexadecimal thành mã màu rgba. * @param hex : tham số trả về mã màu hex * @returns string : trả về chuỗi rgb */ hexToRGB(hex: string): string; /** * Hàm này thực hiện thêm màu gradient vào array. * */ addGradient(value: any): void; /** * @param index : vị trí phần tử muốn xóa * Hàm này cho phép xóa phần tử màu gradient trong array bằng index của phần tử đó. */ deleteGradient(index: any): void; /** Hàm này cho phép chọn options direction của màu gradient * @param direction : trả về hướng phối màu được chọn * @param event : trả về element được active */ chooseOption(direction: any, event: any): 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; updateClass(): void; updateConfig(): void; /** * Hàm update object vào database. */ updateObject(): 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; updatePosition(): void; openAnimationDetail(event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }