import { OnInit } from '@angular/core'; import { VhAlgorithm, VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb'; import { MatDialog } from '@angular/material/dialog'; import { ActivatedRoute } from '@angular/router'; import { HttpClient } from '@angular/common/http'; import { FunctionService } from 'vhobjects-service/src/services'; import * as i0 from "@angular/core"; export declare class AtwBreadcrumbConfig implements OnInit { vhQueryAutoWeb: VhQueryAutoWeb; private http; private route; private vhEventMediator; private dialog; private vhAlgorithm; functionService: FunctionService; type_config: string; objectChoosing: any; device: any; class: any; config: any; type: any; staticdata: any; blocks_of_page: any; isViewAll: boolean; currentViewAll: any; isCollapsed: boolean; styles_field: { title: string; index: number; }[]; effect_hover: any[]; effect_hover_data: any; id_subproject: any; typeGradient: ({ type: string; direction: string; name: string; img: string; deg: string; } | { type: string; direction: string; name: string; deg: string; img?: undefined; })[]; /** Chứa các trang mà trang hiện tại có thể link đến */ arr_link_page: any; /** Loại liên kết để chọn */ type_page: string[]; type_link: any; constructor(vhQueryAutoWeb: VhQueryAutoWeb, http: HttpClient, route: ActivatedRoute, vhEventMediator: VhEventMediator, dialog: MatDialog, vhAlgorithm: VhAlgorithm, functionService: FunctionService); ngOnInit(): void; ngOnChanges(): void; /** * Xử lý lấy link các page về. */ getLinkAllPages(): void; customize: any[]; /** * 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; /** * Cập nhật Gradient */ handleSetGradientTextBacklink(): 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 */ chooseOptionBacklink(direction: any, event: any): void; /** Xử lý lấy thông số giá trị background gradient * @param event : trả về giá trị từ 0-100 */ getValueRangeBackgroundGradientBacklink(e: any): void; openbgGradientBacklink(): void; /** * Hàm này thực hiện thêm màu gradient vào array. * */ addGradientBacklink(): void; /** 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ử đó. * @param index : vị trí phần tử muốn xóa */ deleteGradientBacklink(index: any): void; /** * Cập nhật Gradient */ handleSetGradientTextCurrent(): 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 */ chooseOptionCurrent(direction: 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; /** Xử lý lấy thông số giá trị background gradient * @param event : trả về giá trị từ 0-100 */ getValueRangeBackgroundGradientCurrent(e: any): void; openbgGradientCurrent(): void; /** * Hàm này thực hiện thêm màu gradient vào array. * */ addGradientCurrent(): void; /** 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ử đó. * @param index : vị trí phần tử muốn xóa */ deleteGradientCurrent(index: any): void; updateObject(): void; updateClass(): void; updateConfig(): void; updateStaticData(): void; get selectedLink(): any; set selectedLink(page: any); /** * 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 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 mở ra hộp thoại chọn icon */ openDialogChooseIcon(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }