import { OnInit, SimpleChanges } from '@angular/core'; import { VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb'; import { NzPlacementType } from 'ng-zorro-antd/dropdown'; import { AtwUpdateDbComponent } from 'vhobjects-service'; import { FunctionService } from 'vhobjects-service'; import * as i0 from "@angular/core"; export declare class AtwImageVideoDetailAdminConfig extends AtwUpdateDbComponent implements OnInit { vhQueryAutoWeb: VhQueryAutoWeb; private platformId; functionService: FunctionService; vhEventMediator: VhEventMediator; objectChoosing: any; device: any; class: any; staticdata: any; config: any; type: any; isCarouselActive: boolean; isCarouselOtherImageActive: boolean; isHoverZoomActive: boolean; carouselID: string; gridClass: string; gridObjSelected: any; arrayImage: any; id_subproject: any; counterIndex: number; positionSelect: NzPlacementType; carouselState: any; iconArrowsSelected: any; bootstrapIconArrows: any; bootstrapIconArrowsUpDown: any; style_fields: ({ title: string; index: number; isDrop?: undefined; } | { title: string; index: number; isDrop: boolean; })[]; opacityArrow: string; opacityArrowHover: string; isViewAll: boolean; currentViewAll: any; constructor(vhQueryAutoWeb: VhQueryAutoWeb, platformId: Object, functionService: FunctionService, vhEventMediator: VhEventMediator); ngAfterViewChecked(): void; ngOnChanges(changes: SimpleChanges): void; ngOnInit(): void; isOpenViewAll(event: any): void; setVariablesValue(): void; setVariablesValueUpDown(): void; createElementID(): void; openViewAll(field: any): void; /** * * @param element element cần lấy translateX * @returns translateX: number */ getTranslateX(element: any): number; /**Click next của Carousel cài đặt * * @param id : id của carousel 'effect-carousel' * @param amountStep số lần chuyển slide mong muốn (tự xác định trước) */ onNext(id: any, amountStep: any): void; /** Xử lí chuyển slide của carousel * @param id : id của carousel [carouselID] */ hanldeNext(id: any): void; /** Xử lí chuyển slide của carousel * @param id : id của carousel [carouselID] */ hanldePrev(id: any): void; /** Xử lí | kiểm tra hiệu ứng chuyển slide của carousel * @param id : id của carousel [carouselID] * @event * các hiệu ứng * 'carousel-default' : mặc định * 'carousel-fadeout' : mờ dần * 'carousel-transition' : chuyển tiếp */ onImageNext(id: any, event: any): void; /** Xử lí | kiểm tra hiệu ứng chuyển slide của carousel * @param id : id của carousel [carouselID] * @event */ onImagePrev(id: any): void; /** Đi tới slide thứ number * @param id : id của carousel [carouselID] * @param number : vị trí slide trong mảng hình ảnh arrayImage */ gotoImageIndex(id: any, number: any): void; /** Function event khi ấn chuột vào ảnh và giữ lại * @param id : id của carousel [carouselID] * @param event */ onMouseDown(id: any, event: any): void; /** Function event khi nhả chuột khỏi ảnh * @param id : id của carousel [carouselID] * @param event */ onMouseUp(id: any, event: any): void; /** Function event khi chuột nằm trong ảnh * @param id : id của carousel [carouselID] * @param event */ onMouseEnter(id: any, event: any): void; /** Function event khi di chuyển chuột trong ảnh * @param id : id của carousel [carouselID] * @param event */ onMouseMove(id: any, event: any): void; /** Kiểm tra xem ảnh đã ở giới hạn chưa * @param id : id của carousel [carouselID] * @param event */ checkBoundary(id: any): void; /** Chọn hiệu ứng khi chuyển slide * @param effectName : Tên hiệu ứng 'carousel-default' | 'carousel-fadeout' | 'carousel-transition' | 'carousel-default' */ onSelectEffect(effectName: any): void; onClickObject(target: any, event: any): void; removeOutlineActive(): void; onChangeArrows(arrows: any): void; onChangeArrowsGrid2(arrows: any): void; onChangeArrowsUpDown(arrows: any): void; onSelectColor(): void; onChangeColour(apply: any, event: any): void; onChangeColourOpacity(apply: any, event: any): void; onChangeColourOpacityUpDown(apply: any, event: any): void; /** Xử lí lưu vị trí ảnh * -> xử lí dữ liệu bóng -> css: object-position: `x y` */ handleSetPositionImage(): void; scale(): void; hexToRgbA(hex: any, opacity: any): string; openColour(event: any): void; onSelectColorFor(event: any): void; onZoomSwitch(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }