import { HttpClient } from '@angular/common/http'; import { OnInit, Renderer2 } from '@angular/core'; import { NzModalService } from 'ng-zorro-antd/modal'; import { VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb'; import { FunctionService, LanguageService } from 'vhobjects-service/src/services'; import * as i0 from "@angular/core"; export declare class AtwReviewConfig implements OnInit { vhQueryAutoWeb: VhQueryAutoWeb; private http; private vhEventMediator; private renderer; languageService: LanguageService; private nzModalService; private platformId; functionService: FunctionService; objectChoosing: any; device: any; class: any; config: any; staticdata: any; blocks_of_page: any; isCollapsed: boolean; fonts: any[]; effect_hover: any[]; effect_hover_data: any; customize: any; isViewAll: boolean; currentViewAll: any; openMap: { [name: string]: boolean; }; bootstrapIconArrows: any; stylesField: { title: string; index: number; }[]; typeGradient: { type: string; direction: string; name: string; deg: string; }[]; constructor(vhQueryAutoWeb: VhQueryAutoWeb, http: HttpClient, vhEventMediator: VhEventMediator, renderer: Renderer2, languageService: LanguageService, nzModalService: NzModalService, platformId: Object, functionService: FunctionService); ngOnInit(): 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; openHandler(value: string): 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 update object vào database. */ updateObject(): void; /** * Hàm update class vào database. */ updateClass(): void; /** * Hàm update config vào database. */ updateConfig(): void; /** * Hàm update staticdata vào database. */ updateStaticdata(): 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; /** * Khi thay đổi cấu hình Giới hạn chiều cao để cuộn */ updateMaxHeight(): void; updateBackgroundRgb(): 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; /** 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; /** * Hàm này thực hiện thêm màu gradient vào array. * */ addGradient(value: any): 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; onChangeArrows(arrows: any): void; onReviewTypeChange(type: 'review' | 'comment'): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }