import { CdkDragDrop } from '@angular/cdk/drag-drop'; import { EventEmitter, OnInit, SimpleChanges } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { JsonDataService } from 'vhobjects-service/src/services'; import { VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb'; import { NzContextMenuService, NzDropdownMenuComponent } from 'ng-zorro-antd/dropdown'; import { HttpClient } from '@angular/common/http'; import { FunctionService } from 'vhobjects-service'; import { AtwUpdateDbComponent } from 'vhobjects-service'; import * as i0 from "@angular/core"; export declare class AtwFrameBannerAdminConfig extends AtwUpdateDbComponent implements OnInit { vhQueryAutoWeb: VhQueryAutoWeb; private jsonDataService; private nzContextMenuService; private matDialog; private http; vhEventMediator: VhEventMediator; private platformId; functionService: FunctionService; objectChoosing: any; device: any; position: any; class: any; config: any; type: any; staticdata: any; changeOptionConfig: EventEmitter; isViewAll: boolean; isCollapsed: boolean; dataConfig: any; fonts: any[]; slideTransitionAnimation: { label: string; value: string; }[]; stylesField: { title: string; index: number; }[]; positionMap: { bottom: string; top: string; left: string; right: string; }; currentViewAll: any; openMenu: { [name: string]: boolean; }; urlBackgroundImage: string; configMode: 'basic' | 'advanced'; constructor(vhQueryAutoWeb: VhQueryAutoWeb, jsonDataService: JsonDataService, nzContextMenuService: NzContextMenuService, matDialog: MatDialog, http: HttpClient, vhEventMediator: VhEventMediator, platformId: Object, functionService: FunctionService); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; /** Thực hiện ẩn hiện menu config * * @param value */ openHandler(value: string): void; /** * Hàm này thực hiện them slide cho block, với giá trị slide cho trước. Chú ý: chỉ cần xử lí label */ addSlide(): void; deleteItem(frame: any): void; /** Hàm thực hiện xử lý khi thay đổi vị trí của banner * * @param event */ cdkDropListDropped(event: CdkDragDrop): void; isShowContextMenu: boolean; onContextMenu(event: MouseEvent, menu: NzDropdownMenuComponent): void; /** Hàm thay đổi thêm frame * * @param frame */ editNameItem(frame: any): void; /** Hàm thay đổi thêm frame * * @param frame */ editLabelItem(frame: 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; /** Hàm thực hiện cập nhật chọn icon phải cho frame * */ chooseIcon(position: 'prev' | 'next'): void; /** * Chọn slide ở phần config THÀNH PHẦN */ selectSlide(index: any): void; /** * Hàm thực hiện xử lý kích thước cho icon trong nút next/prev * @param event * @param type nút next hay prev */ handleSetIconFontSize(event: any, type: 'prev' | 'next'): void; /** * Set background cho nút next/prev * @param type nút next hay prev */ handleSetButtonBackground(type: any): void; /** * Set border cho nút next/prev * @param type nút next hay prev */ handleSetButtonBorder(type: any): void; /** * Kiểu nền cho nút next/prev * @param event * @param type nút next hay prev */ handleSetButtonStyle(event: any, type: any): void; /** * Toggle đổ bóng cho nút next/prev * @param type nút next hay prev */ handleToggleButtonBoxShadow(type: any): void; /** * Đổ bóng cho nút next/prev * @param type nút next hay prev */ handleSetButtonShadow(type: any): void; /** * Kích thước cho nút next/prev * @param event * @param type nút next hay prev */ handleSetButtonSize(event: any, type: any): void; /** * Hàm cập nhật Vị trí nút phân trang * @param event vị trí (flex-start/center/flex-end) */ handleSetDotsAlign(event: any): void; /** * Hàm cập nhật Vị trí nút phân trang * @param event vị trí (flex-start/center/flex-end) */ handleSetDotsPosition(event: any): void; /** * Kiểu nút slide * @param event */ handleSetDotsStyle(event: any): void; /** * Kích thước nút phân trang * @param event * @param state nút active hay không */ handleSetDotsSize(event: any, state: any): void; /** * Hàm set vị trí Số slide */ handleSetNumberTextContent(position: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }