@ethlete/core 4.25.0 → 4.25.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.
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { inject, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, HostBinding, InjectionToken, assertInInjectionContext, DestroyRef, ElementRef, TemplateRef, Injectable, isSignal, signal, QueryList, computed, Injector, effect, untracked, runInInjectionContext, afterNextRender, Renderer2, RendererStyleFlags2, NgZone, isDevMode, Directive, model, ViewContainerRef, booleanAttribute, EventEmitter, Output, numberAttribute, Pipe, input } from '@angular/core';
3
3
  import { DomSanitizer, Meta, Title } from '@angular/platform-browser';
4
- import { Subject, BehaviorSubject, takeUntil, switchMap, of, tap, map, startWith, Observable, combineLatest, timer, fromEvent, filter, distinctUntilChanged, pairwise, shareReplay, debounceTime, finalize, merge, take, skip, takeWhile } from 'rxjs';
4
+ import { Subject, BehaviorSubject, takeUntil, switchMap, of, tap, map, startWith, Observable, combineLatest, timer, fromEvent, distinctUntilChanged, pairwise, shareReplay, filter, debounceTime, finalize, merge, take, skip, takeWhile } from 'rxjs';
5
5
  import { END, HOME, PAGE_DOWN, PAGE_UP, UP_ARROW, DOWN_ARROW } from '@angular/cdk/keycodes';
6
6
  import { FormGroup, FormArray, FormControl } from '@angular/forms';
7
7
  import { coerceElement, coerceCssPixelValue } from '@angular/cdk/coercion';
@@ -19,18 +19,19 @@ import { autoUpdate, computePosition, offset, flip, size, shift, limitShift, arr
19
19
  import { debounceTime as debounceTime$1 } from 'rxjs/operators';
20
20
 
21
21
  class StructuredDataComponent {
22
- _sanitizer = inject(DomSanitizer);
22
+ constructor() {
23
+ this._sanitizer = inject(DomSanitizer);
24
+ }
23
25
  set data(currentValue) {
24
26
  this.jsonLD = this.getSafeHTML(currentValue);
25
27
  }
26
- jsonLD;
27
28
  getSafeHTML(value) {
28
29
  const json = value ? JSON.stringify(value, null, 2).replace(/<\/script>/g, '<\\/script>') : '';
29
30
  const html = `<script type="application/ld+json">${json}</script>`;
30
31
  return this._sanitizer.bypassSecurityTrustHtml(html);
31
32
  }
32
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: StructuredDataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
33
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: StructuredDataComponent, isStandalone: true, selector: "et-structured-data", inputs: { data: "data" }, host: { properties: { "innerHTML": "this.jsonLD" }, styleAttribute: "display: none" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
33
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: StructuredDataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
34
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: StructuredDataComponent, isStandalone: true, selector: "et-structured-data", inputs: { data: "data" }, host: { properties: { "innerHTML": "this.jsonLD" }, styleAttribute: "display: none" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
34
35
  }
35
36
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: StructuredDataComponent, decorators: [{
36
37
  type: Component,
@@ -104,22 +105,22 @@ const createDestroy = () => {
104
105
  };
105
106
 
106
107
  class ActiveSelectionModel {
107
- _destroy$ = createDestroy();
108
108
  get selectionModel$() {
109
109
  return this._selectionModel$.asObservable();
110
110
  }
111
111
  get selectionModel() {
112
112
  return this._selectionModel$.value;
113
113
  }
114
- _selectionModel$ = new BehaviorSubject(null);
115
114
  get activeOption$() {
116
115
  return this._activeOption$.asObservable();
117
116
  }
118
117
  get activeOption() {
119
118
  return this._activeOption$.value;
120
119
  }
121
- _activeOption$ = new BehaviorSubject(null);
122
120
  constructor() {
121
+ this._destroy$ = createDestroy();
122
+ this._selectionModel$ = new BehaviorSubject(null);
123
+ this._activeOption$ = new BehaviorSubject(null);
123
124
  this._selectionModel$
124
125
  .pipe(takeUntil(this._destroy$), switchMap((model) => model?.filteredOptions$ ?? of([])), tap(() => this._resetActiveOptions()))
125
126
  .subscribe();
@@ -700,12 +701,11 @@ const getIntersectionInfo = (intersections) => {
700
701
  };
701
702
 
702
703
  class KeyPressManager {
703
- key;
704
- _isKeyPressed$ = new BehaviorSubject(false);
705
- _keyPressCount$ = new BehaviorSubject(0);
706
- _stopTimeout$ = new Subject();
707
704
  constructor(key) {
708
705
  this.key = key;
706
+ this._isKeyPressed$ = new BehaviorSubject(false);
707
+ this._keyPressCount$ = new BehaviorSubject(0);
708
+ this._stopTimeout$ = new Subject();
709
709
  }
710
710
  isPressed(event) {
711
711
  const key = event.keyCode;
@@ -734,16 +734,18 @@ class ClickObserverFactory {
734
734
  create() {
735
735
  return fromEvent(document, 'click');
736
736
  }
737
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ClickObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
738
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ClickObserverFactory, providedIn: 'root' });
737
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ClickObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
738
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ClickObserverFactory, providedIn: 'root' }); }
739
739
  }
740
740
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ClickObserverFactory, decorators: [{
741
741
  type: Injectable,
742
742
  args: [{ providedIn: 'root' }]
743
743
  }] });
744
744
  class ClickObserverService {
745
- _clickObserverFactory = inject(ClickObserverFactory);
746
- _observedElements = new Map();
745
+ constructor() {
746
+ this._clickObserverFactory = inject(ClickObserverFactory);
747
+ this._observedElements = new Map();
748
+ }
747
749
  ngOnDestroy() {
748
750
  this._observedElements.forEach((_, element) => this._cleanupObserver(element));
749
751
  }
@@ -788,8 +790,8 @@ class ClickObserverService {
788
790
  this._observedElements.delete(element);
789
791
  }
790
792
  }
791
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ClickObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
792
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ClickObserverService, providedIn: 'root' });
793
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ClickObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
794
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ClickObserverService, providedIn: 'root' }); }
793
795
  }
794
796
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ClickObserverService, decorators: [{
795
797
  type: Injectable,
@@ -801,16 +803,18 @@ class MutationObserverFactory {
801
803
  create(callback) {
802
804
  return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);
803
805
  }
804
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: MutationObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
805
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: MutationObserverFactory, providedIn: 'root' });
806
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: MutationObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
807
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: MutationObserverFactory, providedIn: 'root' }); }
806
808
  }
807
809
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: MutationObserverFactory, decorators: [{
808
810
  type: Injectable,
809
811
  args: [{ providedIn: 'root' }]
810
812
  }] });
811
813
  class ContentObserverService {
812
- _mutationObserverFactory = inject(MutationObserverFactory);
813
- _observedElements = new Map();
814
+ constructor() {
815
+ this._mutationObserverFactory = inject(MutationObserverFactory);
816
+ this._observedElements = new Map();
817
+ }
814
818
  ngOnDestroy() {
815
819
  this._observedElements.forEach((_, element) => this._cleanupObserver(element));
816
820
  }
@@ -861,8 +865,8 @@ class ContentObserverService {
861
865
  this._observedElements.delete(element);
862
866
  }
863
867
  }
864
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ContentObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
865
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ContentObserverService, providedIn: 'root' });
868
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ContentObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
869
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ContentObserverService, providedIn: 'root' }); }
866
870
  }
867
871
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ContentObserverService, decorators: [{
868
872
  type: Injectable,
@@ -870,12 +874,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImpor
870
874
  }] });
871
875
 
872
876
  class FocusVisibleService {
873
- _document = inject(DOCUMENT);
874
- _hadKeyboardEvent = false;
875
877
  get isFocusVisible() {
876
878
  return this._hadKeyboardEvent;
877
879
  }
878
880
  constructor() {
881
+ this._document = inject(DOCUMENT);
882
+ this._hadKeyboardEvent = false;
879
883
  this._document.addEventListener('keydown', this.onKeyDown.bind(this), true);
880
884
  this._document.addEventListener('mousedown', this.onPointerDown.bind(this), true);
881
885
  this._document.addEventListener('pointerdown', this.onPointerDown.bind(this), true);
@@ -890,8 +894,8 @@ class FocusVisibleService {
890
894
  onPointerDown() {
891
895
  this._hadKeyboardEvent = false;
892
896
  }
893
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: FocusVisibleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
894
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: FocusVisibleService, providedIn: 'root' });
897
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: FocusVisibleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
898
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: FocusVisibleService, providedIn: 'root' }); }
895
899
  }
896
900
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: FocusVisibleService, decorators: [{
897
901
  type: Injectable,
@@ -905,16 +909,18 @@ class IntersectionObserverFactory {
905
909
  create(callback) {
906
910
  return typeof IntersectionObserver === 'undefined' ? null : new IntersectionObserver(callback);
907
911
  }
908
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IntersectionObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
909
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IntersectionObserverFactory, providedIn: 'root' });
912
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IntersectionObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
913
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IntersectionObserverFactory, providedIn: 'root' }); }
910
914
  }
911
915
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IntersectionObserverFactory, decorators: [{
912
916
  type: Injectable,
913
917
  args: [{ providedIn: 'root' }]
914
918
  }] });
915
919
  class IntersectionObserverService {
916
- _intersectionObserverFactory = inject(IntersectionObserverFactory);
917
- _observedElements = new Map();
920
+ constructor() {
921
+ this._intersectionObserverFactory = inject(IntersectionObserverFactory);
922
+ this._observedElements = new Map();
923
+ }
918
924
  ngOnDestroy() {
919
925
  this._observedElements.forEach((_, element) => this._cleanupObserver(element));
920
926
  }
@@ -961,8 +967,8 @@ class IntersectionObserverService {
961
967
  this._observedElements.delete(element);
962
968
  }
963
969
  }
964
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IntersectionObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
965
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IntersectionObserverService, providedIn: 'root' });
970
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IntersectionObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
971
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IntersectionObserverService, providedIn: 'root' }); }
966
972
  }
967
973
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IntersectionObserverService, decorators: [{
968
974
  type: Injectable,
@@ -974,16 +980,18 @@ class ResizeObserverFactory {
974
980
  create(callback) {
975
981
  return typeof ResizeObserver === 'undefined' ? null : new ResizeObserver(callback);
976
982
  }
977
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ResizeObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
978
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ResizeObserverFactory, providedIn: 'root' });
983
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ResizeObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
984
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ResizeObserverFactory, providedIn: 'root' }); }
979
985
  }
980
986
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ResizeObserverFactory, decorators: [{
981
987
  type: Injectable,
982
988
  args: [{ providedIn: 'root' }]
983
989
  }] });
984
990
  class ResizeObserverService {
985
- _mutationObserverFactory = inject(ResizeObserverFactory);
986
- _observedElements = new Map();
991
+ constructor() {
992
+ this._mutationObserverFactory = inject(ResizeObserverFactory);
993
+ this._observedElements = new Map();
994
+ }
987
995
  ngOnDestroy() {
988
996
  this._observedElements.forEach((_, element) => this._cleanupObserver(element));
989
997
  }
@@ -1030,8 +1038,8 @@ class ResizeObserverService {
1030
1038
  this._observedElements.delete(element);
1031
1039
  }
1032
1040
  }
1033
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ResizeObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1034
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ResizeObserverService, providedIn: 'root' });
1041
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ResizeObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1042
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ResizeObserverService, providedIn: 'root' }); }
1035
1043
  }
1036
1044
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ResizeObserverService, decorators: [{
1037
1045
  type: Injectable,
@@ -1049,12 +1057,6 @@ const routerDisableScrollTop = (config = {}) => {
1049
1057
  };
1050
1058
  const ET_PROPERTY_REMOVED = Symbol('ET_PROPERTY_REMOVED');
1051
1059
  class RouterStateService {
1052
- _isScrollTopOnNavigationEnabled = false;
1053
- _router = inject(Router);
1054
- _route$ = new BehaviorSubject(window.location.pathname);
1055
- _state$ = new BehaviorSubject(this._getInitialState());
1056
- _afterInitialize$ = new BehaviorSubject(false);
1057
- afterInitialize$ = this._afterInitialize$.pipe(filter((v) => v));
1058
1060
  get route$() {
1059
1061
  return this._route$.asObservable().pipe(distinctUntilChanged());
1060
1062
  }
@@ -1107,6 +1109,12 @@ class RouterStateService {
1107
1109
  return this.pathParams$.pipe(pairwise(), map((v) => this._findChanges(v)), shareReplay({ bufferSize: 1, refCount: true }));
1108
1110
  }
1109
1111
  constructor() {
1112
+ this._isScrollTopOnNavigationEnabled = false;
1113
+ this._router = inject(Router);
1114
+ this._route$ = new BehaviorSubject(window.location.pathname);
1115
+ this._state$ = new BehaviorSubject(this._getInitialState());
1116
+ this._afterInitialize$ = new BehaviorSubject(false);
1117
+ this.afterInitialize$ = this._afterInitialize$.pipe(filter((v) => v));
1110
1118
  this._router.events
1111
1119
  .pipe(filter((event) => event instanceof NavigationEnd), distinctUntilChanged((a, b) => a.url === b.url), map((event) => {
1112
1120
  const { url } = event;
@@ -1228,8 +1236,8 @@ class RouterStateService {
1228
1236
  fragment,
1229
1237
  };
1230
1238
  }
1231
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RouterStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1232
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RouterStateService, providedIn: 'root' });
1239
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RouterStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1240
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RouterStateService, providedIn: 'root' }); }
1233
1241
  }
1234
1242
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RouterStateService, decorators: [{
1235
1243
  type: Injectable,
@@ -1239,19 +1247,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImpor
1239
1247
  }], ctorParameters: () => [] });
1240
1248
 
1241
1249
  class ViewportService {
1242
- _resizeObserverService = inject(ResizeObserverService);
1243
- _viewportConfig = inject(VIEWPORT_CONFIG, { optional: true }) || DEFAULT_VIEWPORT_CONFIG;
1244
- _breakpointObserver = inject(BreakpointObserver);
1245
- _viewportMonitorStop$ = new Subject();
1246
- _isViewportMonitorEnabled = false;
1247
- _isXs$ = new BehaviorSubject(this.isMatched({ max: 'xs' }));
1248
- _isSm$ = new BehaviorSubject(this.isMatched({ min: 'sm', max: 'sm' }));
1249
- _isMd$ = new BehaviorSubject(this.isMatched({ min: 'md', max: 'md' }));
1250
- _isLg$ = new BehaviorSubject(this.isMatched({ min: 'lg', max: 'lg' }));
1251
- _isXl$ = new BehaviorSubject(this.isMatched({ min: 'xl', max: 'xl' }));
1252
- _is2Xl$ = new BehaviorSubject(this.isMatched({ min: '2xl' }));
1253
- _viewportSize$ = new BehaviorSubject(null);
1254
- _scrollbarSize$ = new BehaviorSubject(null);
1255
1250
  get isXs$() {
1256
1251
  return this._isXs$.asObservable();
1257
1252
  }
@@ -1300,11 +1295,24 @@ class ViewportService {
1300
1295
  get scrollbarSize() {
1301
1296
  return this._scrollbarSize$.value;
1302
1297
  }
1303
- currentViewport$ = combineLatest([this.isXs$, this.isSm$, this.isMd$, this.isLg$, this.isXl$, this.is2Xl$]).pipe(map((val) => this.getCurrentViewport(val)), debounceTime(0), shareReplay({ bufferSize: 1, refCount: true }));
1304
1298
  get currentViewport() {
1305
1299
  return this.getCurrentViewport([this.isXs, this.isSm, this.isMd, this.isLg, this.isXl, this.is2Xl]);
1306
1300
  }
1307
1301
  constructor() {
1302
+ this._resizeObserverService = inject(ResizeObserverService);
1303
+ this._viewportConfig = inject(VIEWPORT_CONFIG, { optional: true }) || DEFAULT_VIEWPORT_CONFIG;
1304
+ this._breakpointObserver = inject(BreakpointObserver);
1305
+ this._viewportMonitorStop$ = new Subject();
1306
+ this._isViewportMonitorEnabled = false;
1307
+ this._isXs$ = new BehaviorSubject(this.isMatched({ max: 'xs' }));
1308
+ this._isSm$ = new BehaviorSubject(this.isMatched({ min: 'sm', max: 'sm' }));
1309
+ this._isMd$ = new BehaviorSubject(this.isMatched({ min: 'md', max: 'md' }));
1310
+ this._isLg$ = new BehaviorSubject(this.isMatched({ min: 'lg', max: 'lg' }));
1311
+ this._isXl$ = new BehaviorSubject(this.isMatched({ min: 'xl', max: 'xl' }));
1312
+ this._is2Xl$ = new BehaviorSubject(this.isMatched({ min: '2xl' }));
1313
+ this._viewportSize$ = new BehaviorSubject(null);
1314
+ this._scrollbarSize$ = new BehaviorSubject(null);
1315
+ this.currentViewport$ = combineLatest([this.isXs$, this.isSm$, this.isMd$, this.isLg$, this.isXl$, this.is2Xl$]).pipe(map((val) => this.getCurrentViewport(val)), debounceTime(0), shareReplay({ bufferSize: 1, refCount: true }));
1308
1316
  this._observeDefaultBreakpoints();
1309
1317
  }
1310
1318
  observe(options) {
@@ -1447,8 +1455,8 @@ class ViewportService {
1447
1455
  }
1448
1456
  return 'xs';
1449
1457
  }
1450
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ViewportService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1451
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ViewportService, providedIn: 'root' });
1458
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ViewportService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1459
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ViewportService, providedIn: 'root' }); }
1452
1460
  }
1453
1461
  __decorate([
1454
1462
  Memo(),
@@ -2866,9 +2874,6 @@ const round = (value, precision = 0) => {
2866
2874
 
2867
2875
  const RUNTIME_ERROR_NO_DATA = '__ET_NO_DATA__';
2868
2876
  class RuntimeError extends Error {
2869
- code;
2870
- devOnly;
2871
- data;
2872
2877
  constructor(code, message, devOnly = false, data = RUNTIME_ERROR_NO_DATA) {
2873
2878
  super(formatRuntimeError(code, message, devOnly));
2874
2879
  this.code = code;
@@ -2898,77 +2903,78 @@ function formatRuntimeError(code, message, devOnly) {
2898
2903
  }
2899
2904
 
2900
2905
  class SelectionModel {
2901
- _destroy$ = createDestroy();
2902
- _lastSelectionSetSubscription = null;
2903
2906
  get selection$() {
2904
2907
  return this._selection$.asObservable();
2905
2908
  }
2906
2909
  get selection() {
2907
2910
  return this._selection$.value;
2908
2911
  }
2909
- _selection$ = new BehaviorSubject([]);
2910
2912
  get options$() {
2911
2913
  return this._options$.asObservable();
2912
2914
  }
2913
2915
  get options() {
2914
2916
  return this._options$.value;
2915
2917
  }
2916
- _options$ = new BehaviorSubject([]);
2917
- optionsSignal = toSignal(this.options$);
2918
2918
  get valueBinding$() {
2919
2919
  return this._valueBinding$.asObservable();
2920
2920
  }
2921
2921
  get valueBinding() {
2922
2922
  return this._valueBinding$.value;
2923
2923
  }
2924
- _valueBinding$ = new BehaviorSubject(null);
2925
2924
  get keyBinding$() {
2926
2925
  return combineLatest([this._keyBinding$, this.valueBinding$]).pipe(map(([keyBinding, valueBinding]) => keyBinding || valueBinding));
2927
2926
  }
2928
2927
  get keyBinding() {
2929
2928
  return this._keyBinding$.value || this.valueBinding;
2930
2929
  }
2931
- _keyBinding$ = new BehaviorSubject(null);
2932
2930
  get labelBinding$() {
2933
2931
  return this._labelBinding$.asObservable();
2934
2932
  }
2935
2933
  get labelBinding() {
2936
2934
  return this._labelBinding$.value;
2937
2935
  }
2938
- _labelBinding$ = new BehaviorSubject(null);
2939
2936
  get disabledBinding$() {
2940
2937
  return this._disabledBinding$.asObservable();
2941
2938
  }
2942
2939
  get disabledBinding() {
2943
2940
  return this._disabledBinding$.value;
2944
2941
  }
2945
- _disabledBinding$ = new BehaviorSubject(null);
2946
2942
  get allowMultiple$() {
2947
2943
  return this._allowMultiple$.asObservable();
2948
2944
  }
2949
2945
  get allowMultiple() {
2950
2946
  return this._allowMultiple$.value;
2951
2947
  }
2952
- _allowMultiple$ = new BehaviorSubject(false);
2953
2948
  get filter$() {
2954
2949
  return this._filter$.asObservable();
2955
2950
  }
2956
2951
  get filter() {
2957
2952
  return this._filter$.value;
2958
2953
  }
2959
- _filter$ = new BehaviorSubject('');
2960
- value$ = combineLatest([this.selection$, this.valueBinding$, this.allowMultiple$]).pipe(map(([selection, valueBinding, allowMultiple]) => {
2961
- if (allowMultiple) {
2962
- return selection.map((option) => this.execFnOrGetOptionProperty(option, valueBinding));
2963
- }
2964
- const [option] = selection;
2965
- if (!option)
2966
- return null;
2967
- return this.execFnOrGetOptionProperty(option, valueBinding);
2968
- }));
2969
- filteredOptions$ = combineLatest([this.options$, this.filter$, this.labelBinding$]).pipe(map(([options, filter]) => this.getFilteredOptions(filter, options)), shareReplay({ bufferSize: 1, refCount: true }));
2970
- _optionsAndSelection$ = combineLatest([this._options$, this._selection$]);
2971
2954
  constructor() {
2955
+ this._destroy$ = createDestroy();
2956
+ this._lastSelectionSetSubscription = null;
2957
+ this._selection$ = new BehaviorSubject([]);
2958
+ this._options$ = new BehaviorSubject([]);
2959
+ this.optionsSignal = toSignal(this.options$);
2960
+ this._valueBinding$ = new BehaviorSubject(null);
2961
+ this._keyBinding$ = new BehaviorSubject(null);
2962
+ this._labelBinding$ = new BehaviorSubject(null);
2963
+ this._disabledBinding$ = new BehaviorSubject(null);
2964
+ this._allowMultiple$ = new BehaviorSubject(false);
2965
+ this._filter$ = new BehaviorSubject('');
2966
+ this.value$ = combineLatest([this.selection$, this.valueBinding$, this.allowMultiple$]).pipe(map(([selection, valueBinding, allowMultiple]) => {
2967
+ if (allowMultiple) {
2968
+ return selection.map((option) => this.execFnOrGetOptionProperty(option, valueBinding));
2969
+ }
2970
+ const [option] = selection;
2971
+ if (!option)
2972
+ return null;
2973
+ return this.execFnOrGetOptionProperty(option, valueBinding);
2974
+ }));
2975
+ this.filteredOptions$ = combineLatest([this.options$, this.filter$, this.labelBinding$]).pipe(map(([options, filter]) => this.getFilteredOptions(filter, options)), shareReplay({ bufferSize: 1, refCount: true }));
2976
+ this._optionsAndSelection$ = combineLatest([this._options$, this._selection$]);
2977
+ this.trackByOptionKey = (option) => this.getKey(option);
2972
2978
  this.allowMultiple$
2973
2979
  .pipe(tap(() => {
2974
2980
  if (this.allowMultiple)
@@ -3059,7 +3065,6 @@ class SelectionModel {
3059
3065
  this._labelBinding$.next(null);
3060
3066
  this._allowMultiple$.next(false);
3061
3067
  }
3062
- trackByOptionKey = (option) => this.getKey(option);
3063
3068
  getOptionByValue$(value) {
3064
3069
  return this._optionsAndSelection$.pipe(map(() => this.getOptionByValue(value)));
3065
3070
  }
@@ -3274,15 +3279,20 @@ const OVERSCROLL_CLASS = 'et-global-no-overscroll';
3274
3279
  * @deprecated Will be removed in v5. Scroll blocking for overlays is build in by default.
3275
3280
  */
3276
3281
  class SmartBlockScrollStrategy {
3277
- _previousHTMLStyles = { top: '', left: '' };
3278
- _previousScrollPosition = { top: 0, left: 0 };
3279
- _isEnabled = false;
3280
- _urlSubscription = null;
3281
- _resizeSubscription = null;
3282
- _didNavigate = false;
3283
- #viewportRuler = inject(ViewportRuler);
3284
- #routerState = inject(RouterStateService);
3285
- #document = inject(DOCUMENT);
3282
+ constructor() {
3283
+ this._previousHTMLStyles = { top: '', left: '' };
3284
+ this._previousScrollPosition = { top: 0, left: 0 };
3285
+ this._isEnabled = false;
3286
+ this._urlSubscription = null;
3287
+ this._resizeSubscription = null;
3288
+ this._didNavigate = false;
3289
+ this.#viewportRuler = inject(ViewportRuler);
3290
+ this.#routerState = inject(RouterStateService);
3291
+ this.#document = inject(DOCUMENT);
3292
+ }
3293
+ #viewportRuler;
3294
+ #routerState;
3295
+ #document;
3286
3296
  attach() {
3287
3297
  // noop
3288
3298
  }
@@ -3377,13 +3387,22 @@ const provideViewportConfig = (viewportConfig) => {
3377
3387
 
3378
3388
  const ANIMATABLE_TOKEN = new InjectionToken('ANIMATABLE_DIRECTIVE_TOKEN');
3379
3389
  class AnimatableDirective {
3380
- _didEmitStart = false;
3381
- _parent = inject(ANIMATABLE_TOKEN, { optional: true, skipSelf: true });
3382
- _destroy$ = createDestroy();
3383
- _elementRef = inject(ElementRef);
3384
- _animationStart$ = new Subject();
3385
- _animationEnd$ = new Subject();
3386
- _animationCancelled$ = new Subject();
3390
+ constructor() {
3391
+ this._didEmitStart = false;
3392
+ this._parent = inject(ANIMATABLE_TOKEN, { optional: true, skipSelf: true });
3393
+ this._destroy$ = createDestroy();
3394
+ this._elementRef = inject(ElementRef);
3395
+ this._animationStart$ = new Subject();
3396
+ this._animationEnd$ = new Subject();
3397
+ this._animationCancelled$ = new Subject();
3398
+ this._animatedElement$ = new BehaviorSubject(this._elementRef.nativeElement);
3399
+ this.animationStart$ = this._animationStart$.asObservable().pipe(debounceTime(0));
3400
+ this.animationEnd$ = this._animationEnd$.asObservable().pipe(debounceTime(0));
3401
+ this.animationCancelled$ = this._animationCancelled$.asObservable().pipe(debounceTime(0));
3402
+ this._hostActiveAnimationCount$ = new BehaviorSubject(0);
3403
+ this._totalActiveAnimationCount$ = new BehaviorSubject(0);
3404
+ this.isAnimating$ = this._totalActiveAnimationCount$.pipe(map((count) => count > 0), debounceTime(0));
3405
+ }
3387
3406
  set animatedElement(value) {
3388
3407
  let newElement = null;
3389
3408
  if (value === null || value === undefined || value === '') {
@@ -3408,13 +3427,6 @@ class AnimatableDirective {
3408
3427
  this._animatedElement$.next(newElement);
3409
3428
  }
3410
3429
  }
3411
- _animatedElement$ = new BehaviorSubject(this._elementRef.nativeElement);
3412
- animationStart$ = this._animationStart$.asObservable().pipe(debounceTime(0));
3413
- animationEnd$ = this._animationEnd$.asObservable().pipe(debounceTime(0));
3414
- animationCancelled$ = this._animationCancelled$.asObservable().pipe(debounceTime(0));
3415
- _hostActiveAnimationCount$ = new BehaviorSubject(0);
3416
- _totalActiveAnimationCount$ = new BehaviorSubject(0);
3417
- isAnimating$ = this._totalActiveAnimationCount$.pipe(map((count) => count > 0), debounceTime(0));
3418
3430
  ngOnInit() {
3419
3431
  this._animatedElement$
3420
3432
  .pipe(tap((el) => {
@@ -3464,13 +3476,13 @@ class AnimatableDirective {
3464
3476
  .subscribe();
3465
3477
  }
3466
3478
  }
3467
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AnimatableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3468
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: AnimatableDirective, isStandalone: true, selector: "[etAnimatable]", inputs: { animatedElement: ["etAnimatable", "animatedElement"] }, providers: [
3479
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AnimatableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
3480
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: AnimatableDirective, isStandalone: true, selector: "[etAnimatable]", inputs: { animatedElement: ["etAnimatable", "animatedElement"] }, providers: [
3469
3481
  {
3470
3482
  provide: ANIMATABLE_TOKEN,
3471
3483
  useExisting: AnimatableDirective,
3472
3484
  },
3473
- ], exportAs: ["etAnimatable"], ngImport: i0 });
3485
+ ], exportAs: ["etAnimatable"], ngImport: i0 }); }
3474
3486
  }
3475
3487
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AnimatableDirective, decorators: [{
3476
3488
  type: Directive,
@@ -3500,21 +3512,23 @@ const ANIMATION_CLASSES = {
3500
3512
  leaveTo: 'et-animation-leave-to',
3501
3513
  };
3502
3514
  class AnimatedLifecycleDirective {
3503
- _destroy$ = createDestroy();
3504
- _elementRef = inject(ElementRef);
3505
- _animatable = inject(ANIMATABLE_TOKEN);
3506
- _classList = this._elementRef.nativeElement.classList;
3507
- _isConstructed = false;
3508
- _state$ = new BehaviorSubject('init');
3509
- state$ = this._state$.asObservable();
3515
+ constructor() {
3516
+ this._destroy$ = createDestroy();
3517
+ this._elementRef = inject(ElementRef);
3518
+ this._animatable = inject(ANIMATABLE_TOKEN);
3519
+ this._classList = this._elementRef.nativeElement.classList;
3520
+ this._isConstructed = false;
3521
+ this._state$ = new BehaviorSubject('init');
3522
+ this.state$ = this._state$.asObservable();
3523
+ this.hostClassBindings = signalHostClasses({
3524
+ 'et-force-invisible': toSignal(this._state$.pipe(map((state) => state === 'init'))),
3525
+ });
3526
+ this.stateChange = outputFromObservable(this._state$);
3527
+ this.skipNextEnter = model(false);
3528
+ }
3510
3529
  get state() {
3511
3530
  return this._state$.value;
3512
3531
  }
3513
- hostClassBindings = signalHostClasses({
3514
- 'et-force-invisible': toSignal(this._state$.pipe(map((state) => state === 'init'))),
3515
- });
3516
- stateChange = outputFromObservable(this._state$);
3517
- skipNextEnter = model(false);
3518
3532
  ngAfterViewInit() {
3519
3533
  this._isConstructed = true;
3520
3534
  }
@@ -3593,13 +3607,13 @@ class AnimatedLifecycleDirective {
3593
3607
  _forceState(state) {
3594
3608
  this._state$.next(state);
3595
3609
  }
3596
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AnimatedLifecycleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3597
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.4", type: AnimatedLifecycleDirective, isStandalone: true, selector: "[etAnimatedLifecycle]", inputs: { skipNextEnter: { classPropertyName: "skipNextEnter", publicName: "skipNextEnter", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { stateChange: "stateChange", skipNextEnter: "skipNextEnterChange" }, providers: [
3610
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AnimatedLifecycleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
3611
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.4", type: AnimatedLifecycleDirective, isStandalone: true, selector: "[etAnimatedLifecycle]", inputs: { skipNextEnter: { classPropertyName: "skipNextEnter", publicName: "skipNextEnter", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { stateChange: "stateChange", skipNextEnter: "skipNextEnterChange" }, providers: [
3598
3612
  {
3599
3613
  provide: ANIMATED_LIFECYCLE_TOKEN,
3600
3614
  useExisting: AnimatedLifecycleDirective,
3601
3615
  },
3602
- ], exportAs: ["etAnimatedLifecycle"], hostDirectives: [{ directive: AnimatableDirective }], ngImport: i0 });
3616
+ ], exportAs: ["etAnimatedLifecycle"], hostDirectives: [{ directive: AnimatableDirective }], ngImport: i0 }); }
3603
3617
  }
3604
3618
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AnimatedLifecycleDirective, decorators: [{
3605
3619
  type: Directive,
@@ -3619,9 +3633,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImpor
3619
3633
 
3620
3634
  const ANIMATED_IF_TOKEN = new InjectionToken('ANIMATED_IF_TOKEN');
3621
3635
  class AnimatedIfDirective {
3622
- _destroy$ = createDestroy();
3623
- _ngIf = inject(NgIf);
3624
- _animatedLifecycle = inject(ANIMATED_LIFECYCLE_TOKEN);
3636
+ constructor() {
3637
+ this._destroy$ = createDestroy();
3638
+ this._ngIf = inject(NgIf);
3639
+ this._animatedLifecycle = inject(ANIMATED_LIFECYCLE_TOKEN);
3640
+ }
3625
3641
  set shouldRender(value) {
3626
3642
  if (value) {
3627
3643
  this._ngIf.ngIf = value;
@@ -3636,13 +3652,13 @@ class AnimatedIfDirective {
3636
3652
  .subscribe();
3637
3653
  }
3638
3654
  }
3639
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AnimatedIfDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3640
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: AnimatedIfDirective, isStandalone: true, selector: "[etAnimatedIf]", inputs: { shouldRender: ["etAnimatedIf", "shouldRender"] }, providers: [
3655
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AnimatedIfDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
3656
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: AnimatedIfDirective, isStandalone: true, selector: "[etAnimatedIf]", inputs: { shouldRender: ["etAnimatedIf", "shouldRender"] }, providers: [
3641
3657
  {
3642
3658
  provide: ANIMATED_IF_TOKEN,
3643
3659
  useExisting: AnimatedIfDirective,
3644
3660
  },
3645
- ], hostDirectives: [{ directive: i1.NgIf }], ngImport: i0 });
3661
+ ], hostDirectives: [{ directive: i1.NgIf }], ngImport: i0 }); }
3646
3662
  }
3647
3663
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AnimatedIfDirective, decorators: [{
3648
3664
  type: Directive,
@@ -3664,21 +3680,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImpor
3664
3680
 
3665
3681
  const ROOT_BOUNDARY_TOKEN = new InjectionToken('ROOT_BOUNDARY_TOKEN');
3666
3682
  class RootBoundaryDirective {
3667
- _elementRef = inject(ElementRef);
3683
+ constructor() {
3684
+ this._elementRef = inject(ElementRef);
3685
+ this._boundaryElement = null;
3686
+ }
3668
3687
  get boundaryElement() {
3669
3688
  return this._boundaryElement ?? this._elementRef.nativeElement;
3670
3689
  }
3671
3690
  set boundaryElement(v) {
3672
3691
  this._boundaryElement = v;
3673
3692
  }
3674
- _boundaryElement = null;
3675
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RootBoundaryDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3676
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: RootBoundaryDirective, isStandalone: true, selector: "[etRootBoundary]", providers: [
3693
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RootBoundaryDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
3694
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: RootBoundaryDirective, isStandalone: true, selector: "[etRootBoundary]", providers: [
3677
3695
  {
3678
3696
  provide: ROOT_BOUNDARY_TOKEN,
3679
3697
  useExisting: RootBoundaryDirective,
3680
3698
  },
3681
- ], ngImport: i0 });
3699
+ ], ngImport: i0 }); }
3682
3700
  }
3683
3701
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RootBoundaryDirective, decorators: [{
3684
3702
  type: Directive,
@@ -3695,77 +3713,74 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImpor
3695
3713
  }] });
3696
3714
 
3697
3715
  class AnimatedOverlayDirective {
3698
- _destroy$ = createDestroy();
3699
- _overlayService = inject(Overlay);
3700
- _injector = inject(Injector);
3701
- _viewContainerRef = inject(ViewContainerRef);
3702
- _zone = inject(NgZone);
3703
- _elementRef = inject(ElementRef);
3704
- _resizeObserverService = inject(ResizeObserverService);
3705
- _rootBoundary = inject(RootBoundaryDirective, { optional: true });
3706
- _portal = null;
3707
- _overlayRef = null;
3708
- _componentRef = null;
3709
- _floatingElCleanupFn = null;
3710
- _beforeOpened = null;
3711
- _afterOpened = null;
3712
- _beforeClosed = null;
3713
- _afterClosed = null;
3714
- _isMounted$ = new BehaviorSubject(false);
3715
- _isMounting$ = new BehaviorSubject(false);
3716
- _isUnmounting$ = new BehaviorSubject(false);
3717
- _isHidden$ = new BehaviorSubject(false);
3718
- /**
3719
- * The placement of the animated overlay.
3720
- * @default undefined
3721
- */
3722
- placement = 'bottom';
3723
- /**
3724
- * The allowed auto placements of the animated overlay.
3725
- * @see https://floating-ui.com/docs/flip#fallbackplacements
3726
- */
3727
- fallbackPlacements;
3728
- /**
3729
- * The offset of the animated overlay.
3730
- * @see https://floating-ui.com/docs/offset
3731
- */
3732
- offset = null;
3733
- /**
3734
- * The arrow padding.
3735
- * @see https://floating-ui.com/docs/arrow#padding
3736
- * @default 4
3737
- */
3738
- arrowPadding = 4;
3739
- /**
3740
- * The viewport padding.
3741
- * @default 8
3742
- */
3743
- viewportPadding = 8;
3744
- /**
3745
- * Whether the animated overlay should auto resize to fit the available space.
3746
- * Useful for things like selects where the list of options might be longer than the available space.
3747
- * @default false
3748
- */
3749
- autoResize = false;
3750
- /**
3751
- * Whether the animated overlay should shift when it is near the viewport boundary.
3752
- */
3753
- shift = true;
3754
- /**
3755
- * Whether the animated overlay should auto hide when the reference element is hidden.
3756
- * @default false
3757
- */
3758
- autoHide = false;
3759
- /**
3760
- * Whether the animated overlay should auto close if the reference element is hidden.
3761
- * @default false
3762
- */
3763
- autoCloseIfReferenceHidden = false;
3764
- /**
3765
- * The reference element for the animated overlay.
3766
- * @default this._elementRef.nativeElement
3767
- */
3768
- referenceElement = this._elementRef.nativeElement;
3716
+ constructor() {
3717
+ this._destroy$ = createDestroy();
3718
+ this._overlayService = inject(Overlay);
3719
+ this._injector = inject(Injector);
3720
+ this._viewContainerRef = inject(ViewContainerRef);
3721
+ this._zone = inject(NgZone);
3722
+ this._elementRef = inject(ElementRef);
3723
+ this._resizeObserverService = inject(ResizeObserverService);
3724
+ this._rootBoundary = inject(RootBoundaryDirective, { optional: true });
3725
+ this._portal = null;
3726
+ this._overlayRef = null;
3727
+ this._componentRef = null;
3728
+ this._floatingElCleanupFn = null;
3729
+ this._beforeOpened = null;
3730
+ this._afterOpened = null;
3731
+ this._beforeClosed = null;
3732
+ this._afterClosed = null;
3733
+ this._isMounted$ = new BehaviorSubject(false);
3734
+ this._isMounting$ = new BehaviorSubject(false);
3735
+ this._isUnmounting$ = new BehaviorSubject(false);
3736
+ this._isHidden$ = new BehaviorSubject(false);
3737
+ /**
3738
+ * The placement of the animated overlay.
3739
+ * @default undefined
3740
+ */
3741
+ this.placement = 'bottom';
3742
+ /**
3743
+ * The offset of the animated overlay.
3744
+ * @see https://floating-ui.com/docs/offset
3745
+ */
3746
+ this.offset = null;
3747
+ /**
3748
+ * The arrow padding.
3749
+ * @see https://floating-ui.com/docs/arrow#padding
3750
+ * @default 4
3751
+ */
3752
+ this.arrowPadding = 4;
3753
+ /**
3754
+ * The viewport padding.
3755
+ * @default 8
3756
+ */
3757
+ this.viewportPadding = 8;
3758
+ /**
3759
+ * Whether the animated overlay should auto resize to fit the available space.
3760
+ * Useful for things like selects where the list of options might be longer than the available space.
3761
+ * @default false
3762
+ */
3763
+ this.autoResize = false;
3764
+ /**
3765
+ * Whether the animated overlay should shift when it is near the viewport boundary.
3766
+ */
3767
+ this.shift = true;
3768
+ /**
3769
+ * Whether the animated overlay should auto hide when the reference element is hidden.
3770
+ * @default false
3771
+ */
3772
+ this.autoHide = false;
3773
+ /**
3774
+ * Whether the animated overlay should auto close if the reference element is hidden.
3775
+ * @default false
3776
+ */
3777
+ this.autoCloseIfReferenceHidden = false;
3778
+ /**
3779
+ * The reference element for the animated overlay.
3780
+ * @default this._elementRef.nativeElement
3781
+ */
3782
+ this.referenceElement = this._elementRef.nativeElement;
3783
+ }
3769
3784
  get isMounted() {
3770
3785
  return this._isMounted$.value;
3771
3786
  }
@@ -3995,8 +4010,8 @@ class AnimatedOverlayDirective {
3995
4010
  this._isUnmounting$.next(false);
3996
4011
  this._afterClosed?.next();
3997
4012
  }
3998
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AnimatedOverlayDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3999
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.4", type: AnimatedOverlayDirective, isStandalone: true, inputs: { placement: "placement", fallbackPlacements: "fallbackPlacements", offset: "offset", arrowPadding: "arrowPadding", viewportPadding: "viewportPadding", autoResize: ["autoResize", "autoResize", booleanAttribute], shift: ["shift", "shift", booleanAttribute], autoHide: ["autoHide", "autoHide", booleanAttribute], autoCloseIfReferenceHidden: ["autoCloseIfReferenceHidden", "autoCloseIfReferenceHidden", booleanAttribute], referenceElement: "referenceElement" }, host: { classAttribute: "et-animated-overlay" }, ngImport: i0 });
4013
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AnimatedOverlayDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
4014
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.4", type: AnimatedOverlayDirective, isStandalone: true, inputs: { placement: "placement", fallbackPlacements: "fallbackPlacements", offset: "offset", arrowPadding: "arrowPadding", viewportPadding: "viewportPadding", autoResize: ["autoResize", "autoResize", booleanAttribute], shift: ["shift", "shift", booleanAttribute], autoHide: ["autoHide", "autoHide", booleanAttribute], autoCloseIfReferenceHidden: ["autoCloseIfReferenceHidden", "autoCloseIfReferenceHidden", booleanAttribute], referenceElement: "referenceElement" }, host: { classAttribute: "et-animated-overlay" }, ngImport: i0 }); }
4000
4015
  }
4001
4016
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AnimatedOverlayDirective, decorators: [{
4002
4017
  type: Directive,
@@ -4033,10 +4048,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImpor
4033
4048
  }] } });
4034
4049
 
4035
4050
  class ClickOutsideDirective {
4036
- _elementRef = inject(ElementRef);
4037
- _clickObserverService = inject(ClickObserverService);
4038
- _subscription = null;
4039
- etClickOutside = new EventEmitter();
4051
+ constructor() {
4052
+ this._elementRef = inject(ElementRef);
4053
+ this._clickObserverService = inject(ClickObserverService);
4054
+ this._subscription = null;
4055
+ this.etClickOutside = new EventEmitter();
4056
+ }
4040
4057
  ngOnInit() {
4041
4058
  setTimeout(() => {
4042
4059
  this._subscription = this._clickObserverService.observe(this._elementRef.nativeElement).subscribe((event) => {
@@ -4051,8 +4068,8 @@ class ClickOutsideDirective {
4051
4068
  ngOnDestroy() {
4052
4069
  this._subscription?.unsubscribe();
4053
4070
  }
4054
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ClickOutsideDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
4055
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: ClickOutsideDirective, isStandalone: true, selector: "[etClickOutside]", outputs: { etClickOutside: "etClickOutside" }, ngImport: i0 });
4071
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ClickOutsideDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
4072
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: ClickOutsideDirective, isStandalone: true, selector: "[etClickOutside]", outputs: { etClickOutside: "etClickOutside" }, ngImport: i0 }); }
4056
4073
  }
4057
4074
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ClickOutsideDirective, decorators: [{
4058
4075
  type: Directive,
@@ -4068,21 +4085,28 @@ const CURSOR_DRAG_SCROLLING_CLASS = 'et-cursor-drag-scroll--scrolling';
4068
4085
  const CURSOR_DRAG_SCROLLING_PREPARED_CLASS = 'et-cursor-drag-scroll--prepared';
4069
4086
 
4070
4087
  class CursorDragScrollDirective {
4071
- _subscriptions = [];
4072
- _destroy$ = createDestroy();
4073
- _elementRef = inject(ElementRef);
4074
- _contentObserverService = inject(ContentObserverService);
4075
- _resizeObserverService = inject(ResizeObserverService);
4076
- _bufferUntilScroll = 5;
4077
- _mouseUp$ = new Subject();
4078
- _isScrolling = false;
4079
- _canScroll = false;
4080
- _currentScrollState = {
4081
- top: 0,
4082
- left: 0,
4083
- x: 0,
4084
- y: 0,
4085
- };
4088
+ constructor() {
4089
+ this._subscriptions = [];
4090
+ this._destroy$ = createDestroy();
4091
+ this._elementRef = inject(ElementRef);
4092
+ this._contentObserverService = inject(ContentObserverService);
4093
+ this._resizeObserverService = inject(ResizeObserverService);
4094
+ this._bufferUntilScroll = 5;
4095
+ this._mouseUp$ = new Subject();
4096
+ this._isScrolling = false;
4097
+ this._canScroll = false;
4098
+ this._currentScrollState = {
4099
+ top: 0,
4100
+ left: 0,
4101
+ x: 0,
4102
+ y: 0,
4103
+ };
4104
+ this._enabled = false;
4105
+ this.allowedDirection = 'both';
4106
+ this.cursorDragStart = new EventEmitter();
4107
+ this.cursorDragMove = new EventEmitter();
4108
+ this.cursorDragEnd = new EventEmitter();
4109
+ }
4086
4110
  get enabled() {
4087
4111
  return this._enabled;
4088
4112
  }
@@ -4095,11 +4119,6 @@ class CursorDragScrollDirective {
4095
4119
  this._disableCursorDragScroll();
4096
4120
  }
4097
4121
  }
4098
- _enabled = false;
4099
- allowedDirection = 'both';
4100
- cursorDragStart = new EventEmitter();
4101
- cursorDragMove = new EventEmitter();
4102
- cursorDragEnd = new EventEmitter();
4103
4122
  ngAfterViewInit() {
4104
4123
  if (this.enabled) {
4105
4124
  this._enableCursorDragScroll();
@@ -4206,8 +4225,8 @@ class CursorDragScrollDirective {
4206
4225
  this._elementRef.nativeElement.style.cursor = 'default';
4207
4226
  }
4208
4227
  }
4209
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: CursorDragScrollDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
4210
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: CursorDragScrollDirective, isStandalone: true, selector: "[etCursorDragScroll]", inputs: { enabled: ["etCursorDragScroll", "enabled"], allowedDirection: "allowedDirection" }, outputs: { cursorDragStart: "cursorDragStart", cursorDragMove: "cursorDragMove", cursorDragEnd: "cursorDragEnd" }, exportAs: ["etCursorDragScroll"], ngImport: i0 });
4228
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: CursorDragScrollDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
4229
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: CursorDragScrollDirective, isStandalone: true, selector: "[etCursorDragScroll]", inputs: { enabled: ["etCursorDragScroll", "enabled"], allowedDirection: "allowedDirection" }, outputs: { cursorDragStart: "cursorDragStart", cursorDragMove: "cursorDragMove", cursorDragEnd: "cursorDragEnd" }, exportAs: ["etCursorDragScroll"], ngImport: i0 }); }
4211
4230
  }
4212
4231
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: CursorDragScrollDirective, decorators: [{
4213
4232
  type: Directive,
@@ -4231,22 +4250,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImpor
4231
4250
 
4232
4251
  const DEBUG_TOKEN = new InjectionToken('DEBUG_DIRECTIVE_TOKEN');
4233
4252
  class DebugDirective {
4234
- _destroy$ = createDestroy();
4253
+ constructor() {
4254
+ this._destroy$ = createDestroy();
4255
+ this._debug = signal(true);
4256
+ this.debug = this._debug.asReadonly();
4257
+ this.debug$ = toObservable(this.debug);
4258
+ this.startDebug$ = this.debug$.pipe(filter((debug) => !!debug));
4259
+ this.stopDebug$ = merge(this._destroy$, this.debug$.pipe(filter((debug) => !debug)));
4260
+ }
4235
4261
  set sDebug(value) {
4236
4262
  this._debug.set(value);
4237
4263
  }
4238
- _debug = signal(true);
4239
- debug = this._debug.asReadonly();
4240
- debug$ = toObservable(this.debug);
4241
- startDebug$ = this.debug$.pipe(filter((debug) => !!debug));
4242
- stopDebug$ = merge(this._destroy$, this.debug$.pipe(filter((debug) => !debug)));
4243
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: DebugDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
4244
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.4", type: DebugDirective, isStandalone: true, selector: "[etDebug]", inputs: { sDebug: ["etDebug", "sDebug", booleanAttribute] }, providers: [
4264
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: DebugDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
4265
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.4", type: DebugDirective, isStandalone: true, selector: "[etDebug]", inputs: { sDebug: ["etDebug", "sDebug", booleanAttribute] }, providers: [
4245
4266
  {
4246
4267
  provide: DEBUG_TOKEN,
4247
4268
  useExisting: DebugDirective,
4248
4269
  },
4249
- ], exportAs: ["etDebug"], ngImport: i0 });
4270
+ ], exportAs: ["etDebug"], ngImport: i0 }); }
4250
4271
  }
4251
4272
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: DebugDirective, decorators: [{
4252
4273
  type: Directive,
@@ -4268,7 +4289,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImpor
4268
4289
 
4269
4290
  const DELAYABLE_TOKEN = new InjectionToken('DELAYABLE_DIRECTIVE_TOKEN');
4270
4291
  class DelayableDirective {
4271
- _isDelayed$ = new BehaviorSubject(false);
4292
+ constructor() {
4293
+ this._isDelayed$ = new BehaviorSubject(false);
4294
+ }
4272
4295
  get isDelayed$() {
4273
4296
  return this._isDelayed$.asObservable();
4274
4297
  }
@@ -4293,13 +4316,13 @@ class DelayableDirective {
4293
4316
  }
4294
4317
  this._isDelayed$.next(val);
4295
4318
  }
4296
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: DelayableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
4297
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: DelayableDirective, isStandalone: true, selector: "[etDelayable]", providers: [
4319
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: DelayableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
4320
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: DelayableDirective, isStandalone: true, selector: "[etDelayable]", providers: [
4298
4321
  {
4299
4322
  provide: DELAYABLE_TOKEN,
4300
4323
  useExisting: DelayableDirective,
4301
4324
  },
4302
- ], exportAs: ["etDelayable"], ngImport: i0 });
4325
+ ], exportAs: ["etDelayable"], ngImport: i0 }); }
4303
4326
  }
4304
4327
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: DelayableDirective, decorators: [{
4305
4328
  type: Directive,
@@ -4318,15 +4341,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImpor
4318
4341
 
4319
4342
  const IS_ACTIVE_ELEMENT = new InjectionToken('ET_IS_ACTIVE_ELEMENT');
4320
4343
  class IsActiveElementDirective {
4321
- elementRef = inject(ElementRef);
4322
- isActiveElement = false;
4323
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IsActiveElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
4324
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.4", type: IsActiveElementDirective, isStandalone: true, selector: "[etIsActiveElement]", inputs: { isActiveElement: ["etIsActiveElement", "isActiveElement", booleanAttribute] }, providers: [
4344
+ constructor() {
4345
+ this.elementRef = inject(ElementRef);
4346
+ this.isActiveElement = false;
4347
+ }
4348
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IsActiveElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
4349
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.4", type: IsActiveElementDirective, isStandalone: true, selector: "[etIsActiveElement]", inputs: { isActiveElement: ["etIsActiveElement", "isActiveElement", booleanAttribute] }, providers: [
4325
4350
  {
4326
4351
  provide: IS_ACTIVE_ELEMENT,
4327
4352
  useExisting: IsActiveElementDirective,
4328
4353
  },
4329
- ], ngImport: i0 });
4354
+ ], ngImport: i0 }); }
4330
4355
  }
4331
4356
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IsActiveElementDirective, decorators: [{
4332
4357
  type: Directive,
@@ -4347,15 +4372,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImpor
4347
4372
 
4348
4373
  const IS_ELEMENT = new InjectionToken('ET_IS_ELEMENT');
4349
4374
  class IsElementDirective {
4350
- elementRef = inject(ElementRef);
4351
- isElement = false;
4352
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IsElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
4353
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.4", type: IsElementDirective, isStandalone: true, selector: "[etIsElement]", inputs: { isElement: ["etIsElement", "isElement", booleanAttribute] }, providers: [
4375
+ constructor() {
4376
+ this.elementRef = inject(ElementRef);
4377
+ this.isElement = false;
4378
+ }
4379
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IsElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
4380
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.4", type: IsElementDirective, isStandalone: true, selector: "[etIsElement]", inputs: { isElement: ["etIsElement", "isElement", booleanAttribute] }, providers: [
4354
4381
  {
4355
4382
  provide: IS_ELEMENT,
4356
4383
  useExisting: IsElementDirective,
4357
4384
  },
4358
- ], ngImport: i0 });
4385
+ ], ngImport: i0 }); }
4359
4386
  }
4360
4387
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: IsElementDirective, decorators: [{
4361
4388
  type: Directive,
@@ -4375,23 +4402,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImpor
4375
4402
  }] } });
4376
4403
 
4377
4404
  class LetContext {
4378
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4379
- $implicit = null;
4380
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4381
- etLet = null;
4405
+ constructor() {
4406
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4407
+ this.$implicit = null;
4408
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4409
+ this.etLet = null;
4410
+ }
4382
4411
  }
4383
4412
 
4384
4413
  /** @deprecated Use the let keyword provided by Angular instead. */
4385
4414
  class LetDirective {
4386
- _viewContainer = inject(ViewContainerRef);
4415
+ constructor() {
4416
+ this._viewContainer = inject(ViewContainerRef);
4417
+ this._context = new LetContext();
4418
+ this._templateRef = inject(TemplateRef);
4419
+ this._viewRef = null;
4420
+ }
4387
4421
  set etLet(value) {
4388
4422
  this._context.$implicit = this._context.etLet = value;
4389
4423
  this._updateView();
4390
4424
  }
4391
- static ngTemplateGuard_ngLet;
4392
- _context = new LetContext();
4393
- _templateRef = inject(TemplateRef);
4394
- _viewRef = null;
4395
4425
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
4396
4426
  static ngTemplateContextGuard(dir, ctx) {
4397
4427
  return true;
@@ -4404,8 +4434,8 @@ class LetDirective {
4404
4434
  }
4405
4435
  }
4406
4436
  }
4407
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: LetDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
4408
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: LetDirective, isStandalone: true, selector: "[etLet]", inputs: { etLet: "etLet" }, ngImport: i0 });
4437
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: LetDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
4438
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: LetDirective, isStandalone: true, selector: "[etLet]", inputs: { etLet: "etLet" }, ngImport: i0 }); }
4409
4439
  }
4410
4440
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: LetDirective, decorators: [{
4411
4441
  type: Directive,
@@ -4418,10 +4448,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImpor
4418
4448
  }] } });
4419
4449
 
4420
4450
  class ObserveContentDirective {
4421
- _contentObserver = inject(ContentObserverService);
4422
- _elementRef = inject(ElementRef);
4423
- _ngZone = inject(NgZone);
4424
- valueChange = new EventEmitter();
4451
+ constructor() {
4452
+ this._contentObserver = inject(ContentObserverService);
4453
+ this._elementRef = inject(ElementRef);
4454
+ this._ngZone = inject(NgZone);
4455
+ this.valueChange = new EventEmitter();
4456
+ this._disabled = false;
4457
+ this._debounce = null;
4458
+ this._currentSubscription = null;
4459
+ }
4425
4460
  get disabled() {
4426
4461
  return this._disabled;
4427
4462
  }
@@ -4434,7 +4469,6 @@ class ObserveContentDirective {
4434
4469
  this._subscribe();
4435
4470
  }
4436
4471
  }
4437
- _disabled = false;
4438
4472
  get debounce() {
4439
4473
  return this._debounce;
4440
4474
  }
@@ -4442,8 +4476,6 @@ class ObserveContentDirective {
4442
4476
  this._debounce = numberAttribute(value) ?? null;
4443
4477
  this._subscribe();
4444
4478
  }
4445
- _debounce = null;
4446
- _currentSubscription = null;
4447
4479
  ngAfterContentInit() {
4448
4480
  if (!this._currentSubscription && !this.disabled) {
4449
4481
  this._subscribe();
@@ -4462,8 +4494,8 @@ class ObserveContentDirective {
4462
4494
  _unsubscribe() {
4463
4495
  this._currentSubscription?.unsubscribe();
4464
4496
  }
4465
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ObserveContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
4466
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: ObserveContentDirective, isStandalone: true, selector: "[etObserveContent]", inputs: { disabled: ["etObserveContentDisabled", "disabled"], debounce: ["etObserveContentDebounce", "debounce"] }, outputs: { valueChange: "etObserveContent" }, exportAs: ["etObserveContent"], ngImport: i0 });
4497
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ObserveContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
4498
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: ObserveContentDirective, isStandalone: true, selector: "[etObserveContent]", inputs: { disabled: ["etObserveContentDisabled", "disabled"], debounce: ["etObserveContentDebounce", "debounce"] }, outputs: { valueChange: "etObserveContent" }, exportAs: ["etObserveContent"], ngImport: i0 }); }
4467
4499
  }
4468
4500
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ObserveContentDirective, decorators: [{
4469
4501
  type: Directive,
@@ -4484,10 +4516,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImpor
4484
4516
  }] } });
4485
4517
 
4486
4518
  class ObserveResizeDirective {
4487
- _resizeObserver = inject(ResizeObserverService);
4488
- _elementRef = inject(ElementRef);
4489
- _ngZone = inject(NgZone);
4490
- valueChange = new EventEmitter();
4519
+ constructor() {
4520
+ this._resizeObserver = inject(ResizeObserverService);
4521
+ this._elementRef = inject(ElementRef);
4522
+ this._ngZone = inject(NgZone);
4523
+ this.valueChange = new EventEmitter();
4524
+ this._disabled = false;
4525
+ this._debounce = null;
4526
+ this._currentSubscription = null;
4527
+ }
4491
4528
  get disabled() {
4492
4529
  return this._disabled;
4493
4530
  }
@@ -4500,7 +4537,6 @@ class ObserveResizeDirective {
4500
4537
  this._subscribe();
4501
4538
  }
4502
4539
  }
4503
- _disabled = false;
4504
4540
  get debounce() {
4505
4541
  return this._debounce;
4506
4542
  }
@@ -4508,8 +4544,6 @@ class ObserveResizeDirective {
4508
4544
  this._debounce = numberAttribute(value) ?? null;
4509
4545
  this._subscribe();
4510
4546
  }
4511
- _debounce = null;
4512
- _currentSubscription = null;
4513
4547
  ngAfterContentInit() {
4514
4548
  if (!this._currentSubscription && !this.disabled) {
4515
4549
  this._subscribe();
@@ -4528,8 +4562,8 @@ class ObserveResizeDirective {
4528
4562
  _unsubscribe() {
4529
4563
  this._currentSubscription?.unsubscribe();
4530
4564
  }
4531
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ObserveResizeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
4532
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: ObserveResizeDirective, isStandalone: true, selector: "[etObserveResize]", inputs: { disabled: ["etObserveResizeDisabled", "disabled"], debounce: ["etObserveResizeDebounce", "debounce"] }, outputs: { valueChange: "etObserveResize" }, exportAs: ["etObserveResize"], ngImport: i0 });
4565
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ObserveResizeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
4566
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: ObserveResizeDirective, isStandalone: true, selector: "[etObserveResize]", inputs: { disabled: ["etObserveResizeDisabled", "disabled"], debounce: ["etObserveResizeDebounce", "debounce"] }, outputs: { valueChange: "etObserveResize" }, exportAs: ["etObserveResize"], ngImport: i0 }); }
4533
4567
  }
4534
4568
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ObserveResizeDirective, decorators: [{
4535
4569
  type: Directive,
@@ -4553,9 +4587,11 @@ const OBSERVE_SCROLL_STATE = new InjectionToken('OBSERVE_SCROLL_STATE');
4553
4587
 
4554
4588
  const SCROLL_OBSERVER_FIRST_ELEMENT_CLASS = 'et-scroll-observer-first-element';
4555
4589
  class ScrollObserverFirstElementDirective {
4556
- isFirstElement = false;
4557
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ScrollObserverFirstElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
4558
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.4", type: ScrollObserverFirstElementDirective, isStandalone: true, selector: "[etScrollObserverFirstElement]", inputs: { isFirstElement: ["etScrollObserverFirstElement", "isFirstElement", booleanAttribute] }, host: { properties: { "class.et-scroll-observer-first-element": "this.isFirstElement" } }, ngImport: i0 });
4590
+ constructor() {
4591
+ this.isFirstElement = false;
4592
+ }
4593
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ScrollObserverFirstElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
4594
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.4", type: ScrollObserverFirstElementDirective, isStandalone: true, selector: "[etScrollObserverFirstElement]", inputs: { isFirstElement: ["etScrollObserverFirstElement", "isFirstElement", booleanAttribute] }, host: { properties: { "class.et-scroll-observer-first-element": "this.isFirstElement" } }, ngImport: i0 }); }
4559
4595
  }
4560
4596
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ScrollObserverFirstElementDirective, decorators: [{
4561
4597
  type: Directive,
@@ -4573,8 +4609,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImpor
4573
4609
 
4574
4610
  const SCROLL_OBSERVER_IGNORE_TARGET_CLASS = 'et-scroll-observer-ignore-target';
4575
4611
  class ScrollObserverIgnoreTargetDirective {
4576
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ScrollObserverIgnoreTargetDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
4577
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: ScrollObserverIgnoreTargetDirective, isStandalone: true, selector: "[etScrollObserverIgnoreTarget]", host: { classAttribute: "et-scroll-observer-ignore-target" }, ngImport: i0 });
4612
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ScrollObserverIgnoreTargetDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
4613
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: ScrollObserverIgnoreTargetDirective, isStandalone: true, selector: "[etScrollObserverIgnoreTarget]", host: { classAttribute: "et-scroll-observer-ignore-target" }, ngImport: i0 }); }
4578
4614
  }
4579
4615
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ScrollObserverIgnoreTargetDirective, decorators: [{
4580
4616
  type: Directive,
@@ -4589,9 +4625,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImpor
4589
4625
 
4590
4626
  const SCROLL_OBSERVER_LAST_ELEMENT_CLASS = 'et-scroll-observer-last-element';
4591
4627
  class ScrollObserverLastElementDirective {
4592
- isLastElement = false;
4593
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ScrollObserverLastElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
4594
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.4", type: ScrollObserverLastElementDirective, isStandalone: true, selector: "[etScrollObserverLastElement]", inputs: { isLastElement: ["etScrollObserverLastElement", "isLastElement", booleanAttribute] }, host: { properties: { "class.et-scroll-observer-last-element": "this.isLastElement" }, classAttribute: "et-scroll-observer-last-element" }, ngImport: i0 });
4628
+ constructor() {
4629
+ this.isLastElement = false;
4630
+ }
4631
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ScrollObserverLastElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
4632
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.4", type: ScrollObserverLastElementDirective, isStandalone: true, selector: "[etScrollObserverLastElement]", inputs: { isLastElement: ["etScrollObserverLastElement", "isLastElement", booleanAttribute] }, host: { properties: { "class.et-scroll-observer-last-element": "this.isLastElement" }, classAttribute: "et-scroll-observer-last-element" }, ngImport: i0 }); }
4595
4633
  }
4596
4634
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ScrollObserverLastElementDirective, decorators: [{
4597
4635
  type: Directive,
@@ -4613,10 +4651,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImpor
4613
4651
  const SCROLL_OBSERVER_OBSERVING_FIRST_ELEMENT_CLASS = 'et-scroll-observer-observing-first-element';
4614
4652
  const SCROLL_OBSERVER_OBSERVING_LAST_ELEMENT_CLASS = 'et-scroll-observer-observing-last-element';
4615
4653
  class ObserveScrollStateDirective {
4616
- _destroy$ = createDestroy();
4617
- _elementRef = inject(ElementRef);
4618
- _contentObserverService = inject(ContentObserverService);
4619
- _resizeObserverService = inject(ResizeObserverService);
4654
+ constructor() {
4655
+ this._destroy$ = createDestroy();
4656
+ this._elementRef = inject(ElementRef);
4657
+ this._contentObserverService = inject(ContentObserverService);
4658
+ this._resizeObserverService = inject(ResizeObserverService);
4659
+ this.rootMargin = 0;
4660
+ this._threshold = [0.99, 0.99999, 0.9999, 0.999, 1];
4661
+ this._intersectionObserver = null;
4662
+ this.valueChange = new EventEmitter();
4663
+ }
4620
4664
  get _firstCurrentChild() {
4621
4665
  const explicitFirstElement = this._elementRef.nativeElement.querySelector(`.${SCROLL_OBSERVER_FIRST_ELEMENT_CLASS}`);
4622
4666
  if (explicitFirstElement) {
@@ -4633,7 +4677,6 @@ class ObserveScrollStateDirective {
4633
4677
  const element = this._elementRef.nativeElement.children[this._elementRef.nativeElement.children.length - 1];
4634
4678
  return this._getNonIgnoredChild(element, 'previous');
4635
4679
  }
4636
- rootMargin = 0;
4637
4680
  get observerThreshold() {
4638
4681
  return this._threshold;
4639
4682
  }
@@ -4644,8 +4687,6 @@ class ObserveScrollStateDirective {
4644
4687
  }
4645
4688
  this._threshold = numberAttribute(value);
4646
4689
  }
4647
- _threshold = [0.99, 0.99999, 0.9999, 0.999, 1];
4648
- _intersectionObserver = null;
4649
4690
  get _observerElements() {
4650
4691
  const firstEl = this._elementRef.nativeElement.querySelector(`.${SCROLL_OBSERVER_FIRST_ELEMENT_CLASS}`);
4651
4692
  const lastEl = this._elementRef.nativeElement.querySelector(`.${SCROLL_OBSERVER_LAST_ELEMENT_CLASS}`);
@@ -4656,7 +4697,6 @@ class ObserveScrollStateDirective {
4656
4697
  last: lastEl,
4657
4698
  };
4658
4699
  }
4659
- valueChange = new EventEmitter();
4660
4700
  ngOnInit() {
4661
4701
  this._contentObserverService
4662
4702
  .observe(this._elementRef.nativeElement)
@@ -4748,13 +4788,13 @@ class ObserveScrollStateDirective {
4748
4788
  }
4749
4789
  return element;
4750
4790
  }
4751
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ObserveScrollStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
4752
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.4", type: ObserveScrollStateDirective, isStandalone: true, selector: "[etObserveScrollState]", inputs: { rootMargin: ["rootMargin", "rootMargin", numberAttribute], observerThreshold: "observerThreshold" }, outputs: { valueChange: "etObserveScrollState" }, providers: [
4791
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ObserveScrollStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
4792
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.4", type: ObserveScrollStateDirective, isStandalone: true, selector: "[etObserveScrollState]", inputs: { rootMargin: ["rootMargin", "rootMargin", numberAttribute], observerThreshold: "observerThreshold" }, outputs: { valueChange: "etObserveScrollState" }, providers: [
4753
4793
  {
4754
4794
  provide: OBSERVE_SCROLL_STATE,
4755
4795
  useExisting: ObserveScrollStateDirective,
4756
4796
  },
4757
- ], exportAs: ["etObserveScrollState"], ngImport: i0 });
4797
+ ], exportAs: ["etObserveScrollState"], ngImport: i0 }); }
4758
4798
  }
4759
4799
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ObserveScrollStateDirective, decorators: [{
4760
4800
  type: Directive,
@@ -4788,14 +4828,14 @@ const signalVisibilityChangeClasses = (cfg) => ({
4788
4828
  [`${cfg.name}--is-visible`]: computed(() => cfg.signal()?.visible),
4789
4829
  });
4790
4830
  class ObserveVisibilityDirective {
4791
- _destroy$ = createDestroy();
4792
- _elementRef = inject(ElementRef);
4793
- _intersectionObserverService = inject(IntersectionObserverService);
4794
- visibilityChange = signal(null);
4795
- currentVisibility = this.visibilityChange.asReadonly();
4796
- currentVisibility$ = toObservable(this.currentVisibility);
4797
- etObserveVisibility = new EventEmitter();
4798
4831
  constructor() {
4832
+ this._destroy$ = createDestroy();
4833
+ this._elementRef = inject(ElementRef);
4834
+ this._intersectionObserverService = inject(IntersectionObserverService);
4835
+ this.visibilityChange = signal(null);
4836
+ this.currentVisibility = this.visibilityChange.asReadonly();
4837
+ this.currentVisibility$ = toObservable(this.currentVisibility);
4838
+ this.etObserveVisibility = new EventEmitter();
4799
4839
  signalHostClasses(signalVisibilityChangeClasses({
4800
4840
  name: 'et-observe-visibility',
4801
4841
  signal: this.visibilityChange,
@@ -4826,13 +4866,13 @@ class ObserveVisibilityDirective {
4826
4866
  }))
4827
4867
  .subscribe();
4828
4868
  }
4829
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ObserveVisibilityDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
4830
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: ObserveVisibilityDirective, isStandalone: true, selector: "[etObserveVisibility]", outputs: { etObserveVisibility: "etObserveVisibility" }, host: { classAttribute: "et-observe-visibility" }, providers: [
4869
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ObserveVisibilityDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
4870
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: ObserveVisibilityDirective, isStandalone: true, selector: "[etObserveVisibility]", outputs: { etObserveVisibility: "etObserveVisibility" }, host: { classAttribute: "et-observe-visibility" }, providers: [
4831
4871
  {
4832
4872
  provide: OBSERVE_VISIBILITY_TOKEN,
4833
4873
  useExisting: ObserveVisibilityDirective,
4834
4874
  },
4835
- ], ngImport: i0 });
4875
+ ], ngImport: i0 }); }
4836
4876
  }
4837
4877
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ObserveVisibilityDirective, decorators: [{
4838
4878
  type: Directive,
@@ -4854,8 +4894,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImpor
4854
4894
  }] } });
4855
4895
 
4856
4896
  class RepeatDirective {
4857
- _mainTemplateRef;
4858
- _viewContainerRef;
4859
4897
  get repeatCount() {
4860
4898
  return this._repeatCount;
4861
4899
  }
@@ -4863,10 +4901,10 @@ class RepeatDirective {
4863
4901
  this._repeatCount = numberAttribute(value);
4864
4902
  this._render();
4865
4903
  }
4866
- _repeatCount = 2;
4867
4904
  constructor(_mainTemplateRef, _viewContainerRef) {
4868
4905
  this._mainTemplateRef = _mainTemplateRef;
4869
4906
  this._viewContainerRef = _viewContainerRef;
4907
+ this._repeatCount = 2;
4870
4908
  }
4871
4909
  _render() {
4872
4910
  this._viewContainerRef.clear();
@@ -4874,8 +4912,8 @@ class RepeatDirective {
4874
4912
  this._viewContainerRef.createEmbeddedView(this._mainTemplateRef);
4875
4913
  }
4876
4914
  }
4877
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RepeatDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
4878
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: RepeatDirective, isStandalone: true, selector: "[etRepeat]", inputs: { repeatCount: ["etRepeat", "repeatCount"] }, ngImport: i0 });
4915
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RepeatDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
4916
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: RepeatDirective, isStandalone: true, selector: "[etRepeat]", inputs: { repeatCount: ["etRepeat", "repeatCount"] }, ngImport: i0 }); }
4879
4917
  }
4880
4918
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RepeatDirective, decorators: [{
4881
4919
  type: Directive,
@@ -4898,15 +4936,17 @@ const mergeSeoConfig = (config, parentConfig) => {
4898
4936
  };
4899
4937
 
4900
4938
  class SeoDirective {
4901
- _metaService = inject(Meta);
4902
- _titleService = inject(Title);
4903
- _onDeactivate$ = new Subject();
4904
- _isDeactivated = false;
4905
- parent = inject(SEO_DIRECTIVE_TOKEN, { optional: true, skipSelf: true });
4939
+ constructor() {
4940
+ this._metaService = inject(Meta);
4941
+ this._titleService = inject(Title);
4942
+ this._onDeactivate$ = new Subject();
4943
+ this._isDeactivated = false;
4944
+ this.parent = inject(SEO_DIRECTIVE_TOKEN, { optional: true, skipSelf: true });
4945
+ this._config = {};
4946
+ }
4906
4947
  get config() {
4907
4948
  return this._config;
4908
4949
  }
4909
- _config = {};
4910
4950
  ngOnInit() {
4911
4951
  this.parent?._deactivate();
4912
4952
  }
@@ -5044,8 +5084,8 @@ class SeoDirective {
5044
5084
  }
5045
5085
  }
5046
5086
  }
5047
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: SeoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
5048
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: SeoDirective, isStandalone: true, providers: [{ provide: SEO_DIRECTIVE_TOKEN, useExisting: SeoDirective }], ngImport: i0 });
5087
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: SeoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
5088
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: SeoDirective, isStandalone: true, providers: [{ provide: SEO_DIRECTIVE_TOKEN, useExisting: SeoDirective }], ngImport: i0 }); }
5049
5089
  }
5050
5090
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: SeoDirective, decorators: [{
5051
5091
  type: Directive,
@@ -5252,9 +5292,11 @@ const inferMimeType = (srcset) => {
5252
5292
  };
5253
5293
 
5254
5294
  class InferMimeTypePipe {
5255
- transform = inferMimeType;
5256
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: InferMimeTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
5257
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: InferMimeTypePipe, isStandalone: true, name: "inferMimeType" });
5295
+ constructor() {
5296
+ this.transform = inferMimeType;
5297
+ }
5298
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: InferMimeTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
5299
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: InferMimeTypePipe, isStandalone: true, name: "inferMimeType" }); }
5258
5300
  }
5259
5301
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: InferMimeTypePipe, decorators: [{
5260
5302
  type: Pipe,
@@ -5299,9 +5341,11 @@ const normalizeGameResultType = (type) => {
5299
5341
  };
5300
5342
 
5301
5343
  class NormalizeGameResultTypePipe {
5302
- transform = normalizeGameResultType;
5303
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NormalizeGameResultTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
5304
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: NormalizeGameResultTypePipe, isStandalone: true, name: "etNormalizeGameResultType" });
5344
+ constructor() {
5345
+ this.transform = normalizeGameResultType;
5346
+ }
5347
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NormalizeGameResultTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
5348
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: NormalizeGameResultTypePipe, isStandalone: true, name: "etNormalizeGameResultType" }); }
5305
5349
  }
5306
5350
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NormalizeGameResultTypePipe, decorators: [{
5307
5351
  type: Pipe,
@@ -5328,9 +5372,11 @@ const normalizeMatchState = (match) => {
5328
5372
  };
5329
5373
 
5330
5374
  class NormalizeMatchStatePipe {
5331
- transform = normalizeMatchState;
5332
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NormalizeMatchStatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
5333
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: NormalizeMatchStatePipe, isStandalone: true, name: "etNormalizeMatchState" });
5375
+ constructor() {
5376
+ this.transform = normalizeMatchState;
5377
+ }
5378
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NormalizeMatchStatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
5379
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: NormalizeMatchStatePipe, isStandalone: true, name: "etNormalizeMatchState" }); }
5334
5380
  }
5335
5381
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NormalizeMatchStatePipe, decorators: [{
5336
5382
  type: Pipe,
@@ -5384,9 +5430,11 @@ const normalizeMatchParticipant = (match, side) => {
5384
5430
  };
5385
5431
 
5386
5432
  class NormalizeMatchParticipantsPipe {
5387
- transform = normalizeMatchParticipants;
5388
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NormalizeMatchParticipantsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
5389
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: NormalizeMatchParticipantsPipe, isStandalone: true, name: "etNormalizeMatchParticipants" });
5433
+ constructor() {
5434
+ this.transform = normalizeMatchParticipants;
5435
+ }
5436
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NormalizeMatchParticipantsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
5437
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: NormalizeMatchParticipantsPipe, isStandalone: true, name: "etNormalizeMatchParticipants" }); }
5390
5438
  }
5391
5439
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NormalizeMatchParticipantsPipe, decorators: [{
5392
5440
  type: Pipe,
@@ -5519,9 +5567,11 @@ const getGroupMatchPoints = (match) => {
5519
5567
  };
5520
5568
 
5521
5569
  class NormalizeMatchScorePipe {
5522
- transform = normalizeMatchScore;
5523
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NormalizeMatchScorePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
5524
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: NormalizeMatchScorePipe, isStandalone: true, name: "etNormalizeMatchScore" });
5570
+ constructor() {
5571
+ this.transform = normalizeMatchScore;
5572
+ }
5573
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NormalizeMatchScorePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
5574
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: NormalizeMatchScorePipe, isStandalone: true, name: "etNormalizeMatchScore" }); }
5525
5575
  }
5526
5576
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NormalizeMatchScorePipe, decorators: [{
5527
5577
  type: Pipe,
@@ -5567,9 +5617,11 @@ const normalizeMatchType = (matchType) => {
5567
5617
  };
5568
5618
 
5569
5619
  class NormalizeMatchTypePipe {
5570
- transform = normalizeMatchType;
5571
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NormalizeMatchTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
5572
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: NormalizeMatchTypePipe, isStandalone: true, name: "etNormalizeMatchType" });
5620
+ constructor() {
5621
+ this.transform = normalizeMatchType;
5622
+ }
5623
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NormalizeMatchTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
5624
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: NormalizeMatchTypePipe, isStandalone: true, name: "etNormalizeMatchType" }); }
5573
5625
  }
5574
5626
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NormalizeMatchTypePipe, decorators: [{
5575
5627
  type: Pipe,
@@ -5582,9 +5634,11 @@ const toArray = (value) => {
5582
5634
  const toArrayTrackByFn = (_, item) => item;
5583
5635
 
5584
5636
  class ToArrayPipe {
5585
- transform = toArray;
5586
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ToArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
5587
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: ToArrayPipe, isStandalone: true, name: "toArray" });
5637
+ constructor() {
5638
+ this.transform = toArray;
5639
+ }
5640
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ToArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
5641
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: ToArrayPipe, isStandalone: true, name: "toArray" }); }
5588
5642
  }
5589
5643
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ToArrayPipe, decorators: [{
5590
5644
  type: Pipe,
@@ -5789,10 +5843,10 @@ const createDependencyStash = (stash) => {
5789
5843
  };
5790
5844
 
5791
5845
  class PropsDirective {
5792
- destroyRef = inject(DestroyRef);
5793
- props = input.required({ alias: 'etProps', transform: (d) => d });
5794
- propHandlers = createPropHandlers();
5795
5846
  constructor() {
5847
+ this.destroyRef = inject(DestroyRef);
5848
+ this.props = input.required({ alias: 'etProps', transform: (d) => d });
5849
+ this.propHandlers = createPropHandlers();
5796
5850
  afterNextRender({
5797
5851
  write: () => {
5798
5852
  bindProps({
@@ -5808,8 +5862,8 @@ class PropsDirective {
5808
5862
  });
5809
5863
  });
5810
5864
  }
5811
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: PropsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
5812
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.4", type: PropsDirective, isStandalone: true, selector: "[etProps]", inputs: { props: { classPropertyName: "props", publicName: "etProps", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
5865
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: PropsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
5866
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.4", type: PropsDirective, isStandalone: true, selector: "[etProps]", inputs: { props: { classPropertyName: "props", publicName: "etProps", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
5813
5867
  }
5814
5868
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: PropsDirective, decorators: [{
5815
5869
  type: Directive,