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.
- package/README.md +7 -0
- package/bundles/ng-easycommerce.umd.js +66 -12
- 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/core.consts.js +13 -1
- package/esm2015/lib/ec-component/checkout-ec/dataform-ec/dataform-ec.component.js +32 -8
- package/esm2015/lib/ec-component/checkout-ec/detail-checkout-block-ec/detail-checkout-block-ec.component.js +14 -4
- package/esm2015/lib/ec-component/sidebar-ec/sidebar-ec.component.js +13 -3
- package/esm5/lib/core.consts.js +13 -1
- package/esm5/lib/ec-component/checkout-ec/dataform-ec/dataform-ec.component.js +32 -8
- package/esm5/lib/ec-component/checkout-ec/detail-checkout-block-ec/detail-checkout-block-ec.component.js +14 -4
- package/esm5/lib/ec-component/sidebar-ec/sidebar-ec.component.js +13 -3
- package/fesm2015/ng-easycommerce.js +66 -12
- package/fesm2015/ng-easycommerce.js.map +1 -1
- package/fesm5/ng-easycommerce.js +66 -12
- package/fesm5/ng-easycommerce.js.map +1 -1
- package/lib/core.consts.d.ts +2 -0
- package/lib/ec-component/checkout-ec/dataform-ec/dataform-ec.component.d.ts +1 -0
- package/lib/ec-component/checkout-ec/detail-checkout-block-ec/detail-checkout-block-ec.component.d.ts +5 -1
- package/lib/ec-component/sidebar-ec/sidebar-ec.component.d.ts +5 -1
- package/ng-easycommerce.metadata.json +1 -1
- package/package.json +1 -1
package/lib/core.consts.d.ts
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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;
|