import { HttpClient } from '@angular/common/http'; import { EventEmitter, OnInit } from '@angular/core'; import { VhQueryAutoWeb, VhEventMediator } from 'vhautowebdb'; import * as i0 from "@angular/core"; export declare class AtwFrameBlankConfig implements OnInit { vhQueryAutoWeb: VhQueryAutoWeb; private vhEventMediator; private http; private platformId; objectChoosing: any; device: any; position: any; class: any; config: any; staticdata: any; type: any; changeOptionConfig: EventEmitter; isViewAll: boolean; isCollapsed: boolean; urlBackgroundImage: string; openMenu: { [name: string]: boolean; }; currentViewAll: any; typeGradient: { type: string; direction: string; name: string; deg: string; }[]; stylesField: { title: string; index: number; }[]; animation: any; effect_hover: any[]; customize: any[]; constructor(vhQueryAutoWeb: VhQueryAutoWeb, vhEventMediator: VhEventMediator, http: HttpClient, platformId: Object); ngOnInit(): void; openHandler(value: string): void; ngOnChanges(): void; updateBackgroundRgb(): void; /**Hàm này dùng để click chọn màu nền của danh sách màu. * @param bgColor : trả về màu được chọn * @param event : trả về element được active */ chooseBg(bgColor: any, event: any): 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; /** Hàm thực hiện gán giá trị background-image khi có thay đổi * */ handleSetBackgroundImage(): void; /** Hàm thực hiện xử lí khi chuyển lựa chon background * * @param event */ handleSetBackground(event: any): void; /** Hàm thực hiện xử lí khi có thay đổi trường background-color * */ handleSetBackgroundColor(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; /** * 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; updateClass(): void; updateConfig(): void; /** * Cập nhật staticdata vào database. */ updateStaticData(): void; /** * Hàm update object vào database. */ updateObject(): void; handleChangeContainer(event: any): 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 thay đổi box-shadow giữa có hiệu ứng và không có hiệu ứng. * Khi gọi hàm này thì hiệu ứng hover hiển thị box-shadow sẽ bị disable. * Ngược lại thì thì hiệu ứng hover hiển thị box-shadow enable. */ onChangeShadow(): void; /** * Hàm bật tắt scroll trong frame-blank. * @param event true: bật scroll cố định height, false: tắt scroll bỏ cố định height */ toggleScrollFrame(event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }