@ethlete/core 0.2.0-next.16 → 0.2.0-next.18
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 +5 -5
- 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 +5 -5
- 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 +4 -1
- package/esm2020/lib/utils/clone.util.mjs +78 -0
- package/esm2020/lib/utils/equal.util.mjs +118 -0
- package/esm2020/lib/utils/public-api.mjs +3 -1
- package/esm2020/lib/utils/reactive-binding.util.mjs +2 -2
- package/fesm2015/ethlete-core.mjs +284 -85
- package/fesm2015/ethlete-core.mjs.map +1 -1
- package/fesm2020/ethlete-core.mjs +284 -85
- package/fesm2020/ethlete-core.mjs.map +1 -1
- package/lib/types/angular.types.d.ts +1 -0
- package/lib/utils/clone.util.d.ts +15 -0
- package/lib/utils/equal.util.d.ts +27 -0
- package/lib/utils/public-api.d.ts +2 -0
- package/package.json +3 -3
|
@@ -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.4", ngImport: i0, type: StructuredDataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
+
StructuredDataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", 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.4", ngImport: i0, type: StructuredDataComponent, decorators: [{
|
|
27
27
|
type: Component,
|
|
28
28
|
args: [{
|
|
29
29
|
selector: 'et-structured-data',
|
|
@@ -89,9 +89,9 @@ class ClickObserverFactory {
|
|
|
89
89
|
return fromEvent(document, 'click');
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
ClickObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
93
|
-
ClickObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.
|
|
94
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
92
|
+
ClickObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ClickObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
93
|
+
ClickObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ClickObserverFactory, providedIn: 'root' });
|
|
94
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ClickObserverFactory, decorators: [{
|
|
95
95
|
type: Injectable,
|
|
96
96
|
args: [{ providedIn: 'root' }]
|
|
97
97
|
}] });
|
|
@@ -145,9 +145,9 @@ class ClickObserverService {
|
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
|
-
ClickObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
149
|
-
ClickObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.
|
|
150
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
148
|
+
ClickObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ClickObserverService, deps: [{ token: ClickObserverFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
149
|
+
ClickObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ClickObserverService, providedIn: 'root' });
|
|
150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ClickObserverService, decorators: [{
|
|
151
151
|
type: Injectable,
|
|
152
152
|
args: [{ providedIn: 'root' }]
|
|
153
153
|
}], ctorParameters: function () { return [{ type: ClickObserverFactory }]; } });
|
|
@@ -158,9 +158,9 @@ class MutationObserverFactory {
|
|
|
158
158
|
return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
|
-
MutationObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
162
|
-
MutationObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.
|
|
163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
161
|
+
MutationObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: MutationObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
162
|
+
MutationObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: MutationObserverFactory, providedIn: 'root' });
|
|
163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: MutationObserverFactory, decorators: [{
|
|
164
164
|
type: Injectable,
|
|
165
165
|
args: [{ providedIn: 'root' }]
|
|
166
166
|
}] });
|
|
@@ -220,9 +220,9 @@ class ContentObserverService {
|
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
ContentObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
224
|
-
ContentObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.
|
|
225
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
223
|
+
ContentObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ContentObserverService, deps: [{ token: MutationObserverFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
224
|
+
ContentObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ContentObserverService, providedIn: 'root' });
|
|
225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ContentObserverService, decorators: [{
|
|
226
226
|
type: Injectable,
|
|
227
227
|
args: [{ providedIn: 'root' }]
|
|
228
228
|
}], ctorParameters: function () { return [{ type: MutationObserverFactory }]; } });
|
|
@@ -237,9 +237,9 @@ class DestroyService {
|
|
|
237
237
|
this._destroy$.unsubscribe();
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
|
-
DestroyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
241
|
-
DestroyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.
|
|
242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
240
|
+
DestroyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: DestroyService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
241
|
+
DestroyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: DestroyService });
|
|
242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: DestroyService, decorators: [{
|
|
243
243
|
type: Injectable
|
|
244
244
|
}] });
|
|
245
245
|
|
|
@@ -265,9 +265,9 @@ class FocusVisibleService {
|
|
|
265
265
|
this._hadKeyboardEvent = false;
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
|
-
FocusVisibleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
269
|
-
FocusVisibleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.
|
|
270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
268
|
+
FocusVisibleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: FocusVisibleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
269
|
+
FocusVisibleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: FocusVisibleService, providedIn: 'root' });
|
|
270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: FocusVisibleService, decorators: [{
|
|
271
271
|
type: Injectable,
|
|
272
272
|
args: [{
|
|
273
273
|
providedIn: 'root',
|
|
@@ -280,9 +280,9 @@ class ResizeObserverFactory {
|
|
|
280
280
|
return typeof ResizeObserver === 'undefined' ? null : new ResizeObserver(callback);
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
|
-
ResizeObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
284
|
-
ResizeObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.
|
|
285
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
283
|
+
ResizeObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ResizeObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
284
|
+
ResizeObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ResizeObserverFactory, providedIn: 'root' });
|
|
285
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ResizeObserverFactory, decorators: [{
|
|
286
286
|
type: Injectable,
|
|
287
287
|
args: [{ providedIn: 'root' }]
|
|
288
288
|
}] });
|
|
@@ -338,9 +338,9 @@ class ResizeObserverService {
|
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
|
-
ResizeObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
342
|
-
ResizeObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.
|
|
343
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
341
|
+
ResizeObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ResizeObserverService, deps: [{ token: ResizeObserverFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
342
|
+
ResizeObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ResizeObserverService, providedIn: 'root' });
|
|
343
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ResizeObserverService, decorators: [{
|
|
344
344
|
type: Injectable,
|
|
345
345
|
args: [{ providedIn: 'root' }]
|
|
346
346
|
}], ctorParameters: function () { return [{ type: ResizeObserverFactory }]; } });
|
|
@@ -475,8 +475,8 @@ class ViewportService {
|
|
|
475
475
|
return 'xs';
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
|
-
ViewportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
479
|
-
ViewportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.
|
|
478
|
+
ViewportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ViewportService, deps: [{ token: VIEWPORT_CONFIG, optional: true }, { token: i1.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
479
|
+
ViewportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ViewportService, providedIn: 'root' });
|
|
480
480
|
__decorate([
|
|
481
481
|
Memo(),
|
|
482
482
|
__metadata("design:type", Function),
|
|
@@ -493,7 +493,7 @@ __decorate([
|
|
|
493
493
|
__metadata("design:paramtypes", [Object]),
|
|
494
494
|
__metadata("design:returntype", void 0)
|
|
495
495
|
], ViewportService.prototype, "_buildMediaQuery", null);
|
|
496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
496
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ViewportService, decorators: [{
|
|
497
497
|
type: Injectable,
|
|
498
498
|
args: [{
|
|
499
499
|
providedIn: 'root',
|
|
@@ -527,9 +527,9 @@ class ClickOutsideDirective {
|
|
|
527
527
|
this._subscription?.unsubscribe();
|
|
528
528
|
}
|
|
529
529
|
}
|
|
530
|
-
ClickOutsideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
531
|
-
ClickOutsideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
532
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
530
|
+
ClickOutsideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ClickOutsideDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
531
|
+
ClickOutsideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: ClickOutsideDirective, isStandalone: true, selector: "[etClickOutside]", outputs: { etClickOutside: "etClickOutside" }, ngImport: i0 });
|
|
532
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ClickOutsideDirective, decorators: [{
|
|
533
533
|
type: Directive,
|
|
534
534
|
args: [{
|
|
535
535
|
selector: '[etClickOutside]',
|
|
@@ -543,6 +543,84 @@ const clamp = (value, min = 0, max = 100) => {
|
|
|
543
543
|
return Math.max(min, Math.min(max, value));
|
|
544
544
|
};
|
|
545
545
|
|
|
546
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
547
|
+
/* eslint-disable no-var */
|
|
548
|
+
/**
|
|
549
|
+
* Stolen from klona to avoid adding a dependency
|
|
550
|
+
* https://github.com/lukeed/klona
|
|
551
|
+
*
|
|
552
|
+
* MIT License
|
|
553
|
+
*
|
|
554
|
+
* Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
|
|
555
|
+
*
|
|
556
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
557
|
+
*
|
|
558
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
559
|
+
*
|
|
560
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
561
|
+
*/
|
|
562
|
+
const set = (obj, key, val) => {
|
|
563
|
+
if (typeof val.value === 'object')
|
|
564
|
+
val.value = clone(val.value);
|
|
565
|
+
if (!val.enumerable || val.get || val.set || !val.configurable || !val.writable || key === '__proto__') {
|
|
566
|
+
Object.defineProperty(obj, key, val);
|
|
567
|
+
}
|
|
568
|
+
else
|
|
569
|
+
obj[key] = val.value;
|
|
570
|
+
};
|
|
571
|
+
const clone = (y) => {
|
|
572
|
+
if (typeof x !== 'object')
|
|
573
|
+
return x;
|
|
574
|
+
var x = y;
|
|
575
|
+
var i = 0, k, list, tmp, str = Object.prototype.toString.call(x);
|
|
576
|
+
if (str === '[object Object]') {
|
|
577
|
+
tmp = Object.create(x.__proto__ || null);
|
|
578
|
+
}
|
|
579
|
+
else if (str === '[object Array]') {
|
|
580
|
+
tmp = Array(x.length);
|
|
581
|
+
}
|
|
582
|
+
else if (str === '[object Set]') {
|
|
583
|
+
tmp = new Set();
|
|
584
|
+
x.forEach(function (val) {
|
|
585
|
+
tmp.add(clone(val));
|
|
586
|
+
});
|
|
587
|
+
}
|
|
588
|
+
else if (str === '[object Map]') {
|
|
589
|
+
tmp = new Map();
|
|
590
|
+
x.forEach(function (val, key) {
|
|
591
|
+
tmp.set(clone(key), clone(val));
|
|
592
|
+
});
|
|
593
|
+
}
|
|
594
|
+
else if (str === '[object Date]') {
|
|
595
|
+
tmp = new Date(+x);
|
|
596
|
+
}
|
|
597
|
+
else if (str === '[object RegExp]') {
|
|
598
|
+
tmp = new RegExp(x.source, x.flags);
|
|
599
|
+
}
|
|
600
|
+
else if (str === '[object DataView]') {
|
|
601
|
+
tmp = new x.constructor(clone(x.buffer));
|
|
602
|
+
}
|
|
603
|
+
else if (str === '[object ArrayBuffer]') {
|
|
604
|
+
tmp = x.slice(0);
|
|
605
|
+
}
|
|
606
|
+
else if (str.slice(-6) === 'Array]') {
|
|
607
|
+
// ArrayBuffer.isView(x)
|
|
608
|
+
// ~> `new` bcuz `Buffer.slice` => ref
|
|
609
|
+
tmp = new x.constructor(x);
|
|
610
|
+
}
|
|
611
|
+
if (tmp) {
|
|
612
|
+
for (list = Object.getOwnPropertySymbols(x); i < list.length; i++) {
|
|
613
|
+
set(tmp, list[i], Object.getOwnPropertyDescriptor(x, list[i]));
|
|
614
|
+
}
|
|
615
|
+
for (i = 0, list = Object.getOwnPropertyNames(x); i < list.length; i++) {
|
|
616
|
+
if (Object.hasOwnProperty.call(tmp, (k = list[i])) && tmp[k] === x[k])
|
|
617
|
+
continue;
|
|
618
|
+
set(tmp, k, Object.getOwnPropertyDescriptor(x, k));
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
return tmp || x;
|
|
622
|
+
};
|
|
623
|
+
|
|
546
624
|
const hasCookie = (name) => {
|
|
547
625
|
if (typeof document === 'undefined') {
|
|
548
626
|
return false;
|
|
@@ -591,11 +669,129 @@ const getDomain = () => {
|
|
|
591
669
|
return hostname;
|
|
592
670
|
};
|
|
593
671
|
|
|
672
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
673
|
+
/* eslint-disable no-var */
|
|
674
|
+
/**
|
|
675
|
+
* Stolen from dequal to avoid adding a dependency
|
|
676
|
+
* https://github.com/lukeed/dequal
|
|
677
|
+
*
|
|
678
|
+
* The MIT License (MIT)
|
|
679
|
+
*
|
|
680
|
+
* Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
|
|
681
|
+
*
|
|
682
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
683
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
684
|
+
* in the Software without restriction, including without limitation the rights
|
|
685
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
686
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
687
|
+
* furnished to do so, subject to the following conditions:
|
|
688
|
+
*
|
|
689
|
+
* The above copyright notice and this permission notice shall be included in
|
|
690
|
+
* all copies or substantial portions of the Software.
|
|
691
|
+
*
|
|
692
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
693
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
694
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
695
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
696
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
697
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
698
|
+
* THE SOFTWARE.
|
|
699
|
+
*/
|
|
700
|
+
const has = Object.prototype.hasOwnProperty;
|
|
701
|
+
function find(iter, tar, key) {
|
|
702
|
+
for (key of iter.keys()) {
|
|
703
|
+
if (equal(key, tar))
|
|
704
|
+
return key;
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
const equal = (foo, bar) => {
|
|
708
|
+
var ctor, len, tmp;
|
|
709
|
+
if (foo === bar)
|
|
710
|
+
return true;
|
|
711
|
+
if (foo && bar && (ctor = foo.constructor) === bar.constructor) {
|
|
712
|
+
if (ctor === Date)
|
|
713
|
+
return foo.getTime() === bar.getTime();
|
|
714
|
+
if (ctor === RegExp)
|
|
715
|
+
return foo.toString() === bar.toString();
|
|
716
|
+
if (ctor === Array) {
|
|
717
|
+
if ((len = foo.length) === bar.length) {
|
|
718
|
+
while (len-- && equal(foo[len], bar[len]))
|
|
719
|
+
;
|
|
720
|
+
}
|
|
721
|
+
return len === -1;
|
|
722
|
+
}
|
|
723
|
+
if (ctor === Set) {
|
|
724
|
+
if (foo.size !== bar.size) {
|
|
725
|
+
return false;
|
|
726
|
+
}
|
|
727
|
+
for (len of foo) {
|
|
728
|
+
tmp = len;
|
|
729
|
+
if (tmp && typeof tmp === 'object') {
|
|
730
|
+
tmp = find(bar, tmp);
|
|
731
|
+
if (!tmp)
|
|
732
|
+
return false;
|
|
733
|
+
}
|
|
734
|
+
if (!bar.has(tmp))
|
|
735
|
+
return false;
|
|
736
|
+
}
|
|
737
|
+
return true;
|
|
738
|
+
}
|
|
739
|
+
if (ctor === Map) {
|
|
740
|
+
if (foo.size !== bar.size) {
|
|
741
|
+
return false;
|
|
742
|
+
}
|
|
743
|
+
for (len of foo) {
|
|
744
|
+
tmp = len[0];
|
|
745
|
+
if (tmp && typeof tmp === 'object') {
|
|
746
|
+
tmp = find(bar, tmp);
|
|
747
|
+
if (!tmp)
|
|
748
|
+
return false;
|
|
749
|
+
}
|
|
750
|
+
if (!equal(len[1], bar.get(tmp))) {
|
|
751
|
+
return false;
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
return true;
|
|
755
|
+
}
|
|
756
|
+
if (ctor === ArrayBuffer) {
|
|
757
|
+
foo = new Uint8Array(foo);
|
|
758
|
+
bar = new Uint8Array(bar);
|
|
759
|
+
}
|
|
760
|
+
else if (ctor === DataView) {
|
|
761
|
+
if ((len = foo.byteLength) === bar.byteLength) {
|
|
762
|
+
while (len-- && foo.getInt8(len) === bar.getInt8(len))
|
|
763
|
+
;
|
|
764
|
+
}
|
|
765
|
+
return len === -1;
|
|
766
|
+
}
|
|
767
|
+
if (ArrayBuffer.isView(foo)) {
|
|
768
|
+
if ((len = foo.byteLength) === bar.byteLength) {
|
|
769
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
770
|
+
//@ts-ignore
|
|
771
|
+
while (len-- && foo[len] === bar[len])
|
|
772
|
+
;
|
|
773
|
+
}
|
|
774
|
+
return len === -1;
|
|
775
|
+
}
|
|
776
|
+
if (!ctor || typeof foo === 'object') {
|
|
777
|
+
len = 0;
|
|
778
|
+
for (ctor in foo) {
|
|
779
|
+
if (has.call(foo, ctor) && ++len && !has.call(bar, ctor))
|
|
780
|
+
return false;
|
|
781
|
+
if (!(ctor in bar) || !equal(foo[ctor], bar[ctor]))
|
|
782
|
+
return false;
|
|
783
|
+
}
|
|
784
|
+
return Object.keys(bar).length === len;
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
return foo !== foo && bar !== bar;
|
|
788
|
+
};
|
|
789
|
+
|
|
594
790
|
const isAttributeRenderBinding = (value) => typeof value === 'boolean';
|
|
595
791
|
const isAttributeValueBinding = (value) => typeof value === 'object';
|
|
596
792
|
const createReactiveBindings = (...values) => {
|
|
597
793
|
const rootElementRef = inject(ElementRef);
|
|
598
|
-
const destroy$ = inject(DestroyService).destroy$;
|
|
794
|
+
const destroy$ = inject(DestroyService, { host: true }).destroy$;
|
|
599
795
|
const subscriptions = [];
|
|
600
796
|
const pushedAttributes = [];
|
|
601
797
|
const defaults = {};
|
|
@@ -714,7 +910,7 @@ const CURSOR_DRAG_SCROLLING_PREPARED_CLASS = 'et-cursor-drag-scroll--prepared';
|
|
|
714
910
|
class CursorDragScrollDirective {
|
|
715
911
|
constructor() {
|
|
716
912
|
this._subscriptions = [];
|
|
717
|
-
this._destroy$ = inject(DestroyService).destroy$;
|
|
913
|
+
this._destroy$ = inject(DestroyService, { host: true }).destroy$;
|
|
718
914
|
this._elementRef = inject(ElementRef);
|
|
719
915
|
this._contentObserverService = inject(ContentObserverService);
|
|
720
916
|
this._resizeObserverService = inject(ResizeObserverService);
|
|
@@ -836,9 +1032,9 @@ class CursorDragScrollDirective {
|
|
|
836
1032
|
}
|
|
837
1033
|
}
|
|
838
1034
|
}
|
|
839
|
-
CursorDragScrollDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
840
|
-
CursorDragScrollDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
841
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1035
|
+
CursorDragScrollDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: CursorDragScrollDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1036
|
+
CursorDragScrollDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: CursorDragScrollDirective, isStandalone: true, selector: "[etCursorDragScroll]", inputs: { enabled: ["etCursorDragScroll", "enabled"] }, providers: [DestroyService], exportAs: ["etCursorDragScroll"], ngImport: i0 });
|
|
1037
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: CursorDragScrollDirective, decorators: [{
|
|
842
1038
|
type: Directive,
|
|
843
1039
|
args: [{
|
|
844
1040
|
selector: '[etCursorDragScroll]',
|
|
@@ -885,9 +1081,9 @@ class LetDirective {
|
|
|
885
1081
|
}
|
|
886
1082
|
}
|
|
887
1083
|
}
|
|
888
|
-
LetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
889
|
-
LetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
890
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1084
|
+
LetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LetDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1085
|
+
LetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: LetDirective, isStandalone: true, selector: "[etLet]", inputs: { etLet: "etLet" }, ngImport: i0 });
|
|
1086
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LetDirective, decorators: [{
|
|
891
1087
|
type: Directive,
|
|
892
1088
|
args: [{
|
|
893
1089
|
selector: '[etLet]',
|
|
@@ -940,9 +1136,9 @@ class ObserveContentDirective {
|
|
|
940
1136
|
this._currentSubscription?.unsubscribe();
|
|
941
1137
|
}
|
|
942
1138
|
}
|
|
943
|
-
ObserveContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
944
|
-
ObserveContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
945
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1139
|
+
ObserveContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ObserveContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1140
|
+
ObserveContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: ObserveContentDirective, isStandalone: true, selector: "[etObserveContent]", inputs: { disabled: ["etObserveContentDisabled", "disabled"], debounce: ["etObserveContentDebounce", "debounce"] }, outputs: { event: "etObserveContent" }, exportAs: ["etObserveContent"], ngImport: i0 });
|
|
1141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ObserveContentDirective, decorators: [{
|
|
946
1142
|
type: Directive,
|
|
947
1143
|
args: [{
|
|
948
1144
|
selector: '[etObserveContent]',
|
|
@@ -1003,9 +1199,9 @@ class ObserveResizeDirective {
|
|
|
1003
1199
|
this._currentSubscription?.unsubscribe();
|
|
1004
1200
|
}
|
|
1005
1201
|
}
|
|
1006
|
-
ObserveResizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1007
|
-
ObserveResizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
1008
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1202
|
+
ObserveResizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ObserveResizeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1203
|
+
ObserveResizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: ObserveResizeDirective, isStandalone: true, selector: "[etObserveResize]", inputs: { disabled: ["etObserveResizeDisabled", "disabled"], debounce: ["etObserveResizeDebounce", "debounce"] }, outputs: { event: "etObserveResize" }, exportAs: ["etObserveResize"], ngImport: i0 });
|
|
1204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ObserveResizeDirective, decorators: [{
|
|
1009
1205
|
type: Directive,
|
|
1010
1206
|
args: [{
|
|
1011
1207
|
selector: '[etObserveResize]',
|
|
@@ -1035,9 +1231,9 @@ class ScrollObserverFirstElementDirective {
|
|
|
1035
1231
|
this._isFirstElement = coerceBooleanProperty(value);
|
|
1036
1232
|
}
|
|
1037
1233
|
}
|
|
1038
|
-
ScrollObserverFirstElementDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1039
|
-
ScrollObserverFirstElementDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
1040
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1234
|
+
ScrollObserverFirstElementDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ScrollObserverFirstElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1235
|
+
ScrollObserverFirstElementDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: ScrollObserverFirstElementDirective, isStandalone: true, selector: "[etScrollObserverFirstElement]", inputs: { isFirstElement: ["etScrollObserverFirstElement", "isFirstElement"] }, host: { properties: { "class.et-scroll-observer-first-element": "this.isFirstElement" } }, ngImport: i0 });
|
|
1236
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ScrollObserverFirstElementDirective, decorators: [{
|
|
1041
1237
|
type: Directive,
|
|
1042
1238
|
args: [{
|
|
1043
1239
|
selector: '[etScrollObserverFirstElement]',
|
|
@@ -1054,9 +1250,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImpor
|
|
|
1054
1250
|
const SCROLL_OBSERVER_IGNORE_TARGET_CLASS = 'et-scroll-observer-ignore-target';
|
|
1055
1251
|
class ScrollObserverIgnoreTargetDirective {
|
|
1056
1252
|
}
|
|
1057
|
-
ScrollObserverIgnoreTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1058
|
-
ScrollObserverIgnoreTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
1059
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1253
|
+
ScrollObserverIgnoreTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ScrollObserverIgnoreTargetDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1254
|
+
ScrollObserverIgnoreTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: ScrollObserverIgnoreTargetDirective, isStandalone: true, selector: "[etScrollObserverIgnoreTarget]", host: { classAttribute: "et-scroll-observer-ignore-target" }, ngImport: i0 });
|
|
1255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ScrollObserverIgnoreTargetDirective, decorators: [{
|
|
1060
1256
|
type: Directive,
|
|
1061
1257
|
args: [{
|
|
1062
1258
|
selector: '[etScrollObserverIgnoreTarget]',
|
|
@@ -1079,9 +1275,9 @@ class ScrollObserverLastElementDirective {
|
|
|
1079
1275
|
this._isLastElement = coerceBooleanProperty(value);
|
|
1080
1276
|
}
|
|
1081
1277
|
}
|
|
1082
|
-
ScrollObserverLastElementDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1083
|
-
ScrollObserverLastElementDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
1084
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1278
|
+
ScrollObserverLastElementDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ScrollObserverLastElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1279
|
+
ScrollObserverLastElementDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", 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 });
|
|
1280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ScrollObserverLastElementDirective, decorators: [{
|
|
1085
1281
|
type: Directive,
|
|
1086
1282
|
args: [{
|
|
1087
1283
|
selector: '[etScrollObserverLastElement]',
|
|
@@ -1102,7 +1298,7 @@ const OBSERVE_SCROLL_STATE = new InjectionToken('OBSERVE_SCROLL_STATE');
|
|
|
1102
1298
|
|
|
1103
1299
|
class ObserveScrollStateDirective {
|
|
1104
1300
|
constructor() {
|
|
1105
|
-
this._destroy$ = inject(DestroyService).destroy$;
|
|
1301
|
+
this._destroy$ = inject(DestroyService, { host: true }).destroy$;
|
|
1106
1302
|
this._elementRef = inject(ElementRef);
|
|
1107
1303
|
this._contentObserverService = inject(ContentObserverService);
|
|
1108
1304
|
this._resizeObserverService = inject(ResizeObserverService);
|
|
@@ -1231,15 +1427,15 @@ class ObserveScrollStateDirective {
|
|
|
1231
1427
|
return element;
|
|
1232
1428
|
}
|
|
1233
1429
|
}
|
|
1234
|
-
ObserveScrollStateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1235
|
-
ObserveScrollStateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
1430
|
+
ObserveScrollStateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ObserveScrollStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1431
|
+
ObserveScrollStateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: ObserveScrollStateDirective, isStandalone: true, selector: "[etObserveScrollState]", inputs: { observerRootMargin: "observerRootMargin", observerThreshold: "observerThreshold" }, outputs: { etObserveScrollState: "etObserveScrollState" }, providers: [
|
|
1236
1432
|
{
|
|
1237
1433
|
provide: OBSERVE_SCROLL_STATE,
|
|
1238
1434
|
useExisting: ObserveScrollStateDirective,
|
|
1239
1435
|
},
|
|
1240
1436
|
DestroyService,
|
|
1241
1437
|
], exportAs: ["etObserveScrollState"], ngImport: i0 });
|
|
1242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ObserveScrollStateDirective, decorators: [{
|
|
1243
1439
|
type: Directive,
|
|
1244
1440
|
args: [{
|
|
1245
1441
|
selector: '[etObserveScrollState]',
|
|
@@ -1281,9 +1477,9 @@ class RepeatDirective {
|
|
|
1281
1477
|
}
|
|
1282
1478
|
}
|
|
1283
1479
|
}
|
|
1284
|
-
RepeatDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1285
|
-
RepeatDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
1286
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1480
|
+
RepeatDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: RepeatDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1481
|
+
RepeatDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: RepeatDirective, isStandalone: true, selector: "[etRepeat]", inputs: { repeatCount: ["etRepeat", "repeatCount"] }, ngImport: i0 });
|
|
1482
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: RepeatDirective, decorators: [{
|
|
1287
1483
|
type: Directive,
|
|
1288
1484
|
args: [{
|
|
1289
1485
|
selector: '[etRepeat]',
|
|
@@ -1453,9 +1649,9 @@ class SeoDirective {
|
|
|
1453
1649
|
}
|
|
1454
1650
|
}
|
|
1455
1651
|
}
|
|
1456
|
-
SeoDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1457
|
-
SeoDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
1458
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1652
|
+
SeoDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SeoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1653
|
+
SeoDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: SeoDirective, isStandalone: true, providers: [{ provide: SEO_DIRECTIVE_TOKEN, useExisting: SeoDirective }], ngImport: i0 });
|
|
1654
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SeoDirective, decorators: [{
|
|
1459
1655
|
type: Directive,
|
|
1460
1656
|
args: [{
|
|
1461
1657
|
standalone: true,
|
|
@@ -1502,9 +1698,9 @@ class NormalizeGameResultTypePipe {
|
|
|
1502
1698
|
this.transform = normalizeGameResultType;
|
|
1503
1699
|
}
|
|
1504
1700
|
}
|
|
1505
|
-
NormalizeGameResultTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1506
|
-
NormalizeGameResultTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.
|
|
1507
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1701
|
+
NormalizeGameResultTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NormalizeGameResultTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1702
|
+
NormalizeGameResultTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: NormalizeGameResultTypePipe, isStandalone: true, name: "etNormalizeGameResultType" });
|
|
1703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NormalizeGameResultTypePipe, decorators: [{
|
|
1508
1704
|
type: Pipe,
|
|
1509
1705
|
args: [{ name: 'etNormalizeGameResultType', standalone: true }]
|
|
1510
1706
|
}] });
|
|
@@ -1533,9 +1729,9 @@ class NormalizeMatchStatePipe {
|
|
|
1533
1729
|
this.transform = normalizeMatchState;
|
|
1534
1730
|
}
|
|
1535
1731
|
}
|
|
1536
|
-
NormalizeMatchStatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1537
|
-
NormalizeMatchStatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.
|
|
1538
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1732
|
+
NormalizeMatchStatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchStatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1733
|
+
NormalizeMatchStatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchStatePipe, isStandalone: true, name: "etNormalizeMatchState" });
|
|
1734
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchStatePipe, decorators: [{
|
|
1539
1735
|
type: Pipe,
|
|
1540
1736
|
args: [{ name: 'etNormalizeMatchState', standalone: true }]
|
|
1541
1737
|
}] });
|
|
@@ -1591,9 +1787,9 @@ class NormalizeMatchParticipantsPipe {
|
|
|
1591
1787
|
this.transform = normalizeMatchParticipants;
|
|
1592
1788
|
}
|
|
1593
1789
|
}
|
|
1594
|
-
NormalizeMatchParticipantsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1595
|
-
NormalizeMatchParticipantsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.
|
|
1596
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1790
|
+
NormalizeMatchParticipantsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchParticipantsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1791
|
+
NormalizeMatchParticipantsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchParticipantsPipe, isStandalone: true, name: "etNormalizeMatchParticipants" });
|
|
1792
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchParticipantsPipe, decorators: [{
|
|
1597
1793
|
type: Pipe,
|
|
1598
1794
|
args: [{ name: 'etNormalizeMatchParticipants', standalone: true }]
|
|
1599
1795
|
}] });
|
|
@@ -1728,9 +1924,9 @@ class NormalizeMatchScorePipe {
|
|
|
1728
1924
|
this.transform = normalizeMatchScore;
|
|
1729
1925
|
}
|
|
1730
1926
|
}
|
|
1731
|
-
NormalizeMatchScorePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1732
|
-
NormalizeMatchScorePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.
|
|
1733
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1927
|
+
NormalizeMatchScorePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchScorePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1928
|
+
NormalizeMatchScorePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchScorePipe, isStandalone: true, name: "etNormalizeMatchScore" });
|
|
1929
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchScorePipe, decorators: [{
|
|
1734
1930
|
type: Pipe,
|
|
1735
1931
|
args: [{ name: 'etNormalizeMatchScore', standalone: true }]
|
|
1736
1932
|
}] });
|
|
@@ -1778,9 +1974,9 @@ class NormalizeMatchTypePipe {
|
|
|
1778
1974
|
this.transform = normalizeMatchType;
|
|
1779
1975
|
}
|
|
1780
1976
|
}
|
|
1781
|
-
NormalizeMatchTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1782
|
-
NormalizeMatchTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.
|
|
1783
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1977
|
+
NormalizeMatchTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1978
|
+
NormalizeMatchTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchTypePipe, isStandalone: true, name: "etNormalizeMatchType" });
|
|
1979
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchTypePipe, decorators: [{
|
|
1784
1980
|
type: Pipe,
|
|
1785
1981
|
args: [{ name: 'etNormalizeMatchType', standalone: true }]
|
|
1786
1982
|
}] });
|
|
@@ -1795,9 +1991,9 @@ class ToArrayPipe {
|
|
|
1795
1991
|
this.transform = toArray;
|
|
1796
1992
|
}
|
|
1797
1993
|
}
|
|
1798
|
-
ToArrayPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1799
|
-
ToArrayPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.
|
|
1800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1994
|
+
ToArrayPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ToArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1995
|
+
ToArrayPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: ToArrayPipe, isStandalone: true, name: "toArray" });
|
|
1996
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ToArrayPipe, decorators: [{
|
|
1801
1997
|
type: Pipe,
|
|
1802
1998
|
args: [{ name: 'toArray', standalone: true }]
|
|
1803
1999
|
}] });
|
|
@@ -1831,6 +2027,9 @@ class TypedQueryList extends QueryList {
|
|
|
1831
2027
|
some(fn) {
|
|
1832
2028
|
return super.some(fn);
|
|
1833
2029
|
}
|
|
2030
|
+
find(fn) {
|
|
2031
|
+
return super.find(fn);
|
|
2032
|
+
}
|
|
1834
2033
|
}
|
|
1835
2034
|
_a = Symbol.iterator;
|
|
1836
2035
|
|
|
@@ -1838,5 +2037,5 @@ _a = Symbol.iterator;
|
|
|
1838
2037
|
* Generated bundle index. Do not edit.
|
|
1839
2038
|
*/
|
|
1840
2039
|
|
|
1841
|
-
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, deleteCookie, elementCanScroll, getCookie, getDomain, getGroupMatchPoints, getGroupMatchScore, getKnockoutMatchScore, getMatchScoreSubLine, hasCookie, isGroupMatch, isKnockoutMatch, mergeSeoConfig, normalizeGameResultType, normalizeMatchParticipant, normalizeMatchParticipants, normalizeMatchScore, normalizeMatchState, normalizeMatchType, provideViewportConfig, setCookie, toArray, toArrayTrackByFn };
|
|
2040
|
+
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, clone, createReactiveBindings, deleteCookie, elementCanScroll, equal, getCookie, getDomain, getGroupMatchPoints, getGroupMatchScore, getKnockoutMatchScore, getMatchScoreSubLine, hasCookie, isGroupMatch, isKnockoutMatch, mergeSeoConfig, normalizeGameResultType, normalizeMatchParticipant, normalizeMatchParticipants, normalizeMatchScore, normalizeMatchState, normalizeMatchType, provideViewportConfig, setCookie, toArray, toArrayTrackByFn };
|
|
1842
2041
|
//# sourceMappingURL=ethlete-core.mjs.map
|