import { HttpClient } from '@angular/common/http'; import { EventEmitter, OnInit } from '@angular/core'; import { VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb'; import { AtwUpdateDbComponent } from 'vhobjects-service'; import { FunctionService } from 'vhobjects-service'; import * as i0 from "@angular/core"; export declare class AtwBlockBlankAdminConfig extends AtwUpdateDbComponent implements OnInit { vhQueryAutoWeb: VhQueryAutoWeb; private http; functionService: FunctionService; vhEventMediator: VhEventMediator; private platformId; currentPage: any; blockChoosing: any; device: any; class: any; config: any; position: any; staticdata: any; changeOptionConfig: EventEmitter; isViewAll: boolean; isCollapsed: boolean; openMenu: { [name: string]: boolean; }; currentViewAll: any; stylesField: { title: string; index: number; }[]; animation: any; effect_hover: any[]; effect_hover_data: any; customize: any[]; configMode: 'basic' | 'advanced'; typeGradient: { type: string; direction: string; name: string; deg: string; }[]; configUpdates: any; constructor(vhQueryAutoWeb: VhQueryAutoWeb, http: HttpClient, functionService: FunctionService, vhEventMediator: VhEventMediator, platformId: Object); ngOnInit(): void; ngOnChanges(): 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; 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; updatePosition(): 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; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }