import { HttpClient } from '@angular/common/http'; import { EventEmitter, OnInit } from '@angular/core'; import { VhQueryAutoWeb, VhEventMediator, VhAlgorithm } from 'vhautowebdb'; import { NzModalService } from 'ng-zorro-antd/modal'; import { LanguageService } from 'vhobjects-service/src/services'; import { FunctionService } from 'vhobjects-service'; import { AtwUpdateDbComponent } from 'vhobjects-service'; import * as i0 from "@angular/core"; export declare class AtwFrameProductsAdminConfig extends AtwUpdateDbComponent implements OnInit { vhQueryAutoWeb: VhQueryAutoWeb; private nzModalService; private languageService; vhEventMediator: VhEventMediator; private http; private platformId; functionService: FunctionService; private vhAlgorithm; objectChoosing: any; device: any; position: any; class: any; config: any; type: any; staticdata: any; blocks_of_page?: any; changeOptionConfig: EventEmitter; width: number; height: number; isViewAll: boolean; currentViewAll: any; openMenu: { [name: string]: boolean; }; urlBackgroundImage: string; gapSpace: number; loadComplete: boolean; stylesField: { title: string; index: number; }[]; private classUpdates; private configUpdates; labelSectorMap: { [key: string]: string; }; main_sector_for_relate: any; relatedFields: any; animation: any; effect_hover: any[]; customize: any[]; configMode: 'basic' | 'advanced'; effect_hover_data: any; fonts: any; bootstrapIconArrows: any; editContentSubs: any; constructor(vhQueryAutoWeb: VhQueryAutoWeb, nzModalService: NzModalService, languageService: LanguageService, vhEventMediator: VhEventMediator, http: HttpClient, platformId: Object, functionService: FunctionService, vhAlgorithm: VhAlgorithm); ngOnInit(): void; ngOnChanges(): void; ngOnDestroy(): void; updateBackgroundRgb(viewMoreIndex: 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, viewMoreIndex: 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, viewMoreIndex: 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, viewMoreIndex: any): void; openHandler(value: string): 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 thực hiện kiểm tra điều kiện 1 hướng của viền và active option đấy nếu đủ điều kiện * * @param value */ checkActiveDirectionBorder(value: any): boolean; /** Hàm sẽ thực hiện disable các option khi lựa chọn tải ảnh nền cho frame * * @param valueItem * @returns */ checkDisableUploadImage(valueItem: any): boolean; updateTypeDisplay(): void; /** *Hàm update class vào database, và gửi cập nhật width, height cho object-selected */ updateClassAndWidthHeight(): 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; openModalEdit(): void; /** * Kiểu nút slide * @param event */ handleSetDotsStyle(event: any): void; /** * Kích thước cho nút next/prev * @param event * @param type nút next hay prev */ handleSetButtonSize(event: any): void; onChangeArrows(arrows: any): void; compareRelatedField(o1: any, o2: any): boolean; getMainSector(component: any): string; getRelatedFields(): void; getNewFileds(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }