@skyux/indicators 8.7.0 → 9.0.0-alpha.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 (118) hide show
  1. package/{esm2020 → esm2022}/lib/modules/alert/alert.component.mjs +56 -55
  2. package/{esm2020 → esm2022}/lib/modules/alert/alert.module.mjs +13 -13
  3. package/{esm2020 → esm2022}/lib/modules/chevron/chevron.component.mjs +4 -4
  4. package/{esm2020 → esm2022}/lib/modules/chevron/chevron.module.mjs +13 -13
  5. package/{esm2020 → esm2022}/lib/modules/expansion-indicator/expansion-indicator.component.mjs +4 -4
  6. package/{esm2020 → esm2022}/lib/modules/expansion-indicator/expansion-indicator.module.mjs +5 -5
  7. package/{esm2020 → esm2022}/lib/modules/help-inline/help-inline-aria-expanded.pipe.mjs +4 -4
  8. package/{esm2020 → esm2022}/lib/modules/help-inline/help-inline.component.mjs +4 -4
  9. package/{esm2020 → esm2022}/lib/modules/help-inline/help-inline.module.mjs +13 -13
  10. package/esm2022/lib/modules/icon/icon-class-list.pipe.mjs +35 -0
  11. package/esm2022/lib/modules/icon/icon-resolver.service.mjs +57 -0
  12. package/{esm2020 → esm2022}/lib/modules/icon/icon-stack.component.mjs +4 -4
  13. package/{esm2020 → esm2022}/lib/modules/icon/icon.component.mjs +4 -4
  14. package/{esm2020 → esm2022}/lib/modules/icon/icon.module.mjs +5 -5
  15. package/{esm2020 → esm2022}/lib/modules/key-info/key-info-label.component.mjs +4 -4
  16. package/{esm2020 → esm2022}/lib/modules/key-info/key-info-value.component.mjs +4 -4
  17. package/{esm2020 → esm2022}/lib/modules/key-info/key-info.component.mjs +4 -4
  18. package/{esm2020 → esm2022}/lib/modules/key-info/key-info.module.mjs +9 -9
  19. package/esm2022/lib/modules/label/label.component.mjs +118 -0
  20. package/{esm2020 → esm2022}/lib/modules/label/label.module.mjs +11 -11
  21. package/{esm2020 → esm2022}/lib/modules/shared/sky-indicators-resources.module.mjs +11 -11
  22. package/esm2022/lib/modules/status-indicator/status-indicator.component.mjs +104 -0
  23. package/{esm2020 → esm2022}/lib/modules/status-indicator/status-indicator.module.mjs +13 -13
  24. package/esm2022/lib/modules/text-highlight/text-highlight.directive.mjs +151 -0
  25. package/{esm2020 → esm2022}/lib/modules/text-highlight/text-highlight.module.mjs +5 -5
  26. package/{esm2020 → esm2022}/lib/modules/tokens/token.component.mjs +15 -15
  27. package/esm2022/lib/modules/tokens/tokens.component.mjs +332 -0
  28. package/{esm2020 → esm2022}/lib/modules/tokens/tokens.module.mjs +11 -11
  29. package/esm2022/lib/modules/wait/wait-adapter.service.mjs +224 -0
  30. package/{esm2020 → esm2022}/lib/modules/wait/wait-page.component.mjs +4 -4
  31. package/esm2022/lib/modules/wait/wait.component.mjs +171 -0
  32. package/{esm2020 → esm2022}/lib/modules/wait/wait.module.mjs +5 -5
  33. package/esm2022/lib/modules/wait/wait.service.mjs +159 -0
  34. package/esm2022/testing/alert/alert-harness.mjs +112 -0
  35. package/esm2022/testing/alert-fixture.mjs +70 -0
  36. package/esm2022/testing/chevron/chevron-harness.mjs +38 -0
  37. package/esm2022/testing/help-inline/help-inline-harness.mjs +25 -0
  38. package/esm2022/testing/icon/icon-harness.mjs +86 -0
  39. package/esm2022/testing/key-info/key-info-harness.mjs +43 -0
  40. package/{esm2020 → esm2022}/testing/key-info/key-info-label-harness.mjs +5 -5
  41. package/{esm2020 → esm2022}/testing/key-info/key-info-value-harness.mjs +5 -5
  42. package/esm2022/testing/label/label-harness.mjs +88 -0
  43. package/esm2022/testing/label-fixture.mjs +42 -0
  44. package/esm2022/testing/tokens/token-harness.mjs +63 -0
  45. package/esm2022/testing/tokens/tokens-harness.mjs +45 -0
  46. package/esm2022/testing/wait/wait-harness.mjs +60 -0
  47. package/esm2022/testing/wait-fixture.mjs +28 -0
  48. package/{fesm2020 → fesm2022}/skyux-indicators-testing.mjs +146 -190
  49. package/{fesm2020 → fesm2022}/skyux-indicators-testing.mjs.map +1 -1
  50. package/{fesm2020 → fesm2022}/skyux-indicators.mjs +756 -737
  51. package/fesm2022/skyux-indicators.mjs.map +1 -0
  52. package/lib/modules/alert/alert.component.d.ts +1 -1
  53. package/lib/modules/chevron/chevron.component.d.ts +1 -1
  54. package/lib/modules/expansion-indicator/expansion-indicator.component.d.ts +1 -1
  55. package/lib/modules/help-inline/help-inline.component.d.ts +1 -1
  56. package/lib/modules/icon/icon-stack.component.d.ts +1 -1
  57. package/lib/modules/icon/icon.component.d.ts +1 -1
  58. package/lib/modules/key-info/key-info.component.d.ts +1 -1
  59. package/lib/modules/label/label.component.d.ts +1 -1
  60. package/lib/modules/status-indicator/status-indicator.component.d.ts +1 -1
  61. package/lib/modules/text-highlight/text-highlight.directive.d.ts +1 -1
  62. package/lib/modules/tokens/token.component.d.ts +1 -1
  63. package/lib/modules/tokens/tokens.component.d.ts +1 -1
  64. package/lib/modules/wait/wait-page.component.d.ts +1 -1
  65. package/lib/modules/wait/wait.component.d.ts +1 -1
  66. package/package.json +17 -25
  67. package/esm2020/lib/modules/icon/icon-class-list.pipe.mjs +0 -40
  68. package/esm2020/lib/modules/icon/icon-resolver.service.mjs +0 -60
  69. package/esm2020/lib/modules/label/label.component.mjs +0 -116
  70. package/esm2020/lib/modules/status-indicator/status-indicator.component.mjs +0 -104
  71. package/esm2020/lib/modules/text-highlight/text-highlight.directive.mjs +0 -154
  72. package/esm2020/lib/modules/tokens/tokens.component.mjs +0 -320
  73. package/esm2020/lib/modules/wait/wait-adapter.service.mjs +0 -221
  74. package/esm2020/lib/modules/wait/wait.component.mjs +0 -167
  75. package/esm2020/lib/modules/wait/wait.service.mjs +0 -161
  76. package/esm2020/testing/alert/alert-harness.mjs +0 -118
  77. package/esm2020/testing/alert-fixture.mjs +0 -72
  78. package/esm2020/testing/chevron/chevron-harness.mjs +0 -44
  79. package/esm2020/testing/help-inline/help-inline-harness.mjs +0 -31
  80. package/esm2020/testing/icon/icon-harness.mjs +0 -90
  81. package/esm2020/testing/key-info/key-info-harness.mjs +0 -49
  82. package/esm2020/testing/label/label-harness.mjs +0 -94
  83. package/esm2020/testing/label-fixture.mjs +0 -45
  84. package/esm2020/testing/tokens/token-harness.mjs +0 -69
  85. package/esm2020/testing/tokens/tokens-harness.mjs +0 -45
  86. package/esm2020/testing/wait/wait-harness.mjs +0 -66
  87. package/esm2020/testing/wait-fixture.mjs +0 -31
  88. package/fesm2015/skyux-indicators-testing.mjs +0 -854
  89. package/fesm2015/skyux-indicators-testing.mjs.map +0 -1
  90. package/fesm2015/skyux-indicators.mjs +0 -2172
  91. package/fesm2015/skyux-indicators.mjs.map +0 -1
  92. package/fesm2020/skyux-indicators.mjs.map +0 -1
  93. /package/{esm2020 → esm2022}/index.mjs +0 -0
  94. /package/{esm2020 → esm2022}/lib/modules/icon/icon-stack-item.mjs +0 -0
  95. /package/{esm2020 → esm2022}/lib/modules/icon/types/icon-resolved.mjs +0 -0
  96. /package/{esm2020 → esm2022}/lib/modules/icon/types/icon-type.mjs +0 -0
  97. /package/{esm2020 → esm2022}/lib/modules/icon/types/icon-variant-type.mjs +0 -0
  98. /package/{esm2020 → esm2022}/lib/modules/key-info/key-info-layout-type.mjs +0 -0
  99. /package/{esm2020 → esm2022}/lib/modules/label/label-type.mjs +0 -0
  100. /package/{esm2020 → esm2022}/lib/modules/shared/indicator-description-type.mjs +0 -0
  101. /package/{esm2020 → esm2022}/lib/modules/shared/indicator-icon-type.mjs +0 -0
  102. /package/{esm2020 → esm2022}/lib/modules/shared/indicator-icon-utility.mjs +0 -0
  103. /package/{esm2020 → esm2022}/lib/modules/shared/indicator-icon.mjs +0 -0
  104. /package/{esm2020 → esm2022}/lib/modules/tokens/types/token-selected-event-args.mjs +0 -0
  105. /package/{esm2020 → esm2022}/lib/modules/tokens/types/token.mjs +0 -0
  106. /package/{esm2020 → esm2022}/lib/modules/tokens/types/tokens-message-type.mjs +0 -0
  107. /package/{esm2020 → esm2022}/lib/modules/tokens/types/tokens-message.mjs +0 -0
  108. /package/{esm2020 → esm2022}/skyux-indicators.mjs +0 -0
  109. /package/{esm2020 → esm2022}/testing/alert/alert-harness-filters.mjs +0 -0
  110. /package/{esm2020 → esm2022}/testing/help-inline/help-inline-harness-filters.mjs +0 -0
  111. /package/{esm2020 → esm2022}/testing/icon/icon-harness-filters.mjs +0 -0
  112. /package/{esm2020 → esm2022}/testing/key-info/key-info-harness-filters.mjs +0 -0
  113. /package/{esm2020 → esm2022}/testing/label/label-harness-filters.mjs +0 -0
  114. /package/{esm2020 → esm2022}/testing/public-api.mjs +0 -0
  115. /package/{esm2020 → esm2022}/testing/skyux-indicators-testing.mjs +0 -0
  116. /package/{esm2020 → esm2022}/testing/tokens/token-harness-filters.mjs +0 -0
  117. /package/{esm2020 → esm2022}/testing/tokens/tokens-harness-filters.mjs +0 -0
  118. /package/{esm2020 → esm2022}/testing/wait/wait-harness-filters.mjs +0 -0
@@ -6,47 +6,45 @@ import * as i5 from '@skyux/i18n';
6
6
  import { getLibStringForLocale, SkyI18nModule, SKY_LIB_RESOURCES_PROVIDERS, SkyLibResourcesService } from '@skyux/i18n';
7
7
  import * as i2 from '@skyux/theme';
8
8
  import { SkyThemeIconManifestService, SkyThemeService, SkyThemeModule } from '@skyux/theme';
9
- import { __classPrivateFieldGet, __classPrivateFieldSet } from 'tslib';
10
9
  import * as i2$1 from '@skyux/core';
11
10
  import { SkyLogService, SkyTrimModule, SkyMutationObserverService, SkyLiveAnnouncerService, SkyAppWindowRef, SkyDynamicComponentService, SkyDynamicComponentLocation } from '@skyux/core';
12
11
  import { trigger, transition, style, animate } from '@angular/animations';
13
12
  import { Subject, BehaviorSubject, defer } from 'rxjs';
14
13
  import { takeUntil, take, finalize } from 'rxjs/operators';
15
14
 
16
- var _SkyIconResolverService_glyphMap, _SkyIconResolverService_manifestSvc;
17
15
  /**
18
16
  * @internal
19
17
  */
20
18
  class SkyIconResolverService {
19
+ #glyphMap = new Map();
20
+ #manifestSvc = inject(SkyThemeIconManifestService);
21
21
  constructor() {
22
- _SkyIconResolverService_glyphMap.set(this, new Map());
23
- _SkyIconResolverService_manifestSvc.set(this, inject(SkyThemeIconManifestService));
24
22
  // Map the icons by name for more efficient lookup.
25
- for (const glyph of __classPrivateFieldGet(this, _SkyIconResolverService_manifestSvc, "f").getManifest().glyphs) {
26
- __classPrivateFieldGet(this, _SkyIconResolverService_glyphMap, "f").set(glyph.name, glyph);
23
+ for (const glyph of this.#manifestSvc.getManifest().glyphs) {
24
+ this.#glyphMap.set(glyph.name, glyph);
27
25
  }
28
26
  }
29
27
  resolveIcon(icon, variant, iconType, themeSettings) {
30
- iconType || (iconType = 'fa');
28
+ iconType ||= 'fa';
31
29
  if (iconType === 'skyux') {
32
30
  if (themeSettings?.theme.name === 'modern') {
33
31
  const variantIcon = variant && `${icon}-${variant}`;
34
- if (variantIcon && __classPrivateFieldGet(this, _SkyIconResolverService_glyphMap, "f").has(variantIcon)) {
32
+ if (variantIcon && this.#glyphMap.has(variantIcon)) {
35
33
  // A variant was specified and exists; use it.
36
34
  icon = variantIcon;
37
35
  }
38
- else if (variant !== 'line' && !__classPrivateFieldGet(this, _SkyIconResolverService_glyphMap, "f").has(icon)) {
36
+ else if (variant !== 'line' && !this.#glyphMap.has(icon)) {
39
37
  // Either the solid variant was specified and doesn't exist, or no variant was
40
38
  // specified and a non-variant doesn't exist; fall back to the line variant.
41
39
  const lineIcon = `${icon}-line`;
42
- if (__classPrivateFieldGet(this, _SkyIconResolverService_glyphMap, "f").has(lineIcon)) {
40
+ if (this.#glyphMap.has(lineIcon)) {
43
41
  icon = lineIcon;
44
42
  }
45
43
  }
46
44
  }
47
45
  else {
48
46
  // Use the Font Awesome equivalent in default theme if one exists.
49
- const faName = __classPrivateFieldGet(this, _SkyIconResolverService_glyphMap, "f").get(icon)?.faName;
47
+ const faName = this.#glyphMap.get(icon)?.faName;
50
48
  if (faName) {
51
49
  icon = faName;
52
50
  iconType = 'fa';
@@ -58,28 +56,24 @@ class SkyIconResolverService {
58
56
  iconType,
59
57
  };
60
58
  }
59
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyIconResolverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
60
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyIconResolverService, providedIn: 'root' }); }
61
61
  }
62
- _SkyIconResolverService_glyphMap = new WeakMap(), _SkyIconResolverService_manifestSvc = new WeakMap();
63
- SkyIconResolverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyIconResolverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
64
- SkyIconResolverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyIconResolverService, providedIn: 'root' });
65
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyIconResolverService, decorators: [{
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyIconResolverService, decorators: [{
66
63
  type: Injectable,
67
64
  args: [{
68
65
  providedIn: 'root',
69
66
  }]
70
67
  }], ctorParameters: function () { return []; } });
71
68
 
72
- var _SkyIconClassListPipe_resolver;
73
69
  /**
74
70
  * @internal
75
71
  */
76
72
  class SkyIconClassListPipe {
77
- constructor() {
78
- _SkyIconClassListPipe_resolver.set(this, inject(SkyIconResolverService));
79
- }
73
+ #resolver = inject(SkyIconResolverService);
80
74
  transform(icon, themeSettings, iconType, size, fixedWidth, variant) {
81
75
  let classList;
82
- const { icon: resolvedIcon, iconType: resolvedIconType } = __classPrivateFieldGet(this, _SkyIconClassListPipe_resolver, "f").resolveIcon(icon, variant, iconType, themeSettings);
76
+ const { icon: resolvedIcon, iconType: resolvedIconType } = this.#resolver.resolveIcon(icon, variant, iconType, themeSettings);
83
77
  if (resolvedIconType === 'skyux') {
84
78
  classList = ['sky-i-' + resolvedIcon];
85
79
  }
@@ -94,11 +88,10 @@ class SkyIconClassListPipe {
94
88
  }
95
89
  return classList;
96
90
  }
91
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyIconClassListPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
92
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyIconClassListPipe, name: "skyIconClassList" }); }
97
93
  }
98
- _SkyIconClassListPipe_resolver = new WeakMap();
99
- SkyIconClassListPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyIconClassListPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
100
- SkyIconClassListPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyIconClassListPipe, name: "skyIconClassList" });
101
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyIconClassListPipe, decorators: [{
94
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyIconClassListPipe, decorators: [{
102
95
  type: Pipe,
103
96
  args: [{
104
97
  name: 'skyIconClassList',
@@ -112,10 +105,10 @@ class SkyIconStackComponent {
112
105
  constructor() {
113
106
  this.themeSvc = inject(SkyThemeService, { optional: true });
114
107
  }
108
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyIconStackComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
109
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.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\n *ngIf=\"baseIcon\"\n class=\"sky-icon fa-stack-2x\"\n [ngClass]=\"\n baseIcon.icon\n | skyIconClassList\n : (themeSvc?.settingsChange | async)?.currentSettings\n : baseIcon.iconType\n \"\n ></i>\n <i\n *ngIf=\"topIcon\"\n class=\"sky-icon fa-stack-1x fa-inverse sky-icon-inverse\"\n [ngClass]=\"\n topIcon.icon\n | skyIconClassList\n : (themeSvc?.settingsChange | async)?.currentSettings\n : topIcon.iconType\n \"\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}.sky-icon-inverse{color:var(--sky-icon-stack-top-icon-color-override, #ffffff)}: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"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: SkyIconClassListPipe, name: "skyIconClassList" }] }); }
115
110
  }
116
- SkyIconStackComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyIconStackComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
117
- SkyIconStackComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", 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\n *ngIf=\"baseIcon\"\n class=\"sky-icon fa-stack-2x\"\n [ngClass]=\"\n baseIcon.icon\n | skyIconClassList\n : (themeSvc?.settingsChange | async)?.currentSettings\n : baseIcon.iconType\n \"\n ></i>\n <i\n *ngIf=\"topIcon\"\n class=\"sky-icon fa-stack-1x fa-inverse sky-icon-inverse\"\n [ngClass]=\"\n topIcon.icon\n | skyIconClassList\n : (themeSvc?.settingsChange | async)?.currentSettings\n : topIcon.iconType\n \"\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}.sky-icon-inverse{color:var(--sky-icon-stack-top-icon-color-override, #ffffff)}: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"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: SkyIconClassListPipe, name: "skyIconClassList" }] });
118
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyIconStackComponent, decorators: [{
111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyIconStackComponent, decorators: [{
119
112
  type: Component,
120
113
  args: [{ selector: 'sky-icon-stack', 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\n *ngIf=\"baseIcon\"\n class=\"sky-icon fa-stack-2x\"\n [ngClass]=\"\n baseIcon.icon\n | skyIconClassList\n : (themeSvc?.settingsChange | async)?.currentSettings\n : baseIcon.iconType\n \"\n ></i>\n <i\n *ngIf=\"topIcon\"\n class=\"sky-icon fa-stack-1x fa-inverse sky-icon-inverse\"\n [ngClass]=\"\n topIcon.icon\n | skyIconClassList\n : (themeSvc?.settingsChange | async)?.currentSettings\n : topIcon.iconType\n \"\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}.sky-icon-inverse{color:var(--sky-icon-stack-top-icon-color-override, #ffffff)}: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"] }]
121
114
  }], propDecorators: { size: [{
@@ -130,10 +123,10 @@ class SkyIconComponent {
130
123
  constructor() {
131
124
  this.themeSvc = inject(SkyThemeService, { optional: true });
132
125
  }
126
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
127
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: SkyIconComponent, selector: "sky-icon", inputs: { icon: "icon", iconType: "iconType", size: "size", fixedWidth: "fixedWidth", variant: "variant" }, ngImport: i0, template: "<i\n *ngIf=\"icon\"\n aria-hidden=\"true\"\n class=\"sky-icon\"\n [attr.data-sky-icon]=\"icon\"\n [attr.data-sky-icon-type]=\"iconType\"\n [attr.data-sky-icon-variant]=\"variant\"\n [ngClass]=\"\n icon\n | skyIconClassList\n : (themeSvc?.settingsChange | async)?.currentSettings\n : iconType\n : size\n : fixedWidth\n : variant\n \"\n></i>\n", styles: [":host{display:inline-block}i{display:inherit}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: SkyIconClassListPipe, name: "skyIconClassList" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
133
128
  }
134
- SkyIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
135
- SkyIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyIconComponent, selector: "sky-icon", inputs: { icon: "icon", iconType: "iconType", size: "size", fixedWidth: "fixedWidth", variant: "variant" }, ngImport: i0, template: "<i\n *ngIf=\"icon\"\n aria-hidden=\"true\"\n class=\"sky-icon\"\n [attr.data-sky-icon]=\"icon\"\n [attr.data-sky-icon-type]=\"iconType\"\n [attr.data-sky-icon-variant]=\"variant\"\n [ngClass]=\"\n icon\n | skyIconClassList\n : (themeSvc?.settingsChange | async)?.currentSettings\n : iconType\n : size\n : fixedWidth\n : variant\n \"\n></i>\n", styles: [":host{display:inline-block}i{display:inherit}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: SkyIconClassListPipe, name: "skyIconClassList" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
136
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyIconComponent, decorators: [{
129
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyIconComponent, decorators: [{
137
130
  type: Component,
138
131
  args: [{ selector: 'sky-icon', changeDetection: ChangeDetectionStrategy.OnPush, template: "<i\n *ngIf=\"icon\"\n aria-hidden=\"true\"\n class=\"sky-icon\"\n [attr.data-sky-icon]=\"icon\"\n [attr.data-sky-icon-type]=\"iconType\"\n [attr.data-sky-icon-variant]=\"variant\"\n [ngClass]=\"\n icon\n | skyIconClassList\n : (themeSvc?.settingsChange | async)?.currentSettings\n : iconType\n : size\n : fixedWidth\n : variant\n \"\n></i>\n", styles: [":host{display:inline-block}i{display:inherit}\n"] }]
139
132
  }], propDecorators: { icon: [{
@@ -149,11 +142,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
149
142
  }] } });
150
143
 
151
144
  class SkyIconModule {
145
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
146
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyIconModule, declarations: [SkyIconClassListPipe, SkyIconComponent, SkyIconStackComponent], imports: [CommonModule], exports: [SkyIconComponent, SkyIconStackComponent] }); }
147
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyIconModule, imports: [CommonModule] }); }
152
148
  }
153
- SkyIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
154
- SkyIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyIconModule, declarations: [SkyIconClassListPipe, SkyIconComponent, SkyIconStackComponent], imports: [CommonModule], exports: [SkyIconComponent, SkyIconStackComponent] });
155
- SkyIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyIconModule, imports: [CommonModule] });
156
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyIconModule, decorators: [{
149
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyIconModule, decorators: [{
157
150
  type: NgModule,
158
151
  args: [{
159
152
  declarations: [SkyIconClassListPipe, SkyIconComponent, SkyIconStackComponent],
@@ -225,17 +218,17 @@ class SkyIndicatorsResourcesProvider {
225
218
  * Import into any component library module that needs to use resource strings.
226
219
  */
227
220
  class SkyIndicatorsResourcesModule {
221
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyIndicatorsResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
222
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyIndicatorsResourcesModule, exports: [SkyI18nModule] }); }
223
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyIndicatorsResourcesModule, providers: [
224
+ {
225
+ provide: SKY_LIB_RESOURCES_PROVIDERS,
226
+ useClass: SkyIndicatorsResourcesProvider,
227
+ multi: true,
228
+ },
229
+ ], imports: [SkyI18nModule] }); }
228
230
  }
229
- SkyIndicatorsResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyIndicatorsResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
230
- SkyIndicatorsResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyIndicatorsResourcesModule, exports: [SkyI18nModule] });
231
- SkyIndicatorsResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyIndicatorsResourcesModule, providers: [
232
- {
233
- provide: SKY_LIB_RESOURCES_PROVIDERS,
234
- useClass: SkyIndicatorsResourcesProvider,
235
- multi: true,
236
- },
237
- ], imports: [SkyI18nModule] });
238
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyIndicatorsResourcesModule, decorators: [{
231
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyIndicatorsResourcesModule, decorators: [{
239
232
  type: NgModule,
240
233
  args: [{
241
234
  exports: [SkyI18nModule],
@@ -289,22 +282,16 @@ class SkyIndicatorIconUtility {
289
282
  }
290
283
  }
291
284
 
292
- var _SkyAlertComponent_instances, _SkyAlertComponent__descriptionType, _SkyAlertComponent__customDescription, _SkyAlertComponent_descriptionTypeResourceSubscription, _SkyAlertComponent_descriptionTypeWarned, _SkyAlertComponent_resources, _SkyAlertComponent_logSvc, _SkyAlertComponent_updateAlertIcon, _SkyAlertComponent_updateDescriptionComputed, _SkyAlertComponent_unsubscribe;
293
285
  const ALERT_TYPE_DEFAULT = 'warning';
294
286
  class SkyAlertComponent {
295
287
  constructor() {
296
- _SkyAlertComponent_instances.add(this);
297
288
  /**
298
289
  * Fires when users close the alert.
299
290
  */
300
291
  this.closedChange = new EventEmitter();
301
292
  this.alertTypeOrDefault = ALERT_TYPE_DEFAULT;
302
- _SkyAlertComponent__descriptionType.set(this, void 0);
303
- _SkyAlertComponent__customDescription.set(this, void 0);
304
- _SkyAlertComponent_descriptionTypeResourceSubscription.set(this, void 0);
305
- _SkyAlertComponent_descriptionTypeWarned.set(this, void 0);
306
- _SkyAlertComponent_resources.set(this, inject(SkyLibResourcesService));
307
- _SkyAlertComponent_logSvc.set(this, inject(SkyLogService));
293
+ this.#resources = inject(SkyLibResourcesService);
294
+ this.#logSvc = inject(SkyLogService);
308
295
  }
309
296
  /**
310
297
  * The style for the alert, which determines the icon and background color.
@@ -314,7 +301,7 @@ class SkyAlertComponent {
314
301
  set alertType(value) {
315
302
  if (value !== this.alertTypeOrDefault) {
316
303
  this.alertTypeOrDefault = value || ALERT_TYPE_DEFAULT;
317
- __classPrivateFieldGet(this, _SkyAlertComponent_instances, "m", _SkyAlertComponent_updateAlertIcon).call(this);
304
+ this.#updateAlertIcon();
318
305
  }
319
306
  }
320
307
  /**
@@ -322,78 +309,86 @@ class SkyAlertComponent {
322
309
  * This property is optional but will be required in future versions of SKY UX.
323
310
  */
324
311
  set descriptionType(value) {
325
- __classPrivateFieldSet(this, _SkyAlertComponent__descriptionType, value, "f");
326
- __classPrivateFieldGet(this, _SkyAlertComponent_instances, "m", _SkyAlertComponent_updateDescriptionComputed).call(this);
312
+ this.#_descriptionType = value;
313
+ this.#updateDescriptionComputed();
327
314
  }
328
315
  get descriptionType() {
329
- return __classPrivateFieldGet(this, _SkyAlertComponent__descriptionType, "f");
316
+ return this.#_descriptionType;
330
317
  }
331
318
  /**
332
319
  * The text to be read by screen readers for users who cannot see
333
320
  * the indicator icon when `descriptionType` is `custom`.
334
321
  */
335
322
  set customDescription(value) {
336
- __classPrivateFieldSet(this, _SkyAlertComponent__customDescription, value, "f");
337
- __classPrivateFieldGet(this, _SkyAlertComponent_instances, "m", _SkyAlertComponent_updateDescriptionComputed).call(this);
323
+ this.#_customDescription = value;
324
+ this.#updateDescriptionComputed();
338
325
  }
339
326
  get customDescription() {
340
- return __classPrivateFieldGet(this, _SkyAlertComponent__customDescription, "f");
341
- }
327
+ return this.#_customDescription;
328
+ }
329
+ #_descriptionType;
330
+ #_customDescription;
331
+ #descriptionTypeResourceSubscription;
332
+ #descriptionTypeWarned;
333
+ #resources;
334
+ #logSvc;
342
335
  ngOnInit() {
343
- __classPrivateFieldGet(this, _SkyAlertComponent_instances, "m", _SkyAlertComponent_updateAlertIcon).call(this);
336
+ this.#updateAlertIcon();
344
337
  }
345
338
  ngAfterViewChecked() {
346
- if (!this.descriptionType && !__classPrivateFieldGet(this, _SkyAlertComponent_descriptionTypeWarned, "f")) {
347
- __classPrivateFieldGet(this, _SkyAlertComponent_logSvc, "f").deprecated('SkyAlertComponent without `descriptionType`', {
339
+ if (!this.descriptionType && !this.#descriptionTypeWarned) {
340
+ this.#logSvc.deprecated('SkyAlertComponent without `descriptionType`', {
348
341
  deprecationMajorVersion: 8,
349
342
  replacementRecommendation: 'Always specify a `descriptionType` property.',
350
343
  });
351
- __classPrivateFieldSet(this, _SkyAlertComponent_descriptionTypeWarned, true, "f");
344
+ this.#descriptionTypeWarned = true;
352
345
  }
353
346
  }
354
347
  ngOnDestroy() {
355
- __classPrivateFieldGet(this, _SkyAlertComponent_instances, "m", _SkyAlertComponent_unsubscribe).call(this);
348
+ this.#unsubscribe();
356
349
  }
357
350
  close() {
358
351
  this.closed = true;
359
352
  this.closedChange.emit(true);
360
353
  }
361
- }
362
- _SkyAlertComponent__descriptionType = new WeakMap(), _SkyAlertComponent__customDescription = new WeakMap(), _SkyAlertComponent_descriptionTypeResourceSubscription = new WeakMap(), _SkyAlertComponent_descriptionTypeWarned = new WeakMap(), _SkyAlertComponent_resources = new WeakMap(), _SkyAlertComponent_logSvc = new WeakMap(), _SkyAlertComponent_instances = new WeakSet(), _SkyAlertComponent_updateAlertIcon = function _SkyAlertComponent_updateAlertIcon() {
363
- const indicatorIcon = SkyIndicatorIconUtility.getIconsForType(this.alertTypeOrDefault);
364
- this.alertBaseIcon = indicatorIcon.modernThemeBaseIcon;
365
- this.alertTopIcon = indicatorIcon.modernThemeTopIcon;
366
- }, _SkyAlertComponent_updateDescriptionComputed = function _SkyAlertComponent_updateDescriptionComputed() {
367
- __classPrivateFieldGet(this, _SkyAlertComponent_instances, "m", _SkyAlertComponent_unsubscribe).call(this);
368
- if (this.descriptionType) {
369
- switch (this.descriptionType) {
370
- case 'none':
371
- this.descriptionComputed = undefined;
372
- break;
373
- case 'custom':
374
- this.descriptionComputed = this.customDescription;
375
- break;
376
- default:
377
- __classPrivateFieldSet(this, _SkyAlertComponent_descriptionTypeResourceSubscription, __classPrivateFieldGet(this, _SkyAlertComponent_resources, "f")
378
- .getString('skyux_alert_sr_' + this.descriptionType.replace(/-/g, '_'))
379
- .subscribe((value) => {
380
- this.descriptionComputed = value;
381
- }), "f");
382
- break;
354
+ #updateAlertIcon() {
355
+ const indicatorIcon = SkyIndicatorIconUtility.getIconsForType(this.alertTypeOrDefault);
356
+ this.alertBaseIcon = indicatorIcon.modernThemeBaseIcon;
357
+ this.alertTopIcon = indicatorIcon.modernThemeTopIcon;
358
+ }
359
+ #updateDescriptionComputed() {
360
+ this.#unsubscribe();
361
+ if (this.descriptionType) {
362
+ switch (this.descriptionType) {
363
+ case 'none':
364
+ this.descriptionComputed = undefined;
365
+ break;
366
+ case 'custom':
367
+ this.descriptionComputed = this.customDescription;
368
+ break;
369
+ default:
370
+ this.#descriptionTypeResourceSubscription = this.#resources
371
+ .getString('skyux_alert_sr_' + this.descriptionType.replace(/-/g, '_'))
372
+ .subscribe((value) => {
373
+ this.descriptionComputed = value;
374
+ });
375
+ break;
376
+ }
377
+ }
378
+ else {
379
+ this.descriptionComputed = undefined;
383
380
  }
384
381
  }
385
- else {
386
- this.descriptionComputed = undefined;
387
- }
388
- }, _SkyAlertComponent_unsubscribe = function _SkyAlertComponent_unsubscribe() {
389
- if (__classPrivateFieldGet(this, _SkyAlertComponent_descriptionTypeResourceSubscription, "f")) {
390
- __classPrivateFieldGet(this, _SkyAlertComponent_descriptionTypeResourceSubscription, "f").unsubscribe();
391
- __classPrivateFieldSet(this, _SkyAlertComponent_descriptionTypeResourceSubscription, undefined, "f");
382
+ #unsubscribe() {
383
+ if (this.#descriptionTypeResourceSubscription) {
384
+ this.#descriptionTypeResourceSubscription.unsubscribe();
385
+ this.#descriptionTypeResourceSubscription = undefined;
386
+ }
392
387
  }
393
- };
394
- SkyAlertComponentfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
395
- SkyAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyAlertComponent, selector: "sky-alert", inputs: { alertType: "alertType", closeable: "closeable", closed: "closed", descriptionType: "descriptionType", customDescription: "customDescription" }, 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': alertTypeOrDefault === 'info',\n 'sky-alert-success': alertTypeOrDefault === 'success',\n 'sky-alert-warning': alertTypeOrDefault === 'warning',\n 'sky-alert-danger': alertTypeOrDefault === 'danger',\n 'sky-alert-closeable': closeable\n }\"\n>\n <div aria-hidden=\"true\" class=\"sky-alert-icon-theme-modern\">\n <sky-icon-stack [baseIcon]=\"alertBaseIcon\" [topIcon]=\"alertTopIcon\">\n </sky-icon-stack>\n </div>\n <span *ngIf=\"descriptionComputed\" class=\"sky-screen-reader-only\">\n {{ descriptionComputed }}\n </span>\n <div class=\"sky-alert-content\">\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 aria-hidden=\"true\">\n <sky-icon class=\"sky-alert-close-icon-theme-default\" icon=\"close\">\n </sky-icon>\n <sky-icon\n class=\"sky-alert-close-icon-theme-modern\"\n icon=\"close\"\n iconType=\"skyux\"\n >\n </sky-icon>\n </span>\n </button>\n</div>\n", styles: [":host{display:block}.sky-alert{--sky-alert-before-display: initial;--sky-alert-border-left-width: 30px;--sky-alert-close-btn-active-border: none;--sky-alert-close-btn-border-radius: 3px;--sky-alert-close-btn-focus-border: none;--sky-alert-close-btn-focus-box-shadow: none;--sky-alert-close-btn-opacity: .8;--sky-alert-close-icon-default-display: initial;--sky-alert-close-icon-modern-display: none;--sky-alert-content-padding-top-bottom: 10px;--sky-alert-content-padding-left-right: 0;--sky-alert-icon-default-display: initial;--sky-alert-icon-modern-display: none;--sky-alert-info-background-color: var(--sky-background-color-info)}:host-context(.sky-theme-modern) .sky-alert{--sky-alert-before-display: none;--sky-alert-border-left-width: 7px;--sky-alert-close-btn-active-border: var( --sky-background-color-primary-dark ) solid 2px;--sky-alert-close-btn-border-radius: 6px;--sky-alert-close-btn-focus-border: var(--sky-background-color-primary-dark) solid 1px;--sky-alert-close-btn-focus-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, .3);--sky-alert-close-btn-opacity: 1;--sky-alert-close-icon-default-display: none;--sky-alert-close-icon-modern-display: initial;--sky-alert-content-padding-left-right: var(--sky-padding-even-md);--sky-alert-content-padding-top-bottom: var(--sky-padding-even-md);--sky-alert-icon-default-display: none;--sky-alert-icon-modern-display: initial;--sky-alert-info-background-color: var(--sky-background-color-info-light)}.sky-theme-modern .sky-alert{--sky-alert-before-display: none;--sky-alert-border-left-width: 7px;--sky-alert-close-btn-active-border: var( --sky-background-color-primary-dark ) solid 2px;--sky-alert-close-btn-border-radius: 6px;--sky-alert-close-btn-focus-border: var(--sky-background-color-primary-dark) solid 1px;--sky-alert-close-btn-focus-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, .3);--sky-alert-close-btn-opacity: 1;--sky-alert-close-icon-default-display: none;--sky-alert-close-icon-modern-display: initial;--sky-alert-content-padding-left-right: var(--sky-padding-even-md);--sky-alert-content-padding-top-bottom: var(--sky-padding-even-md);--sky-alert-icon-default-display: none;--sky-alert-icon-modern-display: initial;--sky-alert-info-background-color: var(--sky-background-color-info-light)}.sky-alert{padding:0 10px;border-left:solid var(--sky-alert-border-left-width);color:var(--sky-text-color-default);display:flex;flex-direction:row;align-items:center}.sky-alert .sky-alert-content{padding:var(--sky-alert-content-padding-top-bottom) var(--sky-alert-content-padding-left-right);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:var(--sky-text-color-default)}.sky-alert button{margin-left:auto;width:32px;height:32px}.sky-alert.sky-alert-info:before,.sky-alert.sky-alert-success:before,.sky-alert.sky-alert-warning:before,.sky-alert.sky-alert-danger:before{font-family:FontAwesome;margin-left:-32px;margin-right:19px;color:#fff;display:var(--sky-alert-before-display)}.sky-alert:not(.sky-alert-danger){--sky-icon-stack-top-icon-color-override: #212327}.sky-alert.sky-alert-info{background-color:var(--sky-alert-info-background-color);border-color:var(--sky-highlight-color-info)}.sky-alert.sky-alert-info:before{content:\"\\f06a\";margin-left:-31px;margin-right:20px}.sky-alert.sky-alert-success{background-color:var(--sky-background-color-success);border-color:var(--sky-highlight-color-success)}.sky-alert.sky-alert-success:before{content:\"\\f00c\"}.sky-alert.sky-alert-warning{background-color:var(--sky-background-color-warning);border-color:var(--sky-highlight-color-warning)}.sky-alert.sky-alert-warning:before{content:\"\\f071\"}.sky-alert.sky-alert-danger{background-color:var(--sky-background-color-danger);border-color:var(--sky-highlight-color-danger)}.sky-alert.sky-alert-danger:before{content:\"\\f071\"}.sky-alert-close{cursor:pointer;font-weight:700;line-height:1;margin:0;padding:0;color:var(--sky-text-color-default);opacity:var(--sky-alert-close-btn-opacity);border:none;border-radius:var(--sky-alert-close-btn-border-radius);background-color:transparent;display:none;flex-shrink:0}.sky-alert-close:hover{opacity:1;border:var(--sky-alert-close-btn-focus-border)}.sky-alert-close:focus-visible{border:var(--sky-background-color-primary-dark) solid 2px;outline:none}.sky-alert-close:active{border:var(--sky-alert-close-btn-active-border)}.sky-alert-close:focus-visible:not(:active){box-shadow:var(--sky-alert-close-btn-focus-box-shadow)}.sky-alert-closeable .sky-alert-close{display:block}.sky-alert-icon-theme-default{display:var(--sky-alert-icon-default-display)}.sky-alert-icon-theme-modern{display:var(--sky-alert-icon-modern-display)}.sky-alert-close-icon-theme-default{display:var(--sky-alert-icon-default-display)}.sky-alert-close-icon-theme-modern{display:var(--sky-alert-close-icon-modern-display)}.sky-alert-info .sky-alert-icon-theme-modern{color:var(--sky-highlight-color-info)}.sky-alert-success .sky-alert-icon-theme-modern{color:var(--sky-highlight-color-success)}.sky-alert-warning .sky-alert-icon-theme-modern{color:var(--sky-highlight-color-warning)}.sky-alert-danger .sky-alert-icon-theme-modern{color:var(--sky-highlight-color-danger)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SkyIconComponent, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { kind: "component", type: SkyIconStackComponent, selector: "sky-icon-stack", inputs: ["size", "baseIcon", "topIcon"] }, { kind: "directive", type: i2.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { kind: "pipe", type: i5.SkyLibResourcesPipe, name: "skyLibResources" }] });
396
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyAlertComponent, decorators: [{
388
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
389
+ static { thiscmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: SkyAlertComponent, selector: "sky-alert", inputs: { alertType: "alertType", closeable: "closeable", closed: "closed", descriptionType: "descriptionType", customDescription: "customDescription" }, 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': alertTypeOrDefault === 'info',\n 'sky-alert-success': alertTypeOrDefault === 'success',\n 'sky-alert-warning': alertTypeOrDefault === 'warning',\n 'sky-alert-danger': alertTypeOrDefault === 'danger',\n 'sky-alert-closeable': closeable\n }\"\n>\n <div aria-hidden=\"true\" class=\"sky-alert-icon-theme-modern\">\n <sky-icon-stack [baseIcon]=\"alertBaseIcon\" [topIcon]=\"alertTopIcon\">\n </sky-icon-stack>\n </div>\n <span *ngIf=\"descriptionComputed\" class=\"sky-screen-reader-only\">\n {{ descriptionComputed }}\n </span>\n <div class=\"sky-alert-content\">\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 aria-hidden=\"true\">\n <sky-icon class=\"sky-alert-close-icon-theme-default\" icon=\"close\">\n </sky-icon>\n <sky-icon\n class=\"sky-alert-close-icon-theme-modern\"\n icon=\"close\"\n iconType=\"skyux\"\n >\n </sky-icon>\n </span>\n </button>\n</div>\n", styles: [":host{display:block}.sky-alert{--sky-alert-before-display: initial;--sky-alert-border-left-width: 30px;--sky-alert-close-btn-active-border: none;--sky-alert-close-btn-border-radius: 3px;--sky-alert-close-btn-focus-border: none;--sky-alert-close-btn-focus-box-shadow: none;--sky-alert-close-btn-opacity: .8;--sky-alert-close-icon-default-display: initial;--sky-alert-close-icon-modern-display: none;--sky-alert-content-padding-top-bottom: 10px;--sky-alert-content-padding-left-right: 0;--sky-alert-icon-default-display: initial;--sky-alert-icon-modern-display: none;--sky-alert-info-background-color: var(--sky-background-color-info)}:host-context(.sky-theme-modern) .sky-alert{--sky-alert-before-display: none;--sky-alert-border-left-width: 7px;--sky-alert-close-btn-active-border: var( --sky-background-color-primary-dark ) solid 2px;--sky-alert-close-btn-border-radius: 6px;--sky-alert-close-btn-focus-border: var(--sky-background-color-primary-dark) solid 1px;--sky-alert-close-btn-focus-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, .3);--sky-alert-close-btn-opacity: 1;--sky-alert-close-icon-default-display: none;--sky-alert-close-icon-modern-display: initial;--sky-alert-content-padding-left-right: var(--sky-padding-even-md);--sky-alert-content-padding-top-bottom: var(--sky-padding-even-md);--sky-alert-icon-default-display: none;--sky-alert-icon-modern-display: initial;--sky-alert-info-background-color: var(--sky-background-color-info-light)}.sky-theme-modern .sky-alert{--sky-alert-before-display: none;--sky-alert-border-left-width: 7px;--sky-alert-close-btn-active-border: var( --sky-background-color-primary-dark ) solid 2px;--sky-alert-close-btn-border-radius: 6px;--sky-alert-close-btn-focus-border: var(--sky-background-color-primary-dark) solid 1px;--sky-alert-close-btn-focus-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, .3);--sky-alert-close-btn-opacity: 1;--sky-alert-close-icon-default-display: none;--sky-alert-close-icon-modern-display: initial;--sky-alert-content-padding-left-right: var(--sky-padding-even-md);--sky-alert-content-padding-top-bottom: var(--sky-padding-even-md);--sky-alert-icon-default-display: none;--sky-alert-icon-modern-display: initial;--sky-alert-info-background-color: var(--sky-background-color-info-light)}.sky-alert{padding:0 10px;border-left:solid var(--sky-alert-border-left-width);color:var(--sky-text-color-default);display:flex;flex-direction:row;align-items:center}.sky-alert .sky-alert-content{padding:var(--sky-alert-content-padding-top-bottom) var(--sky-alert-content-padding-left-right);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:var(--sky-text-color-default)}.sky-alert button{margin-left:auto;width:32px;height:32px}.sky-alert.sky-alert-info:before,.sky-alert.sky-alert-success:before,.sky-alert.sky-alert-warning:before,.sky-alert.sky-alert-danger:before{font-family:FontAwesome;margin-left:-32px;margin-right:19px;color:#fff;display:var(--sky-alert-before-display)}.sky-alert:not(.sky-alert-danger){--sky-icon-stack-top-icon-color-override: #212327}.sky-alert.sky-alert-info{background-color:var(--sky-alert-info-background-color);border-color:var(--sky-highlight-color-info)}.sky-alert.sky-alert-info:before{content:\"\\f06a\";margin-left:-31px;margin-right:20px}.sky-alert.sky-alert-success{background-color:var(--sky-background-color-success);border-color:var(--sky-highlight-color-success)}.sky-alert.sky-alert-success:before{content:\"\\f00c\"}.sky-alert.sky-alert-warning{background-color:var(--sky-background-color-warning);border-color:var(--sky-highlight-color-warning)}.sky-alert.sky-alert-warning:before{content:\"\\f071\"}.sky-alert.sky-alert-danger{background-color:var(--sky-background-color-danger);border-color:var(--sky-highlight-color-danger)}.sky-alert.sky-alert-danger:before{content:\"\\f071\"}.sky-alert-close{cursor:pointer;font-weight:700;line-height:1;margin:0;padding:0;color:var(--sky-text-color-default);opacity:var(--sky-alert-close-btn-opacity);border:none;border-radius:var(--sky-alert-close-btn-border-radius);background-color:transparent;display:none;flex-shrink:0}.sky-alert-close:hover{opacity:1;border:var(--sky-alert-close-btn-focus-border)}.sky-alert-close:focus-visible{border:var(--sky-background-color-primary-dark) solid 2px;outline:none}.sky-alert-close:active{border:var(--sky-alert-close-btn-active-border)}.sky-alert-close:focus-visible:not(:active){box-shadow:var(--sky-alert-close-btn-focus-box-shadow)}.sky-alert-closeable .sky-alert-close{display:block}.sky-alert-icon-theme-default{display:var(--sky-alert-icon-default-display)}.sky-alert-icon-theme-modern{display:var(--sky-alert-icon-modern-display)}.sky-alert-close-icon-theme-default{display:var(--sky-alert-icon-default-display)}.sky-alert-close-icon-theme-modern{display:var(--sky-alert-close-icon-modern-display)}.sky-alert-info .sky-alert-icon-theme-modern{color:var(--sky-highlight-color-info)}.sky-alert-success .sky-alert-icon-theme-modern{color:var(--sky-highlight-color-success)}.sky-alert-warning .sky-alert-icon-theme-modern{color:var(--sky-highlight-color-warning)}.sky-alert-danger .sky-alert-icon-theme-modern{color:var(--sky-highlight-color-danger)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SkyIconComponent, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { kind: "component", type: SkyIconStackComponent, selector: "sky-icon-stack", inputs: ["size", "baseIcon", "topIcon"] }, { kind: "directive", type: i2.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { kind: "pipe", type: i5.SkyLibResourcesPipe, name: "skyLibResources" }] }); }
390
+ }
391
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyAlertComponent, decorators: [{
397
392
  type: Component,
398
393
  args: [{ selector: 'sky-alert', 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': alertTypeOrDefault === 'info',\n 'sky-alert-success': alertTypeOrDefault === 'success',\n 'sky-alert-warning': alertTypeOrDefault === 'warning',\n 'sky-alert-danger': alertTypeOrDefault === 'danger',\n 'sky-alert-closeable': closeable\n }\"\n>\n <div aria-hidden=\"true\" class=\"sky-alert-icon-theme-modern\">\n <sky-icon-stack [baseIcon]=\"alertBaseIcon\" [topIcon]=\"alertTopIcon\">\n </sky-icon-stack>\n </div>\n <span *ngIf=\"descriptionComputed\" class=\"sky-screen-reader-only\">\n {{ descriptionComputed }}\n </span>\n <div class=\"sky-alert-content\">\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 aria-hidden=\"true\">\n <sky-icon class=\"sky-alert-close-icon-theme-default\" icon=\"close\">\n </sky-icon>\n <sky-icon\n class=\"sky-alert-close-icon-theme-modern\"\n icon=\"close\"\n iconType=\"skyux\"\n >\n </sky-icon>\n </span>\n </button>\n</div>\n", styles: [":host{display:block}.sky-alert{--sky-alert-before-display: initial;--sky-alert-border-left-width: 30px;--sky-alert-close-btn-active-border: none;--sky-alert-close-btn-border-radius: 3px;--sky-alert-close-btn-focus-border: none;--sky-alert-close-btn-focus-box-shadow: none;--sky-alert-close-btn-opacity: .8;--sky-alert-close-icon-default-display: initial;--sky-alert-close-icon-modern-display: none;--sky-alert-content-padding-top-bottom: 10px;--sky-alert-content-padding-left-right: 0;--sky-alert-icon-default-display: initial;--sky-alert-icon-modern-display: none;--sky-alert-info-background-color: var(--sky-background-color-info)}:host-context(.sky-theme-modern) .sky-alert{--sky-alert-before-display: none;--sky-alert-border-left-width: 7px;--sky-alert-close-btn-active-border: var( --sky-background-color-primary-dark ) solid 2px;--sky-alert-close-btn-border-radius: 6px;--sky-alert-close-btn-focus-border: var(--sky-background-color-primary-dark) solid 1px;--sky-alert-close-btn-focus-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, .3);--sky-alert-close-btn-opacity: 1;--sky-alert-close-icon-default-display: none;--sky-alert-close-icon-modern-display: initial;--sky-alert-content-padding-left-right: var(--sky-padding-even-md);--sky-alert-content-padding-top-bottom: var(--sky-padding-even-md);--sky-alert-icon-default-display: none;--sky-alert-icon-modern-display: initial;--sky-alert-info-background-color: var(--sky-background-color-info-light)}.sky-theme-modern .sky-alert{--sky-alert-before-display: none;--sky-alert-border-left-width: 7px;--sky-alert-close-btn-active-border: var( --sky-background-color-primary-dark ) solid 2px;--sky-alert-close-btn-border-radius: 6px;--sky-alert-close-btn-focus-border: var(--sky-background-color-primary-dark) solid 1px;--sky-alert-close-btn-focus-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, .3);--sky-alert-close-btn-opacity: 1;--sky-alert-close-icon-default-display: none;--sky-alert-close-icon-modern-display: initial;--sky-alert-content-padding-left-right: var(--sky-padding-even-md);--sky-alert-content-padding-top-bottom: var(--sky-padding-even-md);--sky-alert-icon-default-display: none;--sky-alert-icon-modern-display: initial;--sky-alert-info-background-color: var(--sky-background-color-info-light)}.sky-alert{padding:0 10px;border-left:solid var(--sky-alert-border-left-width);color:var(--sky-text-color-default);display:flex;flex-direction:row;align-items:center}.sky-alert .sky-alert-content{padding:var(--sky-alert-content-padding-top-bottom) var(--sky-alert-content-padding-left-right);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:var(--sky-text-color-default)}.sky-alert button{margin-left:auto;width:32px;height:32px}.sky-alert.sky-alert-info:before,.sky-alert.sky-alert-success:before,.sky-alert.sky-alert-warning:before,.sky-alert.sky-alert-danger:before{font-family:FontAwesome;margin-left:-32px;margin-right:19px;color:#fff;display:var(--sky-alert-before-display)}.sky-alert:not(.sky-alert-danger){--sky-icon-stack-top-icon-color-override: #212327}.sky-alert.sky-alert-info{background-color:var(--sky-alert-info-background-color);border-color:var(--sky-highlight-color-info)}.sky-alert.sky-alert-info:before{content:\"\\f06a\";margin-left:-31px;margin-right:20px}.sky-alert.sky-alert-success{background-color:var(--sky-background-color-success);border-color:var(--sky-highlight-color-success)}.sky-alert.sky-alert-success:before{content:\"\\f00c\"}.sky-alert.sky-alert-warning{background-color:var(--sky-background-color-warning);border-color:var(--sky-highlight-color-warning)}.sky-alert.sky-alert-warning:before{content:\"\\f071\"}.sky-alert.sky-alert-danger{background-color:var(--sky-background-color-danger);border-color:var(--sky-highlight-color-danger)}.sky-alert.sky-alert-danger:before{content:\"\\f071\"}.sky-alert-close{cursor:pointer;font-weight:700;line-height:1;margin:0;padding:0;color:var(--sky-text-color-default);opacity:var(--sky-alert-close-btn-opacity);border:none;border-radius:var(--sky-alert-close-btn-border-radius);background-color:transparent;display:none;flex-shrink:0}.sky-alert-close:hover{opacity:1;border:var(--sky-alert-close-btn-focus-border)}.sky-alert-close:focus-visible{border:var(--sky-background-color-primary-dark) solid 2px;outline:none}.sky-alert-close:active{border:var(--sky-alert-close-btn-active-border)}.sky-alert-close:focus-visible:not(:active){box-shadow:var(--sky-alert-close-btn-focus-box-shadow)}.sky-alert-closeable .sky-alert-close{display:block}.sky-alert-icon-theme-default{display:var(--sky-alert-icon-default-display)}.sky-alert-icon-theme-modern{display:var(--sky-alert-icon-modern-display)}.sky-alert-close-icon-theme-default{display:var(--sky-alert-icon-default-display)}.sky-alert-close-icon-theme-modern{display:var(--sky-alert-close-icon-modern-display)}.sky-alert-info .sky-alert-icon-theme-modern{color:var(--sky-highlight-color-info)}.sky-alert-success .sky-alert-icon-theme-modern{color:var(--sky-highlight-color-success)}.sky-alert-warning .sky-alert-icon-theme-modern{color:var(--sky-highlight-color-warning)}.sky-alert-danger .sky-alert-icon-theme-modern{color:var(--sky-highlight-color-danger)}\n"] }]
399
394
  }], propDecorators: { alertType: [{
@@ -411,19 +406,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
411
406
  }] } });
412
407
 
413
408
  class SkyAlertModule {
409
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
410
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyAlertModule, declarations: [SkyAlertComponent], imports: [CommonModule,
411
+ SkyI18nModule,
412
+ SkyIconModule,
413
+ SkyIndicatorsResourcesModule,
414
+ SkyThemeModule], exports: [SkyAlertComponent] }); }
415
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyAlertModule, imports: [CommonModule,
416
+ SkyI18nModule,
417
+ SkyIconModule,
418
+ SkyIndicatorsResourcesModule,
419
+ SkyThemeModule] }); }
414
420
  }
415
- SkyAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
416
- SkyAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyAlertModule, declarations: [SkyAlertComponent], imports: [CommonModule,
417
- SkyI18nModule,
418
- SkyIconModule,
419
- SkyIndicatorsResourcesModule,
420
- SkyThemeModule], exports: [SkyAlertComponent] });
421
- SkyAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyAlertModule, imports: [CommonModule,
422
- SkyI18nModule,
423
- SkyIconModule,
424
- SkyIndicatorsResourcesModule,
425
- SkyThemeModule] });
426
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyAlertModule, decorators: [{
421
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyAlertModule, decorators: [{
427
422
  type: NgModule,
428
423
  args: [{
429
424
  declarations: [SkyAlertComponent],
@@ -455,10 +450,10 @@ class SkyExpansionIndicatorComponent {
455
450
  this.directionOrDefault = value ? value : 'up';
456
451
  }
457
452
  }
453
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyExpansionIndicatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
454
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: SkyExpansionIndicatorComponent, selector: "sky-expansion-indicator", inputs: { direction: "direction" }, ngImport: i0, template: "<div\n aria-hidden=\"true\"\n class=\"sky-expansion-indicator\"\n [ngClass]=\"['sky-expansion-indicator-' + directionOrDefault]\"\n>\n <ng-container *skyThemeIf=\"'default'\">\n <ng-container *ngTemplateOutlet=\"icon\"></ng-container>\n </ng-container>\n <ng-container *skyThemeIf=\"'modern'\">\n <span class=\"sky-expansion-indicator-glyph-container\">\n <ng-container *ngTemplateOutlet=\"icon\"></ng-container>\n </span>\n </ng-container>\n</div>\n\n<ng-template #icon>\n <i class=\"sky-expansion-indicator-part sky-expansion-indicator-left\"> </i>\n <i class=\"sky-expansion-indicator-part sky-expansion-indicator-right\"> </i>\n</ng-template>\n", styles: [".sky-expansion-indicator{display:inline-block;border:none;background-color:transparent;flex-shrink:0;height:24px;margin:0;overflow:hidden;width:24px;position:relative;vertical-align:top}.sky-expansion-indicator-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-expansion-indicator-up .sky-expansion-indicator-left{left:7px;transform:rotate(-45deg)}.sky-expansion-indicator-up .sky-expansion-indicator-right{left:7px;transform:rotate(45deg)}.sky-expansion-indicator-down .sky-expansion-indicator-left{left:2px;transform:rotate(45deg)}.sky-expansion-indicator-down .sky-expansion-indicator-right{left:12px;transform:rotate(-45deg)}:host-context(.sky-theme-modern) .sky-expansion-indicator{height:26px;width:26px}:host-context(.sky-theme-modern) .sky-expansion-indicator-part{background:#686c73;border:none;height:2px;width:11px;top:13px}:host-context(.sky-theme-modern) .sky-expansion-indicator-glyph-container{transform:scale(.68);display:inline-block;position:absolute;top:3.5px;left:4px}:host-context(.sky-theme-modern) .sky-expansion-indicator-left{border-radius:1px 0 0 1px}:host-context(.sky-theme-modern) .sky-expansion-indicator-right{border-radius:0 1px 1px 0}:host-context(.sky-theme-modern) .sky-expansion-indicator-left{left:4px}:host-context(.sky-theme-modern) .sky-expansion-indicator-right{left:10.5px}.sky-theme-modern .sky-expansion-indicator{height:26px;width:26px}.sky-theme-modern .sky-expansion-indicator-part{background:#686c73;border:none;height:2px;width:11px;top:13px}.sky-theme-modern .sky-expansion-indicator-glyph-container{transform:scale(.68);display:inline-block;position:absolute;top:3.5px;left:4px}.sky-theme-modern .sky-expansion-indicator-left{border-radius:1px 0 0 1px}.sky-theme-modern .sky-expansion-indicator-right{border-radius:0 1px 1px 0}.sky-theme-modern .sky-expansion-indicator-left{left:4px}.sky-theme-modern .sky-expansion-indicator-right{left:10.5px}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.λ3, selector: "[skyThemeIf]", inputs: ["skyThemeIf"] }] }); }
458
455
  }
459
- SkyExpansionIndicatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyExpansionIndicatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
460
- SkyExpansionIndicatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyExpansionIndicatorComponent, selector: "sky-expansion-indicator", inputs: { direction: "direction" }, ngImport: i0, template: "<div\n aria-hidden=\"true\"\n class=\"sky-expansion-indicator\"\n [ngClass]=\"['sky-expansion-indicator-' + directionOrDefault]\"\n>\n <ng-container *skyThemeIf=\"'default'\">\n <ng-container *ngTemplateOutlet=\"icon\"></ng-container>\n </ng-container>\n <ng-container *skyThemeIf=\"'modern'\">\n <span class=\"sky-expansion-indicator-glyph-container\">\n <ng-container *ngTemplateOutlet=\"icon\"></ng-container>\n </span>\n </ng-container>\n</div>\n\n<ng-template #icon>\n <i class=\"sky-expansion-indicator-part sky-expansion-indicator-left\"> </i>\n <i class=\"sky-expansion-indicator-part sky-expansion-indicator-right\"> </i>\n</ng-template>\n", styles: [".sky-expansion-indicator{display:inline-block;border:none;background-color:transparent;flex-shrink:0;height:24px;margin:0;overflow:hidden;width:24px;position:relative;vertical-align:top}.sky-expansion-indicator-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-expansion-indicator-up .sky-expansion-indicator-left{left:7px;transform:rotate(-45deg)}.sky-expansion-indicator-up .sky-expansion-indicator-right{left:7px;transform:rotate(45deg)}.sky-expansion-indicator-down .sky-expansion-indicator-left{left:2px;transform:rotate(45deg)}.sky-expansion-indicator-down .sky-expansion-indicator-right{left:12px;transform:rotate(-45deg)}:host-context(.sky-theme-modern) .sky-expansion-indicator{height:26px;width:26px}:host-context(.sky-theme-modern) .sky-expansion-indicator-part{background:#686c73;border:none;height:2px;width:11px;top:13px}:host-context(.sky-theme-modern) .sky-expansion-indicator-glyph-container{transform:scale(.68);display:inline-block;position:absolute;top:3.5px;left:4px}:host-context(.sky-theme-modern) .sky-expansion-indicator-left{border-radius:1px 0 0 1px}:host-context(.sky-theme-modern) .sky-expansion-indicator-right{border-radius:0 1px 1px 0}:host-context(.sky-theme-modern) .sky-expansion-indicator-left{left:4px}:host-context(.sky-theme-modern) .sky-expansion-indicator-right{left:10.5px}.sky-theme-modern .sky-expansion-indicator{height:26px;width:26px}.sky-theme-modern .sky-expansion-indicator-part{background:#686c73;border:none;height:2px;width:11px;top:13px}.sky-theme-modern .sky-expansion-indicator-glyph-container{transform:scale(.68);display:inline-block;position:absolute;top:3.5px;left:4px}.sky-theme-modern .sky-expansion-indicator-left{border-radius:1px 0 0 1px}.sky-theme-modern .sky-expansion-indicator-right{border-radius:0 1px 1px 0}.sky-theme-modern .sky-expansion-indicator-left{left:4px}.sky-theme-modern .sky-expansion-indicator-right{left:10.5px}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.λ3, selector: "[skyThemeIf]", inputs: ["skyThemeIf"] }] });
461
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyExpansionIndicatorComponent, decorators: [{
456
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyExpansionIndicatorComponent, decorators: [{
462
457
  type: Component,
463
458
  args: [{ selector: 'sky-expansion-indicator', template: "<div\n aria-hidden=\"true\"\n class=\"sky-expansion-indicator\"\n [ngClass]=\"['sky-expansion-indicator-' + directionOrDefault]\"\n>\n <ng-container *skyThemeIf=\"'default'\">\n <ng-container *ngTemplateOutlet=\"icon\"></ng-container>\n </ng-container>\n <ng-container *skyThemeIf=\"'modern'\">\n <span class=\"sky-expansion-indicator-glyph-container\">\n <ng-container *ngTemplateOutlet=\"icon\"></ng-container>\n </span>\n </ng-container>\n</div>\n\n<ng-template #icon>\n <i class=\"sky-expansion-indicator-part sky-expansion-indicator-left\"> </i>\n <i class=\"sky-expansion-indicator-part sky-expansion-indicator-right\"> </i>\n</ng-template>\n", styles: [".sky-expansion-indicator{display:inline-block;border:none;background-color:transparent;flex-shrink:0;height:24px;margin:0;overflow:hidden;width:24px;position:relative;vertical-align:top}.sky-expansion-indicator-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-expansion-indicator-up .sky-expansion-indicator-left{left:7px;transform:rotate(-45deg)}.sky-expansion-indicator-up .sky-expansion-indicator-right{left:7px;transform:rotate(45deg)}.sky-expansion-indicator-down .sky-expansion-indicator-left{left:2px;transform:rotate(45deg)}.sky-expansion-indicator-down .sky-expansion-indicator-right{left:12px;transform:rotate(-45deg)}:host-context(.sky-theme-modern) .sky-expansion-indicator{height:26px;width:26px}:host-context(.sky-theme-modern) .sky-expansion-indicator-part{background:#686c73;border:none;height:2px;width:11px;top:13px}:host-context(.sky-theme-modern) .sky-expansion-indicator-glyph-container{transform:scale(.68);display:inline-block;position:absolute;top:3.5px;left:4px}:host-context(.sky-theme-modern) .sky-expansion-indicator-left{border-radius:1px 0 0 1px}:host-context(.sky-theme-modern) .sky-expansion-indicator-right{border-radius:0 1px 1px 0}:host-context(.sky-theme-modern) .sky-expansion-indicator-left{left:4px}:host-context(.sky-theme-modern) .sky-expansion-indicator-right{left:10.5px}.sky-theme-modern .sky-expansion-indicator{height:26px;width:26px}.sky-theme-modern .sky-expansion-indicator-part{background:#686c73;border:none;height:2px;width:11px;top:13px}.sky-theme-modern .sky-expansion-indicator-glyph-container{transform:scale(.68);display:inline-block;position:absolute;top:3.5px;left:4px}.sky-theme-modern .sky-expansion-indicator-left{border-radius:1px 0 0 1px}.sky-theme-modern .sky-expansion-indicator-right{border-radius:0 1px 1px 0}.sky-theme-modern .sky-expansion-indicator-left{left:4px}.sky-theme-modern .sky-expansion-indicator-right{left:10.5px}\n"] }]
464
459
  }], propDecorators: { direction: [{
@@ -466,11 +461,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
466
461
  }] } });
467
462
 
468
463
  class SkyExpansionIndicatorModule {
464
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyExpansionIndicatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
465
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyExpansionIndicatorModule, declarations: [SkyExpansionIndicatorComponent], imports: [CommonModule, SkyThemeModule], exports: [SkyExpansionIndicatorComponent] }); }
466
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyExpansionIndicatorModule, imports: [CommonModule, SkyThemeModule] }); }
469
467
  }
470
- SkyExpansionIndicatorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyExpansionIndicatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
471
- SkyExpansionIndicatorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyExpansionIndicatorModule, declarations: [SkyExpansionIndicatorComponent], imports: [CommonModule, SkyThemeModule], exports: [SkyExpansionIndicatorComponent] });
472
- SkyExpansionIndicatorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyExpansionIndicatorModule, imports: [CommonModule, SkyThemeModule] });
473
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyExpansionIndicatorModule, decorators: [{
468
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyExpansionIndicatorModule, decorators: [{
474
469
  type: NgModule,
475
470
  args: [{
476
471
  declarations: [SkyExpansionIndicatorComponent],
@@ -533,10 +528,10 @@ class SkyChevronComponent {
533
528
  }
534
529
  }
535
530
  }
531
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyChevronComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
532
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: SkyChevronComponent, selector: "sky-chevron", inputs: { ariaControls: "ariaControls", ariaLabel: "ariaLabel", direction: "direction", disabled: "disabled" }, outputs: { directionChange: "directionChange" }, ngImport: i0, template: "<button\n class=\"sky-chevron\"\n type=\"button\"\n [attr.aria-controls]=\"ariaControls\"\n [attr.aria-expanded]=\"ariaExpanded\"\n [attr.aria-label]=\"ariaLabel\"\n [disabled]=\"disabled\"\n [ngClass]=\"['sky-chevron-' + directionOrDefault]\"\n [skyThemeClass]=\"{\n 'sky-btn sky-btn-icon-borderless': 'modern'\n }\"\n (click)=\"chevronClick($event)\"\n (keydown)=\"chevronKeyDown($event)\"\n>\n <sky-expansion-indicator\n [direction]=\"directionOrDefault\"\n ></sky-expansion-indicator>\n</button>\n", styles: ["button{background:lightblue}.sky-chevron{border:none;background-color:transparent;flex-shrink:0;height:24px;margin:0;padding:0;overflow:hidden;width:24px;cursor:pointer;position:relative;vertical-align:top}.sky-chevron:hover .sky-chevron-part{border-color:#979ba2}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { kind: "component", type: SkyExpansionIndicatorComponent, selector: "sky-expansion-indicator", inputs: ["direction"] }] }); }
536
533
  }
537
- SkyChevronComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyChevronComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
538
- SkyChevronComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyChevronComponent, selector: "sky-chevron", inputs: { ariaControls: "ariaControls", ariaLabel: "ariaLabel", direction: "direction", disabled: "disabled" }, outputs: { directionChange: "directionChange" }, ngImport: i0, template: "<button\n class=\"sky-chevron\"\n type=\"button\"\n [attr.aria-controls]=\"ariaControls\"\n [attr.aria-expanded]=\"ariaExpanded\"\n [attr.aria-label]=\"ariaLabel\"\n [disabled]=\"disabled\"\n [ngClass]=\"['sky-chevron-' + directionOrDefault]\"\n [skyThemeClass]=\"{\n 'sky-btn sky-btn-icon-borderless': 'modern'\n }\"\n (click)=\"chevronClick($event)\"\n (keydown)=\"chevronKeyDown($event)\"\n>\n <sky-expansion-indicator\n [direction]=\"directionOrDefault\"\n ></sky-expansion-indicator>\n</button>\n", styles: ["button{background:lightblue}.sky-chevron{border:none;background-color:transparent;flex-shrink:0;height:24px;margin:0;padding:0;overflow:hidden;width:24px;cursor:pointer;position:relative;vertical-align:top}.sky-chevron:hover .sky-chevron-part{border-color:#979ba2}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { kind: "component", type: SkyExpansionIndicatorComponent, selector: "sky-expansion-indicator", inputs: ["direction"] }] });
539
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyChevronComponent, decorators: [{
534
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyChevronComponent, decorators: [{
540
535
  type: Component,
541
536
  args: [{ selector: 'sky-chevron', template: "<button\n class=\"sky-chevron\"\n type=\"button\"\n [attr.aria-controls]=\"ariaControls\"\n [attr.aria-expanded]=\"ariaExpanded\"\n [attr.aria-label]=\"ariaLabel\"\n [disabled]=\"disabled\"\n [ngClass]=\"['sky-chevron-' + directionOrDefault]\"\n [skyThemeClass]=\"{\n 'sky-btn sky-btn-icon-borderless': 'modern'\n }\"\n (click)=\"chevronClick($event)\"\n (keydown)=\"chevronKeyDown($event)\"\n>\n <sky-expansion-indicator\n [direction]=\"directionOrDefault\"\n ></sky-expansion-indicator>\n</button>\n", styles: ["button{background:lightblue}.sky-chevron{border:none;background-color:transparent;flex-shrink:0;height:24px;margin:0;padding:0;overflow:hidden;width:24px;cursor:pointer;position:relative;vertical-align:top}.sky-chevron:hover .sky-chevron-part{border-color:#979ba2}\n"] }]
542
537
  }], propDecorators: { ariaControls: [{
@@ -552,19 +547,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
552
547
  }] } });
553
548
 
554
549
  class SkyChevronModule {
550
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyChevronModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
551
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyChevronModule, declarations: [SkyChevronComponent], imports: [CommonModule,
552
+ SkyI18nModule,
553
+ SkyIndicatorsResourcesModule,
554
+ SkyThemeModule,
555
+ SkyExpansionIndicatorModule], exports: [SkyChevronComponent] }); }
556
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyChevronModule, imports: [CommonModule,
557
+ SkyI18nModule,
558
+ SkyIndicatorsResourcesModule,
559
+ SkyThemeModule,
560
+ SkyExpansionIndicatorModule] }); }
555
561
  }
556
- SkyChevronModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyChevronModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
557
- SkyChevronModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyChevronModule, declarations: [SkyChevronComponent], imports: [CommonModule,
558
- SkyI18nModule,
559
- SkyIndicatorsResourcesModule,
560
- SkyThemeModule,
561
- SkyExpansionIndicatorModule], exports: [SkyChevronComponent] });
562
- SkyChevronModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyChevronModule, imports: [CommonModule,
563
- SkyI18nModule,
564
- SkyIndicatorsResourcesModule,
565
- SkyThemeModule,
566
- SkyExpansionIndicatorModule] });
567
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyChevronModule, decorators: [{
562
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyChevronModule, decorators: [{
568
563
  type: NgModule,
569
564
  args: [{
570
565
  declarations: [SkyChevronComponent],
@@ -583,10 +578,10 @@ class SkyHelpInlineAriaExpandedPipe {
583
578
  transform(ariaExpanded, ariaControls) {
584
579
  return ariaControls ? !!ariaExpanded : null;
585
580
  }
581
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyHelpInlineAriaExpandedPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
582
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyHelpInlineAriaExpandedPipe, name: "skyHelpInlineAriaExpanded" }); }
586
583
  }
587
- SkyHelpInlineAriaExpandedPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyHelpInlineAriaExpandedPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
588
- SkyHelpInlineAriaExpandedPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyHelpInlineAriaExpandedPipe, name: "skyHelpInlineAriaExpanded" });
589
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyHelpInlineAriaExpandedPipe, decorators: [{
584
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyHelpInlineAriaExpandedPipe, decorators: [{
590
585
  type: Pipe,
591
586
  args: [{
592
587
  name: 'skyHelpInlineAriaExpanded',
@@ -603,10 +598,10 @@ class SkyHelpInlineComponent {
603
598
  onClick() {
604
599
  this.actionClick.emit();
605
600
  }
601
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyHelpInlineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
602
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: SkyHelpInlineComponent, selector: "sky-help-inline", inputs: { ariaControls: "ariaControls", ariaExpanded: "ariaExpanded", ariaLabel: "ariaLabel" }, outputs: { actionClick: "actionClick" }, ngImport: i0, template: "<button\n class=\"sky-help-inline\"\n type=\"button\"\n [attr.aria-label]=\"\n ariaLabel || 'skyux_help_inline_button_title' | skyLibResources\n \"\n [attr.aria-controls]=\"ariaControls\"\n [attr.aria-expanded]=\"ariaExpanded | skyHelpInlineAriaExpanded : ariaControls\"\n (click)=\"onClick()\"\n>\n <sky-icon *skyThemeIf=\"'default'\" icon=\"info-circle\"> </sky-icon>\n <sky-icon-stack\n *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{border-radius:3px;border:none;box-shadow:inset 0 0 0 1px transparent;background-color:transparent;color:#1870b8;padding:1px 6px}: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}:host-context(.sky-theme-modern) .sky-help-inline:hover{border:none;box-shadow:inset 0 0 0 1px #1870b8;text-decoration:none}:host-context(.sky-theme-modern) .sky-help-inline:hover,:host-context(.sky-theme-modern) .sky-help-inline:active,:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-active{color:#1870b8}:host-context(.sky-theme-modern) .sky-help-inline:active,:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-active{border:none;box-shadow:inset 0 0 0 2px #1870b8;background-image:none}:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-disabled,:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-disabled:hover,:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-disabled:focus-visible,:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-disabled.sky-btn-focus,:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-disabled:active,:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-disabled.sky-btn-active,:host-context(.sky-theme-modern) .sky-help-inline[disabled],:host-context(.sky-theme-modern) .sky-help-inline[disabled]:hover,:host-context(.sky-theme-modern) .sky-help-inline[disabled]:focus-visible,:host-context(.sky-theme-modern) .sky-help-inline[disabled].sky-btn-focus,:host-context(.sky-theme-modern) .sky-help-inline[disabled]:active,:host-context(.sky-theme-modern) .sky-help-inline[disabled].sky-btn-active{border:none;box-shadow:inset 0 0 0 1px #d2d2d2;background-color:#ededee;color:#686c73;opacity:1}:host-context(.sky-theme-modern) .sky-help-inline:focus-visible{outline:none}:host-context(.sky-theme-modern) .sky-help-inline:focus-visible:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 8px #0000004d}.sky-theme-modern .sky-help-inline{border-radius:3px;border:none;box-shadow:inset 0 0 0 1px transparent;background-color:transparent;color:#1870b8;padding:1px 6px}.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}.sky-theme-modern .sky-help-inline:hover{border:none;box-shadow:inset 0 0 0 1px #1870b8;text-decoration:none}.sky-theme-modern .sky-help-inline:hover,.sky-theme-modern .sky-help-inline:active,.sky-theme-modern .sky-help-inline.sky-btn-active{color:#1870b8}.sky-theme-modern .sky-help-inline:active,.sky-theme-modern .sky-help-inline.sky-btn-active{border:none;box-shadow:inset 0 0 0 2px #1870b8;background-image:none}.sky-theme-modern .sky-help-inline.sky-btn-disabled,.sky-theme-modern .sky-help-inline.sky-btn-disabled:hover,.sky-theme-modern .sky-help-inline.sky-btn-disabled:focus-visible,.sky-theme-modern .sky-help-inline.sky-btn-disabled.sky-btn-focus,.sky-theme-modern .sky-help-inline.sky-btn-disabled:active,.sky-theme-modern .sky-help-inline.sky-btn-disabled.sky-btn-active,.sky-theme-modern .sky-help-inline[disabled],.sky-theme-modern .sky-help-inline[disabled]:hover,.sky-theme-modern .sky-help-inline[disabled]:focus-visible,.sky-theme-modern .sky-help-inline[disabled].sky-btn-focus,.sky-theme-modern .sky-help-inline[disabled]:active,.sky-theme-modern .sky-help-inline[disabled].sky-btn-active{border:none;box-shadow:inset 0 0 0 1px #d2d2d2;background-color:#ededee;color:#686c73;opacity:1}.sky-theme-modern .sky-help-inline:focus-visible{outline:none}.sky-theme-modern .sky-help-inline:focus-visible:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 8px #0000004d}\n"], dependencies: [{ kind: "component", type: SkyIconComponent, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { kind: "component", type: SkyIconStackComponent, selector: "sky-icon-stack", inputs: ["size", "baseIcon", "topIcon"] }, { kind: "directive", type: i2.λ3, selector: "[skyThemeIf]", inputs: ["skyThemeIf"] }, { kind: "pipe", type: i5.SkyLibResourcesPipe, name: "skyLibResources" }, { kind: "pipe", type: SkyHelpInlineAriaExpandedPipe, name: "skyHelpInlineAriaExpanded" }] }); }
606
603
  }
607
- SkyHelpInlineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyHelpInlineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
608
- SkyHelpInlineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyHelpInlineComponent, selector: "sky-help-inline", inputs: { ariaControls: "ariaControls", ariaExpanded: "ariaExpanded", ariaLabel: "ariaLabel" }, outputs: { actionClick: "actionClick" }, ngImport: i0, template: "<button\n class=\"sky-help-inline\"\n type=\"button\"\n [attr.aria-label]=\"\n ariaLabel || 'skyux_help_inline_button_title' | skyLibResources\n \"\n [attr.aria-controls]=\"ariaControls\"\n [attr.aria-expanded]=\"ariaExpanded | skyHelpInlineAriaExpanded : ariaControls\"\n (click)=\"onClick()\"\n>\n <sky-icon *skyThemeIf=\"'default'\" icon=\"info-circle\"> </sky-icon>\n <sky-icon-stack\n *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{border-radius:3px;border:none;box-shadow:inset 0 0 0 1px transparent;background-color:transparent;color:#1870b8;padding:1px 6px}: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}:host-context(.sky-theme-modern) .sky-help-inline:hover{border:none;box-shadow:inset 0 0 0 1px #1870b8;text-decoration:none}:host-context(.sky-theme-modern) .sky-help-inline:hover,:host-context(.sky-theme-modern) .sky-help-inline:active,:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-active{color:#1870b8}:host-context(.sky-theme-modern) .sky-help-inline:active,:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-active{border:none;box-shadow:inset 0 0 0 2px #1870b8;background-image:none}:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-disabled,:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-disabled:hover,:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-disabled:focus-visible,:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-disabled.sky-btn-focus,:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-disabled:active,:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-disabled.sky-btn-active,:host-context(.sky-theme-modern) .sky-help-inline[disabled],:host-context(.sky-theme-modern) .sky-help-inline[disabled]:hover,:host-context(.sky-theme-modern) .sky-help-inline[disabled]:focus-visible,:host-context(.sky-theme-modern) .sky-help-inline[disabled].sky-btn-focus,:host-context(.sky-theme-modern) .sky-help-inline[disabled]:active,:host-context(.sky-theme-modern) .sky-help-inline[disabled].sky-btn-active{border:none;box-shadow:inset 0 0 0 1px #d2d2d2;background-color:#ededee;color:#686c73;opacity:1}:host-context(.sky-theme-modern) .sky-help-inline:focus-visible{outline:none}:host-context(.sky-theme-modern) .sky-help-inline:focus-visible:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 8px #0000004d}.sky-theme-modern .sky-help-inline{border-radius:3px;border:none;box-shadow:inset 0 0 0 1px transparent;background-color:transparent;color:#1870b8;padding:1px 6px}.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}.sky-theme-modern .sky-help-inline:hover{border:none;box-shadow:inset 0 0 0 1px #1870b8;text-decoration:none}.sky-theme-modern .sky-help-inline:hover,.sky-theme-modern .sky-help-inline:active,.sky-theme-modern .sky-help-inline.sky-btn-active{color:#1870b8}.sky-theme-modern .sky-help-inline:active,.sky-theme-modern .sky-help-inline.sky-btn-active{border:none;box-shadow:inset 0 0 0 2px #1870b8;background-image:none}.sky-theme-modern .sky-help-inline.sky-btn-disabled,.sky-theme-modern .sky-help-inline.sky-btn-disabled:hover,.sky-theme-modern .sky-help-inline.sky-btn-disabled:focus-visible,.sky-theme-modern .sky-help-inline.sky-btn-disabled.sky-btn-focus,.sky-theme-modern .sky-help-inline.sky-btn-disabled:active,.sky-theme-modern .sky-help-inline.sky-btn-disabled.sky-btn-active,.sky-theme-modern .sky-help-inline[disabled],.sky-theme-modern .sky-help-inline[disabled]:hover,.sky-theme-modern .sky-help-inline[disabled]:focus-visible,.sky-theme-modern .sky-help-inline[disabled].sky-btn-focus,.sky-theme-modern .sky-help-inline[disabled]:active,.sky-theme-modern .sky-help-inline[disabled].sky-btn-active{border:none;box-shadow:inset 0 0 0 1px #d2d2d2;background-color:#ededee;color:#686c73;opacity:1}.sky-theme-modern .sky-help-inline:focus-visible{outline:none}.sky-theme-modern .sky-help-inline:focus-visible:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 8px #0000004d}\n"], dependencies: [{ kind: "component", type: SkyIconComponent, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { kind: "component", type: SkyIconStackComponent, selector: "sky-icon-stack", inputs: ["size", "baseIcon", "topIcon"] }, { kind: "directive", type: i2.λ3, selector: "[skyThemeIf]", inputs: ["skyThemeIf"] }, { kind: "pipe", type: i5.SkyLibResourcesPipe, name: "skyLibResources" }, { kind: "pipe", type: SkyHelpInlineAriaExpandedPipe, name: "skyHelpInlineAriaExpanded" }] });
609
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyHelpInlineComponent, decorators: [{
604
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyHelpInlineComponent, decorators: [{
610
605
  type: Component,
611
606
  args: [{ selector: 'sky-help-inline', template: "<button\n class=\"sky-help-inline\"\n type=\"button\"\n [attr.aria-label]=\"\n ariaLabel || 'skyux_help_inline_button_title' | skyLibResources\n \"\n [attr.aria-controls]=\"ariaControls\"\n [attr.aria-expanded]=\"ariaExpanded | skyHelpInlineAriaExpanded : ariaControls\"\n (click)=\"onClick()\"\n>\n <sky-icon *skyThemeIf=\"'default'\" icon=\"info-circle\"> </sky-icon>\n <sky-icon-stack\n *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{border-radius:3px;border:none;box-shadow:inset 0 0 0 1px transparent;background-color:transparent;color:#1870b8;padding:1px 6px}: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}:host-context(.sky-theme-modern) .sky-help-inline:hover{border:none;box-shadow:inset 0 0 0 1px #1870b8;text-decoration:none}:host-context(.sky-theme-modern) .sky-help-inline:hover,:host-context(.sky-theme-modern) .sky-help-inline:active,:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-active{color:#1870b8}:host-context(.sky-theme-modern) .sky-help-inline:active,:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-active{border:none;box-shadow:inset 0 0 0 2px #1870b8;background-image:none}:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-disabled,:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-disabled:hover,:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-disabled:focus-visible,:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-disabled.sky-btn-focus,:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-disabled:active,:host-context(.sky-theme-modern) .sky-help-inline.sky-btn-disabled.sky-btn-active,:host-context(.sky-theme-modern) .sky-help-inline[disabled],:host-context(.sky-theme-modern) .sky-help-inline[disabled]:hover,:host-context(.sky-theme-modern) .sky-help-inline[disabled]:focus-visible,:host-context(.sky-theme-modern) .sky-help-inline[disabled].sky-btn-focus,:host-context(.sky-theme-modern) .sky-help-inline[disabled]:active,:host-context(.sky-theme-modern) .sky-help-inline[disabled].sky-btn-active{border:none;box-shadow:inset 0 0 0 1px #d2d2d2;background-color:#ededee;color:#686c73;opacity:1}:host-context(.sky-theme-modern) .sky-help-inline:focus-visible{outline:none}:host-context(.sky-theme-modern) .sky-help-inline:focus-visible:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 8px #0000004d}.sky-theme-modern .sky-help-inline{border-radius:3px;border:none;box-shadow:inset 0 0 0 1px transparent;background-color:transparent;color:#1870b8;padding:1px 6px}.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}.sky-theme-modern .sky-help-inline:hover{border:none;box-shadow:inset 0 0 0 1px #1870b8;text-decoration:none}.sky-theme-modern .sky-help-inline:hover,.sky-theme-modern .sky-help-inline:active,.sky-theme-modern .sky-help-inline.sky-btn-active{color:#1870b8}.sky-theme-modern .sky-help-inline:active,.sky-theme-modern .sky-help-inline.sky-btn-active{border:none;box-shadow:inset 0 0 0 2px #1870b8;background-image:none}.sky-theme-modern .sky-help-inline.sky-btn-disabled,.sky-theme-modern .sky-help-inline.sky-btn-disabled:hover,.sky-theme-modern .sky-help-inline.sky-btn-disabled:focus-visible,.sky-theme-modern .sky-help-inline.sky-btn-disabled.sky-btn-focus,.sky-theme-modern .sky-help-inline.sky-btn-disabled:active,.sky-theme-modern .sky-help-inline.sky-btn-disabled.sky-btn-active,.sky-theme-modern .sky-help-inline[disabled],.sky-theme-modern .sky-help-inline[disabled]:hover,.sky-theme-modern .sky-help-inline[disabled]:focus-visible,.sky-theme-modern .sky-help-inline[disabled].sky-btn-focus,.sky-theme-modern .sky-help-inline[disabled]:active,.sky-theme-modern .sky-help-inline[disabled].sky-btn-active{border:none;box-shadow:inset 0 0 0 1px #d2d2d2;background-color:#ededee;color:#686c73;opacity:1}.sky-theme-modern .sky-help-inline:focus-visible{outline:none}.sky-theme-modern .sky-help-inline:focus-visible:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 8px #0000004d}\n"] }]
612
607
  }], propDecorators: { ariaControls: [{
@@ -620,19 +615,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
620
615
  }] } });
621
616
 
622
617
  class SkyHelpInlineModule {
618
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyHelpInlineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
619
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyHelpInlineModule, declarations: [SkyHelpInlineComponent, SkyHelpInlineAriaExpandedPipe], imports: [CommonModule,
620
+ SkyI18nModule,
621
+ SkyIconModule,
622
+ SkyIndicatorsResourcesModule,
623
+ SkyThemeModule], exports: [SkyHelpInlineComponent] }); }
624
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyHelpInlineModule, imports: [CommonModule,
625
+ SkyI18nModule,
626
+ SkyIconModule,
627
+ SkyIndicatorsResourcesModule,
628
+ SkyThemeModule] }); }
623
629
  }
624
- SkyHelpInlineModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyHelpInlineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
625
- SkyHelpInlineModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyHelpInlineModule, declarations: [SkyHelpInlineComponent, SkyHelpInlineAriaExpandedPipe], imports: [CommonModule,
626
- SkyI18nModule,
627
- SkyIconModule,
628
- SkyIndicatorsResourcesModule,
629
- SkyThemeModule], exports: [SkyHelpInlineComponent] });
630
- SkyHelpInlineModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyHelpInlineModule, imports: [CommonModule,
631
- SkyI18nModule,
632
- SkyIconModule,
633
- SkyIndicatorsResourcesModule,
634
- SkyThemeModule] });
635
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyHelpInlineModule, decorators: [{
630
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyHelpInlineModule, decorators: [{
636
631
  type: NgModule,
637
632
  args: [{
638
633
  declarations: [SkyHelpInlineComponent, SkyHelpInlineAriaExpandedPipe],
@@ -654,10 +649,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
654
649
  * @required
655
650
  */
656
651
  class SkyKeyInfoLabelComponent {
652
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyKeyInfoLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
653
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: SkyKeyInfoLabelComponent, selector: "sky-key-info-label", ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
657
654
  }
658
- SkyKeyInfoLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyKeyInfoLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
659
- SkyKeyInfoLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyKeyInfoLabelComponent, selector: "sky-key-info-label", ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
660
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyKeyInfoLabelComponent, decorators: [{
655
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyKeyInfoLabelComponent, decorators: [{
661
656
  type: Component,
662
657
  args: [{
663
658
  selector: 'sky-key-info-label',
@@ -670,10 +665,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
670
665
  * @required
671
666
  */
672
667
  class SkyKeyInfoValueComponent {
668
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyKeyInfoValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
669
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: SkyKeyInfoValueComponent, selector: "sky-key-info-value", ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
673
670
  }
674
- SkyKeyInfoValueComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyKeyInfoValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
675
- SkyKeyInfoValueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyKeyInfoValueComponent, selector: "sky-key-info-value", ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
676
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyKeyInfoValueComponent, decorators: [{
671
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyKeyInfoValueComponent, decorators: [{
677
672
  type: Component,
678
673
  args: [{
679
674
  selector: 'sky-key-info-value',
@@ -690,10 +685,10 @@ class SkyKeyInfoComponent {
690
685
  */
691
686
  this.layout = 'vertical';
692
687
  }
688
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyKeyInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
689
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.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 class=\"sky-key-info-value sky-font-display-3\">\n <ng-content select=\"sky-key-info-value\"> </ng-content>\n </div>\n <div class=\"sky-key-info-label sky-field-label sky-font-data-label\">\n <span skyTrim><ng-content select=\"sky-key-info-label\"></ng-content></span\n ><span class=\"sky-control-help-container\"\n ><ng-content select=\".sky-control-help\"></ng-content\n ></span>\n </div>\n</div>\n", styles: [".sky-key-info,.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 var(--sky-margin-inline-xs)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.λ4, selector: "[skyTrim]" }] }); }
693
690
  }
694
- SkyKeyInfoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyKeyInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
695
- SkyKeyInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", 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 class=\"sky-key-info-value sky-font-display-3\">\n <ng-content select=\"sky-key-info-value\"> </ng-content>\n </div>\n <div class=\"sky-key-info-label sky-field-label sky-font-data-label\">\n <span skyTrim><ng-content select=\"sky-key-info-label\"></ng-content></span\n ><span class=\"sky-control-help-container\"\n ><ng-content select=\".sky-control-help\"></ng-content\n ></span>\n </div>\n</div>\n", styles: [".sky-key-info,.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 var(--sky-margin-inline-xs)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.λ4, selector: "[skyTrim]" }] });
696
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyKeyInfoComponent, decorators: [{
691
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyKeyInfoComponent, decorators: [{
697
692
  type: Component,
698
693
  args: [{ selector: 'sky-key-info', template: "<div\n class=\"sky-key-info\"\n [ngClass]=\"{\n 'sky-key-info-horizontal': layout === 'horizontal'\n }\"\n>\n <div class=\"sky-key-info-value sky-font-display-3\">\n <ng-content select=\"sky-key-info-value\"> </ng-content>\n </div>\n <div class=\"sky-key-info-label sky-field-label sky-font-data-label\">\n <span skyTrim><ng-content select=\"sky-key-info-label\"></ng-content></span\n ><span class=\"sky-control-help-container\"\n ><ng-content select=\".sky-control-help\"></ng-content\n ></span>\n </div>\n</div>\n", styles: [".sky-key-info,.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 var(--sky-margin-inline-xs)}\n"] }]
699
694
  }], propDecorators: { layout: [{
@@ -701,15 +696,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
701
696
  }] } });
702
697
 
703
698
  class SkyKeyInfoModule {
699
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyKeyInfoModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
700
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyKeyInfoModule, declarations: [SkyKeyInfoComponent,
701
+ SkyKeyInfoLabelComponent,
702
+ SkyKeyInfoValueComponent], imports: [CommonModule, SkyTrimModule], exports: [SkyKeyInfoComponent,
703
+ SkyKeyInfoLabelComponent,
704
+ SkyKeyInfoValueComponent] }); }
705
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyKeyInfoModule, imports: [CommonModule, SkyTrimModule] }); }
704
706
  }
705
- SkyKeyInfoModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyKeyInfoModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
706
- SkyKeyInfoModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyKeyInfoModule, declarations: [SkyKeyInfoComponent,
707
- SkyKeyInfoLabelComponent,
708
- SkyKeyInfoValueComponent], imports: [CommonModule, SkyTrimModule], exports: [SkyKeyInfoComponent,
709
- SkyKeyInfoLabelComponent,
710
- SkyKeyInfoValueComponent] });
711
- SkyKeyInfoModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyKeyInfoModule, imports: [CommonModule, SkyTrimModule] });
712
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyKeyInfoModule, decorators: [{
707
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyKeyInfoModule, decorators: [{
713
708
  type: NgModule,
714
709
  args: [{
715
710
  declarations: [
@@ -726,19 +721,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
726
721
  }]
727
722
  }] });
728
723
 
729
- var _SkyLabelComponent_instances, _SkyLabelComponent__descriptionType, _SkyLabelComponent__customDescription, _SkyLabelComponent_descriptionTypeResourceSubscription, _SkyLabelComponent_descriptionTypeWarned, _SkyLabelComponent_changeDetector, _SkyLabelComponent_resources, _SkyLabelComponent_logSvc, _SkyLabelComponent_updateIcon, _SkyLabelComponent_updateDescriptionComputed, _SkyLabelComponent_unsubscribe;
730
724
  const LABEL_TYPE_DEFAULT = 'info';
731
725
  class SkyLabelComponent {
732
726
  constructor() {
733
- _SkyLabelComponent_instances.add(this);
734
727
  this.labelTypeOrDefault = LABEL_TYPE_DEFAULT;
735
- _SkyLabelComponent__descriptionType.set(this, void 0);
736
- _SkyLabelComponent__customDescription.set(this, void 0);
737
- _SkyLabelComponent_descriptionTypeResourceSubscription.set(this, void 0);
738
- _SkyLabelComponent_descriptionTypeWarned.set(this, void 0);
739
- _SkyLabelComponent_changeDetector.set(this, inject(ChangeDetectorRef));
740
- _SkyLabelComponent_resources.set(this, inject(SkyLibResourcesService));
741
- _SkyLabelComponent_logSvc.set(this, inject(SkyLogService));
728
+ this.#changeDetector = inject(ChangeDetectorRef);
729
+ this.#resources = inject(SkyLibResourcesService);
730
+ this.#logSvc = inject(SkyLogService);
742
731
  }
743
732
  /**
744
733
  * The type of label to display.
@@ -746,83 +735,92 @@ class SkyLabelComponent {
746
735
  */
747
736
  set labelType(value) {
748
737
  this.labelTypeOrDefault = value === undefined ? LABEL_TYPE_DEFAULT : value;
749
- __classPrivateFieldGet(this, _SkyLabelComponent_instances, "m", _SkyLabelComponent_updateIcon).call(this);
738
+ this.#updateIcon();
750
739
  }
751
740
  /**
752
741
  * The predefined text to be read by screen readers for users who cannot see the indicator icon.
753
742
  * This property is optional but will be required in future versions of SKY UX.
754
743
  */
755
744
  set descriptionType(value) {
756
- __classPrivateFieldSet(this, _SkyLabelComponent__descriptionType, value, "f");
757
- __classPrivateFieldGet(this, _SkyLabelComponent_instances, "m", _SkyLabelComponent_updateDescriptionComputed).call(this);
745
+ this.#_descriptionType = value;
746
+ this.#updateDescriptionComputed();
758
747
  }
759
748
  get descriptionType() {
760
- return __classPrivateFieldGet(this, _SkyLabelComponent__descriptionType, "f");
749
+ return this.#_descriptionType;
761
750
  }
762
751
  /**
763
752
  * The text to be read by screen readers for users who cannot see
764
753
  * the indicator icon when `descriptionType` is `custom`.
765
754
  */
766
755
  set customDescription(value) {
767
- __classPrivateFieldSet(this, _SkyLabelComponent__customDescription, value, "f");
768
- __classPrivateFieldGet(this, _SkyLabelComponent_instances, "m", _SkyLabelComponent_updateDescriptionComputed).call(this);
756
+ this.#_customDescription = value;
757
+ this.#updateDescriptionComputed();
769
758
  }
770
759
  get customDescription() {
771
- return __classPrivateFieldGet(this, _SkyLabelComponent__customDescription, "f");
772
- }
760
+ return this.#_customDescription;
761
+ }
762
+ #_descriptionType;
763
+ #_customDescription;
764
+ #descriptionTypeResourceSubscription;
765
+ #descriptionTypeWarned;
766
+ #changeDetector;
767
+ #resources;
768
+ #logSvc;
773
769
  ngOnInit() {
774
- __classPrivateFieldGet(this, _SkyLabelComponent_instances, "m", _SkyLabelComponent_updateIcon).call(this);
770
+ this.#updateIcon();
775
771
  }
776
772
  ngAfterViewChecked() {
777
- if (!this.descriptionType && !__classPrivateFieldGet(this, _SkyLabelComponent_descriptionTypeWarned, "f")) {
778
- __classPrivateFieldGet(this, _SkyLabelComponent_logSvc, "f").deprecated('SkyLabelComponent without `descriptionType`', {
773
+ if (!this.descriptionType && !this.#descriptionTypeWarned) {
774
+ this.#logSvc.deprecated('SkyLabelComponent without `descriptionType`', {
779
775
  deprecationMajorVersion: 8,
780
776
  replacementRecommendation: 'Always specify a `descriptionType` property.',
781
777
  });
782
- __classPrivateFieldSet(this, _SkyLabelComponent_descriptionTypeWarned, true, "f");
778
+ this.#descriptionTypeWarned = true;
783
779
  }
784
780
  }
785
781
  ngOnDestroy() {
786
- __classPrivateFieldGet(this, _SkyLabelComponent_instances, "m", _SkyLabelComponent_unsubscribe).call(this);
787
- }
788
- }
789
- _SkyLabelComponent__descriptionType = new WeakMap(), _SkyLabelComponent__customDescription = new WeakMap(), _SkyLabelComponent_descriptionTypeResourceSubscription = new WeakMap(), _SkyLabelComponent_descriptionTypeWarned = new WeakMap(), _SkyLabelComponent_changeDetector = new WeakMap(), _SkyLabelComponent_resources = new WeakMap(), _SkyLabelComponent_logSvc = new WeakMap(), _SkyLabelComponent_instances = new WeakSet(), _SkyLabelComponent_updateIcon = function _SkyLabelComponent_updateIcon() {
790
- const indicatorIcon = SkyIndicatorIconUtility.getIconsForType(this.labelTypeOrDefault);
791
- this.icon = indicatorIcon.defaultThemeIcon;
792
- this.baseIcon = indicatorIcon.modernThemeBaseIcon;
793
- this.topIcon = indicatorIcon.modernThemeTopIcon;
794
- }, _SkyLabelComponent_updateDescriptionComputed = function _SkyLabelComponent_updateDescriptionComputed() {
795
- __classPrivateFieldGet(this, _SkyLabelComponent_instances, "m", _SkyLabelComponent_unsubscribe).call(this);
796
- if (this.descriptionType) {
797
- switch (this.descriptionType) {
798
- case 'none':
799
- this.descriptionComputed = undefined;
800
- break;
801
- case 'custom':
802
- this.descriptionComputed = this.customDescription;
803
- break;
804
- default:
805
- __classPrivateFieldSet(this, _SkyLabelComponent_descriptionTypeResourceSubscription, __classPrivateFieldGet(this, _SkyLabelComponent_resources, "f")
806
- .getString('skyux_label_sr_' + this.descriptionType.replace(/-/g, '_'))
807
- .subscribe((value) => {
808
- this.descriptionComputed = value;
809
- __classPrivateFieldGet(this, _SkyLabelComponent_changeDetector, "f").markForCheck();
810
- }), "f");
811
- break;
782
+ this.#unsubscribe();
783
+ }
784
+ #updateIcon() {
785
+ const indicatorIcon = SkyIndicatorIconUtility.getIconsForType(this.labelTypeOrDefault);
786
+ this.icon = indicatorIcon.defaultThemeIcon;
787
+ this.baseIcon = indicatorIcon.modernThemeBaseIcon;
788
+ this.topIcon = indicatorIcon.modernThemeTopIcon;
789
+ }
790
+ #updateDescriptionComputed() {
791
+ this.#unsubscribe();
792
+ if (this.descriptionType) {
793
+ switch (this.descriptionType) {
794
+ case 'none':
795
+ this.descriptionComputed = undefined;
796
+ break;
797
+ case 'custom':
798
+ this.descriptionComputed = this.customDescription;
799
+ break;
800
+ default:
801
+ this.#descriptionTypeResourceSubscription = this.#resources
802
+ .getString('skyux_label_sr_' + this.descriptionType.replace(/-/g, '_'))
803
+ .subscribe((value) => {
804
+ this.descriptionComputed = value;
805
+ this.#changeDetector.markForCheck();
806
+ });
807
+ break;
808
+ }
809
+ }
810
+ else {
811
+ this.descriptionComputed = undefined;
812
812
  }
813
813
  }
814
- else {
815
- this.descriptionComputed = undefined;
816
- }
817
- }, _SkyLabelComponent_unsubscribe = function _SkyLabelComponent_unsubscribe() {
818
- if (__classPrivateFieldGet(this, _SkyLabelComponent_descriptionTypeResourceSubscription, "f")) {
819
- __classPrivateFieldGet(this, _SkyLabelComponent_descriptionTypeResourceSubscription, "f").unsubscribe();
820
- __classPrivateFieldSet(this, _SkyLabelComponent_descriptionTypeResourceSubscription, undefined, "f");
814
+ #unsubscribe() {
815
+ if (this.#descriptionTypeResourceSubscription) {
816
+ this.#descriptionTypeResourceSubscription.unsubscribe();
817
+ this.#descriptionTypeResourceSubscription = undefined;
818
+ }
821
819
  }
822
- };
823
- SkyLabelComponentfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
824
- SkyLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyLabelComponent, selector: "sky-label", inputs: { labelType: "labelType", descriptionType: "descriptionType", customDescription: "customDescription" }, ngImport: i0, template: "<span class=\"sky-label\" [ngClass]=\"'sky-label-' + labelTypeOrDefault\">\n <span class=\"sky-label-icon-theme-default\">\n <sky-icon [icon]=\"icon\"></sky-icon>\n </span>\n <span class=\"sky-label-icon-theme-modern\">\n <sky-icon-stack size=\"xs\" [baseIcon]=\"baseIcon\" [topIcon]=\"topIcon\">\n </sky-icon-stack>\n </span>\n <span *ngIf=\"descriptionComputed\" class=\"sky-screen-reader-only\">\n {{ descriptionComputed }}\n </span>\n <span class=\"sky-label-text\">\n <ng-content></ng-content>\n </span>\n</span>\n", styles: [".sky-label{--sky-label-display: inline;--sky-label-align-items: initial;--sky-label-line-height: 2.2;--sky-label-info-background-color: var(--sky-background-color-info);--sky-label-icon-default-display: inline;--sky-label-icon-modern-display: none;--sky-label-info-success-padding: .3em .6em .3em .6em;--sky-label-warning-danger-padding: .3em .6em .3em .6em}:host-context(.sky-theme-modern) .sky-label{--sky-label-display: inline-flex;--sky-label-align-items: center;--sky-label-line-height: 1;--sky-label-info-background-color: var(--sky-background-color-info-light);--sky-label-icon-default-display: none;--sky-label-icon-modern-display: block;--sky-label-info-success-padding: 4px 15px 4px 6px;--sky-label-warning-danger-padding: 4px 15px 4px 9px}:host-context(.sky-theme-modern) .sky-label:not(.sky-label-danger){--sky-icon-stack-top-icon-color-override: var(--sky-text-color-default)}:host-context(.sky-theme-modern) .sky-label-info .sky-label-icon-theme-modern{color:var(--sky-highlight-color-info)}:host-context(.sky-theme-modern) .sky-label-success .sky-label-icon-theme-modern{color:var(--sky-highlight-color-success)}:host-context(.sky-theme-modern) .sky-label-warning .sky-label-icon-theme-modern{color:var(--sky-highlight-color-warning)}:host-context(.sky-theme-modern) .sky-label-danger .sky-label-icon-theme-modern{color:var(--sky-highlight-color-danger)}.sky-theme-modern .sky-label{--sky-label-display: inline-flex;--sky-label-align-items: center;--sky-label-line-height: 1;--sky-label-info-background-color: var(--sky-background-color-info-light);--sky-label-icon-default-display: none;--sky-label-icon-modern-display: block;--sky-label-info-success-padding: 4px 15px 4px 6px;--sky-label-warning-danger-padding: 4px 15px 4px 9px}.sky-theme-modern .sky-label:not(.sky-label-danger){--sky-icon-stack-top-icon-color-override: var(--sky-text-color-default)}.sky-theme-modern .sky-label-info .sky-label-icon-theme-modern{color:var(--sky-highlight-color-info)}.sky-theme-modern .sky-label-success .sky-label-icon-theme-modern{color:var(--sky-highlight-color-success)}.sky-theme-modern .sky-label-warning .sky-label-icon-theme-modern{color:var(--sky-highlight-color-warning)}.sky-theme-modern .sky-label-danger .sky-label-icon-theme-modern{color:var(--sky-highlight-color-danger)}.sky-label{color:var(--sky-text-color-default);display:var(--sky-label-display);align-items:var(--sky-label-align-items);border-radius:10rem;font-weight:400;line-height:var(--sky-label-line-height);margin:0 3px;white-space:nowrap}.sky-label.sky-label-info,.sky-label.sky-label-success{padding:var(--sky-label-info-success-padding)}.sky-label.sky-label-warning,.sky-label.sky-label-danger{padding:var(--sky-label-warning-danger-padding)}.sky-label-success{background-color:var(--sky-background-color-success)}.sky-label-info{background-color:var(--sky-label-info-background-color)}.sky-label-warning{background-color:var(--sky-background-color-warning)}.sky-label-danger{background-color:var(--sky-background-color-danger)}.sky-label-text{display:inline-block;padding-left:var(--sky-padding-half)}.sky-label-icon-theme-modern{display:var(--sky-label-icon-modern-display)}.sky-label-icon-theme-default{display:var(--sky-label-icon-default-display)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SkyIconComponent, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { kind: "component", type: SkyIconStackComponent, selector: "sky-icon-stack", inputs: ["size", "baseIcon", "topIcon"] }] });
825
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyLabelComponent, decorators: [{
820
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
821
+ static { thiscmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: SkyLabelComponent, selector: "sky-label", inputs: { labelType: "labelType", descriptionType: "descriptionType", customDescription: "customDescription" }, ngImport: i0, template: "<span class=\"sky-label\" [ngClass]=\"'sky-label-' + labelTypeOrDefault\">\n <span class=\"sky-label-icon-theme-default\">\n <sky-icon [icon]=\"icon\"></sky-icon>\n </span>\n <span class=\"sky-label-icon-theme-modern\">\n <sky-icon-stack size=\"xs\" [baseIcon]=\"baseIcon\" [topIcon]=\"topIcon\">\n </sky-icon-stack>\n </span>\n <span *ngIf=\"descriptionComputed\" class=\"sky-screen-reader-only\">\n {{ descriptionComputed }}\n </span>\n <span class=\"sky-label-text\">\n <ng-content></ng-content>\n </span>\n</span>\n", styles: [".sky-label{--sky-label-display: inline;--sky-label-align-items: initial;--sky-label-line-height: 2.2;--sky-label-info-background-color: var(--sky-background-color-info);--sky-label-icon-default-display: inline;--sky-label-icon-modern-display: none;--sky-label-info-success-padding: .3em .6em .3em .6em;--sky-label-warning-danger-padding: .3em .6em .3em .6em}:host-context(.sky-theme-modern) .sky-label{--sky-label-display: inline-flex;--sky-label-align-items: center;--sky-label-line-height: 1;--sky-label-info-background-color: var(--sky-background-color-info-light);--sky-label-icon-default-display: none;--sky-label-icon-modern-display: block;--sky-label-info-success-padding: 4px 15px 4px 6px;--sky-label-warning-danger-padding: 4px 15px 4px 9px}:host-context(.sky-theme-modern) .sky-label:not(.sky-label-danger){--sky-icon-stack-top-icon-color-override: var(--sky-text-color-default)}:host-context(.sky-theme-modern) .sky-label-info .sky-label-icon-theme-modern{color:var(--sky-highlight-color-info)}:host-context(.sky-theme-modern) .sky-label-success .sky-label-icon-theme-modern{color:var(--sky-highlight-color-success)}:host-context(.sky-theme-modern) .sky-label-warning .sky-label-icon-theme-modern{color:var(--sky-highlight-color-warning)}:host-context(.sky-theme-modern) .sky-label-danger .sky-label-icon-theme-modern{color:var(--sky-highlight-color-danger)}.sky-theme-modern .sky-label{--sky-label-display: inline-flex;--sky-label-align-items: center;--sky-label-line-height: 1;--sky-label-info-background-color: var(--sky-background-color-info-light);--sky-label-icon-default-display: none;--sky-label-icon-modern-display: block;--sky-label-info-success-padding: 4px 15px 4px 6px;--sky-label-warning-danger-padding: 4px 15px 4px 9px}.sky-theme-modern .sky-label:not(.sky-label-danger){--sky-icon-stack-top-icon-color-override: var(--sky-text-color-default)}.sky-theme-modern .sky-label-info .sky-label-icon-theme-modern{color:var(--sky-highlight-color-info)}.sky-theme-modern .sky-label-success .sky-label-icon-theme-modern{color:var(--sky-highlight-color-success)}.sky-theme-modern .sky-label-warning .sky-label-icon-theme-modern{color:var(--sky-highlight-color-warning)}.sky-theme-modern .sky-label-danger .sky-label-icon-theme-modern{color:var(--sky-highlight-color-danger)}.sky-label{color:var(--sky-text-color-default);display:var(--sky-label-display);align-items:var(--sky-label-align-items);border-radius:10rem;font-weight:400;line-height:var(--sky-label-line-height);margin:0 3px;white-space:nowrap}.sky-label.sky-label-info,.sky-label.sky-label-success{padding:var(--sky-label-info-success-padding)}.sky-label.sky-label-warning,.sky-label.sky-label-danger{padding:var(--sky-label-warning-danger-padding)}.sky-label-success{background-color:var(--sky-background-color-success)}.sky-label-info{background-color:var(--sky-label-info-background-color)}.sky-label-warning{background-color:var(--sky-background-color-warning)}.sky-label-danger{background-color:var(--sky-background-color-danger)}.sky-label-text{display:inline-block;padding-left:var(--sky-padding-half)}.sky-label-icon-theme-modern{display:var(--sky-label-icon-modern-display)}.sky-label-icon-theme-default{display:var(--sky-label-icon-default-display)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SkyIconComponent, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { kind: "component", type: SkyIconStackComponent, selector: "sky-icon-stack", inputs: ["size", "baseIcon", "topIcon"] }] }); }
822
+ }
823
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyLabelComponent, decorators: [{
826
824
  type: Component,
827
825
  args: [{ selector: 'sky-label', template: "<span class=\"sky-label\" [ngClass]=\"'sky-label-' + labelTypeOrDefault\">\n <span class=\"sky-label-icon-theme-default\">\n <sky-icon [icon]=\"icon\"></sky-icon>\n </span>\n <span class=\"sky-label-icon-theme-modern\">\n <sky-icon-stack size=\"xs\" [baseIcon]=\"baseIcon\" [topIcon]=\"topIcon\">\n </sky-icon-stack>\n </span>\n <span *ngIf=\"descriptionComputed\" class=\"sky-screen-reader-only\">\n {{ descriptionComputed }}\n </span>\n <span class=\"sky-label-text\">\n <ng-content></ng-content>\n </span>\n</span>\n", styles: [".sky-label{--sky-label-display: inline;--sky-label-align-items: initial;--sky-label-line-height: 2.2;--sky-label-info-background-color: var(--sky-background-color-info);--sky-label-icon-default-display: inline;--sky-label-icon-modern-display: none;--sky-label-info-success-padding: .3em .6em .3em .6em;--sky-label-warning-danger-padding: .3em .6em .3em .6em}:host-context(.sky-theme-modern) .sky-label{--sky-label-display: inline-flex;--sky-label-align-items: center;--sky-label-line-height: 1;--sky-label-info-background-color: var(--sky-background-color-info-light);--sky-label-icon-default-display: none;--sky-label-icon-modern-display: block;--sky-label-info-success-padding: 4px 15px 4px 6px;--sky-label-warning-danger-padding: 4px 15px 4px 9px}:host-context(.sky-theme-modern) .sky-label:not(.sky-label-danger){--sky-icon-stack-top-icon-color-override: var(--sky-text-color-default)}:host-context(.sky-theme-modern) .sky-label-info .sky-label-icon-theme-modern{color:var(--sky-highlight-color-info)}:host-context(.sky-theme-modern) .sky-label-success .sky-label-icon-theme-modern{color:var(--sky-highlight-color-success)}:host-context(.sky-theme-modern) .sky-label-warning .sky-label-icon-theme-modern{color:var(--sky-highlight-color-warning)}:host-context(.sky-theme-modern) .sky-label-danger .sky-label-icon-theme-modern{color:var(--sky-highlight-color-danger)}.sky-theme-modern .sky-label{--sky-label-display: inline-flex;--sky-label-align-items: center;--sky-label-line-height: 1;--sky-label-info-background-color: var(--sky-background-color-info-light);--sky-label-icon-default-display: none;--sky-label-icon-modern-display: block;--sky-label-info-success-padding: 4px 15px 4px 6px;--sky-label-warning-danger-padding: 4px 15px 4px 9px}.sky-theme-modern .sky-label:not(.sky-label-danger){--sky-icon-stack-top-icon-color-override: var(--sky-text-color-default)}.sky-theme-modern .sky-label-info .sky-label-icon-theme-modern{color:var(--sky-highlight-color-info)}.sky-theme-modern .sky-label-success .sky-label-icon-theme-modern{color:var(--sky-highlight-color-success)}.sky-theme-modern .sky-label-warning .sky-label-icon-theme-modern{color:var(--sky-highlight-color-warning)}.sky-theme-modern .sky-label-danger .sky-label-icon-theme-modern{color:var(--sky-highlight-color-danger)}.sky-label{color:var(--sky-text-color-default);display:var(--sky-label-display);align-items:var(--sky-label-align-items);border-radius:10rem;font-weight:400;line-height:var(--sky-label-line-height);margin:0 3px;white-space:nowrap}.sky-label.sky-label-info,.sky-label.sky-label-success{padding:var(--sky-label-info-success-padding)}.sky-label.sky-label-warning,.sky-label.sky-label-danger{padding:var(--sky-label-warning-danger-padding)}.sky-label-success{background-color:var(--sky-background-color-success)}.sky-label-info{background-color:var(--sky-label-info-background-color)}.sky-label-warning{background-color:var(--sky-background-color-warning)}.sky-label-danger{background-color:var(--sky-background-color-danger)}.sky-label-text{display:inline-block;padding-left:var(--sky-padding-half)}.sky-label-icon-theme-modern{display:var(--sky-label-icon-modern-display)}.sky-label-icon-theme-default{display:var(--sky-label-icon-default-display)}\n"] }]
828
826
  }], propDecorators: { labelType: [{
@@ -834,17 +832,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
834
832
  }] } });
835
833
 
836
834
  class SkyLabelModule {
835
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
836
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyLabelModule, declarations: [SkyLabelComponent], imports: [CommonModule,
837
+ SkyI18nModule,
838
+ SkyIconModule,
839
+ SkyIndicatorsResourcesModule], exports: [SkyLabelComponent] }); }
840
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyLabelModule, imports: [CommonModule,
841
+ SkyI18nModule,
842
+ SkyIconModule,
843
+ SkyIndicatorsResourcesModule] }); }
837
844
  }
838
- SkyLabelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
839
- SkyLabelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyLabelModule, declarations: [SkyLabelComponent], imports: [CommonModule,
840
- SkyI18nModule,
841
- SkyIconModule,
842
- SkyIndicatorsResourcesModule], exports: [SkyLabelComponent] });
843
- SkyLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyLabelModule, imports: [CommonModule,
844
- SkyI18nModule,
845
- SkyIconModule,
846
- SkyIndicatorsResourcesModule] });
847
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyLabelModule, decorators: [{
845
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyLabelModule, decorators: [{
848
846
  type: NgModule,
849
847
  args: [{
850
848
  declarations: [SkyLabelComponent],
@@ -858,7 +856,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
858
856
  }]
859
857
  }] });
860
858
 
861
- var _SkyStatusIndicatorComponent_instances, _SkyStatusIndicatorComponent_changeDetector, _SkyStatusIndicatorComponent_resourcesSvc, _SkyStatusIndicatorComponent__descriptionType, _SkyStatusIndicatorComponent__customDescription, _SkyStatusIndicatorComponent_updateIcon, _SkyStatusIndicatorComponent_updateDescriptionComputed;
862
859
  const INDICATOR_TYPE_DEFAULT = 'warning';
863
860
  /**
864
861
  * Displays status text with an icon matching the specified indicator type.
@@ -868,12 +865,9 @@ const INDICATOR_TYPE_DEFAULT = 'warning';
868
865
  */
869
866
  class SkyStatusIndicatorComponent {
870
867
  constructor() {
871
- _SkyStatusIndicatorComponent_instances.add(this);
872
868
  this.indicatorTypeOrDefault = INDICATOR_TYPE_DEFAULT;
873
- _SkyStatusIndicatorComponent_changeDetector.set(this, inject(ChangeDetectorRef));
874
- _SkyStatusIndicatorComponent_resourcesSvc.set(this, inject(SkyLibResourcesService));
875
- _SkyStatusIndicatorComponent__descriptionType.set(this, void 0);
876
- _SkyStatusIndicatorComponent__customDescription.set(this, void 0);
869
+ this.#changeDetector = inject(ChangeDetectorRef);
870
+ this.#resourcesSvc = inject(SkyLibResourcesService);
877
871
  }
878
872
  /**
879
873
  * The style for the status indicator, which determines the icon.
@@ -882,7 +876,7 @@ class SkyStatusIndicatorComponent {
882
876
  set indicatorType(value) {
883
877
  this.indicatorTypeOrDefault =
884
878
  value === undefined ? INDICATOR_TYPE_DEFAULT : value;
885
- __classPrivateFieldGet(this, _SkyStatusIndicatorComponent_instances, "m", _SkyStatusIndicatorComponent_updateIcon).call(this);
879
+ this.#updateIcon();
886
880
  }
887
881
  /**
888
882
  * The predefined text to be read by screen readers for users
@@ -890,59 +884,64 @@ class SkyStatusIndicatorComponent {
890
884
  * @required
891
885
  */
892
886
  set descriptionType(value) {
893
- __classPrivateFieldSet(this, _SkyStatusIndicatorComponent__descriptionType, value, "f");
894
- __classPrivateFieldGet(this, _SkyStatusIndicatorComponent_instances, "m", _SkyStatusIndicatorComponent_updateDescriptionComputed).call(this);
887
+ this.#_descriptionType = value;
888
+ this.#updateDescriptionComputed();
895
889
  }
896
890
  get descriptionType() {
897
- return __classPrivateFieldGet(this, _SkyStatusIndicatorComponent__descriptionType, "f");
891
+ return this.#_descriptionType;
898
892
  }
899
893
  /**
900
894
  * The text to be read by screen readers for users who cannot see
901
895
  * the indicator icon when `descriptionType` is `custom`.
902
896
  */
903
897
  set customDescription(value) {
904
- __classPrivateFieldSet(this, _SkyStatusIndicatorComponent__customDescription, value, "f");
905
- __classPrivateFieldGet(this, _SkyStatusIndicatorComponent_instances, "m", _SkyStatusIndicatorComponent_updateDescriptionComputed).call(this);
898
+ this.#_customDescription = value;
899
+ this.#updateDescriptionComputed();
906
900
  }
907
901
  get customDescription() {
908
- return __classPrivateFieldGet(this, _SkyStatusIndicatorComponent__customDescription, "f");
902
+ return this.#_customDescription;
909
903
  }
904
+ #changeDetector;
905
+ #resourcesSvc;
906
+ #_descriptionType;
907
+ #_customDescription;
910
908
  ngOnInit() {
911
- __classPrivateFieldGet(this, _SkyStatusIndicatorComponent_instances, "m", _SkyStatusIndicatorComponent_updateIcon).call(this);
912
- }
913
- }
914
- _SkyStatusIndicatorComponent_changeDetector = new WeakMap(), _SkyStatusIndicatorComponent_resourcesSvc = new WeakMap(), _SkyStatusIndicatorComponent__descriptionType = new WeakMap(), _SkyStatusIndicatorComponent__customDescription = new WeakMap(), _SkyStatusIndicatorComponent_instances = new WeakSet(), _SkyStatusIndicatorComponent_updateIcon = function _SkyStatusIndicatorComponent_updateIcon() {
915
- const indicatorIcon = SkyIndicatorIconUtility.getIconsForType(this.indicatorTypeOrDefault);
916
- this.icon = indicatorIcon.defaultThemeIcon;
917
- this.baseIcon = indicatorIcon.modernThemeBaseIcon;
918
- this.topIcon = indicatorIcon.modernThemeTopIcon;
919
- }, _SkyStatusIndicatorComponent_updateDescriptionComputed = function _SkyStatusIndicatorComponent_updateDescriptionComputed() {
920
- if (this.descriptionType) {
921
- switch (this.descriptionType) {
922
- case 'none':
923
- this.descriptionComputed = '';
924
- break;
925
- case 'custom':
926
- this.descriptionComputed = this.customDescription;
927
- break;
928
- default:
929
- __classPrivateFieldGet(this, _SkyStatusIndicatorComponent_resourcesSvc, "f")
930
- .getString('skyux_status_indicator_sr_' +
931
- this.descriptionType.replace(/-/g, '_'))
932
- .subscribe((value) => {
933
- this.descriptionComputed = value;
934
- __classPrivateFieldGet(this, _SkyStatusIndicatorComponent_changeDetector, "f").markForCheck();
935
- });
936
- break;
909
+ this.#updateIcon();
910
+ }
911
+ #updateIcon() {
912
+ const indicatorIcon = SkyIndicatorIconUtility.getIconsForType(this.indicatorTypeOrDefault);
913
+ this.icon = indicatorIcon.defaultThemeIcon;
914
+ this.baseIcon = indicatorIcon.modernThemeBaseIcon;
915
+ this.topIcon = indicatorIcon.modernThemeTopIcon;
916
+ }
917
+ #updateDescriptionComputed() {
918
+ if (this.descriptionType) {
919
+ switch (this.descriptionType) {
920
+ case 'none':
921
+ this.descriptionComputed = '';
922
+ break;
923
+ case 'custom':
924
+ this.descriptionComputed = this.customDescription;
925
+ break;
926
+ default:
927
+ this.#resourcesSvc
928
+ .getString('skyux_status_indicator_sr_' +
929
+ this.descriptionType.replace(/-/g, '_'))
930
+ .subscribe((value) => {
931
+ this.descriptionComputed = value;
932
+ this.#changeDetector.markForCheck();
933
+ });
934
+ break;
935
+ }
936
+ }
937
+ else {
938
+ this.descriptionComputed = undefined;
937
939
  }
938
940
  }
939
- else {
940
- this.descriptionComputed = undefined;
941
- }
942
- };
943
- SkyStatusIndicatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyStatusIndicatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
944
- SkyStatusIndicatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyStatusIndicatorComponent, selector: "sky-status-indicator", inputs: { indicatorType: "indicatorType", descriptionType: "descriptionType", customDescription: "customDescription" }, ngImport: i0, template: "<div *ngIf=\"descriptionType\" class=\"sky-status-indicator\">\n <div\n aria-hidden=\"true\"\n class=\"sky-margin-inline-xs sky-status-indicator-icon\"\n [ngClass]=\"'sky-status-indicator-icon-' + indicatorTypeOrDefault\"\n >\n <span class=\"sky-status-indicator-icon-default\">\n <sky-icon [icon]=\"icon\"></sky-icon>\n </span>\n <span class=\"sky-status-indicator-icon-modern\">\n <sky-icon-stack size=\"xs\" [baseIcon]=\"baseIcon\" [topIcon]=\"topIcon\">\n </sky-icon-stack>\n </span>\n </div>\n <div class=\"sky-status-indicator-message-wrapper\">\n <span *ngIf=\"descriptionComputed\" class=\"sky-screen-reader-only\">\n {{ descriptionComputed }}\n </span>\n <span class=\"sky-status-indicator-message\" skyTrim\n ><ng-content></ng-content></span\n ><span class=\"sky-control-help-container\"\n ><ng-content select=\".sky-control-help\"></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:not(.sky-status-indicator-icon-danger){--sky-icon-stack-top-icon-color-override: #212327}: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:not(.sky-status-indicator-icon-danger){--sky-icon-stack-top-icon-color-override: #212327}.sky-theme-modern .sky-status-indicator-icon-default{display:none}.sky-theme-modern .sky-status-indicator-icon-modern{display:inline}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SkyIconComponent, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { kind: "component", type: SkyIconStackComponent, selector: "sky-icon-stack", inputs: ["size", "baseIcon", "topIcon"] }, { kind: "directive", type: i2$1.λ4, selector: "[skyTrim]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
945
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyStatusIndicatorComponent, decorators: [{
941
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyStatusIndicatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
942
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: SkyStatusIndicatorComponent, selector: "sky-status-indicator", inputs: { indicatorType: "indicatorType", descriptionType: "descriptionType", customDescription: "customDescription" }, ngImport: i0, template: "<div *ngIf=\"descriptionType\" class=\"sky-status-indicator\">\n <div\n aria-hidden=\"true\"\n class=\"sky-margin-inline-xs sky-status-indicator-icon\"\n [ngClass]=\"'sky-status-indicator-icon-' + indicatorTypeOrDefault\"\n >\n <span class=\"sky-status-indicator-icon-default\">\n <sky-icon [icon]=\"icon\"></sky-icon>\n </span>\n <span class=\"sky-status-indicator-icon-modern\">\n <sky-icon-stack size=\"xs\" [baseIcon]=\"baseIcon\" [topIcon]=\"topIcon\">\n </sky-icon-stack>\n </span>\n </div>\n <div class=\"sky-status-indicator-message-wrapper\">\n <span *ngIf=\"descriptionComputed\" class=\"sky-screen-reader-only\">\n {{ descriptionComputed }}\n </span>\n <span class=\"sky-status-indicator-message\" skyTrim\n ><ng-content></ng-content></span\n ><span class=\"sky-control-help-container\"\n ><ng-content select=\".sky-control-help\"></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:not(.sky-status-indicator-icon-danger){--sky-icon-stack-top-icon-color-override: #212327}: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:not(.sky-status-indicator-icon-danger){--sky-icon-stack-top-icon-color-override: #212327}.sky-theme-modern .sky-status-indicator-icon-default{display:none}.sky-theme-modern .sky-status-indicator-icon-modern{display:inline}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SkyIconComponent, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { kind: "component", type: SkyIconStackComponent, selector: "sky-icon-stack", inputs: ["size", "baseIcon", "topIcon"] }, { kind: "directive", type: i2$1.λ4, selector: "[skyTrim]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
943
+ }
944
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyStatusIndicatorComponent, decorators: [{
946
945
  type: Component,
947
946
  args: [{ selector: 'sky-status-indicator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"descriptionType\" class=\"sky-status-indicator\">\n <div\n aria-hidden=\"true\"\n class=\"sky-margin-inline-xs sky-status-indicator-icon\"\n [ngClass]=\"'sky-status-indicator-icon-' + indicatorTypeOrDefault\"\n >\n <span class=\"sky-status-indicator-icon-default\">\n <sky-icon [icon]=\"icon\"></sky-icon>\n </span>\n <span class=\"sky-status-indicator-icon-modern\">\n <sky-icon-stack size=\"xs\" [baseIcon]=\"baseIcon\" [topIcon]=\"topIcon\">\n </sky-icon-stack>\n </span>\n </div>\n <div class=\"sky-status-indicator-message-wrapper\">\n <span *ngIf=\"descriptionComputed\" class=\"sky-screen-reader-only\">\n {{ descriptionComputed }}\n </span>\n <span class=\"sky-status-indicator-message\" skyTrim\n ><ng-content></ng-content></span\n ><span class=\"sky-control-help-container\"\n ><ng-content select=\".sky-control-help\"></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:not(.sky-status-indicator-icon-danger){--sky-icon-stack-top-icon-color-override: #212327}: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:not(.sky-status-indicator-icon-danger){--sky-icon-stack-top-icon-color-override: #212327}.sky-theme-modern .sky-status-indicator-icon-default{display:none}.sky-theme-modern .sky-status-indicator-icon-modern{display:inline}\n"] }]
948
947
  }], propDecorators: { indicatorType: [{
@@ -954,19 +953,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
954
953
  }] } });
955
954
 
956
955
  class SkyStatusIndicatorModule {
956
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyStatusIndicatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
957
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyStatusIndicatorModule, declarations: [SkyStatusIndicatorComponent], imports: [CommonModule,
958
+ SkyI18nModule,
959
+ SkyIconModule,
960
+ SkyIndicatorsResourcesModule,
961
+ SkyTrimModule], exports: [SkyStatusIndicatorComponent] }); }
962
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyStatusIndicatorModule, imports: [CommonModule,
963
+ SkyI18nModule,
964
+ SkyIconModule,
965
+ SkyIndicatorsResourcesModule,
966
+ SkyTrimModule] }); }
957
967
  }
958
- SkyStatusIndicatorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyStatusIndicatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
959
- SkyStatusIndicatorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyStatusIndicatorModule, declarations: [SkyStatusIndicatorComponent], imports: [CommonModule,
960
- SkyI18nModule,
961
- SkyIconModule,
962
- SkyIndicatorsResourcesModule,
963
- SkyTrimModule], exports: [SkyStatusIndicatorComponent] });
964
- SkyStatusIndicatorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyStatusIndicatorModule, imports: [CommonModule,
965
- SkyI18nModule,
966
- SkyIconModule,
967
- SkyIndicatorsResourcesModule,
968
- SkyTrimModule] });
969
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyStatusIndicatorModule, decorators: [{
968
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyStatusIndicatorModule, decorators: [{
970
969
  type: NgModule,
971
970
  args: [{
972
971
  declarations: [SkyStatusIndicatorComponent],
@@ -981,7 +980,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
981
980
  }]
982
981
  }] });
983
982
 
984
- var _SkyTextHighlightDirective_instances, _SkyTextHighlightDirective_existingHighlight, _SkyTextHighlightDirective_observer, _SkyTextHighlightDirective_searchTerms, _SkyTextHighlightDirective_el, _SkyTextHighlightDirective_observerSvc, _SkyTextHighlightDirective_disconnectObserver, _SkyTextHighlightDirective_highlight, _SkyTextHighlightDirective_observeDom;
985
983
  const CLASS_NAME = 'sky-highlight-mark';
986
984
  const SPECIAL_CHAR_REGEX = /[-/\\^$*+?.()|[\]{}]/g;
987
985
  function markNode(node, searchRegex) {
@@ -1051,78 +1049,77 @@ function createSearchRegex(searchTerms) {
1051
1049
  * Highlights all matching text within the current DOM element.
1052
1050
  */
1053
1051
  class SkyTextHighlightDirective {
1054
- constructor() {
1055
- _SkyTextHighlightDirective_instances.add(this);
1056
- _SkyTextHighlightDirective_existingHighlight.set(this, false);
1057
- _SkyTextHighlightDirective_observer.set(this, void 0);
1058
- _SkyTextHighlightDirective_searchTerms.set(this, []);
1059
- _SkyTextHighlightDirective_el.set(this, inject(ElementRef));
1060
- _SkyTextHighlightDirective_observerSvc.set(this, inject(SkyMutationObserverService));
1061
- }
1062
1052
  /**
1063
1053
  * The text to highlight.
1064
1054
  */
1065
1055
  set skyHighlight(value) {
1066
1056
  value = value || [];
1067
1057
  if (Array.isArray(value)) {
1068
- __classPrivateFieldSet(this, _SkyTextHighlightDirective_searchTerms, value.filter((item) => !!item), "f");
1058
+ this.#searchTerms = value.filter((item) => !!item);
1069
1059
  // Reorder strings by their length in descending order to avoid missing matches
1070
1060
  // that contain substrings of other matches.
1071
- __classPrivateFieldGet(this, _SkyTextHighlightDirective_searchTerms, "f").sort(function (a, b) {
1061
+ this.#searchTerms.sort(function (a, b) {
1072
1062
  return b.length - a.length;
1073
1063
  });
1074
1064
  }
1075
1065
  else {
1076
- __classPrivateFieldSet(this, _SkyTextHighlightDirective_searchTerms, [value], "f");
1066
+ this.#searchTerms = [value];
1077
1067
  }
1078
1068
  }
1069
+ #existingHighlight = false;
1070
+ #observer;
1071
+ #searchTerms = [];
1072
+ #el = inject(ElementRef);
1073
+ #observerSvc = inject(SkyMutationObserverService);
1079
1074
  ngOnChanges(changes) {
1080
1075
  if (changes['skyHighlight'] && !changes['skyHighlight'].firstChange) {
1081
- __classPrivateFieldGet(this, _SkyTextHighlightDirective_instances, "m", _SkyTextHighlightDirective_highlight).call(this);
1076
+ this.#highlight();
1082
1077
  }
1083
1078
  }
1084
1079
  ngAfterViewInit() {
1085
- __classPrivateFieldSet(this, _SkyTextHighlightDirective_observer, __classPrivateFieldGet(this, _SkyTextHighlightDirective_observerSvc, "f").create(() => {
1086
- __classPrivateFieldGet(this, _SkyTextHighlightDirective_instances, "m", _SkyTextHighlightDirective_highlight).call(this);
1087
- }), "f");
1088
- __classPrivateFieldGet(this, _SkyTextHighlightDirective_instances, "m", _SkyTextHighlightDirective_highlight).call(this);
1080
+ this.#observer = this.#observerSvc.create(() => {
1081
+ this.#highlight();
1082
+ });
1083
+ this.#highlight();
1089
1084
  }
1090
1085
  ngOnDestroy() {
1091
- __classPrivateFieldGet(this, _SkyTextHighlightDirective_instances, "m", _SkyTextHighlightDirective_disconnectObserver).call(this);
1086
+ this.#disconnectObserver();
1092
1087
  }
1093
- }
1094
- _SkyTextHighlightDirective_existingHighlight = new WeakMap(), _SkyTextHighlightDirective_observer = new WeakMap(), _SkyTextHighlightDirective_searchTerms = new WeakMap(), _SkyTextHighlightDirective_el = new WeakMap(), _SkyTextHighlightDirective_observerSvc = new WeakMap(), _SkyTextHighlightDirective_instances = new WeakSet(), _SkyTextHighlightDirective_disconnectObserver = function _SkyTextHighlightDirective_disconnectObserver() {
1095
- if (__classPrivateFieldGet(this, _SkyTextHighlightDirective_observer, "f")) {
1096
- __classPrivateFieldGet(this, _SkyTextHighlightDirective_observer, "f").disconnect();
1097
- }
1098
- }, _SkyTextHighlightDirective_highlight = function _SkyTextHighlightDirective_highlight() {
1099
- __classPrivateFieldGet(this, _SkyTextHighlightDirective_instances, "m", _SkyTextHighlightDirective_disconnectObserver).call(this);
1100
- if (__classPrivateFieldGet(this, _SkyTextHighlightDirective_existingHighlight, "f")) {
1101
- removeHighlight(__classPrivateFieldGet(this, _SkyTextHighlightDirective_el, "f"));
1102
- }
1103
- const node = __classPrivateFieldGet(this, _SkyTextHighlightDirective_el, "f").nativeElement;
1104
- if (node) {
1105
- const searchRegex = createSearchRegex(__classPrivateFieldGet(this, _SkyTextHighlightDirective_searchTerms, "f"));
1106
- // mark all matched text in the DOM
1107
- if (searchRegex) {
1108
- markTextNodes(node, searchRegex);
1109
- __classPrivateFieldSet(this, _SkyTextHighlightDirective_existingHighlight, true, "f");
1110
- }
1111
- }
1112
- __classPrivateFieldGet(this, _SkyTextHighlightDirective_instances, "m", _SkyTextHighlightDirective_observeDom).call(this);
1113
- }, _SkyTextHighlightDirective_observeDom = function _SkyTextHighlightDirective_observeDom() {
1114
- if (__classPrivateFieldGet(this, _SkyTextHighlightDirective_observer, "f")) {
1115
- const config = {
1116
- attributes: false,
1117
- childList: true,
1118
- characterData: true,
1119
- };
1120
- __classPrivateFieldGet(this, _SkyTextHighlightDirective_observer, "f").observe(__classPrivateFieldGet(this, _SkyTextHighlightDirective_el, "f").nativeElement, config);
1088
+ #disconnectObserver() {
1089
+ if (this.#observer) {
1090
+ this.#observer.disconnect();
1091
+ }
1121
1092
  }
1122
- };
1123
- SkyTextHighlightDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyTextHighlightDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1124
- SkyTextHighlightDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: SkyTextHighlightDirective, selector: "[skyHighlight]", inputs: { skyHighlight: "skyHighlight" }, usesOnChanges: true, ngImport: i0 });
1125
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyTextHighlightDirective, decorators: [{
1093
+ #highlight() {
1094
+ this.#disconnectObserver();
1095
+ if (this.#existingHighlight) {
1096
+ removeHighlight(this.#el);
1097
+ }
1098
+ const node = this.#el.nativeElement;
1099
+ if (node) {
1100
+ const searchRegex = createSearchRegex(this.#searchTerms);
1101
+ // mark all matched text in the DOM
1102
+ if (searchRegex) {
1103
+ markTextNodes(node, searchRegex);
1104
+ this.#existingHighlight = true;
1105
+ }
1106
+ }
1107
+ this.#observeDom();
1108
+ }
1109
+ #observeDom() {
1110
+ if (this.#observer) {
1111
+ const config = {
1112
+ attributes: false,
1113
+ childList: true,
1114
+ characterData: true,
1115
+ };
1116
+ this.#observer.observe(this.#el.nativeElement, config);
1117
+ }
1118
+ }
1119
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTextHighlightDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1120
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.7", type: SkyTextHighlightDirective, selector: "[skyHighlight]", inputs: { skyHighlight: "skyHighlight" }, usesOnChanges: true, ngImport: i0 }); }
1121
+ }
1122
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTextHighlightDirective, decorators: [{
1126
1123
  type: Directive,
1127
1124
  args: [{
1128
1125
  selector: '[skyHighlight]',
@@ -1132,11 +1129,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1132
1129
  }] } });
1133
1130
 
1134
1131
  class SkyTextHighlightModule {
1132
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTextHighlightModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1133
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyTextHighlightModule, declarations: [SkyTextHighlightDirective], exports: [SkyTextHighlightDirective] }); }
1134
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTextHighlightModule, providers: [SkyMutationObserverService] }); }
1135
1135
  }
1136
- SkyTextHighlightModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyTextHighlightModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1137
- SkyTextHighlightModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyTextHighlightModule, declarations: [SkyTextHighlightDirective], exports: [SkyTextHighlightDirective] });
1138
- SkyTextHighlightModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyTextHighlightModule, providers: [SkyMutationObserverService] });
1139
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyTextHighlightModule, decorators: [{
1136
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTextHighlightModule, decorators: [{
1140
1137
  type: NgModule,
1141
1138
  args: [{
1142
1139
  declarations: [SkyTextHighlightDirective],
@@ -1145,7 +1142,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1145
1142
  }]
1146
1143
  }] });
1147
1144
 
1148
- var _SkyTokenComponent_elementRef, _SkyTokenComponent__disabled, _SkyTokenComponent__dismissible;
1149
1145
  class SkyTokenComponent {
1150
1146
  constructor() {
1151
1147
  /**
@@ -1160,9 +1156,9 @@ class SkyTokenComponent {
1160
1156
  this.tokenActive = false;
1161
1157
  this.closeActive = false;
1162
1158
  this.tabIndex = 0;
1163
- _SkyTokenComponent_elementRef.set(this, inject(ElementRef));
1164
- _SkyTokenComponent__disabled.set(this, false);
1165
- _SkyTokenComponent__dismissible.set(this, true);
1159
+ this.#elementRef = inject(ElementRef);
1160
+ this.#_disabled = false;
1161
+ this.#_dismissible = true;
1166
1162
  }
1167
1163
  /**
1168
1164
  * Whether to disable the token to prevent users from selecting it, dismissing it,
@@ -1171,20 +1167,20 @@ class SkyTokenComponent {
1171
1167
  * @default false
1172
1168
  */
1173
1169
  set disabled(value) {
1174
- __classPrivateFieldSet(this, _SkyTokenComponent__disabled, !!value, "f");
1170
+ this.#_disabled = !!value;
1175
1171
  }
1176
1172
  get disabled() {
1177
- return __classPrivateFieldGet(this, _SkyTokenComponent__disabled, "f");
1173
+ return this.#_disabled;
1178
1174
  }
1179
1175
  /**
1180
1176
  * Whether users can remove the token from the list by selecting the close button.
1181
1177
  * @default true
1182
1178
  */
1183
1179
  set dismissible(value) {
1184
- __classPrivateFieldSet(this, _SkyTokenComponent__dismissible, value !== false, "f");
1180
+ this.#_dismissible = value !== false;
1185
1181
  }
1186
1182
  get dismissible() {
1187
- return __classPrivateFieldGet(this, _SkyTokenComponent__dismissible, "f");
1183
+ return this.#_dismissible;
1188
1184
  }
1189
1185
  /**
1190
1186
  * Whether users can place focus on the token using the `Tab`. This does not
@@ -1194,6 +1190,9 @@ class SkyTokenComponent {
1194
1190
  set focusable(value) {
1195
1191
  this.tabIndex = value !== false ? 0 : -1;
1196
1192
  }
1193
+ #elementRef;
1194
+ #_disabled;
1195
+ #_dismissible;
1197
1196
  onFocusIn() {
1198
1197
  if (!this.isFocused) {
1199
1198
  this.tokenFocus.emit();
@@ -1201,7 +1200,7 @@ class SkyTokenComponent {
1201
1200
  }
1202
1201
  }
1203
1202
  onFocusOut(event) {
1204
- this.isFocused = __classPrivateFieldGet(this, _SkyTokenComponent_elementRef, "f").nativeElement.contains(event.relatedTarget);
1203
+ this.isFocused = this.#elementRef.nativeElement.contains(event.relatedTarget);
1205
1204
  }
1206
1205
  dismissToken(event) {
1207
1206
  event.stopPropagation();
@@ -1216,11 +1215,10 @@ class SkyTokenComponent {
1216
1215
  setCloseActive(closeActive) {
1217
1216
  this.closeActive = closeActive;
1218
1217
  }
1218
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTokenComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1219
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: SkyTokenComponent, selector: "sky-token", inputs: { disabled: "disabled", ariaLabel: "ariaLabel", dismissible: "dismissible", focusable: "focusable", role: "role" }, outputs: { dismiss: "dismiss", tokenFocus: "tokenFocus" }, viewQueries: [{ propertyName: "actionButtonRef", first: true, predicate: ["actionButton"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: "<div\n class=\"sky-token sky-btn sky-btn-default\"\n [attr.role]=\"role\"\n [ngClass]=\"{\n 'sky-btn-disabled': disabled,\n 'sky-token-disabled': disabled,\n 'sky-token-dismissible': dismissible,\n 'sky-token-active': tokenActive && !closeActive,\n 'sky-token-focused': isFocused\n }\"\n (document:mouseup)=\"setTokenActive(false)\"\n (focusin)=\"onFocusIn()\"\n (focusout)=\"onFocusOut($event)\"\n (mousedown)=\"setTokenActive(true)\"\n>\n <span\n [attr.role]=\"role === 'row' ? 'gridcell' : undefined\"\n class=\"sky-token-cell\"\n >\n <button\n class=\"sky-btn sky-btn-default sky-token-btn sky-token-btn-action\"\n type=\"button\"\n [attr.tabindex]=\"tabIndex\"\n [disabled]=\"disabled\"\n [ngClass]=\"{\n 'sky-btn-disabled': disabled\n }\"\n #actionButton\n >\n <ng-content></ng-content>\n </button>\n </span>\n <span\n *ngIf=\"dismissible\"\n class=\"sky-token-cell\"\n [attr.role]=\"role === 'row' ? 'gridcell' : undefined\"\n >\n <button\n class=\"sky-btn sky-token-btn sky-token-btn-close\"\n type=\"button\"\n [attr.aria-label]=\"\n ariaLabel || ('skyux_tokens_dismiss_button_title' | skyLibResources)\n \"\n [attr.tabindex]=\"tabIndex\"\n [attr.title]=\"\n ariaLabel || ('skyux_tokens_dismiss_button_title' | skyLibResources)\n \"\n [disabled]=\"disabled\"\n [ngClass]=\"{\n 'sky-btn-disabled': disabled,\n 'sky-token-btn-close-active': closeActive\n }\"\n (click)=\"dismissToken($event)\"\n (document:mouseup)=\"setCloseActive(false)\"\n (mousedown)=\"setCloseActive(true)\"\n >\n <sky-icon\n class=\"sky-token-btn-close-icon-default\"\n icon=\"times\"\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 </span>\n</div>\n", styles: [".sky-token{background-color:#c1e8fb;border:1px solid #00b4f1;padding:0;display:inline-block}.sky-token:hover,.sky-token.sky-token-focused{background-color:#91d6f8;border-color:#008ebe;cursor:pointer}.sky-token.sky-token-focused{box-shadow:0 0 8px #00b4f199;border:1px solid var(--sky-highlight-color-info);outline:none}.sky-token.sky-btn-disabled .sky-btn-disabled{opacity:1}.sky-btn-disabled{cursor:default;-webkit-user-select:none;user-select:none}.sky-token-btn{background-color:transparent;border:0;padding:2px 8px}.sky-token-btn-action:focus-visible{outline:none}.sky-token-btn-close{margin-left:-2px;opacity:.9}.sky-token-btn-close:hover,.sky-token-btn-close:focus-visible{opacity:1}.sky-token-dismissible .sky-token-btn-action{padding-right:0}.sky-token-btn-close-icon-modern{display:none}:host-context(.sky-theme-modern) .sky-token{align-items:center;display:inline-flex;font-size:14px}:host-context(.sky-theme-modern) .sky-token:not(.sky-btn-disabled){border:none;box-shadow:inset 0 0 0 1px #81d4f7;background-color:#ebfbff}:host-context(.sky-theme-modern) .sky-token.sky-token-dismissible{padding-right:1px}:host-context(.sky-theme-modern) .sky-token.sky-token-dismissible .sky-token-btn-action{padding-right:0}: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.sky-token-focused:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 3px #0000004d}:host-context(.sky-theme-modern) .sky-token.sky-token-focused,:host-context(.sky-theme-modern) .sky-token:hover{background-color:#ebfbff}:host-context(.sky-theme-modern) .sky-token-btn{padding:1px 5px;border:0;box-shadow:none;background-color:transparent}:host-context(.sky-theme-modern) .sky-token-btn.sky-btn-disabled{color:#212327}:host-context(.sky-theme-modern) .sky-token-btn-action{font-size:14px}:host-context(.sky-theme-modern) .sky-token-btn-close{align-items:center;border-radius:5px;display:flex;height:20px;margin-left:5px;width:20px;padding:0}: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-visible{outline:none}:host-context(.sky-theme-modern) .sky-token-btn-close:focus-visible: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;font-size:14px}.sky-theme-modern .sky-token:not(.sky-btn-disabled){border:none;box-shadow:inset 0 0 0 1px #81d4f7;background-color:#ebfbff}.sky-theme-modern .sky-token.sky-token-dismissible{padding-right:1px}.sky-theme-modern .sky-token.sky-token-dismissible .sky-token-btn-action{padding-right:0}.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.sky-token-focused:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 3px #0000004d}.sky-theme-modern .sky-token.sky-token-focused,.sky-theme-modern .sky-token:hover{background-color:#ebfbff}.sky-theme-modern .sky-token-btn{padding:1px 5px;border:0;box-shadow:none;background-color:transparent}.sky-theme-modern .sky-token-btn.sky-btn-disabled{color:#212327}.sky-theme-modern .sky-token-btn-action{font-size:14px}.sky-theme-modern .sky-token-btn-close{align-items:center;border-radius:5px;display:flex;height:20px;margin-left:5px;width:20px;padding:0}.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-visible{outline:none}.sky-theme-modern .sky-token-btn-close:focus-visible: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"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SkyIconComponent, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { kind: "pipe", type: i5.SkyLibResourcesPipe, name: "skyLibResources" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1219
1220
  }
1220
- _SkyTokenComponent_elementRef = new WeakMap(), _SkyTokenComponent__disabled = new WeakMap(), _SkyTokenComponent__dismissible = new WeakMap();
1221
- SkyTokenComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyTokenComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1222
- SkyTokenComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyTokenComponent, selector: "sky-token", inputs: { disabled: "disabled", ariaLabel: "ariaLabel", dismissible: "dismissible", focusable: "focusable", role: "role" }, outputs: { dismiss: "dismiss", tokenFocus: "tokenFocus" }, viewQueries: [{ propertyName: "actionButtonRef", first: true, predicate: ["actionButton"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: "<div\n class=\"sky-token sky-btn sky-btn-default\"\n [attr.role]=\"role\"\n [ngClass]=\"{\n 'sky-btn-disabled': disabled,\n 'sky-token-disabled': disabled,\n 'sky-token-dismissible': dismissible,\n 'sky-token-active': tokenActive && !closeActive,\n 'sky-token-focused': isFocused\n }\"\n (document:mouseup)=\"setTokenActive(false)\"\n (focusin)=\"onFocusIn()\"\n (focusout)=\"onFocusOut($event)\"\n (mousedown)=\"setTokenActive(true)\"\n>\n <span\n [attr.role]=\"role === 'row' ? 'gridcell' : undefined\"\n class=\"sky-token-cell\"\n >\n <button\n class=\"sky-btn sky-btn-default sky-token-btn sky-token-btn-action\"\n type=\"button\"\n [attr.tabindex]=\"tabIndex\"\n [disabled]=\"disabled\"\n [ngClass]=\"{\n 'sky-btn-disabled': disabled\n }\"\n #actionButton\n >\n <ng-content></ng-content>\n </button>\n </span>\n <span\n *ngIf=\"dismissible\"\n class=\"sky-token-cell\"\n [attr.role]=\"role === 'row' ? 'gridcell' : undefined\"\n >\n <button\n class=\"sky-btn sky-token-btn sky-token-btn-close\"\n type=\"button\"\n [attr.aria-label]=\"\n ariaLabel || ('skyux_tokens_dismiss_button_title' | skyLibResources)\n \"\n [attr.tabindex]=\"tabIndex\"\n [attr.title]=\"\n ariaLabel || ('skyux_tokens_dismiss_button_title' | skyLibResources)\n \"\n [disabled]=\"disabled\"\n [ngClass]=\"{\n 'sky-btn-disabled': disabled,\n 'sky-token-btn-close-active': closeActive\n }\"\n (click)=\"dismissToken($event)\"\n (document:mouseup)=\"setCloseActive(false)\"\n (mousedown)=\"setCloseActive(true)\"\n >\n <sky-icon\n class=\"sky-token-btn-close-icon-default\"\n icon=\"times\"\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 </span>\n</div>\n", styles: [".sky-token{background-color:#c1e8fb;border:1px solid #00b4f1;padding:0;display:inline-block}.sky-token:hover,.sky-token.sky-token-focused{background-color:#91d6f8;border-color:#008ebe;cursor:pointer}.sky-token.sky-token-focused{box-shadow:0 0 8px #00b4f199;border:1px solid var(--sky-highlight-color-info);outline:none}.sky-token.sky-btn-disabled .sky-btn-disabled{opacity:1}.sky-btn-disabled{cursor:default;-webkit-user-select:none;user-select:none}.sky-token-btn{background-color:transparent;border:0;padding:2px 8px}.sky-token-btn-action:focus-visible{outline:none}.sky-token-btn-close{margin-left:-2px;opacity:.9}.sky-token-btn-close:hover,.sky-token-btn-close:focus-visible{opacity:1}.sky-token-dismissible .sky-token-btn-action{padding-right:0}.sky-token-btn-close-icon-modern{display:none}:host-context(.sky-theme-modern) .sky-token{align-items:center;display:inline-flex;font-size:14px}:host-context(.sky-theme-modern) .sky-token:not(.sky-btn-disabled){border:none;box-shadow:inset 0 0 0 1px #81d4f7;background-color:#ebfbff}:host-context(.sky-theme-modern) .sky-token.sky-token-dismissible{padding-right:1px}:host-context(.sky-theme-modern) .sky-token.sky-token-dismissible .sky-token-btn-action{padding-right:0}: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.sky-token-focused:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 3px #0000004d}:host-context(.sky-theme-modern) .sky-token.sky-token-focused,:host-context(.sky-theme-modern) .sky-token:hover{background-color:#ebfbff}:host-context(.sky-theme-modern) .sky-token-btn{padding:1px 5px;border:0;box-shadow:none;background-color:transparent}:host-context(.sky-theme-modern) .sky-token-btn.sky-btn-disabled{color:#212327}:host-context(.sky-theme-modern) .sky-token-btn-action{font-size:14px}:host-context(.sky-theme-modern) .sky-token-btn-close{align-items:center;border-radius:5px;display:flex;height:20px;margin-left:5px;width:20px;padding:0}: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-visible{outline:none}:host-context(.sky-theme-modern) .sky-token-btn-close:focus-visible: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;font-size:14px}.sky-theme-modern .sky-token:not(.sky-btn-disabled){border:none;box-shadow:inset 0 0 0 1px #81d4f7;background-color:#ebfbff}.sky-theme-modern .sky-token.sky-token-dismissible{padding-right:1px}.sky-theme-modern .sky-token.sky-token-dismissible .sky-token-btn-action{padding-right:0}.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.sky-token-focused:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 3px #0000004d}.sky-theme-modern .sky-token.sky-token-focused,.sky-theme-modern .sky-token:hover{background-color:#ebfbff}.sky-theme-modern .sky-token-btn{padding:1px 5px;border:0;box-shadow:none;background-color:transparent}.sky-theme-modern .sky-token-btn.sky-btn-disabled{color:#212327}.sky-theme-modern .sky-token-btn-action{font-size:14px}.sky-theme-modern .sky-token-btn-close{align-items:center;border-radius:5px;display:flex;height:20px;margin-left:5px;width:20px;padding:0}.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-visible{outline:none}.sky-theme-modern .sky-token-btn-close:focus-visible: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"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SkyIconComponent, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { kind: "pipe", type: i5.SkyLibResourcesPipe, name: "skyLibResources" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1223
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyTokenComponent, decorators: [{
1221
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTokenComponent, decorators: [{
1224
1222
  type: Component,
1225
1223
  args: [{ selector: 'sky-token', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"sky-token sky-btn sky-btn-default\"\n [attr.role]=\"role\"\n [ngClass]=\"{\n 'sky-btn-disabled': disabled,\n 'sky-token-disabled': disabled,\n 'sky-token-dismissible': dismissible,\n 'sky-token-active': tokenActive && !closeActive,\n 'sky-token-focused': isFocused\n }\"\n (document:mouseup)=\"setTokenActive(false)\"\n (focusin)=\"onFocusIn()\"\n (focusout)=\"onFocusOut($event)\"\n (mousedown)=\"setTokenActive(true)\"\n>\n <span\n [attr.role]=\"role === 'row' ? 'gridcell' : undefined\"\n class=\"sky-token-cell\"\n >\n <button\n class=\"sky-btn sky-btn-default sky-token-btn sky-token-btn-action\"\n type=\"button\"\n [attr.tabindex]=\"tabIndex\"\n [disabled]=\"disabled\"\n [ngClass]=\"{\n 'sky-btn-disabled': disabled\n }\"\n #actionButton\n >\n <ng-content></ng-content>\n </button>\n </span>\n <span\n *ngIf=\"dismissible\"\n class=\"sky-token-cell\"\n [attr.role]=\"role === 'row' ? 'gridcell' : undefined\"\n >\n <button\n class=\"sky-btn sky-token-btn sky-token-btn-close\"\n type=\"button\"\n [attr.aria-label]=\"\n ariaLabel || ('skyux_tokens_dismiss_button_title' | skyLibResources)\n \"\n [attr.tabindex]=\"tabIndex\"\n [attr.title]=\"\n ariaLabel || ('skyux_tokens_dismiss_button_title' | skyLibResources)\n \"\n [disabled]=\"disabled\"\n [ngClass]=\"{\n 'sky-btn-disabled': disabled,\n 'sky-token-btn-close-active': closeActive\n }\"\n (click)=\"dismissToken($event)\"\n (document:mouseup)=\"setCloseActive(false)\"\n (mousedown)=\"setCloseActive(true)\"\n >\n <sky-icon\n class=\"sky-token-btn-close-icon-default\"\n icon=\"times\"\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 </span>\n</div>\n", styles: [".sky-token{background-color:#c1e8fb;border:1px solid #00b4f1;padding:0;display:inline-block}.sky-token:hover,.sky-token.sky-token-focused{background-color:#91d6f8;border-color:#008ebe;cursor:pointer}.sky-token.sky-token-focused{box-shadow:0 0 8px #00b4f199;border:1px solid var(--sky-highlight-color-info);outline:none}.sky-token.sky-btn-disabled .sky-btn-disabled{opacity:1}.sky-btn-disabled{cursor:default;-webkit-user-select:none;user-select:none}.sky-token-btn{background-color:transparent;border:0;padding:2px 8px}.sky-token-btn-action:focus-visible{outline:none}.sky-token-btn-close{margin-left:-2px;opacity:.9}.sky-token-btn-close:hover,.sky-token-btn-close:focus-visible{opacity:1}.sky-token-dismissible .sky-token-btn-action{padding-right:0}.sky-token-btn-close-icon-modern{display:none}:host-context(.sky-theme-modern) .sky-token{align-items:center;display:inline-flex;font-size:14px}:host-context(.sky-theme-modern) .sky-token:not(.sky-btn-disabled){border:none;box-shadow:inset 0 0 0 1px #81d4f7;background-color:#ebfbff}:host-context(.sky-theme-modern) .sky-token.sky-token-dismissible{padding-right:1px}:host-context(.sky-theme-modern) .sky-token.sky-token-dismissible .sky-token-btn-action{padding-right:0}: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.sky-token-focused:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 3px #0000004d}:host-context(.sky-theme-modern) .sky-token.sky-token-focused,:host-context(.sky-theme-modern) .sky-token:hover{background-color:#ebfbff}:host-context(.sky-theme-modern) .sky-token-btn{padding:1px 5px;border:0;box-shadow:none;background-color:transparent}:host-context(.sky-theme-modern) .sky-token-btn.sky-btn-disabled{color:#212327}:host-context(.sky-theme-modern) .sky-token-btn-action{font-size:14px}:host-context(.sky-theme-modern) .sky-token-btn-close{align-items:center;border-radius:5px;display:flex;height:20px;margin-left:5px;width:20px;padding:0}: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-visible{outline:none}:host-context(.sky-theme-modern) .sky-token-btn-close:focus-visible: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;font-size:14px}.sky-theme-modern .sky-token:not(.sky-btn-disabled){border:none;box-shadow:inset 0 0 0 1px #81d4f7;background-color:#ebfbff}.sky-theme-modern .sky-token.sky-token-dismissible{padding-right:1px}.sky-theme-modern .sky-token.sky-token-dismissible .sky-token-btn-action{padding-right:0}.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.sky-token-focused:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 3px #0000004d}.sky-theme-modern .sky-token.sky-token-focused,.sky-theme-modern .sky-token:hover{background-color:#ebfbff}.sky-theme-modern .sky-token-btn{padding:1px 5px;border:0;box-shadow:none;background-color:transparent}.sky-theme-modern .sky-token-btn.sky-btn-disabled{color:#212327}.sky-theme-modern .sky-token-btn-action{font-size:14px}.sky-theme-modern .sky-token-btn-close{align-items:center;border-radius:5px;display:flex;height:20px;margin-left:5px;width:20px;padding:0}.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-visible{outline:none}.sky-theme-modern .sky-token-btn-close:focus-visible: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"] }]
1226
1224
  }], propDecorators: { disabled: [{
@@ -1266,7 +1264,6 @@ var SkyTokensMessageType;
1266
1264
  SkyTokensMessageType[SkyTokensMessageType["RemoveActiveToken"] = 4] = "RemoveActiveToken";
1267
1265
  })(SkyTokensMessageType || (SkyTokensMessageType = {}));
1268
1266
 
1269
- var _SkyTokensComponent_instances, _SkyTokensComponent__disabled, _SkyTokensComponent__dismissible, _SkyTokensComponent__focusable, _SkyTokensComponent__tokens, _SkyTokensComponent__displayWith, _SkyTokensComponent_messageStreamSub, _SkyTokensComponent_ngUnsubscribe, _SkyTokensComponent_changeDetector, _SkyTokensComponent__activeIndex, _SkyTokensComponent__messageStream, _SkyTokensComponent_focusPreviousToken, _SkyTokensComponent_focusNextToken, _SkyTokensComponent_focusLastToken, _SkyTokensComponent_focusActiveToken, _SkyTokensComponent_removeActiveToken, _SkyTokensComponent_initMessageStream, _SkyTokensComponent_notifyTokenSelected;
1270
1267
  const DISPLAY_WITH_DEFAULT = 'name';
1271
1268
  /**
1272
1269
  * Creates a container that enables navigation between tokens using keyboard arrow keys.
@@ -1281,30 +1278,30 @@ class SkyTokensComponent {
1281
1278
  * @default false
1282
1279
  */
1283
1280
  set disabled(value) {
1284
- __classPrivateFieldSet(this, _SkyTokensComponent__disabled, !!value, "f");
1281
+ this.#_disabled = !!value;
1285
1282
  }
1286
1283
  get disabled() {
1287
- return __classPrivateFieldGet(this, _SkyTokensComponent__disabled, "f");
1284
+ return this.#_disabled;
1288
1285
  }
1289
1286
  /**
1290
1287
  * Whether users can remove a token from the list by selecting a token's close button.
1291
1288
  * @default true
1292
1289
  */
1293
1290
  set dismissible(value) {
1294
- __classPrivateFieldSet(this, _SkyTokensComponent__dismissible, value !== false, "f");
1291
+ this.#_dismissible = value !== false;
1295
1292
  }
1296
1293
  get dismissible() {
1297
- return __classPrivateFieldGet(this, _SkyTokensComponent__dismissible, "f");
1294
+ return this.#_dismissible;
1298
1295
  }
1299
1296
  /**
1300
1297
  * The token property to display for each item in the tokens list.
1301
1298
  * @default "name"
1302
1299
  */
1303
1300
  set displayWith(value) {
1304
- __classPrivateFieldSet(this, _SkyTokensComponent__displayWith, value || DISPLAY_WITH_DEFAULT, "f");
1301
+ this.#_displayWith = value || DISPLAY_WITH_DEFAULT;
1305
1302
  }
1306
1303
  get displayWith() {
1307
- return __classPrivateFieldGet(this, _SkyTokensComponent__displayWith, "f");
1304
+ return this.#_displayWith;
1308
1305
  }
1309
1306
  /**
1310
1307
  * Whether users can place focus on tokens in the list using the `Tab` key.
@@ -1313,16 +1310,16 @@ class SkyTokensComponent {
1313
1310
  * @default true
1314
1311
  */
1315
1312
  set focusable(value) {
1316
- __classPrivateFieldSet(this, _SkyTokensComponent__focusable, value !== false, "f");
1313
+ this.#_focusable = value !== false;
1317
1314
  }
1318
1315
  get focusable() {
1319
- return __classPrivateFieldGet(this, _SkyTokensComponent__focusable, "f");
1316
+ return this.#_focusable;
1320
1317
  }
1321
1318
  /**
1322
1319
  * The array of tokens to include in the list.
1323
1320
  */
1324
1321
  set tokens(value) {
1325
- __classPrivateFieldSet(this, _SkyTokensComponent__tokens, value || [], "f");
1322
+ this.#_tokens = value || [];
1326
1323
  // The previous behavior was to set `this._tokens = value`, then emit `this._tokens`,
1327
1324
  // which would emit `undefined` instead of a default value of `[]` returned by the
1328
1325
  // get accessor when set to `undefined`. Emitting `value` instead of `this.#_tokensOrDefault`
@@ -1330,35 +1327,44 @@ class SkyTokensComponent {
1330
1327
  this.tokensChange.emit(value);
1331
1328
  }
1332
1329
  get tokens() {
1333
- return __classPrivateFieldGet(this, _SkyTokensComponent__tokens, "f");
1330
+ return this.#_tokens;
1334
1331
  }
1335
1332
  /**
1336
1333
  * The observable of `SkyTokensMessage` that can place focus on a
1337
1334
  * particular token or remove the active token from the list.
1338
1335
  */
1339
1336
  set messageStream(value) {
1340
- __classPrivateFieldSet(this, _SkyTokensComponent__messageStream, value || new Subject(), "f");
1341
- __classPrivateFieldGet(this, _SkyTokensComponent_instances, "m", _SkyTokensComponent_initMessageStream).call(this);
1337
+ this.#_messageStream = value || new Subject();
1338
+ this.#initMessageStream();
1342
1339
  }
1343
1340
  get messageStream() {
1344
- return __classPrivateFieldGet(this, _SkyTokensComponent__messageStream, "f");
1341
+ return this.#_messageStream;
1345
1342
  }
1346
1343
  get activeIndex() {
1347
- return __classPrivateFieldGet(this, _SkyTokensComponent__activeIndex, "f");
1344
+ return this.#_activeIndex;
1348
1345
  }
1349
1346
  set activeIndex(value) {
1350
- if (value >= __classPrivateFieldGet(this, _SkyTokensComponent__tokens, "f").length) {
1351
- value = __classPrivateFieldGet(this, _SkyTokensComponent__tokens, "f").length - 1;
1347
+ if (value >= this.#_tokens.length) {
1348
+ value = this.#_tokens.length - 1;
1352
1349
  this.focusIndexOverRange.emit();
1353
1350
  }
1354
1351
  if (value < 0) {
1355
1352
  value = 0;
1356
1353
  this.focusIndexUnderRange.emit();
1357
1354
  }
1358
- __classPrivateFieldSet(this, _SkyTokensComponent__activeIndex, value || 0, "f");
1359
- }
1355
+ this.#_activeIndex = value || 0;
1356
+ }
1357
+ #_disabled;
1358
+ #_dismissible;
1359
+ #_focusable;
1360
+ #_tokens;
1361
+ #_displayWith;
1362
+ #messageStreamSub;
1363
+ #ngUnsubscribe;
1364
+ #changeDetector;
1365
+ #_activeIndex;
1366
+ #_messageStream;
1360
1367
  constructor() {
1361
- _SkyTokensComponent_instances.add(this);
1362
1368
  /**
1363
1369
  * Fires when users navigate through the tokens list with the `Tab` key
1364
1370
  * and attempt to move past the final token in the list.
@@ -1383,17 +1389,16 @@ class SkyTokensComponent {
1383
1389
  * @internal
1384
1390
  */
1385
1391
  this.tokensRendered = new EventEmitter();
1386
- _SkyTokensComponent__disabled.set(this, false);
1387
- _SkyTokensComponent__dismissible.set(this, true);
1388
- _SkyTokensComponent__focusable.set(this, true);
1389
- _SkyTokensComponent__tokens.set(this, []);
1390
- _SkyTokensComponent__displayWith.set(this, DISPLAY_WITH_DEFAULT);
1391
- _SkyTokensComponent_messageStreamSub.set(this, void 0);
1392
- _SkyTokensComponent_ngUnsubscribe.set(this, new Subject());
1393
- _SkyTokensComponent_changeDetector.set(this, inject(ChangeDetectorRef));
1394
- _SkyTokensComponent__activeIndex.set(this, 0);
1395
- _SkyTokensComponent__messageStream.set(this, new Subject());
1396
- __classPrivateFieldGet(this, _SkyTokensComponent_instances, "m", _SkyTokensComponent_initMessageStream).call(this);
1392
+ this.#_disabled = false;
1393
+ this.#_dismissible = true;
1394
+ this.#_focusable = true;
1395
+ this.#_tokens = [];
1396
+ this.#_displayWith = DISPLAY_WITH_DEFAULT;
1397
+ this.#ngUnsubscribe = new Subject();
1398
+ this.#changeDetector = inject(ChangeDetectorRef);
1399
+ this.#_activeIndex = 0;
1400
+ this.#_messageStream = new Subject();
1401
+ this.#initMessageStream();
1397
1402
  // Angular calls the trackBy function without applying the component instance's scope.
1398
1403
  // Use a fat-arrow function so the current component instance's trackWith property can
1399
1404
  // be referenced.
@@ -1405,14 +1410,14 @@ class SkyTokensComponent {
1405
1410
  };
1406
1411
  }
1407
1412
  ngOnDestroy() {
1408
- __classPrivateFieldGet(this, _SkyTokensComponent_ngUnsubscribe, "f").next();
1409
- __classPrivateFieldGet(this, _SkyTokensComponent_ngUnsubscribe, "f").complete();
1413
+ this.#ngUnsubscribe.next();
1414
+ this.#ngUnsubscribe.complete();
1410
1415
  }
1411
1416
  onTokenClick(token) {
1412
1417
  if (this.disabled) {
1413
1418
  return;
1414
1419
  }
1415
- __classPrivateFieldGet(this, _SkyTokensComponent_instances, "m", _SkyTokensComponent_notifyTokenSelected).call(this, token);
1420
+ this.#notifyTokenSelected(token);
1416
1421
  }
1417
1422
  animationDone() {
1418
1423
  this.tokensRendered.emit();
@@ -1422,14 +1427,14 @@ class SkyTokensComponent {
1422
1427
  switch (event.key) {
1423
1428
  case 'Left':
1424
1429
  case 'ArrowLeft':
1425
- __classPrivateFieldGet(this, _SkyTokensComponent__messageStream, "f").next({
1430
+ this.#_messageStream.next({
1426
1431
  type: SkyTokensMessageType.FocusPreviousToken,
1427
1432
  });
1428
1433
  event.preventDefault();
1429
1434
  break;
1430
1435
  case 'Right':
1431
1436
  case 'ArrowRight':
1432
- __classPrivateFieldGet(this, _SkyTokensComponent__messageStream, "f").next({
1437
+ this.#_messageStream.next({
1433
1438
  type: SkyTokensMessageType.FocusNextToken,
1434
1439
  });
1435
1440
  event.preventDefault();
@@ -1439,92 +1444,98 @@ class SkyTokensComponent {
1439
1444
  }
1440
1445
  selectToken(token) {
1441
1446
  if (!this.disabled) {
1442
- __classPrivateFieldGet(this, _SkyTokensComponent_instances, "m", _SkyTokensComponent_notifyTokenSelected).call(this, token);
1447
+ this.#notifyTokenSelected(token);
1443
1448
  }
1444
1449
  }
1445
1450
  removeToken(token) {
1446
1451
  this.tokens = this.tokens.filter((t) => t !== token);
1447
- __classPrivateFieldGet(this, _SkyTokensComponent_changeDetector, "f").detectChanges();
1452
+ this.#changeDetector.detectChanges();
1448
1453
  }
1449
- }
1450
- _SkyTokensComponent__disabled = new WeakMap(), _SkyTokensComponent__dismissible = new WeakMap(), _SkyTokensComponent__focusable = new WeakMap(), _SkyTokensComponent__tokens = new WeakMap(), _SkyTokensComponent__displayWith = new WeakMap(), _SkyTokensComponent_messageStreamSub = new WeakMap(), _SkyTokensComponent_ngUnsubscribe = new WeakMap(), _SkyTokensComponent_changeDetector = new WeakMap(), _SkyTokensComponent__activeIndex = new WeakMap(), _SkyTokensComponent__messageStream = new WeakMap(), _SkyTokensComponent_instances = new WeakSet(), _SkyTokensComponent_focusPreviousToken = function _SkyTokensComponent_focusPreviousToken() {
1451
- this.activeIndex--;
1452
- __classPrivateFieldGet(this, _SkyTokensComponent_instances, "m", _SkyTokensComponent_focusActiveToken).call(this);
1453
- }, _SkyTokensComponent_focusNextToken = function _SkyTokensComponent_focusNextToken() {
1454
- this.activeIndex++;
1455
- __classPrivateFieldGet(this, _SkyTokensComponent_instances, "m", _SkyTokensComponent_focusActiveToken).call(this);
1456
- }, _SkyTokensComponent_focusLastToken = function _SkyTokensComponent_focusLastToken() {
1457
- if (this.tokenComponents) {
1458
- this.activeIndex = this.tokenComponents.length - 1;
1459
- __classPrivateFieldGet(this, _SkyTokensComponent_instances, "m", _SkyTokensComponent_focusActiveToken).call(this);
1460
- }
1461
- }, _SkyTokensComponent_focusActiveToken = function _SkyTokensComponent_focusActiveToken() {
1462
- if (this.tokenComponents) {
1463
- const tokenComponent = this.tokenComponents.find((_comp, i) => {
1464
- return this.activeIndex === i;
1465
- });
1466
- if (tokenComponent) {
1467
- tokenComponent.focusElement();
1454
+ #focusPreviousToken() {
1455
+ this.activeIndex--;
1456
+ this.#focusActiveToken();
1457
+ }
1458
+ #focusNextToken() {
1459
+ this.activeIndex++;
1460
+ this.#focusActiveToken();
1461
+ }
1462
+ #focusLastToken() {
1463
+ if (this.tokenComponents) {
1464
+ this.activeIndex = this.tokenComponents.length - 1;
1465
+ this.#focusActiveToken();
1468
1466
  }
1469
1467
  }
1470
- }, _SkyTokensComponent_removeActiveToken = function _SkyTokensComponent_removeActiveToken() {
1471
- const token = this.tokens[this.activeIndex];
1472
- if (token) {
1473
- this.removeToken(token);
1468
+ #focusActiveToken() {
1469
+ if (this.tokenComponents) {
1470
+ const tokenComponent = this.tokenComponents.find((_comp, i) => {
1471
+ return this.activeIndex === i;
1472
+ });
1473
+ if (tokenComponent) {
1474
+ tokenComponent.focusElement();
1475
+ }
1476
+ }
1474
1477
  }
1475
- }, _SkyTokensComponent_initMessageStream = function _SkyTokensComponent_initMessageStream() {
1476
- if (__classPrivateFieldGet(this, _SkyTokensComponent_messageStreamSub, "f")) {
1477
- __classPrivateFieldGet(this, _SkyTokensComponent_messageStreamSub, "f").unsubscribe();
1478
+ #removeActiveToken() {
1479
+ const token = this.tokens[this.activeIndex];
1480
+ if (token) {
1481
+ this.removeToken(token);
1482
+ }
1478
1483
  }
1479
- __classPrivateFieldSet(this, _SkyTokensComponent_messageStreamSub, this.messageStream
1480
- .pipe(takeUntil(__classPrivateFieldGet(this, _SkyTokensComponent_ngUnsubscribe, "f")))
1481
- .subscribe((message) => {
1482
- switch (message.type) {
1483
- case SkyTokensMessageType.FocusLastToken:
1484
- __classPrivateFieldGet(this, _SkyTokensComponent_instances, "m", _SkyTokensComponent_focusLastToken).call(this);
1485
- break;
1486
- case SkyTokensMessageType.FocusActiveToken:
1487
- __classPrivateFieldGet(this, _SkyTokensComponent_instances, "m", _SkyTokensComponent_focusActiveToken).call(this);
1488
- break;
1489
- case SkyTokensMessageType.FocusPreviousToken:
1490
- __classPrivateFieldGet(this, _SkyTokensComponent_instances, "m", _SkyTokensComponent_focusPreviousToken).call(this);
1491
- break;
1492
- case SkyTokensMessageType.FocusNextToken:
1493
- __classPrivateFieldGet(this, _SkyTokensComponent_instances, "m", _SkyTokensComponent_focusNextToken).call(this);
1494
- break;
1495
- case SkyTokensMessageType.RemoveActiveToken:
1496
- __classPrivateFieldGet(this, _SkyTokensComponent_instances, "m", _SkyTokensComponent_removeActiveToken).call(this);
1497
- break;
1484
+ #initMessageStream() {
1485
+ if (this.#messageStreamSub) {
1486
+ this.#messageStreamSub.unsubscribe();
1498
1487
  }
1499
- }), "f");
1500
- }, _SkyTokensComponent_notifyTokenSelected = function _SkyTokensComponent_notifyTokenSelected(token) {
1501
- this.tokenSelected.emit({
1502
- token,
1503
- });
1504
- };
1505
- SkyTokensComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyTokensComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1506
- SkyTokensComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", 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", tokensRendered: "tokensRendered" }, viewQueries: [{ propertyName: "tokenComponents", predicate: SkyTokenComponent, descendants: true }], ngImport: i0, template: "<div\n class=\"sky-tokens\"\n [@blockAnimationOnLoad]\n [attr.role]=\"tokens.length ? 'grid' : null\"\n>\n <!--\n The role must use square brackets otherwise Angular sets the native 'role'\n attribute as well as the input attribute of the token, which fails accessibility rules.\n -->\n <sky-token\n *ngFor=\"let token of tokens; let i = index; trackBy: trackTokenFn\"\n [@.disabled]=\"!trackWith\"\n [@dismiss]\n [disabled]=\"disabled\"\n [dismissible]=\"dismissible\"\n [focusable]=\"focusable\"\n [role]=\"'row'\"\n (@dismiss.done)=\"animationDone()\"\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 class=\"sky-tokens-content\">\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"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: SkyTokenComponent, selector: "sky-token", inputs: ["disabled", "ariaLabel", "dismissible", "focusable", "role"], outputs: ["dismiss", "tokenFocus"] }], animations: [
1507
- trigger('blockAnimationOnLoad', [transition(':enter', [])]),
1508
- trigger('dismiss', [
1509
- transition(':enter', [
1510
- style({
1511
- opacity: 0,
1512
- width: 0,
1513
- }),
1514
- animate('150ms ease-in', style({
1515
- opacity: 1,
1516
- width: '*',
1517
- })),
1518
- ]),
1519
- transition(':leave', [
1520
- animate('150ms ease-in', style({
1521
- opacity: 0,
1522
- width: 0,
1523
- })),
1488
+ this.#messageStreamSub = this.messageStream
1489
+ .pipe(takeUntil(this.#ngUnsubscribe))
1490
+ .subscribe((message) => {
1491
+ switch (message.type) {
1492
+ case SkyTokensMessageType.FocusLastToken:
1493
+ this.#focusLastToken();
1494
+ break;
1495
+ case SkyTokensMessageType.FocusActiveToken:
1496
+ this.#focusActiveToken();
1497
+ break;
1498
+ case SkyTokensMessageType.FocusPreviousToken:
1499
+ this.#focusPreviousToken();
1500
+ break;
1501
+ case SkyTokensMessageType.FocusNextToken:
1502
+ this.#focusNextToken();
1503
+ break;
1504
+ case SkyTokensMessageType.RemoveActiveToken:
1505
+ this.#removeActiveToken();
1506
+ break;
1507
+ }
1508
+ });
1509
+ }
1510
+ #notifyTokenSelected(token) {
1511
+ this.tokenSelected.emit({
1512
+ token,
1513
+ });
1514
+ }
1515
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTokensComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1516
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.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", tokensRendered: "tokensRendered" }, viewQueries: [{ propertyName: "tokenComponents", predicate: SkyTokenComponent, descendants: true }], ngImport: i0, template: "<div\n class=\"sky-tokens\"\n [@blockAnimationOnLoad]\n [attr.role]=\"tokens.length ? 'grid' : null\"\n>\n <!--\n The role must use square brackets otherwise Angular sets the native 'role'\n attribute as well as the input attribute of the token, which fails accessibility rules.\n -->\n <sky-token\n *ngFor=\"let token of tokens; let i = index; trackBy: trackTokenFn\"\n [@.disabled]=\"!trackWith\"\n [@dismiss]\n [disabled]=\"disabled\"\n [dismissible]=\"dismissible\"\n [focusable]=\"focusable\"\n [role]=\"'row'\"\n (@dismiss.done)=\"animationDone()\"\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 class=\"sky-tokens-content\" [attr.role]=\"tokens.length ? 'row' : null\">\n <div [attr.role]=\"tokens.length ? 'gridcell' : null\">\n <ng-content></ng-content>\n </div>\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>div{display:contents}.sky-tokens .sky-tokens-content>div:before{content:\"\\200b\"}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: SkyTokenComponent, selector: "sky-token", inputs: ["disabled", "ariaLabel", "dismissible", "focusable", "role"], outputs: ["dismiss", "tokenFocus"] }], animations: [
1517
+ trigger('blockAnimationOnLoad', [transition(':enter', [])]),
1518
+ trigger('dismiss', [
1519
+ transition(':enter', [
1520
+ style({
1521
+ opacity: 0,
1522
+ width: 0,
1523
+ }),
1524
+ animate('150ms ease-in', style({
1525
+ opacity: 1,
1526
+ width: '*',
1527
+ })),
1528
+ ]),
1529
+ transition(':leave', [
1530
+ animate('150ms ease-in', style({
1531
+ opacity: 0,
1532
+ width: 0,
1533
+ })),
1534
+ ]),
1524
1535
  ]),
1525
- ]),
1526
- ], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1527
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyTokensComponent, decorators: [{
1536
+ ], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1537
+ }
1538
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTokensComponent, decorators: [{
1528
1539
  type: Component,
1529
1540
  args: [{ selector: 'sky-tokens', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
1530
1541
  trigger('blockAnimationOnLoad', [transition(':enter', [])]),
@@ -1546,7 +1557,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1546
1557
  })),
1547
1558
  ]),
1548
1559
  ]),
1549
- ], template: "<div\n class=\"sky-tokens\"\n [@blockAnimationOnLoad]\n [attr.role]=\"tokens.length ? 'grid' : null\"\n>\n <!--\n The role must use square brackets otherwise Angular sets the native 'role'\n attribute as well as the input attribute of the token, which fails accessibility rules.\n -->\n <sky-token\n *ngFor=\"let token of tokens; let i = index; trackBy: trackTokenFn\"\n [@.disabled]=\"!trackWith\"\n [@dismiss]\n [disabled]=\"disabled\"\n [dismissible]=\"dismissible\"\n [focusable]=\"focusable\"\n [role]=\"'row'\"\n (@dismiss.done)=\"animationDone()\"\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 class=\"sky-tokens-content\">\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"] }]
1560
+ ], template: "<div\n class=\"sky-tokens\"\n [@blockAnimationOnLoad]\n [attr.role]=\"tokens.length ? 'grid' : null\"\n>\n <!--\n The role must use square brackets otherwise Angular sets the native 'role'\n attribute as well as the input attribute of the token, which fails accessibility rules.\n -->\n <sky-token\n *ngFor=\"let token of tokens; let i = index; trackBy: trackTokenFn\"\n [@.disabled]=\"!trackWith\"\n [@dismiss]\n [disabled]=\"disabled\"\n [dismissible]=\"dismissible\"\n [focusable]=\"focusable\"\n [role]=\"'row'\"\n (@dismiss.done)=\"animationDone()\"\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 class=\"sky-tokens-content\" [attr.role]=\"tokens.length ? 'row' : null\">\n <div [attr.role]=\"tokens.length ? 'gridcell' : null\">\n <ng-content></ng-content>\n </div>\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>div{display:contents}.sky-tokens .sky-tokens-content>div:before{content:\"\\200b\"}\n"] }]
1550
1561
  }], ctorParameters: function () { return []; }, propDecorators: { disabled: [{
1551
1562
  type: Input
1552
1563
  }], dismissible: [{
@@ -1577,17 +1588,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1577
1588
  }] } });
1578
1589
 
1579
1590
  class SkyTokensModule {
1591
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTokensModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1592
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyTokensModule, declarations: [SkyTokenComponent, SkyTokensComponent], imports: [CommonModule,
1593
+ SkyI18nModule,
1594
+ SkyIconModule,
1595
+ SkyIndicatorsResourcesModule], exports: [SkyTokenComponent, SkyTokensComponent] }); }
1596
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTokensModule, imports: [CommonModule,
1597
+ SkyI18nModule,
1598
+ SkyIconModule,
1599
+ SkyIndicatorsResourcesModule] }); }
1580
1600
  }
1581
- SkyTokensModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyTokensModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1582
- SkyTokensModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyTokensModule, declarations: [SkyTokenComponent, SkyTokensComponent], imports: [CommonModule,
1583
- SkyI18nModule,
1584
- SkyIconModule,
1585
- SkyIndicatorsResourcesModule], exports: [SkyTokenComponent, SkyTokensComponent] });
1586
- SkyTokensModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyTokensModule, imports: [CommonModule,
1587
- SkyI18nModule,
1588
- SkyIconModule,
1589
- SkyIndicatorsResourcesModule] });
1590
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyTokensModule, decorators: [{
1601
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTokensModule, decorators: [{
1591
1602
  type: NgModule,
1592
1603
  args: [{
1593
1604
  declarations: [SkyTokenComponent, SkyTokensComponent],
@@ -1601,7 +1612,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1601
1612
  }]
1602
1613
  }] });
1603
1614
 
1604
- var _SkyWaitAdapterService_instances, _SkyWaitAdapterService_focusableElements, _SkyWaitAdapterService_renderer, _SkyWaitAdapterService_focusNextElement, _SkyWaitAdapterService_isShift, _SkyWaitAdapterService_isElementHidden, _SkyWaitAdapterService_isElementBusyOrHidden, _SkyWaitAdapterService_clearDocumentFocus, _SkyWaitAdapterService_getFocusableElements, _SkyWaitAdapterService_clearListeners;
1605
1615
  const busyElements = {};
1606
1616
  // Need to add the following to classes which contain static methods.
1607
1617
  // See: https://github.com/ng-packagr/ng-packagr/issues/641
@@ -1610,20 +1620,20 @@ const busyElements = {};
1610
1620
  * @dynamic
1611
1621
  */
1612
1622
  class SkyWaitAdapterService {
1623
+ static { this.isPageWaitActive = false; }
1624
+ #focusableElements;
1625
+ #renderer;
1613
1626
  constructor(rendererFactory) {
1614
- _SkyWaitAdapterService_instances.add(this);
1615
- _SkyWaitAdapterService_focusableElements.set(this, void 0);
1616
- _SkyWaitAdapterService_renderer.set(this, void 0);
1617
- __classPrivateFieldSet(this, _SkyWaitAdapterService_renderer, rendererFactory.createRenderer(undefined, null), "f");
1627
+ this.#renderer = rendererFactory.createRenderer(undefined, null);
1618
1628
  }
1619
1629
  ngOnDestroy() {
1620
- __classPrivateFieldGet(this, _SkyWaitAdapterService_instances, "m", _SkyWaitAdapterService_clearListeners).call(this);
1630
+ this.#clearListeners();
1621
1631
  }
1622
1632
  setWaitBounds(waitEl) {
1623
- __classPrivateFieldGet(this, _SkyWaitAdapterService_renderer, "f").setStyle(waitEl.nativeElement.parentElement, 'position', 'relative');
1633
+ this.#renderer.setStyle(waitEl.nativeElement.parentElement, 'position', 'relative');
1624
1634
  }
1625
1635
  removeWaitBounds(waitEl) {
1626
- __classPrivateFieldGet(this, _SkyWaitAdapterService_renderer, "f").removeStyle(waitEl.nativeElement.parentElement, 'position');
1636
+ this.#renderer.removeStyle(waitEl.nativeElement.parentElement, 'position');
1627
1637
  }
1628
1638
  setBusyState(waitEl, isFullPage, isWaiting, isNonBlocking, waitComponentId) {
1629
1639
  const busyEl = isFullPage
@@ -1633,18 +1643,18 @@ class SkyWaitAdapterService {
1633
1643
  if (isWaiting) {
1634
1644
  let restoreFocusElement = undefined;
1635
1645
  let restoreFocusCheckElement = undefined;
1636
- __classPrivateFieldGet(this, _SkyWaitAdapterService_renderer, "f").setAttribute(busyEl, 'aria-busy', 'true');
1646
+ this.#renderer.setAttribute(busyEl, 'aria-busy', 'true');
1637
1647
  // Remove focus from page when full page blocking wait
1638
1648
  if (isFullPage || busyEl.contains(document.activeElement)) {
1639
1649
  if (document.activeElement !== document.body) {
1640
1650
  restoreFocusElement = document.activeElement;
1641
1651
  }
1642
- __classPrivateFieldGet(this, _SkyWaitAdapterService_instances, "m", _SkyWaitAdapterService_clearDocumentFocus).call(this);
1652
+ this.#clearDocumentFocus();
1643
1653
  restoreFocusCheckElement = document.activeElement;
1644
1654
  }
1645
1655
  if (isFullPage) {
1646
1656
  SkyWaitAdapterService.isPageWaitActive = true;
1647
- const endListenerFunc = __classPrivateFieldGet(this, _SkyWaitAdapterService_renderer, "f").listen(document.body, 'keydown', (event) => {
1657
+ const endListenerFunc = this.#renderer.listen(document.body, 'keydown', (event) => {
1648
1658
  /*istanbul ignore else */
1649
1659
  if (event.key) {
1650
1660
  /* istanbul ignore else */
@@ -1653,7 +1663,7 @@ class SkyWaitAdapterService {
1653
1663
  event.preventDefault();
1654
1664
  event.stopPropagation();
1655
1665
  event.stopImmediatePropagation();
1656
- __classPrivateFieldGet(this, _SkyWaitAdapterService_instances, "m", _SkyWaitAdapterService_clearDocumentFocus).call(this);
1666
+ this.#clearDocumentFocus();
1657
1667
  }
1658
1668
  }
1659
1669
  });
@@ -1667,21 +1677,21 @@ class SkyWaitAdapterService {
1667
1677
  }
1668
1678
  }
1669
1679
  else {
1670
- const endListenerFunc = __classPrivateFieldGet(this, _SkyWaitAdapterService_renderer, "f").listen(busyEl, 'focusin', (event) => {
1680
+ const endListenerFunc = this.#renderer.listen(busyEl, 'focusin', (event) => {
1671
1681
  /* istanbul ignore else */
1672
1682
  if (!isNonBlocking) {
1673
1683
  event.preventDefault();
1674
1684
  event.stopPropagation();
1675
1685
  event.stopImmediatePropagation();
1676
1686
  if (SkyWaitAdapterService.isPageWaitActive) {
1677
- __classPrivateFieldGet(this, _SkyWaitAdapterService_instances, "m", _SkyWaitAdapterService_clearDocumentFocus).call(this);
1687
+ this.#clearDocumentFocus();
1678
1688
  }
1679
1689
  else {
1680
1690
  // Propagate tab navigation if attempted into waited element
1681
1691
  const target = event.target;
1682
1692
  if (target) {
1683
1693
  target.blur();
1684
- __classPrivateFieldGet(this, _SkyWaitAdapterService_instances, "m", _SkyWaitAdapterService_focusNextElement).call(this, target, __classPrivateFieldGet(this, _SkyWaitAdapterService_instances, "m", _SkyWaitAdapterService_isShift).call(this, event));
1694
+ this.#focusNextElement(target, this.#isShift(event));
1685
1695
  }
1686
1696
  }
1687
1697
  }
@@ -1697,7 +1707,7 @@ class SkyWaitAdapterService {
1697
1707
  }
1698
1708
  }
1699
1709
  else {
1700
- __classPrivateFieldGet(this, _SkyWaitAdapterService_renderer, "f").removeAttribute(busyEl, 'aria-busy');
1710
+ this.#renderer.removeAttribute(busyEl, 'aria-busy');
1701
1711
  if (isFullPage) {
1702
1712
  SkyWaitAdapterService.isPageWaitActive = false;
1703
1713
  }
@@ -1713,131 +1723,129 @@ class SkyWaitAdapterService {
1713
1723
  }
1714
1724
  }
1715
1725
  }
1716
- }
1717
- _SkyWaitAdapterService_focusableElements = new WeakMap(), _SkyWaitAdapterService_renderer = new WeakMap(), _SkyWaitAdapterService_instances = new WeakSet(), _SkyWaitAdapterService_focusNextElement = function _SkyWaitAdapterService_focusNextElement(targetElement, shiftKey) {
1718
- const focusable = __classPrivateFieldGet(this, _SkyWaitAdapterService_instances, "m", _SkyWaitAdapterService_getFocusableElements).call(this);
1719
- // If shift tab, go in the other direction
1720
- const modifier = shiftKey ? -1 : 1;
1721
- // Find the next navigable element that isn't waiting
1722
- const startingIndex = focusable.indexOf(targetElement);
1723
- let curIndex = startingIndex + modifier;
1724
- while (focusable[curIndex] &&
1725
- __classPrivateFieldGet(this, _SkyWaitAdapterService_instances, "m", _SkyWaitAdapterService_isElementBusyOrHidden).call(this, focusable[curIndex])) {
1726
- curIndex += modifier;
1727
- }
1728
- if (focusable[curIndex] &&
1729
- !__classPrivateFieldGet(this, _SkyWaitAdapterService_instances, "m", _SkyWaitAdapterService_isElementBusyOrHidden).call(this, focusable[curIndex])) {
1730
- focusable[curIndex].focus();
1731
- }
1732
- else {
1733
- // Try wrapping the navigation
1734
- /* istanbul ignore next */
1735
- /* sanity check */
1736
- curIndex = modifier > 0 ? 0 : focusable.length - 1;
1737
- while (curIndex !== startingIndex &&
1738
- focusable[curIndex] &&
1739
- __classPrivateFieldGet(this, _SkyWaitAdapterService_instances, "m", _SkyWaitAdapterService_isElementBusyOrHidden).call(this, focusable[curIndex])) {
1740
- /* istanbul ignore next */
1741
- /* sanity check */
1726
+ #focusNextElement(targetElement, shiftKey) {
1727
+ const focusable = this.#getFocusableElements();
1728
+ // If shift tab, go in the other direction
1729
+ const modifier = shiftKey ? -1 : 1;
1730
+ // Find the next navigable element that isn't waiting
1731
+ const startingIndex = focusable.indexOf(targetElement);
1732
+ let curIndex = startingIndex + modifier;
1733
+ while (focusable[curIndex] &&
1734
+ this.#isElementBusyOrHidden(focusable[curIndex])) {
1742
1735
  curIndex += modifier;
1743
1736
  }
1744
- /* istanbul ignore else */
1745
- /* sanity check */
1746
1737
  if (focusable[curIndex] &&
1747
- !__classPrivateFieldGet(this, _SkyWaitAdapterService_instances, "m", _SkyWaitAdapterService_isElementBusyOrHidden).call(this, focusable[curIndex])) {
1738
+ !this.#isElementBusyOrHidden(focusable[curIndex])) {
1748
1739
  focusable[curIndex].focus();
1749
1740
  }
1750
1741
  else {
1751
- // No valid target, wipe focus
1752
- __classPrivateFieldGet(this, _SkyWaitAdapterService_instances, "m", _SkyWaitAdapterService_clearDocumentFocus).call(this);
1753
- }
1754
- }
1755
- // clear focusableElements list
1756
- __classPrivateFieldSet(this, _SkyWaitAdapterService_focusableElements, undefined, "f");
1757
- }, _SkyWaitAdapterService_isShift = function _SkyWaitAdapterService_isShift(event) {
1758
- // Determine if shift+tab was used based on element order
1759
- const elements = __classPrivateFieldGet(this, _SkyWaitAdapterService_instances, "m", _SkyWaitAdapterService_getFocusableElements).call(this).filter((elem) => !__classPrivateFieldGet(this, _SkyWaitAdapterService_instances, "m", _SkyWaitAdapterService_isElementHidden).call(this, elem));
1760
- const previousInd = elements.indexOf(event.relatedTarget);
1761
- const currentInd = elements.indexOf(event.target);
1762
- return (previousInd === currentInd + 1 ||
1763
- (previousInd === 0 && currentInd === elements.length - 1) ||
1764
- previousInd > currentInd ||
1765
- !event.relatedTarget);
1766
- }, _SkyWaitAdapterService_isElementHidden = function _SkyWaitAdapterService_isElementHidden(element) {
1767
- const style = window.getComputedStyle(element);
1768
- return style.display === 'none' || style.visibility === 'hidden';
1769
- }, _SkyWaitAdapterService_isElementBusyOrHidden = function _SkyWaitAdapterService_isElementBusyOrHidden(element) {
1770
- if (__classPrivateFieldGet(this, _SkyWaitAdapterService_instances, "m", _SkyWaitAdapterService_isElementHidden).call(this, element)) {
1771
- return true;
1772
- }
1773
- for (const key of Object.keys(busyElements)) {
1774
- const parentElement = busyElements[key].busyEl;
1775
- if (parentElement && parentElement.contains(element)) {
1742
+ // Try wrapping the navigation
1743
+ /* istanbul ignore next */
1744
+ /* sanity check */
1745
+ curIndex = modifier > 0 ? 0 : focusable.length - 1;
1746
+ while (curIndex !== startingIndex &&
1747
+ focusable[curIndex] &&
1748
+ this.#isElementBusyOrHidden(focusable[curIndex])) {
1749
+ /* istanbul ignore next */
1750
+ /* sanity check */
1751
+ curIndex += modifier;
1752
+ }
1753
+ /* istanbul ignore else */
1754
+ /* sanity check */
1755
+ if (focusable[curIndex] &&
1756
+ !this.#isElementBusyOrHidden(focusable[curIndex])) {
1757
+ focusable[curIndex].focus();
1758
+ }
1759
+ else {
1760
+ // No valid target, wipe focus
1761
+ this.#clearDocumentFocus();
1762
+ }
1763
+ }
1764
+ // clear focusableElements list
1765
+ this.#focusableElements = undefined;
1766
+ }
1767
+ #isShift(event) {
1768
+ // Determine if shift+tab was used based on element order
1769
+ const elements = this.#getFocusableElements().filter((elem) => !this.#isElementHidden(elem));
1770
+ const previousInd = elements.indexOf(event.relatedTarget);
1771
+ const currentInd = elements.indexOf(event.target);
1772
+ return (previousInd === currentInd + 1 ||
1773
+ (previousInd === 0 && currentInd === elements.length - 1) ||
1774
+ previousInd > currentInd ||
1775
+ !event.relatedTarget);
1776
+ }
1777
+ #isElementHidden(element) {
1778
+ const style = window.getComputedStyle(element);
1779
+ return style.display === 'none' || style.visibility === 'hidden';
1780
+ }
1781
+ #isElementBusyOrHidden(element) {
1782
+ if (this.#isElementHidden(element)) {
1776
1783
  return true;
1777
1784
  }
1785
+ for (const key of Object.keys(busyElements)) {
1786
+ const parentElement = busyElements[key].busyEl;
1787
+ if (parentElement && parentElement.contains(element)) {
1788
+ return true;
1789
+ }
1790
+ }
1791
+ return false;
1778
1792
  }
1779
- return false;
1780
- }, _SkyWaitAdapterService_clearDocumentFocus = function _SkyWaitAdapterService_clearDocumentFocus() {
1781
- const activeElement = document.activeElement;
1782
- /* istanbul ignore else */
1783
- if (activeElement) {
1784
- activeElement.blur();
1785
- }
1786
- document.body.focus();
1787
- }, _SkyWaitAdapterService_getFocusableElements = function _SkyWaitAdapterService_getFocusableElements() {
1788
- // Keep this cached so we can reduce queries
1789
- if (__classPrivateFieldGet(this, _SkyWaitAdapterService_focusableElements, "f")) {
1790
- return __classPrivateFieldGet(this, _SkyWaitAdapterService_focusableElements, "f");
1791
- }
1792
- // Select all possible focusable elements
1793
- const focusableElements = 'a[href], ' +
1794
- 'area[href], ' +
1795
- "input:not([disabled]):not([tabindex='-1']), " +
1796
- "button:not([disabled]):not([tabindex='-1']), " +
1797
- "select:not([disabled]):not([tabindex='-1']), " +
1798
- "textarea:not([disabled]):not([tabindex='-1']), " +
1799
- 'iframe, object, embed, ' +
1800
- "*[tabindex]:not([tabindex='-1']), " +
1801
- '*[contenteditable=true]';
1802
- __classPrivateFieldSet(this, _SkyWaitAdapterService_focusableElements, Array.prototype.filter.call(document.body.querySelectorAll(focusableElements), (element) => {
1803
- return (element.offsetWidth > 0 ||
1804
- element.offsetHeight > 0 ||
1805
- element === document.activeElement);
1806
- }), "f");
1807
- return __classPrivateFieldGet(this, _SkyWaitAdapterService_focusableElements, "f");
1808
- }, _SkyWaitAdapterService_clearListeners = function _SkyWaitAdapterService_clearListeners() {
1809
- SkyWaitAdapterService.isPageWaitActive = false;
1810
- for (const key of Object.keys(busyElements)) {
1811
- busyElements[key].listener();
1812
- delete busyElements[key];
1793
+ #clearDocumentFocus() {
1794
+ const activeElement = document.activeElement;
1795
+ /* istanbul ignore else */
1796
+ if (activeElement) {
1797
+ activeElement.blur();
1798
+ }
1799
+ document.body.focus();
1813
1800
  }
1814
- };
1815
- SkyWaitAdapterService.isPageWaitActive = false;
1816
- SkyWaitAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyWaitAdapterService, deps: [{ token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
1817
- SkyWaitAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyWaitAdapterService });
1818
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyWaitAdapterService, decorators: [{
1801
+ #getFocusableElements() {
1802
+ // Keep this cached so we can reduce queries
1803
+ if (this.#focusableElements) {
1804
+ return this.#focusableElements;
1805
+ }
1806
+ // Select all possible focusable elements
1807
+ const focusableElements = 'a[href], ' +
1808
+ 'area[href], ' +
1809
+ "input:not([disabled]):not([tabindex='-1']), " +
1810
+ "button:not([disabled]):not([tabindex='-1']), " +
1811
+ "select:not([disabled]):not([tabindex='-1']), " +
1812
+ "textarea:not([disabled]):not([tabindex='-1']), " +
1813
+ 'iframe, object, embed, ' +
1814
+ "*[tabindex]:not([tabindex='-1']), " +
1815
+ '*[contenteditable=true]';
1816
+ this.#focusableElements = Array.prototype.filter.call(document.body.querySelectorAll(focusableElements), (element) => {
1817
+ return (element.offsetWidth > 0 ||
1818
+ element.offsetHeight > 0 ||
1819
+ element === document.activeElement);
1820
+ });
1821
+ return this.#focusableElements;
1822
+ }
1823
+ #clearListeners() {
1824
+ SkyWaitAdapterService.isPageWaitActive = false;
1825
+ for (const key of Object.keys(busyElements)) {
1826
+ busyElements[key].listener();
1827
+ delete busyElements[key];
1828
+ }
1829
+ }
1830
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitAdapterService, deps: [{ token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable }); }
1831
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitAdapterService }); }
1832
+ }
1833
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitAdapterService, decorators: [{
1819
1834
  type: Injectable
1820
1835
  }], ctorParameters: function () { return [{ type: i0.RendererFactory2 }]; } });
1821
1836
 
1822
- var _SkyWaitComponent_instances, _SkyWaitComponent_customAriaLabel, _SkyWaitComponent_customScreenReaderCompletedText, _SkyWaitComponent_id, _SkyWaitComponent_elRef, _SkyWaitComponent_adapterService, _SkyWaitComponent_liveAnnouncer, _SkyWaitComponent_resourceSvc, _SkyWaitComponent_ngUnsubscribe, _SkyWaitComponent__isFullPage, _SkyWaitComponent__isNonBlocking, _SkyWaitComponent__isWaiting, _SkyWaitComponent_publishAriaLabel, _SkyWaitComponent_publishScreenReaderCompletedText;
1823
1837
  let nextId = 0;
1824
1838
  class SkyWaitComponent {
1825
1839
  constructor() {
1826
- _SkyWaitComponent_instances.add(this);
1827
1840
  this.ariaLabelStream = new BehaviorSubject('');
1828
1841
  this.ariaLiveText = '';
1829
1842
  this.screenReaderCompletedTextStream = new BehaviorSubject('');
1830
- _SkyWaitComponent_customAriaLabel.set(this, void 0);
1831
- _SkyWaitComponent_customScreenReaderCompletedText.set(this, void 0);
1832
- _SkyWaitComponent_id.set(this, `sky-wait-${++nextId}`);
1833
- _SkyWaitComponent_elRef.set(this, inject(ElementRef));
1834
- _SkyWaitComponent_adapterService.set(this, inject(SkyWaitAdapterService));
1835
- _SkyWaitComponent_liveAnnouncer.set(this, inject(SkyLiveAnnouncerService));
1836
- _SkyWaitComponent_resourceSvc.set(this, inject(SkyLibResourcesService));
1837
- _SkyWaitComponent_ngUnsubscribe.set(this, new Subject());
1838
- _SkyWaitComponent__isFullPage.set(this, void 0);
1839
- _SkyWaitComponent__isNonBlocking.set(this, void 0);
1840
- _SkyWaitComponent__isWaiting.set(this, void 0);
1843
+ this.#id = `sky-wait-${++nextId}`;
1844
+ this.#elRef = inject(ElementRef);
1845
+ this.#adapterService = inject(SkyWaitAdapterService);
1846
+ this.#liveAnnouncer = inject(SkyLiveAnnouncerService);
1847
+ this.#resourceSvc = inject(SkyLibResourcesService);
1848
+ this.#ngUnsubscribe = new Subject();
1841
1849
  }
1842
1850
  /**
1843
1851
  * The ARIA label for the wait icon.
@@ -1848,8 +1856,8 @@ class SkyWaitComponent {
1848
1856
  * "For more information, see the Design tab and the [WAI-ARIA `aria-label` definition](https://www.w3.org/TR/wai-aria/#aria-label).
1849
1857
  */
1850
1858
  set ariaLabel(value) {
1851
- __classPrivateFieldSet(this, _SkyWaitComponent_customAriaLabel, value, "f");
1852
- __classPrivateFieldGet(this, _SkyWaitComponent_instances, "m", _SkyWaitComponent_publishAriaLabel).call(this);
1859
+ this.#customAriaLabel = value;
1860
+ this.#publishAriaLabel();
1853
1861
  }
1854
1862
  /**
1855
1863
  * When set to `true`, wait indication appears on the parent element of the `sky-wait` component.
@@ -1857,24 +1865,24 @@ class SkyWaitComponent {
1857
1865
  set isWaiting(value) {
1858
1866
  if (!this.isFullPage) {
1859
1867
  if (value) {
1860
- __classPrivateFieldGet(this, _SkyWaitComponent_adapterService, "f").setWaitBounds(__classPrivateFieldGet(this, _SkyWaitComponent_elRef, "f"));
1868
+ this.#adapterService.setWaitBounds(this.#elRef);
1861
1869
  }
1862
1870
  else {
1863
- __classPrivateFieldGet(this, _SkyWaitComponent_adapterService, "f").removeWaitBounds(__classPrivateFieldGet(this, _SkyWaitComponent_elRef, "f"));
1871
+ this.#adapterService.removeWaitBounds(this.#elRef);
1864
1872
  }
1865
1873
  }
1866
- __classPrivateFieldGet(this, _SkyWaitComponent_adapterService, "f").setBusyState(__classPrivateFieldGet(this, _SkyWaitComponent_elRef, "f"), !!this.isFullPage, !!value, !!this.isNonBlocking, __classPrivateFieldGet(this, _SkyWaitComponent_id, "f"));
1874
+ this.#adapterService.setBusyState(this.#elRef, !!this.isFullPage, !!value, !!this.isNonBlocking, this.#id);
1867
1875
  if (value) {
1868
- __classPrivateFieldGet(this, _SkyWaitComponent_liveAnnouncer, "f").announce(this.ariaLabelStream.getValue());
1876
+ this.#liveAnnouncer.announce(this.ariaLabelStream.getValue());
1869
1877
  }
1870
- else if (__classPrivateFieldGet(this, _SkyWaitComponent__isWaiting, "f")) {
1878
+ else if (this.#_isWaiting) {
1871
1879
  // NOTE: This should only happen if the wait was previously waiting and no longer is waiting.
1872
- __classPrivateFieldGet(this, _SkyWaitComponent_liveAnnouncer, "f").announce(this.screenReaderCompletedTextStream.getValue());
1880
+ this.#liveAnnouncer.announce(this.screenReaderCompletedTextStream.getValue());
1873
1881
  }
1874
- __classPrivateFieldSet(this, _SkyWaitComponent__isWaiting, value, "f");
1882
+ this.#_isWaiting = value;
1875
1883
  }
1876
1884
  get isWaiting() {
1877
- return __classPrivateFieldGet(this, _SkyWaitComponent__isWaiting, "f");
1885
+ return this.#_isWaiting;
1878
1886
  }
1879
1887
  /**
1880
1888
  * When set to `true`, wait indication appears on the page level instead of the
@@ -1886,17 +1894,17 @@ class SkyWaitComponent {
1886
1894
  set isFullPage(value) {
1887
1895
  /* istanbul ignore else: untestable */
1888
1896
  if (value) {
1889
- __classPrivateFieldGet(this, _SkyWaitComponent_adapterService, "f").removeWaitBounds(__classPrivateFieldGet(this, _SkyWaitComponent_elRef, "f"));
1897
+ this.#adapterService.removeWaitBounds(this.#elRef);
1890
1898
  }
1891
1899
  else if (this.isWaiting) {
1892
- __classPrivateFieldGet(this, _SkyWaitComponent_adapterService, "f").setWaitBounds(__classPrivateFieldGet(this, _SkyWaitComponent_elRef, "f"));
1900
+ this.#adapterService.setWaitBounds(this.#elRef);
1893
1901
  }
1894
- __classPrivateFieldSet(this, _SkyWaitComponent__isFullPage, value, "f");
1895
- __classPrivateFieldGet(this, _SkyWaitComponent_instances, "m", _SkyWaitComponent_publishAriaLabel).call(this);
1896
- __classPrivateFieldGet(this, _SkyWaitComponent_instances, "m", _SkyWaitComponent_publishScreenReaderCompletedText).call(this);
1902
+ this.#_isFullPage = value;
1903
+ this.#publishAriaLabel();
1904
+ this.#publishScreenReaderCompletedText();
1897
1905
  }
1898
1906
  get isFullPage() {
1899
- return __classPrivateFieldGet(this, _SkyWaitComponent__isFullPage, "f");
1907
+ return this.#_isFullPage;
1900
1908
  }
1901
1909
  /**
1902
1910
  * When set to `true`, wait indication appears in the bottom left corner of the element
@@ -1904,11 +1912,11 @@ class SkyWaitComponent {
1904
1912
  * @default false
1905
1913
  */
1906
1914
  set isNonBlocking(value) {
1907
- __classPrivateFieldSet(this, _SkyWaitComponent__isNonBlocking, value, "f");
1908
- __classPrivateFieldGet(this, _SkyWaitComponent_instances, "m", _SkyWaitComponent_publishAriaLabel).call(this);
1915
+ this.#_isNonBlocking = value;
1916
+ this.#publishAriaLabel();
1909
1917
  }
1910
1918
  get isNonBlocking() {
1911
- return __classPrivateFieldGet(this, _SkyWaitComponent__isNonBlocking, "f");
1919
+ return this.#_isNonBlocking;
1912
1920
  }
1913
1921
  /**
1914
1922
  * Screen reader text [to support accessibility](https://developer.blackbaud.com/skyux/learn/accessibility) when the wait toggles off.
@@ -1918,51 +1926,63 @@ class SkyWaitComponent {
1918
1926
  * For more information, see the Design tab and the [WCAG documentation on status messages](https://www.w3.org/WAI/WCAG21/Understanding/status-messages.html).
1919
1927
  */
1920
1928
  set screenReaderCompletedText(value) {
1921
- __classPrivateFieldSet(this, _SkyWaitComponent_customScreenReaderCompletedText, value, "f");
1922
- __classPrivateFieldGet(this, _SkyWaitComponent_instances, "m", _SkyWaitComponent_publishScreenReaderCompletedText).call(this);
1923
- }
1929
+ this.#customScreenReaderCompletedText = value;
1930
+ this.#publishScreenReaderCompletedText();
1931
+ }
1932
+ #customAriaLabel;
1933
+ #customScreenReaderCompletedText;
1934
+ #id;
1935
+ #elRef;
1936
+ #adapterService;
1937
+ #liveAnnouncer;
1938
+ #resourceSvc;
1939
+ #ngUnsubscribe;
1940
+ #_isFullPage;
1941
+ #_isNonBlocking;
1942
+ #_isWaiting;
1924
1943
  ngOnInit() {
1925
- __classPrivateFieldGet(this, _SkyWaitComponent_instances, "m", _SkyWaitComponent_publishAriaLabel).call(this);
1926
- __classPrivateFieldGet(this, _SkyWaitComponent_instances, "m", _SkyWaitComponent_publishScreenReaderCompletedText).call(this);
1944
+ this.#publishAriaLabel();
1945
+ this.#publishScreenReaderCompletedText();
1927
1946
  }
1928
1947
  ngOnDestroy() {
1929
- __classPrivateFieldGet(this, _SkyWaitComponent_ngUnsubscribe, "f").next();
1930
- __classPrivateFieldGet(this, _SkyWaitComponent_ngUnsubscribe, "f").complete();
1948
+ this.#ngUnsubscribe.next();
1949
+ this.#ngUnsubscribe.complete();
1931
1950
  }
1932
- }
1933
- _SkyWaitComponent_customAriaLabel = new WeakMap(), _SkyWaitComponent_customScreenReaderCompletedText = new WeakMap(), _SkyWaitComponent_id = new WeakMap(), _SkyWaitComponent_elRef = new WeakMap(), _SkyWaitComponent_adapterService = new WeakMap(), _SkyWaitComponent_liveAnnouncer = new WeakMap(), _SkyWaitComponent_resourceSvc = new WeakMap(), _SkyWaitComponent_ngUnsubscribe = new WeakMap(), _SkyWaitComponent__isFullPage = new WeakMap(), _SkyWaitComponent__isNonBlocking = new WeakMap(), _SkyWaitComponent__isWaiting = new WeakMap(), _SkyWaitComponent_instances = new WeakSet(), _SkyWaitComponent_publishAriaLabel = function _SkyWaitComponent_publishAriaLabel() {
1934
- if (__classPrivateFieldGet(this, _SkyWaitComponent_customAriaLabel, "f")) {
1935
- this.ariaLabelStream.next(__classPrivateFieldGet(this, _SkyWaitComponent_customAriaLabel, "f"));
1936
- }
1937
- else {
1938
- const type = this.isFullPage ? '_page' : '';
1939
- const blocking = this.isNonBlocking ? '' : '_blocking';
1940
- const key = `skyux_wait${type}${blocking}_aria_alt_text`;
1941
- __classPrivateFieldGet(this, _SkyWaitComponent_resourceSvc, "f")
1942
- .getString(key)
1943
- .pipe(take(1), takeUntil(__classPrivateFieldGet(this, _SkyWaitComponent_ngUnsubscribe, "f")))
1944
- .subscribe((value) => {
1945
- this.ariaLabelStream.next(value);
1946
- });
1951
+ #publishAriaLabel() {
1952
+ if (this.#customAriaLabel) {
1953
+ this.ariaLabelStream.next(this.#customAriaLabel);
1954
+ }
1955
+ else {
1956
+ const type = this.isFullPage ? '_page' : '';
1957
+ const blocking = this.isNonBlocking ? '' : '_blocking';
1958
+ const key = `skyux_wait${type}${blocking}_aria_alt_text`;
1959
+ this.#resourceSvc
1960
+ .getString(key)
1961
+ .pipe(take(1), takeUntil(this.#ngUnsubscribe))
1962
+ .subscribe((value) => {
1963
+ this.ariaLabelStream.next(value);
1964
+ });
1965
+ }
1947
1966
  }
1948
- }, _SkyWaitComponent_publishScreenReaderCompletedText = function _SkyWaitComponent_publishScreenReaderCompletedText() {
1949
- if (__classPrivateFieldGet(this, _SkyWaitComponent_customScreenReaderCompletedText, "f")) {
1950
- this.screenReaderCompletedTextStream.next(__classPrivateFieldGet(this, _SkyWaitComponent_customScreenReaderCompletedText, "f"));
1951
- }
1952
- else {
1953
- const type = this.isFullPage ? '_page' : '';
1954
- const key = `skyux_wait${type}_screen_reader_completed_text`;
1955
- __classPrivateFieldGet(this, _SkyWaitComponent_resourceSvc, "f")
1956
- .getString(key)
1957
- .pipe(take(1), takeUntil(__classPrivateFieldGet(this, _SkyWaitComponent_ngUnsubscribe, "f")))
1958
- .subscribe((value) => {
1959
- this.screenReaderCompletedTextStream.next(value);
1960
- });
1967
+ #publishScreenReaderCompletedText() {
1968
+ if (this.#customScreenReaderCompletedText) {
1969
+ this.screenReaderCompletedTextStream.next(this.#customScreenReaderCompletedText);
1970
+ }
1971
+ else {
1972
+ const type = this.isFullPage ? '_page' : '';
1973
+ const key = `skyux_wait${type}_screen_reader_completed_text`;
1974
+ this.#resourceSvc
1975
+ .getString(key)
1976
+ .pipe(take(1), takeUntil(this.#ngUnsubscribe))
1977
+ .subscribe((value) => {
1978
+ this.screenReaderCompletedTextStream.next(value);
1979
+ });
1980
+ }
1961
1981
  }
1962
- };
1963
- SkyWaitComponentfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyWaitComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1964
- SkyWaitComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyWaitComponent, selector: "sky-wait", inputs: { ariaLabel: "ariaLabel", isWaiting: "isWaiting", isFullPage: "isFullPage", isNonBlocking: "isNonBlocking", screenReaderCompletedText: "screenReaderCompletedText" }, providers: [SkyWaitAdapterService], ngImport: i0, template: "<div\n class=\"sky-wait-container\"\n [ngClass]=\"{\n 'sky-wait-full-page': isFullPage,\n 'sky-wait-non-blocking': isNonBlocking\n }\"\n>\n <div\n *ngIf=\"isWaiting\"\n class=\"sky-wait-mask\"\n role=\"progressbar\"\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 class=\"sky-wait\">\n <div class=\"sky-wait-double-bounce1\"></div>\n <div class=\"sky-wait-double-bounce2\"></div>\n </div>\n </div>\n</div>\n", styles: [".sky-wait-mask-loading-blocking{margin:auto;position:absolute;inset: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{inset:auto auto 0 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;animation:sk-bounce 2s infinite ease-in-out}.sky-wait-double-bounce2{animation-delay:-1s}@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"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] });
1965
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyWaitComponent, decorators: [{
1982
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1983
+ static { thiscmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: SkyWaitComponent, selector: "sky-wait", inputs: { ariaLabel: "ariaLabel", isWaiting: "isWaiting", isFullPage: "isFullPage", isNonBlocking: "isNonBlocking", screenReaderCompletedText: "screenReaderCompletedText" }, providers: [SkyWaitAdapterService], ngImport: i0, template: "<div\n class=\"sky-wait-container\"\n [ngClass]=\"{\n 'sky-wait-full-page': isFullPage,\n 'sky-wait-non-blocking': isNonBlocking\n }\"\n>\n <div\n *ngIf=\"isWaiting\"\n class=\"sky-wait-mask\"\n role=\"progressbar\"\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 class=\"sky-wait\">\n <div class=\"sky-wait-double-bounce1\"></div>\n <div class=\"sky-wait-double-bounce2\"></div>\n </div>\n </div>\n</div>\n", styles: [".sky-wait-mask-loading-blocking{margin:auto;position:absolute;inset: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{inset:auto auto 0 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;animation:sk-bounce 2s infinite ease-in-out}.sky-wait-double-bounce2{animation-delay:-1s}@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"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
1984
+ }
1985
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitComponent, decorators: [{
1966
1986
  type: Component,
1967
1987
  args: [{ selector: 'sky-wait', providers: [SkyWaitAdapterService], template: "<div\n class=\"sky-wait-container\"\n [ngClass]=\"{\n 'sky-wait-full-page': isFullPage,\n 'sky-wait-non-blocking': isNonBlocking\n }\"\n>\n <div\n *ngIf=\"isWaiting\"\n class=\"sky-wait-mask\"\n role=\"progressbar\"\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 class=\"sky-wait\">\n <div class=\"sky-wait-double-bounce1\"></div>\n <div class=\"sky-wait-double-bounce2\"></div>\n </div>\n </div>\n</div>\n", styles: [".sky-wait-mask-loading-blocking{margin:auto;position:absolute;inset: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{inset:auto auto 0 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;animation:sk-bounce 2s infinite ease-in-out}.sky-wait-double-bounce2{animation-delay:-1s}@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"] }]
1968
1988
  }], propDecorators: { ariaLabel: [{
@@ -1981,10 +2001,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1981
2001
  * @internal
1982
2002
  */
1983
2003
  class SkyWaitPageComponent {
2004
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2005
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: SkyWaitPageComponent, selector: "sky-wait-page", inputs: { hasBlockingWait: "hasBlockingWait", hasNonBlockingWait: "hasNonBlockingWait" }, ngImport: i0, template: "<div class=\"sky-wait-page\">\n <sky-wait\n data-sky-id=\"page-wait-non-blocking\"\n [isFullPage]=\"true\"\n [isNonBlocking]=\"true\"\n [isWaiting]=\"hasNonBlockingWait\"\n >\n </sky-wait>\n <sky-wait\n data-sky-id=\"page-wait-blocking\"\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"], dependencies: [{ kind: "component", type: SkyWaitComponent, selector: "sky-wait", inputs: ["ariaLabel", "isWaiting", "isFullPage", "isNonBlocking", "screenReaderCompletedText"] }] }); }
1984
2006
  }
1985
- SkyWaitPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyWaitPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1986
- SkyWaitPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyWaitPageComponent, selector: "sky-wait-page", inputs: { hasBlockingWait: "hasBlockingWait", hasNonBlockingWait: "hasNonBlockingWait" }, ngImport: i0, template: "<div class=\"sky-wait-page\">\n <sky-wait\n data-sky-id=\"page-wait-non-blocking\"\n [isFullPage]=\"true\"\n [isNonBlocking]=\"true\"\n [isWaiting]=\"hasNonBlockingWait\"\n >\n </sky-wait>\n <sky-wait\n data-sky-id=\"page-wait-blocking\"\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"], dependencies: [{ kind: "component", type: SkyWaitComponent, selector: "sky-wait", inputs: ["ariaLabel", "isWaiting", "isFullPage", "isNonBlocking", "screenReaderCompletedText"] }] });
1987
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyWaitPageComponent, decorators: [{
2007
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitPageComponent, decorators: [{
1988
2008
  type: Component,
1989
2009
  args: [{ selector: 'sky-wait-page', template: "<div class=\"sky-wait-page\">\n <sky-wait\n data-sky-id=\"page-wait-non-blocking\"\n [isFullPage]=\"true\"\n [isNonBlocking]=\"true\"\n [isWaiting]=\"hasNonBlockingWait\"\n >\n </sky-wait>\n <sky-wait\n data-sky-id=\"page-wait-blocking\"\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"] }]
1990
2010
  }], propDecorators: { hasBlockingWait: [{
@@ -1994,11 +2014,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1994
2014
  }] } });
1995
2015
 
1996
2016
  class SkyWaitModule {
2017
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2018
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitModule, declarations: [SkyWaitComponent, SkyWaitPageComponent], imports: [CommonModule, SkyI18nModule, SkyIndicatorsResourcesModule], exports: [SkyWaitComponent] }); }
2019
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitModule, imports: [CommonModule, SkyI18nModule, SkyIndicatorsResourcesModule] }); }
1997
2020
  }
1998
- SkyWaitModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyWaitModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1999
- SkyWaitModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyWaitModule, declarations: [SkyWaitComponent, SkyWaitPageComponent], imports: [CommonModule, SkyI18nModule, SkyIndicatorsResourcesModule], exports: [SkyWaitComponent] });
2000
- SkyWaitModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyWaitModule, imports: [CommonModule, SkyI18nModule, SkyIndicatorsResourcesModule] });
2001
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyWaitModule, decorators: [{
2021
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitModule, decorators: [{
2002
2022
  type: NgModule,
2003
2023
  args: [{
2004
2024
  declarations: [SkyWaitComponent, SkyWaitPageComponent],
@@ -2007,7 +2027,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
2007
2027
  }]
2008
2028
  }] });
2009
2029
 
2010
- var _SkyWaitService_instances, _SkyWaitService_windowSvc, _SkyWaitService_dynamicComponentService, _SkyWaitService_setWaitComponentProperties, _SkyWaitService_beginPageWait, _SkyWaitService_endPageWait, _SkyWaitService_clearPageWait;
2011
2030
  let waitComponent;
2012
2031
  let waitComponentRef;
2013
2032
  let pageWaitBlockingCount = 0;
@@ -2016,43 +2035,40 @@ let pageWaitNonBlockingCount = 0;
2016
2035
  // See: https://github.com/ng-packagr/ng-packagr/issues/641
2017
2036
  // @dynamic
2018
2037
  class SkyWaitService {
2019
- constructor() {
2020
- _SkyWaitService_instances.add(this);
2021
- _SkyWaitService_windowSvc.set(this, inject(SkyAppWindowRef));
2022
- _SkyWaitService_dynamicComponentService.set(this, inject(SkyDynamicComponentService));
2023
- }
2038
+ #windowSvc = inject(SkyAppWindowRef);
2039
+ #dynamicComponentService = inject(SkyDynamicComponentService);
2024
2040
  /**
2025
2041
  * Starts a blocking page wait on the page.
2026
2042
  */
2027
2043
  beginBlockingPageWait() {
2028
- __classPrivateFieldGet(this, _SkyWaitService_instances, "m", _SkyWaitService_beginPageWait).call(this, true);
2044
+ this.#beginPageWait(true);
2029
2045
  }
2030
2046
  /**
2031
2047
  * Starts a non-blocking page wait on the page.
2032
2048
  */
2033
2049
  beginNonBlockingPageWait() {
2034
- __classPrivateFieldGet(this, _SkyWaitService_instances, "m", _SkyWaitService_beginPageWait).call(this, false);
2050
+ this.#beginPageWait(false);
2035
2051
  }
2036
2052
  /**
2037
2053
  * Ends a blocking page wait on the page. Blocking page wait indication
2038
2054
  * is removed when all running blocking page waits are ended.
2039
2055
  */
2040
2056
  endBlockingPageWait() {
2041
- __classPrivateFieldGet(this, _SkyWaitService_instances, "m", _SkyWaitService_endPageWait).call(this, true);
2057
+ this.#endPageWait(true);
2042
2058
  }
2043
2059
  /**
2044
2060
  * Ends a non-blocking page wait on the page. Non-blocking page wait indication
2045
2061
  * is removed when all running non-blocking page waits are ended.
2046
2062
  */
2047
2063
  endNonBlockingPageWait() {
2048
- __classPrivateFieldGet(this, _SkyWaitService_instances, "m", _SkyWaitService_endPageWait).call(this, false);
2064
+ this.#endPageWait(false);
2049
2065
  }
2050
2066
  /**
2051
2067
  * Clears all blocking and non-blocking page waits on the page.
2052
2068
  */
2053
2069
  clearAllPageWaits() {
2054
- __classPrivateFieldGet(this, _SkyWaitService_instances, "m", _SkyWaitService_clearPageWait).call(this, true);
2055
- __classPrivateFieldGet(this, _SkyWaitService_instances, "m", _SkyWaitService_clearPageWait).call(this, false);
2070
+ this.#clearPageWait(true);
2071
+ this.#clearPageWait(false);
2056
2072
  }
2057
2073
  /**
2058
2074
  * @internal
@@ -2062,7 +2078,7 @@ class SkyWaitService {
2062
2078
  waitComponent = undefined;
2063
2079
  pageWaitBlockingCount = 0;
2064
2080
  pageWaitNonBlockingCount = 0;
2065
- __classPrivateFieldGet(this, _SkyWaitService_dynamicComponentService, "f").removeComponent(waitComponentRef);
2081
+ this.#dynamicComponentService.removeComponent(waitComponentRef);
2066
2082
  }
2067
2083
  }
2068
2084
  /**
@@ -2084,77 +2100,80 @@ class SkyWaitService {
2084
2100
  return observable.pipe(finalize(() => this.endNonBlockingPageWait()));
2085
2101
  });
2086
2102
  }
2087
- }
2088
- _SkyWaitService_windowSvc = new WeakMap(), _SkyWaitService_dynamicComponentService = new WeakMap(), _SkyWaitService_instances = new WeakSet(), _SkyWaitService_setWaitComponentProperties = function _SkyWaitService_setWaitComponentProperties(isBlocking) {
2089
- if (waitComponent) {
2090
- if (isBlocking) {
2091
- waitComponent.hasBlockingWait = true;
2092
- pageWaitBlockingCount++;
2103
+ #setWaitComponentProperties(isBlocking) {
2104
+ if (waitComponent) {
2105
+ if (isBlocking) {
2106
+ waitComponent.hasBlockingWait = true;
2107
+ pageWaitBlockingCount++;
2108
+ }
2109
+ else {
2110
+ waitComponent.hasNonBlockingWait = true;
2111
+ pageWaitNonBlockingCount++;
2112
+ }
2113
+ }
2114
+ }
2115
+ #beginPageWait(isBlocking) {
2116
+ if (!waitComponent) {
2117
+ /*
2118
+ Dynamic component creation needs to be done in a timeout to prevent ApplicationRef from
2119
+ crashing when wait service is called in Angular lifecycle functions.
2120
+ */
2121
+ this.#windowSvc.nativeWindow.setTimeout(() => {
2122
+ // Ensuring here that we recheck this after the setTimeout is over so that we don't clash
2123
+ // with any other waits that are created.
2124
+ if (!waitComponent) {
2125
+ waitComponentRef = this.#dynamicComponentService.createComponent(SkyWaitPageComponent, { location: SkyDynamicComponentLocation.BodyBottom });
2126
+ waitComponent = waitComponentRef.instance;
2127
+ }
2128
+ this.#setWaitComponentProperties(isBlocking);
2129
+ });
2093
2130
  }
2094
2131
  else {
2095
- waitComponent.hasNonBlockingWait = true;
2096
- pageWaitNonBlockingCount++;
2132
+ this.#setWaitComponentProperties(isBlocking);
2097
2133
  }
2098
2134
  }
2099
- }, _SkyWaitService_beginPageWait = function _SkyWaitService_beginPageWait(isBlocking) {
2100
- if (!waitComponent) {
2135
+ #endPageWait(isBlocking) {
2101
2136
  /*
2102
- Dynamic component creation needs to be done in a timeout to prevent ApplicationRef from
2103
- crashing when wait service is called in Angular lifecycle functions.
2137
+ Needs to yield so that wait creation can finish
2138
+ before it is dismissed in the event of a race.
2104
2139
  */
2105
- __classPrivateFieldGet(this, _SkyWaitService_windowSvc, "f").nativeWindow.setTimeout(() => {
2106
- // Ensuring here that we recheck this after the setTimeout is over so that we don't clash
2107
- // with any other waits that are created.
2108
- if (!waitComponent) {
2109
- waitComponentRef = __classPrivateFieldGet(this, _SkyWaitService_dynamicComponentService, "f").createComponent(SkyWaitPageComponent, { location: SkyDynamicComponentLocation.BodyBottom });
2110
- waitComponent = waitComponentRef.instance;
2140
+ this.#windowSvc.nativeWindow.setTimeout(() => {
2141
+ if (waitComponent) {
2142
+ if (isBlocking) {
2143
+ if (pageWaitBlockingCount > 0) {
2144
+ pageWaitBlockingCount--;
2145
+ }
2146
+ if (pageWaitBlockingCount < 1) {
2147
+ waitComponent.hasBlockingWait = false;
2148
+ }
2149
+ }
2150
+ else {
2151
+ if (pageWaitNonBlockingCount > 0) {
2152
+ pageWaitNonBlockingCount--;
2153
+ }
2154
+ if (pageWaitNonBlockingCount < 1) {
2155
+ waitComponent.hasNonBlockingWait = false;
2156
+ }
2157
+ }
2111
2158
  }
2112
- __classPrivateFieldGet(this, _SkyWaitService_instances, "m", _SkyWaitService_setWaitComponentProperties).call(this, isBlocking);
2113
2159
  });
2114
2160
  }
2115
- else {
2116
- __classPrivateFieldGet(this, _SkyWaitService_instances, "m", _SkyWaitService_setWaitComponentProperties).call(this, isBlocking);
2117
- }
2118
- }, _SkyWaitService_endPageWait = function _SkyWaitService_endPageWait(isBlocking) {
2119
- /*
2120
- Needs to yield so that wait creation can finish
2121
- before it is dismissed in the event of a race.
2122
- */
2123
- __classPrivateFieldGet(this, _SkyWaitService_windowSvc, "f").nativeWindow.setTimeout(() => {
2161
+ #clearPageWait(isBlocking) {
2124
2162
  if (waitComponent) {
2125
2163
  if (isBlocking) {
2126
- if (pageWaitBlockingCount > 0) {
2127
- pageWaitBlockingCount--;
2128
- }
2129
- if (pageWaitBlockingCount < 1) {
2130
- waitComponent.hasBlockingWait = false;
2131
- }
2164
+ pageWaitBlockingCount = 0;
2165
+ waitComponent.hasBlockingWait = false;
2132
2166
  }
2133
2167
  else {
2134
- if (pageWaitNonBlockingCount > 0) {
2135
- pageWaitNonBlockingCount--;
2136
- }
2137
- if (pageWaitNonBlockingCount < 1) {
2138
- waitComponent.hasNonBlockingWait = false;
2139
- }
2168
+ pageWaitNonBlockingCount = 0;
2169
+ waitComponent.hasNonBlockingWait = false;
2140
2170
  }
2141
2171
  }
2142
- });
2143
- }, _SkyWaitService_clearPageWait = function _SkyWaitService_clearPageWait(isBlocking) {
2144
- if (waitComponent) {
2145
- if (isBlocking) {
2146
- pageWaitBlockingCount = 0;
2147
- waitComponent.hasBlockingWait = false;
2148
- }
2149
- else {
2150
- pageWaitNonBlockingCount = 0;
2151
- waitComponent.hasNonBlockingWait = false;
2152
- }
2153
2172
  }
2154
- };
2155
- SkyWaitServicefac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyWaitService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2156
- SkyWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyWaitService, providedIn: 'root' });
2157
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyWaitService, decorators: [{
2173
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2174
+ static { thisprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitService, providedIn: 'root' }); }
2175
+ }
2176
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyWaitService, decorators: [{
2158
2177
  type: Injectable,
2159
2178
  args: [{
2160
2179
  providedIn: 'root',