@skyux/indicators 5.0.0-beta.1 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/LICENSE +21 -0
  2. package/bundles/skyux-indicators-testing.umd.js +15 -11
  3. package/bundles/skyux-indicators-testing.umd.js.map +1 -1
  4. package/bundles/skyux-indicators.umd.js +1113 -858
  5. package/bundles/skyux-indicators.umd.js.map +1 -1
  6. package/documentation.json +6097 -0
  7. package/esm2015/modules/alert/alert.component.js +27 -24
  8. package/esm2015/modules/alert/alert.module.js +31 -18
  9. package/esm2015/modules/chevron/chevron.component.js +24 -24
  10. package/esm2015/modules/chevron/chevron.module.js +29 -18
  11. package/esm2015/modules/help-inline/help-inline.component.js +20 -15
  12. package/esm2015/modules/help-inline/help-inline.module.js +31 -18
  13. package/esm2015/modules/icon/icon-class-list.pipe.js +13 -14
  14. package/esm2015/modules/icon/icon-resolver.service.js +11 -15
  15. package/esm2015/modules/icon/icon-stack-item.js +2 -1
  16. package/esm2015/modules/icon/icon-stack.component.js +22 -21
  17. package/esm2015/modules/icon/icon.component.js +27 -28
  18. package/esm2015/modules/icon/icon.module.js +30 -20
  19. package/esm2015/modules/icon/types/icon-type.js +2 -1
  20. package/esm2015/modules/icon/types/icon-variant-type.js +2 -1
  21. package/esm2015/modules/key-info/key-info-label.component.js +13 -11
  22. package/esm2015/modules/key-info/key-info-value.component.js +13 -11
  23. package/esm2015/modules/key-info/key-info.component.js +17 -15
  24. package/esm2015/modules/key-info/key-info.module.js +30 -21
  25. package/esm2015/modules/label/label-type.js +2 -1
  26. package/esm2015/modules/label/label.component.js +19 -15
  27. package/esm2015/modules/label/label.module.js +24 -17
  28. package/esm2015/modules/shared/indicator-description-type.js +2 -1
  29. package/esm2015/modules/shared/indicator-icon-type.js +2 -1
  30. package/esm2015/modules/shared/indicator-icon-utility.js +1 -1
  31. package/esm2015/modules/shared/indicator-icon.js +2 -1
  32. package/esm2015/modules/shared/sky-indicators-resources.module.js +41 -0
  33. package/esm2015/modules/status-indicator/status-indicator.component.js +26 -28
  34. package/esm2015/modules/status-indicator/status-indicator.module.js +29 -18
  35. package/esm2015/modules/text-highlight/text-highlight.directive.js +25 -25
  36. package/esm2015/modules/text-highlight/text-highlight.module.js +23 -18
  37. package/esm2015/modules/tokens/token.component.js +32 -40
  38. package/esm2015/modules/tokens/tokens.component.js +86 -74
  39. package/esm2015/modules/tokens/tokens.module.js +33 -20
  40. package/esm2015/modules/tokens/types/token-selected-event-args.js +2 -1
  41. package/esm2015/modules/tokens/types/token.js +2 -1
  42. package/esm2015/modules/tokens/types/tokens-message-type.js +1 -1
  43. package/esm2015/modules/tokens/types/tokens-message.js +2 -1
  44. package/esm2015/modules/wait/wait-adapter.service.js +29 -27
  45. package/esm2015/modules/wait/wait-page-adapter.service.js +15 -12
  46. package/esm2015/modules/wait/wait-page.component.js +19 -18
  47. package/esm2015/modules/wait/wait.component.js +35 -36
  48. package/esm2015/modules/wait/wait.module.js +32 -23
  49. package/esm2015/modules/wait/wait.service.js +37 -46
  50. package/esm2015/public-api.js +36 -0
  51. package/esm2015/skyux-indicators.js +2 -23
  52. package/esm2015/testing/alert-fixture.js +1 -1
  53. package/esm2015/testing/label-fixture.js +1 -1
  54. package/esm2015/testing/public-api.js +4 -0
  55. package/esm2015/testing/skyux-indicators-testing.js +2 -2
  56. package/esm2015/testing/wait-fixture.js +1 -1
  57. package/fesm2015/skyux-indicators-testing.js.map +1 -1
  58. package/fesm2015/skyux-indicators.js +752 -616
  59. package/fesm2015/skyux-indicators.js.map +1 -1
  60. package/modules/alert/alert.component.d.ts +3 -0
  61. package/modules/alert/alert.module.d.ts +10 -0
  62. package/modules/chevron/chevron.component.d.ts +4 -1
  63. package/modules/chevron/chevron.module.d.ts +9 -0
  64. package/modules/help-inline/help-inline.component.d.ts +3 -0
  65. package/modules/help-inline/help-inline.module.d.ts +10 -0
  66. package/modules/icon/icon-class-list.pipe.d.ts +3 -0
  67. package/modules/icon/icon-resolver.service.d.ts +3 -0
  68. package/modules/icon/icon-stack.component.d.ts +3 -0
  69. package/modules/icon/icon.component.d.ts +3 -0
  70. package/modules/icon/icon.module.d.ts +9 -0
  71. package/modules/key-info/key-info-label.component.d.ts +3 -0
  72. package/modules/key-info/key-info-value.component.d.ts +3 -0
  73. package/modules/key-info/key-info.component.d.ts +3 -0
  74. package/modules/key-info/key-info.module.d.ts +8 -0
  75. package/modules/label/label.component.d.ts +3 -0
  76. package/modules/label/label.module.d.ts +7 -0
  77. package/modules/shared/sky-indicators-resources.module.d.ts +14 -0
  78. package/modules/status-indicator/status-indicator.component.d.ts +3 -0
  79. package/modules/status-indicator/status-indicator.module.d.ts +9 -0
  80. package/modules/text-highlight/text-highlight.directive.d.ts +3 -0
  81. package/modules/text-highlight/text-highlight.module.d.ts +5 -0
  82. package/modules/tokens/token.component.d.ts +4 -1
  83. package/modules/tokens/tokens.component.d.ts +3 -0
  84. package/modules/tokens/tokens.module.d.ts +10 -0
  85. package/modules/wait/wait-adapter.service.d.ts +3 -0
  86. package/modules/wait/wait-page-adapter.service.d.ts +3 -0
  87. package/modules/wait/wait-page.component.d.ts +3 -0
  88. package/modules/wait/wait.component.d.ts +3 -0
  89. package/modules/wait/wait.module.d.ts +9 -0
  90. package/modules/wait/wait.service.d.ts +3 -0
  91. package/package.json +12 -27
  92. package/public-api.d.ts +33 -0
  93. package/skyux-indicators.d.ts +2 -22
  94. package/testing/package.json +2 -5
  95. package/testing/{public_api.d.ts → public-api.d.ts} +0 -0
  96. package/testing/skyux-indicators-testing.d.ts +2 -1
  97. package/CHANGELOG.md +0 -203
  98. package/bundles/skyux-indicators-testing.umd.min.js +0 -2
  99. package/bundles/skyux-indicators-testing.umd.min.js.map +0 -1
  100. package/bundles/skyux-indicators.umd.min.js +0 -16
  101. package/bundles/skyux-indicators.umd.min.js.map +0 -1
  102. package/esm2015/modules/shared/indicators-resources.module.js +0 -17
  103. package/esm2015/plugin-resources/indicators-resources-provider.js +0 -16
  104. package/esm2015/public_api.js +0 -13
  105. package/esm2015/testing/public_api.js +0 -4
  106. package/esm5/modules/alert/alert.component.js +0 -62
  107. package/esm5/modules/alert/alert.module.js +0 -32
  108. package/esm5/modules/chevron/chevron.component.js +0 -35
  109. package/esm5/modules/chevron/chevron.module.js +0 -30
  110. package/esm5/modules/help-inline/help-inline.component.js +0 -26
  111. package/esm5/modules/help-inline/help-inline.module.js +0 -32
  112. package/esm5/modules/icon/icon-class-list.pipe.js +0 -39
  113. package/esm5/modules/icon/icon-resolver.service.js +0 -57
  114. package/esm5/modules/icon/icon-stack-item.js +0 -1
  115. package/esm5/modules/icon/icon-stack.component.js +0 -25
  116. package/esm5/modules/icon/icon.component.js +0 -38
  117. package/esm5/modules/icon/icon.module.js +0 -31
  118. package/esm5/modules/icon/types/icon-type.js +0 -1
  119. package/esm5/modules/icon/types/icon-variant-type.js +0 -1
  120. package/esm5/modules/key-info/key-info-label.component.js +0 -19
  121. package/esm5/modules/key-info/key-info-value.component.js +0 -19
  122. package/esm5/modules/key-info/key-info.component.js +0 -25
  123. package/esm5/modules/key-info/key-info.module.js +0 -30
  124. package/esm5/modules/label/label-type.js +0 -1
  125. package/esm5/modules/label/label.component.js +0 -41
  126. package/esm5/modules/label/label.module.js +0 -26
  127. package/esm5/modules/shared/indicator-description-type.js +0 -1
  128. package/esm5/modules/shared/indicator-icon-type.js +0 -1
  129. package/esm5/modules/shared/indicator-icon-utility.js +0 -45
  130. package/esm5/modules/shared/indicator-icon.js +0 -1
  131. package/esm5/modules/shared/indicators-resources.module.js +0 -20
  132. package/esm5/modules/status-indicator/status-indicator.component.js +0 -111
  133. package/esm5/modules/status-indicator/status-indicator.module.js +0 -30
  134. package/esm5/modules/text-highlight/text-highlight.directive.js +0 -134
  135. package/esm5/modules/text-highlight/text-highlight.module.js +0 -24
  136. package/esm5/modules/tokens/token.component.js +0 -134
  137. package/esm5/modules/tokens/tokens.component.js +0 -325
  138. package/esm5/modules/tokens/tokens.module.js +0 -33
  139. package/esm5/modules/tokens/types/token-selected-event-args.js +0 -1
  140. package/esm5/modules/tokens/types/token.js +0 -1
  141. package/esm5/modules/tokens/types/tokens-message-type.js +0 -24
  142. package/esm5/modules/tokens/types/tokens-message.js +0 -1
  143. package/esm5/modules/wait/wait-adapter.service.js +0 -219
  144. package/esm5/modules/wait/wait-page-adapter.service.js +0 -25
  145. package/esm5/modules/wait/wait-page.component.js +0 -25
  146. package/esm5/modules/wait/wait.component.js +0 -107
  147. package/esm5/modules/wait/wait.module.js +0 -34
  148. package/esm5/modules/wait/wait.service.js +0 -176
  149. package/esm5/plugin-resources/indicators-resources-provider.js +0 -17
  150. package/esm5/public_api.js +0 -13
  151. package/esm5/skyux-indicators.js +0 -26
  152. package/esm5/testing/alert-fixture.js +0 -85
  153. package/esm5/testing/label-fixture.js +0 -50
  154. package/esm5/testing/public_api.js +0 -4
  155. package/esm5/testing/skyux-indicators-testing.js +0 -5
  156. package/esm5/testing/wait-fixture.js +0 -42
  157. package/fesm5/skyux-indicators-testing.js +0 -178
  158. package/fesm5/skyux-indicators-testing.js.map +0 -1
  159. package/fesm5/skyux-indicators.js +0 -1892
  160. package/fesm5/skyux-indicators.js.map +0 -1
  161. package/modules/shared/indicators-resources.module.d.ts +0 -2
  162. package/plugin-resources/indicators-resources-provider.d.ts +0 -5
  163. package/public_api.d.ts +0 -19
  164. package/skyux-indicators.metadata.json +0 -1
  165. package/src/assets/img/guidelines/alert/alert-anatomy.png +0 -0
  166. package/src/assets/img/guidelines/alert/alert-layout-1.png +0 -0
  167. package/src/assets/img/guidelines/alert/alert-layout-2.png +0 -0
  168. package/src/assets/img/guidelines/alert/alert-layout-3.png +0 -0
  169. package/src/assets/img/guidelines/alert/alert-option-1.png +0 -0
  170. package/src/assets/img/guidelines/alert/alert-type-1.png +0 -0
  171. package/src/assets/img/guidelines/alert/alert-type-2.png +0 -0
  172. package/src/assets/img/guidelines/alert/alert-type-3.png +0 -0
  173. package/src/assets/img/guidelines/alert/alert-type-4.png +0 -0
  174. package/src/assets/img/guidelines/alert/alert-usage-1.png +0 -0
  175. package/src/assets/img/guidelines/alert/alert-usage-2.png +0 -0
  176. package/src/assets/img/guidelines/alert/alert-usage-3.png +0 -0
  177. package/src/assets/img/guidelines/alert/alert-usage-4.png +0 -0
  178. package/src/assets/img/guidelines/alert/alert-usage-5.png +0 -0
  179. package/src/assets/img/guidelines/alert/alert-usage-6.png +0 -0
  180. package/src/assets/img/guidelines/key-info/horizontal-layout.png +0 -0
  181. package/src/assets/img/guidelines/key-info/key-info-anatomy.png +0 -0
  182. package/src/assets/img/guidelines/key-info/key-info-usage-1.png +0 -0
  183. package/src/assets/img/guidelines/key-info/key-info-usage-2.png +0 -0
  184. package/src/assets/img/guidelines/key-info/key-info-usage-3.png +0 -0
  185. package/src/assets/img/guidelines/key-info/key-info-usage-4.png +0 -0
  186. package/src/assets/img/guidelines/key-info/key-info-usage-5.png +0 -0
  187. package/src/assets/img/guidelines/key-info/key-info-usage-6.png +0 -0
  188. package/src/assets/img/guidelines/key-info/vertical-layout.png +0 -0
  189. package/src/assets/img/guidelines/status-indicator/status-indicator-anatomy.png +0 -0
  190. package/src/assets/img/guidelines/status-indicator/status-indicator-usage-1.png +0 -0
  191. package/src/assets/img/guidelines/status-indicator/status-indicator-usage-2-5.png +0 -0
  192. package/src/assets/img/guidelines/status-indicator/status-indicator-usage-2.5.png +0 -0
  193. package/src/assets/img/guidelines/status-indicator/status-indicator-usage-2.png +0 -0
  194. package/src/assets/img/guidelines/status-indicator/status-indicator-usage-3.png +0 -0
  195. package/src/assets/img/guidelines/status-indicator/status-indicator-usage-4.png +0 -0
  196. package/src/assets/img/guidelines/status-indicator/status-indicator-usage-5.png +0 -0
  197. package/src/assets/img/guidelines/status-indicator/status-indicator-usage-6.png +0 -0
  198. package/src/assets/locales/resources_en_US.json +0 -54
  199. package/testing/skyux-indicators-testing.metadata.json +0 -1
@@ -1,178 +0,0 @@
1
- import { By } from '@angular/platform-browser';
2
- import { SkyAppTestUtility } from '@skyux-sdk/testing';
3
-
4
- /**
5
- * Allows interaction with a SKY UX alert component.
6
- */
7
- var SkyAlertFixture = /** @class */ (function () {
8
- function SkyAlertFixture(fixture, skyTestId) {
9
- this.debugEl = SkyAppTestUtility.getDebugElementByTestId(fixture, skyTestId, 'sky-alert');
10
- }
11
- Object.defineProperty(SkyAlertFixture.prototype, "text", {
12
- /**
13
- * The alert's current text.
14
- */
15
- get: function () {
16
- return SkyAppTestUtility.getText(this.debugEl);
17
- },
18
- enumerable: true,
19
- configurable: true
20
- });
21
- Object.defineProperty(SkyAlertFixture.prototype, "closeable", {
22
- /**
23
- * A flag indicating whether the alert can be closed.
24
- */
25
- get: function () {
26
- var closeBtnEl = this.getCloseBtnEl();
27
- return SkyAppTestUtility.isVisible(closeBtnEl);
28
- },
29
- enumerable: true,
30
- configurable: true
31
- });
32
- Object.defineProperty(SkyAlertFixture.prototype, "closed", {
33
- /**
34
- * Returns a flag indicating whether the alert is closed.
35
- */
36
- get: function () {
37
- return !SkyAppTestUtility.isVisible(this.getAlertEl());
38
- },
39
- enumerable: true,
40
- configurable: true
41
- });
42
- Object.defineProperty(SkyAlertFixture.prototype, "alertType", {
43
- /**
44
- * The alert's current type.
45
- */
46
- get: function () {
47
- var clsList = this.getAlertEl().nativeElement.classList;
48
- if (clsList.contains('sky-alert-danger')) {
49
- return 'danger';
50
- }
51
- if (clsList.contains('sky-alert-info')) {
52
- return 'info';
53
- }
54
- if (clsList.contains('sky-alert-success')) {
55
- return 'success';
56
- }
57
- if (clsList.contains('sky-alert-warning')) {
58
- return 'warning';
59
- }
60
- return undefined;
61
- },
62
- enumerable: true,
63
- configurable: true
64
- });
65
- /**
66
- * Closes the alert. If the alert is not closeable, an error is thrown.
67
- */
68
- SkyAlertFixture.prototype.close = function () {
69
- if (this.closeable) {
70
- var closeBtnEl = this.getCloseBtnEl();
71
- closeBtnEl.triggerEventHandler('click', {});
72
- }
73
- else {
74
- throw new Error('The alert is not closeable.');
75
- }
76
- };
77
- SkyAlertFixture.prototype.getAlertEl = function () {
78
- return this.debugEl.query(By.css('.sky-alert'));
79
- };
80
- SkyAlertFixture.prototype.getCloseBtnEl = function () {
81
- return this.debugEl.query(By.css('.sky-alert-close'));
82
- };
83
- return SkyAlertFixture;
84
- }());
85
-
86
- /**
87
- * Allows interaction with a SKY UX label component.
88
- */
89
- var SkyLabelFixture = /** @class */ (function () {
90
- function SkyLabelFixture(fixture, skyTestId) {
91
- this.debugEl = SkyAppTestUtility.getDebugElementByTestId(fixture, skyTestId, 'sky-label');
92
- }
93
- Object.defineProperty(SkyLabelFixture.prototype, "labelType", {
94
- /**
95
- * The label's current type.
96
- */
97
- get: function () {
98
- var clsList = this.getLabelEl().nativeElement.classList;
99
- if (clsList.contains('sky-label-danger')) {
100
- return 'danger';
101
- }
102
- if (clsList.contains('sky-label-info')) {
103
- return 'info';
104
- }
105
- if (clsList.contains('sky-label-success')) {
106
- return 'success';
107
- }
108
- if (clsList.contains('sky-label-warning')) {
109
- return 'warning';
110
- }
111
- return undefined;
112
- },
113
- enumerable: true,
114
- configurable: true
115
- });
116
- Object.defineProperty(SkyLabelFixture.prototype, "text", {
117
- /**
118
- * The label's current text.
119
- */
120
- get: function () {
121
- var labelEl = this.getLabelEl();
122
- return SkyAppTestUtility.getText(labelEl);
123
- },
124
- enumerable: true,
125
- configurable: true
126
- });
127
- SkyLabelFixture.prototype.getLabelEl = function () {
128
- return this.debugEl.query(By.css('.sky-label'));
129
- };
130
- return SkyLabelFixture;
131
- }());
132
-
133
- var SkyWaitFixture = /** @class */ (function () {
134
- function SkyWaitFixture(fixture, skyTestId) {
135
- this.debugEl = SkyAppTestUtility.getDebugElementByTestId(fixture, skyTestId, 'sky-wait');
136
- }
137
- Object.defineProperty(SkyWaitFixture.prototype, "isWaiting", {
138
- get: function () {
139
- return this.innerWaitComponentContainsClass('.sky-wait-mask');
140
- },
141
- enumerable: true,
142
- configurable: true
143
- });
144
- Object.defineProperty(SkyWaitFixture.prototype, "isFullPage", {
145
- get: function () {
146
- return this.innerWaitComponentContainsClass('.sky-wait-mask-loading-fixed');
147
- },
148
- enumerable: true,
149
- configurable: true
150
- });
151
- Object.defineProperty(SkyWaitFixture.prototype, "ariaLabel", {
152
- get: function () {
153
- var div = this.debugEl.nativeElement.querySelector('.sky-wait-mask');
154
- return div.getAttribute('aria-label');
155
- },
156
- enumerable: true,
157
- configurable: true
158
- });
159
- Object.defineProperty(SkyWaitFixture.prototype, "isNonBlocking", {
160
- get: function () {
161
- return this.innerWaitComponentContainsClass('.sky-wait-mask-loading-non-blocking');
162
- },
163
- enumerable: true,
164
- configurable: true
165
- });
166
- SkyWaitFixture.prototype.innerWaitComponentContainsClass = function (className) {
167
- var element = this.debugEl.nativeElement.querySelector(className);
168
- return element !== null;
169
- };
170
- return SkyWaitFixture;
171
- }());
172
-
173
- /**
174
- * Generated bundle index. Do not edit.
175
- */
176
-
177
- export { SkyAlertFixture, SkyLabelFixture, SkyWaitFixture };
178
- //# sourceMappingURL=skyux-indicators-testing.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"skyux-indicators-testing.js","sources":["ng://@skyux/indicators/testing/alert-fixture.ts","ng://@skyux/indicators/testing/label-fixture.ts","ng://@skyux/indicators/testing/wait-fixture.ts","ng://@skyux/indicators/testing/skyux-indicators-testing.ts"],"sourcesContent":["import {\n ComponentFixture\n} from '@angular/core/testing';\n\nimport {\n DebugElement\n} from '@angular/core';\n\nimport {\n By\n} from '@angular/platform-browser';\n\nimport {\n SkyAppTestUtility\n} from '@skyux-sdk/testing';\n\n/**\n * Allows interaction with a SKY UX alert component.\n */\nexport class SkyAlertFixture {\n\n /**\n * The alert's current text.\n */\n public get text(): string {\n return SkyAppTestUtility.getText(this.debugEl);\n }\n\n /**\n * A flag indicating whether the alert can be closed.\n */\n public get closeable(): boolean {\n const closeBtnEl = this.getCloseBtnEl();\n\n return SkyAppTestUtility.isVisible(closeBtnEl);\n }\n\n /**\n * Returns a flag indicating whether the alert is closed.\n */\n public get closed(): boolean {\n return !SkyAppTestUtility.isVisible(\n this.getAlertEl()\n );\n }\n\n /**\n * The alert's current type.\n */\n public get alertType(): string {\n const clsList = this.getAlertEl().nativeElement.classList;\n\n if (clsList.contains('sky-alert-danger')) {\n return 'danger';\n }\n\n if (clsList.contains('sky-alert-info')) {\n return 'info';\n }\n\n if (clsList.contains('sky-alert-success')) {\n return 'success';\n }\n\n if (clsList.contains('sky-alert-warning')) {\n return 'warning';\n }\n\n return undefined;\n }\n\n private debugEl: DebugElement;\n\n constructor(\n fixture: ComponentFixture<any>,\n skyTestId: string\n ) {\n this.debugEl = SkyAppTestUtility.getDebugElementByTestId(fixture, skyTestId, 'sky-alert');\n }\n\n /**\n * Closes the alert. If the alert is not closeable, an error is thrown.\n */\n public close(): void {\n if (this.closeable) {\n const closeBtnEl = this.getCloseBtnEl();\n\n closeBtnEl.triggerEventHandler('click', {});\n } else {\n throw new Error('The alert is not closeable.');\n }\n }\n\n private getAlertEl(): DebugElement {\n return this.debugEl.query(By.css('.sky-alert'));\n }\n\n private getCloseBtnEl(): DebugElement {\n return this.debugEl.query(By.css('.sky-alert-close'));\n }\n\n}\n","import {\n ComponentFixture\n} from '@angular/core/testing';\n\nimport {\n DebugElement\n} from '@angular/core';\n\nimport {\n By\n} from '@angular/platform-browser';\n\nimport {\n SkyAppTestUtility\n} from '@skyux-sdk/testing';\n\n/**\n * Allows interaction with a SKY UX label component.\n */\nexport class SkyLabelFixture {\n\n /**\n * The label's current type.\n */\n public get labelType(): string {\n const clsList = this.getLabelEl().nativeElement.classList;\n\n if (clsList.contains('sky-label-danger')) {\n return 'danger';\n }\n\n if (clsList.contains('sky-label-info')) {\n return 'info';\n }\n\n if (clsList.contains('sky-label-success')) {\n return 'success';\n }\n\n if (clsList.contains('sky-label-warning')) {\n return 'warning';\n }\n\n return undefined;\n }\n\n /**\n * The label's current text.\n */\n public get text(): string {\n const labelEl = this.getLabelEl();\n\n return SkyAppTestUtility.getText(labelEl);\n }\n\n private debugEl: DebugElement;\n\n constructor(\n fixture: ComponentFixture<any>,\n skyTestId: string\n ) {\n this.debugEl = SkyAppTestUtility.getDebugElementByTestId(fixture, skyTestId, 'sky-label');\n }\n\n private getLabelEl(): DebugElement {\n return this.debugEl.query(By.css('.sky-label'));\n }\n\n}\n","import {\n DebugElement\n} from '@angular/core';\n\nimport {\n ComponentFixture\n} from '@angular/core/testing';\n\nimport {\n SkyAppTestUtility\n} from '@skyux-sdk/testing';\n\nexport class SkyWaitFixture {\n\n public get isWaiting(): boolean {\n return this.innerWaitComponentContainsClass('.sky-wait-mask');\n }\n\n public get isFullPage(): boolean {\n return this.innerWaitComponentContainsClass('.sky-wait-mask-loading-fixed');\n }\n\n public get ariaLabel(): string {\n const div: HTMLDivElement = this.debugEl.nativeElement.querySelector('.sky-wait-mask');\n return div.getAttribute('aria-label');\n }\n\n public get isNonBlocking(): boolean {\n return this.innerWaitComponentContainsClass('.sky-wait-mask-loading-non-blocking');\n }\n\n private debugEl: DebugElement;\n\n constructor(\n fixture: ComponentFixture<any>,\n skyTestId: string\n ) {\n this.debugEl = SkyAppTestUtility.getDebugElementByTestId(fixture, skyTestId, 'sky-wait');\n }\n\n private innerWaitComponentContainsClass(className: string): boolean {\n const element: HTMLDivElement = this.debugEl.nativeElement.querySelector(className);\n return element !== null;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;AAgBA;;;;IAyDE,yBACE,OAA8B,EAC9B,SAAiB;QAEjB,IAAI,CAAC,OAAO,GAAG,iBAAiB,CAAC,uBAAuB,CAAC,OAAO,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;KAC3F;IAtDD,sBAAW,iCAAI;;;;aAAf;YACE,OAAO,iBAAiB,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;SAChD;;;OAAA;IAKD,sBAAW,sCAAS;;;;aAApB;YACE,IAAM,UAAU,GAAG,IAAI,CA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