import { OnInit } from '@angular/core'; import { VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb'; import * as i0 from "@angular/core"; export declare class AtwRateConfig implements OnInit { private vhQueryAutoWeb; private platformId; private vhEventMediator; staticdata: any; objectChoosing: any; type: string; device: any; class: any; config: any; listIcon: any; isViewAll: boolean; currentViewAll: any; openMap: { [name: string]: boolean; }; styles_field: { title: string; index: number; }[]; constructor(vhQueryAutoWeb: VhQueryAutoWeb, platformId: Object, vhEventMediator: VhEventMediator); ngOnInit(): 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; /** Xác định kiểu hiển thị đánh giá * @param type : kiểu hiển thị => ví dụ: stars,emotions,hearts * @param index : vị trí kiểu */ chooseType(type: any, index: any): void; /** * Hàm gọi và cập nhật type Icon Rate trong sản phẩm * @param typeIcon // kiểu hiển thị : star, emoji, hearts * @param index // vị trí hiển thị. */ chooseTypeRateDevice(typeIcon: any, index: any): void; updateHiiden(value: 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; /** * Cập nhật các giá trị class trong json */ updateClass(): void; updateConfig(): void; /** * Cập nhật staticdata vào database. */ updateStaticData(): void; /** * Cập nhật giá trị của object trong json. */ updateObject(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }