@ethlete/core 4.18.4 → 4.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -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/props.directive.mjs +3 -3
- 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 +82 -55
- package/fesm2022/ethlete-core.mjs +205 -178
- package/fesm2022/ethlete-core.mjs.map +1 -1
- package/lib/utils/signal.utils.d.ts +38 -21
- package/package.json +7 -7
|
@@ -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: "17.3.
|
|
33
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
32
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: StructuredDataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
33
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", 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: "17.3.
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: StructuredDataComponent, decorators: [{
|
|
36
36
|
type: Component,
|
|
37
37
|
args: [{
|
|
38
38
|
selector: 'et-structured-data',
|
|
@@ -1515,10 +1515,10 @@ class ClickObserverFactory {
|
|
|
1515
1515
|
create() {
|
|
1516
1516
|
return fromEvent(document, 'click');
|
|
1517
1517
|
}
|
|
1518
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1519
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
1518
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ClickObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1519
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ClickObserverFactory, providedIn: 'root' }); }
|
|
1520
1520
|
}
|
|
1521
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1521
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ClickObserverFactory, decorators: [{
|
|
1522
1522
|
type: Injectable,
|
|
1523
1523
|
args: [{ providedIn: 'root' }]
|
|
1524
1524
|
}] });
|
|
@@ -1571,10 +1571,10 @@ class ClickObserverService {
|
|
|
1571
1571
|
this._observedElements.delete(element);
|
|
1572
1572
|
}
|
|
1573
1573
|
}
|
|
1574
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1575
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
1574
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ClickObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1575
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ClickObserverService, providedIn: 'root' }); }
|
|
1576
1576
|
}
|
|
1577
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1577
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ClickObserverService, decorators: [{
|
|
1578
1578
|
type: Injectable,
|
|
1579
1579
|
args: [{ providedIn: 'root' }]
|
|
1580
1580
|
}] });
|
|
@@ -1584,10 +1584,10 @@ class MutationObserverFactory {
|
|
|
1584
1584
|
create(callback) {
|
|
1585
1585
|
return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);
|
|
1586
1586
|
}
|
|
1587
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1588
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
1587
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MutationObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1588
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MutationObserverFactory, providedIn: 'root' }); }
|
|
1589
1589
|
}
|
|
1590
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1590
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MutationObserverFactory, decorators: [{
|
|
1591
1591
|
type: Injectable,
|
|
1592
1592
|
args: [{ providedIn: 'root' }]
|
|
1593
1593
|
}] });
|
|
@@ -1646,10 +1646,10 @@ class ContentObserverService {
|
|
|
1646
1646
|
this._observedElements.delete(element);
|
|
1647
1647
|
}
|
|
1648
1648
|
}
|
|
1649
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1650
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
1649
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ContentObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1650
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ContentObserverService, providedIn: 'root' }); }
|
|
1651
1651
|
}
|
|
1652
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1652
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ContentObserverService, decorators: [{
|
|
1653
1653
|
type: Injectable,
|
|
1654
1654
|
args: [{ providedIn: 'root' }]
|
|
1655
1655
|
}] });
|
|
@@ -1675,10 +1675,10 @@ class FocusVisibleService {
|
|
|
1675
1675
|
onPointerDown() {
|
|
1676
1676
|
this._hadKeyboardEvent = false;
|
|
1677
1677
|
}
|
|
1678
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1679
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
1678
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: FocusVisibleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1679
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: FocusVisibleService, providedIn: 'root' }); }
|
|
1680
1680
|
}
|
|
1681
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1681
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: FocusVisibleService, decorators: [{
|
|
1682
1682
|
type: Injectable,
|
|
1683
1683
|
args: [{
|
|
1684
1684
|
providedIn: 'root',
|
|
@@ -1690,10 +1690,10 @@ class IntersectionObserverFactory {
|
|
|
1690
1690
|
create(callback) {
|
|
1691
1691
|
return typeof IntersectionObserver === 'undefined' ? null : new IntersectionObserver(callback);
|
|
1692
1692
|
}
|
|
1693
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1694
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
1693
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IntersectionObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1694
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IntersectionObserverFactory, providedIn: 'root' }); }
|
|
1695
1695
|
}
|
|
1696
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IntersectionObserverFactory, decorators: [{
|
|
1697
1697
|
type: Injectable,
|
|
1698
1698
|
args: [{ providedIn: 'root' }]
|
|
1699
1699
|
}] });
|
|
@@ -1748,10 +1748,10 @@ class IntersectionObserverService {
|
|
|
1748
1748
|
this._observedElements.delete(element);
|
|
1749
1749
|
}
|
|
1750
1750
|
}
|
|
1751
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1752
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
1751
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IntersectionObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1752
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IntersectionObserverService, providedIn: 'root' }); }
|
|
1753
1753
|
}
|
|
1754
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1754
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IntersectionObserverService, decorators: [{
|
|
1755
1755
|
type: Injectable,
|
|
1756
1756
|
args: [{ providedIn: 'root' }]
|
|
1757
1757
|
}] });
|
|
@@ -1761,10 +1761,10 @@ class ResizeObserverFactory {
|
|
|
1761
1761
|
create(callback) {
|
|
1762
1762
|
return typeof ResizeObserver === 'undefined' ? null : new ResizeObserver(callback);
|
|
1763
1763
|
}
|
|
1764
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1765
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
1764
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ResizeObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1765
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ResizeObserverFactory, providedIn: 'root' }); }
|
|
1766
1766
|
}
|
|
1767
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1767
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ResizeObserverFactory, decorators: [{
|
|
1768
1768
|
type: Injectable,
|
|
1769
1769
|
args: [{ providedIn: 'root' }]
|
|
1770
1770
|
}] });
|
|
@@ -1819,10 +1819,10 @@ class ResizeObserverService {
|
|
|
1819
1819
|
this._observedElements.delete(element);
|
|
1820
1820
|
}
|
|
1821
1821
|
}
|
|
1822
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1823
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
1822
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ResizeObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1823
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ResizeObserverService, providedIn: 'root' }); }
|
|
1824
1824
|
}
|
|
1825
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1825
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ResizeObserverService, decorators: [{
|
|
1826
1826
|
type: Injectable,
|
|
1827
1827
|
args: [{ providedIn: 'root' }]
|
|
1828
1828
|
}] });
|
|
@@ -2017,10 +2017,10 @@ class RouterStateService {
|
|
|
2017
2017
|
fragment,
|
|
2018
2018
|
};
|
|
2019
2019
|
}
|
|
2020
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2021
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
2020
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: RouterStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2021
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: RouterStateService, providedIn: 'root' }); }
|
|
2022
2022
|
}
|
|
2023
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2023
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: RouterStateService, decorators: [{
|
|
2024
2024
|
type: Injectable,
|
|
2025
2025
|
args: [{
|
|
2026
2026
|
providedIn: 'root',
|
|
@@ -2236,8 +2236,8 @@ class ViewportService {
|
|
|
2236
2236
|
}
|
|
2237
2237
|
return 'xs';
|
|
2238
2238
|
}
|
|
2239
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2240
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
2239
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ViewportService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2240
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ViewportService, providedIn: 'root' }); }
|
|
2241
2241
|
}
|
|
2242
2242
|
__decorate([
|
|
2243
2243
|
Memo(),
|
|
@@ -2255,7 +2255,7 @@ __decorate([
|
|
|
2255
2255
|
__metadata("design:paramtypes", [Object]),
|
|
2256
2256
|
__metadata("design:returntype", void 0)
|
|
2257
2257
|
], ViewportService.prototype, "_buildMediaQuery", null);
|
|
2258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ViewportService, decorators: [{
|
|
2259
2259
|
type: Injectable,
|
|
2260
2260
|
args: [{
|
|
2261
2261
|
providedIn: 'root',
|
|
@@ -2369,11 +2369,12 @@ const buildSignalEffects = (el, config) => {
|
|
|
2369
2369
|
runInInjectionContext(injector, () => {
|
|
2370
2370
|
effects[tokens] = effect(() => {
|
|
2371
2371
|
const { currentElements } = untracked(() => elements());
|
|
2372
|
+
const value = signal();
|
|
2372
2373
|
for (const el of currentElements) {
|
|
2373
2374
|
const tokenArray = tokens.split(' ');
|
|
2374
2375
|
if (!tokenArray.length)
|
|
2375
2376
|
continue;
|
|
2376
|
-
config.updateFn(el, tokenArray,
|
|
2377
|
+
config.updateFn(el, tokenArray, value);
|
|
2377
2378
|
}
|
|
2378
2379
|
});
|
|
2379
2380
|
});
|
|
@@ -2468,57 +2469,70 @@ const signalStyles = (el, styleMap) => {
|
|
|
2468
2469
|
});
|
|
2469
2470
|
};
|
|
2470
2471
|
const signalHostStyles = (styleMap) => signalStyles(inject(ElementRef), styleMap);
|
|
2472
|
+
const boundingClientRectToElementRect = (rect) => ({
|
|
2473
|
+
bottom: rect.bottom,
|
|
2474
|
+
height: rect.height,
|
|
2475
|
+
left: rect.left,
|
|
2476
|
+
right: rect.right,
|
|
2477
|
+
top: rect.top,
|
|
2478
|
+
width: rect.width,
|
|
2479
|
+
x: rect.x,
|
|
2480
|
+
y: rect.y,
|
|
2481
|
+
});
|
|
2482
|
+
const createElementDimensions = (el, rect) => {
|
|
2483
|
+
if (!el) {
|
|
2484
|
+
return {
|
|
2485
|
+
rect: null,
|
|
2486
|
+
client: null,
|
|
2487
|
+
scroll: null,
|
|
2488
|
+
offset: null,
|
|
2489
|
+
};
|
|
2490
|
+
}
|
|
2491
|
+
return {
|
|
2492
|
+
rect: rect ? boundingClientRectToElementRect(rect) : boundingClientRectToElementRect(el.getBoundingClientRect()),
|
|
2493
|
+
client: { width: el.clientWidth, height: el.clientHeight },
|
|
2494
|
+
scroll: { width: el.scrollWidth, height: el.scrollHeight },
|
|
2495
|
+
offset: { width: el.offsetWidth, height: el.offsetHeight },
|
|
2496
|
+
};
|
|
2497
|
+
};
|
|
2471
2498
|
const signalElementDimensions = (el) => {
|
|
2472
2499
|
const destroyRef = inject(DestroyRef);
|
|
2473
2500
|
const elements = buildElementSignal(el);
|
|
2474
2501
|
const zone = inject(NgZone);
|
|
2475
2502
|
const isRendered = signalIsRendered();
|
|
2476
|
-
const initialValue = () => (
|
|
2477
|
-
rect: elements().currentElement?.getBoundingClientRect() ?? null,
|
|
2478
|
-
borderBoxSize: null,
|
|
2479
|
-
contentBoxSize: null,
|
|
2480
|
-
devicePixelContentBoxSize: null,
|
|
2481
|
-
});
|
|
2503
|
+
const initialValue = () => createElementDimensions(elements().currentElement);
|
|
2482
2504
|
const elementDimensionsSignal = signal(initialValue());
|
|
2483
2505
|
const observer = new ResizeObserver((e) => {
|
|
2484
2506
|
if (!isRendered())
|
|
2485
2507
|
return;
|
|
2486
2508
|
const entry = e[0];
|
|
2487
2509
|
if (entry) {
|
|
2488
|
-
const
|
|
2489
|
-
const
|
|
2490
|
-
|
|
2491
|
-
zone.run(() => elementDimensionsSignal.set({
|
|
2492
|
-
rect: entry.contentRect,
|
|
2493
|
-
borderBoxSize: borderBoxSize
|
|
2494
|
-
? { inlineSize: borderBoxSize.inlineSize, blockSize: borderBoxSize.blockSize }
|
|
2495
|
-
: null,
|
|
2496
|
-
contentBoxSize: contentBoxSize
|
|
2497
|
-
? { inlineSize: contentBoxSize.inlineSize, blockSize: contentBoxSize.blockSize }
|
|
2498
|
-
: null,
|
|
2499
|
-
devicePixelContentBoxSize: devicePixelContentBoxSize
|
|
2500
|
-
? { inlineSize: devicePixelContentBoxSize.inlineSize, blockSize: devicePixelContentBoxSize.blockSize }
|
|
2501
|
-
: null,
|
|
2502
|
-
}));
|
|
2510
|
+
const target = entry.target;
|
|
2511
|
+
const newDimensions = createElementDimensions(target);
|
|
2512
|
+
zone.run(() => elementDimensionsSignal.set(newDimensions));
|
|
2503
2513
|
}
|
|
2504
2514
|
});
|
|
2505
2515
|
effect(() => {
|
|
2506
2516
|
const els = elements();
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
if (els.currentElement) {
|
|
2512
|
-
const computedDisplay = getComputedStyle(els.currentElement).display;
|
|
2513
|
-
const currentElIsAngularComponent = els.currentElement?.tagName.toLowerCase().includes('-');
|
|
2514
|
-
if (computedDisplay === 'inline' && isDevMode() && currentElIsAngularComponent) {
|
|
2515
|
-
console.error(`Element <${els.currentElement?.tagName.toLowerCase()}> is an Angular component and has a display of 'inline'. Inline elements cannot be observed for dimensions. Please change it to 'block' or something else.`);
|
|
2517
|
+
untracked(() => {
|
|
2518
|
+
elementDimensionsSignal.set(initialValue());
|
|
2519
|
+
if (els.previousElement) {
|
|
2520
|
+
observer.disconnect();
|
|
2516
2521
|
}
|
|
2517
|
-
|
|
2518
|
-
|
|
2522
|
+
if (els.currentElement) {
|
|
2523
|
+
const computedDisplay = getComputedStyle(els.currentElement).display;
|
|
2524
|
+
const currentElIsAngularComponent = els.currentElement?.tagName.toLowerCase().includes('-');
|
|
2525
|
+
if (computedDisplay === 'inline' && isDevMode() && currentElIsAngularComponent) {
|
|
2526
|
+
console.error(`Element <${els.currentElement?.tagName.toLowerCase()}> is an Angular component and has a display of 'inline'. Inline elements cannot be observed for dimensions. Please change it to 'block' or something else.`);
|
|
2527
|
+
}
|
|
2528
|
+
observer.observe(els.currentElement);
|
|
2529
|
+
}
|
|
2530
|
+
});
|
|
2519
2531
|
}, { allowSignalWrites: true });
|
|
2520
2532
|
destroyRef.onDestroy(() => observer.disconnect());
|
|
2521
|
-
return elementDimensionsSignal
|
|
2533
|
+
return computed(() => elementDimensionsSignal(), {
|
|
2534
|
+
equal: (a, b) => equal(a, b),
|
|
2535
|
+
});
|
|
2522
2536
|
};
|
|
2523
2537
|
const signalHostElementDimensions = () => signalElementDimensions(inject(ElementRef));
|
|
2524
2538
|
const signalElementMutations = (el, options) => {
|
|
@@ -2549,8 +2563,15 @@ const signalElementMutations = (el, options) => {
|
|
|
2549
2563
|
return elementMutationsSignal.asReadonly();
|
|
2550
2564
|
};
|
|
2551
2565
|
const signalHostElementMutations = (options) => signalElementMutations(inject(ElementRef), options);
|
|
2566
|
+
const areScrollStatesEqual = (a, b) => {
|
|
2567
|
+
return (a.canScroll === b.canScroll &&
|
|
2568
|
+
a.canScrollHorizontally === b.canScrollHorizontally &&
|
|
2569
|
+
a.canScrollVertically === b.canScrollVertically &&
|
|
2570
|
+
equal(a.elementDimensions, b.elementDimensions));
|
|
2571
|
+
};
|
|
2552
2572
|
const signalElementScrollState = (el, options) => {
|
|
2553
2573
|
const elements = buildElementSignal(el);
|
|
2574
|
+
const observedEl = firstElementSignal(elements);
|
|
2554
2575
|
const elementDimensions = signalElementDimensions(elements);
|
|
2555
2576
|
const elementMutations = signalElementMutations(elements, { childList: true, subtree: true, attributes: true });
|
|
2556
2577
|
const isRendered = signalIsRendered();
|
|
@@ -2560,7 +2581,7 @@ const signalElementScrollState = (el, options) => {
|
|
|
2560
2581
|
if (!isRendered())
|
|
2561
2582
|
return;
|
|
2562
2583
|
const scrollPosition = initialScrollPosition();
|
|
2563
|
-
const element =
|
|
2584
|
+
const element = observedEl().currentElement;
|
|
2564
2585
|
if (scrollPosition && element) {
|
|
2565
2586
|
if (scrollPosition.left !== undefined)
|
|
2566
2587
|
element.scrollLeft = scrollPosition.left;
|
|
@@ -2570,35 +2591,30 @@ const signalElementScrollState = (el, options) => {
|
|
|
2570
2591
|
}
|
|
2571
2592
|
});
|
|
2572
2593
|
}
|
|
2594
|
+
const notScrollable = (dimensions) => ({
|
|
2595
|
+
canScroll: false,
|
|
2596
|
+
canScrollHorizontally: false,
|
|
2597
|
+
canScrollVertically: false,
|
|
2598
|
+
elementDimensions: dimensions,
|
|
2599
|
+
});
|
|
2573
2600
|
return computed(() => {
|
|
2574
|
-
const element =
|
|
2601
|
+
const element = observedEl().currentElement;
|
|
2575
2602
|
const dimensions = elementDimensions();
|
|
2576
|
-
const notScrollable = () => ({
|
|
2577
|
-
canScroll: false,
|
|
2578
|
-
canScrollHorizontally: false,
|
|
2579
|
-
canScrollVertically: false,
|
|
2580
|
-
scrollWidth: element?.scrollWidth ?? null,
|
|
2581
|
-
scrollHeight: element?.scrollHeight ?? null,
|
|
2582
|
-
elementDimensions: dimensions,
|
|
2583
|
-
});
|
|
2584
2603
|
// We are not interested what the mutation is, just that there is one.
|
|
2585
2604
|
// Changes to the DOM can affect the scroll state of the element.
|
|
2586
2605
|
elementMutations();
|
|
2587
|
-
if (!element || !
|
|
2588
|
-
return notScrollable();
|
|
2589
|
-
const { scrollWidth, scrollHeight } = element;
|
|
2590
|
-
const
|
|
2591
|
-
const
|
|
2592
|
-
const canScrollVertically = scrollHeight > height;
|
|
2606
|
+
if (!element || !isRendered())
|
|
2607
|
+
return notScrollable(dimensions);
|
|
2608
|
+
const { scrollWidth, scrollHeight, clientHeight, clientWidth } = element;
|
|
2609
|
+
const canScrollHorizontally = scrollWidth > clientWidth;
|
|
2610
|
+
const canScrollVertically = scrollHeight > clientHeight;
|
|
2593
2611
|
return {
|
|
2594
2612
|
canScroll: canScrollHorizontally || canScrollVertically,
|
|
2595
2613
|
canScrollHorizontally,
|
|
2596
2614
|
canScrollVertically,
|
|
2597
|
-
scrollWidth,
|
|
2598
|
-
scrollHeight,
|
|
2599
2615
|
elementDimensions: dimensions,
|
|
2600
2616
|
};
|
|
2601
|
-
});
|
|
2617
|
+
}, { equal: (a, b) => areScrollStatesEqual(a, b) });
|
|
2602
2618
|
};
|
|
2603
2619
|
const signalHostElementScrollState = () => signalElementScrollState(inject(ElementRef));
|
|
2604
2620
|
const signalElementIntersection = (el, options) => {
|
|
@@ -2745,7 +2761,7 @@ const signalElementChildren = (el) => {
|
|
|
2745
2761
|
}
|
|
2746
2762
|
}
|
|
2747
2763
|
return children;
|
|
2748
|
-
});
|
|
2764
|
+
}, { equal: (a, b) => a.length === b.length && a.every((v, i) => v === b[i]) });
|
|
2749
2765
|
};
|
|
2750
2766
|
const previousSignalValue = (signal) => {
|
|
2751
2767
|
const obs = toObservable(signal).pipe(pairwise(), map(([prev]) => prev));
|
|
@@ -3059,6 +3075,17 @@ const computedTillFalsy = (source) => {
|
|
|
3059
3075
|
}, { allowSignalWrites: true });
|
|
3060
3076
|
return value.asReadonly();
|
|
3061
3077
|
};
|
|
3078
|
+
/**
|
|
3079
|
+
* A writeable signal that will be set to the provided value once all inputs are set.
|
|
3080
|
+
* During that time, the signal will be set to `null`.
|
|
3081
|
+
*/
|
|
3082
|
+
const deferredSignal = (valueFn) => {
|
|
3083
|
+
const valueSignal = signal(null);
|
|
3084
|
+
afterNextRender(() => {
|
|
3085
|
+
valueSignal.set(valueFn());
|
|
3086
|
+
});
|
|
3087
|
+
return valueSignal;
|
|
3088
|
+
};
|
|
3062
3089
|
/** Inject a signal containing a boolean value indicating if the viewport is xs */
|
|
3063
3090
|
const injectIsXs = () => {
|
|
3064
3091
|
return toSignal(inject(ViewportService).isXs$, { requireSync: true });
|
|
@@ -3303,15 +3330,15 @@ class AnimatableDirective {
|
|
|
3303
3330
|
.subscribe();
|
|
3304
3331
|
}
|
|
3305
3332
|
}
|
|
3306
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
3307
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
3333
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AnimatableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3334
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.9", type: AnimatableDirective, isStandalone: true, selector: "[etAnimatable]", inputs: { animatedElement: ["etAnimatable", "animatedElement"] }, providers: [
|
|
3308
3335
|
{
|
|
3309
3336
|
provide: ANIMATABLE_TOKEN,
|
|
3310
3337
|
useExisting: AnimatableDirective,
|
|
3311
3338
|
},
|
|
3312
3339
|
], exportAs: ["etAnimatable"], ngImport: i0 }); }
|
|
3313
3340
|
}
|
|
3314
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
3341
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AnimatableDirective, decorators: [{
|
|
3315
3342
|
type: Directive,
|
|
3316
3343
|
args: [{
|
|
3317
3344
|
selector: '[etAnimatable]',
|
|
@@ -3434,15 +3461,15 @@ class AnimatedLifecycleDirective {
|
|
|
3434
3461
|
_forceState(state) {
|
|
3435
3462
|
this._state$.next(state);
|
|
3436
3463
|
}
|
|
3437
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
3438
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.3.
|
|
3464
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AnimatedLifecycleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3465
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.3.9", type: AnimatedLifecycleDirective, isStandalone: true, selector: "[etAnimatedLifecycle]", inputs: { skipNextEnter: { classPropertyName: "skipNextEnter", publicName: "skipNextEnter", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { stateChange: "stateChange", skipNextEnter: "skipNextEnterChange" }, providers: [
|
|
3439
3466
|
{
|
|
3440
3467
|
provide: ANIMATED_LIFECYCLE_TOKEN,
|
|
3441
3468
|
useExisting: AnimatedLifecycleDirective,
|
|
3442
3469
|
},
|
|
3443
3470
|
], exportAs: ["etAnimatedLifecycle"], hostDirectives: [{ directive: AnimatableDirective }], ngImport: i0 }); }
|
|
3444
3471
|
}
|
|
3445
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
3472
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AnimatedLifecycleDirective, decorators: [{
|
|
3446
3473
|
type: Directive,
|
|
3447
3474
|
args: [{
|
|
3448
3475
|
selector: '[etAnimatedLifecycle]',
|
|
@@ -3479,15 +3506,15 @@ class AnimatedIfDirective {
|
|
|
3479
3506
|
.subscribe();
|
|
3480
3507
|
}
|
|
3481
3508
|
}
|
|
3482
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
3483
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
3509
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AnimatedIfDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3510
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.9", type: AnimatedIfDirective, isStandalone: true, selector: "[etAnimatedIf]", inputs: { shouldRender: ["etAnimatedIf", "shouldRender"] }, providers: [
|
|
3484
3511
|
{
|
|
3485
3512
|
provide: ANIMATED_IF_TOKEN,
|
|
3486
3513
|
useExisting: AnimatedIfDirective,
|
|
3487
3514
|
},
|
|
3488
3515
|
], hostDirectives: [{ directive: i1.NgIf }], ngImport: i0 }); }
|
|
3489
3516
|
}
|
|
3490
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
3517
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AnimatedIfDirective, decorators: [{
|
|
3491
3518
|
type: Directive,
|
|
3492
3519
|
args: [{
|
|
3493
3520
|
selector: '[etAnimatedIf]',
|
|
@@ -3547,10 +3574,10 @@ class ObserveResizeDirective {
|
|
|
3547
3574
|
_unsubscribe() {
|
|
3548
3575
|
this._currentSubscription?.unsubscribe();
|
|
3549
3576
|
}
|
|
3550
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
3551
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
3577
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ObserveResizeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3578
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.9", type: ObserveResizeDirective, isStandalone: true, selector: "[etObserveResize]", inputs: { disabled: ["etObserveResizeDisabled", "disabled"], debounce: ["etObserveResizeDebounce", "debounce"] }, outputs: { valueChange: "etObserveResize" }, exportAs: ["etObserveResize"], ngImport: i0 }); }
|
|
3552
3579
|
}
|
|
3553
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
3580
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ObserveResizeDirective, decorators: [{
|
|
3554
3581
|
type: Directive,
|
|
3555
3582
|
args: [{
|
|
3556
3583
|
selector: '[etObserveResize]',
|
|
@@ -3580,15 +3607,15 @@ class RootBoundaryDirective {
|
|
|
3580
3607
|
set boundaryElement(v) {
|
|
3581
3608
|
this._boundaryElement = v;
|
|
3582
3609
|
}
|
|
3583
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
3584
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
3610
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: RootBoundaryDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3611
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.9", type: RootBoundaryDirective, isStandalone: true, selector: "[etRootBoundary]", providers: [
|
|
3585
3612
|
{
|
|
3586
3613
|
provide: ROOT_BOUNDARY_TOKEN,
|
|
3587
3614
|
useExisting: RootBoundaryDirective,
|
|
3588
3615
|
},
|
|
3589
3616
|
], ngImport: i0 }); }
|
|
3590
3617
|
}
|
|
3591
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
3618
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: RootBoundaryDirective, decorators: [{
|
|
3592
3619
|
type: Directive,
|
|
3593
3620
|
args: [{
|
|
3594
3621
|
selector: '[etRootBoundary]',
|
|
@@ -3894,10 +3921,10 @@ class AnimatedOverlayDirective {
|
|
|
3894
3921
|
this._isUnmounting$.next(false);
|
|
3895
3922
|
this._afterClosed?.next();
|
|
3896
3923
|
}
|
|
3897
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
3898
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
3924
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AnimatedOverlayDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3925
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.9", 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 }); }
|
|
3899
3926
|
}
|
|
3900
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
3927
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AnimatedOverlayDirective, decorators: [{
|
|
3901
3928
|
type: Directive,
|
|
3902
3929
|
args: [{
|
|
3903
3930
|
standalone: true,
|
|
@@ -3947,10 +3974,10 @@ class ClickOutsideDirective {
|
|
|
3947
3974
|
ngOnDestroy() {
|
|
3948
3975
|
this._subscription?.unsubscribe();
|
|
3949
3976
|
}
|
|
3950
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
3951
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
3977
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ClickOutsideDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3978
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.9", type: ClickOutsideDirective, isStandalone: true, selector: "[etClickOutside]", outputs: { etClickOutside: "etClickOutside" }, ngImport: i0 }); }
|
|
3952
3979
|
}
|
|
3953
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
3980
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ClickOutsideDirective, decorators: [{
|
|
3954
3981
|
type: Directive,
|
|
3955
3982
|
args: [{
|
|
3956
3983
|
selector: '[etClickOutside]',
|
|
@@ -4104,10 +4131,10 @@ class CursorDragScrollDirective {
|
|
|
4104
4131
|
this._elementRef.nativeElement.style.cursor = 'default';
|
|
4105
4132
|
}
|
|
4106
4133
|
}
|
|
4107
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4108
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
4134
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: CursorDragScrollDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4135
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.9", type: CursorDragScrollDirective, isStandalone: true, selector: "[etCursorDragScroll]", inputs: { enabled: ["etCursorDragScroll", "enabled"], allowedDirection: "allowedDirection" }, outputs: { cursorDragStart: "cursorDragStart", cursorDragMove: "cursorDragMove", cursorDragEnd: "cursorDragEnd" }, exportAs: ["etCursorDragScroll"], ngImport: i0 }); }
|
|
4109
4136
|
}
|
|
4110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: CursorDragScrollDirective, decorators: [{
|
|
4111
4138
|
type: Directive,
|
|
4112
4139
|
args: [{
|
|
4113
4140
|
selector: '[etCursorDragScroll]',
|
|
@@ -4140,15 +4167,15 @@ class DebugDirective {
|
|
|
4140
4167
|
set sDebug(value) {
|
|
4141
4168
|
this._debug.set(value);
|
|
4142
4169
|
}
|
|
4143
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4144
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.
|
|
4170
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DebugDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4171
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.9", type: DebugDirective, isStandalone: true, selector: "[etDebug]", inputs: { sDebug: ["etDebug", "sDebug", booleanAttribute] }, providers: [
|
|
4145
4172
|
{
|
|
4146
4173
|
provide: DEBUG_TOKEN,
|
|
4147
4174
|
useExisting: DebugDirective,
|
|
4148
4175
|
},
|
|
4149
4176
|
], exportAs: ["etDebug"], ngImport: i0 }); }
|
|
4150
4177
|
}
|
|
4151
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DebugDirective, decorators: [{
|
|
4152
4179
|
type: Directive,
|
|
4153
4180
|
args: [{
|
|
4154
4181
|
selector: '[etDebug]',
|
|
@@ -4195,15 +4222,15 @@ class DelayableDirective {
|
|
|
4195
4222
|
}
|
|
4196
4223
|
this._isDelayed$.next(val);
|
|
4197
4224
|
}
|
|
4198
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4199
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
4225
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DelayableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4226
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.9", type: DelayableDirective, isStandalone: true, selector: "[etDelayable]", providers: [
|
|
4200
4227
|
{
|
|
4201
4228
|
provide: DELAYABLE_TOKEN,
|
|
4202
4229
|
useExisting: DelayableDirective,
|
|
4203
4230
|
},
|
|
4204
4231
|
], exportAs: ["etDelayable"], ngImport: i0 }); }
|
|
4205
4232
|
}
|
|
4206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DelayableDirective, decorators: [{
|
|
4207
4234
|
type: Directive,
|
|
4208
4235
|
args: [{
|
|
4209
4236
|
selector: '[etDelayable]',
|
|
@@ -4224,15 +4251,15 @@ class IsActiveElementDirective {
|
|
|
4224
4251
|
this.elementRef = inject(ElementRef);
|
|
4225
4252
|
this.isActiveElement = false;
|
|
4226
4253
|
}
|
|
4227
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4228
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.
|
|
4254
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IsActiveElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4255
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.9", type: IsActiveElementDirective, isStandalone: true, selector: "[etIsActiveElement]", inputs: { isActiveElement: ["etIsActiveElement", "isActiveElement", booleanAttribute] }, providers: [
|
|
4229
4256
|
{
|
|
4230
4257
|
provide: IS_ACTIVE_ELEMENT,
|
|
4231
4258
|
useExisting: IsActiveElementDirective,
|
|
4232
4259
|
},
|
|
4233
4260
|
], ngImport: i0 }); }
|
|
4234
4261
|
}
|
|
4235
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IsActiveElementDirective, decorators: [{
|
|
4236
4263
|
type: Directive,
|
|
4237
4264
|
args: [{
|
|
4238
4265
|
selector: '[etIsActiveElement]',
|
|
@@ -4255,15 +4282,15 @@ class IsElementDirective {
|
|
|
4255
4282
|
this.elementRef = inject(ElementRef);
|
|
4256
4283
|
this.isElement = false;
|
|
4257
4284
|
}
|
|
4258
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4259
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.
|
|
4285
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IsElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4286
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.9", type: IsElementDirective, isStandalone: true, selector: "[etIsElement]", inputs: { isElement: ["etIsElement", "isElement", booleanAttribute] }, providers: [
|
|
4260
4287
|
{
|
|
4261
4288
|
provide: IS_ELEMENT,
|
|
4262
4289
|
useExisting: IsElementDirective,
|
|
4263
4290
|
},
|
|
4264
4291
|
], ngImport: i0 }); }
|
|
4265
4292
|
}
|
|
4266
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IsElementDirective, decorators: [{
|
|
4267
4294
|
type: Directive,
|
|
4268
4295
|
args: [{
|
|
4269
4296
|
selector: '[etIsElement]',
|
|
@@ -4312,10 +4339,10 @@ class LetDirective {
|
|
|
4312
4339
|
}
|
|
4313
4340
|
}
|
|
4314
4341
|
}
|
|
4315
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4316
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
4342
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: LetDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4343
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.9", type: LetDirective, isStandalone: true, selector: "[etLet]", inputs: { etLet: "etLet" }, ngImport: i0 }); }
|
|
4317
4344
|
}
|
|
4318
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: LetDirective, decorators: [{
|
|
4319
4346
|
type: Directive,
|
|
4320
4347
|
args: [{
|
|
4321
4348
|
selector: '[etLet]',
|
|
@@ -4367,10 +4394,10 @@ class ObserveContentDirective {
|
|
|
4367
4394
|
_unsubscribe() {
|
|
4368
4395
|
this._currentSubscription?.unsubscribe();
|
|
4369
4396
|
}
|
|
4370
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4371
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
4397
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ObserveContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4398
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.9", type: ObserveContentDirective, isStandalone: true, selector: "[etObserveContent]", inputs: { disabled: ["etObserveContentDisabled", "disabled"], debounce: ["etObserveContentDebounce", "debounce"] }, outputs: { valueChange: "etObserveContent" }, exportAs: ["etObserveContent"], ngImport: i0 }); }
|
|
4372
4399
|
}
|
|
4373
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ObserveContentDirective, decorators: [{
|
|
4374
4401
|
type: Directive,
|
|
4375
4402
|
args: [{
|
|
4376
4403
|
selector: '[etObserveContent]',
|
|
@@ -4395,10 +4422,10 @@ class ScrollObserverFirstElementDirective {
|
|
|
4395
4422
|
constructor() {
|
|
4396
4423
|
this.isFirstElement = false;
|
|
4397
4424
|
}
|
|
4398
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4399
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.
|
|
4425
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ScrollObserverFirstElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4426
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.9", type: ScrollObserverFirstElementDirective, isStandalone: true, selector: "[etScrollObserverFirstElement]", inputs: { isFirstElement: ["etScrollObserverFirstElement", "isFirstElement", booleanAttribute] }, host: { properties: { "class.et-scroll-observer-first-element": "this.isFirstElement" } }, ngImport: i0 }); }
|
|
4400
4427
|
}
|
|
4401
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4428
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ScrollObserverFirstElementDirective, decorators: [{
|
|
4402
4429
|
type: Directive,
|
|
4403
4430
|
args: [{
|
|
4404
4431
|
selector: '[etScrollObserverFirstElement]',
|
|
@@ -4414,10 +4441,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImpor
|
|
|
4414
4441
|
|
|
4415
4442
|
const SCROLL_OBSERVER_IGNORE_TARGET_CLASS = 'et-scroll-observer-ignore-target';
|
|
4416
4443
|
class ScrollObserverIgnoreTargetDirective {
|
|
4417
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4418
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
4444
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ScrollObserverIgnoreTargetDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4445
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.9", type: ScrollObserverIgnoreTargetDirective, isStandalone: true, selector: "[etScrollObserverIgnoreTarget]", host: { classAttribute: "et-scroll-observer-ignore-target" }, ngImport: i0 }); }
|
|
4419
4446
|
}
|
|
4420
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4447
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ScrollObserverIgnoreTargetDirective, decorators: [{
|
|
4421
4448
|
type: Directive,
|
|
4422
4449
|
args: [{
|
|
4423
4450
|
selector: '[etScrollObserverIgnoreTarget]',
|
|
@@ -4433,10 +4460,10 @@ class ScrollObserverLastElementDirective {
|
|
|
4433
4460
|
constructor() {
|
|
4434
4461
|
this.isLastElement = false;
|
|
4435
4462
|
}
|
|
4436
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4437
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.
|
|
4463
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ScrollObserverLastElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4464
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.9", 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 }); }
|
|
4438
4465
|
}
|
|
4439
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4466
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ScrollObserverLastElementDirective, decorators: [{
|
|
4440
4467
|
type: Directive,
|
|
4441
4468
|
args: [{
|
|
4442
4469
|
selector: '[etScrollObserverLastElement]',
|
|
@@ -4593,15 +4620,15 @@ class ObserveScrollStateDirective {
|
|
|
4593
4620
|
}
|
|
4594
4621
|
return element;
|
|
4595
4622
|
}
|
|
4596
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4597
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.
|
|
4623
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ObserveScrollStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4624
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.9", type: ObserveScrollStateDirective, isStandalone: true, selector: "[etObserveScrollState]", inputs: { rootMargin: ["rootMargin", "rootMargin", numberAttribute], observerThreshold: "observerThreshold" }, outputs: { valueChange: "etObserveScrollState" }, providers: [
|
|
4598
4625
|
{
|
|
4599
4626
|
provide: OBSERVE_SCROLL_STATE,
|
|
4600
4627
|
useExisting: ObserveScrollStateDirective,
|
|
4601
4628
|
},
|
|
4602
4629
|
], exportAs: ["etObserveScrollState"], ngImport: i0 }); }
|
|
4603
4630
|
}
|
|
4604
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4631
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ObserveScrollStateDirective, decorators: [{
|
|
4605
4632
|
type: Directive,
|
|
4606
4633
|
args: [{
|
|
4607
4634
|
selector: '[etObserveScrollState]',
|
|
@@ -4671,15 +4698,15 @@ class ObserveVisibilityDirective {
|
|
|
4671
4698
|
}))
|
|
4672
4699
|
.subscribe();
|
|
4673
4700
|
}
|
|
4674
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4675
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
4701
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ObserveVisibilityDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4702
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.9", type: ObserveVisibilityDirective, isStandalone: true, selector: "[etObserveVisibility]", outputs: { etObserveVisibility: "etObserveVisibility" }, host: { classAttribute: "et-observe-visibility" }, providers: [
|
|
4676
4703
|
{
|
|
4677
4704
|
provide: OBSERVE_VISIBILITY_TOKEN,
|
|
4678
4705
|
useExisting: ObserveVisibilityDirective,
|
|
4679
4706
|
},
|
|
4680
4707
|
], ngImport: i0 }); }
|
|
4681
4708
|
}
|
|
4682
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ObserveVisibilityDirective, decorators: [{
|
|
4683
4710
|
type: Directive,
|
|
4684
4711
|
args: [{
|
|
4685
4712
|
selector: '[etObserveVisibility]',
|
|
@@ -4717,10 +4744,10 @@ class RepeatDirective {
|
|
|
4717
4744
|
this._viewContainerRef.createEmbeddedView(this._mainTemplateRef);
|
|
4718
4745
|
}
|
|
4719
4746
|
}
|
|
4720
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4721
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
4747
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: RepeatDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4748
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.9", type: RepeatDirective, isStandalone: true, selector: "[etRepeat]", inputs: { repeatCount: ["etRepeat", "repeatCount"] }, ngImport: i0 }); }
|
|
4722
4749
|
}
|
|
4723
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4750
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: RepeatDirective, decorators: [{
|
|
4724
4751
|
type: Directive,
|
|
4725
4752
|
args: [{
|
|
4726
4753
|
selector: '[etRepeat]',
|
|
@@ -4889,10 +4916,10 @@ class SeoDirective {
|
|
|
4889
4916
|
}
|
|
4890
4917
|
}
|
|
4891
4918
|
}
|
|
4892
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4893
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
4919
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: SeoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4920
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.9", type: SeoDirective, isStandalone: true, providers: [{ provide: SEO_DIRECTIVE_TOKEN, useExisting: SeoDirective }], ngImport: i0 }); }
|
|
4894
4921
|
}
|
|
4895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4922
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: SeoDirective, decorators: [{
|
|
4896
4923
|
type: Directive,
|
|
4897
4924
|
args: [{
|
|
4898
4925
|
standalone: true,
|
|
@@ -5068,10 +5095,10 @@ class InferMimeTypePipe {
|
|
|
5068
5095
|
constructor() {
|
|
5069
5096
|
this.transform = inferMimeType;
|
|
5070
5097
|
}
|
|
5071
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5072
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
5098
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: InferMimeTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5099
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: InferMimeTypePipe, isStandalone: true, name: "inferMimeType" }); }
|
|
5073
5100
|
}
|
|
5074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: InferMimeTypePipe, decorators: [{
|
|
5075
5102
|
type: Pipe,
|
|
5076
5103
|
args: [{
|
|
5077
5104
|
name: 'inferMimeType',
|
|
@@ -5117,10 +5144,10 @@ class NormalizeGameResultTypePipe {
|
|
|
5117
5144
|
constructor() {
|
|
5118
5145
|
this.transform = normalizeGameResultType;
|
|
5119
5146
|
}
|
|
5120
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5121
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
5147
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: NormalizeGameResultTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5148
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: NormalizeGameResultTypePipe, isStandalone: true, name: "etNormalizeGameResultType" }); }
|
|
5122
5149
|
}
|
|
5123
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: NormalizeGameResultTypePipe, decorators: [{
|
|
5124
5151
|
type: Pipe,
|
|
5125
5152
|
args: [{ name: 'etNormalizeGameResultType', standalone: true }]
|
|
5126
5153
|
}] });
|
|
@@ -5148,10 +5175,10 @@ class NormalizeMatchStatePipe {
|
|
|
5148
5175
|
constructor() {
|
|
5149
5176
|
this.transform = normalizeMatchState;
|
|
5150
5177
|
}
|
|
5151
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5152
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
5178
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: NormalizeMatchStatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5179
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: NormalizeMatchStatePipe, isStandalone: true, name: "etNormalizeMatchState" }); }
|
|
5153
5180
|
}
|
|
5154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: NormalizeMatchStatePipe, decorators: [{
|
|
5155
5182
|
type: Pipe,
|
|
5156
5183
|
args: [{ name: 'etNormalizeMatchState', standalone: true }]
|
|
5157
5184
|
}] });
|
|
@@ -5206,10 +5233,10 @@ class NormalizeMatchParticipantsPipe {
|
|
|
5206
5233
|
constructor() {
|
|
5207
5234
|
this.transform = normalizeMatchParticipants;
|
|
5208
5235
|
}
|
|
5209
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5210
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
5236
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: NormalizeMatchParticipantsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5237
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: NormalizeMatchParticipantsPipe, isStandalone: true, name: "etNormalizeMatchParticipants" }); }
|
|
5211
5238
|
}
|
|
5212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: NormalizeMatchParticipantsPipe, decorators: [{
|
|
5213
5240
|
type: Pipe,
|
|
5214
5241
|
args: [{ name: 'etNormalizeMatchParticipants', standalone: true }]
|
|
5215
5242
|
}] });
|
|
@@ -5343,10 +5370,10 @@ class NormalizeMatchScorePipe {
|
|
|
5343
5370
|
constructor() {
|
|
5344
5371
|
this.transform = normalizeMatchScore;
|
|
5345
5372
|
}
|
|
5346
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5347
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
5373
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: NormalizeMatchScorePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5374
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: NormalizeMatchScorePipe, isStandalone: true, name: "etNormalizeMatchScore" }); }
|
|
5348
5375
|
}
|
|
5349
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: NormalizeMatchScorePipe, decorators: [{
|
|
5350
5377
|
type: Pipe,
|
|
5351
5378
|
args: [{ name: 'etNormalizeMatchScore', standalone: true }]
|
|
5352
5379
|
}] });
|
|
@@ -5393,10 +5420,10 @@ class NormalizeMatchTypePipe {
|
|
|
5393
5420
|
constructor() {
|
|
5394
5421
|
this.transform = normalizeMatchType;
|
|
5395
5422
|
}
|
|
5396
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5397
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
5423
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: NormalizeMatchTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5424
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: NormalizeMatchTypePipe, isStandalone: true, name: "etNormalizeMatchType" }); }
|
|
5398
5425
|
}
|
|
5399
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5426
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: NormalizeMatchTypePipe, decorators: [{
|
|
5400
5427
|
type: Pipe,
|
|
5401
5428
|
args: [{ name: 'etNormalizeMatchType', standalone: true }]
|
|
5402
5429
|
}] });
|
|
@@ -5410,10 +5437,10 @@ class ToArrayPipe {
|
|
|
5410
5437
|
constructor() {
|
|
5411
5438
|
this.transform = toArray;
|
|
5412
5439
|
}
|
|
5413
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5414
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
5440
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ToArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5441
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: ToArrayPipe, isStandalone: true, name: "toArray" }); }
|
|
5415
5442
|
}
|
|
5416
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5443
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ToArrayPipe, decorators: [{
|
|
5417
5444
|
type: Pipe,
|
|
5418
5445
|
args: [{ name: 'toArray', standalone: true }]
|
|
5419
5446
|
}] });
|
|
@@ -5631,10 +5658,10 @@ class PropsDirective {
|
|
|
5631
5658
|
});
|
|
5632
5659
|
});
|
|
5633
5660
|
}
|
|
5634
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5635
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.3.
|
|
5661
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: PropsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5662
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.3.9", type: PropsDirective, isStandalone: true, selector: "[etProps]", inputs: { props: { classPropertyName: "props", publicName: "etProps", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
|
|
5636
5663
|
}
|
|
5637
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5664
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: PropsDirective, decorators: [{
|
|
5638
5665
|
type: Directive,
|
|
5639
5666
|
args: [{
|
|
5640
5667
|
selector: '[etProps]',
|
|
@@ -5767,5 +5794,5 @@ const Validators = {
|
|
|
5767
5794
|
* Generated bundle index. Do not edit.
|
|
5768
5795
|
*/
|
|
5769
5796
|
|
|
5770
|
-
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, bindProps, buildSignalEffects, clamp, clone, cloneFormGroup, computedTillFalsy, computedTillTruthy, controlValueSignal, controlValueSignalWithPrevious, createCanAnimateSignal, createComponentId, createDependencyStash, createDestroy, createElementDictionary, createFlipAnimation, createFlipAnimationGroup, createHostProps, createIsRenderedSignal, createMediaQueryObservable, createMutationObservable, createPropHandlers, createProps, createReactiveBindings, createResizeObservable, createSetup, debouncedControlValueSignal, deleteCookie, elementCanScroll, equal, forceReflow, formatRuntimeError, fromNextFrame, getCookie, getDomain, getElementScrollCoordinates, getElementVisibleStates, getFormGroupValue, getGroupMatchPoints, getGroupMatchScore, getIntersectionInfo, getKnockoutMatchScore, getMatchScoreSubLine, getObjectProperty, hasCookie, inferMimeType, injectBreakpointIsMatched, injectCurrentBreakpoint, injectFragment, injectHostElement, injectIs2Xl, injectIsLg, injectIsMd, injectIsSm, injectIsXl, injectIsXs, injectObserveBreakpoint, injectOrRunInContext, injectPathParam, injectPathParams, injectQueryParam, injectQueryParams, injectRouteData, injectRouteDataItem, injectRouteTitle, injectTemplateRef, 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 };
|
|
5797
|
+
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, getElementVisibleStates, getFormGroupValue, getGroupMatchPoints, getGroupMatchScore, getIntersectionInfo, getKnockoutMatchScore, getMatchScoreSubLine, getObjectProperty, hasCookie, inferMimeType, injectBreakpointIsMatched, injectCurrentBreakpoint, injectFragment, injectHostElement, injectIs2Xl, injectIsLg, injectIsMd, injectIsSm, injectIsXl, injectIsXs, injectObserveBreakpoint, injectOrRunInContext, injectPathParam, injectPathParams, injectQueryParam, injectQueryParams, injectRouteData, injectRouteDataItem, injectRouteTitle, injectTemplateRef, 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 };
|
|
5771
5798
|
//# sourceMappingURL=ethlete-core.mjs.map
|