import { HttpClient } from '@angular/common/http'; import { EventEmitter, OnInit } from '@angular/core'; import { VhQueryAutoWeb, VhEventMediator } from 'vhautowebdb'; import { AtwUpdateDbComponent } from 'vhobjects-service'; import { FunctionService } from 'vhobjects-service'; import * as i0 from "@angular/core"; export declare class AtwReviewAdminConfig extends AtwUpdateDbComponent implements OnInit { vhQueryAutoWeb: VhQueryAutoWeb; vhEventMediator: VhEventMediator; private http; private platformId; functionService: FunctionService; objectChoosing: any; device: any; position: any; class: any; config: any; staticdata: any; type: any; blocks_of_page: any; changeOptionConfig: EventEmitter; isViewAll: boolean; isCollapsed: boolean; configMode: 'basic' | 'advanced'; currentViewAll: any; fonts: any[]; effect_hover: any[]; effect_hover_data: any; customize: any; bootstrapIconArrows: any; stylesField: { title: string; index: number; }[]; typeGradient: { type: string; direction: string; name: string; deg: string; }[]; /** Biến lưu cấu hình tự động dịch có đang bật không? Tránh gọi hàm getSetups_byFields quá nhiều lần */ private isAutoTranslate; constructor(vhQueryAutoWeb: VhQueryAutoWeb, vhEventMediator: VhEventMediator, http: HttpClient, platformId: Object, functionService: FunctionService); ngOnInit(): void; openViewAll(field: any): void; openMap: { [name: string]: boolean; }; openHandler(value: string): void; /** * Khi thay đổi cấu hình Giới hạn chiều cao để cuộn */ updateMaxHeight(): 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; /** * Hàm update staticdata vào database. */ updateStaticdata(): 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; updateBackgroundRgb(): 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): 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 */ chooseOption(direction: any, 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; /** * Hàm này thực hiện thêm màu gradient vào array. * */ addGradient(value: any): void; /** * @param index : vị trí phần tử muốn xóa * 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ử đó. */ deleteGradient(index: any): void; onChangeArrows(arrows: any): void; onReviewTypeChange(type: 'review' | 'comment'): void; /** * Update nội dung * @param fieldContent - Tên trường để cập nhật nội dung * @param fieldConfig - config * @example * data = [ { langCode: 'vi', translatedText: 'Bản đồ Việt Nam' } ] */ updateContent(fieldContent: any, fieldConfig?: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }