import { HttpClient } from '@angular/common/http'; import { OnInit } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb'; import { FunctionService } from 'vhobjects-service/src/services'; import * as i0 from "@angular/core"; export declare class AtwInputAddressConfig implements OnInit { vhQueryAutoWeb: VhQueryAutoWeb; private dialog; private http; private vhEventMediator; functionService: FunctionService; isCollapsed: boolean; objectChoosing: any; device: any; class: any; config: any; type: any; staticdata: any; currentViewAll: any; dataAfterChange: any; isViewAll: boolean; id_subproject: any; arr_link_page: any; valueRange: number; valueParameter: number; style_color: string; isOpenOptionsBorder: boolean; fonts: any[]; customize: any[]; backgroundColor: any; typeGradient: { type: string; direction: string; name: string; deg: string; }[]; dataBorder: { name: string; img_border: string; }[]; styles_field: { title: string; index: number; }[]; effect_hover: any[]; effect_hover_data: any; classUpdates: any; configUpdates: any; staticdataUpdates: any; objectsArrayGetData: any; constructor(vhQueryAutoWeb: VhQueryAutoWeb, dialog: MatDialog, http: HttpClient, vhEventMediator: VhEventMediator, functionService: FunctionService); parserPercent: (value: string) => string; formatterPercent: (value: number) => string; ngOnInit(): void; changeWidthOfError(event: any): void; ngOnChanges(): void; updateBackgroundRgb(): 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; /** * 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; /**Xử lý lấy thông số giá trị background color. * @param event : trả về giá trị từ 0-100 */ getValueRangeBackgroundColor(e: any): void; /**Xử lý lấy thông số giá trị background gradient * @param event : trả về giá trị từ 0-100 */ getValueRangeBackgroundGradient(e: any): void; /** Hàm này lấy giá trị màu nền của input color * @param event : trả về màu được chọn từ input color */ updateColorInput(e: any): 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; /** 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; /** Xử lý border */ toggleBorder(isActive: any): void; openbgGradient(): void; /** Hàm này dùng để mở dialog của component icon */ openDialogChooseIcon(): void; /** * 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 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 */ openMap: { [name: string]: boolean; }; openHandler(value: string): void; /** * Cập nhật yêu cầu bắt buộc */ handleRequired(value: any): 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; /** * 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; }