ctt-babylon 0.23.1 → 0.23.2

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,5 @@
1
1
  import { BabylonButtonI, BabylonImageI, BabylonTextInfoI, BabylonTextsColorsI } from '../../../../interfaces';
2
- import { OnChanges, SimpleChanges, OnInit, OnDestroy } from '@angular/core';
2
+ import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
3
3
  import { BabylonGlobalItem } from '../../../../interfaces/babylon-global-item.interface';
4
4
  import { HeadingTagUtils } from '../../../../utils/heading-tag.utils';
5
5
  import * as i0 from "@angular/core";
@@ -58,10 +58,17 @@ export declare class LisC2ImgTxtCtaV4Component implements OnChanges, OnInit, OnD
58
58
  onDestinationChange(value: string | undefined): void;
59
59
  onBrandChange(value: string | undefined): void;
60
60
  onExperienceTypeChange(value: string | undefined): void;
61
+ private validateCurrentSelections;
61
62
  clearFilters(): void;
62
63
  trackFilter(index: number): number;
63
64
  trackOption(index: number): number;
64
65
  trackOffer(item: BabylonGlobalItem, index: number): string | number;
66
+ private updateFilterOptionsDynamic;
67
+ /**
68
+ * Filtra los ítems respetando TODOS los selectores activos, EXCEPTO el que estamos
69
+ * calculando en ese momento para evitar que se borre a sí mismo.
70
+ */
71
+ private filterItemsForScope;
65
72
  static ɵfac: i0.ɵɵFactoryDeclaration<LisC2ImgTxtCtaV4Component, never>;
66
73
  static ɵcmp: i0.ɵɵComponentDeclaration<LisC2ImgTxtCtaV4Component, "lis-c2-img-txt-cta-v4", never, { "texts": { "alias": "texts"; "required": false; }; "items": { "alias": "items"; "required": false; }; "links": { "alias": "links"; "required": false; }; "additional1LikeMarca": { "alias": "additional1LikeMarca"; "required": false; }; "showCleanFilters": { "alias": "showCleanFilters"; "required": false; }; "showFilters": { "alias": "showFilters"; "required": false; }; "textColors": { "alias": "textColors"; "required": false; }; }, {}, never, never, true, never>;
67
74
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ctt-babylon",
3
- "version": "0.23.1",
3
+ "version": "0.23.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",