ng-easycommerce 0.0.601 → 0.0.603

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.
Files changed (32) hide show
  1. package/README.md +4 -0
  2. package/bundles/ng-easycommerce.umd.js +218 -62
  3. package/bundles/ng-easycommerce.umd.js.map +1 -1
  4. package/bundles/ng-easycommerce.umd.min.js +1 -1
  5. package/bundles/ng-easycommerce.umd.min.js.map +1 -1
  6. package/esm2015/lib/ec-component/checkout-ec/payment-ec/payment-ec.component.js +3 -2
  7. package/esm2015/lib/ec-component/index.js +4 -1
  8. package/esm2015/lib/ec-component/widgets-ec/place-to-pay-ec/place-to-pay-ec.component.js +125 -0
  9. package/esm2015/lib/ec-component/widgets-ec/redsys-catch-ec/redsys-catch-ec.component.js +1 -1
  10. package/esm2015/lib/ng-easycommerce.module.js +3 -1
  11. package/esm2015/lib/services/auth.service.js +17 -4
  12. package/esm2015/lib/services/checkout/payment.service.js +3 -1
  13. package/esm2015/ng-easycommerce.js +22 -21
  14. package/esm5/lib/ec-component/checkout-ec/payment-ec/payment-ec.component.js +3 -2
  15. package/esm5/lib/ec-component/index.js +4 -1
  16. package/esm5/lib/ec-component/widgets-ec/place-to-pay-ec/place-to-pay-ec.component.js +143 -0
  17. package/esm5/lib/ec-component/widgets-ec/redsys-catch-ec/redsys-catch-ec.component.js +1 -1
  18. package/esm5/lib/ng-easycommerce.module.js +3 -1
  19. package/esm5/lib/services/auth.service.js +17 -4
  20. package/esm5/lib/services/checkout/payment.service.js +5 -1
  21. package/esm5/ng-easycommerce.js +22 -21
  22. package/fesm2015/ng-easycommerce.js +178 -43
  23. package/fesm2015/ng-easycommerce.js.map +1 -1
  24. package/fesm5/ng-easycommerce.js +198 -43
  25. package/fesm5/ng-easycommerce.js.map +1 -1
  26. package/lib/ec-component/checkout-ec/payment-ec/payment-ec.component.d.ts +1 -0
  27. package/lib/ec-component/index.d.ts +1 -0
  28. package/lib/ec-component/widgets-ec/place-to-pay-ec/place-to-pay-ec.component.d.ts +34 -0
  29. package/lib/services/checkout/payment.service.d.ts +2 -0
  30. package/ng-easycommerce.d.ts +21 -20
  31. package/ng-easycommerce.metadata.json +1 -1
  32. package/package.json +1 -1
@@ -47,5 +47,6 @@ export declare class PaymentEcComponent extends ComponentHelper implements OnCha
47
47
  isBankTransfer: (code: string) => boolean;
48
48
  isCatastro: (code: string) => boolean;
49
49
  isBamboo: (code: string) => boolean;
50
+ isPlaceToPay: (code: string) => boolean;
50
51
  getPKCulqi: (method: any) => any;
51
52
  }
@@ -78,3 +78,4 @@ export * from "./cookies-ec/toast-cookies-ec/toast-cookies-ec.component";
78
78
  export * from "./cookies-ec/modal-config-ec/modal-config-ec.component";
79
79
  export * from "./widgets-ec/bamboo-ec/bamboo-ec.component";
80
80
  export * from "./sidebar-ec/sidebar-ec.component";
81
+ export * from "./widgets-ec/place-to-pay-ec/place-to-pay-ec.component";
@@ -0,0 +1,34 @@
1
+ import { OnInit, EventEmitter, OnDestroy, Renderer2 } from '@angular/core';
2
+ import { ComponentHelper } from "../../../classes/component-helper";
3
+ import { ConnectionService } from '../../../api/connection.service';
4
+ import { ToastService } from '../../../utils/toast.service';
5
+ import { Constants } from '../../../core.consts';
6
+ import { CartService } from '../../../services/cart.service';
7
+ import { ActivatedRoute } from '@angular/router';
8
+ export declare class PlaceToPayEcComponent extends ComponentHelper implements OnInit, OnDestroy {
9
+ renderer: Renderer2;
10
+ connection: ConnectionService;
11
+ toastrService: ToastService;
12
+ consts: Constants;
13
+ cartService: CartService;
14
+ activedRoute: ActivatedRoute;
15
+ method: any;
16
+ total_amount: number;
17
+ paymentServiceInst: any;
18
+ allData: any;
19
+ ready: EventEmitter<any>;
20
+ loading: boolean;
21
+ url: string;
22
+ closeModal: string;
23
+ ventana: any;
24
+ protected dataRedirect: () => string;
25
+ constructor(renderer: Renderer2, connection: ConnectionService, toastrService: ToastService, consts: Constants, cartService: CartService, activedRoute: ActivatedRoute);
26
+ ngOnInit(): void;
27
+ ngOnDestroy(): void;
28
+ iniciar: () => void;
29
+ clearStorageState: () => void;
30
+ clickClose: () => void;
31
+ callState: () => void;
32
+ processError: (err: any) => void;
33
+ getPreference: () => void;
34
+ }
@@ -20,6 +20,7 @@ export declare class PaymentService extends StepService {
20
20
  getCheckoutMobbexApi: () => string;
21
21
  getCheckoutBancardApi: () => string;
22
22
  getCheckoutBambooApi: () => string;
23
+ getCheckoutPlaceToPayApi: () => string;
23
24
  putPaymentApi: (method: any) => string;
24
25
  constructor(connection: ConnectionService, toastrService: ToastService, cartService: CartService, consts: Constants, checkoutService: CheckoutService, analyticsService: AnalyticsService);
25
26
  getPaymentMethods: () => Promise<void>;
@@ -28,5 +29,6 @@ export declare class PaymentService extends StepService {
28
29
  getCheckoutMobbex: (shipment_data: any) => Promise<any>;
29
30
  getCheckoutBancard: (shipment_data: any) => Promise<any>;
30
31
  getCheckoutBamboo: (shipment_data: any) => Promise<any>;
32
+ getCheckoutPlaceToPay: (shipment_data: any) => Promise<any>;
31
33
  private getRandomArbitrary;
32
34
  }
@@ -2,32 +2,33 @@
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
4
  export * from './public-api';
5
- export { StepService as ɵr } from './lib/classes/checkout/step-service';
6
- export { ComponentHelper as ɵj } from './lib/classes/component-helper';
5
+ export { StepService as ɵs } from './lib/classes/checkout/step-service';
6
+ export { ComponentHelper as ɵk } from './lib/classes/component-helper';
7
7
  export { StepEcComponent as ɵg } from './lib/ec-component/checkout-ec/step-ec/step-ec.component';
8
8
  export { ComparedProductsEcComponent as ɵf } from './lib/ec-component/compared-products-ec/compared-products-ec.component';
9
9
  export { components as ɵb } from './lib/ec-component/index';
10
10
  export { SellerDashboardContainerEcComponent as ɵc } from './lib/ec-component/seller-dashboard-container-ec/seller-dashboard-container-ec.component';
11
11
  export { BancardCatastroEcComponent as ɵi } from './lib/ec-component/widgets-ec/bancard-catastro-ec/bancard-catastro-ec.component';
12
12
  export { CulqiEcComponent as ɵh } from './lib/ec-component/widgets-ec/culqi-ec/culqi-ec.component';
13
+ export { PlaceToPayEcComponent as ɵj } from './lib/ec-component/widgets-ec/place-to-pay-ec/place-to-pay-ec.component';
13
14
  export { RecaptchaEcComponent as ɵe } from './lib/ec-component/widgets-ec/re-captcha-ec/re-captcha-ec.component';
14
15
  export { MagnizoomComponent as ɵd } from './lib/ec-component/widgets-ec/zoom-ec/magnizoom.component';
15
- export { directives as ɵw } from './lib/ec-directive/index';
16
- export { ProductOffDirective as ɵx } from './lib/ec-directive/product-off.directive';
17
- export { ReloadViewDirective as ɵy } from './lib/ec-directive/reload-view.directive';
18
- export { pipes as ɵz } from './lib/ec-pipe/index';
19
- export { CustomerInterceptor as ɵbc } from './lib/interceptors/customer.interceptor';
16
+ export { directives as ɵx } from './lib/ec-directive/index';
17
+ export { ProductOffDirective as ɵy } from './lib/ec-directive/product-off.directive';
18
+ export { ReloadViewDirective as ɵz } from './lib/ec-directive/reload-view.directive';
19
+ export { pipes as ɵba } from './lib/ec-pipe/index';
20
+ export { CustomerInterceptor as ɵbd } from './lib/interceptors/customer.interceptor';
20
21
  export { OrderByPipe as ɵa } from './lib/pipes/order-by.pipe';
21
- export { BlocksRepositoryService as ɵk } from './lib/services/blocks/blocks-repository.service';
22
- export { ErrorHandlerService as ɵs } from './lib/services/checkout/error-handler.service';
23
- export { CookiesService as ɵv } from './lib/services/cookies.service';
24
- export { IpService as ɵt } from './lib/services/ip-address.service';
25
- export { DopplerService as ɵp } from './lib/utils/analytics/doppler.service';
26
- export { FacebookPixelService as ɵl } from './lib/utils/analytics/facebook-pixel.service';
27
- export { GoogleAnalyticsService as ɵm } from './lib/utils/analytics/google-analytics.service';
28
- export { GTMService as ɵn } from './lib/utils/analytics/gtm.service';
29
- export { MetricoolPixelService as ɵo } from './lib/utils/analytics/metricool-pixel.service';
30
- export { OptionsOfProductListDataReceiverService as ɵba } from './lib/utils/options-of-product-list-data.service';
31
- export { OrderUtilityService as ɵq } from './lib/utils/order-util.service';
32
- export { PaymentUtils as ɵbb } from './lib/utils/payment-utils.service';
33
- export { ShipmentDataTransformer as ɵu } from './lib/utils/shipment-transformer.service';
22
+ export { BlocksRepositoryService as ɵl } from './lib/services/blocks/blocks-repository.service';
23
+ export { ErrorHandlerService as ɵt } from './lib/services/checkout/error-handler.service';
24
+ export { CookiesService as ɵw } from './lib/services/cookies.service';
25
+ export { IpService as ɵu } from './lib/services/ip-address.service';
26
+ export { DopplerService as ɵq } from './lib/utils/analytics/doppler.service';
27
+ export { FacebookPixelService as ɵm } from './lib/utils/analytics/facebook-pixel.service';
28
+ export { GoogleAnalyticsService as ɵn } from './lib/utils/analytics/google-analytics.service';
29
+ export { GTMService as ɵo } from './lib/utils/analytics/gtm.service';
30
+ export { MetricoolPixelService as ɵp } from './lib/utils/analytics/metricool-pixel.service';
31
+ export { OptionsOfProductListDataReceiverService as ɵbb } from './lib/utils/options-of-product-list-data.service';
32
+ export { OrderUtilityService as ɵr } from './lib/utils/order-util.service';
33
+ export { PaymentUtils as ɵbc } from './lib/utils/payment-utils.service';
34
+ export { ShipmentDataTransformer as ɵv } from './lib/utils/shipment-transformer.service';