@skyux/modals 5.5.0-beta.0 → 5.6.1
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-modals.umd.js +24 -25
- package/documentation.json +65 -65
- package/esm2015/lib/modules/confirm/confirm-config.js.map +1 -1
- package/esm2015/lib/modules/confirm/confirm-modal-context.js.map +1 -1
- package/esm2015/lib/modules/confirm/confirm.component.js +1 -1
- package/esm2015/lib/modules/confirm/confirm.component.js.map +1 -1
- package/esm2015/lib/modules/confirm/confirm.module.js +1 -1
- package/esm2015/lib/modules/confirm/confirm.module.js.map +1 -1
- package/esm2015/lib/modules/confirm/confirm.service.js +1 -1
- package/esm2015/lib/modules/confirm/confirm.service.js.map +1 -1
- package/esm2015/lib/modules/modal/modal-adapter.service.js.map +1 -1
- package/esm2015/lib/modules/modal/modal-component-adapter.service.js +11 -11
- package/esm2015/lib/modules/modal/modal-component-adapter.service.js.map +1 -1
- package/esm2015/lib/modules/modal/modal-configuration.js +0 -1
- package/esm2015/lib/modules/modal/modal-configuration.js.map +1 -1
- package/esm2015/lib/modules/modal/modal-host.component.js +3 -3
- package/esm2015/lib/modules/modal/modal-host.component.js.map +1 -1
- package/esm2015/lib/modules/modal/modal-host.service.js +1 -1
- package/esm2015/lib/modules/modal/modal-host.service.js.map +1 -1
- package/esm2015/lib/modules/modal/modal-instance.js +1 -1
- package/esm2015/lib/modules/modal/modal-instance.js.map +1 -1
- package/esm2015/lib/modules/modal/modal-scroll-shadow.directive.js +3 -3
- package/esm2015/lib/modules/modal/modal-scroll-shadow.directive.js.map +1 -1
- package/esm2015/lib/modules/modal/modal.component.js +6 -6
- package/esm2015/lib/modules/modal/modal.component.js.map +1 -1
- package/esm2015/lib/modules/modal/modal.module.js +1 -1
- package/esm2015/lib/modules/modal/modal.module.js.map +1 -1
- package/esm2015/lib/modules/modal/modal.service.js +4 -4
- package/esm2015/lib/modules/modal/modal.service.js.map +1 -1
- package/esm2015/lib/modules/shared/sky-modals-resources.module.js +1 -1
- package/esm2015/lib/modules/shared/sky-modals-resources.module.js.map +1 -1
- package/fesm2015/skyux-modals.js +41 -42
- package/fesm2015/skyux-modals.js.map +1 -1
- package/lib/modules/confirm/confirm-config.d.ts +1 -1
- package/lib/modules/modal/modal-instance.d.ts +1 -1
- package/lib/modules/modal/modal-scroll-shadow.directive.d.ts +1 -1
- package/lib/modules/modal/modal.component.d.ts +2 -2
- package/package.json +14 -13
|
@@ -233,6 +233,24 @@
|
|
|
233
233
|
type: i0.Injectable
|
|
234
234
|
}], ctorParameters: function () { return [{ type: i3__namespace.SkyAppWindowRef }]; } });
|
|
235
235
|
|
|
236
|
+
/**
|
|
237
|
+
* @internal
|
|
238
|
+
*/
|
|
239
|
+
var SkyModalConfiguration = /** @class */ (function () {
|
|
240
|
+
function SkyModalConfiguration() {
|
|
241
|
+
this.size = 'medium';
|
|
242
|
+
}
|
|
243
|
+
return SkyModalConfiguration;
|
|
244
|
+
}());
|
|
245
|
+
SkyModalConfiguration.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyModalConfiguration, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
246
|
+
SkyModalConfiguration.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyModalConfiguration, providedIn: 'any' });
|
|
247
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyModalConfiguration, decorators: [{
|
|
248
|
+
type: i0.Injectable,
|
|
249
|
+
args: [{
|
|
250
|
+
providedIn: 'any',
|
|
251
|
+
}]
|
|
252
|
+
}], ctorParameters: function () { return []; } });
|
|
253
|
+
|
|
236
254
|
/**
|
|
237
255
|
* @internal
|
|
238
256
|
* @dynamic
|
|
@@ -307,25 +325,6 @@
|
|
|
307
325
|
}]
|
|
308
326
|
}], ctorParameters: function () { return []; } });
|
|
309
327
|
|
|
310
|
-
/**
|
|
311
|
-
* @internal
|
|
312
|
-
*/
|
|
313
|
-
var SkyModalConfiguration = /** @class */ (function () {
|
|
314
|
-
function SkyModalConfiguration() {
|
|
315
|
-
this.fullPage = this.fullPage;
|
|
316
|
-
this.size = 'medium';
|
|
317
|
-
}
|
|
318
|
-
return SkyModalConfiguration;
|
|
319
|
-
}());
|
|
320
|
-
SkyModalConfiguration.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyModalConfiguration, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
321
|
-
SkyModalConfiguration.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyModalConfiguration, providedIn: 'any' });
|
|
322
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyModalConfiguration, decorators: [{
|
|
323
|
-
type: i0.Injectable,
|
|
324
|
-
args: [{
|
|
325
|
-
providedIn: 'any',
|
|
326
|
-
}]
|
|
327
|
-
}], ctorParameters: function () { return []; } });
|
|
328
|
-
|
|
329
328
|
/**
|
|
330
329
|
* @internal
|
|
331
330
|
*/
|
|
@@ -922,12 +921,6 @@
|
|
|
922
921
|
}]
|
|
923
922
|
}] });
|
|
924
923
|
|
|
925
|
-
var SkyModalCloseArgs = /** @class */ (function () {
|
|
926
|
-
function SkyModalCloseArgs() {
|
|
927
|
-
}
|
|
928
|
-
return SkyModalCloseArgs;
|
|
929
|
-
}());
|
|
930
|
-
|
|
931
924
|
var SkyModalBeforeCloseHandler = /** @class */ (function () {
|
|
932
925
|
function SkyModalBeforeCloseHandler(closeModal, closeArgs) {
|
|
933
926
|
this.closeModal = closeModal;
|
|
@@ -936,6 +929,12 @@
|
|
|
936
929
|
return SkyModalBeforeCloseHandler;
|
|
937
930
|
}());
|
|
938
931
|
|
|
932
|
+
var SkyModalCloseArgs = /** @class */ (function () {
|
|
933
|
+
function SkyModalCloseArgs() {
|
|
934
|
+
}
|
|
935
|
+
return SkyModalCloseArgs;
|
|
936
|
+
}());
|
|
937
|
+
|
|
939
938
|
// TODO: this class won't show in the generated docs until this work is done:
|
|
940
939
|
// https://github.com/blackbaud/skyux-docs-tools/issues/30
|
|
941
940
|
/**
|
package/documentation.json
CHANGED
|
@@ -270,7 +270,7 @@
|
|
|
270
270
|
"sources": [
|
|
271
271
|
{
|
|
272
272
|
"fileName": "projects/modals/src/modules/confirm/confirm-modal-context.ts",
|
|
273
|
-
"line":
|
|
273
|
+
"line": 8,
|
|
274
274
|
"character": 9
|
|
275
275
|
}
|
|
276
276
|
],
|
|
@@ -298,7 +298,7 @@
|
|
|
298
298
|
"sources": [
|
|
299
299
|
{
|
|
300
300
|
"fileName": "projects/modals/src/modules/confirm/confirm-modal-context.ts",
|
|
301
|
-
"line":
|
|
301
|
+
"line": 9,
|
|
302
302
|
"character": 9
|
|
303
303
|
}
|
|
304
304
|
],
|
|
@@ -330,7 +330,7 @@
|
|
|
330
330
|
"sources": [
|
|
331
331
|
{
|
|
332
332
|
"fileName": "projects/modals/src/modules/confirm/confirm-modal-context.ts",
|
|
333
|
-
"line":
|
|
333
|
+
"line": 7,
|
|
334
334
|
"character": 9
|
|
335
335
|
}
|
|
336
336
|
],
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
"sources": [
|
|
359
359
|
{
|
|
360
360
|
"fileName": "projects/modals/src/modules/confirm/confirm-modal-context.ts",
|
|
361
|
-
"line":
|
|
361
|
+
"line": 10,
|
|
362
362
|
"character": 9
|
|
363
363
|
}
|
|
364
364
|
],
|
|
@@ -386,7 +386,7 @@
|
|
|
386
386
|
"sources": [
|
|
387
387
|
{
|
|
388
388
|
"fileName": "projects/modals/src/modules/confirm/confirm-modal-context.ts",
|
|
389
|
-
"line":
|
|
389
|
+
"line": 11,
|
|
390
390
|
"character": 9
|
|
391
391
|
}
|
|
392
392
|
],
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
"sources": [
|
|
426
426
|
{
|
|
427
427
|
"fileName": "projects/modals/src/modules/confirm/confirm-modal-context.ts",
|
|
428
|
-
"line":
|
|
428
|
+
"line": 6,
|
|
429
429
|
"character": 13
|
|
430
430
|
}
|
|
431
431
|
],
|
|
@@ -492,7 +492,7 @@
|
|
|
492
492
|
"sources": [
|
|
493
493
|
{
|
|
494
494
|
"fileName": "projects/modals/src/modules/confirm/confirm.module.ts",
|
|
495
|
-
"line":
|
|
495
|
+
"line": 21,
|
|
496
496
|
"character": 13
|
|
497
497
|
}
|
|
498
498
|
]
|
|
@@ -530,7 +530,7 @@
|
|
|
530
530
|
"sources": [
|
|
531
531
|
{
|
|
532
532
|
"fileName": "projects/modals/src/modules/confirm/confirm.service.ts",
|
|
533
|
-
"line":
|
|
533
|
+
"line": 24,
|
|
534
534
|
"character": 2
|
|
535
535
|
}
|
|
536
536
|
],
|
|
@@ -574,7 +574,7 @@
|
|
|
574
574
|
"sources": [
|
|
575
575
|
{
|
|
576
576
|
"fileName": "projects/modals/src/modules/confirm/confirm.service.ts",
|
|
577
|
-
"line":
|
|
577
|
+
"line": 30,
|
|
578
578
|
"character": 9
|
|
579
579
|
}
|
|
580
580
|
],
|
|
@@ -630,7 +630,7 @@
|
|
|
630
630
|
"sources": [
|
|
631
631
|
{
|
|
632
632
|
"fileName": "projects/modals/src/modules/confirm/confirm.service.ts",
|
|
633
|
-
"line":
|
|
633
|
+
"line": 23,
|
|
634
634
|
"character": 13
|
|
635
635
|
}
|
|
636
636
|
]
|
|
@@ -900,7 +900,7 @@
|
|
|
900
900
|
"sources": [
|
|
901
901
|
{
|
|
902
902
|
"fileName": "projects/modals/src/modules/modal/modal-instance.ts",
|
|
903
|
-
"line":
|
|
903
|
+
"line": 47,
|
|
904
904
|
"character": 9
|
|
905
905
|
}
|
|
906
906
|
],
|
|
@@ -920,7 +920,7 @@
|
|
|
920
920
|
"sources": [
|
|
921
921
|
{
|
|
922
922
|
"fileName": "projects/modals/src/modules/modal/modal-instance.ts",
|
|
923
|
-
"line":
|
|
923
|
+
"line": 19,
|
|
924
924
|
"character": 13
|
|
925
925
|
}
|
|
926
926
|
],
|
|
@@ -961,7 +961,7 @@
|
|
|
961
961
|
"sources": [
|
|
962
962
|
{
|
|
963
963
|
"fileName": "projects/modals/src/modules/modal/modal-instance.ts",
|
|
964
|
-
"line":
|
|
964
|
+
"line": 31,
|
|
965
965
|
"character": 13
|
|
966
966
|
}
|
|
967
967
|
],
|
|
@@ -1002,7 +1002,7 @@
|
|
|
1002
1002
|
"sources": [
|
|
1003
1003
|
{
|
|
1004
1004
|
"fileName": "projects/modals/src/modules/modal/modal-instance.ts",
|
|
1005
|
-
"line":
|
|
1005
|
+
"line": 40,
|
|
1006
1006
|
"character": 13
|
|
1007
1007
|
}
|
|
1008
1008
|
],
|
|
@@ -1042,7 +1042,7 @@
|
|
|
1042
1042
|
"sources": [
|
|
1043
1043
|
{
|
|
1044
1044
|
"fileName": "projects/modals/src/modules/modal/modal-instance.ts",
|
|
1045
|
-
"line":
|
|
1045
|
+
"line": 81,
|
|
1046
1046
|
"character": 9
|
|
1047
1047
|
}
|
|
1048
1048
|
],
|
|
@@ -1092,7 +1092,7 @@
|
|
|
1092
1092
|
"sources": [
|
|
1093
1093
|
{
|
|
1094
1094
|
"fileName": "projects/modals/src/modules/modal/modal-instance.ts",
|
|
1095
|
-
"line":
|
|
1095
|
+
"line": 63,
|
|
1096
1096
|
"character": 9
|
|
1097
1097
|
}
|
|
1098
1098
|
],
|
|
@@ -1174,7 +1174,7 @@
|
|
|
1174
1174
|
"sources": [
|
|
1175
1175
|
{
|
|
1176
1176
|
"fileName": "projects/modals/src/modules/modal/modal-instance.ts",
|
|
1177
|
-
"line":
|
|
1177
|
+
"line": 102,
|
|
1178
1178
|
"character": 9
|
|
1179
1179
|
}
|
|
1180
1180
|
],
|
|
@@ -1224,7 +1224,7 @@
|
|
|
1224
1224
|
"sources": [
|
|
1225
1225
|
{
|
|
1226
1226
|
"fileName": "projects/modals/src/modules/modal/modal-instance.ts",
|
|
1227
|
-
"line":
|
|
1227
|
+
"line": 91,
|
|
1228
1228
|
"character": 9
|
|
1229
1229
|
}
|
|
1230
1230
|
],
|
|
@@ -1302,7 +1302,7 @@
|
|
|
1302
1302
|
"sources": [
|
|
1303
1303
|
{
|
|
1304
1304
|
"fileName": "projects/modals/src/modules/modal/modal-instance.ts",
|
|
1305
|
-
"line":
|
|
1305
|
+
"line": 12,
|
|
1306
1306
|
"character": 13
|
|
1307
1307
|
}
|
|
1308
1308
|
]
|
|
@@ -1362,7 +1362,7 @@
|
|
|
1362
1362
|
"sources": [
|
|
1363
1363
|
{
|
|
1364
1364
|
"fileName": "projects/modals/src/modules/modal/modal.module.ts",
|
|
1365
|
-
"line":
|
|
1365
|
+
"line": 40,
|
|
1366
1366
|
"character": 13
|
|
1367
1367
|
}
|
|
1368
1368
|
]
|
|
@@ -1406,7 +1406,7 @@
|
|
|
1406
1406
|
"sources": [
|
|
1407
1407
|
{
|
|
1408
1408
|
"fileName": "projects/modals/src/modules/modal/modal.service.ts",
|
|
1409
|
-
"line":
|
|
1409
|
+
"line": 24,
|
|
1410
1410
|
"character": 2
|
|
1411
1411
|
}
|
|
1412
1412
|
],
|
|
@@ -1451,7 +1451,7 @@
|
|
|
1451
1451
|
"sources": [
|
|
1452
1452
|
{
|
|
1453
1453
|
"fileName": "projects/modals/src/modules/modal/modal.service.ts",
|
|
1454
|
-
"line":
|
|
1454
|
+
"line": 42,
|
|
1455
1455
|
"character": 9
|
|
1456
1456
|
}
|
|
1457
1457
|
],
|
|
@@ -1538,7 +1538,7 @@
|
|
|
1538
1538
|
"sources": [
|
|
1539
1539
|
{
|
|
1540
1540
|
"fileName": "projects/modals/src/modules/modal/modal.service.ts",
|
|
1541
|
-
"line":
|
|
1541
|
+
"line": 19,
|
|
1542
1542
|
"character": 13
|
|
1543
1543
|
}
|
|
1544
1544
|
]
|
|
@@ -1573,7 +1573,7 @@
|
|
|
1573
1573
|
"sources": [
|
|
1574
1574
|
{
|
|
1575
1575
|
"fileName": "projects/modals/src/modules/confirm/confirm.component.ts",
|
|
1576
|
-
"line":
|
|
1576
|
+
"line": 25,
|
|
1577
1577
|
"character": 2
|
|
1578
1578
|
}
|
|
1579
1579
|
],
|
|
@@ -1652,7 +1652,7 @@
|
|
|
1652
1652
|
"sources": [
|
|
1653
1653
|
{
|
|
1654
1654
|
"fileName": "projects/modals/src/modules/confirm/confirm.component.ts",
|
|
1655
|
-
"line":
|
|
1655
|
+
"line": 22,
|
|
1656
1656
|
"character": 9
|
|
1657
1657
|
}
|
|
1658
1658
|
],
|
|
@@ -1672,7 +1672,7 @@
|
|
|
1672
1672
|
"sources": [
|
|
1673
1673
|
{
|
|
1674
1674
|
"fileName": "projects/modals/src/modules/confirm/confirm.component.ts",
|
|
1675
|
-
"line":
|
|
1675
|
+
"line": 20,
|
|
1676
1676
|
"character": 9
|
|
1677
1677
|
}
|
|
1678
1678
|
],
|
|
@@ -1696,7 +1696,7 @@
|
|
|
1696
1696
|
"sources": [
|
|
1697
1697
|
{
|
|
1698
1698
|
"fileName": "projects/modals/src/modules/confirm/confirm.component.ts",
|
|
1699
|
-
"line":
|
|
1699
|
+
"line": 21,
|
|
1700
1700
|
"character": 9
|
|
1701
1701
|
}
|
|
1702
1702
|
],
|
|
@@ -1716,7 +1716,7 @@
|
|
|
1716
1716
|
"sources": [
|
|
1717
1717
|
{
|
|
1718
1718
|
"fileName": "projects/modals/src/modules/confirm/confirm.component.ts",
|
|
1719
|
-
"line":
|
|
1719
|
+
"line": 23,
|
|
1720
1720
|
"character": 9
|
|
1721
1721
|
}
|
|
1722
1722
|
],
|
|
@@ -1737,7 +1737,7 @@
|
|
|
1737
1737
|
"sources": [
|
|
1738
1738
|
{
|
|
1739
1739
|
"fileName": "projects/modals/src/modules/confirm/confirm.component.ts",
|
|
1740
|
-
"line":
|
|
1740
|
+
"line": 48,
|
|
1741
1741
|
"character": 9
|
|
1742
1742
|
}
|
|
1743
1743
|
],
|
|
@@ -1780,7 +1780,7 @@
|
|
|
1780
1780
|
"sources": [
|
|
1781
1781
|
{
|
|
1782
1782
|
"fileName": "projects/modals/src/modules/confirm/confirm.component.ts",
|
|
1783
|
-
"line":
|
|
1783
|
+
"line": 31,
|
|
1784
1784
|
"character": 9
|
|
1785
1785
|
}
|
|
1786
1786
|
],
|
|
@@ -1837,7 +1837,7 @@
|
|
|
1837
1837
|
"sources": [
|
|
1838
1838
|
{
|
|
1839
1839
|
"fileName": "projects/modals/src/modules/confirm/confirm.component.ts",
|
|
1840
|
-
"line":
|
|
1840
|
+
"line": 19,
|
|
1841
1841
|
"character": 13
|
|
1842
1842
|
}
|
|
1843
1843
|
],
|
|
@@ -2072,7 +2072,7 @@
|
|
|
2072
2072
|
"sources": [
|
|
2073
2073
|
{
|
|
2074
2074
|
"fileName": "projects/modals/src/modules/modal/modal.component.ts",
|
|
2075
|
-
"line":
|
|
2075
|
+
"line": 113,
|
|
2076
2076
|
"character": 2
|
|
2077
2077
|
}
|
|
2078
2078
|
],
|
|
@@ -2201,7 +2201,7 @@
|
|
|
2201
2201
|
"sources": [
|
|
2202
2202
|
{
|
|
2203
2203
|
"fileName": "projects/modals/src/modules/modal/modal.component.ts",
|
|
2204
|
-
"line":
|
|
2204
|
+
"line": 102,
|
|
2205
2205
|
"character": 9
|
|
2206
2206
|
}
|
|
2207
2207
|
],
|
|
@@ -2222,7 +2222,7 @@
|
|
|
2222
2222
|
"sources": [
|
|
2223
2223
|
{
|
|
2224
2224
|
"fileName": "projects/modals/src/modules/modal/modal.component.ts",
|
|
2225
|
-
"line":
|
|
2225
|
+
"line": 105,
|
|
2226
2226
|
"character": 9
|
|
2227
2227
|
}
|
|
2228
2228
|
],
|
|
@@ -2243,7 +2243,7 @@
|
|
|
2243
2243
|
"sources": [
|
|
2244
2244
|
{
|
|
2245
2245
|
"fileName": "projects/modals/src/modules/modal/modal.component.ts",
|
|
2246
|
-
"line":
|
|
2246
|
+
"line": 100,
|
|
2247
2247
|
"character": 9
|
|
2248
2248
|
}
|
|
2249
2249
|
],
|
|
@@ -2264,7 +2264,7 @@
|
|
|
2264
2264
|
"sources": [
|
|
2265
2265
|
{
|
|
2266
2266
|
"fileName": "projects/modals/src/modules/modal/modal.component.ts",
|
|
2267
|
-
"line":
|
|
2267
|
+
"line": 108,
|
|
2268
2268
|
"character": 9
|
|
2269
2269
|
}
|
|
2270
2270
|
],
|
|
@@ -2284,7 +2284,7 @@
|
|
|
2284
2284
|
"sources": [
|
|
2285
2285
|
{
|
|
2286
2286
|
"fileName": "projects/modals/src/modules/modal/modal.component.ts",
|
|
2287
|
-
"line":
|
|
2287
|
+
"line": 88,
|
|
2288
2288
|
"character": 13
|
|
2289
2289
|
}
|
|
2290
2290
|
],
|
|
@@ -2313,7 +2313,7 @@
|
|
|
2313
2313
|
"sources": [
|
|
2314
2314
|
{
|
|
2315
2315
|
"fileName": "projects/modals/src/modules/modal/modal.component.ts",
|
|
2316
|
-
"line":
|
|
2316
|
+
"line": 92,
|
|
2317
2317
|
"character": 13
|
|
2318
2318
|
}
|
|
2319
2319
|
],
|
|
@@ -2342,7 +2342,7 @@
|
|
|
2342
2342
|
"sources": [
|
|
2343
2343
|
{
|
|
2344
2344
|
"fileName": "projects/modals/src/modules/modal/modal.component.ts",
|
|
2345
|
-
"line":
|
|
2345
|
+
"line": 96,
|
|
2346
2346
|
"character": 13
|
|
2347
2347
|
}
|
|
2348
2348
|
],
|
|
@@ -2371,7 +2371,7 @@
|
|
|
2371
2371
|
"sources": [
|
|
2372
2372
|
{
|
|
2373
2373
|
"fileName": "projects/modals/src/modules/modal/modal.component.ts",
|
|
2374
|
-
"line":
|
|
2374
|
+
"line": 80,
|
|
2375
2375
|
"character": 13
|
|
2376
2376
|
}
|
|
2377
2377
|
],
|
|
@@ -2400,7 +2400,7 @@
|
|
|
2400
2400
|
"sources": [
|
|
2401
2401
|
{
|
|
2402
2402
|
"fileName": "projects/modals/src/modules/modal/modal.component.ts",
|
|
2403
|
-
"line":
|
|
2403
|
+
"line": 76,
|
|
2404
2404
|
"character": 13
|
|
2405
2405
|
}
|
|
2406
2406
|
],
|
|
@@ -2429,7 +2429,7 @@
|
|
|
2429
2429
|
"sources": [
|
|
2430
2430
|
{
|
|
2431
2431
|
"fileName": "projects/modals/src/modules/modal/modal.component.ts",
|
|
2432
|
-
"line":
|
|
2432
|
+
"line": 72,
|
|
2433
2433
|
"character": 13
|
|
2434
2434
|
}
|
|
2435
2435
|
],
|
|
@@ -2458,7 +2458,7 @@
|
|
|
2458
2458
|
"sources": [
|
|
2459
2459
|
{
|
|
2460
2460
|
"fileName": "projects/modals/src/modules/modal/modal.component.ts",
|
|
2461
|
-
"line":
|
|
2461
|
+
"line": 84,
|
|
2462
2462
|
"character": 13
|
|
2463
2463
|
}
|
|
2464
2464
|
],
|
|
@@ -2487,7 +2487,7 @@
|
|
|
2487
2487
|
"sources": [
|
|
2488
2488
|
{
|
|
2489
2489
|
"fileName": "projects/modals/src/modules/modal/modal.component.ts",
|
|
2490
|
-
"line":
|
|
2490
|
+
"line": 68,
|
|
2491
2491
|
"character": 13
|
|
2492
2492
|
}
|
|
2493
2493
|
],
|
|
@@ -2516,7 +2516,7 @@
|
|
|
2516
2516
|
"sources": [
|
|
2517
2517
|
{
|
|
2518
2518
|
"fileName": "projects/modals/src/modules/modal/modal.component.ts",
|
|
2519
|
-
"line":
|
|
2519
|
+
"line": 64,
|
|
2520
2520
|
"character": 13
|
|
2521
2521
|
}
|
|
2522
2522
|
],
|
|
@@ -2559,7 +2559,7 @@
|
|
|
2559
2559
|
"sources": [
|
|
2560
2560
|
{
|
|
2561
2561
|
"fileName": "projects/modals/src/modules/modal/modal.component.ts",
|
|
2562
|
-
"line":
|
|
2562
|
+
"line": 41,
|
|
2563
2563
|
"character": 13
|
|
2564
2564
|
}
|
|
2565
2565
|
],
|
|
@@ -2588,7 +2588,7 @@
|
|
|
2588
2588
|
"sources": [
|
|
2589
2589
|
{
|
|
2590
2590
|
"fileName": "projects/modals/src/modules/modal/modal.component.ts",
|
|
2591
|
-
"line":
|
|
2591
|
+
"line": 202,
|
|
2592
2592
|
"character": 9
|
|
2593
2593
|
}
|
|
2594
2594
|
],
|
|
@@ -2617,7 +2617,7 @@
|
|
|
2617
2617
|
"sources": [
|
|
2618
2618
|
{
|
|
2619
2619
|
"fileName": "projects/modals/src/modules/modal/modal.component.ts",
|
|
2620
|
-
"line":
|
|
2620
|
+
"line": 198,
|
|
2621
2621
|
"character": 9
|
|
2622
2622
|
}
|
|
2623
2623
|
],
|
|
@@ -2646,7 +2646,7 @@
|
|
|
2646
2646
|
"sources": [
|
|
2647
2647
|
{
|
|
2648
2648
|
"fileName": "projects/modals/src/modules/modal/modal.component.ts",
|
|
2649
|
-
"line":
|
|
2649
|
+
"line": 181,
|
|
2650
2650
|
"character": 9
|
|
2651
2651
|
}
|
|
2652
2652
|
],
|
|
@@ -2698,7 +2698,7 @@
|
|
|
2698
2698
|
"sources": [
|
|
2699
2699
|
{
|
|
2700
2700
|
"fileName": "projects/modals/src/modules/modal/modal.component.ts",
|
|
2701
|
-
"line":
|
|
2701
|
+
"line": 140,
|
|
2702
2702
|
"character": 9
|
|
2703
2703
|
}
|
|
2704
2704
|
],
|
|
@@ -2757,7 +2757,7 @@
|
|
|
2757
2757
|
"sources": [
|
|
2758
2758
|
{
|
|
2759
2759
|
"fileName": "projects/modals/src/modules/modal/modal.component.ts",
|
|
2760
|
-
"line":
|
|
2760
|
+
"line": 124,
|
|
2761
2761
|
"character": 9
|
|
2762
2762
|
}
|
|
2763
2763
|
],
|
|
@@ -2801,7 +2801,7 @@
|
|
|
2801
2801
|
"sources": [
|
|
2802
2802
|
{
|
|
2803
2803
|
"fileName": "projects/modals/src/modules/modal/modal.component.ts",
|
|
2804
|
-
"line":
|
|
2804
|
+
"line": 210,
|
|
2805
2805
|
"character": 9
|
|
2806
2806
|
}
|
|
2807
2807
|
],
|
|
@@ -2843,7 +2843,7 @@
|
|
|
2843
2843
|
"sources": [
|
|
2844
2844
|
{
|
|
2845
2845
|
"fileName": "projects/modals/src/modules/modal/modal.component.ts",
|
|
2846
|
-
"line":
|
|
2846
|
+
"line": 206,
|
|
2847
2847
|
"character": 9
|
|
2848
2848
|
}
|
|
2849
2849
|
],
|
|
@@ -2913,7 +2913,7 @@
|
|
|
2913
2913
|
"sources": [
|
|
2914
2914
|
{
|
|
2915
2915
|
"fileName": "projects/modals/src/modules/modal/modal.component.ts",
|
|
2916
|
-
"line":
|
|
2916
|
+
"line": 39,
|
|
2917
2917
|
"character": 13
|
|
2918
2918
|
}
|
|
2919
2919
|
],
|
|
@@ -3212,7 +3212,7 @@
|
|
|
3212
3212
|
"sources": [
|
|
3213
3213
|
{
|
|
3214
3214
|
"fileName": "projects/modals/src/modules/confirm/confirm-config.ts",
|
|
3215
|
-
"line":
|
|
3215
|
+
"line": 13,
|
|
3216
3216
|
"character": 2
|
|
3217
3217
|
}
|
|
3218
3218
|
],
|
|
@@ -3235,7 +3235,7 @@
|
|
|
3235
3235
|
"sources": [
|
|
3236
3236
|
{
|
|
3237
3237
|
"fileName": "projects/modals/src/modules/confirm/confirm-config.ts",
|
|
3238
|
-
"line":
|
|
3238
|
+
"line": 19,
|
|
3239
3239
|
"character": 2
|
|
3240
3240
|
}
|
|
3241
3241
|
],
|
|
@@ -3266,7 +3266,7 @@
|
|
|
3266
3266
|
"sources": [
|
|
3267
3267
|
{
|
|
3268
3268
|
"fileName": "projects/modals/src/modules/confirm/confirm-config.ts",
|
|
3269
|
-
"line":
|
|
3269
|
+
"line": 9,
|
|
3270
3270
|
"character": 2
|
|
3271
3271
|
}
|
|
3272
3272
|
],
|
|
@@ -3295,7 +3295,7 @@
|
|
|
3295
3295
|
"sources": [
|
|
3296
3296
|
{
|
|
3297
3297
|
"fileName": "projects/modals/src/modules/confirm/confirm-config.ts",
|
|
3298
|
-
"line":
|
|
3298
|
+
"line": 24,
|
|
3299
3299
|
"character": 2
|
|
3300
3300
|
}
|
|
3301
3301
|
],
|
|
@@ -3318,7 +3318,7 @@
|
|
|
3318
3318
|
"sources": [
|
|
3319
3319
|
{
|
|
3320
3320
|
"fileName": "projects/modals/src/modules/confirm/confirm-config.ts",
|
|
3321
|
-
"line":
|
|
3321
|
+
"line": 28,
|
|
3322
3322
|
"character": 2
|
|
3323
3323
|
}
|
|
3324
3324
|
],
|
|
@@ -3345,7 +3345,7 @@
|
|
|
3345
3345
|
"sources": [
|
|
3346
3346
|
{
|
|
3347
3347
|
"fileName": "projects/modals/src/modules/confirm/confirm-config.ts",
|
|
3348
|
-
"line":
|
|
3348
|
+
"line": 4,
|
|
3349
3349
|
"character": 17
|
|
3350
3350
|
}
|
|
3351
3351
|
],
|
|
@@ -3709,12 +3709,12 @@
|
|
|
3709
3709
|
{
|
|
3710
3710
|
"fileName": "confirm-demo.component.ts",
|
|
3711
3711
|
"filePath": "/projects/modals/documentation/code-examples/confirm/confirm-demo.component.ts",
|
|
3712
|
-
"rawContents": "import { Component } from '@angular/core';\
|
|
3712
|
+
"rawContents": "import { Component } from '@angular/core';\nimport {\n SkyConfirmButtonAction,\n SkyConfirmInstance,\n SkyConfirmService,\n SkyConfirmType,\n} from '@skyux/modals';\n\n@Component({\n selector: 'app-confirm-demo',\n templateUrl: './confirm-demo.component.html',\n})\nexport class ConfirmDemoComponent {\n public selectedAction: SkyConfirmButtonAction;\n\n public selectedText: string;\n\n constructor(private confirmService: SkyConfirmService) {}\n\n public openOKConfirm() {\n const dialog: SkyConfirmInstance = this.confirmService.open({\n message:\n 'Use the OK button type for information that does not require user action.',\n type: SkyConfirmType.OK,\n });\n\n dialog.closed.subscribe((result: any) => {\n this.selectedText = undefined;\n this.selectedAction = result.action;\n });\n }\n\n public openCustomConfirm() {\n const buttons = [\n { text: 'Save', action: 'save', styleType: 'primary' },\n { text: 'Delete', action: 'delete' },\n { text: 'Cancel', action: 'cancel', autofocus: true, styleType: 'link' },\n ];\n\n const dialog: SkyConfirmInstance = this.confirmService.open({\n message: 'Use the Custom button type to define your own buttons.',\n body: 'Labels should clearly indicate the action occurs when users select the button.',\n type: SkyConfirmType.Custom,\n buttons,\n });\n\n dialog.closed.subscribe((result: any) => {\n this.selectedAction = result.action;\n\n buttons.some((button: any) => {\n if (button.action === result.action) {\n this.selectedText = button.text;\n return true;\n }\n });\n });\n }\n}\n"
|
|
3713
3713
|
},
|
|
3714
3714
|
{
|
|
3715
3715
|
"fileName": "confirm-demo.module.ts",
|
|
3716
3716
|
"filePath": "/projects/modals/documentation/code-examples/confirm/confirm-demo.module.ts",
|
|
3717
|
-
"rawContents": "import {
|
|
3717
|
+
"rawContents": "import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { SkyConfirmModule } from '@skyux/modals';\n\nimport { ConfirmDemoComponent } from './confirm-demo.component';\n\n@NgModule({\n imports: [CommonModule, FormsModule, SkyConfirmModule],\n declarations: [ConfirmDemoComponent],\n exports: [ConfirmDemoComponent],\n})\nexport class ConfirmDemoModule {}\n"
|
|
3718
3718
|
},
|
|
3719
3719
|
{
|
|
3720
3720
|
"fileName": "modal-demo-modal.component.html",
|
|
@@ -3724,7 +3724,7 @@
|
|
|
3724
3724
|
{
|
|
3725
3725
|
"fileName": "modal-demo-modal.component.ts",
|
|
3726
3726
|
"filePath": "/projects/modals/documentation/code-examples/modal/modal-demo-modal.component.ts",
|
|
3727
|
-
"rawContents": "import { Component } from '@angular/core';\
|
|
3727
|
+
"rawContents": "import { Component } from '@angular/core';\nimport { SkyModalInstance } from '@skyux/modals';\n\n@Component({\n selector: 'app-modal-demo-modal',\n templateUrl: './modal-demo-modal.component.html',\n})\nexport class ModalDemoModalComponent {\n constructor(public instance: SkyModalInstance) {}\n}\n"
|
|
3728
3728
|
},
|
|
3729
3729
|
{
|
|
3730
3730
|
"fileName": "modal-demo.component.html",
|
|
@@ -3734,12 +3734,12 @@
|
|
|
3734
3734
|
{
|
|
3735
3735
|
"fileName": "modal-demo.component.ts",
|
|
3736
3736
|
"filePath": "/projects/modals/documentation/code-examples/modal/modal-demo.component.ts",
|
|
3737
|
-
"rawContents": "import { Component } from '@angular/core';\
|
|
3737
|
+
"rawContents": "import { Component } from '@angular/core';\nimport { SkyModalService } from '@skyux/modals';\n\nimport { ModalDemoModalComponent } from './modal-demo-modal.component';\n\n@Component({\n selector: 'app-modal-demo',\n templateUrl: './modal-demo.component.html',\n})\nexport class ModalDemoComponent {\n public helpKey = 'help-demo.html';\n\n public modalSize = 'medium';\n\n constructor(private modal: SkyModalService) {}\n\n public onOpenModalClick(): void {\n const modalInstanceType: any = ModalDemoModalComponent;\n const options: any = {\n helpKey: this.helpKey,\n size: this.modalSize,\n };\n\n this.modal.open(modalInstanceType, options);\n }\n}\n"
|
|
3738
3738
|
},
|
|
3739
3739
|
{
|
|
3740
3740
|
"fileName": "modal-demo.module.ts",
|
|
3741
3741
|
"filePath": "/projects/modals/documentation/code-examples/modal/modal-demo.module.ts",
|
|
3742
|
-
"rawContents": "import {
|
|
3742
|
+
"rawContents": "import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { SkyIdModule } from '@skyux/core';\nimport { SkyInputBoxModule } from '@skyux/forms';\nimport { SkyModalModule } from '@skyux/modals';\n\nimport { ModalDemoModalComponent } from './modal-demo-modal.component';\nimport { ModalDemoComponent } from './modal-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n SkyIdModule,\n SkyInputBoxModule,\n SkyModalModule,\n ],\n declarations: [ModalDemoComponent, ModalDemoModalComponent],\n exports: [ModalDemoComponent],\n entryComponents: [ModalDemoModalComponent],\n})\nexport class ModalDemoModule {}\n"
|
|
3743
3743
|
}
|
|
3744
3744
|
]
|
|
3745
3745
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confirm-config.js","sourceRoot":"","sources":["../../../../../../../../libs/components/modals/src/lib/modules/confirm/confirm-config.ts"],"names":[],"mappings":"","sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"confirm-config.js","sourceRoot":"","sources":["../../../../../../../../libs/components/modals/src/lib/modules/confirm/confirm-config.ts"],"names":[],"mappings":"","sourcesContent":["import { SkyConfirmButtonConfig } from './confirm-button-config';\nimport { SkyConfirmType } from './confirm-type';\n\nexport interface SkyConfirmConfig {\n /**\n * Specifies the message to display in bold at the top of the dialog.\n * @required\n */\n message: string;\n /**\n * Specifies secondary text to display under the primary message.\n */\n body?: string;\n /**\n * Specifies an array of `SkyConfirmButtonConfig` objects that overwrite the default\n * configuration for buttons. The number of items in the array must match the number of\n * buttons that the `type` property specifies.\n */\n buttons?: SkyConfirmButtonConfig[];\n /**\n * Indicates whether to preserve whitespace and new lines inside the confirm component.\n * @default false\n */\n preserveWhiteSpace?: boolean;\n /**\n * Specifies a SkyConfirmType enum that indicates how many buttons to include in the dialog.\n */\n type?: SkyConfirmType;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confirm-modal-context.js","sourceRoot":"","sources":["../../../../../../../../libs/components/modals/src/lib/modules/confirm/confirm-modal-context.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"confirm-modal-context.js","sourceRoot":"","sources":["../../../../../../../../libs/components/modals/src/lib/modules/confirm/confirm-modal-context.ts"],"names":[],"mappings":"AAIA,0BAA0B;AAC1B,MAAM,OAAO,sBAAsB;CAMlC","sourcesContent":["import { SkyConfirmButtonConfig } from './confirm-button-config';\nimport { SkyConfirmConfig } from './confirm-config';\nimport { SkyConfirmType } from './confirm-type';\n\n/* istanbul ignore next */\nexport class SkyConfirmModalContext implements SkyConfirmConfig {\n public message: string;\n public body: string;\n public buttons: SkyConfirmButtonConfig[];\n public preserveWhiteSpace: boolean;\n public type: SkyConfirmType;\n}\n"]}
|
|
@@ -2,8 +2,8 @@ import { Component, Optional } from '@angular/core';
|
|
|
2
2
|
import { SkyLibResourcesService } from '@skyux/i18n';
|
|
3
3
|
import { BehaviorSubject, zip as observableZip } from 'rxjs';
|
|
4
4
|
import { SkyModalInstance } from '../modal/modal-instance';
|
|
5
|
-
import { SkyConfirmType } from './confirm-type';
|
|
6
5
|
import { SkyConfirmModalContext } from './confirm-modal-context';
|
|
6
|
+
import { SkyConfirmType } from './confirm-type';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
import * as i1 from "./confirm-modal-context";
|
|
9
9
|
import * as i2 from "../modal/modal-instance";
|