import { OnInit } from '@angular/core'; import { VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb'; import { HttpClient } from '@angular/common/http'; import { AtwUpdateDbComponent } from 'vhobjects-service'; import { FunctionService } from 'vhobjects-service'; import * as i0 from "@angular/core"; export declare class AtwChooseSubproductAdminConfig extends AtwUpdateDbComponent implements OnInit { vhQueryAutoWeb: VhQueryAutoWeb; vhEventMediator: VhEventMediator; functionService: FunctionService; private http; data_tool: any; objectChoosing: any; device: any; class: any; config: any; type: any; dataAfterChange: any; id_project: any; tabs: string[]; isViewAll: boolean; currentViewAll: any; fonts: any[]; styles_field: { title: string; index: number; }[]; configMode: 'basic' | 'advanced'; constructor(vhQueryAutoWeb: VhQueryAutoWeb, vhEventMediator: VhEventMediator, functionService: FunctionService, http: HttpClient); ngOnInit(): 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; openMap: { [name: string]: boolean; }; /** Chọn kiểu units * @param index : Xác định kiểu unit * Ví dụ: kiểu 1 hoặc kiểu 2 */ chooseUnits(index: any): void; updateBorderColor(): 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 update class[operator + 'units__items--img'] và gán giá trị tương ứng * @param event Giá trị khi dùng $event trong html template * @param field Field của class cần update giá trị * @param unit Đơn vị đi kèm với giá trị, ví dụ: 'px', hoặc để trống '' * @param isUpdate Có cần update dữ liệu lên db không */ updateImgSub(event: any, field: any, unit?: string, isUpdate?: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }