@skyux/core 9.0.0-alpha.5 → 9.0.0-alpha.7
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/documentation.json +7175 -2745
- package/esm2022/lib/modules/adapter-service/adapter.module.mjs +4 -4
- package/esm2022/lib/modules/adapter-service/adapter.service.mjs +3 -3
- package/esm2022/lib/modules/affix/affix.directive.mjs +3 -3
- package/esm2022/lib/modules/affix/affix.module.mjs +4 -4
- package/esm2022/lib/modules/affix/affix.service.mjs +3 -3
- package/esm2022/lib/modules/dock/dock-dom-adapter.service.mjs +3 -3
- package/esm2022/lib/modules/dock/dock.component.mjs +14 -10
- package/esm2022/lib/modules/dock/dock.module.mjs +6 -7
- package/esm2022/lib/modules/dock/dock.service.mjs +14 -12
- package/esm2022/lib/modules/dynamic-component/dynamic-component-options.mjs +1 -1
- package/esm2022/lib/modules/dynamic-component/dynamic-component.module.mjs +4 -4
- package/esm2022/lib/modules/dynamic-component/dynamic-component.service.mjs +11 -10
- package/esm2022/lib/modules/format/app-format.mjs +3 -3
- package/esm2022/lib/modules/id/id.directive.mjs +3 -3
- package/esm2022/lib/modules/id/id.module.mjs +4 -4
- package/esm2022/lib/modules/id/id.service.mjs +3 -3
- package/esm2022/lib/modules/layout-host/layout-host.service.mjs +3 -3
- package/esm2022/lib/modules/live-announcer/live-announcer.service.mjs +3 -3
- package/esm2022/lib/modules/log/log.module.mjs +4 -4
- package/esm2022/lib/modules/log/log.service.mjs +3 -3
- package/esm2022/lib/modules/media-query/media-query.module.mjs +4 -4
- package/esm2022/lib/modules/media-query/media-query.service.mjs +3 -3
- package/esm2022/lib/modules/mutation/mutation-observer-service.mjs +3 -3
- package/esm2022/lib/modules/numeric/numeric.module.mjs +6 -7
- package/esm2022/lib/modules/numeric/numeric.pipe.mjs +3 -3
- package/esm2022/lib/modules/numeric/numeric.service.mjs +8 -5
- package/esm2022/lib/modules/overlay/overlay-adapter.service.mjs +3 -3
- package/esm2022/lib/modules/overlay/overlay.component.mjs +3 -3
- package/esm2022/lib/modules/overlay/overlay.module.mjs +4 -4
- package/esm2022/lib/modules/overlay/overlay.service.mjs +3 -3
- package/esm2022/lib/modules/percent-pipe/percent-pipe.module.mjs +4 -4
- package/esm2022/lib/modules/percent-pipe/percent.pipe.mjs +3 -3
- package/esm2022/lib/modules/resize-observer/resize-observer-media-query.service.mjs +3 -3
- package/esm2022/lib/modules/resize-observer/resize-observer.service.mjs +3 -3
- package/esm2022/lib/modules/scrollable-host/scrollable-host.service.mjs +3 -3
- package/esm2022/lib/modules/shared/sky-core-resources.module.mjs +4 -4
- package/esm2022/lib/modules/title/title.service.mjs +3 -3
- package/esm2022/lib/modules/trim/trim.directive.mjs +3 -3
- package/esm2022/lib/modules/trim/trim.module.mjs +4 -4
- package/esm2022/lib/modules/ui-config/ui-config.service.mjs +3 -3
- package/esm2022/lib/modules/viewkeeper/viewkeeper-host-options.mjs +3 -3
- package/esm2022/lib/modules/viewkeeper/viewkeeper.directive.mjs +3 -3
- package/esm2022/lib/modules/viewkeeper/viewkeeper.module.mjs +4 -4
- package/esm2022/lib/modules/viewkeeper/viewkeeper.service.mjs +3 -3
- package/esm2022/lib/modules/window/window-ref.mjs +3 -3
- package/esm2022/testing/core-testing.module.mjs +4 -4
- package/esm2022/testing/mock-media-query.service.mjs +3 -3
- package/esm2022/testing/mock-ui-config.service.mjs +3 -3
- package/fesm2022/skyux-core-testing.mjs +10 -10
- package/fesm2022/skyux-core.mjs +184 -174
- package/fesm2022/skyux-core.mjs.map +1 -1
- package/lib/modules/dock/dock.component.d.ts +2 -2
- package/lib/modules/dynamic-component/dynamic-component-options.d.ts +1 -1
- package/lib/modules/dynamic-component/dynamic-component.service.d.ts +1 -1
- package/package.json +8 -8
package/fesm2022/skyux-core.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
|
-
import { NgModule, Injectable, EventEmitter, Directive, Input, Output,
|
2
|
+
import { NgModule, Injectable, EventEmitter, Directive, Input, Output, Injector, ViewContainerRef, Component, ChangeDetectionStrategy, ViewChild, inject, EnvironmentInjector, createEnvironmentInjector, createComponent, InjectionToken, Optional, Inject, Pipe, ElementRef, HostBinding, ApplicationRef } from '@angular/core';
|
3
3
|
import * as i5 from '@angular/common';
|
4
4
|
import { CommonModule, DOCUMENT } from '@angular/common';
|
5
5
|
import { Subject, fromEvent, ReplaySubject, BehaviorSubject, Observable, of, concat, animationFrameScheduler } from 'rxjs';
|
@@ -15,11 +15,11 @@ import * as i1$1 from '@angular/platform-browser';
|
|
15
15
|
* The `SkyCoreAdapterModule` can be removed from your project.
|
16
16
|
*/
|
17
17
|
class SkyCoreAdapterModule {
|
18
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
19
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1
|
20
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyCoreAdapterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
19
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: SkyCoreAdapterModule }); }
|
20
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyCoreAdapterModule }); }
|
21
21
|
}
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyCoreAdapterModule, decorators: [{
|
23
23
|
type: NgModule,
|
24
24
|
args: [{}]
|
25
25
|
}] });
|
@@ -256,10 +256,10 @@ class SkyCoreAdapterService {
|
|
256
256
|
element.getClientRects().length);
|
257
257
|
return hasBounds;
|
258
258
|
}
|
259
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
260
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
259
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyCoreAdapterService, deps: [{ token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
260
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyCoreAdapterService, providedIn: 'root' }); }
|
261
261
|
}
|
262
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyCoreAdapterService, decorators: [{
|
263
263
|
type: Injectable,
|
264
264
|
args: [{
|
265
265
|
providedIn: 'root',
|
@@ -779,10 +779,10 @@ class SkyAffixService {
|
|
779
779
|
createAffixer(affixed) {
|
780
780
|
return new SkyAffixer(affixed.nativeElement, this.#renderer);
|
781
781
|
}
|
782
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
783
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
782
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyAffixService, deps: [{ token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
783
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyAffixService, providedIn: 'root' }); }
|
784
784
|
}
|
785
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
785
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyAffixService, decorators: [{
|
786
786
|
type: Injectable,
|
787
787
|
args: [{
|
788
788
|
providedIn: 'root',
|
@@ -866,10 +866,10 @@ class SkyAffixDirective {
|
|
866
866
|
});
|
867
867
|
}
|
868
868
|
}
|
869
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
870
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1
|
869
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyAffixDirective, deps: [{ token: i0.ElementRef }, { token: SkyAffixService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
870
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.1", type: SkyAffixDirective, selector: "[skyAffixTo]", inputs: { skyAffixTo: "skyAffixTo", affixAutoFitContext: "affixAutoFitContext", affixAutoFitOverflowOffset: "affixAutoFitOverflowOffset", affixEnableAutoFit: "affixEnableAutoFit", affixHorizontalAlignment: "affixHorizontalAlignment", affixIsSticky: "affixIsSticky", affixPlacement: "affixPlacement", affixPosition: "affixPosition", affixVerticalAlignment: "affixVerticalAlignment" }, outputs: { affixOffsetChange: "affixOffsetChange", affixOverflowScroll: "affixOverflowScroll", affixPlacementChange: "affixPlacementChange" }, usesOnChanges: true, ngImport: i0 }); }
|
871
871
|
}
|
872
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyAffixDirective, decorators: [{
|
873
873
|
type: Directive,
|
874
874
|
args: [{
|
875
875
|
selector: '[skyAffixTo]',
|
@@ -901,11 +901,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
901
901
|
}] } });
|
902
902
|
|
903
903
|
class SkyAffixModule {
|
904
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
905
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1
|
906
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1
|
904
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyAffixModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
905
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: SkyAffixModule, declarations: [SkyAffixDirective], imports: [CommonModule], exports: [SkyAffixDirective] }); }
|
906
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyAffixModule, imports: [CommonModule] }); }
|
907
907
|
}
|
908
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
908
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyAffixModule, decorators: [{
|
909
909
|
type: NgModule,
|
910
910
|
args: [{
|
911
911
|
imports: [CommonModule],
|
@@ -995,10 +995,10 @@ class SkyMutationObserverService {
|
|
995
995
|
create(callback) {
|
996
996
|
return new MutationObserver(callback);
|
997
997
|
}
|
998
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
999
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
998
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyMutationObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
999
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyMutationObserverService, providedIn: 'root' }); }
|
1000
1000
|
}
|
1001
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
1001
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyMutationObserverService, decorators: [{
|
1002
1002
|
type: Injectable,
|
1003
1003
|
args: [{
|
1004
1004
|
providedIn: 'root',
|
@@ -1074,10 +1074,10 @@ class SkyDockDomAdapterService {
|
|
1074
1074
|
#destroyStyleElement() {
|
1075
1075
|
this.#renderer.removeChild(document.head, this.#styleElement);
|
1076
1076
|
}
|
1077
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
1078
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
1077
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDockDomAdapterService, deps: [{ token: SkyMutationObserverService }, { token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1078
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDockDomAdapterService }); }
|
1079
1079
|
}
|
1080
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
1080
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDockDomAdapterService, decorators: [{
|
1081
1081
|
type: Injectable
|
1082
1082
|
}], ctorParameters: function () { return [{ type: SkyMutationObserverService }, { type: i0.RendererFactory2 }]; } });
|
1083
1083
|
|
@@ -1101,12 +1101,13 @@ class SkyDockComponent {
|
|
1101
1101
|
#changeDetector;
|
1102
1102
|
#domAdapter;
|
1103
1103
|
#elementRef;
|
1104
|
-
#
|
1104
|
+
#injector;
|
1105
1105
|
#itemRefs = [];
|
1106
1106
|
#options;
|
1107
|
-
constructor(changeDetector, elementRef, domAdapter) {
|
1107
|
+
constructor(changeDetector, elementRef, injector, domAdapter) {
|
1108
1108
|
this.#changeDetector = changeDetector;
|
1109
1109
|
this.#elementRef = elementRef;
|
1110
|
+
this.#injector = injector;
|
1110
1111
|
this.#domAdapter = domAdapter;
|
1111
1112
|
}
|
1112
1113
|
insertComponent(component, config = {}) {
|
@@ -1114,9 +1115,12 @@ class SkyDockComponent {
|
|
1114
1115
|
if (!this.target) {
|
1115
1116
|
throw Error('[SkyDockComponent] Could not insert the component because the target element could not be found.');
|
1116
1117
|
}
|
1117
|
-
const
|
1118
|
+
const injector = Injector.create({
|
1119
|
+
providers: config.providers || [],
|
1120
|
+
parent: this.#injector,
|
1121
|
+
});
|
1118
1122
|
const componentRef = this.target.createComponent(component, {
|
1119
|
-
|
1123
|
+
injector,
|
1120
1124
|
});
|
1121
1125
|
const stackOrder = config.stackOrder !== null && config.stackOrder !== undefined
|
1122
1126
|
? config.stackOrder
|
@@ -1178,13 +1182,13 @@ class SkyDockComponent {
|
|
1178
1182
|
}
|
1179
1183
|
return this.#itemRefs[0].stackOrder + 1;
|
1180
1184
|
}
|
1181
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
1182
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1
|
1185
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDockComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Injector }, { token: SkyDockDomAdapterService }], target: i0.ɵɵFactoryTarget.Component }); }
|
1186
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: SkyDockComponent, selector: "sky-dock", providers: [SkyDockDomAdapterService], viewQueries: [{ propertyName: "target", first: true, predicate: ["target"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: "<ng-container #target></ng-container>\n", styles: [":host{display:flex;flex-direction:column;width:100%}:host:not(.sky-dock-unbound){position:fixed;left:var(--sky-viewport-left, 0);bottom:var(--sky-viewport-bottom, 0);right:var(--sky-viewport-right, 0);width:auto}:host.sky-dock-sticky{position:sticky}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
1183
1187
|
}
|
1184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
1188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDockComponent, decorators: [{
|
1185
1189
|
type: Component,
|
1186
1190
|
args: [{ selector: 'sky-dock', providers: [SkyDockDomAdapterService], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container #target></ng-container>\n", styles: [":host{display:flex;flex-direction:column;width:100%}:host:not(.sky-dock-unbound){position:fixed;left:var(--sky-viewport-left, 0);bottom:var(--sky-viewport-bottom, 0);right:var(--sky-viewport-right, 0);width:auto}:host.sky-dock-sticky{position:sticky}\n"] }]
|
1187
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: SkyDockDomAdapterService }]; }, propDecorators: { target: [{
|
1191
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Injector }, { type: SkyDockDomAdapterService }]; }, propDecorators: { target: [{
|
1188
1192
|
type: ViewChild,
|
1189
1193
|
args: ['target', {
|
1190
1194
|
read: ViewContainerRef,
|
@@ -1192,6 +1196,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
1192
1196
|
}]
|
1193
1197
|
}] } });
|
1194
1198
|
|
1199
|
+
class SkyDockModule {
|
1200
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1201
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: SkyDockModule, declarations: [SkyDockComponent], imports: [CommonModule] }); }
|
1202
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDockModule, providers: [SkyMutationObserverService], imports: [CommonModule] }); }
|
1203
|
+
}
|
1204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDockModule, decorators: [{
|
1205
|
+
type: NgModule,
|
1206
|
+
args: [{
|
1207
|
+
imports: [CommonModule],
|
1208
|
+
declarations: [SkyDockComponent],
|
1209
|
+
providers: [SkyMutationObserverService],
|
1210
|
+
}]
|
1211
|
+
}] });
|
1212
|
+
|
1195
1213
|
/**
|
1196
1214
|
* The location on the page where the dynamic component should be rendered.
|
1197
1215
|
*/
|
@@ -1237,10 +1255,10 @@ class SkyAppWindowRef {
|
|
1237
1255
|
get nativeWindow() {
|
1238
1256
|
return getWindow();
|
1239
1257
|
}
|
1240
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
1241
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
1258
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyAppWindowRef, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1259
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyAppWindowRef, providedIn: 'root' }); }
|
1242
1260
|
}
|
1243
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
1261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyAppWindowRef, decorators: [{
|
1244
1262
|
type: Injectable,
|
1245
1263
|
args: [{
|
1246
1264
|
providedIn: 'root',
|
@@ -1255,6 +1273,7 @@ class SkyDynamicComponentService {
|
|
1255
1273
|
#applicationRef;
|
1256
1274
|
#renderer;
|
1257
1275
|
#windowRef;
|
1276
|
+
#environmentInjector = inject(EnvironmentInjector);
|
1258
1277
|
constructor(applicationRef, windowRef, rendererFactory) {
|
1259
1278
|
this.#applicationRef = applicationRef;
|
1260
1279
|
this.#windowRef = windowRef;
|
@@ -1269,10 +1288,10 @@ class SkyDynamicComponentService {
|
|
1269
1288
|
* on the page.
|
1270
1289
|
*/
|
1271
1290
|
createComponent(componentType, options) {
|
1272
|
-
|
1273
|
-
|
1274
|
-
}
|
1275
|
-
const environmentInjector = createEnvironmentInjector(options.providers ?? [], options.environmentInjector);
|
1291
|
+
options ||= {
|
1292
|
+
location: SkyDynamicComponentLocation.BodyBottom,
|
1293
|
+
};
|
1294
|
+
const environmentInjector = createEnvironmentInjector(options.providers ?? [], options.environmentInjector ?? this.#environmentInjector);
|
1276
1295
|
let componentRef;
|
1277
1296
|
if (options.viewContainerRef) {
|
1278
1297
|
componentRef = options.viewContainerRef.createComponent(componentType, {
|
@@ -1328,13 +1347,13 @@ class SkyDynamicComponentService {
|
|
1328
1347
|
// https://malcoded.com/posts/angular-dynamic-components
|
1329
1348
|
return componentRef.hostView.rootNodes[0];
|
1330
1349
|
}
|
1331
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
1332
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
1350
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDynamicComponentService, deps: [{ token: i0.ApplicationRef }, { token: SkyAppWindowRef }, { token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1351
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDynamicComponentService, providedIn: 'any' }); }
|
1333
1352
|
}
|
1334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
1353
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDynamicComponentService, decorators: [{
|
1335
1354
|
type: Injectable,
|
1336
1355
|
args: [{
|
1337
|
-
providedIn: '
|
1356
|
+
providedIn: 'any',
|
1338
1357
|
}]
|
1339
1358
|
}], ctorParameters: function () { return [{ type: i0.ApplicationRef }, { type: SkyAppWindowRef }, { type: i0.RendererFactory2 }]; } });
|
1340
1359
|
|
@@ -1350,7 +1369,6 @@ class SkyDockService {
|
|
1350
1369
|
return SkyDockService._items;
|
1351
1370
|
}
|
1352
1371
|
#dynamicComponentSvc;
|
1353
|
-
#environmentInjector = inject(EnvironmentInjector);
|
1354
1372
|
#options;
|
1355
1373
|
constructor(dynamicComponentSvc) {
|
1356
1374
|
this.#dynamicComponentSvc = dynamicComponentSvc;
|
@@ -1387,9 +1405,7 @@ class SkyDockService {
|
|
1387
1405
|
this.#options = options;
|
1388
1406
|
}
|
1389
1407
|
#createDock() {
|
1390
|
-
|
1391
|
-
environmentInjector: this.#environmentInjector,
|
1392
|
-
};
|
1408
|
+
let dockOptions;
|
1393
1409
|
if (this.#options) {
|
1394
1410
|
let dynamicLocation;
|
1395
1411
|
switch (this.#options.location) {
|
@@ -1403,8 +1419,10 @@ class SkyDockService {
|
|
1403
1419
|
dynamicLocation = SkyDynamicComponentLocation.BodyTop;
|
1404
1420
|
break;
|
1405
1421
|
}
|
1406
|
-
dockOptions
|
1407
|
-
|
1422
|
+
dockOptions = {
|
1423
|
+
location: dynamicLocation,
|
1424
|
+
referenceEl: this.#options.referenceEl,
|
1425
|
+
};
|
1408
1426
|
}
|
1409
1427
|
const dockRef = this.#dynamicComponentSvc.createComponent(SkyDockComponent, dockOptions);
|
1410
1428
|
dockRef.instance.setOptions(this.#options);
|
@@ -1414,26 +1432,15 @@ class SkyDockService {
|
|
1414
1432
|
this.#dynamicComponentSvc.removeComponent(SkyDockService.dockRef);
|
1415
1433
|
SkyDockService.dockRef = undefined;
|
1416
1434
|
}
|
1417
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
1418
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
1419
|
-
}
|
1420
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyDockService, decorators: [{
|
1421
|
-
type: Injectable
|
1422
|
-
}], ctorParameters: function () { return [{ type: SkyDynamicComponentService }]; } });
|
1423
|
-
|
1424
|
-
class SkyDockModule {
|
1425
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyDockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1426
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyDockModule, declarations: [SkyDockComponent], imports: [CommonModule] }); }
|
1427
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyDockModule, providers: [SkyDockService, SkyMutationObserverService], imports: [CommonModule] }); }
|
1435
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDockService, deps: [{ token: SkyDynamicComponentService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1436
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDockService, providedIn: 'any' }); }
|
1428
1437
|
}
|
1429
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
1430
|
-
type:
|
1438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDockService, decorators: [{
|
1439
|
+
type: Injectable,
|
1431
1440
|
args: [{
|
1432
|
-
|
1433
|
-
declarations: [SkyDockComponent],
|
1434
|
-
providers: [SkyDockService, SkyMutationObserverService],
|
1441
|
+
providedIn: 'any',
|
1435
1442
|
}]
|
1436
|
-
}] });
|
1443
|
+
}], ctorParameters: function () { return [{ type: SkyDynamicComponentService }]; } });
|
1437
1444
|
|
1438
1445
|
/**
|
1439
1446
|
* Provides services required to create dynamic components on the page.
|
@@ -1441,11 +1448,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
1441
1448
|
* The `SkyDynamicComponentModule` can be removed from your project.
|
1442
1449
|
*/
|
1443
1450
|
class SkyDynamicComponentModule {
|
1444
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
1445
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1
|
1446
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1
|
1451
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDynamicComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1452
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: SkyDynamicComponentModule }); }
|
1453
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDynamicComponentModule }); }
|
1447
1454
|
}
|
1448
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
1455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDynamicComponentModule, decorators: [{
|
1449
1456
|
type: NgModule,
|
1450
1457
|
args: [{}]
|
1451
1458
|
}] });
|
@@ -1456,10 +1463,10 @@ class SkyAppFormat {
|
|
1456
1463
|
return args[parseInt(capture, 10)];
|
1457
1464
|
});
|
1458
1465
|
}
|
1459
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
1460
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
1466
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyAppFormat, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1467
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyAppFormat, providedIn: 'root' }); }
|
1461
1468
|
}
|
1462
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
1469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyAppFormat, decorators: [{
|
1463
1470
|
type: Injectable,
|
1464
1471
|
args: [{
|
1465
1472
|
providedIn: 'root',
|
@@ -1478,10 +1485,10 @@ class SkyIdService {
|
|
1478
1485
|
// elements with the same ID across sessions.
|
1479
1486
|
return `sky-id-gen__${new Date().getTime()}__${idIndex}`;
|
1480
1487
|
}
|
1481
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
1482
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
1488
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyIdService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1489
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyIdService, providedIn: 'root' }); }
|
1483
1490
|
}
|
1484
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
1491
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyIdService, decorators: [{
|
1485
1492
|
type: Injectable,
|
1486
1493
|
args: [{
|
1487
1494
|
providedIn: 'root',
|
@@ -1505,10 +1512,10 @@ class SkyIdDirective {
|
|
1505
1512
|
renderer.setAttribute(elRef.nativeElement, 'id', id);
|
1506
1513
|
this.#_id = id;
|
1507
1514
|
}
|
1508
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
1509
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1
|
1515
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyIdDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: SkyIdService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
1516
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.1", type: SkyIdDirective, selector: "[skyId]", exportAs: ["skyId"], ngImport: i0 }); }
|
1510
1517
|
}
|
1511
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
1518
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyIdDirective, decorators: [{
|
1512
1519
|
type: Directive,
|
1513
1520
|
args: [{
|
1514
1521
|
selector: '[skyId]',
|
@@ -1517,11 +1524,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
1517
1524
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: SkyIdService }]; } });
|
1518
1525
|
|
1519
1526
|
class SkyIdModule {
|
1520
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
1521
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1
|
1522
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1
|
1527
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyIdModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1528
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: SkyIdModule, declarations: [SkyIdDirective], exports: [SkyIdDirective] }); }
|
1529
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyIdModule }); }
|
1523
1530
|
}
|
1524
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
1531
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyIdModule, decorators: [{
|
1525
1532
|
type: NgModule,
|
1526
1533
|
args: [{
|
1527
1534
|
declarations: [SkyIdDirective],
|
@@ -1541,10 +1548,10 @@ class SkyLayoutHostService {
|
|
1541
1548
|
setHostLayoutForChild(layout) {
|
1542
1549
|
this.#hostLayoutForChild.next(layout);
|
1543
1550
|
}
|
1544
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
1545
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
1551
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyLayoutHostService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1552
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyLayoutHostService }); }
|
1546
1553
|
}
|
1547
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
1554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyLayoutHostService, decorators: [{
|
1548
1555
|
type: Injectable
|
1549
1556
|
}] });
|
1550
1557
|
|
@@ -1614,10 +1621,10 @@ class SkyLiveAnnouncerService {
|
|
1614
1621
|
this.#document.body.appendChild(liveEl);
|
1615
1622
|
return liveEl;
|
1616
1623
|
}
|
1617
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
1618
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
1624
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyLiveAnnouncerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1625
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyLiveAnnouncerService, providedIn: 'root' }); }
|
1619
1626
|
}
|
1620
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
1627
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyLiveAnnouncerService, decorators: [{
|
1621
1628
|
type: Injectable,
|
1622
1629
|
args: [{
|
1623
1630
|
providedIn: 'root',
|
@@ -1629,11 +1636,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
1629
1636
|
* The `SkyLogModule` can be removed from your project.
|
1630
1637
|
*/
|
1631
1638
|
class SkyLogModule {
|
1632
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
1633
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1
|
1634
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1
|
1639
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyLogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1640
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: SkyLogModule }); }
|
1641
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyLogModule }); }
|
1635
1642
|
}
|
1636
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
1643
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyLogModule, decorators: [{
|
1637
1644
|
type: NgModule,
|
1638
1645
|
args: [{}]
|
1639
1646
|
}] });
|
@@ -1772,10 +1779,10 @@ class SkyLogService {
|
|
1772
1779
|
}
|
1773
1780
|
return key;
|
1774
1781
|
}
|
1775
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
1776
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
1782
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyLogService, deps: [{ token: SkyAppFormat }, { token: SKY_LOG_LEVEL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1783
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyLogService, providedIn: 'root' }); }
|
1777
1784
|
}
|
1778
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
1785
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyLogService, decorators: [{
|
1779
1786
|
type: Injectable,
|
1780
1787
|
args: [{
|
1781
1788
|
providedIn: 'root',
|
@@ -1792,11 +1799,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
1792
1799
|
* The `SkyMediaQueryModule` can be removed from your project.
|
1793
1800
|
*/
|
1794
1801
|
class SkyMediaQueryModule {
|
1795
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
1796
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1
|
1797
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1
|
1802
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyMediaQueryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1803
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: SkyMediaQueryModule }); }
|
1804
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyMediaQueryModule }); }
|
1798
1805
|
}
|
1799
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
1806
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyMediaQueryModule, decorators: [{
|
1800
1807
|
type: NgModule,
|
1801
1808
|
args: [{}]
|
1802
1809
|
}] });
|
@@ -1910,10 +1917,10 @@ class SkyMediaQueryService {
|
|
1910
1917
|
this.#currentBreakpoint = breakpoint;
|
1911
1918
|
this.#currentSubject.next(breakpoint);
|
1912
1919
|
}
|
1913
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
1914
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
1920
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyMediaQueryService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1921
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyMediaQueryService, providedIn: 'root' }); }
|
1915
1922
|
}
|
1916
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
1923
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyMediaQueryService, decorators: [{
|
1917
1924
|
type: Injectable,
|
1918
1925
|
args: [{
|
1919
1926
|
providedIn: 'root',
|
@@ -1943,9 +1950,9 @@ class SkyCoreResourcesProvider {
|
|
1943
1950
|
* Import into any component library module that needs to use resource strings.
|
1944
1951
|
*/
|
1945
1952
|
class SkyCoreResourcesModule {
|
1946
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
1947
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1
|
1948
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1
|
1953
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyCoreResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1954
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: SkyCoreResourcesModule, exports: [SkyI18nModule] }); }
|
1955
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyCoreResourcesModule, providers: [
|
1949
1956
|
{
|
1950
1957
|
provide: SKY_LIB_RESOURCES_PROVIDERS,
|
1951
1958
|
useClass: SkyCoreResourcesProvider,
|
@@ -1953,7 +1960,7 @@ class SkyCoreResourcesModule {
|
|
1953
1960
|
},
|
1954
1961
|
], imports: [SkyI18nModule] }); }
|
1955
1962
|
}
|
1956
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
1963
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyCoreResourcesModule, decorators: [{
|
1957
1964
|
type: NgModule,
|
1958
1965
|
args: [{
|
1959
1966
|
exports: [SkyI18nModule],
|
@@ -2252,11 +2259,14 @@ class SkyNumericService {
|
|
2252
2259
|
// TODO: Need to implement the async `getString` method in a breaking change.
|
2253
2260
|
return this.#resourcesSvc.getStringForLocale({ locale: 'en_US' }, key);
|
2254
2261
|
}
|
2255
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
2256
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
2262
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyNumericService, deps: [{ token: i1.SkyLibResourcesService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2263
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyNumericService, providedIn: 'any' }); }
|
2257
2264
|
}
|
2258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
2259
|
-
type: Injectable
|
2265
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyNumericService, decorators: [{
|
2266
|
+
type: Injectable,
|
2267
|
+
args: [{
|
2268
|
+
providedIn: 'any',
|
2269
|
+
}]
|
2260
2270
|
}], ctorParameters: function () { return [{ type: i1.SkyLibResourcesService }]; } });
|
2261
2271
|
|
2262
2272
|
/**
|
@@ -2322,10 +2332,10 @@ class SkyNumericPipe {
|
|
2322
2332
|
this.#formattedValue = this.#numericSvc.formatNumber(value, options);
|
2323
2333
|
return this.#formattedValue;
|
2324
2334
|
}
|
2325
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
2326
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1
|
2335
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyNumericPipe, deps: [{ token: i1.SkyAppLocaleProvider }, { token: SkyNumericService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
2336
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: SkyNumericPipe, name: "skyNumeric", pure: false }); }
|
2327
2337
|
}
|
2328
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
2338
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyNumericPipe, decorators: [{
|
2329
2339
|
type: Pipe,
|
2330
2340
|
args: [{
|
2331
2341
|
name: 'skyNumeric',
|
@@ -2334,15 +2344,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
2334
2344
|
}], ctorParameters: function () { return [{ type: i1.SkyAppLocaleProvider }, { type: SkyNumericService }, { type: i0.ChangeDetectorRef }]; } });
|
2335
2345
|
|
2336
2346
|
class SkyNumericModule {
|
2337
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
2338
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1
|
2339
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1
|
2347
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyNumericModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
2348
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: SkyNumericModule, declarations: [SkyNumericPipe], imports: [SkyCoreResourcesModule], exports: [SkyNumericPipe] }); }
|
2349
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyNumericModule, providers: [SkyNumericPipe], imports: [SkyCoreResourcesModule] }); }
|
2340
2350
|
}
|
2341
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
2351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyNumericModule, decorators: [{
|
2342
2352
|
type: NgModule,
|
2343
2353
|
args: [{
|
2344
2354
|
declarations: [SkyNumericPipe],
|
2345
|
-
providers: [SkyNumericPipe
|
2355
|
+
providers: [SkyNumericPipe],
|
2346
2356
|
imports: [SkyCoreResourcesModule],
|
2347
2357
|
exports: [SkyNumericPipe],
|
2348
2358
|
}]
|
@@ -2575,10 +2585,10 @@ class SkyOverlayComponent {
|
|
2575
2585
|
this.#routerSubscription = undefined;
|
2576
2586
|
}
|
2577
2587
|
}
|
2578
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
2579
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1
|
2588
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyOverlayComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Injector }, { token: SkyCoreAdapterService }, { token: SkyOverlayContext }, { token: SkyIdService }, { token: i4.Router, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
2589
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: SkyOverlayComponent, selector: "sky-overlay", host: { properties: { "id": "this.id" } }, viewQueries: [{ propertyName: "overlayContentRef", first: true, predicate: ["overlayContentRef"], descendants: true, read: ElementRef, static: true }, { propertyName: "overlayRef", first: true, predicate: ["overlayRef"], descendants: true, read: ElementRef, static: true }, { propertyName: "targetRef", first: true, predicate: ["target"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: "<div\n [class]=\"'sky-overlay-position-' + position + ' ' + wrapperClass\"\n [style.z-index]=\"zIndex\"\n [style.clip-path]=\"clipPath$ | async\"\n [ngClass]=\"{\n 'enable-pointer-events-pass-through': enablePointerEvents,\n 'sky-overlay': true\n }\"\n #overlayRef\n>\n <div class=\"sky-overlay-content\" #overlayContentRef>\n <ng-template #target> </ng-template>\n </div>\n <div *ngIf=\"showBackdrop\" class=\"sky-overlay-backdrop\"></div>\n</div>\n", styles: [".sky-overlay{inset:0;width:100%;height:100%;display:flex;pointer-events:auto}.sky-overlay-position-absolute{position:absolute}.sky-overlay-position-fixed{position:fixed}.sky-overlay-content{position:relative;z-index:1;display:inline-flex;align-self:start;pointer-events:auto}.sky-overlay-backdrop{background:rgba(0,0,0,.5);inset:0;width:100%;height:100%;position:absolute}.enable-pointer-events-pass-through,.enable-pointer-events-pass-through .sky-overlay-backdrop{pointer-events:none}.enable-pointer-events-pass-through .sky-overlay-content{pointer-events:auto}\n"], dependencies: [{ kind: "directive", type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
2580
2590
|
}
|
2581
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
2591
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyOverlayComponent, decorators: [{
|
2582
2592
|
type: Component,
|
2583
2593
|
args: [{ selector: 'sky-overlay', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n [class]=\"'sky-overlay-position-' + position + ' ' + wrapperClass\"\n [style.z-index]=\"zIndex\"\n [style.clip-path]=\"clipPath$ | async\"\n [ngClass]=\"{\n 'enable-pointer-events-pass-through': enablePointerEvents,\n 'sky-overlay': true\n }\"\n #overlayRef\n>\n <div class=\"sky-overlay-content\" #overlayContentRef>\n <ng-template #target> </ng-template>\n </div>\n <div *ngIf=\"showBackdrop\" class=\"sky-overlay-backdrop\"></div>\n</div>\n", styles: [".sky-overlay{inset:0;width:100%;height:100%;display:flex;pointer-events:auto}.sky-overlay-position-absolute{position:absolute}.sky-overlay-position-fixed{position:fixed}.sky-overlay-content{position:relative;z-index:1;display:inline-flex;align-self:start;pointer-events:auto}.sky-overlay-backdrop{background:rgba(0,0,0,.5);inset:0;width:100%;height:100%;position:absolute}.enable-pointer-events-pass-through,.enable-pointer-events-pass-through .sky-overlay-backdrop{pointer-events:none}.enable-pointer-events-pass-through .sky-overlay-content{pointer-events:auto}\n"] }]
|
2584
2594
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.Injector }, { type: SkyCoreAdapterService }, { type: SkyOverlayContext }, { type: SkyIdService }, { type: i4.Router, decorators: [{
|
@@ -2607,11 +2617,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
2607
2617
|
}] } });
|
2608
2618
|
|
2609
2619
|
class SkyOverlayModule {
|
2610
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
2611
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1
|
2612
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1
|
2620
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyOverlayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
2621
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: SkyOverlayModule, declarations: [SkyOverlayComponent], imports: [CommonModule] }); }
|
2622
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyOverlayModule, imports: [CommonModule] }); }
|
2613
2623
|
}
|
2614
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
2624
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyOverlayModule, decorators: [{
|
2615
2625
|
type: NgModule,
|
2616
2626
|
args: [{
|
2617
2627
|
imports: [CommonModule],
|
@@ -2651,10 +2661,10 @@ class SkyOverlayAdapterService {
|
|
2651
2661
|
this.#renderer.removeChild(document.head, this.#styleElement);
|
2652
2662
|
}
|
2653
2663
|
}
|
2654
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
2655
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
2664
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyOverlayAdapterService, deps: [{ token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2665
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyOverlayAdapterService, providedIn: 'root' }); }
|
2656
2666
|
}
|
2657
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
2667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyOverlayAdapterService, decorators: [{
|
2658
2668
|
type: Injectable,
|
2659
2669
|
args: [{
|
2660
2670
|
providedIn: 'root',
|
@@ -2754,10 +2764,10 @@ class SkyOverlayService {
|
|
2754
2764
|
}
|
2755
2765
|
}
|
2756
2766
|
}
|
2757
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
2758
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
2767
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyOverlayService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2768
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyOverlayService, providedIn: 'root' }); }
|
2759
2769
|
}
|
2760
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
2770
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyOverlayService, decorators: [{
|
2761
2771
|
type: Injectable,
|
2762
2772
|
args: [{
|
2763
2773
|
providedIn: 'root',
|
@@ -2802,10 +2812,10 @@ class SkyPercentPipe {
|
|
2802
2812
|
? SkyNumberFormatUtility.formatNumber(locale, this.#value, SkyIntlNumberFormatStyle.Percent, format)
|
2803
2813
|
: '';
|
2804
2814
|
}
|
2805
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
2806
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1
|
2815
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyPercentPipe, deps: [{ token: i1.SkyAppLocaleProvider }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
2816
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: SkyPercentPipe, name: "skyPercent", pure: false }); }
|
2807
2817
|
}
|
2808
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
2818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyPercentPipe, decorators: [{
|
2809
2819
|
type: Pipe,
|
2810
2820
|
args: [{
|
2811
2821
|
name: 'skyPercent',
|
@@ -2814,11 +2824,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
2814
2824
|
}], ctorParameters: function () { return [{ type: i1.SkyAppLocaleProvider }]; } });
|
2815
2825
|
|
2816
2826
|
class SkyPercentPipeModule {
|
2817
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
2818
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1
|
2819
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1
|
2827
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyPercentPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
2828
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: SkyPercentPipeModule, declarations: [SkyPercentPipe], imports: [CommonModule, SkyCoreResourcesModule], exports: [SkyPercentPipe] }); }
|
2829
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyPercentPipeModule, providers: [SkyPercentPipe], imports: [CommonModule, SkyCoreResourcesModule] }); }
|
2820
2830
|
}
|
2821
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
2831
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyPercentPipeModule, decorators: [{
|
2822
2832
|
type: NgModule,
|
2823
2833
|
args: [{
|
2824
2834
|
declarations: [SkyPercentPipe],
|
@@ -2891,10 +2901,10 @@ class SkyResizeObserverService {
|
|
2891
2901
|
}
|
2892
2902
|
});
|
2893
2903
|
}
|
2894
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
2895
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
2904
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyResizeObserverService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2905
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyResizeObserverService, providedIn: 'root' }); }
|
2896
2906
|
}
|
2897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
2907
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyResizeObserverService, decorators: [{
|
2898
2908
|
type: Injectable,
|
2899
2909
|
args: [{
|
2900
2910
|
providedIn: 'root',
|
@@ -3029,10 +3039,10 @@ class SkyResizeObserverMediaQueryService {
|
|
3029
3039
|
this.#updateBreakpoint(breakpoint, updateResponsiveClasses);
|
3030
3040
|
}
|
3031
3041
|
}
|
3032
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
3033
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
3042
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyResizeObserverMediaQueryService, deps: [{ token: SkyResizeObserverService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
3043
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyResizeObserverMediaQueryService }); }
|
3034
3044
|
}
|
3035
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
3045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyResizeObserverMediaQueryService, decorators: [{
|
3036
3046
|
type: Injectable
|
3037
3047
|
}], ctorParameters: function () { return [{ type: SkyResizeObserverService }]; } });
|
3038
3048
|
|
@@ -3240,10 +3250,10 @@ class SkyScrollableHostService {
|
|
3240
3250
|
height: docElem.clientHeight,
|
3241
3251
|
};
|
3242
3252
|
}
|
3243
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
3244
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
3253
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyScrollableHostService, deps: [{ token: SkyMutationObserverService }, { token: SkyAppWindowRef }, { token: SkyResizeObserverService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
3254
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyScrollableHostService, providedIn: 'root' }); }
|
3245
3255
|
}
|
3246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
3256
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyScrollableHostService, decorators: [{
|
3247
3257
|
type: Injectable,
|
3248
3258
|
args: [{
|
3249
3259
|
providedIn: 'root',
|
@@ -3270,10 +3280,10 @@ class SkyAppTitleService {
|
|
3270
3280
|
this.#title.setTitle(args.titleParts.join(' - '));
|
3271
3281
|
}
|
3272
3282
|
}
|
3273
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
3274
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
3283
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyAppTitleService, deps: [{ token: i1$1.Title }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
3284
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyAppTitleService, providedIn: 'root' }); }
|
3275
3285
|
}
|
3276
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
3286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyAppTitleService, decorators: [{
|
3277
3287
|
type: Injectable,
|
3278
3288
|
args: [{
|
3279
3289
|
providedIn: 'root',
|
@@ -3331,10 +3341,10 @@ class SkyTrimDirective {
|
|
3331
3341
|
}
|
3332
3342
|
this.#observe();
|
3333
3343
|
}
|
3334
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
3335
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1
|
3344
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyTrimDirective, deps: [{ token: i0.ElementRef }, { token: SkyMutationObserverService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
3345
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.1", type: SkyTrimDirective, selector: "[skyTrim]", ngImport: i0 }); }
|
3336
3346
|
}
|
3337
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
3347
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyTrimDirective, decorators: [{
|
3338
3348
|
type: Directive,
|
3339
3349
|
args: [{
|
3340
3350
|
selector: '[skyTrim]',
|
@@ -3342,11 +3352,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
3342
3352
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: SkyMutationObserverService }]; } });
|
3343
3353
|
|
3344
3354
|
class SkyTrimModule {
|
3345
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
3346
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1
|
3347
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1
|
3355
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyTrimModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
3356
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: SkyTrimModule, declarations: [SkyTrimDirective], exports: [SkyTrimDirective] }); }
|
3357
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyTrimModule }); }
|
3348
3358
|
}
|
3349
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
3359
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyTrimModule, decorators: [{
|
3350
3360
|
type: NgModule,
|
3351
3361
|
args: [{
|
3352
3362
|
declarations: [SkyTrimDirective],
|
@@ -3362,10 +3372,10 @@ class SkyUIConfigService {
|
|
3362
3372
|
setConfig(key, value) {
|
3363
3373
|
return of({});
|
3364
3374
|
}
|
3365
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
3366
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
3375
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyUIConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
3376
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyUIConfigService, providedIn: 'root' }); }
|
3367
3377
|
}
|
3368
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
3378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyUIConfigService, decorators: [{
|
3369
3379
|
type: Injectable,
|
3370
3380
|
args: [{
|
3371
3381
|
providedIn: 'root',
|
@@ -3373,10 +3383,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
3373
3383
|
}] });
|
3374
3384
|
|
3375
3385
|
class SkyViewkeeperHostOptions {
|
3376
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
3377
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
3386
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyViewkeeperHostOptions, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
3387
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyViewkeeperHostOptions }); }
|
3378
3388
|
}
|
3379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
3389
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyViewkeeperHostOptions, decorators: [{
|
3380
3390
|
type: Injectable
|
3381
3391
|
}] });
|
3382
3392
|
|
@@ -3686,10 +3696,10 @@ class SkyViewkeeperService {
|
|
3686
3696
|
destroy(vk) {
|
3687
3697
|
vk.destroy();
|
3688
3698
|
}
|
3689
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
3690
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
3699
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyViewkeeperService, deps: [{ token: SkyViewkeeperHostOptions, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
3700
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyViewkeeperService, providedIn: 'root' }); }
|
3691
3701
|
}
|
3692
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
3702
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyViewkeeperService, decorators: [{
|
3693
3703
|
type: Injectable,
|
3694
3704
|
args: [{
|
3695
3705
|
providedIn: 'root',
|
@@ -3808,10 +3818,10 @@ class SkyViewkeeperDirective {
|
|
3808
3818
|
this.#currentViewkeeperEls = viewkeeperEls;
|
3809
3819
|
}
|
3810
3820
|
}
|
3811
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
3812
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1
|
3821
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyViewkeeperDirective, deps: [{ token: i0.ElementRef }, { token: SkyMutationObserverService }, { token: SkyViewkeeperService }, { token: SkyScrollableHostService, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
3822
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.1", type: SkyViewkeeperDirective, selector: "[skyViewkeeper]", inputs: { skyViewkeeper: "skyViewkeeper" }, ngImport: i0 }); }
|
3813
3823
|
}
|
3814
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
3824
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyViewkeeperDirective, decorators: [{
|
3815
3825
|
type: Directive,
|
3816
3826
|
args: [{
|
3817
3827
|
selector: '[skyViewkeeper]',
|
@@ -3823,11 +3833,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
3823
3833
|
}] } });
|
3824
3834
|
|
3825
3835
|
class SkyViewkeeperModule {
|
3826
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
3827
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1
|
3828
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1
|
3836
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyViewkeeperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
3837
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: SkyViewkeeperModule, declarations: [SkyViewkeeperDirective], exports: [SkyViewkeeperDirective] }); }
|
3838
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyViewkeeperModule }); }
|
3829
3839
|
}
|
3830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
3840
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyViewkeeperModule, decorators: [{
|
3831
3841
|
type: NgModule,
|
3832
3842
|
args: [{
|
3833
3843
|
declarations: [SkyViewkeeperDirective],
|