@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/fesm2020/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.
|
@@ -497,9 +497,19 @@ _SkyAffixer_affixedElement = new WeakMap(), _SkyAffixer_baseElement = new WeakMa
|
|
497
497
|
let isAffixedElementFullyVisible = false;
|
498
498
|
let offset;
|
499
499
|
let placement = __classPrivateFieldGet(this, _SkyAffixer_instances, "a", _SkyAffixer_config_get).placement;
|
500
|
+
const autoFitOverflowOffset = __classPrivateFieldGet(this, _SkyAffixer_instances, "a", _SkyAffixer_config_get).autoFitOverflowOffset || {
|
501
|
+
bottom: 0,
|
502
|
+
left: 0,
|
503
|
+
right: 0,
|
504
|
+
top: 0,
|
505
|
+
};
|
506
|
+
if (__classPrivateFieldGet(this, _SkyAffixer_instances, "a", _SkyAffixer_config_get).position === 'absolute') {
|
507
|
+
autoFitOverflowOffset.top =
|
508
|
+
(autoFitOverflowOffset.top || 0) + window.scrollY;
|
509
|
+
}
|
500
510
|
do {
|
501
511
|
offset = __classPrivateFieldGet(this, _SkyAffixer_instances, "m", _SkyAffixer_getPreferredOffset).call(this, placement);
|
502
|
-
isAffixedElementFullyVisible = isOffsetFullyVisibleWithinParent(parent, offset,
|
512
|
+
isAffixedElementFullyVisible = isOffsetFullyVisibleWithinParent(parent, offset, autoFitOverflowOffset);
|
503
513
|
if (!__classPrivateFieldGet(this, _SkyAffixer_instances, "a", _SkyAffixer_config_get).enableAutoFit) {
|
504
514
|
break;
|
505
515
|
}
|
@@ -525,12 +535,27 @@ _SkyAffixer_affixedElement = new WeakMap(), _SkyAffixer_baseElement = new WeakMa
|
|
525
535
|
}
|
526
536
|
// No suitable placement was found, so revert to preferred placement.
|
527
537
|
return __classPrivateFieldGet(this, _SkyAffixer_instances, "m", _SkyAffixer_getPreferredOffset).call(this, __classPrivateFieldGet(this, _SkyAffixer_instances, "a", _SkyAffixer_config_get).placement);
|
538
|
+
}, _SkyAffixer_getRect = function _SkyAffixer_getRect(baseElement) {
|
539
|
+
const baseDomRect = baseElement.getBoundingClientRect();
|
540
|
+
const baseRect = {
|
541
|
+
top: baseDomRect.top,
|
542
|
+
bottom: baseDomRect.bottom,
|
543
|
+
left: baseDomRect.left,
|
544
|
+
right: baseDomRect.right,
|
545
|
+
width: baseDomRect.width,
|
546
|
+
height: baseDomRect.height,
|
547
|
+
};
|
548
|
+
if (__classPrivateFieldGet(this, _SkyAffixer_instances, "a", _SkyAffixer_config_get).position === 'absolute') {
|
549
|
+
baseRect.top += window.scrollY;
|
550
|
+
baseRect.bottom = baseRect.top + baseDomRect.height;
|
551
|
+
}
|
552
|
+
return baseRect;
|
528
553
|
}, _SkyAffixer_getPreferredOffset = function _SkyAffixer_getPreferredOffset(placement) {
|
529
554
|
if (!__classPrivateFieldGet(this, _SkyAffixer_baseElement, "f")) {
|
530
555
|
return { top: 0, left: 0, bottom: 0, right: 0 };
|
531
556
|
}
|
532
|
-
const affixedRect = __classPrivateFieldGet(this,
|
533
|
-
const baseRect = __classPrivateFieldGet(this,
|
557
|
+
const affixedRect = __classPrivateFieldGet(this, _SkyAffixer_instances, "m", _SkyAffixer_getRect).call(this, __classPrivateFieldGet(this, _SkyAffixer_affixedElement, "f"));
|
558
|
+
const baseRect = __classPrivateFieldGet(this, _SkyAffixer_instances, "m", _SkyAffixer_getRect).call(this, __classPrivateFieldGet(this, _SkyAffixer_baseElement, "f"));
|
534
559
|
const horizontalAlignment = __classPrivateFieldGet(this, _SkyAffixer_instances, "a", _SkyAffixer_config_get).horizontalAlignment;
|
535
560
|
const verticalAlignment = __classPrivateFieldGet(this, _SkyAffixer_instances, "a", _SkyAffixer_config_get).verticalAlignment;
|
536
561
|
const enableAutoFit = __classPrivateFieldGet(this, _SkyAffixer_instances, "a", _SkyAffixer_config_get).enableAutoFit;
|
@@ -610,8 +635,8 @@ _SkyAffixer_affixedElement = new WeakMap(), _SkyAffixer_baseElement = new WeakMa
|
|
610
635
|
}, _SkyAffixer_adjustOffsetToOverflowParent = function _SkyAffixer_adjustOffsetToOverflowParent(offset, placement, baseElement) {
|
611
636
|
const parent = __classPrivateFieldGet(this, _SkyAffixer_instances, "m", _SkyAffixer_getAutoFitContextParent).call(this);
|
612
637
|
const parentOffset = getElementOffset(parent, __classPrivateFieldGet(this, _SkyAffixer_instances, "a", _SkyAffixer_config_get).autoFitOverflowOffset);
|
613
|
-
const affixedRect = __classPrivateFieldGet(this,
|
614
|
-
const baseRect =
|
638
|
+
const affixedRect = __classPrivateFieldGet(this, _SkyAffixer_instances, "m", _SkyAffixer_getRect).call(this, __classPrivateFieldGet(this, _SkyAffixer_affixedElement, "f"));
|
639
|
+
const baseRect = __classPrivateFieldGet(this, _SkyAffixer_instances, "m", _SkyAffixer_getRect).call(this, baseElement);
|
615
640
|
// A pixel value representing the leeway between the edge of the overflow parent and the edge
|
616
641
|
// of the base element before it disappears from view.
|
617
642
|
// If the visible portion of the base element is less than this pixel value, the auto-fit
|
@@ -737,9 +762,9 @@ class SkyAffixService {
|
|
737
762
|
}
|
738
763
|
}
|
739
764
|
_SkyAffixService_renderer = new WeakMap();
|
740
|
-
SkyAffixService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
741
|
-
SkyAffixService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
742
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
765
|
+
SkyAffixService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixService, deps: [{ token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
|
766
|
+
SkyAffixService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixService, providedIn: 'root' });
|
767
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixService, decorators: [{
|
743
768
|
type: Injectable,
|
744
769
|
args: [{
|
745
770
|
providedIn: 'root',
|
@@ -793,6 +818,7 @@ class SkyAffixDirective {
|
|
793
818
|
changes.affixHorizontalAlignment ||
|
794
819
|
changes.affixIsSticky ||
|
795
820
|
changes.affixPlacement ||
|
821
|
+
changes.affixPosition ||
|
796
822
|
changes.affixVerticalAlignment) {
|
797
823
|
__classPrivateFieldGet(this, _SkyAffixDirective_instances, "m", _SkyAffixDirective_updateAlignment).call(this);
|
798
824
|
}
|
@@ -819,13 +845,14 @@ _SkyAffixDirective_affixer = new WeakMap(), _SkyAffixDirective_affixService = ne
|
|
819
845
|
horizontalAlignment: this.affixHorizontalAlignment,
|
820
846
|
isSticky: this.affixIsSticky,
|
821
847
|
placement: this.affixPlacement,
|
848
|
+
position: this.affixPosition,
|
822
849
|
verticalAlignment: this.affixVerticalAlignment,
|
823
850
|
});
|
824
851
|
}
|
825
852
|
};
|
826
|
-
SkyAffixDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
827
|
-
SkyAffixDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1
|
828
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
853
|
+
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 });
|
854
|
+
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 });
|
855
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixDirective, decorators: [{
|
829
856
|
type: Directive,
|
830
857
|
args: [{
|
831
858
|
selector: '[skyAffixTo]',
|
@@ -844,6 +871,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
844
871
|
type: Input
|
845
872
|
}], affixPlacement: [{
|
846
873
|
type: Input
|
874
|
+
}], affixPosition: [{
|
875
|
+
type: Input
|
847
876
|
}], affixVerticalAlignment: [{
|
848
877
|
type: Input
|
849
878
|
}], affixOffsetChange: [{
|
@@ -856,10 +885,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
856
885
|
|
857
886
|
class SkyAffixModule {
|
858
887
|
}
|
859
|
-
SkyAffixModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
860
|
-
SkyAffixModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
861
|
-
SkyAffixModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
862
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
888
|
+
SkyAffixModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
889
|
+
SkyAffixModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixModule, declarations: [SkyAffixDirective], imports: [CommonModule], exports: [SkyAffixDirective] });
|
890
|
+
SkyAffixModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixModule, imports: [CommonModule] });
|
891
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAffixModule, decorators: [{
|
863
892
|
type: NgModule,
|
864
893
|
args: [{
|
865
894
|
imports: [CommonModule],
|
@@ -873,6 +902,12 @@ var _SkyDockItem_destroyed, _SkyDockItem_destroyedObs;
|
|
873
902
|
* Represents a single item added to the dock.
|
874
903
|
*/
|
875
904
|
class SkyDockItem {
|
905
|
+
/**
|
906
|
+
* An event that emits when the item is removed from the dock.
|
907
|
+
*/
|
908
|
+
get destroyed() {
|
909
|
+
return __classPrivateFieldGet(this, _SkyDockItem_destroyedObs, "f");
|
910
|
+
}
|
876
911
|
/**
|
877
912
|
* @param componentInstance The item's component instance.
|
878
913
|
* @param stackOrder The assigned stack order of the docked item.
|
@@ -884,12 +919,6 @@ class SkyDockItem {
|
|
884
919
|
_SkyDockItem_destroyedObs.set(this, void 0);
|
885
920
|
__classPrivateFieldSet(this, _SkyDockItem_destroyedObs, __classPrivateFieldGet(this, _SkyDockItem_destroyed, "f").asObservable(), "f");
|
886
921
|
}
|
887
|
-
/**
|
888
|
-
* An event that emits when the item is removed from the dock.
|
889
|
-
*/
|
890
|
-
get destroyed() {
|
891
|
-
return __classPrivateFieldGet(this, _SkyDockItem_destroyedObs, "f");
|
892
|
-
}
|
893
922
|
/**
|
894
923
|
* Removes the item from the dock.
|
895
924
|
*/
|
@@ -927,9 +956,9 @@ class SkyMutationObserverService {
|
|
927
956
|
return new MutationObserver(callback);
|
928
957
|
}
|
929
958
|
}
|
930
|
-
SkyMutationObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
931
|
-
SkyMutationObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
932
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
959
|
+
SkyMutationObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMutationObserverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
960
|
+
SkyMutationObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMutationObserverService, providedIn: 'root' });
|
961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMutationObserverService, decorators: [{
|
933
962
|
type: Injectable,
|
934
963
|
args: [{
|
935
964
|
providedIn: 'root',
|
@@ -1007,9 +1036,9 @@ _SkyDockDomAdapterService_currentDockHeight = new WeakMap(), _SkyDockDomAdapterS
|
|
1007
1036
|
}, _SkyDockDomAdapterService_destroyStyleElement = function _SkyDockDomAdapterService_destroyStyleElement() {
|
1008
1037
|
__classPrivateFieldGet(this, _SkyDockDomAdapterService_renderer, "f").removeChild(document.head, __classPrivateFieldGet(this, _SkyDockDomAdapterService_styleElement, "f"));
|
1009
1038
|
};
|
1010
|
-
SkyDockDomAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1011
|
-
SkyDockDomAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
1012
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1039
|
+
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 });
|
1040
|
+
SkyDockDomAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockDomAdapterService });
|
1041
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockDomAdapterService, decorators: [{
|
1013
1042
|
type: Injectable
|
1014
1043
|
}], ctorParameters: function () { return [{ type: SkyMutationObserverService }, { type: i0.RendererFactory2 }]; } });
|
1015
1044
|
|
@@ -1116,11 +1145,11 @@ _SkyDockComponent_changeDetector = new WeakMap(), _SkyDockComponent_domAdapter =
|
|
1116
1145
|
}
|
1117
1146
|
return __classPrivateFieldGet(this, _SkyDockComponent_itemRefs, "f")[0].stackOrder + 1;
|
1118
1147
|
};
|
1119
|
-
SkyDockComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1120
|
-
SkyDockComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1
|
1121
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1148
|
+
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 });
|
1149
|
+
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 });
|
1150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockComponent, decorators: [{
|
1122
1151
|
type: Component,
|
1123
|
-
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"] }]
|
1152
|
+
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"] }]
|
1124
1153
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Injector }, { type: SkyDockDomAdapterService }]; }, propDecorators: { target: [{
|
1125
1154
|
type: ViewChild,
|
1126
1155
|
args: ['target', {
|
@@ -1131,10 +1160,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
1131
1160
|
|
1132
1161
|
class SkyDockModule {
|
1133
1162
|
}
|
1134
|
-
SkyDockModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1135
|
-
SkyDockModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
1136
|
-
SkyDockModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
1137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1163
|
+
SkyDockModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1164
|
+
SkyDockModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyDockModule, declarations: [SkyDockComponent], imports: [CommonModule] });
|
1165
|
+
SkyDockModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockModule, providers: [SkyMutationObserverService], imports: [CommonModule] });
|
1166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockModule, decorators: [{
|
1138
1167
|
type: NgModule,
|
1139
1168
|
args: [{
|
1140
1169
|
imports: [CommonModule],
|
@@ -1189,9 +1218,9 @@ class SkyAppWindowRef {
|
|
1189
1218
|
return getWindow();
|
1190
1219
|
}
|
1191
1220
|
}
|
1192
|
-
SkyAppWindowRef.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1193
|
-
SkyAppWindowRef.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
1194
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1221
|
+
SkyAppWindowRef.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppWindowRef, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1222
|
+
SkyAppWindowRef.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppWindowRef, providedIn: 'root' });
|
1223
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppWindowRef, decorators: [{
|
1195
1224
|
type: Injectable,
|
1196
1225
|
args: [{
|
1197
1226
|
providedIn: 'root',
|
@@ -1290,9 +1319,9 @@ _SkyDynamicComponentService_applicationRef = new WeakMap(), _SkyDynamicComponent
|
|
1290
1319
|
// https://malcoded.com/posts/angular-dynamic-components
|
1291
1320
|
return componentRef.hostView.rootNodes[0];
|
1292
1321
|
};
|
1293
|
-
SkyDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1294
|
-
SkyDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
1295
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1322
|
+
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 });
|
1323
|
+
SkyDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDynamicComponentService, providedIn: 'any' });
|
1324
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDynamicComponentService, decorators: [{
|
1296
1325
|
type: Injectable,
|
1297
1326
|
args: [{
|
1298
1327
|
// Must be 'any' so that the component is created in the context of its module's injector.
|
@@ -1307,18 +1336,18 @@ var _SkyDockService_instances, _SkyDockService_dynamicComponentSvc, _SkyDockServ
|
|
1307
1336
|
* This service docks components to specific areas on the page.
|
1308
1337
|
*/
|
1309
1338
|
class SkyDockService {
|
1310
|
-
constructor(dynamicComponentSvc) {
|
1311
|
-
_SkyDockService_instances.add(this);
|
1312
|
-
_SkyDockService_dynamicComponentSvc.set(this, void 0);
|
1313
|
-
_SkyDockService_options.set(this, void 0);
|
1314
|
-
__classPrivateFieldSet(this, _SkyDockService_dynamicComponentSvc, dynamicComponentSvc, "f");
|
1315
|
-
}
|
1316
1339
|
/**
|
1317
1340
|
* Returns all docked items.
|
1318
1341
|
*/
|
1319
1342
|
get items() {
|
1320
1343
|
return SkyDockService._items;
|
1321
1344
|
}
|
1345
|
+
constructor(dynamicComponentSvc) {
|
1346
|
+
_SkyDockService_instances.add(this);
|
1347
|
+
_SkyDockService_dynamicComponentSvc.set(this, void 0);
|
1348
|
+
_SkyDockService_options.set(this, void 0);
|
1349
|
+
__classPrivateFieldSet(this, _SkyDockService_dynamicComponentSvc, dynamicComponentSvc, "f");
|
1350
|
+
}
|
1322
1351
|
/**
|
1323
1352
|
* Docks a component to the bottom of the page.
|
1324
1353
|
* @param component The component to dock.
|
@@ -1379,9 +1408,9 @@ _SkyDockService_dynamicComponentSvc = new WeakMap(), _SkyDockService_options = n
|
|
1379
1408
|
SkyDockService.dockRef = undefined;
|
1380
1409
|
};
|
1381
1410
|
SkyDockService._items = [];
|
1382
|
-
SkyDockService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1383
|
-
SkyDockService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
1384
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1411
|
+
SkyDockService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockService, deps: [{ token: SkyDynamicComponentService }], target: i0.ɵɵFactoryTarget.Injectable });
|
1412
|
+
SkyDockService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockService, providedIn: 'any' });
|
1413
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDockService, decorators: [{
|
1385
1414
|
type: Injectable,
|
1386
1415
|
args: [{
|
1387
1416
|
// Must be 'any' so that the dock component is created in the context of its module's injector.
|
@@ -1398,10 +1427,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
1398
1427
|
*/
|
1399
1428
|
class SkyDynamicComponentModule {
|
1400
1429
|
}
|
1401
|
-
SkyDynamicComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1402
|
-
SkyDynamicComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
1403
|
-
SkyDynamicComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
1404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1430
|
+
SkyDynamicComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDynamicComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1431
|
+
SkyDynamicComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyDynamicComponentModule });
|
1432
|
+
SkyDynamicComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDynamicComponentModule });
|
1433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyDynamicComponentModule, decorators: [{
|
1405
1434
|
type: NgModule,
|
1406
1435
|
args: [{}]
|
1407
1436
|
}] });
|
@@ -1413,9 +1442,9 @@ class SkyAppFormat {
|
|
1413
1442
|
});
|
1414
1443
|
}
|
1415
1444
|
}
|
1416
|
-
SkyAppFormat.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1417
|
-
SkyAppFormat.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
1418
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1445
|
+
SkyAppFormat.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppFormat, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1446
|
+
SkyAppFormat.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppFormat, providedIn: 'root' });
|
1447
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppFormat, decorators: [{
|
1419
1448
|
type: Injectable,
|
1420
1449
|
args: [{
|
1421
1450
|
providedIn: 'root',
|
@@ -1435,9 +1464,9 @@ class SkyIdService {
|
|
1435
1464
|
return `sky-id-gen__${new Date().getTime()}__${idIndex}`;
|
1436
1465
|
}
|
1437
1466
|
}
|
1438
|
-
SkyIdService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1439
|
-
SkyIdService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
1440
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1467
|
+
SkyIdService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyIdService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1468
|
+
SkyIdService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyIdService, providedIn: 'root' });
|
1469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyIdService, decorators: [{
|
1441
1470
|
type: Injectable,
|
1442
1471
|
args: [{
|
1443
1472
|
providedIn: 'root',
|
@@ -1451,6 +1480,9 @@ var _SkyIdDirective__id;
|
|
1451
1480
|
* variable, then use its `id` property.
|
1452
1481
|
*/
|
1453
1482
|
class SkyIdDirective {
|
1483
|
+
get id() {
|
1484
|
+
return __classPrivateFieldGet(this, _SkyIdDirective__id, "f");
|
1485
|
+
}
|
1454
1486
|
constructor(elRef, renderer, idSvc) {
|
1455
1487
|
_SkyIdDirective__id.set(this, void 0);
|
1456
1488
|
// Generate and apply the ID before the template is rendered
|
@@ -1459,14 +1491,11 @@ class SkyIdDirective {
|
|
1459
1491
|
renderer.setAttribute(elRef.nativeElement, 'id', id);
|
1460
1492
|
__classPrivateFieldSet(this, _SkyIdDirective__id, id, "f");
|
1461
1493
|
}
|
1462
|
-
get id() {
|
1463
|
-
return __classPrivateFieldGet(this, _SkyIdDirective__id, "f");
|
1464
|
-
}
|
1465
1494
|
}
|
1466
1495
|
_SkyIdDirective__id = new WeakMap();
|
1467
|
-
SkyIdDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1468
|
-
SkyIdDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1
|
1469
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1496
|
+
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 });
|
1497
|
+
SkyIdDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", type: SkyIdDirective, selector: "[skyId]", exportAs: ["skyId"], ngImport: i0 });
|
1498
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyIdDirective, decorators: [{
|
1470
1499
|
type: Directive,
|
1471
1500
|
args: [{
|
1472
1501
|
selector: '[skyId]',
|
@@ -1476,10 +1505,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
1476
1505
|
|
1477
1506
|
class SkyIdModule {
|
1478
1507
|
}
|
1479
|
-
SkyIdModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1480
|
-
SkyIdModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
1481
|
-
SkyIdModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
1482
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1508
|
+
SkyIdModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyIdModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1509
|
+
SkyIdModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyIdModule, declarations: [SkyIdDirective], exports: [SkyIdDirective] });
|
1510
|
+
SkyIdModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyIdModule });
|
1511
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyIdModule, decorators: [{
|
1483
1512
|
type: NgModule,
|
1484
1513
|
args: [{
|
1485
1514
|
declarations: [SkyIdDirective],
|
@@ -1493,10 +1522,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
1493
1522
|
*/
|
1494
1523
|
class SkyLogModule {
|
1495
1524
|
}
|
1496
|
-
SkyLogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1497
|
-
SkyLogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
1498
|
-
SkyLogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
1499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1525
|
+
SkyLogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyLogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1526
|
+
SkyLogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyLogModule });
|
1527
|
+
SkyLogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyLogModule });
|
1528
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyLogModule, decorators: [{
|
1500
1529
|
type: NgModule,
|
1501
1530
|
args: [{}]
|
1502
1531
|
}] });
|
@@ -1506,9 +1535,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
1506
1535
|
*/
|
1507
1536
|
const SKY_LOG_LEVEL = new InjectionToken('SkyLogLevel');
|
1508
1537
|
|
1509
|
-
var _SkyLogService_instances, _SkyLogService_applicationLogLevel, _SkyLogService_formatter,
|
1538
|
+
var _SkyLogService_instances, _SkyLogService_applicationLogLevel, _SkyLogService_formatter, _SkyLogService_convertStringToCode, _SkyLogService_canLog, _SkyLogService_logBasedOnLevel, _SkyLogService_logWithParams, _SkyLogService_buildMessageKey;
|
1539
|
+
const previousWarnings = new Set();
|
1510
1540
|
/**
|
1511
|
-
* Logs information to the console based on the application's log level as
|
1541
|
+
* Logs information to the console based on the application's log level as
|
1542
|
+
* provided by the `SKY_LOG_LEVEL` injection token. If no token is provided,
|
1543
|
+
* only `error` logs will be shown.
|
1512
1544
|
* @internal
|
1513
1545
|
*/
|
1514
1546
|
class SkyLogService {
|
@@ -1516,12 +1548,20 @@ class SkyLogService {
|
|
1516
1548
|
_SkyLogService_instances.add(this);
|
1517
1549
|
_SkyLogService_applicationLogLevel.set(this, void 0);
|
1518
1550
|
_SkyLogService_formatter.set(this, void 0);
|
1519
|
-
_SkyLogService_previousWarnings.set(this, new Set());
|
1520
1551
|
__classPrivateFieldSet(this, _SkyLogService_formatter, formatter, "f");
|
1521
1552
|
__classPrivateFieldSet(this, _SkyLogService_applicationLogLevel, applicationLogLevel ?? 3 /* SkyLogLevel.Error */, "f");
|
1522
1553
|
}
|
1523
1554
|
/**
|
1524
|
-
*
|
1555
|
+
* Clears previously-logged messages. Primarily used for unit
|
1556
|
+
* testing this service.
|
1557
|
+
*/
|
1558
|
+
static clearPreviousLogs() {
|
1559
|
+
previousWarnings.clear();
|
1560
|
+
}
|
1561
|
+
/**
|
1562
|
+
* Logs a deprecation warning for a class, property, function, etc. This will
|
1563
|
+
* be logged as a console warning unless a different log level is given in the
|
1564
|
+
* `args` parameter.
|
1525
1565
|
* @param name The name of the deprecated class, property, function, etc.
|
1526
1566
|
* @param args Information about the deprecation and replacement recommendations.
|
1527
1567
|
* @returns
|
@@ -1583,14 +1623,14 @@ class SkyLogService {
|
|
1583
1623
|
const messageKey = __classPrivateFieldGet(this, _SkyLogService_instances, "m", _SkyLogService_buildMessageKey).call(this, message, params);
|
1584
1624
|
// Only log each warning once per application instance to avoid drowning out other
|
1585
1625
|
// important messages in the console.
|
1586
|
-
if (!
|
1626
|
+
if (!previousWarnings.has(message)) {
|
1587
1627
|
__classPrivateFieldGet(this, _SkyLogService_instances, "m", _SkyLogService_logWithParams).call(this, 'warn', message, params);
|
1588
|
-
|
1628
|
+
previousWarnings.add(messageKey);
|
1589
1629
|
}
|
1590
1630
|
}
|
1591
1631
|
}
|
1592
1632
|
}
|
1593
|
-
_SkyLogService_applicationLogLevel = new WeakMap(), _SkyLogService_formatter = new WeakMap(),
|
1633
|
+
_SkyLogService_applicationLogLevel = new WeakMap(), _SkyLogService_formatter = new WeakMap(), _SkyLogService_instances = new WeakSet(), _SkyLogService_convertStringToCode = function _SkyLogService_convertStringToCode(typeString) {
|
1594
1634
|
if (typeString.charAt(0) !== '`' && typeString.charAt(-1) !== '`') {
|
1595
1635
|
typeString = '`' + typeString + '`';
|
1596
1636
|
}
|
@@ -1623,9 +1663,9 @@ _SkyLogService_applicationLogLevel = new WeakMap(), _SkyLogService_formatter = n
|
|
1623
1663
|
}
|
1624
1664
|
return key;
|
1625
1665
|
};
|
1626
|
-
SkyLogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1627
|
-
SkyLogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
1628
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1666
|
+
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 });
|
1667
|
+
SkyLogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyLogService, providedIn: 'root' });
|
1668
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyLogService, decorators: [{
|
1629
1669
|
type: Injectable,
|
1630
1670
|
args: [{
|
1631
1671
|
providedIn: 'root',
|
@@ -1643,10 +1683,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
1643
1683
|
*/
|
1644
1684
|
class SkyMediaQueryModule {
|
1645
1685
|
}
|
1646
|
-
SkyMediaQueryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1647
|
-
SkyMediaQueryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
1648
|
-
SkyMediaQueryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
1649
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1686
|
+
SkyMediaQueryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMediaQueryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1687
|
+
SkyMediaQueryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyMediaQueryModule });
|
1688
|
+
SkyMediaQueryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMediaQueryModule });
|
1689
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMediaQueryModule, decorators: [{
|
1650
1690
|
type: NgModule,
|
1651
1691
|
args: [{}]
|
1652
1692
|
}] });
|
@@ -1654,6 +1694,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
1654
1694
|
var _SkyMediaQueryService_instances, _SkyMediaQueryService_currentSubject, _SkyMediaQueryService_currentBreakpoint, _SkyMediaQueryService_breakpoints, _SkyMediaQueryService_mediaQueries, _SkyMediaQueryService_zone, _SkyMediaQueryService_addListeners, _SkyMediaQueryService_removeListeners, _SkyMediaQueryService_notifyBreakpointChange;
|
1655
1695
|
const DEFAULT_BREAKPOINT$1 = SkyMediaBreakpoints.md;
|
1656
1696
|
class SkyMediaQueryService {
|
1697
|
+
/**
|
1698
|
+
* Returns the current breakpoint.
|
1699
|
+
*/
|
1700
|
+
get current() {
|
1701
|
+
return __classPrivateFieldGet(this, _SkyMediaQueryService_currentBreakpoint, "f");
|
1702
|
+
}
|
1657
1703
|
constructor(zone) {
|
1658
1704
|
_SkyMediaQueryService_instances.add(this);
|
1659
1705
|
_SkyMediaQueryService_currentSubject.set(this, new BehaviorSubject(DEFAULT_BREAKPOINT$1));
|
@@ -1681,12 +1727,6 @@ class SkyMediaQueryService {
|
|
1681
1727
|
__classPrivateFieldSet(this, _SkyMediaQueryService_zone, zone, "f");
|
1682
1728
|
__classPrivateFieldGet(this, _SkyMediaQueryService_instances, "m", _SkyMediaQueryService_addListeners).call(this);
|
1683
1729
|
}
|
1684
|
-
/**
|
1685
|
-
* Returns the current breakpoint.
|
1686
|
-
*/
|
1687
|
-
get current() {
|
1688
|
-
return __classPrivateFieldGet(this, _SkyMediaQueryService_currentBreakpoint, "f");
|
1689
|
-
}
|
1690
1730
|
ngOnDestroy() {
|
1691
1731
|
__classPrivateFieldGet(this, _SkyMediaQueryService_instances, "m", _SkyMediaQueryService_removeListeners).call(this);
|
1692
1732
|
__classPrivateFieldGet(this, _SkyMediaQueryService_currentSubject, "f").complete();
|
@@ -1761,9 +1801,9 @@ SkyMediaQueryService.md = '(min-width: 992px) and (max-width: 1199px)';
|
|
1761
1801
|
* @default "(min-width: 1200px)"
|
1762
1802
|
*/
|
1763
1803
|
SkyMediaQueryService.lg = '(min-width: 1200px)';
|
1764
|
-
SkyMediaQueryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1765
|
-
SkyMediaQueryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
1766
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1804
|
+
SkyMediaQueryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMediaQueryService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
1805
|
+
SkyMediaQueryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMediaQueryService, providedIn: 'root' });
|
1806
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyMediaQueryService, decorators: [{
|
1767
1807
|
type: Injectable,
|
1768
1808
|
args: [{
|
1769
1809
|
providedIn: 'root',
|
@@ -1794,16 +1834,16 @@ class SkyCoreResourcesProvider {
|
|
1794
1834
|
*/
|
1795
1835
|
class SkyCoreResourcesModule {
|
1796
1836
|
}
|
1797
|
-
SkyCoreResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
1798
|
-
SkyCoreResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
1799
|
-
SkyCoreResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
1837
|
+
SkyCoreResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyCoreResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1838
|
+
SkyCoreResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyCoreResourcesModule, exports: [SkyI18nModule] });
|
1839
|
+
SkyCoreResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyCoreResourcesModule, providers: [
|
1800
1840
|
{
|
1801
1841
|
provide: SKY_LIB_RESOURCES_PROVIDERS,
|
1802
1842
|
useClass: SkyCoreResourcesProvider,
|
1803
1843
|
multi: true,
|
1804
1844
|
},
|
1805
1845
|
], imports: [SkyI18nModule] });
|
1806
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
1846
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyCoreResourcesModule, decorators: [{
|
1807
1847
|
type: NgModule,
|
1808
1848
|
args: [{
|
1809
1849
|
exports: [SkyI18nModule],
|
@@ -1820,6 +1860,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
1820
1860
|
/**
|
1821
1861
|
* Provides arguments for the number to format.
|
1822
1862
|
* @deprecated Use the `SkyNumericOptions` interface instead.
|
1863
|
+
* @internal
|
1823
1864
|
*/
|
1824
1865
|
class NumericOptions {
|
1825
1866
|
constructor() {
|
@@ -1829,6 +1870,14 @@ class NumericOptions {
|
|
1829
1870
|
this.iso = 'USD';
|
1830
1871
|
this.truncate = true;
|
1831
1872
|
this.truncateAfter = 1000;
|
1873
|
+
const logService = new SkyLogService(new SkyAppFormat());
|
1874
|
+
logService
|
1875
|
+
.deprecated('NumericOptions', {
|
1876
|
+
deprecationMajorVersion: 7,
|
1877
|
+
moreInfoUrl: 'https://developer.blackbaud.com/skyux/components/numeric',
|
1878
|
+
replacementRecommendation: 'Use the `SkyNumericOptions` interface instead.',
|
1879
|
+
})
|
1880
|
+
.then();
|
1832
1881
|
}
|
1833
1882
|
}
|
1834
1883
|
|
@@ -1931,9 +1980,17 @@ class SkyNumericService {
|
|
1931
1980
|
if (isNaN(value) || value === null) {
|
1932
1981
|
return '';
|
1933
1982
|
}
|
1983
|
+
const numericOptions = {
|
1984
|
+
digits: 0,
|
1985
|
+
format: 'number',
|
1986
|
+
currencySign: 'standard',
|
1987
|
+
iso: 'USD',
|
1988
|
+
truncateAfter: 1000,
|
1989
|
+
...options,
|
1990
|
+
};
|
1934
1991
|
const decimalPlaceRegExp = /\.0+$|(\.[0-9]*[1-9])0+$/;
|
1935
|
-
const locale =
|
1936
|
-
const digits =
|
1992
|
+
const locale = numericOptions.locale || this.currentLocale;
|
1993
|
+
const digits = numericOptions.digits || 0;
|
1937
1994
|
// Get the symbol for the number after rounding, since rounding could push the number
|
1938
1995
|
// into a different symbol range.
|
1939
1996
|
let roundedNumber = __classPrivateFieldGet(this, _SkyNumericService_instances, "m", _SkyNumericService_roundNumber).call(this, value, digits);
|
@@ -1941,9 +1998,9 @@ class SkyNumericService {
|
|
1941
1998
|
let suffix = '';
|
1942
1999
|
for (let i = 0; i < __classPrivateFieldGet(this, _SkyNumericService_symbolIndex, "f").length; i++) {
|
1943
2000
|
let symbol = __classPrivateFieldGet(this, _SkyNumericService_symbolIndex, "f")[i];
|
1944
|
-
if (
|
1945
|
-
|
1946
|
-
roundedNumberAbs >=
|
2001
|
+
if (numericOptions.truncate &&
|
2002
|
+
numericOptions.truncateAfter !== undefined &&
|
2003
|
+
roundedNumberAbs >= numericOptions.truncateAfter &&
|
1947
2004
|
roundedNumberAbs >= symbol.value) {
|
1948
2005
|
roundedNumber = __classPrivateFieldGet(this, _SkyNumericService_instances, "m", _SkyNumericService_roundNumber).call(this, value / symbol.value, digits);
|
1949
2006
|
if (Math.abs(roundedNumber) === 1000 && i > 0) {
|
@@ -1960,7 +2017,7 @@ class SkyNumericService {
|
|
1960
2017
|
let digitsFormatted;
|
1961
2018
|
let isDecimal = false;
|
1962
2019
|
// Checks the string entered for format. Using toLowerCase to ignore case.
|
1963
|
-
switch (
|
2020
|
+
switch (numericOptions.format?.toLowerCase()) {
|
1964
2021
|
// In a case where a decimal value was not shortened and
|
1965
2022
|
// the digit input is 2 or higher, it forces 2 digits.
|
1966
2023
|
// For example, this prevents a value like $15.50 from displaying as $15.5.
|
@@ -1968,8 +2025,8 @@ class SkyNumericService {
|
|
1968
2025
|
// three decimal digits.
|
1969
2026
|
case 'currency':
|
1970
2027
|
isDecimal = value % 1 !== 0;
|
1971
|
-
if (
|
1972
|
-
digitsFormatted = `1.${
|
2028
|
+
if (numericOptions.minDigits) {
|
2029
|
+
digitsFormatted = `1.${numericOptions.minDigits}-${digits}`;
|
1973
2030
|
}
|
1974
2031
|
else if (isDecimal && digits >= 2) {
|
1975
2032
|
digitsFormatted = `1.2-${digits}`;
|
@@ -1977,12 +2034,12 @@ class SkyNumericService {
|
|
1977
2034
|
else {
|
1978
2035
|
digitsFormatted = `1.0-${digits}`;
|
1979
2036
|
}
|
1980
|
-
output = SkyNumberFormatUtility.formatNumber(locale, parseFloat(output), SkyIntlNumberFormatStyle.Currency, digitsFormatted,
|
2037
|
+
output = SkyNumberFormatUtility.formatNumber(locale, parseFloat(output), SkyIntlNumberFormatStyle.Currency, digitsFormatted, numericOptions.iso,
|
1981
2038
|
// Angular 5+ needs a string for this parameter, but Angular 4 needs a boolean.
|
1982
2039
|
// To support both versions we can supply 'symbol' which will evaluate truthy for Angular 4
|
1983
2040
|
// and the appropriate string value for Angular 5+.
|
1984
2041
|
// See: https://angular.io/api/common/CurrencyPipe#parameters
|
1985
|
-
'symbol',
|
2042
|
+
'symbol', numericOptions.currencySign);
|
1986
2043
|
// ^^^^^^ Result can't be null since the sanitized input is always a number.
|
1987
2044
|
break;
|
1988
2045
|
// The following is a catch-all to ensure that if
|
@@ -1991,10 +2048,10 @@ class SkyNumericService {
|
|
1991
2048
|
default:
|
1992
2049
|
// Ensures localization of the number to ensure comma and
|
1993
2050
|
// decimal separator
|
1994
|
-
if (
|
1995
|
-
digitsFormatted = `1.${
|
2051
|
+
if (numericOptions.minDigits) {
|
2052
|
+
digitsFormatted = `1.${numericOptions.minDigits}-${digits}`;
|
1996
2053
|
}
|
1997
|
-
else if (
|
2054
|
+
else if (numericOptions.truncate) {
|
1998
2055
|
digitsFormatted = `1.0-${digits}`;
|
1999
2056
|
}
|
2000
2057
|
else {
|
@@ -2004,7 +2061,7 @@ class SkyNumericService {
|
|
2004
2061
|
// ^^^^^^ Result can't be null since the sanitized input is always a number.
|
2005
2062
|
break;
|
2006
2063
|
}
|
2007
|
-
if (
|
2064
|
+
if (numericOptions.truncate) {
|
2008
2065
|
output = __classPrivateFieldGet(this, _SkyNumericService_instances, "m", _SkyNumericService_replaceShortenSymbol).call(this, output);
|
2009
2066
|
}
|
2010
2067
|
return output;
|
@@ -2055,9 +2112,9 @@ _SkyNumericService_resourcesSvc = new WeakMap(), _SkyNumericService_symbolIndex
|
|
2055
2112
|
// TODO: Need to implement the async `getString` method in a breaking change.
|
2056
2113
|
return __classPrivateFieldGet(this, _SkyNumericService_resourcesSvc, "f").getStringForLocale({ locale: 'en_US' }, key);
|
2057
2114
|
};
|
2058
|
-
SkyNumericService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2059
|
-
SkyNumericService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
2060
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2115
|
+
SkyNumericService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericService, deps: [{ token: i1.SkyLibResourcesService }], target: i0.ɵɵFactoryTarget.Injectable });
|
2116
|
+
SkyNumericService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericService, providedIn: 'any' });
|
2117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericService, decorators: [{
|
2061
2118
|
type: Injectable,
|
2062
2119
|
args: [{
|
2063
2120
|
providedIn: 'any',
|
@@ -2130,9 +2187,9 @@ class SkyNumericPipe {
|
|
2130
2187
|
}
|
2131
2188
|
}
|
2132
2189
|
_SkyNumericPipe_cacheKey = new WeakMap(), _SkyNumericPipe_changeDetector = new WeakMap(), _SkyNumericPipe_formattedValue = new WeakMap(), _SkyNumericPipe_ngUnsubscribe = new WeakMap(), _SkyNumericPipe_numericSvc = new WeakMap(), _SkyNumericPipe_providerLocale = new WeakMap();
|
2133
|
-
SkyNumericPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2134
|
-
SkyNumericPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1
|
2135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2190
|
+
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 });
|
2191
|
+
SkyNumericPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericPipe, name: "skyNumeric", pure: false });
|
2192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericPipe, decorators: [{
|
2136
2193
|
type: Pipe,
|
2137
2194
|
args: [{
|
2138
2195
|
name: 'skyNumeric',
|
@@ -2142,10 +2199,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
2142
2199
|
|
2143
2200
|
class SkyNumericModule {
|
2144
2201
|
}
|
2145
|
-
SkyNumericModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2146
|
-
SkyNumericModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
2147
|
-
SkyNumericModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
2148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2202
|
+
SkyNumericModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
2203
|
+
SkyNumericModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericModule, declarations: [SkyNumericPipe], imports: [SkyI18nModule, SkyCoreResourcesModule], exports: [SkyNumericPipe] });
|
2204
|
+
SkyNumericModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericModule, providers: [SkyNumericPipe], imports: [SkyI18nModule, SkyCoreResourcesModule] });
|
2205
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyNumericModule, decorators: [{
|
2149
2206
|
type: NgModule,
|
2150
2207
|
args: [{
|
2151
2208
|
declarations: [SkyNumericPipe],
|
@@ -2161,6 +2218,18 @@ var _SkyOverlayInstance_backdropClick, _SkyOverlayInstance_backdropClickObs, _Sk
|
|
2161
2218
|
* and access any public members on the appended content component instance.
|
2162
2219
|
*/
|
2163
2220
|
class SkyOverlayInstance {
|
2221
|
+
/**
|
2222
|
+
* Emits when the overlay is clicked (but not its content).
|
2223
|
+
*/
|
2224
|
+
get backdropClick() {
|
2225
|
+
return __classPrivateFieldGet(this, _SkyOverlayInstance_backdropClickObs, "f");
|
2226
|
+
}
|
2227
|
+
/**
|
2228
|
+
* Emits after the overlay is closed.
|
2229
|
+
*/
|
2230
|
+
get closed() {
|
2231
|
+
return __classPrivateFieldGet(this, _SkyOverlayInstance_closedObs, "f");
|
2232
|
+
}
|
2164
2233
|
constructor(
|
2165
2234
|
/**
|
2166
2235
|
* The configuration for the overlay.
|
@@ -2186,18 +2255,6 @@ class SkyOverlayInstance {
|
|
2186
2255
|
__classPrivateFieldSet(this, _SkyOverlayInstance_backdropClickObs, __classPrivateFieldGet(this, _SkyOverlayInstance_backdropClick, "f").asObservable(), "f");
|
2187
2256
|
__classPrivateFieldSet(this, _SkyOverlayInstance_closedObs, __classPrivateFieldGet(this, _SkyOverlayInstance_closed, "f").asObservable(), "f");
|
2188
2257
|
}
|
2189
|
-
/**
|
2190
|
-
* Emits when the overlay is clicked (but not its content).
|
2191
|
-
*/
|
2192
|
-
get backdropClick() {
|
2193
|
-
return __classPrivateFieldGet(this, _SkyOverlayInstance_backdropClickObs, "f");
|
2194
|
-
}
|
2195
|
-
/**
|
2196
|
-
* Emits after the overlay is closed.
|
2197
|
-
*/
|
2198
|
-
get closed() {
|
2199
|
-
return __classPrivateFieldGet(this, _SkyOverlayInstance_closedObs, "f");
|
2200
|
-
}
|
2201
2258
|
/**
|
2202
2259
|
* Creates and attaches a component to the overlay.
|
2203
2260
|
* @param component The component to attach.
|
@@ -2234,6 +2291,7 @@ class SkyOverlayContext {
|
|
2234
2291
|
}
|
2235
2292
|
|
2236
2293
|
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;
|
2294
|
+
const POSITION_DEFAULT = 'fixed';
|
2237
2295
|
/**
|
2238
2296
|
* Omnibar is 1000.
|
2239
2297
|
* See: https://github.com/blackbaud/auth-client/blob/master/src/omnibar/omnibar.ts#L139
|
@@ -2252,6 +2310,12 @@ let uniqueZIndex = 5000;
|
|
2252
2310
|
* @internal
|
2253
2311
|
*/
|
2254
2312
|
class SkyOverlayComponent {
|
2313
|
+
get backdropClick() {
|
2314
|
+
return __classPrivateFieldGet(this, _SkyOverlayComponent_backdropClickObs, "f");
|
2315
|
+
}
|
2316
|
+
get closed() {
|
2317
|
+
return __classPrivateFieldGet(this, _SkyOverlayComponent_closedObs, "f");
|
2318
|
+
}
|
2255
2319
|
constructor(changeDetector, injector, coreAdapter, context, idSvc, router) {
|
2256
2320
|
_SkyOverlayComponent_instances.add(this);
|
2257
2321
|
this.wrapperClass = '';
|
@@ -2259,6 +2323,7 @@ class SkyOverlayComponent {
|
|
2259
2323
|
this.showBackdrop = false;
|
2260
2324
|
this.zIndex = `${++uniqueZIndex}`;
|
2261
2325
|
this.clipPath$ = new ReplaySubject(1);
|
2326
|
+
this.position = POSITION_DEFAULT;
|
2262
2327
|
_SkyOverlayComponent_backdropClick.set(this, void 0);
|
2263
2328
|
_SkyOverlayComponent_backdropClickObs.set(this, void 0);
|
2264
2329
|
_SkyOverlayComponent_changeDetector.set(this, void 0);
|
@@ -2281,12 +2346,6 @@ class SkyOverlayComponent {
|
|
2281
2346
|
__classPrivateFieldSet(this, _SkyOverlayComponent_backdropClickObs, __classPrivateFieldGet(this, _SkyOverlayComponent_backdropClick, "f").asObservable(), "f");
|
2282
2347
|
__classPrivateFieldSet(this, _SkyOverlayComponent_closedObs, __classPrivateFieldGet(this, _SkyOverlayComponent_closed, "f").asObservable(), "f");
|
2283
2348
|
}
|
2284
|
-
get backdropClick() {
|
2285
|
-
return __classPrivateFieldGet(this, _SkyOverlayComponent_backdropClickObs, "f");
|
2286
|
-
}
|
2287
|
-
get closed() {
|
2288
|
-
return __classPrivateFieldGet(this, _SkyOverlayComponent_closedObs, "f");
|
2289
|
-
}
|
2290
2349
|
ngOnInit() {
|
2291
2350
|
__classPrivateFieldGet(this, _SkyOverlayComponent_instances, "m", _SkyOverlayComponent_applyConfig).call(this, __classPrivateFieldGet(this, _SkyOverlayComponent_context, "f").config);
|
2292
2351
|
setTimeout(() => {
|
@@ -2347,6 +2406,7 @@ _SkyOverlayComponent_backdropClick = new WeakMap(), _SkyOverlayComponent_backdro
|
|
2347
2406
|
this.wrapperClass = config.wrapperClass || '';
|
2348
2407
|
this.showBackdrop = !!config.showBackdrop;
|
2349
2408
|
this.enablePointerEvents = !!config.enablePointerEvents;
|
2409
|
+
this.position = config.position || POSITION_DEFAULT;
|
2350
2410
|
__classPrivateFieldGet(this, _SkyOverlayComponent_changeDetector, "f").markForCheck();
|
2351
2411
|
}, _SkyOverlayComponent_addBackdropClickListener = function _SkyOverlayComponent_addBackdropClickListener() {
|
2352
2412
|
fromEvent(window.document, 'click')
|
@@ -2380,11 +2440,11 @@ _SkyOverlayComponent_backdropClick = new WeakMap(), _SkyOverlayComponent_backdro
|
|
2380
2440
|
__classPrivateFieldSet(this, _SkyOverlayComponent_routerSubscription, undefined, "f");
|
2381
2441
|
}
|
2382
2442
|
};
|
2383
|
-
SkyOverlayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2384
|
-
SkyOverlayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1
|
2385
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2443
|
+
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 });
|
2444
|
+
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 });
|
2445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayComponent, decorators: [{
|
2386
2446
|
type: Component,
|
2387
|
-
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{
|
2447
|
+
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"] }]
|
2388
2448
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.Injector }, { type: SkyCoreAdapterService }, { type: SkyOverlayContext }, { type: SkyIdService }, { type: i4.Router, decorators: [{
|
2389
2449
|
type: Optional
|
2390
2450
|
}] }]; }, propDecorators: { id: [{
|
@@ -2412,10 +2472,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
2412
2472
|
|
2413
2473
|
class SkyOverlayModule {
|
2414
2474
|
}
|
2415
|
-
SkyOverlayModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2416
|
-
SkyOverlayModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
2417
|
-
SkyOverlayModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
2418
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2475
|
+
SkyOverlayModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
2476
|
+
SkyOverlayModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayModule, declarations: [SkyOverlayComponent], imports: [CommonModule] });
|
2477
|
+
SkyOverlayModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayModule, imports: [CommonModule] });
|
2478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayModule, decorators: [{
|
2419
2479
|
type: NgModule,
|
2420
2480
|
args: [{
|
2421
2481
|
imports: [CommonModule],
|
@@ -2458,9 +2518,9 @@ _SkyOverlayAdapterService_renderer = new WeakMap(), _SkyOverlayAdapterService_st
|
|
2458
2518
|
__classPrivateFieldGet(this, _SkyOverlayAdapterService_renderer, "f").removeChild(document.head, __classPrivateFieldGet(this, _SkyOverlayAdapterService_styleElement, "f"));
|
2459
2519
|
}
|
2460
2520
|
};
|
2461
|
-
SkyOverlayAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2462
|
-
SkyOverlayAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
2463
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2521
|
+
SkyOverlayAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayAdapterService, deps: [{ token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
|
2522
|
+
SkyOverlayAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayAdapterService, providedIn: 'root' });
|
2523
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayAdapterService, decorators: [{
|
2464
2524
|
type: Injectable,
|
2465
2525
|
args: [{
|
2466
2526
|
providedIn: 'root',
|
@@ -2576,9 +2636,9 @@ _SkyOverlayService_adapter = new WeakMap(), _SkyOverlayService_applicationRef =
|
|
2576
2636
|
}
|
2577
2637
|
};
|
2578
2638
|
SkyOverlayService.overlays = [];
|
2579
|
-
SkyOverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2580
|
-
SkyOverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
2581
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2639
|
+
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 });
|
2640
|
+
SkyOverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayService, providedIn: 'root' });
|
2641
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyOverlayService, decorators: [{
|
2582
2642
|
type: Injectable,
|
2583
2643
|
args: [{
|
2584
2644
|
providedIn: 'root',
|
@@ -2587,6 +2647,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
2587
2647
|
|
2588
2648
|
var _SkyPercentPipe_instances, _SkyPercentPipe_defaultFormat, _SkyPercentPipe_defaultLocale, _SkyPercentPipe_format, _SkyPercentPipe_formattedValue, _SkyPercentPipe_locale, _SkyPercentPipe_ngUnsubscribe, _SkyPercentPipe_value, _SkyPercentPipe_updateFormattedValue;
|
2589
2649
|
class SkyPercentPipe {
|
2650
|
+
get defaultLocale() {
|
2651
|
+
return __classPrivateFieldGet(this, _SkyPercentPipe_defaultLocale, "f");
|
2652
|
+
}
|
2590
2653
|
constructor(localeProvider) {
|
2591
2654
|
_SkyPercentPipe_instances.add(this);
|
2592
2655
|
_SkyPercentPipe_defaultFormat.set(this, '1.0-2');
|
@@ -2604,9 +2667,6 @@ class SkyPercentPipe {
|
|
2604
2667
|
__classPrivateFieldGet(this, _SkyPercentPipe_instances, "m", _SkyPercentPipe_updateFormattedValue).call(this);
|
2605
2668
|
});
|
2606
2669
|
}
|
2607
|
-
get defaultLocale() {
|
2608
|
-
return __classPrivateFieldGet(this, _SkyPercentPipe_defaultLocale, "f");
|
2609
|
-
}
|
2610
2670
|
ngOnDestroy() {
|
2611
2671
|
__classPrivateFieldGet(this, _SkyPercentPipe_ngUnsubscribe, "f").next();
|
2612
2672
|
__classPrivateFieldGet(this, _SkyPercentPipe_ngUnsubscribe, "f").complete();
|
@@ -2626,9 +2686,9 @@ _SkyPercentPipe_defaultFormat = new WeakMap(), _SkyPercentPipe_defaultLocale = n
|
|
2626
2686
|
? SkyNumberFormatUtility.formatNumber(locale, __classPrivateFieldGet(this, _SkyPercentPipe_value, "f"), SkyIntlNumberFormatStyle.Percent, format)
|
2627
2687
|
: '', "f");
|
2628
2688
|
};
|
2629
|
-
SkyPercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2630
|
-
SkyPercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1
|
2631
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2689
|
+
SkyPercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyPercentPipe, deps: [{ token: i1.SkyAppLocaleProvider }], target: i0.ɵɵFactoryTarget.Pipe });
|
2690
|
+
SkyPercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyPercentPipe, name: "skyPercent", pure: false });
|
2691
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyPercentPipe, decorators: [{
|
2632
2692
|
type: Pipe,
|
2633
2693
|
args: [{
|
2634
2694
|
name: 'skyPercent',
|
@@ -2638,10 +2698,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
2638
2698
|
|
2639
2699
|
class SkyPercentPipeModule {
|
2640
2700
|
}
|
2641
|
-
SkyPercentPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2642
|
-
SkyPercentPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
2643
|
-
SkyPercentPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
2644
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2701
|
+
SkyPercentPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyPercentPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
2702
|
+
SkyPercentPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyPercentPipeModule, declarations: [SkyPercentPipe], imports: [CommonModule, SkyCoreResourcesModule], exports: [SkyPercentPipe] });
|
2703
|
+
SkyPercentPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyPercentPipeModule, providers: [SkyPercentPipe], imports: [CommonModule, SkyCoreResourcesModule] });
|
2704
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyPercentPipeModule, decorators: [{
|
2645
2705
|
type: NgModule,
|
2646
2706
|
args: [{
|
2647
2707
|
declarations: [SkyPercentPipe],
|
@@ -2716,9 +2776,9 @@ _SkyResizeObserverService_resizeObserver = new WeakMap(), _SkyResizeObserverServ
|
|
2716
2776
|
}
|
2717
2777
|
});
|
2718
2778
|
};
|
2719
|
-
SkyResizeObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2720
|
-
SkyResizeObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
2721
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2779
|
+
SkyResizeObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyResizeObserverService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
2780
|
+
SkyResizeObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyResizeObserverService, providedIn: 'any' });
|
2781
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyResizeObserverService, decorators: [{
|
2722
2782
|
type: Injectable,
|
2723
2783
|
args: [{
|
2724
2784
|
providedIn: 'any',
|
@@ -2731,6 +2791,12 @@ const DEFAULT_BREAKPOINT = SkyMediaBreakpoints.md;
|
|
2731
2791
|
* Acts like `SkyMediaQueryService` for a container element, emitting the same responsive breakpoints.
|
2732
2792
|
*/
|
2733
2793
|
class SkyResizeObserverMediaQueryService {
|
2794
|
+
/**
|
2795
|
+
* Returns the current breakpoint.
|
2796
|
+
*/
|
2797
|
+
get current() {
|
2798
|
+
return __classPrivateFieldGet(this, _SkyResizeObserverMediaQueryService_currentBreakpoint, "f");
|
2799
|
+
}
|
2734
2800
|
constructor(resizeObserverSvc) {
|
2735
2801
|
_SkyResizeObserverMediaQueryService_instances.add(this);
|
2736
2802
|
_SkyResizeObserverMediaQueryService_breakpoints.set(this, [
|
@@ -2758,12 +2824,6 @@ class SkyResizeObserverMediaQueryService {
|
|
2758
2824
|
_SkyResizeObserverMediaQueryService_target.set(this, void 0);
|
2759
2825
|
__classPrivateFieldSet(this, _SkyResizeObserverMediaQueryService_resizeObserverSvc, resizeObserverSvc, "f");
|
2760
2826
|
}
|
2761
|
-
/**
|
2762
|
-
* Returns the current breakpoint.
|
2763
|
-
*/
|
2764
|
-
get current() {
|
2765
|
-
return __classPrivateFieldGet(this, _SkyResizeObserverMediaQueryService_currentBreakpoint, "f");
|
2766
|
-
}
|
2767
2827
|
ngOnDestroy() {
|
2768
2828
|
this.unobserve();
|
2769
2829
|
__classPrivateFieldSet(this, _SkyResizeObserverMediaQueryService_target, undefined, "f");
|
@@ -2830,9 +2890,9 @@ _SkyResizeObserverMediaQueryService_breakpoints = new WeakMap(), _SkyResizeObser
|
|
2830
2890
|
__classPrivateFieldGet(this, _SkyResizeObserverMediaQueryService_instances, "m", _SkyResizeObserverMediaQueryService_updateBreakpoint).call(this, breakpoint);
|
2831
2891
|
}
|
2832
2892
|
};
|
2833
|
-
SkyResizeObserverMediaQueryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
2834
|
-
SkyResizeObserverMediaQueryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
2835
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
2893
|
+
SkyResizeObserverMediaQueryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyResizeObserverMediaQueryService, deps: [{ token: SkyResizeObserverService }], target: i0.ɵɵFactoryTarget.Injectable });
|
2894
|
+
SkyResizeObserverMediaQueryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyResizeObserverMediaQueryService, providedIn: 'any' });
|
2895
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyResizeObserverMediaQueryService, decorators: [{
|
2836
2896
|
type: Injectable,
|
2837
2897
|
args: [{
|
2838
2898
|
providedIn: 'any',
|
@@ -3038,9 +3098,9 @@ _SkyScrollableHostService_mutationObserverSvc = new WeakMap(), _SkyScrollableHos
|
|
3038
3098
|
height: docElem.clientHeight,
|
3039
3099
|
};
|
3040
3100
|
};
|
3041
|
-
SkyScrollableHostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3042
|
-
SkyScrollableHostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
3043
|
-
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: [{
|
3044
3104
|
type: Injectable,
|
3045
3105
|
args: [{
|
3046
3106
|
providedIn: 'root',
|
@@ -3070,9 +3130,9 @@ class SkyAppTitleService {
|
|
3070
3130
|
}
|
3071
3131
|
}
|
3072
3132
|
_SkyAppTitleService_title = new WeakMap();
|
3073
|
-
SkyAppTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3074
|
-
SkyAppTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
3075
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3133
|
+
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 });
|
3134
|
+
SkyAppTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppTitleService, providedIn: 'root' });
|
3135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyAppTitleService, decorators: [{
|
3076
3136
|
type: Injectable,
|
3077
3137
|
args: [{
|
3078
3138
|
providedIn: 'root',
|
@@ -3131,9 +3191,9 @@ _SkyTrimDirective_elRef = new WeakMap(), _SkyTrimDirective_obs = new WeakMap(),
|
|
3131
3191
|
}
|
3132
3192
|
__classPrivateFieldGet(this, _SkyTrimDirective_instances, "m", _SkyTrimDirective_observe).call(this);
|
3133
3193
|
};
|
3134
|
-
SkyTrimDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3135
|
-
SkyTrimDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1
|
3136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3194
|
+
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 });
|
3195
|
+
SkyTrimDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", type: SkyTrimDirective, selector: "[skyTrim]", ngImport: i0 });
|
3196
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyTrimDirective, decorators: [{
|
3137
3197
|
type: Directive,
|
3138
3198
|
args: [{
|
3139
3199
|
selector: '[skyTrim]',
|
@@ -3142,10 +3202,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
3142
3202
|
|
3143
3203
|
class SkyTrimModule {
|
3144
3204
|
}
|
3145
|
-
SkyTrimModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3146
|
-
SkyTrimModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
3147
|
-
SkyTrimModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
3148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3205
|
+
SkyTrimModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyTrimModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
3206
|
+
SkyTrimModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyTrimModule, declarations: [SkyTrimDirective], exports: [SkyTrimDirective] });
|
3207
|
+
SkyTrimModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyTrimModule });
|
3208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyTrimModule, decorators: [{
|
3149
3209
|
type: NgModule,
|
3150
3210
|
args: [{
|
3151
3211
|
declarations: [SkyTrimDirective],
|
@@ -3162,9 +3222,9 @@ class SkyUIConfigService {
|
|
3162
3222
|
return of({});
|
3163
3223
|
}
|
3164
3224
|
}
|
3165
|
-
SkyUIConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3166
|
-
SkyUIConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
3167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3225
|
+
SkyUIConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyUIConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
3226
|
+
SkyUIConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyUIConfigService, providedIn: 'root' });
|
3227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyUIConfigService, decorators: [{
|
3168
3228
|
type: Injectable,
|
3169
3229
|
args: [{
|
3170
3230
|
providedIn: 'root',
|
@@ -3173,9 +3233,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
3173
3233
|
|
3174
3234
|
class SkyViewkeeperHostOptions {
|
3175
3235
|
}
|
3176
|
-
SkyViewkeeperHostOptions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3177
|
-
SkyViewkeeperHostOptions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
3178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3236
|
+
SkyViewkeeperHostOptions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperHostOptions, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
3237
|
+
SkyViewkeeperHostOptions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperHostOptions });
|
3238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperHostOptions, decorators: [{
|
3179
3239
|
type: Injectable
|
3180
3240
|
}] });
|
3181
3241
|
|
@@ -3480,9 +3540,9 @@ class SkyViewkeeperService {
|
|
3480
3540
|
}
|
3481
3541
|
}
|
3482
3542
|
_SkyViewkeeperService_hostOptions = new WeakMap();
|
3483
|
-
SkyViewkeeperService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3484
|
-
SkyViewkeeperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1
|
3485
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3543
|
+
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 });
|
3544
|
+
SkyViewkeeperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperService, providedIn: 'root' });
|
3545
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperService, decorators: [{
|
3486
3546
|
type: Injectable,
|
3487
3547
|
args: [{
|
3488
3548
|
providedIn: 'root',
|
@@ -3493,6 +3553,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
3493
3553
|
|
3494
3554
|
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;
|
3495
3555
|
class SkyViewkeeperDirective {
|
3556
|
+
set skyViewkeeper(value) {
|
3557
|
+
__classPrivateFieldSet(this, _SkyViewkeeperDirective__skyViewkeeper, value, "f");
|
3558
|
+
__classPrivateFieldGet(this, _SkyViewkeeperDirective_instances, "m", _SkyViewkeeperDirective_detectElements).call(this);
|
3559
|
+
}
|
3560
|
+
get skyViewkeeper() {
|
3561
|
+
return __classPrivateFieldGet(this, _SkyViewkeeperDirective__skyViewkeeper, "f");
|
3562
|
+
}
|
3496
3563
|
constructor(el, mutationObserverSvc, viewkeeperSvc, scrollableHostSvc) {
|
3497
3564
|
_SkyViewkeeperDirective_instances.add(this);
|
3498
3565
|
_SkyViewkeeperDirective__skyViewkeeper.set(this, void 0);
|
@@ -3509,13 +3576,6 @@ class SkyViewkeeperDirective {
|
|
3509
3576
|
__classPrivateFieldSet(this, _SkyViewkeeperDirective_viewkeeperSvc, viewkeeperSvc, "f");
|
3510
3577
|
__classPrivateFieldSet(this, _SkyViewkeeperDirective_scrollableHostSvc, scrollableHostSvc, "f");
|
3511
3578
|
}
|
3512
|
-
set skyViewkeeper(value) {
|
3513
|
-
__classPrivateFieldSet(this, _SkyViewkeeperDirective__skyViewkeeper, value, "f");
|
3514
|
-
__classPrivateFieldGet(this, _SkyViewkeeperDirective_instances, "m", _SkyViewkeeperDirective_detectElements).call(this);
|
3515
|
-
}
|
3516
|
-
get skyViewkeeper() {
|
3517
|
-
return __classPrivateFieldGet(this, _SkyViewkeeperDirective__skyViewkeeper, "f");
|
3518
|
-
}
|
3519
3579
|
ngOnInit() {
|
3520
3580
|
__classPrivateFieldSet(this, _SkyViewkeeperDirective_observer, __classPrivateFieldGet(this, _SkyViewkeeperDirective_mutationObserverSvc, "f").create(() => __classPrivateFieldGet(this, _SkyViewkeeperDirective_instances, "m", _SkyViewkeeperDirective_detectElements).call(this)), "f");
|
3521
3581
|
__classPrivateFieldGet(this, _SkyViewkeeperDirective_observer, "f").observe(__classPrivateFieldGet(this, _SkyViewkeeperDirective_el, "f").nativeElement, {
|
@@ -3601,9 +3661,9 @@ _SkyViewkeeperDirective__skyViewkeeper = new WeakMap(), _SkyViewkeeperDirective_
|
|
3601
3661
|
__classPrivateFieldSet(this, _SkyViewkeeperDirective_currentViewkeeperEls, viewkeeperEls, "f");
|
3602
3662
|
}
|
3603
3663
|
};
|
3604
|
-
SkyViewkeeperDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3605
|
-
SkyViewkeeperDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1
|
3606
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3664
|
+
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 });
|
3665
|
+
SkyViewkeeperDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", type: SkyViewkeeperDirective, selector: "[skyViewkeeper]", inputs: { skyViewkeeper: "skyViewkeeper" }, ngImport: i0 });
|
3666
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperDirective, decorators: [{
|
3607
3667
|
type: Directive,
|
3608
3668
|
args: [{
|
3609
3669
|
selector: '[skyViewkeeper]',
|
@@ -3616,10 +3676,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
3616
3676
|
|
3617
3677
|
class SkyViewkeeperModule {
|
3618
3678
|
}
|
3619
|
-
SkyViewkeeperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1
|
3620
|
-
SkyViewkeeperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1
|
3621
|
-
SkyViewkeeperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1
|
3622
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1
|
3679
|
+
SkyViewkeeperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
3680
|
+
SkyViewkeeperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperModule, declarations: [SkyViewkeeperDirective], exports: [SkyViewkeeperDirective] });
|
3681
|
+
SkyViewkeeperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperModule });
|
3682
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyViewkeeperModule, decorators: [{
|
3623
3683
|
type: NgModule,
|
3624
3684
|
args: [{
|
3625
3685
|
declarations: [SkyViewkeeperDirective],
|