import { HttpClient } from '@angular/common/http'; import { EventEmitter, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { VhQueryAutoWeb, VhEventMediator, VhAlgorithm } from 'vhautowebdb'; import { FunctionService } from 'vhobjects-service/src/services'; import { MatDialog } from '@angular/material/dialog'; import * as i0 from "@angular/core"; export declare class AtwSearchCustomizeConfig implements OnInit { vhQueryAutoWeb: VhQueryAutoWeb; vhEventMediator: VhEventMediator; private vhAlgorithm; private http; private route; private platformId; functionService: FunctionService; private matDialog; objectChoosing: any; class: any; config: any; staticdata: any; visible_config_tool: boolean; device: any; type: any; save: EventEmitter; closeConfigEvent: EventEmitter; closeConfigTool: EventEmitter; title: string; isCollapsed: boolean; isViewAll: boolean; currentViewAll: any; typeGradient: { type: string; direction: string; name: string; img: string; deg: string; }[]; stylefields: ({ title: string; index: number; isDrop: boolean; } | { title: string; index: number; isDrop?: undefined; })[]; arr_link_page: any; id_subproject: any; backgroundColor: any; fontsListItem: { label: string; value: string; }[]; positionOptions: { label: string; value: string; }[]; checkHideBorderOptions: { label: string; value: string; }[]; /** Danh sách ngành hàng */ main_sectors: any; /** Danh sách ngành hàng đã chọn ở Lĩnh vực thiết kế */ main_sectors_selected: any; visibleSubSetting: boolean; nzTitleSubSetting: string; constructor(vhQueryAutoWeb: VhQueryAutoWeb, vhEventMediator: VhEventMediator, vhAlgorithm: VhAlgorithm, http: HttpClient, route: ActivatedRoute, platformId: Object, functionService: FunctionService, matDialog: MatDialog); ngOnInit(): void; ngOnChanges(): void; getLinkAllPages(): void; openViewAll(field: any): void; openMap: { [name: string]: boolean; }; openHandler(value: string): 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 thực hiện thêm màu gradient vào array. * */ addGradient(value: 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; updateBackgroundRgb(): 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 để 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; updateObject(): void; updateClass(): void; updateConfig(): void; typeOpenVisibleSubSetting: 'button-radius' | 'input-radius' | 'input-border' | 'button-border' | 'input-padding' | 'padding-result-search' | 'result-search-radius' | 'result-search-border'; openVisibleSubSetting(value: 'button-radius' | 'input-radius' | 'input-border' | 'button-border' | 'input-padding' | 'padding-result-search' | 'result-search-radius' | 'result-search-border'): void; updateStaticData(): 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; /** * 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; }