@skyux/indicators 5.7.2 → 6.0.0-beta.2

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 (171) hide show
  1. package/documentation.json +2 -2
  2. package/esm2020/index.mjs +38 -0
  3. package/esm2020/lib/modules/alert/alert.component.mjs +56 -0
  4. package/esm2020/lib/modules/alert/alert.module.mjs +38 -0
  5. package/esm2020/lib/modules/chevron/chevron.component.mjs +62 -0
  6. package/esm2020/lib/modules/chevron/chevron.module.mjs +38 -0
  7. package/esm2020/lib/modules/expansion-indicator/expansion-indicator.component.mjs +31 -0
  8. package/esm2020/lib/modules/expansion-indicator/expansion-indicator.module.mjs +19 -0
  9. package/esm2020/lib/modules/help-inline/help-inline.component.mjs +26 -0
  10. package/esm2020/lib/modules/help-inline/help-inline.module.mjs +38 -0
  11. package/esm2020/lib/modules/icon/icon-class-list.pipe.mjs +38 -0
  12. package/esm2020/lib/modules/icon/icon-resolver.service.mjs +42 -0
  13. package/esm2020/lib/modules/icon/icon-stack-item.mjs +2 -0
  14. package/esm2020/lib/modules/icon/icon-stack.component.mjs +19 -0
  15. package/esm2020/lib/modules/icon/icon.component.mjs +32 -0
  16. package/esm2020/lib/modules/icon/icon.module.mjs +21 -0
  17. package/esm2020/lib/modules/icon/types/icon-type.mjs +2 -0
  18. package/esm2020/lib/modules/icon/types/icon-variant-type.mjs +2 -0
  19. package/esm2020/lib/modules/key-info/key-info-label.component.mjs +18 -0
  20. package/esm2020/lib/modules/key-info/key-info-value.component.mjs +18 -0
  21. package/esm2020/lib/modules/key-info/key-info.component.mjs +22 -0
  22. package/esm2020/lib/modules/key-info/key-info.module.mjs +32 -0
  23. package/esm2020/lib/modules/label/label-type.mjs +2 -0
  24. package/esm2020/lib/modules/label/label.component.mjs +34 -0
  25. package/esm2020/lib/modules/label/label.module.mjs +19 -0
  26. package/esm2020/lib/modules/shared/indicator-description-type.mjs +2 -0
  27. package/esm2020/lib/modules/shared/indicator-icon-type.mjs +2 -0
  28. package/esm2020/lib/modules/shared/indicator-icon-utility.mjs +41 -0
  29. package/esm2020/lib/modules/shared/indicator-icon.mjs +2 -0
  30. package/esm2020/lib/modules/shared/sky-indicators-resources.module.mjs +61 -0
  31. package/esm2020/lib/modules/status-indicator/status-indicator.component.mjs +94 -0
  32. package/esm2020/lib/modules/status-indicator/status-indicator.module.mjs +34 -0
  33. package/esm2020/lib/modules/text-highlight/text-highlight.directive.mjs +153 -0
  34. package/esm2020/lib/modules/text-highlight/text-highlight.module.mjs +18 -0
  35. package/esm2020/lib/modules/tokens/token.component.mjs +107 -0
  36. package/esm2020/lib/modules/tokens/tokens.component.mjs +298 -0
  37. package/esm2020/lib/modules/tokens/tokens.module.mjs +35 -0
  38. package/esm2020/lib/modules/tokens/types/token-selected-event-args.mjs +2 -0
  39. package/esm2020/lib/modules/tokens/types/token.mjs +2 -0
  40. package/esm2020/lib/modules/tokens/types/tokens-message-type.mjs +24 -0
  41. package/esm2020/lib/modules/tokens/types/tokens-message.mjs +2 -0
  42. package/esm2020/lib/modules/wait/wait-adapter.service.mjs +201 -0
  43. package/esm2020/lib/modules/wait/wait-page-adapter.service.mjs +25 -0
  44. package/esm2020/lib/modules/wait/wait-page.component.mjs +19 -0
  45. package/esm2020/lib/modules/wait/wait.component.mjs +89 -0
  46. package/esm2020/lib/modules/wait/wait.module.mjs +21 -0
  47. package/esm2020/lib/modules/wait/wait.service.mjs +164 -0
  48. package/esm2020/skyux-indicators.mjs +5 -0
  49. package/esm2020/testing/alert-fixture.mjs +67 -0
  50. package/esm2020/testing/label-fixture.mjs +40 -0
  51. package/esm2020/testing/public-api.mjs +4 -0
  52. package/esm2020/testing/skyux-indicators-testing.mjs +5 -0
  53. package/esm2020/testing/wait-fixture.mjs +24 -0
  54. package/fesm2015/{skyux-indicators-testing.js → skyux-indicators-testing.mjs} +1 -1
  55. package/fesm2015/skyux-indicators-testing.mjs.map +1 -0
  56. package/fesm2015/skyux-indicators.mjs +1830 -0
  57. package/fesm2015/skyux-indicators.mjs.map +1 -0
  58. package/fesm2020/skyux-indicators-testing.mjs +135 -0
  59. package/fesm2020/skyux-indicators-testing.mjs.map +1 -0
  60. package/{fesm2015/skyux-indicators.js → fesm2020/skyux-indicators.mjs} +126 -185
  61. package/fesm2020/skyux-indicators.mjs.map +1 -0
  62. package/package.json +39 -15
  63. package/testing/package.json +5 -5
  64. package/bundles/skyux-indicators-testing.umd.js +0 -187
  65. package/bundles/skyux-indicators.umd.js +0 -2463
  66. package/esm2015/index.js +0 -38
  67. package/esm2015/index.js.map +0 -1
  68. package/esm2015/lib/modules/alert/alert.component.js +0 -60
  69. package/esm2015/lib/modules/alert/alert.component.js.map +0 -1
  70. package/esm2015/lib/modules/alert/alert.module.js +0 -38
  71. package/esm2015/lib/modules/alert/alert.module.js.map +0 -1
  72. package/esm2015/lib/modules/chevron/chevron.component.js +0 -66
  73. package/esm2015/lib/modules/chevron/chevron.component.js.map +0 -1
  74. package/esm2015/lib/modules/chevron/chevron.module.js +0 -38
  75. package/esm2015/lib/modules/chevron/chevron.module.js.map +0 -1
  76. package/esm2015/lib/modules/expansion-indicator/expansion-indicator.component.js +0 -35
  77. package/esm2015/lib/modules/expansion-indicator/expansion-indicator.component.js.map +0 -1
  78. package/esm2015/lib/modules/expansion-indicator/expansion-indicator.module.js +0 -19
  79. package/esm2015/lib/modules/expansion-indicator/expansion-indicator.module.js.map +0 -1
  80. package/esm2015/lib/modules/help-inline/help-inline.component.js +0 -30
  81. package/esm2015/lib/modules/help-inline/help-inline.component.js.map +0 -1
  82. package/esm2015/lib/modules/help-inline/help-inline.module.js +0 -38
  83. package/esm2015/lib/modules/help-inline/help-inline.module.js.map +0 -1
  84. package/esm2015/lib/modules/icon/icon-class-list.pipe.js +0 -38
  85. package/esm2015/lib/modules/icon/icon-class-list.pipe.js.map +0 -1
  86. package/esm2015/lib/modules/icon/icon-resolver.service.js +0 -42
  87. package/esm2015/lib/modules/icon/icon-resolver.service.js.map +0 -1
  88. package/esm2015/lib/modules/icon/icon-stack-item.js +0 -2
  89. package/esm2015/lib/modules/icon/icon-stack-item.js.map +0 -1
  90. package/esm2015/lib/modules/icon/icon-stack.component.js +0 -23
  91. package/esm2015/lib/modules/icon/icon-stack.component.js.map +0 -1
  92. package/esm2015/lib/modules/icon/icon.component.js +0 -37
  93. package/esm2015/lib/modules/icon/icon.component.js.map +0 -1
  94. package/esm2015/lib/modules/icon/icon.module.js +0 -21
  95. package/esm2015/lib/modules/icon/icon.module.js.map +0 -1
  96. package/esm2015/lib/modules/icon/types/icon-type.js +0 -2
  97. package/esm2015/lib/modules/icon/types/icon-type.js.map +0 -1
  98. package/esm2015/lib/modules/icon/types/icon-variant-type.js +0 -2
  99. package/esm2015/lib/modules/icon/types/icon-variant-type.js.map +0 -1
  100. package/esm2015/lib/modules/key-info/key-info-label.component.js +0 -18
  101. package/esm2015/lib/modules/key-info/key-info-label.component.js.map +0 -1
  102. package/esm2015/lib/modules/key-info/key-info-value.component.js +0 -18
  103. package/esm2015/lib/modules/key-info/key-info-value.component.js.map +0 -1
  104. package/esm2015/lib/modules/key-info/key-info.component.js +0 -26
  105. package/esm2015/lib/modules/key-info/key-info.component.js.map +0 -1
  106. package/esm2015/lib/modules/key-info/key-info.module.js +0 -32
  107. package/esm2015/lib/modules/key-info/key-info.module.js.map +0 -1
  108. package/esm2015/lib/modules/label/label-type.js +0 -2
  109. package/esm2015/lib/modules/label/label-type.js.map +0 -1
  110. package/esm2015/lib/modules/label/label.component.js +0 -38
  111. package/esm2015/lib/modules/label/label.component.js.map +0 -1
  112. package/esm2015/lib/modules/label/label.module.js +0 -19
  113. package/esm2015/lib/modules/label/label.module.js.map +0 -1
  114. package/esm2015/lib/modules/shared/indicator-description-type.js +0 -2
  115. package/esm2015/lib/modules/shared/indicator-description-type.js.map +0 -1
  116. package/esm2015/lib/modules/shared/indicator-icon-type.js +0 -2
  117. package/esm2015/lib/modules/shared/indicator-icon-type.js.map +0 -1
  118. package/esm2015/lib/modules/shared/indicator-icon-utility.js +0 -41
  119. package/esm2015/lib/modules/shared/indicator-icon-utility.js.map +0 -1
  120. package/esm2015/lib/modules/shared/indicator-icon.js +0 -2
  121. package/esm2015/lib/modules/shared/indicator-icon.js.map +0 -1
  122. package/esm2015/lib/modules/shared/sky-indicators-resources.module.js +0 -61
  123. package/esm2015/lib/modules/shared/sky-indicators-resources.module.js.map +0 -1
  124. package/esm2015/lib/modules/status-indicator/status-indicator.component.js +0 -99
  125. package/esm2015/lib/modules/status-indicator/status-indicator.component.js.map +0 -1
  126. package/esm2015/lib/modules/status-indicator/status-indicator.module.js +0 -34
  127. package/esm2015/lib/modules/status-indicator/status-indicator.module.js.map +0 -1
  128. package/esm2015/lib/modules/text-highlight/text-highlight.directive.js +0 -153
  129. package/esm2015/lib/modules/text-highlight/text-highlight.directive.js.map +0 -1
  130. package/esm2015/lib/modules/text-highlight/text-highlight.module.js +0 -18
  131. package/esm2015/lib/modules/text-highlight/text-highlight.module.js.map +0 -1
  132. package/esm2015/lib/modules/tokens/token.component.js +0 -112
  133. package/esm2015/lib/modules/tokens/token.component.js.map +0 -1
  134. package/esm2015/lib/modules/tokens/tokens.component.js +0 -304
  135. package/esm2015/lib/modules/tokens/tokens.component.js.map +0 -1
  136. package/esm2015/lib/modules/tokens/tokens.module.js +0 -35
  137. package/esm2015/lib/modules/tokens/tokens.module.js.map +0 -1
  138. package/esm2015/lib/modules/tokens/types/token-selected-event-args.js +0 -2
  139. package/esm2015/lib/modules/tokens/types/token-selected-event-args.js.map +0 -1
  140. package/esm2015/lib/modules/tokens/types/token.js +0 -2
  141. package/esm2015/lib/modules/tokens/types/token.js.map +0 -1
  142. package/esm2015/lib/modules/tokens/types/tokens-message-type.js +0 -24
  143. package/esm2015/lib/modules/tokens/types/tokens-message-type.js.map +0 -1
  144. package/esm2015/lib/modules/tokens/types/tokens-message.js +0 -2
  145. package/esm2015/lib/modules/tokens/types/tokens-message.js.map +0 -1
  146. package/esm2015/lib/modules/wait/wait-adapter.service.js +0 -201
  147. package/esm2015/lib/modules/wait/wait-adapter.service.js.map +0 -1
  148. package/esm2015/lib/modules/wait/wait-page-adapter.service.js +0 -25
  149. package/esm2015/lib/modules/wait/wait-page-adapter.service.js.map +0 -1
  150. package/esm2015/lib/modules/wait/wait-page.component.js +0 -23
  151. package/esm2015/lib/modules/wait/wait-page.component.js.map +0 -1
  152. package/esm2015/lib/modules/wait/wait.component.js +0 -94
  153. package/esm2015/lib/modules/wait/wait.component.js.map +0 -1
  154. package/esm2015/lib/modules/wait/wait.module.js +0 -22
  155. package/esm2015/lib/modules/wait/wait.module.js.map +0 -1
  156. package/esm2015/lib/modules/wait/wait.service.js +0 -164
  157. package/esm2015/lib/modules/wait/wait.service.js.map +0 -1
  158. package/esm2015/skyux-indicators.js +0 -5
  159. package/esm2015/skyux-indicators.js.map +0 -1
  160. package/esm2015/testing/alert-fixture.js +0 -67
  161. package/esm2015/testing/alert-fixture.js.map +0 -1
  162. package/esm2015/testing/label-fixture.js +0 -40
  163. package/esm2015/testing/label-fixture.js.map +0 -1
  164. package/esm2015/testing/public-api.js +0 -4
  165. package/esm2015/testing/public-api.js.map +0 -1
  166. package/esm2015/testing/skyux-indicators-testing.js +0 -5
  167. package/esm2015/testing/skyux-indicators-testing.js.map +0 -1
  168. package/esm2015/testing/wait-fixture.js +0 -24
  169. package/esm2015/testing/wait-fixture.js.map +0 -1
  170. package/fesm2015/skyux-indicators-testing.js.map +0 -1
  171. package/fesm2015/skyux-indicators.js.map +0 -1
@@ -1,2463 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@skyux/i18n'), require('@skyux/theme'), require('@skyux/core'), require('@angular/animations'), require('rxjs'), require('rxjs/operators')) :
3
- typeof define === 'function' && define.amd ? define('@skyux/indicators', ['exports', '@angular/common', '@angular/core', '@skyux/i18n', '@skyux/theme', '@skyux/core', '@angular/animations', 'rxjs', 'rxjs/operators'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.skyux = global.skyux || {}, global.skyux.indicators = {}), global.ng.common, global.ng.core, global.i1$1, global.i3, global.i1$2, global.ng.animations, global.rxjs, global.rxjs.operators));
5
- })(this, (function (exports, i1, i0, i1$1, i3, i1$2, animations, rxjs, operators) { 'use strict';
6
-
7
- function _interopNamespace(e) {
8
- if (e && e.__esModule) return e;
9
- var n = Object.create(null);
10
- if (e) {
11
- Object.keys(e).forEach(function (k) {
12
- if (k !== 'default') {
13
- var d = Object.getOwnPropertyDescriptor(e, k);
14
- Object.defineProperty(n, k, d.get ? d : {
15
- enumerable: true,
16
- get: function () { return e[k]; }
17
- });
18
- }
19
- });
20
- }
21
- n["default"] = e;
22
- return Object.freeze(n);
23
- }
24
-
25
- var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
26
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
27
- var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
28
- var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
29
- var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$2);
30
-
31
- /*! *****************************************************************************
32
- Copyright (c) Microsoft Corporation.
33
-
34
- Permission to use, copy, modify, and/or distribute this software for any
35
- purpose with or without fee is hereby granted.
36
-
37
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
38
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
39
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
40
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
41
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
42
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
43
- PERFORMANCE OF THIS SOFTWARE.
44
- ***************************************************************************** */
45
- /* global Reflect, Promise */
46
- var extendStatics = function (d, b) {
47
- extendStatics = Object.setPrototypeOf ||
48
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
49
- function (d, b) { for (var p in b)
50
- if (Object.prototype.hasOwnProperty.call(b, p))
51
- d[p] = b[p]; };
52
- return extendStatics(d, b);
53
- };
54
- function __extends(d, b) {
55
- if (typeof b !== "function" && b !== null)
56
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
57
- extendStatics(d, b);
58
- function __() { this.constructor = d; }
59
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
60
- }
61
- var __assign = function () {
62
- __assign = Object.assign || function __assign(t) {
63
- for (var s, i = 1, n = arguments.length; i < n; i++) {
64
- s = arguments[i];
65
- for (var p in s)
66
- if (Object.prototype.hasOwnProperty.call(s, p))
67
- t[p] = s[p];
68
- }
69
- return t;
70
- };
71
- return __assign.apply(this, arguments);
72
- };
73
- function __rest(s, e) {
74
- var t = {};
75
- for (var p in s)
76
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
77
- t[p] = s[p];
78
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
79
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
80
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
81
- t[p[i]] = s[p[i]];
82
- }
83
- return t;
84
- }
85
- function __decorate(decorators, target, key, desc) {
86
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
87
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
88
- r = Reflect.decorate(decorators, target, key, desc);
89
- else
90
- for (var i = decorators.length - 1; i >= 0; i--)
91
- if (d = decorators[i])
92
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
93
- return c > 3 && r && Object.defineProperty(target, key, r), r;
94
- }
95
- function __param(paramIndex, decorator) {
96
- return function (target, key) { decorator(target, key, paramIndex); };
97
- }
98
- function __metadata(metadataKey, metadataValue) {
99
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
100
- return Reflect.metadata(metadataKey, metadataValue);
101
- }
102
- function __awaiter(thisArg, _arguments, P, generator) {
103
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
104
- return new (P || (P = Promise))(function (resolve, reject) {
105
- function fulfilled(value) { try {
106
- step(generator.next(value));
107
- }
108
- catch (e) {
109
- reject(e);
110
- } }
111
- function rejected(value) { try {
112
- step(generator["throw"](value));
113
- }
114
- catch (e) {
115
- reject(e);
116
- } }
117
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
118
- step((generator = generator.apply(thisArg, _arguments || [])).next());
119
- });
120
- }
121
- function __generator(thisArg, body) {
122
- var _ = { label: 0, sent: function () { if (t[0] & 1)
123
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
124
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
125
- function verb(n) { return function (v) { return step([n, v]); }; }
126
- function step(op) {
127
- if (f)
128
- throw new TypeError("Generator is already executing.");
129
- while (_)
130
- try {
131
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
132
- return t;
133
- if (y = 0, t)
134
- op = [op[0] & 2, t.value];
135
- switch (op[0]) {
136
- case 0:
137
- case 1:
138
- t = op;
139
- break;
140
- case 4:
141
- _.label++;
142
- return { value: op[1], done: false };
143
- case 5:
144
- _.label++;
145
- y = op[1];
146
- op = [0];
147
- continue;
148
- case 7:
149
- op = _.ops.pop();
150
- _.trys.pop();
151
- continue;
152
- default:
153
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
154
- _ = 0;
155
- continue;
156
- }
157
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
158
- _.label = op[1];
159
- break;
160
- }
161
- if (op[0] === 6 && _.label < t[1]) {
162
- _.label = t[1];
163
- t = op;
164
- break;
165
- }
166
- if (t && _.label < t[2]) {
167
- _.label = t[2];
168
- _.ops.push(op);
169
- break;
170
- }
171
- if (t[2])
172
- _.ops.pop();
173
- _.trys.pop();
174
- continue;
175
- }
176
- op = body.call(thisArg, _);
177
- }
178
- catch (e) {
179
- op = [6, e];
180
- y = 0;
181
- }
182
- finally {
183
- f = t = 0;
184
- }
185
- if (op[0] & 5)
186
- throw op[1];
187
- return { value: op[0] ? op[1] : void 0, done: true };
188
- }
189
- }
190
- var __createBinding = Object.create ? (function (o, m, k, k2) {
191
- if (k2 === undefined)
192
- k2 = k;
193
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
194
- }) : (function (o, m, k, k2) {
195
- if (k2 === undefined)
196
- k2 = k;
197
- o[k2] = m[k];
198
- });
199
- function __exportStar(m, o) {
200
- for (var p in m)
201
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
202
- __createBinding(o, m, p);
203
- }
204
- function __values(o) {
205
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
206
- if (m)
207
- return m.call(o);
208
- if (o && typeof o.length === "number")
209
- return {
210
- next: function () {
211
- if (o && i >= o.length)
212
- o = void 0;
213
- return { value: o && o[i++], done: !o };
214
- }
215
- };
216
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
217
- }
218
- function __read(o, n) {
219
- var m = typeof Symbol === "function" && o[Symbol.iterator];
220
- if (!m)
221
- return o;
222
- var i = m.call(o), r, ar = [], e;
223
- try {
224
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
225
- ar.push(r.value);
226
- }
227
- catch (error) {
228
- e = { error: error };
229
- }
230
- finally {
231
- try {
232
- if (r && !r.done && (m = i["return"]))
233
- m.call(i);
234
- }
235
- finally {
236
- if (e)
237
- throw e.error;
238
- }
239
- }
240
- return ar;
241
- }
242
- /** @deprecated */
243
- function __spread() {
244
- for (var ar = [], i = 0; i < arguments.length; i++)
245
- ar = ar.concat(__read(arguments[i]));
246
- return ar;
247
- }
248
- /** @deprecated */
249
- function __spreadArrays() {
250
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
251
- s += arguments[i].length;
252
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
253
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
254
- r[k] = a[j];
255
- return r;
256
- }
257
- function __spreadArray(to, from, pack) {
258
- if (pack || arguments.length === 2)
259
- for (var i = 0, l = from.length, ar; i < l; i++) {
260
- if (ar || !(i in from)) {
261
- if (!ar)
262
- ar = Array.prototype.slice.call(from, 0, i);
263
- ar[i] = from[i];
264
- }
265
- }
266
- return to.concat(ar || Array.prototype.slice.call(from));
267
- }
268
- function __await(v) {
269
- return this instanceof __await ? (this.v = v, this) : new __await(v);
270
- }
271
- function __asyncGenerator(thisArg, _arguments, generator) {
272
- if (!Symbol.asyncIterator)
273
- throw new TypeError("Symbol.asyncIterator is not defined.");
274
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
275
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
276
- function verb(n) { if (g[n])
277
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
278
- function resume(n, v) { try {
279
- step(g[n](v));
280
- }
281
- catch (e) {
282
- settle(q[0][3], e);
283
- } }
284
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
285
- function fulfill(value) { resume("next", value); }
286
- function reject(value) { resume("throw", value); }
287
- function settle(f, v) { if (f(v), q.shift(), q.length)
288
- resume(q[0][0], q[0][1]); }
289
- }
290
- function __asyncDelegator(o) {
291
- var i, p;
292
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
293
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
294
- }
295
- function __asyncValues(o) {
296
- if (!Symbol.asyncIterator)
297
- throw new TypeError("Symbol.asyncIterator is not defined.");
298
- var m = o[Symbol.asyncIterator], i;
299
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
300
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
301
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
302
- }
303
- function __makeTemplateObject(cooked, raw) {
304
- if (Object.defineProperty) {
305
- Object.defineProperty(cooked, "raw", { value: raw });
306
- }
307
- else {
308
- cooked.raw = raw;
309
- }
310
- return cooked;
311
- }
312
- ;
313
- var __setModuleDefault = Object.create ? (function (o, v) {
314
- Object.defineProperty(o, "default", { enumerable: true, value: v });
315
- }) : function (o, v) {
316
- o["default"] = v;
317
- };
318
- function __importStar(mod) {
319
- if (mod && mod.__esModule)
320
- return mod;
321
- var result = {};
322
- if (mod != null)
323
- for (var k in mod)
324
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
325
- __createBinding(result, mod, k);
326
- __setModuleDefault(result, mod);
327
- return result;
328
- }
329
- function __importDefault(mod) {
330
- return (mod && mod.__esModule) ? mod : { default: mod };
331
- }
332
- function __classPrivateFieldGet(receiver, state, kind, f) {
333
- if (kind === "a" && !f)
334
- throw new TypeError("Private accessor was defined without a getter");
335
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
336
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
337
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
338
- }
339
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
340
- if (kind === "m")
341
- throw new TypeError("Private method is not writable");
342
- if (kind === "a" && !f)
343
- throw new TypeError("Private accessor was defined without a setter");
344
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
345
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
346
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
347
- }
348
-
349
- /**
350
- * @internal
351
- */
352
- var SkyIconResolverService = /** @class */ (function () {
353
- function SkyIconResolverService(manifestSvc) {
354
- var e_1, _a;
355
- this.glyphMap = new Map();
356
- try {
357
- // Map the icons by name for more efficient lookup.
358
- for (var _b = __values(manifestSvc.getManifest().glyphs), _c = _b.next(); !_c.done; _c = _b.next()) {
359
- var glyph = _c.value;
360
- this.glyphMap.set(glyph.name, glyph);
361
- }
362
- }
363
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
364
- finally {
365
- try {
366
- if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
367
- }
368
- finally { if (e_1) throw e_1.error; }
369
- }
370
- }
371
- SkyIconResolverService.prototype.resolveIcon = function (iconName, variant) {
372
- var variantIconName = variant && iconName + "-" + variant;
373
- if (variantIconName && this.glyphMap.has(variantIconName)) {
374
- // A variant was specified and exists; return it.
375
- return variantIconName;
376
- }
377
- if (variant !== 'line' && !this.glyphMap.has(iconName)) {
378
- // Either the solid variant was specified and doesn't exist, or no variant was
379
- // specified and a non-variant doesn't exist; fall back to the line variant.
380
- var lineIconName = iconName + "-line";
381
- if (this.glyphMap.has(lineIconName)) {
382
- return lineIconName;
383
- }
384
- }
385
- // Fall back to the icon name as-is.
386
- return iconName;
387
- };
388
- return SkyIconResolverService;
389
- }());
390
- SkyIconResolverService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconResolverService, deps: [{ token: i3__namespace.SkyThemeIconManifestService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
391
- SkyIconResolverService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconResolverService, providedIn: 'root' });
392
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconResolverService, decorators: [{
393
- type: i0.Injectable,
394
- args: [{
395
- providedIn: 'root',
396
- }]
397
- }], ctorParameters: function () { return [{ type: i3__namespace.SkyThemeIconManifestService }]; } });
398
-
399
- /**
400
- * @internal
401
- */
402
- var SkyIconClassListPipe = /** @class */ (function () {
403
- function SkyIconClassListPipe(resolver) {
404
- this.resolver = resolver;
405
- }
406
- SkyIconClassListPipe.prototype.transform = function (icon, iconType, size, fixedWidth, variant) {
407
- var classList;
408
- if (iconType === 'skyux') {
409
- var resolvedIcon = this.resolver.resolveIcon(icon, variant);
410
- classList = ['sky-i-' + resolvedIcon];
411
- }
412
- else {
413
- classList = ['fa', 'fa-' + icon];
414
- }
415
- if (size) {
416
- classList.push('fa-' + size);
417
- }
418
- if (fixedWidth) {
419
- classList.push('fa-fw');
420
- }
421
- return classList;
422
- };
423
- return SkyIconClassListPipe;
424
- }());
425
- SkyIconClassListPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconClassListPipe, deps: [{ token: SkyIconResolverService }], target: i0__namespace.ɵɵFactoryTarget.Pipe });
426
- SkyIconClassListPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconClassListPipe, name: "skyIconClassList" });
427
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconClassListPipe, decorators: [{
428
- type: i0.Pipe,
429
- args: [{
430
- name: 'skyIconClassList',
431
- }]
432
- }], ctorParameters: function () { return [{ type: SkyIconResolverService }]; } });
433
-
434
- var SkyIconStackComponent = /** @class */ (function () {
435
- function SkyIconStackComponent() {
436
- }
437
- return SkyIconStackComponent;
438
- }());
439
- SkyIconStackComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconStackComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
440
- SkyIconStackComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyIconStackComponent, selector: "sky-icon-stack", inputs: { size: "size", baseIcon: "baseIcon", topIcon: "topIcon" }, ngImport: i0__namespace, 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]=\"baseIcon.icon | skyIconClassList: baseIcon.iconType\"\n ></i>\n <i\n *ngIf=\"topIcon\"\n class=\"sky-icon fa-stack-1x fa-inverse sky-icon-inverse\"\n [ngClass]=\"topIcon.icon | skyIconClassList: topIcon.iconType\"\n ></i>\n</span>\n", styles: [":host{display:inline-block;vertical-align:bottom}.sky-icon-stack-size-xs.fa-stack{width:1.25em;height:1.25em;line-height:1.25em}.sky-icon-stack-size-xs .fa-stack-2x{font-size:1.25em}.sky-icon-stack-size-xs .fa-stack-1x{font-size:.625em}.fa-stack-1x.sky-i-check:before{position:relative;top:1px}.fa-stack-1x.sky-i-exclamation:before{position:relative;top:2px;left:-.5px}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-icon-inverse{color:#121212}.sky-theme-modern.sky-theme-mode-dark .sky-icon-inverse{color:#121212}\n"], directives: [{ type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "skyIconClassList": SkyIconClassListPipe } });
441
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconStackComponent, decorators: [{
442
- type: i0.Component,
443
- args: [{
444
- selector: 'sky-icon-stack',
445
- 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]=\"baseIcon.icon | skyIconClassList: baseIcon.iconType\"\n ></i>\n <i\n *ngIf=\"topIcon\"\n class=\"sky-icon fa-stack-1x fa-inverse sky-icon-inverse\"\n [ngClass]=\"topIcon.icon | skyIconClassList: topIcon.iconType\"\n ></i>\n</span>\n",
446
- styles: [":host{display:inline-block;vertical-align:bottom}.sky-icon-stack-size-xs.fa-stack{width:1.25em;height:1.25em;line-height:1.25em}.sky-icon-stack-size-xs .fa-stack-2x{font-size:1.25em}.sky-icon-stack-size-xs .fa-stack-1x{font-size:.625em}.fa-stack-1x.sky-i-check:before{position:relative;top:1px}.fa-stack-1x.sky-i-exclamation:before{position:relative;top:2px;left:-.5px}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-icon-inverse{color:#121212}.sky-theme-modern.sky-theme-mode-dark .sky-icon-inverse{color:#121212}\n"],
447
- }]
448
- }], propDecorators: { size: [{
449
- type: i0.Input
450
- }], baseIcon: [{
451
- type: i0.Input
452
- }], topIcon: [{
453
- type: i0.Input
454
- }] } });
455
-
456
- var SkyIconComponent = /** @class */ (function () {
457
- function SkyIconComponent() {
458
- /**
459
- * Specifies the type of icon to display. Specifying `"fa"` will display a Font Awesome icon,
460
- * while specifying `"skyux"` will display an icon from the custom SKY UX icon font. Note that
461
- * the custom SKY UX icon font is currently in beta.
462
- * @default "fa"
463
- */
464
- this.iconType = 'fa';
465
- }
466
- return SkyIconComponent;
467
- }());
468
- SkyIconComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
469
- SkyIconComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyIconComponent, selector: "sky-icon", inputs: { icon: "icon", iconType: "iconType", size: "size", fixedWidth: "fixedWidth", variant: "variant" }, ngImport: i0__namespace, template: "<i\n *ngIf=\"icon\"\n aria-hidden=\"true\"\n class=\"sky-icon\"\n [ngClass]=\"icon | skyIconClassList: iconType:size:fixedWidth:variant\"\n>\n</i>\n", styles: [":host{display:inline-block}i{display:inherit}\n"], directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "skyIconClassList": SkyIconClassListPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
470
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconComponent, decorators: [{
471
- type: i0.Component,
472
- args: [{
473
- selector: 'sky-icon',
474
- template: "<i\n *ngIf=\"icon\"\n aria-hidden=\"true\"\n class=\"sky-icon\"\n [ngClass]=\"icon | skyIconClassList: iconType:size:fixedWidth:variant\"\n>\n</i>\n",
475
- styles: [":host{display:inline-block}i{display:inherit}\n"],
476
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
477
- }]
478
- }], propDecorators: { icon: [{
479
- type: i0.Input
480
- }], iconType: [{
481
- type: i0.Input
482
- }], size: [{
483
- type: i0.Input
484
- }], fixedWidth: [{
485
- type: i0.Input
486
- }], variant: [{
487
- type: i0.Input
488
- }] } });
489
-
490
- var SkyIconModule = /** @class */ (function () {
491
- function SkyIconModule() {
492
- }
493
- return SkyIconModule;
494
- }());
495
- SkyIconModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
496
- SkyIconModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconModule, declarations: [SkyIconClassListPipe, SkyIconComponent, SkyIconStackComponent], imports: [i1.CommonModule, i3.SkyThemeIconManifestModule], exports: [SkyIconComponent, SkyIconStackComponent] });
497
- SkyIconModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconModule, imports: [[i1.CommonModule, i3.SkyThemeIconManifestModule]] });
498
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIconModule, decorators: [{
499
- type: i0.NgModule,
500
- args: [{
501
- declarations: [SkyIconClassListPipe, SkyIconComponent, SkyIconStackComponent],
502
- imports: [i1.CommonModule, i3.SkyThemeIconManifestModule],
503
- exports: [SkyIconComponent, SkyIconStackComponent],
504
- }]
505
- }] });
506
-
507
- /**
508
- * NOTICE: DO NOT MODIFY THIS FILE!
509
- * The contents of this file were automatically generated by
510
- * the 'ng generate @skyux/i18n:lib-resources-module lib/modules/shared/sky-indicators' schematic.
511
- * To update this file, simply rerun the command.
512
- */
513
- var RESOURCES = {
514
- 'EN-US': {
515
- skyux_alert_close: { message: 'Close the alert' },
516
- skyux_help_inline_button_title: { message: 'Show help content' },
517
- skyux_status_indicator_sr_completed: { message: 'Completed:' },
518
- skyux_status_indicator_sr_error: { message: 'Error:' },
519
- skyux_status_indicator_sr_important_info: {
520
- message: 'Important information:',
521
- },
522
- skyux_status_indicator_sr_warning: { message: 'Warning:' },
523
- skyux_tokens_dismiss_button_title: { message: 'Remove item' },
524
- skyux_wait_aria_alt_text: { message: 'Loading.' },
525
- skyux_wait_blocking_aria_alt_text: { message: 'Loading. Please wait.' },
526
- skyux_wait_page_aria_alt_text: { message: 'Page loading.' },
527
- skyux_wait_page_blocking_aria_alt_text: {
528
- message: 'Page loading. Please wait.',
529
- },
530
- },
531
- };
532
- var SkyIndicatorsResourcesProvider = /** @class */ (function () {
533
- function SkyIndicatorsResourcesProvider() {
534
- }
535
- SkyIndicatorsResourcesProvider.prototype.getString = function (localeInfo, name) {
536
- return i1$1.getLibStringForLocale(RESOURCES, localeInfo.locale, name);
537
- };
538
- return SkyIndicatorsResourcesProvider;
539
- }());
540
- /**
541
- * Import into any component library module that needs to use resource strings.
542
- */
543
- var SkyIndicatorsResourcesModule = /** @class */ (function () {
544
- function SkyIndicatorsResourcesModule() {
545
- }
546
- return SkyIndicatorsResourcesModule;
547
- }());
548
- SkyIndicatorsResourcesModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIndicatorsResourcesModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
549
- SkyIndicatorsResourcesModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIndicatorsResourcesModule, exports: [i1$1.SkyI18nModule] });
550
- SkyIndicatorsResourcesModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIndicatorsResourcesModule, providers: [
551
- {
552
- provide: i1$1.SKY_LIB_RESOURCES_PROVIDERS,
553
- useClass: SkyIndicatorsResourcesProvider,
554
- multi: true,
555
- },
556
- ], imports: [i1$1.SkyI18nModule] });
557
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyIndicatorsResourcesModule, decorators: [{
558
- type: i0.NgModule,
559
- args: [{
560
- exports: [i1$1.SkyI18nModule],
561
- providers: [
562
- {
563
- provide: i1$1.SKY_LIB_RESOURCES_PROVIDERS,
564
- useClass: SkyIndicatorsResourcesProvider,
565
- multi: true,
566
- },
567
- ],
568
- }]
569
- }] });
570
-
571
- /**
572
- * @internl
573
- */
574
- var SkyIndicatorIconUtility = /** @class */ (function () {
575
- function SkyIndicatorIconUtility() {
576
- }
577
- SkyIndicatorIconUtility.getIconsForType = function (indicatorType) {
578
- var icon;
579
- var baseIcon;
580
- var topIcon;
581
- // tslint:disable-next-line: switch-default
582
- switch (indicatorType) {
583
- case 'danger':
584
- case 'warning':
585
- icon = 'warning';
586
- baseIcon = 'triangle-solid';
587
- topIcon = 'exclamation';
588
- break;
589
- case 'info':
590
- icon = 'exclamation-circle';
591
- baseIcon = 'circle-solid';
592
- topIcon = 'help-i';
593
- break;
594
- case 'success':
595
- icon = 'check';
596
- baseIcon = 'circle-solid';
597
- topIcon = 'check';
598
- break;
599
- }
600
- return {
601
- defaultThemeIcon: icon,
602
- modernThemeBaseIcon: {
603
- icon: baseIcon,
604
- iconType: 'skyux',
605
- },
606
- modernThemeTopIcon: {
607
- icon: topIcon,
608
- iconType: 'skyux',
609
- },
610
- };
611
- };
612
- return SkyIndicatorIconUtility;
613
- }());
614
-
615
- var ALERT_TYPE_DEFAULT = 'warning';
616
- var SkyAlertComponent = /** @class */ (function () {
617
- function SkyAlertComponent() {
618
- /**
619
- * Fires when users close the alert.
620
- */
621
- this.closedChange = new i0.EventEmitter();
622
- }
623
- Object.defineProperty(SkyAlertComponent.prototype, "alertType", {
624
- get: function () {
625
- return this._alertType || ALERT_TYPE_DEFAULT;
626
- },
627
- /**
628
- * Specifies a style for the alert to determine the icon and background color.
629
- * The valid options are `danger`, `info`, `success`, and `warning`.
630
- * @default "warning"
631
- */
632
- set: function (value) {
633
- this._alertType = value;
634
- this.updateAlertIcon();
635
- },
636
- enumerable: false,
637
- configurable: true
638
- });
639
- SkyAlertComponent.prototype.ngOnInit = function () {
640
- this.updateAlertIcon();
641
- };
642
- SkyAlertComponent.prototype.close = function () {
643
- this.closed = true;
644
- this.closedChange.emit(true);
645
- };
646
- SkyAlertComponent.prototype.updateAlertIcon = function () {
647
- var indicatorIcon = SkyIndicatorIconUtility.getIconsForType(this.alertType);
648
- this.alertBaseIcon = indicatorIcon.modernThemeBaseIcon;
649
- this.alertTopIcon = indicatorIcon.modernThemeTopIcon;
650
- };
651
- return SkyAlertComponent;
652
- }());
653
- SkyAlertComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyAlertComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
654
- SkyAlertComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyAlertComponent, selector: "sky-alert", inputs: { alertType: "alertType", closeable: "closeable", closed: "closed" }, outputs: { closedChange: "closedChange" }, ngImport: i0__namespace, template: "<div\n class=\"sky-alert\"\n [skyThemeClass]=\"{\n 'sky-rounded-corners': 'default',\n 'sky-box sky-elevation-1': 'modern'\n }\"\n role=\"alert\"\n [hidden]=\"closed\"\n [ngClass]=\"{\n 'sky-alert-info': alertType === 'info',\n 'sky-alert-success': alertType === 'success',\n 'sky-alert-warning': alertType === 'warning',\n 'sky-alert-danger': alertType === 'danger',\n 'sky-alert-closeable': closeable\n }\"\n>\n <div aria-hidden=\"true\" class=\"sky-alert-icon-theme-modern\">\n <sky-icon-stack [baseIcon]=\"alertBaseIcon\" [topIcon]=\"alertTopIcon\">\n </sky-icon-stack>\n </div>\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 size=\"2x\"\n >\n </sky-icon>\n </span>\n </button>\n</div>\n", styles: ["@charset \"UTF-8\";.sky-alert{padding:0 10px;margin-bottom:20px;border-left:solid 30px;color:#212327;display:flex;flex-direction:row;align-items:center}.sky-alert .sky-alert-content{padding-top:10px;padding-bottom:10px;width:100%}.sky-alert .sky-alert-content ::ng-deep a{color:#212327cc;text-decoration:underline}.sky-alert .sky-alert-content ::ng-deep a:hover{color:#212327}.sky-alert button{margin-left:auto;width:32px;height:32px}.sky-alert.sky-alert-info{background-color:#81d4f7;border-color:#00b4f1}.sky-alert.sky-alert-info:before{content:\"\\f06a\";font-family:FontAwesome;margin-left:-31px;margin-right:20px;color:#fff}.sky-alert.sky-alert-success{background-color:#b7da9b;border-color:#72bf44}.sky-alert.sky-alert-success:before{content:\"\\f00c\";font-family:FontAwesome;margin-left:-32px;margin-right:19px;color:#fff}.sky-alert.sky-alert-warning{background-color:#ffd597;border-color:#fbb034}.sky-alert.sky-alert-warning:before{content:\"\\f071\";font-family:FontAwesome;margin-left:-32px;margin-right:19px;color:#fff}.sky-alert.sky-alert-danger{background-color:#f7a08f;border-color:#ef4044}.sky-alert.sky-alert-danger:before{content:\"\\f071\";font-family:FontAwesome;margin-left:-32px;margin-right:19px;color:#fff}.sky-alert-close{cursor:pointer;font-weight:bold;line-height:1;margin:0;padding:0;color:#212327;opacity:.8;border:none;background-color:transparent;display:none}.sky-alert-close:hover{opacity:1}.sky-alert-closeable .sky-alert-close{display:block}.sky-alert-close-icon-theme-modern,.sky-alert-icon-theme-modern{display:none}:host-context(.sky-theme-modern) .sky-alert{border-left-width:7px}:host-context(.sky-theme-modern) .sky-alert .sky-alert-content{padding:15px}:host-context(.sky-theme-modern) .sky-alert.sky-alert-info{background-color:#c1e8fb}:host-context(.sky-theme-modern) .sky-alert-info:before,:host-context(.sky-theme-modern) .sky-alert-success:before,:host-context(.sky-theme-modern) .sky-alert-warning:before,:host-context(.sky-theme-modern) .sky-alert-danger:before{display:none}:host-context(.sky-theme-modern) .sky-alert-info .sky-alert-icon-theme-modern{color:#00b4f1}:host-context(.sky-theme-modern) .sky-alert-success .sky-alert-icon-theme-modern{color:#72bf44}:host-context(.sky-theme-modern) .sky-alert-warning .sky-alert-icon-theme-modern{color:#fbb034}:host-context(.sky-theme-modern) .sky-alert-danger .sky-alert-icon-theme-modern{color:#ef4044}:host-context(.sky-theme-modern) .sky-alert-icon-theme-modern{display:block}:host-context(.sky-theme-modern) .sky-alert-close-icon-theme-default{display:none}:host-context(.sky-theme-modern) .sky-alert-close-icon-theme-modern{display:inline}.sky-theme-modern .sky-alert{border-left-width:7px}.sky-theme-modern .sky-alert .sky-alert-content{padding:15px}.sky-theme-modern .sky-alert.sky-alert-info{background-color:#c1e8fb}.sky-theme-modern .sky-alert-info:before,.sky-theme-modern .sky-alert-success:before,.sky-theme-modern .sky-alert-warning:before,.sky-theme-modern .sky-alert-danger:before{display:none}.sky-theme-modern .sky-alert-info .sky-alert-icon-theme-modern{color:#00b4f1}.sky-theme-modern .sky-alert-success .sky-alert-icon-theme-modern{color:#72bf44}.sky-theme-modern .sky-alert-warning .sky-alert-icon-theme-modern{color:#fbb034}.sky-theme-modern .sky-alert-danger .sky-alert-icon-theme-modern{color:#ef4044}.sky-theme-modern .sky-alert-icon-theme-modern{display:block}.sky-theme-modern .sky-alert-close-icon-theme-default{display:none}.sky-theme-modern .sky-alert-close-icon-theme-modern{display:inline}\n"], components: [{ type: SkyIconStackComponent, selector: "sky-icon-stack", inputs: ["size", "baseIcon", "topIcon"] }, { type: SkyIconComponent, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }], directives: [{ type: i3__namespace.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "skyLibResources": i1__namespace$1.SkyLibResourcesPipe } });
655
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyAlertComponent, decorators: [{
656
- type: i0.Component,
657
- args: [{
658
- selector: 'sky-alert',
659
- styles: ["@charset \"UTF-8\";.sky-alert{padding:0 10px;margin-bottom:20px;border-left:solid 30px;color:#212327;display:flex;flex-direction:row;align-items:center}.sky-alert .sky-alert-content{padding-top:10px;padding-bottom:10px;width:100%}.sky-alert .sky-alert-content ::ng-deep a{color:#212327cc;text-decoration:underline}.sky-alert .sky-alert-content ::ng-deep a:hover{color:#212327}.sky-alert button{margin-left:auto;width:32px;height:32px}.sky-alert.sky-alert-info{background-color:#81d4f7;border-color:#00b4f1}.sky-alert.sky-alert-info:before{content:\"\\f06a\";font-family:FontAwesome;margin-left:-31px;margin-right:20px;color:#fff}.sky-alert.sky-alert-success{background-color:#b7da9b;border-color:#72bf44}.sky-alert.sky-alert-success:before{content:\"\\f00c\";font-family:FontAwesome;margin-left:-32px;margin-right:19px;color:#fff}.sky-alert.sky-alert-warning{background-color:#ffd597;border-color:#fbb034}.sky-alert.sky-alert-warning:before{content:\"\\f071\";font-family:FontAwesome;margin-left:-32px;margin-right:19px;color:#fff}.sky-alert.sky-alert-danger{background-color:#f7a08f;border-color:#ef4044}.sky-alert.sky-alert-danger:before{content:\"\\f071\";font-family:FontAwesome;margin-left:-32px;margin-right:19px;color:#fff}.sky-alert-close{cursor:pointer;font-weight:bold;line-height:1;margin:0;padding:0;color:#212327;opacity:.8;border:none;background-color:transparent;display:none}.sky-alert-close:hover{opacity:1}.sky-alert-closeable .sky-alert-close{display:block}.sky-alert-close-icon-theme-modern,.sky-alert-icon-theme-modern{display:none}:host-context(.sky-theme-modern) .sky-alert{border-left-width:7px}:host-context(.sky-theme-modern) .sky-alert .sky-alert-content{padding:15px}:host-context(.sky-theme-modern) .sky-alert.sky-alert-info{background-color:#c1e8fb}:host-context(.sky-theme-modern) .sky-alert-info:before,:host-context(.sky-theme-modern) .sky-alert-success:before,:host-context(.sky-theme-modern) .sky-alert-warning:before,:host-context(.sky-theme-modern) .sky-alert-danger:before{display:none}:host-context(.sky-theme-modern) .sky-alert-info .sky-alert-icon-theme-modern{color:#00b4f1}:host-context(.sky-theme-modern) .sky-alert-success .sky-alert-icon-theme-modern{color:#72bf44}:host-context(.sky-theme-modern) .sky-alert-warning .sky-alert-icon-theme-modern{color:#fbb034}:host-context(.sky-theme-modern) .sky-alert-danger .sky-alert-icon-theme-modern{color:#ef4044}:host-context(.sky-theme-modern) .sky-alert-icon-theme-modern{display:block}:host-context(.sky-theme-modern) .sky-alert-close-icon-theme-default{display:none}:host-context(.sky-theme-modern) .sky-alert-close-icon-theme-modern{display:inline}.sky-theme-modern .sky-alert{border-left-width:7px}.sky-theme-modern .sky-alert .sky-alert-content{padding:15px}.sky-theme-modern .sky-alert.sky-alert-info{background-color:#c1e8fb}.sky-theme-modern .sky-alert-info:before,.sky-theme-modern .sky-alert-success:before,.sky-theme-modern .sky-alert-warning:before,.sky-theme-modern .sky-alert-danger:before{display:none}.sky-theme-modern .sky-alert-info .sky-alert-icon-theme-modern{color:#00b4f1}.sky-theme-modern .sky-alert-success .sky-alert-icon-theme-modern{color:#72bf44}.sky-theme-modern .sky-alert-warning .sky-alert-icon-theme-modern{color:#fbb034}.sky-theme-modern .sky-alert-danger .sky-alert-icon-theme-modern{color:#ef4044}.sky-theme-modern .sky-alert-icon-theme-modern{display:block}.sky-theme-modern .sky-alert-close-icon-theme-default{display:none}.sky-theme-modern .sky-alert-close-icon-theme-modern{display:inline}\n"],
660
- template: "<div\n class=\"sky-alert\"\n [skyThemeClass]=\"{\n 'sky-rounded-corners': 'default',\n 'sky-box sky-elevation-1': 'modern'\n }\"\n role=\"alert\"\n [hidden]=\"closed\"\n [ngClass]=\"{\n 'sky-alert-info': alertType === 'info',\n 'sky-alert-success': alertType === 'success',\n 'sky-alert-warning': alertType === 'warning',\n 'sky-alert-danger': alertType === 'danger',\n 'sky-alert-closeable': closeable\n }\"\n>\n <div aria-hidden=\"true\" class=\"sky-alert-icon-theme-modern\">\n <sky-icon-stack [baseIcon]=\"alertBaseIcon\" [topIcon]=\"alertTopIcon\">\n </sky-icon-stack>\n </div>\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 size=\"2x\"\n >\n </sky-icon>\n </span>\n </button>\n</div>\n",
661
- }]
662
- }], propDecorators: { alertType: [{
663
- type: i0.Input
664
- }], closeable: [{
665
- type: i0.Input
666
- }], closed: [{
667
- type: i0.Input
668
- }], closedChange: [{
669
- type: i0.Output
670
- }] } });
671
-
672
- var SkyAlertModule = /** @class */ (function () {
673
- function SkyAlertModule() {
674
- }
675
- return SkyAlertModule;
676
- }());
677
- SkyAlertModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyAlertModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
678
- SkyAlertModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyAlertModule, declarations: [SkyAlertComponent], imports: [i1.CommonModule,
679
- i1$1.SkyI18nModule,
680
- SkyIconModule,
681
- SkyIndicatorsResourcesModule,
682
- i3.SkyThemeModule], exports: [SkyAlertComponent] });
683
- SkyAlertModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyAlertModule, imports: [[
684
- i1.CommonModule,
685
- i1$1.SkyI18nModule,
686
- SkyIconModule,
687
- SkyIndicatorsResourcesModule,
688
- i3.SkyThemeModule,
689
- ]] });
690
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyAlertModule, decorators: [{
691
- type: i0.NgModule,
692
- args: [{
693
- declarations: [SkyAlertComponent],
694
- imports: [
695
- i1.CommonModule,
696
- i1$1.SkyI18nModule,
697
- SkyIconModule,
698
- SkyIndicatorsResourcesModule,
699
- i3.SkyThemeModule,
700
- ],
701
- exports: [SkyAlertComponent],
702
- }]
703
- }] });
704
-
705
- /**
706
- * Displays a chevron icon.
707
- * @internal
708
- */
709
- var SkyExpansionIndicatorComponent = /** @class */ (function () {
710
- function SkyExpansionIndicatorComponent() {
711
- }
712
- Object.defineProperty(SkyExpansionIndicatorComponent.prototype, "direction", {
713
- get: function () {
714
- return this._direction || 'up';
715
- },
716
- /**
717
- * Specifies whether the chevron points up or down.
718
- */
719
- set: function (value) {
720
- /* istanbul ignore else */
721
- if (value != this._direction) {
722
- this._direction = value;
723
- }
724
- },
725
- enumerable: false,
726
- configurable: true
727
- });
728
- return SkyExpansionIndicatorComponent;
729
- }());
730
- SkyExpansionIndicatorComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyExpansionIndicatorComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
731
- SkyExpansionIndicatorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyExpansionIndicatorComponent, selector: "sky-expansion-indicator", inputs: { direction: "direction" }, ngImport: i0__namespace, template: "<div\n aria-hidden=\"true\"\n class=\"sky-expansion-indicator\"\n [ngClass]=\"['sky-expansion-indicator-' + direction]\"\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"], directives: [{ type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3__namespace.λ3, selector: "[skyThemeIf]", inputs: ["skyThemeIf"] }, { type: i1__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
732
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyExpansionIndicatorComponent, decorators: [{
733
- type: i0.Component,
734
- args: [{
735
- selector: 'sky-expansion-indicator',
736
- 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"],
737
- template: "<div\n aria-hidden=\"true\"\n class=\"sky-expansion-indicator\"\n [ngClass]=\"['sky-expansion-indicator-' + direction]\"\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",
738
- }]
739
- }], propDecorators: { direction: [{
740
- type: i0.Input
741
- }] } });
742
-
743
- var SkyExpansionIndicatorModule = /** @class */ (function () {
744
- function SkyExpansionIndicatorModule() {
745
- }
746
- return SkyExpansionIndicatorModule;
747
- }());
748
- SkyExpansionIndicatorModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyExpansionIndicatorModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
749
- SkyExpansionIndicatorModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyExpansionIndicatorModule, declarations: [SkyExpansionIndicatorComponent], imports: [i1.CommonModule, i3.SkyThemeModule], exports: [SkyExpansionIndicatorComponent] });
750
- SkyExpansionIndicatorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyExpansionIndicatorModule, imports: [[i1.CommonModule, i3.SkyThemeModule]] });
751
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyExpansionIndicatorModule, decorators: [{
752
- type: i0.NgModule,
753
- args: [{
754
- declarations: [SkyExpansionIndicatorComponent],
755
- imports: [i1.CommonModule, i3.SkyThemeModule],
756
- exports: [SkyExpansionIndicatorComponent],
757
- }]
758
- }] });
759
-
760
- /**
761
- * Creates an accessible button that wraps the chevron icon.
762
- * @internal
763
- */
764
- var SkyChevronComponent = /** @class */ (function () {
765
- function SkyChevronComponent() {
766
- /**
767
- * Indicates whether to disable the chevron button.
768
- */
769
- this.disabled = false;
770
- /**
771
- * Fires when the direction of the chevron changes.
772
- */
773
- this.directionChange = new i0.EventEmitter();
774
- }
775
- Object.defineProperty(SkyChevronComponent.prototype, "direction", {
776
- get: function () {
777
- return this._direction || 'up';
778
- },
779
- /**
780
- * Specifies whether the chevron points up or down.
781
- */
782
- set: function (value) {
783
- /* istanbul ignore else */
784
- if (value != this._direction) {
785
- this._direction = value;
786
- /* istanbul ignore else */
787
- if (value === 'up') {
788
- this.ariaExpanded = true;
789
- }
790
- else if (this.direction === 'down') {
791
- this.ariaExpanded = false;
792
- }
793
- }
794
- },
795
- enumerable: false,
796
- configurable: true
797
- });
798
- SkyChevronComponent.prototype.chevronClick = function (event) {
799
- event.stopPropagation();
800
- this.direction = this.direction === 'up' ? 'down' : 'up';
801
- this.directionChange.emit(this.direction);
802
- };
803
- return SkyChevronComponent;
804
- }());
805
- SkyChevronComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyChevronComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
806
- SkyChevronComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyChevronComponent, selector: "sky-chevron", inputs: { ariaControls: "ariaControls", ariaLabel: "ariaLabel", direction: "direction", disabled: "disabled" }, outputs: { directionChange: "directionChange" }, ngImport: i0__namespace, 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-' + direction]\"\n [skyThemeClass]=\"{\n 'sky-btn sky-btn-icon-borderless': 'modern'\n }\"\n (click)=\"chevronClick($event)\"\n>\n <sky-expansion-indicator [direction]=\"direction\"></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"], components: [{ type: SkyExpansionIndicatorComponent, selector: "sky-expansion-indicator", inputs: ["direction"] }], directives: [{ type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3__namespace.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }] });
807
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyChevronComponent, decorators: [{
808
- type: i0.Component,
809
- args: [{
810
- selector: 'sky-chevron',
811
- 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"],
812
- 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-' + direction]\"\n [skyThemeClass]=\"{\n 'sky-btn sky-btn-icon-borderless': 'modern'\n }\"\n (click)=\"chevronClick($event)\"\n>\n <sky-expansion-indicator [direction]=\"direction\"></sky-expansion-indicator>\n</button>\n",
813
- }]
814
- }], propDecorators: { ariaControls: [{
815
- type: i0.Input
816
- }], ariaLabel: [{
817
- type: i0.Input
818
- }], direction: [{
819
- type: i0.Input
820
- }], disabled: [{
821
- type: i0.Input
822
- }], directionChange: [{
823
- type: i0.Output
824
- }] } });
825
-
826
- var SkyChevronModule = /** @class */ (function () {
827
- function SkyChevronModule() {
828
- }
829
- return SkyChevronModule;
830
- }());
831
- SkyChevronModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyChevronModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
832
- SkyChevronModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyChevronModule, declarations: [SkyChevronComponent], imports: [i1.CommonModule,
833
- i1$1.SkyI18nModule,
834
- SkyIndicatorsResourcesModule,
835
- i3.SkyThemeModule,
836
- SkyExpansionIndicatorModule], exports: [SkyChevronComponent] });
837
- SkyChevronModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyChevronModule, imports: [[
838
- i1.CommonModule,
839
- i1$1.SkyI18nModule,
840
- SkyIndicatorsResourcesModule,
841
- i3.SkyThemeModule,
842
- SkyExpansionIndicatorModule,
843
- ]] });
844
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyChevronModule, decorators: [{
845
- type: i0.NgModule,
846
- args: [{
847
- declarations: [SkyChevronComponent],
848
- imports: [
849
- i1.CommonModule,
850
- i1$1.SkyI18nModule,
851
- SkyIndicatorsResourcesModule,
852
- i3.SkyThemeModule,
853
- SkyExpansionIndicatorModule,
854
- ],
855
- exports: [SkyChevronComponent],
856
- }]
857
- }] });
858
-
859
- var SkyHelpInlineComponent = /** @class */ (function () {
860
- function SkyHelpInlineComponent() {
861
- /**
862
- * Fires when the user clicks the help inline button.
863
- */
864
- this.actionClick = new i0.EventEmitter();
865
- }
866
- SkyHelpInlineComponent.prototype.onClick = function () {
867
- this.actionClick.emit();
868
- };
869
- return SkyHelpInlineComponent;
870
- }());
871
- SkyHelpInlineComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyHelpInlineComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
872
- SkyHelpInlineComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyHelpInlineComponent, selector: "sky-help-inline", outputs: { actionClick: "actionClick" }, ngImport: i0__namespace, template: "<button\n class=\"sky-help-inline\"\n type=\"button\"\n [attr.aria-label]=\"'skyux_help_inline_button_title' | skyLibResources\"\n (click)=\"onClick()\"\n>\n <sky-icon *skyThemeIf=\"'default'\" 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 ::ng-deep .fa-stack-2x{font-size:16px}:host-context(.sky-theme-modern) .sky-help-inline ::ng-deep .fa-stack-1x{font-size:10px}.sky-theme-modern .sky-help-inline ::ng-deep .fa-stack-2x{font-size:16px}.sky-theme-modern .sky-help-inline ::ng-deep .fa-stack-1x{font-size:10px}\n"], components: [{ type: SkyIconComponent, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { type: SkyIconStackComponent, selector: "sky-icon-stack", inputs: ["size", "baseIcon", "topIcon"] }], directives: [{ type: i3__namespace.λ3, selector: "[skyThemeIf]", inputs: ["skyThemeIf"] }], pipes: { "skyLibResources": i1__namespace$1.SkyLibResourcesPipe } });
873
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyHelpInlineComponent, decorators: [{
874
- type: i0.Component,
875
- args: [{
876
- selector: 'sky-help-inline',
877
- template: "<button\n class=\"sky-help-inline\"\n type=\"button\"\n [attr.aria-label]=\"'skyux_help_inline_button_title' | skyLibResources\"\n (click)=\"onClick()\"\n>\n <sky-icon *skyThemeIf=\"'default'\" 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",
878
- styles: [".sky-help-inline{color:#0974a1;font-size:15px;background-color:transparent;border:none;display:inline-block}.sky-help-inline:hover{color:#065171;transition:color .15s;cursor:pointer}:host-context(.sky-theme-modern) .sky-help-inline ::ng-deep .fa-stack-2x{font-size:16px}:host-context(.sky-theme-modern) .sky-help-inline ::ng-deep .fa-stack-1x{font-size:10px}.sky-theme-modern .sky-help-inline ::ng-deep .fa-stack-2x{font-size:16px}.sky-theme-modern .sky-help-inline ::ng-deep .fa-stack-1x{font-size:10px}\n"],
879
- }]
880
- }], propDecorators: { actionClick: [{
881
- type: i0.Output
882
- }] } });
883
-
884
- var SkyHelpInlineModule = /** @class */ (function () {
885
- function SkyHelpInlineModule() {
886
- }
887
- return SkyHelpInlineModule;
888
- }());
889
- SkyHelpInlineModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyHelpInlineModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
890
- SkyHelpInlineModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyHelpInlineModule, declarations: [SkyHelpInlineComponent], imports: [i1.CommonModule,
891
- i1$1.SkyI18nModule,
892
- SkyIconModule,
893
- SkyIndicatorsResourcesModule,
894
- i3.SkyThemeModule], exports: [SkyHelpInlineComponent] });
895
- SkyHelpInlineModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyHelpInlineModule, imports: [[
896
- i1.CommonModule,
897
- i1$1.SkyI18nModule,
898
- SkyIconModule,
899
- SkyIndicatorsResourcesModule,
900
- i3.SkyThemeModule,
901
- ]] });
902
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyHelpInlineModule, decorators: [{
903
- type: i0.NgModule,
904
- args: [{
905
- declarations: [SkyHelpInlineComponent],
906
- imports: [
907
- i1.CommonModule,
908
- i1$1.SkyI18nModule,
909
- SkyIconModule,
910
- SkyIndicatorsResourcesModule,
911
- i3.SkyThemeModule,
912
- ],
913
- exports: [SkyHelpInlineComponent],
914
- }]
915
- }] });
916
-
917
- /**
918
- * Specifies a label to display in smaller, plain text under or beside the value.
919
- * @required
920
- */
921
- var SkyKeyInfoLabelComponent = /** @class */ (function () {
922
- function SkyKeyInfoLabelComponent() {
923
- }
924
- return SkyKeyInfoLabelComponent;
925
- }());
926
- SkyKeyInfoLabelComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyKeyInfoLabelComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
927
- SkyKeyInfoLabelComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyKeyInfoLabelComponent, selector: "sky-key-info-label", ngImport: i0__namespace, template: '<ng-content></ng-content>', isInline: true });
928
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyKeyInfoLabelComponent, decorators: [{
929
- type: i0.Component,
930
- args: [{
931
- selector: 'sky-key-info-label',
932
- template: '<ng-content></ng-content>',
933
- }]
934
- }] });
935
-
936
- /**
937
- * Specifies a value to display in larger, bold text.
938
- * @required
939
- */
940
- var SkyKeyInfoValueComponent = /** @class */ (function () {
941
- function SkyKeyInfoValueComponent() {
942
- }
943
- return SkyKeyInfoValueComponent;
944
- }());
945
- SkyKeyInfoValueComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyKeyInfoValueComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
946
- SkyKeyInfoValueComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyKeyInfoValueComponent, selector: "sky-key-info-value", ngImport: i0__namespace, template: '<ng-content></ng-content>', isInline: true });
947
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyKeyInfoValueComponent, decorators: [{
948
- type: i0.Component,
949
- args: [{
950
- selector: 'sky-key-info-value',
951
- template: '<ng-content></ng-content>',
952
- }]
953
- }] });
954
-
955
- var SkyKeyInfoComponent = /** @class */ (function () {
956
- function SkyKeyInfoComponent() {
957
- /**
958
- * Specifies whether to display key info in a `vertical` layout with the label under the
959
- * value or in a `horizontal` layout with the label beside the value.
960
- * @default "vertical"
961
- */
962
- this.layout = 'vertical';
963
- }
964
- return SkyKeyInfoComponent;
965
- }());
966
- SkyKeyInfoComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyKeyInfoComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
967
- SkyKeyInfoComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyKeyInfoComponent, selector: "sky-key-info", inputs: { layout: "layout" }, ngImport: i0__namespace, 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-headline\">\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 <ng-content select=\"sky-key-info-label\"> </ng-content>\n </div>\n</div>\n", styles: [".sky-key-info{display:inline-block}.sky-key-info.sky-key-info-horizontal .sky-key-info-value,.sky-key-info.sky-key-info-horizontal .sky-key-info-label{display:inline-block}.sky-key-info.sky-key-info-horizontal .sky-key-info-label{padding:0 0 0 5px}:host-context(.sky-theme-modern) .sky-key-info.sky-key-info-horizontal .sky-key-info-label{padding:0 0 0 5px}.sky-theme-modern .sky-key-info.sky-key-info-horizontal .sky-key-info-label{padding:0 0 0 5px}\n"], directives: [{ type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
968
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyKeyInfoComponent, decorators: [{
969
- type: i0.Component,
970
- args: [{
971
- selector: 'sky-key-info',
972
- 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-headline\">\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 <ng-content select=\"sky-key-info-label\"> </ng-content>\n </div>\n</div>\n",
973
- styles: [".sky-key-info{display:inline-block}.sky-key-info.sky-key-info-horizontal .sky-key-info-value,.sky-key-info.sky-key-info-horizontal .sky-key-info-label{display:inline-block}.sky-key-info.sky-key-info-horizontal .sky-key-info-label{padding:0 0 0 5px}:host-context(.sky-theme-modern) .sky-key-info.sky-key-info-horizontal .sky-key-info-label{padding:0 0 0 5px}.sky-theme-modern .sky-key-info.sky-key-info-horizontal .sky-key-info-label{padding:0 0 0 5px}\n"],
974
- }]
975
- }], propDecorators: { layout: [{
976
- type: i0.Input
977
- }] } });
978
-
979
- var SkyKeyInfoModule = /** @class */ (function () {
980
- function SkyKeyInfoModule() {
981
- }
982
- return SkyKeyInfoModule;
983
- }());
984
- SkyKeyInfoModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyKeyInfoModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
985
- SkyKeyInfoModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyKeyInfoModule, declarations: [SkyKeyInfoComponent,
986
- SkyKeyInfoLabelComponent,
987
- SkyKeyInfoValueComponent], imports: [i1.CommonModule], exports: [SkyKeyInfoComponent,
988
- SkyKeyInfoLabelComponent,
989
- SkyKeyInfoValueComponent] });
990
- SkyKeyInfoModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyKeyInfoModule, imports: [[i1.CommonModule]] });
991
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyKeyInfoModule, decorators: [{
992
- type: i0.NgModule,
993
- args: [{
994
- declarations: [
995
- SkyKeyInfoComponent,
996
- SkyKeyInfoLabelComponent,
997
- SkyKeyInfoValueComponent,
998
- ],
999
- imports: [i1.CommonModule],
1000
- exports: [
1001
- SkyKeyInfoComponent,
1002
- SkyKeyInfoLabelComponent,
1003
- SkyKeyInfoValueComponent,
1004
- ],
1005
- }]
1006
- }] });
1007
-
1008
- var SkyLabelComponent = /** @class */ (function () {
1009
- function SkyLabelComponent() {
1010
- }
1011
- Object.defineProperty(SkyLabelComponent.prototype, "labelType", {
1012
- get: function () {
1013
- return this._labelType || 'info';
1014
- },
1015
- /**
1016
- * The type of label to display.
1017
- * @required
1018
- */
1019
- set: function (value) {
1020
- this._labelType = value;
1021
- this.updateIcon();
1022
- },
1023
- enumerable: false,
1024
- configurable: true
1025
- });
1026
- SkyLabelComponent.prototype.updateIcon = function () {
1027
- var indicatorIcon = SkyIndicatorIconUtility.getIconsForType(this.labelType);
1028
- this.icon = indicatorIcon.defaultThemeIcon;
1029
- this.baseIcon = indicatorIcon.modernThemeBaseIcon;
1030
- this.topIcon = indicatorIcon.modernThemeTopIcon;
1031
- };
1032
- return SkyLabelComponent;
1033
- }());
1034
- SkyLabelComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyLabelComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1035
- SkyLabelComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyLabelComponent, selector: "sky-label", inputs: { labelType: "labelType" }, ngImport: i0__namespace, template: "<span class=\"sky-label\" [ngClass]=\"'sky-label-' + labelType\">\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 class=\"sky-label-text\">\n <ng-content></ng-content>\n </span>\n</span>\n", styles: [".sky-label{color:#212327;display:inline;border-radius:10rem;font-weight:400;line-height:2.2;margin:0 3px;padding:.3em .6em;white-space:nowrap}.sky-label-success{background-color:#b7da9b}.sky-label-info{background-color:#81d4f7}.sky-label-warning{background-color:#ffd597}.sky-label-danger{background-color:#f7a08f}.sky-label-text{display:inline-block;padding-left:5px}.sky-label-icon-theme-modern{display:none}:host-context(.sky-theme-modern) .sky-label{align-items:center;display:inline-flex;line-height:1}:host-context(.sky-theme-modern) .sky-label.sky-label-info{background-color:#c1e8fb}:host-context(.sky-theme-modern) .sky-label.sky-label-info,:host-context(.sky-theme-modern) .sky-label.sky-label-success{padding:4px 15px 4px 6px}:host-context(.sky-theme-modern) .sky-label.sky-label-warning,:host-context(.sky-theme-modern) .sky-label.sky-label-danger{padding:4px 15px 4px 9px}:host-context(.sky-theme-modern) .sky-label-icon-theme-default{display:none}:host-context(.sky-theme-modern) .sky-label-icon-theme-modern{display:block}:host-context(.sky-theme-modern) .sky-label-info .sky-label-icon-theme-modern{color:#00b4f1}:host-context(.sky-theme-modern) .sky-label-success .sky-label-icon-theme-modern{color:#72bf44}:host-context(.sky-theme-modern) .sky-label-warning .sky-label-icon-theme-modern{color:#fbb034}:host-context(.sky-theme-modern) .sky-label-danger .sky-label-icon-theme-modern{color:#ef4044}.sky-theme-modern .sky-label{align-items:center;display:inline-flex;line-height:1}.sky-theme-modern .sky-label.sky-label-info{background-color:#c1e8fb}.sky-theme-modern .sky-label.sky-label-info,.sky-theme-modern .sky-label.sky-label-success{padding:4px 15px 4px 6px}.sky-theme-modern .sky-label.sky-label-warning,.sky-theme-modern .sky-label.sky-label-danger{padding:4px 15px 4px 9px}.sky-theme-modern .sky-label-icon-theme-default{display:none}.sky-theme-modern .sky-label-icon-theme-modern{display:block}.sky-theme-modern .sky-label-info .sky-label-icon-theme-modern{color:#00b4f1}.sky-theme-modern .sky-label-success .sky-label-icon-theme-modern{color:#72bf44}.sky-theme-modern .sky-label-warning .sky-label-icon-theme-modern{color:#fbb034}.sky-theme-modern .sky-label-danger .sky-label-icon-theme-modern{color:#ef4044}\n"], components: [{ type: SkyIconComponent, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { type: SkyIconStackComponent, selector: "sky-icon-stack", inputs: ["size", "baseIcon", "topIcon"] }], directives: [{ type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
1036
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyLabelComponent, decorators: [{
1037
- type: i0.Component,
1038
- args: [{
1039
- selector: 'sky-label',
1040
- template: "<span class=\"sky-label\" [ngClass]=\"'sky-label-' + labelType\">\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 class=\"sky-label-text\">\n <ng-content></ng-content>\n </span>\n</span>\n",
1041
- styles: [".sky-label{color:#212327;display:inline;border-radius:10rem;font-weight:400;line-height:2.2;margin:0 3px;padding:.3em .6em;white-space:nowrap}.sky-label-success{background-color:#b7da9b}.sky-label-info{background-color:#81d4f7}.sky-label-warning{background-color:#ffd597}.sky-label-danger{background-color:#f7a08f}.sky-label-text{display:inline-block;padding-left:5px}.sky-label-icon-theme-modern{display:none}:host-context(.sky-theme-modern) .sky-label{align-items:center;display:inline-flex;line-height:1}:host-context(.sky-theme-modern) .sky-label.sky-label-info{background-color:#c1e8fb}:host-context(.sky-theme-modern) .sky-label.sky-label-info,:host-context(.sky-theme-modern) .sky-label.sky-label-success{padding:4px 15px 4px 6px}:host-context(.sky-theme-modern) .sky-label.sky-label-warning,:host-context(.sky-theme-modern) .sky-label.sky-label-danger{padding:4px 15px 4px 9px}:host-context(.sky-theme-modern) .sky-label-icon-theme-default{display:none}:host-context(.sky-theme-modern) .sky-label-icon-theme-modern{display:block}:host-context(.sky-theme-modern) .sky-label-info .sky-label-icon-theme-modern{color:#00b4f1}:host-context(.sky-theme-modern) .sky-label-success .sky-label-icon-theme-modern{color:#72bf44}:host-context(.sky-theme-modern) .sky-label-warning .sky-label-icon-theme-modern{color:#fbb034}:host-context(.sky-theme-modern) .sky-label-danger .sky-label-icon-theme-modern{color:#ef4044}.sky-theme-modern .sky-label{align-items:center;display:inline-flex;line-height:1}.sky-theme-modern .sky-label.sky-label-info{background-color:#c1e8fb}.sky-theme-modern .sky-label.sky-label-info,.sky-theme-modern .sky-label.sky-label-success{padding:4px 15px 4px 6px}.sky-theme-modern .sky-label.sky-label-warning,.sky-theme-modern .sky-label.sky-label-danger{padding:4px 15px 4px 9px}.sky-theme-modern .sky-label-icon-theme-default{display:none}.sky-theme-modern .sky-label-icon-theme-modern{display:block}.sky-theme-modern .sky-label-info .sky-label-icon-theme-modern{color:#00b4f1}.sky-theme-modern .sky-label-success .sky-label-icon-theme-modern{color:#72bf44}.sky-theme-modern .sky-label-warning .sky-label-icon-theme-modern{color:#fbb034}.sky-theme-modern .sky-label-danger .sky-label-icon-theme-modern{color:#ef4044}\n"],
1042
- }]
1043
- }], propDecorators: { labelType: [{
1044
- type: i0.Input
1045
- }] } });
1046
-
1047
- var SkyLabelModule = /** @class */ (function () {
1048
- function SkyLabelModule() {
1049
- }
1050
- return SkyLabelModule;
1051
- }());
1052
- SkyLabelModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyLabelModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1053
- SkyLabelModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyLabelModule, declarations: [SkyLabelComponent], imports: [i1.CommonModule, SkyIconModule], exports: [SkyLabelComponent] });
1054
- SkyLabelModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyLabelModule, imports: [[i1.CommonModule, SkyIconModule]] });
1055
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyLabelModule, decorators: [{
1056
- type: i0.NgModule,
1057
- args: [{
1058
- declarations: [SkyLabelComponent],
1059
- imports: [i1.CommonModule, SkyIconModule],
1060
- exports: [SkyLabelComponent],
1061
- }]
1062
- }] });
1063
-
1064
- var INDICATOR_TYPE_DEFAULT = 'warning';
1065
- var SkyStatusIndicatorComponent = /** @class */ (function () {
1066
- function SkyStatusIndicatorComponent(changeDetector, resources) {
1067
- this.changeDetector = changeDetector;
1068
- this.resources = resources;
1069
- }
1070
- Object.defineProperty(SkyStatusIndicatorComponent.prototype, "indicatorType", {
1071
- get: function () {
1072
- return this._indicatorType || INDICATOR_TYPE_DEFAULT;
1073
- },
1074
- /**
1075
- * Specifies a style for the status indicator to determine the icon.
1076
- * The valid options are `danger`, `info`, `success`, and `warning`.
1077
- * @default "warning"
1078
- */
1079
- set: function (value) {
1080
- this._indicatorType = value;
1081
- this.updateIcon();
1082
- },
1083
- enumerable: false,
1084
- configurable: true
1085
- });
1086
- Object.defineProperty(SkyStatusIndicatorComponent.prototype, "descriptionType", {
1087
- get: function () {
1088
- return this._descriptionType;
1089
- },
1090
- /**
1091
- * Specifies the predefined text to be read by screen readers for users
1092
- * who cannot see the indicator icon. The valid options are `none`, `custom`,
1093
- * `error`, `warning`, `completed`, and `important-info`.
1094
- * @required
1095
- */
1096
- set: function (value) {
1097
- this._descriptionType = value;
1098
- this.updateDescriptionComputed();
1099
- },
1100
- enumerable: false,
1101
- configurable: true
1102
- });
1103
- Object.defineProperty(SkyStatusIndicatorComponent.prototype, "customDescription", {
1104
- get: function () {
1105
- return this._customDescription;
1106
- },
1107
- /**
1108
- * Specifies the text to be read by screen readers for users who cannot see
1109
- * the indicator icon when `descriptionType` is `custom`.
1110
- */
1111
- set: function (value) {
1112
- this._customDescription = value;
1113
- this.updateDescriptionComputed();
1114
- },
1115
- enumerable: false,
1116
- configurable: true
1117
- });
1118
- SkyStatusIndicatorComponent.prototype.updateIcon = function () {
1119
- var indicatorIcon = SkyIndicatorIconUtility.getIconsForType(this.indicatorType);
1120
- this.icon = indicatorIcon.defaultThemeIcon;
1121
- this.baseIcon = indicatorIcon.modernThemeBaseIcon;
1122
- this.topIcon = indicatorIcon.modernThemeTopIcon;
1123
- };
1124
- SkyStatusIndicatorComponent.prototype.updateDescriptionComputed = function () {
1125
- var _this = this;
1126
- if (this.descriptionType) {
1127
- switch (this.descriptionType) {
1128
- case 'none':
1129
- this.descriptionComputed = '';
1130
- break;
1131
- case 'custom':
1132
- this.descriptionComputed = this.customDescription;
1133
- break;
1134
- default:
1135
- this.resources
1136
- .getString('skyux_status_indicator_sr_' +
1137
- this.descriptionType.replace(/-/g, '_'))
1138
- .subscribe(function (value) {
1139
- _this.descriptionComputed = value;
1140
- _this.changeDetector.markForCheck();
1141
- });
1142
- break;
1143
- }
1144
- }
1145
- else {
1146
- this.descriptionComputed = undefined;
1147
- }
1148
- };
1149
- return SkyStatusIndicatorComponent;
1150
- }());
1151
- SkyStatusIndicatorComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyStatusIndicatorComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$1.SkyLibResourcesService }], target: i0__namespace.ɵɵFactoryTarget.Component });
1152
- SkyStatusIndicatorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyStatusIndicatorComponent, selector: "sky-status-indicator", inputs: { indicatorType: "indicatorType", descriptionType: "descriptionType", customDescription: "customDescription" }, ngImport: i0__namespace, 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-' + indicatorType\"\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\">\n <ng-content></ng-content>\n </span>\n </div>\n</div>\n", styles: [".sky-status-indicator{align-items:baseline;display:flex}.sky-status-indicator-icon{flex-shrink:1}.sky-status-indicator-icon-modern{display:none}.sky-status-indicator-icon-info{color:#00b4f1}.sky-status-indicator-icon-success{color:#72bf44}.sky-status-indicator-icon-warning{color:#fbb034}.sky-status-indicator-icon-danger{color:#ef4044}:host-context(.sky-theme-modern) .sky-status-indicator-icon-default{display:none}:host-context(.sky-theme-modern) .sky-status-indicator-icon-modern{display:inline}.sky-theme-modern .sky-status-indicator-icon-default{display:none}.sky-theme-modern .sky-status-indicator-icon-modern{display:inline}\n"], components: [{ type: SkyIconComponent, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { type: SkyIconStackComponent, selector: "sky-icon-stack", inputs: ["size", "baseIcon", "topIcon"] }], directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
1153
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyStatusIndicatorComponent, decorators: [{
1154
- type: i0.Component,
1155
- args: [{
1156
- selector: 'sky-status-indicator',
1157
- 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-' + indicatorType\"\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\">\n <ng-content></ng-content>\n </span>\n </div>\n</div>\n",
1158
- styles: [".sky-status-indicator{align-items:baseline;display:flex}.sky-status-indicator-icon{flex-shrink:1}.sky-status-indicator-icon-modern{display:none}.sky-status-indicator-icon-info{color:#00b4f1}.sky-status-indicator-icon-success{color:#72bf44}.sky-status-indicator-icon-warning{color:#fbb034}.sky-status-indicator-icon-danger{color:#ef4044}:host-context(.sky-theme-modern) .sky-status-indicator-icon-default{display:none}:host-context(.sky-theme-modern) .sky-status-indicator-icon-modern{display:inline}.sky-theme-modern .sky-status-indicator-icon-default{display:none}.sky-theme-modern .sky-status-indicator-icon-modern{display:inline}\n"],
1159
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
1160
- }]
1161
- }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$1.SkyLibResourcesService }]; }, propDecorators: { indicatorType: [{
1162
- type: i0.Input
1163
- }], descriptionType: [{
1164
- type: i0.Input
1165
- }], customDescription: [{
1166
- type: i0.Input
1167
- }] } });
1168
-
1169
- var SkyStatusIndicatorModule = /** @class */ (function () {
1170
- function SkyStatusIndicatorModule() {
1171
- }
1172
- return SkyStatusIndicatorModule;
1173
- }());
1174
- SkyStatusIndicatorModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyStatusIndicatorModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1175
- SkyStatusIndicatorModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyStatusIndicatorModule, declarations: [SkyStatusIndicatorComponent], imports: [i1.CommonModule,
1176
- i1$1.SkyI18nModule,
1177
- SkyIconModule,
1178
- SkyIndicatorsResourcesModule], exports: [SkyStatusIndicatorComponent] });
1179
- SkyStatusIndicatorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyStatusIndicatorModule, imports: [[
1180
- i1.CommonModule,
1181
- i1$1.SkyI18nModule,
1182
- SkyIconModule,
1183
- SkyIndicatorsResourcesModule,
1184
- ]] });
1185
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyStatusIndicatorModule, decorators: [{
1186
- type: i0.NgModule,
1187
- args: [{
1188
- declarations: [SkyStatusIndicatorComponent],
1189
- imports: [
1190
- i1.CommonModule,
1191
- i1$1.SkyI18nModule,
1192
- SkyIconModule,
1193
- SkyIndicatorsResourcesModule,
1194
- ],
1195
- exports: [SkyStatusIndicatorComponent],
1196
- }]
1197
- }] });
1198
-
1199
- var className = 'sky-highlight-mark';
1200
- // Need to add the following to classes which contain static methods.
1201
- // See: https://github.com/ng-packagr/ng-packagr/issues/641
1202
- // @dynamic
1203
- /**
1204
- * Highlights all matching text within DOM elements that it is placed on.
1205
- * The directive is only valid for elements that contain content, so you
1206
- * cannot place it on `ng-template`, `ng-content`, or `ng-container` tags.
1207
- */
1208
- var SkyTextHighlightDirective = /** @class */ (function () {
1209
- function SkyTextHighlightDirective(el, observerService) {
1210
- this.el = el;
1211
- this.observerService = observerService;
1212
- this.existingHighlight = false;
1213
- }
1214
- Object.defineProperty(SkyTextHighlightDirective.prototype, "skyHighlight", {
1215
- /**
1216
- * Specifies the text to highlight.
1217
- */
1218
- set: function (value) {
1219
- value = value || [];
1220
- this._skyHighlight = [];
1221
- if (Array.isArray(value)) {
1222
- this._skyHighlight = value.filter(function (item) { return !!item; });
1223
- // Reorder strings by their length in descending order to avoid missing matches
1224
- // that contain substrings of other matches.
1225
- this._skyHighlight.sort(function (a, b) {
1226
- return b.length - a.length;
1227
- });
1228
- }
1229
- else {
1230
- this._skyHighlight = [value];
1231
- }
1232
- },
1233
- enumerable: false,
1234
- configurable: true
1235
- });
1236
- SkyTextHighlightDirective.cleanRegex = function (regex) {
1237
- return regex.replace(/[-/\\^$*+?.()|[\]{}]/g, '\\$&');
1238
- };
1239
- SkyTextHighlightDirective.markNode = function (node, searchTerms) {
1240
- /* istanbul ignore else */
1241
- if (searchTerms) {
1242
- var text = node.nodeValue;
1243
- for (var i = 0; i < searchTerms.length; i++) {
1244
- searchTerms[i] = this.cleanRegex(searchTerms[i]);
1245
- }
1246
- var searchRegex = new RegExp(searchTerms.join('|'), 'gi');
1247
- var match = searchRegex.exec(text);
1248
- if (match) {
1249
- // Split apart text node with mark tags in the middle on the search term.
1250
- var matchIndex = match.index;
1251
- var middle = node.splitText(matchIndex);
1252
- middle.splitText(searchRegex.lastIndex - matchIndex);
1253
- var middleClone = middle.cloneNode(true);
1254
- var markNode = document.createElement('mark');
1255
- markNode.className = className;
1256
- markNode.appendChild(middleClone);
1257
- middle.parentNode.replaceChild(markNode, middle);
1258
- return 1;
1259
- }
1260
- }
1261
- return 0;
1262
- };
1263
- SkyTextHighlightDirective.markTextNodes = function (node, searchTerms) {
1264
- if (node.nodeType === 3) {
1265
- return SkyTextHighlightDirective.markNode(node, searchTerms);
1266
- }
1267
- else if (node.nodeType === 1 && node.childNodes) {
1268
- for (var i = 0; i < node.childNodes.length; i++) {
1269
- var childNode = node.childNodes[i];
1270
- i += SkyTextHighlightDirective.markTextNodes(childNode, searchTerms);
1271
- }
1272
- }
1273
- return 0;
1274
- };
1275
- SkyTextHighlightDirective.removeHighlight = function (el) {
1276
- var matchedElements = el.nativeElement.querySelectorAll("mark." + className);
1277
- /* istanbul ignore else */
1278
- /* sanity check */
1279
- if (matchedElements) {
1280
- for (var i = 0; i < matchedElements.length; i++) {
1281
- var node = matchedElements[i];
1282
- var parentNode = node.parentNode;
1283
- parentNode.replaceChild(node.firstChild, node);
1284
- parentNode.normalize();
1285
- }
1286
- }
1287
- };
1288
- SkyTextHighlightDirective.prototype.ngOnChanges = function (changes) {
1289
- if (changes.skyHighlight && !changes.skyHighlight.firstChange) {
1290
- this.highlight();
1291
- }
1292
- };
1293
- SkyTextHighlightDirective.prototype.ngAfterViewInit = function () {
1294
- var _this = this;
1295
- this.observer = this.observerService.create(function () {
1296
- _this.highlight();
1297
- });
1298
- this.observeDom();
1299
- if (this._skyHighlight && this._skyHighlight.length > 0) {
1300
- this.highlight();
1301
- }
1302
- };
1303
- SkyTextHighlightDirective.prototype.ngOnDestroy = function () {
1304
- /* istanbul ignore else */
1305
- if (this.observer) {
1306
- this.observer.disconnect();
1307
- }
1308
- };
1309
- SkyTextHighlightDirective.prototype.readyForHighlight = function (searchText) {
1310
- return searchText && searchText.length > 0 && this.el.nativeElement;
1311
- };
1312
- SkyTextHighlightDirective.prototype.highlight = function () {
1313
- /* istanbul ignore else */
1314
- if (this.observer) {
1315
- this.observer.disconnect();
1316
- }
1317
- var searchText = this._skyHighlight;
1318
- if (this.existingHighlight) {
1319
- SkyTextHighlightDirective.removeHighlight(this.el);
1320
- }
1321
- /* istanbul ignore else */
1322
- if (this.readyForHighlight(searchText)) {
1323
- var node = this.el.nativeElement;
1324
- // mark all matched text in the DOM
1325
- SkyTextHighlightDirective.markTextNodes(node, searchText);
1326
- this.existingHighlight = true;
1327
- }
1328
- this.observeDom();
1329
- };
1330
- SkyTextHighlightDirective.prototype.observeDom = function () {
1331
- /* istanbul ignore else */
1332
- if (this.observer) {
1333
- var config = {
1334
- attributes: false,
1335
- childList: true,
1336
- characterData: true,
1337
- };
1338
- this.observer.observe(this.el.nativeElement, config);
1339
- }
1340
- };
1341
- return SkyTextHighlightDirective;
1342
- }());
1343
- SkyTextHighlightDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTextHighlightDirective, deps: [{ token: i0__namespace.ElementRef }, { token: i1__namespace$2.MutationObserverService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1344
- SkyTextHighlightDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: SkyTextHighlightDirective, selector: "[skyHighlight]", inputs: { skyHighlight: "skyHighlight" }, usesOnChanges: true, ngImport: i0__namespace });
1345
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTextHighlightDirective, decorators: [{
1346
- type: i0.Directive,
1347
- args: [{
1348
- selector: '[skyHighlight]',
1349
- }]
1350
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i1__namespace$2.MutationObserverService }]; }, propDecorators: { skyHighlight: [{
1351
- type: i0.Input
1352
- }] } });
1353
-
1354
- var SkyTextHighlightModule = /** @class */ (function () {
1355
- function SkyTextHighlightModule() {
1356
- }
1357
- return SkyTextHighlightModule;
1358
- }());
1359
- SkyTextHighlightModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTextHighlightModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1360
- SkyTextHighlightModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTextHighlightModule, declarations: [SkyTextHighlightDirective], exports: [SkyTextHighlightDirective] });
1361
- SkyTextHighlightModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTextHighlightModule, providers: [i1$2.MutationObserverService] });
1362
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTextHighlightModule, decorators: [{
1363
- type: i0.NgModule,
1364
- args: [{
1365
- declarations: [SkyTextHighlightDirective],
1366
- exports: [SkyTextHighlightDirective],
1367
- providers: [i1$2.MutationObserverService],
1368
- }]
1369
- }] });
1370
-
1371
- var SkyTokenComponent = /** @class */ (function () {
1372
- function SkyTokenComponent(elementRef, resourcesService) {
1373
- this.elementRef = elementRef;
1374
- this.resourcesService = resourcesService;
1375
- /**
1376
- * Fires when users click the close button or press the `Backspace` key to dismiss the token.
1377
- */
1378
- this.dismiss = new i0.EventEmitter();
1379
- /**
1380
- * Fires when users place focus on the token by navigating to it with the `Tab` key.
1381
- */
1382
- this.tokenFocus = new i0.EventEmitter();
1383
- }
1384
- Object.defineProperty(SkyTokenComponent.prototype, "disabled", {
1385
- get: function () {
1386
- return !!this._disabled;
1387
- },
1388
- /**
1389
- * Indicates whether to disable the token to prevent users from selecting it, dismissing it,
1390
- * or navigating to it with the arrow keys. When the token is disabled,
1391
- * users can still place focus on it using the `Tab` key.
1392
- * @default true
1393
- */
1394
- set: function (value) {
1395
- this._disabled = value;
1396
- },
1397
- enumerable: false,
1398
- configurable: true
1399
- });
1400
- Object.defineProperty(SkyTokenComponent.prototype, "ariaLabel", {
1401
- get: function () {
1402
- return (this._ariaLabel || this.getString('skyux_tokens_dismiss_button_title'));
1403
- },
1404
- /**
1405
- * Specifies an ARIA label for the token's close button. This sets the button's `aria-label`
1406
- * [to support accessibility](https://developer.blackbaud.com/skyux/learn/accessibility).
1407
- * @default "Remove item"
1408
- */
1409
- set: function (value) {
1410
- this._ariaLabel = value;
1411
- },
1412
- enumerable: false,
1413
- configurable: true
1414
- });
1415
- Object.defineProperty(SkyTokenComponent.prototype, "dismissible", {
1416
- get: function () {
1417
- return this._dismissible !== false;
1418
- },
1419
- /**
1420
- * Indicates whether users can remove the token from the list by selecting the close button
1421
- * or pressing the `Backspace` key.
1422
- * @default true
1423
- */
1424
- set: function (value) {
1425
- this._dismissible = value;
1426
- },
1427
- enumerable: false,
1428
- configurable: true
1429
- });
1430
- Object.defineProperty(SkyTokenComponent.prototype, "focusable", {
1431
- get: function () {
1432
- return this._focusable !== false;
1433
- },
1434
- /**
1435
- * Indicates whether users can press the `Tab` key to place focus on the token. This does not
1436
- * affect the ability to select the token, dismiss it, or navigate to it with the arrow keys.
1437
- * @default true
1438
- */
1439
- set: function (value) {
1440
- this._focusable = value;
1441
- },
1442
- enumerable: false,
1443
- configurable: true
1444
- });
1445
- Object.defineProperty(SkyTokenComponent.prototype, "tabIndex", {
1446
- /**
1447
- * @internal
1448
- */
1449
- get: function () {
1450
- return this.focusable ? 0 : -1;
1451
- },
1452
- enumerable: false,
1453
- configurable: true
1454
- });
1455
- SkyTokenComponent.prototype.dismissToken = function (event) {
1456
- event.stopPropagation();
1457
- this.dismiss.emit();
1458
- };
1459
- SkyTokenComponent.prototype.focusElement = function () {
1460
- this.elementRef.nativeElement.querySelector('.sky-token').focus();
1461
- };
1462
- SkyTokenComponent.prototype.setTokenActive = function (tokenActive) {
1463
- this.tokenActive = tokenActive;
1464
- };
1465
- SkyTokenComponent.prototype.setCloseActive = function (closeActive) {
1466
- this.closeActive = closeActive;
1467
- };
1468
- SkyTokenComponent.prototype.getString = function (key) {
1469
- // TODO: Need to implement the async `getString` method in a breaking change.
1470
- return this.resourcesService.getStringForLocale({ locale: 'en-US' }, key);
1471
- };
1472
- return SkyTokenComponent;
1473
- }());
1474
- SkyTokenComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTokenComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i1__namespace$1.SkyLibResourcesService }], target: i0__namespace.ɵɵFactoryTarget.Component });
1475
- SkyTokenComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyTokenComponent, selector: "sky-token", inputs: { disabled: "disabled", ariaLabel: "ariaLabel", dismissible: "dismissible", focusable: "focusable" }, outputs: { dismiss: "dismiss", tokenFocus: "tokenFocus" }, ngImport: i0__namespace, template: "<div\n class=\"sky-token sky-btn sky-btn-default\"\n role=\"button\"\n [attr.aria-disabled]=\"disabled\"\n [attr.tabindex]=\"tabIndex\"\n [ngClass]=\"{\n 'sky-btn-disabled': disabled,\n 'sky-token-dismissable': dismissible,\n 'sky-token-active': tokenActive && !closeActive\n }\"\n (document:mouseup)=\"setTokenActive(false)\"\n (focus)=\"tokenFocus.emit()\"\n (mousedown)=\"setTokenActive(true)\"\n>\n <ng-content></ng-content>\n <button\n *ngIf=\"dismissible\"\n class=\"sky-btn sky-token-btn-close\"\n type=\"button\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.tabindex]=\"tabIndex\"\n [attr.title]=\"ariaLabel\"\n [disabled]=\"disabled\"\n [ngClass]=\"{\n 'sky-token-btn-close-active': closeActive\n }\"\n (click)=\"dismissToken($event)\"\n (document:mouseup)=\"setCloseActive(false)\"\n (mousedown)=\"setCloseActive(true)\"\n >\n <sky-icon class=\"sky-token-btn-close-icon-default\" icon=\"times\"></sky-icon>\n <sky-icon\n class=\"sky-token-btn-close-icon-modern\"\n icon=\"close\"\n iconType=\"skyux\"\n >\n </sky-icon>\n </button>\n</div>\n", styles: [".sky-token{background-color:#c1e8fb;border:1px solid #00b4f1;overflow:hidden;padding:2px 8px;display:inline-block;-webkit-user-select:none;user-select:none}.sky-token:hover,.sky-token:focus{background-color:#91d6f8;border-color:#008ebe;cursor:pointer}.sky-token:focus{box-shadow:0 0 8px #00b4f199;border:1px solid #00b4f1;outline:none}.sky-btn-disabled{cursor:default;-webkit-user-select:none;user-select:none}.sky-token-btn-close{background:transparent;padding:0;border:0;margin-left:2px;opacity:.9}.sky-token-btn-close:hover,.sky-token-btn-close:focus{opacity:1}.sky-token-btn-close-icon-modern{display:none}:host-context(.sky-theme-modern) .sky-token{align-items:center;display:inline-flex;padding:1px 5px;font-size:14px}:host-context(.sky-theme-modern) .sky-token.sky-btn-disabled{color:#212327}:host-context(.sky-theme-modern) .sky-token:not(.sky-btn-disabled){border:none;box-shadow:inset 0 0 0 1px #81d4f7}:host-context(.sky-theme-modern) .sky-token.sky-token-dismissable{padding-right:1px}:host-context(.sky-theme-modern) .sky-token:hover:not(:active){border:none;box-shadow:inset 0 0 0 1px #1870b8}:host-context(.sky-theme-modern) .sky-token.sky-token-active{border:none;box-shadow:inset 0 0 0 2px #1870b8}:host-context(.sky-theme-modern) .sky-token:focus:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 3px #0000004d}:host-context(.sky-theme-modern) .sky-token:focus,:host-context(.sky-theme-modern) .sky-token:hover{background-color:#c1e8fb}:host-context(.sky-theme-modern) .sky-token-btn-close{align-items:center;border-radius:5px;display:flex;height:20px;margin-left:5px;width:20px}:host-context(.sky-theme-modern) .sky-token-btn-close:hover{border:none;box-shadow:inset 0 0 0 1px transparent}:host-context(.sky-theme-modern) .sky-token-btn-close.sky-token-btn-close-active{border:none;box-shadow:inset 0 0 0 2px #1870b8}:host-context(.sky-theme-modern) .sky-token-btn-close:focus{outline:none}:host-context(.sky-theme-modern) .sky-token-btn-close:focus:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 3px #0000004d}:host-context(.sky-theme-modern) .sky-token-btn-close-icon-default{display:none}:host-context(.sky-theme-modern) .sky-token-btn-close-icon-modern{display:inline-block;width:100%}.sky-theme-modern .sky-token{align-items:center;display:inline-flex;padding:1px 5px;font-size:14px}.sky-theme-modern .sky-token.sky-btn-disabled{color:#212327}.sky-theme-modern .sky-token:not(.sky-btn-disabled){border:none;box-shadow:inset 0 0 0 1px #81d4f7}.sky-theme-modern .sky-token.sky-token-dismissable{padding-right:1px}.sky-theme-modern .sky-token:hover:not(:active){border:none;box-shadow:inset 0 0 0 1px #1870b8}.sky-theme-modern .sky-token.sky-token-active{border:none;box-shadow:inset 0 0 0 2px #1870b8}.sky-theme-modern .sky-token:focus:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 3px #0000004d}.sky-theme-modern .sky-token:focus,.sky-theme-modern .sky-token:hover{background-color:#c1e8fb}.sky-theme-modern .sky-token-btn-close{align-items:center;border-radius:5px;display:flex;height:20px;margin-left:5px;width:20px}.sky-theme-modern .sky-token-btn-close:hover{border:none;box-shadow:inset 0 0 0 1px transparent}.sky-theme-modern .sky-token-btn-close.sky-token-btn-close-active{border:none;box-shadow:inset 0 0 0 2px #1870b8}.sky-theme-modern .sky-token-btn-close:focus{outline:none}.sky-theme-modern .sky-token-btn-close:focus:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 3px #0000004d}.sky-theme-modern .sky-token-btn-close-icon-default{display:none}.sky-theme-modern .sky-token-btn-close-icon-modern{display:inline-block;width:100%}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-token{background-color:#c1e8fb}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-token,:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-token-btn-close{color:#212327}.sky-theme-modern.sky-theme-mode-dark .sky-token{background-color:#c1e8fb}.sky-theme-modern.sky-theme-mode-dark .sky-token,.sky-theme-modern.sky-theme-mode-dark .sky-token-btn-close{color:#212327}\n"], components: [{ type: SkyIconComponent, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }], directives: [{ type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
1476
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTokenComponent, decorators: [{
1477
- type: i0.Component,
1478
- args: [{
1479
- selector: 'sky-token',
1480
- template: "<div\n class=\"sky-token sky-btn sky-btn-default\"\n role=\"button\"\n [attr.aria-disabled]=\"disabled\"\n [attr.tabindex]=\"tabIndex\"\n [ngClass]=\"{\n 'sky-btn-disabled': disabled,\n 'sky-token-dismissable': dismissible,\n 'sky-token-active': tokenActive && !closeActive\n }\"\n (document:mouseup)=\"setTokenActive(false)\"\n (focus)=\"tokenFocus.emit()\"\n (mousedown)=\"setTokenActive(true)\"\n>\n <ng-content></ng-content>\n <button\n *ngIf=\"dismissible\"\n class=\"sky-btn sky-token-btn-close\"\n type=\"button\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.tabindex]=\"tabIndex\"\n [attr.title]=\"ariaLabel\"\n [disabled]=\"disabled\"\n [ngClass]=\"{\n 'sky-token-btn-close-active': closeActive\n }\"\n (click)=\"dismissToken($event)\"\n (document:mouseup)=\"setCloseActive(false)\"\n (mousedown)=\"setCloseActive(true)\"\n >\n <sky-icon class=\"sky-token-btn-close-icon-default\" icon=\"times\"></sky-icon>\n <sky-icon\n class=\"sky-token-btn-close-icon-modern\"\n icon=\"close\"\n iconType=\"skyux\"\n >\n </sky-icon>\n </button>\n</div>\n",
1481
- styles: [".sky-token{background-color:#c1e8fb;border:1px solid #00b4f1;overflow:hidden;padding:2px 8px;display:inline-block;-webkit-user-select:none;user-select:none}.sky-token:hover,.sky-token:focus{background-color:#91d6f8;border-color:#008ebe;cursor:pointer}.sky-token:focus{box-shadow:0 0 8px #00b4f199;border:1px solid #00b4f1;outline:none}.sky-btn-disabled{cursor:default;-webkit-user-select:none;user-select:none}.sky-token-btn-close{background:transparent;padding:0;border:0;margin-left:2px;opacity:.9}.sky-token-btn-close:hover,.sky-token-btn-close:focus{opacity:1}.sky-token-btn-close-icon-modern{display:none}:host-context(.sky-theme-modern) .sky-token{align-items:center;display:inline-flex;padding:1px 5px;font-size:14px}:host-context(.sky-theme-modern) .sky-token.sky-btn-disabled{color:#212327}:host-context(.sky-theme-modern) .sky-token:not(.sky-btn-disabled){border:none;box-shadow:inset 0 0 0 1px #81d4f7}:host-context(.sky-theme-modern) .sky-token.sky-token-dismissable{padding-right:1px}:host-context(.sky-theme-modern) .sky-token:hover:not(:active){border:none;box-shadow:inset 0 0 0 1px #1870b8}:host-context(.sky-theme-modern) .sky-token.sky-token-active{border:none;box-shadow:inset 0 0 0 2px #1870b8}:host-context(.sky-theme-modern) .sky-token:focus:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 3px #0000004d}:host-context(.sky-theme-modern) .sky-token:focus,:host-context(.sky-theme-modern) .sky-token:hover{background-color:#c1e8fb}:host-context(.sky-theme-modern) .sky-token-btn-close{align-items:center;border-radius:5px;display:flex;height:20px;margin-left:5px;width:20px}:host-context(.sky-theme-modern) .sky-token-btn-close:hover{border:none;box-shadow:inset 0 0 0 1px transparent}:host-context(.sky-theme-modern) .sky-token-btn-close.sky-token-btn-close-active{border:none;box-shadow:inset 0 0 0 2px #1870b8}:host-context(.sky-theme-modern) .sky-token-btn-close:focus{outline:none}:host-context(.sky-theme-modern) .sky-token-btn-close:focus:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 3px #0000004d}:host-context(.sky-theme-modern) .sky-token-btn-close-icon-default{display:none}:host-context(.sky-theme-modern) .sky-token-btn-close-icon-modern{display:inline-block;width:100%}.sky-theme-modern .sky-token{align-items:center;display:inline-flex;padding:1px 5px;font-size:14px}.sky-theme-modern .sky-token.sky-btn-disabled{color:#212327}.sky-theme-modern .sky-token:not(.sky-btn-disabled){border:none;box-shadow:inset 0 0 0 1px #81d4f7}.sky-theme-modern .sky-token.sky-token-dismissable{padding-right:1px}.sky-theme-modern .sky-token:hover:not(:active){border:none;box-shadow:inset 0 0 0 1px #1870b8}.sky-theme-modern .sky-token.sky-token-active{border:none;box-shadow:inset 0 0 0 2px #1870b8}.sky-theme-modern .sky-token:focus:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 3px #0000004d}.sky-theme-modern .sky-token:focus,.sky-theme-modern .sky-token:hover{background-color:#c1e8fb}.sky-theme-modern .sky-token-btn-close{align-items:center;border-radius:5px;display:flex;height:20px;margin-left:5px;width:20px}.sky-theme-modern .sky-token-btn-close:hover{border:none;box-shadow:inset 0 0 0 1px transparent}.sky-theme-modern .sky-token-btn-close.sky-token-btn-close-active{border:none;box-shadow:inset 0 0 0 2px #1870b8}.sky-theme-modern .sky-token-btn-close:focus{outline:none}.sky-theme-modern .sky-token-btn-close:focus:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 3px #0000004d}.sky-theme-modern .sky-token-btn-close-icon-default{display:none}.sky-theme-modern .sky-token-btn-close-icon-modern{display:inline-block;width:100%}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-token{background-color:#c1e8fb}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-token,:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-token-btn-close{color:#212327}.sky-theme-modern.sky-theme-mode-dark .sky-token{background-color:#c1e8fb}.sky-theme-modern.sky-theme-mode-dark .sky-token,.sky-theme-modern.sky-theme-mode-dark .sky-token-btn-close{color:#212327}\n"],
1482
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
1483
- }]
1484
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i1__namespace$1.SkyLibResourcesService }]; }, propDecorators: { disabled: [{
1485
- type: i0.Input
1486
- }], ariaLabel: [{
1487
- type: i0.Input
1488
- }], dismissible: [{
1489
- type: i0.Input
1490
- }], focusable: [{
1491
- type: i0.Input
1492
- }], dismiss: [{
1493
- type: i0.Output
1494
- }], tokenFocus: [{
1495
- type: i0.Output
1496
- }] } });
1497
-
1498
- exports.SkyTokensMessageType = void 0;
1499
- (function (SkyTokensMessageType) {
1500
- /**
1501
- * Places focus on the last token in the list.
1502
- */
1503
- SkyTokensMessageType[SkyTokensMessageType["FocusLastToken"] = 0] = "FocusLastToken";
1504
- /**
1505
- * Places focus on the token that is currently selected.
1506
- */
1507
- SkyTokensMessageType[SkyTokensMessageType["FocusActiveToken"] = 1] = "FocusActiveToken";
1508
- /**
1509
- * Places focus on the token before the currently selected token.
1510
- */
1511
- SkyTokensMessageType[SkyTokensMessageType["FocusPreviousToken"] = 2] = "FocusPreviousToken";
1512
- /**
1513
- * Places focus on the token after the currently selected token.
1514
- */
1515
- SkyTokensMessageType[SkyTokensMessageType["FocusNextToken"] = 3] = "FocusNextToken";
1516
- /**
1517
- * Removes the token that is currently selected from the list of tokens.
1518
- */
1519
- SkyTokensMessageType[SkyTokensMessageType["RemoveActiveToken"] = 4] = "RemoveActiveToken";
1520
- })(exports.SkyTokensMessageType || (exports.SkyTokensMessageType = {}));
1521
-
1522
- var SkyTokensComponent = /** @class */ (function () {
1523
- function SkyTokensComponent(changeDetector) {
1524
- var _this = this;
1525
- this.changeDetector = changeDetector;
1526
- /**
1527
- * Fires when users navigate through the tokens list with the `Tab` key
1528
- * and attempt to move past the final token in the list.
1529
- */
1530
- this.focusIndexOverRange = new i0.EventEmitter();
1531
- /**
1532
- * Fires when usersnavigate through the tokens list with the `Tab` key
1533
- * and attempt to move before the first token in the list.
1534
- */
1535
- this.focusIndexUnderRange = new i0.EventEmitter();
1536
- /**
1537
- * Fires when users select a token in the list. This event emits the selected token.
1538
- */
1539
- this.tokenSelected = new i0.EventEmitter();
1540
- /**
1541
- * Fires when the tokens in the list change.
1542
- * This event emits an array of the tokens in the updated list.
1543
- */
1544
- this.tokensChange = new i0.EventEmitter();
1545
- this.ngUnsubscribe = new rxjs.Subject();
1546
- // Angular calls the trackBy function without applying the component instance's scope.
1547
- // Use a fat-arrow function so the current component instance's trackWith property can
1548
- // be referenced.
1549
- this.trackTokenFn = function (_index, item) {
1550
- if (_this.trackWith) {
1551
- return item.value[_this.trackWith];
1552
- }
1553
- return item;
1554
- };
1555
- }
1556
- Object.defineProperty(SkyTokensComponent.prototype, "disabled", {
1557
- get: function () {
1558
- return !!this._disabled;
1559
- },
1560
- /**
1561
- * Indicates whether to disable the tokens list to prevent users from selecting tokens,
1562
- * dismissing tokens, or navigating through the list with the arrow keys. When the tokens list
1563
- * is disabled, users can still place focus on items in the list using the `Tab` key.
1564
- * @default false
1565
- */
1566
- set: function (value) {
1567
- this._disabled = value;
1568
- },
1569
- enumerable: false,
1570
- configurable: true
1571
- });
1572
- Object.defineProperty(SkyTokensComponent.prototype, "dismissible", {
1573
- get: function () {
1574
- return this._dismissible !== false;
1575
- },
1576
- /**
1577
- * Indicates whether users can remove tokens from the list by selecting their close buttons
1578
- * or pressing the `Backspace` key.
1579
- * @default true
1580
- */
1581
- set: function (value) {
1582
- this._dismissible = value;
1583
- },
1584
- enumerable: false,
1585
- configurable: true
1586
- });
1587
- Object.defineProperty(SkyTokensComponent.prototype, "displayWith", {
1588
- get: function () {
1589
- return this._displayWith || 'name';
1590
- },
1591
- /**
1592
- * Specifies the token property to display for each item in the tokens list.
1593
- * @default "name"
1594
- */
1595
- set: function (value) {
1596
- this._displayWith = value;
1597
- },
1598
- enumerable: false,
1599
- configurable: true
1600
- });
1601
- Object.defineProperty(SkyTokensComponent.prototype, "focusable", {
1602
- get: function () {
1603
- return this._focusable !== false;
1604
- },
1605
- /**
1606
- * Indicates whether users can focus on items in the list using the `Tab` key.
1607
- * This does not affect the ability of users to select tokens, dismiss tokens,
1608
- * or navigate through the list with the arrow keys.
1609
- * @default true
1610
- */
1611
- set: function (value) {
1612
- this._focusable = value;
1613
- },
1614
- enumerable: false,
1615
- configurable: true
1616
- });
1617
- Object.defineProperty(SkyTokensComponent.prototype, "tokens", {
1618
- get: function () {
1619
- return this._tokens || [];
1620
- },
1621
- /**
1622
- * Specifies an array of tokens to include in the list.
1623
- */
1624
- set: function (value) {
1625
- this._tokens = value;
1626
- this.tokensChange.emit(this._tokens);
1627
- },
1628
- enumerable: false,
1629
- configurable: true
1630
- });
1631
- Object.defineProperty(SkyTokensComponent.prototype, "messageStream", {
1632
- get: function () {
1633
- return this._messageStream;
1634
- },
1635
- /**
1636
- * Specifies an observable of `SkyTokensMessage` that can place focus on a
1637
- * particular token or remove the active token from the list.
1638
- */
1639
- set: function (value) {
1640
- this._messageStream = value;
1641
- this.initMessageStream();
1642
- },
1643
- enumerable: false,
1644
- configurable: true
1645
- });
1646
- Object.defineProperty(SkyTokensComponent.prototype, "activeIndex", {
1647
- /**
1648
- * @internal
1649
- */
1650
- get: function () {
1651
- return this._activeIndex || 0;
1652
- },
1653
- set: function (value) {
1654
- if (value >= this.tokens.length) {
1655
- value = this.tokens.length - 1;
1656
- this.focusIndexOverRange.emit();
1657
- }
1658
- if (value < 0) {
1659
- value = 0;
1660
- this.focusIndexUnderRange.emit();
1661
- }
1662
- this._activeIndex = value;
1663
- },
1664
- enumerable: false,
1665
- configurable: true
1666
- });
1667
- SkyTokensComponent.prototype.ngOnDestroy = function () {
1668
- this.ngUnsubscribe.next();
1669
- this.ngUnsubscribe.complete();
1670
- };
1671
- SkyTokensComponent.prototype.onTokenClick = function (token) {
1672
- if (this.disabled) {
1673
- return;
1674
- }
1675
- this.notifyTokenSelected(token);
1676
- };
1677
- SkyTokensComponent.prototype.onTokenKeyDown = function (event) {
1678
- if (!this.disabled) {
1679
- /* tslint:disable-next-line:switch-default */
1680
- switch (event.key) {
1681
- case 'Left':
1682
- case 'ArrowLeft':
1683
- this.messageStream.next({
1684
- type: exports.SkyTokensMessageType.FocusPreviousToken,
1685
- });
1686
- event.preventDefault();
1687
- break;
1688
- case 'Right':
1689
- case 'ArrowRight':
1690
- this.messageStream.next({
1691
- type: exports.SkyTokensMessageType.FocusNextToken,
1692
- });
1693
- event.preventDefault();
1694
- break;
1695
- }
1696
- }
1697
- };
1698
- SkyTokensComponent.prototype.selectToken = function (token) {
1699
- if (!this.disabled) {
1700
- this.notifyTokenSelected(token);
1701
- }
1702
- };
1703
- SkyTokensComponent.prototype.removeToken = function (token) {
1704
- this.tokens = this.tokens.filter(function (t) { return t !== token; });
1705
- this.changeDetector.detectChanges();
1706
- };
1707
- SkyTokensComponent.prototype.focusPreviousToken = function () {
1708
- this.activeIndex--;
1709
- this.focusActiveToken();
1710
- };
1711
- SkyTokensComponent.prototype.focusNextToken = function () {
1712
- this.activeIndex++;
1713
- this.focusActiveToken();
1714
- };
1715
- SkyTokensComponent.prototype.focusLastToken = function () {
1716
- this.activeIndex = this.tokenComponents.length - 1;
1717
- this.focusActiveToken();
1718
- };
1719
- SkyTokensComponent.prototype.focusActiveToken = function () {
1720
- var _this = this;
1721
- var tokenComponent = this.tokenComponents.find(function (_comp, i) {
1722
- return _this.activeIndex === i;
1723
- });
1724
- if (tokenComponent) {
1725
- tokenComponent.focusElement();
1726
- }
1727
- };
1728
- SkyTokensComponent.prototype.removeActiveToken = function () {
1729
- var token = this.tokens[this.activeIndex];
1730
- if (token) {
1731
- this.removeToken(token);
1732
- }
1733
- };
1734
- SkyTokensComponent.prototype.initMessageStream = function () {
1735
- var _this = this;
1736
- if (this.messageStreamSub) {
1737
- this.messageStreamSub.unsubscribe();
1738
- }
1739
- if (this.messageStream) {
1740
- this.messageStreamSub = this.messageStream
1741
- .pipe(operators.takeUntil(this.ngUnsubscribe))
1742
- .subscribe(function (message) {
1743
- /* tslint:disable-next-line:switch-default */
1744
- switch (message.type) {
1745
- case exports.SkyTokensMessageType.FocusLastToken:
1746
- _this.focusLastToken();
1747
- break;
1748
- case exports.SkyTokensMessageType.FocusActiveToken:
1749
- _this.focusActiveToken();
1750
- break;
1751
- case exports.SkyTokensMessageType.FocusPreviousToken:
1752
- _this.focusPreviousToken();
1753
- break;
1754
- case exports.SkyTokensMessageType.FocusNextToken:
1755
- _this.focusNextToken();
1756
- break;
1757
- case exports.SkyTokensMessageType.RemoveActiveToken:
1758
- _this.removeActiveToken();
1759
- break;
1760
- }
1761
- });
1762
- }
1763
- };
1764
- SkyTokensComponent.prototype.notifyTokenSelected = function (token) {
1765
- this.tokenSelected.emit({
1766
- token: token,
1767
- });
1768
- };
1769
- return SkyTokensComponent;
1770
- }());
1771
- SkyTokensComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTokensComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
1772
- SkyTokensComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyTokensComponent, selector: "sky-tokens", inputs: { disabled: "disabled", dismissible: "dismissible", displayWith: "displayWith", trackWith: "trackWith", focusable: "focusable", tokens: "tokens", messageStream: "messageStream" }, outputs: { focusIndexOverRange: "focusIndexOverRange", focusIndexUnderRange: "focusIndexUnderRange", tokenSelected: "tokenSelected", tokensChange: "tokensChange" }, viewQueries: [{ propertyName: "tokenComponents", predicate: SkyTokenComponent, descendants: true }], ngImport: i0__namespace, template: "<div\n *ngIf=\"tokens\"\n class=\"sky-tokens\"\n [@blockAnimationOnLoad]\n [attr.role]=\"tokens && tokens.length ? 'list' : null\"\n>\n <sky-token\n *ngFor=\"let token of tokens; let i = index; trackBy: trackTokenFn\"\n role=\"listitem\"\n [@.disabled]=\"!trackWith\"\n [@dismiss]\n [disabled]=\"disabled\"\n [dismissible]=\"dismissible\"\n [focusable]=\"focusable\"\n (dismiss)=\"removeToken(token)\"\n (click)=\"onTokenClick(token)\"\n (keydown)=\"onTokenKeyDown($event)\"\n (keyup.enter)=\"selectToken(token); $event.preventDefault()\"\n (tokenFocus)=\"activeIndex = i\"\n >\n {{ token.value[displayWith] }}\n </sky-token>\n <div 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"], components: [{ type: SkyTokenComponent, selector: "sky-token", inputs: ["disabled", "ariaLabel", "dismissible", "focusable"], outputs: ["dismiss", "tokenFocus"] }], directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], animations: [
1773
- animations.trigger('blockAnimationOnLoad', [animations.transition(':enter', [])]),
1774
- animations.trigger('dismiss', [
1775
- animations.transition(':enter', [
1776
- animations.style({
1777
- opacity: 0,
1778
- width: 0,
1779
- }),
1780
- animations.animate('150ms ease-in', animations.style({
1781
- opacity: 1,
1782
- width: '*',
1783
- })),
1784
- ]),
1785
- animations.transition(':leave', [
1786
- animations.animate('150ms ease-in', animations.style({
1787
- opacity: 0,
1788
- width: 0,
1789
- })),
1790
- ]),
1791
- ]),
1792
- ], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
1793
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTokensComponent, decorators: [{
1794
- type: i0.Component,
1795
- args: [{
1796
- selector: 'sky-tokens',
1797
- template: "<div\n *ngIf=\"tokens\"\n class=\"sky-tokens\"\n [@blockAnimationOnLoad]\n [attr.role]=\"tokens && tokens.length ? 'list' : null\"\n>\n <sky-token\n *ngFor=\"let token of tokens; let i = index; trackBy: trackTokenFn\"\n role=\"listitem\"\n [@.disabled]=\"!trackWith\"\n [@dismiss]\n [disabled]=\"disabled\"\n [dismissible]=\"dismissible\"\n [focusable]=\"focusable\"\n (dismiss)=\"removeToken(token)\"\n (click)=\"onTokenClick(token)\"\n (keydown)=\"onTokenKeyDown($event)\"\n (keyup.enter)=\"selectToken(token); $event.preventDefault()\"\n (tokenFocus)=\"activeIndex = i\"\n >\n {{ token.value[displayWith] }}\n </sky-token>\n <div class=\"sky-tokens-content\">\n <ng-content></ng-content>\n </div>\n</div>\n",
1798
- 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"],
1799
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
1800
- animations: [
1801
- animations.trigger('blockAnimationOnLoad', [animations.transition(':enter', [])]),
1802
- animations.trigger('dismiss', [
1803
- animations.transition(':enter', [
1804
- animations.style({
1805
- opacity: 0,
1806
- width: 0,
1807
- }),
1808
- animations.animate('150ms ease-in', animations.style({
1809
- opacity: 1,
1810
- width: '*',
1811
- })),
1812
- ]),
1813
- animations.transition(':leave', [
1814
- animations.animate('150ms ease-in', animations.style({
1815
- opacity: 0,
1816
- width: 0,
1817
- })),
1818
- ]),
1819
- ]),
1820
- ],
1821
- }]
1822
- }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { disabled: [{
1823
- type: i0.Input
1824
- }], dismissible: [{
1825
- type: i0.Input
1826
- }], displayWith: [{
1827
- type: i0.Input
1828
- }], trackWith: [{
1829
- type: i0.Input
1830
- }], focusable: [{
1831
- type: i0.Input
1832
- }], tokens: [{
1833
- type: i0.Input
1834
- }], messageStream: [{
1835
- type: i0.Input
1836
- }], focusIndexOverRange: [{
1837
- type: i0.Output
1838
- }], focusIndexUnderRange: [{
1839
- type: i0.Output
1840
- }], tokenSelected: [{
1841
- type: i0.Output
1842
- }], tokensChange: [{
1843
- type: i0.Output
1844
- }], tokenComponents: [{
1845
- type: i0.ViewChildren,
1846
- args: [SkyTokenComponent]
1847
- }] } });
1848
-
1849
- var SkyTokensModule = /** @class */ (function () {
1850
- function SkyTokensModule() {
1851
- }
1852
- return SkyTokensModule;
1853
- }());
1854
- SkyTokensModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTokensModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1855
- SkyTokensModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTokensModule, declarations: [SkyTokenComponent, SkyTokensComponent], imports: [i1.CommonModule,
1856
- i1$1.SkyI18nModule,
1857
- SkyIconModule,
1858
- SkyIndicatorsResourcesModule], exports: [SkyTokenComponent, SkyTokensComponent] });
1859
- SkyTokensModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTokensModule, imports: [[
1860
- i1.CommonModule,
1861
- i1$1.SkyI18nModule,
1862
- SkyIconModule,
1863
- SkyIndicatorsResourcesModule,
1864
- ]] });
1865
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTokensModule, decorators: [{
1866
- type: i0.NgModule,
1867
- args: [{
1868
- declarations: [SkyTokenComponent, SkyTokensComponent],
1869
- imports: [
1870
- i1.CommonModule,
1871
- i1$1.SkyI18nModule,
1872
- SkyIconModule,
1873
- SkyIndicatorsResourcesModule,
1874
- ],
1875
- exports: [SkyTokenComponent, SkyTokensComponent],
1876
- }]
1877
- }] });
1878
-
1879
- // Need to add the following to classes which contain static methods.
1880
- // See: https://github.com/ng-packagr/ng-packagr/issues/641
1881
- /**
1882
- * @internal
1883
- * @dynamic
1884
- */
1885
- var SkyWaitAdapterService = /** @class */ (function () {
1886
- function SkyWaitAdapterService(rendererFactory) {
1887
- this.rendererFactory = rendererFactory;
1888
- this.renderer = this.rendererFactory.createRenderer(undefined, undefined);
1889
- }
1890
- SkyWaitAdapterService.prototype.ngOnDestroy = function () {
1891
- this.clearListeners();
1892
- };
1893
- SkyWaitAdapterService.prototype.setWaitBounds = function (waitEl) {
1894
- this.renderer.setStyle(waitEl.nativeElement.parentElement, 'position', 'relative');
1895
- };
1896
- SkyWaitAdapterService.prototype.removeWaitBounds = function (waitEl) {
1897
- this.renderer.removeStyle(waitEl.nativeElement.parentElement, 'position');
1898
- };
1899
- SkyWaitAdapterService.prototype.setBusyState = function (waitEl, isFullPage, isWaiting, isNonBlocking, waitComponentId) {
1900
- var _this = this;
1901
- if (isNonBlocking === void 0) { isNonBlocking = false; }
1902
- var busyEl = isFullPage
1903
- ? document.body
1904
- : waitEl.nativeElement.parentElement;
1905
- if (!isNonBlocking) {
1906
- if (isWaiting) {
1907
- this.renderer.setAttribute(busyEl, 'aria-busy', 'true');
1908
- // Remove focus from page when full page blocking wait
1909
- if (isFullPage || busyEl.contains(document.activeElement)) {
1910
- this.clearDocumentFocus();
1911
- }
1912
- if (isFullPage) {
1913
- SkyWaitAdapterService.isPageWaitActive = true;
1914
- var endListenerFunc = this.renderer.listen(document.body, 'keydown', function (event) {
1915
- /*istanbul ignore else */
1916
- if (event.key) {
1917
- /* istanbul ignore else */
1918
- if (event.key.toLowerCase() === 'tab') {
1919
- event.target.blur();
1920
- event.preventDefault();
1921
- event.stopPropagation();
1922
- event.stopImmediatePropagation();
1923
- _this.clearDocumentFocus();
1924
- }
1925
- }
1926
- });
1927
- SkyWaitAdapterService.busyElements[waitComponentId] = {
1928
- listener: endListenerFunc,
1929
- busyEl: undefined,
1930
- };
1931
- }
1932
- else {
1933
- var endListenerFunc = this.renderer.listen(busyEl, 'focusin', function (event) {
1934
- /* istanbul ignore else */
1935
- if (!isNonBlocking) {
1936
- event.preventDefault();
1937
- event.stopPropagation();
1938
- event.stopImmediatePropagation();
1939
- if (SkyWaitAdapterService.isPageWaitActive) {
1940
- _this.clearDocumentFocus();
1941
- }
1942
- else {
1943
- // Propagate tab navigation if attempted into waited element
1944
- var target = event.target;
1945
- target.blur();
1946
- _this.focusNextElement(target, _this.isShift(event), busyEl);
1947
- }
1948
- }
1949
- });
1950
- SkyWaitAdapterService.busyElements[waitComponentId] = {
1951
- listener: endListenerFunc,
1952
- busyEl: busyEl,
1953
- };
1954
- }
1955
- }
1956
- else {
1957
- this.renderer.removeAttribute(busyEl, 'aria-busy');
1958
- if (isFullPage) {
1959
- SkyWaitAdapterService.isPageWaitActive = false;
1960
- }
1961
- if (waitComponentId in SkyWaitAdapterService.busyElements) {
1962
- SkyWaitAdapterService.busyElements[waitComponentId].listener();
1963
- delete SkyWaitAdapterService.busyElements[waitComponentId];
1964
- }
1965
- }
1966
- }
1967
- };
1968
- SkyWaitAdapterService.prototype.focusNextElement = function (targetElement, shiftKey, busyEl) {
1969
- var focussable = this.getFocussableElements();
1970
- // If shift tab, go in the other direction
1971
- var modifier = shiftKey ? -1 : 1;
1972
- // Find the next navigable element that isn't waiting
1973
- var startingIndex = focussable.indexOf(targetElement);
1974
- var curIndex = startingIndex + modifier;
1975
- while (focussable[curIndex] &&
1976
- this.isElementBusyOrHidden(focussable[curIndex])) {
1977
- curIndex += modifier;
1978
- }
1979
- if (focussable[curIndex] &&
1980
- !this.isElementBusyOrHidden(focussable[curIndex])) {
1981
- focussable[curIndex].focus();
1982
- }
1983
- else {
1984
- // Try wrapping the navigation
1985
- /* istanbul ignore next */
1986
- /* sanity check */
1987
- curIndex = modifier > 0 ? 0 : focussable.length - 1;
1988
- while (curIndex !== startingIndex &&
1989
- focussable[curIndex] &&
1990
- this.isElementBusyOrHidden(focussable[curIndex])) {
1991
- /* istanbul ignore next */
1992
- /* sanity check */
1993
- curIndex += modifier;
1994
- }
1995
- /* istanbul ignore else */
1996
- /* sanity check */
1997
- if (focussable[curIndex] &&
1998
- !this.isElementBusyOrHidden(focussable[curIndex])) {
1999
- focussable[curIndex].focus();
2000
- }
2001
- else {
2002
- // No valid target, wipe focus
2003
- this.clearDocumentFocus();
2004
- }
2005
- }
2006
- // clear focussableElements list
2007
- this.focussableElements = undefined;
2008
- };
2009
- SkyWaitAdapterService.prototype.isShift = function (event) {
2010
- var _this = this;
2011
- // Determine if shift+tab was used based on element order
2012
- var elements = this.getFocussableElements().filter(function (elem) { return !_this.isElementHidden(elem); });
2013
- var previousInd = elements.indexOf(event.relatedTarget);
2014
- var currentInd = elements.indexOf(event.target);
2015
- return (previousInd === currentInd + 1 ||
2016
- (previousInd === 0 && currentInd === elements.length - 1) ||
2017
- previousInd > currentInd ||
2018
- !event.relatedTarget);
2019
- };
2020
- SkyWaitAdapterService.prototype.isElementHidden = function (element) {
2021
- var style = window.getComputedStyle(element);
2022
- return style.display === 'none' || style.visibility === 'hidden';
2023
- };
2024
- SkyWaitAdapterService.prototype.isElementBusyOrHidden = function (element) {
2025
- var e_1, _a;
2026
- if (this.isElementHidden(element)) {
2027
- return true;
2028
- }
2029
- try {
2030
- for (var _b = __values(Object.keys(SkyWaitAdapterService.busyElements)), _c = _b.next(); !_c.done; _c = _b.next()) {
2031
- var key = _c.value;
2032
- var parentElement = SkyWaitAdapterService.busyElements[key].busyEl;
2033
- if (parentElement && parentElement.contains(element)) {
2034
- return true;
2035
- }
2036
- }
2037
- }
2038
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
2039
- finally {
2040
- try {
2041
- if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2042
- }
2043
- finally { if (e_1) throw e_1.error; }
2044
- }
2045
- return false;
2046
- };
2047
- SkyWaitAdapterService.prototype.clearDocumentFocus = function () {
2048
- /* istanbul ignore else */
2049
- if (document.activeElement && document.activeElement.blur) {
2050
- document.activeElement.blur();
2051
- }
2052
- document.body.focus();
2053
- };
2054
- SkyWaitAdapterService.prototype.getFocussableElements = function () {
2055
- // Keep this cached so we can reduce querys
2056
- if (this.focussableElements) {
2057
- return this.focussableElements;
2058
- }
2059
- // Select all possible focussable elements
2060
- var focussableElements = 'a[href], ' +
2061
- 'area[href], ' +
2062
- "input:not([disabled]):not([tabindex='-1']), " +
2063
- "button:not([disabled]):not([tabindex='-1']), " +
2064
- "select:not([disabled]):not([tabindex='-1']), " +
2065
- "textarea:not([disabled]):not([tabindex='-1']), " +
2066
- 'iframe, object, embed, ' +
2067
- "*[tabindex]:not([tabindex='-1']), " +
2068
- '*[contenteditable=true]';
2069
- this.focussableElements = Array.prototype.filter.call(document.body.querySelectorAll(focussableElements), function (element) {
2070
- return (element.offsetWidth > 0 ||
2071
- element.offsetHeight > 0 ||
2072
- element === document.activeElement);
2073
- });
2074
- return this.focussableElements;
2075
- };
2076
- SkyWaitAdapterService.prototype.clearListeners = function () {
2077
- var e_2, _a;
2078
- SkyWaitAdapterService.isPageWaitActive = false;
2079
- try {
2080
- for (var _b = __values(Object.keys(SkyWaitAdapterService.busyElements)), _c = _b.next(); !_c.done; _c = _b.next()) {
2081
- var key = _c.value;
2082
- SkyWaitAdapterService.busyElements[key].listener();
2083
- delete SkyWaitAdapterService.busyElements[key];
2084
- }
2085
- }
2086
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
2087
- finally {
2088
- try {
2089
- if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2090
- }
2091
- finally { if (e_2) throw e_2.error; }
2092
- }
2093
- };
2094
- return SkyWaitAdapterService;
2095
- }());
2096
- SkyWaitAdapterService.isPageWaitActive = false;
2097
- SkyWaitAdapterService.busyElements = {};
2098
- SkyWaitAdapterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyWaitAdapterService, deps: [{ token: i0__namespace.RendererFactory2 }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
2099
- SkyWaitAdapterService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyWaitAdapterService });
2100
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyWaitAdapterService, decorators: [{
2101
- type: i0.Injectable
2102
- }], ctorParameters: function () { return [{ type: i0__namespace.RendererFactory2 }]; } });
2103
-
2104
- var nextId = 0;
2105
- var SkyWaitComponent = /** @class */ (function () {
2106
- function SkyWaitComponent(elRef, adapterService, resourceService) {
2107
- this.elRef = elRef;
2108
- this.adapterService = adapterService;
2109
- this.resourceService = resourceService;
2110
- this.ariaLabelStream = new rxjs.BehaviorSubject('');
2111
- this.id = "sky-wait-" + ++nextId;
2112
- }
2113
- Object.defineProperty(SkyWaitComponent.prototype, "isWaiting", {
2114
- get: function () {
2115
- return this._isWaiting;
2116
- },
2117
- /**
2118
- * When set to `true`, wait indication appears on the parent element of the `sky-wait` component.
2119
- */
2120
- set: function (value) {
2121
- if (value && !this._isFullPage) {
2122
- this.adapterService.setWaitBounds(this.elRef);
2123
- }
2124
- else if (!value && !this._isFullPage) {
2125
- this.adapterService.removeWaitBounds(this.elRef);
2126
- }
2127
- this.adapterService.setBusyState(this.elRef, this.isFullPage, value, this.isNonBlocking, this.id);
2128
- this._isWaiting = value;
2129
- },
2130
- enumerable: false,
2131
- configurable: true
2132
- });
2133
- Object.defineProperty(SkyWaitComponent.prototype, "isFullPage", {
2134
- get: function () {
2135
- return this._isFullPage;
2136
- },
2137
- /**
2138
- * When set to `true`, wait indication appears on the page level instead of the
2139
- * parent element level. We recommend that you use the `beginBlockingPageWait` or
2140
- * `beginNonBlockingPageWait` functions of the `SkyWaitService` instead of setting this
2141
- * on the component level.
2142
- * @default false
2143
- */
2144
- set: function (value) {
2145
- /* istanbul ignore else: untestable */
2146
- if (value) {
2147
- this.adapterService.removeWaitBounds(this.elRef);
2148
- }
2149
- else if (!value && this._isWaiting) {
2150
- this.adapterService.setWaitBounds(this.elRef);
2151
- }
2152
- this._isFullPage = value;
2153
- },
2154
- enumerable: false,
2155
- configurable: true
2156
- });
2157
- SkyWaitComponent.prototype.ngOnInit = function () {
2158
- this.publishAriaLabel();
2159
- };
2160
- SkyWaitComponent.prototype.publishAriaLabel = function () {
2161
- var _this = this;
2162
- if (this.ariaLabel) {
2163
- this.ariaLabelStream.next(this.ariaLabel);
2164
- return;
2165
- }
2166
- /* istanbul ignore else */
2167
- if (this.resourceService) {
2168
- var type = this.isFullPage ? '_page' : '';
2169
- var blocking = this.isNonBlocking ? '' : '_blocking';
2170
- var key = "skyux_wait" + type + blocking + "_aria_alt_text";
2171
- this.resourceService.getString(key).subscribe(function (value) {
2172
- _this.ariaLabelStream.next(value);
2173
- });
2174
- }
2175
- };
2176
- return SkyWaitComponent;
2177
- }());
2178
- SkyWaitComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyWaitComponent, deps: [{ token: i0__namespace.ElementRef }, { token: SkyWaitAdapterService }, { token: i1__namespace$1.SkyLibResourcesService, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
2179
- SkyWaitComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyWaitComponent, selector: "sky-wait", inputs: { ariaLabel: "ariaLabel", isWaiting: "isWaiting", isFullPage: "isFullPage", isNonBlocking: "isNonBlocking" }, providers: [SkyWaitAdapterService], ngImport: i0__namespace, template: "<div class=\"sky-wait-container\">\n <div\n *ngIf=\"isWaiting\"\n class=\"sky-wait-mask\"\n [attr.aria-label]=\"ariaLabelStream | async\"\n [ngClass]=\"{\n 'sky-wait-mask-loading-fixed': isFullPage,\n 'sky-wait-mask-loading-non-blocking': isNonBlocking,\n 'sky-wait-mask-loading-blocking': !isNonBlocking\n }\"\n >\n <div 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;top:0;right:0;left:0;bottom:0;background-color:#ffffffb3;z-index:1000}.sky-wait-mask-loading-fixed{position:fixed}.sky-wait{width:50px;height:50px;margin-top:-25px;margin-left:-25px;position:absolute;top:50%;left:50%}.sky-wait-mask-loading-non-blocking{bottom:0}.sky-wait-mask-loading-non-blocking .sky-wait{top:auto;right:auto;bottom:0;left:0;margin-left:auto;margin-right:auto}.sky-wait-double-bounce1,.sky-wait-double-bounce2{width:100%;height:100%;border-radius:50%;background-color:#72bf44;opacity:.6;position:absolute;top:0;left:0;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"], directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i1__namespace.AsyncPipe } });
2180
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyWaitComponent, decorators: [{
2181
- type: i0.Component,
2182
- args: [{
2183
- selector: 'sky-wait',
2184
- template: "<div class=\"sky-wait-container\">\n <div\n *ngIf=\"isWaiting\"\n class=\"sky-wait-mask\"\n [attr.aria-label]=\"ariaLabelStream | async\"\n [ngClass]=\"{\n 'sky-wait-mask-loading-fixed': isFullPage,\n 'sky-wait-mask-loading-non-blocking': isNonBlocking,\n 'sky-wait-mask-loading-blocking': !isNonBlocking\n }\"\n >\n <div 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",
2185
- styles: [".sky-wait-mask-loading-blocking{margin:auto;position:absolute;top:0;right:0;left:0;bottom:0;background-color:#ffffffb3;z-index:1000}.sky-wait-mask-loading-fixed{position:fixed}.sky-wait{width:50px;height:50px;margin-top:-25px;margin-left:-25px;position:absolute;top:50%;left:50%}.sky-wait-mask-loading-non-blocking{bottom:0}.sky-wait-mask-loading-non-blocking .sky-wait{top:auto;right:auto;bottom:0;left:0;margin-left:auto;margin-right:auto}.sky-wait-double-bounce1,.sky-wait-double-bounce2{width:100%;height:100%;border-radius:50%;background-color:#72bf44;opacity:.6;position:absolute;top:0;left:0;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"],
2186
- providers: [SkyWaitAdapterService],
2187
- }]
2188
- }], ctorParameters: function () {
2189
- return [{ type: i0__namespace.ElementRef }, { type: SkyWaitAdapterService }, { type: i1__namespace$1.SkyLibResourcesService, decorators: [{
2190
- type: i0.Optional
2191
- }] }];
2192
- }, propDecorators: { ariaLabel: [{
2193
- type: i0.Input
2194
- }], isWaiting: [{
2195
- type: i0.Input
2196
- }], isFullPage: [{
2197
- type: i0.Input
2198
- }], isNonBlocking: [{
2199
- type: i0.Input
2200
- }] } });
2201
-
2202
- /**
2203
- * @internal
2204
- */
2205
- var SkyWaitPageComponent = /** @class */ (function () {
2206
- function SkyWaitPageComponent() {
2207
- }
2208
- return SkyWaitPageComponent;
2209
- }());
2210
- SkyWaitPageComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyWaitPageComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
2211
- SkyWaitPageComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyWaitPageComponent, selector: "sky-wait-page", inputs: { hasBlockingWait: "hasBlockingWait", hasNonBlockingWait: "hasNonBlockingWait" }, ngImport: i0__namespace, template: "<div class=\"sky-wait-page\">\n <sky-wait\n [isFullPage]=\"true\"\n [isNonBlocking]=\"true\"\n [isWaiting]=\"hasNonBlockingWait\"\n >\n </sky-wait>\n <sky-wait [isFullPage]=\"true\" [isWaiting]=\"hasBlockingWait\"> </sky-wait>\n</div>\n", styles: [".sky-wait-page ::ng-deep .sky-wait-mask-loading-fixed{z-index:2000}\n"], components: [{ type: SkyWaitComponent, selector: "sky-wait", inputs: ["ariaLabel", "isWaiting", "isFullPage", "isNonBlocking"] }] });
2212
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyWaitPageComponent, decorators: [{
2213
- type: i0.Component,
2214
- args: [{
2215
- selector: 'sky-wait-page',
2216
- template: "<div class=\"sky-wait-page\">\n <sky-wait\n [isFullPage]=\"true\"\n [isNonBlocking]=\"true\"\n [isWaiting]=\"hasNonBlockingWait\"\n >\n </sky-wait>\n <sky-wait [isFullPage]=\"true\" [isWaiting]=\"hasBlockingWait\"> </sky-wait>\n</div>\n",
2217
- styles: [".sky-wait-page ::ng-deep .sky-wait-mask-loading-fixed{z-index:2000}\n"],
2218
- }]
2219
- }], propDecorators: { hasBlockingWait: [{
2220
- type: i0.Input
2221
- }], hasNonBlockingWait: [{
2222
- type: i0.Input
2223
- }] } });
2224
-
2225
- var SkyWaitModule = /** @class */ (function () {
2226
- function SkyWaitModule() {
2227
- }
2228
- return SkyWaitModule;
2229
- }());
2230
- SkyWaitModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyWaitModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2231
- SkyWaitModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyWaitModule, declarations: [SkyWaitComponent, SkyWaitPageComponent], imports: [i1.CommonModule, i1$1.SkyI18nModule, SkyIndicatorsResourcesModule], exports: [SkyWaitComponent] });
2232
- SkyWaitModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyWaitModule, imports: [[i1.CommonModule, i1$1.SkyI18nModule, SkyIndicatorsResourcesModule]] });
2233
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyWaitModule, decorators: [{
2234
- type: i0.NgModule,
2235
- args: [{
2236
- declarations: [SkyWaitComponent, SkyWaitPageComponent],
2237
- imports: [i1.CommonModule, i1$1.SkyI18nModule, SkyIndicatorsResourcesModule],
2238
- exports: [SkyWaitComponent],
2239
- entryComponents: [SkyWaitPageComponent],
2240
- }]
2241
- }] });
2242
-
2243
- /**
2244
- * @internal
2245
- */
2246
- var SkyWaitPageAdapterService = /** @class */ (function () {
2247
- function SkyWaitPageAdapterService() {
2248
- }
2249
- SkyWaitPageAdapterService.prototype.addPageWaitEl = function () {
2250
- document.body.appendChild(document.createElement('sky-wait-page'));
2251
- };
2252
- SkyWaitPageAdapterService.prototype.removePageWaitEl = function () {
2253
- var waitEl = document.querySelector('sky-wait-page');
2254
- if (waitEl) {
2255
- document.body.removeChild(waitEl);
2256
- }
2257
- };
2258
- return SkyWaitPageAdapterService;
2259
- }());
2260
- SkyWaitPageAdapterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyWaitPageAdapterService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
2261
- SkyWaitPageAdapterService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyWaitPageAdapterService, providedIn: 'root' });
2262
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyWaitPageAdapterService, decorators: [{
2263
- type: i0.Injectable,
2264
- args: [{
2265
- providedIn: 'root',
2266
- }]
2267
- }] });
2268
-
2269
- // Need to add the following to classes which contain static methods.
2270
- // See: https://github.com/ng-packagr/ng-packagr/issues/641
2271
- // @dynamic
2272
- var SkyWaitService = /** @class */ (function () {
2273
- function SkyWaitService(resolver, appRef, waitAdapter, windowSvc) {
2274
- this.resolver = resolver;
2275
- this.appRef = appRef;
2276
- this.waitAdapter = waitAdapter;
2277
- this.windowSvc = windowSvc;
2278
- }
2279
- /**
2280
- * Starts a blocking page wait on the page.
2281
- */
2282
- SkyWaitService.prototype.beginBlockingPageWait = function () {
2283
- this.beginPageWait(true);
2284
- };
2285
- /**
2286
- * Starts a non-blocking page wait on the page.
2287
- */
2288
- SkyWaitService.prototype.beginNonBlockingPageWait = function () {
2289
- this.beginPageWait(false);
2290
- };
2291
- /**
2292
- * Ends a blocking page wait on the page. Blocking page wait indication
2293
- * is removed when all running blocking page waits are ended.
2294
- */
2295
- SkyWaitService.prototype.endBlockingPageWait = function () {
2296
- this.endPageWait(true);
2297
- };
2298
- /**
2299
- * Ends a non-blocking page wait on the page. Non-blocking page wait indication
2300
- * is removed when all running non-blocking page waits are ended.
2301
- */
2302
- SkyWaitService.prototype.endNonBlockingPageWait = function () {
2303
- this.endPageWait(false);
2304
- };
2305
- /**
2306
- * Clears all blocking and non-blocking page waits on the page.
2307
- */
2308
- SkyWaitService.prototype.clearAllPageWaits = function () {
2309
- this.clearPageWait(true);
2310
- this.clearPageWait(false);
2311
- };
2312
- /**
2313
- * @internal
2314
- */
2315
- SkyWaitService.prototype.dispose = function () {
2316
- if (SkyWaitService.waitComponent) {
2317
- SkyWaitService.waitComponent = undefined;
2318
- SkyWaitService.pageWaitBlockingCount = 0;
2319
- SkyWaitService.pageWaitNonBlockingCount = 0;
2320
- this.waitAdapter.removePageWaitEl();
2321
- }
2322
- };
2323
- /**
2324
- * Launches a page wait and automatically stops when the specific asynchronous event completes.
2325
- */
2326
- SkyWaitService.prototype.blockingWrap = function (observable) {
2327
- var _this = this;
2328
- return rxjs.defer(function () {
2329
- _this.beginBlockingPageWait();
2330
- return observable.pipe(operators.finalize(function () { return _this.endBlockingPageWait(); }));
2331
- });
2332
- };
2333
- /**
2334
- * Launches a non-blocking page wait and automatically stops when the specific
2335
- * asynchronous event completes.
2336
- */
2337
- SkyWaitService.prototype.nonBlockingWrap = function (observable) {
2338
- var _this = this;
2339
- return rxjs.defer(function () {
2340
- _this.beginNonBlockingPageWait();
2341
- return observable.pipe(operators.finalize(function () { return _this.endNonBlockingPageWait(); }));
2342
- });
2343
- };
2344
- SkyWaitService.prototype.setWaitComponentProperties = function (isBlocking) {
2345
- if (isBlocking) {
2346
- SkyWaitService.waitComponent.hasBlockingWait = true;
2347
- SkyWaitService.pageWaitBlockingCount++;
2348
- }
2349
- else {
2350
- SkyWaitService.waitComponent.hasNonBlockingWait = true;
2351
- SkyWaitService.pageWaitNonBlockingCount++;
2352
- }
2353
- };
2354
- SkyWaitService.prototype.beginPageWait = function (isBlocking) {
2355
- var _this = this;
2356
- if (!SkyWaitService.waitComponent) {
2357
- /*
2358
- Dynamic component creation needs to be done in a timeout to prevent ApplicationRef from
2359
- crashing when wait service is called in Angular lifecycle functions.
2360
- */
2361
- this.windowSvc.nativeWindow.setTimeout(function () {
2362
- // Ensuring here that we recheck this after the setTimeout is over so that we don't clash
2363
- // with any other waits that are created.
2364
- if (!SkyWaitService.waitComponent) {
2365
- var factory = _this.resolver.resolveComponentFactory(SkyWaitPageComponent);
2366
- _this.waitAdapter.addPageWaitEl();
2367
- var cmpRef = _this.appRef.bootstrap(factory);
2368
- SkyWaitService.waitComponent = cmpRef.instance;
2369
- }
2370
- _this.setWaitComponentProperties(isBlocking);
2371
- });
2372
- }
2373
- else {
2374
- this.setWaitComponentProperties(isBlocking);
2375
- }
2376
- };
2377
- SkyWaitService.prototype.endPageWait = function (isBlocking) {
2378
- /*
2379
- Needs to yield so that wait creation can finish
2380
- before it is dismissed in the event of a race.
2381
- */
2382
- this.windowSvc.nativeWindow.setTimeout(function () {
2383
- if (SkyWaitService.waitComponent) {
2384
- if (isBlocking) {
2385
- if (SkyWaitService.pageWaitBlockingCount > 0) {
2386
- SkyWaitService.pageWaitBlockingCount--;
2387
- }
2388
- if (SkyWaitService.pageWaitBlockingCount < 1) {
2389
- SkyWaitService.waitComponent.hasBlockingWait = false;
2390
- }
2391
- }
2392
- else {
2393
- if (SkyWaitService.pageWaitNonBlockingCount > 0) {
2394
- SkyWaitService.pageWaitNonBlockingCount--;
2395
- }
2396
- if (SkyWaitService.pageWaitNonBlockingCount < 1) {
2397
- SkyWaitService.waitComponent.hasNonBlockingWait = false;
2398
- }
2399
- }
2400
- }
2401
- });
2402
- };
2403
- SkyWaitService.prototype.clearPageWait = function (isBlocking) {
2404
- if (SkyWaitService.waitComponent) {
2405
- if (isBlocking) {
2406
- SkyWaitService.pageWaitBlockingCount = 0;
2407
- SkyWaitService.waitComponent.hasBlockingWait = false;
2408
- }
2409
- else {
2410
- SkyWaitService.pageWaitNonBlockingCount = 0;
2411
- SkyWaitService.waitComponent.hasNonBlockingWait = false;
2412
- }
2413
- }
2414
- };
2415
- return SkyWaitService;
2416
- }());
2417
- SkyWaitService.pageWaitBlockingCount = 0;
2418
- SkyWaitService.pageWaitNonBlockingCount = 0;
2419
- SkyWaitService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyWaitService, deps: [{ token: i0__namespace.ComponentFactoryResolver }, { token: i0__namespace.ApplicationRef }, { token: SkyWaitPageAdapterService }, { token: i1__namespace$2.SkyAppWindowRef }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
2420
- SkyWaitService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyWaitService, providedIn: 'root' });
2421
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyWaitService, decorators: [{
2422
- type: i0.Injectable,
2423
- args: [{
2424
- providedIn: 'root',
2425
- }]
2426
- }], ctorParameters: function () { return [{ type: i0__namespace.ComponentFactoryResolver }, { type: i0__namespace.ApplicationRef }, { type: SkyWaitPageAdapterService }, { type: i1__namespace$2.SkyAppWindowRef }]; } });
2427
-
2428
- /**
2429
- * Generated bundle index. Do not edit.
2430
- */
2431
-
2432
- exports.SkyAlertModule = SkyAlertModule;
2433
- exports.SkyChevronModule = SkyChevronModule;
2434
- exports.SkyExpansionIndicatorModule = SkyExpansionIndicatorModule;
2435
- exports.SkyHelpInlineModule = SkyHelpInlineModule;
2436
- exports.SkyIconModule = SkyIconModule;
2437
- exports.SkyKeyInfoModule = SkyKeyInfoModule;
2438
- exports.SkyLabelModule = SkyLabelModule;
2439
- exports.SkyStatusIndicatorModule = SkyStatusIndicatorModule;
2440
- exports.SkyTextHighlightModule = SkyTextHighlightModule;
2441
- exports.SkyTokensModule = SkyTokensModule;
2442
- exports.SkyWaitModule = SkyWaitModule;
2443
- exports.SkyWaitService = SkyWaitService;
2444
- exports["λ1"] = SkyAlertComponent;
2445
- exports["λ10"] = SkyStatusIndicatorComponent;
2446
- exports["λ11"] = SkyTextHighlightDirective;
2447
- exports["λ12"] = SkyTokenComponent;
2448
- exports["λ13"] = SkyTokensComponent;
2449
- exports["λ14"] = SkyWaitComponent;
2450
- exports["λ15"] = SkyExpansionIndicatorComponent;
2451
- exports["λ2"] = SkyChevronComponent;
2452
- exports["λ3"] = SkyHelpInlineComponent;
2453
- exports["λ4"] = SkyIconComponent;
2454
- exports["λ5"] = SkyIconStackComponent;
2455
- exports["λ6"] = SkyKeyInfoLabelComponent;
2456
- exports["λ7"] = SkyKeyInfoValueComponent;
2457
- exports["λ8"] = SkyKeyInfoComponent;
2458
- exports["λ9"] = SkyLabelComponent;
2459
-
2460
- Object.defineProperty(exports, '__esModule', { value: true });
2461
-
2462
- }));
2463
- //# sourceMappingURL=skyux-indicators.umd.js.map