@skyux/core 8.0.0-alpha.2 → 8.0.0-alpha.20
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 +1169 -1431
- 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-config.mjs +1 -1
- package/esm2020/lib/modules/affix/affix-position.mjs +2 -0
- package/esm2020/lib/modules/affix/affix-rect.mjs +2 -0
- package/esm2020/lib/modules/affix/affix.directive.mjs +8 -4
- 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 +53 -28
- 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 +22 -11
- 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.options.mjs +12 -1
- package/esm2020/lib/modules/numeric/numeric.pipe.mjs +3 -3
- package/esm2020/lib/modules/numeric/numeric.service.mjs +26 -18
- package/esm2020/lib/modules/overlay/overlay-adapter.service.mjs +3 -3
- package/esm2020/lib/modules/overlay/overlay-config.mjs +1 -1
- package/esm2020/lib/modules/overlay/overlay-instance.mjs +13 -13
- package/esm2020/lib/modules/overlay/overlay-position.mjs +2 -0
- package/esm2020/lib/modules/overlay/overlay.component.mjs +14 -11
- 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/sky-core-resources.module.mjs +4 -4
- 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 +297 -244
- 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 +304 -244
- package/fesm2020/skyux-core.mjs.map +1 -1
- package/index.d.ts +2 -0
- package/lib/modules/affix/affix-config.d.ts +5 -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-position.d.ts +1 -0
- package/lib/modules/affix/affix-rect.d.ts +11 -0
- package/lib/modules/affix/affix-vertical-alignment.d.ts +1 -1
- package/lib/modules/affix/affix.directive.d.ts +6 -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/numeric/numeric.options.d.ts +2 -0
- package/lib/modules/overlay/overlay-config.d.ts +5 -0
- package/lib/modules/overlay/overlay-position.d.ts +1 -0
- package/lib/modules/overlay/overlay.component.d.ts +2 -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',
|
@@ -375,7 +375,7 @@ function isOffsetPartiallyVisibleWithinParent(parent, offset, bufferOffset) {
|
|
375
375
|
parentOffset.left >= offset.right);
|
376
376
|
}
|
377
377
|
|
378
|
-
var _SkyAffixer_instances, _SkyAffixer_config_get, _SkyAffixer_config_set, _SkyAffixer_affixedElement, _SkyAffixer_baseElement, _SkyAffixer_currentOffset, _SkyAffixer_currentPlacement, _SkyAffixer_offsetChange, _SkyAffixer_offsetChangeObs, _SkyAffixer_overflowParents, _SkyAffixer_overflowScroll, _SkyAffixer_overflowScrollObs, _SkyAffixer_placementChange, _SkyAffixer_placementChangeObs, _SkyAffixer_renderer, _SkyAffixer_resizeListener, _SkyAffixer_scrollListeners, _SkyAffixer__config, _SkyAffixer_affix, _SkyAffixer_getOffset, _SkyAffixer_getPreferredOffset, _SkyAffixer_adjustOffsetToOverflowParent, _SkyAffixer_getImmediateOverflowParent, _SkyAffixer_getAutoFitContextParent, _SkyAffixer_notifyPlacementChange, _SkyAffixer_reset, _SkyAffixer_isNewOffset, _SkyAffixer_isBaseElementVisible, _SkyAffixer_addScrollListeners, _SkyAffixer_addResizeListener, _SkyAffixer_removeResizeListener, _SkyAffixer_removeScrollListeners;
|
378
|
+
var _SkyAffixer_instances, _SkyAffixer_config_get, _SkyAffixer_config_set, _SkyAffixer_affixedElement, _SkyAffixer_baseElement, _SkyAffixer_currentOffset, _SkyAffixer_currentPlacement, _SkyAffixer_offsetChange, _SkyAffixer_offsetChangeObs, _SkyAffixer_overflowParents, _SkyAffixer_overflowScroll, _SkyAffixer_overflowScrollObs, _SkyAffixer_placementChange, _SkyAffixer_placementChangeObs, _SkyAffixer_renderer, _SkyAffixer_resizeListener, _SkyAffixer_scrollListeners, _SkyAffixer__config, _SkyAffixer_affix, _SkyAffixer_getOffset, _SkyAffixer_getRect, _SkyAffixer_getPreferredOffset, _SkyAffixer_adjustOffsetToOverflowParent, _SkyAffixer_getImmediateOverflowParent, _SkyAffixer_getAutoFitContextParent, _SkyAffixer_notifyPlacementChange, _SkyAffixer_reset, _SkyAffixer_isNewOffset, _SkyAffixer_isBaseElementVisible, _SkyAffixer_addScrollListeners, _SkyAffixer_addResizeListener, _SkyAffixer_removeResizeListener, _SkyAffixer_removeScrollListeners;
|
379
379
|
const DEFAULT_AFFIX_CONFIG = {
|
380
380
|
autoFitContext: SkyAffixAutoFitContext.OverflowParent,
|
381
381
|
enableAutoFit: false,
|
@@ -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.
|
@@ -494,9 +494,19 @@ _SkyAffixer_affixedElement = new WeakMap(), _SkyAffixer_baseElement = new WeakMa
|
|
494
494
|
let isAffixedElementFullyVisible = false;
|
495
495
|
let offset;
|
496
496
|
let placement = __classPrivateFieldGet(this, _SkyAffixer_instances, "a", _SkyAffixer_config_get).placement;
|
497
|
+
const autoFitOverflowOffset = __classPrivateFieldGet(this, _SkyAffixer_instances, "a", _SkyAffixer_config_get).autoFitOverflowOffset || {
|
498
|
+
bottom: 0,
|
499
|
+
left: 0,
|
500
|
+
right: 0,
|
501
|
+
top: 0,
|
502
|
+
};
|
503
|
+
if (__classPrivateFieldGet(this, _SkyAffixer_instances, "a", _SkyAffixer_config_get).position === 'absolute') {
|
504
|
+
autoFitOverflowOffset.top =
|
505
|
+
(autoFitOverflowOffset.top || 0) + window.scrollY;
|
506
|
+
}
|
497
507
|
do {
|
498
508
|
offset = __classPrivateFieldGet(this, _SkyAffixer_instances, "m", _SkyAffixer_getPreferredOffset).call(this, placement);
|
499
|
-
isAffixedElementFullyVisible = isOffsetFullyVisibleWithinParent(parent, offset,
|
509
|
+
isAffixedElementFullyVisible = isOffsetFullyVisibleWithinParent(parent, offset, autoFitOverflowOffset);
|
500
510
|
if (!__classPrivateFieldGet(this, _SkyAffixer_instances, "a", _SkyAffixer_config_get).enableAutoFit) {
|
501
511
|
break;
|
502
512
|
}
|
@@ -522,12 +532,27 @@ _SkyAffixer_affixedElement = new WeakMap(), _SkyAffixer_baseElement = new WeakMa
|
|
522
532
|
}
|
523
533
|
// No suitable placement was found, so revert to preferred placement.
|
524
534
|
return __classPrivateFieldGet(this, _SkyAffixer_instances, "m", _SkyAffixer_getPreferredOffset).call(this, __classPrivateFieldGet(this, _SkyAffixer_instances, "a", _SkyAffixer_config_get).placement);
|
535
|
+
}, _SkyAffixer_getRect = function _SkyAffixer_getRect(baseElement) {
|
536
|
+
const baseDomRect = baseElement.getBoundingClientRect();
|
537
|
+
const baseRect = {
|
538
|
+
top: baseDomRect.top,
|
539
|
+
bottom: baseDomRect.bottom,
|
540
|
+
left: baseDomRect.left,
|
541
|
+
right: baseDomRect.right,
|
542
|
+
width: baseDomRect.width,
|
543
|
+
height: baseDomRect.height,
|
544
|
+
};
|
545
|
+
if (__classPrivateFieldGet(this, _SkyAffixer_instances, "a", _SkyAffixer_config_get).position === 'absolute') {
|
546
|
+
baseRect.top += window.scrollY;
|
547
|
+
baseRect.bottom = baseRect.top + baseDomRect.height;
|
548
|
+
}
|
549
|
+
return baseRect;
|
525
550
|
}, _SkyAffixer_getPreferredOffset = function _SkyAffixer_getPreferredOffset(placement) {
|
526
551
|
if (!__classPrivateFieldGet(this, _SkyAffixer_baseElement, "f")) {
|
527
552
|
return { top: 0, left: 0, bottom: 0, right: 0 };
|
528
553
|
}
|
529
|
-
const affixedRect = __classPrivateFieldGet(this,
|
530
|
-
const baseRect = __classPrivateFieldGet(this,
|
554
|
+
const affixedRect = __classPrivateFieldGet(this, _SkyAffixer_instances, "m", _SkyAffixer_getRect).call(this, __classPrivateFieldGet(this, _SkyAffixer_affixedElement, "f"));
|
555
|
+
const baseRect = __classPrivateFieldGet(this, _SkyAffixer_instances, "m", _SkyAffixer_getRect).call(this, __classPrivateFieldGet(this, _SkyAffixer_baseElement, "f"));
|
531
556
|
const horizontalAlignment = __classPrivateFieldGet(this, _SkyAffixer_instances, "a", _SkyAffixer_config_get).horizontalAlignment;
|
532
557
|
const verticalAlignment = __classPrivateFieldGet(this, _SkyAffixer_instances, "a", _SkyAffixer_config_get).verticalAlignment;
|
533
558
|
const enableAutoFit = __classPrivateFieldGet(this, _SkyAffixer_instances, "a", _SkyAffixer_config_get).enableAutoFit;
|
@@ -607,8 +632,8 @@ _SkyAffixer_affixedElement = new WeakMap(), _SkyAffixer_baseElement = new WeakMa
|
|
607
632
|
}, _SkyAffixer_adjustOffsetToOverflowParent = function _SkyAffixer_adjustOffsetToOverflowParent(offset, placement, baseElement) {
|
608
633
|
const parent = __classPrivateFieldGet(this, _SkyAffixer_instances, "m", _SkyAffixer_getAutoFitContextParent).call(this);
|
609
634
|
const parentOffset = getElementOffset(parent, __classPrivateFieldGet(this, _SkyAffixer_instances, "a", _SkyAffixer_config_get).autoFitOverflowOffset);
|
610
|
-
const affixedRect = __classPrivateFieldGet(this,
|
611
|
-
const baseRect =
|
635
|
+
const affixedRect = __classPrivateFieldGet(this, _SkyAffixer_instances, "m", _SkyAffixer_getRect).call(this, __classPrivateFieldGet(this, _SkyAffixer_affixedElement, "f"));
|
636
|
+
const baseRect = __classPrivateFieldGet(this, _SkyAffixer_instances, "m", _SkyAffixer_getRect).call(this, baseElement);
|
612
637
|
// A pixel value representing the leeway between the edge of the overflow parent and the edge
|
613
638
|
// of the base element before it disappears from view.
|
614
639
|
// If the visible portion of the base element is less than this pixel value, the auto-fit
|
@@ -734,9 +759,9 @@ class SkyAffixService {
|
|
734
759
|
}
|
735
760
|
}
|
736
761
|
_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
|
762
|
+
SkyAffixService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixService, deps: [{ token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
|
763
|
+
SkyAffixService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixService, providedIn: 'root' });
|
764
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixService, decorators: [{
|
740
765
|
type: Injectable,
|
741
766
|
args: [{
|
742
767
|
providedIn: 'root',
|
@@ -790,6 +815,7 @@ class SkyAffixDirective {
|
|
790
815
|
changes.affixHorizontalAlignment ||
|
791
816
|
changes.affixIsSticky ||
|
792
817
|
changes.affixPlacement ||
|
818
|
+
changes.affixPosition ||
|
793
819
|
changes.affixVerticalAlignment) {
|
794
820
|
__classPrivateFieldGet(this, _SkyAffixDirective_instances, "m", _SkyAffixDirective_updateAlignment).call(this);
|
795
821
|
}
|
@@ -816,13 +842,14 @@ _SkyAffixDirective_affixer = new WeakMap(), _SkyAffixDirective_affixService = ne
|
|
816
842
|
horizontalAlignment: this.affixHorizontalAlignment,
|
817
843
|
isSticky: this.affixIsSticky,
|
818
844
|
placement: this.affixPlacement,
|
845
|
+
position: this.affixPosition,
|
819
846
|
verticalAlignment: this.affixVerticalAlignment,
|
820
847
|
});
|
821
848
|
}
|
822
849
|
};
|
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
|
850
|
+
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 });
|
851
|
+
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", affixPosition: "affixPosition", affixVerticalAlignment: "affixVerticalAlignment" }, outputs: { affixOffsetChange: "affixOffsetChange", affixOverflowScroll: "affixOverflowScroll", affixPlacementChange: "affixPlacementChange" }, usesOnChanges: true, ngImport: i0 });
|
852
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixDirective, decorators: [{
|
826
853
|
type: Directive,
|
827
854
|
args: [{
|
828
855
|
selector: '[skyAffixTo]',
|
@@ -841,6 +868,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
841
868
|
type: Input
|
842
869
|
}], affixPlacement: [{
|
843
870
|
type: Input
|
871
|
+
}], affixPosition: [{
|
872
|
+
type: Input
|
844
873
|
}], affixVerticalAlignment: [{
|
845
874
|
type: Input
|
846
875
|
}], affixOffsetChange: [{
|
@@ -853,10 +882,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
853
882
|
|
854
883
|
class SkyAffixModule {
|
855
884
|
}
|
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
|
885
|
+
SkyAffixModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
886
|
+
SkyAffixModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixModule, declarations: [SkyAffixDirective], imports: [CommonModule], exports: [SkyAffixDirective] });
|
887
|
+
SkyAffixModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixModule, imports: [CommonModule] });
|
888
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixModule, decorators: [{
|
860
889
|
type: NgModule,
|
861
890
|
args: [{
|
862
891
|
imports: [CommonModule],
|
@@ -870,6 +899,12 @@ var _SkyDockItem_destroyed, _SkyDockItem_destroyedObs;
|
|
870
899
|
* Represents a single item added to the dock.
|
871
900
|
*/
|
872
901
|
class SkyDockItem {
|
902
|
+
/**
|
903
|
+
* An event that emits when the item is removed from the dock.
|
904
|
+
*/
|
905
|
+
get destroyed() {
|
906
|
+
return __classPrivateFieldGet(this, _SkyDockItem_destroyedObs, "f");
|
907
|
+
}
|
873
908
|
/**
|
874
909
|
* @param componentInstance The item's component instance.
|
875
910
|
* @param stackOrder The assigned stack order of the docked item.
|
@@ -881,12 +916,6 @@ class SkyDockItem {
|
|
881
916
|
_SkyDockItem_destroyedObs.set(this, void 0);
|
882
917
|
__classPrivateFieldSet(this, _SkyDockItem_destroyedObs, __classPrivateFieldGet(this, _SkyDockItem_destroyed, "f").asObservable(), "f");
|
883
918
|
}
|
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
919
|
/**
|
891
920
|
* Removes the item from the dock.
|
892
921
|
*/
|
@@ -924,9 +953,9 @@ class SkyMutationObserverService {
|
|
924
953
|
return new MutationObserver(callback);
|
925
954
|
}
|
926
955
|
}
|
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
|
956
|
+
SkyMutationObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMutationObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
957
|
+
SkyMutationObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMutationObserverService, providedIn: 'root' });
|
958
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMutationObserverService, decorators: [{
|
930
959
|
type: Injectable,
|
931
960
|
args: [{
|
932
961
|
providedIn: 'root',
|
@@ -1004,9 +1033,9 @@ _SkyDockDomAdapterService_currentDockHeight = new WeakMap(), _SkyDockDomAdapterS
|
|
1004
1033
|
}, _SkyDockDomAdapterService_destroyStyleElement = function _SkyDockDomAdapterService_destroyStyleElement() {
|
1005
1034
|
__classPrivateFieldGet(this, _SkyDockDomAdapterService_renderer, "f").removeChild(document.head, __classPrivateFieldGet(this, _SkyDockDomAdapterService_styleElement, "f"));
|
1006
1035
|
};
|
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
|
1036
|
+
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 });
|
1037
|
+
SkyDockDomAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockDomAdapterService });
|
1038
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockDomAdapterService, decorators: [{
|
1010
1039
|
type: Injectable
|
1011
1040
|
}], ctorParameters: function () { return [{ type: SkyMutationObserverService }, { type: i0.RendererFactory2 }]; } });
|
1012
1041
|
|
@@ -1114,11 +1143,11 @@ _SkyDockComponent_changeDetector = new WeakMap(), _SkyDockComponent_domAdapter =
|
|
1114
1143
|
}
|
1115
1144
|
return __classPrivateFieldGet(this, _SkyDockComponent_itemRefs, "f")[0].stackOrder + 1;
|
1116
1145
|
};
|
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
|
1146
|
+
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 });
|
1147
|
+
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 });
|
1148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockComponent, decorators: [{
|
1120
1149
|
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"] }]
|
1150
|
+
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
1151
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Injector }, { type: SkyDockDomAdapterService }]; }, propDecorators: { target: [{
|
1123
1152
|
type: ViewChild,
|
1124
1153
|
args: ['target', {
|
@@ -1129,10 +1158,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
1129
1158
|
|
1130
1159
|
class SkyDockModule {
|
1131
1160
|
}
|
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
|
1161
|
+
SkyDockModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1162
|
+
SkyDockModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyDockModule, declarations: [SkyDockComponent], imports: [CommonModule] });
|
1163
|
+
SkyDockModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockModule, providers: [SkyMutationObserverService], imports: [CommonModule] });
|
1164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockModule, decorators: [{
|
1136
1165
|
type: NgModule,
|
1137
1166
|
args: [{
|
1138
1167
|
imports: [CommonModule],
|
@@ -1187,9 +1216,9 @@ class SkyAppWindowRef {
|
|
1187
1216
|
return getWindow();
|
1188
1217
|
}
|
1189
1218
|
}
|
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
|
1219
|
+
SkyAppWindowRef.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppWindowRef, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1220
|
+
SkyAppWindowRef.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppWindowRef, providedIn: 'root' });
|
1221
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppWindowRef, decorators: [{
|
1193
1222
|
type: Injectable,
|
1194
1223
|
args: [{
|
1195
1224
|
providedIn: 'root',
|
@@ -1288,9 +1317,9 @@ _SkyDynamicComponentService_applicationRef = new WeakMap(), _SkyDynamicComponent
|
|
1288
1317
|
// https://malcoded.com/posts/angular-dynamic-components
|
1289
1318
|
return componentRef.hostView.rootNodes[0];
|
1290
1319
|
};
|
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
|
1320
|
+
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 });
|
1321
|
+
SkyDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDynamicComponentService, providedIn: 'any' });
|
1322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDynamicComponentService, decorators: [{
|
1294
1323
|
type: Injectable,
|
1295
1324
|
args: [{
|
1296
1325
|
// Must be 'any' so that the component is created in the context of its module's injector.
|
@@ -1305,18 +1334,18 @@ var _SkyDockService_instances, _SkyDockService_dynamicComponentSvc, _SkyDockServ
|
|
1305
1334
|
* This service docks components to specific areas on the page.
|
1306
1335
|
*/
|
1307
1336
|
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
1337
|
/**
|
1315
1338
|
* Returns all docked items.
|
1316
1339
|
*/
|
1317
1340
|
get items() {
|
1318
1341
|
return SkyDockService._items;
|
1319
1342
|
}
|
1343
|
+
constructor(dynamicComponentSvc) {
|
1344
|
+
_SkyDockService_instances.add(this);
|
1345
|
+
_SkyDockService_dynamicComponentSvc.set(this, void 0);
|
1346
|
+
_SkyDockService_options.set(this, void 0);
|
1347
|
+
__classPrivateFieldSet(this, _SkyDockService_dynamicComponentSvc, dynamicComponentSvc, "f");
|
1348
|
+
}
|
1320
1349
|
/**
|
1321
1350
|
* Docks a component to the bottom of the page.
|
1322
1351
|
* @param component The component to dock.
|
@@ -1377,9 +1406,9 @@ _SkyDockService_dynamicComponentSvc = new WeakMap(), _SkyDockService_options = n
|
|
1377
1406
|
SkyDockService.dockRef = undefined;
|
1378
1407
|
};
|
1379
1408
|
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
|
1409
|
+
SkyDockService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockService, deps: [{ token: SkyDynamicComponentService }], target: i0.ɵɵFactoryTarget.Injectable });
|
1410
|
+
SkyDockService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockService, providedIn: 'any' });
|
1411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockService, decorators: [{
|
1383
1412
|
type: Injectable,
|
1384
1413
|
args: [{
|
1385
1414
|
// Must be 'any' so that the dock component is created in the context of its module's injector.
|
@@ -1396,10 +1425,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
1396
1425
|
*/
|
1397
1426
|
class SkyDynamicComponentModule {
|
1398
1427
|
}
|
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
|
1428
|
+
SkyDynamicComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDynamicComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1429
|
+
SkyDynamicComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyDynamicComponentModule });
|
1430
|
+
SkyDynamicComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDynamicComponentModule });
|
1431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDynamicComponentModule, decorators: [{
|
1403
1432
|
type: NgModule,
|
1404
1433
|
args: [{}]
|
1405
1434
|
}] });
|
@@ -1411,9 +1440,9 @@ class SkyAppFormat {
|
|
1411
1440
|
});
|
1412
1441
|
}
|
1413
1442
|
}
|
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
|
1443
|
+
SkyAppFormat.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppFormat, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1444
|
+
SkyAppFormat.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppFormat, providedIn: 'root' });
|
1445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppFormat, decorators: [{
|
1417
1446
|
type: Injectable,
|
1418
1447
|
args: [{
|
1419
1448
|
providedIn: 'root',
|
@@ -1433,9 +1462,9 @@ class SkyIdService {
|
|
1433
1462
|
return `sky-id-gen__${new Date().getTime()}__${idIndex}`;
|
1434
1463
|
}
|
1435
1464
|
}
|
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
|
1465
|
+
SkyIdService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyIdService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1466
|
+
SkyIdService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyIdService, providedIn: 'root' });
|
1467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyIdService, decorators: [{
|
1439
1468
|
type: Injectable,
|
1440
1469
|
args: [{
|
1441
1470
|
providedIn: 'root',
|
@@ -1449,6 +1478,9 @@ var _SkyIdDirective__id;
|
|
1449
1478
|
* variable, then use its `id` property.
|
1450
1479
|
*/
|
1451
1480
|
class SkyIdDirective {
|
1481
|
+
get id() {
|
1482
|
+
return __classPrivateFieldGet(this, _SkyIdDirective__id, "f");
|
1483
|
+
}
|
1452
1484
|
constructor(elRef, renderer, idSvc) {
|
1453
1485
|
_SkyIdDirective__id.set(this, void 0);
|
1454
1486
|
// Generate and apply the ID before the template is rendered
|
@@ -1457,14 +1489,11 @@ class SkyIdDirective {
|
|
1457
1489
|
renderer.setAttribute(elRef.nativeElement, 'id', id);
|
1458
1490
|
__classPrivateFieldSet(this, _SkyIdDirective__id, id, "f");
|
1459
1491
|
}
|
1460
|
-
get id() {
|
1461
|
-
return __classPrivateFieldGet(this, _SkyIdDirective__id, "f");
|
1462
|
-
}
|
1463
1492
|
}
|
1464
1493
|
_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
|
1494
|
+
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 });
|
1495
|
+
SkyIdDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", type: SkyIdDirective, selector: "[skyId]", exportAs: ["skyId"], ngImport: i0 });
|
1496
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyIdDirective, decorators: [{
|
1468
1497
|
type: Directive,
|
1469
1498
|
args: [{
|
1470
1499
|
selector: '[skyId]',
|
@@ -1474,10 +1503,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
1474
1503
|
|
1475
1504
|
class SkyIdModule {
|
1476
1505
|
}
|
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
|
1506
|
+
SkyIdModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyIdModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1507
|
+
SkyIdModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyIdModule, declarations: [SkyIdDirective], exports: [SkyIdDirective] });
|
1508
|
+
SkyIdModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyIdModule });
|
1509
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyIdModule, decorators: [{
|
1481
1510
|
type: NgModule,
|
1482
1511
|
args: [{
|
1483
1512
|
declarations: [SkyIdDirective],
|
@@ -1491,10 +1520,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
1491
1520
|
*/
|
1492
1521
|
class SkyLogModule {
|
1493
1522
|
}
|
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
|
1523
|
+
SkyLogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyLogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1524
|
+
SkyLogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyLogModule });
|
1525
|
+
SkyLogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyLogModule });
|
1526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyLogModule, decorators: [{
|
1498
1527
|
type: NgModule,
|
1499
1528
|
args: [{}]
|
1500
1529
|
}] });
|
@@ -1504,9 +1533,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
1504
1533
|
*/
|
1505
1534
|
const SKY_LOG_LEVEL = new InjectionToken('SkyLogLevel');
|
1506
1535
|
|
1507
|
-
var _SkyLogService_instances, _SkyLogService_applicationLogLevel, _SkyLogService_formatter,
|
1536
|
+
var _SkyLogService_instances, _SkyLogService_applicationLogLevel, _SkyLogService_formatter, _SkyLogService_convertStringToCode, _SkyLogService_canLog, _SkyLogService_logBasedOnLevel, _SkyLogService_logWithParams, _SkyLogService_buildMessageKey;
|
1537
|
+
const previousWarnings = new Set();
|
1508
1538
|
/**
|
1509
|
-
* Logs information to the console based on the application's log level as
|
1539
|
+
* Logs information to the console based on the application's log level as
|
1540
|
+
* provided by the `SKY_LOG_LEVEL` injection token. If no token is provided,
|
1541
|
+
* only `error` logs will be shown.
|
1510
1542
|
* @internal
|
1511
1543
|
*/
|
1512
1544
|
class SkyLogService {
|
@@ -1514,12 +1546,20 @@ class SkyLogService {
|
|
1514
1546
|
_SkyLogService_instances.add(this);
|
1515
1547
|
_SkyLogService_applicationLogLevel.set(this, void 0);
|
1516
1548
|
_SkyLogService_formatter.set(this, void 0);
|
1517
|
-
_SkyLogService_previousWarnings.set(this, new Set());
|
1518
1549
|
__classPrivateFieldSet(this, _SkyLogService_formatter, formatter, "f");
|
1519
1550
|
__classPrivateFieldSet(this, _SkyLogService_applicationLogLevel, applicationLogLevel !== null && applicationLogLevel !== void 0 ? applicationLogLevel : 3 /* SkyLogLevel.Error */, "f");
|
1520
1551
|
}
|
1521
1552
|
/**
|
1522
|
-
*
|
1553
|
+
* Clears previously-logged messages. Primarily used for unit
|
1554
|
+
* testing this service.
|
1555
|
+
*/
|
1556
|
+
static clearPreviousLogs() {
|
1557
|
+
previousWarnings.clear();
|
1558
|
+
}
|
1559
|
+
/**
|
1560
|
+
* Logs a deprecation warning for a class, property, function, etc. This will
|
1561
|
+
* be logged as a console warning unless a different log level is given in the
|
1562
|
+
* `args` parameter.
|
1523
1563
|
* @param name The name of the deprecated class, property, function, etc.
|
1524
1564
|
* @param args Information about the deprecation and replacement recommendations.
|
1525
1565
|
* @returns
|
@@ -1584,14 +1624,14 @@ class SkyLogService {
|
|
1584
1624
|
const messageKey = __classPrivateFieldGet(this, _SkyLogService_instances, "m", _SkyLogService_buildMessageKey).call(this, message, params);
|
1585
1625
|
// Only log each warning once per application instance to avoid drowning out other
|
1586
1626
|
// important messages in the console.
|
1587
|
-
if (!
|
1627
|
+
if (!previousWarnings.has(message)) {
|
1588
1628
|
__classPrivateFieldGet(this, _SkyLogService_instances, "m", _SkyLogService_logWithParams).call(this, 'warn', message, params);
|
1589
|
-
|
1629
|
+
previousWarnings.add(messageKey);
|
1590
1630
|
}
|
1591
1631
|
}
|
1592
1632
|
}
|
1593
1633
|
}
|
1594
|
-
_SkyLogService_applicationLogLevel = new WeakMap(), _SkyLogService_formatter = new WeakMap(),
|
1634
|
+
_SkyLogService_applicationLogLevel = new WeakMap(), _SkyLogService_formatter = new WeakMap(), _SkyLogService_instances = new WeakSet(), _SkyLogService_convertStringToCode = function _SkyLogService_convertStringToCode(typeString) {
|
1595
1635
|
if (typeString.charAt(0) !== '`' && typeString.charAt(-1) !== '`') {
|
1596
1636
|
typeString = '`' + typeString + '`';
|
1597
1637
|
}
|
@@ -1624,9 +1664,9 @@ _SkyLogService_applicationLogLevel = new WeakMap(), _SkyLogService_formatter = n
|
|
1624
1664
|
}
|
1625
1665
|
return key;
|
1626
1666
|
};
|
1627
|
-
SkyLogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1628
|
-
SkyLogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
1629
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1667
|
+
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 });
|
1668
|
+
SkyLogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyLogService, providedIn: 'root' });
|
1669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyLogService, decorators: [{
|
1630
1670
|
type: Injectable,
|
1631
1671
|
args: [{
|
1632
1672
|
providedIn: 'root',
|
@@ -1646,10 +1686,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
1646
1686
|
*/
|
1647
1687
|
class SkyMediaQueryModule {
|
1648
1688
|
}
|
1649
|
-
SkyMediaQueryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1650
|
-
SkyMediaQueryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
1651
|
-
SkyMediaQueryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
1652
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1689
|
+
SkyMediaQueryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMediaQueryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1690
|
+
SkyMediaQueryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyMediaQueryModule });
|
1691
|
+
SkyMediaQueryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMediaQueryModule });
|
1692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMediaQueryModule, decorators: [{
|
1653
1693
|
type: NgModule,
|
1654
1694
|
args: [{}]
|
1655
1695
|
}] });
|
@@ -1657,6 +1697,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
1657
1697
|
var _SkyMediaQueryService_instances, _SkyMediaQueryService_currentSubject, _SkyMediaQueryService_currentBreakpoint, _SkyMediaQueryService_breakpoints, _SkyMediaQueryService_mediaQueries, _SkyMediaQueryService_zone, _SkyMediaQueryService_addListeners, _SkyMediaQueryService_removeListeners, _SkyMediaQueryService_notifyBreakpointChange;
|
1658
1698
|
const DEFAULT_BREAKPOINT$1 = SkyMediaBreakpoints.md;
|
1659
1699
|
class SkyMediaQueryService {
|
1700
|
+
/**
|
1701
|
+
* Returns the current breakpoint.
|
1702
|
+
*/
|
1703
|
+
get current() {
|
1704
|
+
return __classPrivateFieldGet(this, _SkyMediaQueryService_currentBreakpoint, "f");
|
1705
|
+
}
|
1660
1706
|
constructor(zone) {
|
1661
1707
|
_SkyMediaQueryService_instances.add(this);
|
1662
1708
|
_SkyMediaQueryService_currentSubject.set(this, new BehaviorSubject(DEFAULT_BREAKPOINT$1));
|
@@ -1684,12 +1730,6 @@ class SkyMediaQueryService {
|
|
1684
1730
|
__classPrivateFieldSet(this, _SkyMediaQueryService_zone, zone, "f");
|
1685
1731
|
__classPrivateFieldGet(this, _SkyMediaQueryService_instances, "m", _SkyMediaQueryService_addListeners).call(this);
|
1686
1732
|
}
|
1687
|
-
/**
|
1688
|
-
* Returns the current breakpoint.
|
1689
|
-
*/
|
1690
|
-
get current() {
|
1691
|
-
return __classPrivateFieldGet(this, _SkyMediaQueryService_currentBreakpoint, "f");
|
1692
|
-
}
|
1693
1733
|
ngOnDestroy() {
|
1694
1734
|
__classPrivateFieldGet(this, _SkyMediaQueryService_instances, "m", _SkyMediaQueryService_removeListeners).call(this);
|
1695
1735
|
__classPrivateFieldGet(this, _SkyMediaQueryService_currentSubject, "f").complete();
|
@@ -1764,9 +1804,9 @@ SkyMediaQueryService.md = '(min-width: 992px) and (max-width: 1199px)';
|
|
1764
1804
|
* @default "(min-width: 1200px)"
|
1765
1805
|
*/
|
1766
1806
|
SkyMediaQueryService.lg = '(min-width: 1200px)';
|
1767
|
-
SkyMediaQueryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1768
|
-
SkyMediaQueryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
1769
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1807
|
+
SkyMediaQueryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMediaQueryService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
1808
|
+
SkyMediaQueryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMediaQueryService, providedIn: 'root' });
|
1809
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMediaQueryService, decorators: [{
|
1770
1810
|
type: Injectable,
|
1771
1811
|
args: [{
|
1772
1812
|
providedIn: 'root',
|
@@ -1797,16 +1837,16 @@ class SkyCoreResourcesProvider {
|
|
1797
1837
|
*/
|
1798
1838
|
class SkyCoreResourcesModule {
|
1799
1839
|
}
|
1800
|
-
SkyCoreResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1801
|
-
SkyCoreResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
1802
|
-
SkyCoreResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
1840
|
+
SkyCoreResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyCoreResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1841
|
+
SkyCoreResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyCoreResourcesModule, exports: [SkyI18nModule] });
|
1842
|
+
SkyCoreResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyCoreResourcesModule, providers: [
|
1803
1843
|
{
|
1804
1844
|
provide: SKY_LIB_RESOURCES_PROVIDERS,
|
1805
1845
|
useClass: SkyCoreResourcesProvider,
|
1806
1846
|
multi: true,
|
1807
1847
|
},
|
1808
1848
|
], imports: [SkyI18nModule] });
|
1809
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1849
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyCoreResourcesModule, decorators: [{
|
1810
1850
|
type: NgModule,
|
1811
1851
|
args: [{
|
1812
1852
|
exports: [SkyI18nModule],
|
@@ -1823,6 +1863,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
1823
1863
|
/**
|
1824
1864
|
* Provides arguments for the number to format.
|
1825
1865
|
* @deprecated Use the `SkyNumericOptions` interface instead.
|
1866
|
+
* @internal
|
1826
1867
|
*/
|
1827
1868
|
class NumericOptions {
|
1828
1869
|
constructor() {
|
@@ -1832,6 +1873,14 @@ class NumericOptions {
|
|
1832
1873
|
this.iso = 'USD';
|
1833
1874
|
this.truncate = true;
|
1834
1875
|
this.truncateAfter = 1000;
|
1876
|
+
const logService = new SkyLogService(new SkyAppFormat());
|
1877
|
+
logService
|
1878
|
+
.deprecated('NumericOptions', {
|
1879
|
+
deprecationMajorVersion: 7,
|
1880
|
+
moreInfoUrl: 'https://developer.blackbaud.com/skyux/components/numeric',
|
1881
|
+
replacementRecommendation: 'Use the `SkyNumericOptions` interface instead.',
|
1882
|
+
})
|
1883
|
+
.then();
|
1835
1884
|
}
|
1836
1885
|
}
|
1837
1886
|
|
@@ -1935,9 +1984,10 @@ class SkyNumericService {
|
|
1935
1984
|
if (isNaN(value) || value === null) {
|
1936
1985
|
return '';
|
1937
1986
|
}
|
1987
|
+
const numericOptions = Object.assign({ digits: 0, format: 'number', currencySign: 'standard', iso: 'USD', truncateAfter: 1000 }, options);
|
1938
1988
|
const decimalPlaceRegExp = /\.0+$|(\.[0-9]*[1-9])0+$/;
|
1939
|
-
const locale =
|
1940
|
-
const digits =
|
1989
|
+
const locale = numericOptions.locale || this.currentLocale;
|
1990
|
+
const digits = numericOptions.digits || 0;
|
1941
1991
|
// Get the symbol for the number after rounding, since rounding could push the number
|
1942
1992
|
// into a different symbol range.
|
1943
1993
|
let roundedNumber = __classPrivateFieldGet(this, _SkyNumericService_instances, "m", _SkyNumericService_roundNumber).call(this, value, digits);
|
@@ -1945,9 +1995,9 @@ class SkyNumericService {
|
|
1945
1995
|
let suffix = '';
|
1946
1996
|
for (let i = 0; i < __classPrivateFieldGet(this, _SkyNumericService_symbolIndex, "f").length; i++) {
|
1947
1997
|
let symbol = __classPrivateFieldGet(this, _SkyNumericService_symbolIndex, "f")[i];
|
1948
|
-
if (
|
1949
|
-
|
1950
|
-
roundedNumberAbs >=
|
1998
|
+
if (numericOptions.truncate &&
|
1999
|
+
numericOptions.truncateAfter !== undefined &&
|
2000
|
+
roundedNumberAbs >= numericOptions.truncateAfter &&
|
1951
2001
|
roundedNumberAbs >= symbol.value) {
|
1952
2002
|
roundedNumber = __classPrivateFieldGet(this, _SkyNumericService_instances, "m", _SkyNumericService_roundNumber).call(this, value / symbol.value, digits);
|
1953
2003
|
if (Math.abs(roundedNumber) === 1000 && i > 0) {
|
@@ -1964,7 +2014,7 @@ class SkyNumericService {
|
|
1964
2014
|
let digitsFormatted;
|
1965
2015
|
let isDecimal = false;
|
1966
2016
|
// Checks the string entered for format. Using toLowerCase to ignore case.
|
1967
|
-
switch ((_a =
|
2017
|
+
switch ((_a = numericOptions.format) === null || _a === void 0 ? void 0 : _a.toLowerCase()) {
|
1968
2018
|
// In a case where a decimal value was not shortened and
|
1969
2019
|
// the digit input is 2 or higher, it forces 2 digits.
|
1970
2020
|
// For example, this prevents a value like $15.50 from displaying as $15.5.
|
@@ -1972,8 +2022,8 @@ class SkyNumericService {
|
|
1972
2022
|
// three decimal digits.
|
1973
2023
|
case 'currency':
|
1974
2024
|
isDecimal = value % 1 !== 0;
|
1975
|
-
if (
|
1976
|
-
digitsFormatted = `1.${
|
2025
|
+
if (numericOptions.minDigits) {
|
2026
|
+
digitsFormatted = `1.${numericOptions.minDigits}-${digits}`;
|
1977
2027
|
}
|
1978
2028
|
else if (isDecimal && digits >= 2) {
|
1979
2029
|
digitsFormatted = `1.2-${digits}`;
|
@@ -1981,12 +2031,12 @@ class SkyNumericService {
|
|
1981
2031
|
else {
|
1982
2032
|
digitsFormatted = `1.0-${digits}`;
|
1983
2033
|
}
|
1984
|
-
output = SkyNumberFormatUtility.formatNumber(locale, parseFloat(output), SkyIntlNumberFormatStyle.Currency, digitsFormatted,
|
2034
|
+
output = SkyNumberFormatUtility.formatNumber(locale, parseFloat(output), SkyIntlNumberFormatStyle.Currency, digitsFormatted, numericOptions.iso,
|
1985
2035
|
// Angular 5+ needs a string for this parameter, but Angular 4 needs a boolean.
|
1986
2036
|
// To support both versions we can supply 'symbol' which will evaluate truthy for Angular 4
|
1987
2037
|
// and the appropriate string value for Angular 5+.
|
1988
2038
|
// See: https://angular.io/api/common/CurrencyPipe#parameters
|
1989
|
-
'symbol',
|
2039
|
+
'symbol', numericOptions.currencySign);
|
1990
2040
|
// ^^^^^^ Result can't be null since the sanitized input is always a number.
|
1991
2041
|
break;
|
1992
2042
|
// The following is a catch-all to ensure that if
|
@@ -1995,10 +2045,10 @@ class SkyNumericService {
|
|
1995
2045
|
default:
|
1996
2046
|
// Ensures localization of the number to ensure comma and
|
1997
2047
|
// decimal separator
|
1998
|
-
if (
|
1999
|
-
digitsFormatted = `1.${
|
2048
|
+
if (numericOptions.minDigits) {
|
2049
|
+
digitsFormatted = `1.${numericOptions.minDigits}-${digits}`;
|
2000
2050
|
}
|
2001
|
-
else if (
|
2051
|
+
else if (numericOptions.truncate) {
|
2002
2052
|
digitsFormatted = `1.0-${digits}`;
|
2003
2053
|
}
|
2004
2054
|
else {
|
@@ -2008,7 +2058,7 @@ class SkyNumericService {
|
|
2008
2058
|
// ^^^^^^ Result can't be null since the sanitized input is always a number.
|
2009
2059
|
break;
|
2010
2060
|
}
|
2011
|
-
if (
|
2061
|
+
if (numericOptions.truncate) {
|
2012
2062
|
output = __classPrivateFieldGet(this, _SkyNumericService_instances, "m", _SkyNumericService_replaceShortenSymbol).call(this, output);
|
2013
2063
|
}
|
2014
2064
|
return output;
|
@@ -2059,9 +2109,9 @@ _SkyNumericService_resourcesSvc = new WeakMap(), _SkyNumericService_symbolIndex
|
|
2059
2109
|
// TODO: Need to implement the async `getString` method in a breaking change.
|
2060
2110
|
return __classPrivateFieldGet(this, _SkyNumericService_resourcesSvc, "f").getStringForLocale({ locale: 'en_US' }, key);
|
2061
2111
|
};
|
2062
|
-
SkyNumericService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2063
|
-
SkyNumericService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
2064
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2112
|
+
SkyNumericService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericService, deps: [{ token: i1.SkyLibResourcesService }], target: i0.ɵɵFactoryTarget.Injectable });
|
2113
|
+
SkyNumericService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericService, providedIn: 'any' });
|
2114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericService, decorators: [{
|
2065
2115
|
type: Injectable,
|
2066
2116
|
args: [{
|
2067
2117
|
providedIn: 'any',
|
@@ -2134,9 +2184,9 @@ class SkyNumericPipe {
|
|
2134
2184
|
}
|
2135
2185
|
}
|
2136
2186
|
_SkyNumericPipe_cacheKey = new WeakMap(), _SkyNumericPipe_changeDetector = new WeakMap(), _SkyNumericPipe_formattedValue = new WeakMap(), _SkyNumericPipe_ngUnsubscribe = new WeakMap(), _SkyNumericPipe_numericSvc = new WeakMap(), _SkyNumericPipe_providerLocale = new WeakMap();
|
2137
|
-
SkyNumericPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2138
|
-
SkyNumericPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1
|
2139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2187
|
+
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 });
|
2188
|
+
SkyNumericPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericPipe, name: "skyNumeric", pure: false });
|
2189
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericPipe, decorators: [{
|
2140
2190
|
type: Pipe,
|
2141
2191
|
args: [{
|
2142
2192
|
name: 'skyNumeric',
|
@@ -2146,10 +2196,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
2146
2196
|
|
2147
2197
|
class SkyNumericModule {
|
2148
2198
|
}
|
2149
|
-
SkyNumericModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2150
|
-
SkyNumericModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
2151
|
-
SkyNumericModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
2152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2199
|
+
SkyNumericModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
2200
|
+
SkyNumericModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericModule, declarations: [SkyNumericPipe], imports: [SkyI18nModule, SkyCoreResourcesModule], exports: [SkyNumericPipe] });
|
2201
|
+
SkyNumericModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericModule, providers: [SkyNumericPipe], imports: [SkyI18nModule, SkyCoreResourcesModule] });
|
2202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericModule, decorators: [{
|
2153
2203
|
type: NgModule,
|
2154
2204
|
args: [{
|
2155
2205
|
declarations: [SkyNumericPipe],
|
@@ -2165,6 +2215,18 @@ var _SkyOverlayInstance_backdropClick, _SkyOverlayInstance_backdropClickObs, _Sk
|
|
2165
2215
|
* and access any public members on the appended content component instance.
|
2166
2216
|
*/
|
2167
2217
|
class SkyOverlayInstance {
|
2218
|
+
/**
|
2219
|
+
* Emits when the overlay is clicked (but not its content).
|
2220
|
+
*/
|
2221
|
+
get backdropClick() {
|
2222
|
+
return __classPrivateFieldGet(this, _SkyOverlayInstance_backdropClickObs, "f");
|
2223
|
+
}
|
2224
|
+
/**
|
2225
|
+
* Emits after the overlay is closed.
|
2226
|
+
*/
|
2227
|
+
get closed() {
|
2228
|
+
return __classPrivateFieldGet(this, _SkyOverlayInstance_closedObs, "f");
|
2229
|
+
}
|
2168
2230
|
constructor(
|
2169
2231
|
/**
|
2170
2232
|
* The configuration for the overlay.
|
@@ -2190,18 +2252,6 @@ class SkyOverlayInstance {
|
|
2190
2252
|
__classPrivateFieldSet(this, _SkyOverlayInstance_backdropClickObs, __classPrivateFieldGet(this, _SkyOverlayInstance_backdropClick, "f").asObservable(), "f");
|
2191
2253
|
__classPrivateFieldSet(this, _SkyOverlayInstance_closedObs, __classPrivateFieldGet(this, _SkyOverlayInstance_closed, "f").asObservable(), "f");
|
2192
2254
|
}
|
2193
|
-
/**
|
2194
|
-
* Emits when the overlay is clicked (but not its content).
|
2195
|
-
*/
|
2196
|
-
get backdropClick() {
|
2197
|
-
return __classPrivateFieldGet(this, _SkyOverlayInstance_backdropClickObs, "f");
|
2198
|
-
}
|
2199
|
-
/**
|
2200
|
-
* Emits after the overlay is closed.
|
2201
|
-
*/
|
2202
|
-
get closed() {
|
2203
|
-
return __classPrivateFieldGet(this, _SkyOverlayInstance_closedObs, "f");
|
2204
|
-
}
|
2205
2255
|
/**
|
2206
2256
|
* Creates and attaches a component to the overlay.
|
2207
2257
|
* @param component The component to attach.
|
@@ -2238,6 +2288,7 @@ class SkyOverlayContext {
|
|
2238
2288
|
}
|
2239
2289
|
|
2240
2290
|
var _SkyOverlayComponent_instances, _SkyOverlayComponent_backdropClick, _SkyOverlayComponent_backdropClickObs, _SkyOverlayComponent_changeDetector, _SkyOverlayComponent_closed, _SkyOverlayComponent_closedObs, _SkyOverlayComponent_context, _SkyOverlayComponent_coreAdapter, _SkyOverlayComponent_injector, _SkyOverlayComponent_ngUnsubscribe, _SkyOverlayComponent_router, _SkyOverlayComponent_routerSubscription, _SkyOverlayComponent_applyConfig, _SkyOverlayComponent_addBackdropClickListener, _SkyOverlayComponent_addRouteListener, _SkyOverlayComponent_removeRouteListener;
|
2291
|
+
const POSITION_DEFAULT = 'fixed';
|
2241
2292
|
/**
|
2242
2293
|
* Omnibar is 1000.
|
2243
2294
|
* See: https://github.com/blackbaud/auth-client/blob/master/src/omnibar/omnibar.ts#L139
|
@@ -2256,6 +2307,12 @@ let uniqueZIndex = 5000;
|
|
2256
2307
|
* @internal
|
2257
2308
|
*/
|
2258
2309
|
class SkyOverlayComponent {
|
2310
|
+
get backdropClick() {
|
2311
|
+
return __classPrivateFieldGet(this, _SkyOverlayComponent_backdropClickObs, "f");
|
2312
|
+
}
|
2313
|
+
get closed() {
|
2314
|
+
return __classPrivateFieldGet(this, _SkyOverlayComponent_closedObs, "f");
|
2315
|
+
}
|
2259
2316
|
constructor(changeDetector, injector, coreAdapter, context, idSvc, router) {
|
2260
2317
|
_SkyOverlayComponent_instances.add(this);
|
2261
2318
|
this.wrapperClass = '';
|
@@ -2263,6 +2320,7 @@ class SkyOverlayComponent {
|
|
2263
2320
|
this.showBackdrop = false;
|
2264
2321
|
this.zIndex = `${++uniqueZIndex}`;
|
2265
2322
|
this.clipPath$ = new ReplaySubject(1);
|
2323
|
+
this.position = POSITION_DEFAULT;
|
2266
2324
|
_SkyOverlayComponent_backdropClick.set(this, void 0);
|
2267
2325
|
_SkyOverlayComponent_backdropClickObs.set(this, void 0);
|
2268
2326
|
_SkyOverlayComponent_changeDetector.set(this, void 0);
|
@@ -2285,12 +2343,6 @@ class SkyOverlayComponent {
|
|
2285
2343
|
__classPrivateFieldSet(this, _SkyOverlayComponent_backdropClickObs, __classPrivateFieldGet(this, _SkyOverlayComponent_backdropClick, "f").asObservable(), "f");
|
2286
2344
|
__classPrivateFieldSet(this, _SkyOverlayComponent_closedObs, __classPrivateFieldGet(this, _SkyOverlayComponent_closed, "f").asObservable(), "f");
|
2287
2345
|
}
|
2288
|
-
get backdropClick() {
|
2289
|
-
return __classPrivateFieldGet(this, _SkyOverlayComponent_backdropClickObs, "f");
|
2290
|
-
}
|
2291
|
-
get closed() {
|
2292
|
-
return __classPrivateFieldGet(this, _SkyOverlayComponent_closedObs, "f");
|
2293
|
-
}
|
2294
2346
|
ngOnInit() {
|
2295
2347
|
__classPrivateFieldGet(this, _SkyOverlayComponent_instances, "m", _SkyOverlayComponent_applyConfig).call(this, __classPrivateFieldGet(this, _SkyOverlayComponent_context, "f").config);
|
2296
2348
|
setTimeout(() => {
|
@@ -2351,6 +2403,7 @@ _SkyOverlayComponent_backdropClick = new WeakMap(), _SkyOverlayComponent_backdro
|
|
2351
2403
|
this.wrapperClass = config.wrapperClass || '';
|
2352
2404
|
this.showBackdrop = !!config.showBackdrop;
|
2353
2405
|
this.enablePointerEvents = !!config.enablePointerEvents;
|
2406
|
+
this.position = config.position || POSITION_DEFAULT;
|
2354
2407
|
__classPrivateFieldGet(this, _SkyOverlayComponent_changeDetector, "f").markForCheck();
|
2355
2408
|
}, _SkyOverlayComponent_addBackdropClickListener = function _SkyOverlayComponent_addBackdropClickListener() {
|
2356
2409
|
fromEvent(window.document, 'click')
|
@@ -2384,11 +2437,11 @@ _SkyOverlayComponent_backdropClick = new WeakMap(), _SkyOverlayComponent_backdro
|
|
2384
2437
|
__classPrivateFieldSet(this, _SkyOverlayComponent_routerSubscription, undefined, "f");
|
2385
2438
|
}
|
2386
2439
|
};
|
2387
|
-
SkyOverlayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2388
|
-
SkyOverlayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1
|
2389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2440
|
+
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 });
|
2441
|
+
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]=\"'sky-overlay-position-' + position + ' ' + wrapperClass\"\n [style.z-index]=\"zIndex\"\n [style.clip-path]=\"clipPath$ | async\"\n [ngClass]=\"{\n 'enable-pointer-events-pass-through': enablePointerEvents,\n 'sky-overlay': true\n }\"\n #overlayRef\n>\n <div class=\"sky-overlay-content\" #overlayContentRef>\n <ng-template #target> </ng-template>\n </div>\n <div *ngIf=\"showBackdrop\" class=\"sky-overlay-backdrop\"></div>\n</div>\n", styles: [".sky-overlay{inset:0;width:100%;height:100%;display:flex;pointer-events:auto}.sky-overlay-position-absolute{position:absolute}.sky-overlay-position-fixed{position:fixed}.sky-overlay-content{position:relative;z-index:1;display:inline-flex;align-self:start;pointer-events:auto}.sky-overlay-backdrop{background:rgba(0,0,0,.5);inset:0;width:100%;height:100%;position:absolute}.enable-pointer-events-pass-through,.enable-pointer-events-pass-through .sky-overlay-backdrop{pointer-events:none}.enable-pointer-events-pass-through .sky-overlay-content{pointer-events:auto}\n"], dependencies: [{ kind: "directive", type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
2442
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayComponent, decorators: [{
|
2390
2443
|
type: Component,
|
2391
|
-
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{
|
2444
|
+
args: [{ selector: 'sky-overlay', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n [class]=\"'sky-overlay-position-' + position + ' ' + wrapperClass\"\n [style.z-index]=\"zIndex\"\n [style.clip-path]=\"clipPath$ | async\"\n [ngClass]=\"{\n 'enable-pointer-events-pass-through': enablePointerEvents,\n 'sky-overlay': true\n }\"\n #overlayRef\n>\n <div class=\"sky-overlay-content\" #overlayContentRef>\n <ng-template #target> </ng-template>\n </div>\n <div *ngIf=\"showBackdrop\" class=\"sky-overlay-backdrop\"></div>\n</div>\n", styles: [".sky-overlay{inset:0;width:100%;height:100%;display:flex;pointer-events:auto}.sky-overlay-position-absolute{position:absolute}.sky-overlay-position-fixed{position:fixed}.sky-overlay-content{position:relative;z-index:1;display:inline-flex;align-self:start;pointer-events:auto}.sky-overlay-backdrop{background:rgba(0,0,0,.5);inset:0;width:100%;height:100%;position:absolute}.enable-pointer-events-pass-through,.enable-pointer-events-pass-through .sky-overlay-backdrop{pointer-events:none}.enable-pointer-events-pass-through .sky-overlay-content{pointer-events:auto}\n"] }]
|
2392
2445
|
}], ctorParameters: function () {
|
2393
2446
|
return [{ type: i0.ChangeDetectorRef }, { type: i0.Injector }, { type: SkyCoreAdapterService }, { type: SkyOverlayContext }, { type: SkyIdService }, { type: i4.Router, decorators: [{
|
2394
2447
|
type: Optional
|
@@ -2418,10 +2471,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
2418
2471
|
|
2419
2472
|
class SkyOverlayModule {
|
2420
2473
|
}
|
2421
|
-
SkyOverlayModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2422
|
-
SkyOverlayModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
2423
|
-
SkyOverlayModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
2424
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2474
|
+
SkyOverlayModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
2475
|
+
SkyOverlayModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayModule, declarations: [SkyOverlayComponent], imports: [CommonModule] });
|
2476
|
+
SkyOverlayModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayModule, imports: [CommonModule] });
|
2477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayModule, decorators: [{
|
2425
2478
|
type: NgModule,
|
2426
2479
|
args: [{
|
2427
2480
|
imports: [CommonModule],
|
@@ -2464,9 +2517,9 @@ _SkyOverlayAdapterService_renderer = new WeakMap(), _SkyOverlayAdapterService_st
|
|
2464
2517
|
__classPrivateFieldGet(this, _SkyOverlayAdapterService_renderer, "f").removeChild(document.head, __classPrivateFieldGet(this, _SkyOverlayAdapterService_styleElement, "f"));
|
2465
2518
|
}
|
2466
2519
|
};
|
2467
|
-
SkyOverlayAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2468
|
-
SkyOverlayAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
2469
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2520
|
+
SkyOverlayAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayAdapterService, deps: [{ token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
|
2521
|
+
SkyOverlayAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayAdapterService, providedIn: 'root' });
|
2522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayAdapterService, decorators: [{
|
2470
2523
|
type: Injectable,
|
2471
2524
|
args: [{
|
2472
2525
|
providedIn: 'root',
|
@@ -2582,9 +2635,9 @@ _SkyOverlayService_adapter = new WeakMap(), _SkyOverlayService_applicationRef =
|
|
2582
2635
|
}
|
2583
2636
|
};
|
2584
2637
|
SkyOverlayService.overlays = [];
|
2585
|
-
SkyOverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2586
|
-
SkyOverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
2587
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2638
|
+
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 });
|
2639
|
+
SkyOverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayService, providedIn: 'root' });
|
2640
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayService, decorators: [{
|
2588
2641
|
type: Injectable,
|
2589
2642
|
args: [{
|
2590
2643
|
providedIn: 'root',
|
@@ -2593,6 +2646,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
2593
2646
|
|
2594
2647
|
var _SkyPercentPipe_instances, _SkyPercentPipe_defaultFormat, _SkyPercentPipe_defaultLocale, _SkyPercentPipe_format, _SkyPercentPipe_formattedValue, _SkyPercentPipe_locale, _SkyPercentPipe_ngUnsubscribe, _SkyPercentPipe_value, _SkyPercentPipe_updateFormattedValue;
|
2595
2648
|
class SkyPercentPipe {
|
2649
|
+
get defaultLocale() {
|
2650
|
+
return __classPrivateFieldGet(this, _SkyPercentPipe_defaultLocale, "f");
|
2651
|
+
}
|
2596
2652
|
constructor(localeProvider) {
|
2597
2653
|
_SkyPercentPipe_instances.add(this);
|
2598
2654
|
_SkyPercentPipe_defaultFormat.set(this, '1.0-2');
|
@@ -2610,9 +2666,6 @@ class SkyPercentPipe {
|
|
2610
2666
|
__classPrivateFieldGet(this, _SkyPercentPipe_instances, "m", _SkyPercentPipe_updateFormattedValue).call(this);
|
2611
2667
|
});
|
2612
2668
|
}
|
2613
|
-
get defaultLocale() {
|
2614
|
-
return __classPrivateFieldGet(this, _SkyPercentPipe_defaultLocale, "f");
|
2615
|
-
}
|
2616
2669
|
ngOnDestroy() {
|
2617
2670
|
__classPrivateFieldGet(this, _SkyPercentPipe_ngUnsubscribe, "f").next();
|
2618
2671
|
__classPrivateFieldGet(this, _SkyPercentPipe_ngUnsubscribe, "f").complete();
|
@@ -2632,9 +2685,9 @@ _SkyPercentPipe_defaultFormat = new WeakMap(), _SkyPercentPipe_defaultLocale = n
|
|
2632
2685
|
? SkyNumberFormatUtility.formatNumber(locale, __classPrivateFieldGet(this, _SkyPercentPipe_value, "f"), SkyIntlNumberFormatStyle.Percent, format)
|
2633
2686
|
: '', "f");
|
2634
2687
|
};
|
2635
|
-
SkyPercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2636
|
-
SkyPercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1
|
2637
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2688
|
+
SkyPercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyPercentPipe, deps: [{ token: i1.SkyAppLocaleProvider }], target: i0.ɵɵFactoryTarget.Pipe });
|
2689
|
+
SkyPercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyPercentPipe, name: "skyPercent", pure: false });
|
2690
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyPercentPipe, decorators: [{
|
2638
2691
|
type: Pipe,
|
2639
2692
|
args: [{
|
2640
2693
|
name: 'skyPercent',
|
@@ -2644,10 +2697,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
2644
2697
|
|
2645
2698
|
class SkyPercentPipeModule {
|
2646
2699
|
}
|
2647
|
-
SkyPercentPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2648
|
-
SkyPercentPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
2649
|
-
SkyPercentPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
2650
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2700
|
+
SkyPercentPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyPercentPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
2701
|
+
SkyPercentPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyPercentPipeModule, declarations: [SkyPercentPipe], imports: [CommonModule, SkyCoreResourcesModule], exports: [SkyPercentPipe] });
|
2702
|
+
SkyPercentPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyPercentPipeModule, providers: [SkyPercentPipe], imports: [CommonModule, SkyCoreResourcesModule] });
|
2703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyPercentPipeModule, decorators: [{
|
2651
2704
|
type: NgModule,
|
2652
2705
|
args: [{
|
2653
2706
|
declarations: [SkyPercentPipe],
|
@@ -2722,9 +2775,9 @@ _SkyResizeObserverService_resizeObserver = new WeakMap(), _SkyResizeObserverServ
|
|
2722
2775
|
}
|
2723
2776
|
});
|
2724
2777
|
};
|
2725
|
-
SkyResizeObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2726
|
-
SkyResizeObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
2727
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2778
|
+
SkyResizeObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyResizeObserverService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
2779
|
+
SkyResizeObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyResizeObserverService, providedIn: 'any' });
|
2780
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyResizeObserverService, decorators: [{
|
2728
2781
|
type: Injectable,
|
2729
2782
|
args: [{
|
2730
2783
|
providedIn: 'any',
|
@@ -2737,6 +2790,12 @@ const DEFAULT_BREAKPOINT = SkyMediaBreakpoints.md;
|
|
2737
2790
|
* Acts like `SkyMediaQueryService` for a container element, emitting the same responsive breakpoints.
|
2738
2791
|
*/
|
2739
2792
|
class SkyResizeObserverMediaQueryService {
|
2793
|
+
/**
|
2794
|
+
* Returns the current breakpoint.
|
2795
|
+
*/
|
2796
|
+
get current() {
|
2797
|
+
return __classPrivateFieldGet(this, _SkyResizeObserverMediaQueryService_currentBreakpoint, "f");
|
2798
|
+
}
|
2740
2799
|
constructor(resizeObserverSvc) {
|
2741
2800
|
_SkyResizeObserverMediaQueryService_instances.add(this);
|
2742
2801
|
_SkyResizeObserverMediaQueryService_breakpoints.set(this, [
|
@@ -2764,12 +2823,6 @@ class SkyResizeObserverMediaQueryService {
|
|
2764
2823
|
_SkyResizeObserverMediaQueryService_target.set(this, void 0);
|
2765
2824
|
__classPrivateFieldSet(this, _SkyResizeObserverMediaQueryService_resizeObserverSvc, resizeObserverSvc, "f");
|
2766
2825
|
}
|
2767
|
-
/**
|
2768
|
-
* Returns the current breakpoint.
|
2769
|
-
*/
|
2770
|
-
get current() {
|
2771
|
-
return __classPrivateFieldGet(this, _SkyResizeObserverMediaQueryService_currentBreakpoint, "f");
|
2772
|
-
}
|
2773
2826
|
ngOnDestroy() {
|
2774
2827
|
this.unobserve();
|
2775
2828
|
__classPrivateFieldSet(this, _SkyResizeObserverMediaQueryService_target, undefined, "f");
|
@@ -2836,9 +2889,9 @@ _SkyResizeObserverMediaQueryService_breakpoints = new WeakMap(), _SkyResizeObser
|
|
2836
2889
|
__classPrivateFieldGet(this, _SkyResizeObserverMediaQueryService_instances, "m", _SkyResizeObserverMediaQueryService_updateBreakpoint).call(this, breakpoint);
|
2837
2890
|
}
|
2838
2891
|
};
|
2839
|
-
SkyResizeObserverMediaQueryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2840
|
-
SkyResizeObserverMediaQueryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
2841
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2892
|
+
SkyResizeObserverMediaQueryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyResizeObserverMediaQueryService, deps: [{ token: SkyResizeObserverService }], target: i0.ɵɵFactoryTarget.Injectable });
|
2893
|
+
SkyResizeObserverMediaQueryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyResizeObserverMediaQueryService, providedIn: 'any' });
|
2894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyResizeObserverMediaQueryService, decorators: [{
|
2842
2895
|
type: Injectable,
|
2843
2896
|
args: [{
|
2844
2897
|
providedIn: 'any',
|
@@ -3045,9 +3098,9 @@ _SkyScrollableHostService_mutationObserverSvc = new WeakMap(), _SkyScrollableHos
|
|
3045
3098
|
height: docElem.clientHeight,
|
3046
3099
|
};
|
3047
3100
|
};
|
3048
|
-
SkyScrollableHostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3049
|
-
SkyScrollableHostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
3050
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3101
|
+
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 });
|
3102
|
+
SkyScrollableHostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyScrollableHostService, providedIn: 'root' });
|
3103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyScrollableHostService, decorators: [{
|
3051
3104
|
type: Injectable,
|
3052
3105
|
args: [{
|
3053
3106
|
providedIn: 'root',
|
@@ -3079,9 +3132,9 @@ class SkyAppTitleService {
|
|
3079
3132
|
}
|
3080
3133
|
}
|
3081
3134
|
_SkyAppTitleService_title = new WeakMap();
|
3082
|
-
SkyAppTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3083
|
-
SkyAppTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
3084
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3135
|
+
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 });
|
3136
|
+
SkyAppTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppTitleService, providedIn: 'root' });
|
3137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppTitleService, decorators: [{
|
3085
3138
|
type: Injectable,
|
3086
3139
|
args: [{
|
3087
3140
|
providedIn: 'root',
|
@@ -3140,9 +3193,9 @@ _SkyTrimDirective_elRef = new WeakMap(), _SkyTrimDirective_obs = new WeakMap(),
|
|
3140
3193
|
}
|
3141
3194
|
__classPrivateFieldGet(this, _SkyTrimDirective_instances, "m", _SkyTrimDirective_observe).call(this);
|
3142
3195
|
};
|
3143
|
-
SkyTrimDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3144
|
-
SkyTrimDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1
|
3145
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3196
|
+
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 });
|
3197
|
+
SkyTrimDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", type: SkyTrimDirective, selector: "[skyTrim]", ngImport: i0 });
|
3198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyTrimDirective, decorators: [{
|
3146
3199
|
type: Directive,
|
3147
3200
|
args: [{
|
3148
3201
|
selector: '[skyTrim]',
|
@@ -3151,10 +3204,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
3151
3204
|
|
3152
3205
|
class SkyTrimModule {
|
3153
3206
|
}
|
3154
|
-
SkyTrimModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3155
|
-
SkyTrimModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
3156
|
-
SkyTrimModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
3157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3207
|
+
SkyTrimModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyTrimModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
3208
|
+
SkyTrimModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyTrimModule, declarations: [SkyTrimDirective], exports: [SkyTrimDirective] });
|
3209
|
+
SkyTrimModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyTrimModule });
|
3210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyTrimModule, decorators: [{
|
3158
3211
|
type: NgModule,
|
3159
3212
|
args: [{
|
3160
3213
|
declarations: [SkyTrimDirective],
|
@@ -3171,9 +3224,9 @@ class SkyUIConfigService {
|
|
3171
3224
|
return of({});
|
3172
3225
|
}
|
3173
3226
|
}
|
3174
|
-
SkyUIConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3175
|
-
SkyUIConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
3176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3227
|
+
SkyUIConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyUIConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
3228
|
+
SkyUIConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyUIConfigService, providedIn: 'root' });
|
3229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyUIConfigService, decorators: [{
|
3177
3230
|
type: Injectable,
|
3178
3231
|
args: [{
|
3179
3232
|
providedIn: 'root',
|
@@ -3182,9 +3235,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
3182
3235
|
|
3183
3236
|
class SkyViewkeeperHostOptions {
|
3184
3237
|
}
|
3185
|
-
SkyViewkeeperHostOptions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3186
|
-
SkyViewkeeperHostOptions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
3187
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3238
|
+
SkyViewkeeperHostOptions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperHostOptions, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
3239
|
+
SkyViewkeeperHostOptions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperHostOptions });
|
3240
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperHostOptions, decorators: [{
|
3188
3241
|
type: Injectable
|
3189
3242
|
}] });
|
3190
3243
|
|
@@ -3491,9 +3544,9 @@ class SkyViewkeeperService {
|
|
3491
3544
|
}
|
3492
3545
|
}
|
3493
3546
|
_SkyViewkeeperService_hostOptions = new WeakMap();
|
3494
|
-
SkyViewkeeperService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3495
|
-
SkyViewkeeperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
3496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3547
|
+
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 });
|
3548
|
+
SkyViewkeeperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperService, providedIn: 'root' });
|
3549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperService, decorators: [{
|
3497
3550
|
type: Injectable,
|
3498
3551
|
args: [{
|
3499
3552
|
providedIn: 'root',
|
@@ -3506,6 +3559,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
3506
3559
|
|
3507
3560
|
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;
|
3508
3561
|
class SkyViewkeeperDirective {
|
3562
|
+
set skyViewkeeper(value) {
|
3563
|
+
__classPrivateFieldSet(this, _SkyViewkeeperDirective__skyViewkeeper, value, "f");
|
3564
|
+
__classPrivateFieldGet(this, _SkyViewkeeperDirective_instances, "m", _SkyViewkeeperDirective_detectElements).call(this);
|
3565
|
+
}
|
3566
|
+
get skyViewkeeper() {
|
3567
|
+
return __classPrivateFieldGet(this, _SkyViewkeeperDirective__skyViewkeeper, "f");
|
3568
|
+
}
|
3509
3569
|
constructor(el, mutationObserverSvc, viewkeeperSvc, scrollableHostSvc) {
|
3510
3570
|
_SkyViewkeeperDirective_instances.add(this);
|
3511
3571
|
_SkyViewkeeperDirective__skyViewkeeper.set(this, void 0);
|
@@ -3522,13 +3582,6 @@ class SkyViewkeeperDirective {
|
|
3522
3582
|
__classPrivateFieldSet(this, _SkyViewkeeperDirective_viewkeeperSvc, viewkeeperSvc, "f");
|
3523
3583
|
__classPrivateFieldSet(this, _SkyViewkeeperDirective_scrollableHostSvc, scrollableHostSvc, "f");
|
3524
3584
|
}
|
3525
|
-
set skyViewkeeper(value) {
|
3526
|
-
__classPrivateFieldSet(this, _SkyViewkeeperDirective__skyViewkeeper, value, "f");
|
3527
|
-
__classPrivateFieldGet(this, _SkyViewkeeperDirective_instances, "m", _SkyViewkeeperDirective_detectElements).call(this);
|
3528
|
-
}
|
3529
|
-
get skyViewkeeper() {
|
3530
|
-
return __classPrivateFieldGet(this, _SkyViewkeeperDirective__skyViewkeeper, "f");
|
3531
|
-
}
|
3532
3585
|
ngOnInit() {
|
3533
3586
|
__classPrivateFieldSet(this, _SkyViewkeeperDirective_observer, __classPrivateFieldGet(this, _SkyViewkeeperDirective_mutationObserverSvc, "f").create(() => __classPrivateFieldGet(this, _SkyViewkeeperDirective_instances, "m", _SkyViewkeeperDirective_detectElements).call(this)), "f");
|
3534
3587
|
__classPrivateFieldGet(this, _SkyViewkeeperDirective_observer, "f").observe(__classPrivateFieldGet(this, _SkyViewkeeperDirective_el, "f").nativeElement, {
|
@@ -3614,9 +3667,9 @@ _SkyViewkeeperDirective__skyViewkeeper = new WeakMap(), _SkyViewkeeperDirective_
|
|
3614
3667
|
__classPrivateFieldSet(this, _SkyViewkeeperDirective_currentViewkeeperEls, viewkeeperEls, "f");
|
3615
3668
|
}
|
3616
3669
|
};
|
3617
|
-
SkyViewkeeperDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3618
|
-
SkyViewkeeperDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1
|
3619
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3670
|
+
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 });
|
3671
|
+
SkyViewkeeperDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", type: SkyViewkeeperDirective, selector: "[skyViewkeeper]", inputs: { skyViewkeeper: "skyViewkeeper" }, ngImport: i0 });
|
3672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperDirective, decorators: [{
|
3620
3673
|
type: Directive,
|
3621
3674
|
args: [{
|
3622
3675
|
selector: '[skyViewkeeper]',
|
@@ -3631,10 +3684,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
3631
3684
|
|
3632
3685
|
class SkyViewkeeperModule {
|
3633
3686
|
}
|
3634
|
-
SkyViewkeeperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3635
|
-
SkyViewkeeperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
3636
|
-
SkyViewkeeperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
3637
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3687
|
+
SkyViewkeeperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
3688
|
+
SkyViewkeeperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperModule, declarations: [SkyViewkeeperDirective], exports: [SkyViewkeeperDirective] });
|
3689
|
+
SkyViewkeeperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperModule });
|
3690
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperModule, decorators: [{
|
3638
3691
|
type: NgModule,
|
3639
3692
|
args: [{
|
3640
3693
|
declarations: [SkyViewkeeperDirective],
|