import { OnInit, SimpleChanges } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { MatDialog } from '@angular/material/dialog'; import { VhQueryAutoWeb, VhEventMediator } from 'vhautowebdb'; import { FunctionService, ThemeService } from 'vhobjects-service'; import * as i0 from "@angular/core"; export declare class AtwBtnBookingConfig implements OnInit { vhQueryAutoWeb: VhQueryAutoWeb; private http; vhEventMediator: VhEventMediator; functionService: FunctionService; themeService: ThemeService; private matDialog; objectChoosing: any; device: any; class: any; config: any; staticdata: any; type: any; isCollapsed: boolean; isOpen: boolean; currentViewAll: any; isViewAll: boolean; id_subproject: any; arr_link_page: any; valueRange: number; valueParameter: number; style_color: string; isOpenOptionsBorder: boolean; fonts: any[]; backgroundColor: any; effect_hover: any; effect_hover_data: any; customize: any[]; block_modal: any[]; devicePosition: any; detailblock: any; subproject: any; width: number; height: number; parentComponent: string; typeGradient: { type: string; direction: string; name: string; deg: string; }[]; styles_field: { title: string; index: number; }[]; /** Options for selecting which link to pass as param */ linkParamTypeOptions: { value: string; label: string; }[]; /** đọc actionType 1 lần cho gọn template, giống bên component runtime AtwBtnBooking */ get actionType(): 'link' | 'drawer'; /** Check if parent is AtwFrameRoom or AtwFrameRoomByHotel */ get isRoomTypeFrame(): boolean; private isAutoTranslate; constructor(vhQueryAutoWeb: VhQueryAutoWeb, http: HttpClient, vhEventMediator: VhEventMediator, functionService: FunctionService, themeService: ThemeService, matDialog: MatDialog); ngOnInit(): void; ngOnChanges({ device }: SimpleChanges): void; /** * Lấy danh sách block dạng hover_blank để đổ vào mat-select "chọn khối hiển thị" */ getBlockClick(): void; /** * Lấy chi tiết block đang được chọn làm nội dung popup/drawer */ getDetailBlock(): void; updateBackgroundRgb(): void; /** Hàm update object vào database. */ updateObject(): Promise; updateClass(): void; updateConfig(): void; updateStaticData(): void; updateDimension(): void; updateClassAndWidthHeight(): void; removeLink(): void; hexToRGB(hex: string): string; getValueRangeBackgroundColor(e: any): void; getValueRangeBackgroundGradient(e: any): void; updateColorInput(e: any): void; chooseBg(bgColor: any, event: any): void; chooseOption(direction: any, event: any): void; toggleBorder(isActive: any): void; addGradient(value: any): void; deleteGradient(index: any): void; openViewAll(field_text: any): void; openMap: { [name: string]: boolean; }; openHandler(value: string): void; changeWidthHeight(event: any): void; openAnimationDetail(event: any): void; openColorContrast(): void; /** * Bắt sự kiện đổi hướng xuất hiện của drawer */ handlePositionDrawer(align: any): void; /** * Xử lý sự kiện đóng mở hộp thoại từ panel config (preview trong lúc thiết kế) */ handleShowDialog(isOpen: boolean): void; updateContent(fieldContent: any, isAriaLabel?: boolean): void; private readonly iconClassKeys; updateIconProp(prop: string, value: any, shouldPersist?: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }