ng-easycommerce 0.0.651-beta.1 → 0.0.651
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 +2 -4
- package/bundles/ng-easycommerce.umd.js +19 -47
- 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/account-ec/order-ec/order-ec.component.js +5 -3
- package/esm2015/lib/ec-component/cart-ec/cart-ec.component.js +4 -2
- package/esm2015/lib/ec-component/product-detail-ec/product-detail-ec.component.js +4 -2
- package/esm2015/lib/ec-component/sidebar-ec/sidebar-ec.component.js +4 -2
- package/esm2015/lib/services/currency.service.js +7 -43
- package/esm5/lib/ec-component/account-ec/order-ec/order-ec.component.js +5 -3
- package/esm5/lib/ec-component/cart-ec/cart-ec.component.js +4 -2
- package/esm5/lib/ec-component/product-detail-ec/product-detail-ec.component.js +4 -2
- package/esm5/lib/ec-component/sidebar-ec/sidebar-ec.component.js +4 -2
- package/esm5/lib/services/currency.service.js +7 -43
- package/fesm2015/ng-easycommerce.js +19 -47
- package/fesm2015/ng-easycommerce.js.map +1 -1
- package/fesm5/ng-easycommerce.js +19 -47
- package/fesm5/ng-easycommerce.js.map +1 -1
- package/lib/ec-component/account-ec/order-ec/order-ec.component.d.ts +1 -0
- package/lib/ec-component/cart-ec/cart-ec.component.d.ts +1 -0
- package/lib/ec-component/product-detail-ec/product-detail-ec.component.d.ts +1 -0
- package/lib/ec-component/sidebar-ec/sidebar-ec.component.d.ts +1 -0
- package/lib/services/currency.service.d.ts +2 -14
- package/ng-easycommerce.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -24,6 +24,7 @@ export declare class OrderEcComponent extends ComponentHelper implements OnInit
|
|
|
24
24
|
hidePrices: boolean;
|
|
25
25
|
hideDiscounts: boolean;
|
|
26
26
|
hideTaxes: boolean;
|
|
27
|
+
enableFieldNotesInArticleFile: boolean;
|
|
27
28
|
constructor(ordersService: OrdersService, activedRoute: ActivatedRoute, router: Router, consts: Constants, cartService: CartService, channelConfigService: ChannelConfigService);
|
|
28
29
|
ngOnInit(): void;
|
|
29
30
|
toDate: (date: any, format: any) => string;
|
|
@@ -38,6 +38,7 @@ export declare class CartEcComponent extends ComponentHelper implements OnInit {
|
|
|
38
38
|
creditAccountShowPrices: boolean | null;
|
|
39
39
|
showTaxLegend: boolean;
|
|
40
40
|
cartLoading: boolean;
|
|
41
|
+
enableFieldNotesInArticleFile: boolean;
|
|
41
42
|
constructor(cartService: CartService, authService: AuthService, consts: Constants, productsService: ProductsService, router: Router, modalService: BsModalService, toastrService: ToastService, addressingService: AddressingService, channelConfigService: ChannelConfigService);
|
|
42
43
|
ngOnChanges(): void;
|
|
43
44
|
updateLoggedIn(): void;
|
|
@@ -35,6 +35,7 @@ export declare class ProductDetailEcComponent extends ComponentHelper implements
|
|
|
35
35
|
showReviews: boolean;
|
|
36
36
|
hidePrices: boolean;
|
|
37
37
|
creditAccountShowPrices: boolean | null;
|
|
38
|
+
enableFieldNotesInArticleFile: boolean;
|
|
38
39
|
contact: ElementRef;
|
|
39
40
|
constructor(productService: ProductDetailService, consts: Constants, activedRoute: ActivatedRoute, cartService: CartService, optionsService: OptionsService, productsService: ProductsService, analyticsService: AnalyticsService, router: Router, toastrService: ToastService, meta: Meta, injector: Injector);
|
|
40
41
|
deleteHTML(cadena: string): string;
|
|
@@ -21,6 +21,7 @@ export declare class SidebarEcComponent {
|
|
|
21
21
|
creditAccountShowPrices: boolean | null;
|
|
22
22
|
showTaxLegend: boolean;
|
|
23
23
|
cartLoading: boolean;
|
|
24
|
+
enableFieldNotesInArticleFile: boolean;
|
|
24
25
|
constructor(cartService: CartService, consts: Constants, authService: AuthService, router: Router, toastrService: ToastService, channelConfigService: ChannelConfigService);
|
|
25
26
|
ngOnInit(): void;
|
|
26
27
|
protected actualizarCantidad(item: any, cantidad: number | string, stock: number, id?: string): void;
|
|
@@ -19,7 +19,7 @@ export declare class CurrencyService {
|
|
|
19
19
|
private getConvertibilityApi;
|
|
20
20
|
constructor(consts: Constants, connection: ConnectionService, toastr: ToastService, injector: Injector);
|
|
21
21
|
/**
|
|
22
|
-
* @description Se carga la moneda por defecto
|
|
22
|
+
* @description Se carga la moneda por defecto.
|
|
23
23
|
*/
|
|
24
24
|
private loadDefaultCurrency;
|
|
25
25
|
/**
|
|
@@ -35,19 +35,7 @@ export declare class CurrencyService {
|
|
|
35
35
|
*/
|
|
36
36
|
setCurrency: (code: any) => Promise<void>;
|
|
37
37
|
/**
|
|
38
|
-
* Carga la lista de monedas
|
|
39
|
-
*
|
|
40
|
-
* Si no existe una moneda activa guardada en `localStorage`, inicializa la moneda activa
|
|
41
|
-
* tomando la moneda base del canal (`ChannelConfigService.baseCurrency`) y sus metadatos
|
|
42
|
-
* obtenidos de la lista (símbolo, posición, decimales). Si no se encuentra la base en la
|
|
43
|
-
* lista, usa la primera disponible.
|
|
44
|
-
*
|
|
45
|
-
* Finalmente, llama a `load()` para propagar la configuración a los observables y (si aplica)
|
|
46
|
-
* actualizar `localStorage`.
|
|
47
|
-
*
|
|
48
|
-
* @sideEffect Actualiza `currencyList$`, `Constants.setCurrencyTypeConfig` y potencialmente
|
|
49
|
-
* `Constants.setCurrency`.
|
|
50
|
-
* @returns void
|
|
38
|
+
* @description Carga la lista de monedas/currencies.
|
|
51
39
|
*/
|
|
52
40
|
private loadCurrencyList;
|
|
53
41
|
/**
|