import { HttpClient } from '@angular/common/http'; import { OnInit } from '@angular/core'; import { VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb'; import { FunctionService } from 'vhobjects-service/src/services'; import * as i0 from "@angular/core"; export declare class AtwNewFieldTextConfig implements OnInit { private vhQueryAutoWeb; private vhEventMediator; private http; functionService: FunctionService; objectChoosing: any; device: any; class: any; config: any; type: any; staticdata: any; template: any; lookupGroupArray: number[]; currentField: any; newFields: any[]; isViewAll: boolean; currentViewAll: any; styles_field: { title: string; index: number; }[]; text_style: any; /** Danh sách giải thích loại văn bản tương ứng SEO */ seoTextTypes: any; effect_hover: any[]; effect_hover_data: any; newFieldCKEditors: any; customize: any[]; constructor(vhQueryAutoWeb: VhQueryAutoWeb, vhEventMediator: VhEventMediator, http: HttpClient, functionService: FunctionService); ngOnInit(): void; ngOnChanges(): void; getNewFileds(): 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; }; /** * Cập nhật Kiểu văn bản */ handleSetTextStyle(action: any): void; /** * Xử lý kiểu Uốn cong */ handleSetCurveText(): void; /** * Hàm update object vào database. */ updateObject(): Promise; /** * Cập nhật staticdata vào database. */ updateStaticData(): void; /** * Hàm update class */ updateClass(): void; /** * Hàm update config */ updateConfig(): 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; /** * Hàm này thực hiện thêm màu gradient vào array. * */ addGradient(): 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 */ deleteGradient(index: any): void; /** * Cập nhật Kiểu danh sách đầu dòng, đánh số */ handleListStyle(style: string): 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 gradient * @param event : trả về giá trị từ 0-100 */ getValueRangeBackgroundGradient(e: any): void; /** * Cập nhật Gradient */ handleSetGradientText(): void; /** * Cập nhật transform */ handleSetTextRotate(): void; /** * Cập nhật các thuộc tính border-radius */ handleSetBorderRadius(): 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 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; openbgGradient(): 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; changeLookupGroup(event: any): void; onChangeFieldCustom(selectedValue: 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 // */ updateTypeDisplay(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }