@ethlete/core 1.4.3 → 1.5.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/esm2020/lib/components/structured-data/structured-data.component.mjs +3 -3
- package/esm2020/lib/directives/animatable/animatable.directive.mjs +3 -3
- package/esm2020/lib/directives/animated-lifecycle/animated-lifecycle.directive.mjs +3 -3
- package/esm2020/lib/directives/click-outside/click-outside.directive.mjs +3 -3
- package/esm2020/lib/directives/cursor-drag-scroll/cursor-drag-scroll.directive.mjs +3 -3
- package/esm2020/lib/directives/let/let.directive.mjs +3 -3
- package/esm2020/lib/directives/observe-content/observe-content.directive.mjs +3 -3
- package/esm2020/lib/directives/observe-resize/observe-resize.directive.mjs +3 -3
- package/esm2020/lib/directives/observe-scroll-state/observe-scroll-state.directive.mjs +3 -3
- package/esm2020/lib/directives/repeat/repeat.directive.mjs +3 -3
- package/esm2020/lib/directives/scroll-observer-first-element/scroll-observer-first-element.directive.mjs +3 -3
- package/esm2020/lib/directives/scroll-observer-ignore-target/scroll-observer-ignore-target.directive.mjs +3 -3
- package/esm2020/lib/directives/scroll-observer-last-element/scroll-observer-last-element.directive.mjs +3 -3
- package/esm2020/lib/directives/seo/seo.directive.mjs +3 -3
- package/esm2020/lib/pipes/normalize-game-result-type/normalize-game-result-type.pipe.mjs +3 -3
- package/esm2020/lib/pipes/normalize-match-participants/normalize-match-participants.pipe.mjs +3 -3
- package/esm2020/lib/pipes/normalize-match-score/normalize-match-score.pipe.mjs +3 -3
- package/esm2020/lib/pipes/normalize-match-state/normalize-match-state.pipe.mjs +3 -3
- package/esm2020/lib/pipes/normalize-match-type/normalize-match-type.pipe.mjs +3 -3
- package/esm2020/lib/pipes/to-array/to-array.pipe.mjs +3 -3
- package/esm2020/lib/services/click-observer.service.mjs +6 -6
- package/esm2020/lib/services/content-observer.service.mjs +6 -6
- package/esm2020/lib/services/destroy.service.mjs +3 -3
- package/esm2020/lib/services/focus-visible.service.mjs +3 -3
- package/esm2020/lib/services/resize-observer.service.mjs +6 -6
- package/esm2020/lib/services/router-state.service.mjs +3 -3
- package/esm2020/lib/services/viewport.service.mjs +7 -7
- package/esm2020/lib/utils/public-api.mjs +2 -1
- package/esm2020/lib/utils/smart-block-scroll-strategy.utils.mjs +70 -0
- package/fesm2015/ethlete-core.mjs +164 -95
- package/fesm2015/ethlete-core.mjs.map +1 -1
- package/fesm2020/ethlete-core.mjs +163 -95
- package/fesm2020/ethlete-core.mjs.map +1 -1
- package/lib/services/viewport.service.d.ts +1 -1
- package/lib/utils/public-api.d.ts +1 -0
- package/lib/utils/smart-block-scroll-strategy.utils.d.ts +18 -0
- package/package.json +9 -9
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { inject, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, HostBinding, InjectionToken, Injectable, ElementRef, Inject, Optional, isDevMode, Directive, EventEmitter, Output, NgZone, Pipe, QueryList } from '@angular/core';
|
|
3
3
|
import { DomSanitizer, Meta, Title } from '@angular/platform-browser';
|
|
4
|
-
import { fromEvent, Observable, Subject, combineLatest, startWith, map, takeUntil, distinctUntilChanged, BehaviorSubject, filter, pairwise, debounceTime, shareReplay,
|
|
5
|
-
import { coerceElement, coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
|
|
4
|
+
import { fromEvent, Observable, Subject, combineLatest, startWith, map, takeUntil, distinctUntilChanged, BehaviorSubject, skip, take, tap, filter, pairwise, debounceTime, shareReplay, merge, switchMap } from 'rxjs';
|
|
5
|
+
import { coerceElement, coerceCssPixelValue, coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
|
|
6
6
|
import { DOCUMENT } from '@angular/common';
|
|
7
7
|
import { Router, NavigationEnd } from '@angular/router';
|
|
8
|
+
import { supportsScrollBehavior } from '@angular/cdk/platform';
|
|
8
9
|
import { __decorate, __metadata } from 'tslib';
|
|
9
10
|
import * as i1 from '@angular/cdk/layout';
|
|
10
11
|
import { debounceTime as debounceTime$1 } from 'rxjs/operators';
|
|
@@ -22,9 +23,9 @@ class StructuredDataComponent {
|
|
|
22
23
|
return this._sanitizer.bypassSecurityTrustHtml(html);
|
|
23
24
|
}
|
|
24
25
|
}
|
|
25
|
-
StructuredDataComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
26
|
-
StructuredDataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
26
|
+
StructuredDataComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: StructuredDataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
+
StructuredDataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: StructuredDataComponent, isStandalone: true, selector: "et-structured-data", inputs: { data: "data" }, host: { properties: { "innerHTML": "this.jsonLD" }, styleAttribute: "display: none" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: StructuredDataComponent, decorators: [{
|
|
28
29
|
type: Component,
|
|
29
30
|
args: [{
|
|
30
31
|
selector: 'et-structured-data',
|
|
@@ -92,9 +93,9 @@ class ClickObserverFactory {
|
|
|
92
93
|
return fromEvent(document, 'click');
|
|
93
94
|
}
|
|
94
95
|
}
|
|
95
|
-
ClickObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
96
|
-
ClickObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
97
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
96
|
+
ClickObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClickObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
97
|
+
ClickObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClickObserverFactory, providedIn: 'root' });
|
|
98
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClickObserverFactory, decorators: [{
|
|
98
99
|
type: Injectable,
|
|
99
100
|
args: [{ providedIn: 'root' }]
|
|
100
101
|
}] });
|
|
@@ -148,9 +149,9 @@ class ClickObserverService {
|
|
|
148
149
|
}
|
|
149
150
|
}
|
|
150
151
|
}
|
|
151
|
-
ClickObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
152
|
-
ClickObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
153
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
152
|
+
ClickObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClickObserverService, deps: [{ token: ClickObserverFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
153
|
+
ClickObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClickObserverService, providedIn: 'root' });
|
|
154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClickObserverService, decorators: [{
|
|
154
155
|
type: Injectable,
|
|
155
156
|
args: [{ providedIn: 'root' }]
|
|
156
157
|
}], ctorParameters: function () { return [{ type: ClickObserverFactory }]; } });
|
|
@@ -161,9 +162,9 @@ class MutationObserverFactory {
|
|
|
161
162
|
return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);
|
|
162
163
|
}
|
|
163
164
|
}
|
|
164
|
-
MutationObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
165
|
-
MutationObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
165
|
+
MutationObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: MutationObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
166
|
+
MutationObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: MutationObserverFactory, providedIn: 'root' });
|
|
167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: MutationObserverFactory, decorators: [{
|
|
167
168
|
type: Injectable,
|
|
168
169
|
args: [{ providedIn: 'root' }]
|
|
169
170
|
}] });
|
|
@@ -223,9 +224,9 @@ class ContentObserverService {
|
|
|
223
224
|
}
|
|
224
225
|
}
|
|
225
226
|
}
|
|
226
|
-
ContentObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
227
|
-
ContentObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
227
|
+
ContentObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ContentObserverService, deps: [{ token: MutationObserverFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
228
|
+
ContentObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ContentObserverService, providedIn: 'root' });
|
|
229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ContentObserverService, decorators: [{
|
|
229
230
|
type: Injectable,
|
|
230
231
|
args: [{ providedIn: 'root' }]
|
|
231
232
|
}], ctorParameters: function () { return [{ type: MutationObserverFactory }]; } });
|
|
@@ -244,9 +245,9 @@ class DestroyService {
|
|
|
244
245
|
this._destroy$.unsubscribe();
|
|
245
246
|
}
|
|
246
247
|
}
|
|
247
|
-
DestroyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
248
|
-
DestroyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
249
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
248
|
+
DestroyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: DestroyService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
249
|
+
DestroyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: DestroyService });
|
|
250
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: DestroyService, decorators: [{
|
|
250
251
|
type: Injectable
|
|
251
252
|
}] });
|
|
252
253
|
|
|
@@ -272,9 +273,9 @@ class FocusVisibleService {
|
|
|
272
273
|
this._hadKeyboardEvent = false;
|
|
273
274
|
}
|
|
274
275
|
}
|
|
275
|
-
FocusVisibleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
276
|
-
FocusVisibleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
277
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
276
|
+
FocusVisibleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: FocusVisibleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
277
|
+
FocusVisibleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: FocusVisibleService, providedIn: 'root' });
|
|
278
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: FocusVisibleService, decorators: [{
|
|
278
279
|
type: Injectable,
|
|
279
280
|
args: [{
|
|
280
281
|
providedIn: 'root',
|
|
@@ -287,9 +288,9 @@ class ResizeObserverFactory {
|
|
|
287
288
|
return typeof ResizeObserver === 'undefined' ? null : new ResizeObserver(callback);
|
|
288
289
|
}
|
|
289
290
|
}
|
|
290
|
-
ResizeObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
291
|
-
ResizeObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
292
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
291
|
+
ResizeObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ResizeObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
292
|
+
ResizeObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ResizeObserverFactory, providedIn: 'root' });
|
|
293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ResizeObserverFactory, decorators: [{
|
|
293
294
|
type: Injectable,
|
|
294
295
|
args: [{ providedIn: 'root' }]
|
|
295
296
|
}] });
|
|
@@ -345,9 +346,9 @@ class ResizeObserverService {
|
|
|
345
346
|
}
|
|
346
347
|
}
|
|
347
348
|
}
|
|
348
|
-
ResizeObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
349
|
-
ResizeObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
350
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
349
|
+
ResizeObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ResizeObserverService, deps: [{ token: ResizeObserverFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
350
|
+
ResizeObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ResizeObserverService, providedIn: 'root' });
|
|
351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ResizeObserverService, decorators: [{
|
|
351
352
|
type: Injectable,
|
|
352
353
|
args: [{ providedIn: 'root' }]
|
|
353
354
|
}], ctorParameters: function () { return [{ type: ResizeObserverFactory }]; } });
|
|
@@ -862,6 +863,74 @@ const elementCanScroll = (element) => {
|
|
|
862
863
|
return scrollHeight > clientHeight || scrollWidth > clientWidth;
|
|
863
864
|
};
|
|
864
865
|
|
|
866
|
+
const scrollBehaviorSupported = supportsScrollBehavior();
|
|
867
|
+
class SmartBlockScrollStrategy {
|
|
868
|
+
constructor(_viewportRuler, _routerState, document) {
|
|
869
|
+
this._viewportRuler = _viewportRuler;
|
|
870
|
+
this._routerState = _routerState;
|
|
871
|
+
this._previousHTMLStyles = { top: '', left: '' };
|
|
872
|
+
this._previousScrollPosition = { top: 0, left: 0 };
|
|
873
|
+
this._isEnabled = false;
|
|
874
|
+
this._urlSubscription = null;
|
|
875
|
+
this._didNavigate = false;
|
|
876
|
+
this._document = document;
|
|
877
|
+
}
|
|
878
|
+
attach() {
|
|
879
|
+
// noop
|
|
880
|
+
}
|
|
881
|
+
enable() {
|
|
882
|
+
if (this._canBeEnabled()) {
|
|
883
|
+
const root = this._document.documentElement;
|
|
884
|
+
this._previousScrollPosition = this._viewportRuler.getViewportScrollPosition();
|
|
885
|
+
this._didNavigate = false;
|
|
886
|
+
this._previousHTMLStyles.left = root.style.left || '';
|
|
887
|
+
this._previousHTMLStyles.top = root.style.top || '';
|
|
888
|
+
root.style.left = coerceCssPixelValue(-this._previousScrollPosition.left);
|
|
889
|
+
root.style.top = coerceCssPixelValue(-this._previousScrollPosition.top);
|
|
890
|
+
root.classList.add('cdk-global-scrollblock');
|
|
891
|
+
this._isEnabled = true;
|
|
892
|
+
this._urlSubscription = this._routerState.route$
|
|
893
|
+
.pipe(skip(1), take(1), tap(() => {
|
|
894
|
+
this._didNavigate = true;
|
|
895
|
+
}))
|
|
896
|
+
.subscribe();
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
disable() {
|
|
900
|
+
var _a;
|
|
901
|
+
if (this._isEnabled) {
|
|
902
|
+
(_a = this._urlSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
903
|
+
const html = this._document.documentElement;
|
|
904
|
+
const body = this._document.body;
|
|
905
|
+
const htmlStyle = html.style;
|
|
906
|
+
const bodyStyle = body.style;
|
|
907
|
+
const previousHtmlScrollBehavior = htmlStyle.scrollBehavior || '';
|
|
908
|
+
const previousBodyScrollBehavior = bodyStyle.scrollBehavior || '';
|
|
909
|
+
this._isEnabled = false;
|
|
910
|
+
htmlStyle.left = this._previousHTMLStyles.left;
|
|
911
|
+
htmlStyle.top = this._previousHTMLStyles.top;
|
|
912
|
+
html.classList.remove('cdk-global-scrollblock');
|
|
913
|
+
if (scrollBehaviorSupported) {
|
|
914
|
+
htmlStyle.scrollBehavior = bodyStyle.scrollBehavior = 'auto';
|
|
915
|
+
}
|
|
916
|
+
if (!this._didNavigate) {
|
|
917
|
+
window.scroll(this._previousScrollPosition.left, this._previousScrollPosition.top);
|
|
918
|
+
}
|
|
919
|
+
if (scrollBehaviorSupported) {
|
|
920
|
+
htmlStyle.scrollBehavior = previousHtmlScrollBehavior;
|
|
921
|
+
bodyStyle.scrollBehavior = previousBodyScrollBehavior;
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
_canBeEnabled() {
|
|
926
|
+
const html = this._document.documentElement;
|
|
927
|
+
if (html.classList.contains('cdk-global-scrollblock') || this._isEnabled) {
|
|
928
|
+
return false;
|
|
929
|
+
}
|
|
930
|
+
return true;
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
|
|
865
934
|
const provideViewportConfig = (viewportConfig) => {
|
|
866
935
|
return { provide: VIEWPORT_CONFIG, useValue: viewportConfig };
|
|
867
936
|
};
|
|
@@ -968,9 +1037,9 @@ class RouterStateService {
|
|
|
968
1037
|
return this._state$.pipe(map((state) => state.data[key]));
|
|
969
1038
|
}
|
|
970
1039
|
}
|
|
971
|
-
RouterStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
972
|
-
RouterStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
973
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1040
|
+
RouterStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: RouterStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1041
|
+
RouterStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: RouterStateService, providedIn: 'root' });
|
|
1042
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: RouterStateService, decorators: [{
|
|
974
1043
|
type: Injectable,
|
|
975
1044
|
args: [{
|
|
976
1045
|
providedIn: 'root',
|
|
@@ -1025,13 +1094,13 @@ class ViewportService {
|
|
|
1025
1094
|
this._isLg$ = new BehaviorSubject(false);
|
|
1026
1095
|
this._isXl$ = new BehaviorSubject(false);
|
|
1027
1096
|
this._is2Xl$ = new BehaviorSubject(false);
|
|
1028
|
-
this.currentViewport$ = combineLatest([this.isXs$, this.isSm$, this.isMd$, this.isLg$, this.isXl$, this.is2Xl$]).pipe(map((val) => this.getCurrentViewport(val)), shareReplay());
|
|
1097
|
+
this.currentViewport$ = combineLatest([this.isXs$, this.isSm$, this.isMd$, this.isLg$, this.isXl$, this.is2Xl$]).pipe(map((val) => this.getCurrentViewport(val)), shareReplay(1));
|
|
1029
1098
|
this._viewportConfig = _viewportConfig || DEFAULT_VIEWPORT_CONFIG;
|
|
1030
1099
|
this._observeDefaultBreakpoints();
|
|
1031
1100
|
}
|
|
1032
1101
|
observe(options) {
|
|
1033
1102
|
const mediaQuery = this._buildMediaQuery(options);
|
|
1034
|
-
return this._breakpointObserver.observe(mediaQuery).pipe(map((x) => x.matches), shareReplay());
|
|
1103
|
+
return this._breakpointObserver.observe(mediaQuery).pipe(map((x) => x.matches), shareReplay(1));
|
|
1035
1104
|
}
|
|
1036
1105
|
isMatched(options) {
|
|
1037
1106
|
const mediaQuery = this._buildMediaQuery(options);
|
|
@@ -1107,8 +1176,8 @@ class ViewportService {
|
|
|
1107
1176
|
return 'xs';
|
|
1108
1177
|
}
|
|
1109
1178
|
}
|
|
1110
|
-
ViewportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1111
|
-
ViewportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
1179
|
+
ViewportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ViewportService, deps: [{ token: VIEWPORT_CONFIG, optional: true }, { token: i1.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1180
|
+
ViewportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ViewportService, providedIn: 'root' });
|
|
1112
1181
|
__decorate([
|
|
1113
1182
|
Memo(),
|
|
1114
1183
|
__metadata("design:type", Function),
|
|
@@ -1126,7 +1195,7 @@ __decorate([
|
|
|
1126
1195
|
__metadata("design:paramtypes", [Object]),
|
|
1127
1196
|
__metadata("design:returntype", void 0)
|
|
1128
1197
|
], ViewportService.prototype, "_buildMediaQuery", null);
|
|
1129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ViewportService, decorators: [{
|
|
1130
1199
|
type: Injectable,
|
|
1131
1200
|
args: [{
|
|
1132
1201
|
providedIn: 'root',
|
|
@@ -1224,15 +1293,15 @@ class AnimatableDirective {
|
|
|
1224
1293
|
}
|
|
1225
1294
|
}
|
|
1226
1295
|
}
|
|
1227
|
-
AnimatableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1228
|
-
AnimatableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
1296
|
+
AnimatableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: AnimatableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1297
|
+
AnimatableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.2", type: AnimatableDirective, isStandalone: true, selector: "[etAnimatable]", inputs: { animatedElement: ["etAnimatable", "animatedElement"] }, providers: [
|
|
1229
1298
|
{
|
|
1230
1299
|
provide: ANIMATABLE_TOKEN,
|
|
1231
1300
|
useExisting: AnimatableDirective,
|
|
1232
1301
|
},
|
|
1233
1302
|
DestroyService,
|
|
1234
1303
|
], exportAs: ["etAnimatable"], ngImport: i0 });
|
|
1235
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: AnimatableDirective, decorators: [{
|
|
1236
1305
|
type: Directive,
|
|
1237
1306
|
args: [{
|
|
1238
1307
|
selector: '[etAnimatable]',
|
|
@@ -1334,15 +1403,15 @@ class AnimatedLifecycleDirective {
|
|
|
1334
1403
|
.subscribe();
|
|
1335
1404
|
}
|
|
1336
1405
|
}
|
|
1337
|
-
AnimatedLifecycleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1338
|
-
AnimatedLifecycleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
1406
|
+
AnimatedLifecycleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: AnimatedLifecycleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1407
|
+
AnimatedLifecycleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.2", type: AnimatedLifecycleDirective, isStandalone: true, selector: "[etAnimatedLifecycle]", providers: [
|
|
1339
1408
|
{
|
|
1340
1409
|
provide: ANIMATED_LIFECYCLE_TOKEN,
|
|
1341
1410
|
useExisting: AnimatedLifecycleDirective,
|
|
1342
1411
|
},
|
|
1343
1412
|
DestroyService,
|
|
1344
1413
|
], exportAs: ["etAnimatedLifecycle"], hostDirectives: [{ directive: AnimatableDirective }], ngImport: i0 });
|
|
1345
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1414
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: AnimatedLifecycleDirective, decorators: [{
|
|
1346
1415
|
type: Directive,
|
|
1347
1416
|
args: [{
|
|
1348
1417
|
selector: '[etAnimatedLifecycle]',
|
|
@@ -1382,9 +1451,9 @@ class ClickOutsideDirective {
|
|
|
1382
1451
|
(_a = this._subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1383
1452
|
}
|
|
1384
1453
|
}
|
|
1385
|
-
ClickOutsideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1386
|
-
ClickOutsideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
1387
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1454
|
+
ClickOutsideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClickOutsideDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1455
|
+
ClickOutsideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.2", type: ClickOutsideDirective, isStandalone: true, selector: "[etClickOutside]", outputs: { etClickOutside: "etClickOutside" }, ngImport: i0 });
|
|
1456
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClickOutsideDirective, decorators: [{
|
|
1388
1457
|
type: Directive,
|
|
1389
1458
|
args: [{
|
|
1390
1459
|
selector: '[etClickOutside]',
|
|
@@ -1525,9 +1594,9 @@ class CursorDragScrollDirective {
|
|
|
1525
1594
|
}
|
|
1526
1595
|
}
|
|
1527
1596
|
}
|
|
1528
|
-
CursorDragScrollDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1529
|
-
CursorDragScrollDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
1530
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1597
|
+
CursorDragScrollDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: CursorDragScrollDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1598
|
+
CursorDragScrollDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.2", type: CursorDragScrollDirective, isStandalone: true, selector: "[etCursorDragScroll]", inputs: { enabled: ["etCursorDragScroll", "enabled"] }, providers: [DestroyService], exportAs: ["etCursorDragScroll"], ngImport: i0 });
|
|
1599
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: CursorDragScrollDirective, decorators: [{
|
|
1531
1600
|
type: Directive,
|
|
1532
1601
|
args: [{
|
|
1533
1602
|
selector: '[etCursorDragScroll]',
|
|
@@ -1574,9 +1643,9 @@ class LetDirective {
|
|
|
1574
1643
|
}
|
|
1575
1644
|
}
|
|
1576
1645
|
}
|
|
1577
|
-
LetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1578
|
-
LetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
1579
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1646
|
+
LetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: LetDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1647
|
+
LetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.2", type: LetDirective, isStandalone: true, selector: "[etLet]", inputs: { etLet: "etLet" }, ngImport: i0 });
|
|
1648
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: LetDirective, decorators: [{
|
|
1580
1649
|
type: Directive,
|
|
1581
1650
|
args: [{
|
|
1582
1651
|
selector: '[etLet]',
|
|
@@ -1630,9 +1699,9 @@ class ObserveContentDirective {
|
|
|
1630
1699
|
(_a = this._currentSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1631
1700
|
}
|
|
1632
1701
|
}
|
|
1633
|
-
ObserveContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1634
|
-
ObserveContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
1635
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1702
|
+
ObserveContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ObserveContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1703
|
+
ObserveContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.2", type: ObserveContentDirective, isStandalone: true, selector: "[etObserveContent]", inputs: { disabled: ["etObserveContentDisabled", "disabled"], debounce: ["etObserveContentDebounce", "debounce"] }, outputs: { valueChange: "etObserveContent" }, exportAs: ["etObserveContent"], ngImport: i0 });
|
|
1704
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ObserveContentDirective, decorators: [{
|
|
1636
1705
|
type: Directive,
|
|
1637
1706
|
args: [{
|
|
1638
1707
|
selector: '[etObserveContent]',
|
|
@@ -1694,9 +1763,9 @@ class ObserveResizeDirective {
|
|
|
1694
1763
|
(_a = this._currentSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1695
1764
|
}
|
|
1696
1765
|
}
|
|
1697
|
-
ObserveResizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1698
|
-
ObserveResizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
1699
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1766
|
+
ObserveResizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ObserveResizeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1767
|
+
ObserveResizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.2", type: ObserveResizeDirective, isStandalone: true, selector: "[etObserveResize]", inputs: { disabled: ["etObserveResizeDisabled", "disabled"], debounce: ["etObserveResizeDebounce", "debounce"] }, outputs: { valueChange: "etObserveResize" }, exportAs: ["etObserveResize"], ngImport: i0 });
|
|
1768
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ObserveResizeDirective, decorators: [{
|
|
1700
1769
|
type: Directive,
|
|
1701
1770
|
args: [{
|
|
1702
1771
|
selector: '[etObserveResize]',
|
|
@@ -1726,9 +1795,9 @@ class ScrollObserverFirstElementDirective {
|
|
|
1726
1795
|
this._isFirstElement = coerceBooleanProperty(value);
|
|
1727
1796
|
}
|
|
1728
1797
|
}
|
|
1729
|
-
ScrollObserverFirstElementDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1730
|
-
ScrollObserverFirstElementDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
1731
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1798
|
+
ScrollObserverFirstElementDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ScrollObserverFirstElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1799
|
+
ScrollObserverFirstElementDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.2", type: ScrollObserverFirstElementDirective, isStandalone: true, selector: "[etScrollObserverFirstElement]", inputs: { isFirstElement: ["etScrollObserverFirstElement", "isFirstElement"] }, host: { properties: { "class.et-scroll-observer-first-element": "this.isFirstElement" } }, ngImport: i0 });
|
|
1800
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ScrollObserverFirstElementDirective, decorators: [{
|
|
1732
1801
|
type: Directive,
|
|
1733
1802
|
args: [{
|
|
1734
1803
|
selector: '[etScrollObserverFirstElement]',
|
|
@@ -1745,9 +1814,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImpor
|
|
|
1745
1814
|
const SCROLL_OBSERVER_IGNORE_TARGET_CLASS = 'et-scroll-observer-ignore-target';
|
|
1746
1815
|
class ScrollObserverIgnoreTargetDirective {
|
|
1747
1816
|
}
|
|
1748
|
-
ScrollObserverIgnoreTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1749
|
-
ScrollObserverIgnoreTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
1750
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1817
|
+
ScrollObserverIgnoreTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ScrollObserverIgnoreTargetDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1818
|
+
ScrollObserverIgnoreTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.2", type: ScrollObserverIgnoreTargetDirective, isStandalone: true, selector: "[etScrollObserverIgnoreTarget]", host: { classAttribute: "et-scroll-observer-ignore-target" }, ngImport: i0 });
|
|
1819
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ScrollObserverIgnoreTargetDirective, decorators: [{
|
|
1751
1820
|
type: Directive,
|
|
1752
1821
|
args: [{
|
|
1753
1822
|
selector: '[etScrollObserverIgnoreTarget]',
|
|
@@ -1770,9 +1839,9 @@ class ScrollObserverLastElementDirective {
|
|
|
1770
1839
|
this._isLastElement = coerceBooleanProperty(value);
|
|
1771
1840
|
}
|
|
1772
1841
|
}
|
|
1773
|
-
ScrollObserverLastElementDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1774
|
-
ScrollObserverLastElementDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
1775
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1842
|
+
ScrollObserverLastElementDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ScrollObserverLastElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1843
|
+
ScrollObserverLastElementDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.2", 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 });
|
|
1844
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ScrollObserverLastElementDirective, decorators: [{
|
|
1776
1845
|
type: Directive,
|
|
1777
1846
|
args: [{
|
|
1778
1847
|
selector: '[etScrollObserverLastElement]',
|
|
@@ -1930,15 +1999,15 @@ class ObserveScrollStateDirective {
|
|
|
1930
1999
|
return element;
|
|
1931
2000
|
}
|
|
1932
2001
|
}
|
|
1933
|
-
ObserveScrollStateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1934
|
-
ObserveScrollStateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
2002
|
+
ObserveScrollStateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ObserveScrollStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2003
|
+
ObserveScrollStateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.2", type: ObserveScrollStateDirective, isStandalone: true, selector: "[etObserveScrollState]", inputs: { observerRootMargin: "observerRootMargin", observerThreshold: "observerThreshold" }, outputs: { valueChange: "etObserveScrollState" }, providers: [
|
|
1935
2004
|
{
|
|
1936
2005
|
provide: OBSERVE_SCROLL_STATE,
|
|
1937
2006
|
useExisting: ObserveScrollStateDirective,
|
|
1938
2007
|
},
|
|
1939
2008
|
DestroyService,
|
|
1940
2009
|
], exportAs: ["etObserveScrollState"], ngImport: i0 });
|
|
1941
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
2010
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ObserveScrollStateDirective, decorators: [{
|
|
1942
2011
|
type: Directive,
|
|
1943
2012
|
args: [{
|
|
1944
2013
|
selector: '[etObserveScrollState]',
|
|
@@ -1981,9 +2050,9 @@ class RepeatDirective {
|
|
|
1981
2050
|
}
|
|
1982
2051
|
}
|
|
1983
2052
|
}
|
|
1984
|
-
RepeatDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1985
|
-
RepeatDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
1986
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
2053
|
+
RepeatDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: RepeatDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2054
|
+
RepeatDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.2", type: RepeatDirective, isStandalone: true, selector: "[etRepeat]", inputs: { repeatCount: ["etRepeat", "repeatCount"] }, ngImport: i0 });
|
|
2055
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: RepeatDirective, decorators: [{
|
|
1987
2056
|
type: Directive,
|
|
1988
2057
|
args: [{
|
|
1989
2058
|
selector: '[etRepeat]',
|
|
@@ -2154,9 +2223,9 @@ class SeoDirective {
|
|
|
2154
2223
|
}
|
|
2155
2224
|
}
|
|
2156
2225
|
}
|
|
2157
|
-
SeoDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
2158
|
-
SeoDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
2159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
2226
|
+
SeoDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: SeoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2227
|
+
SeoDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.2", type: SeoDirective, isStandalone: true, providers: [{ provide: SEO_DIRECTIVE_TOKEN, useExisting: SeoDirective }], ngImport: i0 });
|
|
2228
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: SeoDirective, decorators: [{
|
|
2160
2229
|
type: Directive,
|
|
2161
2230
|
args: [{
|
|
2162
2231
|
standalone: true,
|
|
@@ -2203,9 +2272,9 @@ class NormalizeGameResultTypePipe {
|
|
|
2203
2272
|
this.transform = normalizeGameResultType;
|
|
2204
2273
|
}
|
|
2205
2274
|
}
|
|
2206
|
-
NormalizeGameResultTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
2207
|
-
NormalizeGameResultTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.
|
|
2208
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
2275
|
+
NormalizeGameResultTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: NormalizeGameResultTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2276
|
+
NormalizeGameResultTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.2", ngImport: i0, type: NormalizeGameResultTypePipe, isStandalone: true, name: "etNormalizeGameResultType" });
|
|
2277
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: NormalizeGameResultTypePipe, decorators: [{
|
|
2209
2278
|
type: Pipe,
|
|
2210
2279
|
args: [{ name: 'etNormalizeGameResultType', standalone: true }]
|
|
2211
2280
|
}] });
|
|
@@ -2234,9 +2303,9 @@ class NormalizeMatchStatePipe {
|
|
|
2234
2303
|
this.transform = normalizeMatchState;
|
|
2235
2304
|
}
|
|
2236
2305
|
}
|
|
2237
|
-
NormalizeMatchStatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
2238
|
-
NormalizeMatchStatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.
|
|
2239
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
2306
|
+
NormalizeMatchStatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: NormalizeMatchStatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2307
|
+
NormalizeMatchStatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.2", ngImport: i0, type: NormalizeMatchStatePipe, isStandalone: true, name: "etNormalizeMatchState" });
|
|
2308
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: NormalizeMatchStatePipe, decorators: [{
|
|
2240
2309
|
type: Pipe,
|
|
2241
2310
|
args: [{ name: 'etNormalizeMatchState', standalone: true }]
|
|
2242
2311
|
}] });
|
|
@@ -2293,9 +2362,9 @@ class NormalizeMatchParticipantsPipe {
|
|
|
2293
2362
|
this.transform = normalizeMatchParticipants;
|
|
2294
2363
|
}
|
|
2295
2364
|
}
|
|
2296
|
-
NormalizeMatchParticipantsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
2297
|
-
NormalizeMatchParticipantsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.
|
|
2298
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
2365
|
+
NormalizeMatchParticipantsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: NormalizeMatchParticipantsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2366
|
+
NormalizeMatchParticipantsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.2", ngImport: i0, type: NormalizeMatchParticipantsPipe, isStandalone: true, name: "etNormalizeMatchParticipants" });
|
|
2367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: NormalizeMatchParticipantsPipe, decorators: [{
|
|
2299
2368
|
type: Pipe,
|
|
2300
2369
|
args: [{ name: 'etNormalizeMatchParticipants', standalone: true }]
|
|
2301
2370
|
}] });
|
|
@@ -2421,9 +2490,9 @@ class NormalizeMatchScorePipe {
|
|
|
2421
2490
|
this.transform = normalizeMatchScore;
|
|
2422
2491
|
}
|
|
2423
2492
|
}
|
|
2424
|
-
NormalizeMatchScorePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
2425
|
-
NormalizeMatchScorePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.
|
|
2426
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
2493
|
+
NormalizeMatchScorePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: NormalizeMatchScorePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2494
|
+
NormalizeMatchScorePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.2", ngImport: i0, type: NormalizeMatchScorePipe, isStandalone: true, name: "etNormalizeMatchScore" });
|
|
2495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: NormalizeMatchScorePipe, decorators: [{
|
|
2427
2496
|
type: Pipe,
|
|
2428
2497
|
args: [{ name: 'etNormalizeMatchScore', standalone: true }]
|
|
2429
2498
|
}] });
|
|
@@ -2471,9 +2540,9 @@ class NormalizeMatchTypePipe {
|
|
|
2471
2540
|
this.transform = normalizeMatchType;
|
|
2472
2541
|
}
|
|
2473
2542
|
}
|
|
2474
|
-
NormalizeMatchTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
2475
|
-
NormalizeMatchTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.
|
|
2476
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
2543
|
+
NormalizeMatchTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: NormalizeMatchTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2544
|
+
NormalizeMatchTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.2", ngImport: i0, type: NormalizeMatchTypePipe, isStandalone: true, name: "etNormalizeMatchType" });
|
|
2545
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: NormalizeMatchTypePipe, decorators: [{
|
|
2477
2546
|
type: Pipe,
|
|
2478
2547
|
args: [{ name: 'etNormalizeMatchType', standalone: true }]
|
|
2479
2548
|
}] });
|
|
@@ -2488,9 +2557,9 @@ class ToArrayPipe {
|
|
|
2488
2557
|
this.transform = toArray;
|
|
2489
2558
|
}
|
|
2490
2559
|
}
|
|
2491
|
-
ToArrayPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
2492
|
-
ToArrayPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.
|
|
2493
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
2560
|
+
ToArrayPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ToArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2561
|
+
ToArrayPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.2", ngImport: i0, type: ToArrayPipe, isStandalone: true, name: "toArray" });
|
|
2562
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ToArrayPipe, decorators: [{
|
|
2494
2563
|
type: Pipe,
|
|
2495
2564
|
args: [{ name: 'toArray', standalone: true }]
|
|
2496
2565
|
}] });
|
|
@@ -2578,5 +2647,5 @@ const Validators = {
|
|
|
2578
2647
|
* Generated bundle index. Do not edit.
|
|
2579
2648
|
*/
|
|
2580
2649
|
|
|
2581
|
-
export { ANIMATABLE_TOKEN, ANIMATED_LIFECYCLE_TOKEN, AnimatableDirective, AnimatedLifecycleDirective, BehaviorSubjectWithSubscriberCount, ClickObserverFactory, ClickObserverService, ClickOutsideDirective, ContentObserverService, CursorDragScrollDirective, DEFAULT_VIEWPORT_CONFIG, DestroyService, FocusVisibleService, IS_ARRAY_NOT_EMPTY, IS_EMAIL, IsArrayNotEmpty, IsEmail, LetContext, LetDirective, MUST_MATCH, Memo, MustMatch, MutationObserverFactory, NormalizeGameResultTypePipe, NormalizeMatchParticipantsPipe, NormalizeMatchScorePipe, NormalizeMatchStatePipe, NormalizeMatchTypePipe, OBSERVE_SCROLL_STATE, ObserveContentDirective, ObserveResizeDirective, ObserveScrollStateDirective, RepeatDirective, ResizeObserverFactory, ResizeObserverService, RouterStateService, SCROLL_OBSERVER_FIRST_ELEMENT_CLASS, SCROLL_OBSERVER_IGNORE_TARGET_CLASS, SCROLL_OBSERVER_LAST_ELEMENT_CLASS, SEO_DIRECTIVE_TOKEN, ScrollObserverFirstElementDirective, ScrollObserverIgnoreTargetDirective, ScrollObserverLastElementDirective, SeoDirective, StructuredDataComponent, ToArrayPipe, TypedQueryList, VIEWPORT_CONFIG, Validators, ViewportService, clamp, clone, createFlipAnimation, createFlipAnimationGroup, createMediaQueryObservable, createReactiveBindings, deleteCookie, elementCanScroll, equal, forceReflow, fromNextFrame, getCookie, getDomain, getGroupMatchPoints, getGroupMatchScore, getKnockoutMatchScore, getMatchScoreSubLine, hasCookie, isGroupMatch, isKnockoutMatch, mergeSeoConfig, nextFrame, normalizeGameResultType, normalizeMatchParticipant, normalizeMatchParticipants, normalizeMatchScore, normalizeMatchState, normalizeMatchType, provideViewportConfig, routerDisableScrollTop, setCookie, toArray, toArrayTrackByFn };
|
|
2650
|
+
export { ANIMATABLE_TOKEN, ANIMATED_LIFECYCLE_TOKEN, AnimatableDirective, AnimatedLifecycleDirective, BehaviorSubjectWithSubscriberCount, ClickObserverFactory, ClickObserverService, ClickOutsideDirective, ContentObserverService, CursorDragScrollDirective, DEFAULT_VIEWPORT_CONFIG, DestroyService, FocusVisibleService, IS_ARRAY_NOT_EMPTY, IS_EMAIL, IsArrayNotEmpty, IsEmail, LetContext, LetDirective, MUST_MATCH, Memo, MustMatch, MutationObserverFactory, NormalizeGameResultTypePipe, NormalizeMatchParticipantsPipe, NormalizeMatchScorePipe, NormalizeMatchStatePipe, NormalizeMatchTypePipe, OBSERVE_SCROLL_STATE, ObserveContentDirective, ObserveResizeDirective, ObserveScrollStateDirective, RepeatDirective, ResizeObserverFactory, ResizeObserverService, RouterStateService, SCROLL_OBSERVER_FIRST_ELEMENT_CLASS, SCROLL_OBSERVER_IGNORE_TARGET_CLASS, SCROLL_OBSERVER_LAST_ELEMENT_CLASS, SEO_DIRECTIVE_TOKEN, ScrollObserverFirstElementDirective, ScrollObserverIgnoreTargetDirective, ScrollObserverLastElementDirective, SeoDirective, SmartBlockScrollStrategy, StructuredDataComponent, ToArrayPipe, TypedQueryList, VIEWPORT_CONFIG, Validators, ViewportService, clamp, clone, createFlipAnimation, createFlipAnimationGroup, createMediaQueryObservable, createReactiveBindings, deleteCookie, elementCanScroll, equal, forceReflow, fromNextFrame, getCookie, getDomain, getGroupMatchPoints, getGroupMatchScore, getKnockoutMatchScore, getMatchScoreSubLine, hasCookie, isGroupMatch, isKnockoutMatch, mergeSeoConfig, nextFrame, normalizeGameResultType, normalizeMatchParticipant, normalizeMatchParticipants, normalizeMatchScore, normalizeMatchState, normalizeMatchType, provideViewportConfig, routerDisableScrollTop, setCookie, toArray, toArrayTrackByFn };
|
|
2582
2651
|
//# sourceMappingURL=ethlete-core.mjs.map
|