ng-easycommerce 0.0.581 → 0.0.582

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.
@@ -20,6 +20,8 @@ export declare class OrderEcComponent extends ComponentHelper implements OnInit
20
20
  error: any;
21
21
  numberOrder: any;
22
22
  allowRepeatOrders: boolean;
23
+ showPrice: boolean;
24
+ creditAmountConfigured: boolean;
23
25
  constructor(ordersService: OrdersService, activedRoute: ActivatedRoute, router: Router, consts: Constants, cartService: CartService, channelConfigService: ChannelConfigService);
24
26
  ngOnInit(): void;
25
27
  toDate: (date: any, format: any) => string;
@@ -3,16 +3,20 @@ import { Router } from '@angular/router';
3
3
  import { ComponentHelper } from '../../../classes/component-helper';
4
4
  import { Constants } from '../../../core.consts';
5
5
  import { OrdersService } from '../../../services/account/orders.service';
6
+ import { CartService } from '../../../services/cart.service';
6
7
  export declare class OrdersEcComponent extends ComponentHelper implements OnInit {
7
8
  ordersService: OrdersService;
8
9
  router: Router;
9
10
  protected consts: Constants;
11
+ private cartService;
10
12
  mediaUrl: any;
11
13
  orders: any;
12
14
  loading: boolean;
13
15
  error: any;
14
16
  sortValue: any;
15
17
  showImage: boolean;
18
+ showPrice: boolean;
19
+ creditAmountConfigured: boolean;
16
20
  /**
17
21
  * @description name -> nombre de clave de valuesToSort; asc -> true: ascendente, false: descendente
18
22
  */
@@ -21,7 +25,7 @@ export declare class OrdersEcComponent extends ComponentHelper implements OnInit
21
25
  * @description true -> ordena de forma ascendente | false -> ordena de forma decreciente
22
26
  */
23
27
  valuesToSort: any;
24
- constructor(ordersService: OrdersService, router: Router, consts: Constants);
28
+ constructor(ordersService: OrdersService, router: Router, consts: Constants, cartService: CartService);
25
29
  ngOnInit(): void;
26
30
  sortedByNewest: (orders: any) => any;
27
31
  goToOrder: (order: any) => void;
@@ -2,13 +2,17 @@ import { OnInit } from '@angular/core';
2
2
  import { ComponentHelper } from '../../../classes/component-helper';
3
3
  import { CheckoutData } from '../../../interfaces/checkout-data';
4
4
  import { CheckoutService } from '../../../services/checkout/checkout.service';
5
+ import { CartService } from '../../../services/cart.service';
5
6
  export declare class DetailCheckoutBlockEcComponent extends ComponentHelper implements OnInit {
6
7
  checkoutService: CheckoutService;
8
+ private cartService;
7
9
  asociatedData: any;
8
10
  data: any;
9
11
  discountTotal: number;
10
12
  couponTotal: number;
11
- constructor(checkoutService: CheckoutService);
13
+ showPrice: boolean;
14
+ creditAmountConfigured: boolean;
15
+ constructor(checkoutService: CheckoutService, cartService: CartService);
12
16
  ngOnInit(): void;
13
17
  calcularTotales(): void;
14
18
  getIcon: (data_item: CheckoutData) => "fas fa-ticket-alt fa-3x" | "fas fa-tags fa-3x" | "fas fa-shipping-fast fa-3x" | "fas fa-boxes fa-3x" | "fas fa-file-invoice-dollar fa-3x" | "fas fa-shopping-basket fa-3x";