import { OnInit } from '@angular/core'; import { VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb'; import { HttpClient } from '@angular/common/http'; import { MatDialog } from '@angular/material/dialog'; import { FunctionService } from 'vhobjects-service/src/services'; import * as i0 from "@angular/core"; export declare class AtwExportBillConfig implements OnInit { vhQueryAutoWeb: VhQueryAutoWeb; private http; private dialog; private vhEventMediator; functionService: FunctionService; private platformId; objectChoosing: any; device: any; class: any; config: any; type: any; staticdata: any; visible_config_tool: boolean; isViewAll: boolean; currentViewAll: any; isCollapsed: boolean; styles_field: { title: string; index: number; }[]; fonts: any[]; effect_hover: any[]; effect_hover_data: any; dataAfterChange: any; arr_link_page: any; id_subproject: any; customize: any; width: number; height: number; constructor(vhQueryAutoWeb: VhQueryAutoWeb, http: HttpClient, dialog: MatDialog, vhEventMediator: VhEventMediator, functionService: FunctionService, platformId: Object); ngOnInit(): void; ngOnChanges(): 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; }; typeGradient: { type: string; direction: string; name: string; img: string; deg: string; }[]; /** * Cập nhật staticdata vào database. */ updateStaticData(): void; /** * Cập nhật Gradient */ handleSetGradientText(): 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; /** 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 */ getValueRangeBackgroundGradient(e: any): void; openbgGradient(): void; /** * Hàm này thực hiện thêm màu gradient vào array. * */ addGradient(): 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 */ deleteGradient(index: any): void; updateObject(): void; /** * Hàm update class */ updateClass(): void; /** * Hàm update config` */ updateConfig(): void; /** * Hàm set lại vị tri checkmark , có thêm biến check_mark_positionY và check_mark_positionX để lưu lại vị trí * @param value giá trị cập nhật * @param position vị trí tương ứng horizontal : ngang; vertical : dọc */ onChangePositionCheckmark(value: any, position: string): void; /** * Hàm thay đổi cấu hình đổ bóng */ onChangeShadow(): void; /** * Hàm mở ra hộp thoại chọn icon */ openDialogChooseIcon(): void; /** *Hàm update class vào database, và gửi cập nhật width, height cho object-selected */ updateClassAndWidthHeight(): void; changeSizeCheckbox(field: any, value: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }