ng-easycommerce 0.0.596 → 0.0.598

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.
@@ -207,5 +207,7 @@ export declare class Constants {
207
207
  */
208
208
  setSortFilters: (filtersCode?: string[]) => string[];
209
209
  getSortFilters: () => string[];
210
+ private postalCodePatterns;
211
+ getPostalCodePattern(countryCode: string): RegExp;
210
212
  }
211
213
  export {};
@@ -80,6 +80,7 @@ export declare class DataFormEcComponent extends ComponentHelper implements OnIn
80
80
  protected emitResult: () => Promise<void>;
81
81
  openModal(template: TemplateRef<any>): void;
82
82
  setSelectAddress: (addressSelect: any) => void;
83
+ updatePostalCodeValidation(countryCode: string): void;
83
84
  selectAddress: (items: any) => Promise<void>;
84
85
  getMode: () => boolean;
85
86
  prueba(x: any): void;
@@ -3,16 +3,20 @@ import { ComponentHelper } from '../../../classes/component-helper';
3
3
  import { CheckoutData } from '../../../interfaces/checkout-data';
4
4
  import { CheckoutService } from '../../../services/checkout/checkout.service';
5
5
  import { CartService } from '../../../services/cart.service';
6
+ import { ChannelConfigService } from '../../../services/channel-config.service';
6
7
  export declare class DetailCheckoutBlockEcComponent extends ComponentHelper implements OnInit {
7
8
  checkoutService: CheckoutService;
8
9
  private cartService;
10
+ channelConfigService: ChannelConfigService;
9
11
  asociatedData: any;
10
12
  data: any;
11
13
  discountTotal: number;
12
14
  couponTotal: number;
13
15
  showPrice: boolean;
14
16
  creditAmountConfigured: boolean;
15
- constructor(checkoutService: CheckoutService, cartService: CartService);
17
+ hideDiscounts: boolean;
18
+ hideTaxes: boolean;
19
+ constructor(checkoutService: CheckoutService, cartService: CartService, channelConfigService: ChannelConfigService);
16
20
  ngOnInit(): void;
17
21
  calcularTotales(): void;
18
22
  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";
@@ -4,17 +4,21 @@ import { CartService } from '../../services/cart.service';
4
4
  import { AuthService } from '../../services/auth.service';
5
5
  import { User } from "../../classes/user";
6
6
  import { ToastService } from '../../utils/toast.service';
7
+ import { ChannelConfigService } from '../../services/channel-config.service';
7
8
  export declare class SidebarEcComponent {
8
9
  cartService: CartService;
9
10
  consts: Constants;
10
11
  authService: AuthService;
11
12
  router: Router;
12
13
  toastrService: ToastService;
14
+ channelConfigService: ChannelConfigService;
13
15
  user: User;
14
16
  mediaUrl: string;
15
17
  promotions: any[];
16
18
  variantsToShow: string[];
17
- constructor(cartService: CartService, consts: Constants, authService: AuthService, router: Router, toastrService: ToastService);
19
+ hideDiscounts: boolean;
20
+ hideTaxes: boolean;
21
+ constructor(cartService: CartService, consts: Constants, authService: AuthService, router: Router, toastrService: ToastService, channelConfigService: ChannelConfigService);
18
22
  ngOnInit(): void;
19
23
  actualizarCantidad: (item: any, cantidad: any, stock: any, id?: any) => void;
20
24
  redirectDetailProduct(product: any): void;