import { ToastrService } from 'ngx-toastr'; import { QuickViewService } from './../../../services/quick-view.service'; import { EventEmitter, OnInit, OnDestroy } from '@angular/core'; import { CartService, CompareService, ConfService, LanguageService, WishListService } from '../../../../services'; import { CartItem, Variant } from '../../../../classes'; import { BehaviorSubject, Observable } from 'rxjs'; import { ProductService } from '../../../services/product.service'; import { Router } from '@angular/router'; import { Image } from '../../../../classes'; import * as i0 from "@angular/core"; export declare class QuickViewBaseComponent implements OnInit, OnDestroy { protected languageService: LanguageService; protected compareService: CompareService; protected wishlistService: WishListService; cartService: CartService; protected confService: ConfService; protected productService: ProductService; protected router: Router; protected quickViewService: QuickViewService; private toastr; protected langaugeService: LanguageService; thumbnialOptions: { items: number; margin: number; autoWidth: boolean; autoHeight: boolean; navText: string[]; nav: boolean; dots: boolean; responsive: { 0: { items: number; }; 576: { items: number; }; 768: { items: number; }; 991: { items: number; }; 1199: { items: number; }; }; }; language: {}; selectedOption: {}; product: any; myEvent: EventEmitter; simple: boolean; max: BehaviorSubject; quantity: number; options: {}; prices: any; price: number; variant: any; src: string; thumbImgs: Image[]; imageUrl: string; defaultImage: string; variantExists: boolean; wishListFeature$: Observable; fav: Observable; canAddToCart: boolean; variantUndefined: boolean; disableQuantity: boolean; selectedVariant: Variant; isLoading: boolean; defaultVariantCode: string; languageUrl: string; currencyCode: string; srtedVariant: Variant; modal: boolean; cartId: number; existsInCart: any; cartItems: CartItem[]; compare: Observable; maxRate: number; rate: number; compareFeature$: Observable; reviewsFeature$: Observable; imgIsLoaded: boolean; imgSrc: string; carouselOptions: { margin: number; items: number; autoplayHoverPause: boolean; dots: boolean; nav: boolean; navSpeed: number; autoplaySpeed: number; slideTransition: string; }; constructor(languageService: LanguageService, compareService: CompareService, wishlistService: WishListService, cartService: CartService, confService: ConfService, productService: ProductService, router: Router, quickViewService: QuickViewService, toastr: ToastrService, langaugeService: LanguageService); ngOnInit(): void; quantityChanged(): void; /** *this fun gets called on the quickView component and product details page with tow btns to increment and decrement. the difference between this fun and previous one is that handle increment and decrement properly taking in consideration not exceed the max quantity. * @param event event to the object which event is dispatched (its target) to query weather + or - btn clicked */ quantityChange(event: Event): void; optionChanged(code: any, value: any): void; toggleWishList(): void; manageVariant(): void; addToCart(): void; protected autoSelect(): void; toggleCompare(): void; getProductImg(product: any): void; close(): void; ngOnDestroy(): void; changeCarouselOptions(options?: object): { rtl: boolean; margin: number; items: number; autoplayHoverPause: boolean; dots: boolean; nav: boolean; navSpeed: number; autoplaySpeed: number; slideTransition: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }