ng-easycommerce-v18 0.3.11-beta.2 → 0.3.11

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.
@@ -69,6 +69,12 @@ export declare class MenuEcComponent {
69
69
  * @param stackPlace 'start' | 'end' (por defecto 'end')
70
70
  */
71
71
  addSectionChildren(sectionCode: string, children: any[], stackPlace?: 'start' | 'end'): void;
72
+ /**
73
+ * Verifica si una categoría tiene la propiedad isVisible y está marcada como visible
74
+ * @param category - La categoría a verificar
75
+ * @returns true si la categoría es visible, false en caso contrario
76
+ */
77
+ hasVisibleProperty(category: Category): boolean;
72
78
  static ɵfac: i0.ɵɵFactoryDeclaration<MenuEcComponent, never>;
73
79
  static ɵcmp: i0.ɵɵComponentDeclaration<MenuEcComponent, "lib-footer-ec", never, {}, {}, never, never, true, never>;
74
80
  }
@@ -30,6 +30,12 @@ export declare class FiltersEcComponent {
30
30
  close: () => boolean;
31
31
  scrollUp: () => boolean;
32
32
  hasAppliedFilters(): boolean;
33
+ /**
34
+ * Verifica si una categoría tiene la propiedad isVisible y está marcada como visible
35
+ * @param category - La categoría a verificar
36
+ * @returns true si la categoría es visible, false en caso contrario
37
+ */
38
+ hasVisibleProperty(category: FilterElement): boolean;
33
39
  static ɵfac: i0.ɵɵFactoryDeclaration<FiltersEcComponent, never>;
34
40
  static ɵcmp: i0.ɵɵComponentDeclaration<FiltersEcComponent, "lib-filters-ec", never, { "setSelect": { "alias": "setSelect"; "required": false; }; }, {}, never, never, true, never>;
35
41
  }
@@ -18,7 +18,6 @@ export declare class HeaderEcComponent extends MenuEcComponent {
18
18
  private coreConstantsService;
19
19
  private router;
20
20
  private cdr;
21
- protected platformId: Object;
22
21
  ngOnInit(): void;
23
22
  ngAfterViewInit(): void;
24
23
  /**
@@ -11,10 +11,6 @@ export declare class OptionsService {
11
11
  * Maneja las peticiones a la API
12
12
  */
13
13
  private connection;
14
- /**
15
- * Platform ID para verificar si estamos en el navegador
16
- */
17
- private platformId;
18
14
  /**
19
15
  * Constantes del core
20
16
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-easycommerce-v18",
3
- "version": "0.3.11-beta.2",
3
+ "version": "0.3.11",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.0",
6
6
  "@angular/core": "^18.2.0"