import { OnInit } from '@angular/core'; import { VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb'; import { HttpClient } from '@angular/common/http'; import { MatDialog } from '@angular/material/dialog'; import { FunctionService } from 'vhobjects-service/src/services'; import { AtwUpdateDbComponent } from 'vhobjects-service/src/services'; import { ThemeService } from 'vhobjects-service/src/services'; import * as i0 from "@angular/core"; export declare class AtwMultiLanguageConfig extends AtwUpdateDbComponent implements OnInit { vhQueryAutoWeb: VhQueryAutoWeb; private http; private matDialog; themeService: ThemeService; private platformId; functionService: FunctionService; vhEventMediator: VhEventMediator; objectChoosing: any; device: any; class: any; config: any; staticdata: any; isViewAll: boolean; currentViewAll: any; isCollapsed: boolean; styles_field: { title: string; index: number; }[]; displayType: { name: string; type: string; }[]; fonts: any[]; effect_hover: any[]; effect_hover_data: any; dataAfterChange: any; arr_link_page: any; id_subproject: any; customize: any; codeEditLangName: string; constructor(vhQueryAutoWeb: VhQueryAutoWeb, http: HttpClient, matDialog: MatDialog, themeService: ThemeService, platformId: Object, functionService: FunctionService, vhEventMediator: VhEventMediator); ngOnInit(): void; ngOnChanges(): 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; }; openMapSub: { [name: string]: boolean; }; /** * Cập nhật staticdata vào database. */ /** * Hàm này dùng để mở dialog của component icon */ openDialogChooseIcon(): 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; /** * Hàm cập nhật background linear-gradient * @param classname : tên class muốn thay đổi * @param configname : tên config muốn thay đổi */ updateBackgroundRgb(classname: any, configname: any): void; /** * Hàm này cho phép xóa phần tử màu gradient trong array bằng index của phần tử đó. * @param index : vị trí phần tử muốn xóa * @param classname : tên class muốn thay đổi * @param configname : tên config muốn thay đổi */ deleteGradient(index: any, classname: any, configname: any): void; /** * Hàm này thực hiện thêm màu gradient vào array. * @param classname : tên class muốn thay đổi * @param configname : tên config muốn thay đổi */ addGradient(value: any, classname: any, configname: any): void; /** Hàm này cho phép chọn options direction của màu gradient * @param direction : trả về hướng phối màu được chọn * @param event : trả về element được active * @param classname : tên class muốn thay đổi * @param configname : tên config muốn thay đổi */ chooseOption(direction: any, event: any, classname: any, configname: any): void; updateDistance(): 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; /** * 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 */ openAnimationDetailChild(event: any): void; /** * Hàm này để xử lý hiệu ứng khi xuất hiện */ openAnimationAppear(): 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; initMissingData(): void; /** * Cập nhật kiểu hiển thị của đa ngôn ngữ */ handleDisplayType(event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }