import { EventEmitter, OnInit, SimpleChanges } from '@angular/core'; import { VhQueryAutoWeb, VhEventMediator } from 'vhautowebdb'; import { NzPlacementType } from 'ng-zorro-antd/dropdown'; import { HttpClient } from '@angular/common/http'; import * as i0 from "@angular/core"; export declare class AtwFrameCommentConfig implements OnInit { vhQueryAutoWeb: VhQueryAutoWeb; private http; vhEventMediator: VhEventMediator; objectChoosing: any; device: any; position: any; class: any; config: any; type: any; changeOptionConfig: EventEmitter; isViewAll: boolean; isCollapsed: boolean; positionSelect: NzPlacementType; dataConfig: any; dataAfterChange: any; currentViewAll: any; stylesField: { title: string; index: number; }[]; optionsBackground: { label: string; value: string; }[]; cols: any; openBorderConfig: boolean; bootstrapIconArrows: any; fonts: any[]; effect_hover: any[]; customize: any[]; constructor(vhQueryAutoWeb: VhQueryAutoWeb, http: HttpClient, vhEventMediator: VhEventMediator); ngOnInit(): void; parserPercent: (value: string) => string; formatterPercent: (value: number) => string; /** Hàm này thực hiện khởi tạo dữ liệu; * */ initData(): void; ngOnChanges(changes: SimpleChanges): void; /** * Xử lí thay đổi số cột */ handleChangeCols(): void; /** * Xử lí thay đổi số dòng */ handleChangeRows(): void; /** Hàm này trả về một chuỗi để chia layout cho grid * @param cols * @param gap * * @example * cols = 4 * gap = 12 * Kết quả: calc(25% - 9px) * @return calc(${100/cols}% - ${(gap/cols)*(cols-1)}px) * */ calcSpaceGrid(cols: any): string; /** Hàm thực hiện xử lý font-size icon left * * @param event */ handleFontSizeIconLeft(event: any): void; /** Hàm thực hiện xử lý font-size icon right * * @param event */ handleFontSizeIconRight(event: any): void; /** Hàm thực hiện xử lý icon trái cách bên trái * * @param event */ handleLeftArrowLeft(event: any): void; /** Hàm thực hiện xử lý icon phải cách bên phải * * @param event */ handleRightArrowRight(event: any): void; /** Hàm thực hiện xử lý icon trái cách bên trên * * @param event */ handleTopArrowLeft(event: any): void; /** Hàm thực hiện xử lý icon phải cách bên trên * * @param event */ handleTopArrowRight(event: any): void; updateConfig(): void; updateClass(): void; updateStaticData(): void; openMap: { [name: string]: boolean; }; openHandler(value: string): 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; openBgColor(): void; onChangeArrows(arrows: any): void; /** * Kiểu nút slide * @param event */ handleSetDotsStyle(event: any): void; /** * Kích thước cho nút next/prev * @param event * @param type nút next hay prev */ handleSetButtonSize(event: any): 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; /** * 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; }