import { HttpClient } from '@angular/common/http'; import { OnInit, SimpleChanges } from '@angular/core'; import { VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb'; import { AtwUpdateDbComponent } from 'vhobjects-service'; import { ThemeService } from 'vhobjects-service'; import { FunctionService } from 'vhobjects-service'; import * as i0 from "@angular/core"; export declare class AtwChoosePropertyAdminConfig extends AtwUpdateDbComponent implements OnInit { vhQueryAutoWeb: VhQueryAutoWeb; private http; vhEventMediator: VhEventMediator; themeService: ThemeService; private platformId; functionService: FunctionService; objectChoosing: any; device: any; class: any; config: any; staticdata: any; blocks_of_page: any; currentViewAll: any; isViewAll: boolean; valueRange: number; valueParameter: number; style_color: string; backgroundColor: any; styles_field: { title: string; index: number; }[]; effect_hover: any[]; effect_hover_data: any; width: number; height: number; configMode: 'basic' | 'advanced'; constructor(vhQueryAutoWeb: VhQueryAutoWeb, http: HttpClient, vhEventMediator: VhEventMediator, themeService: ThemeService, platformId: Object, functionService: FunctionService); parserPercent: (value: string) => string; formatterPercent: (value: number) => string; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; /** * hàm này để update width height trong dimention của config */ updateDimension(): void; /** *Hàm update config vào database. */ updateConfig(): void; /** * Cập nhật staticdata vào database. */ updateStaticData(): void; customize: any[]; /** * 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; /** * 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. * * Nếu là text-align: left thì padding-left là phần configPaddingLeftRight, padding-right sẽ nhận toàn bộ phần padding còn lại, trừ đi configPaddingLeftRight; tương tự với trường hợp text-align: right. * Đối với text-align: center thì là padding / 2 */ changeWidthHeight(event: any): void; /** *Hàm update class vào dabase, và gửi cập nhật width, height cho object-selected */ updateClassAndWidthHeight(): 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; }