import { EventEmitter, OnInit } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { VhEventMediator, VhImage, VhQueryAutoWeb } from 'vhautowebdb'; import { HttpClient } from '@angular/common/http'; import { NzUploadChangeParam, NzUploadFile } from 'ng-zorro-antd/upload'; import { AtwUpdateDbComponent } from 'vhobjects-service'; import { FunctionService } from 'vhobjects-service'; import * as i0 from "@angular/core"; interface OpenMap { [name: string]: { open: boolean; menuChild: { [itemMenu: string]: boolean; }; }; } export declare class AtwIconAdminConfig extends AtwUpdateDbComponent implements OnInit { private dialog; vhQueryAutoWeb: VhQueryAutoWeb; private http; vhEventMediator: VhEventMediator; private vhImage; functionService: FunctionService; config: any; class: any; objectChoosing: any; staticdata: any; type_config: string; type: any; device: any; closeConfigTool: EventEmitter; visible_config_tool: boolean; blocks_of_page?: any; iconSelected: EventEmitter; isViewAll: boolean; effect_hover: any[]; customize: any[]; effect_hover_data: any; currentViewAll: { title: string; index: number; }; id_subproject: any; textareaValue: string; dataAfterChange: any; styles_field: { title: string; index: number; }[]; fileList: NzUploadFile[]; configMode: 'basic' | 'advanced'; parserPercent: (value: string) => string; formatterPercent: (value: number) => string; parserDeg: (value: string) => string; formatterDeg: (value: number) => string; constructor(dialog: MatDialog, vhQueryAutoWeb: VhQueryAutoWeb, http: HttpClient, vhEventMediator: VhEventMediator, vhImage: VhImage, functionService: FunctionService); ngOnInit(): void; ngOnChanges(): void; parsePx(value: string | undefined): number; /** * Lấy fontSize từ width tổng và từ viền, khoảng đệm */ getFontSizeFromWidth(w?: any): number; /** * Chọn loại icon hiển thị */ chooseTypeICon(value: any): void; /** * Upload file SVG từ máy * @param event file upload từ máy */ onFileSelected(event: any): void; /** * Nhập Link URL * @param url */ loadSvgFromUrl(url?: string): void; /** * Chọn nguồn hiển thị icon svg */ toggleIconSvgSource(event: any): void; openMap: OpenMap; openHandler(value: string): void; /** * Hàm đóng */ close(): void; /** * Hàm mở ra hộp thoại chọn icon */ openDialogChooseIcon(): void; /** * Hàm update object vào database. */ /** *Hàm update class vào database. */ /** *Hàm update config vào database. */ /** * Cập nhật staticdata vào database. */ updateFilter(value: any): void; /** * Hàm cập nhật key và value của css * @param name * @param key */ updateCss(name: any, key: any): void; /** * Cap nhat cho admin */ updateDynamic(name: any, value: any): void; /** * Hàm kiểm tra đóng mở của menu config ở phần mở rộng */ openViewAll(field: any): void; handleSetTransform(axis: any): void; getOption: (compress: any, compressType: any) => any; handleChange(info: NzUploadChangeParam): void; SetTransform(): 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; } export {};