import { EventEmitter, OnInit, SimpleChanges } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { VhImage, VhQueryAutoWeb } from 'vhautowebdb'; import { NzContextMenuService, NzDropdownMenuComponent } from 'ng-zorro-antd/dropdown'; import { FunctionService } from 'vhobjects-service/src/services'; import { HttpClient } from '@angular/common/http'; import { NzModalService } from 'ng-zorro-antd/modal'; import * as i0 from "@angular/core"; export declare class PageConfigComponent implements OnInit { private vhQueryAutoWeb; private vhImage; private matdialog; functionService: FunctionService; private nzContextMenuService; private dialog; private http; private platformId; private nzModalService; detailCurrentPage: any; blocks_of_page: any; selectedDevice: any; freeblocks: any; type: string; closeConfig: EventEmitter; createTemplatePage: EventEmitter; optionsBackground: { label: string; value: string; }[]; config: any; class: any; staticdata: any; effect_hover: any[]; effect_hover_data: any; customize: any[]; isViewAll: boolean; currentViewAll: any; style_fields: { title: string; index: number; }[]; transparent: boolean; background: boolean; isCollapsed: boolean; idHeaderMain: any; blockChatbox: any; blockPopupWelcome: any; resolution: any; urlBackgroundImage: string; isOpenOptionsBorder: boolean; subproject: any; type_upload: number; image_choosing: any; configUpdates: { "animation-selected": { id: string; }; animation_delay_page: number; }; staticdataUpdates: { tablet_portrait_animation: { "animation-0": {}; }; mobile_portrait_animation: { "animation-0": {}; }; mobile_landscape_animation: { "animation-0": {}; }; tablet_portrait_animation_type: string; tablet_landscape_animation_type: string; tablet_landscape_animation: { "animation-0": {}; }; mobile_portrait_animation_type: string; mobile_landscape_animation_type: string; desktop_animation: { "animation-0": {}; }; desktop_animation_type: string; }; constructor(vhQueryAutoWeb: VhQueryAutoWeb, vhImage: VhImage, matdialog: MatDialog, functionService: FunctionService, nzContextMenuService: NzContextMenuService, dialog: MatDialog, http: HttpClient, platformId: Object, nzModalService: NzModalService); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; updateStaticData(): void; updateConfig(): void; updateClass(): void; close(): void; /** * hàm này để cập nhật resolution cho subproject */ updateResolution(reload?: boolean): void; /** UPLOAD IMAGE */ openUpload(): void; onUpload(e: any): void; generateUniqueId(): string; isShowContextMenu: boolean; onContextMenu(event: MouseEvent, menu: NzDropdownMenuComponent): void; /** Hàm thực hiện mở popup thêm danh mục * */ createTemplateByUploadImage(): 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 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 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(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; /** * 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; updateBackgroundRgb(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }