@skyux/core 6.0.0-beta.3 → 6.0.0-beta.6
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 +370 -486
- package/esm2020/index.mjs +3 -1
- package/esm2020/lib/modules/adapter-service/adapter.module.mjs +4 -4
- package/esm2020/lib/modules/adapter-service/adapter.service.mjs +4 -5
- package/esm2020/lib/modules/affix/affix.directive.mjs +3 -3
- package/esm2020/lib/modules/affix/affix.module.mjs +4 -4
- package/esm2020/lib/modules/affix/affix.service.mjs +3 -3
- package/esm2020/lib/modules/affix/affixer.mjs +1 -4
- package/esm2020/lib/modules/dock/dock-dom-adapter.service.mjs +3 -3
- package/esm2020/lib/modules/dock/dock.component.mjs +3 -3
- package/esm2020/lib/modules/dock/dock.module.mjs +4 -4
- package/esm2020/lib/modules/dock/dock.service.mjs +3 -3
- package/esm2020/lib/modules/dynamic-component/dynamic-component.module.mjs +4 -4
- package/esm2020/lib/modules/dynamic-component/dynamic-component.service.mjs +3 -3
- package/esm2020/lib/modules/format/app-format.mjs +3 -3
- package/esm2020/lib/modules/id/id.directive.mjs +3 -3
- package/esm2020/lib/modules/id/id.module.mjs +4 -4
- package/esm2020/lib/modules/log/log.module.mjs +4 -4
- package/esm2020/lib/modules/log/log.service.mjs +121 -12
- package/esm2020/lib/modules/log/types/log-deprecation-args.mjs +2 -0
- package/esm2020/lib/modules/log/types/log-level-token.mjs +6 -0
- package/esm2020/lib/modules/log/types/log-level.mjs +2 -0
- package/esm2020/lib/modules/media-query/media-query.module.mjs +4 -4
- package/esm2020/lib/modules/media-query/media-query.service.mjs +3 -3
- package/esm2020/lib/modules/mutation/mutation-observer-service.mjs +3 -3
- package/esm2020/lib/modules/numeric/numeric.module.mjs +4 -4
- package/esm2020/lib/modules/numeric/numeric.pipe.mjs +4 -6
- package/esm2020/lib/modules/numeric/numeric.service.mjs +4 -6
- package/esm2020/lib/modules/overlay/overlay-adapter.service.mjs +3 -3
- package/esm2020/lib/modules/overlay/overlay.component.mjs +3 -3
- package/esm2020/lib/modules/overlay/overlay.module.mjs +4 -4
- package/esm2020/lib/modules/overlay/overlay.service.mjs +3 -3
- package/esm2020/lib/modules/percent-pipe/percent-pipe.module.mjs +4 -4
- package/esm2020/lib/modules/percent-pipe/percent.pipe.mjs +3 -3
- package/esm2020/lib/modules/resize-observer/resize-observer-media-query.service.mjs +5 -5
- package/esm2020/lib/modules/resize-observer/resize-observer.service.mjs +3 -3
- package/esm2020/lib/modules/scrollable-host/scrollable-host.service.mjs +3 -3
- package/esm2020/lib/modules/shared/number-format/number-format-utility.mjs +1 -2
- package/esm2020/lib/modules/shared/sky-core-resources.module.mjs +4 -4
- package/esm2020/lib/modules/title/title.service.mjs +3 -3
- package/esm2020/lib/modules/ui-config/ui-config.service.mjs +3 -3
- package/esm2020/lib/modules/viewkeeper/viewkeeper-host-options.mjs +3 -3
- package/esm2020/lib/modules/viewkeeper/viewkeeper.directive.mjs +3 -3
- package/esm2020/lib/modules/viewkeeper/viewkeeper.module.mjs +4 -4
- package/esm2020/lib/modules/viewkeeper/viewkeeper.service.mjs +3 -3
- package/esm2020/lib/modules/window/window-ref.mjs +3 -3
- package/esm2020/testing/mock-media-query.service.mjs +3 -3
- package/esm2020/testing/mock-ui-config.service.mjs +3 -3
- package/fesm2015/skyux-core-testing.mjs +6 -6
- package/fesm2015/skyux-core.mjs +257 -149
- package/fesm2015/skyux-core.mjs.map +1 -1
- package/fesm2020/skyux-core-testing.mjs +6 -6
- package/fesm2020/skyux-core.mjs +251 -148
- package/fesm2020/skyux-core.mjs.map +1 -1
- package/index.d.ts +2 -0
- package/lib/modules/log/log.service.d.ts +37 -3
- package/lib/modules/log/types/log-deprecation-args.d.ts +27 -0
- package/lib/modules/log/types/log-level-token.d.ts +6 -0
- package/lib/modules/log/types/log-level.d.ts +8 -0
- package/lib/modules/numeric/numeric.pipe.d.ts +0 -2
- package/lib/modules/resize-observer/resize-observer-media-query.service.d.ts +0 -1
- package/package.json +6 -6
package/fesm2015/skyux-core.mjs
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
|
-
import { NgModule, Injectable, EventEmitter, Directive, Input, Output, Injector, ViewContainerRef, Component, ChangeDetectionStrategy, ViewChild, Pipe, ElementRef
|
2
|
+
import { NgModule, Injectable, EventEmitter, Directive, Input, Output, Injector, ViewContainerRef, Component, ChangeDetectionStrategy, ViewChild, InjectionToken, Optional, Inject, Pipe, ElementRef } from '@angular/core';
|
3
3
|
import * as i4 from '@angular/common';
|
4
4
|
import { CommonModule } from '@angular/common';
|
5
5
|
import { Subject, fromEvent, BehaviorSubject, ReplaySubject, Observable, of } from 'rxjs';
|
6
6
|
import { takeUntil, debounceTime, finalize } from 'rxjs/operators';
|
7
|
+
import { __awaiter } from 'tslib';
|
7
8
|
import * as i1 from '@skyux/i18n';
|
8
9
|
import { getLibStringForLocale, SkyI18nModule, SKY_LIB_RESOURCES_PROVIDERS, SkyIntlNumberFormatStyle, SkyIntlNumberFormatter } from '@skyux/i18n';
|
9
10
|
import * as i3 from '@angular/router';
|
@@ -16,10 +17,10 @@ import * as i1$1 from '@angular/platform-browser';
|
|
16
17
|
*/
|
17
18
|
class SkyCoreAdapterModule {
|
18
19
|
}
|
19
|
-
SkyCoreAdapterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
20
|
-
SkyCoreAdapterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2
|
21
|
-
SkyCoreAdapterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
20
|
+
SkyCoreAdapterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyCoreAdapterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
21
|
+
SkyCoreAdapterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyCoreAdapterModule });
|
22
|
+
SkyCoreAdapterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyCoreAdapterModule });
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyCoreAdapterModule, decorators: [{
|
23
24
|
type: NgModule,
|
24
25
|
args: [{}]
|
25
26
|
}] });
|
@@ -208,7 +209,6 @@ class SkyCoreAdapterService {
|
|
208
209
|
if (children.length > 0) {
|
209
210
|
for (let i = 0; i < children.length; i++) {
|
210
211
|
// Setting style attributes with Web API requires null instead of undefined.
|
211
|
-
// tslint:disable-next-line: no-null-keyword
|
212
212
|
children[i].style.height = null;
|
213
213
|
}
|
214
214
|
}
|
@@ -250,9 +250,9 @@ class SkyCoreAdapterService {
|
|
250
250
|
return hasBounds;
|
251
251
|
}
|
252
252
|
}
|
253
|
-
SkyCoreAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
254
|
-
SkyCoreAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2
|
255
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
253
|
+
SkyCoreAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyCoreAdapterService, deps: [{ token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
|
254
|
+
SkyCoreAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyCoreAdapterService, providedIn: 'root' });
|
255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyCoreAdapterService, decorators: [{
|
256
256
|
type: Injectable,
|
257
257
|
args: [{
|
258
258
|
providedIn: 'root',
|
@@ -488,13 +488,11 @@ class SkyAffixer {
|
|
488
488
|
this.notifyPlacementChange(placement);
|
489
489
|
}
|
490
490
|
else {
|
491
|
-
/* tslint:disable-next-line:no-null-keyword */
|
492
491
|
this.notifyPlacementChange(null);
|
493
492
|
}
|
494
493
|
return offset;
|
495
494
|
}
|
496
495
|
if (this.config.enableAutoFit) {
|
497
|
-
/* tslint:disable-next-line:no-null-keyword */
|
498
496
|
this.notifyPlacementChange(null);
|
499
497
|
}
|
500
498
|
// No suitable placement was found, so revert to preferred placement.
|
@@ -595,7 +593,6 @@ class SkyAffixer {
|
|
595
593
|
let pixelTolerance;
|
596
594
|
const originalOffsetTop = offset.top;
|
597
595
|
const originalOffsetLeft = offset.left;
|
598
|
-
/* tslint:disable-next-line:switch-default */
|
599
596
|
switch (placement) {
|
600
597
|
case 'above':
|
601
598
|
case 'below':
|
@@ -723,9 +720,9 @@ class SkyAffixService {
|
|
723
720
|
return new SkyAffixer(affixed.nativeElement, this.renderer);
|
724
721
|
}
|
725
722
|
}
|
726
|
-
SkyAffixService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
727
|
-
SkyAffixService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2
|
728
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
723
|
+
SkyAffixService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAffixService, deps: [{ token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
|
724
|
+
SkyAffixService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAffixService, providedIn: 'root' });
|
725
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAffixService, decorators: [{
|
729
726
|
type: Injectable,
|
730
727
|
args: [{
|
731
728
|
providedIn: 'root',
|
@@ -794,9 +791,9 @@ class SkyAffixDirective {
|
|
794
791
|
});
|
795
792
|
}
|
796
793
|
}
|
797
|
-
SkyAffixDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
798
|
-
SkyAffixDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2
|
799
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
794
|
+
SkyAffixDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAffixDirective, deps: [{ token: i0.ElementRef }, { token: SkyAffixService }], target: i0.ɵɵFactoryTarget.Directive });
|
795
|
+
SkyAffixDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: SkyAffixDirective, selector: "[skyAffixTo]", inputs: { skyAffixTo: "skyAffixTo", affixAutoFitContext: "affixAutoFitContext", affixAutoFitOverflowOffset: "affixAutoFitOverflowOffset", affixEnableAutoFit: "affixEnableAutoFit", affixHorizontalAlignment: "affixHorizontalAlignment", affixIsSticky: "affixIsSticky", affixPlacement: "affixPlacement", affixVerticalAlignment: "affixVerticalAlignment" }, outputs: { affixOffsetChange: "affixOffsetChange", affixOverflowScroll: "affixOverflowScroll", affixPlacementChange: "affixPlacementChange" }, usesOnChanges: true, ngImport: i0 });
|
796
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAffixDirective, decorators: [{
|
800
797
|
type: Directive,
|
801
798
|
args: [{
|
802
799
|
selector: '[skyAffixTo]',
|
@@ -827,10 +824,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
|
|
827
824
|
|
828
825
|
class SkyAffixModule {
|
829
826
|
}
|
830
|
-
SkyAffixModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
831
|
-
SkyAffixModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2
|
832
|
-
SkyAffixModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2
|
833
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
827
|
+
SkyAffixModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAffixModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
828
|
+
SkyAffixModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAffixModule, declarations: [SkyAffixDirective], imports: [CommonModule], exports: [SkyAffixDirective] });
|
829
|
+
SkyAffixModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAffixModule, imports: [[CommonModule]] });
|
830
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAffixModule, decorators: [{
|
834
831
|
type: NgModule,
|
835
832
|
args: [{
|
836
833
|
imports: [CommonModule],
|
@@ -891,9 +888,9 @@ class MutationObserverService {
|
|
891
888
|
return new MutationObserver(callback);
|
892
889
|
}
|
893
890
|
}
|
894
|
-
MutationObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
895
|
-
MutationObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2
|
896
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
891
|
+
MutationObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MutationObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
892
|
+
MutationObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MutationObserverService, providedIn: 'root' });
|
893
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MutationObserverService, decorators: [{
|
897
894
|
type: Injectable,
|
898
895
|
args: [{
|
899
896
|
providedIn: 'root',
|
@@ -968,9 +965,9 @@ class SkyDockDomAdapterService {
|
|
968
965
|
this.renderer.removeChild(document.head, this.styleElement);
|
969
966
|
}
|
970
967
|
}
|
971
|
-
SkyDockDomAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
972
|
-
SkyDockDomAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2
|
973
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
968
|
+
SkyDockDomAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyDockDomAdapterService, deps: [{ token: MutationObserverService }, { token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
|
969
|
+
SkyDockDomAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyDockDomAdapterService });
|
970
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyDockDomAdapterService, decorators: [{
|
974
971
|
type: Injectable
|
975
972
|
}], ctorParameters: function () { return [{ type: MutationObserverService }, { type: i0.RendererFactory2 }]; } });
|
976
973
|
|
@@ -1057,9 +1054,9 @@ class SkyDockComponent {
|
|
1057
1054
|
return this.itemRefs[0].stackOrder + 1;
|
1058
1055
|
}
|
1059
1056
|
}
|
1060
|
-
SkyDockComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
1061
|
-
SkyDockComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2
|
1062
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
1057
|
+
SkyDockComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyDockComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ComponentFactoryResolver }, { token: i0.ElementRef }, { token: i0.Injector }, { token: SkyDockDomAdapterService }], target: i0.ɵɵFactoryTarget.Component });
|
1058
|
+
SkyDockComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", 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:0;bottom:0;right:0}:host.sky-dock-sticky{position:sticky}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
1059
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyDockComponent, decorators: [{
|
1063
1060
|
type: Component,
|
1064
1061
|
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:0;bottom:0;right:0}:host.sky-dock-sticky{position:sticky}\n"] }]
|
1065
1062
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ComponentFactoryResolver }, { type: i0.ElementRef }, { type: i0.Injector }, { type: SkyDockDomAdapterService }]; }, propDecorators: { target: [{
|
@@ -1072,10 +1069,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
|
|
1072
1069
|
|
1073
1070
|
class SkyDockModule {
|
1074
1071
|
}
|
1075
|
-
SkyDockModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
1076
|
-
SkyDockModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2
|
1077
|
-
SkyDockModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2
|
1078
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
1072
|
+
SkyDockModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyDockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1073
|
+
SkyDockModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyDockModule, declarations: [SkyDockComponent], imports: [CommonModule] });
|
1074
|
+
SkyDockModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyDockModule, providers: [MutationObserverService], imports: [[CommonModule]] });
|
1075
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyDockModule, decorators: [{
|
1079
1076
|
type: NgModule,
|
1080
1077
|
args: [{
|
1081
1078
|
imports: [CommonModule],
|
@@ -1130,9 +1127,9 @@ class SkyAppWindowRef {
|
|
1130
1127
|
return getWindow();
|
1131
1128
|
}
|
1132
1129
|
}
|
1133
|
-
SkyAppWindowRef.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
1134
|
-
SkyAppWindowRef.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2
|
1135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
1130
|
+
SkyAppWindowRef.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAppWindowRef, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1131
|
+
SkyAppWindowRef.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAppWindowRef, providedIn: 'root' });
|
1132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAppWindowRef, decorators: [{
|
1136
1133
|
type: Injectable,
|
1137
1134
|
args: [{
|
1138
1135
|
providedIn: 'root',
|
@@ -1205,9 +1202,9 @@ class SkyDynamicComponentService {
|
|
1205
1202
|
return componentRef.hostView.rootNodes[0];
|
1206
1203
|
}
|
1207
1204
|
}
|
1208
|
-
SkyDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
1209
|
-
SkyDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2
|
1210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
1205
|
+
SkyDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyDynamicComponentService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ApplicationRef }, { token: i0.Injector }, { token: SkyAppWindowRef }, { token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
|
1206
|
+
SkyDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyDynamicComponentService, providedIn: 'any' });
|
1207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyDynamicComponentService, decorators: [{
|
1211
1208
|
type: Injectable,
|
1212
1209
|
args: [{
|
1213
1210
|
// Must be 'any' so that the component is created in the context of its module's injector.
|
@@ -1291,9 +1288,9 @@ class SkyDockService {
|
|
1291
1288
|
}
|
1292
1289
|
}
|
1293
1290
|
SkyDockService._items = [];
|
1294
|
-
SkyDockService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
1295
|
-
SkyDockService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2
|
1296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
1291
|
+
SkyDockService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyDockService, deps: [{ token: SkyDynamicComponentService }], target: i0.ɵɵFactoryTarget.Injectable });
|
1292
|
+
SkyDockService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyDockService, providedIn: 'any' });
|
1293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyDockService, decorators: [{
|
1297
1294
|
type: Injectable,
|
1298
1295
|
args: [{
|
1299
1296
|
// Must be 'any' so that the dock component is created in the context of its module's injector.
|
@@ -1310,10 +1307,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
|
|
1310
1307
|
*/
|
1311
1308
|
class SkyDynamicComponentModule {
|
1312
1309
|
}
|
1313
|
-
SkyDynamicComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
1314
|
-
SkyDynamicComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2
|
1315
|
-
SkyDynamicComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2
|
1316
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
1310
|
+
SkyDynamicComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyDynamicComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1311
|
+
SkyDynamicComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyDynamicComponentModule });
|
1312
|
+
SkyDynamicComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyDynamicComponentModule });
|
1313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyDynamicComponentModule, decorators: [{
|
1317
1314
|
type: NgModule,
|
1318
1315
|
args: [{}]
|
1319
1316
|
}] });
|
@@ -1325,9 +1322,9 @@ class SkyAppFormat {
|
|
1325
1322
|
});
|
1326
1323
|
}
|
1327
1324
|
}
|
1328
|
-
SkyAppFormat.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
1329
|
-
SkyAppFormat.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2
|
1330
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
1325
|
+
SkyAppFormat.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAppFormat, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1326
|
+
SkyAppFormat.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAppFormat, providedIn: 'root' });
|
1327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAppFormat, decorators: [{
|
1331
1328
|
type: Injectable,
|
1332
1329
|
args: [{
|
1333
1330
|
providedIn: 'root',
|
@@ -1356,9 +1353,9 @@ class SkyIdDirective {
|
|
1356
1353
|
return this._id;
|
1357
1354
|
}
|
1358
1355
|
}
|
1359
|
-
SkyIdDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
1360
|
-
SkyIdDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2
|
1361
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
1356
|
+
SkyIdDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyIdDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
1357
|
+
SkyIdDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: SkyIdDirective, selector: "[skyId]", exportAs: ["skyId"], ngImport: i0 });
|
1358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyIdDirective, decorators: [{
|
1362
1359
|
type: Directive,
|
1363
1360
|
args: [{
|
1364
1361
|
selector: '[skyId]',
|
@@ -1368,10 +1365,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
|
|
1368
1365
|
|
1369
1366
|
class SkyIdModule {
|
1370
1367
|
}
|
1371
|
-
SkyIdModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
1372
|
-
SkyIdModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2
|
1373
|
-
SkyIdModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2
|
1374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
1368
|
+
SkyIdModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyIdModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1369
|
+
SkyIdModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyIdModule, declarations: [SkyIdDirective], exports: [SkyIdDirective] });
|
1370
|
+
SkyIdModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyIdModule });
|
1371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyIdModule, decorators: [{
|
1375
1372
|
type: NgModule,
|
1376
1373
|
args: [{
|
1377
1374
|
declarations: [SkyIdDirective],
|
@@ -1385,34 +1382,150 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
|
|
1385
1382
|
*/
|
1386
1383
|
class SkyLogModule {
|
1387
1384
|
}
|
1388
|
-
SkyLogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
1389
|
-
SkyLogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2
|
1390
|
-
SkyLogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2
|
1391
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
1385
|
+
SkyLogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyLogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1386
|
+
SkyLogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyLogModule });
|
1387
|
+
SkyLogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyLogModule });
|
1388
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyLogModule, decorators: [{
|
1392
1389
|
type: NgModule,
|
1393
1390
|
args: [{}]
|
1394
1391
|
}] });
|
1395
1392
|
|
1396
1393
|
/**
|
1397
|
-
* @
|
1394
|
+
* @internal
|
1395
|
+
*/
|
1396
|
+
const SKY_LOG_LEVEL = new InjectionToken('SkyLogLevel');
|
1397
|
+
|
1398
|
+
/**
|
1399
|
+
* Logs information to the console based on the application's log level as provided by the `SKY_LOG_LEVEL` injection token. If no token is provided, only `error` logs will be shown.
|
1400
|
+
* @internal
|
1398
1401
|
*/
|
1399
1402
|
class SkyLogService {
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1404
|
-
|
1403
|
+
constructor(formatter, applicationLogLevel) {
|
1404
|
+
this.formatter = formatter;
|
1405
|
+
this.applicationLogLevel = applicationLogLevel;
|
1406
|
+
if (!this.applicationLogLevel) {
|
1407
|
+
this.applicationLogLevel = 3 /* Error */;
|
1408
|
+
}
|
1409
|
+
}
|
1410
|
+
/**
|
1411
|
+
* Logs a deprecation warning for a class, property, function, etc. This will be logged as a console warning unless a different log level is given in the the `args` parameter.
|
1412
|
+
* @param name The name of the deprecated class, property, function, etc.
|
1413
|
+
* @param args Information about the deprecation and replacement recommendations.
|
1414
|
+
* @returns
|
1415
|
+
*/
|
1416
|
+
deprecated(name, args) {
|
1417
|
+
var _a;
|
1418
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1419
|
+
const logLevel = (_a = args === null || args === void 0 ? void 0 : args.logLevel) !== null && _a !== void 0 ? _a : 2 /* Warn */;
|
1420
|
+
name = this.convertStringToCode(name);
|
1421
|
+
if (this.canLog(logLevel)) {
|
1422
|
+
const localizedStrings = [];
|
1423
|
+
if (args === null || args === void 0 ? void 0 : args.deprecationMajorVersion) {
|
1424
|
+
localizedStrings.push(this.formatter.formatText('{0} is deprecated starting in SKY UX {1}.', name, args.deprecationMajorVersion.toLocaleString()));
|
1425
|
+
}
|
1426
|
+
else {
|
1427
|
+
localizedStrings.push(this.formatter.formatText('{0} is deprecated.', name));
|
1428
|
+
}
|
1429
|
+
if (args === null || args === void 0 ? void 0 : args.removalMajorVersion) {
|
1430
|
+
localizedStrings.push(this.formatter.formatText('We will remove it in version {0}.', args.removalMajorVersion.toLocaleString()));
|
1431
|
+
}
|
1432
|
+
else {
|
1433
|
+
localizedStrings.push('We will remove it in a future major version.');
|
1434
|
+
}
|
1435
|
+
if (args === null || args === void 0 ? void 0 : args.replacementRecommendation) {
|
1436
|
+
localizedStrings.push(args.replacementRecommendation);
|
1437
|
+
}
|
1438
|
+
if (args === null || args === void 0 ? void 0 : args.moreInfoUrl) {
|
1439
|
+
localizedStrings.push(this.formatter.formatText('For more information, see {0}.', args.moreInfoUrl));
|
1440
|
+
}
|
1441
|
+
this.logBasedOnLevel(logLevel, localizedStrings.join(' '));
|
1442
|
+
}
|
1443
|
+
return Promise.resolve();
|
1444
|
+
});
|
1445
|
+
}
|
1446
|
+
/**
|
1447
|
+
* Logs a console error if the application's log level is `SkyLogLevel.Error`.
|
1448
|
+
* @param message The error message
|
1449
|
+
* @param params Optional parameters for the error message.
|
1450
|
+
*/
|
1451
|
+
error(message, params) {
|
1452
|
+
if (this.canLog(3 /* Error */)) {
|
1453
|
+
if (params) {
|
1454
|
+
console.error(message, ...params);
|
1455
|
+
}
|
1456
|
+
else {
|
1457
|
+
console.error(message);
|
1458
|
+
}
|
1459
|
+
}
|
1460
|
+
}
|
1461
|
+
/**
|
1462
|
+
* Logs console information if the application's log level is `SkyLogLevel.Info` or above.
|
1463
|
+
* @param message The infomational message
|
1464
|
+
* @param params Optional parameters for the informational message.
|
1465
|
+
*/
|
1466
|
+
info(message, params) {
|
1467
|
+
if (this.canLog(1 /* Info */)) {
|
1468
|
+
if (params) {
|
1469
|
+
console.log(message, ...params);
|
1470
|
+
}
|
1471
|
+
else {
|
1472
|
+
console.log(message);
|
1473
|
+
}
|
1474
|
+
}
|
1475
|
+
}
|
1476
|
+
/**
|
1477
|
+
* Logs a console warning if the application's log level is `SkyLogLevel.Warn` or above.
|
1478
|
+
* @param message The warning message
|
1479
|
+
* @param params Optional parameters for the warning message.
|
1480
|
+
*/
|
1481
|
+
warn(message, params) {
|
1482
|
+
if (this.canLog(2 /* Warn */)) {
|
1483
|
+
if (params) {
|
1484
|
+
console.warn(message, ...params);
|
1485
|
+
}
|
1486
|
+
else {
|
1487
|
+
console.warn(message);
|
1488
|
+
}
|
1489
|
+
}
|
1490
|
+
}
|
1491
|
+
convertStringToCode(typeString) {
|
1492
|
+
if (typeString.charAt(0) !== '`' && typeString.charAt(-1) !== '`') {
|
1493
|
+
typeString = '`' + typeString + '`';
|
1494
|
+
}
|
1495
|
+
return typeString;
|
1496
|
+
}
|
1497
|
+
canLog(intendedLogLevel) {
|
1498
|
+
return intendedLogLevel >= this.applicationLogLevel;
|
1499
|
+
}
|
1500
|
+
logBasedOnLevel(logLevel, message, params) {
|
1501
|
+
switch (logLevel) {
|
1502
|
+
case 1 /* Info */:
|
1503
|
+
this.info(message, params);
|
1504
|
+
break;
|
1505
|
+
case 2 /* Warn */:
|
1506
|
+
this.warn(message, params);
|
1507
|
+
break;
|
1508
|
+
case 3 /* Error */:
|
1509
|
+
this.error(message, params);
|
1510
|
+
break;
|
1405
1511
|
}
|
1406
1512
|
}
|
1407
1513
|
}
|
1408
|
-
SkyLogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
1409
|
-
SkyLogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2
|
1410
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
1514
|
+
SkyLogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyLogService, deps: [{ token: SkyAppFormat }, { token: SKY_LOG_LEVEL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
1515
|
+
SkyLogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyLogService, providedIn: 'root' });
|
1516
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyLogService, decorators: [{
|
1411
1517
|
type: Injectable,
|
1412
1518
|
args: [{
|
1413
1519
|
providedIn: 'root',
|
1414
1520
|
}]
|
1415
|
-
}]
|
1521
|
+
}], ctorParameters: function () {
|
1522
|
+
return [{ type: SkyAppFormat }, { type: undefined, decorators: [{
|
1523
|
+
type: Optional
|
1524
|
+
}, {
|
1525
|
+
type: Inject,
|
1526
|
+
args: [SKY_LOG_LEVEL]
|
1527
|
+
}] }];
|
1528
|
+
} });
|
1416
1529
|
|
1417
1530
|
/**
|
1418
1531
|
* @deprecated The `SkyMediaQueryService` no longer needs the `SkyMediaQueryModule`.
|
@@ -1420,10 +1533,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
|
|
1420
1533
|
*/
|
1421
1534
|
class SkyMediaQueryModule {
|
1422
1535
|
}
|
1423
|
-
SkyMediaQueryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
1424
|
-
SkyMediaQueryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2
|
1425
|
-
SkyMediaQueryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2
|
1426
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
1536
|
+
SkyMediaQueryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyMediaQueryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1537
|
+
SkyMediaQueryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyMediaQueryModule });
|
1538
|
+
SkyMediaQueryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyMediaQueryModule });
|
1539
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyMediaQueryModule, decorators: [{
|
1427
1540
|
type: NgModule,
|
1428
1541
|
args: [{}]
|
1429
1542
|
}] });
|
@@ -1536,9 +1649,9 @@ SkyMediaQueryService.md = '(min-width: 992px) and (max-width: 1199px)';
|
|
1536
1649
|
* @default "(min-width: 1200px)"
|
1537
1650
|
*/
|
1538
1651
|
SkyMediaQueryService.lg = '(min-width: 1200px)';
|
1539
|
-
SkyMediaQueryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
1540
|
-
SkyMediaQueryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2
|
1541
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
1652
|
+
SkyMediaQueryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyMediaQueryService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
1653
|
+
SkyMediaQueryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyMediaQueryService, providedIn: 'root' });
|
1654
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyMediaQueryService, decorators: [{
|
1542
1655
|
type: Injectable,
|
1543
1656
|
args: [{
|
1544
1657
|
providedIn: 'root',
|
@@ -1569,16 +1682,16 @@ class SkyCoreResourcesProvider {
|
|
1569
1682
|
*/
|
1570
1683
|
class SkyCoreResourcesModule {
|
1571
1684
|
}
|
1572
|
-
SkyCoreResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
1573
|
-
SkyCoreResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2
|
1574
|
-
SkyCoreResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2
|
1685
|
+
SkyCoreResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyCoreResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1686
|
+
SkyCoreResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyCoreResourcesModule, exports: [SkyI18nModule] });
|
1687
|
+
SkyCoreResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyCoreResourcesModule, providers: [
|
1575
1688
|
{
|
1576
1689
|
provide: SKY_LIB_RESOURCES_PROVIDERS,
|
1577
1690
|
useClass: SkyCoreResourcesProvider,
|
1578
1691
|
multi: true,
|
1579
1692
|
},
|
1580
1693
|
], imports: [SkyI18nModule] });
|
1581
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
1694
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyCoreResourcesModule, decorators: [{
|
1582
1695
|
type: NgModule,
|
1583
1696
|
args: [{
|
1584
1697
|
exports: [SkyI18nModule],
|
@@ -1633,7 +1746,7 @@ class NumericOptions {
|
|
1633
1746
|
}
|
1634
1747
|
}
|
1635
1748
|
|
1636
|
-
|
1749
|
+
// This file is mostly ported from the Angular 4.x NumberPipe in order to maintain the old
|
1637
1750
|
function isNumeric(value) {
|
1638
1751
|
return !isNaN(value - parseFloat(value));
|
1639
1752
|
}
|
@@ -1727,7 +1840,6 @@ class SkyNumericService {
|
|
1727
1840
|
*/
|
1728
1841
|
formatNumber(value, options) {
|
1729
1842
|
var _a;
|
1730
|
-
/* tslint:disable-next-line:no-null-keyword */
|
1731
1843
|
if (isNaN(value) || value === null) {
|
1732
1844
|
return '';
|
1733
1845
|
}
|
@@ -1817,7 +1929,6 @@ class SkyNumericService {
|
|
1817
1929
|
if (precision < 0) {
|
1818
1930
|
throw new Error('SkyInvalidArgument: precision must be >= 0');
|
1819
1931
|
}
|
1820
|
-
/* tslint:disable-next-line:no-null-keyword */
|
1821
1932
|
/* Sanity check - ignoring coverage but should not ignore if we make this method public */
|
1822
1933
|
/* istanbul ignore next */
|
1823
1934
|
if (isNaN(value) || value === null) {
|
@@ -1875,9 +1986,9 @@ class SkyNumericService {
|
|
1875
1986
|
return this.resourcesService.getStringForLocale({ locale: 'en_US' }, key);
|
1876
1987
|
}
|
1877
1988
|
}
|
1878
|
-
SkyNumericService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
1879
|
-
SkyNumericService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2
|
1880
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
1989
|
+
SkyNumericService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyNumericService, deps: [{ token: i1.SkyLibResourcesService }], target: i0.ɵɵFactoryTarget.Injectable });
|
1990
|
+
SkyNumericService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyNumericService, providedIn: 'any' });
|
1991
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyNumericService, decorators: [{
|
1881
1992
|
type: Injectable,
|
1882
1993
|
args: [{
|
1883
1994
|
providedIn: 'any',
|
@@ -1914,7 +2025,6 @@ class SkyNumericPipe {
|
|
1914
2025
|
this.ngUnsubscribe.complete();
|
1915
2026
|
}
|
1916
2027
|
transform(value, config) {
|
1917
|
-
var _a;
|
1918
2028
|
const newCacheKey = (config ? JSON.stringify(config, Object.keys(config).sort()) : '') +
|
1919
2029
|
`${value}_${(config === null || config === void 0 ? void 0 : config.locale) || this.providerLocale}`;
|
1920
2030
|
/* If the value and locale are the same as the last transform then return the previous value
|
@@ -1941,16 +2051,14 @@ class SkyNumericPipe {
|
|
1941
2051
|
}
|
1942
2052
|
Object.assign(options, config);
|
1943
2053
|
// Assign properties for proper result caching.
|
1944
|
-
this.rawValue = value;
|
1945
|
-
this.lastTransformLocale = (_a = config === null || config === void 0 ? void 0 : config.locale) !== null && _a !== void 0 ? _a : this.providerLocale;
|
1946
2054
|
this.cacheKey = newCacheKey;
|
1947
2055
|
this.formattedValue = this.numericService.formatNumber(value, options);
|
1948
2056
|
return this.formattedValue;
|
1949
2057
|
}
|
1950
2058
|
}
|
1951
|
-
SkyNumericPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
1952
|
-
SkyNumericPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2
|
1953
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
2059
|
+
SkyNumericPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyNumericPipe, deps: [{ token: i1.SkyAppLocaleProvider }, { token: SkyNumericService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
|
2060
|
+
SkyNumericPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyNumericPipe, name: "skyNumeric", pure: false });
|
2061
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyNumericPipe, decorators: [{
|
1954
2062
|
type: Pipe,
|
1955
2063
|
args: [{
|
1956
2064
|
name: 'skyNumeric',
|
@@ -1960,10 +2068,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
|
|
1960
2068
|
|
1961
2069
|
class SkyNumericModule {
|
1962
2070
|
}
|
1963
|
-
SkyNumericModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
1964
|
-
SkyNumericModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2
|
1965
|
-
SkyNumericModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2
|
1966
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
2071
|
+
SkyNumericModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyNumericModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
2072
|
+
SkyNumericModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyNumericModule, declarations: [SkyNumericPipe], imports: [SkyI18nModule, SkyCoreResourcesModule], exports: [SkyNumericPipe] });
|
2073
|
+
SkyNumericModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyNumericModule, providers: [SkyNumericPipe], imports: [[SkyI18nModule, SkyCoreResourcesModule]] });
|
2074
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyNumericModule, decorators: [{
|
1967
2075
|
type: NgModule,
|
1968
2076
|
args: [{
|
1969
2077
|
declarations: [SkyNumericPipe],
|
@@ -2148,9 +2256,9 @@ class SkyOverlayComponent {
|
|
2148
2256
|
}
|
2149
2257
|
}
|
2150
2258
|
}
|
2151
|
-
SkyOverlayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
2152
|
-
SkyOverlayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2
|
2153
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
2259
|
+
SkyOverlayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyOverlayComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: SkyCoreAdapterService }, { token: SkyOverlayContext }, { token: i3.Router, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
2260
|
+
SkyOverlayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: SkyOverlayComponent, selector: "sky-overlay", 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]=\"wrapperClass\"\n [style.zIndex]=\"zIndex\"\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{position:fixed;top:0;right:0;left:0;bottom:0;width:100%;height:100%;display:flex;pointer-events:auto}.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);top:0;right:0;left:0;bottom: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"], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
2261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyOverlayComponent, decorators: [{
|
2154
2262
|
type: Component,
|
2155
2263
|
args: [{ selector: 'sky-overlay', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n [class]=\"wrapperClass\"\n [style.zIndex]=\"zIndex\"\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{position:fixed;top:0;right:0;left:0;bottom:0;width:100%;height:100%;display:flex;pointer-events:auto}.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);top:0;right:0;left:0;bottom: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"] }]
|
2156
2264
|
}], ctorParameters: function () {
|
@@ -2179,10 +2287,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
|
|
2179
2287
|
|
2180
2288
|
class SkyOverlayModule {
|
2181
2289
|
}
|
2182
|
-
SkyOverlayModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
2183
|
-
SkyOverlayModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2
|
2184
|
-
SkyOverlayModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2
|
2185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
2290
|
+
SkyOverlayModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyOverlayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
2291
|
+
SkyOverlayModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyOverlayModule, declarations: [SkyOverlayComponent], imports: [CommonModule] });
|
2292
|
+
SkyOverlayModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyOverlayModule, imports: [[CommonModule]] });
|
2293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyOverlayModule, decorators: [{
|
2186
2294
|
type: NgModule,
|
2187
2295
|
args: [{
|
2188
2296
|
imports: [CommonModule],
|
@@ -2220,9 +2328,9 @@ class SkyOverlayAdapterService {
|
|
2220
2328
|
}
|
2221
2329
|
}
|
2222
2330
|
}
|
2223
|
-
SkyOverlayAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
2224
|
-
SkyOverlayAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2
|
2225
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
2331
|
+
SkyOverlayAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyOverlayAdapterService, deps: [{ token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
|
2332
|
+
SkyOverlayAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyOverlayAdapterService, providedIn: 'root' });
|
2333
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyOverlayAdapterService, decorators: [{
|
2226
2334
|
type: Injectable,
|
2227
2335
|
args: [{
|
2228
2336
|
providedIn: 'root',
|
@@ -2333,9 +2441,9 @@ class SkyOverlayService {
|
|
2333
2441
|
}
|
2334
2442
|
}
|
2335
2443
|
SkyOverlayService.overlays = [];
|
2336
|
-
SkyOverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
2337
|
-
SkyOverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2
|
2338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
2444
|
+
SkyOverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyOverlayService, deps: [{ token: i0.ApplicationRef }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: SkyOverlayAdapterService }], target: i0.ɵɵFactoryTarget.Injectable });
|
2445
|
+
SkyOverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyOverlayService, providedIn: 'root' });
|
2446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyOverlayService, decorators: [{
|
2339
2447
|
type: Injectable,
|
2340
2448
|
args: [{
|
2341
2449
|
providedIn: 'root',
|
@@ -2373,9 +2481,9 @@ class SkyPercentPipe {
|
|
2373
2481
|
this.formattedValue = SkyNumberFormatUtility.formatNumber(locale, this.value, SkyIntlNumberFormatStyle.Percent, format);
|
2374
2482
|
}
|
2375
2483
|
}
|
2376
|
-
SkyPercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
2377
|
-
SkyPercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2
|
2378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
2484
|
+
SkyPercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPercentPipe, deps: [{ token: i1.SkyAppLocaleProvider }], target: i0.ɵɵFactoryTarget.Pipe });
|
2485
|
+
SkyPercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPercentPipe, name: "skyPercent", pure: false });
|
2486
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPercentPipe, decorators: [{
|
2379
2487
|
type: Pipe,
|
2380
2488
|
args: [{
|
2381
2489
|
name: 'skyPercent',
|
@@ -2385,10 +2493,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
|
|
2385
2493
|
|
2386
2494
|
class SkyPercentPipeModule {
|
2387
2495
|
}
|
2388
|
-
SkyPercentPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
2389
|
-
SkyPercentPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2
|
2390
|
-
SkyPercentPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2
|
2391
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
2496
|
+
SkyPercentPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPercentPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
2497
|
+
SkyPercentPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPercentPipeModule, declarations: [SkyPercentPipe], imports: [CommonModule, SkyCoreResourcesModule], exports: [SkyPercentPipe] });
|
2498
|
+
SkyPercentPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPercentPipeModule, providers: [SkyPercentPipe], imports: [[CommonModule, SkyCoreResourcesModule]] });
|
2499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPercentPipeModule, decorators: [{
|
2392
2500
|
type: NgModule,
|
2393
2501
|
args: [{
|
2394
2502
|
declarations: [SkyPercentPipe],
|
@@ -2458,9 +2566,9 @@ class SkyResizeObserverService {
|
|
2458
2566
|
});
|
2459
2567
|
}
|
2460
2568
|
}
|
2461
|
-
SkyResizeObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
2462
|
-
SkyResizeObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2
|
2463
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
2569
|
+
SkyResizeObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyResizeObserverService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
2570
|
+
SkyResizeObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyResizeObserverService, providedIn: 'any' });
|
2571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyResizeObserverService, decorators: [{
|
2464
2572
|
type: Injectable,
|
2465
2573
|
args: [{
|
2466
2574
|
providedIn: 'any',
|
@@ -2533,7 +2641,7 @@ class SkyResizeObserverMediaQueryService {
|
|
2533
2641
|
const breakpoint = this.checkBreakpoint(width);
|
2534
2642
|
this.updateBreakpoint(breakpoint);
|
2535
2643
|
}
|
2536
|
-
this.
|
2644
|
+
this.resizeObserverService
|
2537
2645
|
.observe(element)
|
2538
2646
|
.pipe(takeUntil(this._stopListening))
|
2539
2647
|
.subscribe((value) => {
|
@@ -2568,9 +2676,9 @@ class SkyResizeObserverMediaQueryService {
|
|
2568
2676
|
return (_a = this._breakpoints.find((breakpoint) => breakpoint.check(width))) === null || _a === void 0 ? void 0 : _a.name;
|
2569
2677
|
}
|
2570
2678
|
}
|
2571
|
-
SkyResizeObserverMediaQueryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
2572
|
-
SkyResizeObserverMediaQueryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2
|
2573
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
2679
|
+
SkyResizeObserverMediaQueryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyResizeObserverMediaQueryService, deps: [{ token: SkyResizeObserverService }], target: i0.ɵɵFactoryTarget.Injectable });
|
2680
|
+
SkyResizeObserverMediaQueryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyResizeObserverMediaQueryService, providedIn: 'any' });
|
2681
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyResizeObserverMediaQueryService, decorators: [{
|
2574
2682
|
type: Injectable,
|
2575
2683
|
args: [{
|
2576
2684
|
providedIn: 'any',
|
@@ -2744,9 +2852,9 @@ class SkyScrollableHostService {
|
|
2744
2852
|
}
|
2745
2853
|
}
|
2746
2854
|
}
|
2747
|
-
SkyScrollableHostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
2748
|
-
SkyScrollableHostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2
|
2749
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
2855
|
+
SkyScrollableHostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyScrollableHostService, deps: [{ token: MutationObserverService }, { token: SkyAppWindowRef }], target: i0.ɵɵFactoryTarget.Injectable });
|
2856
|
+
SkyScrollableHostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyScrollableHostService, providedIn: 'root' });
|
2857
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyScrollableHostService, decorators: [{
|
2750
2858
|
type: Injectable,
|
2751
2859
|
args: [{
|
2752
2860
|
providedIn: 'root',
|
@@ -2771,9 +2879,9 @@ class SkyAppTitleService {
|
|
2771
2879
|
}
|
2772
2880
|
}
|
2773
2881
|
}
|
2774
|
-
SkyAppTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
2775
|
-
SkyAppTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2
|
2776
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
2882
|
+
SkyAppTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAppTitleService, deps: [{ token: i1$1.Title }], target: i0.ɵɵFactoryTarget.Injectable });
|
2883
|
+
SkyAppTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAppTitleService, providedIn: 'root' });
|
2884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAppTitleService, decorators: [{
|
2777
2885
|
type: Injectable,
|
2778
2886
|
args: [{
|
2779
2887
|
providedIn: 'root',
|
@@ -2789,9 +2897,9 @@ class SkyUIConfigService {
|
|
2789
2897
|
return of({});
|
2790
2898
|
}
|
2791
2899
|
}
|
2792
|
-
SkyUIConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
2793
|
-
SkyUIConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2
|
2794
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
2900
|
+
SkyUIConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyUIConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
2901
|
+
SkyUIConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyUIConfigService, providedIn: 'root' });
|
2902
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyUIConfigService, decorators: [{
|
2795
2903
|
type: Injectable,
|
2796
2904
|
args: [{
|
2797
2905
|
providedIn: 'root',
|
@@ -2800,9 +2908,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
|
|
2800
2908
|
|
2801
2909
|
class SkyViewkeeperHostOptions {
|
2802
2910
|
}
|
2803
|
-
SkyViewkeeperHostOptions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
2804
|
-
SkyViewkeeperHostOptions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2
|
2805
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
2911
|
+
SkyViewkeeperHostOptions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyViewkeeperHostOptions, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
2912
|
+
SkyViewkeeperHostOptions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyViewkeeperHostOptions });
|
2913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyViewkeeperHostOptions, decorators: [{
|
2806
2914
|
type: Injectable
|
2807
2915
|
}] });
|
2808
2916
|
|
@@ -3080,9 +3188,9 @@ class SkyViewkeeperService {
|
|
3080
3188
|
vk.destroy();
|
3081
3189
|
}
|
3082
3190
|
}
|
3083
|
-
SkyViewkeeperService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
3084
|
-
SkyViewkeeperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2
|
3085
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
3191
|
+
SkyViewkeeperService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyViewkeeperService, deps: [{ token: SkyViewkeeperHostOptions, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
3192
|
+
SkyViewkeeperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyViewkeeperService, providedIn: 'root' });
|
3193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyViewkeeperService, decorators: [{
|
3086
3194
|
type: Injectable,
|
3087
3195
|
args: [{
|
3088
3196
|
providedIn: 'root',
|
@@ -3186,9 +3294,9 @@ class SkyViewkeeperDirective {
|
|
3186
3294
|
}
|
3187
3295
|
}
|
3188
3296
|
}
|
3189
|
-
SkyViewkeeperDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
3190
|
-
SkyViewkeeperDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2
|
3191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
3297
|
+
SkyViewkeeperDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyViewkeeperDirective, deps: [{ token: i0.ElementRef }, { token: MutationObserverService }, { token: SkyViewkeeperService }, { token: SkyScrollableHostService, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
3298
|
+
SkyViewkeeperDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: SkyViewkeeperDirective, selector: "[skyViewkeeper]", inputs: { skyViewkeeper: "skyViewkeeper" }, ngImport: i0 });
|
3299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyViewkeeperDirective, decorators: [{
|
3192
3300
|
type: Directive,
|
3193
3301
|
args: [{
|
3194
3302
|
selector: '[skyViewkeeper]',
|
@@ -3203,10 +3311,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
|
|
3203
3311
|
|
3204
3312
|
class SkyViewkeeperModule {
|
3205
3313
|
}
|
3206
|
-
SkyViewkeeperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
3207
|
-
SkyViewkeeperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2
|
3208
|
-
SkyViewkeeperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2
|
3209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
3314
|
+
SkyViewkeeperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyViewkeeperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
3315
|
+
SkyViewkeeperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyViewkeeperModule, declarations: [SkyViewkeeperDirective], exports: [SkyViewkeeperDirective] });
|
3316
|
+
SkyViewkeeperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyViewkeeperModule });
|
3317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyViewkeeperModule, decorators: [{
|
3210
3318
|
type: NgModule,
|
3211
3319
|
args: [{
|
3212
3320
|
declarations: [SkyViewkeeperDirective],
|
@@ -3218,5 +3326,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
|
|
3218
3326
|
* Generated bundle index. Do not edit.
|
3219
3327
|
*/
|
3220
3328
|
|
3221
|
-
export { MutationObserverService, NumericOptions, SkyAffixAutoFitContext, SkyAffixModule, SkyAffixService, SkyAffixer, SkyAppFormat, SkyAppTitleService, SkyAppWindowRef, SkyCoreAdapterModule, SkyCoreAdapterService, SkyDockItem, SkyDockLocation, SkyDockModule, SkyDockService, SkyDynamicComponentLocation, SkyDynamicComponentModule, SkyDynamicComponentService, SkyIdModule, SkyLogModule, SkyLogService, SkyMediaBreakpoints, SkyMediaQueryModule, SkyMediaQueryService, SkyNumericModule, SkyNumericPipe, SkyNumericService, SkyOverlayInstance, SkyOverlayModule, SkyOverlayService, SkyPercentPipe, SkyPercentPipeModule, SkyResizeObserverMediaQueryService, SkyResizeObserverService, SkyScrollableHostService, SkyUIConfigService, SkyViewkeeperHostOptions, SkyViewkeeperModule, SkyViewkeeperService, getWindow, SkyAffixDirective as λ1, SkyIdDirective as λ2, SkyViewkeeperDirective as λ3 };
|
3329
|
+
export { MutationObserverService, NumericOptions, SKY_LOG_LEVEL, SkyAffixAutoFitContext, SkyAffixModule, SkyAffixService, SkyAffixer, SkyAppFormat, SkyAppTitleService, SkyAppWindowRef, SkyCoreAdapterModule, SkyCoreAdapterService, SkyDockItem, SkyDockLocation, SkyDockModule, SkyDockService, SkyDynamicComponentLocation, SkyDynamicComponentModule, SkyDynamicComponentService, SkyIdModule, SkyLogModule, SkyLogService, SkyMediaBreakpoints, SkyMediaQueryModule, SkyMediaQueryService, SkyNumericModule, SkyNumericPipe, SkyNumericService, SkyOverlayInstance, SkyOverlayModule, SkyOverlayService, SkyPercentPipe, SkyPercentPipeModule, SkyResizeObserverMediaQueryService, SkyResizeObserverService, SkyScrollableHostService, SkyUIConfigService, SkyViewkeeperHostOptions, SkyViewkeeperModule, SkyViewkeeperService, getWindow, SkyAffixDirective as λ1, SkyIdDirective as λ2, SkyViewkeeperDirective as λ3 };
|
3222
3330
|
//# sourceMappingURL=skyux-core.mjs.map
|