UNPKG

@spartacus/storefront

Version:

Spartacus Storefront is a package that you can include in your application, which allows you to add default storefront features.

24 lines (23 loc) 1.19 kB
import { EventEmitter } from '@angular/core'; import { ModalRef, ModalService } from '../../../../shared/components/modal/index'; import { CustomerCoupon } from '@spartacus/core'; import { MyCouponsComponentService } from '../my-coupons.component.service'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class CouponCardComponent { protected modalService: ModalService; protected myCouponsComponentService: MyCouponsComponentService; coupon: CustomerCoupon; couponSubscriptionLoading$: Observable<boolean>; modalRef: ModalRef; notificationChanged: EventEmitter<{ couponId: string; notification: boolean; }>; constructor(modalService: ModalService, myCouponsComponentService: MyCouponsComponentService); onSubscriptionChange(): void; readMore(): void; findProducts(): void; static ɵfac: i0.ɵɵFactoryDeclaration<CouponCardComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<CouponCardComponent, "cx-coupon-card", never, { "coupon": "coupon"; "couponSubscriptionLoading$": "couponSubscriptionLoading$"; }, { "notificationChanged": "notificationChanged"; }, never, never>; }