ng-easycommerce-v18 0.3.5 → 0.3.7
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 +4 -0
- package/esm2022/lib/constants/core.constants.service.mjs +83 -4
- package/esm2022/lib/ec-components/product-detail-ec/product-detail-ec.component.mjs +9 -3
- package/esm2022/lib/interfaces/environment.mjs +1 -1
- package/fesm2022/ng-easycommerce-v18.mjs +89 -5
- package/fesm2022/ng-easycommerce-v18.mjs.map +1 -1
- package/lib/constants/core.constants.service.d.ts +15 -0
- package/lib/interfaces/environment.d.ts +1 -0
- package/package.json +1 -1
|
@@ -19,6 +19,10 @@ export declare class CoreConstantsService {
|
|
|
19
19
|
* Document token para acceso SSR-compatible al documento
|
|
20
20
|
*/
|
|
21
21
|
private document;
|
|
22
|
+
/**
|
|
23
|
+
* Contiene los datos provisto por el frontend en el archivo environment.ts
|
|
24
|
+
*/
|
|
25
|
+
private environment;
|
|
22
26
|
/**
|
|
23
27
|
* Guarda la variable window del web browser.
|
|
24
28
|
*/
|
|
@@ -64,6 +68,17 @@ export declare class CoreConstantsService {
|
|
|
64
68
|
* @returns {string} URL completa del frontend
|
|
65
69
|
*/
|
|
66
70
|
getFrontendUrl: (path?: string) => string;
|
|
71
|
+
/**
|
|
72
|
+
* Método debug para verificar la configuración de URLs
|
|
73
|
+
* @returns Información de debug sobre las URLs configuradas
|
|
74
|
+
*/
|
|
75
|
+
debugUrlConfig(): void;
|
|
76
|
+
/**
|
|
77
|
+
* Retorna la URL absoluta de una imagen para meta tags (compatible con SSR)
|
|
78
|
+
* @param postMedia - Ruta de la imagen
|
|
79
|
+
* @returns {string} URL absoluta de la imagen
|
|
80
|
+
*/
|
|
81
|
+
getAbsoluteImageUrl: (postMedia?: string) => string;
|
|
67
82
|
/**
|
|
68
83
|
* Retorna la url de las imagenes de los banners
|
|
69
84
|
* @returns
|