@ethlete/core 4.21.3 → 4.22.0
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 +26 -0
- package/esm2022/lib/components/structured-data/structured-data.component.mjs +3 -3
- package/esm2022/lib/directives/animatable/animatable.directive.mjs +3 -3
- package/esm2022/lib/directives/animated-if/animated-if.directive.mjs +3 -3
- package/esm2022/lib/directives/animated-lifecycle/animated-lifecycle.directive.mjs +3 -3
- package/esm2022/lib/directives/animated-overlay/animated-overlay.directive.mjs +3 -3
- package/esm2022/lib/directives/click-outside/click-outside.directive.mjs +3 -3
- package/esm2022/lib/directives/cursor-drag-scroll/cursor-drag-scroll.directive.mjs +3 -3
- package/esm2022/lib/directives/debug/debug.directive.mjs +3 -3
- package/esm2022/lib/directives/delayable/delayable.directive.mjs +3 -3
- package/esm2022/lib/directives/is-active-element/is-active-element.directive.mjs +3 -3
- package/esm2022/lib/directives/is-element/is-element.directive.mjs +3 -3
- package/esm2022/lib/directives/let/let.directive.mjs +3 -3
- package/esm2022/lib/directives/observe-content/observe-content.directive.mjs +3 -3
- package/esm2022/lib/directives/observe-resize/observe-resize.directive.mjs +3 -3
- package/esm2022/lib/directives/observe-scroll-state/observe-scroll-state.directive.mjs +3 -3
- package/esm2022/lib/directives/observe-visibility/observe-visibility.directive.mjs +3 -3
- package/esm2022/lib/directives/repeat/repeat.directive.mjs +3 -3
- package/esm2022/lib/directives/root-boundary/root-boundary.directive.mjs +3 -3
- package/esm2022/lib/directives/scroll-observer-first-element/scroll-observer-first-element.directive.mjs +3 -3
- package/esm2022/lib/directives/scroll-observer-ignore-target/scroll-observer-ignore-target.directive.mjs +3 -3
- package/esm2022/lib/directives/scroll-observer-last-element/scroll-observer-last-element.directive.mjs +3 -3
- package/esm2022/lib/directives/seo/seo.directive.mjs +3 -3
- package/esm2022/lib/pipes/infer-mime-type/infer-mime-type.pipe.mjs +3 -3
- package/esm2022/lib/pipes/normalize-game-result-type/normalize-game-result-type.pipe.mjs +3 -3
- package/esm2022/lib/pipes/normalize-match-participants/normalize-match-participants.pipe.mjs +3 -3
- package/esm2022/lib/pipes/normalize-match-score/normalize-match-score.pipe.mjs +3 -3
- package/esm2022/lib/pipes/normalize-match-state/normalize-match-state.pipe.mjs +3 -3
- package/esm2022/lib/pipes/normalize-match-type/normalize-match-type.pipe.mjs +3 -3
- package/esm2022/lib/pipes/to-array/to-array.pipe.mjs +3 -3
- package/esm2022/lib/props/create-props.mjs +10 -8
- package/esm2022/lib/props/props.directive.mjs +13 -11
- package/esm2022/lib/services/click-observer.service.mjs +6 -6
- package/esm2022/lib/services/content-observer.service.mjs +6 -6
- package/esm2022/lib/services/focus-visible.service.mjs +3 -3
- package/esm2022/lib/services/intersection-observer.service.mjs +6 -6
- package/esm2022/lib/services/resize-observer.service.mjs +6 -6
- package/esm2022/lib/services/router-state.service.mjs +3 -3
- package/esm2022/lib/services/viewport.service.mjs +3 -3
- package/esm2022/lib/utils/signal.utils.mjs +136 -36
- package/fesm2022/ethlete-core.mjs +274 -171
- package/fesm2022/ethlete-core.mjs.map +1 -1
- package/lib/pipes/normalize-match-participants/normalize-match-participants.util.d.ts +1 -1
- package/lib/props/dependency-stash.d.ts +3 -3
- package/lib/utils/cookie.util.d.ts +1 -1
- package/lib/utils/form.utils.d.ts +1 -1
- package/lib/utils/scrollable.utils.d.ts +1 -1
- package/lib/utils/signal.utils.d.ts +38 -11
- package/lib/utils/value.utils.d.ts +2 -2
- package/lib/utils/viewport.util.d.ts +1 -1
- package/lib/validators/index.d.ts +3 -3
- package/package.json +7 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
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, EventEmitter, booleanAttribute, numberAttribute, Output, ViewContainerRef, Pipe,
|
|
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, EventEmitter, booleanAttribute, numberAttribute, Output, ViewContainerRef, 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, distinctUntilChanged, shareReplay, filter, take, fromEvent, pairwise, debounceTime, finalize, merge, skip, takeWhile } from 'rxjs';
|
|
5
5
|
import { END, HOME, PAGE_DOWN, PAGE_UP, UP_ARROW, DOWN_ARROW } from '@angular/cdk/keycodes';
|
|
@@ -29,10 +29,10 @@ class StructuredDataComponent {
|
|
|
29
29
|
const html = `<script type="application/ld+json">${json}</script>`;
|
|
30
30
|
return this._sanitizer.bypassSecurityTrustHtml(html);
|
|
31
31
|
}
|
|
32
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
33
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
32
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: StructuredDataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
33
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.1", 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
34
|
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: StructuredDataComponent, decorators: [{
|
|
36
36
|
type: Component,
|
|
37
37
|
args: [{
|
|
38
38
|
selector: 'et-structured-data',
|
|
@@ -1512,10 +1512,10 @@ class ClickObserverFactory {
|
|
|
1512
1512
|
create() {
|
|
1513
1513
|
return fromEvent(document, 'click');
|
|
1514
1514
|
}
|
|
1515
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1516
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
1515
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ClickObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1516
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ClickObserverFactory, providedIn: 'root' }); }
|
|
1517
1517
|
}
|
|
1518
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1518
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ClickObserverFactory, decorators: [{
|
|
1519
1519
|
type: Injectable,
|
|
1520
1520
|
args: [{ providedIn: 'root' }]
|
|
1521
1521
|
}] });
|
|
@@ -1568,10 +1568,10 @@ class ClickObserverService {
|
|
|
1568
1568
|
this._observedElements.delete(element);
|
|
1569
1569
|
}
|
|
1570
1570
|
}
|
|
1571
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1572
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
1571
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ClickObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1572
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ClickObserverService, providedIn: 'root' }); }
|
|
1573
1573
|
}
|
|
1574
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1574
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ClickObserverService, decorators: [{
|
|
1575
1575
|
type: Injectable,
|
|
1576
1576
|
args: [{ providedIn: 'root' }]
|
|
1577
1577
|
}] });
|
|
@@ -1581,10 +1581,10 @@ class MutationObserverFactory {
|
|
|
1581
1581
|
create(callback) {
|
|
1582
1582
|
return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);
|
|
1583
1583
|
}
|
|
1584
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1585
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
1584
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: MutationObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1585
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: MutationObserverFactory, providedIn: 'root' }); }
|
|
1586
1586
|
}
|
|
1587
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1587
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: MutationObserverFactory, decorators: [{
|
|
1588
1588
|
type: Injectable,
|
|
1589
1589
|
args: [{ providedIn: 'root' }]
|
|
1590
1590
|
}] });
|
|
@@ -1643,10 +1643,10 @@ class ContentObserverService {
|
|
|
1643
1643
|
this._observedElements.delete(element);
|
|
1644
1644
|
}
|
|
1645
1645
|
}
|
|
1646
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1647
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
1646
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ContentObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1647
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ContentObserverService, providedIn: 'root' }); }
|
|
1648
1648
|
}
|
|
1649
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1649
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ContentObserverService, decorators: [{
|
|
1650
1650
|
type: Injectable,
|
|
1651
1651
|
args: [{ providedIn: 'root' }]
|
|
1652
1652
|
}] });
|
|
@@ -1672,10 +1672,10 @@ class FocusVisibleService {
|
|
|
1672
1672
|
onPointerDown() {
|
|
1673
1673
|
this._hadKeyboardEvent = false;
|
|
1674
1674
|
}
|
|
1675
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1676
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
1675
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: FocusVisibleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1676
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: FocusVisibleService, providedIn: 'root' }); }
|
|
1677
1677
|
}
|
|
1678
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: FocusVisibleService, decorators: [{
|
|
1679
1679
|
type: Injectable,
|
|
1680
1680
|
args: [{
|
|
1681
1681
|
providedIn: 'root',
|
|
@@ -1687,10 +1687,10 @@ class IntersectionObserverFactory {
|
|
|
1687
1687
|
create(callback) {
|
|
1688
1688
|
return typeof IntersectionObserver === 'undefined' ? null : new IntersectionObserver(callback);
|
|
1689
1689
|
}
|
|
1690
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1691
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
1690
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: IntersectionObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1691
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: IntersectionObserverFactory, providedIn: 'root' }); }
|
|
1692
1692
|
}
|
|
1693
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1693
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: IntersectionObserverFactory, decorators: [{
|
|
1694
1694
|
type: Injectable,
|
|
1695
1695
|
args: [{ providedIn: 'root' }]
|
|
1696
1696
|
}] });
|
|
@@ -1745,10 +1745,10 @@ class IntersectionObserverService {
|
|
|
1745
1745
|
this._observedElements.delete(element);
|
|
1746
1746
|
}
|
|
1747
1747
|
}
|
|
1748
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1749
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
1748
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: IntersectionObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1749
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: IntersectionObserverService, providedIn: 'root' }); }
|
|
1750
1750
|
}
|
|
1751
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1751
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: IntersectionObserverService, decorators: [{
|
|
1752
1752
|
type: Injectable,
|
|
1753
1753
|
args: [{ providedIn: 'root' }]
|
|
1754
1754
|
}] });
|
|
@@ -1758,10 +1758,10 @@ class ResizeObserverFactory {
|
|
|
1758
1758
|
create(callback) {
|
|
1759
1759
|
return typeof ResizeObserver === 'undefined' ? null : new ResizeObserver(callback);
|
|
1760
1760
|
}
|
|
1761
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1762
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
1761
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ResizeObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1762
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ResizeObserverFactory, providedIn: 'root' }); }
|
|
1763
1763
|
}
|
|
1764
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1764
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ResizeObserverFactory, decorators: [{
|
|
1765
1765
|
type: Injectable,
|
|
1766
1766
|
args: [{ providedIn: 'root' }]
|
|
1767
1767
|
}] });
|
|
@@ -1816,10 +1816,10 @@ class ResizeObserverService {
|
|
|
1816
1816
|
this._observedElements.delete(element);
|
|
1817
1817
|
}
|
|
1818
1818
|
}
|
|
1819
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1820
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
1819
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ResizeObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1820
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ResizeObserverService, providedIn: 'root' }); }
|
|
1821
1821
|
}
|
|
1822
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1822
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ResizeObserverService, decorators: [{
|
|
1823
1823
|
type: Injectable,
|
|
1824
1824
|
args: [{ providedIn: 'root' }]
|
|
1825
1825
|
}] });
|
|
@@ -2014,10 +2014,10 @@ class RouterStateService {
|
|
|
2014
2014
|
fragment,
|
|
2015
2015
|
};
|
|
2016
2016
|
}
|
|
2017
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2018
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
2017
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: RouterStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2018
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: RouterStateService, providedIn: 'root' }); }
|
|
2019
2019
|
}
|
|
2020
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2020
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: RouterStateService, decorators: [{
|
|
2021
2021
|
type: Injectable,
|
|
2022
2022
|
args: [{
|
|
2023
2023
|
providedIn: 'root',
|
|
@@ -2233,8 +2233,8 @@ class ViewportService {
|
|
|
2233
2233
|
}
|
|
2234
2234
|
return 'xs';
|
|
2235
2235
|
}
|
|
2236
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2237
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
2236
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ViewportService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2237
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ViewportService, providedIn: 'root' }); }
|
|
2238
2238
|
}
|
|
2239
2239
|
__decorate([
|
|
2240
2240
|
Memo(),
|
|
@@ -2252,7 +2252,7 @@ __decorate([
|
|
|
2252
2252
|
__metadata("design:paramtypes", [Object]),
|
|
2253
2253
|
__metadata("design:returntype", void 0)
|
|
2254
2254
|
], ViewportService.prototype, "_buildMediaQuery", null);
|
|
2255
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ViewportService, decorators: [{
|
|
2256
2256
|
type: Injectable,
|
|
2257
2257
|
args: [{
|
|
2258
2258
|
providedIn: 'root',
|
|
@@ -2803,12 +2803,6 @@ const controlValueSignalWithPrevious = (control, options) => {
|
|
|
2803
2803
|
* @deprecated Use `controlValueSignal` instead with `debounceTime` set to `300` and `debounceFirst` set to `true`.
|
|
2804
2804
|
*/
|
|
2805
2805
|
const debouncedControlValueSignal = (control, options) => controlValueSignal(control, options ?? { debounceTime: 300, debounceFirst: true });
|
|
2806
|
-
const injectOrRunInContext = (fn, config) => {
|
|
2807
|
-
if (config?.injector) {
|
|
2808
|
-
return runInInjectionContext(config.injector, fn);
|
|
2809
|
-
}
|
|
2810
|
-
return fn();
|
|
2811
|
-
};
|
|
2812
2806
|
const transformOrReturn = (src, config) => {
|
|
2813
2807
|
const transformer = config?.transform;
|
|
2814
2808
|
if (transformer) {
|
|
@@ -2816,61 +2810,166 @@ const transformOrReturn = (src, config) => {
|
|
|
2816
2810
|
}
|
|
2817
2811
|
return src;
|
|
2818
2812
|
};
|
|
2813
|
+
/** Inject the current router event */
|
|
2814
|
+
const injectRouterEvent = () => {
|
|
2815
|
+
const router = inject(Router);
|
|
2816
|
+
return toSignal(router.events, { initialValue: null });
|
|
2817
|
+
};
|
|
2818
|
+
/**
|
|
2819
|
+
* Inject the current url.
|
|
2820
|
+
* The url includes query params as well as the fragment. Use `injectRoute` instead if you are not intrusted in those.
|
|
2821
|
+
* @example "/my-page?query=1¶m=true#fragment"
|
|
2822
|
+
*/
|
|
2823
|
+
const injectUrl = () => {
|
|
2824
|
+
const event = injectRouterEvent();
|
|
2825
|
+
const router = inject(Router);
|
|
2826
|
+
const url = signal(router.url);
|
|
2827
|
+
effect(() => {
|
|
2828
|
+
const currentEvent = event();
|
|
2829
|
+
untracked(() => {
|
|
2830
|
+
if (currentEvent instanceof NavigationEnd) {
|
|
2831
|
+
url.set(currentEvent.urlAfterRedirects);
|
|
2832
|
+
}
|
|
2833
|
+
});
|
|
2834
|
+
});
|
|
2835
|
+
return url.asReadonly();
|
|
2836
|
+
};
|
|
2837
|
+
/**
|
|
2838
|
+
* Inject the current route
|
|
2839
|
+
* @example "/my-page"
|
|
2840
|
+
*/
|
|
2841
|
+
const injectRoute = () => {
|
|
2842
|
+
const url = injectUrl();
|
|
2843
|
+
return computed(() => {
|
|
2844
|
+
const fullUrl = url();
|
|
2845
|
+
const urlWithoutQueryParams = fullUrl.split('?')[0] ?? '';
|
|
2846
|
+
const withoutFragment = urlWithoutQueryParams.split('#')[0] ?? '';
|
|
2847
|
+
return withoutFragment;
|
|
2848
|
+
});
|
|
2849
|
+
};
|
|
2850
|
+
const createRouterState = (router) => {
|
|
2851
|
+
let route = router.routerState.snapshot.root;
|
|
2852
|
+
while (route.firstChild) {
|
|
2853
|
+
route = route.firstChild;
|
|
2854
|
+
}
|
|
2855
|
+
const { data, params, queryParams, title, fragment } = route;
|
|
2856
|
+
return {
|
|
2857
|
+
data,
|
|
2858
|
+
pathParams: params,
|
|
2859
|
+
queryParams,
|
|
2860
|
+
title: title ?? null,
|
|
2861
|
+
fragment,
|
|
2862
|
+
};
|
|
2863
|
+
};
|
|
2864
|
+
/**
|
|
2865
|
+
* Inject the complete router state. This includes the current route data, path params, query params, title and fragment.
|
|
2866
|
+
*/
|
|
2867
|
+
const injectRouterState = () => {
|
|
2868
|
+
const url = injectUrl();
|
|
2869
|
+
const router = inject(Router);
|
|
2870
|
+
const routerState = signal(createRouterState(router));
|
|
2871
|
+
effect(() => {
|
|
2872
|
+
url();
|
|
2873
|
+
untracked(() => routerState.set(createRouterState(router)));
|
|
2874
|
+
});
|
|
2875
|
+
return routerState.asReadonly();
|
|
2876
|
+
};
|
|
2819
2877
|
/** Inject a signal containing the current route fragment (the part after the # inside the url if present) */
|
|
2820
2878
|
const injectFragment = (config) => {
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
return transformOrReturn(src, config);
|
|
2825
|
-
}, config);
|
|
2879
|
+
const routerState = injectRouterState();
|
|
2880
|
+
const fragment = computed(() => routerState().fragment);
|
|
2881
|
+
return transformOrReturn(fragment, config);
|
|
2826
2882
|
};
|
|
2827
2883
|
/** Inject all currently available query parameters as a signal */
|
|
2828
|
-
const injectQueryParams = (
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
}, config);
|
|
2884
|
+
const injectQueryParams = () => {
|
|
2885
|
+
const routerState = injectRouterState();
|
|
2886
|
+
const queryParams = computed(() => routerState().queryParams);
|
|
2887
|
+
return queryParams;
|
|
2833
2888
|
};
|
|
2834
2889
|
/** Inject all currently available route data as a signal */
|
|
2835
|
-
const injectRouteData = (
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
}, config);
|
|
2890
|
+
const injectRouteData = () => {
|
|
2891
|
+
const routerState = injectRouterState();
|
|
2892
|
+
const data = computed(() => routerState().data);
|
|
2893
|
+
return data;
|
|
2840
2894
|
};
|
|
2841
2895
|
/** Inject the current route title as a signal */
|
|
2842
2896
|
const injectRouteTitle = (config) => {
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
return transformOrReturn(src, config);
|
|
2847
|
-
}, config);
|
|
2897
|
+
const routerState = injectRouterState();
|
|
2898
|
+
const title = computed(() => routerState().title);
|
|
2899
|
+
return transformOrReturn(title, config);
|
|
2848
2900
|
};
|
|
2849
2901
|
/** Inject all currently available path parameters as a signal */
|
|
2850
|
-
const injectPathParams = (
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
}, config);
|
|
2902
|
+
const injectPathParams = () => {
|
|
2903
|
+
const routerState = injectRouterState();
|
|
2904
|
+
const pathParams = computed(() => routerState().pathParams);
|
|
2905
|
+
return pathParams;
|
|
2855
2906
|
};
|
|
2856
2907
|
/** Inject a specific query parameter as a signal */
|
|
2857
2908
|
const injectQueryParam = (key, config) => {
|
|
2858
|
-
const queryParams = injectQueryParams(
|
|
2909
|
+
const queryParams = injectQueryParams();
|
|
2859
2910
|
const src = computed(() => queryParams()[key] ?? null);
|
|
2860
2911
|
return transformOrReturn(src, config);
|
|
2861
2912
|
};
|
|
2862
2913
|
/** Inject a specific route data item as a signal */
|
|
2863
2914
|
const injectRouteDataItem = (key, config) => {
|
|
2864
|
-
const data = injectRouteData(
|
|
2915
|
+
const data = injectRouteData();
|
|
2865
2916
|
const src = computed(() => data()[key] ?? null);
|
|
2866
2917
|
return transformOrReturn(src, config);
|
|
2867
2918
|
};
|
|
2868
2919
|
/** Inject a specific path parameter as a signal */
|
|
2869
2920
|
const injectPathParam = (key, config) => {
|
|
2870
|
-
const pathParams = injectPathParams(
|
|
2921
|
+
const pathParams = injectPathParams();
|
|
2871
2922
|
const src = computed(() => pathParams()[key] ?? null);
|
|
2872
2923
|
return transformOrReturn(src, config);
|
|
2873
2924
|
};
|
|
2925
|
+
/**
|
|
2926
|
+
* Inject query params that changed during navigation. Unchanged query params will be ignored.
|
|
2927
|
+
* Removed query params will be represented by the symbol `ET_PROPERTY_REMOVED`.
|
|
2928
|
+
*/
|
|
2929
|
+
const injectQueryParamChanges = () => {
|
|
2930
|
+
const queryParams = injectQueryParams();
|
|
2931
|
+
const prevQueryParams = previousSignalValue(queryParams);
|
|
2932
|
+
return computed(() => {
|
|
2933
|
+
const current = queryParams();
|
|
2934
|
+
const previous = prevQueryParams() ?? {};
|
|
2935
|
+
const changes = {};
|
|
2936
|
+
const allKeys = new Set([
|
|
2937
|
+
...Object.keys(previous),
|
|
2938
|
+
...Object.keys(current),
|
|
2939
|
+
]);
|
|
2940
|
+
for (const key of allKeys) {
|
|
2941
|
+
if (!equal(previous[key], current[key])) {
|
|
2942
|
+
const val = current[key] === undefined ? ET_PROPERTY_REMOVED : current[key];
|
|
2943
|
+
changes[key] = val;
|
|
2944
|
+
}
|
|
2945
|
+
}
|
|
2946
|
+
return changes;
|
|
2947
|
+
});
|
|
2948
|
+
};
|
|
2949
|
+
/**
|
|
2950
|
+
* Inject path params that changed during navigation. Unchanged path params will be ignored.
|
|
2951
|
+
* Removed path params will be represented by the symbol `ET_PROPERTY_REMOVED`.
|
|
2952
|
+
*/
|
|
2953
|
+
const injectPathParamChanges = () => {
|
|
2954
|
+
const pathParams = injectPathParams();
|
|
2955
|
+
const prevPathParams = previousSignalValue(pathParams);
|
|
2956
|
+
return computed(() => {
|
|
2957
|
+
const current = pathParams();
|
|
2958
|
+
const previous = prevPathParams() ?? {};
|
|
2959
|
+
const changes = {};
|
|
2960
|
+
const allKeys = new Set([
|
|
2961
|
+
...Object.keys(previous),
|
|
2962
|
+
...Object.keys(current),
|
|
2963
|
+
]);
|
|
2964
|
+
for (const key of allKeys) {
|
|
2965
|
+
if (!equal(previous[key], current[key])) {
|
|
2966
|
+
const val = current[key] === undefined ? ET_PROPERTY_REMOVED : current[key];
|
|
2967
|
+
changes[key] = val;
|
|
2968
|
+
}
|
|
2969
|
+
}
|
|
2970
|
+
return changes;
|
|
2971
|
+
});
|
|
2972
|
+
};
|
|
2874
2973
|
const createIsRenderedSignal = () => {
|
|
2875
2974
|
const value = signal(false);
|
|
2876
2975
|
nextFrame(() => {
|
|
@@ -3336,15 +3435,15 @@ class AnimatableDirective {
|
|
|
3336
3435
|
.subscribe();
|
|
3337
3436
|
}
|
|
3338
3437
|
}
|
|
3339
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3340
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
3438
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AnimatableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3439
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.1", type: AnimatableDirective, isStandalone: true, selector: "[etAnimatable]", inputs: { animatedElement: ["etAnimatable", "animatedElement"] }, providers: [
|
|
3341
3440
|
{
|
|
3342
3441
|
provide: ANIMATABLE_TOKEN,
|
|
3343
3442
|
useExisting: AnimatableDirective,
|
|
3344
3443
|
},
|
|
3345
3444
|
], exportAs: ["etAnimatable"], ngImport: i0 }); }
|
|
3346
3445
|
}
|
|
3347
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
3446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AnimatableDirective, decorators: [{
|
|
3348
3447
|
type: Directive,
|
|
3349
3448
|
args: [{
|
|
3350
3449
|
selector: '[etAnimatable]',
|
|
@@ -3467,15 +3566,15 @@ class AnimatedLifecycleDirective {
|
|
|
3467
3566
|
_forceState(state) {
|
|
3468
3567
|
this._state$.next(state);
|
|
3469
3568
|
}
|
|
3470
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3471
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.
|
|
3569
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AnimatedLifecycleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3570
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.1", type: AnimatedLifecycleDirective, isStandalone: true, selector: "[etAnimatedLifecycle]", inputs: { skipNextEnter: { classPropertyName: "skipNextEnter", publicName: "skipNextEnter", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { stateChange: "stateChange", skipNextEnter: "skipNextEnterChange" }, providers: [
|
|
3472
3571
|
{
|
|
3473
3572
|
provide: ANIMATED_LIFECYCLE_TOKEN,
|
|
3474
3573
|
useExisting: AnimatedLifecycleDirective,
|
|
3475
3574
|
},
|
|
3476
3575
|
], exportAs: ["etAnimatedLifecycle"], hostDirectives: [{ directive: AnimatableDirective }], ngImport: i0 }); }
|
|
3477
3576
|
}
|
|
3478
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
3577
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AnimatedLifecycleDirective, decorators: [{
|
|
3479
3578
|
type: Directive,
|
|
3480
3579
|
args: [{
|
|
3481
3580
|
selector: '[etAnimatedLifecycle]',
|
|
@@ -3512,15 +3611,15 @@ class AnimatedIfDirective {
|
|
|
3512
3611
|
.subscribe();
|
|
3513
3612
|
}
|
|
3514
3613
|
}
|
|
3515
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3516
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
3614
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AnimatedIfDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3615
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.1", type: AnimatedIfDirective, isStandalone: true, selector: "[etAnimatedIf]", inputs: { shouldRender: ["etAnimatedIf", "shouldRender"] }, providers: [
|
|
3517
3616
|
{
|
|
3518
3617
|
provide: ANIMATED_IF_TOKEN,
|
|
3519
3618
|
useExisting: AnimatedIfDirective,
|
|
3520
3619
|
},
|
|
3521
3620
|
], hostDirectives: [{ directive: i1.NgIf }], ngImport: i0 }); }
|
|
3522
3621
|
}
|
|
3523
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
3622
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AnimatedIfDirective, decorators: [{
|
|
3524
3623
|
type: Directive,
|
|
3525
3624
|
args: [{
|
|
3526
3625
|
selector: '[etAnimatedIf]',
|
|
@@ -3580,10 +3679,10 @@ class ObserveResizeDirective {
|
|
|
3580
3679
|
_unsubscribe() {
|
|
3581
3680
|
this._currentSubscription?.unsubscribe();
|
|
3582
3681
|
}
|
|
3583
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3584
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
3682
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ObserveResizeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3683
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.1", type: ObserveResizeDirective, isStandalone: true, selector: "[etObserveResize]", inputs: { disabled: ["etObserveResizeDisabled", "disabled"], debounce: ["etObserveResizeDebounce", "debounce"] }, outputs: { valueChange: "etObserveResize" }, exportAs: ["etObserveResize"], ngImport: i0 }); }
|
|
3585
3684
|
}
|
|
3586
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
3685
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ObserveResizeDirective, decorators: [{
|
|
3587
3686
|
type: Directive,
|
|
3588
3687
|
args: [{
|
|
3589
3688
|
selector: '[etObserveResize]',
|
|
@@ -3613,15 +3712,15 @@ class RootBoundaryDirective {
|
|
|
3613
3712
|
set boundaryElement(v) {
|
|
3614
3713
|
this._boundaryElement = v;
|
|
3615
3714
|
}
|
|
3616
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3617
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
3715
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: RootBoundaryDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3716
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.1", type: RootBoundaryDirective, isStandalone: true, selector: "[etRootBoundary]", providers: [
|
|
3618
3717
|
{
|
|
3619
3718
|
provide: ROOT_BOUNDARY_TOKEN,
|
|
3620
3719
|
useExisting: RootBoundaryDirective,
|
|
3621
3720
|
},
|
|
3622
3721
|
], ngImport: i0 }); }
|
|
3623
3722
|
}
|
|
3624
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
3723
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: RootBoundaryDirective, decorators: [{
|
|
3625
3724
|
type: Directive,
|
|
3626
3725
|
args: [{
|
|
3627
3726
|
selector: '[etRootBoundary]',
|
|
@@ -3927,10 +4026,10 @@ class AnimatedOverlayDirective {
|
|
|
3927
4026
|
this._isUnmounting$.next(false);
|
|
3928
4027
|
this._afterClosed?.next();
|
|
3929
4028
|
}
|
|
3930
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3931
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
4029
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AnimatedOverlayDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4030
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.1", type: AnimatedOverlayDirective, isStandalone: true, inputs: { placement: "placement", fallbackPlacements: "fallbackPlacements", offset: "offset", arrowPadding: "arrowPadding", viewportPadding: "viewportPadding", autoResize: "autoResize", shift: "shift", autoHide: "autoHide", autoCloseIfReferenceHidden: "autoCloseIfReferenceHidden" }, host: { classAttribute: "et-animated-overlay" }, hostDirectives: [{ directive: ObserveResizeDirective }], ngImport: i0 }); }
|
|
3932
4031
|
}
|
|
3933
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4032
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AnimatedOverlayDirective, decorators: [{
|
|
3934
4033
|
type: Directive,
|
|
3935
4034
|
args: [{
|
|
3936
4035
|
standalone: true,
|
|
@@ -3980,10 +4079,10 @@ class ClickOutsideDirective {
|
|
|
3980
4079
|
ngOnDestroy() {
|
|
3981
4080
|
this._subscription?.unsubscribe();
|
|
3982
4081
|
}
|
|
3983
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3984
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
4082
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ClickOutsideDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4083
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.1", type: ClickOutsideDirective, isStandalone: true, selector: "[etClickOutside]", outputs: { etClickOutside: "etClickOutside" }, ngImport: i0 }); }
|
|
3985
4084
|
}
|
|
3986
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4085
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ClickOutsideDirective, decorators: [{
|
|
3987
4086
|
type: Directive,
|
|
3988
4087
|
args: [{
|
|
3989
4088
|
selector: '[etClickOutside]',
|
|
@@ -4137,10 +4236,10 @@ class CursorDragScrollDirective {
|
|
|
4137
4236
|
this._elementRef.nativeElement.style.cursor = 'default';
|
|
4138
4237
|
}
|
|
4139
4238
|
}
|
|
4140
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4141
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
4239
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: CursorDragScrollDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4240
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.1", type: CursorDragScrollDirective, isStandalone: true, selector: "[etCursorDragScroll]", inputs: { enabled: ["etCursorDragScroll", "enabled"], allowedDirection: "allowedDirection" }, outputs: { cursorDragStart: "cursorDragStart", cursorDragMove: "cursorDragMove", cursorDragEnd: "cursorDragEnd" }, exportAs: ["etCursorDragScroll"], ngImport: i0 }); }
|
|
4142
4241
|
}
|
|
4143
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: CursorDragScrollDirective, decorators: [{
|
|
4144
4243
|
type: Directive,
|
|
4145
4244
|
args: [{
|
|
4146
4245
|
selector: '[etCursorDragScroll]',
|
|
@@ -4173,15 +4272,15 @@ class DebugDirective {
|
|
|
4173
4272
|
set sDebug(value) {
|
|
4174
4273
|
this._debug.set(value);
|
|
4175
4274
|
}
|
|
4176
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4177
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.
|
|
4275
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: DebugDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4276
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.1.1", type: DebugDirective, isStandalone: true, selector: "[etDebug]", inputs: { sDebug: ["etDebug", "sDebug", booleanAttribute] }, providers: [
|
|
4178
4277
|
{
|
|
4179
4278
|
provide: DEBUG_TOKEN,
|
|
4180
4279
|
useExisting: DebugDirective,
|
|
4181
4280
|
},
|
|
4182
4281
|
], exportAs: ["etDebug"], ngImport: i0 }); }
|
|
4183
4282
|
}
|
|
4184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: DebugDirective, decorators: [{
|
|
4185
4284
|
type: Directive,
|
|
4186
4285
|
args: [{
|
|
4187
4286
|
selector: '[etDebug]',
|
|
@@ -4228,15 +4327,15 @@ class DelayableDirective {
|
|
|
4228
4327
|
}
|
|
4229
4328
|
this._isDelayed$.next(val);
|
|
4230
4329
|
}
|
|
4231
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4232
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
4330
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: DelayableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4331
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.1", type: DelayableDirective, isStandalone: true, selector: "[etDelayable]", providers: [
|
|
4233
4332
|
{
|
|
4234
4333
|
provide: DELAYABLE_TOKEN,
|
|
4235
4334
|
useExisting: DelayableDirective,
|
|
4236
4335
|
},
|
|
4237
4336
|
], exportAs: ["etDelayable"], ngImport: i0 }); }
|
|
4238
4337
|
}
|
|
4239
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4338
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: DelayableDirective, decorators: [{
|
|
4240
4339
|
type: Directive,
|
|
4241
4340
|
args: [{
|
|
4242
4341
|
selector: '[etDelayable]',
|
|
@@ -4257,15 +4356,15 @@ class IsActiveElementDirective {
|
|
|
4257
4356
|
this.elementRef = inject(ElementRef);
|
|
4258
4357
|
this.isActiveElement = false;
|
|
4259
4358
|
}
|
|
4260
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4261
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.
|
|
4359
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: IsActiveElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4360
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.1.1", type: IsActiveElementDirective, isStandalone: true, selector: "[etIsActiveElement]", inputs: { isActiveElement: ["etIsActiveElement", "isActiveElement", booleanAttribute] }, providers: [
|
|
4262
4361
|
{
|
|
4263
4362
|
provide: IS_ACTIVE_ELEMENT,
|
|
4264
4363
|
useExisting: IsActiveElementDirective,
|
|
4265
4364
|
},
|
|
4266
4365
|
], ngImport: i0 }); }
|
|
4267
4366
|
}
|
|
4268
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: IsActiveElementDirective, decorators: [{
|
|
4269
4368
|
type: Directive,
|
|
4270
4369
|
args: [{
|
|
4271
4370
|
selector: '[etIsActiveElement]',
|
|
@@ -4288,15 +4387,15 @@ class IsElementDirective {
|
|
|
4288
4387
|
this.elementRef = inject(ElementRef);
|
|
4289
4388
|
this.isElement = false;
|
|
4290
4389
|
}
|
|
4291
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4292
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.
|
|
4390
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: IsElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4391
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.1.1", type: IsElementDirective, isStandalone: true, selector: "[etIsElement]", inputs: { isElement: ["etIsElement", "isElement", booleanAttribute] }, providers: [
|
|
4293
4392
|
{
|
|
4294
4393
|
provide: IS_ELEMENT,
|
|
4295
4394
|
useExisting: IsElementDirective,
|
|
4296
4395
|
},
|
|
4297
4396
|
], ngImport: i0 }); }
|
|
4298
4397
|
}
|
|
4299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: IsElementDirective, decorators: [{
|
|
4300
4399
|
type: Directive,
|
|
4301
4400
|
args: [{
|
|
4302
4401
|
selector: '[etIsElement]',
|
|
@@ -4345,10 +4444,10 @@ class LetDirective {
|
|
|
4345
4444
|
}
|
|
4346
4445
|
}
|
|
4347
4446
|
}
|
|
4348
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4349
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
4447
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: LetDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4448
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.1", type: LetDirective, isStandalone: true, selector: "[etLet]", inputs: { etLet: "etLet" }, ngImport: i0 }); }
|
|
4350
4449
|
}
|
|
4351
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: LetDirective, decorators: [{
|
|
4352
4451
|
type: Directive,
|
|
4353
4452
|
args: [{
|
|
4354
4453
|
selector: '[etLet]',
|
|
@@ -4400,10 +4499,10 @@ class ObserveContentDirective {
|
|
|
4400
4499
|
_unsubscribe() {
|
|
4401
4500
|
this._currentSubscription?.unsubscribe();
|
|
4402
4501
|
}
|
|
4403
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4404
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
4502
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ObserveContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4503
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.1", type: ObserveContentDirective, isStandalone: true, selector: "[etObserveContent]", inputs: { disabled: ["etObserveContentDisabled", "disabled"], debounce: ["etObserveContentDebounce", "debounce"] }, outputs: { valueChange: "etObserveContent" }, exportAs: ["etObserveContent"], ngImport: i0 }); }
|
|
4405
4504
|
}
|
|
4406
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ObserveContentDirective, decorators: [{
|
|
4407
4506
|
type: Directive,
|
|
4408
4507
|
args: [{
|
|
4409
4508
|
selector: '[etObserveContent]',
|
|
@@ -4428,10 +4527,10 @@ class ScrollObserverFirstElementDirective {
|
|
|
4428
4527
|
constructor() {
|
|
4429
4528
|
this.isFirstElement = false;
|
|
4430
4529
|
}
|
|
4431
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4432
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.
|
|
4530
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ScrollObserverFirstElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4531
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.1.1", type: ScrollObserverFirstElementDirective, isStandalone: true, selector: "[etScrollObserverFirstElement]", inputs: { isFirstElement: ["etScrollObserverFirstElement", "isFirstElement", booleanAttribute] }, host: { properties: { "class.et-scroll-observer-first-element": "this.isFirstElement" } }, ngImport: i0 }); }
|
|
4433
4532
|
}
|
|
4434
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4533
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ScrollObserverFirstElementDirective, decorators: [{
|
|
4435
4534
|
type: Directive,
|
|
4436
4535
|
args: [{
|
|
4437
4536
|
selector: '[etScrollObserverFirstElement]',
|
|
@@ -4447,10 +4546,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImpor
|
|
|
4447
4546
|
|
|
4448
4547
|
const SCROLL_OBSERVER_IGNORE_TARGET_CLASS = 'et-scroll-observer-ignore-target';
|
|
4449
4548
|
class ScrollObserverIgnoreTargetDirective {
|
|
4450
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4451
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
4549
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ScrollObserverIgnoreTargetDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4550
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.1", type: ScrollObserverIgnoreTargetDirective, isStandalone: true, selector: "[etScrollObserverIgnoreTarget]", host: { classAttribute: "et-scroll-observer-ignore-target" }, ngImport: i0 }); }
|
|
4452
4551
|
}
|
|
4453
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4552
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ScrollObserverIgnoreTargetDirective, decorators: [{
|
|
4454
4553
|
type: Directive,
|
|
4455
4554
|
args: [{
|
|
4456
4555
|
selector: '[etScrollObserverIgnoreTarget]',
|
|
@@ -4466,10 +4565,10 @@ class ScrollObserverLastElementDirective {
|
|
|
4466
4565
|
constructor() {
|
|
4467
4566
|
this.isLastElement = false;
|
|
4468
4567
|
}
|
|
4469
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4470
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.
|
|
4568
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ScrollObserverLastElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4569
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.1.1", 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 }); }
|
|
4471
4570
|
}
|
|
4472
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ScrollObserverLastElementDirective, decorators: [{
|
|
4473
4572
|
type: Directive,
|
|
4474
4573
|
args: [{
|
|
4475
4574
|
selector: '[etScrollObserverLastElement]',
|
|
@@ -4626,15 +4725,15 @@ class ObserveScrollStateDirective {
|
|
|
4626
4725
|
}
|
|
4627
4726
|
return element;
|
|
4628
4727
|
}
|
|
4629
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4630
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.
|
|
4728
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ObserveScrollStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4729
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.1.1", type: ObserveScrollStateDirective, isStandalone: true, selector: "[etObserveScrollState]", inputs: { rootMargin: ["rootMargin", "rootMargin", numberAttribute], observerThreshold: "observerThreshold" }, outputs: { valueChange: "etObserveScrollState" }, providers: [
|
|
4631
4730
|
{
|
|
4632
4731
|
provide: OBSERVE_SCROLL_STATE,
|
|
4633
4732
|
useExisting: ObserveScrollStateDirective,
|
|
4634
4733
|
},
|
|
4635
4734
|
], exportAs: ["etObserveScrollState"], ngImport: i0 }); }
|
|
4636
4735
|
}
|
|
4637
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4736
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ObserveScrollStateDirective, decorators: [{
|
|
4638
4737
|
type: Directive,
|
|
4639
4738
|
args: [{
|
|
4640
4739
|
selector: '[etObserveScrollState]',
|
|
@@ -4704,15 +4803,15 @@ class ObserveVisibilityDirective {
|
|
|
4704
4803
|
}))
|
|
4705
4804
|
.subscribe();
|
|
4706
4805
|
}
|
|
4707
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4708
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
4806
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ObserveVisibilityDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4807
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.1", type: ObserveVisibilityDirective, isStandalone: true, selector: "[etObserveVisibility]", outputs: { etObserveVisibility: "etObserveVisibility" }, host: { classAttribute: "et-observe-visibility" }, providers: [
|
|
4709
4808
|
{
|
|
4710
4809
|
provide: OBSERVE_VISIBILITY_TOKEN,
|
|
4711
4810
|
useExisting: ObserveVisibilityDirective,
|
|
4712
4811
|
},
|
|
4713
4812
|
], ngImport: i0 }); }
|
|
4714
4813
|
}
|
|
4715
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4814
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ObserveVisibilityDirective, decorators: [{
|
|
4716
4815
|
type: Directive,
|
|
4717
4816
|
args: [{
|
|
4718
4817
|
selector: '[etObserveVisibility]',
|
|
@@ -4750,10 +4849,10 @@ class RepeatDirective {
|
|
|
4750
4849
|
this._viewContainerRef.createEmbeddedView(this._mainTemplateRef);
|
|
4751
4850
|
}
|
|
4752
4851
|
}
|
|
4753
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4754
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
4852
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: RepeatDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4853
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.1", type: RepeatDirective, isStandalone: true, selector: "[etRepeat]", inputs: { repeatCount: ["etRepeat", "repeatCount"] }, ngImport: i0 }); }
|
|
4755
4854
|
}
|
|
4756
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4855
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: RepeatDirective, decorators: [{
|
|
4757
4856
|
type: Directive,
|
|
4758
4857
|
args: [{
|
|
4759
4858
|
selector: '[etRepeat]',
|
|
@@ -4922,10 +5021,10 @@ class SeoDirective {
|
|
|
4922
5021
|
}
|
|
4923
5022
|
}
|
|
4924
5023
|
}
|
|
4925
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4926
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
5024
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: SeoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5025
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.1", type: SeoDirective, isStandalone: true, providers: [{ provide: SEO_DIRECTIVE_TOKEN, useExisting: SeoDirective }], ngImport: i0 }); }
|
|
4927
5026
|
}
|
|
4928
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5027
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: SeoDirective, decorators: [{
|
|
4929
5028
|
type: Directive,
|
|
4930
5029
|
args: [{
|
|
4931
5030
|
standalone: true,
|
|
@@ -5101,10 +5200,10 @@ class InferMimeTypePipe {
|
|
|
5101
5200
|
constructor() {
|
|
5102
5201
|
this.transform = inferMimeType;
|
|
5103
5202
|
}
|
|
5104
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5105
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.
|
|
5203
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: InferMimeTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5204
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: InferMimeTypePipe, isStandalone: true, name: "inferMimeType" }); }
|
|
5106
5205
|
}
|
|
5107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: InferMimeTypePipe, decorators: [{
|
|
5108
5207
|
type: Pipe,
|
|
5109
5208
|
args: [{
|
|
5110
5209
|
name: 'inferMimeType',
|
|
@@ -5150,10 +5249,10 @@ class NormalizeGameResultTypePipe {
|
|
|
5150
5249
|
constructor() {
|
|
5151
5250
|
this.transform = normalizeGameResultType;
|
|
5152
5251
|
}
|
|
5153
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5154
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.
|
|
5252
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NormalizeGameResultTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5253
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: NormalizeGameResultTypePipe, isStandalone: true, name: "etNormalizeGameResultType" }); }
|
|
5155
5254
|
}
|
|
5156
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NormalizeGameResultTypePipe, decorators: [{
|
|
5157
5256
|
type: Pipe,
|
|
5158
5257
|
args: [{ name: 'etNormalizeGameResultType', standalone: true }]
|
|
5159
5258
|
}] });
|
|
@@ -5181,10 +5280,10 @@ class NormalizeMatchStatePipe {
|
|
|
5181
5280
|
constructor() {
|
|
5182
5281
|
this.transform = normalizeMatchState;
|
|
5183
5282
|
}
|
|
5184
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5185
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.
|
|
5283
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NormalizeMatchStatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5284
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: NormalizeMatchStatePipe, isStandalone: true, name: "etNormalizeMatchState" }); }
|
|
5186
5285
|
}
|
|
5187
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NormalizeMatchStatePipe, decorators: [{
|
|
5188
5287
|
type: Pipe,
|
|
5189
5288
|
args: [{ name: 'etNormalizeMatchState', standalone: true }]
|
|
5190
5289
|
}] });
|
|
@@ -5239,10 +5338,10 @@ class NormalizeMatchParticipantsPipe {
|
|
|
5239
5338
|
constructor() {
|
|
5240
5339
|
this.transform = normalizeMatchParticipants;
|
|
5241
5340
|
}
|
|
5242
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5243
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.
|
|
5341
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NormalizeMatchParticipantsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5342
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: NormalizeMatchParticipantsPipe, isStandalone: true, name: "etNormalizeMatchParticipants" }); }
|
|
5244
5343
|
}
|
|
5245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NormalizeMatchParticipantsPipe, decorators: [{
|
|
5246
5345
|
type: Pipe,
|
|
5247
5346
|
args: [{ name: 'etNormalizeMatchParticipants', standalone: true }]
|
|
5248
5347
|
}] });
|
|
@@ -5376,10 +5475,10 @@ class NormalizeMatchScorePipe {
|
|
|
5376
5475
|
constructor() {
|
|
5377
5476
|
this.transform = normalizeMatchScore;
|
|
5378
5477
|
}
|
|
5379
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5380
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.
|
|
5478
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NormalizeMatchScorePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5479
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: NormalizeMatchScorePipe, isStandalone: true, name: "etNormalizeMatchScore" }); }
|
|
5381
5480
|
}
|
|
5382
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5481
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NormalizeMatchScorePipe, decorators: [{
|
|
5383
5482
|
type: Pipe,
|
|
5384
5483
|
args: [{ name: 'etNormalizeMatchScore', standalone: true }]
|
|
5385
5484
|
}] });
|
|
@@ -5426,10 +5525,10 @@ class NormalizeMatchTypePipe {
|
|
|
5426
5525
|
constructor() {
|
|
5427
5526
|
this.transform = normalizeMatchType;
|
|
5428
5527
|
}
|
|
5429
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5430
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.
|
|
5528
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NormalizeMatchTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5529
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: NormalizeMatchTypePipe, isStandalone: true, name: "etNormalizeMatchType" }); }
|
|
5431
5530
|
}
|
|
5432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5531
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NormalizeMatchTypePipe, decorators: [{
|
|
5433
5532
|
type: Pipe,
|
|
5434
5533
|
args: [{ name: 'etNormalizeMatchType', standalone: true }]
|
|
5435
5534
|
}] });
|
|
@@ -5443,10 +5542,10 @@ class ToArrayPipe {
|
|
|
5443
5542
|
constructor() {
|
|
5444
5543
|
this.transform = toArray;
|
|
5445
5544
|
}
|
|
5446
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5447
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.
|
|
5545
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ToArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5546
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: ToArrayPipe, isStandalone: true, name: "toArray" }); }
|
|
5448
5547
|
}
|
|
5449
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5548
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: ToArrayPipe, decorators: [{
|
|
5450
5549
|
type: Pipe,
|
|
5451
5550
|
args: [{ name: 'toArray', standalone: true }]
|
|
5452
5551
|
}] });
|
|
@@ -5593,12 +5692,14 @@ const createProps = (props) => {
|
|
|
5593
5692
|
const createHostProps = (props) => {
|
|
5594
5693
|
const data = createProps(props);
|
|
5595
5694
|
const handlers = createPropHandlers();
|
|
5596
|
-
afterNextRender(
|
|
5597
|
-
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
|
|
5695
|
+
afterNextRender({
|
|
5696
|
+
write: () => {
|
|
5697
|
+
bindProps({
|
|
5698
|
+
handlers,
|
|
5699
|
+
props: data,
|
|
5700
|
+
});
|
|
5701
|
+
},
|
|
5702
|
+
});
|
|
5602
5703
|
const destroyRef = inject(DestroyRef);
|
|
5603
5704
|
destroyRef.onDestroy(() => {
|
|
5604
5705
|
unbindProps({
|
|
@@ -5651,12 +5752,14 @@ class PropsDirective {
|
|
|
5651
5752
|
this.destroyRef = inject(DestroyRef);
|
|
5652
5753
|
this.props = input.required({ alias: 'etProps', transform: (d) => d });
|
|
5653
5754
|
this.propHandlers = createPropHandlers();
|
|
5654
|
-
afterNextRender(
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5755
|
+
afterNextRender({
|
|
5756
|
+
write: () => {
|
|
5757
|
+
bindProps({
|
|
5758
|
+
handlers: this.propHandlers,
|
|
5759
|
+
props: this.props(),
|
|
5760
|
+
});
|
|
5761
|
+
},
|
|
5762
|
+
});
|
|
5660
5763
|
this.destroyRef.onDestroy(() => {
|
|
5661
5764
|
unbindProps({
|
|
5662
5765
|
handlers: this.propHandlers,
|
|
@@ -5664,10 +5767,10 @@ class PropsDirective {
|
|
|
5664
5767
|
});
|
|
5665
5768
|
});
|
|
5666
5769
|
}
|
|
5667
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5668
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.
|
|
5770
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: PropsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5771
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.1", type: PropsDirective, isStandalone: true, selector: "[etProps]", inputs: { props: { classPropertyName: "props", publicName: "etProps", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
|
|
5669
5772
|
}
|
|
5670
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5773
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: PropsDirective, decorators: [{
|
|
5671
5774
|
type: Directive,
|
|
5672
5775
|
args: [{
|
|
5673
5776
|
selector: '[etProps]',
|
|
@@ -5800,5 +5903,5 @@ const Validators = {
|
|
|
5800
5903
|
* Generated bundle index. Do not edit.
|
|
5801
5904
|
*/
|
|
5802
5905
|
|
|
5803
|
-
export { ANIMATABLE_TOKEN, ANIMATED_IF_TOKEN, ANIMATED_LIFECYCLE_TOKEN, AT_LEAST_ONE_REQUIRED, ActiveSelectionModel, AnimatableDirective, AnimatedIfDirective, AnimatedLifecycleDirective, AnimatedOverlayDirective, CURSOR_DRAG_SCROLLING_CLASS, CURSOR_DRAG_SCROLLING_PREPARED_CLASS, ClickObserverFactory, ClickObserverService, ClickOutsideDirective, ContentObserverService, CursorDragScrollDirective, DEBUG_TOKEN, DEFAULT_VIEWPORT_CONFIG, DELAYABLE_TOKEN, DebugDirective, DelayableDirective, ET_PROPERTY_REMOVED, FocusVisibleService, IS_ACTIVE_ELEMENT, IS_ARRAY_NOT_EMPTY, IS_ELEMENT, IS_EMAIL, InferMimeTypePipe, IntersectionObserverFactory, IntersectionObserverService, IsActiveElementDirective, IsArrayNotEmpty, IsElementDirective, IsEmail, KeyPressManager, LetContext, LetDirective, MUST_MATCH, Memo, MustMatch, MutationObserverFactory, NormalizeGameResultTypePipe, NormalizeMatchParticipantsPipe, NormalizeMatchScorePipe, NormalizeMatchStatePipe, NormalizeMatchTypePipe, OBSERVE_SCROLL_STATE, OBSERVE_VISIBILITY_TOKEN, ObserveContentDirective, ObserveResizeDirective, ObserveScrollStateDirective, ObserveVisibilityDirective, PropsDirective, ROOT_BOUNDARY_TOKEN, RUNTIME_ERROR_NO_DATA, RepeatDirective, ResizeObserverFactory, ResizeObserverService, RootBoundaryDirective, RouterStateService, RuntimeError, SCROLL_OBSERVER_FIRST_ELEMENT_CLASS, SCROLL_OBSERVER_IGNORE_TARGET_CLASS, SCROLL_OBSERVER_LAST_ELEMENT_CLASS, SCROLL_OBSERVER_OBSERVING_FIRST_ELEMENT_CLASS, SCROLL_OBSERVER_OBSERVING_LAST_ELEMENT_CLASS, SEO_DIRECTIVE_TOKEN, ScrollObserverFirstElementDirective, ScrollObserverIgnoreTargetDirective, ScrollObserverLastElementDirective, SelectionModel, SeoDirective, SmartBlockScrollStrategy, StructuredDataComponent, ToArrayPipe, TypedQueryList, VIEWPORT_CONFIG, ValidateAtLeastOneRequired, Validators, ViewportService, areScrollStatesEqual, bindProps, boundingClientRectToElementRect, buildSignalEffects, clamp, clone, cloneFormGroup, computedTillFalsy, computedTillTruthy, controlValueSignal, controlValueSignalWithPrevious, createCanAnimateSignal, createComponentId, createDependencyStash, createDestroy, createElementDictionary, createElementDimensions, createFlipAnimation, createFlipAnimationGroup, createHostProps, createIsRenderedSignal, createMediaQueryObservable, createMutationObservable, createPropHandlers, createProps, createReactiveBindings, createResizeObservable, createSetup, debouncedControlValueSignal, deferredSignal, deleteCookie, elementCanScroll, equal, forceReflow, formatRuntimeError, fromNextFrame, getCookie, getDomain, getElementScrollCoordinates, getFormGroupValue, getGroupMatchPoints, getGroupMatchScore, getIntersectionInfo, getKnockoutMatchScore, getMatchScoreSubLine, getObjectProperty, hasCookie, inferMimeType, injectBreakpointIsMatched, injectCurrentBreakpoint, injectFragment, injectHostElement, injectIs2Xl, injectIsLg, injectIsMd, injectIsSm, injectIsXl, injectIsXs, injectObserveBreakpoint,
|
|
5906
|
+
export { ANIMATABLE_TOKEN, ANIMATED_IF_TOKEN, ANIMATED_LIFECYCLE_TOKEN, AT_LEAST_ONE_REQUIRED, ActiveSelectionModel, AnimatableDirective, AnimatedIfDirective, AnimatedLifecycleDirective, AnimatedOverlayDirective, CURSOR_DRAG_SCROLLING_CLASS, CURSOR_DRAG_SCROLLING_PREPARED_CLASS, ClickObserverFactory, ClickObserverService, ClickOutsideDirective, ContentObserverService, CursorDragScrollDirective, DEBUG_TOKEN, DEFAULT_VIEWPORT_CONFIG, DELAYABLE_TOKEN, DebugDirective, DelayableDirective, ET_PROPERTY_REMOVED, FocusVisibleService, IS_ACTIVE_ELEMENT, IS_ARRAY_NOT_EMPTY, IS_ELEMENT, IS_EMAIL, InferMimeTypePipe, IntersectionObserverFactory, IntersectionObserverService, IsActiveElementDirective, IsArrayNotEmpty, IsElementDirective, IsEmail, KeyPressManager, LetContext, LetDirective, MUST_MATCH, Memo, MustMatch, MutationObserverFactory, NormalizeGameResultTypePipe, NormalizeMatchParticipantsPipe, NormalizeMatchScorePipe, NormalizeMatchStatePipe, NormalizeMatchTypePipe, OBSERVE_SCROLL_STATE, OBSERVE_VISIBILITY_TOKEN, ObserveContentDirective, ObserveResizeDirective, ObserveScrollStateDirective, ObserveVisibilityDirective, PropsDirective, ROOT_BOUNDARY_TOKEN, RUNTIME_ERROR_NO_DATA, RepeatDirective, ResizeObserverFactory, ResizeObserverService, RootBoundaryDirective, RouterStateService, RuntimeError, SCROLL_OBSERVER_FIRST_ELEMENT_CLASS, SCROLL_OBSERVER_IGNORE_TARGET_CLASS, SCROLL_OBSERVER_LAST_ELEMENT_CLASS, SCROLL_OBSERVER_OBSERVING_FIRST_ELEMENT_CLASS, SCROLL_OBSERVER_OBSERVING_LAST_ELEMENT_CLASS, SEO_DIRECTIVE_TOKEN, ScrollObserverFirstElementDirective, ScrollObserverIgnoreTargetDirective, ScrollObserverLastElementDirective, SelectionModel, SeoDirective, SmartBlockScrollStrategy, StructuredDataComponent, ToArrayPipe, TypedQueryList, VIEWPORT_CONFIG, ValidateAtLeastOneRequired, Validators, ViewportService, areScrollStatesEqual, bindProps, boundingClientRectToElementRect, buildSignalEffects, clamp, clone, cloneFormGroup, computedTillFalsy, computedTillTruthy, controlValueSignal, controlValueSignalWithPrevious, createCanAnimateSignal, createComponentId, createDependencyStash, createDestroy, createElementDictionary, createElementDimensions, createFlipAnimation, createFlipAnimationGroup, createHostProps, createIsRenderedSignal, createMediaQueryObservable, createMutationObservable, createPropHandlers, createProps, createReactiveBindings, createResizeObservable, createSetup, debouncedControlValueSignal, deferredSignal, deleteCookie, elementCanScroll, equal, forceReflow, formatRuntimeError, fromNextFrame, getCookie, getDomain, getElementScrollCoordinates, getFormGroupValue, getGroupMatchPoints, getGroupMatchScore, getIntersectionInfo, getKnockoutMatchScore, getMatchScoreSubLine, getObjectProperty, hasCookie, inferMimeType, injectBreakpointIsMatched, injectCurrentBreakpoint, injectFragment, injectHostElement, injectIs2Xl, injectIsLg, injectIsMd, injectIsSm, injectIsXl, injectIsXs, injectObserveBreakpoint, injectPathParam, injectPathParamChanges, injectPathParams, injectQueryParam, injectQueryParamChanges, injectQueryParams, injectRoute, injectRouteData, injectRouteDataItem, injectRouteTitle, injectRouterEvent, injectRouterState, injectTemplateRef, injectUrl, isArray, isElementVisible, isEmptyArray, isGroupMatch, isKnockoutMatch, isObject, isObjectArray, isPrimitiveArray, maybeSignalValue, mergeSeoConfig, nextFrame, normalizeGameResultType, normalizeMatchParticipant, normalizeMatchParticipants, normalizeMatchScore, normalizeMatchState, normalizeMatchType, previousSignalValue, provideViewportConfig, round, routerDisableScrollTop, scrollToElement, setCookie, signalAttributes, signalClasses, signalElementChildren, signalElementDimensions, signalElementIntersection, signalElementMutations, signalElementScrollState, signalHostAttributes, signalHostClasses, signalHostElementDimensions, signalHostElementIntersection, signalHostElementMutations, signalHostElementScrollState, signalHostStyles, signalIsRendered, signalStyles, signalVisibilityChangeClasses, switchQueryListChanges, syncSignal, templateComputed, toArray, toArrayTrackByFn, transformOrReturn, unbindProps, useCursorDragScroll };
|
|
5804
5907
|
//# sourceMappingURL=ethlete-core.mjs.map
|