import { OnInit } from '@angular/core'; import { VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb'; import { HttpClient } from '@angular/common/http'; import { FunctionService } from 'vhobjects-service/src/services'; import * as i0 from "@angular/core"; export declare class AtwConfigProfileUser implements OnInit { private vhQueryAutoWeb; private http; private vhEventMediator; private platformId; functionService: FunctionService; objectChoosing: any; device: any; class: any; config: any; type: any; staticdata: any; isViewAll: boolean; currentViewAll: any; isCollapsed: boolean; styles_field: { title: string; index: number; }[]; dataAfterChange: any; valueRange: number; valueParameter: number; isOpenBackground: boolean; fieldSettingEffect: string; isOpenOptionsBorder: boolean; isOpenOptionsSubBorder: boolean; isOpenOptionsBorderSymbol: boolean; isActiveShowSubItem: boolean; style_color: string; arr_link_page: any; optionsIcon: { value: string; label: string; icon: string; }[]; fonts: any[]; backgroundColor: any; radius: string; subWidth: string; subHeight: string; subLetterSpacing: string; subMargin: string; subWidhtBorder: string; subMenuItemRadius: string; menuList: any; constructor(vhQueryAutoWeb: VhQueryAutoWeb, http: HttpClient, vhEventMediator: VhEventMediator, platformId: Object, functionService: FunctionService); ngOnInit(): void; /** * Handle remove menu trên mobile-menu * @param tree: Biến dùng để lưu data menu * @param currentLevel: Hàm trả về level cao nhất của cây * */ getMaxLevel(tree: any, currentLevel?: number): number; /** * Hàm này dùng để dịch chuyển mobilemenu con về bên phải trên mobile khi click về menu cha * @param menuId:cấp của menu con. */ addAttrClass(menuId: number): 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; /** * 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; /** * Xử lý lấy thông số giá trị background color. * @param event : trả về giá trị từ 0-100 */ getValueRangeBackgroundColor(e: any, type: any, id?: number): void; /** * Hàm này lấy giá trị màu nền của input color * @param event : trả về màu được chọn từ input color */ updateColorInput(e: any, type: any, mobileid?: number): 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, type: any, mobileid?: number | null): 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; /** * Update trường mobile_portrait_hidden or desktop_hidden cho object * @param value */ updateHidden(value: any): 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 */ openHandler(value: string): void; openMap: { [name: string]: boolean; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }