ng-easycommerce-v18 0.3.4 → 0.3.5

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.
@@ -15,6 +15,10 @@ export declare class CoreConstantsService {
15
15
  * Provee el ID de la plataforma en donde se esta ejecutando el codigo, esto sirve para poder diferenciar si es de un servidor o un navegador web.
16
16
  */
17
17
  private platformId;
18
+ /**
19
+ * Document token para acceso SSR-compatible al documento
20
+ */
21
+ private document;
18
22
  /**
19
23
  * Guarda la variable window del web browser.
20
24
  */
@@ -50,6 +54,16 @@ export declare class CoreConstantsService {
50
54
  * @returns
51
55
  */
52
56
  url: () => string;
57
+ /**
58
+ * URL del sitio frontend - Compatible con Angular SSR
59
+ */
60
+ get FRONTEND_URL(): string;
61
+ /**
62
+ * Retorna la URL completa del frontend con una ruta opcional
63
+ * @param path - Ruta opcional para agregar a la URL base
64
+ * @returns {string} URL completa del frontend
65
+ */
66
+ getFrontendUrl: (path?: string) => string;
53
67
  /**
54
68
  * Retorna la url de las imagenes de los banners
55
69
  * @returns
@@ -19,15 +19,13 @@ export declare class ProductDetailEcComponent implements OnInit, OnDestroy {
19
19
  private _meta;
20
20
  private _title;
21
21
  private _location;
22
- private _router;
23
- private _document;
24
- private _platformId;
25
22
  product$: Observable<Product | null>;
26
23
  options$: Observable<any>;
27
24
  data$: Observable<any>;
28
25
  private routeSubscription?;
29
26
  private route;
30
27
  private currentProductId?;
28
+ private _router;
31
29
  ngOnDestroy(): void;
32
30
  mediaUrl: string;
33
31
  code: string;
@@ -44,7 +42,6 @@ export declare class ProductDetailEcComponent implements OnInit, OnDestroy {
44
42
  hasParams: (params: any, code: string) => any;
45
43
  creditAccountShowPrices: boolean | null;
46
44
  private productSignal;
47
- private lastMetaTagsProductId;
48
45
  constructor();
49
46
  ngOnInit(): void;
50
47
  updateMetaTags(product: Product): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-easycommerce-v18",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.0",
6
6
  "@angular/core": "^18.2.0"