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.
- package/README.md +3 -0
- package/bundles/ng-easycommerce.umd.js +21 -3
- package/bundles/ng-easycommerce.umd.js.map +1 -1
- package/bundles/ng-easycommerce.umd.min.js +1 -1
- package/bundles/ng-easycommerce.umd.min.js.map +1 -1
- package/esm2015/lib/ec-component/checkout-ec/payment-ec/payment-ec.component.js +19 -4
- package/esm2015/lib/ec-component/sidebar-ec/sidebar-ec.component.js +5 -1
- package/esm5/lib/ec-component/checkout-ec/payment-ec/payment-ec.component.js +19 -4
- package/esm5/lib/ec-component/sidebar-ec/sidebar-ec.component.js +5 -1
- package/fesm2015/ng-easycommerce.js +21 -3
- package/fesm2015/ng-easycommerce.js.map +1 -1
- package/fesm5/ng-easycommerce.js +21 -3
- package/fesm5/ng-easycommerce.js.map +1 -1
- package/lib/ec-component/checkout-ec/payment-ec/payment-ec.component.d.ts +5 -1
- package/lib/ec-component/sidebar-ec/sidebar-ec.component.d.ts +1 -0
- package/ng-easycommerce.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -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
|
-
|
|
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;
|