@ethlete/core 2.7.0 → 2.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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-lifecycle/animated-lifecycle.directive.mjs +5 -4
- 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 +6 -7
- package/esm2022/lib/directives/delayable/delayable.directive.mjs +3 -3
- package/esm2022/lib/directives/is-active-element/is-active-element.directive.mjs +7 -14
- package/esm2022/lib/directives/is-element/is-element.directive.mjs +7 -14
- package/esm2022/lib/directives/let/let.directive.mjs +12 -13
- package/esm2022/lib/directives/observe-content/observe-content.directive.mjs +7 -8
- package/esm2022/lib/directives/observe-resize/observe-resize.directive.mjs +7 -8
- package/esm2022/lib/directives/observe-scroll-state/observe-scroll-state.directive.mjs +12 -18
- package/esm2022/lib/directives/repeat/repeat.directive.mjs +6 -7
- package/esm2022/lib/directives/scroll-observer-first-element/scroll-observer-first-element.directive.mjs +7 -14
- 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 +7 -14
- package/esm2022/lib/directives/seo/seo.directive.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/services/click-observer.service.mjs +12 -12
- package/esm2022/lib/services/content-observer.service.mjs +12 -12
- package/esm2022/lib/services/focus-visible.service.mjs +3 -3
- package/esm2022/lib/services/resize-observer.service.mjs +12 -12
- package/esm2022/lib/services/router-state.service.mjs +3 -3
- package/esm2022/lib/services/viewport.service.mjs +9 -15
- package/esm2022/lib/utils/public-api.mjs +2 -1
- package/esm2022/lib/utils/reactive-binding.util.mjs +4 -4
- package/esm2022/lib/utils/round.utils.mjs +5 -0
- package/esm2022/lib/utils/scrollable.utils.mjs +4 -10
- package/fesm2022/ethlete-core.mjs +155 -190
- package/fesm2022/ethlete-core.mjs.map +1 -1
- package/lib/components/structured-data/structured-data.component.d.ts +1 -1
- package/lib/directives/animatable/animatable.directive.d.ts +1 -1
- package/lib/directives/animated-lifecycle/animated-lifecycle.directive.d.ts +1 -1
- package/lib/directives/animated-overlay/animated-overlay.directive.d.ts +1 -1
- package/lib/directives/click-outside/click-outside.directive.d.ts +1 -1
- package/lib/directives/cursor-drag-scroll/cursor-drag-scroll.directive.d.ts +2 -3
- package/lib/directives/delayable/delayable.directive.d.ts +1 -1
- package/lib/directives/is-active-element/is-active-element.directive.d.ts +3 -5
- package/lib/directives/is-element/is-element.directive.d.ts +3 -5
- package/lib/directives/let/let.directive.d.ts +1 -3
- package/lib/directives/observe-content/observe-content.directive.d.ts +3 -4
- package/lib/directives/observe-resize/observe-resize.directive.d.ts +3 -4
- package/lib/directives/observe-scroll-state/observe-scroll-state.directive.d.ts +4 -6
- package/lib/directives/repeat/repeat.directive.d.ts +2 -3
- package/lib/directives/scroll-observer-first-element/scroll-observer-first-element.directive.d.ts +3 -5
- package/lib/directives/scroll-observer-ignore-target/scroll-observer-ignore-target.directive.d.ts +1 -1
- package/lib/directives/scroll-observer-last-element/scroll-observer-last-element.directive.d.ts +3 -5
- package/lib/directives/seo/seo.directive.d.ts +1 -1
- package/lib/services/click-observer.service.d.ts +1 -2
- package/lib/services/content-observer.service.d.ts +1 -2
- package/lib/services/resize-observer.service.d.ts +1 -2
- package/lib/services/viewport.service.d.ts +5 -6
- package/lib/utils/public-api.d.ts +1 -0
- package/lib/utils/reactive-binding.util.d.ts +1 -0
- package/lib/utils/round.utils.d.ts +1 -0
- package/package.json +5 -5
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, HostBinding, InjectionToken, assertInInjectionContext, DestroyRef, ElementRef, isDevMode, Directive, Injectable,
|
|
2
|
+
import { inject, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, HostBinding, InjectionToken, assertInInjectionContext, DestroyRef, ElementRef, isDevMode, Directive, Injectable, NgZone, EventEmitter, booleanAttribute, numberAttribute, Output, Injector, ViewContainerRef, TemplateRef, Pipe, QueryList } from '@angular/core';
|
|
3
3
|
import { DomSanitizer, Meta, Title } from '@angular/platform-browser';
|
|
4
4
|
import { Subject, BehaviorSubject, takeUntil, switchMap, of, tap, Observable, combineLatest, startWith, map, distinctUntilChanged, shareReplay, skip, take, debounceTime, merge, fromEvent, filter, pairwise, finalize } from 'rxjs';
|
|
5
5
|
import { END, HOME, PAGE_DOWN, PAGE_UP, UP_ARROW, DOWN_ARROW } from '@angular/cdk/keycodes';
|
|
6
|
-
import { coerceCssPixelValue, coerceElement
|
|
6
|
+
import { coerceCssPixelValue, coerceElement } from '@angular/cdk/coercion';
|
|
7
7
|
import { supportsScrollBehavior } from '@angular/cdk/platform';
|
|
8
8
|
import { Overlay } from '@angular/cdk/overlay';
|
|
9
9
|
import { ComponentPortal } from '@angular/cdk/portal';
|
|
@@ -11,7 +11,7 @@ import { createPopper } from '@popperjs/core';
|
|
|
11
11
|
import { DOCUMENT } from '@angular/common';
|
|
12
12
|
import { Router, NavigationEnd } from '@angular/router';
|
|
13
13
|
import { __decorate, __metadata } from 'tslib';
|
|
14
|
-
import
|
|
14
|
+
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
15
15
|
import { debounceTime as debounceTime$1 } from 'rxjs/operators';
|
|
16
16
|
|
|
17
17
|
class StructuredDataComponent {
|
|
@@ -26,10 +26,10 @@ class StructuredDataComponent {
|
|
|
26
26
|
const html = `<script type="application/ld+json">${json}</script>`;
|
|
27
27
|
return this._sanitizer.bypassSecurityTrustHtml(html);
|
|
28
28
|
}
|
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
30
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: StructuredDataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
30
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.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 }); }
|
|
31
31
|
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: StructuredDataComponent, decorators: [{
|
|
33
33
|
type: Component,
|
|
34
34
|
args: [{
|
|
35
35
|
selector: 'et-structured-data',
|
|
@@ -566,7 +566,7 @@ const createReactiveBindings = (...values) => {
|
|
|
566
566
|
const pushedAttributes = [];
|
|
567
567
|
const defaults = {};
|
|
568
568
|
const push = (value) => {
|
|
569
|
-
const { attribute, observable, elementRef } = value;
|
|
569
|
+
const { attribute, observable, elementRef, eager } = value;
|
|
570
570
|
const elRef = elementRef || rootElementRef;
|
|
571
571
|
const attributes = Array.isArray(attribute) ? attribute : [attribute];
|
|
572
572
|
pushedAttributes.push(attributes);
|
|
@@ -584,7 +584,7 @@ const createReactiveBindings = (...values) => {
|
|
|
584
584
|
return a.render === b.render && a.value === b.value;
|
|
585
585
|
}
|
|
586
586
|
return false;
|
|
587
|
-
}), switchMap((v) => fromNextFrame().pipe(map(() => v))))
|
|
587
|
+
}), switchMap((v) => (eager ? of(v) : fromNextFrame().pipe(map(() => v)))))
|
|
588
588
|
.subscribe((value) => {
|
|
589
589
|
const currentAttributes = pushedAttributes.find((s) => s.some((current) => attributes.includes(current))) || [];
|
|
590
590
|
for (const attribute of currentAttributes) {
|
|
@@ -665,6 +665,11 @@ const createReactiveBindings = (...values) => {
|
|
|
665
665
|
};
|
|
666
666
|
};
|
|
667
667
|
|
|
668
|
+
const round = (value, precision = 0) => {
|
|
669
|
+
const multiplier = Math.pow(10, precision);
|
|
670
|
+
return Math.round(value * multiplier) / multiplier;
|
|
671
|
+
};
|
|
672
|
+
|
|
668
673
|
class RuntimeError extends Error {
|
|
669
674
|
constructor(code, message, data = '__ET_NO_DATA__') {
|
|
670
675
|
super(formatRuntimeError(code, message));
|
|
@@ -790,18 +795,12 @@ const scrollToElement = (options) => {
|
|
|
790
795
|
const elementBlockOrigin = origin === 'center' ? elementBlockCenter : origin === 'end' ? elementBlockEnd : elementBlockStart;
|
|
791
796
|
const containerInlineOrigin = origin === 'center' ? containerInlineCenter : origin === 'end' ? containerInlineEnd : containerInlineStart;
|
|
792
797
|
const containerBlockOrigin = origin === 'center' ? containerBlockCenter : origin === 'end' ? containerBlockEnd : containerBlockStart;
|
|
793
|
-
const
|
|
794
|
-
const
|
|
795
|
-
const scrollDirInline = inlineOffsetTemp > 0 ? 'forward' : 'back';
|
|
796
|
-
const scrollDirBlock = blockOffsetTemp > 0 ? 'forward' : 'back';
|
|
797
|
-
const inlineOffset = elementInlineOrigin -
|
|
798
|
-
containerInlineOrigin +
|
|
799
|
-
(scrollDirInline === 'forward' ? scrollInlineMargin : -scrollInlineMargin);
|
|
800
|
-
const blockOffset = elementBlockOrigin - containerBlockOrigin + (scrollDirBlock === 'forward' ? scrollBlockMargin : -scrollBlockMargin);
|
|
798
|
+
const inlineOffset = elementInlineOrigin - containerInlineOrigin - scrollInlineMargin;
|
|
799
|
+
const blockOffset = elementBlockOrigin - containerBlockOrigin - scrollBlockMargin;
|
|
801
800
|
let inlineScroll = direction === 'block' ? undefined : inlineOffset;
|
|
802
801
|
let blockScroll = direction === 'inline' ? undefined : blockOffset;
|
|
803
802
|
if (origin === 'nearest') {
|
|
804
|
-
const elVisible = isElementVisible({ element, container });
|
|
803
|
+
const elVisible = isElementVisible({ element, container, containerRect });
|
|
805
804
|
if (elVisible?.inline && elVisible?.block) {
|
|
806
805
|
return;
|
|
807
806
|
}
|
|
@@ -1278,15 +1277,15 @@ class AnimatableDirective {
|
|
|
1278
1277
|
.subscribe();
|
|
1279
1278
|
}
|
|
1280
1279
|
}
|
|
1281
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1282
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
1280
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: AnimatableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1281
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: AnimatableDirective, isStandalone: true, selector: "[etAnimatable]", inputs: { animatedElement: ["etAnimatable", "animatedElement"] }, providers: [
|
|
1283
1282
|
{
|
|
1284
1283
|
provide: ANIMATABLE_TOKEN,
|
|
1285
1284
|
useExisting: AnimatableDirective,
|
|
1286
1285
|
},
|
|
1287
1286
|
], exportAs: ["etAnimatable"], ngImport: i0 }); }
|
|
1288
1287
|
}
|
|
1289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1288
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: AnimatableDirective, decorators: [{
|
|
1290
1289
|
type: Directive,
|
|
1291
1290
|
args: [{
|
|
1292
1291
|
selector: '[etAnimatable]',
|
|
@@ -1324,6 +1323,7 @@ class AnimatedLifecycleDirective {
|
|
|
1324
1323
|
this._bindings = createReactiveBindings({
|
|
1325
1324
|
attribute: 'class.et-force-invisible',
|
|
1326
1325
|
observable: this._state$.pipe(map((state) => state === 'init')),
|
|
1326
|
+
eager: true,
|
|
1327
1327
|
});
|
|
1328
1328
|
}
|
|
1329
1329
|
get state() {
|
|
@@ -1386,15 +1386,15 @@ class AnimatedLifecycleDirective {
|
|
|
1386
1386
|
}), takeUntil(this._destroy$), take(1))
|
|
1387
1387
|
.subscribe();
|
|
1388
1388
|
}
|
|
1389
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1390
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
1389
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: AnimatedLifecycleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1390
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: AnimatedLifecycleDirective, isStandalone: true, selector: "[etAnimatedLifecycle]", providers: [
|
|
1391
1391
|
{
|
|
1392
1392
|
provide: ANIMATED_LIFECYCLE_TOKEN,
|
|
1393
1393
|
useExisting: AnimatedLifecycleDirective,
|
|
1394
1394
|
},
|
|
1395
1395
|
], exportAs: ["etAnimatedLifecycle"], hostDirectives: [{ directive: AnimatableDirective }], ngImport: i0 }); }
|
|
1396
1396
|
}
|
|
1397
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1397
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: AnimatedLifecycleDirective, decorators: [{
|
|
1398
1398
|
type: Directive,
|
|
1399
1399
|
args: [{
|
|
1400
1400
|
selector: '[etAnimatedLifecycle]',
|
|
@@ -1415,16 +1415,16 @@ class ClickObserverFactory {
|
|
|
1415
1415
|
create() {
|
|
1416
1416
|
return fromEvent(document, 'click');
|
|
1417
1417
|
}
|
|
1418
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1419
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1418
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ClickObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1419
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ClickObserverFactory, providedIn: 'root' }); }
|
|
1420
1420
|
}
|
|
1421
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1421
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ClickObserverFactory, decorators: [{
|
|
1422
1422
|
type: Injectable,
|
|
1423
1423
|
args: [{ providedIn: 'root' }]
|
|
1424
1424
|
}] });
|
|
1425
1425
|
class ClickObserverService {
|
|
1426
|
-
constructor(
|
|
1427
|
-
this._clickObserverFactory =
|
|
1426
|
+
constructor() {
|
|
1427
|
+
this._clickObserverFactory = inject(ClickObserverFactory);
|
|
1428
1428
|
this._observedElements = new Map();
|
|
1429
1429
|
}
|
|
1430
1430
|
ngOnDestroy() {
|
|
@@ -1471,29 +1471,29 @@ class ClickObserverService {
|
|
|
1471
1471
|
this._observedElements.delete(element);
|
|
1472
1472
|
}
|
|
1473
1473
|
}
|
|
1474
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1475
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1474
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ClickObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1475
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ClickObserverService, providedIn: 'root' }); }
|
|
1476
1476
|
}
|
|
1477
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ClickObserverService, decorators: [{
|
|
1478
1478
|
type: Injectable,
|
|
1479
1479
|
args: [{ providedIn: 'root' }]
|
|
1480
|
-
}]
|
|
1480
|
+
}] });
|
|
1481
1481
|
|
|
1482
1482
|
/* eslint-disable @typescript-eslint/no-non-null-assertion */
|
|
1483
1483
|
class MutationObserverFactory {
|
|
1484
1484
|
create(callback) {
|
|
1485
1485
|
return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);
|
|
1486
1486
|
}
|
|
1487
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1488
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1487
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MutationObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1488
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MutationObserverFactory, providedIn: 'root' }); }
|
|
1489
1489
|
}
|
|
1490
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1490
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MutationObserverFactory, decorators: [{
|
|
1491
1491
|
type: Injectable,
|
|
1492
1492
|
args: [{ providedIn: 'root' }]
|
|
1493
1493
|
}] });
|
|
1494
1494
|
class ContentObserverService {
|
|
1495
|
-
constructor(
|
|
1496
|
-
this._mutationObserverFactory =
|
|
1495
|
+
constructor() {
|
|
1496
|
+
this._mutationObserverFactory = inject(MutationObserverFactory);
|
|
1497
1497
|
this._observedElements = new Map();
|
|
1498
1498
|
}
|
|
1499
1499
|
ngOnDestroy() {
|
|
@@ -1546,13 +1546,13 @@ class ContentObserverService {
|
|
|
1546
1546
|
this._observedElements.delete(element);
|
|
1547
1547
|
}
|
|
1548
1548
|
}
|
|
1549
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1550
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1549
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ContentObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1550
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ContentObserverService, providedIn: 'root' }); }
|
|
1551
1551
|
}
|
|
1552
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1552
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ContentObserverService, decorators: [{
|
|
1553
1553
|
type: Injectable,
|
|
1554
1554
|
args: [{ providedIn: 'root' }]
|
|
1555
|
-
}]
|
|
1555
|
+
}] });
|
|
1556
1556
|
|
|
1557
1557
|
class FocusVisibleService {
|
|
1558
1558
|
get isFocusVisible() {
|
|
@@ -1575,10 +1575,10 @@ class FocusVisibleService {
|
|
|
1575
1575
|
onPointerDown() {
|
|
1576
1576
|
this._hadKeyboardEvent = false;
|
|
1577
1577
|
}
|
|
1578
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1579
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1578
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: FocusVisibleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1579
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: FocusVisibleService, providedIn: 'root' }); }
|
|
1580
1580
|
}
|
|
1581
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1581
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: FocusVisibleService, decorators: [{
|
|
1582
1582
|
type: Injectable,
|
|
1583
1583
|
args: [{
|
|
1584
1584
|
providedIn: 'root',
|
|
@@ -1590,16 +1590,16 @@ class ResizeObserverFactory {
|
|
|
1590
1590
|
create(callback) {
|
|
1591
1591
|
return typeof ResizeObserver === 'undefined' ? null : new ResizeObserver(callback);
|
|
1592
1592
|
}
|
|
1593
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1594
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1593
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ResizeObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1594
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ResizeObserverFactory, providedIn: 'root' }); }
|
|
1595
1595
|
}
|
|
1596
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1596
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ResizeObserverFactory, decorators: [{
|
|
1597
1597
|
type: Injectable,
|
|
1598
1598
|
args: [{ providedIn: 'root' }]
|
|
1599
1599
|
}] });
|
|
1600
1600
|
class ResizeObserverService {
|
|
1601
|
-
constructor(
|
|
1602
|
-
this._mutationObserverFactory =
|
|
1601
|
+
constructor() {
|
|
1602
|
+
this._mutationObserverFactory = inject(ResizeObserverFactory);
|
|
1603
1603
|
this._observedElements = new Map();
|
|
1604
1604
|
}
|
|
1605
1605
|
ngOnDestroy() {
|
|
@@ -1648,13 +1648,13 @@ class ResizeObserverService {
|
|
|
1648
1648
|
this._observedElements.delete(element);
|
|
1649
1649
|
}
|
|
1650
1650
|
}
|
|
1651
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1652
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1651
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ResizeObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1652
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ResizeObserverService, providedIn: 'root' }); }
|
|
1653
1653
|
}
|
|
1654
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1654
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ResizeObserverService, decorators: [{
|
|
1655
1655
|
type: Injectable,
|
|
1656
1656
|
args: [{ providedIn: 'root' }]
|
|
1657
|
-
}]
|
|
1657
|
+
}] });
|
|
1658
1658
|
|
|
1659
1659
|
const ET_DISABLE_SCROLL_TOP = Symbol('ET_DISABLE_SCROLL_TOP');
|
|
1660
1660
|
const ET_DISABLE_SCROLL_TOP_AS_RETURN_ROUTE = Symbol('ET_DISABLE_SCROLL_TOP_AS_RETURN_ROUTE');
|
|
@@ -1819,10 +1819,10 @@ class RouterStateService {
|
|
|
1819
1819
|
}
|
|
1820
1820
|
return changes;
|
|
1821
1821
|
}
|
|
1822
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1823
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1822
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: RouterStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1823
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: RouterStateService, providedIn: 'root' }); }
|
|
1824
1824
|
}
|
|
1825
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1825
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: RouterStateService, decorators: [{
|
|
1826
1826
|
type: Injectable,
|
|
1827
1827
|
args: [{
|
|
1828
1828
|
providedIn: 'root',
|
|
@@ -1881,9 +1881,10 @@ class ViewportService {
|
|
|
1881
1881
|
get currentViewport() {
|
|
1882
1882
|
return this.getCurrentViewport([this.isXs, this.isSm, this.isMd, this.isLg, this.isXl, this.is2Xl]);
|
|
1883
1883
|
}
|
|
1884
|
-
constructor(
|
|
1885
|
-
this._breakpointObserver = _breakpointObserver;
|
|
1884
|
+
constructor() {
|
|
1886
1885
|
this._resizeObserverService = inject(ResizeObserverService);
|
|
1886
|
+
this._viewportConfig = inject(VIEWPORT_CONFIG, { optional: true }) || DEFAULT_VIEWPORT_CONFIG;
|
|
1887
|
+
this._breakpointObserver = inject(BreakpointObserver);
|
|
1887
1888
|
this._viewportMonitorStop$ = new Subject();
|
|
1888
1889
|
this._isViewportMonitorEnabled = false;
|
|
1889
1890
|
this._isXs$ = new BehaviorSubject(false);
|
|
@@ -1895,7 +1896,6 @@ class ViewportService {
|
|
|
1895
1896
|
this._viewportSize$ = new BehaviorSubject(null);
|
|
1896
1897
|
this._scrollbarSize$ = new BehaviorSubject(null);
|
|
1897
1898
|
this.currentViewport$ = combineLatest([this.isXs$, this.isSm$, this.isMd$, this.isLg$, this.isXl$, this.is2Xl$]).pipe(map((val) => this.getCurrentViewport(val)), shareReplay(1));
|
|
1898
|
-
this._viewportConfig = _viewportConfig || DEFAULT_VIEWPORT_CONFIG;
|
|
1899
1899
|
this._observeDefaultBreakpoints();
|
|
1900
1900
|
}
|
|
1901
1901
|
observe(options) {
|
|
@@ -2026,8 +2026,8 @@ class ViewportService {
|
|
|
2026
2026
|
}
|
|
2027
2027
|
return 'xs';
|
|
2028
2028
|
}
|
|
2029
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2030
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
2029
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ViewportService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2030
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ViewportService, providedIn: 'root' }); }
|
|
2031
2031
|
}
|
|
2032
2032
|
__decorate([
|
|
2033
2033
|
Memo(),
|
|
@@ -2045,17 +2045,12 @@ __decorate([
|
|
|
2045
2045
|
__metadata("design:paramtypes", [Object]),
|
|
2046
2046
|
__metadata("design:returntype", void 0)
|
|
2047
2047
|
], ViewportService.prototype, "_buildMediaQuery", null);
|
|
2048
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2048
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ViewportService, decorators: [{
|
|
2049
2049
|
type: Injectable,
|
|
2050
2050
|
args: [{
|
|
2051
2051
|
providedIn: 'root',
|
|
2052
2052
|
}]
|
|
2053
|
-
}], ctorParameters: function () { return [{
|
|
2054
|
-
type: Inject,
|
|
2055
|
-
args: [VIEWPORT_CONFIG]
|
|
2056
|
-
}, {
|
|
2057
|
-
type: Optional
|
|
2058
|
-
}] }, { type: i1.BreakpointObserver }]; }, propDecorators: { _getViewportSize: [], _buildMediaQuery: [] } });
|
|
2053
|
+
}], ctorParameters: function () { return []; }, propDecorators: { _getViewportSize: [], _buildMediaQuery: [] } });
|
|
2059
2054
|
|
|
2060
2055
|
class ObserveResizeDirective {
|
|
2061
2056
|
constructor() {
|
|
@@ -2071,14 +2066,14 @@ class ObserveResizeDirective {
|
|
|
2071
2066
|
return this._disabled;
|
|
2072
2067
|
}
|
|
2073
2068
|
set disabled(value) {
|
|
2074
|
-
this._disabled =
|
|
2069
|
+
this._disabled = booleanAttribute(value);
|
|
2075
2070
|
this._disabled ? this._unsubscribe() : this._subscribe();
|
|
2076
2071
|
}
|
|
2077
2072
|
get debounce() {
|
|
2078
2073
|
return this._debounce;
|
|
2079
2074
|
}
|
|
2080
2075
|
set debounce(value) {
|
|
2081
|
-
this._debounce =
|
|
2076
|
+
this._debounce = numberAttribute(value) ?? null;
|
|
2082
2077
|
this._subscribe();
|
|
2083
2078
|
}
|
|
2084
2079
|
ngAfterContentInit() {
|
|
@@ -2099,10 +2094,10 @@ class ObserveResizeDirective {
|
|
|
2099
2094
|
_unsubscribe() {
|
|
2100
2095
|
this._currentSubscription?.unsubscribe();
|
|
2101
2096
|
}
|
|
2102
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2103
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2097
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ObserveResizeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2098
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: ObserveResizeDirective, isStandalone: true, selector: "[etObserveResize]", inputs: { disabled: ["etObserveResizeDisabled", "disabled"], debounce: ["etObserveResizeDebounce", "debounce"] }, outputs: { valueChange: "etObserveResize" }, exportAs: ["etObserveResize"], ngImport: i0 }); }
|
|
2104
2099
|
}
|
|
2105
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2100
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ObserveResizeDirective, decorators: [{
|
|
2106
2101
|
type: Directive,
|
|
2107
2102
|
args: [{
|
|
2108
2103
|
selector: '[etObserveResize]',
|
|
@@ -2338,10 +2333,10 @@ class AnimatedOverlayDirective {
|
|
|
2338
2333
|
_reposition() {
|
|
2339
2334
|
this._popper?.update();
|
|
2340
2335
|
}
|
|
2341
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2342
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2336
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: AnimatedOverlayDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2337
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: AnimatedOverlayDirective, isStandalone: true, inputs: { placement: "placement", allowedAutoPlacements: "allowedAutoPlacements", offset: "offset", arrowPadding: "arrowPadding" }, hostDirectives: [{ directive: ObserveResizeDirective }], ngImport: i0 }); }
|
|
2343
2338
|
}
|
|
2344
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: AnimatedOverlayDirective, decorators: [{
|
|
2345
2340
|
type: Directive,
|
|
2346
2341
|
args: [{
|
|
2347
2342
|
standalone: true,
|
|
@@ -2378,10 +2373,10 @@ class ClickOutsideDirective {
|
|
|
2378
2373
|
ngOnDestroy() {
|
|
2379
2374
|
this._subscription?.unsubscribe();
|
|
2380
2375
|
}
|
|
2381
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2382
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2376
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ClickOutsideDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2377
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: ClickOutsideDirective, isStandalone: true, selector: "[etClickOutside]", outputs: { etClickOutside: "etClickOutside" }, ngImport: i0 }); }
|
|
2383
2378
|
}
|
|
2384
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ClickOutsideDirective, decorators: [{
|
|
2385
2380
|
type: Directive,
|
|
2386
2381
|
args: [{
|
|
2387
2382
|
selector: '[etClickOutside]',
|
|
@@ -2421,7 +2416,7 @@ class CursorDragScrollDirective {
|
|
|
2421
2416
|
return this._enabled;
|
|
2422
2417
|
}
|
|
2423
2418
|
set enabled(value) {
|
|
2424
|
-
this._enabled =
|
|
2419
|
+
this._enabled = booleanAttribute(value);
|
|
2425
2420
|
if (this._enabled) {
|
|
2426
2421
|
this._enableCursorDragScroll();
|
|
2427
2422
|
}
|
|
@@ -2535,10 +2530,10 @@ class CursorDragScrollDirective {
|
|
|
2535
2530
|
this._elementRef.nativeElement.style.cursor = 'default';
|
|
2536
2531
|
}
|
|
2537
2532
|
}
|
|
2538
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2539
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2533
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CursorDragScrollDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2534
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.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 }); }
|
|
2540
2535
|
}
|
|
2541
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2536
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CursorDragScrollDirective, decorators: [{
|
|
2542
2537
|
type: Directive,
|
|
2543
2538
|
args: [{
|
|
2544
2539
|
selector: '[etCursorDragScroll]',
|
|
@@ -2587,15 +2582,15 @@ class DelayableDirective {
|
|
|
2587
2582
|
}
|
|
2588
2583
|
this._isDelayed$.next(val);
|
|
2589
2584
|
}
|
|
2590
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2591
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2585
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DelayableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2586
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: DelayableDirective, isStandalone: true, selector: "[etDelayable]", providers: [
|
|
2592
2587
|
{
|
|
2593
2588
|
provide: DELAYABLE_TOKEN,
|
|
2594
2589
|
useExisting: DelayableDirective,
|
|
2595
2590
|
},
|
|
2596
2591
|
], exportAs: ["etDelayable"], ngImport: i0 }); }
|
|
2597
2592
|
}
|
|
2598
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2593
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DelayableDirective, decorators: [{
|
|
2599
2594
|
type: Directive,
|
|
2600
2595
|
args: [{
|
|
2601
2596
|
selector: '[etDelayable]',
|
|
@@ -2614,23 +2609,17 @@ const IS_ACTIVE_ELEMENT = new InjectionToken('ET_IS_ACTIVE_ELEMENT');
|
|
|
2614
2609
|
class IsActiveElementDirective {
|
|
2615
2610
|
constructor() {
|
|
2616
2611
|
this.elementRef = inject(ElementRef);
|
|
2617
|
-
this.
|
|
2618
|
-
}
|
|
2619
|
-
get isActiveElement() {
|
|
2620
|
-
return this._isActiveElement;
|
|
2621
|
-
}
|
|
2622
|
-
set isActiveElement(value) {
|
|
2623
|
-
this._isActiveElement = coerceBooleanProperty(value);
|
|
2612
|
+
this.isActiveElement = false;
|
|
2624
2613
|
}
|
|
2625
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2626
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2614
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: IsActiveElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2615
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: IsActiveElementDirective, isStandalone: true, selector: "[etIsActiveElement]", inputs: { isActiveElement: ["etIsActiveElement", "isActiveElement", booleanAttribute] }, providers: [
|
|
2627
2616
|
{
|
|
2628
2617
|
provide: IS_ACTIVE_ELEMENT,
|
|
2629
2618
|
useExisting: IsActiveElementDirective,
|
|
2630
2619
|
},
|
|
2631
2620
|
], ngImport: i0 }); }
|
|
2632
2621
|
}
|
|
2633
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2622
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: IsActiveElementDirective, decorators: [{
|
|
2634
2623
|
type: Directive,
|
|
2635
2624
|
args: [{
|
|
2636
2625
|
selector: '[etIsActiveElement]',
|
|
@@ -2644,30 +2633,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
2644
2633
|
}]
|
|
2645
2634
|
}], propDecorators: { isActiveElement: [{
|
|
2646
2635
|
type: Input,
|
|
2647
|
-
args: ['etIsActiveElement']
|
|
2636
|
+
args: [{ alias: 'etIsActiveElement', transform: booleanAttribute }]
|
|
2648
2637
|
}] } });
|
|
2649
2638
|
|
|
2650
2639
|
const IS_ELEMENT = new InjectionToken('ET_IS_ELEMENT');
|
|
2651
2640
|
class IsElementDirective {
|
|
2652
2641
|
constructor() {
|
|
2653
2642
|
this.elementRef = inject(ElementRef);
|
|
2654
|
-
this.
|
|
2643
|
+
this.isElement = false;
|
|
2655
2644
|
}
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
}
|
|
2659
|
-
set isElement(value) {
|
|
2660
|
-
this._isElement = coerceBooleanProperty(value);
|
|
2661
|
-
}
|
|
2662
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: IsElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2663
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: IsElementDirective, isStandalone: true, selector: "[etIsElement]", inputs: { isElement: ["etIsElement", "isElement"] }, providers: [
|
|
2645
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: IsElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2646
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: IsElementDirective, isStandalone: true, selector: "[etIsElement]", inputs: { isElement: ["etIsElement", "isElement", booleanAttribute] }, providers: [
|
|
2664
2647
|
{
|
|
2665
2648
|
provide: IS_ELEMENT,
|
|
2666
2649
|
useExisting: IsElementDirective,
|
|
2667
2650
|
},
|
|
2668
2651
|
], ngImport: i0 }); }
|
|
2669
2652
|
}
|
|
2670
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2653
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: IsElementDirective, decorators: [{
|
|
2671
2654
|
type: Directive,
|
|
2672
2655
|
args: [{
|
|
2673
2656
|
selector: '[etIsElement]',
|
|
@@ -2681,7 +2664,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
2681
2664
|
}]
|
|
2682
2665
|
}], propDecorators: { isElement: [{
|
|
2683
2666
|
type: Input,
|
|
2684
|
-
args: ['etIsElement']
|
|
2667
|
+
args: [{ alias: 'etIsElement', transform: booleanAttribute }]
|
|
2685
2668
|
}] } });
|
|
2686
2669
|
|
|
2687
2670
|
class LetContext {
|
|
@@ -2694,17 +2677,16 @@ class LetContext {
|
|
|
2694
2677
|
}
|
|
2695
2678
|
|
|
2696
2679
|
class LetDirective {
|
|
2680
|
+
constructor() {
|
|
2681
|
+
this._viewContainer = inject(ViewContainerRef);
|
|
2682
|
+
this._context = new LetContext();
|
|
2683
|
+
this._templateRef = inject(TemplateRef);
|
|
2684
|
+
this._viewRef = null;
|
|
2685
|
+
}
|
|
2697
2686
|
set etLet(value) {
|
|
2698
2687
|
this._context.$implicit = this._context.etLet = value;
|
|
2699
2688
|
this._updateView();
|
|
2700
2689
|
}
|
|
2701
|
-
constructor(_viewContainer, templateRef) {
|
|
2702
|
-
this._viewContainer = _viewContainer;
|
|
2703
|
-
this._context = new LetContext();
|
|
2704
|
-
this._templateRef = null;
|
|
2705
|
-
this._viewRef = null;
|
|
2706
|
-
this._templateRef = templateRef;
|
|
2707
|
-
}
|
|
2708
2690
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2709
2691
|
static ngTemplateContextGuard(dir, ctx) {
|
|
2710
2692
|
return true;
|
|
@@ -2717,16 +2699,16 @@ class LetDirective {
|
|
|
2717
2699
|
}
|
|
2718
2700
|
}
|
|
2719
2701
|
}
|
|
2720
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2721
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2702
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: LetDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2703
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: LetDirective, isStandalone: true, selector: "[etLet]", inputs: { etLet: "etLet" }, ngImport: i0 }); }
|
|
2722
2704
|
}
|
|
2723
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2705
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: LetDirective, decorators: [{
|
|
2724
2706
|
type: Directive,
|
|
2725
2707
|
args: [{
|
|
2726
2708
|
selector: '[etLet]',
|
|
2727
2709
|
standalone: true,
|
|
2728
2710
|
}]
|
|
2729
|
-
}],
|
|
2711
|
+
}], propDecorators: { etLet: [{
|
|
2730
2712
|
type: Input
|
|
2731
2713
|
}] } });
|
|
2732
2714
|
|
|
@@ -2744,14 +2726,14 @@ class ObserveContentDirective {
|
|
|
2744
2726
|
return this._disabled;
|
|
2745
2727
|
}
|
|
2746
2728
|
set disabled(value) {
|
|
2747
|
-
this._disabled =
|
|
2729
|
+
this._disabled = booleanAttribute(value);
|
|
2748
2730
|
this._disabled ? this._unsubscribe() : this._subscribe();
|
|
2749
2731
|
}
|
|
2750
2732
|
get debounce() {
|
|
2751
2733
|
return this._debounce;
|
|
2752
2734
|
}
|
|
2753
2735
|
set debounce(value) {
|
|
2754
|
-
this._debounce =
|
|
2736
|
+
this._debounce = numberAttribute(value) ?? null;
|
|
2755
2737
|
this._subscribe();
|
|
2756
2738
|
}
|
|
2757
2739
|
ngAfterContentInit() {
|
|
@@ -2772,10 +2754,10 @@ class ObserveContentDirective {
|
|
|
2772
2754
|
_unsubscribe() {
|
|
2773
2755
|
this._currentSubscription?.unsubscribe();
|
|
2774
2756
|
}
|
|
2775
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2776
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2757
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ObserveContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2758
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: ObserveContentDirective, isStandalone: true, selector: "[etObserveContent]", inputs: { disabled: ["etObserveContentDisabled", "disabled"], debounce: ["etObserveContentDebounce", "debounce"] }, outputs: { valueChange: "etObserveContent" }, exportAs: ["etObserveContent"], ngImport: i0 }); }
|
|
2777
2759
|
}
|
|
2778
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2760
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ObserveContentDirective, decorators: [{
|
|
2779
2761
|
type: Directive,
|
|
2780
2762
|
args: [{
|
|
2781
2763
|
selector: '[etObserveContent]',
|
|
@@ -2796,18 +2778,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
2796
2778
|
const SCROLL_OBSERVER_FIRST_ELEMENT_CLASS = 'et-scroll-observer-first-element';
|
|
2797
2779
|
class ScrollObserverFirstElementDirective {
|
|
2798
2780
|
constructor() {
|
|
2799
|
-
this.
|
|
2800
|
-
}
|
|
2801
|
-
get isFirstElement() {
|
|
2802
|
-
return this._isFirstElement;
|
|
2781
|
+
this.isFirstElement = false;
|
|
2803
2782
|
}
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
}
|
|
2807
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: ScrollObserverFirstElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2808
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: ScrollObserverFirstElementDirective, isStandalone: true, selector: "[etScrollObserverFirstElement]", inputs: { isFirstElement: ["etScrollObserverFirstElement", "isFirstElement"] }, host: { properties: { "class.et-scroll-observer-first-element": "this.isFirstElement" } }, ngImport: i0 }); }
|
|
2783
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ScrollObserverFirstElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2784
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.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 }); }
|
|
2809
2785
|
}
|
|
2810
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2786
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ScrollObserverFirstElementDirective, decorators: [{
|
|
2811
2787
|
type: Directive,
|
|
2812
2788
|
args: [{
|
|
2813
2789
|
selector: '[etScrollObserverFirstElement]',
|
|
@@ -2815,7 +2791,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
2815
2791
|
}]
|
|
2816
2792
|
}], propDecorators: { isFirstElement: [{
|
|
2817
2793
|
type: Input,
|
|
2818
|
-
args: ['etScrollObserverFirstElement']
|
|
2794
|
+
args: [{ alias: 'etScrollObserverFirstElement', transform: booleanAttribute }]
|
|
2819
2795
|
}, {
|
|
2820
2796
|
type: HostBinding,
|
|
2821
2797
|
args: [`class.${SCROLL_OBSERVER_FIRST_ELEMENT_CLASS}`]
|
|
@@ -2823,10 +2799,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
2823
2799
|
|
|
2824
2800
|
const SCROLL_OBSERVER_IGNORE_TARGET_CLASS = 'et-scroll-observer-ignore-target';
|
|
2825
2801
|
class ScrollObserverIgnoreTargetDirective {
|
|
2826
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2827
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2802
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ScrollObserverIgnoreTargetDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2803
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: ScrollObserverIgnoreTargetDirective, isStandalone: true, selector: "[etScrollObserverIgnoreTarget]", host: { classAttribute: "et-scroll-observer-ignore-target" }, ngImport: i0 }); }
|
|
2828
2804
|
}
|
|
2829
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2805
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ScrollObserverIgnoreTargetDirective, decorators: [{
|
|
2830
2806
|
type: Directive,
|
|
2831
2807
|
args: [{
|
|
2832
2808
|
selector: '[etScrollObserverIgnoreTarget]',
|
|
@@ -2840,18 +2816,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
2840
2816
|
const SCROLL_OBSERVER_LAST_ELEMENT_CLASS = 'et-scroll-observer-last-element';
|
|
2841
2817
|
class ScrollObserverLastElementDirective {
|
|
2842
2818
|
constructor() {
|
|
2843
|
-
this.
|
|
2844
|
-
}
|
|
2845
|
-
get isLastElement() {
|
|
2846
|
-
return this._isLastElement;
|
|
2819
|
+
this.isLastElement = false;
|
|
2847
2820
|
}
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
}
|
|
2851
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: ScrollObserverLastElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2852
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: ScrollObserverLastElementDirective, isStandalone: true, selector: "[etScrollObserverLastElement]", inputs: { isLastElement: ["etScrollObserverLastElement", "isLastElement"] }, host: { properties: { "class.et-scroll-observer-last-element": "this.isLastElement" }, classAttribute: "et-scroll-observer-last-element" }, ngImport: i0 }); }
|
|
2821
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ScrollObserverLastElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2822
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.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 }); }
|
|
2853
2823
|
}
|
|
2854
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2824
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ScrollObserverLastElementDirective, decorators: [{
|
|
2855
2825
|
type: Directive,
|
|
2856
2826
|
args: [{
|
|
2857
2827
|
selector: '[etScrollObserverLastElement]',
|
|
@@ -2862,7 +2832,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
2862
2832
|
}]
|
|
2863
2833
|
}], propDecorators: { isLastElement: [{
|
|
2864
2834
|
type: Input,
|
|
2865
|
-
args: ['etScrollObserverLastElement']
|
|
2835
|
+
args: [{ alias: 'etScrollObserverLastElement', transform: booleanAttribute }]
|
|
2866
2836
|
}, {
|
|
2867
2837
|
type: HostBinding,
|
|
2868
2838
|
args: [`class.${SCROLL_OBSERVER_LAST_ELEMENT_CLASS}`]
|
|
@@ -2882,7 +2852,7 @@ class ObserveScrollStateDirective {
|
|
|
2882
2852
|
first: this._firstCurrentChild,
|
|
2883
2853
|
last: this._lastCurrentChild,
|
|
2884
2854
|
};
|
|
2885
|
-
this.
|
|
2855
|
+
this.rootMargin = 0;
|
|
2886
2856
|
this._threshold = [0.99999, 0.9999, 0.999, 0.99, 1];
|
|
2887
2857
|
this._intersectionObserver = null;
|
|
2888
2858
|
this.valueChange = new EventEmitter();
|
|
@@ -2903,21 +2873,15 @@ class ObserveScrollStateDirective {
|
|
|
2903
2873
|
const element = this._elementRef.nativeElement.children[this._elementRef.nativeElement.children.length - 1];
|
|
2904
2874
|
return this._getNonIgnoredChild(element, 'previous');
|
|
2905
2875
|
}
|
|
2906
|
-
get observerRootMargin() {
|
|
2907
|
-
return this._rootMargin;
|
|
2908
|
-
}
|
|
2909
|
-
set observerRootMargin(value) {
|
|
2910
|
-
this._rootMargin = coerceNumberProperty(value);
|
|
2911
|
-
}
|
|
2912
2876
|
get observerThreshold() {
|
|
2913
2877
|
return this._threshold;
|
|
2914
2878
|
}
|
|
2915
2879
|
set observerThreshold(value) {
|
|
2916
2880
|
if (Array.isArray(value)) {
|
|
2917
|
-
this._threshold = value;
|
|
2881
|
+
this._threshold = value.map((threshold) => numberAttribute(threshold));
|
|
2918
2882
|
return;
|
|
2919
2883
|
}
|
|
2920
|
-
this._threshold =
|
|
2884
|
+
this._threshold = numberAttribute(value);
|
|
2921
2885
|
}
|
|
2922
2886
|
ngOnInit() {
|
|
2923
2887
|
this._contentObserverService
|
|
@@ -2970,7 +2934,7 @@ class ObserveScrollStateDirective {
|
|
|
2970
2934
|
});
|
|
2971
2935
|
}, {
|
|
2972
2936
|
root: this._elementRef.nativeElement,
|
|
2973
|
-
rootMargin: this.
|
|
2937
|
+
rootMargin: this.rootMargin ? `${this.rootMargin}px` : undefined,
|
|
2974
2938
|
threshold: this._threshold,
|
|
2975
2939
|
});
|
|
2976
2940
|
return observer;
|
|
@@ -3011,15 +2975,15 @@ class ObserveScrollStateDirective {
|
|
|
3011
2975
|
}
|
|
3012
2976
|
return element;
|
|
3013
2977
|
}
|
|
3014
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3015
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2978
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ObserveScrollStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2979
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: ObserveScrollStateDirective, isStandalone: true, selector: "[etObserveScrollState]", inputs: { rootMargin: ["rootMargin", "rootMargin", numberAttribute], observerThreshold: "observerThreshold" }, outputs: { valueChange: "etObserveScrollState" }, providers: [
|
|
3016
2980
|
{
|
|
3017
2981
|
provide: OBSERVE_SCROLL_STATE,
|
|
3018
2982
|
useExisting: ObserveScrollStateDirective,
|
|
3019
2983
|
},
|
|
3020
2984
|
], exportAs: ["etObserveScrollState"], ngImport: i0 }); }
|
|
3021
2985
|
}
|
|
3022
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2986
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ObserveScrollStateDirective, decorators: [{
|
|
3023
2987
|
type: Directive,
|
|
3024
2988
|
args: [{
|
|
3025
2989
|
selector: '[etObserveScrollState]',
|
|
@@ -3032,8 +2996,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
3032
2996
|
},
|
|
3033
2997
|
],
|
|
3034
2998
|
}]
|
|
3035
|
-
}], propDecorators: {
|
|
3036
|
-
type: Input
|
|
2999
|
+
}], propDecorators: { rootMargin: [{
|
|
3000
|
+
type: Input,
|
|
3001
|
+
args: [{ transform: numberAttribute }]
|
|
3037
3002
|
}], observerThreshold: [{
|
|
3038
3003
|
type: Input
|
|
3039
3004
|
}], valueChange: [{
|
|
@@ -3046,7 +3011,7 @@ class RepeatDirective {
|
|
|
3046
3011
|
return this._repeatCount;
|
|
3047
3012
|
}
|
|
3048
3013
|
set repeatCount(value) {
|
|
3049
|
-
this._repeatCount =
|
|
3014
|
+
this._repeatCount = numberAttribute(value);
|
|
3050
3015
|
this._render();
|
|
3051
3016
|
}
|
|
3052
3017
|
constructor(_mainTemplateRef, _viewContainerRef) {
|
|
@@ -3060,10 +3025,10 @@ class RepeatDirective {
|
|
|
3060
3025
|
this._viewContainerRef.createEmbeddedView(this._mainTemplateRef);
|
|
3061
3026
|
}
|
|
3062
3027
|
}
|
|
3063
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3064
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
3028
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: RepeatDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3029
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: RepeatDirective, isStandalone: true, selector: "[etRepeat]", inputs: { repeatCount: ["etRepeat", "repeatCount"] }, ngImport: i0 }); }
|
|
3065
3030
|
}
|
|
3066
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3031
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: RepeatDirective, decorators: [{
|
|
3067
3032
|
type: Directive,
|
|
3068
3033
|
args: [{
|
|
3069
3034
|
selector: '[etRepeat]',
|
|
@@ -3232,10 +3197,10 @@ class SeoDirective {
|
|
|
3232
3197
|
}
|
|
3233
3198
|
}
|
|
3234
3199
|
}
|
|
3235
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3236
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
3200
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SeoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3201
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: SeoDirective, isStandalone: true, providers: [{ provide: SEO_DIRECTIVE_TOKEN, useExisting: SeoDirective }], ngImport: i0 }); }
|
|
3237
3202
|
}
|
|
3238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SeoDirective, decorators: [{
|
|
3239
3204
|
type: Directive,
|
|
3240
3205
|
args: [{
|
|
3241
3206
|
standalone: true,
|
|
@@ -3281,10 +3246,10 @@ class NormalizeGameResultTypePipe {
|
|
|
3281
3246
|
constructor() {
|
|
3282
3247
|
this.transform = normalizeGameResultType;
|
|
3283
3248
|
}
|
|
3284
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3285
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.
|
|
3249
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NormalizeGameResultTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3250
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.1", ngImport: i0, type: NormalizeGameResultTypePipe, isStandalone: true, name: "etNormalizeGameResultType" }); }
|
|
3286
3251
|
}
|
|
3287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NormalizeGameResultTypePipe, decorators: [{
|
|
3288
3253
|
type: Pipe,
|
|
3289
3254
|
args: [{ name: 'etNormalizeGameResultType', standalone: true }]
|
|
3290
3255
|
}] });
|
|
@@ -3312,10 +3277,10 @@ class NormalizeMatchStatePipe {
|
|
|
3312
3277
|
constructor() {
|
|
3313
3278
|
this.transform = normalizeMatchState;
|
|
3314
3279
|
}
|
|
3315
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3316
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.
|
|
3280
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NormalizeMatchStatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3281
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.1", ngImport: i0, type: NormalizeMatchStatePipe, isStandalone: true, name: "etNormalizeMatchState" }); }
|
|
3317
3282
|
}
|
|
3318
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NormalizeMatchStatePipe, decorators: [{
|
|
3319
3284
|
type: Pipe,
|
|
3320
3285
|
args: [{ name: 'etNormalizeMatchState', standalone: true }]
|
|
3321
3286
|
}] });
|
|
@@ -3370,10 +3335,10 @@ class NormalizeMatchParticipantsPipe {
|
|
|
3370
3335
|
constructor() {
|
|
3371
3336
|
this.transform = normalizeMatchParticipants;
|
|
3372
3337
|
}
|
|
3373
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3374
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.
|
|
3338
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NormalizeMatchParticipantsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3339
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.1", ngImport: i0, type: NormalizeMatchParticipantsPipe, isStandalone: true, name: "etNormalizeMatchParticipants" }); }
|
|
3375
3340
|
}
|
|
3376
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3341
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NormalizeMatchParticipantsPipe, decorators: [{
|
|
3377
3342
|
type: Pipe,
|
|
3378
3343
|
args: [{ name: 'etNormalizeMatchParticipants', standalone: true }]
|
|
3379
3344
|
}] });
|
|
@@ -3507,10 +3472,10 @@ class NormalizeMatchScorePipe {
|
|
|
3507
3472
|
constructor() {
|
|
3508
3473
|
this.transform = normalizeMatchScore;
|
|
3509
3474
|
}
|
|
3510
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3511
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.
|
|
3475
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NormalizeMatchScorePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3476
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.1", ngImport: i0, type: NormalizeMatchScorePipe, isStandalone: true, name: "etNormalizeMatchScore" }); }
|
|
3512
3477
|
}
|
|
3513
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NormalizeMatchScorePipe, decorators: [{
|
|
3514
3479
|
type: Pipe,
|
|
3515
3480
|
args: [{ name: 'etNormalizeMatchScore', standalone: true }]
|
|
3516
3481
|
}] });
|
|
@@ -3557,10 +3522,10 @@ class NormalizeMatchTypePipe {
|
|
|
3557
3522
|
constructor() {
|
|
3558
3523
|
this.transform = normalizeMatchType;
|
|
3559
3524
|
}
|
|
3560
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3561
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.
|
|
3525
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NormalizeMatchTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3526
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.1", ngImport: i0, type: NormalizeMatchTypePipe, isStandalone: true, name: "etNormalizeMatchType" }); }
|
|
3562
3527
|
}
|
|
3563
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3528
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NormalizeMatchTypePipe, decorators: [{
|
|
3564
3529
|
type: Pipe,
|
|
3565
3530
|
args: [{ name: 'etNormalizeMatchType', standalone: true }]
|
|
3566
3531
|
}] });
|
|
@@ -3574,10 +3539,10 @@ class ToArrayPipe {
|
|
|
3574
3539
|
constructor() {
|
|
3575
3540
|
this.transform = toArray;
|
|
3576
3541
|
}
|
|
3577
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3578
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.
|
|
3542
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ToArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3543
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.1", ngImport: i0, type: ToArrayPipe, isStandalone: true, name: "toArray" }); }
|
|
3579
3544
|
}
|
|
3580
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3545
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ToArrayPipe, decorators: [{
|
|
3581
3546
|
type: Pipe,
|
|
3582
3547
|
args: [{ name: 'toArray', standalone: true }]
|
|
3583
3548
|
}] });
|
|
@@ -3644,5 +3609,5 @@ const Validators = {
|
|
|
3644
3609
|
* Generated bundle index. Do not edit.
|
|
3645
3610
|
*/
|
|
3646
3611
|
|
|
3647
|
-
export { ANIMATABLE_TOKEN, ANIMATED_LIFECYCLE_TOKEN, ActiveSelectionModel, AnimatableDirective, AnimatedLifecycleDirective, AnimatedOverlayDirective, BehaviorSubjectWithSubscriberCount, ClickObserverFactory, ClickObserverService, ClickOutsideDirective, ContentObserverService, CursorDragScrollDirective, DEFAULT_VIEWPORT_CONFIG, DELAYABLE_TOKEN, DelayableDirective, ET_PROPERTY_REMOVED, FocusVisibleService, IS_ACTIVE_ELEMENT, IS_ARRAY_NOT_EMPTY, IS_ELEMENT, IS_EMAIL, IsActiveElementDirective, IsArrayNotEmpty, IsElementDirective, IsEmail, LetContext, LetDirective, MUST_MATCH, Memo, MustMatch, MutationObserverFactory, NormalizeGameResultTypePipe, NormalizeMatchParticipantsPipe, NormalizeMatchScorePipe, NormalizeMatchStatePipe, NormalizeMatchTypePipe, OBSERVE_SCROLL_STATE, ObserveContentDirective, ObserveResizeDirective, ObserveScrollStateDirective, RepeatDirective, ResizeObserverFactory, ResizeObserverService, 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, Validators, ViewportService, clamp, clone, createDestroy, createFlipAnimation, createFlipAnimationGroup, createMediaQueryObservable, createReactiveBindings, deleteCookie, elementCanScroll, equal, forceReflow, formatRuntimeError, fromNextFrame, getCookie, getDomain, getElementVisibleStates, getGroupMatchPoints, getGroupMatchScore, getKnockoutMatchScore, getMatchScoreSubLine, hasCookie, isElementVisible, isGroupMatch, isKnockoutMatch, mergeSeoConfig, nextFrame, normalizeGameResultType, normalizeMatchParticipant, normalizeMatchParticipants, normalizeMatchScore, normalizeMatchState, normalizeMatchType, provideViewportConfig, routerDisableScrollTop, scrollToElement, setCookie, toArray, toArrayTrackByFn };
|
|
3612
|
+
export { ANIMATABLE_TOKEN, ANIMATED_LIFECYCLE_TOKEN, ActiveSelectionModel, AnimatableDirective, AnimatedLifecycleDirective, AnimatedOverlayDirective, BehaviorSubjectWithSubscriberCount, ClickObserverFactory, ClickObserverService, ClickOutsideDirective, ContentObserverService, CursorDragScrollDirective, DEFAULT_VIEWPORT_CONFIG, DELAYABLE_TOKEN, DelayableDirective, ET_PROPERTY_REMOVED, FocusVisibleService, IS_ACTIVE_ELEMENT, IS_ARRAY_NOT_EMPTY, IS_ELEMENT, IS_EMAIL, IsActiveElementDirective, IsArrayNotEmpty, IsElementDirective, IsEmail, LetContext, LetDirective, MUST_MATCH, Memo, MustMatch, MutationObserverFactory, NormalizeGameResultTypePipe, NormalizeMatchParticipantsPipe, NormalizeMatchScorePipe, NormalizeMatchStatePipe, NormalizeMatchTypePipe, OBSERVE_SCROLL_STATE, ObserveContentDirective, ObserveResizeDirective, ObserveScrollStateDirective, RepeatDirective, ResizeObserverFactory, ResizeObserverService, 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, Validators, ViewportService, clamp, clone, createDestroy, createFlipAnimation, createFlipAnimationGroup, createMediaQueryObservable, createReactiveBindings, deleteCookie, elementCanScroll, equal, forceReflow, formatRuntimeError, fromNextFrame, getCookie, getDomain, getElementVisibleStates, getGroupMatchPoints, getGroupMatchScore, getKnockoutMatchScore, getMatchScoreSubLine, hasCookie, isElementVisible, isGroupMatch, isKnockoutMatch, mergeSeoConfig, nextFrame, normalizeGameResultType, normalizeMatchParticipant, normalizeMatchParticipants, normalizeMatchScore, normalizeMatchState, normalizeMatchType, provideViewportConfig, round, routerDisableScrollTop, scrollToElement, setCookie, toArray, toArrayTrackByFn };
|
|
3648
3613
|
//# sourceMappingURL=ethlete-core.mjs.map
|