@ethlete/core 0.2.0-next.11 → 0.2.0-next.13
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/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/viewport.service.mjs +3 -3
- package/esm2020/lib/types/angular.types.mjs +27 -2
- package/esm2020/lib/utils/reactive-binding.util.mjs +45 -10
- package/fesm2015/ethlete-core.mjs +153 -92
- package/fesm2015/ethlete-core.mjs.map +1 -1
- package/fesm2020/ethlete-core.mjs +153 -92
- package/fesm2020/ethlete-core.mjs.map +1 -1
- package/lib/types/angular.types.d.ts +10 -0
- package/lib/utils/reactive-binding.util.d.ts +9 -4
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, HostBinding, InjectionToken, Injectable, Inject, Optional, ElementRef, EventEmitter, Directive, Output, NgZone, Pipe } from '@angular/core';
|
|
2
|
+
import { inject, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, HostBinding, InjectionToken, Injectable, Inject, Optional, ElementRef, EventEmitter, Directive, Output, NgZone, Pipe, QueryList } from '@angular/core';
|
|
3
3
|
import { DomSanitizer, Meta, Title } from '@angular/platform-browser';
|
|
4
4
|
import { coerceElement, coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
|
|
5
5
|
import { fromEvent, Observable, Subject, BehaviorSubject, combineLatest, map, shareReplay, takeUntil, distinctUntilChanged, startWith, debounceTime, tap, take } from 'rxjs';
|
|
@@ -21,9 +21,9 @@ class StructuredDataComponent {
|
|
|
21
21
|
return this._sanitizer.bypassSecurityTrustHtml(html);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
StructuredDataComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
25
|
-
StructuredDataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
24
|
+
StructuredDataComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: StructuredDataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
+
StructuredDataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.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 });
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: StructuredDataComponent, decorators: [{
|
|
27
27
|
type: Component,
|
|
28
28
|
args: [{
|
|
29
29
|
selector: 'et-structured-data',
|
|
@@ -91,9 +91,9 @@ class ClickObserverFactory {
|
|
|
91
91
|
return fromEvent(document, 'click');
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
ClickObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
95
|
-
ClickObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.
|
|
96
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
94
|
+
ClickObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ClickObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
95
|
+
ClickObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ClickObserverFactory, providedIn: 'root' });
|
|
96
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ClickObserverFactory, decorators: [{
|
|
97
97
|
type: Injectable,
|
|
98
98
|
args: [{ providedIn: 'root' }]
|
|
99
99
|
}] });
|
|
@@ -147,9 +147,9 @@ class ClickObserverService {
|
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
|
-
ClickObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
151
|
-
ClickObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.
|
|
152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
150
|
+
ClickObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ClickObserverService, deps: [{ token: ClickObserverFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
151
|
+
ClickObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ClickObserverService, providedIn: 'root' });
|
|
152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ClickObserverService, decorators: [{
|
|
153
153
|
type: Injectable,
|
|
154
154
|
args: [{ providedIn: 'root' }]
|
|
155
155
|
}], ctorParameters: function () { return [{ type: ClickObserverFactory }]; } });
|
|
@@ -160,9 +160,9 @@ class MutationObserverFactory {
|
|
|
160
160
|
return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
|
-
MutationObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
164
|
-
MutationObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.
|
|
165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
163
|
+
MutationObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: MutationObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
164
|
+
MutationObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: MutationObserverFactory, providedIn: 'root' });
|
|
165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: MutationObserverFactory, decorators: [{
|
|
166
166
|
type: Injectable,
|
|
167
167
|
args: [{ providedIn: 'root' }]
|
|
168
168
|
}] });
|
|
@@ -222,9 +222,9 @@ class ContentObserverService {
|
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
|
-
ContentObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
226
|
-
ContentObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.
|
|
227
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
225
|
+
ContentObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ContentObserverService, deps: [{ token: MutationObserverFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
226
|
+
ContentObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ContentObserverService, providedIn: 'root' });
|
|
227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ContentObserverService, decorators: [{
|
|
228
228
|
type: Injectable,
|
|
229
229
|
args: [{ providedIn: 'root' }]
|
|
230
230
|
}], ctorParameters: function () { return [{ type: MutationObserverFactory }]; } });
|
|
@@ -239,9 +239,9 @@ class DestroyService {
|
|
|
239
239
|
this._destroy$.unsubscribe();
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
|
-
DestroyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
243
|
-
DestroyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.
|
|
244
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
242
|
+
DestroyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: DestroyService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
243
|
+
DestroyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: DestroyService });
|
|
244
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: DestroyService, decorators: [{
|
|
245
245
|
type: Injectable
|
|
246
246
|
}] });
|
|
247
247
|
|
|
@@ -267,9 +267,9 @@ class FocusVisibleService {
|
|
|
267
267
|
this._hadKeyboardEvent = false;
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
-
FocusVisibleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
271
|
-
FocusVisibleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.
|
|
272
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
270
|
+
FocusVisibleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: FocusVisibleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
271
|
+
FocusVisibleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: FocusVisibleService, providedIn: 'root' });
|
|
272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: FocusVisibleService, decorators: [{
|
|
273
273
|
type: Injectable,
|
|
274
274
|
args: [{
|
|
275
275
|
providedIn: 'root',
|
|
@@ -282,9 +282,9 @@ class ResizeObserverFactory {
|
|
|
282
282
|
return typeof ResizeObserver === 'undefined' ? null : new ResizeObserver(callback);
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
|
-
ResizeObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
286
|
-
ResizeObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.
|
|
287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
285
|
+
ResizeObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ResizeObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
286
|
+
ResizeObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ResizeObserverFactory, providedIn: 'root' });
|
|
287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ResizeObserverFactory, decorators: [{
|
|
288
288
|
type: Injectable,
|
|
289
289
|
args: [{ providedIn: 'root' }]
|
|
290
290
|
}] });
|
|
@@ -340,9 +340,9 @@ class ResizeObserverService {
|
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
ResizeObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
344
|
-
ResizeObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.
|
|
345
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
343
|
+
ResizeObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ResizeObserverService, deps: [{ token: ResizeObserverFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
344
|
+
ResizeObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ResizeObserverService, providedIn: 'root' });
|
|
345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ResizeObserverService, decorators: [{
|
|
346
346
|
type: Injectable,
|
|
347
347
|
args: [{ providedIn: 'root' }]
|
|
348
348
|
}], ctorParameters: function () { return [{ type: ResizeObserverFactory }]; } });
|
|
@@ -477,8 +477,8 @@ class ViewportService {
|
|
|
477
477
|
return 'xs';
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
ViewportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
481
|
-
ViewportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.
|
|
480
|
+
ViewportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ViewportService, deps: [{ token: VIEWPORT_CONFIG, optional: true }, { token: i1.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
481
|
+
ViewportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ViewportService, providedIn: 'root' });
|
|
482
482
|
__decorate([
|
|
483
483
|
Memo(),
|
|
484
484
|
__metadata("design:type", Function),
|
|
@@ -496,7 +496,7 @@ __decorate([
|
|
|
496
496
|
__metadata("design:paramtypes", [Object]),
|
|
497
497
|
__metadata("design:returntype", void 0)
|
|
498
498
|
], ViewportService.prototype, "_buildMediaQuery", null);
|
|
499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ViewportService, decorators: [{
|
|
500
500
|
type: Injectable,
|
|
501
501
|
args: [{
|
|
502
502
|
providedIn: 'root',
|
|
@@ -533,9 +533,9 @@ class ClickOutsideDirective {
|
|
|
533
533
|
(_a = this._subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
|
-
ClickOutsideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
537
|
-
ClickOutsideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
538
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
536
|
+
ClickOutsideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ClickOutsideDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
537
|
+
ClickOutsideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: ClickOutsideDirective, isStandalone: true, selector: "[etClickOutside]", outputs: { etClickOutside: "etClickOutside" }, ngImport: i0 });
|
|
538
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ClickOutsideDirective, decorators: [{
|
|
539
539
|
type: Directive,
|
|
540
540
|
args: [{
|
|
541
541
|
selector: '[etClickOutside]',
|
|
@@ -549,31 +549,66 @@ const clamp = (value, min = 0, max = 100) => {
|
|
|
549
549
|
return Math.max(min, Math.min(max, value));
|
|
550
550
|
};
|
|
551
551
|
|
|
552
|
+
const isAttributeRenderBinding = (value) => typeof value === 'boolean';
|
|
553
|
+
const isAttributeValueBinding = (value) => typeof value === 'object';
|
|
552
554
|
const createReactiveBindings = (...values) => {
|
|
553
|
-
const
|
|
555
|
+
const rootElementRef = inject(ElementRef);
|
|
554
556
|
const destroy$ = inject(DestroyService).destroy$;
|
|
555
557
|
const subscriptions = [];
|
|
556
558
|
const pushedAttributes = [];
|
|
557
559
|
const defaults = {};
|
|
558
560
|
const push = (value) => {
|
|
559
|
-
const { attribute, observable } = value;
|
|
561
|
+
const { attribute, observable, elementRef } = value;
|
|
562
|
+
const elRef = elementRef || rootElementRef;
|
|
560
563
|
const attributes = Array.isArray(attribute) ? attribute : [attribute];
|
|
561
564
|
pushedAttributes.push(attributes);
|
|
562
565
|
for (const attribute of attributes) {
|
|
563
566
|
if (!defaults[attribute]) {
|
|
564
|
-
defaults[attribute] =
|
|
567
|
+
defaults[attribute] = elRef.nativeElement.getAttribute(attribute) || undefined;
|
|
565
568
|
}
|
|
566
569
|
}
|
|
567
570
|
const subscription = observable
|
|
568
|
-
.pipe(takeUntil(destroy$), distinctUntilChanged((a, b) =>
|
|
571
|
+
.pipe(takeUntil(destroy$), distinctUntilChanged((a, b) => {
|
|
572
|
+
if (isAttributeRenderBinding(a) && isAttributeRenderBinding(b)) {
|
|
573
|
+
return a === b;
|
|
574
|
+
}
|
|
575
|
+
else if (isAttributeValueBinding(a) && isAttributeValueBinding(b)) {
|
|
576
|
+
return a.render === b.render && a.value === b.value;
|
|
577
|
+
}
|
|
578
|
+
return false;
|
|
579
|
+
}))
|
|
569
580
|
.subscribe((value) => {
|
|
570
581
|
const currentAttributes = pushedAttributes.find((s) => s.some((current) => attributes.includes(current))) || [];
|
|
571
582
|
for (const attribute of currentAttributes) {
|
|
572
|
-
|
|
573
|
-
|
|
583
|
+
const isSingleClassMutation = attribute.startsWith('class.');
|
|
584
|
+
const isMultipleClassMutation = attribute === 'class';
|
|
585
|
+
const render = isAttributeRenderBinding(value) ? value : value.render;
|
|
586
|
+
if (isSingleClassMutation) {
|
|
587
|
+
const className = attribute.replace('class.', '');
|
|
588
|
+
if (!render) {
|
|
589
|
+
elRef.nativeElement.classList.remove(className);
|
|
590
|
+
}
|
|
591
|
+
else {
|
|
592
|
+
elRef.nativeElement.classList.add(className);
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
else if (isMultipleClassMutation) {
|
|
596
|
+
const classes = isAttributeRenderBinding(value) ? '' : `${value.value}`;
|
|
597
|
+
if (!render) {
|
|
598
|
+
elRef.nativeElement.classList.remove(...classes.split(' '));
|
|
599
|
+
}
|
|
600
|
+
else {
|
|
601
|
+
elRef.nativeElement.classList.add(...classes.split(' '));
|
|
602
|
+
}
|
|
574
603
|
}
|
|
575
604
|
else {
|
|
576
|
-
|
|
605
|
+
const attributeValue = isAttributeRenderBinding(value) ? true : `${value.value}`;
|
|
606
|
+
if (!render) {
|
|
607
|
+
elRef.nativeElement.removeAttribute(attribute);
|
|
608
|
+
}
|
|
609
|
+
else {
|
|
610
|
+
elRef.nativeElement.setAttribute(attribute, `${attributeValue}`);
|
|
611
|
+
}
|
|
577
612
|
}
|
|
578
613
|
}
|
|
579
614
|
});
|
|
@@ -596,10 +631,10 @@ const createReactiveBindings = (...values) => {
|
|
|
596
631
|
const reset = () => {
|
|
597
632
|
for (const attribute in defaults) {
|
|
598
633
|
if (defaults[attribute] === undefined) {
|
|
599
|
-
|
|
634
|
+
rootElementRef.nativeElement.removeAttribute(attribute);
|
|
600
635
|
}
|
|
601
636
|
else {
|
|
602
|
-
|
|
637
|
+
rootElementRef.nativeElement.setAttribute(attribute, defaults[attribute]);
|
|
603
638
|
}
|
|
604
639
|
}
|
|
605
640
|
};
|
|
@@ -753,9 +788,9 @@ class CursorDragScrollDirective {
|
|
|
753
788
|
}
|
|
754
789
|
}
|
|
755
790
|
}
|
|
756
|
-
CursorDragScrollDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
757
|
-
CursorDragScrollDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
758
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
791
|
+
CursorDragScrollDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: CursorDragScrollDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
792
|
+
CursorDragScrollDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: CursorDragScrollDirective, isStandalone: true, selector: "[etCursorDragScroll]", inputs: { enabled: ["etCursorDragScroll", "enabled"] }, providers: [DestroyService], exportAs: ["etCursorDragScroll"], ngImport: i0 });
|
|
793
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: CursorDragScrollDirective, decorators: [{
|
|
759
794
|
type: Directive,
|
|
760
795
|
args: [{
|
|
761
796
|
selector: '[etCursorDragScroll]',
|
|
@@ -802,9 +837,9 @@ class LetDirective {
|
|
|
802
837
|
}
|
|
803
838
|
}
|
|
804
839
|
}
|
|
805
|
-
LetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
806
|
-
LetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
807
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
840
|
+
LetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: LetDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
841
|
+
LetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: LetDirective, isStandalone: true, selector: "[etLet]", inputs: { etLet: "etLet" }, ngImport: i0 });
|
|
842
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: LetDirective, decorators: [{
|
|
808
843
|
type: Directive,
|
|
809
844
|
args: [{
|
|
810
845
|
selector: '[etLet]',
|
|
@@ -858,9 +893,9 @@ class ObserveContentDirective {
|
|
|
858
893
|
(_a = this._currentSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
859
894
|
}
|
|
860
895
|
}
|
|
861
|
-
ObserveContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
862
|
-
ObserveContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
863
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
896
|
+
ObserveContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ObserveContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
897
|
+
ObserveContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: ObserveContentDirective, isStandalone: true, selector: "[etObserveContent]", inputs: { disabled: ["etObserveContentDisabled", "disabled"], debounce: ["etObserveContentDebounce", "debounce"] }, outputs: { event: "etObserveContent" }, exportAs: ["etObserveContent"], ngImport: i0 });
|
|
898
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ObserveContentDirective, decorators: [{
|
|
864
899
|
type: Directive,
|
|
865
900
|
args: [{
|
|
866
901
|
selector: '[etObserveContent]',
|
|
@@ -922,9 +957,9 @@ class ObserveResizeDirective {
|
|
|
922
957
|
(_a = this._currentSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
923
958
|
}
|
|
924
959
|
}
|
|
925
|
-
ObserveResizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
926
|
-
ObserveResizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
927
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
960
|
+
ObserveResizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ObserveResizeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
961
|
+
ObserveResizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: ObserveResizeDirective, isStandalone: true, selector: "[etObserveResize]", inputs: { disabled: ["etObserveResizeDisabled", "disabled"], debounce: ["etObserveResizeDebounce", "debounce"] }, outputs: { event: "etObserveResize" }, exportAs: ["etObserveResize"], ngImport: i0 });
|
|
962
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ObserveResizeDirective, decorators: [{
|
|
928
963
|
type: Directive,
|
|
929
964
|
args: [{
|
|
930
965
|
selector: '[etObserveResize]',
|
|
@@ -954,9 +989,9 @@ class ScrollObserverFirstElementDirective {
|
|
|
954
989
|
this._isFirstElement = coerceBooleanProperty(value);
|
|
955
990
|
}
|
|
956
991
|
}
|
|
957
|
-
ScrollObserverFirstElementDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
958
|
-
ScrollObserverFirstElementDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
959
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
992
|
+
ScrollObserverFirstElementDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ScrollObserverFirstElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
993
|
+
ScrollObserverFirstElementDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: ScrollObserverFirstElementDirective, isStandalone: true, selector: "[etScrollObserverFirstElement]", inputs: { isFirstElement: ["etScrollObserverFirstElement", "isFirstElement"] }, host: { properties: { "class.et-scroll-observer-first-element": "this.isFirstElement" } }, ngImport: i0 });
|
|
994
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ScrollObserverFirstElementDirective, decorators: [{
|
|
960
995
|
type: Directive,
|
|
961
996
|
args: [{
|
|
962
997
|
selector: '[etScrollObserverFirstElement]',
|
|
@@ -973,9 +1008,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
|
|
|
973
1008
|
const SCROLL_OBSERVER_IGNORE_TARGET_CLASS = 'et-scroll-observer-ignore-target';
|
|
974
1009
|
class ScrollObserverIgnoreTargetDirective {
|
|
975
1010
|
}
|
|
976
|
-
ScrollObserverIgnoreTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
977
|
-
ScrollObserverIgnoreTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
978
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1011
|
+
ScrollObserverIgnoreTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ScrollObserverIgnoreTargetDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1012
|
+
ScrollObserverIgnoreTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: ScrollObserverIgnoreTargetDirective, isStandalone: true, selector: "[etScrollObserverIgnoreTarget]", host: { classAttribute: "et-scroll-observer-ignore-target" }, ngImport: i0 });
|
|
1013
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ScrollObserverIgnoreTargetDirective, decorators: [{
|
|
979
1014
|
type: Directive,
|
|
980
1015
|
args: [{
|
|
981
1016
|
selector: '[etScrollObserverIgnoreTarget]',
|
|
@@ -998,9 +1033,9 @@ class ScrollObserverLastElementDirective {
|
|
|
998
1033
|
this._isLastElement = coerceBooleanProperty(value);
|
|
999
1034
|
}
|
|
1000
1035
|
}
|
|
1001
|
-
ScrollObserverLastElementDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1002
|
-
ScrollObserverLastElementDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
1003
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1036
|
+
ScrollObserverLastElementDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ScrollObserverLastElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1037
|
+
ScrollObserverLastElementDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", 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 });
|
|
1038
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ScrollObserverLastElementDirective, decorators: [{
|
|
1004
1039
|
type: Directive,
|
|
1005
1040
|
args: [{
|
|
1006
1041
|
selector: '[etScrollObserverLastElement]',
|
|
@@ -1154,15 +1189,15 @@ class ObserveScrollStateDirective {
|
|
|
1154
1189
|
return element;
|
|
1155
1190
|
}
|
|
1156
1191
|
}
|
|
1157
|
-
ObserveScrollStateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1158
|
-
ObserveScrollStateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
1192
|
+
ObserveScrollStateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ObserveScrollStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1193
|
+
ObserveScrollStateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: ObserveScrollStateDirective, isStandalone: true, selector: "[etObserveScrollState]", inputs: { observerRootMargin: "observerRootMargin", observerThreshold: "observerThreshold" }, outputs: { etObserveScrollState: "etObserveScrollState" }, providers: [
|
|
1159
1194
|
{
|
|
1160
1195
|
provide: OBSERVE_SCROLL_STATE,
|
|
1161
1196
|
useExisting: ObserveScrollStateDirective,
|
|
1162
1197
|
},
|
|
1163
1198
|
DestroyService,
|
|
1164
1199
|
], exportAs: ["etObserveScrollState"], ngImport: i0 });
|
|
1165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ObserveScrollStateDirective, decorators: [{
|
|
1166
1201
|
type: Directive,
|
|
1167
1202
|
args: [{
|
|
1168
1203
|
selector: '[etObserveScrollState]',
|
|
@@ -1204,9 +1239,9 @@ class RepeatDirective {
|
|
|
1204
1239
|
}
|
|
1205
1240
|
}
|
|
1206
1241
|
}
|
|
1207
|
-
RepeatDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1208
|
-
RepeatDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
1209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1242
|
+
RepeatDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: RepeatDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1243
|
+
RepeatDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: RepeatDirective, isStandalone: true, selector: "[etRepeat]", inputs: { repeatCount: ["etRepeat", "repeatCount"] }, ngImport: i0 });
|
|
1244
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: RepeatDirective, decorators: [{
|
|
1210
1245
|
type: Directive,
|
|
1211
1246
|
args: [{
|
|
1212
1247
|
selector: '[etRepeat]',
|
|
@@ -1377,9 +1412,9 @@ class SeoDirective {
|
|
|
1377
1412
|
}
|
|
1378
1413
|
}
|
|
1379
1414
|
}
|
|
1380
|
-
SeoDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1381
|
-
SeoDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
1382
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1415
|
+
SeoDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: SeoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1416
|
+
SeoDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: SeoDirective, isStandalone: true, providers: [{ provide: SEO_DIRECTIVE_TOKEN, useExisting: SeoDirective }], ngImport: i0 });
|
|
1417
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: SeoDirective, decorators: [{
|
|
1383
1418
|
type: Directive,
|
|
1384
1419
|
args: [{
|
|
1385
1420
|
standalone: true,
|
|
@@ -1426,9 +1461,9 @@ class NormalizeGameResultTypePipe {
|
|
|
1426
1461
|
this.transform = normalizeGameResultType;
|
|
1427
1462
|
}
|
|
1428
1463
|
}
|
|
1429
|
-
NormalizeGameResultTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1430
|
-
NormalizeGameResultTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.
|
|
1431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1464
|
+
NormalizeGameResultTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: NormalizeGameResultTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1465
|
+
NormalizeGameResultTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.1", ngImport: i0, type: NormalizeGameResultTypePipe, isStandalone: true, name: "etNormalizeGameResultType" });
|
|
1466
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: NormalizeGameResultTypePipe, decorators: [{
|
|
1432
1467
|
type: Pipe,
|
|
1433
1468
|
args: [{ name: 'etNormalizeGameResultType', standalone: true }]
|
|
1434
1469
|
}] });
|
|
@@ -1457,9 +1492,9 @@ class NormalizeMatchStatePipe {
|
|
|
1457
1492
|
this.transform = normalizeMatchState;
|
|
1458
1493
|
}
|
|
1459
1494
|
}
|
|
1460
|
-
NormalizeMatchStatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1461
|
-
NormalizeMatchStatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.
|
|
1462
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1495
|
+
NormalizeMatchStatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: NormalizeMatchStatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1496
|
+
NormalizeMatchStatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.1", ngImport: i0, type: NormalizeMatchStatePipe, isStandalone: true, name: "etNormalizeMatchState" });
|
|
1497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: NormalizeMatchStatePipe, decorators: [{
|
|
1463
1498
|
type: Pipe,
|
|
1464
1499
|
args: [{ name: 'etNormalizeMatchState', standalone: true }]
|
|
1465
1500
|
}] });
|
|
@@ -1516,9 +1551,9 @@ class NormalizeMatchParticipantsPipe {
|
|
|
1516
1551
|
this.transform = normalizeMatchParticipants;
|
|
1517
1552
|
}
|
|
1518
1553
|
}
|
|
1519
|
-
NormalizeMatchParticipantsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1520
|
-
NormalizeMatchParticipantsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.
|
|
1521
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1554
|
+
NormalizeMatchParticipantsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: NormalizeMatchParticipantsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1555
|
+
NormalizeMatchParticipantsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.1", ngImport: i0, type: NormalizeMatchParticipantsPipe, isStandalone: true, name: "etNormalizeMatchParticipants" });
|
|
1556
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: NormalizeMatchParticipantsPipe, decorators: [{
|
|
1522
1557
|
type: Pipe,
|
|
1523
1558
|
args: [{ name: 'etNormalizeMatchParticipants', standalone: true }]
|
|
1524
1559
|
}] });
|
|
@@ -1644,9 +1679,9 @@ class NormalizeMatchScorePipe {
|
|
|
1644
1679
|
this.transform = normalizeMatchScore;
|
|
1645
1680
|
}
|
|
1646
1681
|
}
|
|
1647
|
-
NormalizeMatchScorePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1648
|
-
NormalizeMatchScorePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.
|
|
1649
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1682
|
+
NormalizeMatchScorePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: NormalizeMatchScorePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1683
|
+
NormalizeMatchScorePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.1", ngImport: i0, type: NormalizeMatchScorePipe, isStandalone: true, name: "etNormalizeMatchScore" });
|
|
1684
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: NormalizeMatchScorePipe, decorators: [{
|
|
1650
1685
|
type: Pipe,
|
|
1651
1686
|
args: [{ name: 'etNormalizeMatchScore', standalone: true }]
|
|
1652
1687
|
}] });
|
|
@@ -1694,9 +1729,9 @@ class NormalizeMatchTypePipe {
|
|
|
1694
1729
|
this.transform = normalizeMatchType;
|
|
1695
1730
|
}
|
|
1696
1731
|
}
|
|
1697
|
-
NormalizeMatchTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1698
|
-
NormalizeMatchTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.
|
|
1699
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1732
|
+
NormalizeMatchTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: NormalizeMatchTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1733
|
+
NormalizeMatchTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.1", ngImport: i0, type: NormalizeMatchTypePipe, isStandalone: true, name: "etNormalizeMatchType" });
|
|
1734
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: NormalizeMatchTypePipe, decorators: [{
|
|
1700
1735
|
type: Pipe,
|
|
1701
1736
|
args: [{ name: 'etNormalizeMatchType', standalone: true }]
|
|
1702
1737
|
}] });
|
|
@@ -1711,16 +1746,42 @@ class ToArrayPipe {
|
|
|
1711
1746
|
this.transform = toArray;
|
|
1712
1747
|
}
|
|
1713
1748
|
}
|
|
1714
|
-
ToArrayPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1715
|
-
ToArrayPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.
|
|
1716
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1749
|
+
ToArrayPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1750
|
+
ToArrayPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.1", ngImport: i0, type: ToArrayPipe, isStandalone: true, name: "toArray" });
|
|
1751
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToArrayPipe, decorators: [{
|
|
1717
1752
|
type: Pipe,
|
|
1718
1753
|
args: [{ name: 'toArray', standalone: true }]
|
|
1719
1754
|
}] });
|
|
1720
1755
|
|
|
1756
|
+
var _a;
|
|
1757
|
+
class TypedQueryList extends QueryList {
|
|
1758
|
+
constructor() {
|
|
1759
|
+
super(...arguments);
|
|
1760
|
+
this[_a] = () => {
|
|
1761
|
+
return super[Symbol.iterator]();
|
|
1762
|
+
};
|
|
1763
|
+
}
|
|
1764
|
+
get changes() {
|
|
1765
|
+
return super.changes;
|
|
1766
|
+
}
|
|
1767
|
+
toArray() {
|
|
1768
|
+
return super.toArray();
|
|
1769
|
+
}
|
|
1770
|
+
forEach(fn) {
|
|
1771
|
+
super.forEach(fn);
|
|
1772
|
+
}
|
|
1773
|
+
filter(fn) {
|
|
1774
|
+
return super.filter(fn);
|
|
1775
|
+
}
|
|
1776
|
+
map(fn) {
|
|
1777
|
+
return super.map(fn);
|
|
1778
|
+
}
|
|
1779
|
+
}
|
|
1780
|
+
_a = Symbol.iterator;
|
|
1781
|
+
|
|
1721
1782
|
/**
|
|
1722
1783
|
* Generated bundle index. Do not edit.
|
|
1723
1784
|
*/
|
|
1724
1785
|
|
|
1725
|
-
export { ClickObserverFactory, ClickObserverService, ClickOutsideDirective, ContentObserverService, CursorDragScrollDirective, DEFAULT_VIEWPORT_CONFIG, DestroyService, FocusVisibleService, LetContext, LetDirective, Memo, MutationObserverFactory, NormalizeGameResultTypePipe, NormalizeMatchParticipantsPipe, NormalizeMatchScorePipe, NormalizeMatchStatePipe, NormalizeMatchTypePipe, OBSERVE_SCROLL_STATE, ObserveContentDirective, ObserveResizeDirective, ObserveScrollStateDirective, RepeatDirective, ResizeObserverFactory, ResizeObserverService, SCROLL_OBSERVER_FIRST_ELEMENT_CLASS, SCROLL_OBSERVER_IGNORE_TARGET_CLASS, SCROLL_OBSERVER_LAST_ELEMENT_CLASS, SEO_DIRECTIVE_TOKEN, ScrollObserverFirstElementDirective, ScrollObserverIgnoreTargetDirective, ScrollObserverLastElementDirective, SeoDirective, StructuredDataComponent, ToArrayPipe, VIEWPORT_CONFIG, ViewportService, clamp, createReactiveBindings, elementCanScroll, getGroupMatchPoints, getGroupMatchScore, getKnockoutMatchScore, getMatchScoreSubLine, isGroupMatch, isKnockoutMatch, mergeSeoConfig, normalizeGameResultType, normalizeMatchParticipant, normalizeMatchParticipants, normalizeMatchScore, normalizeMatchState, normalizeMatchType, provideViewportConfig, toArray, toArrayTrackByFn };
|
|
1786
|
+
export { ClickObserverFactory, ClickObserverService, ClickOutsideDirective, ContentObserverService, CursorDragScrollDirective, DEFAULT_VIEWPORT_CONFIG, DestroyService, FocusVisibleService, LetContext, LetDirective, Memo, MutationObserverFactory, NormalizeGameResultTypePipe, NormalizeMatchParticipantsPipe, NormalizeMatchScorePipe, NormalizeMatchStatePipe, NormalizeMatchTypePipe, OBSERVE_SCROLL_STATE, ObserveContentDirective, ObserveResizeDirective, ObserveScrollStateDirective, RepeatDirective, ResizeObserverFactory, ResizeObserverService, 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, ViewportService, clamp, createReactiveBindings, elementCanScroll, getGroupMatchPoints, getGroupMatchScore, getKnockoutMatchScore, getMatchScoreSubLine, isGroupMatch, isKnockoutMatch, mergeSeoConfig, normalizeGameResultType, normalizeMatchParticipant, normalizeMatchParticipants, normalizeMatchScore, normalizeMatchState, normalizeMatchType, provideViewportConfig, toArray, toArrayTrackByFn };
|
|
1726
1787
|
//# sourceMappingURL=ethlete-core.mjs.map
|