import { HttpClient } from '@angular/common/http'; import { VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb'; import * as i0 from "@angular/core"; export declare class AtwTableOfContentConfig { vhQueryAutoWeb: VhQueryAutoWeb; private http; private vhEventMediator; objectChoosing: any; device: any; class: any; config: any; type: any; staticdata: any; blocks_of_page: any; isCollapsed: boolean; currentViewAll: any; isViewAll: boolean; style_fields: { title: string; index: number; }[]; /** Cấp được chọn để cấu hình */ selectedLevel: number; constructor(vhQueryAutoWeb: VhQueryAutoWeb, http: HttpClient, vhEventMediator: VhEventMediator); ngOnInit(): void; /** * Dùng để translate cho phần cấu hình Khoảng cách (margin) */ translationMap: { [key: string]: string; }; /** * Lấy label tiếng việt của type. * @param type ví dụ: top, right, bottom, left * @returns label tiếng việt. Ví dụ: tren, phai, duoi, trai */ getTranslatedLabel(type: string): string; /** * 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; /** * Cập nhật staticdata vào database. */ updateStaticdata(): 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 */ openMap: { [name: string]: boolean; }; openHandler(value: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }