ng-easycommerce 0.0.646 → 0.0.648

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.
@@ -7,7 +7,7 @@ import { AuthService } from '../../../services/auth.service';
7
7
  export declare class SelectChannelEcComponent extends ComponentHelper implements OnInit {
8
8
  authService: AuthService;
9
9
  private modalService;
10
- private router;
10
+ router: Router;
11
11
  bsModalRef: BsModalRef;
12
12
  protected template: TemplateRef<any>;
13
13
  subs: Subscription;
@@ -24,4 +24,5 @@ export declare class DetailCheckoutBlockEcComponent extends ComponentHelper impl
24
24
  getIcon2: (data_type: any) => "fas fa-ticket-alt fa-2x" | "fas fa-tags fa-2x" | "fas fa-percent fa-2x";
25
25
  getTypeLabel(type: string): string;
26
26
  shouldShowItem(type: string): boolean;
27
+ shouldHideSubtotal(item: any): boolean;
27
28
  }
@@ -3,6 +3,7 @@ import { Injector, PipeTransform } from '@angular/core';
3
3
  import { Constants } from '../core.consts';
4
4
  import { CurrencyService } from '../services/currency.service';
5
5
  import { ProductsService } from '../services/products/products.service';
6
+ export declare type EcCurrencyDecimalsMode = 'respectGlobalConfig' | 'alwaysShowDecimals' | 'alwaysHideDecimals';
6
7
  export declare class ecCurrencySymbolPipe implements PipeTransform {
7
8
  productsService: ProductsService;
8
9
  private currencyPipe;
@@ -11,9 +12,9 @@ export declare class ecCurrencySymbolPipe implements PipeTransform {
11
12
  private injector;
12
13
  private currency;
13
14
  constructor(productsService: ProductsService, currencyPipe: CurrencyPipe, consts: Constants, currencyService: CurrencyService, injector: Injector);
14
- transform(value: number): string;
15
- changeSymbolTransform: (valor: any) => any;
16
- clearSymbol: (value: any) => any;
17
- positionSymbol: (value: any) => string;
18
- checkingWithoutDecimals: (value: string) => string;
15
+ transform(value: number, mode?: EcCurrencyDecimalsMode): string;
16
+ private changeSymbolTransform;
17
+ private applyDecimalsPolicy;
18
+ private clearSymbol;
19
+ private positionSymbol;
19
20
  }