ng-easycommerce 0.0.608 → 0.0.609

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,11 +4,13 @@ import { ComponentHelper } from '../../../classes/component-helper';
4
4
  import { CheckoutService } from '../../../services/checkout/checkout.service';
5
5
  import { PaymentService } from '../../../services/checkout/payment.service';
6
6
  import { ToastService } from '../../../utils/toast.service';
7
+ import { CartService } from '../../../services/cart.service';
7
8
  export declare class PaymentEcComponent extends ComponentHelper implements OnChanges, OnInit {
8
9
  protected renderer: Renderer2;
9
10
  protected toastr: ToastService;
10
11
  paymentService: PaymentService;
11
12
  checkoutService: CheckoutService;
13
+ private cartService;
12
14
  step_id: any;
13
15
  protected mercadopago_button: ElementRef;
14
16
  protected methodDataSubject: BehaviorSubject<any>;
@@ -22,7 +24,8 @@ export declare class PaymentEcComponent extends ComponentHelper implements OnCha
22
24
  method_data$: import("rxjs").Observable<any>;
23
25
  loading$: import("rxjs").Observable<boolean>;
24
26
  total_amount: any;
25
- constructor(renderer: Renderer2, toastr: ToastService, paymentService: PaymentService, checkoutService: CheckoutService);
27
+ allowAnyPaymentMethod: boolean;
28
+ constructor(renderer: Renderer2, toastr: ToastService, paymentService: PaymentService, checkoutService: CheckoutService, cartService: CartService);
26
29
  ngOnChanges(): void;
27
30
  ngOnInit(): void;
28
31
  allData: () => any;
@@ -33,6 +36,7 @@ export declare class PaymentEcComponent extends ComponentHelper implements OnCha
33
36
  setMethod: (method: any) => Promise<void>;
34
37
  setActive(e: any): void;
35
38
  submitForm: (event: any) => boolean;
39
+ shouldDisplayMethod(method: any): boolean;
36
40
  getPK: (method: any) => any;
37
41
  isRedirectRedsys: (code: string) => boolean;
38
42
  isRedirectCecaBank: (code: string) => boolean;
@@ -18,6 +18,7 @@ export declare class SidebarEcComponent {
18
18
  variantsToShow: string[];
19
19
  hideDiscounts: boolean;
20
20
  hideTaxes: boolean;
21
+ creditAccountShowPrices: boolean;
21
22
  constructor(cartService: CartService, consts: Constants, authService: AuthService, router: Router, toastrService: ToastService, channelConfigService: ChannelConfigService);
22
23
  ngOnInit(): void;
23
24
  actualizarCantidad: (item: any, cantidad: any, stock: any, id?: any) => void;