import { HttpClient } from '@angular/common/http'; import { OnChanges, OnInit, SimpleChanges } 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 AtwPopupOpenFormConfig implements OnInit, OnChanges { vhQueryAutoWeb: VhQueryAutoWeb; private dialog; private http; private vhEventMediator; functionService: FunctionService; private matDialog; isCollapsed: boolean; objectChoosing: any; device: any; class: any; config: any; type: any; staticdata: any; block_hover: any; currentViewAll: any; isViewAll: boolean; id_subproject: any; arr_link_page: any; valueRange: number; valueParameter: number; style_color: string; isOpenOptionsBorder: boolean; fonts: any[]; effect_hover: any[]; effect_hover_data: any; backgroundColor: any; typeGradient: { type: string; direction: string; name: string; img: string; deg: string; }[]; dataBorder: { name: string; img_border: string; }[]; styles_field: { title: string; index: number; }[]; constructor(vhQueryAutoWeb: VhQueryAutoWeb, dialog: MatDialog, http: HttpClient, vhEventMediator: VhEventMediator, functionService: FunctionService, matDialog: MatDialog); parserPercent: (value: string) => string; formatterPercent: (value: number) => string; ngOnInit(): void; /** * Hàm gọi các block popup hover */ getBlockHover(): void; /** * bắt sk thay đổi loại animation để show ra danh sách animation phù hợp khi có sự thay đổi dũ liệu của effect_hover */ ngOnChanges({ device }: SimpleChanges): 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; /** * remove link khi click vào nút x */ removeLink(): 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; customize: any[]; /** Xử lý border */ toggleBorder(isActive: any): void; openbgGradient(): 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; /** * Hàm này set customize mở 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; /** * Mở popup so sánh màu nền và màu chữ có tương phản hay không * (Để tối ưu Accessibility trong SEO) */ openColorContrast(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }