@skyux/core 6.16.0 → 6.18.0

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.
Files changed (79) hide show
  1. package/documentation.json +1042 -892
  2. package/esm2020/lib/modules/adapter-service/adapter.service.mjs +21 -22
  3. package/esm2020/lib/modules/affix/affix-offset.mjs +1 -1
  4. package/esm2020/lib/modules/affix/affix.directive.mjs +38 -23
  5. package/esm2020/lib/modules/affix/affixer.mjs +266 -260
  6. package/esm2020/lib/modules/affix/dom-utils.mjs +7 -7
  7. package/esm2020/lib/modules/dock/dock-dom-adapter.service.mjs +48 -44
  8. package/esm2020/lib/modules/dock/dock-item.mjs +10 -5
  9. package/esm2020/lib/modules/dock/dock.component.mjs +55 -31
  10. package/esm2020/lib/modules/dock/dock.service.mjs +40 -36
  11. package/esm2020/lib/modules/dynamic-component/dynamic-component.service.mjs +37 -22
  12. package/esm2020/lib/modules/log/log.service.mjs +37 -37
  13. package/esm2020/lib/modules/media-query/media-query.service.mjs +50 -47
  14. package/esm2020/lib/modules/mutation/mutation-observer-service.mjs +3 -1
  15. package/esm2020/lib/modules/numeric/numeric.pipe.mjs +26 -19
  16. package/esm2020/lib/modules/numeric/numeric.service.mjs +84 -99
  17. package/esm2020/lib/modules/overlay/overlay-adapter.service.mjs +23 -17
  18. package/esm2020/lib/modules/overlay/overlay-instance.mjs +18 -9
  19. package/esm2020/lib/modules/overlay/overlay.component.mjs +79 -55
  20. package/esm2020/lib/modules/overlay/overlay.service.mjs +55 -49
  21. package/esm2020/lib/modules/percent-pipe/percent.pipe.mjs +32 -21
  22. package/esm2020/lib/modules/resize-observer/resize-observer-media-query.service.mjs +38 -46
  23. package/esm2020/lib/modules/scrollable-host/scrollable-host.service.mjs +66 -67
  24. package/esm2020/lib/modules/title/title.service.mjs +8 -4
  25. package/esm2020/lib/modules/trim/trim.directive.mjs +10 -11
  26. package/esm2020/lib/modules/viewkeeper/viewkeeper-boundary-info.mjs +1 -1
  27. package/esm2020/lib/modules/viewkeeper/viewkeeper.directive.mjs +75 -60
  28. package/esm2020/lib/modules/viewkeeper/viewkeeper.mjs +166 -156
  29. package/esm2020/lib/modules/viewkeeper/viewkeeper.service.mjs +7 -3
  30. package/esm2020/testing/core-testing.module.mjs +4 -1
  31. package/esm2020/testing/mock-media-query.service.mjs +4 -1
  32. package/esm2020/testing/mock-ui-config.service.mjs +4 -1
  33. package/esm2020/testing/overlay/overlay-harness-filters.mjs +1 -1
  34. package/esm2020/testing/overlay/overlay-harness.mjs +2 -1
  35. package/esm2020/testing/shared/component-harness.mjs +4 -1
  36. package/esm2020/testing/shared/harness-filters.mjs +1 -1
  37. package/fesm2015/skyux-core-testing.mjs +13 -0
  38. package/fesm2015/skyux-core-testing.mjs.map +1 -1
  39. package/fesm2015/skyux-core.mjs +1276 -1151
  40. package/fesm2015/skyux-core.mjs.map +1 -1
  41. package/fesm2020/skyux-core-testing.mjs +13 -0
  42. package/fesm2020/skyux-core-testing.mjs.map +1 -1
  43. package/fesm2020/skyux-core.mjs +1278 -1150
  44. package/fesm2020/skyux-core.mjs.map +1 -1
  45. package/lib/modules/adapter-service/adapter.service.d.ts +3 -5
  46. package/lib/modules/affix/affix-offset.d.ts +1 -1
  47. package/lib/modules/affix/affix.directive.d.ts +12 -13
  48. package/lib/modules/affix/affixer.d.ts +2 -34
  49. package/lib/modules/affix/dom-utils.d.ts +3 -3
  50. package/lib/modules/dock/dock-dom-adapter.service.d.ts +2 -9
  51. package/lib/modules/dock/dock-item.d.ts +1 -1
  52. package/lib/modules/dock/dock.component.d.ts +2 -10
  53. package/lib/modules/dock/dock.service.d.ts +2 -5
  54. package/lib/modules/dynamic-component/dynamic-component.service.d.ts +2 -7
  55. package/lib/modules/log/log.service.d.ts +2 -6
  56. package/lib/modules/media-query/media-query.service.d.ts +1 -8
  57. package/lib/modules/numeric/numeric.pipe.d.ts +2 -8
  58. package/lib/modules/numeric/numeric.service.d.ts +3 -36
  59. package/lib/modules/overlay/overlay-adapter.service.d.ts +1 -3
  60. package/lib/modules/overlay/overlay-instance.d.ts +1 -2
  61. package/lib/modules/overlay/overlay.component.d.ts +1 -14
  62. package/lib/modules/overlay/overlay.service.d.ts +1 -7
  63. package/lib/modules/percent-pipe/percent.pipe.d.ts +2 -9
  64. package/lib/modules/resize-observer/resize-observer-media-query.service.d.ts +2 -7
  65. package/lib/modules/scrollable-host/scrollable-host.service.d.ts +2 -11
  66. package/lib/modules/title/title.service.d.ts +2 -2
  67. package/lib/modules/trim/trim.directive.d.ts +0 -2
  68. package/lib/modules/viewkeeper/viewkeeper-boundary-info.d.ts +1 -1
  69. package/lib/modules/viewkeeper/viewkeeper.d.ts +2 -24
  70. package/lib/modules/viewkeeper/viewkeeper.directive.d.ts +4 -16
  71. package/lib/modules/viewkeeper/viewkeeper.service.d.ts +1 -1
  72. package/package.json +2 -2
  73. package/testing/core-testing.module.d.ts +3 -0
  74. package/testing/mock-media-query.service.d.ts +3 -0
  75. package/testing/mock-ui-config.service.d.ts +3 -0
  76. package/testing/overlay/overlay-harness-filters.d.ts +1 -0
  77. package/testing/overlay/overlay-harness.d.ts +1 -0
  78. package/testing/shared/component-harness.d.ts +3 -0
  79. package/testing/shared/harness-filters.d.ts +1 -0
@@ -27,7 +27,7 @@ export declare class SkyCoreAdapterService {
27
27
  * @param elementRef - The element to search within.
28
28
  * @return Returns `true` if a child element with autofocus is found.
29
29
  */
30
- applyAutoFocus(elementRef: ElementRef): boolean;
30
+ applyAutoFocus(elementRef?: ElementRef): boolean;
31
31
  /**
32
32
  * Sets focus on the first focusable child of the `elementRef` parameter.
33
33
  * If no focusable children are found, and `focusOnContainerIfNoChildrenFound` is `true`,
@@ -39,14 +39,14 @@ export declare class SkyCoreAdapterService {
39
39
  * @param focusOnContainerIfNoChildrenFound - It set to `true`, the container will
40
40
  * recieve focus if no focusable children are found.
41
41
  */
42
- getFocusableChildrenAndApplyFocus(elementRef: ElementRef, containerSelector: string, focusOnContainerIfNoChildrenFound?: boolean): void;
42
+ getFocusableChildrenAndApplyFocus(elementRef: ElementRef, containerSelector?: string, focusOnContainerIfNoChildrenFound?: boolean): void;
43
43
  /**
44
44
  * Returns an array of all focusable children of provided `element`.
45
45
  *
46
46
  * @param element - The HTMLElement to search within.
47
47
  * @param options - Options for getting focusable children.
48
48
  */
49
- getFocusableChildren(element: HTMLElement, options?: SkyFocusableChildrenOptions): HTMLElement[];
49
+ getFocusableChildren(element?: HTMLElement, options?: SkyFocusableChildrenOptions): HTMLElement[];
50
50
  /**
51
51
  * Returns the clientWidth of the provided elementRef.
52
52
  * @param elementRef - The element to calculate width from.
@@ -70,8 +70,6 @@ export declare class SkyCoreAdapterService {
70
70
  * @param selector - The CSS selector to use when finding elements for syncing height.
71
71
  */
72
72
  syncMaxHeight(elementRef: ElementRef, selector: string): void;
73
- private focusFirstElement;
74
- private isVisible;
75
73
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyCoreAdapterService, never>;
76
74
  static ɵprov: i0.ɵɵInjectableDeclaration<SkyCoreAdapterService>;
77
75
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @internal
2
+ * Offset values used by the affixer.
3
3
  */
4
4
  export interface SkyAffixOffset {
5
5
  bottom?: number;
@@ -1,4 +1,4 @@
1
- import { ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
1
+ import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { SkyAffixAutoFitContext } from './affix-auto-fit-context';
3
3
  import { SkyAffixHorizontalAlignment } from './affix-horizontal-alignment';
4
4
  import { SkyAffixOffset } from './affix-offset';
@@ -11,40 +11,40 @@ import * as i0 from "@angular/core";
11
11
  /**
12
12
  * Affixes the host element to a base element.
13
13
  */
14
- export declare class SkyAffixDirective implements OnChanges, OnDestroy {
15
- private affixService;
14
+ export declare class SkyAffixDirective implements OnInit, OnChanges, OnDestroy {
15
+ #private;
16
16
  /**
17
17
  * The base element to affix the host element.
18
18
  */
19
- skyAffixTo: HTMLElement;
19
+ skyAffixTo: HTMLElement | undefined;
20
20
  /**
21
21
  * Sets the `autoFitContext` property of [[SkyAffixConfig]].
22
22
  */
23
- affixAutoFitContext: SkyAffixAutoFitContext;
23
+ affixAutoFitContext: SkyAffixAutoFitContext | undefined;
24
24
  /**
25
25
  * Sets the `autoFitOverflowOffset` property of [[SkyAffixConfig]].
26
26
  */
27
- affixAutoFitOverflowOffset: SkyAffixOffset;
27
+ affixAutoFitOverflowOffset: SkyAffixOffset | undefined;
28
28
  /**
29
29
  * Sets the `enableAutoFit` property of [[SkyAffixConfig]].
30
30
  */
31
- affixEnableAutoFit: boolean;
31
+ affixEnableAutoFit: boolean | undefined;
32
32
  /**
33
33
  * Sets the `horizontalAlignment` property of [[SkyAffixConfig]].
34
34
  */
35
- affixHorizontalAlignment: SkyAffixHorizontalAlignment;
35
+ affixHorizontalAlignment: SkyAffixHorizontalAlignment | undefined;
36
36
  /**
37
37
  * Sets the `isSticky` property of [[SkyAffixConfig]].
38
38
  */
39
- affixIsSticky: boolean;
39
+ affixIsSticky: boolean | undefined;
40
40
  /**
41
41
  * Sets the `placement` property of [[SkyAffixConfig]].
42
42
  */
43
- affixPlacement: SkyAffixPlacement;
43
+ affixPlacement: SkyAffixPlacement | undefined;
44
44
  /**
45
45
  * Sets the `verticalAlignment` property of [[SkyAffixConfig]].
46
46
  */
47
- affixVerticalAlignment: SkyAffixVerticalAlignment;
47
+ affixVerticalAlignment: SkyAffixVerticalAlignment | undefined;
48
48
  /**
49
49
  * Fires when the affixed element's offset changes.
50
50
  */
@@ -57,9 +57,8 @@ export declare class SkyAffixDirective implements OnChanges, OnDestroy {
57
57
  * Fires when the placement value changes.
58
58
  */
59
59
  affixPlacementChange: EventEmitter<SkyAffixPlacementChange>;
60
- private affixer;
61
- private ngUnsubscribe;
62
60
  constructor(elementRef: ElementRef, affixService: SkyAffixService);
61
+ ngOnInit(): void;
63
62
  ngOnChanges(changes: SimpleChanges): void;
64
63
  ngOnDestroy(): void;
65
64
  private updateAlignment;
@@ -4,8 +4,7 @@ import { SkyAffixConfig } from './affix-config';
4
4
  import { SkyAffixOffsetChange } from './affix-offset-change';
5
5
  import { SkyAffixPlacementChange } from './affix-placement-change';
6
6
  export declare class SkyAffixer {
7
- private affixedElement;
8
- private renderer;
7
+ #private;
9
8
  /**
10
9
  * Fires when the affixed element's offset changes.
11
10
  */
@@ -21,20 +20,6 @@ export declare class SkyAffixer {
21
20
  * placement could not be found.
22
21
  */
23
22
  get placementChange(): Observable<SkyAffixPlacementChange>;
24
- private get config();
25
- private set config(value);
26
- private affixedRect;
27
- private baseElement;
28
- private baseRect;
29
- private currentOffset;
30
- private currentPlacement;
31
- private overflowParents;
32
- private resizeListener;
33
- private scrollListeners;
34
- private _config;
35
- private _offsetChange;
36
- private _overflowScroll;
37
- private _placementChange;
38
23
  constructor(affixedElement: HTMLElement, renderer: Renderer2);
39
24
  /**
40
25
  * Affixes an element to a base element.
@@ -42,6 +27,7 @@ export declare class SkyAffixer {
42
27
  * @param config Configuration for the affix action.
43
28
  */
44
29
  affixTo(baseElement: HTMLElement, config?: SkyAffixConfig): void;
30
+ getConfig(): SkyAffixConfig;
45
31
  /**
46
32
  * Re-runs the affix calculation.
47
33
  */
@@ -50,22 +36,4 @@ export declare class SkyAffixer {
50
36
  * Destroys the affixer.
51
37
  */
52
38
  destroy(): void;
53
- private affix;
54
- private getOffset;
55
- private getPreferredOffset;
56
- /**
57
- * Slightly adjust the offset to fit within the scroll parent's boundaries if
58
- * the affixed element would otherwise be clipped.
59
- */
60
- private adjustOffsetToOverflowParent;
61
- private getImmediateOverflowParent;
62
- private getAutoFitContextParent;
63
- private notifyPlacementChange;
64
- private reset;
65
- private isNewOffset;
66
- private isBaseElementVisible;
67
- private addScrollListeners;
68
- private addResizeListener;
69
- private removeResizeListener;
70
- private removeScrollListeners;
71
39
  }
@@ -4,12 +4,12 @@ import { SkyAffixOffset } from './affix-offset';
4
4
  * @param element The HTML element.
5
5
  * @param bufferOffset An optional offset to add/subtract to the element's actual offset.
6
6
  */
7
- export declare function getElementOffset(element: HTMLElement, bufferOffset?: SkyAffixOffset): SkyAffixOffset;
7
+ export declare function getElementOffset(element: HTMLElement, bufferOffset?: SkyAffixOffset): Required<SkyAffixOffset>;
8
8
  export declare function getOverflowParents(child: HTMLElement): HTMLElement[];
9
9
  /**
10
10
  * Confirms offset is fully visible within a parent element.
11
11
  * @param parent
12
12
  * @param offset
13
13
  */
14
- export declare function isOffsetFullyVisibleWithinParent(parent: HTMLElement, offset: SkyAffixOffset, bufferOffset?: SkyAffixOffset): boolean;
15
- export declare function isOffsetPartiallyVisibleWithinParent(parent: HTMLElement, offset: SkyAffixOffset, bufferOffset?: SkyAffixOffset): boolean;
14
+ export declare function isOffsetFullyVisibleWithinParent(parent: HTMLElement, offset: Required<SkyAffixOffset>, bufferOffset?: SkyAffixOffset): boolean;
15
+ export declare function isOffsetPartiallyVisibleWithinParent(parent: HTMLElement, offset: Required<SkyAffixOffset>, bufferOffset?: SkyAffixOffset): boolean;
@@ -5,20 +5,13 @@ import * as i0 from "@angular/core";
5
5
  * @internal
6
6
  */
7
7
  export declare class SkyDockDomAdapterService implements OnDestroy {
8
- private mutationService;
9
- private currentDockHeight;
10
- private ngUnsubscribe;
11
- private observer;
12
- private renderer;
13
- private styleElement;
14
- constructor(mutationService: MutationObserverService, rendererFactory: RendererFactory2);
8
+ #private;
9
+ constructor(mutationSvc: MutationObserverService, rendererFactory: RendererFactory2);
15
10
  ngOnDestroy(): void;
16
11
  setSticky(elementRef: ElementRef): void;
17
12
  setZIndex(zIndex: number, elementRef: ElementRef): void;
18
13
  unbindDock(elementRef: ElementRef): void;
19
14
  watchDomChanges(elementRef: ElementRef): void;
20
- private adjustBodyStyles;
21
- private destroyStyleElement;
22
15
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyDockDomAdapterService, never>;
23
16
  static ɵprov: i0.ɵɵInjectableDeclaration<SkyDockDomAdapterService>;
24
17
  }
@@ -3,13 +3,13 @@ import { Observable } from 'rxjs';
3
3
  * Represents a single item added to the dock.
4
4
  */
5
5
  export declare class SkyDockItem<T> {
6
+ #private;
6
7
  readonly componentInstance: T;
7
8
  readonly stackOrder: number;
8
9
  /**
9
10
  * An event that emits when the item is removed from the dock.
10
11
  */
11
12
  get destroyed(): Observable<void>;
12
- private _destroyed;
13
13
  /**
14
14
  * @param componentInstance The item's component instance.
15
15
  * @param stackOrder The assigned stack order of the docked item.
@@ -8,20 +8,12 @@ import * as i0 from "@angular/core";
8
8
  * @internal
9
9
  */
10
10
  export declare class SkyDockComponent {
11
- private changeDetector;
12
- private resolver;
13
- private elementRef;
14
- private injector;
15
- private domAdapter;
16
- private options;
11
+ #private;
17
12
  private target;
18
- private itemRefs;
19
13
  constructor(changeDetector: ChangeDetectorRef, resolver: ComponentFactoryResolver, elementRef: ElementRef, injector: Injector, domAdapter: SkyDockDomAdapterService);
20
14
  insertComponent<T>(component: Type<T>, config?: SkyDockInsertComponentConfig): SkyDockItemReference<T>;
21
15
  removeItem(item: SkyDockItemReference<any>): void;
22
- setOptions(options: SkyDockOptions): void;
23
- private sortItemsByStackOrder;
24
- private getHighestStackOrder;
16
+ setOptions(options: SkyDockOptions | undefined): void;
25
17
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyDockComponent, never>;
26
18
  static ɵcmp: i0.ɵɵComponentDeclaration<SkyDockComponent, "sky-dock", never, {}, {}, never, never>;
27
19
  }
@@ -8,15 +8,14 @@ import * as i0 from "@angular/core";
8
8
  * This service docks components to specific areas on the page.
9
9
  */
10
10
  export declare class SkyDockService {
11
- private dynamicComponentService;
11
+ #private;
12
12
  private static dockRef;
13
13
  private static _items;
14
14
  /**
15
15
  * Returns all docked items.
16
16
  */
17
17
  get items(): SkyDockItem<any>[];
18
- private options;
19
- constructor(dynamicComponentService: SkyDynamicComponentService);
18
+ constructor(dynamicComponentSvc: SkyDynamicComponentService);
20
19
  /**
21
20
  * Docks a component to the bottom of the page.
22
21
  * @param component The component to dock.
@@ -31,8 +30,6 @@ export declare class SkyDockService {
31
30
  * @param options The options for positioning and styling
32
31
  */
33
32
  setDockOptions(options: SkyDockOptions): void;
34
- private createDock;
35
- private destroyDock;
36
33
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyDockService, never>;
37
34
  static ɵprov: i0.ɵɵInjectableDeclaration<SkyDockService>;
38
35
  }
@@ -6,11 +6,7 @@ import * as i0 from "@angular/core";
6
6
  * Angular service for creating and rendering a dynamic component.
7
7
  */
8
8
  export declare class SkyDynamicComponentService {
9
- private componentFactoryResolver;
10
- private applicationRef;
11
- private injector;
12
- private windowRef;
13
- private renderer;
9
+ #private;
14
10
  constructor(componentFactoryResolver: ComponentFactoryResolver, applicationRef: ApplicationRef, injector: Injector, windowRef: SkyAppWindowRef, rendererFactory: RendererFactory2);
15
11
  /**
16
12
  * Creates an instance of the specified component and adds it to the specified location
@@ -22,8 +18,7 @@ export declare class SkyDynamicComponentService {
22
18
  * Removes a component ref from the page
23
19
  * @param componentRef Component ref for the component being removed
24
20
  */
25
- removeComponent<T>(componentRef: ComponentRef<T>): void;
26
- private getRootNode;
21
+ removeComponent<T>(componentRef: ComponentRef<T> | undefined): void;
27
22
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyDynamicComponentService, never>;
28
23
  static ɵprov: i0.ɵɵInjectableDeclaration<SkyDynamicComponentService>;
29
24
  }
@@ -7,9 +7,8 @@ import * as i0 from "@angular/core";
7
7
  * @internal
8
8
  */
9
9
  export declare class SkyLogService {
10
- private formatter;
11
- private applicationLogLevel;
12
- constructor(formatter: SkyAppFormat, applicationLogLevel: SkyLogLevel);
10
+ #private;
11
+ constructor(formatter: SkyAppFormat, applicationLogLevel?: SkyLogLevel);
13
12
  /**
14
13
  * Logs a deprecation warning for a class, property, function, etc. This will be logged as a console warning unless a different log level is given in the the `args` parameter.
15
14
  * @param name The name of the deprecated class, property, function, etc.
@@ -35,9 +34,6 @@ export declare class SkyLogService {
35
34
  * @param params Optional parameters for the warning message.
36
35
  */
37
36
  warn(message: string, params?: unknown[]): void;
38
- private convertStringToCode;
39
- private canLog;
40
- private logBasedOnLevel;
41
37
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyLogService, [null, { optional: true; }]>;
42
38
  static ɵprov: i0.ɵɵInjectableDeclaration<SkyLogService>;
43
39
  }
@@ -4,7 +4,7 @@ import { SkyMediaBreakpoints } from './media-breakpoints';
4
4
  import { SkyMediaQueryListener } from './media-query-listener';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class SkyMediaQueryService implements OnDestroy {
7
- private zone;
7
+ #private;
8
8
  /**
9
9
  * The size for the `xs` breakpoint.
10
10
  * @default "(max-width: 767px)"
@@ -29,10 +29,6 @@ export declare class SkyMediaQueryService implements OnDestroy {
29
29
  * Returns the current breakpoint.
30
30
  */
31
31
  get current(): SkyMediaBreakpoints;
32
- private currentSubject;
33
- private _current;
34
- private breakpoints;
35
- private mediaQueries;
36
32
  constructor(zone: NgZone);
37
33
  ngOnDestroy(): void;
38
34
  /**
@@ -44,9 +40,6 @@ export declare class SkyMediaQueryService implements OnDestroy {
44
40
  * @internal
45
41
  */
46
42
  destroy(): void;
47
- private addListeners;
48
- private removeListeners;
49
- private notifyBreakpointChange;
50
43
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyMediaQueryService, never>;
51
44
  static ɵprov: i0.ɵɵInjectableDeclaration<SkyMediaQueryService>;
52
45
  }
@@ -10,14 +10,8 @@ import * as i0 from "@angular/core";
10
10
  * a space before the two curly brackets closing the pipe or it will not work.
11
11
  */
12
12
  export declare class SkyNumericPipe implements PipeTransform, OnDestroy {
13
- private localeProvider;
14
- private readonly numericService;
15
- private changeDetector;
16
- private cacheKey;
17
- private formattedValue;
18
- private providerLocale;
19
- private ngUnsubscribe;
20
- constructor(localeProvider: SkyAppLocaleProvider, numericService: SkyNumericService, changeDetector: ChangeDetectorRef);
13
+ #private;
14
+ constructor(localeProvider: SkyAppLocaleProvider, numericSvc: SkyNumericService, changeDetector: ChangeDetectorRef);
21
15
  ngOnDestroy(): void;
22
16
  /**
23
17
  * Formats a number based on the provided options.
@@ -2,56 +2,23 @@ import { SkyLibResourcesService } from '@skyux/i18n';
2
2
  import { SkyNumericOptions } from './numeric.options';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class SkyNumericService {
5
- private resourcesService;
5
+ #private;
6
6
  /**
7
7
  * The browser's current locale.
8
8
  * @internal
9
9
  */
10
- set currentLocale(value: string);
11
- get currentLocale(): string;
10
+ currentLocale: string;
12
11
  /**
13
12
  * @internal
14
13
  */
15
14
  shortSymbol: string;
16
- private symbolIndex;
17
- private _locale;
18
- constructor(resourcesService: SkyLibResourcesService);
15
+ constructor(resourcesSvc: SkyLibResourcesService);
19
16
  /**
20
17
  * Formats a number based on the provided options.
21
18
  * @param value The number to format.
22
19
  * @param options Format options.
23
20
  */
24
21
  formatNumber(value: number, options: SkyNumericOptions): string;
25
- /**
26
- * Rounds a given number
27
- *
28
- * JS's limitation - numbers bigger than Number.MIN_SAFE_INTEGER or Number.MAX_SAFE_INTEGER
29
- * are not guaranteed to be represented or rounded correctly
30
- * @param value - value to round
31
- * @param precision - what precision to round with, defaults to 0 decimal places
32
- */
33
- private roundNumber;
34
- /**
35
- * Scales a given number by a power of 10
36
- * @param value - value to scale
37
- * @param scalar - 10^scalar
38
- * @param scaleUp - whether to increase or decrease the value
39
- */
40
- private scaleNumberByPowerOfTen;
41
- /**
42
- * Stores the symbol added from shortening to reapply later.
43
- * @param value The string to derive the shorten symbol from.
44
- */
45
- private storeShortenSymbol;
46
- /**
47
- * Must have previously called storeShortenSymbol to have something to replace.
48
- * Finds the last number in the formatted number, gets the index of the position
49
- * after that character and re-inserts the symbol.
50
- * Works regardless of currency symbol position.
51
- * @param value The string to modify.
52
- */
53
- private replaceShortenSymbol;
54
- private getSymbol;
55
22
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyNumericService, never>;
56
23
  static ɵprov: i0.ɵɵInjectableDeclaration<SkyNumericService>;
57
24
  }
@@ -4,12 +4,10 @@ import * as i0 from "@angular/core";
4
4
  * @internal
5
5
  */
6
6
  export declare class SkyOverlayAdapterService {
7
- private renderer;
8
- private styleElement;
7
+ #private;
9
8
  constructor(rendererFactory: RendererFactory2);
10
9
  restrictBodyScroll(): void;
11
10
  releaseBodyScroll(): void;
12
- private destroyStyleElement;
13
11
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyOverlayAdapterService, never>;
14
12
  static ɵprov: i0.ɵɵInjectableDeclaration<SkyOverlayAdapterService>;
15
13
  }
@@ -7,6 +7,7 @@ import { SkyOverlayComponent } from './overlay.component';
7
7
  * and access any public members on the appended content component instance.
8
8
  */
9
9
  export declare class SkyOverlayInstance {
10
+ #private;
10
11
  /**
11
12
  * The configuration for the overlay.
12
13
  */
@@ -21,8 +22,6 @@ export declare class SkyOverlayInstance {
21
22
  */
22
23
  get closed(): Observable<void>;
23
24
  id: string;
24
- private _backdropClick;
25
- private _closed;
26
25
  constructor(
27
26
  /**
28
27
  * The configuration for the overlay.
@@ -9,12 +9,7 @@ import * as i0 from "@angular/core";
9
9
  * @internal
10
10
  */
11
11
  export declare class SkyOverlayComponent implements OnInit, OnDestroy {
12
- private changeDetector;
13
- private resolver;
14
- private injector;
15
- private coreAdapter;
16
- private context;
17
- private router?;
12
+ #private;
18
13
  wrapperClass: string;
19
14
  get backdropClick(): Observable<void>;
20
15
  get closed(): Observable<void>;
@@ -25,19 +20,11 @@ export declare class SkyOverlayComponent implements OnInit, OnDestroy {
25
20
  private overlayContentRef;
26
21
  private overlayRef;
27
22
  private targetRef;
28
- private ngUnsubscribe;
29
- private routerSubscription;
30
- private _backdropClick;
31
- private _closed;
32
23
  constructor(changeDetector: ChangeDetectorRef, resolver: ComponentFactoryResolver, injector: Injector, coreAdapter: SkyCoreAdapterService, context: SkyOverlayContext, idSvc: SkyIdService, router?: Router);
33
24
  ngOnInit(): void;
34
25
  ngOnDestroy(): void;
35
26
  attachComponent<C>(component: Type<C>, providers?: StaticProvider[]): ComponentRef<C>;
36
27
  attachTemplate<T>(templateRef: TemplateRef<T>, context: T): EmbeddedViewRef<T>;
37
- private applyConfig;
38
- private addBackdropClickListener;
39
- private addRouteListener;
40
- private removeRouteListener;
41
28
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyOverlayComponent, [null, null, null, null, null, null, { optional: true; }]>;
42
29
  static ɵcmp: i0.ɵɵComponentDeclaration<SkyOverlayComponent, "sky-overlay", never, {}, {}, never, never>;
43
30
  }
@@ -8,10 +8,7 @@ import * as i0 from "@angular/core";
8
8
  * @dynamic
9
9
  */
10
10
  export declare class SkyOverlayService {
11
- private applicationRef;
12
- private componentFactoryResolver;
13
- private injector;
14
- private adapter;
11
+ #private;
15
12
  private static overlays;
16
13
  constructor(applicationRef: ApplicationRef, componentFactoryResolver: ComponentFactoryResolver, injector: Injector, adapter: SkyOverlayAdapterService);
17
14
  /**
@@ -28,9 +25,6 @@ export declare class SkyOverlayService {
28
25
  * Closes all overlay instances.
29
26
  */
30
27
  closeAll(): void;
31
- private createOverlay;
32
- private prepareConfig;
33
- private destroyOverlay;
34
28
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyOverlayService, never>;
35
29
  static ɵprov: i0.ɵɵInjectableDeclaration<SkyOverlayService>;
36
30
  }
@@ -2,18 +2,11 @@ import { OnDestroy, PipeTransform } from '@angular/core';
2
2
  import { SkyAppLocaleProvider } from '@skyux/i18n';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class SkyPercentPipe implements OnDestroy, PipeTransform {
5
- private localeProvider;
6
- private defaultFormat;
7
- private format;
8
- private defaultLocale;
9
- private locale;
10
- private value;
11
- private formattedValue;
12
- private ngUnsubscribe;
5
+ #private;
6
+ get defaultLocale(): string;
13
7
  constructor(localeProvider: SkyAppLocaleProvider);
14
8
  ngOnDestroy(): void;
15
9
  transform(value: string, format?: string, locale?: string): string;
16
- private updateFormattedValue;
17
10
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyPercentPipe, never>;
18
11
  static ɵpipe: i0.ɵɵPipeDeclaration<SkyPercentPipe, "skyPercent">;
19
12
  }
@@ -9,13 +9,11 @@ import * as i0 from "@angular/core";
9
9
  */
10
10
  export declare class SkyResizeObserverMediaQueryService implements OnDestroy {
11
11
  #private;
12
- private resizeObserverService;
13
12
  /**
14
13
  * Returns the current breakpoint.
15
14
  */
16
- get current(): SkyMediaBreakpoints | undefined;
17
- private _currentBreakpoint;
18
- constructor(resizeObserverService: SkyResizeObserverService);
15
+ get current(): SkyMediaBreakpoints;
16
+ constructor(resizeObserverSvc: SkyResizeObserverService);
19
17
  ngOnDestroy(): void;
20
18
  /**
21
19
  * @internal
@@ -34,9 +32,6 @@ export declare class SkyResizeObserverMediaQueryService implements OnDestroy {
34
32
  * Subscribes to element size changes that cross breakpoints.
35
33
  */
36
34
  subscribe(listener: SkyMediaQueryListener): Subscription;
37
- private updateBreakpoint;
38
- private checkBreakpoint;
39
- private checkWidth;
40
35
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyResizeObserverMediaQueryService, never>;
41
36
  static ɵprov: i0.ɵɵInjectableDeclaration<SkyResizeObserverMediaQueryService>;
42
37
  }
@@ -4,8 +4,7 @@ import { MutationObserverService } from '../mutation/mutation-observer-service';
4
4
  import { SkyAppWindowRef } from '../window/window-ref';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class SkyScrollableHostService {
7
- private mutationObserverSvc;
8
- private windowRef;
7
+ #private;
9
8
  constructor(mutationObserverSvc: MutationObserverService, windowRef: SkyAppWindowRef);
10
9
  /**
11
10
  * Returns the given element's current scrollable host
@@ -19,21 +18,13 @@ export declare class SkyScrollableHostService {
19
18
  * @returns An observable which emits the current scrollable host element.
20
19
  * @internal
21
20
  */
22
- watchScrollableHost(elementRef: ElementRef): Observable<HTMLElement | Window | undefined>;
21
+ watchScrollableHost(elementRef: ElementRef): Observable<HTMLElement | Window>;
23
22
  /**
24
23
  * Returns an observable which emits whenever the element's scrollable host emits a scroll event. The observable will always emit the scroll events from the elements current scrollable host and will update based on any scrollable host changes. The observable will also emit once whenever the scrollable host changes.
25
24
  * @param elementRef The element whose scrollable host scroll events are being requested
26
25
  * @returns An observable which emits when the elements scrollable host is scrolled or is changed
27
26
  */
28
27
  watchScrollableHostScrollEvents(elementRef: ElementRef): Observable<void>;
29
- private findScrollableHost;
30
- private observeDocumentHiddenElementChanges;
31
- private observeForScrollableHostChanges;
32
- /**
33
- * Determines if an element is "visible" in the DOM.
34
- * @see https://stackoverflow.com/a/11639664/6178885
35
- */
36
- private isElementVisible;
37
28
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyScrollableHostService, never>;
38
29
  static ɵprov: i0.ɵɵInjectableDeclaration<SkyScrollableHostService>;
39
30
  }
@@ -5,14 +5,14 @@ import * as i0 from "@angular/core";
5
5
  * Provides a method for setting a formatted title on the current window.
6
6
  */
7
7
  export declare class SkyAppTitleService {
8
- private title;
8
+ #private;
9
9
  constructor(title: Title);
10
10
  /**
11
11
  * Sets the title on the current window.
12
12
  * @param args An array of title parts. The parts will be concatenated with a hyphen between
13
13
  * each part.
14
14
  */
15
- setTitle(args: SkyAppSetTitleArgs): void;
15
+ setTitle(args: SkyAppSetTitleArgs | undefined): void;
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyAppTitleService, never>;
17
17
  static ɵprov: i0.ɵɵInjectableDeclaration<SkyAppTitleService>;
18
18
  }
@@ -6,8 +6,6 @@ import * as i0 from "@angular/core";
6
6
  */
7
7
  export declare class SkyTrimDirective implements OnInit, OnDestroy {
8
8
  #private;
9
- private elRef;
10
- private mutationObs;
11
9
  constructor(elRef: ElementRef, mutationObs: MutationObserverService);
12
10
  ngOnInit(): void;
13
11
  ngOnDestroy(): void;
@@ -1,7 +1,7 @@
1
1
  import { SkyViewkeeperOffset } from './viewkeeper-offset';
2
2
  export interface SkyViewkeeperBoundaryInfo {
3
3
  elHeight: number;
4
- spacerEl: HTMLElement;
4
+ spacerEl: HTMLElement | null;
5
5
  spacerId: string;
6
6
  boundaryBottom: number;
7
7
  boundaryOffset: SkyViewkeeperOffset;