@ethlete/core 4.29.2 → 4.29.4
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.
- package/CHANGELOG.md +12 -2
- package/fesm2022/ethlete-core.mjs +172 -167
- package/fesm2022/ethlete-core.mjs.map +1 -1
- package/package.json +8 -8
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, HostBinding, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, 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';
|
|
2
|
+
import { inject, HostBinding, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, InjectionToken, assertInInjectionContext, DestroyRef, ElementRef, TemplateRef, Injectable, isSignal, signal, QueryList, computed, Injector, effect, untracked, runInInjectionContext, afterNextRender, Renderer2, RendererStyleFlags2, NgZone, isDevMode, PLATFORM_ID, Directive, model, ViewContainerRef, booleanAttribute, EventEmitter, Output, numberAttribute, Pipe, input } from '@angular/core';
|
|
3
3
|
import { DomSanitizer, Meta, Title } from '@angular/platform-browser';
|
|
4
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';
|
|
8
8
|
import * as i1 from '@angular/common';
|
|
9
|
-
import { DOCUMENT, NgIf } from '@angular/common';
|
|
9
|
+
import { DOCUMENT, isPlatformBrowser, NgIf } from '@angular/common';
|
|
10
10
|
import { toSignal, toObservable, takeUntilDestroyed, outputFromObservable } from '@angular/core/rxjs-interop';
|
|
11
11
|
import { Router, NavigationEnd, NavigationSkipped } from '@angular/router';
|
|
12
12
|
import { __decorate, __metadata } from 'tslib';
|
|
@@ -30,10 +30,10 @@ class StructuredDataComponent {
|
|
|
30
30
|
const html = `<script type="application/ld+json">${json}</script>`;
|
|
31
31
|
return this._sanitizer.bypassSecurityTrustHtml(html);
|
|
32
32
|
}
|
|
33
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
34
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.
|
|
33
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: StructuredDataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
34
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.2", 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 }); }
|
|
35
35
|
}
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: StructuredDataComponent, decorators: [{
|
|
37
37
|
type: Component,
|
|
38
38
|
args: [{
|
|
39
39
|
selector: 'et-structured-data',
|
|
@@ -734,10 +734,10 @@ class ClickObserverFactory {
|
|
|
734
734
|
create() {
|
|
735
735
|
return fromEvent(document, 'click');
|
|
736
736
|
}
|
|
737
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
738
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
737
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ClickObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
738
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ClickObserverFactory, providedIn: 'root' }); }
|
|
739
739
|
}
|
|
740
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
740
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ClickObserverFactory, decorators: [{
|
|
741
741
|
type: Injectable,
|
|
742
742
|
args: [{ providedIn: 'root' }]
|
|
743
743
|
}] });
|
|
@@ -790,10 +790,10 @@ class ClickObserverService {
|
|
|
790
790
|
this._observedElements.delete(element);
|
|
791
791
|
}
|
|
792
792
|
}
|
|
793
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
794
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
793
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ClickObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
794
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ClickObserverService, providedIn: 'root' }); }
|
|
795
795
|
}
|
|
796
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
796
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ClickObserverService, decorators: [{
|
|
797
797
|
type: Injectable,
|
|
798
798
|
args: [{ providedIn: 'root' }]
|
|
799
799
|
}] });
|
|
@@ -803,10 +803,10 @@ class MutationObserverFactory {
|
|
|
803
803
|
create(callback) {
|
|
804
804
|
return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);
|
|
805
805
|
}
|
|
806
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
807
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
806
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: MutationObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
807
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: MutationObserverFactory, providedIn: 'root' }); }
|
|
808
808
|
}
|
|
809
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
809
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: MutationObserverFactory, decorators: [{
|
|
810
810
|
type: Injectable,
|
|
811
811
|
args: [{ providedIn: 'root' }]
|
|
812
812
|
}] });
|
|
@@ -865,10 +865,10 @@ class ContentObserverService {
|
|
|
865
865
|
this._observedElements.delete(element);
|
|
866
866
|
}
|
|
867
867
|
}
|
|
868
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
869
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
868
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ContentObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
869
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ContentObserverService, providedIn: 'root' }); }
|
|
870
870
|
}
|
|
871
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
871
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ContentObserverService, decorators: [{
|
|
872
872
|
type: Injectable,
|
|
873
873
|
args: [{ providedIn: 'root' }]
|
|
874
874
|
}] });
|
|
@@ -894,10 +894,10 @@ class FocusVisibleService {
|
|
|
894
894
|
onPointerDown() {
|
|
895
895
|
this._hadKeyboardEvent = false;
|
|
896
896
|
}
|
|
897
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
898
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
897
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: FocusVisibleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
898
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: FocusVisibleService, providedIn: 'root' }); }
|
|
899
899
|
}
|
|
900
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
900
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: FocusVisibleService, decorators: [{
|
|
901
901
|
type: Injectable,
|
|
902
902
|
args: [{
|
|
903
903
|
providedIn: 'root',
|
|
@@ -909,10 +909,10 @@ class IntersectionObserverFactory {
|
|
|
909
909
|
create(callback) {
|
|
910
910
|
return typeof IntersectionObserver === 'undefined' ? null : new IntersectionObserver(callback);
|
|
911
911
|
}
|
|
912
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
913
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
912
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: IntersectionObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
913
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: IntersectionObserverFactory, providedIn: 'root' }); }
|
|
914
914
|
}
|
|
915
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
915
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: IntersectionObserverFactory, decorators: [{
|
|
916
916
|
type: Injectable,
|
|
917
917
|
args: [{ providedIn: 'root' }]
|
|
918
918
|
}] });
|
|
@@ -967,10 +967,10 @@ class IntersectionObserverService {
|
|
|
967
967
|
this._observedElements.delete(element);
|
|
968
968
|
}
|
|
969
969
|
}
|
|
970
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
971
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
970
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: IntersectionObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
971
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: IntersectionObserverService, providedIn: 'root' }); }
|
|
972
972
|
}
|
|
973
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
973
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: IntersectionObserverService, decorators: [{
|
|
974
974
|
type: Injectable,
|
|
975
975
|
args: [{ providedIn: 'root' }]
|
|
976
976
|
}] });
|
|
@@ -980,10 +980,10 @@ class ResizeObserverFactory {
|
|
|
980
980
|
create(callback) {
|
|
981
981
|
return typeof ResizeObserver === 'undefined' ? null : new ResizeObserver(callback);
|
|
982
982
|
}
|
|
983
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
984
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
983
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ResizeObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
984
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ResizeObserverFactory, providedIn: 'root' }); }
|
|
985
985
|
}
|
|
986
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
986
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ResizeObserverFactory, decorators: [{
|
|
987
987
|
type: Injectable,
|
|
988
988
|
args: [{ providedIn: 'root' }]
|
|
989
989
|
}] });
|
|
@@ -1038,10 +1038,10 @@ class ResizeObserverService {
|
|
|
1038
1038
|
this._observedElements.delete(element);
|
|
1039
1039
|
}
|
|
1040
1040
|
}
|
|
1041
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1042
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
1041
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ResizeObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1042
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ResizeObserverService, providedIn: 'root' }); }
|
|
1043
1043
|
}
|
|
1044
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1044
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ResizeObserverService, decorators: [{
|
|
1045
1045
|
type: Injectable,
|
|
1046
1046
|
args: [{ providedIn: 'root' }]
|
|
1047
1047
|
}] });
|
|
@@ -1236,10 +1236,10 @@ class RouterStateService {
|
|
|
1236
1236
|
fragment,
|
|
1237
1237
|
};
|
|
1238
1238
|
}
|
|
1239
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1240
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
1239
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: RouterStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1240
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: RouterStateService, providedIn: 'root' }); }
|
|
1241
1241
|
}
|
|
1242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: RouterStateService, decorators: [{
|
|
1243
1243
|
type: Injectable,
|
|
1244
1244
|
args: [{
|
|
1245
1245
|
providedIn: 'root',
|
|
@@ -1455,8 +1455,8 @@ class ViewportService {
|
|
|
1455
1455
|
}
|
|
1456
1456
|
return 'xs';
|
|
1457
1457
|
}
|
|
1458
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1459
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
1458
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ViewportService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1459
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ViewportService, providedIn: 'root' }); }
|
|
1460
1460
|
}
|
|
1461
1461
|
__decorate([
|
|
1462
1462
|
Memo(),
|
|
@@ -1474,7 +1474,7 @@ __decorate([
|
|
|
1474
1474
|
__metadata("design:paramtypes", [Object]),
|
|
1475
1475
|
__metadata("design:returntype", void 0)
|
|
1476
1476
|
], ViewportService.prototype, "_buildMediaQuery", null);
|
|
1477
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ViewportService, decorators: [{
|
|
1478
1478
|
type: Injectable,
|
|
1479
1479
|
args: [{
|
|
1480
1480
|
providedIn: 'root',
|
|
@@ -1802,7 +1802,7 @@ const buildSignalEffects = (el, config) => {
|
|
|
1802
1802
|
return { remove, removeMany, has, push, pushMany };
|
|
1803
1803
|
};
|
|
1804
1804
|
const signalIsRendered = () => {
|
|
1805
|
-
const isRendered = signal(false);
|
|
1805
|
+
const isRendered = signal(false, ...(ngDevMode ? [{ debugName: "isRendered" }] : []));
|
|
1806
1806
|
afterNextRender(() => isRendered.set(true));
|
|
1807
1807
|
return isRendered.asReadonly();
|
|
1808
1808
|
};
|
|
@@ -1902,7 +1902,7 @@ const signalElementDimensions = (el) => {
|
|
|
1902
1902
|
const zone = inject(NgZone);
|
|
1903
1903
|
const isRendered = signalIsRendered();
|
|
1904
1904
|
const initialValue = () => createElementDimensions(elements().currentElement);
|
|
1905
|
-
const elementDimensionsSignal = signal(initialValue());
|
|
1905
|
+
const elementDimensionsSignal = signal(initialValue(), ...(ngDevMode ? [{ debugName: "elementDimensionsSignal" }] : []));
|
|
1906
1906
|
const observer = new ResizeObserver((e) => {
|
|
1907
1907
|
if (!isRendered())
|
|
1908
1908
|
return;
|
|
@@ -1941,7 +1941,7 @@ const signalElementMutations = (el, options) => {
|
|
|
1941
1941
|
const elements = buildElementSignal(el);
|
|
1942
1942
|
const zone = inject(NgZone);
|
|
1943
1943
|
const isRendered = signalIsRendered();
|
|
1944
|
-
const elementMutationsSignal = signal(null);
|
|
1944
|
+
const elementMutationsSignal = signal(null, ...(ngDevMode ? [{ debugName: "elementMutationsSignal" }] : []));
|
|
1945
1945
|
const observer = new MutationObserver((e) => {
|
|
1946
1946
|
if (!isRendered())
|
|
1947
1947
|
return;
|
|
@@ -1990,7 +1990,7 @@ const signalElementScrollState = (el, options) => {
|
|
|
1990
1990
|
element.scrollTop = scrollPosition.top;
|
|
1991
1991
|
ref.destroy();
|
|
1992
1992
|
}
|
|
1993
|
-
});
|
|
1993
|
+
}, ...(ngDevMode ? [{ debugName: "ref" }] : []));
|
|
1994
1994
|
}
|
|
1995
1995
|
const notScrollable = (dimensions) => ({
|
|
1996
1996
|
canScroll: false,
|
|
@@ -2025,8 +2025,8 @@ const signalElementIntersection = (el, options) => {
|
|
|
2025
2025
|
const zone = inject(NgZone);
|
|
2026
2026
|
const isRendered = signalIsRendered();
|
|
2027
2027
|
const isEnabled = options?.enabled ?? signal(true);
|
|
2028
|
-
const elementIntersectionSignal = signal([]);
|
|
2029
|
-
const observer = signal(null);
|
|
2028
|
+
const elementIntersectionSignal = signal([], ...(ngDevMode ? [{ debugName: "elementIntersectionSignal" }] : []));
|
|
2029
|
+
const observer = signal(null, ...(ngDevMode ? [{ debugName: "observer" }] : []));
|
|
2030
2030
|
const currentlyObservedElements = new Set();
|
|
2031
2031
|
const updateIntersections = (entries) => {
|
|
2032
2032
|
let currentValues = [...elementIntersectionSignal()];
|
|
@@ -2188,21 +2188,21 @@ const syncSignal = (from, to, options) => {
|
|
|
2188
2188
|
untracked(() => {
|
|
2189
2189
|
to.set(formVal);
|
|
2190
2190
|
});
|
|
2191
|
-
});
|
|
2191
|
+
}, ...(ngDevMode ? [{ debugName: "ref" }] : []));
|
|
2192
2192
|
return ref;
|
|
2193
2193
|
};
|
|
2194
2194
|
const controlValueSignal = (control, options) => {
|
|
2195
2195
|
let initialValue = null;
|
|
2196
2196
|
const getRawValueSafe = (ctrl) => {
|
|
2197
2197
|
try {
|
|
2198
|
-
return ctrl?.getRawValue() ?? null;
|
|
2198
|
+
return isSignal(ctrl) ? (ctrl()?.getRawValue() ?? null) : (ctrl?.getRawValue() ?? null);
|
|
2199
2199
|
}
|
|
2200
2200
|
catch {
|
|
2201
2201
|
// Ignore errors. This can happen if the passed control is a required input and is not yet initialized.
|
|
2202
2202
|
return null;
|
|
2203
2203
|
}
|
|
2204
2204
|
};
|
|
2205
|
-
initialValue =
|
|
2205
|
+
initialValue = getRawValueSafe(control);
|
|
2206
2206
|
const controlStream = isSignal(control)
|
|
2207
2207
|
? toObservable(control)
|
|
2208
2208
|
: of(control);
|
|
@@ -2212,7 +2212,7 @@ const controlValueSignal = (control, options) => {
|
|
|
2212
2212
|
const vcsObs = options?.debounceTime
|
|
2213
2213
|
? ctrl.valueChanges.pipe(debounceTime(options.debounceTime))
|
|
2214
2214
|
: ctrl.valueChanges;
|
|
2215
|
-
return vcsObs.pipe(map(() =>
|
|
2215
|
+
return vcsObs.pipe(startWith(ctrl.getRawValue()), map(() => ctrl.getRawValue()));
|
|
2216
2216
|
}));
|
|
2217
2217
|
const obs = !options?.debounceFirst ? merge(of(initialValue), controlObs) : controlObs;
|
|
2218
2218
|
return toSignal(obs.pipe(distinctUntilChanged((a, b) => equal(a, b))), {
|
|
@@ -2240,7 +2240,12 @@ const transformOrReturn = (src, config) => {
|
|
|
2240
2240
|
/** Inject the current router event */
|
|
2241
2241
|
const injectRouterEvent = () => {
|
|
2242
2242
|
const router = inject(Router);
|
|
2243
|
-
|
|
2243
|
+
const isBrowser = isPlatformBrowser(inject(PLATFORM_ID));
|
|
2244
|
+
if (!isBrowser) {
|
|
2245
|
+
return toSignal(router.events, { initialValue: null });
|
|
2246
|
+
}
|
|
2247
|
+
const route = window.location.pathname + window.location.search + window.location.hash;
|
|
2248
|
+
return toSignal(router.events, { initialValue: new NavigationEnd(-1, route, route) });
|
|
2244
2249
|
};
|
|
2245
2250
|
/**
|
|
2246
2251
|
* Inject the current url.
|
|
@@ -2250,7 +2255,7 @@ const injectRouterEvent = () => {
|
|
|
2250
2255
|
const injectUrl = () => {
|
|
2251
2256
|
const event = injectRouterEvent();
|
|
2252
2257
|
const router = inject(Router);
|
|
2253
|
-
const url = signal(router.url);
|
|
2258
|
+
const url = signal(router.url, ...(ngDevMode ? [{ debugName: "url" }] : []));
|
|
2254
2259
|
effect(() => {
|
|
2255
2260
|
const currentEvent = event();
|
|
2256
2261
|
untracked(() => {
|
|
@@ -2297,7 +2302,7 @@ const createRouterState = (router) => {
|
|
|
2297
2302
|
const injectRouterState = () => {
|
|
2298
2303
|
const url = injectUrl();
|
|
2299
2304
|
const router = inject(Router);
|
|
2300
|
-
const routerState = signal(createRouterState(router));
|
|
2305
|
+
const routerState = signal(createRouterState(router), ...(ngDevMode ? [{ debugName: "routerState" }] : []));
|
|
2301
2306
|
effect(() => {
|
|
2302
2307
|
url();
|
|
2303
2308
|
untracked(() => routerState.set(createRouterState(router)));
|
|
@@ -2307,31 +2312,31 @@ const injectRouterState = () => {
|
|
|
2307
2312
|
/** Inject a signal containing the current route fragment (the part after the # inside the url if present) */
|
|
2308
2313
|
const injectFragment = (config) => {
|
|
2309
2314
|
const routerState = injectRouterState();
|
|
2310
|
-
const fragment = computed(() => routerState().fragment);
|
|
2315
|
+
const fragment = computed(() => routerState().fragment, ...(ngDevMode ? [{ debugName: "fragment" }] : []));
|
|
2311
2316
|
return transformOrReturn(fragment, config);
|
|
2312
2317
|
};
|
|
2313
2318
|
/** Inject all currently available query parameters as a signal */
|
|
2314
2319
|
const injectQueryParams = () => {
|
|
2315
2320
|
const routerState = injectRouterState();
|
|
2316
|
-
const queryParams = computed(() => routerState().queryParams);
|
|
2321
|
+
const queryParams = computed(() => routerState().queryParams, ...(ngDevMode ? [{ debugName: "queryParams" }] : []));
|
|
2317
2322
|
return queryParams;
|
|
2318
2323
|
};
|
|
2319
2324
|
/** Inject all currently available route data as a signal */
|
|
2320
2325
|
const injectRouteData = () => {
|
|
2321
2326
|
const routerState = injectRouterState();
|
|
2322
|
-
const data = computed(() => routerState().data);
|
|
2327
|
+
const data = computed(() => routerState().data, ...(ngDevMode ? [{ debugName: "data" }] : []));
|
|
2323
2328
|
return data;
|
|
2324
2329
|
};
|
|
2325
2330
|
/** Inject the current route title as a signal */
|
|
2326
2331
|
const injectRouteTitle = (config) => {
|
|
2327
2332
|
const routerState = injectRouterState();
|
|
2328
|
-
const title = computed(() => routerState().title);
|
|
2333
|
+
const title = computed(() => routerState().title, ...(ngDevMode ? [{ debugName: "title" }] : []));
|
|
2329
2334
|
return transformOrReturn(title, config);
|
|
2330
2335
|
};
|
|
2331
2336
|
/** Inject all currently available path parameters as a signal */
|
|
2332
2337
|
const injectPathParams = () => {
|
|
2333
2338
|
const routerState = injectRouterState();
|
|
2334
|
-
const pathParams = computed(() => routerState().pathParams);
|
|
2339
|
+
const pathParams = computed(() => routerState().pathParams, ...(ngDevMode ? [{ debugName: "pathParams" }] : []));
|
|
2335
2340
|
return pathParams;
|
|
2336
2341
|
};
|
|
2337
2342
|
/** Inject a specific query parameter as a signal */
|
|
@@ -2401,7 +2406,7 @@ const injectPathParamChanges = () => {
|
|
|
2401
2406
|
});
|
|
2402
2407
|
};
|
|
2403
2408
|
const createIsRenderedSignal = () => {
|
|
2404
|
-
const value = signal(false);
|
|
2409
|
+
const value = signal(false, ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
2405
2410
|
nextFrame(() => {
|
|
2406
2411
|
if (!value()) {
|
|
2407
2412
|
console.error('Render signal was not set to true. This can cause unexpected behavior. Make sure to .bind() the render signal at the end of the constructor.');
|
|
@@ -2413,7 +2418,7 @@ const createIsRenderedSignal = () => {
|
|
|
2413
2418
|
};
|
|
2414
2419
|
};
|
|
2415
2420
|
const createCanAnimateSignal = () => {
|
|
2416
|
-
const value = signal(false);
|
|
2421
|
+
const value = signal(false, ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
2417
2422
|
nextFrame(() => {
|
|
2418
2423
|
value.set(true);
|
|
2419
2424
|
});
|
|
@@ -2425,7 +2430,7 @@ const signalElementLastScrollDirection = (el) => {
|
|
|
2425
2430
|
const elements = buildElementSignal(el);
|
|
2426
2431
|
const element = firstElementSignal(elements);
|
|
2427
2432
|
const destroyRef = inject(DestroyRef);
|
|
2428
|
-
const lastScrollDirection = signal(null);
|
|
2433
|
+
const lastScrollDirection = signal(null, ...(ngDevMode ? [{ debugName: "lastScrollDirection" }] : []));
|
|
2429
2434
|
let lastScrollTop = 0;
|
|
2430
2435
|
let lastScrollLeft = 0;
|
|
2431
2436
|
toObservable(element)
|
|
@@ -2478,11 +2483,11 @@ const useCursorDragScroll = (el, options) => {
|
|
|
2478
2483
|
const { enabled = signal(true), allowedDirection = 'both' } = options ?? {};
|
|
2479
2484
|
const scrollState = signalElementScrollState(elements);
|
|
2480
2485
|
const renderer = inject(Renderer2);
|
|
2481
|
-
const isDragging = signal(false);
|
|
2482
|
-
const isInitDragging = signal(false);
|
|
2483
|
-
const initialDragPosition = signal({ x: 0, y: 0 });
|
|
2484
|
-
const initialScrollPosition = signal({ x: 0, y: 0 });
|
|
2485
|
-
const dragAmount = signal({ x: 0, y: 0 });
|
|
2486
|
+
const isDragging = signal(false, ...(ngDevMode ? [{ debugName: "isDragging" }] : []));
|
|
2487
|
+
const isInitDragging = signal(false, ...(ngDevMode ? [{ debugName: "isInitDragging" }] : []));
|
|
2488
|
+
const initialDragPosition = signal({ x: 0, y: 0 }, ...(ngDevMode ? [{ debugName: "initialDragPosition" }] : []));
|
|
2489
|
+
const initialScrollPosition = signal({ x: 0, y: 0 }, ...(ngDevMode ? [{ debugName: "initialScrollPosition" }] : []));
|
|
2490
|
+
const dragAmount = signal({ x: 0, y: 0 }, ...(ngDevMode ? [{ debugName: "dragAmount" }] : []));
|
|
2486
2491
|
const document = inject(DOCUMENT);
|
|
2487
2492
|
const canScroll = computed(() => {
|
|
2488
2493
|
const currentScrollState = scrollState();
|
|
@@ -2495,7 +2500,7 @@ const useCursorDragScroll = (el, options) => {
|
|
|
2495
2500
|
case 'vertical':
|
|
2496
2501
|
return currentScrollState.canScrollVertically;
|
|
2497
2502
|
}
|
|
2498
|
-
});
|
|
2503
|
+
}, ...(ngDevMode ? [{ debugName: "canScroll" }] : []));
|
|
2499
2504
|
// Cleanup if the element the cursor drag scroll is bound to gets changed
|
|
2500
2505
|
effect(() => {
|
|
2501
2506
|
const { previousElement } = element();
|
|
@@ -2623,14 +2628,14 @@ const useCursorDragScroll = (el, options) => {
|
|
|
2623
2628
|
* All subsequent changes inside the computation will be ignored.
|
|
2624
2629
|
*/
|
|
2625
2630
|
const computedTillTruthy = (source) => {
|
|
2626
|
-
const value = signal(null);
|
|
2631
|
+
const value = signal(null, ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
2627
2632
|
const ref = effect(() => {
|
|
2628
2633
|
const val = source();
|
|
2629
2634
|
if (val) {
|
|
2630
2635
|
value.set(val);
|
|
2631
2636
|
ref.destroy();
|
|
2632
2637
|
}
|
|
2633
|
-
});
|
|
2638
|
+
}, ...(ngDevMode ? [{ debugName: "ref" }] : []));
|
|
2634
2639
|
return value.asReadonly();
|
|
2635
2640
|
};
|
|
2636
2641
|
/**
|
|
@@ -2638,14 +2643,14 @@ const computedTillTruthy = (source) => {
|
|
|
2638
2643
|
* All subsequent changes inside the computation will be ignored.
|
|
2639
2644
|
*/
|
|
2640
2645
|
const computedTillFalsy = (source) => {
|
|
2641
|
-
const value = signal(null);
|
|
2646
|
+
const value = signal(null, ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
2642
2647
|
const ref = effect(() => {
|
|
2643
2648
|
const val = source();
|
|
2644
2649
|
if (!val) {
|
|
2645
2650
|
value.set(val);
|
|
2646
2651
|
ref.destroy();
|
|
2647
2652
|
}
|
|
2648
|
-
});
|
|
2653
|
+
}, ...(ngDevMode ? [{ debugName: "ref" }] : []));
|
|
2649
2654
|
return value.asReadonly();
|
|
2650
2655
|
};
|
|
2651
2656
|
/**
|
|
@@ -2653,7 +2658,7 @@ const computedTillFalsy = (source) => {
|
|
|
2653
2658
|
* During that time, the signal will be set to `null`.
|
|
2654
2659
|
*/
|
|
2655
2660
|
const deferredSignal = (valueFn) => {
|
|
2656
|
-
const valueSignal = signal(null);
|
|
2661
|
+
const valueSignal = signal(null, ...(ngDevMode ? [{ debugName: "valueSignal" }] : []));
|
|
2657
2662
|
afterNextRender(() => {
|
|
2658
2663
|
valueSignal.set(valueFn());
|
|
2659
2664
|
});
|
|
@@ -3574,15 +3579,15 @@ class AnimatableDirective {
|
|
|
3574
3579
|
.subscribe();
|
|
3575
3580
|
}
|
|
3576
3581
|
}
|
|
3577
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
3578
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
3582
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AnimatableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3583
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.2", type: AnimatableDirective, isStandalone: true, selector: "[etAnimatable]", inputs: { animatedElement: ["etAnimatable", "animatedElement"] }, providers: [
|
|
3579
3584
|
{
|
|
3580
3585
|
provide: ANIMATABLE_TOKEN,
|
|
3581
3586
|
useExisting: AnimatableDirective,
|
|
3582
3587
|
},
|
|
3583
3588
|
], exportAs: ["etAnimatable"], ngImport: i0 }); }
|
|
3584
3589
|
}
|
|
3585
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
3590
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AnimatableDirective, decorators: [{
|
|
3586
3591
|
type: Directive,
|
|
3587
3592
|
args: [{
|
|
3588
3593
|
selector: '[etAnimatable]',
|
|
@@ -3623,7 +3628,7 @@ class AnimatedLifecycleDirective {
|
|
|
3623
3628
|
this.state$ = this._state$.asObservable();
|
|
3624
3629
|
this.stateSignal = toSignal(this._state$, { initialValue: 'init' });
|
|
3625
3630
|
this.stateChange = outputFromObservable(this._state$);
|
|
3626
|
-
this.skipNextEnter = model(false);
|
|
3631
|
+
this.skipNextEnter = model(false, ...(ngDevMode ? [{ debugName: "skipNextEnter" }] : []));
|
|
3627
3632
|
const renderer = inject(Renderer2);
|
|
3628
3633
|
effect(() => {
|
|
3629
3634
|
const state = this.stateSignal();
|
|
@@ -3713,15 +3718,15 @@ class AnimatedLifecycleDirective {
|
|
|
3713
3718
|
_forceState(state) {
|
|
3714
3719
|
this._state$.next(state);
|
|
3715
3720
|
}
|
|
3716
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
3717
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.
|
|
3721
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AnimatedLifecycleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3722
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.2.2", type: AnimatedLifecycleDirective, isStandalone: true, selector: "[etAnimatedLifecycle]", inputs: { skipNextEnter: { classPropertyName: "skipNextEnter", publicName: "skipNextEnter", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { stateChange: "stateChange", skipNextEnter: "skipNextEnterChange" }, host: { classAttribute: "et-force-invisible" }, providers: [
|
|
3718
3723
|
{
|
|
3719
3724
|
provide: ANIMATED_LIFECYCLE_TOKEN,
|
|
3720
3725
|
useExisting: AnimatedLifecycleDirective,
|
|
3721
3726
|
},
|
|
3722
3727
|
], exportAs: ["etAnimatedLifecycle"], hostDirectives: [{ directive: AnimatableDirective }], ngImport: i0 }); }
|
|
3723
3728
|
}
|
|
3724
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
3729
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AnimatedLifecycleDirective, decorators: [{
|
|
3725
3730
|
type: Directive,
|
|
3726
3731
|
args: [{
|
|
3727
3732
|
selector: '[etAnimatedLifecycle]',
|
|
@@ -3761,15 +3766,15 @@ class AnimatedIfDirective {
|
|
|
3761
3766
|
.subscribe();
|
|
3762
3767
|
}
|
|
3763
3768
|
}
|
|
3764
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
3765
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
3769
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AnimatedIfDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3770
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.2", type: AnimatedIfDirective, isStandalone: true, selector: "[etAnimatedIf]", inputs: { shouldRender: ["etAnimatedIf", "shouldRender"] }, providers: [
|
|
3766
3771
|
{
|
|
3767
3772
|
provide: ANIMATED_IF_TOKEN,
|
|
3768
3773
|
useExisting: AnimatedIfDirective,
|
|
3769
3774
|
},
|
|
3770
3775
|
], hostDirectives: [{ directive: i1.NgIf }], ngImport: i0 }); }
|
|
3771
3776
|
}
|
|
3772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
3777
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AnimatedIfDirective, decorators: [{
|
|
3773
3778
|
type: Directive,
|
|
3774
3779
|
args: [{
|
|
3775
3780
|
selector: '[etAnimatedIf]',
|
|
@@ -3799,15 +3804,15 @@ class RootBoundaryDirective {
|
|
|
3799
3804
|
set boundaryElement(v) {
|
|
3800
3805
|
this._boundaryElement = v;
|
|
3801
3806
|
}
|
|
3802
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
3803
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
3807
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: RootBoundaryDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3808
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.2", type: RootBoundaryDirective, isStandalone: true, selector: "[etRootBoundary]", providers: [
|
|
3804
3809
|
{
|
|
3805
3810
|
provide: ROOT_BOUNDARY_TOKEN,
|
|
3806
3811
|
useExisting: RootBoundaryDirective,
|
|
3807
3812
|
},
|
|
3808
3813
|
], ngImport: i0 }); }
|
|
3809
3814
|
}
|
|
3810
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
3815
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: RootBoundaryDirective, decorators: [{
|
|
3811
3816
|
type: Directive,
|
|
3812
3817
|
args: [{
|
|
3813
3818
|
selector: '[etRootBoundary]',
|
|
@@ -4119,10 +4124,10 @@ class AnimatedOverlayDirective {
|
|
|
4119
4124
|
this._isUnmounting$.next(false);
|
|
4120
4125
|
this._afterClosed?.next();
|
|
4121
4126
|
}
|
|
4122
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4123
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.
|
|
4127
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AnimatedOverlayDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4128
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.2.2", 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 }); }
|
|
4124
4129
|
}
|
|
4125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: AnimatedOverlayDirective, decorators: [{
|
|
4126
4131
|
type: Directive,
|
|
4127
4132
|
args: [{
|
|
4128
4133
|
standalone: true,
|
|
@@ -4177,10 +4182,10 @@ class ClickOutsideDirective {
|
|
|
4177
4182
|
ngOnDestroy() {
|
|
4178
4183
|
this._subscription?.unsubscribe();
|
|
4179
4184
|
}
|
|
4180
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4181
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
4185
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ClickOutsideDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4186
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.2", type: ClickOutsideDirective, isStandalone: true, selector: "[etClickOutside]", outputs: { etClickOutside: "etClickOutside" }, ngImport: i0 }); }
|
|
4182
4187
|
}
|
|
4183
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ClickOutsideDirective, decorators: [{
|
|
4184
4189
|
type: Directive,
|
|
4185
4190
|
args: [{
|
|
4186
4191
|
selector: '[etClickOutside]',
|
|
@@ -4334,10 +4339,10 @@ class CursorDragScrollDirective {
|
|
|
4334
4339
|
this._elementRef.nativeElement.style.cursor = 'default';
|
|
4335
4340
|
}
|
|
4336
4341
|
}
|
|
4337
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4338
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
4342
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: CursorDragScrollDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4343
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.2", type: CursorDragScrollDirective, isStandalone: true, selector: "[etCursorDragScroll]", inputs: { enabled: ["etCursorDragScroll", "enabled"], allowedDirection: "allowedDirection" }, outputs: { cursorDragStart: "cursorDragStart", cursorDragMove: "cursorDragMove", cursorDragEnd: "cursorDragEnd" }, exportAs: ["etCursorDragScroll"], ngImport: i0 }); }
|
|
4339
4344
|
}
|
|
4340
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: CursorDragScrollDirective, decorators: [{
|
|
4341
4346
|
type: Directive,
|
|
4342
4347
|
args: [{
|
|
4343
4348
|
selector: '[etCursorDragScroll]',
|
|
@@ -4361,7 +4366,7 @@ const DEBUG_TOKEN = new InjectionToken('DEBUG_DIRECTIVE_TOKEN');
|
|
|
4361
4366
|
class DebugDirective {
|
|
4362
4367
|
constructor() {
|
|
4363
4368
|
this._destroy$ = createDestroy();
|
|
4364
|
-
this._debug = signal(true);
|
|
4369
|
+
this._debug = signal(true, ...(ngDevMode ? [{ debugName: "_debug" }] : []));
|
|
4365
4370
|
this.debug = this._debug.asReadonly();
|
|
4366
4371
|
this.debug$ = toObservable(this.debug);
|
|
4367
4372
|
this.startDebug$ = this.debug$.pipe(filter((debug) => !!debug));
|
|
@@ -4370,15 +4375,15 @@ class DebugDirective {
|
|
|
4370
4375
|
set sDebug(value) {
|
|
4371
4376
|
this._debug.set(value);
|
|
4372
4377
|
}
|
|
4373
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4374
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.
|
|
4378
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: DebugDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4379
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.2.2", type: DebugDirective, isStandalone: true, selector: "[etDebug]", inputs: { sDebug: ["etDebug", "sDebug", booleanAttribute] }, providers: [
|
|
4375
4380
|
{
|
|
4376
4381
|
provide: DEBUG_TOKEN,
|
|
4377
4382
|
useExisting: DebugDirective,
|
|
4378
4383
|
},
|
|
4379
4384
|
], exportAs: ["etDebug"], ngImport: i0 }); }
|
|
4380
4385
|
}
|
|
4381
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: DebugDirective, decorators: [{
|
|
4382
4387
|
type: Directive,
|
|
4383
4388
|
args: [{
|
|
4384
4389
|
selector: '[etDebug]',
|
|
@@ -4425,15 +4430,15 @@ class DelayableDirective {
|
|
|
4425
4430
|
}
|
|
4426
4431
|
this._isDelayed$.next(val);
|
|
4427
4432
|
}
|
|
4428
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4429
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
4433
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: DelayableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4434
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.2", type: DelayableDirective, isStandalone: true, selector: "[etDelayable]", providers: [
|
|
4430
4435
|
{
|
|
4431
4436
|
provide: DELAYABLE_TOKEN,
|
|
4432
4437
|
useExisting: DelayableDirective,
|
|
4433
4438
|
},
|
|
4434
4439
|
], exportAs: ["etDelayable"], ngImport: i0 }); }
|
|
4435
4440
|
}
|
|
4436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4441
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: DelayableDirective, decorators: [{
|
|
4437
4442
|
type: Directive,
|
|
4438
4443
|
args: [{
|
|
4439
4444
|
selector: '[etDelayable]',
|
|
@@ -4454,15 +4459,15 @@ class IsActiveElementDirective {
|
|
|
4454
4459
|
this.elementRef = inject(ElementRef);
|
|
4455
4460
|
this.isActiveElement = false;
|
|
4456
4461
|
}
|
|
4457
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4458
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.
|
|
4462
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: IsActiveElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4463
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.2.2", type: IsActiveElementDirective, isStandalone: true, selector: "[etIsActiveElement]", inputs: { isActiveElement: ["etIsActiveElement", "isActiveElement", booleanAttribute] }, providers: [
|
|
4459
4464
|
{
|
|
4460
4465
|
provide: IS_ACTIVE_ELEMENT,
|
|
4461
4466
|
useExisting: IsActiveElementDirective,
|
|
4462
4467
|
},
|
|
4463
4468
|
], ngImport: i0 }); }
|
|
4464
4469
|
}
|
|
4465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4470
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: IsActiveElementDirective, decorators: [{
|
|
4466
4471
|
type: Directive,
|
|
4467
4472
|
args: [{
|
|
4468
4473
|
selector: '[etIsActiveElement]',
|
|
@@ -4485,15 +4490,15 @@ class IsElementDirective {
|
|
|
4485
4490
|
this.elementRef = inject(ElementRef);
|
|
4486
4491
|
this.isElement = false;
|
|
4487
4492
|
}
|
|
4488
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4489
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.
|
|
4493
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: IsElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4494
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.2.2", type: IsElementDirective, isStandalone: true, selector: "[etIsElement]", inputs: { isElement: ["etIsElement", "isElement", booleanAttribute] }, providers: [
|
|
4490
4495
|
{
|
|
4491
4496
|
provide: IS_ELEMENT,
|
|
4492
4497
|
useExisting: IsElementDirective,
|
|
4493
4498
|
},
|
|
4494
4499
|
], ngImport: i0 }); }
|
|
4495
4500
|
}
|
|
4496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4501
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: IsElementDirective, decorators: [{
|
|
4497
4502
|
type: Directive,
|
|
4498
4503
|
args: [{
|
|
4499
4504
|
selector: '[etIsElement]',
|
|
@@ -4543,10 +4548,10 @@ class LetDirective {
|
|
|
4543
4548
|
}
|
|
4544
4549
|
}
|
|
4545
4550
|
}
|
|
4546
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4547
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
4551
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: LetDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4552
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.2", type: LetDirective, isStandalone: true, selector: "[etLet]", inputs: { etLet: "etLet" }, ngImport: i0 }); }
|
|
4548
4553
|
}
|
|
4549
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: LetDirective, decorators: [{
|
|
4550
4555
|
type: Directive,
|
|
4551
4556
|
args: [{
|
|
4552
4557
|
selector: '[etLet]',
|
|
@@ -4603,10 +4608,10 @@ class ObserveContentDirective {
|
|
|
4603
4608
|
_unsubscribe() {
|
|
4604
4609
|
this._currentSubscription?.unsubscribe();
|
|
4605
4610
|
}
|
|
4606
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4607
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
4611
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ObserveContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4612
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.2", type: ObserveContentDirective, isStandalone: true, selector: "[etObserveContent]", inputs: { disabled: ["etObserveContentDisabled", "disabled"], debounce: ["etObserveContentDebounce", "debounce"] }, outputs: { valueChange: "etObserveContent" }, exportAs: ["etObserveContent"], ngImport: i0 }); }
|
|
4608
4613
|
}
|
|
4609
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4614
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ObserveContentDirective, decorators: [{
|
|
4610
4615
|
type: Directive,
|
|
4611
4616
|
args: [{
|
|
4612
4617
|
selector: '[etObserveContent]',
|
|
@@ -4671,10 +4676,10 @@ class ObserveResizeDirective {
|
|
|
4671
4676
|
_unsubscribe() {
|
|
4672
4677
|
this._currentSubscription?.unsubscribe();
|
|
4673
4678
|
}
|
|
4674
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4675
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
4679
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ObserveResizeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4680
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.2", type: ObserveResizeDirective, isStandalone: true, selector: "[etObserveResize]", inputs: { disabled: ["etObserveResizeDisabled", "disabled"], debounce: ["etObserveResizeDebounce", "debounce"] }, outputs: { valueChange: "etObserveResize" }, exportAs: ["etObserveResize"], ngImport: i0 }); }
|
|
4676
4681
|
}
|
|
4677
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4682
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ObserveResizeDirective, decorators: [{
|
|
4678
4683
|
type: Directive,
|
|
4679
4684
|
args: [{
|
|
4680
4685
|
selector: '[etObserveResize]',
|
|
@@ -4699,10 +4704,10 @@ class ScrollObserverFirstElementDirective {
|
|
|
4699
4704
|
constructor() {
|
|
4700
4705
|
this.isFirstElement = false;
|
|
4701
4706
|
}
|
|
4702
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4703
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.
|
|
4707
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ScrollObserverFirstElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4708
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.2.2", type: ScrollObserverFirstElementDirective, isStandalone: true, selector: "[etScrollObserverFirstElement]", inputs: { isFirstElement: ["etScrollObserverFirstElement", "isFirstElement", booleanAttribute] }, host: { properties: { "class.et-scroll-observer-first-element": "this.isFirstElement" } }, ngImport: i0 }); }
|
|
4704
4709
|
}
|
|
4705
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4710
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ScrollObserverFirstElementDirective, decorators: [{
|
|
4706
4711
|
type: Directive,
|
|
4707
4712
|
args: [{
|
|
4708
4713
|
selector: '[etScrollObserverFirstElement]',
|
|
@@ -4718,10 +4723,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImpor
|
|
|
4718
4723
|
|
|
4719
4724
|
const SCROLL_OBSERVER_IGNORE_TARGET_CLASS = 'et-scroll-observer-ignore-target';
|
|
4720
4725
|
class ScrollObserverIgnoreTargetDirective {
|
|
4721
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4722
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
4726
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ScrollObserverIgnoreTargetDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4727
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.2", type: ScrollObserverIgnoreTargetDirective, isStandalone: true, selector: "[etScrollObserverIgnoreTarget]", host: { classAttribute: "et-scroll-observer-ignore-target" }, ngImport: i0 }); }
|
|
4723
4728
|
}
|
|
4724
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4729
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ScrollObserverIgnoreTargetDirective, decorators: [{
|
|
4725
4730
|
type: Directive,
|
|
4726
4731
|
args: [{
|
|
4727
4732
|
selector: '[etScrollObserverIgnoreTarget]',
|
|
@@ -4737,10 +4742,10 @@ class ScrollObserverLastElementDirective {
|
|
|
4737
4742
|
constructor() {
|
|
4738
4743
|
this.isLastElement = false;
|
|
4739
4744
|
}
|
|
4740
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4741
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.
|
|
4745
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ScrollObserverLastElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4746
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.2.2", 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 }); }
|
|
4742
4747
|
}
|
|
4743
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4748
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ScrollObserverLastElementDirective, decorators: [{
|
|
4744
4749
|
type: Directive,
|
|
4745
4750
|
args: [{
|
|
4746
4751
|
selector: '[etScrollObserverLastElement]',
|
|
@@ -4897,15 +4902,15 @@ class ObserveScrollStateDirective {
|
|
|
4897
4902
|
}
|
|
4898
4903
|
return element;
|
|
4899
4904
|
}
|
|
4900
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4901
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.
|
|
4905
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ObserveScrollStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4906
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.2.2", type: ObserveScrollStateDirective, isStandalone: true, selector: "[etObserveScrollState]", inputs: { rootMargin: ["rootMargin", "rootMargin", numberAttribute], observerThreshold: "observerThreshold" }, outputs: { valueChange: "etObserveScrollState" }, providers: [
|
|
4902
4907
|
{
|
|
4903
4908
|
provide: OBSERVE_SCROLL_STATE,
|
|
4904
4909
|
useExisting: ObserveScrollStateDirective,
|
|
4905
4910
|
},
|
|
4906
4911
|
], exportAs: ["etObserveScrollState"], ngImport: i0 }); }
|
|
4907
4912
|
}
|
|
4908
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ObserveScrollStateDirective, decorators: [{
|
|
4909
4914
|
type: Directive,
|
|
4910
4915
|
args: [{
|
|
4911
4916
|
selector: '[etObserveScrollState]',
|
|
@@ -4941,7 +4946,7 @@ class ObserveVisibilityDirective {
|
|
|
4941
4946
|
this._destroy$ = createDestroy();
|
|
4942
4947
|
this._elementRef = inject(ElementRef);
|
|
4943
4948
|
this._intersectionObserverService = inject(IntersectionObserverService);
|
|
4944
|
-
this.visibilityChange = signal(null);
|
|
4949
|
+
this.visibilityChange = signal(null, ...(ngDevMode ? [{ debugName: "visibilityChange" }] : []));
|
|
4945
4950
|
this.currentVisibility = this.visibilityChange.asReadonly();
|
|
4946
4951
|
this.currentVisibility$ = toObservable(this.currentVisibility);
|
|
4947
4952
|
this.etObserveVisibility = new EventEmitter();
|
|
@@ -4975,15 +4980,15 @@ class ObserveVisibilityDirective {
|
|
|
4975
4980
|
}))
|
|
4976
4981
|
.subscribe();
|
|
4977
4982
|
}
|
|
4978
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4979
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
4983
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ObserveVisibilityDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4984
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.2", type: ObserveVisibilityDirective, isStandalone: true, selector: "[etObserveVisibility]", outputs: { etObserveVisibility: "etObserveVisibility" }, host: { classAttribute: "et-observe-visibility" }, providers: [
|
|
4980
4985
|
{
|
|
4981
4986
|
provide: OBSERVE_VISIBILITY_TOKEN,
|
|
4982
4987
|
useExisting: ObserveVisibilityDirective,
|
|
4983
4988
|
},
|
|
4984
4989
|
], ngImport: i0 }); }
|
|
4985
4990
|
}
|
|
4986
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4991
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ObserveVisibilityDirective, decorators: [{
|
|
4987
4992
|
type: Directive,
|
|
4988
4993
|
args: [{
|
|
4989
4994
|
selector: '[etObserveVisibility]',
|
|
@@ -5021,10 +5026,10 @@ class RepeatDirective {
|
|
|
5021
5026
|
this._viewContainerRef.createEmbeddedView(this._mainTemplateRef);
|
|
5022
5027
|
}
|
|
5023
5028
|
}
|
|
5024
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5025
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
5029
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: RepeatDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5030
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.2", type: RepeatDirective, isStandalone: true, selector: "[etRepeat]", inputs: { repeatCount: ["etRepeat", "repeatCount"] }, ngImport: i0 }); }
|
|
5026
5031
|
}
|
|
5027
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5032
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: RepeatDirective, decorators: [{
|
|
5028
5033
|
type: Directive,
|
|
5029
5034
|
args: [{
|
|
5030
5035
|
selector: '[etRepeat]',
|
|
@@ -5193,10 +5198,10 @@ class SeoDirective {
|
|
|
5193
5198
|
}
|
|
5194
5199
|
}
|
|
5195
5200
|
}
|
|
5196
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5197
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
5201
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: SeoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5202
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.2", type: SeoDirective, isStandalone: true, providers: [{ provide: SEO_DIRECTIVE_TOKEN, useExisting: SeoDirective }], ngImport: i0 }); }
|
|
5198
5203
|
}
|
|
5199
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: SeoDirective, decorators: [{
|
|
5200
5205
|
type: Directive,
|
|
5201
5206
|
args: [{
|
|
5202
5207
|
standalone: true,
|
|
@@ -5404,10 +5409,10 @@ class InferMimeTypePipe {
|
|
|
5404
5409
|
constructor() {
|
|
5405
5410
|
this.transform = inferMimeType;
|
|
5406
5411
|
}
|
|
5407
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5408
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.
|
|
5412
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: InferMimeTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5413
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.2.2", ngImport: i0, type: InferMimeTypePipe, isStandalone: true, name: "inferMimeType" }); }
|
|
5409
5414
|
}
|
|
5410
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5415
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: InferMimeTypePipe, decorators: [{
|
|
5411
5416
|
type: Pipe,
|
|
5412
5417
|
args: [{
|
|
5413
5418
|
name: 'inferMimeType',
|
|
@@ -5453,10 +5458,10 @@ class NormalizeGameResultTypePipe {
|
|
|
5453
5458
|
constructor() {
|
|
5454
5459
|
this.transform = normalizeGameResultType;
|
|
5455
5460
|
}
|
|
5456
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5457
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.
|
|
5461
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: NormalizeGameResultTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5462
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.2.2", ngImport: i0, type: NormalizeGameResultTypePipe, isStandalone: true, name: "etNormalizeGameResultType" }); }
|
|
5458
5463
|
}
|
|
5459
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5464
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: NormalizeGameResultTypePipe, decorators: [{
|
|
5460
5465
|
type: Pipe,
|
|
5461
5466
|
args: [{ name: 'etNormalizeGameResultType', standalone: true }]
|
|
5462
5467
|
}] });
|
|
@@ -5484,10 +5489,10 @@ class NormalizeMatchStatePipe {
|
|
|
5484
5489
|
constructor() {
|
|
5485
5490
|
this.transform = normalizeMatchState;
|
|
5486
5491
|
}
|
|
5487
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5488
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.
|
|
5492
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: NormalizeMatchStatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5493
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.2.2", ngImport: i0, type: NormalizeMatchStatePipe, isStandalone: true, name: "etNormalizeMatchState" }); }
|
|
5489
5494
|
}
|
|
5490
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: NormalizeMatchStatePipe, decorators: [{
|
|
5491
5496
|
type: Pipe,
|
|
5492
5497
|
args: [{ name: 'etNormalizeMatchState', standalone: true }]
|
|
5493
5498
|
}] });
|
|
@@ -5542,10 +5547,10 @@ class NormalizeMatchParticipantsPipe {
|
|
|
5542
5547
|
constructor() {
|
|
5543
5548
|
this.transform = normalizeMatchParticipants;
|
|
5544
5549
|
}
|
|
5545
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5546
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.
|
|
5550
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: NormalizeMatchParticipantsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5551
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.2.2", ngImport: i0, type: NormalizeMatchParticipantsPipe, isStandalone: true, name: "etNormalizeMatchParticipants" }); }
|
|
5547
5552
|
}
|
|
5548
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5553
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: NormalizeMatchParticipantsPipe, decorators: [{
|
|
5549
5554
|
type: Pipe,
|
|
5550
5555
|
args: [{ name: 'etNormalizeMatchParticipants', standalone: true }]
|
|
5551
5556
|
}] });
|
|
@@ -5679,10 +5684,10 @@ class NormalizeMatchScorePipe {
|
|
|
5679
5684
|
constructor() {
|
|
5680
5685
|
this.transform = normalizeMatchScore;
|
|
5681
5686
|
}
|
|
5682
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5683
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.
|
|
5687
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: NormalizeMatchScorePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5688
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.2.2", ngImport: i0, type: NormalizeMatchScorePipe, isStandalone: true, name: "etNormalizeMatchScore" }); }
|
|
5684
5689
|
}
|
|
5685
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5690
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: NormalizeMatchScorePipe, decorators: [{
|
|
5686
5691
|
type: Pipe,
|
|
5687
5692
|
args: [{ name: 'etNormalizeMatchScore', standalone: true }]
|
|
5688
5693
|
}] });
|
|
@@ -5729,10 +5734,10 @@ class NormalizeMatchTypePipe {
|
|
|
5729
5734
|
constructor() {
|
|
5730
5735
|
this.transform = normalizeMatchType;
|
|
5731
5736
|
}
|
|
5732
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5733
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.
|
|
5737
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: NormalizeMatchTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5738
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.2.2", ngImport: i0, type: NormalizeMatchTypePipe, isStandalone: true, name: "etNormalizeMatchType" }); }
|
|
5734
5739
|
}
|
|
5735
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5740
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: NormalizeMatchTypePipe, decorators: [{
|
|
5736
5741
|
type: Pipe,
|
|
5737
5742
|
args: [{ name: 'etNormalizeMatchType', standalone: true }]
|
|
5738
5743
|
}] });
|
|
@@ -5746,10 +5751,10 @@ class ToArrayPipe {
|
|
|
5746
5751
|
constructor() {
|
|
5747
5752
|
this.transform = toArray;
|
|
5748
5753
|
}
|
|
5749
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5750
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.
|
|
5754
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ToArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5755
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.2.2", ngImport: i0, type: ToArrayPipe, isStandalone: true, name: "toArray" }); }
|
|
5751
5756
|
}
|
|
5752
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5757
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: ToArrayPipe, decorators: [{
|
|
5753
5758
|
type: Pipe,
|
|
5754
5759
|
args: [{ name: 'toArray', standalone: true }]
|
|
5755
5760
|
}] });
|
|
@@ -5777,14 +5782,14 @@ const createElementDictionary = () => {
|
|
|
5777
5782
|
const firstElement = computed(() => {
|
|
5778
5783
|
const id = dictionary.ids()[0];
|
|
5779
5784
|
return id ? (dictionary.elements()[id] ?? null) : null;
|
|
5780
|
-
});
|
|
5785
|
+
}, ...(ngDevMode ? [{ debugName: "firstElement" }] : []));
|
|
5781
5786
|
const firstId = computed(() => {
|
|
5782
5787
|
const id = dictionary.ids()[0];
|
|
5783
5788
|
return id ?? null;
|
|
5784
|
-
});
|
|
5785
|
-
const ids = computed(() => dictionary.ids());
|
|
5786
|
-
const elements = computed(() => ids().map((id) => dictionary.elements()[id]));
|
|
5787
|
-
const isEmpty = computed(() => dictionary.ids().length === 0);
|
|
5789
|
+
}, ...(ngDevMode ? [{ debugName: "firstId" }] : []));
|
|
5790
|
+
const ids = computed(() => dictionary.ids(), ...(ngDevMode ? [{ debugName: "ids" }] : []));
|
|
5791
|
+
const elements = computed(() => ids().map((id) => dictionary.elements()[id]), ...(ngDevMode ? [{ debugName: "elements" }] : []));
|
|
5792
|
+
const isEmpty = computed(() => dictionary.ids().length === 0, ...(ngDevMode ? [{ debugName: "isEmpty" }] : []));
|
|
5788
5793
|
const has = (id) => {
|
|
5789
5794
|
return dictionary.ids().includes(id);
|
|
5790
5795
|
};
|
|
@@ -5868,7 +5873,7 @@ const unbindProps = (config) => {
|
|
|
5868
5873
|
const createProps = (props) => {
|
|
5869
5874
|
const { bindId = false, single = true, classes: classBindings, attributes: attributeBindings, styles: styleBindings, staticAttributes: staticAttributeBindings = null, staticClasses: staticClassBindings = null, staticStyles: staticStyleBindings = null, listeners, name, } = props;
|
|
5870
5875
|
const dictionary = createElementDictionary();
|
|
5871
|
-
const attached = computed(() => !dictionary.isEmpty());
|
|
5876
|
+
const attached = computed(() => !dictionary.isEmpty(), ...(ngDevMode ? [{ debugName: "attached" }] : []));
|
|
5872
5877
|
const attachedElements = {
|
|
5873
5878
|
first: dictionary.firstElement,
|
|
5874
5879
|
firstId: dictionary.firstId,
|
|
@@ -5954,7 +5959,7 @@ const createDependencyStash = (stash) => {
|
|
|
5954
5959
|
class PropsDirective {
|
|
5955
5960
|
constructor() {
|
|
5956
5961
|
this.destroyRef = inject(DestroyRef);
|
|
5957
|
-
this.props = input.required({ alias: 'etProps', transform: (d) => d });
|
|
5962
|
+
this.props = input.required(...(ngDevMode ? [{ debugName: "props", alias: 'etProps', transform: (d) => d }] : [{ alias: 'etProps', transform: (d) => d }]));
|
|
5958
5963
|
this.propHandlers = createPropHandlers();
|
|
5959
5964
|
afterNextRender({
|
|
5960
5965
|
write: () => {
|
|
@@ -5971,10 +5976,10 @@ class PropsDirective {
|
|
|
5971
5976
|
});
|
|
5972
5977
|
});
|
|
5973
5978
|
}
|
|
5974
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5975
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.
|
|
5979
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: PropsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5980
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.2.2", type: PropsDirective, isStandalone: true, selector: "[etProps]", inputs: { props: { classPropertyName: "props", publicName: "etProps", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
|
|
5976
5981
|
}
|
|
5977
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5982
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.2", ngImport: i0, type: PropsDirective, decorators: [{
|
|
5978
5983
|
type: Directive,
|
|
5979
5984
|
args: [{
|
|
5980
5985
|
selector: '[etProps]',
|