ng-easycommerce-v18 0.0.7 → 0.0.8

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.
@@ -1,5 +1,4 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class RegisterFormEcComponent {
5
4
  private _authService;
@@ -18,7 +17,7 @@ export declare class RegisterFormEcComponent {
18
17
  /**
19
18
  * Contiene el formulario de registro.
20
19
  */
21
- form: FormGroup;
20
+ registerForm: any;
22
21
  /**
23
22
  * Para indicar que se esta procesando la solicitud de registro.
24
23
  */
@@ -42,6 +42,7 @@ export declare class BlockBannerBoxEcComponent extends BlockEcComponent {
42
42
  */
43
43
  selectPromotion(banner: any): void;
44
44
  redirectRoute(url: string): void;
45
+ boxesInlcudesCode: (box: string) => any;
45
46
  static ɵfac: i0.ɵɵFactoryDeclaration<BlockBannerBoxEcComponent, never>;
46
47
  static ɵcmp: i0.ɵɵComponentDeclaration<BlockBannerBoxEcComponent, "app-block-banner-box-ec", never, { "banners": { "alias": "banners"; "required": true; }; "meta": { "alias": "meta"; "required": true; }; }, {}, never, never, true, never>;
47
48
  }
@@ -1,6 +1,7 @@
1
1
  import { Injector } from '@angular/core';
2
2
  import { Parameter } from '../../interfaces';
3
3
  import { WritableSignal } from '@angular/core';
4
+ import { SafeHtml } from '@angular/platform-browser';
4
5
  import { Observable } from 'rxjs';
5
6
  import { Product } from '../../interfaces';
6
7
  import * as i0 from "@angular/core";
@@ -31,7 +32,8 @@ export declare class ProductDetailEcComponent {
31
32
  constructor();
32
33
  ngOnInit(): void;
33
34
  updateMetaTags(product: Product): void;
34
- sanitizedHtml(html: string): import("@angular/platform-browser").SafeHtml;
35
+ decodeHtml(html: string): string;
36
+ sanitizedHtml(html: string): SafeHtml;
35
37
  addToCart(): void;
36
38
  plus(stock?: number, multipleQuantity?: number): void;
37
39
  less(multipleQuantity?: any): void;
@@ -69,12 +69,11 @@ export declare class OptionsService {
69
69
  * @returns
70
70
  */
71
71
  getAttributes(params?: any): Observable<Attribute[]>;
72
- private slugify;
73
- /**
74
- * Elimina los acentos
75
- * @param str
76
- * @returns
77
- */
72
+ slugify(value: any): string; /**
73
+ * Elimina los acentos
74
+ * @param str
75
+ * @returns
76
+ */
78
77
  private removeAccents;
79
78
  /**
80
79
  * Realiza un mapeo de los datos para darle un formato mas entendible a la
@@ -83,7 +82,7 @@ export declare class OptionsService {
83
82
  * @param response Respuesta que obtiene del backend con los datos a mapear.
84
83
  * @returns
85
84
  */
86
- appendPaths(isCategory: boolean, response: any): any;
85
+ appendPaths(isCategory: boolean, response: any): any[];
87
86
  /**
88
87
  * Genera un mapeo de secciones para que queden mas amigables a la hora de manejar como menú.
89
88
  * @param section
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-easycommerce-v18",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.0",
6
6
  "@angular/core": "^18.2.0"