ng-easycommerce-v18 0.3.21-beta.3 → 0.3.22-beta.1

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.
@@ -46,6 +46,10 @@ export declare class ApiConstantsService {
46
46
  */
47
47
  setChannel(code: string): void;
48
48
  setLocale(locale: string): void;
49
+ /**
50
+ * Indica si la aplicación está corriendo en producción.
51
+ */
52
+ get IS_PRODUCTION(): boolean;
49
53
  private readonly LOCALE_KEY;
50
54
  private readonly CHANNEL_KEY;
51
55
  static ɵfac: i0.ɵɵFactoryDeclaration<ApiConstantsService, never>;
@@ -6,7 +6,6 @@ export declare class MpRedirectEcComponent implements OnInit, OnDestroy {
6
6
  private _toastService;
7
7
  private platformId;
8
8
  private finished;
9
- private ngZone;
10
9
  method: null;
11
10
  total_amount: number;
12
11
  allData: any;
@@ -33,6 +33,11 @@ export declare class GTMService {
33
33
  private config;
34
34
  private platformId;
35
35
  constructor();
36
+ private get isBrowser();
37
+ /** Acceso al window SSR-safe */
38
+ private get windowRef();
39
+ /** Acceso al document SSR-safe */
40
+ private get documentRef();
36
41
  /**
37
42
  * Obtiene el dataLayer del objecto window
38
43
  * @returns
@@ -13,6 +13,10 @@ export declare class ParametersService {
13
13
  * Maneja las peticiones a la API
14
14
  */
15
15
  private connection;
16
+ /**
17
+ * Servicio de Analytics
18
+ */
19
+ private analyticsService;
16
20
  /**
17
21
  * Devuelve la URL para obtener todos los parametros.
18
22
  * @returns
@@ -35,6 +39,8 @@ export declare class ParametersService {
35
39
  * @returns El objeto con los datos del parámetro encontrado, sino retorna `null`
36
40
  */
37
41
  hasParams(params: any, code: string): any;
42
+ private findAnalyticsParam;
43
+ private initAnalyticsFromParams;
38
44
  constructor();
39
45
  static ɵfac: i0.ɵɵFactoryDeclaration<ParametersService, never>;
40
46
  static ɵprov: i0.ɵɵInjectableDeclaration<ParametersService>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-easycommerce-v18",
3
- "version": "0.3.21-beta.3",
3
+ "version": "0.3.22-beta.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.0",
6
6
  "@angular/core": "^18.2.0"