import { VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb'; import { HttpClient } from '@angular/common/http'; import * as i0 from "@angular/core"; export declare class AtwProfileWebsiteConfig { vhQueryAutoWeb: VhQueryAutoWeb; private http; private vhEventMediator; objectChoosing: any; device: any; class: any; config: any; staticdata: any; type: any; isViewAll: boolean; currentViewAll: any; isCollapsed: boolean; styles_field: { title: string; index: number; }[]; fonts: any[]; backgroundColor: any; menuList: any; constructor(vhQueryAutoWeb: VhQueryAutoWeb, http: HttpClient, vhEventMediator: VhEventMediator); ngOnInit(): 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 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, type: any, mobileid?: number | null): void; /** * Hàm update object vào database. */ updateObject(): void; /** * Hàm update class vào database. */ updateClass(): void; /** * Hàm update config vào database. */ updateConfig(): void; /** * Cập nhật staticdata vào database. */ updateStaticData(): 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 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 */ openHandler(value: string): void; openMap: { [name: string]: 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; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }