@skyux/modals 6.0.0-beta.0 → 6.0.0-beta.11

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 (52) hide show
  1. package/documentation.json +375 -632
  2. package/esm2020/index.mjs +2 -2
  3. package/esm2020/lib/modules/confirm/confirm-button-action.mjs +1 -1
  4. package/esm2020/lib/modules/confirm/confirm-button-config.mjs +1 -1
  5. package/esm2020/lib/modules/confirm/confirm-button.mjs +1 -1
  6. package/esm2020/lib/modules/confirm/confirm-closed-event-args.mjs +1 -1
  7. package/esm2020/lib/modules/confirm/confirm-config.mjs +1 -1
  8. package/esm2020/lib/modules/confirm/confirm-instance.mjs +3 -3
  9. package/esm2020/lib/modules/confirm/confirm-modal-context.mjs +4 -2
  10. package/esm2020/lib/modules/confirm/confirm-type.mjs +3 -4
  11. package/esm2020/lib/modules/confirm/confirm.component.mjs +3 -3
  12. package/esm2020/lib/modules/confirm/confirm.module.mjs +4 -4
  13. package/esm2020/lib/modules/confirm/confirm.service.mjs +7 -8
  14. package/esm2020/lib/modules/modal/modal-adapter.service.mjs +3 -3
  15. package/esm2020/lib/modules/modal/modal-before-close-handler.mjs +4 -1
  16. package/esm2020/lib/modules/modal/modal-close-args.mjs +5 -1
  17. package/esm2020/lib/modules/modal/modal-component-adapter.service.mjs +3 -3
  18. package/esm2020/lib/modules/modal/modal-configuration.mjs +3 -3
  19. package/esm2020/lib/modules/modal/modal-content.component.mjs +3 -3
  20. package/esm2020/lib/modules/modal/modal-footer.component.mjs +3 -3
  21. package/esm2020/lib/modules/modal/modal-header.component.mjs +3 -3
  22. package/esm2020/lib/modules/modal/modal-host.component.mjs +3 -3
  23. package/esm2020/lib/modules/modal/modal-host.service.mjs +3 -3
  24. package/esm2020/lib/modules/modal/modal-instance.mjs +5 -10
  25. package/esm2020/lib/modules/modal/modal-scroll-shadow.directive.mjs +10 -10
  26. package/esm2020/lib/modules/modal/modal.component.mjs +38 -10
  27. package/esm2020/lib/modules/modal/modal.interface.mjs +1 -1
  28. package/esm2020/lib/modules/modal/modal.module.mjs +4 -4
  29. package/esm2020/lib/modules/modal/modal.service.mjs +6 -8
  30. package/esm2020/lib/modules/shared/sky-modals-resources.module.mjs +4 -4
  31. package/fesm2015/skyux-modals.mjs +120 -90
  32. package/fesm2015/skyux-modals.mjs.map +1 -1
  33. package/fesm2020/skyux-modals.mjs +120 -90
  34. package/fesm2020/skyux-modals.mjs.map +1 -1
  35. package/index.d.ts +0 -1
  36. package/lib/modules/confirm/confirm-button-action.d.ts +3 -0
  37. package/lib/modules/confirm/confirm-button-config.d.ts +6 -7
  38. package/lib/modules/confirm/confirm-button.d.ts +4 -0
  39. package/lib/modules/confirm/confirm-closed-event-args.d.ts +1 -1
  40. package/lib/modules/confirm/confirm-config.d.ts +3 -5
  41. package/lib/modules/confirm/confirm-instance.d.ts +2 -2
  42. package/lib/modules/confirm/confirm-modal-context.d.ts +3 -0
  43. package/lib/modules/confirm/confirm-type.d.ts +2 -3
  44. package/lib/modules/confirm/confirm.service.d.ts +3 -4
  45. package/lib/modules/modal/modal-before-close-handler.d.ts +3 -0
  46. package/lib/modules/modal/modal-close-args.d.ts +11 -0
  47. package/lib/modules/modal/modal-instance.d.ts +4 -7
  48. package/lib/modules/modal/modal-scroll-shadow.directive.d.ts +3 -3
  49. package/lib/modules/modal/modal.component.d.ts +8 -7
  50. package/lib/modules/modal/modal.interface.d.ts +1 -1
  51. package/lib/modules/modal/modal.service.d.ts +2 -3
  52. package/package.json +24 -21
@@ -2,7 +2,6 @@
2
2
  "anchorIds": {
3
3
  "SkyConfirmType": "enumeration-skyconfirmtype",
4
4
  "SkyConfirmInstance": "class-skyconfirminstance",
5
- "SkyConfirmModalContext": "class-skyconfirmmodalcontext",
6
5
  "SkyConfirmModule": "class-skyconfirmmodule",
7
6
  "SkyConfirmService": "class-skyconfirmservice",
8
7
  "SkyModalBeforeCloseHandler": "class-skymodalbeforeclosehandler",
@@ -15,12 +14,10 @@
15
14
  "SkyModalFooterComponent": "class-skymodalfootercomponent",
16
15
  "SkyModalHeaderComponent": "class-skymodalheadercomponent",
17
16
  "SkyModalComponent": "class-skymodalcomponent",
18
- "SkyConfirmButton": "interface-skyconfirmbutton",
19
17
  "SkyConfirmButtonConfig": "interface-skyconfirmbuttonconfig",
20
18
  "SkyConfirmCloseEventArgs": "interface-skyconfirmcloseeventargs",
21
19
  "SkyConfirmConfig": "interface-skyconfirmconfig",
22
- "SkyModalConfigurationInterface": "interface-skymodalconfigurationinterface",
23
- "SkyConfirmButtonAction": "type-alias-skyconfirmbuttonaction"
20
+ "SkyModalConfigurationInterface": "interface-skymodalconfigurationinterface"
24
21
  },
25
22
  "typedoc": {
26
23
  "id": 0,
@@ -31,50 +28,50 @@
31
28
  "originalName": "",
32
29
  "children": [
33
30
  {
34
- "id": 124,
31
+ "id": 119,
35
32
  "name": "SkyConfirmType",
36
33
  "kind": 8,
37
34
  "kindString": "Enumeration",
38
35
  "flags": {},
39
36
  "children": [
40
37
  {
41
- "id": 125,
38
+ "id": 120,
42
39
  "name": "Custom",
43
40
  "kind": 16,
44
41
  "kindString": "Enumeration member",
45
42
  "flags": {},
46
43
  "comment": {
47
- "shortText": "Allows you to define your own `buttons` using the buttons property to\nspecify an array of `SkyConfirmButtonConfig` objects."
44
+ "shortText": "Allows you to define your own buttons using the `buttons` property of `SkyConfirmConfig`."
48
45
  },
49
46
  "sources": [
50
47
  {
51
48
  "fileName": "projects/modals/src/modules/confirm/confirm-type.ts",
52
- "line": 6,
49
+ "line": 5,
53
50
  "character": 2
54
51
  }
55
52
  ],
56
53
  "defaultValue": "0"
57
54
  },
58
55
  {
59
- "id": 126,
56
+ "id": 121,
60
57
  "name": "OK",
61
58
  "kind": 16,
62
59
  "kindString": "Enumeration member",
63
60
  "flags": {},
64
61
  "comment": {
65
- "shortText": "Displays one button with an **OK** label."
62
+ "shortText": "Displays one button with an **OK** label and an `'ok'` action."
66
63
  },
67
64
  "sources": [
68
65
  {
69
66
  "fileName": "projects/modals/src/modules/confirm/confirm-type.ts",
70
- "line": 10,
67
+ "line": 9,
71
68
  "character": 2
72
69
  }
73
70
  ],
74
71
  "defaultValue": "1"
75
72
  },
76
73
  {
77
- "id": 127,
74
+ "id": 122,
78
75
  "name": "YesCancel",
79
76
  "kind": 16,
80
77
  "kindString": "Enumeration member",
@@ -91,14 +88,14 @@
91
88
  "sources": [
92
89
  {
93
90
  "fileName": "projects/modals/src/modules/confirm/confirm-type.ts",
94
- "line": 16,
91
+ "line": 15,
95
92
  "character": 2
96
93
  }
97
94
  ],
98
95
  "defaultValue": "2"
99
96
  },
100
97
  {
101
- "id": 128,
98
+ "id": 123,
102
99
  "name": "YesNoCancel",
103
100
  "kind": 16,
104
101
  "kindString": "Enumeration member",
@@ -115,7 +112,7 @@
115
112
  "sources": [
116
113
  {
117
114
  "fileName": "projects/modals/src/modules/confirm/confirm-type.ts",
118
- "line": 22,
115
+ "line": 21,
119
116
  "character": 2
120
117
  }
121
118
  ],
@@ -127,10 +124,10 @@
127
124
  "title": "Enumeration members",
128
125
  "kind": 16,
129
126
  "children": [
130
- 125,
131
- 126,
132
- 127,
133
- 128
127
+ 120,
128
+ 121,
129
+ 122,
130
+ 123
134
131
  ]
135
132
  }
136
133
  ],
@@ -143,14 +140,14 @@
143
140
  ]
144
141
  },
145
142
  {
146
- "id": 112,
143
+ "id": 115,
147
144
  "name": "SkyConfirmInstance",
148
145
  "kind": 128,
149
146
  "kindString": "Class",
150
147
  "flags": {},
151
148
  "children": [
152
149
  {
153
- "id": 115,
150
+ "id": 118,
154
151
  "name": "closed",
155
152
  "kind": 1024,
156
153
  "kindString": "Property",
@@ -158,7 +155,7 @@
158
155
  "isPublic": true
159
156
  },
160
157
  "comment": {
161
- "shortText": "Fires when users select an action to close the confirmation dialog. This event\nreturns a `SkyConfirmCloseEventArgs` object with information about the button that\nusers select."
158
+ "shortText": "Fires when users select an action to close the dialog. This event\nreturns a `SkyConfirmCloseEventArgs` object with information about the button that\nusers select. It returns the `'cancel'` action when users press the <kbd>Escape</kbd> key."
162
159
  },
163
160
  "sources": [
164
161
  {
@@ -172,7 +169,7 @@
172
169
  "typeArguments": [
173
170
  {
174
171
  "type": "reference",
175
- "id": 104,
172
+ "id": 107,
176
173
  "name": "SkyConfirmCloseEventArgs"
177
174
  }
178
175
  ],
@@ -188,14 +185,14 @@
188
185
  "title": "Constructors",
189
186
  "kind": 512,
190
187
  "children": [
191
- 113
188
+ 116
192
189
  ]
193
190
  },
194
191
  {
195
192
  "title": "Properties",
196
193
  "kind": 1024,
197
194
  "children": [
198
- 115
195
+ 118
199
196
  ]
200
197
  }
201
198
  ],
@@ -208,195 +205,7 @@
208
205
  ]
209
206
  },
210
207
  {
211
- "id": 116,
212
- "name": "SkyConfirmModalContext",
213
- "kind": 128,
214
- "kindString": "Class",
215
- "flags": {},
216
- "children": [
217
- {
218
- "id": 120,
219
- "name": "body",
220
- "kind": 1024,
221
- "kindString": "Property",
222
- "flags": {
223
- "isPublic": true
224
- },
225
- "comment": {
226
- "shortText": "Specifies secondary text to display under the primary message."
227
- },
228
- "sources": [
229
- {
230
- "fileName": "projects/modals/src/modules/confirm/confirm-modal-context.ts",
231
- "line": 8,
232
- "character": 9
233
- }
234
- ],
235
- "type": {
236
- "type": "intrinsic",
237
- "name": "string"
238
- },
239
- "implementationOf": {
240
- "type": "reference",
241
- "id": 108,
242
- "name": "SkyConfirmConfig.body"
243
- }
244
- },
245
- {
246
- "id": 121,
247
- "name": "buttons",
248
- "kind": 1024,
249
- "kindString": "Property",
250
- "flags": {
251
- "isPublic": true
252
- },
253
- "comment": {
254
- "shortText": "Specifies an array of `SkyConfirmButtonConfig` objects that overwrite the default\nconfiguration for buttons. The number of items in the array must match the number of\nbuttons that the `type` property specifies."
255
- },
256
- "sources": [
257
- {
258
- "fileName": "projects/modals/src/modules/confirm/confirm-modal-context.ts",
259
- "line": 9,
260
- "character": 9
261
- }
262
- ],
263
- "type": {
264
- "type": "array",
265
- "elementType": {
266
- "type": "reference",
267
- "id": 99,
268
- "name": "SkyConfirmButtonConfig"
269
- }
270
- },
271
- "implementationOf": {
272
- "type": "reference",
273
- "id": 109,
274
- "name": "SkyConfirmConfig.buttons"
275
- }
276
- },
277
- {
278
- "id": 119,
279
- "name": "message",
280
- "kind": 1024,
281
- "kindString": "Property",
282
- "flags": {
283
- "isPublic": true
284
- },
285
- "comment": {
286
- "shortText": "Specifies the message to display in bold at the top of the dialog."
287
- },
288
- "sources": [
289
- {
290
- "fileName": "projects/modals/src/modules/confirm/confirm-modal-context.ts",
291
- "line": 7,
292
- "character": 9
293
- }
294
- ],
295
- "type": {
296
- "type": "intrinsic",
297
- "name": "string"
298
- },
299
- "implementationOf": {
300
- "type": "reference",
301
- "id": 107,
302
- "name": "SkyConfirmConfig.message"
303
- }
304
- },
305
- {
306
- "id": 122,
307
- "name": "preserveWhiteSpace",
308
- "kind": 1024,
309
- "kindString": "Property",
310
- "flags": {
311
- "isPublic": true
312
- },
313
- "comment": {
314
- "shortText": "Indicates whether to preserve whitespace and new lines inside the confirm component."
315
- },
316
- "sources": [
317
- {
318
- "fileName": "projects/modals/src/modules/confirm/confirm-modal-context.ts",
319
- "line": 10,
320
- "character": 9
321
- }
322
- ],
323
- "type": {
324
- "type": "intrinsic",
325
- "name": "boolean"
326
- },
327
- "implementationOf": {
328
- "type": "reference",
329
- "id": 110,
330
- "name": "SkyConfirmConfig.preserveWhiteSpace"
331
- }
332
- },
333
- {
334
- "id": 123,
335
- "name": "type",
336
- "kind": 1024,
337
- "kindString": "Property",
338
- "flags": {
339
- "isPublic": true
340
- },
341
- "comment": {
342
- "shortText": "Specifies a SkyConfirmType enum that indicates how many buttons to include in the dialog."
343
- },
344
- "sources": [
345
- {
346
- "fileName": "projects/modals/src/modules/confirm/confirm-modal-context.ts",
347
- "line": 11,
348
- "character": 9
349
- }
350
- ],
351
- "type": {
352
- "type": "reference",
353
- "id": 124,
354
- "name": "SkyConfirmType"
355
- },
356
- "implementationOf": {
357
- "type": "reference",
358
- "id": 111,
359
- "name": "SkyConfirmConfig.type"
360
- }
361
- }
362
- ],
363
- "groups": [
364
- {
365
- "title": "Constructors",
366
- "kind": 512,
367
- "children": [
368
- 117
369
- ]
370
- },
371
- {
372
- "title": "Properties",
373
- "kind": 1024,
374
- "children": [
375
- 120,
376
- 121,
377
- 119,
378
- 122,
379
- 123
380
- ]
381
- }
382
- ],
383
- "sources": [
384
- {
385
- "fileName": "projects/modals/src/modules/confirm/confirm-modal-context.ts",
386
- "line": 6,
387
- "character": 13
388
- }
389
- ],
390
- "implementedTypes": [
391
- {
392
- "type": "reference",
393
- "id": 106,
394
- "name": "SkyConfirmConfig"
395
- }
396
- ]
397
- },
398
- {
399
- "id": 129,
208
+ "id": 124,
400
209
  "name": "SkyConfirmModule",
401
210
  "kind": 128,
402
211
  "kindString": "Class",
@@ -421,7 +230,7 @@
421
230
  "title": "Constructors",
422
231
  "kind": 512,
423
232
  "children": [
424
- 130
233
+ 125
425
234
  ]
426
235
  }
427
236
  ],
@@ -434,13 +243,13 @@
434
243
  ]
435
244
  },
436
245
  {
437
- "id": 132,
246
+ "id": 127,
438
247
  "name": "SkyConfirmService",
439
248
  "kind": 128,
440
249
  "kindString": "Class",
441
250
  "flags": {},
442
251
  "comment": {
443
- "shortText": " The `SkyConfirmService` provider launches the confirmation dialog.\nWithin the service, you can specify the dialog's message and customize the button text."
252
+ "shortText": "Launches a dialog."
444
253
  },
445
254
  "decorators": [
446
255
  {
@@ -458,7 +267,7 @@
458
267
  ],
459
268
  "children": [
460
269
  {
461
- "id": 133,
270
+ "id": 128,
462
271
  "name": "constructor",
463
272
  "kind": 512,
464
273
  "kindString": "Constructor",
@@ -466,41 +275,41 @@
466
275
  "sources": [
467
276
  {
468
277
  "fileName": "projects/modals/src/modules/confirm/confirm.service.ts",
469
- "line": 24,
278
+ "line": 23,
470
279
  "character": 2
471
280
  }
472
281
  ],
473
282
  "signatures": [
474
283
  {
475
- "id": 134,
284
+ "id": 129,
476
285
  "name": "new SkyConfirmService",
477
286
  "kind": 16384,
478
287
  "kindString": "Constructor signature",
479
288
  "flags": {},
480
289
  "parameters": [
481
290
  {
482
- "id": 135,
291
+ "id": 130,
483
292
  "name": "modalService",
484
293
  "kind": 32768,
485
294
  "kindString": "Parameter",
486
295
  "flags": {},
487
296
  "type": {
488
297
  "type": "reference",
489
- "id": 236,
298
+ "id": 231,
490
299
  "name": "SkyModalService"
491
300
  }
492
301
  }
493
302
  ],
494
303
  "type": {
495
304
  "type": "reference",
496
- "id": 132,
305
+ "id": 127,
497
306
  "name": "SkyConfirmService"
498
307
  }
499
308
  }
500
309
  ]
501
310
  },
502
311
  {
503
- "id": 136,
312
+ "id": 131,
504
313
  "name": "open",
505
314
  "kind": 2048,
506
315
  "kindString": "Method",
@@ -510,37 +319,40 @@
510
319
  "sources": [
511
320
  {
512
321
  "fileName": "projects/modals/src/modules/confirm/confirm.service.ts",
513
- "line": 30,
322
+ "line": 29,
514
323
  "character": 9
515
324
  }
516
325
  ],
517
326
  "signatures": [
518
327
  {
519
- "id": 137,
328
+ "id": 132,
520
329
  "name": "open",
521
330
  "kind": 4096,
522
331
  "kindString": "Call signature",
523
332
  "flags": {},
524
333
  "comment": {
525
- "shortText": "Opens a confirmation dialog and passes the `config` parameter of type `SkyConfirmConfig`\nto the component's constructor. This method returns an object of type `SkyConfirmInstance`."
334
+ "shortText": "Opens a dialog using the specified options."
526
335
  },
527
336
  "parameters": [
528
337
  {
529
- "id": 138,
338
+ "id": 133,
530
339
  "name": "config",
531
340
  "kind": 32768,
532
341
  "kindString": "Parameter",
533
342
  "flags": {},
343
+ "comment": {
344
+ "shortText": "Specifies configuration options for the dialog.\n"
345
+ },
534
346
  "type": {
535
347
  "type": "reference",
536
- "id": 106,
348
+ "id": 109,
537
349
  "name": "SkyConfirmConfig"
538
350
  }
539
351
  }
540
352
  ],
541
353
  "type": {
542
354
  "type": "reference",
543
- "id": 112,
355
+ "id": 115,
544
356
  "name": "SkyConfirmInstance"
545
357
  }
546
358
  }
@@ -552,34 +364,37 @@
552
364
  "title": "Constructors",
553
365
  "kind": 512,
554
366
  "children": [
555
- 133
367
+ 128
556
368
  ]
557
369
  },
558
370
  {
559
371
  "title": "Methods",
560
372
  "kind": 2048,
561
373
  "children": [
562
- 136
374
+ 131
563
375
  ]
564
376
  }
565
377
  ],
566
378
  "sources": [
567
379
  {
568
380
  "fileName": "projects/modals/src/modules/confirm/confirm.service.ts",
569
- "line": 23,
381
+ "line": 22,
570
382
  "character": 13
571
383
  }
572
384
  ]
573
385
  },
574
386
  {
575
- "id": 139,
387
+ "id": 134,
576
388
  "name": "SkyModalBeforeCloseHandler",
577
389
  "kind": 128,
578
390
  "kindString": "Class",
579
391
  "flags": {},
392
+ "comment": {
393
+ "shortText": "Closes the modal instance using the `closeModal` method."
394
+ },
580
395
  "children": [
581
396
  {
582
- "id": 140,
397
+ "id": 135,
583
398
  "name": "constructor",
584
399
  "kind": 512,
585
400
  "kindString": "Constructor",
@@ -587,20 +402,20 @@
587
402
  "sources": [
588
403
  {
589
404
  "fileName": "projects/modals/src/modules/modal/modal-before-close-handler.ts",
590
- "line": 4,
405
+ "line": 7,
591
406
  "character": 2
592
407
  }
593
408
  ],
594
409
  "signatures": [
595
410
  {
596
- "id": 141,
411
+ "id": 136,
597
412
  "name": "new SkyModalBeforeCloseHandler",
598
413
  "kind": 16384,
599
414
  "kindString": "Constructor signature",
600
415
  "flags": {},
601
416
  "parameters": [
602
417
  {
603
- "id": 142,
418
+ "id": 137,
604
419
  "name": "closeModal",
605
420
  "kind": 32768,
606
421
  "kindString": "Parameter",
@@ -613,21 +428,21 @@
613
428
  }
614
429
  },
615
430
  {
616
- "id": 143,
431
+ "id": 138,
617
432
  "name": "closeArgs",
618
433
  "kind": 32768,
619
434
  "kindString": "Parameter",
620
435
  "flags": {},
621
436
  "type": {
622
437
  "type": "reference",
623
- "id": 146,
438
+ "id": 141,
624
439
  "name": "SkyModalCloseArgs"
625
440
  }
626
441
  }
627
442
  ],
628
443
  "type": {
629
444
  "type": "reference",
630
- "id": 139,
445
+ "id": 134,
631
446
  "name": "SkyModalBeforeCloseHandler"
632
447
  }
633
448
  }
@@ -639,45 +454,51 @@
639
454
  "title": "Constructors",
640
455
  "kind": 512,
641
456
  "children": [
642
- 140
457
+ 135
643
458
  ]
644
459
  },
645
460
  {
646
461
  "title": "Properties",
647
462
  "kind": 1024,
648
463
  "children": [
649
- 145,
650
- 144
464
+ 140,
465
+ 139
651
466
  ]
652
467
  }
653
468
  ],
654
469
  "sources": [
655
470
  {
656
471
  "fileName": "projects/modals/src/modules/modal/modal-before-close-handler.ts",
657
- "line": 3,
472
+ "line": 6,
658
473
  "character": 13
659
474
  }
660
475
  ]
661
476
  },
662
477
  {
663
- "id": 146,
478
+ "id": 141,
664
479
  "name": "SkyModalCloseArgs",
665
480
  "kind": 128,
666
481
  "kindString": "Class",
667
482
  "flags": {},
483
+ "comment": {
484
+ "shortText": "Contains an object with the data passed from users when\na modal is closed and the reason that the modal was closed."
485
+ },
668
486
  "children": [
669
487
  {
670
- "id": 150,
488
+ "id": 145,
671
489
  "name": "data",
672
490
  "kind": 1024,
673
491
  "kindString": "Property",
674
492
  "flags": {
675
493
  "isPublic": true
676
494
  },
495
+ "comment": {
496
+ "shortText": "The data passed from users when the modal is closed."
497
+ },
677
498
  "sources": [
678
499
  {
679
500
  "fileName": "projects/modals/src/modules/modal/modal-close-args.ts",
680
- "line": 3,
501
+ "line": 14,
681
502
  "character": 9
682
503
  }
683
504
  ],
@@ -687,17 +508,20 @@
687
508
  }
688
509
  },
689
510
  {
690
- "id": 149,
511
+ "id": 144,
691
512
  "name": "reason",
692
513
  "kind": 1024,
693
514
  "kindString": "Property",
694
515
  "flags": {
695
516
  "isPublic": true
696
517
  },
518
+ "comment": {
519
+ "shortText": "Indicates the reason the modal was closed.\nOptions include `\"close\"`, `\"save\"`, and `\"cancel\"`."
520
+ },
697
521
  "sources": [
698
522
  {
699
523
  "fileName": "projects/modals/src/modules/modal/modal-close-args.ts",
700
- "line": 2,
524
+ "line": 10,
701
525
  "character": 9
702
526
  }
703
527
  ],
@@ -712,38 +536,35 @@
712
536
  "title": "Constructors",
713
537
  "kind": 512,
714
538
  "children": [
715
- 147
539
+ 142
716
540
  ]
717
541
  },
718
542
  {
719
543
  "title": "Properties",
720
544
  "kind": 1024,
721
545
  "children": [
722
- 150,
723
- 149
546
+ 145,
547
+ 144
724
548
  ]
725
549
  }
726
550
  ],
727
551
  "sources": [
728
552
  {
729
553
  "fileName": "projects/modals/src/modules/modal/modal-close-args.ts",
730
- "line": 1,
554
+ "line": 5,
731
555
  "character": 13
732
556
  }
733
557
  ]
734
558
  },
735
559
  {
736
- "id": 188,
560
+ "id": 183,
737
561
  "name": "SkyModalInstance",
738
562
  "kind": 128,
739
563
  "kindString": "Class",
740
564
  "flags": {},
741
- "comment": {
742
- "shortText": "Allows you to close the modal and return data from the launched modal."
743
- },
744
565
  "children": [
745
566
  {
746
- "id": 197,
567
+ "id": 192,
747
568
  "name": "componentInstance",
748
569
  "kind": 1024,
749
570
  "kindString": "Property",
@@ -756,7 +577,7 @@
756
577
  "sources": [
757
578
  {
758
579
  "fileName": "projects/modals/src/modules/modal/modal-instance.ts",
759
- "line": 47,
580
+ "line": 41,
760
581
  "character": 9
761
582
  }
762
583
  ],
@@ -766,7 +587,7 @@
766
587
  }
767
588
  },
768
589
  {
769
- "id": 191,
590
+ "id": 186,
770
591
  "name": "beforeClose",
771
592
  "kind": 262144,
772
593
  "kindString": "Accessor",
@@ -776,13 +597,13 @@
776
597
  "sources": [
777
598
  {
778
599
  "fileName": "projects/modals/src/modules/modal/modal-instance.ts",
779
- "line": 19,
600
+ "line": 13,
780
601
  "character": 13
781
602
  }
782
603
  ],
783
604
  "getSignature": [
784
605
  {
785
- "id": 192,
606
+ "id": 187,
786
607
  "name": "beforeClose",
787
608
  "kind": 524288,
788
609
  "kindString": "Get signature",
@@ -795,7 +616,7 @@
795
616
  "typeArguments": [
796
617
  {
797
618
  "type": "reference",
798
- "id": 139,
619
+ "id": 134,
799
620
  "name": "SkyModalBeforeCloseHandler"
800
621
  }
801
622
  ],
@@ -807,7 +628,7 @@
807
628
  ]
808
629
  },
809
630
  {
810
- "id": 193,
631
+ "id": 188,
811
632
  "name": "closed",
812
633
  "kind": 262144,
813
634
  "kindString": "Accessor",
@@ -817,26 +638,26 @@
817
638
  "sources": [
818
639
  {
819
640
  "fileName": "projects/modals/src/modules/modal/modal-instance.ts",
820
- "line": 31,
641
+ "line": 25,
821
642
  "character": 13
822
643
  }
823
644
  ],
824
645
  "getSignature": [
825
646
  {
826
- "id": 194,
647
+ "id": 189,
827
648
  "name": "closed",
828
649
  "kind": 524288,
829
650
  "kindString": "Get signature",
830
651
  "flags": {},
831
652
  "comment": {
832
- "shortText": "An event that the modal instance emits when it closes.\nIt emits a `SkyModalCloseArgs` object with a `data` property that includes\ndata passed from users on close or save and a `reason` property that indicates\nwhether the modal was saved or closed without saving.\nThe `reason` property accepts any string value.\nCommon examples include `cancel`, `close`, and `save`."
653
+ "shortText": "An event that the modal instance emits when it closes.\nIt emits a `SkyModalCloseArgs` object with a `data` property that includes\ndata passed from users on close or save and a `reason` property that indicates\nwhether the modal was saved or closed without saving.\nThe `reason` property accepts any string value.\nCommon examples include `\"cancel\"`, `\"close\"`, and `\"save\"`."
833
654
  },
834
655
  "type": {
835
656
  "type": "reference",
836
657
  "typeArguments": [
837
658
  {
838
659
  "type": "reference",
839
- "id": 146,
660
+ "id": 141,
840
661
  "name": "SkyModalCloseArgs"
841
662
  }
842
663
  ],
@@ -848,7 +669,7 @@
848
669
  ]
849
670
  },
850
671
  {
851
- "id": 195,
672
+ "id": 190,
852
673
  "name": "helpOpened",
853
674
  "kind": 262144,
854
675
  "kindString": "Accessor",
@@ -858,13 +679,13 @@
858
679
  "sources": [
859
680
  {
860
681
  "fileName": "projects/modals/src/modules/modal/modal-instance.ts",
861
- "line": 40,
682
+ "line": 34,
862
683
  "character": 13
863
684
  }
864
685
  ],
865
686
  "getSignature": [
866
687
  {
867
- "id": 196,
688
+ "id": 191,
868
689
  "name": "helpOpened",
869
690
  "kind": 524288,
870
691
  "kindString": "Get signature",
@@ -888,7 +709,7 @@
888
709
  ]
889
710
  },
890
711
  {
891
- "id": 206,
712
+ "id": 201,
892
713
  "name": "cancel",
893
714
  "kind": 2048,
894
715
  "kindString": "Method",
@@ -898,23 +719,23 @@
898
719
  "sources": [
899
720
  {
900
721
  "fileName": "projects/modals/src/modules/modal/modal-instance.ts",
901
- "line": 81,
722
+ "line": 75,
902
723
  "character": 9
903
724
  }
904
725
  ],
905
726
  "signatures": [
906
727
  {
907
- "id": 207,
728
+ "id": 202,
908
729
  "name": "cancel",
909
730
  "kind": 4096,
910
731
  "kindString": "Call signature",
911
732
  "flags": {},
912
733
  "comment": {
913
- "shortText": "Closes the modal instance with `reason=cancel`."
734
+ "shortText": "Closes the modal instance with `reason=\"cancel\"`."
914
735
  },
915
736
  "parameters": [
916
737
  {
917
- "id": 208,
738
+ "id": 203,
918
739
  "name": "result",
919
740
  "kind": 32768,
920
741
  "kindString": "Parameter",
@@ -938,7 +759,7 @@
938
759
  ]
939
760
  },
940
761
  {
941
- "id": 201,
762
+ "id": 196,
942
763
  "name": "close",
943
764
  "kind": 2048,
944
765
  "kindString": "Method",
@@ -948,13 +769,13 @@
948
769
  "sources": [
949
770
  {
950
771
  "fileName": "projects/modals/src/modules/modal/modal-instance.ts",
951
- "line": 63,
772
+ "line": 57,
952
773
  "character": 9
953
774
  }
954
775
  ],
955
776
  "signatures": [
956
777
  {
957
- "id": 202,
778
+ "id": 197,
958
779
  "name": "close",
959
780
  "kind": 4096,
960
781
  "kindString": "Call signature",
@@ -964,7 +785,7 @@
964
785
  },
965
786
  "parameters": [
966
787
  {
967
- "id": 203,
788
+ "id": 198,
968
789
  "name": "result",
969
790
  "kind": 32768,
970
791
  "kindString": "Parameter",
@@ -980,7 +801,7 @@
980
801
  }
981
802
  },
982
803
  {
983
- "id": 204,
804
+ "id": 199,
984
805
  "name": "reason",
985
806
  "kind": 32768,
986
807
  "kindString": "Parameter",
@@ -988,7 +809,7 @@
988
809
  "isOptional": true
989
810
  },
990
811
  "comment": {
991
- "shortText": "Specifies the reason for the modal closing, with the default reason of `close`."
812
+ "shortText": "Specifies the reason for the modal closing, with the default reason of `\"close\"`."
992
813
  },
993
814
  "type": {
994
815
  "type": "intrinsic",
@@ -996,7 +817,7 @@
996
817
  }
997
818
  },
998
819
  {
999
- "id": 205,
820
+ "id": 200,
1000
821
  "name": "ignoreBeforeClose",
1001
822
  "kind": 32768,
1002
823
  "kindString": "Parameter",
@@ -1020,7 +841,7 @@
1020
841
  ]
1021
842
  },
1022
843
  {
1023
- "id": 212,
844
+ "id": 207,
1024
845
  "name": "openHelp",
1025
846
  "kind": 2048,
1026
847
  "kindString": "Method",
@@ -1030,13 +851,13 @@
1030
851
  "sources": [
1031
852
  {
1032
853
  "fileName": "projects/modals/src/modules/modal/modal-instance.ts",
1033
- "line": 102,
854
+ "line": 96,
1034
855
  "character": 9
1035
856
  }
1036
857
  ],
1037
858
  "signatures": [
1038
859
  {
1039
- "id": 213,
860
+ "id": 208,
1040
861
  "name": "openHelp",
1041
862
  "kind": 4096,
1042
863
  "kindString": "Call signature",
@@ -1046,7 +867,7 @@
1046
867
  },
1047
868
  "parameters": [
1048
869
  {
1049
- "id": 214,
870
+ "id": 209,
1050
871
  "name": "helpKey",
1051
872
  "kind": 32768,
1052
873
  "kindString": "Parameter",
@@ -1070,7 +891,7 @@
1070
891
  ]
1071
892
  },
1072
893
  {
1073
- "id": 209,
894
+ "id": 204,
1074
895
  "name": "save",
1075
896
  "kind": 2048,
1076
897
  "kindString": "Method",
@@ -1080,23 +901,23 @@
1080
901
  "sources": [
1081
902
  {
1082
903
  "fileName": "projects/modals/src/modules/modal/modal-instance.ts",
1083
- "line": 91,
904
+ "line": 85,
1084
905
  "character": 9
1085
906
  }
1086
907
  ],
1087
908
  "signatures": [
1088
909
  {
1089
- "id": 210,
910
+ "id": 205,
1090
911
  "name": "save",
1091
912
  "kind": 4096,
1092
913
  "kindString": "Call signature",
1093
914
  "flags": {},
1094
915
  "comment": {
1095
- "shortText": "Closes the modal instance with `reason=save`."
916
+ "shortText": "Closes the modal instance with `reason=\"save\"`."
1096
917
  },
1097
918
  "parameters": [
1098
919
  {
1099
- "id": 211,
920
+ "id": 206,
1100
921
  "name": "result",
1101
922
  "kind": 32768,
1102
923
  "kindString": "Parameter",
@@ -1125,46 +946,46 @@
1125
946
  "title": "Constructors",
1126
947
  "kind": 512,
1127
948
  "children": [
1128
- 189
949
+ 184
1129
950
  ]
1130
951
  },
1131
952
  {
1132
953
  "title": "Properties",
1133
954
  "kind": 1024,
1134
955
  "children": [
1135
- 197
956
+ 192
1136
957
  ]
1137
958
  },
1138
959
  {
1139
960
  "title": "Accessors",
1140
961
  "kind": 262144,
1141
962
  "children": [
1142
- 191,
1143
- 193,
1144
- 195
963
+ 186,
964
+ 188,
965
+ 190
1145
966
  ]
1146
967
  },
1147
968
  {
1148
969
  "title": "Methods",
1149
970
  "kind": 2048,
1150
971
  "children": [
1151
- 206,
1152
972
  201,
1153
- 212,
1154
- 209
973
+ 196,
974
+ 207,
975
+ 204
1155
976
  ]
1156
977
  }
1157
978
  ],
1158
979
  "sources": [
1159
980
  {
1160
981
  "fileName": "projects/modals/src/modules/modal/modal-instance.ts",
1161
- "line": 12,
982
+ "line": 6,
1162
983
  "character": 13
1163
984
  }
1164
985
  ]
1165
986
  },
1166
987
  {
1167
- "id": 233,
988
+ "id": 228,
1168
989
  "name": "SkyModalModule",
1169
990
  "kind": 128,
1170
991
  "kindString": "Class",
@@ -1189,7 +1010,7 @@
1189
1010
  "title": "Constructors",
1190
1011
  "kind": 512,
1191
1012
  "children": [
1192
- 234
1013
+ 229
1193
1014
  ]
1194
1015
  }
1195
1016
  ],
@@ -1202,13 +1023,13 @@
1202
1023
  ]
1203
1024
  },
1204
1025
  {
1205
- "id": 236,
1026
+ "id": 231,
1206
1027
  "name": "SkyModalService",
1207
1028
  "kind": 128,
1208
1029
  "kindString": "Class",
1209
1030
  "flags": {},
1210
1031
  "comment": {
1211
- "shortText": "A service that lauches modals. For information about how to test modals in SKY UX, see\n[write unit tests for modals](https://developer.blackbaud.com/skyux/learn/get-started/advanced/unit-test-modals).",
1032
+ "shortText": "A service that launches modals.",
1212
1033
  "tags": [
1213
1034
  {
1214
1035
  "tag": "dynamic",
@@ -1232,7 +1053,7 @@
1232
1053
  ],
1233
1054
  "children": [
1234
1055
  {
1235
- "id": 238,
1056
+ "id": 233,
1236
1057
  "name": "constructor",
1237
1058
  "kind": 512,
1238
1059
  "kindString": "Constructor",
@@ -1240,20 +1061,20 @@
1240
1061
  "sources": [
1241
1062
  {
1242
1063
  "fileName": "projects/modals/src/modules/modal/modal.service.ts",
1243
- "line": 24,
1064
+ "line": 22,
1244
1065
  "character": 2
1245
1066
  }
1246
1067
  ],
1247
1068
  "signatures": [
1248
1069
  {
1249
- "id": 239,
1070
+ "id": 234,
1250
1071
  "name": "new SkyModalService",
1251
1072
  "kind": 16384,
1252
1073
  "kindString": "Constructor signature",
1253
1074
  "flags": {},
1254
1075
  "parameters": [
1255
1076
  {
1256
- "id": 240,
1077
+ "id": 235,
1257
1078
  "name": "dynamicComponentService",
1258
1079
  "kind": 32768,
1259
1080
  "kindString": "Parameter",
@@ -1268,14 +1089,14 @@
1268
1089
  ],
1269
1090
  "type": {
1270
1091
  "type": "reference",
1271
- "id": 236,
1092
+ "id": 231,
1272
1093
  "name": "SkyModalService"
1273
1094
  }
1274
1095
  }
1275
1096
  ]
1276
1097
  },
1277
1098
  {
1278
- "id": 243,
1099
+ "id": 238,
1279
1100
  "name": "open",
1280
1101
  "kind": 2048,
1281
1102
  "kindString": "Method",
@@ -1285,13 +1106,13 @@
1285
1106
  "sources": [
1286
1107
  {
1287
1108
  "fileName": "projects/modals/src/modules/modal/modal.service.ts",
1288
- "line": 42,
1109
+ "line": 40,
1289
1110
  "character": 9
1290
1111
  }
1291
1112
  ],
1292
1113
  "signatures": [
1293
1114
  {
1294
- "id": 244,
1115
+ "id": 239,
1295
1116
  "name": "open",
1296
1117
  "kind": 4096,
1297
1118
  "kindString": "Call signature",
@@ -1301,7 +1122,7 @@
1301
1122
  },
1302
1123
  "parameters": [
1303
1124
  {
1304
- "id": 245,
1125
+ "id": 240,
1305
1126
  "name": "component",
1306
1127
  "kind": 32768,
1307
1128
  "kindString": "Parameter",
@@ -1315,7 +1136,7 @@
1315
1136
  }
1316
1137
  },
1317
1138
  {
1318
- "id": 246,
1139
+ "id": 241,
1319
1140
  "name": "config",
1320
1141
  "kind": 32768,
1321
1142
  "kindString": "Parameter",
@@ -1323,7 +1144,7 @@
1323
1144
  "isOptional": true
1324
1145
  },
1325
1146
  "comment": {
1326
- "shortText": "Populates the modal based on the `SkyModalConfigurationInterface` object.\n"
1147
+ "shortText": "Specifies configuration options for the modal.\n"
1327
1148
  },
1328
1149
  "type": {
1329
1150
  "type": "union",
@@ -1337,7 +1158,7 @@
1337
1158
  },
1338
1159
  {
1339
1160
  "type": "reference",
1340
- "id": 223,
1161
+ "id": 218,
1341
1162
  "name": "SkyModalConfigurationInterface"
1342
1163
  }
1343
1164
  ]
@@ -1346,7 +1167,7 @@
1346
1167
  ],
1347
1168
  "type": {
1348
1169
  "type": "reference",
1349
- "id": 188,
1170
+ "id": 183,
1350
1171
  "name": "SkyModalInstance"
1351
1172
  }
1352
1173
  }
@@ -1358,21 +1179,21 @@
1358
1179
  "title": "Constructors",
1359
1180
  "kind": 512,
1360
1181
  "children": [
1361
- 238
1182
+ 233
1362
1183
  ]
1363
1184
  },
1364
1185
  {
1365
1186
  "title": "Methods",
1366
1187
  "kind": 2048,
1367
1188
  "children": [
1368
- 243
1189
+ 238
1369
1190
  ]
1370
1191
  }
1371
1192
  ],
1372
1193
  "sources": [
1373
1194
  {
1374
1195
  "fileName": "projects/modals/src/modules/modal/modal.service.ts",
1375
- "line": 19,
1196
+ "line": 18,
1376
1197
  "character": 13
1377
1198
  }
1378
1199
  ]
@@ -1427,7 +1248,6 @@
1427
1248
  "flags": {},
1428
1249
  "type": {
1429
1250
  "type": "reference",
1430
- "id": 116,
1431
1251
  "name": "SkyConfirmModalContext"
1432
1252
  }
1433
1253
  },
@@ -1439,7 +1259,7 @@
1439
1259
  "flags": {},
1440
1260
  "type": {
1441
1261
  "type": "reference",
1442
- "id": 188,
1262
+ "id": 183,
1443
1263
  "name": "SkyModalInstance"
1444
1264
  }
1445
1265
  },
@@ -1514,7 +1334,6 @@
1514
1334
  "type": "array",
1515
1335
  "elementType": {
1516
1336
  "type": "reference",
1517
- "id": 93,
1518
1337
  "name": "SkyConfirmButton"
1519
1338
  }
1520
1339
  }
@@ -1591,7 +1410,6 @@
1591
1410
  "flags": {},
1592
1411
  "type": {
1593
1412
  "type": "reference",
1594
- "id": 93,
1595
1413
  "name": "SkyConfirmButton"
1596
1414
  }
1597
1415
  }
@@ -1814,7 +1632,7 @@
1814
1632
  "kindString": "Class",
1815
1633
  "flags": {},
1816
1634
  "comment": {
1817
- "shortText": "Provides a common look-and-feel for modal content with options to display\na common modal header, specify body content, and display a common modal footer\nand buttons. For information about how to test modals in SKY UX, see\n[write unit tests for modals](https://developer.blackbaud.com/skyux/learn/get-started/advanced/unit-test-modals)."
1635
+ "shortText": "Provides a common look-and-feel for modal content with options to display\na common modal header, specify body content, and display a common modal footer\nand buttons."
1818
1636
  },
1819
1637
  "decorators": [
1820
1638
  {
@@ -1826,7 +1644,7 @@
1826
1644
  "name": "Component"
1827
1645
  },
1828
1646
  "arguments": {
1829
- "obj": "{\n selector: 'sky-modal',\n templateUrl: './modal.component.html',\n styleUrls: ['./modal.component.scss'],\n animations: [skyAnimationModalState],\n providers: [SkyModalComponentAdapterService, SkyDockService],\n}"
1647
+ "obj": "{\n selector: 'sky-modal',\n templateUrl: './modal.component.html',\n styleUrls: ['./modal.component.scss'],\n animations: [skyAnimationModalState],\n providers: [\n SkyModalComponentAdapterService,\n SkyDockService,\n {\n provide: SkyMediaQueryService,\n useClass: SkyResizeObserverMediaQueryService,\n },\n ],\n}"
1830
1648
  }
1831
1649
  }
1832
1650
  ],
@@ -1840,7 +1658,7 @@
1840
1658
  "sources": [
1841
1659
  {
1842
1660
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
1843
- "line": 113,
1661
+ "line": 123,
1844
1662
  "character": 2
1845
1663
  }
1846
1664
  ],
@@ -1948,6 +1766,41 @@
1948
1766
  "type": "reference",
1949
1767
  "name": "SkyDockService"
1950
1768
  }
1769
+ },
1770
+ {
1771
+ "id": 40,
1772
+ "name": "mediaQueryService",
1773
+ "kind": 32768,
1774
+ "kindString": "Parameter",
1775
+ "flags": {
1776
+ "isOptional": true
1777
+ },
1778
+ "decorators": [
1779
+ {
1780
+ "name": "Optional",
1781
+ "type": {
1782
+ "type": "reference",
1783
+ "qualifiedName": "OptionalDecorator",
1784
+ "package": "@angular/core",
1785
+ "name": "Optional"
1786
+ },
1787
+ "arguments": {}
1788
+ },
1789
+ {
1790
+ "name": "Host",
1791
+ "type": {
1792
+ "type": "reference",
1793
+ "qualifiedName": "HostDecorator",
1794
+ "package": "@angular/core",
1795
+ "name": "Host"
1796
+ },
1797
+ "arguments": {}
1798
+ }
1799
+ ],
1800
+ "type": {
1801
+ "type": "reference",
1802
+ "name": "SkyResizeObserverMediaQueryService"
1803
+ }
1951
1804
  }
1952
1805
  ],
1953
1806
  "type": {
@@ -1959,7 +1812,7 @@
1959
1812
  ]
1960
1813
  },
1961
1814
  {
1962
- "id": 68,
1815
+ "id": 69,
1963
1816
  "name": "modalContentId",
1964
1817
  "kind": 1024,
1965
1818
  "kindString": "Property",
@@ -1969,7 +1822,7 @@
1969
1822
  "sources": [
1970
1823
  {
1971
1824
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
1972
- "line": 102,
1825
+ "line": 112,
1973
1826
  "character": 9
1974
1827
  }
1975
1828
  ],
@@ -1980,7 +1833,7 @@
1980
1833
  "defaultValue": "..."
1981
1834
  },
1982
1835
  {
1983
- "id": 69,
1836
+ "id": 70,
1984
1837
  "name": "modalHeaderId",
1985
1838
  "kind": 1024,
1986
1839
  "kindString": "Property",
@@ -1990,7 +1843,7 @@
1990
1843
  "sources": [
1991
1844
  {
1992
1845
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
1993
- "line": 105,
1846
+ "line": 115,
1994
1847
  "character": 9
1995
1848
  }
1996
1849
  ],
@@ -2001,7 +1854,7 @@
2001
1854
  "defaultValue": "..."
2002
1855
  },
2003
1856
  {
2004
- "id": 67,
1857
+ "id": 68,
2005
1858
  "name": "modalState",
2006
1859
  "kind": 1024,
2007
1860
  "kindString": "Property",
@@ -2011,7 +1864,7 @@
2011
1864
  "sources": [
2012
1865
  {
2013
1866
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2014
- "line": 100,
1867
+ "line": 110,
2015
1868
  "character": 9
2016
1869
  }
2017
1870
  ],
@@ -2022,7 +1875,7 @@
2022
1875
  "defaultValue": "'in'"
2023
1876
  },
2024
1877
  {
2025
- "id": 70,
1878
+ "id": 71,
2026
1879
  "name": "scrollShadow",
2027
1880
  "kind": 1024,
2028
1881
  "kindString": "Property",
@@ -2032,7 +1885,7 @@
2032
1885
  "sources": [
2033
1886
  {
2034
1887
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2035
- "line": 108,
1888
+ "line": 118,
2036
1889
  "character": 9
2037
1890
  }
2038
1891
  ],
@@ -2042,7 +1895,7 @@
2042
1895
  }
2043
1896
  },
2044
1897
  {
2045
- "id": 61,
1898
+ "id": 62,
2046
1899
  "name": "ariaDescribedBy",
2047
1900
  "kind": 262144,
2048
1901
  "kindString": "Accessor",
@@ -2052,13 +1905,13 @@
2052
1905
  "sources": [
2053
1906
  {
2054
1907
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2055
- "line": 88,
1908
+ "line": 98,
2056
1909
  "character": 13
2057
1910
  }
2058
1911
  ],
2059
1912
  "getSignature": [
2060
1913
  {
2061
- "id": 62,
1914
+ "id": 63,
2062
1915
  "name": "ariaDescribedBy",
2063
1916
  "kind": 524288,
2064
1917
  "kindString": "Get signature",
@@ -2071,7 +1924,7 @@
2071
1924
  ]
2072
1925
  },
2073
1926
  {
2074
- "id": 63,
1927
+ "id": 64,
2075
1928
  "name": "ariaLabelledBy",
2076
1929
  "kind": 262144,
2077
1930
  "kindString": "Accessor",
@@ -2081,13 +1934,13 @@
2081
1934
  "sources": [
2082
1935
  {
2083
1936
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2084
- "line": 92,
1937
+ "line": 102,
2085
1938
  "character": 13
2086
1939
  }
2087
1940
  ],
2088
1941
  "getSignature": [
2089
1942
  {
2090
- "id": 64,
1943
+ "id": 65,
2091
1944
  "name": "ariaLabelledBy",
2092
1945
  "kind": 524288,
2093
1946
  "kindString": "Get signature",
@@ -2100,7 +1953,7 @@
2100
1953
  ]
2101
1954
  },
2102
1955
  {
2103
- "id": 65,
1956
+ "id": 66,
2104
1957
  "name": "helpKey",
2105
1958
  "kind": 262144,
2106
1959
  "kindString": "Accessor",
@@ -2110,13 +1963,13 @@
2110
1963
  "sources": [
2111
1964
  {
2112
1965
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2113
- "line": 96,
1966
+ "line": 106,
2114
1967
  "character": 13
2115
1968
  }
2116
1969
  ],
2117
1970
  "getSignature": [
2118
1971
  {
2119
- "id": 66,
1972
+ "id": 67,
2120
1973
  "name": "helpKey",
2121
1974
  "kind": 524288,
2122
1975
  "kindString": "Get signature",
@@ -2129,7 +1982,7 @@
2129
1982
  ]
2130
1983
  },
2131
1984
  {
2132
- "id": 57,
1985
+ "id": 58,
2133
1986
  "name": "isLargeSize",
2134
1987
  "kind": 262144,
2135
1988
  "kindString": "Accessor",
@@ -2139,13 +1992,13 @@
2139
1992
  "sources": [
2140
1993
  {
2141
1994
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2142
- "line": 80,
1995
+ "line": 90,
2143
1996
  "character": 13
2144
1997
  }
2145
1998
  ],
2146
1999
  "getSignature": [
2147
2000
  {
2148
- "id": 58,
2001
+ "id": 59,
2149
2002
  "name": "isLargeSize",
2150
2003
  "kind": 524288,
2151
2004
  "kindString": "Get signature",
@@ -2158,7 +2011,7 @@
2158
2011
  ]
2159
2012
  },
2160
2013
  {
2161
- "id": 55,
2014
+ "id": 56,
2162
2015
  "name": "isMediumSize",
2163
2016
  "kind": 262144,
2164
2017
  "kindString": "Accessor",
@@ -2168,13 +2021,13 @@
2168
2021
  "sources": [
2169
2022
  {
2170
2023
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2171
- "line": 76,
2024
+ "line": 86,
2172
2025
  "character": 13
2173
2026
  }
2174
2027
  ],
2175
2028
  "getSignature": [
2176
2029
  {
2177
- "id": 56,
2030
+ "id": 57,
2178
2031
  "name": "isMediumSize",
2179
2032
  "kind": 524288,
2180
2033
  "kindString": "Get signature",
@@ -2187,7 +2040,7 @@
2187
2040
  ]
2188
2041
  },
2189
2042
  {
2190
- "id": 53,
2043
+ "id": 54,
2191
2044
  "name": "isSmallSize",
2192
2045
  "kind": 262144,
2193
2046
  "kindString": "Accessor",
@@ -2197,13 +2050,13 @@
2197
2050
  "sources": [
2198
2051
  {
2199
2052
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2200
- "line": 72,
2053
+ "line": 82,
2201
2054
  "character": 13
2202
2055
  }
2203
2056
  ],
2204
2057
  "getSignature": [
2205
2058
  {
2206
- "id": 54,
2059
+ "id": 55,
2207
2060
  "name": "isSmallSize",
2208
2061
  "kind": 524288,
2209
2062
  "kindString": "Get signature",
@@ -2216,7 +2069,7 @@
2216
2069
  ]
2217
2070
  },
2218
2071
  {
2219
- "id": 59,
2072
+ "id": 60,
2220
2073
  "name": "isTiledBody",
2221
2074
  "kind": 262144,
2222
2075
  "kindString": "Accessor",
@@ -2226,13 +2079,13 @@
2226
2079
  "sources": [
2227
2080
  {
2228
2081
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2229
- "line": 84,
2082
+ "line": 94,
2230
2083
  "character": 13
2231
2084
  }
2232
2085
  ],
2233
2086
  "getSignature": [
2234
2087
  {
2235
- "id": 60,
2088
+ "id": 61,
2236
2089
  "name": "isTiledBody",
2237
2090
  "kind": 524288,
2238
2091
  "kindString": "Get signature",
@@ -2245,7 +2098,7 @@
2245
2098
  ]
2246
2099
  },
2247
2100
  {
2248
- "id": 51,
2101
+ "id": 52,
2249
2102
  "name": "modalFullPage",
2250
2103
  "kind": 262144,
2251
2104
  "kindString": "Accessor",
@@ -2255,13 +2108,13 @@
2255
2108
  "sources": [
2256
2109
  {
2257
2110
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2258
- "line": 68,
2111
+ "line": 78,
2259
2112
  "character": 13
2260
2113
  }
2261
2114
  ],
2262
2115
  "getSignature": [
2263
2116
  {
2264
- "id": 52,
2117
+ "id": 53,
2265
2118
  "name": "modalFullPage",
2266
2119
  "kind": 524288,
2267
2120
  "kindString": "Get signature",
@@ -2274,7 +2127,7 @@
2274
2127
  ]
2275
2128
  },
2276
2129
  {
2277
- "id": 49,
2130
+ "id": 50,
2278
2131
  "name": "modalZIndex",
2279
2132
  "kind": 262144,
2280
2133
  "kindString": "Accessor",
@@ -2284,13 +2137,13 @@
2284
2137
  "sources": [
2285
2138
  {
2286
2139
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2287
- "line": 64,
2140
+ "line": 74,
2288
2141
  "character": 13
2289
2142
  }
2290
2143
  ],
2291
2144
  "getSignature": [
2292
2145
  {
2293
- "id": 50,
2146
+ "id": 51,
2294
2147
  "name": "modalZIndex",
2295
2148
  "kind": 524288,
2296
2149
  "kindString": "Get signature",
@@ -2303,7 +2156,7 @@
2303
2156
  ]
2304
2157
  },
2305
2158
  {
2306
- "id": 40,
2159
+ "id": 41,
2307
2160
  "name": "wrapperClass",
2308
2161
  "kind": 262144,
2309
2162
  "kindString": "Accessor",
@@ -2327,13 +2180,13 @@
2327
2180
  "sources": [
2328
2181
  {
2329
2182
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2330
- "line": 41,
2183
+ "line": 51,
2331
2184
  "character": 13
2332
2185
  }
2333
2186
  ],
2334
2187
  "getSignature": [
2335
2188
  {
2336
- "id": 41,
2189
+ "id": 42,
2337
2190
  "name": "wrapperClass",
2338
2191
  "kind": 524288,
2339
2192
  "kindString": "Get signature",
@@ -2346,7 +2199,7 @@
2346
2199
  ]
2347
2200
  },
2348
2201
  {
2349
- "id": 82,
2202
+ "id": 85,
2350
2203
  "name": "closeButtonClick",
2351
2204
  "kind": 2048,
2352
2205
  "kindString": "Method",
@@ -2356,13 +2209,13 @@
2356
2209
  "sources": [
2357
2210
  {
2358
2211
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2359
- "line": 202,
2212
+ "line": 227,
2360
2213
  "character": 9
2361
2214
  }
2362
2215
  ],
2363
2216
  "signatures": [
2364
2217
  {
2365
- "id": 83,
2218
+ "id": 86,
2366
2219
  "name": "closeButtonClick",
2367
2220
  "kind": 4096,
2368
2221
  "kindString": "Call signature",
@@ -2375,7 +2228,7 @@
2375
2228
  ]
2376
2229
  },
2377
2230
  {
2378
- "id": 80,
2231
+ "id": 83,
2379
2232
  "name": "helpButtonClick",
2380
2233
  "kind": 2048,
2381
2234
  "kindString": "Method",
@@ -2385,13 +2238,13 @@
2385
2238
  "sources": [
2386
2239
  {
2387
2240
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2388
- "line": 198,
2241
+ "line": 223,
2389
2242
  "character": 9
2390
2243
  }
2391
2244
  ],
2392
2245
  "signatures": [
2393
2246
  {
2394
- "id": 81,
2247
+ "id": 84,
2395
2248
  "name": "helpButtonClick",
2396
2249
  "kind": 4096,
2397
2250
  "kindString": "Call signature",
@@ -2404,7 +2257,7 @@
2404
2257
  ]
2405
2258
  },
2406
2259
  {
2407
- "id": 78,
2260
+ "id": 79,
2408
2261
  "name": "ngAfterViewInit",
2409
2262
  "kind": 2048,
2410
2263
  "kindString": "Method",
@@ -2414,13 +2267,13 @@
2414
2267
  "sources": [
2415
2268
  {
2416
2269
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2417
- "line": 181,
2270
+ "line": 194,
2418
2271
  "character": 9
2419
2272
  }
2420
2273
  ],
2421
2274
  "signatures": [
2422
2275
  {
2423
- "id": 79,
2276
+ "id": 80,
2424
2277
  "name": "ngAfterViewInit",
2425
2278
  "kind": 4096,
2426
2279
  "kindString": "Call signature",
@@ -2441,7 +2294,44 @@
2441
2294
  }
2442
2295
  },
2443
2296
  {
2444
- "id": 75,
2297
+ "id": 81,
2298
+ "name": "ngOnDestroy",
2299
+ "kind": 2048,
2300
+ "kindString": "Method",
2301
+ "flags": {
2302
+ "isPublic": true
2303
+ },
2304
+ "sources": [
2305
+ {
2306
+ "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2307
+ "line": 216,
2308
+ "character": 9
2309
+ }
2310
+ ],
2311
+ "signatures": [
2312
+ {
2313
+ "id": 82,
2314
+ "name": "ngOnDestroy",
2315
+ "kind": 4096,
2316
+ "kindString": "Call signature",
2317
+ "flags": {},
2318
+ "type": {
2319
+ "type": "intrinsic",
2320
+ "name": "void"
2321
+ },
2322
+ "implementationOf": {
2323
+ "type": "reference",
2324
+ "name": "OnDestroy.ngOnDestroy"
2325
+ }
2326
+ }
2327
+ ],
2328
+ "implementationOf": {
2329
+ "type": "reference",
2330
+ "name": "OnDestroy.ngOnDestroy"
2331
+ }
2332
+ },
2333
+ {
2334
+ "id": 76,
2445
2335
  "name": "onDocumentKeyDown",
2446
2336
  "kind": 2048,
2447
2337
  "kindString": "Method",
@@ -2466,20 +2356,20 @@
2466
2356
  "sources": [
2467
2357
  {
2468
2358
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2469
- "line": 140,
2359
+ "line": 153,
2470
2360
  "character": 9
2471
2361
  }
2472
2362
  ],
2473
2363
  "signatures": [
2474
2364
  {
2475
- "id": 76,
2365
+ "id": 77,
2476
2366
  "name": "onDocumentKeyDown",
2477
2367
  "kind": 4096,
2478
2368
  "kindString": "Call signature",
2479
2369
  "flags": {},
2480
2370
  "parameters": [
2481
2371
  {
2482
- "id": 77,
2372
+ "id": 78,
2483
2373
  "name": "event",
2484
2374
  "kind": 32768,
2485
2375
  "kindString": "Parameter",
@@ -2500,7 +2390,7 @@
2500
2390
  ]
2501
2391
  },
2502
2392
  {
2503
- "id": 72,
2393
+ "id": 73,
2504
2394
  "name": "onDocumentKeyUp",
2505
2395
  "kind": 2048,
2506
2396
  "kindString": "Method",
@@ -2525,20 +2415,20 @@
2525
2415
  "sources": [
2526
2416
  {
2527
2417
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2528
- "line": 124,
2418
+ "line": 137,
2529
2419
  "character": 9
2530
2420
  }
2531
2421
  ],
2532
2422
  "signatures": [
2533
2423
  {
2534
- "id": 73,
2424
+ "id": 74,
2535
2425
  "name": "onDocumentKeyUp",
2536
2426
  "kind": 4096,
2537
2427
  "kindString": "Call signature",
2538
2428
  "flags": {},
2539
2429
  "parameters": [
2540
2430
  {
2541
- "id": 74,
2431
+ "id": 75,
2542
2432
  "name": "event",
2543
2433
  "kind": 32768,
2544
2434
  "kindString": "Parameter",
@@ -2559,7 +2449,7 @@
2559
2449
  ]
2560
2450
  },
2561
2451
  {
2562
- "id": 86,
2452
+ "id": 89,
2563
2453
  "name": "scrollShadowChange",
2564
2454
  "kind": 2048,
2565
2455
  "kindString": "Method",
@@ -2569,20 +2459,20 @@
2569
2459
  "sources": [
2570
2460
  {
2571
2461
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2572
- "line": 210,
2462
+ "line": 235,
2573
2463
  "character": 9
2574
2464
  }
2575
2465
  ],
2576
2466
  "signatures": [
2577
2467
  {
2578
- "id": 87,
2468
+ "id": 90,
2579
2469
  "name": "scrollShadowChange",
2580
2470
  "kind": 4096,
2581
2471
  "kindString": "Call signature",
2582
2472
  "flags": {},
2583
2473
  "parameters": [
2584
2474
  {
2585
- "id": 88,
2475
+ "id": 91,
2586
2476
  "name": "args",
2587
2477
  "kind": 32768,
2588
2478
  "kindString": "Parameter",
@@ -2601,7 +2491,7 @@
2601
2491
  ]
2602
2492
  },
2603
2493
  {
2604
- "id": 84,
2494
+ "id": 87,
2605
2495
  "name": "windowResize",
2606
2496
  "kind": 2048,
2607
2497
  "kindString": "Method",
@@ -2611,13 +2501,13 @@
2611
2501
  "sources": [
2612
2502
  {
2613
2503
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2614
- "line": 206,
2504
+ "line": 231,
2615
2505
  "character": 9
2616
2506
  }
2617
2507
  ],
2618
2508
  "signatures": [
2619
2509
  {
2620
- "id": 85,
2510
+ "id": 88,
2621
2511
  "name": "windowResize",
2622
2512
  "kind": 4096,
2623
2513
  "kindString": "Call signature",
@@ -2642,46 +2532,47 @@
2642
2532
  "title": "Properties",
2643
2533
  "kind": 1024,
2644
2534
  "children": [
2645
- 68,
2646
2535
  69,
2647
- 67,
2648
- 70
2536
+ 70,
2537
+ 68,
2538
+ 71
2649
2539
  ]
2650
2540
  },
2651
2541
  {
2652
2542
  "title": "Accessors",
2653
2543
  "kind": 262144,
2654
2544
  "children": [
2655
- 61,
2656
- 63,
2657
- 65,
2658
- 57,
2659
- 55,
2660
- 53,
2661
- 59,
2662
- 51,
2663
- 49,
2664
- 40
2545
+ 62,
2546
+ 64,
2547
+ 66,
2548
+ 58,
2549
+ 56,
2550
+ 54,
2551
+ 60,
2552
+ 52,
2553
+ 50,
2554
+ 41
2665
2555
  ]
2666
2556
  },
2667
2557
  {
2668
2558
  "title": "Methods",
2669
2559
  "kind": 2048,
2670
2560
  "children": [
2671
- 82,
2672
- 80,
2673
- 78,
2674
- 75,
2675
- 72,
2676
- 86,
2677
- 84
2561
+ 85,
2562
+ 83,
2563
+ 79,
2564
+ 81,
2565
+ 76,
2566
+ 73,
2567
+ 89,
2568
+ 87
2678
2569
  ]
2679
2570
  }
2680
2571
  ],
2681
2572
  "sources": [
2682
2573
  {
2683
2574
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2684
- "line": 39,
2575
+ "line": 49,
2685
2576
  "character": 13
2686
2577
  }
2687
2578
  ],
@@ -2691,127 +2582,30 @@
2691
2582
  "qualifiedName": "AfterViewInit",
2692
2583
  "package": "@angular/core",
2693
2584
  "name": "AfterViewInit"
2694
- }
2695
- ]
2696
- },
2697
- {
2698
- "id": 93,
2699
- "name": "SkyConfirmButton",
2700
- "kind": 256,
2701
- "kindString": "Interface",
2702
- "flags": {},
2703
- "children": [
2704
- {
2705
- "id": 94,
2706
- "name": "action",
2707
- "kind": 1024,
2708
- "kindString": "Property",
2709
- "flags": {},
2710
- "sources": [
2711
- {
2712
- "fileName": "projects/modals/src/modules/confirm/confirm-button.ts",
2713
- "line": 4,
2714
- "character": 2
2715
- }
2716
- ],
2717
- "type": {
2718
- "type": "reference",
2719
- "id": 98,
2720
- "name": "SkyConfirmButtonAction"
2721
- }
2722
- },
2723
- {
2724
- "id": 97,
2725
- "name": "autofocus",
2726
- "kind": 1024,
2727
- "kindString": "Property",
2728
- "flags": {
2729
- "isOptional": true
2730
- },
2731
- "sources": [
2732
- {
2733
- "fileName": "projects/modals/src/modules/confirm/confirm-button.ts",
2734
- "line": 7,
2735
- "character": 2
2736
- }
2737
- ],
2738
- "type": {
2739
- "type": "intrinsic",
2740
- "name": "boolean"
2741
- }
2742
2585
  },
2743
2586
  {
2744
- "id": 95,
2745
- "name": "styleType",
2746
- "kind": 1024,
2747
- "kindString": "Property",
2748
- "flags": {},
2749
- "sources": [
2750
- {
2751
- "fileName": "projects/modals/src/modules/confirm/confirm-button.ts",
2752
- "line": 5,
2753
- "character": 2
2754
- }
2755
- ],
2756
- "type": {
2757
- "type": "intrinsic",
2758
- "name": "string"
2759
- }
2760
- },
2761
- {
2762
- "id": 96,
2763
- "name": "text",
2764
- "kind": 1024,
2765
- "kindString": "Property",
2766
- "flags": {},
2767
- "sources": [
2768
- {
2769
- "fileName": "projects/modals/src/modules/confirm/confirm-button.ts",
2770
- "line": 6,
2771
- "character": 2
2772
- }
2773
- ],
2774
- "type": {
2775
- "type": "intrinsic",
2776
- "name": "string"
2777
- }
2778
- }
2779
- ],
2780
- "groups": [
2781
- {
2782
- "title": "Properties",
2783
- "kind": 1024,
2784
- "children": [
2785
- 94,
2786
- 97,
2787
- 95,
2788
- 96
2789
- ]
2790
- }
2791
- ],
2792
- "sources": [
2793
- {
2794
- "fileName": "projects/modals/src/modules/confirm/confirm-button.ts",
2795
- "line": 3,
2796
- "character": 17
2587
+ "type": "reference",
2588
+ "qualifiedName": "OnDestroy",
2589
+ "package": "@angular/core",
2590
+ "name": "OnDestroy"
2797
2591
  }
2798
2592
  ]
2799
2593
  },
2800
2594
  {
2801
- "id": 99,
2595
+ "id": 102,
2802
2596
  "name": "SkyConfirmButtonConfig",
2803
2597
  "kind": 256,
2804
2598
  "kindString": "Interface",
2805
2599
  "flags": {},
2806
2600
  "children": [
2807
2601
  {
2808
- "id": 100,
2602
+ "id": 103,
2809
2603
  "name": "action",
2810
2604
  "kind": 1024,
2811
2605
  "kindString": "Property",
2812
2606
  "flags": {},
2813
2607
  "comment": {
2814
- "shortText": "Specifies an identifier to return when users select the button to close the\nconfirmation dialog. This is useful to determine which button users select."
2608
+ "shortText": "Specifies an identifier to return when users select the button to close the\ndialog. This is useful to determine which button users select."
2815
2609
  },
2816
2610
  "sources": [
2817
2611
  {
@@ -2826,7 +2620,7 @@
2826
2620
  }
2827
2621
  },
2828
2622
  {
2829
- "id": 103,
2623
+ "id": 106,
2830
2624
  "name": "autofocus",
2831
2625
  "kind": 1024,
2832
2626
  "kindString": "Property",
@@ -2839,7 +2633,7 @@
2839
2633
  "sources": [
2840
2634
  {
2841
2635
  "fileName": "projects/modals/src/modules/confirm/confirm-button-config.ts",
2842
- "line": 22,
2636
+ "line": 21,
2843
2637
  "character": 2
2844
2638
  }
2845
2639
  ],
@@ -2849,7 +2643,7 @@
2849
2643
  }
2850
2644
  },
2851
2645
  {
2852
- "id": 102,
2646
+ "id": 105,
2853
2647
  "name": "styleType",
2854
2648
  "kind": 1024,
2855
2649
  "kindString": "Property",
@@ -2857,12 +2651,12 @@
2857
2651
  "isOptional": true
2858
2652
  },
2859
2653
  "comment": {
2860
- "shortText": "Specifies a\n[SKY UX button class](https://developer.blackbaud.com/skyux-theme/docs/button;docs-active-tab=design)\nto apply to the button. The valid options are\n`primary` to format the primary action on the dialog, `default` to format a secondary\naction, and `link` to format an action that takes users to another page."
2654
+ "shortText": "Specifies a style to apply to the button. The valid options are `primary` for\nthe button that triggers the recommended or most-common action, `default` for\nbuttons that trigger less-common actions, and `link` for a button that\ncloses the dialog."
2861
2655
  },
2862
2656
  "sources": [
2863
2657
  {
2864
2658
  "fileName": "projects/modals/src/modules/confirm/confirm-button-config.ts",
2865
- "line": 18,
2659
+ "line": 17,
2866
2660
  "character": 2
2867
2661
  }
2868
2662
  ],
@@ -2872,7 +2666,7 @@
2872
2666
  }
2873
2667
  },
2874
2668
  {
2875
- "id": 101,
2669
+ "id": 104,
2876
2670
  "name": "text",
2877
2671
  "kind": 1024,
2878
2672
  "kindString": "Property",
@@ -2898,10 +2692,10 @@
2898
2692
  "title": "Properties",
2899
2693
  "kind": 1024,
2900
2694
  "children": [
2901
- 100,
2902
2695
  103,
2903
- 102,
2904
- 101
2696
+ 106,
2697
+ 105,
2698
+ 104
2905
2699
  ]
2906
2700
  }
2907
2701
  ],
@@ -2914,20 +2708,20 @@
2914
2708
  ]
2915
2709
  },
2916
2710
  {
2917
- "id": 104,
2711
+ "id": 107,
2918
2712
  "name": "SkyConfirmCloseEventArgs",
2919
2713
  "kind": 256,
2920
2714
  "kindString": "Interface",
2921
2715
  "flags": {},
2922
2716
  "children": [
2923
2717
  {
2924
- "id": 105,
2718
+ "id": 108,
2925
2719
  "name": "action",
2926
2720
  "kind": 1024,
2927
2721
  "kindString": "Property",
2928
2722
  "flags": {},
2929
2723
  "comment": {
2930
- "shortText": "The identifier for the button that users selected to close the confirmation dialog."
2724
+ "shortText": "The identifier for the button that users selected to close the dialog."
2931
2725
  },
2932
2726
  "sources": [
2933
2727
  {
@@ -2947,7 +2741,7 @@
2947
2741
  "title": "Properties",
2948
2742
  "kind": 1024,
2949
2743
  "children": [
2950
- 105
2744
+ 108
2951
2745
  ]
2952
2746
  }
2953
2747
  ],
@@ -2960,14 +2754,14 @@
2960
2754
  ]
2961
2755
  },
2962
2756
  {
2963
- "id": 106,
2757
+ "id": 109,
2964
2758
  "name": "SkyConfirmConfig",
2965
2759
  "kind": 256,
2966
2760
  "kindString": "Interface",
2967
2761
  "flags": {},
2968
2762
  "children": [
2969
2763
  {
2970
- "id": 108,
2764
+ "id": 111,
2971
2765
  "name": "body",
2972
2766
  "kind": 1024,
2973
2767
  "kindString": "Property",
@@ -2990,7 +2784,7 @@
2990
2784
  }
2991
2785
  },
2992
2786
  {
2993
- "id": 109,
2787
+ "id": 112,
2994
2788
  "name": "buttons",
2995
2789
  "kind": 1024,
2996
2790
  "kindString": "Property",
@@ -2998,12 +2792,12 @@
2998
2792
  "isOptional": true
2999
2793
  },
3000
2794
  "comment": {
3001
- "shortText": "Specifies an array of `SkyConfirmButtonConfig` objects that overwrite the default\nconfiguration for buttons. The number of items in the array must match the number of\nbuttons that the `type` property specifies."
2795
+ "shortText": "Specifies a list of buttons to display when the `type` property is set to `SkyConfirmType.Custom`."
3002
2796
  },
3003
2797
  "sources": [
3004
2798
  {
3005
2799
  "fileName": "projects/modals/src/modules/confirm/confirm-config.ts",
3006
- "line": 19,
2800
+ "line": 17,
3007
2801
  "character": 2
3008
2802
  }
3009
2803
  ],
@@ -3011,13 +2805,13 @@
3011
2805
  "type": "array",
3012
2806
  "elementType": {
3013
2807
  "type": "reference",
3014
- "id": 99,
2808
+ "id": 102,
3015
2809
  "name": "SkyConfirmButtonConfig"
3016
2810
  }
3017
2811
  }
3018
2812
  },
3019
2813
  {
3020
- "id": 107,
2814
+ "id": 110,
3021
2815
  "name": "message",
3022
2816
  "kind": 1024,
3023
2817
  "kindString": "Property",
@@ -3044,7 +2838,7 @@
3044
2838
  }
3045
2839
  },
3046
2840
  {
3047
- "id": 110,
2841
+ "id": 113,
3048
2842
  "name": "preserveWhiteSpace",
3049
2843
  "kind": 1024,
3050
2844
  "kindString": "Property",
@@ -3052,7 +2846,7 @@
3052
2846
  "isOptional": true
3053
2847
  },
3054
2848
  "comment": {
3055
- "shortText": "Indicates whether to preserve whitespace and new lines inside the confirm component.",
2849
+ "shortText": "Indicates whether to preserve whitespace and new lines inside the dialog.",
3056
2850
  "tags": [
3057
2851
  {
3058
2852
  "tag": "default",
@@ -3063,7 +2857,7 @@
3063
2857
  "sources": [
3064
2858
  {
3065
2859
  "fileName": "projects/modals/src/modules/confirm/confirm-config.ts",
3066
- "line": 24,
2860
+ "line": 22,
3067
2861
  "character": 2
3068
2862
  }
3069
2863
  ],
@@ -3073,7 +2867,7 @@
3073
2867
  }
3074
2868
  },
3075
2869
  {
3076
- "id": 111,
2870
+ "id": 114,
3077
2871
  "name": "type",
3078
2872
  "kind": 1024,
3079
2873
  "kindString": "Property",
@@ -3081,18 +2875,18 @@
3081
2875
  "isOptional": true
3082
2876
  },
3083
2877
  "comment": {
3084
- "shortText": "Specifies a SkyConfirmType enum that indicates how many buttons to include in the dialog."
2878
+ "shortText": "Specifies a preset button configuration for the dialog."
3085
2879
  },
3086
2880
  "sources": [
3087
2881
  {
3088
2882
  "fileName": "projects/modals/src/modules/confirm/confirm-config.ts",
3089
- "line": 28,
2883
+ "line": 26,
3090
2884
  "character": 2
3091
2885
  }
3092
2886
  ],
3093
2887
  "type": {
3094
2888
  "type": "reference",
3095
- "id": 124,
2889
+ "id": 119,
3096
2890
  "name": "SkyConfirmType"
3097
2891
  }
3098
2892
  }
@@ -3102,11 +2896,11 @@
3102
2896
  "title": "Properties",
3103
2897
  "kind": 1024,
3104
2898
  "children": [
3105
- 108,
3106
- 109,
3107
- 107,
2899
+ 111,
2900
+ 112,
3108
2901
  110,
3109
- 111
2902
+ 113,
2903
+ 114
3110
2904
  ]
3111
2905
  }
3112
2906
  ],
@@ -3116,17 +2910,10 @@
3116
2910
  "line": 4,
3117
2911
  "character": 17
3118
2912
  }
3119
- ],
3120
- "implementedBy": [
3121
- {
3122
- "type": "reference",
3123
- "id": 116,
3124
- "name": "SkyConfirmModalContext"
3125
- }
3126
2913
  ]
3127
2914
  },
3128
2915
  {
3129
- "id": 223,
2916
+ "id": 218,
3130
2917
  "name": "SkyModalConfigurationInterface",
3131
2918
  "kind": 256,
3132
2919
  "kindString": "Interface",
@@ -3136,7 +2923,7 @@
3136
2923
  },
3137
2924
  "children": [
3138
2925
  {
3139
- "id": 227,
2926
+ "id": 222,
3140
2927
  "name": "ariaDescribedBy",
3141
2928
  "kind": 1024,
3142
2929
  "kindString": "Property",
@@ -3159,7 +2946,7 @@
3159
2946
  }
3160
2947
  },
3161
2948
  {
3162
- "id": 228,
2949
+ "id": 223,
3163
2950
  "name": "ariaLabelledBy",
3164
2951
  "kind": 1024,
3165
2952
  "kindString": "Property",
@@ -3182,7 +2969,7 @@
3182
2969
  }
3183
2970
  },
3184
2971
  {
3185
- "id": 229,
2972
+ "id": 224,
3186
2973
  "name": "ariaRole",
3187
2974
  "kind": 1024,
3188
2975
  "kindString": "Property",
@@ -3211,7 +2998,7 @@
3211
2998
  }
3212
2999
  },
3213
3000
  {
3214
- "id": 224,
3001
+ "id": 219,
3215
3002
  "name": "fullPage",
3216
3003
  "kind": 1024,
3217
3004
  "kindString": "Property",
@@ -3234,7 +3021,7 @@
3234
3021
  }
3235
3022
  },
3236
3023
  {
3237
- "id": 231,
3024
+ "id": 226,
3238
3025
  "name": "helpKey",
3239
3026
  "kind": 1024,
3240
3027
  "kindString": "Property",
@@ -3242,7 +3029,7 @@
3242
3029
  "isOptional": true
3243
3030
  },
3244
3031
  "comment": {
3245
- "shortText": "Specifies a `helpKey` string. This property dispays\nthe <i class=\"fa fa-question-circle\" aria-hidden=\"true\"></i> button in the modal header.\nWhen users click this button, the `helpOpened` event broadcasts the `helpKey` parameter.\nBlackbaud developers can use the Help Widget, which is for internal Blackbaud use only, to\n[display help content in a flyout panel](https://docs.blackbaud.com/bb-help-docs/components/modal-header)."
3032
+ "shortText": "Specifies a `helpKey` string. This property displays\nthe <i class=\"fa fa-question-circle\" aria-hidden=\"true\"></i> button in the modal header.\nWhen users click this button, the `helpOpened` event broadcasts the `helpKey` parameter.\nBlackbaud developers can use the Help Widget, which is for internal Blackbaud use only, to\n[display help content in a flyout panel](https://docs.blackbaud.com/bb-help-docs/components/modal-header)."
3246
3033
  },
3247
3034
  "sources": [
3248
3035
  {
@@ -3257,7 +3044,7 @@
3257
3044
  }
3258
3045
  },
3259
3046
  {
3260
- "id": 226,
3047
+ "id": 221,
3261
3048
  "name": "providers",
3262
3049
  "kind": 1024,
3263
3050
  "kindString": "Property",
@@ -3283,7 +3070,7 @@
3283
3070
  }
3284
3071
  },
3285
3072
  {
3286
- "id": 225,
3073
+ "id": 220,
3287
3074
  "name": "size",
3288
3075
  "kind": 1024,
3289
3076
  "kindString": "Property",
@@ -3306,7 +3093,7 @@
3306
3093
  }
3307
3094
  },
3308
3095
  {
3309
- "id": 230,
3096
+ "id": 225,
3310
3097
  "name": "tiledBody",
3311
3098
  "kind": 1024,
3312
3099
  "kindString": "Property",
@@ -3329,7 +3116,7 @@
3329
3116
  }
3330
3117
  },
3331
3118
  {
3332
- "id": 232,
3119
+ "id": 227,
3333
3120
  "name": "wrapperClass",
3334
3121
  "kind": 1024,
3335
3122
  "kindString": "Property",
@@ -3357,15 +3144,15 @@
3357
3144
  "title": "Properties",
3358
3145
  "kind": 1024,
3359
3146
  "children": [
3360
- 227,
3361
- 228,
3362
- 229,
3147
+ 222,
3148
+ 223,
3363
3149
  224,
3364
- 231,
3150
+ 219,
3365
3151
  226,
3152
+ 221,
3153
+ 220,
3366
3154
  225,
3367
- 230,
3368
- 232
3155
+ 227
3369
3156
  ]
3370
3157
  }
3371
3158
  ],
@@ -3376,41 +3163,6 @@
3376
3163
  "character": 17
3377
3164
  }
3378
3165
  ]
3379
- },
3380
- {
3381
- "id": 98,
3382
- "name": "SkyConfirmButtonAction",
3383
- "kind": 4194304,
3384
- "kindString": "Type alias",
3385
- "flags": {},
3386
- "sources": [
3387
- {
3388
- "fileName": "projects/modals/src/modules/confirm/confirm-button-action.ts",
3389
- "line": 1,
3390
- "character": 12
3391
- }
3392
- ],
3393
- "type": {
3394
- "type": "union",
3395
- "types": [
3396
- {
3397
- "type": "literal",
3398
- "value": "ok"
3399
- },
3400
- {
3401
- "type": "literal",
3402
- "value": "yes"
3403
- },
3404
- {
3405
- "type": "literal",
3406
- "value": "no"
3407
- },
3408
- {
3409
- "type": "literal",
3410
- "value": "cancel"
3411
- }
3412
- ]
3413
- }
3414
3166
  }
3415
3167
  ],
3416
3168
  "groups": [
@@ -3418,22 +3170,21 @@
3418
3170
  "title": "Enumerations",
3419
3171
  "kind": 8,
3420
3172
  "children": [
3421
- 124
3173
+ 119
3422
3174
  ]
3423
3175
  },
3424
3176
  {
3425
3177
  "title": "Classes",
3426
3178
  "kind": 128,
3427
3179
  "children": [
3428
- 112,
3429
- 116,
3430
- 129,
3431
- 132,
3432
- 139,
3433
- 146,
3434
- 188,
3435
- 233,
3436
- 236,
3180
+ 115,
3181
+ 124,
3182
+ 127,
3183
+ 134,
3184
+ 141,
3185
+ 183,
3186
+ 228,
3187
+ 231,
3437
3188
  1,
3438
3189
  21,
3439
3190
  24,
@@ -3445,25 +3196,17 @@
3445
3196
  "title": "Interfaces",
3446
3197
  "kind": 256,
3447
3198
  "children": [
3448
- 93,
3449
- 99,
3450
- 104,
3451
- 106,
3452
- 223
3453
- ]
3454
- },
3455
- {
3456
- "title": "Type aliases",
3457
- "kind": 4194304,
3458
- "children": [
3459
- 98
3199
+ 102,
3200
+ 107,
3201
+ 109,
3202
+ 218
3460
3203
  ]
3461
3204
  }
3462
3205
  ],
3463
3206
  "sources": [
3464
3207
  {
3465
3208
  "fileName": "index.ts",
3466
- "line": 1,
3209
+ "line": 2,
3467
3210
  "character": 0
3468
3211
  }
3469
3212
  ]
@@ -3472,12 +3215,12 @@
3472
3215
  {
3473
3216
  "fileName": "confirm-demo.component.html",
3474
3217
  "filePath": "/projects/modals/documentation/code-examples/confirm/confirm-demo.component.html",
3475
- "rawContents": "<div class=\"sky-margin-stacked-default\">\n <button\n aria-haspopup=\"dialog\"\n class=\"sky-btn sky-btn-default sky-margin-inline-default\"\n type=\"button\"\n (click)=\"openOKConfirm()\"\n >\n OK confirm\n </button>\n\n <button\n aria-haspopup=\"dialog\"\n class=\"sky-btn sky-btn-default sky-margin-inline-default\"\n type=\"button\"\n (click)=\"openCustomConfirm()\"\n >\n Custom confirm\n </button>\n</div>\n\n<p *ngIf=\"selectedAction && selectedText\">\n You selected the \"{{ selectedText }}\" button, which has an action of \"{{\n selectedAction\n }}.\"\n</p>\n<p *ngIf=\"selectedAction && !selectedText\">\n You selected the \"{{ selectedAction }}\" action.\n</p>\n"
3218
+ "rawContents": "<button\n aria-haspopup=\"dialog\"\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"openOKConfirm()\"\n>\n OK confirm\n</button>\n\n<button\n aria-haspopup=\"dialog\"\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"openCustomConfirm()\"\n>\n Custom confirm\n</button>\n\n<p *ngIf=\"selectedAction && selectedText\">\n You selected the \"{{ selectedText }}\" button, which has an action of \"{{\n selectedAction\n }}.\"\n</p>\n<p *ngIf=\"selectedAction && !selectedText\">\n You selected the \"{{ selectedAction }}\" action.\n</p>\n"
3476
3219
  },
3477
3220
  {
3478
3221
  "fileName": "confirm-demo.component.ts",
3479
3222
  "filePath": "/projects/modals/documentation/code-examples/confirm/confirm-demo.component.ts",
3480
- "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"
3223
+ "rawContents": "import { Component } from '@angular/core';\nimport {\n SkyConfirmButtonConfig,\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: string | undefined;\n\n public selectedText: string | undefined;\n\n constructor(private confirmService: SkyConfirmService) {}\n\n public openOKConfirm(): void {\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) => {\n this.selectedText = undefined;\n this.selectedAction = result.action;\n });\n }\n\n public openCustomConfirm(): void {\n const buttons: SkyConfirmButtonConfig[] = [\n { text: 'Save', action: 'save', styleType: 'primary' },\n { text: 'Delete', action: 'delete' },\n { text: 'Cancel', action: 'cancel', 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) => {\n this.selectedAction = result.action;\n\n for (const button of buttons) {\n if (button.action === result.action) {\n this.selectedText = button.text;\n break;\n }\n }\n });\n }\n}\n"
3481
3224
  },
3482
3225
  {
3483
3226
  "fileName": "confirm-demo.module.ts",
@@ -3487,7 +3230,7 @@
3487
3230
  {
3488
3231
  "fileName": "modal-demo-modal.component.html",
3489
3232
  "filePath": "/projects/modals/documentation/code-examples/modal/modal-demo-modal.component.html",
3490
- "rawContents": "<sky-modal>\n <sky-modal-header> Modal title </sky-modal-header>\n <sky-modal-content>\n <sky-input-box>\n <label class=\"sky-control-label\" [for]=\"myInput.id\">\n An input inside a modal\n </label>\n <input class=\"sky-form-control\" type=\"text\" skyId #myInput=\"skyId\" />\n </sky-input-box>\n </sky-modal-content>\n <sky-modal-footer>\n <button\n class=\"sky-btn sky-btn-primary sky-margin-inline-compact\"\n type=\"button\"\n (click)=\"instance.save()\"\n >\n Save\n </button>\n <button\n class=\"sky-btn sky-btn-link\"\n type=\"button\"\n (click)=\"instance.close()\"\n >\n Close\n </button>\n </sky-modal-footer>\n</sky-modal>\n"
3233
+ "rawContents": "<sky-modal>\n <sky-modal-header> Modal title </sky-modal-header>\n <sky-modal-content>\n <sky-input-box>\n <label class=\"sky-control-label\" [for]=\"myInput.id\">\n An input inside a modal\n </label>\n <input class=\"sky-form-control\" type=\"text\" skyId #myInput=\"skyId\" />\n </sky-input-box>\n </sky-modal-content>\n <sky-modal-footer>\n <button\n class=\"sky-btn sky-btn-primary sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"instance.save()\"\n >\n Save\n </button>\n <button\n class=\"sky-btn sky-btn-link\"\n type=\"button\"\n (click)=\"instance.close()\"\n >\n Close\n </button>\n </sky-modal-footer>\n</sky-modal>\n"
3491
3234
  },
3492
3235
  {
3493
3236
  "fileName": "modal-demo-modal.component.ts",