@skyux/core 12.27.0 → 13.0.0-alpha.1

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 (140) hide show
  1. package/fesm2022/skyux-core-testing.mjs +26 -26
  2. package/fesm2022/skyux-core-testing.mjs.map +1 -1
  3. package/fesm2022/skyux-core.mjs +181 -181
  4. package/fesm2022/skyux-core.mjs.map +1 -1
  5. package/index.d.ts +1658 -96
  6. package/package.json +7 -7
  7. package/testing/index.d.ts +227 -3
  8. package/lib/modules/adapter-service/adapter.module.d.ts +0 -10
  9. package/lib/modules/adapter-service/adapter.service.d.ts +0 -76
  10. package/lib/modules/adapter-service/focusable-children-options.d.ts +0 -15
  11. package/lib/modules/affix/affix-auto-fit-context.d.ts +0 -10
  12. package/lib/modules/affix/affix-config.d.ts +0 -46
  13. package/lib/modules/affix/affix-horizontal-alignment.d.ts +0 -4
  14. package/lib/modules/affix/affix-offset-change.d.ts +0 -7
  15. package/lib/modules/affix/affix-offset.d.ts +0 -9
  16. package/lib/modules/affix/affix-placement-change.d.ts +0 -7
  17. package/lib/modules/affix/affix-placement.d.ts +0 -4
  18. package/lib/modules/affix/affix-position.d.ts +0 -1
  19. package/lib/modules/affix/affix-rect.d.ts +0 -11
  20. package/lib/modules/affix/affix-utils.d.ts +0 -3
  21. package/lib/modules/affix/affix-vertical-alignment.d.ts +0 -4
  22. package/lib/modules/affix/affix.directive.d.ts +0 -71
  23. package/lib/modules/affix/affix.module.d.ts +0 -8
  24. package/lib/modules/affix/affix.service.d.ts +0 -14
  25. package/lib/modules/affix/affixer.d.ts +0 -40
  26. package/lib/modules/affix/dom-utils.d.ts +0 -23
  27. package/lib/modules/breakpoint-observer/breakpoint-observer.d.ts +0 -9
  28. package/lib/modules/breakpoint-observer/breakpoint-observer.token.d.ts +0 -7
  29. package/lib/modules/breakpoint-observer/breakpoint-utils.d.ts +0 -17
  30. package/lib/modules/breakpoint-observer/breakpoint.d.ts +0 -9
  31. package/lib/modules/breakpoint-observer/container-breakpoint-observer.d.ts +0 -18
  32. package/lib/modules/breakpoint-observer/media-breakpoint-observer.d.ts +0 -18
  33. package/lib/modules/breakpoint-observer/provide-breakpoint-observer.d.ts +0 -7
  34. package/lib/modules/breakpoint-observer/responsive-host.directive.d.ts +0 -32
  35. package/lib/modules/content-info-provider/content-info-descriptor.d.ts +0 -16
  36. package/lib/modules/content-info-provider/content-info-provider.d.ts +0 -17
  37. package/lib/modules/content-info-provider/content-info.d.ts +0 -13
  38. package/lib/modules/default-input-provider/default-input-provider.d.ts +0 -10
  39. package/lib/modules/dock/dock-dom-adapter.service.d.ts +0 -17
  40. package/lib/modules/dock/dock-insert-component-config.d.ts +0 -8
  41. package/lib/modules/dock/dock-item-config.d.ts +0 -11
  42. package/lib/modules/dock/dock-item-reference.d.ts +0 -9
  43. package/lib/modules/dock/dock-item.d.ts +0 -22
  44. package/lib/modules/dock/dock-location.d.ts +0 -17
  45. package/lib/modules/dock/dock-options.d.ts +0 -18
  46. package/lib/modules/dock/dock.component.d.ts +0 -17
  47. package/lib/modules/dock/dock.module.d.ts +0 -10
  48. package/lib/modules/dock/dock.service.d.ts +0 -33
  49. package/lib/modules/dock/sort-by-stack-order.d.ts +0 -4
  50. package/lib/modules/dynamic-component/dynamic-component-location.d.ts +0 -25
  51. package/lib/modules/dynamic-component/dynamic-component-options.d.ts +0 -31
  52. package/lib/modules/dynamic-component/dynamic-component.module.d.ts +0 -11
  53. package/lib/modules/dynamic-component/dynamic-component.service.d.ts +0 -33
  54. package/lib/modules/file-reader/file-reader.service.d.ts +0 -10
  55. package/lib/modules/format/app-format.d.ts +0 -6
  56. package/lib/modules/help/help-global-options-token.d.ts +0 -6
  57. package/lib/modules/help/help-global-options.d.ts +0 -13
  58. package/lib/modules/help/help-open-args.d.ts +0 -9
  59. package/lib/modules/help/help-update-args.d.ts +0 -13
  60. package/lib/modules/help/help.service.d.ts +0 -25
  61. package/lib/modules/id/id.directive.d.ts +0 -15
  62. package/lib/modules/id/id.module.d.ts +0 -7
  63. package/lib/modules/id/id.service.d.ts +0 -9
  64. package/lib/modules/layout-host/layout-host-for-child-args.d.ts +0 -3
  65. package/lib/modules/layout-host/layout-host.directive.d.ts +0 -11
  66. package/lib/modules/layout-host/layout-host.service.d.ts +0 -13
  67. package/lib/modules/live-announcer/live-announcer.service.d.ts +0 -31
  68. package/lib/modules/live-announcer/types/live-announcer-args.d.ts +0 -12
  69. package/lib/modules/live-announcer/types/live-announcer-politeness.d.ts +0 -5
  70. package/lib/modules/log/log.module.d.ts +0 -10
  71. package/lib/modules/log/log.service.d.ts +0 -47
  72. package/lib/modules/log/types/log-deprecation-args.d.ts +0 -27
  73. package/lib/modules/log/types/log-level-token.d.ts +0 -6
  74. package/lib/modules/log/types/log-level.d.ts +0 -8
  75. package/lib/modules/media-query/media-breakpoints.d.ts +0 -22
  76. package/lib/modules/media-query/media-query-listener.d.ts +0 -7
  77. package/lib/modules/media-query/media-query.module.d.ts +0 -10
  78. package/lib/modules/media-query/media-query.service.d.ts +0 -55
  79. package/lib/modules/mutation/mutation-observer-service.d.ts +0 -9
  80. package/lib/modules/numeric/numeric-symbol.d.ts +0 -7
  81. package/lib/modules/numeric/numeric.module.d.ts +0 -8
  82. package/lib/modules/numeric/numeric.options.d.ts +0 -61
  83. package/lib/modules/numeric/numeric.pipe.d.ts +0 -22
  84. package/lib/modules/numeric/numeric.service.d.ts +0 -24
  85. package/lib/modules/overlay/overlay-adapter.service.d.ts +0 -15
  86. package/lib/modules/overlay/overlay-config.d.ts +0 -41
  87. package/lib/modules/overlay/overlay-context.d.ts +0 -9
  88. package/lib/modules/overlay/overlay-instance.d.ts +0 -42
  89. package/lib/modules/overlay/overlay-position.d.ts +0 -1
  90. package/lib/modules/overlay/overlay.component.d.ts +0 -30
  91. package/lib/modules/overlay/overlay.module.d.ts +0 -10
  92. package/lib/modules/overlay/overlay.service.d.ts +0 -39
  93. package/lib/modules/percent-pipe/percent-pipe.module.d.ts +0 -8
  94. package/lib/modules/percent-pipe/percent.pipe.d.ts +0 -12
  95. package/lib/modules/resize-observer/resize-observer-media-query.service.d.ts +0 -45
  96. package/lib/modules/resize-observer/resize-observer.service.d.ts +0 -17
  97. package/lib/modules/screen-reader-label/screen-reader-label.directive.d.ts +0 -20
  98. package/lib/modules/scroll-shadow/scroll-shadow-event-args.d.ts +0 -7
  99. package/lib/modules/scroll-shadow/scroll-shadow.directive.d.ts +0 -19
  100. package/lib/modules/scrollable-host/scrollable-host.service.d.ts +0 -32
  101. package/lib/modules/shared/number-format/number-format-utility.d.ts +0 -5
  102. package/lib/modules/shared/sky-core-resources.module.d.ts +0 -10
  103. package/lib/modules/stacking-context/stacking-context-token.d.ts +0 -6
  104. package/lib/modules/stacking-context/stacking-context.d.ts +0 -7
  105. package/lib/modules/title/set-title-args.d.ts +0 -3
  106. package/lib/modules/title/title.service.d.ts +0 -18
  107. package/lib/modules/trim/trim.directive.d.ts +0 -14
  108. package/lib/modules/trim/trim.module.d.ts +0 -7
  109. package/lib/modules/ui-config/ui-config.service.d.ts +0 -8
  110. package/lib/modules/viewkeeper/viewkeeper-boundary-info.d.ts +0 -11
  111. package/lib/modules/viewkeeper/viewkeeper-fixed-styles.d.ts +0 -10
  112. package/lib/modules/viewkeeper/viewkeeper-host-options.d.ts +0 -14
  113. package/lib/modules/viewkeeper/viewkeeper-offset.d.ts +0 -4
  114. package/lib/modules/viewkeeper/viewkeeper-options.d.ts +0 -45
  115. package/lib/modules/viewkeeper/viewkeeper.d.ts +0 -7
  116. package/lib/modules/viewkeeper/viewkeeper.directive.d.ts +0 -17
  117. package/lib/modules/viewkeeper/viewkeeper.module.d.ts +0 -7
  118. package/lib/modules/viewkeeper/viewkeeper.service.d.ts +0 -23
  119. package/lib/modules/window/window-ref.d.ts +0 -18
  120. package/testing/legacy/core-testing.module.d.ts +0 -9
  121. package/testing/legacy/mock-media-query.service.d.ts +0 -23
  122. package/testing/legacy/mock-ui-config.service.d.ts +0 -11
  123. package/testing/legacy/resize-observer-mock.d.ts +0 -15
  124. package/testing/modules/file-reader/file-reader-testing.service.d.ts +0 -10
  125. package/testing/modules/file-reader/provide-file-reader-testing.d.ts +0 -12
  126. package/testing/modules/help/help-testing-controller.d.ts +0 -15
  127. package/testing/modules/help/help-testing.module.d.ts +0 -9
  128. package/testing/modules/help/help-testing.service.d.ts +0 -16
  129. package/testing/modules/media-query/breakpoint-observer-testing.d.ts +0 -15
  130. package/testing/modules/media-query/media-query-testing-controller.d.ts +0 -15
  131. package/testing/modules/media-query/provide-media-query-testing.d.ts +0 -5
  132. package/testing/modules/overlay/overlay-harness-filters.d.ts +0 -7
  133. package/testing/modules/overlay/overlay-harness.d.ts +0 -18
  134. package/testing/public-api.d.ts +0 -16
  135. package/testing/shared/component-harness.d.ts +0 -9
  136. package/testing/shared/harness-filters.d.ts +0 -10
  137. package/testing/shared/harness-utility.d.ts +0 -4
  138. package/testing/shared/input-harness.d.ts +0 -35
  139. package/testing/shared/queryable-component-harness.d.ts +0 -31
  140. package/version.d.ts +0 -15
@@ -1,31 +0,0 @@
1
- import { OnDestroy } from '@angular/core';
2
- import { ReplaySubject } from 'rxjs';
3
- import { SkyLiveAnnouncerArgs } from './types/live-announcer-args';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * Allows for announcing messages to screen reader users through the use of a common `aria-live` element.
7
- * @internal
8
- */
9
- export declare class SkyLiveAnnouncerService implements OnDestroy {
10
- #private;
11
- announcerElementChanged: ReplaySubject<HTMLElement | undefined>;
12
- constructor();
13
- /**
14
- * Announces a message to screen readers.
15
- * @param message Message to be announced to the screen reader.
16
- * @param args Options for the announcement of the message.
17
- */
18
- announce(message: string, args?: SkyLiveAnnouncerArgs): void;
19
- /**
20
- * Clears the current text from the announcer element. Can be used to prevent
21
- * screen readers from reading the text out again while the user is going
22
- * through the page landmarks.
23
- */
24
- clear(): void;
25
- /**
26
- * @internal
27
- */
28
- ngOnDestroy(): void;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyLiveAnnouncerService, never>;
30
- static ɵprov: i0.ɵɵInjectableDeclaration<SkyLiveAnnouncerService>;
31
- }
@@ -1,12 +0,0 @@
1
- import { SkyLiveAnnouncerPoliteness } from './live-announcer-politeness';
2
- /**
3
- * Options used when announcing messages to screen readers via the `SkyLiveAnnouncerService`
4
- * @internal
5
- */
6
- export interface SkyLiveAnnouncerArgs {
7
- politeness?: SkyLiveAnnouncerPoliteness;
8
- /**
9
- * Sets how long the live announcer text persists in DOM.
10
- */
11
- duration?: number;
12
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * Possible politeness levels for messages announced via the `SkyLiveAnnouncerService`.
3
- * @internal
4
- */
5
- export type SkyLiveAnnouncerPoliteness = 'off' | 'polite' | 'assertive';
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * @deprecated The `SkyLogService` no longer needs the `SkyLogModule`.
4
- * The `SkyLogModule` can be removed from your project.
5
- */
6
- export declare class SkyLogModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyLogModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<SkyLogModule, never, never, never>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<SkyLogModule>;
10
- }
@@ -1,47 +0,0 @@
1
- import { SkyAppFormat } from '../format/app-format';
2
- import { SkyLogDeprecatedArgs } from './types/log-deprecation-args';
3
- import { SkyLogLevel } from './types/log-level';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * Logs information to the console based on the application's log level as
7
- * provided by the `SKY_LOG_LEVEL` injection token. If no token is provided,
8
- * only `error` logs will be shown.
9
- * @internal
10
- */
11
- export declare class SkyLogService {
12
- #private;
13
- constructor(formatter: SkyAppFormat, applicationLogLevel?: SkyLogLevel);
14
- /**
15
- * Clears previously-logged messages. Primarily used for unit
16
- * testing this service.
17
- */
18
- static clearPreviousLogs(): void;
19
- /**
20
- * Logs a deprecation warning for a class, property, function, etc. This will
21
- * be logged as a console warning unless a different log level is given in the
22
- * `args` parameter.
23
- * @param name The name of the deprecated class, property, function, etc.
24
- * @param args Information about the deprecation and replacement recommendations.
25
- */
26
- deprecated(name: string, args?: SkyLogDeprecatedArgs): void;
27
- /**
28
- * Logs a console error if the application's log level is `SkyLogLevel.Error`.
29
- * @param message The error message
30
- * @param params Optional parameters for the error message.
31
- */
32
- error(message: string, params?: unknown[]): void;
33
- /**
34
- * Logs console information if the application's log level is `SkyLogLevel.Info` or above.
35
- * @param message The informational message
36
- * @param params Optional parameters for the informational message.
37
- */
38
- info(message: string, params?: unknown[]): void;
39
- /**
40
- * Logs a console warning if the application's log level is `SkyLogLevel.Warn` or above.
41
- * @param message The warning message
42
- * @param params Optional parameters for the warning message.
43
- */
44
- warn(message: string, params?: unknown[]): void;
45
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyLogService, [null, { optional: true; }]>;
46
- static ɵprov: i0.ɵɵInjectableDeclaration<SkyLogService>;
47
- }
@@ -1,27 +0,0 @@
1
- import { SkyLogLevel } from './log-level';
2
- /**
3
- * @internal
4
- * Arguments used when logging that a class, property, function, etc. is deprecated.
5
- */
6
- export interface SkyLogDeprecatedArgs {
7
- /**
8
- * The major version which deprecated the feature.
9
- */
10
- deprecationMajorVersion?: number;
11
- /**
12
- * The log level for the console logging. The `SkyLogService` will assume `SkyLogLevel.Warn` if this is not provided.
13
- */
14
- logLevel?: SkyLogLevel;
15
- /**
16
- * A URL which gives more information about the deprecation or the replacement recommendation.
17
- */
18
- moreInfoUrl?: string;
19
- /**
20
- * The major version which will remove the deprecated feature.
21
- */
22
- removalMajorVersion?: number;
23
- /**
24
- * The recommendation for how to replace the deprecated feature.
25
- */
26
- replacementRecommendation?: string;
27
- }
@@ -1,6 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { SkyLogLevel } from './log-level';
3
- /**
4
- * @internal
5
- */
6
- export declare const SKY_LOG_LEVEL: InjectionToken<SkyLogLevel>;
@@ -1,8 +0,0 @@
1
- /**
2
- * @internal
3
- */
4
- export declare enum SkyLogLevel {
5
- Info = 1,
6
- Warn = 2,
7
- Error = 3
8
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * Represents all available media breakpoints.
3
- * @deprecated Use `SkyBreakpoint` instead.
4
- */
5
- export declare enum SkyMediaBreakpoints {
6
- /**
7
- * Screen widths of 767px or less.
8
- */
9
- xs = 1,
10
- /**
11
- * Screen widths of 768px to 991px.
12
- */
13
- sm = 2,
14
- /**
15
- * Screen widths of 992px to 1199px.
16
- */
17
- md = 3,
18
- /**
19
- * Screen widths of 1200px or greater.
20
- */
21
- lg = 4
22
- }
@@ -1,7 +0,0 @@
1
- import { SkyMediaBreakpoints } from './media-breakpoints';
2
- /**
3
- * The function that is called when the breakpoints change. It is called
4
- * with a `SkyMediaBreakpoints` argument, which is an enum that represents the new breakpoint.
5
- * @deprecated Subscribe to the `breakpointChange` observable instead.
6
- */
7
- export type SkyMediaQueryListener = (args: SkyMediaBreakpoints) => void;
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * @deprecated The `SkyMediaQueryService` no longer needs the `SkyMediaQueryModule`.
4
- * The `SkyMediaQueryModule` can be removed from your project.
5
- */
6
- export declare class SkyMediaQueryModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyMediaQueryModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<SkyMediaQueryModule, never, never, never>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<SkyMediaQueryModule>;
10
- }
@@ -1,55 +0,0 @@
1
- import { NgZone, OnDestroy } from '@angular/core';
2
- import { Observable, Subscription } from 'rxjs';
3
- import { SkyBreakpoint } from '../breakpoint-observer/breakpoint';
4
- import { SkyMediaBreakpoints } from './media-breakpoints';
5
- import { SkyMediaQueryListener } from './media-query-listener';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Utility used to subscribe to viewport and container breakpoint changes.
9
- */
10
- export declare class SkyMediaQueryService implements OnDestroy {
11
- #private;
12
- /**
13
- * Emits when the breakpoint changes.
14
- */
15
- get breakpointChange(): Observable<SkyBreakpoint>;
16
- /**
17
- * The size for the `xs` breakpoint.
18
- * @default "(max-width: 767px)"
19
- */
20
- static xs: string;
21
- /**
22
- * The size for the `sm` breakpoint.
23
- * @default "(min-width: 768px) and (max-width: 991px)"
24
- */
25
- static sm: string;
26
- /**
27
- * The size for the `md` breakpoint.
28
- * @default "(min-width: 992px) and (max-width: 1199px)"
29
- */
30
- static md: string;
31
- /**
32
- * The size for the `lg` breakpoint.
33
- * @default "(min-width: 1200px)"
34
- */
35
- static lg: string;
36
- /**
37
- * Returns the current breakpoint.
38
- * @deprecated Subscribe to the `breakpointChange` observable instead.
39
- */
40
- get current(): SkyMediaBreakpoints;
41
- constructor(_zone?: NgZone);
42
- ngOnDestroy(): void;
43
- /**
44
- * @internal
45
- */
46
- destroy(): void;
47
- /**
48
- * Subscribes to screen size changes.
49
- * @param listener Specifies a function that is called when breakpoints change.
50
- * @deprecated Subscribe to the `breakpointChange` observable instead.
51
- */
52
- subscribe(listener: SkyMediaQueryListener): Subscription;
53
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyMediaQueryService, never>;
54
- static ɵprov: i0.ɵɵInjectableDeclaration<SkyMediaQueryService>;
55
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * @internal
4
- */
5
- export declare class SkyMutationObserverService {
6
- create(callback: MutationCallback): MutationObserver;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyMutationObserverService, never>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<SkyMutationObserverService>;
9
- }
@@ -1,7 +0,0 @@
1
- /**
2
- * @internal
3
- */
4
- export interface SkyNumericSymbol {
5
- value: number;
6
- label: string;
7
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./numeric.pipe";
3
- import * as i2 from "../shared/sky-core-resources.module";
4
- export declare class SkyNumericModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyNumericModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<SkyNumericModule, [typeof i1.SkyNumericPipe], [typeof i2.SkyCoreResourcesModule], [typeof i1.SkyNumericPipe]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<SkyNumericModule>;
8
- }
@@ -1,61 +0,0 @@
1
- /**
2
- * Provides arguments for the number to format.
3
- */
4
- export interface SkyNumericOptions {
5
- /**
6
- * Specifies the maximum number of digits after the decimal separator.
7
- */
8
- digits?: number;
9
- /**
10
- * Specifies how to format the number. Options are `currency` or `number`.
11
- */
12
- format?: string;
13
- /**
14
- * Specifies the format of the currency.
15
- */
16
- currencySign?: 'accounting' | 'standard';
17
- /**
18
- * Specifies the display of the currency. Defaults to 'symbol'.
19
- */
20
- currencyDisplay?: 'code' | 'symbol' | 'narrowSymbol' | 'name';
21
- /**
22
- * Specifies the ISO4217 currency code to use for currency formatting.
23
- */
24
- iso?: string;
25
- /**
26
- * Specifies the locale code to use when formatting.
27
- */
28
- locale?: string;
29
- /**
30
- * Specifies the minimum number of digits after the decimal separator. This property only applies
31
- * when the `truncate` property is set to `false`. If `digits` specifies a maximum number of
32
- * digits, then `minDigits` must be less than that value.
33
- */
34
- minDigits?: number;
35
- /**
36
- * Indicates whether to shorten numbers to rounded numbers and abbreviation characters
37
- * such as K for thousands, M for millions, B for billions, and T for trillions.
38
- */
39
- truncate?: boolean;
40
- /**
41
- * Specifies the minimum value at which numbers are shortened to rounded numbers and abbreviation characters. Values less than `1000` are not truncated.
42
- */
43
- truncateAfter?: number;
44
- }
45
- /**
46
- * Provides arguments for the number to format.
47
- * @deprecated Use the `SkyNumericOptions` interface instead.
48
- * @internal
49
- */
50
- export declare class NumericOptions implements SkyNumericOptions {
51
- digits?: number;
52
- format?: string;
53
- currencySign?: 'accounting' | 'standard';
54
- currencyDisplay?: 'code' | 'symbol' | 'narrowSymbol' | 'name';
55
- iso?: string;
56
- locale?: string;
57
- minDigits?: number;
58
- truncate?: boolean;
59
- truncateAfter?: number;
60
- constructor();
61
- }
@@ -1,22 +0,0 @@
1
- import { ChangeDetectorRef, OnDestroy, PipeTransform } from '@angular/core';
2
- import { SkyAppLocaleProvider } from '@skyux/i18n';
3
- import { SkyNumericOptions } from './numeric.options';
4
- import { SkyNumericService } from './numeric.service';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * Shortens numbers to rounded numbers and abbreviation characters such as K for thousands,
8
- * M for millions, B for billions, and T for trillions. The pipe also formats for currency.
9
- * Be sure you have a space after the two curly brackets opening the pipe and
10
- * a space before the two curly brackets closing the pipe or it will not work.
11
- */
12
- export declare class SkyNumericPipe implements PipeTransform, OnDestroy {
13
- #private;
14
- constructor(localeProvider: SkyAppLocaleProvider, numericSvc: SkyNumericService, changeDetector: ChangeDetectorRef);
15
- ngOnDestroy(): void;
16
- /**
17
- * Formats a number based on the provided options.
18
- */
19
- transform(value: number | undefined | null, config?: SkyNumericOptions): string;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyNumericPipe, never>;
21
- static ɵpipe: i0.ɵɵPipeDeclaration<SkyNumericPipe, "skyNumeric", false>;
22
- }
@@ -1,24 +0,0 @@
1
- import { SkyLibResourcesService } from '@skyux/i18n';
2
- import { SkyNumericOptions } from './numeric.options';
3
- import * as i0 from "@angular/core";
4
- export declare class SkyNumericService {
5
- #private;
6
- /**
7
- * The browser's current locale.
8
- * @internal
9
- */
10
- currentLocale: string;
11
- /**
12
- * @internal
13
- */
14
- shortSymbol: string;
15
- constructor(resourcesSvc: SkyLibResourcesService);
16
- /**
17
- * Formats a number based on the provided options.
18
- * @param value The number to format.
19
- * @param options Format options.
20
- */
21
- formatNumber(value: number | undefined | null, options: SkyNumericOptions): string;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyNumericService, never>;
23
- static ɵprov: i0.ɵɵInjectableDeclaration<SkyNumericService>;
24
- }
@@ -1,15 +0,0 @@
1
- import { ElementRef, RendererFactory2 } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * @internal
5
- */
6
- export declare class SkyOverlayAdapterService {
7
- #private;
8
- constructor(rendererFactory: RendererFactory2);
9
- restrictBodyScroll(): void;
10
- releaseBodyScroll(): void;
11
- addAriaHiddenToSiblings(overlayElementRef: ElementRef): Map<Element, string | null>;
12
- restoreAriaHiddenForSiblings(siblingAriaHiddenCache: Map<Element, string | null>): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyOverlayAdapterService, never>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<SkyOverlayAdapterService>;
15
- }
@@ -1,41 +0,0 @@
1
- import { EnvironmentInjector } from '@angular/core';
2
- import { SkyOverlayPosition } from './overlay-position';
3
- export interface SkyOverlayConfig {
4
- /**
5
- * Whether the overlay closes after a navigation change.
6
- */
7
- closeOnNavigation?: boolean;
8
- /**
9
- * Whether the overlay closes when a user clicks outside the overlay's content.
10
- */
11
- enableClose?: boolean;
12
- /**
13
- * Whether mouse interactions are allowed below the backdrop.
14
- */
15
- enablePointerEvents?: boolean;
16
- /**
17
- * Whether window scrolling is enabled when the overlay is opened.
18
- */
19
- enableScroll?: boolean;
20
- /**
21
- * The environment injector for the overlay component.
22
- */
23
- environmentInjector?: EnvironmentInjector;
24
- /**
25
- * Whether the overlay's backdrop is visible.
26
- */
27
- showBackdrop?: boolean;
28
- /**
29
- * Extra CSS classes to add to the overlay's wrapper element.
30
- */
31
- wrapperClass?: string;
32
- /**
33
- * The position of the overlay instance.
34
- */
35
- position?: SkyOverlayPosition;
36
- /**
37
- * Hides the overlay's siblings from screen readers so users can't interact
38
- * with content behind the overlay with assistive technology.
39
- */
40
- hideOthersFromScreenReaders?: boolean;
41
- }
@@ -1,9 +0,0 @@
1
- import { SkyOverlayConfig } from './overlay-config';
2
- /**
3
- * Contextual information for each overlay.
4
- * @internal
5
- */
6
- export declare class SkyOverlayContext {
7
- readonly config: SkyOverlayConfig;
8
- constructor(config: SkyOverlayConfig);
9
- }
@@ -1,42 +0,0 @@
1
- import { ComponentRef, StaticProvider, TemplateRef, Type } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import { SkyOverlayConfig } from './overlay-config';
4
- import { SkyOverlayComponent } from './overlay.component';
5
- /**
6
- * Represents a new overlay instance. It is used to manage the "closed" state of the overlay,
7
- * and access any public members on the appended content component instance.
8
- */
9
- export declare class SkyOverlayInstance {
10
- #private;
11
- /**
12
- * The configuration for the overlay.
13
- */
14
- readonly config: SkyOverlayConfig;
15
- readonly componentRef: ComponentRef<SkyOverlayComponent>;
16
- /**
17
- * Emits when the overlay is clicked (but not its content).
18
- */
19
- get backdropClick(): Observable<void>;
20
- /**
21
- * Emits after the overlay is closed.
22
- */
23
- get closed(): Observable<void>;
24
- id: string;
25
- constructor(
26
- /**
27
- * The configuration for the overlay.
28
- */
29
- config: SkyOverlayConfig, componentRef: ComponentRef<SkyOverlayComponent>);
30
- /**
31
- * Creates and attaches a component to the overlay.
32
- * @param component The component to attach.
33
- * @param providers Custom providers to apply to the component.
34
- */
35
- attachComponent<C>(component: Type<C>, providers?: StaticProvider[]): C;
36
- /**
37
- * Attaches a `TemplateRef` to the overlay.
38
- * @param templateRef The `TemplateRef` to attach.
39
- * @param context The context to provide to the template.
40
- */
41
- attachTemplate<T>(templateRef: TemplateRef<T>, context?: T): void;
42
- }
@@ -1 +0,0 @@
1
- export type SkyOverlayPosition = 'absolute' | 'fixed';
@@ -1,30 +0,0 @@
1
- import { ComponentRef, ElementRef, EmbeddedViewRef, OnDestroy, OnInit, StaticProvider, TemplateRef, Type, ViewContainerRef } from '@angular/core';
2
- import { Observable, ReplaySubject } from 'rxjs';
3
- import { SkyOverlayPosition } from './overlay-position';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * @internal
7
- */
8
- export declare class SkyOverlayComponent implements OnInit, OnDestroy {
9
- #private;
10
- wrapperClass: string;
11
- get backdropClick(): Observable<void>;
12
- get closed(): Observable<void>;
13
- enablePointerEvents: boolean;
14
- id: string;
15
- showBackdrop: boolean;
16
- zIndex: string;
17
- protected clipPath$: ReplaySubject<string | undefined>;
18
- protected position: SkyOverlayPosition;
19
- overlayContentRef: ElementRef | undefined;
20
- overlayRef: ElementRef | undefined;
21
- targetRef: ViewContainerRef | undefined;
22
- constructor();
23
- ngOnInit(): void;
24
- ngOnDestroy(): void;
25
- attachComponent<C>(component: Type<C>, providers?: StaticProvider[]): ComponentRef<C>;
26
- attachTemplate<T>(templateRef: TemplateRef<T>, context: T): EmbeddedViewRef<T>;
27
- updateClipPath(clipPath: string | undefined): void;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyOverlayComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<SkyOverlayComponent, "sky-overlay", never, {}, {}, never, never, true, never>;
30
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * @deprecated The `SkyOverlayModule` is no longer needed and can be removed from your application.
4
- * @internal
5
- */
6
- export declare class SkyOverlayModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyOverlayModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<SkyOverlayModule, never, never, never>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<SkyOverlayModule>;
10
- }
@@ -1,39 +0,0 @@
1
- import { SkyDynamicComponentLegacyService, SkyDynamicComponentService } from '../dynamic-component/dynamic-component.service';
2
- import { SkyOverlayConfig } from './overlay-config';
3
- import { SkyOverlayInstance } from './overlay-instance';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * This service is used to create new overlays.
7
- * @internal
8
- */
9
- export declare class SkyOverlayService {
10
- #private;
11
- private static overlays;
12
- constructor(dynamicComponentSvc: SkyDynamicComponentService);
13
- /**
14
- * Creates an empty overlay. Use the returned `SkyOverlayInstance` to append content.
15
- * @param config Configuration for the overlay.
16
- */
17
- create(config?: SkyOverlayConfig): SkyOverlayInstance;
18
- /**
19
- * Closes (and destroys) an overlay instance.
20
- * @param instance The instance to close.
21
- */
22
- close(instance: SkyOverlayInstance): void;
23
- /**
24
- * Closes all overlay instances.
25
- */
26
- closeAll(): void;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyOverlayService, never>;
28
- static ɵprov: i0.ɵɵInjectableDeclaration<SkyOverlayService>;
29
- }
30
- /**
31
- * This service is used to create new overlays.
32
- * @internal
33
- * @deprecated Use `SkyOverlayService` to open a standalone component instead.
34
- */
35
- export declare class SkyOverlayLegacyService extends SkyOverlayService {
36
- constructor(dynamicComponentSvc: SkyDynamicComponentLegacyService);
37
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyOverlayLegacyService, never>;
38
- static ɵprov: i0.ɵɵInjectableDeclaration<SkyOverlayLegacyService>;
39
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./percent.pipe";
3
- import * as i2 from "../shared/sky-core-resources.module";
4
- export declare class SkyPercentPipeModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyPercentPipeModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<SkyPercentPipeModule, [typeof i1.SkyPercentPipe], [typeof i2.SkyCoreResourcesModule], [typeof i1.SkyPercentPipe]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<SkyPercentPipeModule>;
8
- }
@@ -1,12 +0,0 @@
1
- import { OnDestroy, PipeTransform } from '@angular/core';
2
- import { SkyAppLocaleProvider } from '@skyux/i18n';
3
- import * as i0 from "@angular/core";
4
- export declare class SkyPercentPipe implements OnDestroy, PipeTransform {
5
- #private;
6
- get defaultLocale(): string;
7
- constructor(localeProvider: SkyAppLocaleProvider);
8
- ngOnDestroy(): void;
9
- transform(value: string, format?: string, locale?: string): string;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyPercentPipe, never>;
11
- static ɵpipe: i0.ɵɵPipeDeclaration<SkyPercentPipe, "skyPercent", false>;
12
- }