@skyux/progress-indicator 5.5.0 → 5.6.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.
- package/bundles/skyux-progress-indicator.umd.js +31 -31
- package/documentation.json +44 -104
- package/esm2015/lib/modules/progress-indicator/progress-indicator-nav-button/progress-indicator-nav-button.component.js +1 -1
- package/esm2015/lib/modules/progress-indicator/progress-indicator-nav-button/progress-indicator-nav-button.component.js.map +1 -1
- package/esm2015/lib/modules/progress-indicator/progress-indicator-reset-button/progress-indicator-reset-button.component.js +1 -1
- package/esm2015/lib/modules/progress-indicator/progress-indicator-reset-button/progress-indicator-reset-button.component.js.map +1 -1
- package/esm2015/lib/modules/progress-indicator/progress-indicator-status-marker/progress-indicator-status-marker.component.js +1 -1
- package/esm2015/lib/modules/progress-indicator/progress-indicator-status-marker/progress-indicator-status-marker.component.js.map +1 -1
- package/esm2015/lib/modules/progress-indicator/progress-indicator.component.js +2 -2
- package/esm2015/lib/modules/progress-indicator/progress-indicator.component.js.map +1 -1
- package/esm2015/lib/modules/progress-indicator/progress-indicator.module.js +2 -2
- package/esm2015/lib/modules/progress-indicator/progress-indicator.module.js.map +1 -1
- package/esm2015/lib/modules/shared/sky-progress-indicator-resources.module.js +1 -1
- package/esm2015/lib/modules/shared/sky-progress-indicator-resources.module.js.map +1 -1
- package/fesm2015/skyux-progress-indicator.js +19 -19
- package/fesm2015/skyux-progress-indicator.js.map +1 -1
- package/lib/modules/progress-indicator/progress-indicator-nav-button/progress-indicator-nav-button.component.d.ts +1 -1
- package/lib/modules/progress-indicator/progress-indicator.component.d.ts +1 -1
- package/package.json +12 -11
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@skyux/progress-indicator', ['exports', '@angular/
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.skyux = global.skyux || {}, global.skyux["progress-indicator"] = {}), global.ng.
|
|
5
|
-
})(this, (function (exports,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@skyux/i18n'), require('@skyux/indicators'), require('@skyux/theme'), require('rxjs'), require('rxjs/operators'), require('@skyux/core')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@skyux/progress-indicator', ['exports', '@angular/common', '@angular/core', '@skyux/i18n', '@skyux/indicators', '@skyux/theme', 'rxjs', 'rxjs/operators', '@skyux/core'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.skyux = global.skyux || {}, global.skyux["progress-indicator"] = {}), global.ng.common, global.ng.core, global.i4, global.i2, global.i1, global.rxjs, global.rxjs.operators, global.i1$1));
|
|
5
|
+
})(this, (function (exports, i3, i0, i4, i2, i1, rxjs, operators, i1$1) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
return Object.freeze(n);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
25
|
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
26
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
27
27
|
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
28
28
|
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
29
29
|
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
@@ -279,20 +279,19 @@
|
|
|
279
279
|
}] } });
|
|
280
280
|
|
|
281
281
|
/**
|
|
282
|
-
*
|
|
283
|
-
*
|
|
282
|
+
* Allows the consumer to decide whether the button's action should be completed successfully.
|
|
283
|
+
* The handler is provided with all nav button types.
|
|
284
284
|
*/
|
|
285
|
-
|
|
286
|
-
(function (SkyProgressIndicatorDisplayMode) {
|
|
287
|
-
/**
|
|
288
|
-
* Specifies a vertical layout for the progress indicator.
|
|
289
|
-
*/
|
|
290
|
-
SkyProgressIndicatorDisplayMode[SkyProgressIndicatorDisplayMode["Vertical"] = 0] = "Vertical";
|
|
285
|
+
var SkyProgressIndicatorActionClickProgressHandler = /** @class */ (function () {
|
|
291
286
|
/**
|
|
292
|
-
*
|
|
287
|
+
*
|
|
288
|
+
* @param advance Advances the progress indicator to the next step.
|
|
293
289
|
*/
|
|
294
|
-
|
|
295
|
-
|
|
290
|
+
function SkyProgressIndicatorActionClickProgressHandler(advance) {
|
|
291
|
+
this.advance = advance;
|
|
292
|
+
}
|
|
293
|
+
return SkyProgressIndicatorActionClickProgressHandler;
|
|
294
|
+
}());
|
|
296
295
|
|
|
297
296
|
exports.SkyProgressIndicatorMessageType = void 0;
|
|
298
297
|
(function (SkyProgressIndicatorMessageType) {
|
|
@@ -322,6 +321,22 @@
|
|
|
322
321
|
SkyProgressIndicatorMessageType[SkyProgressIndicatorMessageType["GoTo"] = 4] = "GoTo";
|
|
323
322
|
})(exports.SkyProgressIndicatorMessageType || (exports.SkyProgressIndicatorMessageType = {}));
|
|
324
323
|
|
|
324
|
+
/**
|
|
325
|
+
* @deprecated Use `SkyProgressIndicatorDisplayModeType` instead.
|
|
326
|
+
* @internal
|
|
327
|
+
*/
|
|
328
|
+
exports.SkyProgressIndicatorDisplayMode = void 0;
|
|
329
|
+
(function (SkyProgressIndicatorDisplayMode) {
|
|
330
|
+
/**
|
|
331
|
+
* Specifies a vertical layout for the progress indicator.
|
|
332
|
+
*/
|
|
333
|
+
SkyProgressIndicatorDisplayMode[SkyProgressIndicatorDisplayMode["Vertical"] = 0] = "Vertical";
|
|
334
|
+
/**
|
|
335
|
+
* Specifies a horizontal layout for the progress indicator.
|
|
336
|
+
*/
|
|
337
|
+
SkyProgressIndicatorDisplayMode[SkyProgressIndicatorDisplayMode["Horizontal"] = 1] = "Horizontal";
|
|
338
|
+
})(exports.SkyProgressIndicatorDisplayMode || (exports.SkyProgressIndicatorDisplayMode = {}));
|
|
339
|
+
|
|
325
340
|
var SkyProgressIndicatorComponent = /** @class */ (function () {
|
|
326
341
|
function SkyProgressIndicatorComponent(changeDetector, windowRef) {
|
|
327
342
|
this.changeDetector = changeDetector;
|
|
@@ -666,21 +681,6 @@
|
|
|
666
681
|
args: [SkyProgressIndicatorItemComponent]
|
|
667
682
|
}] } });
|
|
668
683
|
|
|
669
|
-
/**
|
|
670
|
-
* Allows the consumer to decide whether the button's action should be completed successfully.
|
|
671
|
-
* The handler is provided with all nav button types.
|
|
672
|
-
*/
|
|
673
|
-
var SkyProgressIndicatorActionClickProgressHandler = /** @class */ (function () {
|
|
674
|
-
/**
|
|
675
|
-
*
|
|
676
|
-
* @param advance Advances the progress indicator to the next step.
|
|
677
|
-
*/
|
|
678
|
-
function SkyProgressIndicatorActionClickProgressHandler(advance) {
|
|
679
|
-
this.advance = advance;
|
|
680
|
-
}
|
|
681
|
-
return SkyProgressIndicatorActionClickProgressHandler;
|
|
682
|
-
}());
|
|
683
|
-
|
|
684
684
|
/**
|
|
685
685
|
* Displays a button to navigate the steps in modal wizards. We recommend against using it in
|
|
686
686
|
* passive progress indicators and waterfall progress indicators.
|
package/documentation.json
CHANGED
|
@@ -298,22 +298,6 @@
|
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
]
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"id": 171,
|
|
304
|
-
"name": "advance",
|
|
305
|
-
"kind": 1024,
|
|
306
|
-
"kindString": "Property",
|
|
307
|
-
"flags": {
|
|
308
|
-
"isPublic": true,
|
|
309
|
-
"isReadonly": true
|
|
310
|
-
},
|
|
311
|
-
"type": {
|
|
312
|
-
"type": "reference",
|
|
313
|
-
"qualifiedName": "Function",
|
|
314
|
-
"package": "typescript",
|
|
315
|
-
"name": "Function"
|
|
316
|
-
}
|
|
317
301
|
}
|
|
318
302
|
],
|
|
319
303
|
"groups": [
|
|
@@ -360,29 +344,7 @@
|
|
|
360
344
|
}
|
|
361
345
|
}
|
|
362
346
|
],
|
|
363
|
-
"children": [
|
|
364
|
-
{
|
|
365
|
-
"id": 162,
|
|
366
|
-
"name": "constructor",
|
|
367
|
-
"kind": 512,
|
|
368
|
-
"kindString": "Constructor",
|
|
369
|
-
"flags": {},
|
|
370
|
-
"signatures": [
|
|
371
|
-
{
|
|
372
|
-
"id": 163,
|
|
373
|
-
"name": "new SkyProgressIndicatorModule",
|
|
374
|
-
"kind": 16384,
|
|
375
|
-
"kindString": "Constructor signature",
|
|
376
|
-
"flags": {},
|
|
377
|
-
"type": {
|
|
378
|
-
"type": "reference",
|
|
379
|
-
"id": 161,
|
|
380
|
-
"name": "SkyProgressIndicatorModule"
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
]
|
|
384
|
-
}
|
|
385
|
-
],
|
|
347
|
+
"children": [],
|
|
386
348
|
"groups": [
|
|
387
349
|
{
|
|
388
350
|
"title": "Constructors",
|
|
@@ -395,7 +357,7 @@
|
|
|
395
357
|
"sources": [
|
|
396
358
|
{
|
|
397
359
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator.module.ts",
|
|
398
|
-
"line":
|
|
360
|
+
"line": 40,
|
|
399
361
|
"character": 13
|
|
400
362
|
}
|
|
401
363
|
]
|
|
@@ -832,7 +794,7 @@
|
|
|
832
794
|
"sources": [
|
|
833
795
|
{
|
|
834
796
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator.component.ts",
|
|
835
|
-
"line":
|
|
797
|
+
"line": 188,
|
|
836
798
|
"character": 2
|
|
837
799
|
}
|
|
838
800
|
],
|
|
@@ -903,7 +865,7 @@
|
|
|
903
865
|
"sources": [
|
|
904
866
|
{
|
|
905
867
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator.component.ts",
|
|
906
|
-
"line":
|
|
868
|
+
"line": 110,
|
|
907
869
|
"character": 9
|
|
908
870
|
}
|
|
909
871
|
],
|
|
@@ -933,7 +895,7 @@
|
|
|
933
895
|
"sources": [
|
|
934
896
|
{
|
|
935
897
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator.component.ts",
|
|
936
|
-
"line":
|
|
898
|
+
"line": 112,
|
|
937
899
|
"character": 13
|
|
938
900
|
}
|
|
939
901
|
],
|
|
@@ -974,7 +936,7 @@
|
|
|
974
936
|
"sources": [
|
|
975
937
|
{
|
|
976
938
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator.component.ts",
|
|
977
|
-
"line":
|
|
939
|
+
"line": 45,
|
|
978
940
|
"character": 13
|
|
979
941
|
}
|
|
980
942
|
],
|
|
@@ -1049,7 +1011,7 @@
|
|
|
1049
1011
|
"sources": [
|
|
1050
1012
|
{
|
|
1051
1013
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator.component.ts",
|
|
1052
|
-
"line":
|
|
1014
|
+
"line": 138,
|
|
1053
1015
|
"character": 13
|
|
1054
1016
|
}
|
|
1055
1017
|
],
|
|
@@ -1116,7 +1078,7 @@
|
|
|
1116
1078
|
"sources": [
|
|
1117
1079
|
{
|
|
1118
1080
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator.component.ts",
|
|
1119
|
-
"line":
|
|
1081
|
+
"line": 63,
|
|
1120
1082
|
"character": 13
|
|
1121
1083
|
}
|
|
1122
1084
|
],
|
|
@@ -1189,7 +1151,7 @@
|
|
|
1189
1151
|
"sources": [
|
|
1190
1152
|
{
|
|
1191
1153
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator.component.ts",
|
|
1192
|
-
"line":
|
|
1154
|
+
"line": 146,
|
|
1193
1155
|
"character": 13
|
|
1194
1156
|
}
|
|
1195
1157
|
],
|
|
@@ -1234,7 +1196,7 @@
|
|
|
1234
1196
|
"sources": [
|
|
1235
1197
|
{
|
|
1236
1198
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator.component.ts",
|
|
1237
|
-
"line":
|
|
1199
|
+
"line": 82,
|
|
1238
1200
|
"character": 13
|
|
1239
1201
|
}
|
|
1240
1202
|
],
|
|
@@ -1310,7 +1272,7 @@
|
|
|
1310
1272
|
"sources": [
|
|
1311
1273
|
{
|
|
1312
1274
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator.component.ts",
|
|
1313
|
-
"line":
|
|
1275
|
+
"line": 98,
|
|
1314
1276
|
"character": 13
|
|
1315
1277
|
}
|
|
1316
1278
|
],
|
|
@@ -1371,7 +1333,7 @@
|
|
|
1371
1333
|
"sources": [
|
|
1372
1334
|
{
|
|
1373
1335
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator.component.ts",
|
|
1374
|
-
"line":
|
|
1336
|
+
"line": 199,
|
|
1375
1337
|
"character": 9
|
|
1376
1338
|
}
|
|
1377
1339
|
],
|
|
@@ -1408,7 +1370,7 @@
|
|
|
1408
1370
|
"sources": [
|
|
1409
1371
|
{
|
|
1410
1372
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator.component.ts",
|
|
1411
|
-
"line":
|
|
1373
|
+
"line": 220,
|
|
1412
1374
|
"character": 9
|
|
1413
1375
|
}
|
|
1414
1376
|
],
|
|
@@ -1445,7 +1407,7 @@
|
|
|
1445
1407
|
"sources": [
|
|
1446
1408
|
{
|
|
1447
1409
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator.component.ts",
|
|
1448
|
-
"line":
|
|
1410
|
+
"line": 193,
|
|
1449
1411
|
"character": 9
|
|
1450
1412
|
}
|
|
1451
1413
|
],
|
|
@@ -1482,7 +1444,7 @@
|
|
|
1482
1444
|
"sources": [
|
|
1483
1445
|
{
|
|
1484
1446
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator.component.ts",
|
|
1485
|
-
"line":
|
|
1447
|
+
"line": 225,
|
|
1486
1448
|
"character": 9
|
|
1487
1449
|
}
|
|
1488
1450
|
],
|
|
@@ -1557,7 +1519,7 @@
|
|
|
1557
1519
|
"sources": [
|
|
1558
1520
|
{
|
|
1559
1521
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator.component.ts",
|
|
1560
|
-
"line":
|
|
1522
|
+
"line": 33,
|
|
1561
1523
|
"character": 13
|
|
1562
1524
|
}
|
|
1563
1525
|
],
|
|
@@ -1615,7 +1577,7 @@
|
|
|
1615
1577
|
"sources": [
|
|
1616
1578
|
{
|
|
1617
1579
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator-nav-button/progress-indicator-nav-button.component.ts",
|
|
1618
|
-
"line":
|
|
1580
|
+
"line": 189,
|
|
1619
1581
|
"character": 2
|
|
1620
1582
|
}
|
|
1621
1583
|
],
|
|
@@ -1699,7 +1661,7 @@
|
|
|
1699
1661
|
"sources": [
|
|
1700
1662
|
{
|
|
1701
1663
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator-nav-button/progress-indicator-nav-button.component.ts",
|
|
1702
|
-
"line":
|
|
1664
|
+
"line": 142,
|
|
1703
1665
|
"character": 9
|
|
1704
1666
|
}
|
|
1705
1667
|
],
|
|
@@ -1750,7 +1712,7 @@
|
|
|
1750
1712
|
"sources": [
|
|
1751
1713
|
{
|
|
1752
1714
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator-nav-button/progress-indicator-nav-button.component.ts",
|
|
1753
|
-
"line":
|
|
1715
|
+
"line": 40,
|
|
1754
1716
|
"character": 9
|
|
1755
1717
|
}
|
|
1756
1718
|
],
|
|
@@ -1770,7 +1732,7 @@
|
|
|
1770
1732
|
"sources": [
|
|
1771
1733
|
{
|
|
1772
1734
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator-nav-button/progress-indicator-nav-button.component.ts",
|
|
1773
|
-
"line":
|
|
1735
|
+
"line": 167,
|
|
1774
1736
|
"character": 13
|
|
1775
1737
|
}
|
|
1776
1738
|
],
|
|
@@ -1811,7 +1773,7 @@
|
|
|
1811
1773
|
"sources": [
|
|
1812
1774
|
{
|
|
1813
1775
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator-nav-button/progress-indicator-nav-button.component.ts",
|
|
1814
|
-
"line":
|
|
1776
|
+
"line": 48,
|
|
1815
1777
|
"character": 13
|
|
1816
1778
|
}
|
|
1817
1779
|
],
|
|
@@ -1886,7 +1848,7 @@
|
|
|
1886
1848
|
"sources": [
|
|
1887
1849
|
{
|
|
1888
1850
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator-nav-button/progress-indicator-nav-button.component.ts",
|
|
1889
|
-
"line":
|
|
1851
|
+
"line": 144,
|
|
1890
1852
|
"character": 13
|
|
1891
1853
|
}
|
|
1892
1854
|
],
|
|
@@ -1927,7 +1889,7 @@
|
|
|
1927
1889
|
"sources": [
|
|
1928
1890
|
{
|
|
1929
1891
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator-nav-button/progress-indicator-nav-button.component.ts",
|
|
1930
|
-
"line":
|
|
1892
|
+
"line": 65,
|
|
1931
1893
|
"character": 13
|
|
1932
1894
|
}
|
|
1933
1895
|
],
|
|
@@ -2000,7 +1962,7 @@
|
|
|
2000
1962
|
"sources": [
|
|
2001
1963
|
{
|
|
2002
1964
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator-nav-button/progress-indicator-nav-button.component.ts",
|
|
2003
|
-
"line":
|
|
1965
|
+
"line": 171,
|
|
2004
1966
|
"character": 13
|
|
2005
1967
|
}
|
|
2006
1968
|
],
|
|
@@ -2067,7 +2029,7 @@
|
|
|
2067
2029
|
"sources": [
|
|
2068
2030
|
{
|
|
2069
2031
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator-nav-button/progress-indicator-nav-button.component.ts",
|
|
2070
|
-
"line":
|
|
2032
|
+
"line": 92,
|
|
2071
2033
|
"character": 13
|
|
2072
2034
|
}
|
|
2073
2035
|
],
|
|
@@ -2142,7 +2104,7 @@
|
|
|
2142
2104
|
"sources": [
|
|
2143
2105
|
{
|
|
2144
2106
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator-nav-button/progress-indicator-nav-button.component.ts",
|
|
2145
|
-
"line":
|
|
2107
|
+
"line": 194,
|
|
2146
2108
|
"character": 9
|
|
2147
2109
|
}
|
|
2148
2110
|
],
|
|
@@ -2179,7 +2141,7 @@
|
|
|
2179
2141
|
"sources": [
|
|
2180
2142
|
{
|
|
2181
2143
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator-nav-button/progress-indicator-nav-button.component.ts",
|
|
2182
|
-
"line":
|
|
2144
|
+
"line": 202,
|
|
2183
2145
|
"character": 9
|
|
2184
2146
|
}
|
|
2185
2147
|
],
|
|
@@ -2216,7 +2178,7 @@
|
|
|
2216
2178
|
"sources": [
|
|
2217
2179
|
{
|
|
2218
2180
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator-nav-button/progress-indicator-nav-button.component.ts",
|
|
2219
|
-
"line":
|
|
2181
|
+
"line": 208,
|
|
2220
2182
|
"character": 9
|
|
2221
2183
|
}
|
|
2222
2184
|
],
|
|
@@ -2291,7 +2253,7 @@
|
|
|
2291
2253
|
"sources": [
|
|
2292
2254
|
{
|
|
2293
2255
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator-nav-button/progress-indicator-nav-button.component.ts",
|
|
2294
|
-
"line":
|
|
2256
|
+
"line": 32,
|
|
2295
2257
|
"character": 13
|
|
2296
2258
|
}
|
|
2297
2259
|
],
|
|
@@ -2343,7 +2305,7 @@
|
|
|
2343
2305
|
"sources": [
|
|
2344
2306
|
{
|
|
2345
2307
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator-reset-button/progress-indicator-reset-button.component.ts",
|
|
2346
|
-
"line":
|
|
2308
|
+
"line": 55,
|
|
2347
2309
|
"character": 2
|
|
2348
2310
|
}
|
|
2349
2311
|
],
|
|
@@ -2409,7 +2371,7 @@
|
|
|
2409
2371
|
"sources": [
|
|
2410
2372
|
{
|
|
2411
2373
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator-reset-button/progress-indicator-reset-button.component.ts",
|
|
2412
|
-
"line":
|
|
2374
|
+
"line": 44,
|
|
2413
2375
|
"character": 9
|
|
2414
2376
|
}
|
|
2415
2377
|
],
|
|
@@ -2445,7 +2407,7 @@
|
|
|
2445
2407
|
"sources": [
|
|
2446
2408
|
{
|
|
2447
2409
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator-reset-button/progress-indicator-reset-button.component.ts",
|
|
2448
|
-
"line":
|
|
2410
|
+
"line": 51,
|
|
2449
2411
|
"character": 9
|
|
2450
2412
|
}
|
|
2451
2413
|
],
|
|
@@ -2486,7 +2448,7 @@
|
|
|
2486
2448
|
"sources": [
|
|
2487
2449
|
{
|
|
2488
2450
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator-reset-button/progress-indicator-reset-button.component.ts",
|
|
2489
|
-
"line":
|
|
2451
|
+
"line": 30,
|
|
2490
2452
|
"character": 13
|
|
2491
2453
|
}
|
|
2492
2454
|
],
|
|
@@ -2559,7 +2521,7 @@
|
|
|
2559
2521
|
"sources": [
|
|
2560
2522
|
{
|
|
2561
2523
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator-reset-button/progress-indicator-reset-button.component.ts",
|
|
2562
|
-
"line":
|
|
2524
|
+
"line": 63,
|
|
2563
2525
|
"character": 9
|
|
2564
2526
|
}
|
|
2565
2527
|
],
|
|
@@ -2596,7 +2558,7 @@
|
|
|
2596
2558
|
"sources": [
|
|
2597
2559
|
{
|
|
2598
2560
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator-reset-button/progress-indicator-reset-button.component.ts",
|
|
2599
|
-
"line":
|
|
2561
|
+
"line": 67,
|
|
2600
2562
|
"character": 9
|
|
2601
2563
|
}
|
|
2602
2564
|
],
|
|
@@ -2650,7 +2612,7 @@
|
|
|
2650
2612
|
"sources": [
|
|
2651
2613
|
{
|
|
2652
2614
|
"fileName": "projects/progress-indicator/src/modules/progress-indicator/progress-indicator-reset-button/progress-indicator-reset-button.component.ts",
|
|
2653
|
-
"line":
|
|
2615
|
+
"line": 24,
|
|
2654
2616
|
"character": 13
|
|
2655
2617
|
}
|
|
2656
2618
|
],
|
|
@@ -2686,29 +2648,7 @@
|
|
|
2686
2648
|
}
|
|
2687
2649
|
}
|
|
2688
2650
|
],
|
|
2689
|
-
"children": [
|
|
2690
|
-
{
|
|
2691
|
-
"id": 159,
|
|
2692
|
-
"name": "constructor",
|
|
2693
|
-
"kind": 512,
|
|
2694
|
-
"kindString": "Constructor",
|
|
2695
|
-
"flags": {},
|
|
2696
|
-
"signatures": [
|
|
2697
|
-
{
|
|
2698
|
-
"id": 160,
|
|
2699
|
-
"name": "SkyProgressIndicatorTitleComponent",
|
|
2700
|
-
"kind": 16384,
|
|
2701
|
-
"kindString": "Constructor signature",
|
|
2702
|
-
"flags": {},
|
|
2703
|
-
"type": {
|
|
2704
|
-
"type": "reference",
|
|
2705
|
-
"id": 158,
|
|
2706
|
-
"name": "SkyProgressIndicatorTitleComponent"
|
|
2707
|
-
}
|
|
2708
|
-
}
|
|
2709
|
-
]
|
|
2710
|
-
}
|
|
2711
|
-
],
|
|
2651
|
+
"children": [],
|
|
2712
2652
|
"groups": [
|
|
2713
2653
|
{
|
|
2714
2654
|
"title": "Constructors",
|
|
@@ -3167,7 +3107,7 @@
|
|
|
3167
3107
|
{
|
|
3168
3108
|
"fileName": "progress-indicator-passive-demo.module.ts",
|
|
3169
3109
|
"filePath": "/projects/progress-indicator/documentation/code-examples/passive-indicator/basic/progress-indicator-passive-demo.module.ts",
|
|
3170
|
-
"rawContents": "import { CommonModule } from '@angular/common';\
|
|
3110
|
+
"rawContents": "import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { SkyProgressIndicatorModule } from '@skyux/progress-indicator';\n\nimport { SkyProgressIndicatorPassiveDemoComponent } from './progress-indicator-passive-demo.component';\n\n@NgModule({\n imports: [CommonModule, SkyProgressIndicatorModule],\n exports: [SkyProgressIndicatorPassiveDemoComponent],\n declarations: [SkyProgressIndicatorPassiveDemoComponent],\n})\nexport class SkyProgressIndicatorPassiveDemoModule {}\n"
|
|
3171
3111
|
},
|
|
3172
3112
|
{
|
|
3173
3113
|
"fileName": "progress-indicator-waterfall-demo-context.ts",
|
|
@@ -3182,7 +3122,7 @@
|
|
|
3182
3122
|
{
|
|
3183
3123
|
"fileName": "progress-indicator-waterfall-demo-form.component.ts",
|
|
3184
3124
|
"filePath": "/projects/progress-indicator/documentation/code-examples/waterfall-indicator/basic/progress-indicator-waterfall-demo-form.component.ts",
|
|
3185
|
-
"rawContents": "import { Component } from '@angular/core';\
|
|
3125
|
+
"rawContents": "import { Component } from '@angular/core';\nimport { SkyModalInstance } from '@skyux/modals';\n\nimport { SkyProgressIndicatorWaterfallDemoContext } from './progress-indicator-waterfall-demo-context';\n\n@Component({\n selector: 'app-progress-indicator-waterfall-horizontal-demo',\n templateUrl: './progress-indicator-waterfall-demo-form.component.html',\n})\nexport class SkyProgressIndicatorWaterfallDemoFormComponent {\n constructor(\n public instance: SkyModalInstance,\n public context: SkyProgressIndicatorWaterfallDemoContext\n ) {}\n\n public submit(): void {\n this.instance.close(undefined, 'save');\n }\n}\n"
|
|
3186
3126
|
},
|
|
3187
3127
|
{
|
|
3188
3128
|
"fileName": "progress-indicator-waterfall-demo.component.html",
|
|
@@ -3192,12 +3132,12 @@
|
|
|
3192
3132
|
{
|
|
3193
3133
|
"fileName": "progress-indicator-waterfall-demo.component.ts",
|
|
3194
3134
|
"filePath": "/projects/progress-indicator/documentation/code-examples/waterfall-indicator/basic/progress-indicator-waterfall-demo.component.ts",
|
|
3195
|
-
"rawContents": "import {\n
|
|
3135
|
+
"rawContents": "import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n} from '@angular/core';\nimport { SkyModalCloseArgs, SkyModalService } from '@skyux/modals';\nimport {\n SkyProgressIndicatorChange,\n SkyProgressIndicatorMessageType,\n} from '@skyux/progress-indicator';\n\nimport { Subject } from 'rxjs';\nimport { take } from 'rxjs/operators';\n\nimport { SkyProgressIndicatorWaterfallDemoContext } from './progress-indicator-waterfall-demo-context';\nimport { SkyProgressIndicatorWaterfallDemoFormComponent } from './progress-indicator-waterfall-demo-form.component';\n\n@Component({\n selector: 'app-waterfall-indicator-docs',\n templateUrl: './progress-indicator-waterfall-demo.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WaterfallIndicatorDocsComponent {\n public activeIndex = 0;\n\n public progressMessageStream = new Subject<SkyProgressIndicatorMessageType>();\n\n constructor(\n private changeDetector: ChangeDetectorRef,\n private modal: SkyModalService\n ) {}\n\n public configureConnection(isProgress: boolean): void {\n this.openModalForm(\n {\n title: 'Configure connection',\n buttonText: 'Submit connection settings',\n },\n isProgress\n );\n }\n\n public setServer(isProgress: boolean): void {\n this.openModalForm(\n {\n title: 'Select remote server',\n buttonText: 'Submit server choice',\n },\n isProgress\n );\n }\n\n public testConnection(isProgress: boolean): void {\n this.openModalForm(\n {\n title: 'Connection confirmed.',\n buttonText: 'OK',\n },\n isProgress\n );\n }\n\n public alertMessage(message: string): void {\n alert(message);\n }\n\n public updateIndex(changes: SkyProgressIndicatorChange): void {\n this.activeIndex = changes.activeIndex;\n this.changeDetector.detectChanges();\n }\n\n public resetClicked(): void {\n this.progressMessageStream.next(SkyProgressIndicatorMessageType.Reset);\n }\n\n private progress(): void {\n this.progressMessageStream.next(SkyProgressIndicatorMessageType.Progress);\n }\n\n private openModalForm(\n context: SkyProgressIndicatorWaterfallDemoContext,\n isProgress: boolean\n ): void {\n const modalForm = this.modal.open(\n SkyProgressIndicatorWaterfallDemoFormComponent,\n [\n {\n provide: SkyProgressIndicatorWaterfallDemoContext,\n useValue: context,\n },\n ]\n );\n\n modalForm.closed.pipe(take(1)).subscribe((args: SkyModalCloseArgs) => {\n if (args.reason === 'save' && isProgress) {\n this.progress();\n }\n });\n }\n}\n"
|
|
3196
3136
|
},
|
|
3197
3137
|
{
|
|
3198
3138
|
"fileName": "progress-indicator-waterfall-demo.module.ts",
|
|
3199
3139
|
"filePath": "/projects/progress-indicator/documentation/code-examples/waterfall-indicator/basic/progress-indicator-waterfall-demo.module.ts",
|
|
3200
|
-
"rawContents": "import { CommonModule } from '@angular/common';\
|
|
3140
|
+
"rawContents": "import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { SkyModalModule } from '@skyux/modals';\nimport { SkyProgressIndicatorModule } from '@skyux/progress-indicator';\n\nimport { SkyProgressIndicatorWaterfallDemoFormComponent } from './progress-indicator-waterfall-demo-form.component';\nimport { WaterfallIndicatorDocsComponent } from './progress-indicator-waterfall-demo.component';\n\n@NgModule({\n imports: [CommonModule, SkyProgressIndicatorModule, SkyModalModule],\n exports: [WaterfallIndicatorDocsComponent],\n declarations: [\n WaterfallIndicatorDocsComponent,\n SkyProgressIndicatorWaterfallDemoFormComponent,\n ],\n entryComponents: [\n WaterfallIndicatorDocsComponent,\n SkyProgressIndicatorWaterfallDemoFormComponent,\n ],\n})\nexport class SkyProgressIndicatorPassiveDemoModule {}\n"
|
|
3201
3141
|
},
|
|
3202
3142
|
{
|
|
3203
3143
|
"fileName": "wizard-demo-modal.component.html",
|
|
@@ -3207,7 +3147,7 @@
|
|
|
3207
3147
|
{
|
|
3208
3148
|
"fileName": "wizard-demo-modal.component.ts",
|
|
3209
3149
|
"filePath": "/projects/progress-indicator/documentation/code-examples/wizard/basic/wizard-demo-modal.component.ts",
|
|
3210
|
-
"rawContents": "import { Component, OnInit } from '@angular/core';\
|
|
3150
|
+
"rawContents": "import { Component, OnInit } from '@angular/core';\nimport { FormBuilder, FormGroup } from '@angular/forms';\nimport { SkyModalInstance } from '@skyux/modals';\nimport {\n SkyProgressIndicatorActionClickArgs,\n SkyProgressIndicatorChange,\n SkyProgressIndicatorDisplayMode,\n} from '@skyux/progress-indicator';\n\n@Component({\n selector: 'app-wizard-demo-modal',\n templateUrl: './wizard-demo-modal.component.html',\n})\nexport class WizardDemoModalComponent implements OnInit {\n public activeIndex = 0;\n\n public displayMode = SkyProgressIndicatorDisplayMode.Horizontal;\n\n public myForm: FormGroup;\n\n public title = 'Wizard example';\n\n public get requirementsMet(): boolean {\n switch (this.activeIndex) {\n case 0:\n return !!this.myForm.get('requiredValue1').value;\n case 1:\n return !!this.myForm.get('requiredValue2').value;\n default:\n return false;\n }\n }\n\n constructor(\n private formBuilder: FormBuilder,\n public instance: SkyModalInstance\n ) {}\n\n public ngOnInit() {\n this.myForm = this.formBuilder.group({\n requiredValue1: undefined,\n requiredValue2: undefined,\n });\n }\n\n public onCancelClick(): void {\n this.instance.cancel();\n }\n\n public onSaveClick(args: SkyProgressIndicatorActionClickArgs): void {\n args.progressHandler.advance();\n this.instance.save();\n }\n\n public updateIndex(changes: SkyProgressIndicatorChange): void {\n this.activeIndex = changes.activeIndex;\n }\n}\n"
|
|
3211
3151
|
},
|
|
3212
3152
|
{
|
|
3213
3153
|
"fileName": "wizard-demo.component.html",
|
|
@@ -3217,12 +3157,12 @@
|
|
|
3217
3157
|
{
|
|
3218
3158
|
"fileName": "wizard-demo.component.ts",
|
|
3219
3159
|
"filePath": "/projects/progress-indicator/documentation/code-examples/wizard/basic/wizard-demo.component.ts",
|
|
3220
|
-
"rawContents": "import { ChangeDetectionStrategy, Component } from '@angular/core';\
|
|
3160
|
+
"rawContents": "import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { SkyModalService } from '@skyux/modals';\n\nimport { WizardDemoModalComponent } from './wizard-demo-modal.component';\n\n@Component({\n selector: 'app-wizard-demo',\n templateUrl: './wizard-demo.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WizardDemoComponent {\n constructor(private modal: SkyModalService) {}\n\n public openWizard(): void {\n this.modal.open(WizardDemoModalComponent);\n }\n}\n"
|
|
3221
3161
|
},
|
|
3222
3162
|
{
|
|
3223
3163
|
"fileName": "wizard-demo.module.ts",
|
|
3224
3164
|
"filePath": "/projects/progress-indicator/documentation/code-examples/wizard/basic/wizard-demo.module.ts",
|
|
3225
|
-
"rawContents": "import { CommonModule } from '@angular/common';\
|
|
3165
|
+
"rawContents": "import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { SkyCheckboxModule } from '@skyux/forms';\nimport { SkyModalModule } from '@skyux/modals';\nimport { SkyProgressIndicatorModule } from '@skyux/progress-indicator';\n\nimport { WizardDemoModalComponent } from './wizard-demo-modal.component';\nimport { WizardDemoComponent } from './wizard-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ReactiveFormsModule,\n SkyCheckboxModule,\n SkyModalModule,\n SkyProgressIndicatorModule,\n ],\n exports: [WizardDemoComponent],\n declarations: [WizardDemoComponent, WizardDemoModalComponent],\n entryComponents: [WizardDemoModalComponent],\n})\nexport class SkyProgressIndicatorPassiveDemoModule {}\n"
|
|
3226
3166
|
}
|
|
3227
3167
|
]
|
|
3228
3168
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, Optional, Output, } from '@angular/core';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
import { distinctUntilChanged, takeUntil } from 'rxjs/operators';
|
|
4
|
+
import { SkyProgressIndicatorComponent } from '../progress-indicator.component';
|
|
4
5
|
import { SkyProgressIndicatorActionClickProgressHandler } from '../types/progress-indicator-action-click-progress-handler';
|
|
5
6
|
import { SkyProgressIndicatorMessageType } from '../types/progress-indicator-message-type';
|
|
6
|
-
import { SkyProgressIndicatorComponent } from '../progress-indicator.component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
import * as i1 from "../progress-indicator.component";
|
|
9
9
|
import * as i2 from "@angular/common";
|