@skyux/indicators 5.0.0-beta.1 → 5.0.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 (199) hide show
  1. package/LICENSE +21 -0
  2. package/bundles/skyux-indicators-testing.umd.js +15 -11
  3. package/bundles/skyux-indicators-testing.umd.js.map +1 -1
  4. package/bundles/skyux-indicators.umd.js +1113 -858
  5. package/bundles/skyux-indicators.umd.js.map +1 -1
  6. package/documentation.json +6097 -0
  7. package/esm2015/modules/alert/alert.component.js +27 -24
  8. package/esm2015/modules/alert/alert.module.js +31 -18
  9. package/esm2015/modules/chevron/chevron.component.js +24 -24
  10. package/esm2015/modules/chevron/chevron.module.js +29 -18
  11. package/esm2015/modules/help-inline/help-inline.component.js +20 -15
  12. package/esm2015/modules/help-inline/help-inline.module.js +31 -18
  13. package/esm2015/modules/icon/icon-class-list.pipe.js +13 -14
  14. package/esm2015/modules/icon/icon-resolver.service.js +11 -15
  15. package/esm2015/modules/icon/icon-stack-item.js +2 -1
  16. package/esm2015/modules/icon/icon-stack.component.js +22 -21
  17. package/esm2015/modules/icon/icon.component.js +27 -28
  18. package/esm2015/modules/icon/icon.module.js +30 -20
  19. package/esm2015/modules/icon/types/icon-type.js +2 -1
  20. package/esm2015/modules/icon/types/icon-variant-type.js +2 -1
  21. package/esm2015/modules/key-info/key-info-label.component.js +13 -11
  22. package/esm2015/modules/key-info/key-info-value.component.js +13 -11
  23. package/esm2015/modules/key-info/key-info.component.js +17 -15
  24. package/esm2015/modules/key-info/key-info.module.js +30 -21
  25. package/esm2015/modules/label/label-type.js +2 -1
  26. package/esm2015/modules/label/label.component.js +19 -15
  27. package/esm2015/modules/label/label.module.js +24 -17
  28. package/esm2015/modules/shared/indicator-description-type.js +2 -1
  29. package/esm2015/modules/shared/indicator-icon-type.js +2 -1
  30. package/esm2015/modules/shared/indicator-icon-utility.js +1 -1
  31. package/esm2015/modules/shared/indicator-icon.js +2 -1
  32. package/esm2015/modules/shared/sky-indicators-resources.module.js +41 -0
  33. package/esm2015/modules/status-indicator/status-indicator.component.js +26 -28
  34. package/esm2015/modules/status-indicator/status-indicator.module.js +29 -18
  35. package/esm2015/modules/text-highlight/text-highlight.directive.js +25 -25
  36. package/esm2015/modules/text-highlight/text-highlight.module.js +23 -18
  37. package/esm2015/modules/tokens/token.component.js +32 -40
  38. package/esm2015/modules/tokens/tokens.component.js +86 -74
  39. package/esm2015/modules/tokens/tokens.module.js +33 -20
  40. package/esm2015/modules/tokens/types/token-selected-event-args.js +2 -1
  41. package/esm2015/modules/tokens/types/token.js +2 -1
  42. package/esm2015/modules/tokens/types/tokens-message-type.js +1 -1
  43. package/esm2015/modules/tokens/types/tokens-message.js +2 -1
  44. package/esm2015/modules/wait/wait-adapter.service.js +29 -27
  45. package/esm2015/modules/wait/wait-page-adapter.service.js +15 -12
  46. package/esm2015/modules/wait/wait-page.component.js +19 -18
  47. package/esm2015/modules/wait/wait.component.js +35 -36
  48. package/esm2015/modules/wait/wait.module.js +32 -23
  49. package/esm2015/modules/wait/wait.service.js +37 -46
  50. package/esm2015/public-api.js +36 -0
  51. package/esm2015/skyux-indicators.js +2 -23
  52. package/esm2015/testing/alert-fixture.js +1 -1
  53. package/esm2015/testing/label-fixture.js +1 -1
  54. package/esm2015/testing/public-api.js +4 -0
  55. package/esm2015/testing/skyux-indicators-testing.js +2 -2
  56. package/esm2015/testing/wait-fixture.js +1 -1
  57. package/fesm2015/skyux-indicators-testing.js.map +1 -1
  58. package/fesm2015/skyux-indicators.js +752 -616
  59. package/fesm2015/skyux-indicators.js.map +1 -1
  60. package/modules/alert/alert.component.d.ts +3 -0
  61. package/modules/alert/alert.module.d.ts +10 -0
  62. package/modules/chevron/chevron.component.d.ts +4 -1
  63. package/modules/chevron/chevron.module.d.ts +9 -0
  64. package/modules/help-inline/help-inline.component.d.ts +3 -0
  65. package/modules/help-inline/help-inline.module.d.ts +10 -0
  66. package/modules/icon/icon-class-list.pipe.d.ts +3 -0
  67. package/modules/icon/icon-resolver.service.d.ts +3 -0
  68. package/modules/icon/icon-stack.component.d.ts +3 -0
  69. package/modules/icon/icon.component.d.ts +3 -0
  70. package/modules/icon/icon.module.d.ts +9 -0
  71. package/modules/key-info/key-info-label.component.d.ts +3 -0
  72. package/modules/key-info/key-info-value.component.d.ts +3 -0
  73. package/modules/key-info/key-info.component.d.ts +3 -0
  74. package/modules/key-info/key-info.module.d.ts +8 -0
  75. package/modules/label/label.component.d.ts +3 -0
  76. package/modules/label/label.module.d.ts +7 -0
  77. package/modules/shared/sky-indicators-resources.module.d.ts +14 -0
  78. package/modules/status-indicator/status-indicator.component.d.ts +3 -0
  79. package/modules/status-indicator/status-indicator.module.d.ts +9 -0
  80. package/modules/text-highlight/text-highlight.directive.d.ts +3 -0
  81. package/modules/text-highlight/text-highlight.module.d.ts +5 -0
  82. package/modules/tokens/token.component.d.ts +4 -1
  83. package/modules/tokens/tokens.component.d.ts +3 -0
  84. package/modules/tokens/tokens.module.d.ts +10 -0
  85. package/modules/wait/wait-adapter.service.d.ts +3 -0
  86. package/modules/wait/wait-page-adapter.service.d.ts +3 -0
  87. package/modules/wait/wait-page.component.d.ts +3 -0
  88. package/modules/wait/wait.component.d.ts +3 -0
  89. package/modules/wait/wait.module.d.ts +9 -0
  90. package/modules/wait/wait.service.d.ts +3 -0
  91. package/package.json +12 -27
  92. package/public-api.d.ts +33 -0
  93. package/skyux-indicators.d.ts +2 -22
  94. package/testing/package.json +2 -5
  95. package/testing/{public_api.d.ts → public-api.d.ts} +0 -0
  96. package/testing/skyux-indicators-testing.d.ts +2 -1
  97. package/CHANGELOG.md +0 -203
  98. package/bundles/skyux-indicators-testing.umd.min.js +0 -2
  99. package/bundles/skyux-indicators-testing.umd.min.js.map +0 -1
  100. package/bundles/skyux-indicators.umd.min.js +0 -16
  101. package/bundles/skyux-indicators.umd.min.js.map +0 -1
  102. package/esm2015/modules/shared/indicators-resources.module.js +0 -17
  103. package/esm2015/plugin-resources/indicators-resources-provider.js +0 -16
  104. package/esm2015/public_api.js +0 -13
  105. package/esm2015/testing/public_api.js +0 -4
  106. package/esm5/modules/alert/alert.component.js +0 -62
  107. package/esm5/modules/alert/alert.module.js +0 -32
  108. package/esm5/modules/chevron/chevron.component.js +0 -35
  109. package/esm5/modules/chevron/chevron.module.js +0 -30
  110. package/esm5/modules/help-inline/help-inline.component.js +0 -26
  111. package/esm5/modules/help-inline/help-inline.module.js +0 -32
  112. package/esm5/modules/icon/icon-class-list.pipe.js +0 -39
  113. package/esm5/modules/icon/icon-resolver.service.js +0 -57
  114. package/esm5/modules/icon/icon-stack-item.js +0 -1
  115. package/esm5/modules/icon/icon-stack.component.js +0 -25
  116. package/esm5/modules/icon/icon.component.js +0 -38
  117. package/esm5/modules/icon/icon.module.js +0 -31
  118. package/esm5/modules/icon/types/icon-type.js +0 -1
  119. package/esm5/modules/icon/types/icon-variant-type.js +0 -1
  120. package/esm5/modules/key-info/key-info-label.component.js +0 -19
  121. package/esm5/modules/key-info/key-info-value.component.js +0 -19
  122. package/esm5/modules/key-info/key-info.component.js +0 -25
  123. package/esm5/modules/key-info/key-info.module.js +0 -30
  124. package/esm5/modules/label/label-type.js +0 -1
  125. package/esm5/modules/label/label.component.js +0 -41
  126. package/esm5/modules/label/label.module.js +0 -26
  127. package/esm5/modules/shared/indicator-description-type.js +0 -1
  128. package/esm5/modules/shared/indicator-icon-type.js +0 -1
  129. package/esm5/modules/shared/indicator-icon-utility.js +0 -45
  130. package/esm5/modules/shared/indicator-icon.js +0 -1
  131. package/esm5/modules/shared/indicators-resources.module.js +0 -20
  132. package/esm5/modules/status-indicator/status-indicator.component.js +0 -111
  133. package/esm5/modules/status-indicator/status-indicator.module.js +0 -30
  134. package/esm5/modules/text-highlight/text-highlight.directive.js +0 -134
  135. package/esm5/modules/text-highlight/text-highlight.module.js +0 -24
  136. package/esm5/modules/tokens/token.component.js +0 -134
  137. package/esm5/modules/tokens/tokens.component.js +0 -325
  138. package/esm5/modules/tokens/tokens.module.js +0 -33
  139. package/esm5/modules/tokens/types/token-selected-event-args.js +0 -1
  140. package/esm5/modules/tokens/types/token.js +0 -1
  141. package/esm5/modules/tokens/types/tokens-message-type.js +0 -24
  142. package/esm5/modules/tokens/types/tokens-message.js +0 -1
  143. package/esm5/modules/wait/wait-adapter.service.js +0 -219
  144. package/esm5/modules/wait/wait-page-adapter.service.js +0 -25
  145. package/esm5/modules/wait/wait-page.component.js +0 -25
  146. package/esm5/modules/wait/wait.component.js +0 -107
  147. package/esm5/modules/wait/wait.module.js +0 -34
  148. package/esm5/modules/wait/wait.service.js +0 -176
  149. package/esm5/plugin-resources/indicators-resources-provider.js +0 -17
  150. package/esm5/public_api.js +0 -13
  151. package/esm5/skyux-indicators.js +0 -26
  152. package/esm5/testing/alert-fixture.js +0 -85
  153. package/esm5/testing/label-fixture.js +0 -50
  154. package/esm5/testing/public_api.js +0 -4
  155. package/esm5/testing/skyux-indicators-testing.js +0 -5
  156. package/esm5/testing/wait-fixture.js +0 -42
  157. package/fesm5/skyux-indicators-testing.js +0 -178
  158. package/fesm5/skyux-indicators-testing.js.map +0 -1
  159. package/fesm5/skyux-indicators.js +0 -1892
  160. package/fesm5/skyux-indicators.js.map +0 -1
  161. package/modules/shared/indicators-resources.module.d.ts +0 -2
  162. package/plugin-resources/indicators-resources-provider.d.ts +0 -5
  163. package/public_api.d.ts +0 -19
  164. package/skyux-indicators.metadata.json +0 -1
  165. package/src/assets/img/guidelines/alert/alert-anatomy.png +0 -0
  166. package/src/assets/img/guidelines/alert/alert-layout-1.png +0 -0
  167. package/src/assets/img/guidelines/alert/alert-layout-2.png +0 -0
  168. package/src/assets/img/guidelines/alert/alert-layout-3.png +0 -0
  169. package/src/assets/img/guidelines/alert/alert-option-1.png +0 -0
  170. package/src/assets/img/guidelines/alert/alert-type-1.png +0 -0
  171. package/src/assets/img/guidelines/alert/alert-type-2.png +0 -0
  172. package/src/assets/img/guidelines/alert/alert-type-3.png +0 -0
  173. package/src/assets/img/guidelines/alert/alert-type-4.png +0 -0
  174. package/src/assets/img/guidelines/alert/alert-usage-1.png +0 -0
  175. package/src/assets/img/guidelines/alert/alert-usage-2.png +0 -0
  176. package/src/assets/img/guidelines/alert/alert-usage-3.png +0 -0
  177. package/src/assets/img/guidelines/alert/alert-usage-4.png +0 -0
  178. package/src/assets/img/guidelines/alert/alert-usage-5.png +0 -0
  179. package/src/assets/img/guidelines/alert/alert-usage-6.png +0 -0
  180. package/src/assets/img/guidelines/key-info/horizontal-layout.png +0 -0
  181. package/src/assets/img/guidelines/key-info/key-info-anatomy.png +0 -0
  182. package/src/assets/img/guidelines/key-info/key-info-usage-1.png +0 -0
  183. package/src/assets/img/guidelines/key-info/key-info-usage-2.png +0 -0
  184. package/src/assets/img/guidelines/key-info/key-info-usage-3.png +0 -0
  185. package/src/assets/img/guidelines/key-info/key-info-usage-4.png +0 -0
  186. package/src/assets/img/guidelines/key-info/key-info-usage-5.png +0 -0
  187. package/src/assets/img/guidelines/key-info/key-info-usage-6.png +0 -0
  188. package/src/assets/img/guidelines/key-info/vertical-layout.png +0 -0
  189. package/src/assets/img/guidelines/status-indicator/status-indicator-anatomy.png +0 -0
  190. package/src/assets/img/guidelines/status-indicator/status-indicator-usage-1.png +0 -0
  191. package/src/assets/img/guidelines/status-indicator/status-indicator-usage-2-5.png +0 -0
  192. package/src/assets/img/guidelines/status-indicator/status-indicator-usage-2.5.png +0 -0
  193. package/src/assets/img/guidelines/status-indicator/status-indicator-usage-2.png +0 -0
  194. package/src/assets/img/guidelines/status-indicator/status-indicator-usage-3.png +0 -0
  195. package/src/assets/img/guidelines/status-indicator/status-indicator-usage-4.png +0 -0
  196. package/src/assets/img/guidelines/status-indicator/status-indicator-usage-5.png +0 -0
  197. package/src/assets/img/guidelines/status-indicator/status-indicator-usage-6.png +0 -0
  198. package/src/assets/locales/resources_en_US.json +0 -54
  199. package/testing/skyux-indicators-testing.metadata.json +0 -1
@@ -1,94 +1,59 @@
1
- import { __decorate, __param } from 'tslib';
2
- import { Injectable, NgModule, Input, Component, ChangeDetectionStrategy, ɵɵdefineInjectable, ɵɵinject, Pipe, EventEmitter, Output, ChangeDetectorRef, ElementRef, Directive, ViewChildren, RendererFactory2, Optional, ComponentFactoryResolver, ApplicationRef } from '@angular/core';
1
+ import * as i0 from '@angular/core';
2
+ import { NgModule, Injectable, Pipe, Component, ChangeDetectionStrategy, Input, EventEmitter, Output, Directive, ViewChildren, Optional } from '@angular/core';
3
+ import * as i1$1 from '@angular/common';
3
4
  import { CommonModule } from '@angular/common';
4
- import { getStringForLocale, SKY_LIB_RESOURCES_PROVIDERS, SkyI18nModule, SkyLibResourcesService } from '@skyux/i18n';
5
- import { SkyThemeIconManifestService, SkyThemeIconManifestModule, SkyThemeModule } from '@skyux/theme';
6
- import { MutationObserverService, SkyAppWindowRef } from '@skyux/core';
5
+ import * as i1$2 from '@skyux/i18n';
6
+ import { getLibStringForLocale, SkyI18nModule, SKY_LIB_RESOURCES_PROVIDERS } from '@skyux/i18n';
7
+ import * as i1 from '@skyux/theme';
8
+ import { SkyThemeIconManifestModule, SkyThemeModule } from '@skyux/theme';
9
+ import * as i1$3 from '@skyux/core';
10
+ import { MutationObserverService } from '@skyux/core';
7
11
  import { trigger, transition, style, animate } from '@angular/animations';
8
12
  import { Subject, BehaviorSubject, defer } from 'rxjs';
9
13
  import { takeUntil, finalize } from 'rxjs/operators';
10
14
 
11
- let SkyIndicatorsResourcesProvider = class SkyIndicatorsResourcesProvider {
12
- constructor() {
13
- this.resources = { "EN-US": { "skyux_alert_close": "Close the alert", "skyux_chevron_collapse": "Collapse", "skyux_chevron_expand": "Expand", "skyux_help_inline_button_title": "Show help content", "skyux_status_indicator_sr_completed": "Completed:", "skyux_status_indicator_sr_error": "Error:", "skyux_status_indicator_sr_important_info": "Important information:", "skyux_status_indicator_sr_warning": "Warning:", "skyux_tokens_dismiss_button_title": "Remove item", "skyux_wait_aria_alt_text": "Loading.", "skyux_wait_blocking_aria_alt_text": "Loading. Please wait.", "skyux_wait_page_aria_alt_text": "Page loading.", "skyux_wait_page_blocking_aria_alt_text": "Page loading. Please wait." } };
14
- }
15
- getString(localeInfo, name) {
16
- return getStringForLocale(this.resources, localeInfo.locale, name);
17
- }
18
- };
19
- SkyIndicatorsResourcesProvider = __decorate([
20
- Injectable()
21
- ], SkyIndicatorsResourcesProvider);
22
-
23
- let SkyIndicatorsResourcesModule = class SkyIndicatorsResourcesModule {
15
+ /**
16
+ * NOTICE: DO NOT MODIFY THIS FILE!
17
+ * The contents of this file were automatically generated by
18
+ * the 'ng generate @skyux/i18n:lib-resources-module modules/shared/sky-indicators' schematic.
19
+ * To update this file, simply rerun the command.
20
+ */
21
+ const RESOURCES = {
22
+ 'EN-US': { "skyux_alert_close": { "message": "Close the alert" }, "skyux_chevron_collapse": { "message": "Collapse" }, "skyux_chevron_expand": { "message": "Expand" }, "skyux_help_inline_button_title": { "message": "Show help content" }, "skyux_status_indicator_sr_completed": { "message": "Completed:" }, "skyux_status_indicator_sr_error": { "message": "Error:" }, "skyux_status_indicator_sr_important_info": { "message": "Important information:" }, "skyux_status_indicator_sr_warning": { "message": "Warning:" }, "skyux_tokens_dismiss_button_title": { "message": "Remove item" }, "skyux_wait_aria_alt_text": { "message": "Loading." }, "skyux_wait_blocking_aria_alt_text": { "message": "Loading. Please wait." }, "skyux_wait_page_aria_alt_text": { "message": "Page loading." }, "skyux_wait_page_blocking_aria_alt_text": { "message": "Page loading. Please wait." } },
24
23
  };
25
- SkyIndicatorsResourcesModule = __decorate([
26
- NgModule({
27
- providers: [{
28
- provide: SKY_LIB_RESOURCES_PROVIDERS,
29
- useClass: SkyIndicatorsResourcesProvider,
30
- multi: true
31
- }]
32
- })
33
- ], SkyIndicatorsResourcesModule);
34
-
35
- let SkyIconComponent = class SkyIconComponent {
36
- constructor() {
37
- /**
38
- * Specifies the type of icon to display. Specifying `fa` will display a Font Awesome icon,
39
- * while specifying `skyux` will display an icon from the custom SKY UX icon font. Note that
40
- * the custom SKY UX icon font is currently in beta.
41
- */
42
- this.iconType = 'fa';
24
+ class SkyIndicatorsResourcesProvider {
25
+ getString(localeInfo, name) {
26
+ return getLibStringForLocale(RESOURCES, localeInfo.locale, name);
43
27
  }
44
- };
45
- __decorate([
46
- Input()
47
- ], SkyIconComponent.prototype, "icon", void 0);
48
- __decorate([
49
- Input()
50
- ], SkyIconComponent.prototype, "iconType", void 0);
51
- __decorate([
52
- Input()
53
- ], SkyIconComponent.prototype, "size", void 0);
54
- __decorate([
55
- Input()
56
- ], SkyIconComponent.prototype, "fixedWidth", void 0);
57
- __decorate([
58
- Input()
59
- ], SkyIconComponent.prototype, "variant", void 0);
60
- SkyIconComponent = __decorate([
61
- Component({
62
- selector: 'sky-icon',
63
- template: "<i *ngIf=\"icon\"\n aria-hidden=\"true\"\n class=\"sky-icon\"\n [ngClass]=\"icon | skyIconClassList:iconType:size:fixedWidth:variant\"\n>\n</i>\n",
64
- changeDetection: ChangeDetectionStrategy.OnPush,
65
- styles: [":host{display:inline-block}i{display:inherit}"]
66
- })
67
- ], SkyIconComponent);
68
-
69
- let SkyIconStackComponent = class SkyIconStackComponent {
70
- };
71
- __decorate([
72
- Input()
73
- ], SkyIconStackComponent.prototype, "size", void 0);
74
- __decorate([
75
- Input()
76
- ], SkyIconStackComponent.prototype, "baseIcon", void 0);
77
- __decorate([
78
- Input()
79
- ], SkyIconStackComponent.prototype, "topIcon", void 0);
80
- SkyIconStackComponent = __decorate([
81
- Component({
82
- selector: 'sky-icon-stack',
83
- template: "<span\n aria-hidden=\"true\"\n class=\"sky-icon-stack fa-stack\"\n [ngClass]=\"size ? 'fa-' + size + ' sky-icon-stack-size-' + size : ''\"\n>\n <i *ngIf=\"baseIcon\"\n class=\"sky-icon fa-stack-2x\"\n [ngClass]=\"baseIcon.icon | skyIconClassList:baseIcon.iconType\"\n ></i>\n <i *ngIf=\"topIcon\"\n class=\"sky-icon fa-stack-1x fa-inverse sky-icon-inverse\"\n [ngClass]=\"topIcon.icon | skyIconClassList:topIcon.iconType\"\n ></i>\n</span>\n",
84
- styles: [":host{display:inline-block;vertical-align:bottom}.sky-icon-stack-size-xs.fa-stack{width:1.25em;height:1.25em;line-height:1.25em}.sky-icon-stack-size-xs .fa-stack-2x{font-size:1.25em}.sky-icon-stack-size-xs .fa-stack-1x{font-size:.625em}.fa-stack-1x.sky-i-check:before{position:relative;top:1px}.fa-stack-1x.sky-i-exclamation:before{position:relative;top:2px;left:-.5px}.sky-theme-modern.sky-theme-mode-dark .sky-icon-inverse,:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-icon-inverse{color:#121212}"]
85
- })
86
- ], SkyIconStackComponent);
28
+ }
29
+ /**
30
+ * Import into any component library module that needs to use resource strings.
31
+ */
32
+ class SkyIndicatorsResourcesModule {
33
+ }
34
+ SkyIndicatorsResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyIndicatorsResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
35
+ SkyIndicatorsResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyIndicatorsResourcesModule, exports: [SkyI18nModule] });
36
+ SkyIndicatorsResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyIndicatorsResourcesModule, providers: [{
37
+ provide: SKY_LIB_RESOURCES_PROVIDERS,
38
+ useClass: SkyIndicatorsResourcesProvider,
39
+ multi: true
40
+ }], imports: [SkyI18nModule] });
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyIndicatorsResourcesModule, decorators: [{
42
+ type: NgModule,
43
+ args: [{
44
+ exports: [SkyI18nModule],
45
+ providers: [{
46
+ provide: SKY_LIB_RESOURCES_PROVIDERS,
47
+ useClass: SkyIndicatorsResourcesProvider,
48
+ multi: true
49
+ }]
50
+ }]
51
+ }] });
87
52
 
88
53
  /**
89
54
  * @internal
90
55
  */
91
- let SkyIconResolverService = class SkyIconResolverService {
56
+ class SkyIconResolverService {
92
57
  constructor(manifestSvc) {
93
58
  this.glyphMap = new Map();
94
59
  // Map the icons by name for more efficient lookup.
@@ -113,21 +78,20 @@ let SkyIconResolverService = class SkyIconResolverService {
113
78
  // Fall back to the icon name as-is.
114
79
  return iconName;
115
80
  }
116
- };
117
- SkyIconResolverService.ctorParameters = () => [
118
- { type: SkyThemeIconManifestService }
119
- ];
120
- SkyIconResolverService.ɵprov = ɵɵdefineInjectable({ factory: function SkyIconResolverService_Factory() { return new SkyIconResolverService(ɵɵinject(SkyThemeIconManifestService)); }, token: SkyIconResolverService, providedIn: "root" });
121
- SkyIconResolverService = __decorate([
122
- Injectable({
123
- providedIn: 'root'
124
- })
125
- ], SkyIconResolverService);
81
+ }
82
+ SkyIconResolverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyIconResolverService, deps: [{ token: i1.SkyThemeIconManifestService }], target: i0.ɵɵFactoryTarget.Injectable });
83
+ SkyIconResolverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyIconResolverService, providedIn: 'root' });
84
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyIconResolverService, decorators: [{
85
+ type: Injectable,
86
+ args: [{
87
+ providedIn: 'root'
88
+ }]
89
+ }], ctorParameters: function () { return [{ type: i1.SkyThemeIconManifestService }]; } });
126
90
 
127
91
  /**
128
92
  * @internal
129
93
  */
130
- let SkyIconClassListPipe = class SkyIconClassListPipe {
94
+ class SkyIconClassListPipe {
131
95
  constructor(resolver) {
132
96
  this.resolver = resolver;
133
97
  }
@@ -148,35 +112,97 @@ let SkyIconClassListPipe = class SkyIconClassListPipe {
148
112
  }
149
113
  return classList;
150
114
  }
151
- };
152
- SkyIconClassListPipe.ctorParameters = () => [
153
- { type: SkyIconResolverService }
154
- ];
155
- SkyIconClassListPipe = __decorate([
156
- Pipe({
157
- name: 'skyIconClassList'
158
- })
159
- ], SkyIconClassListPipe);
115
+ }
116
+ SkyIconClassListPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyIconClassListPipe, deps: [{ token: SkyIconResolverService }], target: i0.ɵɵFactoryTarget.Pipe });
117
+ SkyIconClassListPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyIconClassListPipe, name: "skyIconClassList" });
118
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyIconClassListPipe, decorators: [{
119
+ type: Pipe,
120
+ args: [{
121
+ name: 'skyIconClassList'
122
+ }]
123
+ }], ctorParameters: function () { return [{ type: SkyIconResolverService }]; } });
160
124
 
161
- let SkyIconModule = class SkyIconModule {
162
- };
163
- SkyIconModule = __decorate([
164
- NgModule({
165
- declarations: [
166
- SkyIconClassListPipe,
167
- SkyIconComponent,
168
- SkyIconStackComponent
169
- ],
170
- imports: [
125
+ class SkyIconComponent {
126
+ constructor() {
127
+ /**
128
+ * Specifies the type of icon to display. Specifying `fa` will display a Font Awesome icon,
129
+ * while specifying `skyux` will display an icon from the custom SKY UX icon font. Note that
130
+ * the custom SKY UX icon font is currently in beta.
131
+ */
132
+ this.iconType = 'fa';
133
+ }
134
+ }
135
+ SkyIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
136
+ SkyIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.7", type: SkyIconComponent, selector: "sky-icon", inputs: { icon: "icon", iconType: "iconType", size: "size", fixedWidth: "fixedWidth", variant: "variant" }, ngImport: i0, template: "<i *ngIf=\"icon\"\n aria-hidden=\"true\"\n class=\"sky-icon\"\n [ngClass]=\"icon | skyIconClassList:iconType:size:fixedWidth:variant\"\n>\n</i>\n", styles: [":host{display:inline-block}i{display:inherit}\n"], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "skyIconClassList": SkyIconClassListPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
137
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyIconComponent, decorators: [{
138
+ type: Component,
139
+ args: [{
140
+ selector: 'sky-icon',
141
+ templateUrl: './icon.component.html',
142
+ styleUrls: ['./icon.component.scss'],
143
+ changeDetection: ChangeDetectionStrategy.OnPush
144
+ }]
145
+ }], propDecorators: { icon: [{
146
+ type: Input
147
+ }], iconType: [{
148
+ type: Input
149
+ }], size: [{
150
+ type: Input
151
+ }], fixedWidth: [{
152
+ type: Input
153
+ }], variant: [{
154
+ type: Input
155
+ }] } });
156
+
157
+ class SkyIconStackComponent {
158
+ }
159
+ SkyIconStackComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyIconStackComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
160
+ SkyIconStackComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.7", type: SkyIconStackComponent, selector: "sky-icon-stack", inputs: { size: "size", baseIcon: "baseIcon", topIcon: "topIcon" }, ngImport: i0, template: "<span\n aria-hidden=\"true\"\n class=\"sky-icon-stack fa-stack\"\n [ngClass]=\"size ? 'fa-' + size + ' sky-icon-stack-size-' + size : ''\"\n>\n <i *ngIf=\"baseIcon\"\n class=\"sky-icon fa-stack-2x\"\n [ngClass]=\"baseIcon.icon | skyIconClassList:baseIcon.iconType\"\n ></i>\n <i *ngIf=\"topIcon\"\n class=\"sky-icon fa-stack-1x fa-inverse sky-icon-inverse\"\n [ngClass]=\"topIcon.icon | skyIconClassList:topIcon.iconType\"\n ></i>\n</span>\n", styles: [":host{display:inline-block;vertical-align:bottom}.sky-icon-stack-size-xs.fa-stack{width:1.25em;height:1.25em;line-height:1.25em}.sky-icon-stack-size-xs .fa-stack-2x{font-size:1.25em}.sky-icon-stack-size-xs .fa-stack-1x{font-size:.625em}.fa-stack-1x.sky-i-check:before{position:relative;top:1px}.fa-stack-1x.sky-i-exclamation:before{position:relative;top:2px;left:-.5px}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-icon-inverse{color:#121212}.sky-theme-modern.sky-theme-mode-dark .sky-icon-inverse{color:#121212}\n"], directives: [{ type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "skyIconClassList": SkyIconClassListPipe } });
161
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyIconStackComponent, decorators: [{
162
+ type: Component,
163
+ args: [{
164
+ selector: 'sky-icon-stack',
165
+ templateUrl: './icon-stack.component.html',
166
+ styleUrls: ['./icon-stack.component.scss']
167
+ }]
168
+ }], propDecorators: { size: [{
169
+ type: Input
170
+ }], baseIcon: [{
171
+ type: Input
172
+ }], topIcon: [{
173
+ type: Input
174
+ }] } });
175
+
176
+ class SkyIconModule {
177
+ }
178
+ SkyIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
179
+ SkyIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyIconModule, declarations: [SkyIconClassListPipe,
180
+ SkyIconComponent,
181
+ SkyIconStackComponent], imports: [CommonModule,
182
+ SkyThemeIconManifestModule], exports: [SkyIconComponent,
183
+ SkyIconStackComponent] });
184
+ SkyIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyIconModule, imports: [[
171
185
  CommonModule,
172
186
  SkyThemeIconManifestModule
173
- ],
174
- exports: [
175
- SkyIconComponent,
176
- SkyIconStackComponent
177
- ]
178
- })
179
- ], SkyIconModule);
187
+ ]] });
188
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyIconModule, decorators: [{
189
+ type: NgModule,
190
+ args: [{
191
+ declarations: [
192
+ SkyIconClassListPipe,
193
+ SkyIconComponent,
194
+ SkyIconStackComponent
195
+ ],
196
+ imports: [
197
+ CommonModule,
198
+ SkyThemeIconManifestModule
199
+ ],
200
+ exports: [
201
+ SkyIconComponent,
202
+ SkyIconStackComponent
203
+ ]
204
+ }]
205
+ }] });
180
206
 
181
207
  /**
182
208
  * @internl
@@ -220,7 +246,7 @@ class SkyIndicatorIconUtility {
220
246
  }
221
247
 
222
248
  const ALERT_TYPE_DEFAULT = 'warning';
223
- let SkyAlertComponent = class SkyAlertComponent {
249
+ class SkyAlertComponent {
224
250
  constructor() {
225
251
  /**
226
252
  * Fires when users close the alert.
@@ -251,98 +277,121 @@ let SkyAlertComponent = class SkyAlertComponent {
251
277
  this.alertBaseIcon = indicatorIcon.modernThemeBaseIcon;
252
278
  this.alertTopIcon = indicatorIcon.modernThemeTopIcon;
253
279
  }
254
- };
255
- __decorate([
256
- Input()
257
- ], SkyAlertComponent.prototype, "alertType", null);
258
- __decorate([
259
- Input()
260
- ], SkyAlertComponent.prototype, "closeable", void 0);
261
- __decorate([
262
- Input()
263
- ], SkyAlertComponent.prototype, "closed", void 0);
264
- __decorate([
265
- Output()
266
- ], SkyAlertComponent.prototype, "closedChange", void 0);
267
- SkyAlertComponent = __decorate([
268
- Component({
269
- selector: 'sky-alert',
270
- template: "<div\n class=\"sky-alert\"\n [skyThemeClass]= \"{\n 'sky-rounded-corners': 'default',\n 'sky-box sky-elevation-1': 'modern'\n }\"\n role=\"alert\"\n [hidden]=\"closed\"\n [ngClass]=\"{\n 'sky-alert-info': alertType === 'info',\n 'sky-alert-success': alertType === 'success',\n 'sky-alert-warning': alertType === 'warning',\n 'sky-alert-danger': alertType === 'danger',\n 'sky-alert-closeable': closeable\n }\"\n>\n <div\n aria-hidden=\"true\"\n class=\"sky-alert-icon-theme-modern\"\n >\n <sky-icon-stack\n [baseIcon]=\"alertBaseIcon\"\n [topIcon]=\"alertTopIcon\"\n >\n </sky-icon-stack>\n </div>\n <div\n class=\"sky-alert-content\"\n >\n <ng-content></ng-content>\n </div>\n <button\n class=\"sky-alert-close\"\n type=\"button\"\n [attr.aria-label]=\"'skyux_alert_close' | skyLibResources\"\n [hidden]=\"!closeable\"\n (click)=\"close()\"\n >\n <span\n aria-hidden=\"true\"\n >\n <sky-icon\n class=\"sky-alert-close-icon-theme-default\"\n icon=\"close\"\n >\n </sky-icon>\n <sky-icon\n class=\"sky-alert-close-icon-theme-modern\"\n icon=\"close\"\n iconType=\"skyux\"\n size=\"2x\"\n >\n </sky-icon>\n </span>\n </button>\n</div>\n",
271
- styles: ["@charset \"UTF-8\";.sky-alert{padding:0 10px;margin-bottom:20px;border-left:30px solid;color:#212327;display:flex;flex-direction:row;align-items:center}.sky-alert .sky-alert-content{padding-top:10px;padding-bottom:10px;width:100%}.sky-alert .sky-alert-content ::ng-deep a{color:rgba(33,35,39,.8);text-decoration:underline}.sky-alert .sky-alert-content ::ng-deep a:hover{color:#212327}.sky-alert button{margin-left:auto;width:32px;height:32px}.sky-alert.sky-alert-info{background-color:#81d4f7;border-color:#00b4f1}.sky-alert.sky-alert-info:before{content:\"\uF06A\";font-family:FontAwesome;margin-left:-31px;margin-right:20px;color:#fff}.sky-alert.sky-alert-success{background-color:#b7da9b;border-color:#72bf44}.sky-alert.sky-alert-success:before{content:\"\uF00C\";font-family:FontAwesome;margin-left:-32px;margin-right:19px;color:#fff}.sky-alert.sky-alert-warning{background-color:#ffd597;border-color:#fbb034}.sky-alert.sky-alert-warning:before{content:\"\uF071\";font-family:FontAwesome;margin-left:-32px;margin-right:19px;color:#fff}.sky-alert.sky-alert-danger{background-color:#f7a08f;border-color:#ef4044}.sky-alert.sky-alert-danger:before{content:\"\uF071\";font-family:FontAwesome;margin-left:-32px;margin-right:19px;color:#fff}.sky-alert-close{cursor:pointer;font-weight:700;line-height:1;margin:0;padding:0;color:#212327;opacity:.8;border:none;background-color:transparent;display:none}.sky-alert-close:hover{opacity:1}.sky-alert-closeable .sky-alert-close{display:block}.sky-alert-close-icon-theme-modern,.sky-alert-icon-theme-modern{display:none}.sky-theme-modern .sky-alert,:host-context(.sky-theme-modern) .sky-alert{border-left-width:7px}.sky-theme-modern .sky-alert .sky-alert-content,:host-context(.sky-theme-modern) .sky-alert .sky-alert-content{padding:15px}.sky-theme-modern .sky-alert.sky-alert-info,:host-context(.sky-theme-modern) .sky-alert.sky-alert-info{background-color:#c1e8fb}.sky-theme-modern .sky-alert-danger:before,.sky-theme-modern .sky-alert-info:before,.sky-theme-modern .sky-alert-success:before,.sky-theme-modern .sky-alert-warning:before,:host-context(.sky-theme-modern) .sky-alert-danger:before,:host-context(.sky-theme-modern) .sky-alert-info:before,:host-context(.sky-theme-modern) .sky-alert-success:before,:host-context(.sky-theme-modern) .sky-alert-warning:before{display:none}.sky-theme-modern .sky-alert-info .sky-alert-icon-theme-modern,:host-context(.sky-theme-modern) .sky-alert-info .sky-alert-icon-theme-modern{color:#00b4f1}.sky-theme-modern .sky-alert-success .sky-alert-icon-theme-modern,:host-context(.sky-theme-modern) .sky-alert-success .sky-alert-icon-theme-modern{color:#72bf44}.sky-theme-modern .sky-alert-warning .sky-alert-icon-theme-modern,:host-context(.sky-theme-modern) .sky-alert-warning .sky-alert-icon-theme-modern{color:#fbb034}.sky-theme-modern .sky-alert-danger .sky-alert-icon-theme-modern,:host-context(.sky-theme-modern) .sky-alert-danger .sky-alert-icon-theme-modern{color:#ef4044}.sky-theme-modern .sky-alert-icon-theme-modern,:host-context(.sky-theme-modern) .sky-alert-icon-theme-modern{display:block}.sky-theme-modern .sky-alert-close-icon-theme-default,:host-context(.sky-theme-modern) .sky-alert-close-icon-theme-default{display:none}.sky-theme-modern .sky-alert-close-icon-theme-modern,:host-context(.sky-theme-modern) .sky-alert-close-icon-theme-modern{display:inline}"]
272
- })
273
- ], SkyAlertComponent);
280
+ }
281
+ SkyAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
282
+ SkyAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.7", type: SkyAlertComponent, selector: "sky-alert", inputs: { alertType: "alertType", closeable: "closeable", closed: "closed" }, outputs: { closedChange: "closedChange" }, ngImport: i0, template: "<div\n class=\"sky-alert\"\n [skyThemeClass]= \"{\n 'sky-rounded-corners': 'default',\n 'sky-box sky-elevation-1': 'modern'\n }\"\n role=\"alert\"\n [hidden]=\"closed\"\n [ngClass]=\"{\n 'sky-alert-info': alertType === 'info',\n 'sky-alert-success': alertType === 'success',\n 'sky-alert-warning': alertType === 'warning',\n 'sky-alert-danger': alertType === 'danger',\n 'sky-alert-closeable': closeable\n }\"\n>\n <div\n aria-hidden=\"true\"\n class=\"sky-alert-icon-theme-modern\"\n >\n <sky-icon-stack\n [baseIcon]=\"alertBaseIcon\"\n [topIcon]=\"alertTopIcon\"\n >\n </sky-icon-stack>\n </div>\n <div\n class=\"sky-alert-content\"\n >\n <ng-content></ng-content>\n </div>\n <button\n class=\"sky-alert-close\"\n type=\"button\"\n [attr.aria-label]=\"'skyux_alert_close' | skyLibResources\"\n [hidden]=\"!closeable\"\n (click)=\"close()\"\n >\n <span\n aria-hidden=\"true\"\n >\n <sky-icon\n class=\"sky-alert-close-icon-theme-default\"\n icon=\"close\"\n >\n </sky-icon>\n <sky-icon\n class=\"sky-alert-close-icon-theme-modern\"\n icon=\"close\"\n iconType=\"skyux\"\n size=\"2x\"\n >\n </sky-icon>\n </span>\n </button>\n</div>\n", styles: ["@charset \"UTF-8\";.sky-alert{padding:0 10px;margin-bottom:20px;border-left:solid 30px;color:#212327;display:flex;flex-direction:row;align-items:center}.sky-alert .sky-alert-content{padding-top:10px;padding-bottom:10px;width:100%}.sky-alert .sky-alert-content ::ng-deep a{color:#212327cc;text-decoration:underline}.sky-alert .sky-alert-content ::ng-deep a:hover{color:#212327}.sky-alert button{margin-left:auto;width:32px;height:32px}.sky-alert.sky-alert-info{background-color:#81d4f7;border-color:#00b4f1}.sky-alert.sky-alert-info:before{content:\"\\f06a\";font-family:FontAwesome;margin-left:-31px;margin-right:20px;color:#fff}.sky-alert.sky-alert-success{background-color:#b7da9b;border-color:#72bf44}.sky-alert.sky-alert-success:before{content:\"\\f00c\";font-family:FontAwesome;margin-left:-32px;margin-right:19px;color:#fff}.sky-alert.sky-alert-warning{background-color:#ffd597;border-color:#fbb034}.sky-alert.sky-alert-warning:before{content:\"\\f071\";font-family:FontAwesome;margin-left:-32px;margin-right:19px;color:#fff}.sky-alert.sky-alert-danger{background-color:#f7a08f;border-color:#ef4044}.sky-alert.sky-alert-danger:before{content:\"\\f071\";font-family:FontAwesome;margin-left:-32px;margin-right:19px;color:#fff}.sky-alert-close{cursor:pointer;font-weight:bold;line-height:1;margin:0;padding:0;color:#212327;opacity:.8;border:none;background-color:transparent;display:none}.sky-alert-close:hover{opacity:1}.sky-alert-closeable .sky-alert-close{display:block}.sky-alert-close-icon-theme-modern,.sky-alert-icon-theme-modern{display:none}:host-context(.sky-theme-modern) .sky-alert{border-left-width:7px}:host-context(.sky-theme-modern) .sky-alert .sky-alert-content{padding:15px}:host-context(.sky-theme-modern) .sky-alert.sky-alert-info{background-color:#c1e8fb}:host-context(.sky-theme-modern) .sky-alert-info:before,:host-context(.sky-theme-modern) .sky-alert-success:before,:host-context(.sky-theme-modern) .sky-alert-warning:before,:host-context(.sky-theme-modern) .sky-alert-danger:before{display:none}:host-context(.sky-theme-modern) .sky-alert-info .sky-alert-icon-theme-modern{color:#00b4f1}:host-context(.sky-theme-modern) .sky-alert-success .sky-alert-icon-theme-modern{color:#72bf44}:host-context(.sky-theme-modern) .sky-alert-warning .sky-alert-icon-theme-modern{color:#fbb034}:host-context(.sky-theme-modern) .sky-alert-danger .sky-alert-icon-theme-modern{color:#ef4044}:host-context(.sky-theme-modern) .sky-alert-icon-theme-modern{display:block}:host-context(.sky-theme-modern) .sky-alert-close-icon-theme-default{display:none}:host-context(.sky-theme-modern) .sky-alert-close-icon-theme-modern{display:inline}.sky-theme-modern .sky-alert{border-left-width:7px}.sky-theme-modern .sky-alert .sky-alert-content{padding:15px}.sky-theme-modern .sky-alert.sky-alert-info{background-color:#c1e8fb}.sky-theme-modern .sky-alert-info:before,.sky-theme-modern .sky-alert-success:before,.sky-theme-modern .sky-alert-warning:before,.sky-theme-modern .sky-alert-danger:before{display:none}.sky-theme-modern .sky-alert-info .sky-alert-icon-theme-modern{color:#00b4f1}.sky-theme-modern .sky-alert-success .sky-alert-icon-theme-modern{color:#72bf44}.sky-theme-modern .sky-alert-warning .sky-alert-icon-theme-modern{color:#fbb034}.sky-theme-modern .sky-alert-danger .sky-alert-icon-theme-modern{color:#ef4044}.sky-theme-modern .sky-alert-icon-theme-modern{display:block}.sky-theme-modern .sky-alert-close-icon-theme-default{display:none}.sky-theme-modern .sky-alert-close-icon-theme-modern{display:inline}\n"], components: [{ type: SkyIconStackComponent, selector: "sky-icon-stack", inputs: ["size", "baseIcon", "topIcon"] }, { type: SkyIconComponent, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }], directives: [{ type: i1.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "skyLibResources": i1$2.SkyLibResourcesPipe } });
283
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyAlertComponent, decorators: [{
284
+ type: Component,
285
+ args: [{
286
+ selector: 'sky-alert',
287
+ styleUrls: ['./alert.component.scss'],
288
+ templateUrl: './alert.component.html'
289
+ }]
290
+ }], propDecorators: { alertType: [{
291
+ type: Input
292
+ }], closeable: [{
293
+ type: Input
294
+ }], closed: [{
295
+ type: Input
296
+ }], closedChange: [{
297
+ type: Output
298
+ }] } });
274
299
 
275
- let SkyAlertModule = class SkyAlertModule {
276
- };
277
- SkyAlertModule = __decorate([
278
- NgModule({
279
- declarations: [
280
- SkyAlertComponent
281
- ],
282
- imports: [
300
+ class SkyAlertModule {
301
+ }
302
+ SkyAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
303
+ SkyAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyAlertModule, declarations: [SkyAlertComponent], imports: [CommonModule,
304
+ SkyI18nModule,
305
+ SkyIconModule,
306
+ SkyIndicatorsResourcesModule,
307
+ SkyThemeModule], exports: [SkyAlertComponent] });
308
+ SkyAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyAlertModule, imports: [[
283
309
  CommonModule,
284
310
  SkyI18nModule,
285
311
  SkyIconModule,
286
312
  SkyIndicatorsResourcesModule,
287
313
  SkyThemeModule
288
- ],
289
- exports: [
290
- SkyAlertComponent
291
- ]
292
- })
293
- ], SkyAlertModule);
314
+ ]] });
315
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyAlertModule, decorators: [{
316
+ type: NgModule,
317
+ args: [{
318
+ declarations: [
319
+ SkyAlertComponent
320
+ ],
321
+ imports: [
322
+ CommonModule,
323
+ SkyI18nModule,
324
+ SkyIconModule,
325
+ SkyIndicatorsResourcesModule,
326
+ SkyThemeModule
327
+ ],
328
+ exports: [
329
+ SkyAlertComponent
330
+ ]
331
+ }]
332
+ }] });
294
333
 
295
- let SkyChevronComponent = class SkyChevronComponent {
334
+ class SkyChevronComponent {
296
335
  constructor() {
297
336
  this.directionChange = new EventEmitter();
298
337
  this.direction = 'up';
299
338
  this.disabled = false;
300
339
  }
301
340
  chevronClick(event) {
302
- if (event) {
303
- event.stopPropagation();
304
- }
341
+ event.stopPropagation();
305
342
  this.direction = this.direction === 'up' ? 'down' : 'up';
306
343
  this.directionChange.emit(this.direction);
307
344
  }
308
- };
309
- __decorate([
310
- Output()
311
- ], SkyChevronComponent.prototype, "directionChange", void 0);
312
- __decorate([
313
- Input()
314
- ], SkyChevronComponent.prototype, "direction", void 0);
315
- __decorate([
316
- Input()
317
- ], SkyChevronComponent.prototype, "disabled", void 0);
318
- SkyChevronComponent = __decorate([
319
- Component({
320
- selector: 'sky-chevron',
321
- template: "<button\n class=\"sky-chevron\"\n type=\"button\"\n [attr.aria-label]=\"(direction === 'down' ? 'skyux_chevron_expand' : 'skyux_chevron_collapse') | skyLibResources\"\n [disabled]=\"disabled\"\n [ngClass]=\"['sky-chevron-' + direction]\"\n [skyThemeClass]=\"{\n 'sky-btn sky-btn-icon-borderless' : 'modern'\n }\"\n (click)=\"chevronClick($event)\"\n>\n <ng-container *skyThemeIf=\"'default'\">\n <ng-container *ngTemplateOutlet=\"icon\"></ng-container>\n </ng-container>\n <ng-container *skyThemeIf=\"'modern'\">\n <span\n class=\"chevron-glyph-container\"\n >\n <ng-container *ngTemplateOutlet=\"icon\"></ng-container>\n </span>\n </ng-container>\n</button>\n\n<ng-template #icon>\n <i\n aria-hidden=\"true\"\n class=\"sky-chevron-part sky-chevron-left\"\n >\n </i>\n <i\n aria-hidden=\"true\"\n class=\"sky-chevron-part sky-chevron-right\"\n >\n </i>\n</ng-template>\n",
322
- styles: ["button{background:#add8e6}.sky-chevron{border:none;background-color:transparent;flex-shrink:0;height:24px;margin:0;overflow:hidden;width:24px;cursor:pointer;position:relative;vertical-align:top}.sky-chevron:hover .sky-chevron-part{border-color:#979ba2}.sky-chevron-part{border-color:#cdcfd2;border-style:solid;border-width:3px 0 0;display:inline-block;height:10px;position:absolute;top:10px;transition:transform 250ms,left 250ms;vertical-align:top;width:10px}.sky-chevron-up .sky-chevron-left{left:7px;transform:rotate(-45deg)}.sky-chevron-up .sky-chevron-right{left:7px;transform:rotate(45deg)}.sky-chevron-down .sky-chevron-left{left:2px;transform:rotate(45deg)}.sky-chevron-down .sky-chevron-right{left:12px;transform:rotate(-45deg)}.sky-theme-modern .sky-chevron,:host-context(.sky-theme-modern) .sky-chevron{height:26px;width:26px}.sky-theme-modern .sky-chevron-part,:host-context(.sky-theme-modern) .sky-chevron-part{background:#686c73;border:none;height:2px;width:11px;top:13px}.sky-theme-modern .chevron-glyph-container,:host-context(.sky-theme-modern) .chevron-glyph-container{transform:scale(.68);display:inline-block;position:absolute;top:3.5px;left:4px}.sky-theme-modern .sky-chevron-left,:host-context(.sky-theme-modern) .sky-chevron-left{border-radius:1px 0 0 1px;left:4px}.sky-theme-modern .sky-chevron-right,:host-context(.sky-theme-modern) .sky-chevron-right{border-radius:0 1px 1px 0;left:10.5px}"]
323
- })
324
- ], SkyChevronComponent);
345
+ }
346
+ SkyChevronComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyChevronComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
347
+ SkyChevronComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.7", type: SkyChevronComponent, selector: "sky-chevron", inputs: { direction: "direction", disabled: "disabled" }, outputs: { directionChange: "directionChange" }, ngImport: i0, template: "<button\n class=\"sky-chevron\"\n type=\"button\"\n [attr.aria-label]=\"(direction === 'down' ? 'skyux_chevron_expand' : 'skyux_chevron_collapse') | skyLibResources\"\n [disabled]=\"disabled\"\n [ngClass]=\"['sky-chevron-' + direction]\"\n [skyThemeClass]=\"{\n 'sky-btn sky-btn-icon-borderless' : 'modern'\n }\"\n (click)=\"chevronClick($event)\"\n>\n <ng-container *skyThemeIf=\"'default'\">\n <ng-container *ngTemplateOutlet=\"icon\"></ng-container>\n </ng-container>\n <ng-container *skyThemeIf=\"'modern'\">\n <span\n class=\"chevron-glyph-container\"\n >\n <ng-container *ngTemplateOutlet=\"icon\"></ng-container>\n </span>\n </ng-container>\n</button>\n\n<ng-template #icon>\n <i\n aria-hidden=\"true\"\n class=\"sky-chevron-part sky-chevron-left\"\n >\n </i>\n <i\n aria-hidden=\"true\"\n class=\"sky-chevron-part sky-chevron-right\"\n >\n </i>\n</ng-template>\n", styles: ["button{background:lightblue}.sky-chevron{border:none;background-color:transparent;flex-shrink:0;height:24px;margin:0;overflow:hidden;width:24px;cursor:pointer;position:relative;vertical-align:top}.sky-chevron:hover .sky-chevron-part{border-color:#979ba2}.sky-chevron-part{border-color:#cdcfd2;border-style:solid;border-width:3px 0 0 0;display:inline-block;height:10px;position:absolute;top:10px;transition:transform .25s,left .25s;vertical-align:top;width:10px}.sky-chevron-up .sky-chevron-left{left:7px;transform:rotate(-45deg)}.sky-chevron-up .sky-chevron-right{left:7px;transform:rotate(45deg)}.sky-chevron-down .sky-chevron-left{left:2px;transform:rotate(45deg)}.sky-chevron-down .sky-chevron-right{left:12px;transform:rotate(-45deg)}:host-context(.sky-theme-modern) .sky-chevron{height:26px;width:26px}:host-context(.sky-theme-modern) .sky-chevron-part{background:#686c73;border:none;height:2px;width:11px;top:13px}:host-context(.sky-theme-modern) .chevron-glyph-container{transform:scale(.68);display:inline-block;position:absolute;top:3.5px;left:4px}:host-context(.sky-theme-modern) .sky-chevron-left{border-radius:1px 0 0 1px}:host-context(.sky-theme-modern) .sky-chevron-right{border-radius:0 1px 1px 0}:host-context(.sky-theme-modern) .sky-chevron-left{left:4px}:host-context(.sky-theme-modern) .sky-chevron-right{left:10.5px}.sky-theme-modern .sky-chevron{height:26px;width:26px}.sky-theme-modern .sky-chevron-part{background:#686c73;border:none;height:2px;width:11px;top:13px}.sky-theme-modern .chevron-glyph-container{transform:scale(.68);display:inline-block;position:absolute;top:3.5px;left:4px}.sky-theme-modern .sky-chevron-left{border-radius:1px 0 0 1px}.sky-theme-modern .sky-chevron-right{border-radius:0 1px 1px 0}.sky-theme-modern .sky-chevron-left{left:4px}.sky-theme-modern .sky-chevron-right{left:10.5px}\n"], directives: [{ type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { type: i1.λ3, selector: "[skyThemeIf]", inputs: ["skyThemeIf"] }, { type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "skyLibResources": i1$2.SkyLibResourcesPipe } });
348
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyChevronComponent, decorators: [{
349
+ type: Component,
350
+ args: [{
351
+ selector: 'sky-chevron',
352
+ styleUrls: ['./chevron.component.scss'],
353
+ templateUrl: './chevron.component.html'
354
+ }]
355
+ }], propDecorators: { directionChange: [{
356
+ type: Output
357
+ }], direction: [{
358
+ type: Input
359
+ }], disabled: [{
360
+ type: Input
361
+ }] } });
325
362
 
326
- let SkyChevronModule = class SkyChevronModule {
327
- };
328
- SkyChevronModule = __decorate([
329
- NgModule({
330
- declarations: [
331
- SkyChevronComponent
332
- ],
333
- imports: [
363
+ class SkyChevronModule {
364
+ }
365
+ SkyChevronModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyChevronModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
366
+ SkyChevronModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyChevronModule, declarations: [SkyChevronComponent], imports: [CommonModule,
367
+ SkyI18nModule,
368
+ SkyIndicatorsResourcesModule,
369
+ SkyThemeModule], exports: [SkyChevronComponent] });
370
+ SkyChevronModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyChevronModule, imports: [[
334
371
  CommonModule,
335
372
  SkyI18nModule,
336
373
  SkyIndicatorsResourcesModule,
337
374
  SkyThemeModule
338
- ],
339
- exports: [
340
- SkyChevronComponent
341
- ]
342
- })
343
- ], SkyChevronModule);
375
+ ]] });
376
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyChevronModule, decorators: [{
377
+ type: NgModule,
378
+ args: [{
379
+ declarations: [
380
+ SkyChevronComponent
381
+ ],
382
+ imports: [
383
+ CommonModule,
384
+ SkyI18nModule,
385
+ SkyIndicatorsResourcesModule,
386
+ SkyThemeModule
387
+ ],
388
+ exports: [
389
+ SkyChevronComponent
390
+ ]
391
+ }]
392
+ }] });
344
393
 
345
- let SkyHelpInlineComponent = class SkyHelpInlineComponent {
394
+ class SkyHelpInlineComponent {
346
395
  constructor() {
347
396
  /**
348
397
  * Fires when the user clicks the help inline button.
@@ -352,65 +401,87 @@ let SkyHelpInlineComponent = class SkyHelpInlineComponent {
352
401
  onClick() {
353
402
  this.actionClick.emit();
354
403
  }
355
- };
356
- __decorate([
357
- Output()
358
- ], SkyHelpInlineComponent.prototype, "actionClick", void 0);
359
- SkyHelpInlineComponent = __decorate([
360
- Component({
361
- selector: 'sky-help-inline',
362
- template: "<button\n class=\"sky-help-inline\"\n type=\"button\"\n [attr.aria-label]=\"'skyux_help_inline_button_title' | skyLibResources\"\n (click)=\"onClick()\"\n>\n <sky-icon *skyThemeIf=\"'default'\"\n icon=\"info-circle\"\n >\n </sky-icon>\n <sky-icon-stack *skyThemeIf=\"'modern'\"\n size=\"xs\"\n [baseIcon]=\"{\n icon: 'circle-solid',\n iconType: 'skyux'\n }\"\n [topIcon]=\"{\n icon: 'help-i',\n iconType: 'skyux'\n }\"\n >\n </sky-icon-stack>\n</button>\n",
363
- styles: [".sky-help-inline{color:#0974a1;font-size:15px;background-color:transparent;border:none;display:inline-block}.sky-help-inline:hover{color:#065171;transition:color 150ms;cursor:pointer}.sky-theme-modern .sky-help-inline ::ng-deep .fa-stack-2x,:host-context(.sky-theme-modern) .sky-help-inline ::ng-deep .fa-stack-2x{font-size:16px}.sky-theme-modern .sky-help-inline ::ng-deep .fa-stack-1x,:host-context(.sky-theme-modern) .sky-help-inline ::ng-deep .fa-stack-1x{font-size:10px}"]
364
- })
365
- ], SkyHelpInlineComponent);
404
+ }
405
+ SkyHelpInlineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyHelpInlineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
406
+ SkyHelpInlineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.7", type: SkyHelpInlineComponent, selector: "sky-help-inline", outputs: { actionClick: "actionClick" }, ngImport: i0, template: "<button\n class=\"sky-help-inline\"\n type=\"button\"\n [attr.aria-label]=\"'skyux_help_inline_button_title' | skyLibResources\"\n (click)=\"onClick()\"\n>\n <sky-icon *skyThemeIf=\"'default'\"\n icon=\"info-circle\"\n >\n </sky-icon>\n <sky-icon-stack *skyThemeIf=\"'modern'\"\n size=\"xs\"\n [baseIcon]=\"{\n icon: 'circle-solid',\n iconType: 'skyux'\n }\"\n [topIcon]=\"{\n icon: 'help-i',\n iconType: 'skyux'\n }\"\n >\n </sky-icon-stack>\n</button>\n", styles: [".sky-help-inline{color:#0974a1;font-size:15px;background-color:transparent;border:none;display:inline-block}.sky-help-inline:hover{color:#065171;transition:color .15s;cursor:pointer}:host-context(.sky-theme-modern) .sky-help-inline ::ng-deep .fa-stack-2x{font-size:16px}:host-context(.sky-theme-modern) .sky-help-inline ::ng-deep .fa-stack-1x{font-size:10px}.sky-theme-modern .sky-help-inline ::ng-deep .fa-stack-2x{font-size:16px}.sky-theme-modern .sky-help-inline ::ng-deep .fa-stack-1x{font-size:10px}\n"], components: [{ type: SkyIconComponent, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { type: SkyIconStackComponent, selector: "sky-icon-stack", inputs: ["size", "baseIcon", "topIcon"] }], directives: [{ type: i1.λ3, selector: "[skyThemeIf]", inputs: ["skyThemeIf"] }], pipes: { "skyLibResources": i1$2.SkyLibResourcesPipe } });
407
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyHelpInlineComponent, decorators: [{
408
+ type: Component,
409
+ args: [{
410
+ selector: 'sky-help-inline',
411
+ templateUrl: './help-inline.component.html',
412
+ styleUrls: ['./help-inline.component.scss']
413
+ }]
414
+ }], propDecorators: { actionClick: [{
415
+ type: Output
416
+ }] } });
366
417
 
367
- let SkyHelpInlineModule = class SkyHelpInlineModule {
368
- };
369
- SkyHelpInlineModule = __decorate([
370
- NgModule({
371
- declarations: [
372
- SkyHelpInlineComponent
373
- ],
374
- imports: [
418
+ class SkyHelpInlineModule {
419
+ }
420
+ SkyHelpInlineModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyHelpInlineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
421
+ SkyHelpInlineModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyHelpInlineModule, declarations: [SkyHelpInlineComponent], imports: [CommonModule,
422
+ SkyI18nModule,
423
+ SkyIconModule,
424
+ SkyIndicatorsResourcesModule,
425
+ SkyThemeModule], exports: [SkyHelpInlineComponent] });
426
+ SkyHelpInlineModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyHelpInlineModule, imports: [[
375
427
  CommonModule,
376
428
  SkyI18nModule,
377
429
  SkyIconModule,
378
430
  SkyIndicatorsResourcesModule,
379
431
  SkyThemeModule
380
- ],
381
- exports: [
382
- SkyHelpInlineComponent
383
- ]
384
- })
385
- ], SkyHelpInlineModule);
432
+ ]] });
433
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyHelpInlineModule, decorators: [{
434
+ type: NgModule,
435
+ args: [{
436
+ declarations: [
437
+ SkyHelpInlineComponent
438
+ ],
439
+ imports: [
440
+ CommonModule,
441
+ SkyI18nModule,
442
+ SkyIconModule,
443
+ SkyIndicatorsResourcesModule,
444
+ SkyThemeModule
445
+ ],
446
+ exports: [
447
+ SkyHelpInlineComponent
448
+ ]
449
+ }]
450
+ }] });
386
451
 
387
452
  /**
388
453
  * Specifies a label to display in smaller, plain text under or beside the value.
389
454
  * @required
390
455
  */
391
- let SkyKeyInfoLabelComponent = class SkyKeyInfoLabelComponent {
392
- };
393
- SkyKeyInfoLabelComponent = __decorate([
394
- Component({
395
- selector: 'sky-key-info-label',
396
- template: '<ng-content></ng-content>'
397
- })
398
- ], SkyKeyInfoLabelComponent);
456
+ class SkyKeyInfoLabelComponent {
457
+ }
458
+ SkyKeyInfoLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyKeyInfoLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
459
+ SkyKeyInfoLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.7", type: SkyKeyInfoLabelComponent, selector: "sky-key-info-label", ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
460
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyKeyInfoLabelComponent, decorators: [{
461
+ type: Component,
462
+ args: [{
463
+ selector: 'sky-key-info-label',
464
+ template: '<ng-content></ng-content>'
465
+ }]
466
+ }] });
399
467
 
400
468
  /**
401
469
  * Specifies a value to display in larger, bold text.
402
470
  * @required
403
471
  */
404
- let SkyKeyInfoValueComponent = class SkyKeyInfoValueComponent {
405
- };
406
- SkyKeyInfoValueComponent = __decorate([
407
- Component({
408
- selector: 'sky-key-info-value',
409
- template: '<ng-content></ng-content>'
410
- })
411
- ], SkyKeyInfoValueComponent);
472
+ class SkyKeyInfoValueComponent {
473
+ }
474
+ SkyKeyInfoValueComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyKeyInfoValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
475
+ SkyKeyInfoValueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.7", type: SkyKeyInfoValueComponent, selector: "sky-key-info-value", ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
476
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyKeyInfoValueComponent, decorators: [{
477
+ type: Component,
478
+ args: [{
479
+ selector: 'sky-key-info-value',
480
+ template: '<ng-content></ng-content>'
481
+ }]
482
+ }] });
412
483
 
413
- let SkyKeyInfoComponent = class SkyKeyInfoComponent {
484
+ class SkyKeyInfoComponent {
414
485
  constructor() {
415
486
  /**
416
487
  * Specifies whether to display key info in a `vertical` layout with the label under the
@@ -419,39 +490,51 @@ let SkyKeyInfoComponent = class SkyKeyInfoComponent {
419
490
  */
420
491
  this.layout = 'vertical';
421
492
  }
422
- };
423
- __decorate([
424
- Input()
425
- ], SkyKeyInfoComponent.prototype, "layout", void 0);
426
- SkyKeyInfoComponent = __decorate([
427
- Component({
428
- selector: 'sky-key-info',
429
- template: "<div\n class=\"sky-key-info\"\n [ngClass]=\"{\n 'sky-key-info-horizontal': layout === 'horizontal'\n }\"\n>\n <div\n class=\"sky-key-info-value sky-headline\"\n >\n <ng-content\n select=\"sky-key-info-value\"\n >\n </ng-content>\n </div>\n <div\n class=\"sky-key-info-label sky-field-label sky-font-data-label\"\n >\n <ng-content\n select=\"sky-key-info-label\"\n >\n </ng-content>\n </div>\n</div>\n",
430
- styles: [".sky-key-info,.sky-key-info.sky-key-info-horizontal .sky-key-info-label,.sky-key-info.sky-key-info-horizontal .sky-key-info-value{display:inline-block}.sky-key-info.sky-key-info-horizontal .sky-key-info-label{padding:0 0 0 5px}.sky-theme-modern .sky-key-info.sky-key-info-horizontal .sky-key-info-label,:host-context(.sky-theme-modern) .sky-key-info.sky-key-info-horizontal .sky-key-info-label{padding:0 0 0 5px}"]
431
- })
432
- ], SkyKeyInfoComponent);
493
+ }
494
+ SkyKeyInfoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyKeyInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
495
+ SkyKeyInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.7", type: SkyKeyInfoComponent, selector: "sky-key-info", inputs: { layout: "layout" }, ngImport: i0, template: "<div\n class=\"sky-key-info\"\n [ngClass]=\"{\n 'sky-key-info-horizontal': layout === 'horizontal'\n }\"\n>\n <div\n class=\"sky-key-info-value sky-headline\"\n >\n <ng-content\n select=\"sky-key-info-value\"\n >\n </ng-content>\n </div>\n <div\n class=\"sky-key-info-label sky-field-label sky-font-data-label\"\n >\n <ng-content\n select=\"sky-key-info-label\"\n >\n </ng-content>\n </div>\n</div>\n", styles: [".sky-key-info{display:inline-block}.sky-key-info.sky-key-info-horizontal .sky-key-info-value,.sky-key-info.sky-key-info-horizontal .sky-key-info-label{display:inline-block}.sky-key-info.sky-key-info-horizontal .sky-key-info-label{padding:0 0 0 5px}:host-context(.sky-theme-modern) .sky-key-info.sky-key-info-horizontal .sky-key-info-label{padding:0 0 0 5px}.sky-theme-modern .sky-key-info.sky-key-info-horizontal .sky-key-info-label{padding:0 0 0 5px}\n"], directives: [{ type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
496
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyKeyInfoComponent, decorators: [{
497
+ type: Component,
498
+ args: [{
499
+ selector: 'sky-key-info',
500
+ templateUrl: './key-info.component.html',
501
+ styleUrls: ['./key-info.component.scss']
502
+ }]
503
+ }], propDecorators: { layout: [{
504
+ type: Input
505
+ }] } });
433
506
 
434
- let SkyKeyInfoModule = class SkyKeyInfoModule {
435
- };
436
- SkyKeyInfoModule = __decorate([
437
- NgModule({
438
- declarations: [
439
- SkyKeyInfoComponent,
440
- SkyKeyInfoLabelComponent,
441
- SkyKeyInfoValueComponent
442
- ],
443
- imports: [
507
+ class SkyKeyInfoModule {
508
+ }
509
+ SkyKeyInfoModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyKeyInfoModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
510
+ SkyKeyInfoModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyKeyInfoModule, declarations: [SkyKeyInfoComponent,
511
+ SkyKeyInfoLabelComponent,
512
+ SkyKeyInfoValueComponent], imports: [CommonModule], exports: [SkyKeyInfoComponent,
513
+ SkyKeyInfoLabelComponent,
514
+ SkyKeyInfoValueComponent] });
515
+ SkyKeyInfoModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyKeyInfoModule, imports: [[
444
516
  CommonModule
445
- ],
446
- exports: [
447
- SkyKeyInfoComponent,
448
- SkyKeyInfoLabelComponent,
449
- SkyKeyInfoValueComponent
450
- ]
451
- })
452
- ], SkyKeyInfoModule);
517
+ ]] });
518
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyKeyInfoModule, decorators: [{
519
+ type: NgModule,
520
+ args: [{
521
+ declarations: [
522
+ SkyKeyInfoComponent,
523
+ SkyKeyInfoLabelComponent,
524
+ SkyKeyInfoValueComponent
525
+ ],
526
+ imports: [
527
+ CommonModule
528
+ ],
529
+ exports: [
530
+ SkyKeyInfoComponent,
531
+ SkyKeyInfoLabelComponent,
532
+ SkyKeyInfoValueComponent
533
+ ]
534
+ }]
535
+ }] });
453
536
 
454
- let SkyLabelComponent = class SkyLabelComponent {
537
+ class SkyLabelComponent {
455
538
  /**
456
539
  * The type of label to display.
457
540
  * @required
@@ -469,37 +552,47 @@ let SkyLabelComponent = class SkyLabelComponent {
469
552
  this.baseIcon = indicatorIcon.modernThemeBaseIcon;
470
553
  this.topIcon = indicatorIcon.modernThemeTopIcon;
471
554
  }
472
- };
473
- __decorate([
474
- Input()
475
- ], SkyLabelComponent.prototype, "labelType", null);
476
- SkyLabelComponent = __decorate([
477
- Component({
478
- selector: 'sky-label',
479
- template: "<span\n class=\"sky-label\"\n [ngClass]=\"'sky-label-' + labelType\"\n>\n <span\n class=\"sky-label-icon-theme-default\"\n >\n <sky-icon\n [icon]=\"icon\"\n ></sky-icon>\n </span>\n <span\n class=\"sky-label-icon-theme-modern\"\n >\n <sky-icon-stack\n size=\"xs\"\n [baseIcon]=\"baseIcon\"\n [topIcon]=\"topIcon\"\n >\n </sky-icon-stack>\n </span>\n <span class=\"sky-label-text\">\n <ng-content></ng-content>\n </span>\n</span>\n",
480
- styles: [".sky-label{color:#212327;display:inline;border-radius:10rem;font-weight:400;line-height:2.2;margin:0 3px;padding:.3em .6em;white-space:nowrap}.sky-label-success{background-color:#b7da9b}.sky-label-info{background-color:#81d4f7}.sky-label-warning{background-color:#ffd597}.sky-label-danger{background-color:#f7a08f}.sky-label-text{display:inline-block;padding-left:5px}.sky-label-icon-theme-modern{display:none}.sky-theme-modern .sky-label,:host-context(.sky-theme-modern) .sky-label{align-items:center;display:inline-flex;line-height:1}.sky-theme-modern .sky-label.sky-label-info,:host-context(.sky-theme-modern) .sky-label.sky-label-info{background-color:#c1e8fb}.sky-theme-modern .sky-label.sky-label-info,.sky-theme-modern .sky-label.sky-label-success,:host-context(.sky-theme-modern) .sky-label.sky-label-info,:host-context(.sky-theme-modern) .sky-label.sky-label-success{padding:4px 15px 4px 6px}.sky-theme-modern .sky-label.sky-label-danger,.sky-theme-modern .sky-label.sky-label-warning,:host-context(.sky-theme-modern) .sky-label.sky-label-danger,:host-context(.sky-theme-modern) .sky-label.sky-label-warning{padding:4px 15px 4px 9px}.sky-theme-modern .sky-label-icon-theme-default,:host-context(.sky-theme-modern) .sky-label-icon-theme-default{display:none}.sky-theme-modern .sky-label-icon-theme-modern,:host-context(.sky-theme-modern) .sky-label-icon-theme-modern{display:block}.sky-theme-modern .sky-label-info .sky-label-icon-theme-modern,:host-context(.sky-theme-modern) .sky-label-info .sky-label-icon-theme-modern{color:#00b4f1}.sky-theme-modern .sky-label-success .sky-label-icon-theme-modern,:host-context(.sky-theme-modern) .sky-label-success .sky-label-icon-theme-modern{color:#72bf44}.sky-theme-modern .sky-label-warning .sky-label-icon-theme-modern,:host-context(.sky-theme-modern) .sky-label-warning .sky-label-icon-theme-modern{color:#fbb034}.sky-theme-modern .sky-label-danger .sky-label-icon-theme-modern,:host-context(.sky-theme-modern) .sky-label-danger .sky-label-icon-theme-modern{color:#ef4044}"]
481
- })
482
- ], SkyLabelComponent);
555
+ }
556
+ SkyLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
557
+ SkyLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.7", type: SkyLabelComponent, selector: "sky-label", inputs: { labelType: "labelType" }, ngImport: i0, template: "<span\n class=\"sky-label\"\n [ngClass]=\"'sky-label-' + labelType\"\n>\n <span\n class=\"sky-label-icon-theme-default\"\n >\n <sky-icon\n [icon]=\"icon\"\n ></sky-icon>\n </span>\n <span\n class=\"sky-label-icon-theme-modern\"\n >\n <sky-icon-stack\n size=\"xs\"\n [baseIcon]=\"baseIcon\"\n [topIcon]=\"topIcon\"\n >\n </sky-icon-stack>\n </span>\n <span class=\"sky-label-text\">\n <ng-content></ng-content>\n </span>\n</span>\n", styles: [".sky-label{color:#212327;display:inline;border-radius:10rem;font-weight:400;line-height:2.2;margin:0 3px;padding:.3em .6em;white-space:nowrap}.sky-label-success{background-color:#b7da9b}.sky-label-info{background-color:#81d4f7}.sky-label-warning{background-color:#ffd597}.sky-label-danger{background-color:#f7a08f}.sky-label-text{display:inline-block;padding-left:5px}.sky-label-icon-theme-modern{display:none}:host-context(.sky-theme-modern) .sky-label{align-items:center;display:inline-flex;line-height:1}:host-context(.sky-theme-modern) .sky-label.sky-label-info{background-color:#c1e8fb}:host-context(.sky-theme-modern) .sky-label.sky-label-info,:host-context(.sky-theme-modern) .sky-label.sky-label-success{padding:4px 15px 4px 6px}:host-context(.sky-theme-modern) .sky-label.sky-label-warning,:host-context(.sky-theme-modern) .sky-label.sky-label-danger{padding:4px 15px 4px 9px}:host-context(.sky-theme-modern) .sky-label-icon-theme-default{display:none}:host-context(.sky-theme-modern) .sky-label-icon-theme-modern{display:block}:host-context(.sky-theme-modern) .sky-label-info .sky-label-icon-theme-modern{color:#00b4f1}:host-context(.sky-theme-modern) .sky-label-success .sky-label-icon-theme-modern{color:#72bf44}:host-context(.sky-theme-modern) .sky-label-warning .sky-label-icon-theme-modern{color:#fbb034}:host-context(.sky-theme-modern) .sky-label-danger .sky-label-icon-theme-modern{color:#ef4044}.sky-theme-modern .sky-label{align-items:center;display:inline-flex;line-height:1}.sky-theme-modern .sky-label.sky-label-info{background-color:#c1e8fb}.sky-theme-modern .sky-label.sky-label-info,.sky-theme-modern .sky-label.sky-label-success{padding:4px 15px 4px 6px}.sky-theme-modern .sky-label.sky-label-warning,.sky-theme-modern .sky-label.sky-label-danger{padding:4px 15px 4px 9px}.sky-theme-modern .sky-label-icon-theme-default{display:none}.sky-theme-modern .sky-label-icon-theme-modern{display:block}.sky-theme-modern .sky-label-info .sky-label-icon-theme-modern{color:#00b4f1}.sky-theme-modern .sky-label-success .sky-label-icon-theme-modern{color:#72bf44}.sky-theme-modern .sky-label-warning .sky-label-icon-theme-modern{color:#fbb034}.sky-theme-modern .sky-label-danger .sky-label-icon-theme-modern{color:#ef4044}\n"], components: [{ type: SkyIconComponent, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { type: SkyIconStackComponent, selector: "sky-icon-stack", inputs: ["size", "baseIcon", "topIcon"] }], directives: [{ type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
558
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyLabelComponent, decorators: [{
559
+ type: Component,
560
+ args: [{
561
+ selector: 'sky-label',
562
+ templateUrl: './label.component.html',
563
+ styleUrls: ['./label.component.scss']
564
+ }]
565
+ }], propDecorators: { labelType: [{
566
+ type: Input
567
+ }] } });
483
568
 
484
- let SkyLabelModule = class SkyLabelModule {
485
- };
486
- SkyLabelModule = __decorate([
487
- NgModule({
488
- declarations: [
489
- SkyLabelComponent
490
- ],
491
- imports: [
569
+ class SkyLabelModule {
570
+ }
571
+ SkyLabelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
572
+ SkyLabelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyLabelModule, declarations: [SkyLabelComponent], imports: [CommonModule,
573
+ SkyIconModule], exports: [SkyLabelComponent] });
574
+ SkyLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyLabelModule, imports: [[
492
575
  CommonModule,
493
576
  SkyIconModule
494
- ],
495
- exports: [
496
- SkyLabelComponent
497
- ]
498
- })
499
- ], SkyLabelModule);
577
+ ]] });
578
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyLabelModule, decorators: [{
579
+ type: NgModule,
580
+ args: [{
581
+ declarations: [
582
+ SkyLabelComponent
583
+ ],
584
+ imports: [
585
+ CommonModule,
586
+ SkyIconModule
587
+ ],
588
+ exports: [
589
+ SkyLabelComponent
590
+ ]
591
+ }]
592
+ }] });
500
593
 
501
594
  const INDICATOR_TYPE_DEFAULT = 'warning';
502
- let SkyStatusIndicatorComponent = class SkyStatusIndicatorComponent {
595
+ class SkyStatusIndicatorComponent {
503
596
  constructor(changeDetector, resources) {
504
597
  this.changeDetector = changeDetector;
505
598
  this.resources = resources;
@@ -567,49 +660,56 @@ let SkyStatusIndicatorComponent = class SkyStatusIndicatorComponent {
567
660
  this.descriptionComputed = undefined;
568
661
  }
569
662
  }
570
- };
571
- SkyStatusIndicatorComponent.ctorParameters = () => [
572
- { type: ChangeDetectorRef },
573
- { type: SkyLibResourcesService }
574
- ];
575
- __decorate([
576
- Input()
577
- ], SkyStatusIndicatorComponent.prototype, "indicatorType", null);
578
- __decorate([
579
- Input()
580
- ], SkyStatusIndicatorComponent.prototype, "descriptionType", null);
581
- __decorate([
582
- Input()
583
- ], SkyStatusIndicatorComponent.prototype, "customDescription", null);
584
- SkyStatusIndicatorComponent = __decorate([
585
- Component({
586
- selector: 'sky-status-indicator',
587
- template: "<div *ngIf=\"descriptionType\"\n class=\"sky-status-indicator\"\n>\n <div\n aria-hidden=\"true\"\n class=\"sky-margin-inline-xs sky-status-indicator-icon\"\n [ngClass]=\"'sky-status-indicator-icon-' + indicatorType\"\n >\n <span\n class=\"sky-status-indicator-icon-default\"\n >\n <sky-icon\n [icon]=\"icon\"\n ></sky-icon>\n </span>\n <span\n class=\"sky-status-indicator-icon-modern\"\n >\n <sky-icon-stack\n size=\"xs\"\n [baseIcon]=\"baseIcon\"\n [topIcon]=\"topIcon\"\n >\n </sky-icon-stack>\n </span>\n </div>\n <div\n class=\"sky-status-indicator-message-wrapper\"\n >\n <span *ngIf=\"descriptionComputed\"\n class=\"sky-screen-reader-only\"\n >\n {{ descriptionComputed }}\n </span>\n <span\n class=\"sky-status-indicator-message\"\n >\n <ng-content></ng-content>\n </span>\n </div>\n</div>\n",
588
- changeDetection: ChangeDetectionStrategy.OnPush,
589
- styles: [".sky-status-indicator{align-items:baseline;display:flex}.sky-status-indicator-icon{flex-shrink:1}.sky-status-indicator-icon-modern{display:none}.sky-status-indicator-icon-info{color:#00b4f1}.sky-status-indicator-icon-success{color:#72bf44}.sky-status-indicator-icon-warning{color:#fbb034}.sky-status-indicator-icon-danger{color:#ef4044}.sky-theme-modern .sky-status-indicator-icon-default,:host-context(.sky-theme-modern) .sky-status-indicator-icon-default{display:none}.sky-theme-modern .sky-status-indicator-icon-modern,:host-context(.sky-theme-modern) .sky-status-indicator-icon-modern{display:inline}"]
590
- })
591
- ], SkyStatusIndicatorComponent);
663
+ }
664
+ SkyStatusIndicatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyStatusIndicatorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.SkyLibResourcesService }], target: i0.ɵɵFactoryTarget.Component });
665
+ SkyStatusIndicatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.7", type: SkyStatusIndicatorComponent, selector: "sky-status-indicator", inputs: { indicatorType: "indicatorType", descriptionType: "descriptionType", customDescription: "customDescription" }, ngImport: i0, template: "<div *ngIf=\"descriptionType\"\n class=\"sky-status-indicator\"\n>\n <div\n aria-hidden=\"true\"\n class=\"sky-margin-inline-xs sky-status-indicator-icon\"\n [ngClass]=\"'sky-status-indicator-icon-' + indicatorType\"\n >\n <span\n class=\"sky-status-indicator-icon-default\"\n >\n <sky-icon\n [icon]=\"icon\"\n ></sky-icon>\n </span>\n <span\n class=\"sky-status-indicator-icon-modern\"\n >\n <sky-icon-stack\n size=\"xs\"\n [baseIcon]=\"baseIcon\"\n [topIcon]=\"topIcon\"\n >\n </sky-icon-stack>\n </span>\n </div>\n <div\n class=\"sky-status-indicator-message-wrapper\"\n >\n <span *ngIf=\"descriptionComputed\"\n class=\"sky-screen-reader-only\"\n >\n {{ descriptionComputed }}\n </span>\n <span\n class=\"sky-status-indicator-message\"\n >\n <ng-content></ng-content>\n </span>\n </div>\n</div>\n", styles: [".sky-status-indicator{align-items:baseline;display:flex}.sky-status-indicator-icon{flex-shrink:1}.sky-status-indicator-icon-modern{display:none}.sky-status-indicator-icon-info{color:#00b4f1}.sky-status-indicator-icon-success{color:#72bf44}.sky-status-indicator-icon-warning{color:#fbb034}.sky-status-indicator-icon-danger{color:#ef4044}:host-context(.sky-theme-modern) .sky-status-indicator-icon-default{display:none}:host-context(.sky-theme-modern) .sky-status-indicator-icon-modern{display:inline}.sky-theme-modern .sky-status-indicator-icon-default{display:none}.sky-theme-modern .sky-status-indicator-icon-modern{display:inline}\n"], components: [{ type: SkyIconComponent, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { type: SkyIconStackComponent, selector: "sky-icon-stack", inputs: ["size", "baseIcon", "topIcon"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
666
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyStatusIndicatorComponent, decorators: [{
667
+ type: Component,
668
+ args: [{
669
+ selector: 'sky-status-indicator',
670
+ templateUrl: './status-indicator.component.html',
671
+ styleUrls: ['./status-indicator.component.scss'],
672
+ changeDetection: ChangeDetectionStrategy.OnPush
673
+ }]
674
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$2.SkyLibResourcesService }]; }, propDecorators: { indicatorType: [{
675
+ type: Input
676
+ }], descriptionType: [{
677
+ type: Input
678
+ }], customDescription: [{
679
+ type: Input
680
+ }] } });
592
681
 
593
- let SkyStatusIndicatorModule = class SkyStatusIndicatorModule {
594
- };
595
- SkyStatusIndicatorModule = __decorate([
596
- NgModule({
597
- declarations: [
598
- SkyStatusIndicatorComponent
599
- ],
600
- imports: [
682
+ class SkyStatusIndicatorModule {
683
+ }
684
+ SkyStatusIndicatorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyStatusIndicatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
685
+ SkyStatusIndicatorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyStatusIndicatorModule, declarations: [SkyStatusIndicatorComponent], imports: [CommonModule,
686
+ SkyI18nModule,
687
+ SkyIconModule,
688
+ SkyIndicatorsResourcesModule], exports: [SkyStatusIndicatorComponent] });
689
+ SkyStatusIndicatorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyStatusIndicatorModule, imports: [[
601
690
  CommonModule,
602
691
  SkyI18nModule,
603
692
  SkyIconModule,
604
693
  SkyIndicatorsResourcesModule
605
- ],
606
- exports: [
607
- SkyStatusIndicatorComponent
608
- ]
609
- })
610
- ], SkyStatusIndicatorModule);
694
+ ]] });
695
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyStatusIndicatorModule, decorators: [{
696
+ type: NgModule,
697
+ args: [{
698
+ declarations: [
699
+ SkyStatusIndicatorComponent
700
+ ],
701
+ imports: [
702
+ CommonModule,
703
+ SkyI18nModule,
704
+ SkyIconModule,
705
+ SkyIndicatorsResourcesModule
706
+ ],
707
+ exports: [
708
+ SkyStatusIndicatorComponent
709
+ ]
710
+ }]
711
+ }] });
611
712
 
612
- var SkyTextHighlightDirective_1;
613
713
  const className = 'sky-highlight-mark';
614
714
  // Need to add the following to classes which contain static methods.
615
715
  // See: https://github.com/ng-packagr/ng-packagr/issues/641
@@ -619,7 +719,7 @@ const className = 'sky-highlight-mark';
619
719
  * The directive is only valid for elements that contain content, so you
620
720
  * cannot place it on `ng-template`, `ng-content`, or `ng-container` tags.
621
721
  */
622
- let SkyTextHighlightDirective = SkyTextHighlightDirective_1 = class SkyTextHighlightDirective {
722
+ class SkyTextHighlightDirective {
623
723
  constructor(el, observerService) {
624
724
  this.el = el;
625
725
  this.observerService = observerService;
@@ -641,6 +741,7 @@ let SkyTextHighlightDirective = SkyTextHighlightDirective_1 = class SkyTextHighl
641
741
  }
642
742
  }
643
743
  ngOnDestroy() {
744
+ /* istanbul ignore else */
644
745
  if (this.observer) {
645
746
  this.observer.disconnect();
646
747
  }
@@ -649,22 +750,25 @@ let SkyTextHighlightDirective = SkyTextHighlightDirective_1 = class SkyTextHighl
649
750
  return searchText && this.el.nativeElement;
650
751
  }
651
752
  highlight() {
753
+ /* istanbul ignore else */
652
754
  if (this.observer) {
653
755
  this.observer.disconnect();
654
756
  }
655
757
  const searchText = this.skyHighlight;
656
758
  if (this.existingHighlight) {
657
- SkyTextHighlightDirective_1.removeHighlight(this.el);
759
+ SkyTextHighlightDirective.removeHighlight(this.el);
658
760
  }
761
+ /* istanbul ignore else */
659
762
  if (this.readyForHighlight(searchText)) {
660
763
  const node = this.el.nativeElement;
661
764
  // mark all matched text in the DOM
662
- SkyTextHighlightDirective_1.markTextNodes(node, searchText);
765
+ SkyTextHighlightDirective.markTextNodes(node, searchText);
663
766
  this.existingHighlight = true;
664
767
  }
665
768
  this.observeDom();
666
769
  }
667
770
  observeDom() {
771
+ /* istanbul ignore else */
668
772
  if (this.observer) {
669
773
  const config = { attributes: false, childList: true, characterData: true };
670
774
  this.observer.observe(this.el.nativeElement, config);
@@ -680,7 +784,7 @@ let SkyTextHighlightDirective = SkyTextHighlightDirective_1 = class SkyTextHighl
680
784
  return searchRegex.exec(text);
681
785
  }
682
786
  static markNode(node, searchText) {
683
- const regexMatch = SkyTextHighlightDirective_1.getRegexMatch(node, searchText);
787
+ const regexMatch = SkyTextHighlightDirective.getRegexMatch(node, searchText);
684
788
  // found match
685
789
  if (regexMatch && regexMatch.length > 0) {
686
790
  // split apart text node with mark tags in the middle on the search term
@@ -700,12 +804,12 @@ let SkyTextHighlightDirective = SkyTextHighlightDirective_1 = class SkyTextHighl
700
804
  }
701
805
  static markTextNodes(node, searchText) {
702
806
  if (node.nodeType === 3) {
703
- return SkyTextHighlightDirective_1.markNode(node, searchText);
807
+ return SkyTextHighlightDirective.markNode(node, searchText);
704
808
  }
705
809
  else if (node.nodeType === 1 && node.childNodes) {
706
810
  for (let i = 0; i < node.childNodes.length; i++) {
707
811
  const childNode = node.childNodes[i];
708
- i += SkyTextHighlightDirective_1.markTextNodes(childNode, searchText);
812
+ i += SkyTextHighlightDirective.markTextNodes(childNode, searchText);
709
813
  }
710
814
  }
711
815
  return 0;
@@ -723,37 +827,41 @@ let SkyTextHighlightDirective = SkyTextHighlightDirective_1 = class SkyTextHighl
723
827
  }
724
828
  }
725
829
  }
726
- };
727
- SkyTextHighlightDirective.ctorParameters = () => [
728
- { type: ElementRef },
729
- { type: MutationObserverService }
730
- ];
731
- __decorate([
732
- Input()
733
- ], SkyTextHighlightDirective.prototype, "skyHighlight", void 0);
734
- SkyTextHighlightDirective = SkyTextHighlightDirective_1 = __decorate([
735
- Directive({
736
- selector: '[skyHighlight]'
737
- })
738
- ], SkyTextHighlightDirective);
830
+ }
831
+ SkyTextHighlightDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyTextHighlightDirective, deps: [{ token: i0.ElementRef }, { token: i1$3.MutationObserverService }], target: i0.ɵɵFactoryTarget.Directive });
832
+ SkyTextHighlightDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.7", type: SkyTextHighlightDirective, selector: "[skyHighlight]", inputs: { skyHighlight: "skyHighlight" }, usesOnChanges: true, ngImport: i0 });
833
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyTextHighlightDirective, decorators: [{
834
+ type: Directive,
835
+ args: [{
836
+ selector: '[skyHighlight]'
837
+ }]
838
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$3.MutationObserverService }]; }, propDecorators: { skyHighlight: [{
839
+ type: Input
840
+ }] } });
739
841
 
740
- let SkyTextHighlightModule = class SkyTextHighlightModule {
741
- };
742
- SkyTextHighlightModule = __decorate([
743
- NgModule({
744
- declarations: [
745
- SkyTextHighlightDirective
746
- ],
747
- exports: [
748
- SkyTextHighlightDirective
749
- ],
750
- providers: [
751
- MutationObserverService
752
- ]
753
- })
754
- ], SkyTextHighlightModule);
842
+ class SkyTextHighlightModule {
843
+ }
844
+ SkyTextHighlightModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyTextHighlightModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
845
+ SkyTextHighlightModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyTextHighlightModule, declarations: [SkyTextHighlightDirective], exports: [SkyTextHighlightDirective] });
846
+ SkyTextHighlightModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyTextHighlightModule, providers: [
847
+ MutationObserverService
848
+ ] });
849
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyTextHighlightModule, decorators: [{
850
+ type: NgModule,
851
+ args: [{
852
+ declarations: [
853
+ SkyTextHighlightDirective
854
+ ],
855
+ exports: [
856
+ SkyTextHighlightDirective
857
+ ],
858
+ providers: [
859
+ MutationObserverService
860
+ ]
861
+ }]
862
+ }] });
755
863
 
756
- let SkyTokenComponent = class SkyTokenComponent {
864
+ class SkyTokenComponent {
757
865
  constructor(elementRef, resourcesService) {
758
866
  this.elementRef = elementRef;
759
867
  this.resourcesService = resourcesService;
@@ -818,9 +926,7 @@ let SkyTokenComponent = class SkyTokenComponent {
818
926
  return (this.focusable) ? 0 : -1;
819
927
  }
820
928
  dismissToken(event) {
821
- if (event) {
822
- event.stopPropagation();
823
- }
929
+ event.stopPropagation();
824
930
  this.dismiss.emit();
825
931
  }
826
932
  focusElement() {
@@ -830,37 +936,30 @@ let SkyTokenComponent = class SkyTokenComponent {
830
936
  // TODO: Need to implement the async `getString` method in a breaking change.
831
937
  return this.resourcesService.getStringForLocale({ locale: 'en-US' }, key);
832
938
  }
833
- };
834
- SkyTokenComponent.ctorParameters = () => [
835
- { type: ElementRef },
836
- { type: SkyLibResourcesService }
837
- ];
838
- __decorate([
839
- Input()
840
- ], SkyTokenComponent.prototype, "disabled", null);
841
- __decorate([
842
- Input()
843
- ], SkyTokenComponent.prototype, "ariaLabel", null);
844
- __decorate([
845
- Input()
846
- ], SkyTokenComponent.prototype, "dismissible", null);
847
- __decorate([
848
- Input()
849
- ], SkyTokenComponent.prototype, "focusable", null);
850
- __decorate([
851
- Output()
852
- ], SkyTokenComponent.prototype, "dismiss", void 0);
853
- __decorate([
854
- Output()
855
- ], SkyTokenComponent.prototype, "tokenFocus", void 0);
856
- SkyTokenComponent = __decorate([
857
- Component({
858
- selector: 'sky-token',
859
- template: "<div\n class=\"sky-token sky-btn sky-btn-default\"\n role=\"button\"\n [attr.aria-disabled]=\"disabled\"\n [attr.tabindex]=\"tabIndex\"\n [ngClass]=\"{\n 'sky-btn-disabled': disabled,\n 'sky-token-dismissable': dismissible,\n 'sky-token-active': tokenActive && !closeActive\n }\"\n (document:mouseup)=\"tokenActive = false;\"\n (focus)=\"tokenFocus.emit()\"\n (mousedown)=\"tokenActive = true;\"\n >\n <ng-content>\n </ng-content>\n <button *ngIf=\"dismissible\"\n class=\"sky-btn sky-token-btn-close\"\n type=\"button\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.tabindex]=\"tabIndex\"\n [attr.title]=\"ariaLabel\"\n [disabled]=\"disabled\"\n [ngClass]=\"{\n 'sky-token-btn-close-active': closeActive\n }\"\n (click)=\"dismissToken($event)\"\n (document:mouseup)=\"closeActive = false;\"\n (mousedown)=\"closeActive = true;\"\n >\n <sky-icon\n class=\"sky-token-btn-close-icon-default\"\n icon=\"times\"\n >\n </sky-icon>\n <sky-icon\n class=\"sky-token-btn-close-icon-modern\"\n icon=\"close\"\n iconType=\"skyux\"\n >\n </sky-icon>\n </button>\n</div>\n",
860
- changeDetection: ChangeDetectionStrategy.OnPush,
861
- styles: [".sky-token{background-color:#c1e8fb;border:1px solid #00b4f1;overflow:hidden;padding:2px 8px;display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sky-token:focus,.sky-token:hover{background-color:#91d6f8;border-color:#008ebe;cursor:pointer}.sky-token:focus{box-shadow:0 0 8px rgba(0,180,241,.6);border:1px solid #00b4f1;outline:0}.sky-btn-disabled{cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sky-token-btn-close{background:0 0;padding:0;border:0;margin-left:2px;opacity:.9}.sky-token-btn-close:focus,.sky-token-btn-close:hover{opacity:1}.sky-token-btn-close-icon-modern{display:none}.sky-theme-modern .sky-token,:host-context(.sky-theme-modern) .sky-token{align-items:center;display:inline-flex;padding:1px 5px;font-size:14px}.sky-theme-modern .sky-token.sky-btn-disabled,:host-context(.sky-theme-modern) .sky-token.sky-btn-disabled{color:#212327}.sky-theme-modern .sky-token:not(.sky-btn-disabled),:host-context(.sky-theme-modern) .sky-token:not(.sky-btn-disabled){border:none;box-shadow:inset 0 0 0 1px #81d4f7}.sky-theme-modern .sky-token.sky-token-dismissable,:host-context(.sky-theme-modern) .sky-token.sky-token-dismissable{padding-right:1px}.sky-theme-modern .sky-token:hover:not(:active),:host-context(.sky-theme-modern) .sky-token:hover:not(:active){border:none;box-shadow:inset 0 0 0 1px #1870b8}.sky-theme-modern .sky-token.sky-token-active,:host-context(.sky-theme-modern) .sky-token.sky-token-active{border:none;box-shadow:inset 0 0 0 2px #1870b8}.sky-theme-modern .sky-token:focus:not(:active),:host-context(.sky-theme-modern) .sky-token:focus:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 3px 0 rgba(0,0,0,.3)}.sky-theme-modern .sky-token:focus,.sky-theme-modern .sky-token:hover,:host-context(.sky-theme-modern) .sky-token:focus,:host-context(.sky-theme-modern) .sky-token:hover{background-color:#c1e8fb}.sky-theme-modern .sky-token-btn-close,:host-context(.sky-theme-modern) .sky-token-btn-close{align-items:center;border-radius:5px;display:flex;height:20px;margin-left:5px;width:20px}.sky-theme-modern .sky-token-btn-close:hover,:host-context(.sky-theme-modern) .sky-token-btn-close:hover{border:none;box-shadow:inset 0 0 0 1px transparent}.sky-theme-modern .sky-token-btn-close.sky-token-btn-close-active,:host-context(.sky-theme-modern) .sky-token-btn-close.sky-token-btn-close-active{border:none;box-shadow:inset 0 0 0 2px #1870b8}.sky-theme-modern .sky-token-btn-close:focus,:host-context(.sky-theme-modern) .sky-token-btn-close:focus{outline:0}.sky-theme-modern .sky-token-btn-close:focus:not(:active),:host-context(.sky-theme-modern) .sky-token-btn-close:focus:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 3px 0 rgba(0,0,0,.3)}.sky-theme-modern .sky-token-btn-close-icon-default,:host-context(.sky-theme-modern) .sky-token-btn-close-icon-default{display:none}.sky-theme-modern .sky-token-btn-close-icon-modern,:host-context(.sky-theme-modern) .sky-token-btn-close-icon-modern{display:inline-block;width:100%}.sky-theme-modern.sky-theme-mode-dark .sky-token,:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-token{background-color:#c1e8fb}.sky-theme-modern.sky-theme-mode-dark .sky-token,.sky-theme-modern.sky-theme-mode-dark .sky-token-btn-close,:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-token,:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-token-btn-close{color:#212327}"]
862
- })
863
- ], SkyTokenComponent);
939
+ }
940
+ SkyTokenComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyTokenComponent, deps: [{ token: i0.ElementRef }, { token: i1$2.SkyLibResourcesService }], target: i0.ɵɵFactoryTarget.Component });
941
+ SkyTokenComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.7", type: SkyTokenComponent, selector: "sky-token", inputs: { disabled: "disabled", ariaLabel: "ariaLabel", dismissible: "dismissible", focusable: "focusable" }, outputs: { dismiss: "dismiss", tokenFocus: "tokenFocus" }, ngImport: i0, template: "<div\n class=\"sky-token sky-btn sky-btn-default\"\n role=\"button\"\n [attr.aria-disabled]=\"disabled\"\n [attr.tabindex]=\"tabIndex\"\n [ngClass]=\"{\n 'sky-btn-disabled': disabled,\n 'sky-token-dismissable': dismissible,\n 'sky-token-active': tokenActive && !closeActive\n }\"\n (document:mouseup)=\"tokenActive = false;\"\n (focus)=\"tokenFocus.emit()\"\n (mousedown)=\"tokenActive = true;\"\n >\n <ng-content>\n </ng-content>\n <button *ngIf=\"dismissible\"\n class=\"sky-btn sky-token-btn-close\"\n type=\"button\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.tabindex]=\"tabIndex\"\n [attr.title]=\"ariaLabel\"\n [disabled]=\"disabled\"\n [ngClass]=\"{\n 'sky-token-btn-close-active': closeActive\n }\"\n (click)=\"dismissToken($event)\"\n (document:mouseup)=\"closeActive = false;\"\n (mousedown)=\"closeActive = true;\"\n >\n <sky-icon\n class=\"sky-token-btn-close-icon-default\"\n icon=\"times\"\n >\n </sky-icon>\n <sky-icon\n class=\"sky-token-btn-close-icon-modern\"\n icon=\"close\"\n iconType=\"skyux\"\n >\n </sky-icon>\n </button>\n</div>\n", styles: [".sky-token{background-color:#c1e8fb;border:1px solid #00b4f1;overflow:hidden;padding:2px 8px;display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sky-token:hover,.sky-token:focus{background-color:#91d6f8;border-color:#008ebe;cursor:pointer}.sky-token:focus{box-shadow:0 0 8px #00b4f199;border:1px solid #00b4f1;outline:none}.sky-btn-disabled{cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sky-token-btn-close{background:transparent;padding:0;border:0;margin-left:2px;opacity:.9}.sky-token-btn-close:hover,.sky-token-btn-close:focus{opacity:1}.sky-token-btn-close-icon-modern{display:none}:host-context(.sky-theme-modern) .sky-token{align-items:center;display:inline-flex;padding:1px 5px;font-size:14px}:host-context(.sky-theme-modern) .sky-token.sky-btn-disabled{color:#212327}:host-context(.sky-theme-modern) .sky-token:not(.sky-btn-disabled){border:none;box-shadow:inset 0 0 0 1px #81d4f7}:host-context(.sky-theme-modern) .sky-token.sky-token-dismissable{padding-right:1px}:host-context(.sky-theme-modern) .sky-token:hover:not(:active){border:none;box-shadow:inset 0 0 0 1px #1870b8}:host-context(.sky-theme-modern) .sky-token.sky-token-active{border:none;box-shadow:inset 0 0 0 2px #1870b8}:host-context(.sky-theme-modern) .sky-token:focus:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 3px #0000004d}:host-context(.sky-theme-modern) .sky-token:focus,:host-context(.sky-theme-modern) .sky-token:hover{background-color:#c1e8fb}:host-context(.sky-theme-modern) .sky-token-btn-close{align-items:center;border-radius:5px;display:flex;height:20px;margin-left:5px;width:20px}:host-context(.sky-theme-modern) .sky-token-btn-close:hover{border:none;box-shadow:inset 0 0 0 1px transparent}:host-context(.sky-theme-modern) .sky-token-btn-close.sky-token-btn-close-active{border:none;box-shadow:inset 0 0 0 2px #1870b8}:host-context(.sky-theme-modern) .sky-token-btn-close:focus{outline:none}:host-context(.sky-theme-modern) .sky-token-btn-close:focus:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 3px #0000004d}:host-context(.sky-theme-modern) .sky-token-btn-close-icon-default{display:none}:host-context(.sky-theme-modern) .sky-token-btn-close-icon-modern{display:inline-block;width:100%}.sky-theme-modern .sky-token{align-items:center;display:inline-flex;padding:1px 5px;font-size:14px}.sky-theme-modern .sky-token.sky-btn-disabled{color:#212327}.sky-theme-modern .sky-token:not(.sky-btn-disabled){border:none;box-shadow:inset 0 0 0 1px #81d4f7}.sky-theme-modern .sky-token.sky-token-dismissable{padding-right:1px}.sky-theme-modern .sky-token:hover:not(:active){border:none;box-shadow:inset 0 0 0 1px #1870b8}.sky-theme-modern .sky-token.sky-token-active{border:none;box-shadow:inset 0 0 0 2px #1870b8}.sky-theme-modern .sky-token:focus:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 3px #0000004d}.sky-theme-modern .sky-token:focus,.sky-theme-modern .sky-token:hover{background-color:#c1e8fb}.sky-theme-modern .sky-token-btn-close{align-items:center;border-radius:5px;display:flex;height:20px;margin-left:5px;width:20px}.sky-theme-modern .sky-token-btn-close:hover{border:none;box-shadow:inset 0 0 0 1px transparent}.sky-theme-modern .sky-token-btn-close.sky-token-btn-close-active{border:none;box-shadow:inset 0 0 0 2px #1870b8}.sky-theme-modern .sky-token-btn-close:focus{outline:none}.sky-theme-modern .sky-token-btn-close:focus:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 3px #0000004d}.sky-theme-modern .sky-token-btn-close-icon-default{display:none}.sky-theme-modern .sky-token-btn-close-icon-modern{display:inline-block;width:100%}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-token{background-color:#c1e8fb}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-token,:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-token-btn-close{color:#212327}.sky-theme-modern.sky-theme-mode-dark .sky-token{background-color:#c1e8fb}.sky-theme-modern.sky-theme-mode-dark .sky-token,.sky-theme-modern.sky-theme-mode-dark .sky-token-btn-close{color:#212327}\n"], components: [{ type: SkyIconComponent, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }], directives: [{ type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
942
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyTokenComponent, decorators: [{
943
+ type: Component,
944
+ args: [{
945
+ selector: 'sky-token',
946
+ templateUrl: './token.component.html',
947
+ styleUrls: ['./token.component.scss'],
948
+ changeDetection: ChangeDetectionStrategy.OnPush
949
+ }]
950
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$2.SkyLibResourcesService }]; }, propDecorators: { disabled: [{
951
+ type: Input
952
+ }], ariaLabel: [{
953
+ type: Input
954
+ }], dismissible: [{
955
+ type: Input
956
+ }], focusable: [{
957
+ type: Input
958
+ }], dismiss: [{
959
+ type: Output
960
+ }], tokenFocus: [{
961
+ type: Output
962
+ }] } });
864
963
 
865
964
  var SkyTokensMessageType;
866
965
  (function (SkyTokensMessageType) {
@@ -886,7 +985,7 @@ var SkyTokensMessageType;
886
985
  SkyTokensMessageType[SkyTokensMessageType["RemoveActiveToken"] = 4] = "RemoveActiveToken";
887
986
  })(SkyTokensMessageType || (SkyTokensMessageType = {}));
888
987
 
889
- let SkyTokensComponent = class SkyTokensComponent {
988
+ class SkyTokensComponent {
890
989
  constructor(changeDetector) {
891
990
  this.changeDetector = changeDetector;
892
991
  /**
@@ -1099,107 +1198,131 @@ let SkyTokensComponent = class SkyTokensComponent {
1099
1198
  token
1100
1199
  });
1101
1200
  }
1102
- };
1103
- SkyTokensComponent.ctorParameters = () => [
1104
- { type: ChangeDetectorRef }
1105
- ];
1106
- __decorate([
1107
- Input()
1108
- ], SkyTokensComponent.prototype, "disabled", null);
1109
- __decorate([
1110
- Input()
1111
- ], SkyTokensComponent.prototype, "dismissible", null);
1112
- __decorate([
1113
- Input()
1114
- ], SkyTokensComponent.prototype, "displayWith", null);
1115
- __decorate([
1116
- Input()
1117
- ], SkyTokensComponent.prototype, "trackWith", void 0);
1118
- __decorate([
1119
- Input()
1120
- ], SkyTokensComponent.prototype, "focusable", null);
1121
- __decorate([
1122
- Input()
1123
- ], SkyTokensComponent.prototype, "tokens", null);
1124
- __decorate([
1125
- Input()
1126
- ], SkyTokensComponent.prototype, "messageStream", null);
1127
- __decorate([
1128
- Output()
1129
- ], SkyTokensComponent.prototype, "focusIndexOverRange", void 0);
1130
- __decorate([
1131
- Output()
1132
- ], SkyTokensComponent.prototype, "focusIndexUnderRange", void 0);
1133
- __decorate([
1134
- Output()
1135
- ], SkyTokensComponent.prototype, "tokenSelected", void 0);
1136
- __decorate([
1137
- Output()
1138
- ], SkyTokensComponent.prototype, "tokensChange", void 0);
1139
- __decorate([
1140
- ViewChildren(SkyTokenComponent)
1141
- ], SkyTokensComponent.prototype, "tokenComponents", void 0);
1142
- SkyTokensComponent = __decorate([
1143
- Component({
1144
- selector: 'sky-tokens',
1145
- template: "<div *ngIf=\"tokens\"\n class=\"sky-tokens\"\n [@blockAnimationOnLoad]\n [attr.role]=\"(tokens && tokens.length) ? 'list' : null\"\n>\n <sky-token *ngFor=\"let token of tokens; let i = index; trackBy: trackTokenFn\"\n role=\"listitem\"\n [@.disabled]=\"!trackWith\"\n [@dismiss]\n [disabled]=\"disabled\"\n [dismissible]=\"dismissible\"\n [focusable]=\"focusable\"\n (dismiss)=\"removeToken(token)\"\n (click)=\"onTokenClick(token)\"\n (keydown)=\"onTokenKeyDown($event)\"\n (keyup.enter)=\"selectToken(token);$event.preventDefault();\"\n (tokenFocus)=\"activeIndex = i\"\n >\n {{ token.value[displayWith] }}\n </sky-token>\n <div\n class=\"sky-tokens-content\"\n >\n <ng-content></ng-content>\n </div>\n</div>\n",
1146
- changeDetection: ChangeDetectionStrategy.OnPush,
1147
- animations: [
1148
- trigger('blockAnimationOnLoad', [
1149
- transition(':enter', [])
1201
+ }
1202
+ SkyTokensComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyTokensComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1203
+ SkyTokensComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.7", type: SkyTokensComponent, selector: "sky-tokens", inputs: { disabled: "disabled", dismissible: "dismissible", displayWith: "displayWith", trackWith: "trackWith", focusable: "focusable", tokens: "tokens", messageStream: "messageStream" }, outputs: { focusIndexOverRange: "focusIndexOverRange", focusIndexUnderRange: "focusIndexUnderRange", tokenSelected: "tokenSelected", tokensChange: "tokensChange" }, viewQueries: [{ propertyName: "tokenComponents", predicate: SkyTokenComponent, descendants: true }], ngImport: i0, template: "<div *ngIf=\"tokens\"\n class=\"sky-tokens\"\n [@blockAnimationOnLoad]\n [attr.role]=\"(tokens && tokens.length) ? 'list' : null\"\n>\n <sky-token *ngFor=\"let token of tokens; let i = index; trackBy: trackTokenFn\"\n role=\"listitem\"\n [@.disabled]=\"!trackWith\"\n [@dismiss]\n [disabled]=\"disabled\"\n [dismissible]=\"dismissible\"\n [focusable]=\"focusable\"\n (dismiss)=\"removeToken(token)\"\n (click)=\"onTokenClick(token)\"\n (keydown)=\"onTokenKeyDown($event)\"\n (keyup.enter)=\"selectToken(token);$event.preventDefault();\"\n (tokenFocus)=\"activeIndex = i\"\n >\n {{ token.value[displayWith] }}\n </sky-token>\n <div\n class=\"sky-tokens-content\"\n >\n <ng-content></ng-content>\n </div>\n</div>\n", styles: ["@charset \"UTF-8\";.sky-tokens{display:flex;flex-wrap:wrap;align-items:baseline;margin:-2px}.sky-tokens .sky-tokens-content,.sky-tokens ::ng-deep sky-token{flex:0 0 auto;display:inline-flex;padding:2px}.sky-tokens .sky-tokens-content{flex-grow:1;flex-basis:0px}.sky-tokens .sky-tokens-content:before{content:\"\\200b\"}\n"], components: [{ type: SkyTokenComponent, selector: "sky-token", inputs: ["disabled", "ariaLabel", "dismissible", "focusable"], outputs: ["dismiss", "tokenFocus"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], animations: [
1204
+ trigger('blockAnimationOnLoad', [
1205
+ transition(':enter', [])
1206
+ ]),
1207
+ trigger('dismiss', [
1208
+ transition(':enter', [
1209
+ style({
1210
+ opacity: 0,
1211
+ width: 0
1212
+ }),
1213
+ animate('150ms ease-in', style({
1214
+ opacity: 1,
1215
+ width: '*'
1216
+ }))
1150
1217
  ]),
1151
- trigger('dismiss', [
1152
- transition(':enter', [
1153
- style({
1154
- opacity: 0,
1155
- width: 0
1156
- }),
1157
- animate('150ms ease-in', style({
1158
- opacity: 1,
1159
- width: '*'
1160
- }))
1161
- ]),
1162
- transition(':leave', [
1163
- animate('150ms ease-in', style({
1164
- opacity: 0,
1165
- width: 0
1166
- }))
1167
- ])
1218
+ transition(':leave', [
1219
+ animate('150ms ease-in', style({
1220
+ opacity: 0,
1221
+ width: 0
1222
+ }))
1168
1223
  ])
1169
- ],
1170
- styles: ["@charset \"UTF-8\";.sky-tokens{display:flex;flex-wrap:wrap;align-items:baseline;margin:-2px}.sky-tokens .sky-tokens-content,.sky-tokens ::ng-deep sky-token{flex:0 0 auto;display:inline-flex;padding:2px}.sky-tokens .sky-tokens-content{flex-grow:1;flex-basis:0px}.sky-tokens .sky-tokens-content:before{content:\"\u200B\"}"]
1171
- })
1172
- ], SkyTokensComponent);
1224
+ ])
1225
+ ], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1226
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyTokensComponent, decorators: [{
1227
+ type: Component,
1228
+ args: [{
1229
+ selector: 'sky-tokens',
1230
+ templateUrl: './tokens.component.html',
1231
+ styleUrls: ['./tokens.component.scss'],
1232
+ changeDetection: ChangeDetectionStrategy.OnPush,
1233
+ animations: [
1234
+ trigger('blockAnimationOnLoad', [
1235
+ transition(':enter', [])
1236
+ ]),
1237
+ trigger('dismiss', [
1238
+ transition(':enter', [
1239
+ style({
1240
+ opacity: 0,
1241
+ width: 0
1242
+ }),
1243
+ animate('150ms ease-in', style({
1244
+ opacity: 1,
1245
+ width: '*'
1246
+ }))
1247
+ ]),
1248
+ transition(':leave', [
1249
+ animate('150ms ease-in', style({
1250
+ opacity: 0,
1251
+ width: 0
1252
+ }))
1253
+ ])
1254
+ ])
1255
+ ]
1256
+ }]
1257
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { disabled: [{
1258
+ type: Input
1259
+ }], dismissible: [{
1260
+ type: Input
1261
+ }], displayWith: [{
1262
+ type: Input
1263
+ }], trackWith: [{
1264
+ type: Input
1265
+ }], focusable: [{
1266
+ type: Input
1267
+ }], tokens: [{
1268
+ type: Input
1269
+ }], messageStream: [{
1270
+ type: Input
1271
+ }], focusIndexOverRange: [{
1272
+ type: Output
1273
+ }], focusIndexUnderRange: [{
1274
+ type: Output
1275
+ }], tokenSelected: [{
1276
+ type: Output
1277
+ }], tokensChange: [{
1278
+ type: Output
1279
+ }], tokenComponents: [{
1280
+ type: ViewChildren,
1281
+ args: [SkyTokenComponent]
1282
+ }] } });
1173
1283
 
1174
- let SkyTokensModule = class SkyTokensModule {
1175
- };
1176
- SkyTokensModule = __decorate([
1177
- NgModule({
1178
- declarations: [
1179
- SkyTokenComponent,
1180
- SkyTokensComponent
1181
- ],
1182
- imports: [
1284
+ class SkyTokensModule {
1285
+ }
1286
+ SkyTokensModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyTokensModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1287
+ SkyTokensModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyTokensModule, declarations: [SkyTokenComponent,
1288
+ SkyTokensComponent], imports: [CommonModule,
1289
+ SkyI18nModule,
1290
+ SkyIconModule,
1291
+ SkyIndicatorsResourcesModule], exports: [SkyTokenComponent,
1292
+ SkyTokensComponent] });
1293
+ SkyTokensModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyTokensModule, imports: [[
1183
1294
  CommonModule,
1184
1295
  SkyI18nModule,
1185
1296
  SkyIconModule,
1186
1297
  SkyIndicatorsResourcesModule
1187
- ],
1188
- exports: [
1189
- SkyTokenComponent,
1190
- SkyTokensComponent
1191
- ]
1192
- })
1193
- ], SkyTokensModule);
1298
+ ]] });
1299
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyTokensModule, decorators: [{
1300
+ type: NgModule,
1301
+ args: [{
1302
+ declarations: [
1303
+ SkyTokenComponent,
1304
+ SkyTokensComponent
1305
+ ],
1306
+ imports: [
1307
+ CommonModule,
1308
+ SkyI18nModule,
1309
+ SkyIconModule,
1310
+ SkyIndicatorsResourcesModule
1311
+ ],
1312
+ exports: [
1313
+ SkyTokenComponent,
1314
+ SkyTokensComponent
1315
+ ]
1316
+ }]
1317
+ }] });
1194
1318
 
1195
- var SkyWaitAdapterService_1;
1196
1319
  // Need to add the following to classes which contain static methods.
1197
1320
  // See: https://github.com/ng-packagr/ng-packagr/issues/641
1198
1321
  /**
1199
1322
  * @internal
1200
1323
  * @dynamic
1201
1324
  */
1202
- let SkyWaitAdapterService = SkyWaitAdapterService_1 = class SkyWaitAdapterService {
1325
+ class SkyWaitAdapterService {
1203
1326
  constructor(rendererFactory) {
1204
1327
  this.rendererFactory = rendererFactory;
1205
1328
  this.renderer = this.rendererFactory.createRenderer(undefined, undefined);
@@ -1223,10 +1346,11 @@ let SkyWaitAdapterService = SkyWaitAdapterService_1 = class SkyWaitAdapterServic
1223
1346
  this.clearDocumentFocus();
1224
1347
  }
1225
1348
  if (isFullPage) {
1226
- SkyWaitAdapterService_1.isPageWaitActive = true;
1349
+ SkyWaitAdapterService.isPageWaitActive = true;
1227
1350
  const endListenerFunc = this.renderer.listen(document.body, 'keydown', (event) => {
1228
1351
  /*istanbul ignore else */
1229
1352
  if (event.key) {
1353
+ /* istanbul ignore else */
1230
1354
  if (event.key.toLowerCase() === 'tab') {
1231
1355
  event.target.blur();
1232
1356
  event.preventDefault();
@@ -1236,18 +1360,19 @@ let SkyWaitAdapterService = SkyWaitAdapterService_1 = class SkyWaitAdapterServic
1236
1360
  }
1237
1361
  }
1238
1362
  });
1239
- SkyWaitAdapterService_1.busyElements[waitComponentId] = {
1363
+ SkyWaitAdapterService.busyElements[waitComponentId] = {
1240
1364
  listener: endListenerFunc,
1241
1365
  busyEl: undefined
1242
1366
  };
1243
1367
  }
1244
1368
  else {
1245
1369
  const endListenerFunc = this.renderer.listen(busyEl, 'focusin', (event) => {
1370
+ /* istanbul ignore else */
1246
1371
  if (!isNonBlocking) {
1247
1372
  event.preventDefault();
1248
1373
  event.stopPropagation();
1249
1374
  event.stopImmediatePropagation();
1250
- if (SkyWaitAdapterService_1.isPageWaitActive) {
1375
+ if (SkyWaitAdapterService.isPageWaitActive) {
1251
1376
  this.clearDocumentFocus();
1252
1377
  }
1253
1378
  else {
@@ -1258,7 +1383,7 @@ let SkyWaitAdapterService = SkyWaitAdapterService_1 = class SkyWaitAdapterServic
1258
1383
  }
1259
1384
  }
1260
1385
  });
1261
- SkyWaitAdapterService_1.busyElements[waitComponentId] = {
1386
+ SkyWaitAdapterService.busyElements[waitComponentId] = {
1262
1387
  listener: endListenerFunc,
1263
1388
  busyEl: busyEl
1264
1389
  };
@@ -1267,11 +1392,11 @@ let SkyWaitAdapterService = SkyWaitAdapterService_1 = class SkyWaitAdapterServic
1267
1392
  else {
1268
1393
  this.renderer.removeAttribute(busyEl, 'aria-busy');
1269
1394
  if (isFullPage) {
1270
- SkyWaitAdapterService_1.isPageWaitActive = false;
1395
+ SkyWaitAdapterService.isPageWaitActive = false;
1271
1396
  }
1272
- if (waitComponentId in SkyWaitAdapterService_1.busyElements) {
1273
- SkyWaitAdapterService_1.busyElements[waitComponentId].listener();
1274
- delete SkyWaitAdapterService_1.busyElements[waitComponentId];
1397
+ if (waitComponentId in SkyWaitAdapterService.busyElements) {
1398
+ SkyWaitAdapterService.busyElements[waitComponentId].listener();
1399
+ delete SkyWaitAdapterService.busyElements[waitComponentId];
1275
1400
  }
1276
1401
  }
1277
1402
  }
@@ -1291,6 +1416,8 @@ let SkyWaitAdapterService = SkyWaitAdapterService_1 = class SkyWaitAdapterServic
1291
1416
  }
1292
1417
  else {
1293
1418
  // Try wrapping the navigation
1419
+ /* istanbul ignore next */
1420
+ /* sanity check */
1294
1421
  curIndex = modifier > 0 ? 0 : focussable.length - 1;
1295
1422
  while (curIndex !== startingIndex &&
1296
1423
  focussable[curIndex] &&
@@ -1330,8 +1457,8 @@ let SkyWaitAdapterService = SkyWaitAdapterService_1 = class SkyWaitAdapterServic
1330
1457
  if (this.isElementHidden(element)) {
1331
1458
  return true;
1332
1459
  }
1333
- for (const key of Object.keys(SkyWaitAdapterService_1.busyElements)) {
1334
- const parentElement = SkyWaitAdapterService_1.busyElements[key].busyEl;
1460
+ for (const key of Object.keys(SkyWaitAdapterService.busyElements)) {
1461
+ const parentElement = SkyWaitAdapterService.busyElements[key].busyEl;
1335
1462
  if (parentElement && parentElement.contains(element)) {
1336
1463
  return true;
1337
1464
  }
@@ -1339,6 +1466,7 @@ let SkyWaitAdapterService = SkyWaitAdapterService_1 = class SkyWaitAdapterServic
1339
1466
  return false;
1340
1467
  }
1341
1468
  clearDocumentFocus() {
1469
+ /* istanbul ignore else */
1342
1470
  if (document.activeElement && document.activeElement.blur) {
1343
1471
  document.activeElement.blur();
1344
1472
  }
@@ -1365,24 +1493,23 @@ let SkyWaitAdapterService = SkyWaitAdapterService_1 = class SkyWaitAdapterServic
1365
1493
  return this.focussableElements;
1366
1494
  }
1367
1495
  clearListeners() {
1368
- SkyWaitAdapterService_1.isPageWaitActive = false;
1369
- for (const key of Object.keys(SkyWaitAdapterService_1.busyElements)) {
1370
- SkyWaitAdapterService_1.busyElements[key].listener();
1371
- delete SkyWaitAdapterService_1.busyElements[key];
1496
+ SkyWaitAdapterService.isPageWaitActive = false;
1497
+ for (const key of Object.keys(SkyWaitAdapterService.busyElements)) {
1498
+ SkyWaitAdapterService.busyElements[key].listener();
1499
+ delete SkyWaitAdapterService.busyElements[key];
1372
1500
  }
1373
1501
  }
1374
- };
1502
+ }
1375
1503
  SkyWaitAdapterService.isPageWaitActive = false;
1376
1504
  SkyWaitAdapterService.busyElements = {};
1377
- SkyWaitAdapterService.ctorParameters = () => [
1378
- { type: RendererFactory2 }
1379
- ];
1380
- SkyWaitAdapterService = SkyWaitAdapterService_1 = __decorate([
1381
- Injectable()
1382
- ], SkyWaitAdapterService);
1505
+ SkyWaitAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyWaitAdapterService, deps: [{ token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
1506
+ SkyWaitAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyWaitAdapterService });
1507
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyWaitAdapterService, decorators: [{
1508
+ type: Injectable
1509
+ }], ctorParameters: function () { return [{ type: i0.RendererFactory2 }]; } });
1383
1510
 
1384
1511
  let nextId = 0;
1385
- let SkyWaitComponent = class SkyWaitComponent {
1512
+ class SkyWaitComponent {
1386
1513
  constructor(elRef, adapterService, resourceService) {
1387
1514
  this.elRef = elRef;
1388
1515
  this.adapterService = adapterService;
@@ -1417,7 +1544,7 @@ let SkyWaitComponent = class SkyWaitComponent {
1417
1544
  if (value) {
1418
1545
  this.adapterService.removeWaitBounds(this.elRef);
1419
1546
  }
1420
- else if (!value && this._isWaiting) {
1547
+ else /* istanbul ignore if: untestable */ if (!value && this._isWaiting) {
1421
1548
  this.adapterService.setWaitBounds(this.elRef);
1422
1549
  }
1423
1550
  this._isFullPage = value;
@@ -1433,6 +1560,7 @@ let SkyWaitComponent = class SkyWaitComponent {
1433
1560
  this.ariaLabelStream.next(this.ariaLabel);
1434
1561
  return;
1435
1562
  }
1563
+ /* istanbul ignore else */
1436
1564
  if (this.resourceService) {
1437
1565
  const type = (this.isFullPage) ? '_page' : '';
1438
1566
  const blocking = (this.isNonBlocking) ? '' : '_blocking';
@@ -1442,101 +1570,113 @@ let SkyWaitComponent = class SkyWaitComponent {
1442
1570
  });
1443
1571
  }
1444
1572
  }
1445
- };
1446
- SkyWaitComponent.ctorParameters = () => [
1447
- { type: ElementRef },
1448
- { type: SkyWaitAdapterService },
1449
- { type: SkyLibResourcesService, decorators: [{ type: Optional }] }
1450
- ];
1451
- __decorate([
1452
- Input()
1453
- ], SkyWaitComponent.prototype, "ariaLabel", void 0);
1454
- __decorate([
1455
- Input()
1456
- ], SkyWaitComponent.prototype, "isWaiting", null);
1457
- __decorate([
1458
- Input()
1459
- ], SkyWaitComponent.prototype, "isFullPage", null);
1460
- __decorate([
1461
- Input()
1462
- ], SkyWaitComponent.prototype, "isNonBlocking", void 0);
1463
- SkyWaitComponent = __decorate([
1464
- Component({
1465
- selector: 'sky-wait',
1466
- template: "<div\n class=\"sky-wait-container\"\n>\n <div *ngIf=\"isWaiting\"\n class=\"sky-wait-mask\"\n [attr.aria-label]=\"ariaLabelStream | async\"\n [ngClass]=\"{\n 'sky-wait-mask-loading-fixed': isFullPage,\n 'sky-wait-mask-loading-non-blocking': isNonBlocking,\n 'sky-wait-mask-loading-blocking': !isNonBlocking\n }\"\n >\n <div\n class=\"sky-wait\"\n >\n <div\n class=\"sky-wait-double-bounce1\"\n >\n </div>\n <div\n class=\"sky-wait-double-bounce2\"\n >\n </div>\n </div>\n </div>\n</div>\n\n",
1467
- providers: [
1468
- SkyWaitAdapterService
1469
- ],
1470
- styles: [".sky-wait-mask-loading-blocking{margin:auto;position:absolute;top:0;right:0;left:0;bottom:0;background-color:rgba(255,255,255,.7);z-index:1000}.sky-wait-mask-loading-fixed{position:fixed}.sky-wait{width:50px;height:50px;margin-top:-25px;margin-left:-25px;position:absolute;top:50%;left:50%}.sky-wait-mask-loading-non-blocking{bottom:0}.sky-wait-mask-loading-non-blocking .sky-wait{top:auto;right:auto;bottom:0;left:0;margin-left:auto;margin-right:auto}.sky-wait-double-bounce1,.sky-wait-double-bounce2{width:100%;height:100%;border-radius:50%;background-color:#72bf44;opacity:.6;position:absolute;top:0;left:0;-webkit-animation:2s ease-in-out infinite sk-bounce;animation:2s ease-in-out infinite sk-bounce}.sky-wait-double-bounce2{-webkit-animation-delay:-1s;animation-delay:-1s}@-webkit-keyframes sk-bounce{0%,100%{-webkit-transform:scale(0)}50%{-webkit-transform:scale(1)}}@keyframes sk-bounce{0%,100%{transform:scale(0);-webkit-transform:scale(0)}50%{transform:scale(1);-webkit-transform:scale(1)}}.sky-wait-container.sky-wait-active{position:relative}"]
1471
- }),
1472
- __param(2, Optional())
1473
- ], SkyWaitComponent);
1573
+ }
1574
+ SkyWaitComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyWaitComponent, deps: [{ token: i0.ElementRef }, { token: SkyWaitAdapterService }, { token: i1$2.SkyLibResourcesService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
1575
+ SkyWaitComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.7", type: SkyWaitComponent, selector: "sky-wait", inputs: { ariaLabel: "ariaLabel", isWaiting: "isWaiting", isFullPage: "isFullPage", isNonBlocking: "isNonBlocking" }, providers: [
1576
+ SkyWaitAdapterService
1577
+ ], ngImport: i0, template: "<div\n class=\"sky-wait-container\"\n>\n <div *ngIf=\"isWaiting\"\n class=\"sky-wait-mask\"\n [attr.aria-label]=\"ariaLabelStream | async\"\n [ngClass]=\"{\n 'sky-wait-mask-loading-fixed': isFullPage,\n 'sky-wait-mask-loading-non-blocking': isNonBlocking,\n 'sky-wait-mask-loading-blocking': !isNonBlocking\n }\"\n >\n <div\n class=\"sky-wait\"\n >\n <div\n class=\"sky-wait-double-bounce1\"\n >\n </div>\n <div\n class=\"sky-wait-double-bounce2\"\n >\n </div>\n </div>\n </div>\n</div>\n\n", styles: [".sky-wait-mask-loading-blocking{margin:auto;position:absolute;top:0;right:0;left:0;bottom:0;background-color:#ffffffb3;z-index:1000}.sky-wait-mask-loading-fixed{position:fixed}.sky-wait{width:50px;height:50px;margin-top:-25px;margin-left:-25px;position:absolute;top:50%;left:50%}.sky-wait-mask-loading-non-blocking{bottom:0}.sky-wait-mask-loading-non-blocking .sky-wait{top:auto;right:auto;bottom:0;left:0;margin-left:auto;margin-right:auto}.sky-wait-double-bounce1,.sky-wait-double-bounce2{width:100%;height:100%;border-radius:50%;background-color:#72bf44;opacity:.6;position:absolute;top:0;left:0;-webkit-animation:sk-bounce 2s infinite ease-in-out;animation:sk-bounce 2s infinite ease-in-out}.sky-wait-double-bounce2{-webkit-animation-delay:-1s;animation-delay:-1s}@-webkit-keyframes sk-bounce{0%,to{-webkit-transform:scale(0)}50%{-webkit-transform:scale(1)}}@keyframes sk-bounce{0%,to{transform:scale(0);-webkit-transform:scale(0)}50%{transform:scale(1);-webkit-transform:scale(1)}}.sky-wait-container.sky-wait-active{position:relative}\n"], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i1$1.AsyncPipe } });
1578
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyWaitComponent, decorators: [{
1579
+ type: Component,
1580
+ args: [{
1581
+ selector: 'sky-wait',
1582
+ templateUrl: './wait.component.html',
1583
+ styleUrls: ['./wait.component.scss'],
1584
+ providers: [
1585
+ SkyWaitAdapterService
1586
+ ]
1587
+ }]
1588
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: SkyWaitAdapterService }, { type: i1$2.SkyLibResourcesService, decorators: [{
1589
+ type: Optional
1590
+ }] }]; }, propDecorators: { ariaLabel: [{
1591
+ type: Input
1592
+ }], isWaiting: [{
1593
+ type: Input
1594
+ }], isFullPage: [{
1595
+ type: Input
1596
+ }], isNonBlocking: [{
1597
+ type: Input
1598
+ }] } });
1474
1599
 
1475
1600
  /**
1476
1601
  * @internal
1477
1602
  */
1478
- let SkyWaitPageComponent = class SkyWaitPageComponent {
1479
- };
1480
- __decorate([
1481
- Input()
1482
- ], SkyWaitPageComponent.prototype, "hasBlockingWait", void 0);
1483
- __decorate([
1484
- Input()
1485
- ], SkyWaitPageComponent.prototype, "hasNonBlockingWait", void 0);
1486
- SkyWaitPageComponent = __decorate([
1487
- Component({
1488
- selector: 'sky-wait-page',
1489
- template: "<div\n class=\"sky-wait-page\"\n>\n <sky-wait\n [isFullPage]=\"true\"\n [isNonBlocking]=\"true\"\n [isWaiting]=\"hasNonBlockingWait\"\n >\n </sky-wait>\n <sky-wait\n [isFullPage]=\"true\"\n [isWaiting]=\"hasBlockingWait\"\n >\n </sky-wait>\n</div>\n",
1490
- styles: [".sky-wait-page ::ng-deep .sky-wait-mask-loading-fixed{z-index:2000}"]
1491
- })
1492
- ], SkyWaitPageComponent);
1603
+ class SkyWaitPageComponent {
1604
+ }
1605
+ SkyWaitPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyWaitPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1606
+ SkyWaitPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.7", type: SkyWaitPageComponent, selector: "sky-wait-page", inputs: { hasBlockingWait: "hasBlockingWait", hasNonBlockingWait: "hasNonBlockingWait" }, ngImport: i0, template: "<div\n class=\"sky-wait-page\"\n>\n <sky-wait\n [isFullPage]=\"true\"\n [isNonBlocking]=\"true\"\n [isWaiting]=\"hasNonBlockingWait\"\n >\n </sky-wait>\n <sky-wait\n [isFullPage]=\"true\"\n [isWaiting]=\"hasBlockingWait\"\n >\n </sky-wait>\n</div>\n", styles: [".sky-wait-page ::ng-deep .sky-wait-mask-loading-fixed{z-index:2000}\n"], components: [{ type: SkyWaitComponent, selector: "sky-wait", inputs: ["ariaLabel", "isWaiting", "isFullPage", "isNonBlocking"] }] });
1607
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyWaitPageComponent, decorators: [{
1608
+ type: Component,
1609
+ args: [{
1610
+ selector: 'sky-wait-page',
1611
+ templateUrl: './wait-page.component.html',
1612
+ styleUrls: ['./wait-page.component.scss']
1613
+ }]
1614
+ }], propDecorators: { hasBlockingWait: [{
1615
+ type: Input
1616
+ }], hasNonBlockingWait: [{
1617
+ type: Input
1618
+ }] } });
1493
1619
 
1494
- let SkyWaitModule = class SkyWaitModule {
1495
- };
1496
- SkyWaitModule = __decorate([
1497
- NgModule({
1498
- declarations: [
1499
- SkyWaitComponent,
1500
- SkyWaitPageComponent
1501
- ],
1502
- imports: [
1620
+ class SkyWaitModule {
1621
+ }
1622
+ SkyWaitModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyWaitModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1623
+ SkyWaitModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyWaitModule, declarations: [SkyWaitComponent,
1624
+ SkyWaitPageComponent], imports: [CommonModule,
1625
+ SkyI18nModule,
1626
+ SkyIndicatorsResourcesModule], exports: [SkyWaitComponent] });
1627
+ SkyWaitModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyWaitModule, imports: [[
1503
1628
  CommonModule,
1504
1629
  SkyI18nModule,
1505
1630
  SkyIndicatorsResourcesModule
1506
- ],
1507
- exports: [
1508
- SkyWaitComponent,
1509
- SkyWaitPageComponent
1510
- ],
1511
- entryComponents: [
1512
- SkyWaitPageComponent
1513
- ]
1514
- })
1515
- ], SkyWaitModule);
1631
+ ]] });
1632
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyWaitModule, decorators: [{
1633
+ type: NgModule,
1634
+ args: [{
1635
+ declarations: [
1636
+ SkyWaitComponent,
1637
+ SkyWaitPageComponent
1638
+ ],
1639
+ imports: [
1640
+ CommonModule,
1641
+ SkyI18nModule,
1642
+ SkyIndicatorsResourcesModule
1643
+ ],
1644
+ exports: [
1645
+ SkyWaitComponent
1646
+ ],
1647
+ entryComponents: [
1648
+ SkyWaitPageComponent
1649
+ ]
1650
+ }]
1651
+ }] });
1516
1652
 
1517
1653
  /**
1518
1654
  * @internal
1519
1655
  */
1520
- let SkyWaitPageAdapterService = class SkyWaitPageAdapterService {
1656
+ class SkyWaitPageAdapterService {
1521
1657
  addPageWaitEl() {
1522
1658
  document.body.appendChild(document.createElement('sky-wait-page'));
1523
1659
  }
1524
1660
  removePageWaitEl() {
1525
- document.body.removeChild(document.querySelector('sky-wait-page'));
1661
+ const waitEl = document.querySelector('sky-wait-page');
1662
+ if (waitEl) {
1663
+ document.body.removeChild(waitEl);
1664
+ }
1526
1665
  }
1527
- };
1528
- SkyWaitPageAdapterService.ɵprov = ɵɵdefineInjectable({ factory: function SkyWaitPageAdapterService_Factory() { return new SkyWaitPageAdapterService(); }, token: SkyWaitPageAdapterService, providedIn: "root" });
1529
- SkyWaitPageAdapterService = __decorate([
1530
- Injectable({
1531
- providedIn: 'root'
1532
- })
1533
- ], SkyWaitPageAdapterService);
1666
+ }
1667
+ SkyWaitPageAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyWaitPageAdapterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1668
+ SkyWaitPageAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyWaitPageAdapterService, providedIn: 'root' });
1669
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyWaitPageAdapterService, decorators: [{
1670
+ type: Injectable,
1671
+ args: [{
1672
+ providedIn: 'root'
1673
+ }]
1674
+ }] });
1534
1675
 
1535
- var SkyWaitService_1;
1536
1676
  // Need to add the following to classes which contain static methods.
1537
1677
  // See: https://github.com/ng-packagr/ng-packagr/issues/641
1538
1678
  // @dynamic
1539
- let SkyWaitService = SkyWaitService_1 = class SkyWaitService {
1679
+ class SkyWaitService {
1540
1680
  constructor(resolver, appRef, waitAdapter, windowSvc) {
1541
1681
  this.resolver = resolver;
1542
1682
  this.appRef = appRef;
@@ -1580,10 +1720,10 @@ let SkyWaitService = SkyWaitService_1 = class SkyWaitService {
1580
1720
  * @internal
1581
1721
  */
1582
1722
  dispose() {
1583
- if (SkyWaitService_1.waitComponent) {
1584
- SkyWaitService_1.waitComponent = undefined;
1585
- SkyWaitService_1.pageWaitBlockingCount = 0;
1586
- SkyWaitService_1.pageWaitNonBlockingCount = 0;
1723
+ if (SkyWaitService.waitComponent) {
1724
+ SkyWaitService.waitComponent = undefined;
1725
+ SkyWaitService.pageWaitBlockingCount = 0;
1726
+ SkyWaitService.pageWaitNonBlockingCount = 0;
1587
1727
  this.waitAdapter.removePageWaitEl();
1588
1728
  }
1589
1729
  }
@@ -1608,16 +1748,16 @@ let SkyWaitService = SkyWaitService_1 = class SkyWaitService {
1608
1748
  }
1609
1749
  setWaitComponentProperties(isBlocking) {
1610
1750
  if (isBlocking) {
1611
- SkyWaitService_1.waitComponent.hasBlockingWait = true;
1612
- SkyWaitService_1.pageWaitBlockingCount++;
1751
+ SkyWaitService.waitComponent.hasBlockingWait = true;
1752
+ SkyWaitService.pageWaitBlockingCount++;
1613
1753
  }
1614
1754
  else {
1615
- SkyWaitService_1.waitComponent.hasNonBlockingWait = true;
1616
- SkyWaitService_1.pageWaitNonBlockingCount++;
1755
+ SkyWaitService.waitComponent.hasNonBlockingWait = true;
1756
+ SkyWaitService.pageWaitNonBlockingCount++;
1617
1757
  }
1618
1758
  }
1619
1759
  beginPageWait(isBlocking) {
1620
- if (!SkyWaitService_1.waitComponent) {
1760
+ if (!SkyWaitService.waitComponent) {
1621
1761
  /*
1622
1762
  Dynamic component creation needs to be done in a timeout to prevent ApplicationRef from
1623
1763
  crashing when wait service is called in Angular lifecycle functions.
@@ -1625,11 +1765,11 @@ let SkyWaitService = SkyWaitService_1 = class SkyWaitService {
1625
1765
  this.windowSvc.nativeWindow.setTimeout(() => {
1626
1766
  // Ensuring here that we recheck this after the setTimeout is over so that we don't clash
1627
1767
  // with any other waits that are created.
1628
- if (!SkyWaitService_1.waitComponent) {
1768
+ if (!SkyWaitService.waitComponent) {
1629
1769
  const factory = this.resolver.resolveComponentFactory(SkyWaitPageComponent);
1630
1770
  this.waitAdapter.addPageWaitEl();
1631
1771
  const cmpRef = this.appRef.bootstrap(factory);
1632
- SkyWaitService_1.waitComponent = cmpRef.instance;
1772
+ SkyWaitService.waitComponent = cmpRef.instance;
1633
1773
  }
1634
1774
  this.setWaitComponentProperties(isBlocking);
1635
1775
  });
@@ -1644,57 +1784,53 @@ let SkyWaitService = SkyWaitService_1 = class SkyWaitService {
1644
1784
  before it is dismissed in the event of a race.
1645
1785
  */
1646
1786
  this.windowSvc.nativeWindow.setTimeout(() => {
1647
- if (SkyWaitService_1.waitComponent) {
1787
+ if (SkyWaitService.waitComponent) {
1648
1788
  if (isBlocking) {
1649
- if (SkyWaitService_1.pageWaitBlockingCount > 0) {
1650
- SkyWaitService_1.pageWaitBlockingCount--;
1789
+ if (SkyWaitService.pageWaitBlockingCount > 0) {
1790
+ SkyWaitService.pageWaitBlockingCount--;
1651
1791
  }
1652
- if (SkyWaitService_1.pageWaitBlockingCount < 1) {
1653
- SkyWaitService_1.waitComponent.hasBlockingWait = false;
1792
+ if (SkyWaitService.pageWaitBlockingCount < 1) {
1793
+ SkyWaitService.waitComponent.hasBlockingWait = false;
1654
1794
  }
1655
1795
  }
1656
1796
  else {
1657
- if (SkyWaitService_1.pageWaitNonBlockingCount > 0) {
1658
- SkyWaitService_1.pageWaitNonBlockingCount--;
1797
+ if (SkyWaitService.pageWaitNonBlockingCount > 0) {
1798
+ SkyWaitService.pageWaitNonBlockingCount--;
1659
1799
  }
1660
- if (SkyWaitService_1.pageWaitNonBlockingCount < 1) {
1661
- SkyWaitService_1.waitComponent.hasNonBlockingWait = false;
1800
+ if (SkyWaitService.pageWaitNonBlockingCount < 1) {
1801
+ SkyWaitService.waitComponent.hasNonBlockingWait = false;
1662
1802
  }
1663
1803
  }
1664
1804
  }
1665
1805
  });
1666
1806
  }
1667
1807
  clearPageWait(isBlocking) {
1668
- if (SkyWaitService_1.waitComponent) {
1808
+ if (SkyWaitService.waitComponent) {
1669
1809
  if (isBlocking) {
1670
- SkyWaitService_1.pageWaitBlockingCount = 0;
1671
- SkyWaitService_1.waitComponent.hasBlockingWait = false;
1810
+ SkyWaitService.pageWaitBlockingCount = 0;
1811
+ SkyWaitService.waitComponent.hasBlockingWait = false;
1672
1812
  }
1673
1813
  else {
1674
- SkyWaitService_1.pageWaitNonBlockingCount = 0;
1675
- SkyWaitService_1.waitComponent.hasNonBlockingWait = false;
1814
+ SkyWaitService.pageWaitNonBlockingCount = 0;
1815
+ SkyWaitService.waitComponent.hasNonBlockingWait = false;
1676
1816
  }
1677
1817
  }
1678
1818
  }
1679
- };
1819
+ }
1680
1820
  SkyWaitService.pageWaitBlockingCount = 0;
1681
1821
  SkyWaitService.pageWaitNonBlockingCount = 0;
1682
- SkyWaitService.ctorParameters = () => [
1683
- { type: ComponentFactoryResolver },
1684
- { type: ApplicationRef },
1685
- { type: SkyWaitPageAdapterService },
1686
- { type: SkyAppWindowRef }
1687
- ];
1688
- SkyWaitService.ɵprov = ɵɵdefineInjectable({ factory: function SkyWaitService_Factory() { return new SkyWaitService(ɵɵinject(ComponentFactoryResolver), ɵɵinject(ApplicationRef), ɵɵinject(SkyWaitPageAdapterService), ɵɵinject(SkyAppWindowRef)); }, token: SkyWaitService, providedIn: "root" });
1689
- SkyWaitService = SkyWaitService_1 = __decorate([
1690
- Injectable({
1691
- providedIn: 'root'
1692
- })
1693
- ], SkyWaitService);
1822
+ SkyWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyWaitService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ApplicationRef }, { token: SkyWaitPageAdapterService }, { token: i1$3.SkyAppWindowRef }], target: i0.ɵɵFactoryTarget.Injectable });
1823
+ SkyWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyWaitService, providedIn: 'root' });
1824
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0, type: SkyWaitService, decorators: [{
1825
+ type: Injectable,
1826
+ args: [{
1827
+ providedIn: 'root'
1828
+ }]
1829
+ }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.ApplicationRef }, { type: SkyWaitPageAdapterService }, { type: i1$3.SkyAppWindowRef }]; } });
1694
1830
 
1695
1831
  /**
1696
1832
  * Generated bundle index. Do not edit.
1697
1833
  */
1698
1834
 
1699
- export { SkyAlertModule, SkyChevronModule, SkyHelpInlineModule, SkyIconModule, SkyKeyInfoModule, SkyLabelModule, SkyStatusIndicatorModule, SkyTextHighlightModule, SkyTokensMessageType, SkyTokensModule, SkyWaitModule, SkyWaitService, SkyAlertComponent as ɵa, SkyIconClassListPipe as ɵb, SkyIconResolverService as ɵc, SkyIconComponent as ɵd, SkyIconStackComponent as ɵe, SkyIndicatorsResourcesModule as ɵf, SkyIndicatorsResourcesProvider as ɵg, SkyChevronComponent as ɵh, SkyHelpInlineComponent as ɵi, SkyKeyInfoComponent as ɵj, SkyKeyInfoLabelComponent as ɵk, SkyKeyInfoValueComponent as ɵl, SkyLabelComponent as ɵm, SkyStatusIndicatorComponent as ɵn, SkyTextHighlightDirective as ɵo, SkyTokenComponent as ɵp, SkyTokensComponent as ɵq, SkyWaitComponent as ɵr, SkyWaitAdapterService as ɵs, SkyWaitPageComponent as ɵt, SkyWaitPageAdapterService as ɵu };
1835
+ export { SkyAlertModule, SkyChevronModule, SkyHelpInlineModule, SkyIconModule, SkyKeyInfoModule, SkyLabelModule, SkyStatusIndicatorModule, SkyTextHighlightModule, SkyTokensMessageType, SkyTokensModule, SkyWaitModule, SkyWaitService, SkyAlertComponent as λ1, SkyStatusIndicatorComponent as λ10, SkyTextHighlightDirective as λ11, SkyTokenComponent as λ12, SkyTokensComponent as λ13, SkyWaitComponent as λ14, SkyChevronComponent as λ2, SkyHelpInlineComponent as λ3, SkyIconComponent as λ4, SkyIconStackComponent as λ5, SkyKeyInfoLabelComponent as λ6, SkyKeyInfoValueComponent as λ7, SkyKeyInfoComponent as λ8, SkyLabelComponent as λ9 };
1700
1836
  //# sourceMappingURL=skyux-indicators.js.map