@skyux/core 8.0.0-alpha.1 → 8.0.0-alpha.10
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 +613 -613
- 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 +3 -3
- 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 +22 -22
- package/esm2020/lib/modules/dock/dock-dom-adapter.service.mjs +3 -3
- package/esm2020/lib/modules/dock/dock-item.mjs +7 -7
- package/esm2020/lib/modules/dock/dock.component.mjs +4 -4
- package/esm2020/lib/modules/dock/dock.module.mjs +4 -4
- package/esm2020/lib/modules/dock/dock.service.mjs +10 -10
- 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 +7 -7
- package/esm2020/lib/modules/id/id.module.mjs +4 -4
- package/esm2020/lib/modules/id/id.service.mjs +3 -3
- package/esm2020/lib/modules/log/log.module.mjs +4 -4
- package/esm2020/lib/modules/log/log.service.mjs +48 -32
- package/esm2020/lib/modules/media-query/media-query.module.mjs +4 -4
- package/esm2020/lib/modules/media-query/media-query.service.mjs +10 -10
- 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 +3 -3
- package/esm2020/lib/modules/numeric/numeric.service.mjs +3 -3
- package/esm2020/lib/modules/overlay/overlay-adapter.service.mjs +3 -3
- package/esm2020/lib/modules/overlay/overlay-instance.mjs +13 -13
- package/esm2020/lib/modules/overlay/overlay.component.mjs +23 -12
- 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 +7 -7
- package/esm2020/lib/modules/resize-observer/resize-observer-media-query.service.mjs +10 -10
- 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 +2 -1
- package/esm2020/lib/modules/shared/sky-core-resources.module.mjs +4 -4
- package/esm2020/lib/modules/stacking-context/stacking-context-token.mjs +6 -0
- package/esm2020/lib/modules/stacking-context/stacking-context.mjs +2 -0
- package/esm2020/lib/modules/title/title.service.mjs +3 -3
- package/esm2020/lib/modules/trim/trim.directive.mjs +3 -3
- package/esm2020/lib/modules/trim/trim.module.mjs +4 -4
- 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 +11 -11
- 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/core-testing.module.mjs +4 -4
- package/esm2020/testing/mock-media-query.service.mjs +10 -10
- package/esm2020/testing/mock-ui-config.service.mjs +4 -4
- package/fesm2015/skyux-core-testing.mjs +16 -16
- package/fesm2015/skyux-core-testing.mjs.map +1 -1
- package/fesm2015/skyux-core.mjs +278 -247
- package/fesm2015/skyux-core.mjs.map +1 -1
- package/fesm2020/skyux-core-testing.mjs +16 -16
- package/fesm2020/skyux-core-testing.mjs.map +1 -1
- package/fesm2020/skyux-core.mjs +278 -247
- package/fesm2020/skyux-core.mjs.map +1 -1
- package/index.d.ts +2 -0
- package/lib/modules/affix/affix-horizontal-alignment.d.ts +1 -1
- package/lib/modules/affix/affix-placement.d.ts +1 -1
- package/lib/modules/affix/affix-vertical-alignment.d.ts +1 -1
- package/lib/modules/log/log.service.d.ts +11 -2
- package/lib/modules/media-query/media-query-listener.d.ts +1 -1
- package/lib/modules/stacking-context/stacking-context-token.d.ts +6 -0
- package/lib/modules/stacking-context/stacking-context.d.ts +7 -0
- package/package.json +8 -8
package/fesm2015/skyux-core.mjs
CHANGED
@@ -17,10 +17,10 @@ import * as i1$1 from '@angular/platform-browser';
|
|
17
17
|
*/
|
18
18
|
class SkyCoreAdapterModule {
|
19
19
|
}
|
20
|
-
SkyCoreAdapterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
21
|
-
SkyCoreAdapterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
22
|
-
SkyCoreAdapterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
20
|
+
SkyCoreAdapterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyCoreAdapterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
21
|
+
SkyCoreAdapterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyCoreAdapterModule });
|
22
|
+
SkyCoreAdapterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyCoreAdapterModule });
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyCoreAdapterModule, decorators: [{
|
24
24
|
type: NgModule,
|
25
25
|
args: [{}]
|
26
26
|
}] });
|
@@ -259,9 +259,9 @@ _SkyCoreAdapterService_renderer = new WeakMap(), _SkyCoreAdapterService_instance
|
|
259
259
|
element.getClientRects().length);
|
260
260
|
return hasBounds;
|
261
261
|
};
|
262
|
-
SkyCoreAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
263
|
-
SkyCoreAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
264
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
262
|
+
SkyCoreAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyCoreAdapterService, deps: [{ token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
|
263
|
+
SkyCoreAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyCoreAdapterService, providedIn: 'root' });
|
264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyCoreAdapterService, decorators: [{
|
265
265
|
type: Injectable,
|
266
266
|
args: [{
|
267
267
|
providedIn: 'root',
|
@@ -384,6 +384,27 @@ const DEFAULT_AFFIX_CONFIG = {
|
|
384
384
|
placement: 'above',
|
385
385
|
};
|
386
386
|
class SkyAffixer {
|
387
|
+
/**
|
388
|
+
* Fires when the affixed element's offset changes.
|
389
|
+
*/
|
390
|
+
get offsetChange() {
|
391
|
+
return __classPrivateFieldGet(this, _SkyAffixer_offsetChangeObs, "f");
|
392
|
+
}
|
393
|
+
/**
|
394
|
+
* Fires when the base element's nearest overflow parent is scrolling. This is useful if you need
|
395
|
+
* to perform an additional action during the scroll event but don't want to generate another
|
396
|
+
* event listener.
|
397
|
+
*/
|
398
|
+
get overflowScroll() {
|
399
|
+
return __classPrivateFieldGet(this, _SkyAffixer_overflowScrollObs, "f");
|
400
|
+
}
|
401
|
+
/**
|
402
|
+
* Fires when the placement value changes. A `null` value indicates that a suitable
|
403
|
+
* placement could not be found.
|
404
|
+
*/
|
405
|
+
get placementChange() {
|
406
|
+
return __classPrivateFieldGet(this, _SkyAffixer_placementChangeObs, "f");
|
407
|
+
}
|
387
408
|
constructor(affixedElement, renderer) {
|
388
409
|
_SkyAffixer_instances.add(this);
|
389
410
|
_SkyAffixer_affixedElement.set(this, void 0);
|
@@ -410,27 +431,6 @@ class SkyAffixer {
|
|
410
431
|
__classPrivateFieldSet(this, _SkyAffixer_overflowScrollObs, __classPrivateFieldGet(this, _SkyAffixer_overflowScroll, "f").asObservable(), "f");
|
411
432
|
__classPrivateFieldSet(this, _SkyAffixer_placementChangeObs, __classPrivateFieldGet(this, _SkyAffixer_placementChange, "f").asObservable(), "f");
|
412
433
|
}
|
413
|
-
/**
|
414
|
-
* Fires when the affixed element's offset changes.
|
415
|
-
*/
|
416
|
-
get offsetChange() {
|
417
|
-
return __classPrivateFieldGet(this, _SkyAffixer_offsetChangeObs, "f");
|
418
|
-
}
|
419
|
-
/**
|
420
|
-
* Fires when the base element's nearest overflow parent is scrolling. This is useful if you need
|
421
|
-
* to perform an additional action during the scroll event but don't want to generate another
|
422
|
-
* event listener.
|
423
|
-
*/
|
424
|
-
get overflowScroll() {
|
425
|
-
return __classPrivateFieldGet(this, _SkyAffixer_overflowScrollObs, "f");
|
426
|
-
}
|
427
|
-
/**
|
428
|
-
* Fires when the placement value changes. A `null` value indicates that a suitable
|
429
|
-
* placement could not be found.
|
430
|
-
*/
|
431
|
-
get placementChange() {
|
432
|
-
return __classPrivateFieldGet(this, _SkyAffixer_placementChangeObs, "f");
|
433
|
-
}
|
434
434
|
/**
|
435
435
|
* Affixes an element to a base element.
|
436
436
|
* @param baseElement The base element.
|
@@ -734,9 +734,9 @@ class SkyAffixService {
|
|
734
734
|
}
|
735
735
|
}
|
736
736
|
_SkyAffixService_renderer = new WeakMap();
|
737
|
-
SkyAffixService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
738
|
-
SkyAffixService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
739
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
737
|
+
SkyAffixService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixService, deps: [{ token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
|
738
|
+
SkyAffixService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixService, providedIn: 'root' });
|
739
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixService, decorators: [{
|
740
740
|
type: Injectable,
|
741
741
|
args: [{
|
742
742
|
providedIn: 'root',
|
@@ -820,9 +820,9 @@ _SkyAffixDirective_affixer = new WeakMap(), _SkyAffixDirective_affixService = ne
|
|
820
820
|
});
|
821
821
|
}
|
822
822
|
};
|
823
|
-
SkyAffixDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
824
|
-
SkyAffixDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1
|
825
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
823
|
+
SkyAffixDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixDirective, deps: [{ token: i0.ElementRef }, { token: SkyAffixService }], target: i0.ɵɵFactoryTarget.Directive });
|
824
|
+
SkyAffixDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", 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 });
|
825
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixDirective, decorators: [{
|
826
826
|
type: Directive,
|
827
827
|
args: [{
|
828
828
|
selector: '[skyAffixTo]',
|
@@ -853,10 +853,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
853
853
|
|
854
854
|
class SkyAffixModule {
|
855
855
|
}
|
856
|
-
SkyAffixModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
857
|
-
SkyAffixModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
858
|
-
SkyAffixModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
859
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
856
|
+
SkyAffixModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
857
|
+
SkyAffixModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixModule, declarations: [SkyAffixDirective], imports: [CommonModule], exports: [SkyAffixDirective] });
|
858
|
+
SkyAffixModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixModule, imports: [CommonModule] });
|
859
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixModule, decorators: [{
|
860
860
|
type: NgModule,
|
861
861
|
args: [{
|
862
862
|
imports: [CommonModule],
|
@@ -870,6 +870,12 @@ var _SkyDockItem_destroyed, _SkyDockItem_destroyedObs;
|
|
870
870
|
* Represents a single item added to the dock.
|
871
871
|
*/
|
872
872
|
class SkyDockItem {
|
873
|
+
/**
|
874
|
+
* An event that emits when the item is removed from the dock.
|
875
|
+
*/
|
876
|
+
get destroyed() {
|
877
|
+
return __classPrivateFieldGet(this, _SkyDockItem_destroyedObs, "f");
|
878
|
+
}
|
873
879
|
/**
|
874
880
|
* @param componentInstance The item's component instance.
|
875
881
|
* @param stackOrder The assigned stack order of the docked item.
|
@@ -881,12 +887,6 @@ class SkyDockItem {
|
|
881
887
|
_SkyDockItem_destroyedObs.set(this, void 0);
|
882
888
|
__classPrivateFieldSet(this, _SkyDockItem_destroyedObs, __classPrivateFieldGet(this, _SkyDockItem_destroyed, "f").asObservable(), "f");
|
883
889
|
}
|
884
|
-
/**
|
885
|
-
* An event that emits when the item is removed from the dock.
|
886
|
-
*/
|
887
|
-
get destroyed() {
|
888
|
-
return __classPrivateFieldGet(this, _SkyDockItem_destroyedObs, "f");
|
889
|
-
}
|
890
890
|
/**
|
891
891
|
* Removes the item from the dock.
|
892
892
|
*/
|
@@ -924,9 +924,9 @@ class SkyMutationObserverService {
|
|
924
924
|
return new MutationObserver(callback);
|
925
925
|
}
|
926
926
|
}
|
927
|
-
SkyMutationObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
928
|
-
SkyMutationObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
929
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
927
|
+
SkyMutationObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMutationObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
928
|
+
SkyMutationObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMutationObserverService, providedIn: 'root' });
|
929
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMutationObserverService, decorators: [{
|
930
930
|
type: Injectable,
|
931
931
|
args: [{
|
932
932
|
providedIn: 'root',
|
@@ -1004,9 +1004,9 @@ _SkyDockDomAdapterService_currentDockHeight = new WeakMap(), _SkyDockDomAdapterS
|
|
1004
1004
|
}, _SkyDockDomAdapterService_destroyStyleElement = function _SkyDockDomAdapterService_destroyStyleElement() {
|
1005
1005
|
__classPrivateFieldGet(this, _SkyDockDomAdapterService_renderer, "f").removeChild(document.head, __classPrivateFieldGet(this, _SkyDockDomAdapterService_styleElement, "f"));
|
1006
1006
|
};
|
1007
|
-
SkyDockDomAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1008
|
-
SkyDockDomAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
1009
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1007
|
+
SkyDockDomAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockDomAdapterService, deps: [{ token: SkyMutationObserverService }, { token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
|
1008
|
+
SkyDockDomAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockDomAdapterService });
|
1009
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockDomAdapterService, decorators: [{
|
1010
1010
|
type: Injectable
|
1011
1011
|
}], ctorParameters: function () { return [{ type: SkyMutationObserverService }, { type: i0.RendererFactory2 }]; } });
|
1012
1012
|
|
@@ -1114,11 +1114,11 @@ _SkyDockComponent_changeDetector = new WeakMap(), _SkyDockComponent_domAdapter =
|
|
1114
1114
|
}
|
1115
1115
|
return __classPrivateFieldGet(this, _SkyDockComponent_itemRefs, "f")[0].stackOrder + 1;
|
1116
1116
|
};
|
1117
|
-
SkyDockComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1118
|
-
SkyDockComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1
|
1119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1117
|
+
SkyDockComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Injector }, { token: SkyDockDomAdapterService }], target: i0.ɵɵFactoryTarget.Component });
|
1118
|
+
SkyDockComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.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 });
|
1119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockComponent, decorators: [{
|
1120
1120
|
type: Component,
|
1121
|
-
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"] }]
|
1121
|
+
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"] }]
|
1122
1122
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Injector }, { type: SkyDockDomAdapterService }]; }, propDecorators: { target: [{
|
1123
1123
|
type: ViewChild,
|
1124
1124
|
args: ['target', {
|
@@ -1129,10 +1129,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
1129
1129
|
|
1130
1130
|
class SkyDockModule {
|
1131
1131
|
}
|
1132
|
-
SkyDockModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1133
|
-
SkyDockModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
1134
|
-
SkyDockModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
1135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1132
|
+
SkyDockModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1133
|
+
SkyDockModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyDockModule, declarations: [SkyDockComponent], imports: [CommonModule] });
|
1134
|
+
SkyDockModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockModule, providers: [SkyMutationObserverService], imports: [CommonModule] });
|
1135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockModule, decorators: [{
|
1136
1136
|
type: NgModule,
|
1137
1137
|
args: [{
|
1138
1138
|
imports: [CommonModule],
|
@@ -1187,9 +1187,9 @@ class SkyAppWindowRef {
|
|
1187
1187
|
return getWindow();
|
1188
1188
|
}
|
1189
1189
|
}
|
1190
|
-
SkyAppWindowRef.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1191
|
-
SkyAppWindowRef.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
1192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1190
|
+
SkyAppWindowRef.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppWindowRef, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1191
|
+
SkyAppWindowRef.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppWindowRef, providedIn: 'root' });
|
1192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppWindowRef, decorators: [{
|
1193
1193
|
type: Injectable,
|
1194
1194
|
args: [{
|
1195
1195
|
providedIn: 'root',
|
@@ -1288,9 +1288,9 @@ _SkyDynamicComponentService_applicationRef = new WeakMap(), _SkyDynamicComponent
|
|
1288
1288
|
// https://malcoded.com/posts/angular-dynamic-components
|
1289
1289
|
return componentRef.hostView.rootNodes[0];
|
1290
1290
|
};
|
1291
|
-
SkyDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1292
|
-
SkyDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
1293
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1291
|
+
SkyDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDynamicComponentService, deps: [{ token: i0.ApplicationRef }, { token: i0.Injector }, { token: SkyAppWindowRef }, { token: i0.RendererFactory2 }, { token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
|
1292
|
+
SkyDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDynamicComponentService, providedIn: 'any' });
|
1293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDynamicComponentService, decorators: [{
|
1294
1294
|
type: Injectable,
|
1295
1295
|
args: [{
|
1296
1296
|
// Must be 'any' so that the component is created in the context of its module's injector.
|
@@ -1305,18 +1305,18 @@ var _SkyDockService_instances, _SkyDockService_dynamicComponentSvc, _SkyDockServ
|
|
1305
1305
|
* This service docks components to specific areas on the page.
|
1306
1306
|
*/
|
1307
1307
|
class SkyDockService {
|
1308
|
-
constructor(dynamicComponentSvc) {
|
1309
|
-
_SkyDockService_instances.add(this);
|
1310
|
-
_SkyDockService_dynamicComponentSvc.set(this, void 0);
|
1311
|
-
_SkyDockService_options.set(this, void 0);
|
1312
|
-
__classPrivateFieldSet(this, _SkyDockService_dynamicComponentSvc, dynamicComponentSvc, "f");
|
1313
|
-
}
|
1314
1308
|
/**
|
1315
1309
|
* Returns all docked items.
|
1316
1310
|
*/
|
1317
1311
|
get items() {
|
1318
1312
|
return SkyDockService._items;
|
1319
1313
|
}
|
1314
|
+
constructor(dynamicComponentSvc) {
|
1315
|
+
_SkyDockService_instances.add(this);
|
1316
|
+
_SkyDockService_dynamicComponentSvc.set(this, void 0);
|
1317
|
+
_SkyDockService_options.set(this, void 0);
|
1318
|
+
__classPrivateFieldSet(this, _SkyDockService_dynamicComponentSvc, dynamicComponentSvc, "f");
|
1319
|
+
}
|
1320
1320
|
/**
|
1321
1321
|
* Docks a component to the bottom of the page.
|
1322
1322
|
* @param component The component to dock.
|
@@ -1377,9 +1377,9 @@ _SkyDockService_dynamicComponentSvc = new WeakMap(), _SkyDockService_options = n
|
|
1377
1377
|
SkyDockService.dockRef = undefined;
|
1378
1378
|
};
|
1379
1379
|
SkyDockService._items = [];
|
1380
|
-
SkyDockService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1381
|
-
SkyDockService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
1382
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1380
|
+
SkyDockService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockService, deps: [{ token: SkyDynamicComponentService }], target: i0.ɵɵFactoryTarget.Injectable });
|
1381
|
+
SkyDockService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockService, providedIn: 'any' });
|
1382
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockService, decorators: [{
|
1383
1383
|
type: Injectable,
|
1384
1384
|
args: [{
|
1385
1385
|
// Must be 'any' so that the dock component is created in the context of its module's injector.
|
@@ -1396,10 +1396,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
1396
1396
|
*/
|
1397
1397
|
class SkyDynamicComponentModule {
|
1398
1398
|
}
|
1399
|
-
SkyDynamicComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1400
|
-
SkyDynamicComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
1401
|
-
SkyDynamicComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
1402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1399
|
+
SkyDynamicComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDynamicComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1400
|
+
SkyDynamicComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyDynamicComponentModule });
|
1401
|
+
SkyDynamicComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDynamicComponentModule });
|
1402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDynamicComponentModule, decorators: [{
|
1403
1403
|
type: NgModule,
|
1404
1404
|
args: [{}]
|
1405
1405
|
}] });
|
@@ -1411,9 +1411,9 @@ class SkyAppFormat {
|
|
1411
1411
|
});
|
1412
1412
|
}
|
1413
1413
|
}
|
1414
|
-
SkyAppFormat.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1415
|
-
SkyAppFormat.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
1416
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1414
|
+
SkyAppFormat.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppFormat, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1415
|
+
SkyAppFormat.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppFormat, providedIn: 'root' });
|
1416
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppFormat, decorators: [{
|
1417
1417
|
type: Injectable,
|
1418
1418
|
args: [{
|
1419
1419
|
providedIn: 'root',
|
@@ -1433,9 +1433,9 @@ class SkyIdService {
|
|
1433
1433
|
return `sky-id-gen__${new Date().getTime()}__${idIndex}`;
|
1434
1434
|
}
|
1435
1435
|
}
|
1436
|
-
SkyIdService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1437
|
-
SkyIdService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
1438
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1436
|
+
SkyIdService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyIdService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1437
|
+
SkyIdService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyIdService, providedIn: 'root' });
|
1438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyIdService, decorators: [{
|
1439
1439
|
type: Injectable,
|
1440
1440
|
args: [{
|
1441
1441
|
providedIn: 'root',
|
@@ -1449,6 +1449,9 @@ var _SkyIdDirective__id;
|
|
1449
1449
|
* variable, then use its `id` property.
|
1450
1450
|
*/
|
1451
1451
|
class SkyIdDirective {
|
1452
|
+
get id() {
|
1453
|
+
return __classPrivateFieldGet(this, _SkyIdDirective__id, "f");
|
1454
|
+
}
|
1452
1455
|
constructor(elRef, renderer, idSvc) {
|
1453
1456
|
_SkyIdDirective__id.set(this, void 0);
|
1454
1457
|
// Generate and apply the ID before the template is rendered
|
@@ -1457,14 +1460,11 @@ class SkyIdDirective {
|
|
1457
1460
|
renderer.setAttribute(elRef.nativeElement, 'id', id);
|
1458
1461
|
__classPrivateFieldSet(this, _SkyIdDirective__id, id, "f");
|
1459
1462
|
}
|
1460
|
-
get id() {
|
1461
|
-
return __classPrivateFieldGet(this, _SkyIdDirective__id, "f");
|
1462
|
-
}
|
1463
1463
|
}
|
1464
1464
|
_SkyIdDirective__id = new WeakMap();
|
1465
|
-
SkyIdDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1466
|
-
SkyIdDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1
|
1467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1465
|
+
SkyIdDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyIdDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: SkyIdService }], target: i0.ɵɵFactoryTarget.Directive });
|
1466
|
+
SkyIdDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", type: SkyIdDirective, selector: "[skyId]", exportAs: ["skyId"], ngImport: i0 });
|
1467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyIdDirective, decorators: [{
|
1468
1468
|
type: Directive,
|
1469
1469
|
args: [{
|
1470
1470
|
selector: '[skyId]',
|
@@ -1474,10 +1474,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
1474
1474
|
|
1475
1475
|
class SkyIdModule {
|
1476
1476
|
}
|
1477
|
-
SkyIdModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1478
|
-
SkyIdModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
1479
|
-
SkyIdModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
1480
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1477
|
+
SkyIdModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyIdModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1478
|
+
SkyIdModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyIdModule, declarations: [SkyIdDirective], exports: [SkyIdDirective] });
|
1479
|
+
SkyIdModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyIdModule });
|
1480
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyIdModule, decorators: [{
|
1481
1481
|
type: NgModule,
|
1482
1482
|
args: [{
|
1483
1483
|
declarations: [SkyIdDirective],
|
@@ -1491,10 +1491,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
1491
1491
|
*/
|
1492
1492
|
class SkyLogModule {
|
1493
1493
|
}
|
1494
|
-
SkyLogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1495
|
-
SkyLogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
1496
|
-
SkyLogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
1497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1494
|
+
SkyLogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyLogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1495
|
+
SkyLogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyLogModule });
|
1496
|
+
SkyLogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyLogModule });
|
1497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyLogModule, decorators: [{
|
1498
1498
|
type: NgModule,
|
1499
1499
|
args: [{}]
|
1500
1500
|
}] });
|
@@ -1504,9 +1504,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
1504
1504
|
*/
|
1505
1505
|
const SKY_LOG_LEVEL = new InjectionToken('SkyLogLevel');
|
1506
1506
|
|
1507
|
-
var _SkyLogService_instances, _SkyLogService_applicationLogLevel, _SkyLogService_formatter, _SkyLogService_convertStringToCode, _SkyLogService_canLog, _SkyLogService_logBasedOnLevel;
|
1507
|
+
var _SkyLogService_instances, _SkyLogService_applicationLogLevel, _SkyLogService_formatter, _SkyLogService_convertStringToCode, _SkyLogService_canLog, _SkyLogService_logBasedOnLevel, _SkyLogService_logWithParams, _SkyLogService_buildMessageKey;
|
1508
|
+
const previousWarnings = new Set();
|
1508
1509
|
/**
|
1509
|
-
* Logs information to the console based on the application's log level as
|
1510
|
+
* Logs information to the console based on the application's log level as
|
1511
|
+
* provided by the `SKY_LOG_LEVEL` injection token. If no token is provided,
|
1512
|
+
* only `error` logs will be shown.
|
1510
1513
|
* @internal
|
1511
1514
|
*/
|
1512
1515
|
class SkyLogService {
|
@@ -1518,7 +1521,16 @@ class SkyLogService {
|
|
1518
1521
|
__classPrivateFieldSet(this, _SkyLogService_applicationLogLevel, applicationLogLevel !== null && applicationLogLevel !== void 0 ? applicationLogLevel : 3 /* SkyLogLevel.Error */, "f");
|
1519
1522
|
}
|
1520
1523
|
/**
|
1521
|
-
*
|
1524
|
+
* Clears previously-logged messages. Primarily used for unit
|
1525
|
+
* testing this service.
|
1526
|
+
*/
|
1527
|
+
static clearPreviousLogs() {
|
1528
|
+
previousWarnings.clear();
|
1529
|
+
}
|
1530
|
+
/**
|
1531
|
+
* Logs a deprecation warning for a class, property, function, etc. This will
|
1532
|
+
* be logged as a console warning unless a different log level is given in the
|
1533
|
+
* `args` parameter.
|
1522
1534
|
* @param name The name of the deprecated class, property, function, etc.
|
1523
1535
|
* @param args Information about the deprecation and replacement recommendations.
|
1524
1536
|
* @returns
|
@@ -1529,26 +1541,26 @@ class SkyLogService {
|
|
1529
1541
|
const logLevel = (_a = args === null || args === void 0 ? void 0 : args.logLevel) !== null && _a !== void 0 ? _a : 2 /* SkyLogLevel.Warn */;
|
1530
1542
|
name = __classPrivateFieldGet(this, _SkyLogService_instances, "m", _SkyLogService_convertStringToCode).call(this, name);
|
1531
1543
|
if (__classPrivateFieldGet(this, _SkyLogService_instances, "m", _SkyLogService_canLog).call(this, logLevel)) {
|
1532
|
-
const
|
1544
|
+
const messageParts = [];
|
1533
1545
|
if (args === null || args === void 0 ? void 0 : args.deprecationMajorVersion) {
|
1534
|
-
|
1546
|
+
messageParts.push(__classPrivateFieldGet(this, _SkyLogService_formatter, "f").formatText('{0} is deprecated starting in SKY UX {1}.', name, args.deprecationMajorVersion.toLocaleString()));
|
1535
1547
|
}
|
1536
1548
|
else {
|
1537
|
-
|
1549
|
+
messageParts.push(__classPrivateFieldGet(this, _SkyLogService_formatter, "f").formatText('{0} is deprecated.', name));
|
1538
1550
|
}
|
1539
1551
|
if (args === null || args === void 0 ? void 0 : args.removalMajorVersion) {
|
1540
|
-
|
1552
|
+
messageParts.push(__classPrivateFieldGet(this, _SkyLogService_formatter, "f").formatText('We will remove it in version {0}.', args.removalMajorVersion.toLocaleString()));
|
1541
1553
|
}
|
1542
1554
|
else {
|
1543
|
-
|
1555
|
+
messageParts.push('We will remove it in a future major version.');
|
1544
1556
|
}
|
1545
1557
|
if (args === null || args === void 0 ? void 0 : args.replacementRecommendation) {
|
1546
|
-
|
1558
|
+
messageParts.push(args.replacementRecommendation);
|
1547
1559
|
}
|
1548
1560
|
if (args === null || args === void 0 ? void 0 : args.moreInfoUrl) {
|
1549
|
-
|
1561
|
+
messageParts.push(__classPrivateFieldGet(this, _SkyLogService_formatter, "f").formatText('For more information, see {0}.', args.moreInfoUrl));
|
1550
1562
|
}
|
1551
|
-
__classPrivateFieldGet(this, _SkyLogService_instances, "m", _SkyLogService_logBasedOnLevel).call(this, logLevel,
|
1563
|
+
__classPrivateFieldGet(this, _SkyLogService_instances, "m", _SkyLogService_logBasedOnLevel).call(this, logLevel, messageParts.join(' '));
|
1552
1564
|
}
|
1553
1565
|
return Promise.resolve();
|
1554
1566
|
});
|
@@ -1560,12 +1572,7 @@ class SkyLogService {
|
|
1560
1572
|
*/
|
1561
1573
|
error(message, params) {
|
1562
1574
|
if (__classPrivateFieldGet(this, _SkyLogService_instances, "m", _SkyLogService_canLog).call(this, 3 /* SkyLogLevel.Error */)) {
|
1563
|
-
|
1564
|
-
console.error(message, ...params);
|
1565
|
-
}
|
1566
|
-
else {
|
1567
|
-
console.error(message);
|
1568
|
-
}
|
1575
|
+
__classPrivateFieldGet(this, _SkyLogService_instances, "m", _SkyLogService_logWithParams).call(this, 'error', message, params);
|
1569
1576
|
}
|
1570
1577
|
}
|
1571
1578
|
/**
|
@@ -1575,12 +1582,7 @@ class SkyLogService {
|
|
1575
1582
|
*/
|
1576
1583
|
info(message, params) {
|
1577
1584
|
if (__classPrivateFieldGet(this, _SkyLogService_instances, "m", _SkyLogService_canLog).call(this, 1 /* SkyLogLevel.Info */)) {
|
1578
|
-
|
1579
|
-
console.log(message, ...params);
|
1580
|
-
}
|
1581
|
-
else {
|
1582
|
-
console.log(message);
|
1583
|
-
}
|
1585
|
+
__classPrivateFieldGet(this, _SkyLogService_instances, "m", _SkyLogService_logWithParams).call(this, 'log', message, params);
|
1584
1586
|
}
|
1585
1587
|
}
|
1586
1588
|
/**
|
@@ -1590,11 +1592,12 @@ class SkyLogService {
|
|
1590
1592
|
*/
|
1591
1593
|
warn(message, params) {
|
1592
1594
|
if (__classPrivateFieldGet(this, _SkyLogService_instances, "m", _SkyLogService_canLog).call(this, 2 /* SkyLogLevel.Warn */)) {
|
1593
|
-
|
1594
|
-
|
1595
|
-
|
1596
|
-
|
1597
|
-
|
1595
|
+
const messageKey = __classPrivateFieldGet(this, _SkyLogService_instances, "m", _SkyLogService_buildMessageKey).call(this, message, params);
|
1596
|
+
// Only log each warning once per application instance to avoid drowning out other
|
1597
|
+
// important messages in the console.
|
1598
|
+
if (!previousWarnings.has(message)) {
|
1599
|
+
__classPrivateFieldGet(this, _SkyLogService_instances, "m", _SkyLogService_logWithParams).call(this, 'warn', message, params);
|
1600
|
+
previousWarnings.add(messageKey);
|
1598
1601
|
}
|
1599
1602
|
}
|
1600
1603
|
}
|
@@ -1618,10 +1621,23 @@ _SkyLogService_applicationLogLevel = new WeakMap(), _SkyLogService_formatter = n
|
|
1618
1621
|
this.error(message, params);
|
1619
1622
|
break;
|
1620
1623
|
}
|
1624
|
+
}, _SkyLogService_logWithParams = function _SkyLogService_logWithParams(logMethod, message, params) {
|
1625
|
+
if (params) {
|
1626
|
+
console[logMethod](message, ...params);
|
1627
|
+
}
|
1628
|
+
else {
|
1629
|
+
console[logMethod](message);
|
1630
|
+
}
|
1631
|
+
}, _SkyLogService_buildMessageKey = function _SkyLogService_buildMessageKey(message, params) {
|
1632
|
+
let key = message;
|
1633
|
+
if (params === null || params === void 0 ? void 0 : params.length) {
|
1634
|
+
key = `${key} ${params.join(' ')}`;
|
1635
|
+
}
|
1636
|
+
return key;
|
1621
1637
|
};
|
1622
|
-
SkyLogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1623
|
-
SkyLogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
1624
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1638
|
+
SkyLogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyLogService, deps: [{ token: SkyAppFormat }, { token: SKY_LOG_LEVEL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
1639
|
+
SkyLogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyLogService, providedIn: 'root' });
|
1640
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyLogService, decorators: [{
|
1625
1641
|
type: Injectable,
|
1626
1642
|
args: [{
|
1627
1643
|
providedIn: 'root',
|
@@ -1641,10 +1657,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
1641
1657
|
*/
|
1642
1658
|
class SkyMediaQueryModule {
|
1643
1659
|
}
|
1644
|
-
SkyMediaQueryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1645
|
-
SkyMediaQueryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
1646
|
-
SkyMediaQueryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
1647
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1660
|
+
SkyMediaQueryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMediaQueryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1661
|
+
SkyMediaQueryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyMediaQueryModule });
|
1662
|
+
SkyMediaQueryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMediaQueryModule });
|
1663
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMediaQueryModule, decorators: [{
|
1648
1664
|
type: NgModule,
|
1649
1665
|
args: [{}]
|
1650
1666
|
}] });
|
@@ -1652,6 +1668,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
1652
1668
|
var _SkyMediaQueryService_instances, _SkyMediaQueryService_currentSubject, _SkyMediaQueryService_currentBreakpoint, _SkyMediaQueryService_breakpoints, _SkyMediaQueryService_mediaQueries, _SkyMediaQueryService_zone, _SkyMediaQueryService_addListeners, _SkyMediaQueryService_removeListeners, _SkyMediaQueryService_notifyBreakpointChange;
|
1653
1669
|
const DEFAULT_BREAKPOINT$1 = SkyMediaBreakpoints.md;
|
1654
1670
|
class SkyMediaQueryService {
|
1671
|
+
/**
|
1672
|
+
* Returns the current breakpoint.
|
1673
|
+
*/
|
1674
|
+
get current() {
|
1675
|
+
return __classPrivateFieldGet(this, _SkyMediaQueryService_currentBreakpoint, "f");
|
1676
|
+
}
|
1655
1677
|
constructor(zone) {
|
1656
1678
|
_SkyMediaQueryService_instances.add(this);
|
1657
1679
|
_SkyMediaQueryService_currentSubject.set(this, new BehaviorSubject(DEFAULT_BREAKPOINT$1));
|
@@ -1679,12 +1701,6 @@ class SkyMediaQueryService {
|
|
1679
1701
|
__classPrivateFieldSet(this, _SkyMediaQueryService_zone, zone, "f");
|
1680
1702
|
__classPrivateFieldGet(this, _SkyMediaQueryService_instances, "m", _SkyMediaQueryService_addListeners).call(this);
|
1681
1703
|
}
|
1682
|
-
/**
|
1683
|
-
* Returns the current breakpoint.
|
1684
|
-
*/
|
1685
|
-
get current() {
|
1686
|
-
return __classPrivateFieldGet(this, _SkyMediaQueryService_currentBreakpoint, "f");
|
1687
|
-
}
|
1688
1704
|
ngOnDestroy() {
|
1689
1705
|
__classPrivateFieldGet(this, _SkyMediaQueryService_instances, "m", _SkyMediaQueryService_removeListeners).call(this);
|
1690
1706
|
__classPrivateFieldGet(this, _SkyMediaQueryService_currentSubject, "f").complete();
|
@@ -1759,9 +1775,9 @@ SkyMediaQueryService.md = '(min-width: 992px) and (max-width: 1199px)';
|
|
1759
1775
|
* @default "(min-width: 1200px)"
|
1760
1776
|
*/
|
1761
1777
|
SkyMediaQueryService.lg = '(min-width: 1200px)';
|
1762
|
-
SkyMediaQueryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1763
|
-
SkyMediaQueryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
1764
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1778
|
+
SkyMediaQueryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMediaQueryService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
1779
|
+
SkyMediaQueryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMediaQueryService, providedIn: 'root' });
|
1780
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMediaQueryService, decorators: [{
|
1765
1781
|
type: Injectable,
|
1766
1782
|
args: [{
|
1767
1783
|
providedIn: 'root',
|
@@ -1792,16 +1808,16 @@ class SkyCoreResourcesProvider {
|
|
1792
1808
|
*/
|
1793
1809
|
class SkyCoreResourcesModule {
|
1794
1810
|
}
|
1795
|
-
SkyCoreResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1796
|
-
SkyCoreResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
1797
|
-
SkyCoreResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
1811
|
+
SkyCoreResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyCoreResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1812
|
+
SkyCoreResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyCoreResourcesModule, exports: [SkyI18nModule] });
|
1813
|
+
SkyCoreResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyCoreResourcesModule, providers: [
|
1798
1814
|
{
|
1799
1815
|
provide: SKY_LIB_RESOURCES_PROVIDERS,
|
1800
1816
|
useClass: SkyCoreResourcesProvider,
|
1801
1817
|
multi: true,
|
1802
1818
|
},
|
1803
1819
|
], imports: [SkyI18nModule] });
|
1804
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1820
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyCoreResourcesModule, decorators: [{
|
1805
1821
|
type: NgModule,
|
1806
1822
|
args: [{
|
1807
1823
|
exports: [SkyI18nModule],
|
@@ -1830,7 +1846,7 @@ class NumericOptions {
|
|
1830
1846
|
}
|
1831
1847
|
}
|
1832
1848
|
|
1833
|
-
|
1849
|
+
/* eslint-disable eqeqeq */
|
1834
1850
|
function isNumeric(value) {
|
1835
1851
|
return !isNaN(value - parseFloat(value));
|
1836
1852
|
}
|
@@ -2054,9 +2070,9 @@ _SkyNumericService_resourcesSvc = new WeakMap(), _SkyNumericService_symbolIndex
|
|
2054
2070
|
// TODO: Need to implement the async `getString` method in a breaking change.
|
2055
2071
|
return __classPrivateFieldGet(this, _SkyNumericService_resourcesSvc, "f").getStringForLocale({ locale: 'en_US' }, key);
|
2056
2072
|
};
|
2057
|
-
SkyNumericService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2058
|
-
SkyNumericService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
2059
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2073
|
+
SkyNumericService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericService, deps: [{ token: i1.SkyLibResourcesService }], target: i0.ɵɵFactoryTarget.Injectable });
|
2074
|
+
SkyNumericService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericService, providedIn: 'any' });
|
2075
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericService, decorators: [{
|
2060
2076
|
type: Injectable,
|
2061
2077
|
args: [{
|
2062
2078
|
providedIn: 'any',
|
@@ -2129,9 +2145,9 @@ class SkyNumericPipe {
|
|
2129
2145
|
}
|
2130
2146
|
}
|
2131
2147
|
_SkyNumericPipe_cacheKey = new WeakMap(), _SkyNumericPipe_changeDetector = new WeakMap(), _SkyNumericPipe_formattedValue = new WeakMap(), _SkyNumericPipe_ngUnsubscribe = new WeakMap(), _SkyNumericPipe_numericSvc = new WeakMap(), _SkyNumericPipe_providerLocale = new WeakMap();
|
2132
|
-
SkyNumericPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2133
|
-
SkyNumericPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1
|
2134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2148
|
+
SkyNumericPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericPipe, deps: [{ token: i1.SkyAppLocaleProvider }, { token: SkyNumericService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
|
2149
|
+
SkyNumericPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericPipe, name: "skyNumeric", pure: false });
|
2150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericPipe, decorators: [{
|
2135
2151
|
type: Pipe,
|
2136
2152
|
args: [{
|
2137
2153
|
name: 'skyNumeric',
|
@@ -2141,10 +2157,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
2141
2157
|
|
2142
2158
|
class SkyNumericModule {
|
2143
2159
|
}
|
2144
|
-
SkyNumericModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2145
|
-
SkyNumericModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
2146
|
-
SkyNumericModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
2147
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2160
|
+
SkyNumericModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
2161
|
+
SkyNumericModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericModule, declarations: [SkyNumericPipe], imports: [SkyI18nModule, SkyCoreResourcesModule], exports: [SkyNumericPipe] });
|
2162
|
+
SkyNumericModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericModule, providers: [SkyNumericPipe], imports: [SkyI18nModule, SkyCoreResourcesModule] });
|
2163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericModule, decorators: [{
|
2148
2164
|
type: NgModule,
|
2149
2165
|
args: [{
|
2150
2166
|
declarations: [SkyNumericPipe],
|
@@ -2160,6 +2176,18 @@ var _SkyOverlayInstance_backdropClick, _SkyOverlayInstance_backdropClickObs, _Sk
|
|
2160
2176
|
* and access any public members on the appended content component instance.
|
2161
2177
|
*/
|
2162
2178
|
class SkyOverlayInstance {
|
2179
|
+
/**
|
2180
|
+
* Emits when the overlay is clicked (but not its content).
|
2181
|
+
*/
|
2182
|
+
get backdropClick() {
|
2183
|
+
return __classPrivateFieldGet(this, _SkyOverlayInstance_backdropClickObs, "f");
|
2184
|
+
}
|
2185
|
+
/**
|
2186
|
+
* Emits after the overlay is closed.
|
2187
|
+
*/
|
2188
|
+
get closed() {
|
2189
|
+
return __classPrivateFieldGet(this, _SkyOverlayInstance_closedObs, "f");
|
2190
|
+
}
|
2163
2191
|
constructor(
|
2164
2192
|
/**
|
2165
2193
|
* The configuration for the overlay.
|
@@ -2185,18 +2213,6 @@ class SkyOverlayInstance {
|
|
2185
2213
|
__classPrivateFieldSet(this, _SkyOverlayInstance_backdropClickObs, __classPrivateFieldGet(this, _SkyOverlayInstance_backdropClick, "f").asObservable(), "f");
|
2186
2214
|
__classPrivateFieldSet(this, _SkyOverlayInstance_closedObs, __classPrivateFieldGet(this, _SkyOverlayInstance_closed, "f").asObservable(), "f");
|
2187
2215
|
}
|
2188
|
-
/**
|
2189
|
-
* Emits when the overlay is clicked (but not its content).
|
2190
|
-
*/
|
2191
|
-
get backdropClick() {
|
2192
|
-
return __classPrivateFieldGet(this, _SkyOverlayInstance_backdropClickObs, "f");
|
2193
|
-
}
|
2194
|
-
/**
|
2195
|
-
* Emits after the overlay is closed.
|
2196
|
-
*/
|
2197
|
-
get closed() {
|
2198
|
-
return __classPrivateFieldGet(this, _SkyOverlayInstance_closedObs, "f");
|
2199
|
-
}
|
2200
2216
|
/**
|
2201
2217
|
* Creates and attaches a component to the overlay.
|
2202
2218
|
* @param component The component to attach.
|
@@ -2217,6 +2233,11 @@ class SkyOverlayInstance {
|
|
2217
2233
|
}
|
2218
2234
|
_SkyOverlayInstance_backdropClick = new WeakMap(), _SkyOverlayInstance_backdropClickObs = new WeakMap(), _SkyOverlayInstance_closed = new WeakMap(), _SkyOverlayInstance_closedObs = new WeakMap();
|
2219
2235
|
|
2236
|
+
/**
|
2237
|
+
* @internal
|
2238
|
+
*/
|
2239
|
+
const SKY_STACKING_CONTEXT = new InjectionToken('SkyStackingContext');
|
2240
|
+
|
2220
2241
|
/**
|
2221
2242
|
* Contextual information for each overlay.
|
2222
2243
|
* @internal
|
@@ -2246,6 +2267,12 @@ let uniqueZIndex = 5000;
|
|
2246
2267
|
* @internal
|
2247
2268
|
*/
|
2248
2269
|
class SkyOverlayComponent {
|
2270
|
+
get backdropClick() {
|
2271
|
+
return __classPrivateFieldGet(this, _SkyOverlayComponent_backdropClickObs, "f");
|
2272
|
+
}
|
2273
|
+
get closed() {
|
2274
|
+
return __classPrivateFieldGet(this, _SkyOverlayComponent_closedObs, "f");
|
2275
|
+
}
|
2249
2276
|
constructor(changeDetector, injector, coreAdapter, context, idSvc, router) {
|
2250
2277
|
_SkyOverlayComponent_instances.add(this);
|
2251
2278
|
this.wrapperClass = '';
|
@@ -2275,12 +2302,6 @@ class SkyOverlayComponent {
|
|
2275
2302
|
__classPrivateFieldSet(this, _SkyOverlayComponent_backdropClickObs, __classPrivateFieldGet(this, _SkyOverlayComponent_backdropClick, "f").asObservable(), "f");
|
2276
2303
|
__classPrivateFieldSet(this, _SkyOverlayComponent_closedObs, __classPrivateFieldGet(this, _SkyOverlayComponent_closed, "f").asObservable(), "f");
|
2277
2304
|
}
|
2278
|
-
get backdropClick() {
|
2279
|
-
return __classPrivateFieldGet(this, _SkyOverlayComponent_backdropClickObs, "f");
|
2280
|
-
}
|
2281
|
-
get closed() {
|
2282
|
-
return __classPrivateFieldGet(this, _SkyOverlayComponent_closedObs, "f");
|
2283
|
-
}
|
2284
2305
|
ngOnInit() {
|
2285
2306
|
__classPrivateFieldGet(this, _SkyOverlayComponent_instances, "m", _SkyOverlayComponent_applyConfig).call(this, __classPrivateFieldGet(this, _SkyOverlayComponent_context, "f").config);
|
2286
2307
|
setTimeout(() => {
|
@@ -2305,7 +2326,17 @@ class SkyOverlayComponent {
|
|
2305
2326
|
}
|
2306
2327
|
this.targetRef.clear();
|
2307
2328
|
const injector = Injector.create({
|
2308
|
-
providers
|
2329
|
+
providers: [
|
2330
|
+
{
|
2331
|
+
provide: SKY_STACKING_CONTEXT,
|
2332
|
+
useValue: {
|
2333
|
+
zIndex: new BehaviorSubject(parseInt(this.zIndex, 10))
|
2334
|
+
.asObservable()
|
2335
|
+
.pipe(takeUntil(__classPrivateFieldGet(this, _SkyOverlayComponent_ngUnsubscribe, "f"))),
|
2336
|
+
},
|
2337
|
+
},
|
2338
|
+
...providers,
|
2339
|
+
],
|
2309
2340
|
parent: __classPrivateFieldGet(this, _SkyOverlayComponent_injector, "f"),
|
2310
2341
|
});
|
2311
2342
|
const componentRef = this.targetRef.createComponent(component, {
|
@@ -2364,9 +2395,9 @@ _SkyOverlayComponent_backdropClick = new WeakMap(), _SkyOverlayComponent_backdro
|
|
2364
2395
|
__classPrivateFieldSet(this, _SkyOverlayComponent_routerSubscription, undefined, "f");
|
2365
2396
|
}
|
2366
2397
|
};
|
2367
|
-
SkyOverlayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2368
|
-
SkyOverlayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1
|
2369
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2398
|
+
SkyOverlayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.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 });
|
2399
|
+
SkyOverlayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.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]=\"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{position:fixed;inset: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);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 });
|
2400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayComponent, decorators: [{
|
2370
2401
|
type: Component,
|
2371
2402
|
args: [{ selector: 'sky-overlay', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n [class]=\"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{position:fixed;inset: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);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"] }]
|
2372
2403
|
}], ctorParameters: function () {
|
@@ -2398,10 +2429,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
2398
2429
|
|
2399
2430
|
class SkyOverlayModule {
|
2400
2431
|
}
|
2401
|
-
SkyOverlayModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2402
|
-
SkyOverlayModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
2403
|
-
SkyOverlayModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
2404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2432
|
+
SkyOverlayModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
2433
|
+
SkyOverlayModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayModule, declarations: [SkyOverlayComponent], imports: [CommonModule] });
|
2434
|
+
SkyOverlayModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayModule, imports: [CommonModule] });
|
2435
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayModule, decorators: [{
|
2405
2436
|
type: NgModule,
|
2406
2437
|
args: [{
|
2407
2438
|
imports: [CommonModule],
|
@@ -2444,9 +2475,9 @@ _SkyOverlayAdapterService_renderer = new WeakMap(), _SkyOverlayAdapterService_st
|
|
2444
2475
|
__classPrivateFieldGet(this, _SkyOverlayAdapterService_renderer, "f").removeChild(document.head, __classPrivateFieldGet(this, _SkyOverlayAdapterService_styleElement, "f"));
|
2445
2476
|
}
|
2446
2477
|
};
|
2447
|
-
SkyOverlayAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2448
|
-
SkyOverlayAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
2449
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2478
|
+
SkyOverlayAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayAdapterService, deps: [{ token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
|
2479
|
+
SkyOverlayAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayAdapterService, providedIn: 'root' });
|
2480
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayAdapterService, decorators: [{
|
2450
2481
|
type: Injectable,
|
2451
2482
|
args: [{
|
2452
2483
|
providedIn: 'root',
|
@@ -2562,9 +2593,9 @@ _SkyOverlayService_adapter = new WeakMap(), _SkyOverlayService_applicationRef =
|
|
2562
2593
|
}
|
2563
2594
|
};
|
2564
2595
|
SkyOverlayService.overlays = [];
|
2565
|
-
SkyOverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2566
|
-
SkyOverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
2567
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2596
|
+
SkyOverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayService, deps: [{ token: i0.ApplicationRef }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: SkyOverlayAdapterService }], target: i0.ɵɵFactoryTarget.Injectable });
|
2597
|
+
SkyOverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayService, providedIn: 'root' });
|
2598
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayService, decorators: [{
|
2568
2599
|
type: Injectable,
|
2569
2600
|
args: [{
|
2570
2601
|
providedIn: 'root',
|
@@ -2573,6 +2604,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
2573
2604
|
|
2574
2605
|
var _SkyPercentPipe_instances, _SkyPercentPipe_defaultFormat, _SkyPercentPipe_defaultLocale, _SkyPercentPipe_format, _SkyPercentPipe_formattedValue, _SkyPercentPipe_locale, _SkyPercentPipe_ngUnsubscribe, _SkyPercentPipe_value, _SkyPercentPipe_updateFormattedValue;
|
2575
2606
|
class SkyPercentPipe {
|
2607
|
+
get defaultLocale() {
|
2608
|
+
return __classPrivateFieldGet(this, _SkyPercentPipe_defaultLocale, "f");
|
2609
|
+
}
|
2576
2610
|
constructor(localeProvider) {
|
2577
2611
|
_SkyPercentPipe_instances.add(this);
|
2578
2612
|
_SkyPercentPipe_defaultFormat.set(this, '1.0-2');
|
@@ -2590,9 +2624,6 @@ class SkyPercentPipe {
|
|
2590
2624
|
__classPrivateFieldGet(this, _SkyPercentPipe_instances, "m", _SkyPercentPipe_updateFormattedValue).call(this);
|
2591
2625
|
});
|
2592
2626
|
}
|
2593
|
-
get defaultLocale() {
|
2594
|
-
return __classPrivateFieldGet(this, _SkyPercentPipe_defaultLocale, "f");
|
2595
|
-
}
|
2596
2627
|
ngOnDestroy() {
|
2597
2628
|
__classPrivateFieldGet(this, _SkyPercentPipe_ngUnsubscribe, "f").next();
|
2598
2629
|
__classPrivateFieldGet(this, _SkyPercentPipe_ngUnsubscribe, "f").complete();
|
@@ -2612,9 +2643,9 @@ _SkyPercentPipe_defaultFormat = new WeakMap(), _SkyPercentPipe_defaultLocale = n
|
|
2612
2643
|
? SkyNumberFormatUtility.formatNumber(locale, __classPrivateFieldGet(this, _SkyPercentPipe_value, "f"), SkyIntlNumberFormatStyle.Percent, format)
|
2613
2644
|
: '', "f");
|
2614
2645
|
};
|
2615
|
-
SkyPercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2616
|
-
SkyPercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1
|
2617
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2646
|
+
SkyPercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyPercentPipe, deps: [{ token: i1.SkyAppLocaleProvider }], target: i0.ɵɵFactoryTarget.Pipe });
|
2647
|
+
SkyPercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyPercentPipe, name: "skyPercent", pure: false });
|
2648
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyPercentPipe, decorators: [{
|
2618
2649
|
type: Pipe,
|
2619
2650
|
args: [{
|
2620
2651
|
name: 'skyPercent',
|
@@ -2624,10 +2655,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
2624
2655
|
|
2625
2656
|
class SkyPercentPipeModule {
|
2626
2657
|
}
|
2627
|
-
SkyPercentPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2628
|
-
SkyPercentPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
2629
|
-
SkyPercentPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
2630
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2658
|
+
SkyPercentPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyPercentPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
2659
|
+
SkyPercentPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyPercentPipeModule, declarations: [SkyPercentPipe], imports: [CommonModule, SkyCoreResourcesModule], exports: [SkyPercentPipe] });
|
2660
|
+
SkyPercentPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyPercentPipeModule, providers: [SkyPercentPipe], imports: [CommonModule, SkyCoreResourcesModule] });
|
2661
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyPercentPipeModule, decorators: [{
|
2631
2662
|
type: NgModule,
|
2632
2663
|
args: [{
|
2633
2664
|
declarations: [SkyPercentPipe],
|
@@ -2702,9 +2733,9 @@ _SkyResizeObserverService_resizeObserver = new WeakMap(), _SkyResizeObserverServ
|
|
2702
2733
|
}
|
2703
2734
|
});
|
2704
2735
|
};
|
2705
|
-
SkyResizeObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2706
|
-
SkyResizeObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
2707
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2736
|
+
SkyResizeObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyResizeObserverService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
2737
|
+
SkyResizeObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyResizeObserverService, providedIn: 'any' });
|
2738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyResizeObserverService, decorators: [{
|
2708
2739
|
type: Injectable,
|
2709
2740
|
args: [{
|
2710
2741
|
providedIn: 'any',
|
@@ -2717,6 +2748,12 @@ const DEFAULT_BREAKPOINT = SkyMediaBreakpoints.md;
|
|
2717
2748
|
* Acts like `SkyMediaQueryService` for a container element, emitting the same responsive breakpoints.
|
2718
2749
|
*/
|
2719
2750
|
class SkyResizeObserverMediaQueryService {
|
2751
|
+
/**
|
2752
|
+
* Returns the current breakpoint.
|
2753
|
+
*/
|
2754
|
+
get current() {
|
2755
|
+
return __classPrivateFieldGet(this, _SkyResizeObserverMediaQueryService_currentBreakpoint, "f");
|
2756
|
+
}
|
2720
2757
|
constructor(resizeObserverSvc) {
|
2721
2758
|
_SkyResizeObserverMediaQueryService_instances.add(this);
|
2722
2759
|
_SkyResizeObserverMediaQueryService_breakpoints.set(this, [
|
@@ -2744,12 +2781,6 @@ class SkyResizeObserverMediaQueryService {
|
|
2744
2781
|
_SkyResizeObserverMediaQueryService_target.set(this, void 0);
|
2745
2782
|
__classPrivateFieldSet(this, _SkyResizeObserverMediaQueryService_resizeObserverSvc, resizeObserverSvc, "f");
|
2746
2783
|
}
|
2747
|
-
/**
|
2748
|
-
* Returns the current breakpoint.
|
2749
|
-
*/
|
2750
|
-
get current() {
|
2751
|
-
return __classPrivateFieldGet(this, _SkyResizeObserverMediaQueryService_currentBreakpoint, "f");
|
2752
|
-
}
|
2753
2784
|
ngOnDestroy() {
|
2754
2785
|
this.unobserve();
|
2755
2786
|
__classPrivateFieldSet(this, _SkyResizeObserverMediaQueryService_target, undefined, "f");
|
@@ -2816,9 +2847,9 @@ _SkyResizeObserverMediaQueryService_breakpoints = new WeakMap(), _SkyResizeObser
|
|
2816
2847
|
__classPrivateFieldGet(this, _SkyResizeObserverMediaQueryService_instances, "m", _SkyResizeObserverMediaQueryService_updateBreakpoint).call(this, breakpoint);
|
2817
2848
|
}
|
2818
2849
|
};
|
2819
|
-
SkyResizeObserverMediaQueryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2820
|
-
SkyResizeObserverMediaQueryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
2821
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2850
|
+
SkyResizeObserverMediaQueryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyResizeObserverMediaQueryService, deps: [{ token: SkyResizeObserverService }], target: i0.ɵɵFactoryTarget.Injectable });
|
2851
|
+
SkyResizeObserverMediaQueryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyResizeObserverMediaQueryService, providedIn: 'any' });
|
2852
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyResizeObserverMediaQueryService, decorators: [{
|
2822
2853
|
type: Injectable,
|
2823
2854
|
args: [{
|
2824
2855
|
providedIn: 'any',
|
@@ -3025,9 +3056,9 @@ _SkyScrollableHostService_mutationObserverSvc = new WeakMap(), _SkyScrollableHos
|
|
3025
3056
|
height: docElem.clientHeight,
|
3026
3057
|
};
|
3027
3058
|
};
|
3028
|
-
SkyScrollableHostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3029
|
-
SkyScrollableHostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
3030
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3059
|
+
SkyScrollableHostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyScrollableHostService, deps: [{ token: SkyMutationObserverService }, { token: SkyAppWindowRef }, { token: SkyResizeObserverService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
3060
|
+
SkyScrollableHostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyScrollableHostService, providedIn: 'root' });
|
3061
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyScrollableHostService, decorators: [{
|
3031
3062
|
type: Injectable,
|
3032
3063
|
args: [{
|
3033
3064
|
providedIn: 'root',
|
@@ -3059,9 +3090,9 @@ class SkyAppTitleService {
|
|
3059
3090
|
}
|
3060
3091
|
}
|
3061
3092
|
_SkyAppTitleService_title = new WeakMap();
|
3062
|
-
SkyAppTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3063
|
-
SkyAppTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
3064
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3093
|
+
SkyAppTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppTitleService, deps: [{ token: i1$1.Title }], target: i0.ɵɵFactoryTarget.Injectable });
|
3094
|
+
SkyAppTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppTitleService, providedIn: 'root' });
|
3095
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppTitleService, decorators: [{
|
3065
3096
|
type: Injectable,
|
3066
3097
|
args: [{
|
3067
3098
|
providedIn: 'root',
|
@@ -3120,9 +3151,9 @@ _SkyTrimDirective_elRef = new WeakMap(), _SkyTrimDirective_obs = new WeakMap(),
|
|
3120
3151
|
}
|
3121
3152
|
__classPrivateFieldGet(this, _SkyTrimDirective_instances, "m", _SkyTrimDirective_observe).call(this);
|
3122
3153
|
};
|
3123
|
-
SkyTrimDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3124
|
-
SkyTrimDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1
|
3125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3154
|
+
SkyTrimDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyTrimDirective, deps: [{ token: i0.ElementRef }, { token: SkyMutationObserverService }], target: i0.ɵɵFactoryTarget.Directive });
|
3155
|
+
SkyTrimDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", type: SkyTrimDirective, selector: "[skyTrim]", ngImport: i0 });
|
3156
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyTrimDirective, decorators: [{
|
3126
3157
|
type: Directive,
|
3127
3158
|
args: [{
|
3128
3159
|
selector: '[skyTrim]',
|
@@ -3131,10 +3162,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
3131
3162
|
|
3132
3163
|
class SkyTrimModule {
|
3133
3164
|
}
|
3134
|
-
SkyTrimModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3135
|
-
SkyTrimModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
3136
|
-
SkyTrimModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
3137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3165
|
+
SkyTrimModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyTrimModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
3166
|
+
SkyTrimModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyTrimModule, declarations: [SkyTrimDirective], exports: [SkyTrimDirective] });
|
3167
|
+
SkyTrimModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyTrimModule });
|
3168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyTrimModule, decorators: [{
|
3138
3169
|
type: NgModule,
|
3139
3170
|
args: [{
|
3140
3171
|
declarations: [SkyTrimDirective],
|
@@ -3151,9 +3182,9 @@ class SkyUIConfigService {
|
|
3151
3182
|
return of({});
|
3152
3183
|
}
|
3153
3184
|
}
|
3154
|
-
SkyUIConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3155
|
-
SkyUIConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
3156
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3185
|
+
SkyUIConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyUIConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
3186
|
+
SkyUIConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyUIConfigService, providedIn: 'root' });
|
3187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyUIConfigService, decorators: [{
|
3157
3188
|
type: Injectable,
|
3158
3189
|
args: [{
|
3159
3190
|
providedIn: 'root',
|
@@ -3162,9 +3193,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
3162
3193
|
|
3163
3194
|
class SkyViewkeeperHostOptions {
|
3164
3195
|
}
|
3165
|
-
SkyViewkeeperHostOptions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3166
|
-
SkyViewkeeperHostOptions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
3167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3196
|
+
SkyViewkeeperHostOptions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperHostOptions, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
3197
|
+
SkyViewkeeperHostOptions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperHostOptions });
|
3198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperHostOptions, decorators: [{
|
3168
3199
|
type: Injectable
|
3169
3200
|
}] });
|
3170
3201
|
|
@@ -3471,9 +3502,9 @@ class SkyViewkeeperService {
|
|
3471
3502
|
}
|
3472
3503
|
}
|
3473
3504
|
_SkyViewkeeperService_hostOptions = new WeakMap();
|
3474
|
-
SkyViewkeeperService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3475
|
-
SkyViewkeeperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
3476
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3505
|
+
SkyViewkeeperService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperService, deps: [{ token: SkyViewkeeperHostOptions, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
3506
|
+
SkyViewkeeperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperService, providedIn: 'root' });
|
3507
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperService, decorators: [{
|
3477
3508
|
type: Injectable,
|
3478
3509
|
args: [{
|
3479
3510
|
providedIn: 'root',
|
@@ -3486,6 +3517,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
3486
3517
|
|
3487
3518
|
var _SkyViewkeeperDirective_instances, _SkyViewkeeperDirective__skyViewkeeper, _SkyViewkeeperDirective_currentViewkeeperEls, _SkyViewkeeperDirective_el, _SkyViewkeeperDirective_mutationObserverSvc, _SkyViewkeeperDirective_observer, _SkyViewkeeperDirective_scrollableHostSvc, _SkyViewkeeperDirective_scrollableHostWatchUnsubscribe, _SkyViewkeeperDirective_viewkeepers, _SkyViewkeeperDirective_viewkeeperSvc, _SkyViewkeeperDirective_destroyViewkeepers, _SkyViewkeeperDirective_getViewkeeperEls, _SkyViewkeeperDirective_viewkeeperElsChanged, _SkyViewkeeperDirective_detectElements;
|
3488
3519
|
class SkyViewkeeperDirective {
|
3520
|
+
set skyViewkeeper(value) {
|
3521
|
+
__classPrivateFieldSet(this, _SkyViewkeeperDirective__skyViewkeeper, value, "f");
|
3522
|
+
__classPrivateFieldGet(this, _SkyViewkeeperDirective_instances, "m", _SkyViewkeeperDirective_detectElements).call(this);
|
3523
|
+
}
|
3524
|
+
get skyViewkeeper() {
|
3525
|
+
return __classPrivateFieldGet(this, _SkyViewkeeperDirective__skyViewkeeper, "f");
|
3526
|
+
}
|
3489
3527
|
constructor(el, mutationObserverSvc, viewkeeperSvc, scrollableHostSvc) {
|
3490
3528
|
_SkyViewkeeperDirective_instances.add(this);
|
3491
3529
|
_SkyViewkeeperDirective__skyViewkeeper.set(this, void 0);
|
@@ -3502,13 +3540,6 @@ class SkyViewkeeperDirective {
|
|
3502
3540
|
__classPrivateFieldSet(this, _SkyViewkeeperDirective_viewkeeperSvc, viewkeeperSvc, "f");
|
3503
3541
|
__classPrivateFieldSet(this, _SkyViewkeeperDirective_scrollableHostSvc, scrollableHostSvc, "f");
|
3504
3542
|
}
|
3505
|
-
set skyViewkeeper(value) {
|
3506
|
-
__classPrivateFieldSet(this, _SkyViewkeeperDirective__skyViewkeeper, value, "f");
|
3507
|
-
__classPrivateFieldGet(this, _SkyViewkeeperDirective_instances, "m", _SkyViewkeeperDirective_detectElements).call(this);
|
3508
|
-
}
|
3509
|
-
get skyViewkeeper() {
|
3510
|
-
return __classPrivateFieldGet(this, _SkyViewkeeperDirective__skyViewkeeper, "f");
|
3511
|
-
}
|
3512
3543
|
ngOnInit() {
|
3513
3544
|
__classPrivateFieldSet(this, _SkyViewkeeperDirective_observer, __classPrivateFieldGet(this, _SkyViewkeeperDirective_mutationObserverSvc, "f").create(() => __classPrivateFieldGet(this, _SkyViewkeeperDirective_instances, "m", _SkyViewkeeperDirective_detectElements).call(this)), "f");
|
3514
3545
|
__classPrivateFieldGet(this, _SkyViewkeeperDirective_observer, "f").observe(__classPrivateFieldGet(this, _SkyViewkeeperDirective_el, "f").nativeElement, {
|
@@ -3594,9 +3625,9 @@ _SkyViewkeeperDirective__skyViewkeeper = new WeakMap(), _SkyViewkeeperDirective_
|
|
3594
3625
|
__classPrivateFieldSet(this, _SkyViewkeeperDirective_currentViewkeeperEls, viewkeeperEls, "f");
|
3595
3626
|
}
|
3596
3627
|
};
|
3597
|
-
SkyViewkeeperDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3598
|
-
SkyViewkeeperDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1
|
3599
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3628
|
+
SkyViewkeeperDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperDirective, deps: [{ token: i0.ElementRef }, { token: SkyMutationObserverService }, { token: SkyViewkeeperService }, { token: SkyScrollableHostService, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
3629
|
+
SkyViewkeeperDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", type: SkyViewkeeperDirective, selector: "[skyViewkeeper]", inputs: { skyViewkeeper: "skyViewkeeper" }, ngImport: i0 });
|
3630
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperDirective, decorators: [{
|
3600
3631
|
type: Directive,
|
3601
3632
|
args: [{
|
3602
3633
|
selector: '[skyViewkeeper]',
|
@@ -3611,10 +3642,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
3611
3642
|
|
3612
3643
|
class SkyViewkeeperModule {
|
3613
3644
|
}
|
3614
|
-
SkyViewkeeperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3615
|
-
SkyViewkeeperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
3616
|
-
SkyViewkeeperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
3617
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3645
|
+
SkyViewkeeperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
3646
|
+
SkyViewkeeperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperModule, declarations: [SkyViewkeeperDirective], exports: [SkyViewkeeperDirective] });
|
3647
|
+
SkyViewkeeperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperModule });
|
3648
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperModule, decorators: [{
|
3618
3649
|
type: NgModule,
|
3619
3650
|
args: [{
|
3620
3651
|
declarations: [SkyViewkeeperDirective],
|
@@ -3626,5 +3657,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
3626
3657
|
* Generated bundle index. Do not edit.
|
3627
3658
|
*/
|
3628
3659
|
|
3629
|
-
export { NumericOptions, SKY_LOG_LEVEL, SkyAffixAutoFitContext, SkyAffixModule, SkyAffixService, SkyAffixer, SkyAppFormat, SkyAppTitleService, SkyAppWindowRef, SkyCoreAdapterModule, SkyCoreAdapterService, SkyDockItem, SkyDockLocation, SkyDockModule, SkyDockService, SkyDynamicComponentLocation, SkyDynamicComponentModule, SkyDynamicComponentService, SkyIdModule, SkyIdService, SkyLogModule, SkyLogService, SkyMediaBreakpoints, SkyMediaQueryModule, SkyMediaQueryService, SkyMutationObserverService, SkyNumericModule, SkyNumericPipe, SkyNumericService, SkyOverlayInstance, SkyOverlayModule, SkyOverlayService, SkyPercentPipe, SkyPercentPipeModule, SkyResizeObserverMediaQueryService, SkyResizeObserverService, SkyScrollableHostService, SkyTrimModule, SkyUIConfigService, SkyViewkeeperHostOptions, SkyViewkeeperModule, SkyViewkeeperService, getWindow, SkyAffixDirective as λ1, SkyIdDirective as λ2, SkyViewkeeperDirective as λ3, SkyTrimDirective as λ4 };
|
3660
|
+
export { NumericOptions, SKY_LOG_LEVEL, SKY_STACKING_CONTEXT, SkyAffixAutoFitContext, SkyAffixModule, SkyAffixService, SkyAffixer, SkyAppFormat, SkyAppTitleService, SkyAppWindowRef, SkyCoreAdapterModule, SkyCoreAdapterService, SkyDockItem, SkyDockLocation, SkyDockModule, SkyDockService, SkyDynamicComponentLocation, SkyDynamicComponentModule, SkyDynamicComponentService, SkyIdModule, SkyIdService, SkyLogModule, SkyLogService, SkyMediaBreakpoints, SkyMediaQueryModule, SkyMediaQueryService, SkyMutationObserverService, SkyNumericModule, SkyNumericPipe, SkyNumericService, SkyOverlayInstance, SkyOverlayModule, SkyOverlayService, SkyPercentPipe, SkyPercentPipeModule, SkyResizeObserverMediaQueryService, SkyResizeObserverService, SkyScrollableHostService, SkyTrimModule, SkyUIConfigService, SkyViewkeeperHostOptions, SkyViewkeeperModule, SkyViewkeeperService, getWindow, SkyAffixDirective as λ1, SkyIdDirective as λ2, SkyViewkeeperDirective as λ3, SkyTrimDirective as λ4 };
|
3630
3661
|
//# sourceMappingURL=skyux-core.mjs.map
|