@skyux/modals 5.8.3 → 5.9.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 +19 -23
- package/documentation.json +156 -504
- package/esm2015/index.js +1 -1
- package/esm2015/index.js.map +1 -1
- package/esm2015/lib/modules/confirm/confirm-button-action.js.map +1 -1
- package/esm2015/lib/modules/confirm/confirm-button-config.js.map +1 -1
- package/esm2015/lib/modules/confirm/confirm-button.js.map +1 -1
- package/esm2015/lib/modules/confirm/confirm-closed-event-args.js.map +1 -1
- package/esm2015/lib/modules/confirm/confirm-config.js.map +1 -1
- package/esm2015/lib/modules/confirm/confirm-instance.js +2 -2
- package/esm2015/lib/modules/confirm/confirm-instance.js.map +1 -1
- package/esm2015/lib/modules/confirm/confirm-modal-context.js +3 -1
- package/esm2015/lib/modules/confirm/confirm-modal-context.js.map +1 -1
- package/esm2015/lib/modules/confirm/confirm-type.js +2 -3
- package/esm2015/lib/modules/confirm/confirm-type.js.map +1 -1
- package/esm2015/lib/modules/confirm/confirm.service.js +3 -4
- package/esm2015/lib/modules/confirm/confirm.service.js.map +1 -1
- package/esm2015/lib/modules/modal/modal-instance.js +0 -5
- package/esm2015/lib/modules/modal/modal-instance.js.map +1 -1
- package/esm2015/lib/modules/modal/modal.service.js +1 -1
- package/esm2015/lib/modules/modal/modal.service.js.map +1 -1
- package/fesm2015/skyux-modals.js +17 -20
- package/fesm2015/skyux-modals.js.map +1 -1
- package/index.d.ts +0 -1
- package/lib/modules/confirm/confirm-button-action.d.ts +3 -0
- package/lib/modules/confirm/confirm-button-config.d.ts +6 -7
- package/lib/modules/confirm/confirm-button.d.ts +4 -0
- package/lib/modules/confirm/confirm-closed-event-args.d.ts +1 -1
- package/lib/modules/confirm/confirm-config.d.ts +3 -5
- package/lib/modules/confirm/confirm-instance.d.ts +2 -2
- package/lib/modules/confirm/confirm-modal-context.d.ts +3 -0
- package/lib/modules/confirm/confirm-type.d.ts +2 -3
- package/lib/modules/confirm/confirm.service.d.ts +3 -4
- package/lib/modules/modal/modal-instance.d.ts +0 -3
- package/lib/modules/modal/modal.service.d.ts +1 -1
- package/package.json +5 -5
package/documentation.json
CHANGED
|
@@ -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":
|
|
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":
|
|
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
|
|
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":
|
|
49
|
+
"line": 5,
|
|
53
50
|
"character": 2
|
|
54
51
|
}
|
|
55
52
|
],
|
|
56
53
|
"defaultValue": "0"
|
|
57
54
|
},
|
|
58
55
|
{
|
|
59
|
-
"id":
|
|
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":
|
|
67
|
+
"line": 9,
|
|
71
68
|
"character": 2
|
|
72
69
|
}
|
|
73
70
|
],
|
|
74
71
|
"defaultValue": "1"
|
|
75
72
|
},
|
|
76
73
|
{
|
|
77
|
-
"id":
|
|
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":
|
|
91
|
+
"line": 15,
|
|
95
92
|
"character": 2
|
|
96
93
|
}
|
|
97
94
|
],
|
|
98
95
|
"defaultValue": "2"
|
|
99
96
|
},
|
|
100
97
|
{
|
|
101
|
-
"id":
|
|
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":
|
|
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
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
127
|
+
120,
|
|
128
|
+
121,
|
|
129
|
+
122,
|
|
130
|
+
123
|
|
134
131
|
]
|
|
135
132
|
}
|
|
136
133
|
],
|
|
@@ -158,7 +155,7 @@
|
|
|
158
155
|
"isPublic": true
|
|
159
156
|
},
|
|
160
157
|
"comment": {
|
|
161
|
-
"shortText": "Fires when users select an action to close the
|
|
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
|
{
|
|
@@ -208,195 +205,7 @@
|
|
|
208
205
|
]
|
|
209
206
|
},
|
|
210
207
|
{
|
|
211
|
-
"id":
|
|
212
|
-
"name": "SkyConfirmModalContext",
|
|
213
|
-
"kind": 128,
|
|
214
|
-
"kindString": "Class",
|
|
215
|
-
"flags": {},
|
|
216
|
-
"children": [
|
|
217
|
-
{
|
|
218
|
-
"id": 123,
|
|
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": 111,
|
|
242
|
-
"name": "SkyConfirmConfig.body"
|
|
243
|
-
}
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
"id": 124,
|
|
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": 102,
|
|
268
|
-
"name": "SkyConfirmButtonConfig"
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
|
-
"implementationOf": {
|
|
272
|
-
"type": "reference",
|
|
273
|
-
"id": 112,
|
|
274
|
-
"name": "SkyConfirmConfig.buttons"
|
|
275
|
-
}
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
"id": 122,
|
|
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": 110,
|
|
302
|
-
"name": "SkyConfirmConfig.message"
|
|
303
|
-
}
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
"id": 125,
|
|
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": 113,
|
|
330
|
-
"name": "SkyConfirmConfig.preserveWhiteSpace"
|
|
331
|
-
}
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
"id": 126,
|
|
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": 127,
|
|
354
|
-
"name": "SkyConfirmType"
|
|
355
|
-
},
|
|
356
|
-
"implementationOf": {
|
|
357
|
-
"type": "reference",
|
|
358
|
-
"id": 114,
|
|
359
|
-
"name": "SkyConfirmConfig.type"
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
],
|
|
363
|
-
"groups": [
|
|
364
|
-
{
|
|
365
|
-
"title": "Constructors",
|
|
366
|
-
"kind": 512,
|
|
367
|
-
"children": [
|
|
368
|
-
120
|
|
369
|
-
]
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
"title": "Properties",
|
|
373
|
-
"kind": 1024,
|
|
374
|
-
"children": [
|
|
375
|
-
123,
|
|
376
|
-
124,
|
|
377
|
-
122,
|
|
378
|
-
125,
|
|
379
|
-
126
|
|
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": 109,
|
|
394
|
-
"name": "SkyConfirmConfig"
|
|
395
|
-
}
|
|
396
|
-
]
|
|
397
|
-
},
|
|
398
|
-
{
|
|
399
|
-
"id": 132,
|
|
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
|
-
|
|
233
|
+
125
|
|
425
234
|
]
|
|
426
235
|
}
|
|
427
236
|
],
|
|
@@ -434,13 +243,13 @@
|
|
|
434
243
|
]
|
|
435
244
|
},
|
|
436
245
|
{
|
|
437
|
-
"id":
|
|
246
|
+
"id": 127,
|
|
438
247
|
"name": "SkyConfirmService",
|
|
439
248
|
"kind": 128,
|
|
440
249
|
"kindString": "Class",
|
|
441
250
|
"flags": {},
|
|
442
251
|
"comment": {
|
|
443
|
-
"shortText": "
|
|
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":
|
|
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":
|
|
278
|
+
"line": 23,
|
|
470
279
|
"character": 2
|
|
471
280
|
}
|
|
472
281
|
],
|
|
473
282
|
"signatures": [
|
|
474
283
|
{
|
|
475
|
-
"id":
|
|
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":
|
|
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":
|
|
298
|
+
"id": 231,
|
|
490
299
|
"name": "SkyModalService"
|
|
491
300
|
}
|
|
492
301
|
}
|
|
493
302
|
],
|
|
494
303
|
"type": {
|
|
495
304
|
"type": "reference",
|
|
496
|
-
"id":
|
|
305
|
+
"id": 127,
|
|
497
306
|
"name": "SkyConfirmService"
|
|
498
307
|
}
|
|
499
308
|
}
|
|
500
309
|
]
|
|
501
310
|
},
|
|
502
311
|
{
|
|
503
|
-
"id":
|
|
312
|
+
"id": 131,
|
|
504
313
|
"name": "open",
|
|
505
314
|
"kind": 2048,
|
|
506
315
|
"kindString": "Method",
|
|
@@ -510,27 +319,30 @@
|
|
|
510
319
|
"sources": [
|
|
511
320
|
{
|
|
512
321
|
"fileName": "projects/modals/src/modules/confirm/confirm.service.ts",
|
|
513
|
-
"line":
|
|
322
|
+
"line": 29,
|
|
514
323
|
"character": 9
|
|
515
324
|
}
|
|
516
325
|
],
|
|
517
326
|
"signatures": [
|
|
518
327
|
{
|
|
519
|
-
"id":
|
|
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
|
|
334
|
+
"shortText": "Opens a dialog using the specified options."
|
|
526
335
|
},
|
|
527
336
|
"parameters": [
|
|
528
337
|
{
|
|
529
|
-
"id":
|
|
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
348
|
"id": 109,
|
|
@@ -552,27 +364,27 @@
|
|
|
552
364
|
"title": "Constructors",
|
|
553
365
|
"kind": 512,
|
|
554
366
|
"children": [
|
|
555
|
-
|
|
367
|
+
128
|
|
556
368
|
]
|
|
557
369
|
},
|
|
558
370
|
{
|
|
559
371
|
"title": "Methods",
|
|
560
372
|
"kind": 2048,
|
|
561
373
|
"children": [
|
|
562
|
-
|
|
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":
|
|
381
|
+
"line": 22,
|
|
570
382
|
"character": 13
|
|
571
383
|
}
|
|
572
384
|
]
|
|
573
385
|
},
|
|
574
386
|
{
|
|
575
|
-
"id":
|
|
387
|
+
"id": 134,
|
|
576
388
|
"name": "SkyModalBeforeCloseHandler",
|
|
577
389
|
"kind": 128,
|
|
578
390
|
"kindString": "Class",
|
|
@@ -582,7 +394,7 @@
|
|
|
582
394
|
},
|
|
583
395
|
"children": [
|
|
584
396
|
{
|
|
585
|
-
"id":
|
|
397
|
+
"id": 135,
|
|
586
398
|
"name": "constructor",
|
|
587
399
|
"kind": 512,
|
|
588
400
|
"kindString": "Constructor",
|
|
@@ -596,14 +408,14 @@
|
|
|
596
408
|
],
|
|
597
409
|
"signatures": [
|
|
598
410
|
{
|
|
599
|
-
"id":
|
|
411
|
+
"id": 136,
|
|
600
412
|
"name": "new SkyModalBeforeCloseHandler",
|
|
601
413
|
"kind": 16384,
|
|
602
414
|
"kindString": "Constructor signature",
|
|
603
415
|
"flags": {},
|
|
604
416
|
"parameters": [
|
|
605
417
|
{
|
|
606
|
-
"id":
|
|
418
|
+
"id": 137,
|
|
607
419
|
"name": "closeModal",
|
|
608
420
|
"kind": 32768,
|
|
609
421
|
"kindString": "Parameter",
|
|
@@ -616,21 +428,21 @@
|
|
|
616
428
|
}
|
|
617
429
|
},
|
|
618
430
|
{
|
|
619
|
-
"id":
|
|
431
|
+
"id": 138,
|
|
620
432
|
"name": "closeArgs",
|
|
621
433
|
"kind": 32768,
|
|
622
434
|
"kindString": "Parameter",
|
|
623
435
|
"flags": {},
|
|
624
436
|
"type": {
|
|
625
437
|
"type": "reference",
|
|
626
|
-
"id":
|
|
438
|
+
"id": 141,
|
|
627
439
|
"name": "SkyModalCloseArgs"
|
|
628
440
|
}
|
|
629
441
|
}
|
|
630
442
|
],
|
|
631
443
|
"type": {
|
|
632
444
|
"type": "reference",
|
|
633
|
-
"id":
|
|
445
|
+
"id": 134,
|
|
634
446
|
"name": "SkyModalBeforeCloseHandler"
|
|
635
447
|
}
|
|
636
448
|
}
|
|
@@ -642,15 +454,15 @@
|
|
|
642
454
|
"title": "Constructors",
|
|
643
455
|
"kind": 512,
|
|
644
456
|
"children": [
|
|
645
|
-
|
|
457
|
+
135
|
|
646
458
|
]
|
|
647
459
|
},
|
|
648
460
|
{
|
|
649
461
|
"title": "Properties",
|
|
650
462
|
"kind": 1024,
|
|
651
463
|
"children": [
|
|
652
|
-
|
|
653
|
-
|
|
464
|
+
140,
|
|
465
|
+
139
|
|
654
466
|
]
|
|
655
467
|
}
|
|
656
468
|
],
|
|
@@ -663,7 +475,7 @@
|
|
|
663
475
|
]
|
|
664
476
|
},
|
|
665
477
|
{
|
|
666
|
-
"id":
|
|
478
|
+
"id": 141,
|
|
667
479
|
"name": "SkyModalCloseArgs",
|
|
668
480
|
"kind": 128,
|
|
669
481
|
"kindString": "Class",
|
|
@@ -673,7 +485,7 @@
|
|
|
673
485
|
},
|
|
674
486
|
"children": [
|
|
675
487
|
{
|
|
676
|
-
"id":
|
|
488
|
+
"id": 145,
|
|
677
489
|
"name": "data",
|
|
678
490
|
"kind": 1024,
|
|
679
491
|
"kindString": "Property",
|
|
@@ -696,7 +508,7 @@
|
|
|
696
508
|
}
|
|
697
509
|
},
|
|
698
510
|
{
|
|
699
|
-
"id":
|
|
511
|
+
"id": 144,
|
|
700
512
|
"name": "reason",
|
|
701
513
|
"kind": 1024,
|
|
702
514
|
"kindString": "Property",
|
|
@@ -724,15 +536,15 @@
|
|
|
724
536
|
"title": "Constructors",
|
|
725
537
|
"kind": 512,
|
|
726
538
|
"children": [
|
|
727
|
-
|
|
539
|
+
142
|
|
728
540
|
]
|
|
729
541
|
},
|
|
730
542
|
{
|
|
731
543
|
"title": "Properties",
|
|
732
544
|
"kind": 1024,
|
|
733
545
|
"children": [
|
|
734
|
-
|
|
735
|
-
|
|
546
|
+
145,
|
|
547
|
+
144
|
|
736
548
|
]
|
|
737
549
|
}
|
|
738
550
|
],
|
|
@@ -745,17 +557,14 @@
|
|
|
745
557
|
]
|
|
746
558
|
},
|
|
747
559
|
{
|
|
748
|
-
"id":
|
|
560
|
+
"id": 183,
|
|
749
561
|
"name": "SkyModalInstance",
|
|
750
562
|
"kind": 128,
|
|
751
563
|
"kindString": "Class",
|
|
752
564
|
"flags": {},
|
|
753
|
-
"comment": {
|
|
754
|
-
"shortText": "Allows you to close the modal and return data from the launched modal."
|
|
755
|
-
},
|
|
756
565
|
"children": [
|
|
757
566
|
{
|
|
758
|
-
"id":
|
|
567
|
+
"id": 192,
|
|
759
568
|
"name": "componentInstance",
|
|
760
569
|
"kind": 1024,
|
|
761
570
|
"kindString": "Property",
|
|
@@ -768,7 +577,7 @@
|
|
|
768
577
|
"sources": [
|
|
769
578
|
{
|
|
770
579
|
"fileName": "projects/modals/src/modules/modal/modal-instance.ts",
|
|
771
|
-
"line":
|
|
580
|
+
"line": 41,
|
|
772
581
|
"character": 9
|
|
773
582
|
}
|
|
774
583
|
],
|
|
@@ -778,7 +587,7 @@
|
|
|
778
587
|
}
|
|
779
588
|
},
|
|
780
589
|
{
|
|
781
|
-
"id":
|
|
590
|
+
"id": 186,
|
|
782
591
|
"name": "beforeClose",
|
|
783
592
|
"kind": 262144,
|
|
784
593
|
"kindString": "Accessor",
|
|
@@ -788,13 +597,13 @@
|
|
|
788
597
|
"sources": [
|
|
789
598
|
{
|
|
790
599
|
"fileName": "projects/modals/src/modules/modal/modal-instance.ts",
|
|
791
|
-
"line":
|
|
600
|
+
"line": 13,
|
|
792
601
|
"character": 13
|
|
793
602
|
}
|
|
794
603
|
],
|
|
795
604
|
"getSignature": [
|
|
796
605
|
{
|
|
797
|
-
"id":
|
|
606
|
+
"id": 187,
|
|
798
607
|
"name": "beforeClose",
|
|
799
608
|
"kind": 524288,
|
|
800
609
|
"kindString": "Get signature",
|
|
@@ -807,7 +616,7 @@
|
|
|
807
616
|
"typeArguments": [
|
|
808
617
|
{
|
|
809
618
|
"type": "reference",
|
|
810
|
-
"id":
|
|
619
|
+
"id": 134,
|
|
811
620
|
"name": "SkyModalBeforeCloseHandler"
|
|
812
621
|
}
|
|
813
622
|
],
|
|
@@ -819,7 +628,7 @@
|
|
|
819
628
|
]
|
|
820
629
|
},
|
|
821
630
|
{
|
|
822
|
-
"id":
|
|
631
|
+
"id": 188,
|
|
823
632
|
"name": "closed",
|
|
824
633
|
"kind": 262144,
|
|
825
634
|
"kindString": "Accessor",
|
|
@@ -829,13 +638,13 @@
|
|
|
829
638
|
"sources": [
|
|
830
639
|
{
|
|
831
640
|
"fileName": "projects/modals/src/modules/modal/modal-instance.ts",
|
|
832
|
-
"line":
|
|
641
|
+
"line": 25,
|
|
833
642
|
"character": 13
|
|
834
643
|
}
|
|
835
644
|
],
|
|
836
645
|
"getSignature": [
|
|
837
646
|
{
|
|
838
|
-
"id":
|
|
647
|
+
"id": 189,
|
|
839
648
|
"name": "closed",
|
|
840
649
|
"kind": 524288,
|
|
841
650
|
"kindString": "Get signature",
|
|
@@ -848,7 +657,7 @@
|
|
|
848
657
|
"typeArguments": [
|
|
849
658
|
{
|
|
850
659
|
"type": "reference",
|
|
851
|
-
"id":
|
|
660
|
+
"id": 141,
|
|
852
661
|
"name": "SkyModalCloseArgs"
|
|
853
662
|
}
|
|
854
663
|
],
|
|
@@ -860,7 +669,7 @@
|
|
|
860
669
|
]
|
|
861
670
|
},
|
|
862
671
|
{
|
|
863
|
-
"id":
|
|
672
|
+
"id": 190,
|
|
864
673
|
"name": "helpOpened",
|
|
865
674
|
"kind": 262144,
|
|
866
675
|
"kindString": "Accessor",
|
|
@@ -870,13 +679,13 @@
|
|
|
870
679
|
"sources": [
|
|
871
680
|
{
|
|
872
681
|
"fileName": "projects/modals/src/modules/modal/modal-instance.ts",
|
|
873
|
-
"line":
|
|
682
|
+
"line": 34,
|
|
874
683
|
"character": 13
|
|
875
684
|
}
|
|
876
685
|
],
|
|
877
686
|
"getSignature": [
|
|
878
687
|
{
|
|
879
|
-
"id":
|
|
688
|
+
"id": 191,
|
|
880
689
|
"name": "helpOpened",
|
|
881
690
|
"kind": 524288,
|
|
882
691
|
"kindString": "Get signature",
|
|
@@ -900,7 +709,7 @@
|
|
|
900
709
|
]
|
|
901
710
|
},
|
|
902
711
|
{
|
|
903
|
-
"id":
|
|
712
|
+
"id": 201,
|
|
904
713
|
"name": "cancel",
|
|
905
714
|
"kind": 2048,
|
|
906
715
|
"kindString": "Method",
|
|
@@ -910,13 +719,13 @@
|
|
|
910
719
|
"sources": [
|
|
911
720
|
{
|
|
912
721
|
"fileName": "projects/modals/src/modules/modal/modal-instance.ts",
|
|
913
|
-
"line":
|
|
722
|
+
"line": 75,
|
|
914
723
|
"character": 9
|
|
915
724
|
}
|
|
916
725
|
],
|
|
917
726
|
"signatures": [
|
|
918
727
|
{
|
|
919
|
-
"id":
|
|
728
|
+
"id": 202,
|
|
920
729
|
"name": "cancel",
|
|
921
730
|
"kind": 4096,
|
|
922
731
|
"kindString": "Call signature",
|
|
@@ -926,7 +735,7 @@
|
|
|
926
735
|
},
|
|
927
736
|
"parameters": [
|
|
928
737
|
{
|
|
929
|
-
"id":
|
|
738
|
+
"id": 203,
|
|
930
739
|
"name": "result",
|
|
931
740
|
"kind": 32768,
|
|
932
741
|
"kindString": "Parameter",
|
|
@@ -950,7 +759,7 @@
|
|
|
950
759
|
]
|
|
951
760
|
},
|
|
952
761
|
{
|
|
953
|
-
"id":
|
|
762
|
+
"id": 196,
|
|
954
763
|
"name": "close",
|
|
955
764
|
"kind": 2048,
|
|
956
765
|
"kindString": "Method",
|
|
@@ -960,13 +769,13 @@
|
|
|
960
769
|
"sources": [
|
|
961
770
|
{
|
|
962
771
|
"fileName": "projects/modals/src/modules/modal/modal-instance.ts",
|
|
963
|
-
"line":
|
|
772
|
+
"line": 57,
|
|
964
773
|
"character": 9
|
|
965
774
|
}
|
|
966
775
|
],
|
|
967
776
|
"signatures": [
|
|
968
777
|
{
|
|
969
|
-
"id":
|
|
778
|
+
"id": 197,
|
|
970
779
|
"name": "close",
|
|
971
780
|
"kind": 4096,
|
|
972
781
|
"kindString": "Call signature",
|
|
@@ -976,7 +785,7 @@
|
|
|
976
785
|
},
|
|
977
786
|
"parameters": [
|
|
978
787
|
{
|
|
979
|
-
"id":
|
|
788
|
+
"id": 198,
|
|
980
789
|
"name": "result",
|
|
981
790
|
"kind": 32768,
|
|
982
791
|
"kindString": "Parameter",
|
|
@@ -992,7 +801,7 @@
|
|
|
992
801
|
}
|
|
993
802
|
},
|
|
994
803
|
{
|
|
995
|
-
"id":
|
|
804
|
+
"id": 199,
|
|
996
805
|
"name": "reason",
|
|
997
806
|
"kind": 32768,
|
|
998
807
|
"kindString": "Parameter",
|
|
@@ -1008,7 +817,7 @@
|
|
|
1008
817
|
}
|
|
1009
818
|
},
|
|
1010
819
|
{
|
|
1011
|
-
"id":
|
|
820
|
+
"id": 200,
|
|
1012
821
|
"name": "ignoreBeforeClose",
|
|
1013
822
|
"kind": 32768,
|
|
1014
823
|
"kindString": "Parameter",
|
|
@@ -1032,7 +841,7 @@
|
|
|
1032
841
|
]
|
|
1033
842
|
},
|
|
1034
843
|
{
|
|
1035
|
-
"id":
|
|
844
|
+
"id": 207,
|
|
1036
845
|
"name": "openHelp",
|
|
1037
846
|
"kind": 2048,
|
|
1038
847
|
"kindString": "Method",
|
|
@@ -1042,13 +851,13 @@
|
|
|
1042
851
|
"sources": [
|
|
1043
852
|
{
|
|
1044
853
|
"fileName": "projects/modals/src/modules/modal/modal-instance.ts",
|
|
1045
|
-
"line":
|
|
854
|
+
"line": 96,
|
|
1046
855
|
"character": 9
|
|
1047
856
|
}
|
|
1048
857
|
],
|
|
1049
858
|
"signatures": [
|
|
1050
859
|
{
|
|
1051
|
-
"id":
|
|
860
|
+
"id": 208,
|
|
1052
861
|
"name": "openHelp",
|
|
1053
862
|
"kind": 4096,
|
|
1054
863
|
"kindString": "Call signature",
|
|
@@ -1058,7 +867,7 @@
|
|
|
1058
867
|
},
|
|
1059
868
|
"parameters": [
|
|
1060
869
|
{
|
|
1061
|
-
"id":
|
|
870
|
+
"id": 209,
|
|
1062
871
|
"name": "helpKey",
|
|
1063
872
|
"kind": 32768,
|
|
1064
873
|
"kindString": "Parameter",
|
|
@@ -1082,7 +891,7 @@
|
|
|
1082
891
|
]
|
|
1083
892
|
},
|
|
1084
893
|
{
|
|
1085
|
-
"id":
|
|
894
|
+
"id": 204,
|
|
1086
895
|
"name": "save",
|
|
1087
896
|
"kind": 2048,
|
|
1088
897
|
"kindString": "Method",
|
|
@@ -1092,13 +901,13 @@
|
|
|
1092
901
|
"sources": [
|
|
1093
902
|
{
|
|
1094
903
|
"fileName": "projects/modals/src/modules/modal/modal-instance.ts",
|
|
1095
|
-
"line":
|
|
904
|
+
"line": 85,
|
|
1096
905
|
"character": 9
|
|
1097
906
|
}
|
|
1098
907
|
],
|
|
1099
908
|
"signatures": [
|
|
1100
909
|
{
|
|
1101
|
-
"id":
|
|
910
|
+
"id": 205,
|
|
1102
911
|
"name": "save",
|
|
1103
912
|
"kind": 4096,
|
|
1104
913
|
"kindString": "Call signature",
|
|
@@ -1108,7 +917,7 @@
|
|
|
1108
917
|
},
|
|
1109
918
|
"parameters": [
|
|
1110
919
|
{
|
|
1111
|
-
"id":
|
|
920
|
+
"id": 206,
|
|
1112
921
|
"name": "result",
|
|
1113
922
|
"kind": 32768,
|
|
1114
923
|
"kindString": "Parameter",
|
|
@@ -1137,46 +946,46 @@
|
|
|
1137
946
|
"title": "Constructors",
|
|
1138
947
|
"kind": 512,
|
|
1139
948
|
"children": [
|
|
1140
|
-
|
|
949
|
+
184
|
|
1141
950
|
]
|
|
1142
951
|
},
|
|
1143
952
|
{
|
|
1144
953
|
"title": "Properties",
|
|
1145
954
|
"kind": 1024,
|
|
1146
955
|
"children": [
|
|
1147
|
-
|
|
956
|
+
192
|
|
1148
957
|
]
|
|
1149
958
|
},
|
|
1150
959
|
{
|
|
1151
960
|
"title": "Accessors",
|
|
1152
961
|
"kind": 262144,
|
|
1153
962
|
"children": [
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
963
|
+
186,
|
|
964
|
+
188,
|
|
965
|
+
190
|
|
1157
966
|
]
|
|
1158
967
|
},
|
|
1159
968
|
{
|
|
1160
969
|
"title": "Methods",
|
|
1161
970
|
"kind": 2048,
|
|
1162
971
|
"children": [
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
972
|
+
201,
|
|
973
|
+
196,
|
|
974
|
+
207,
|
|
975
|
+
204
|
|
1167
976
|
]
|
|
1168
977
|
}
|
|
1169
978
|
],
|
|
1170
979
|
"sources": [
|
|
1171
980
|
{
|
|
1172
981
|
"fileName": "projects/modals/src/modules/modal/modal-instance.ts",
|
|
1173
|
-
"line":
|
|
982
|
+
"line": 6,
|
|
1174
983
|
"character": 13
|
|
1175
984
|
}
|
|
1176
985
|
]
|
|
1177
986
|
},
|
|
1178
987
|
{
|
|
1179
|
-
"id":
|
|
988
|
+
"id": 228,
|
|
1180
989
|
"name": "SkyModalModule",
|
|
1181
990
|
"kind": 128,
|
|
1182
991
|
"kindString": "Class",
|
|
@@ -1201,7 +1010,7 @@
|
|
|
1201
1010
|
"title": "Constructors",
|
|
1202
1011
|
"kind": 512,
|
|
1203
1012
|
"children": [
|
|
1204
|
-
|
|
1013
|
+
229
|
|
1205
1014
|
]
|
|
1206
1015
|
}
|
|
1207
1016
|
],
|
|
@@ -1214,7 +1023,7 @@
|
|
|
1214
1023
|
]
|
|
1215
1024
|
},
|
|
1216
1025
|
{
|
|
1217
|
-
"id":
|
|
1026
|
+
"id": 231,
|
|
1218
1027
|
"name": "SkyModalService",
|
|
1219
1028
|
"kind": 128,
|
|
1220
1029
|
"kindString": "Class",
|
|
@@ -1244,7 +1053,7 @@
|
|
|
1244
1053
|
],
|
|
1245
1054
|
"children": [
|
|
1246
1055
|
{
|
|
1247
|
-
"id":
|
|
1056
|
+
"id": 233,
|
|
1248
1057
|
"name": "constructor",
|
|
1249
1058
|
"kind": 512,
|
|
1250
1059
|
"kindString": "Constructor",
|
|
@@ -1258,14 +1067,14 @@
|
|
|
1258
1067
|
],
|
|
1259
1068
|
"signatures": [
|
|
1260
1069
|
{
|
|
1261
|
-
"id":
|
|
1070
|
+
"id": 234,
|
|
1262
1071
|
"name": "new SkyModalService",
|
|
1263
1072
|
"kind": 16384,
|
|
1264
1073
|
"kindString": "Constructor signature",
|
|
1265
1074
|
"flags": {},
|
|
1266
1075
|
"parameters": [
|
|
1267
1076
|
{
|
|
1268
|
-
"id":
|
|
1077
|
+
"id": 235,
|
|
1269
1078
|
"name": "dynamicComponentService",
|
|
1270
1079
|
"kind": 32768,
|
|
1271
1080
|
"kindString": "Parameter",
|
|
@@ -1280,14 +1089,14 @@
|
|
|
1280
1089
|
],
|
|
1281
1090
|
"type": {
|
|
1282
1091
|
"type": "reference",
|
|
1283
|
-
"id":
|
|
1092
|
+
"id": 231,
|
|
1284
1093
|
"name": "SkyModalService"
|
|
1285
1094
|
}
|
|
1286
1095
|
}
|
|
1287
1096
|
]
|
|
1288
1097
|
},
|
|
1289
1098
|
{
|
|
1290
|
-
"id":
|
|
1099
|
+
"id": 238,
|
|
1291
1100
|
"name": "open",
|
|
1292
1101
|
"kind": 2048,
|
|
1293
1102
|
"kindString": "Method",
|
|
@@ -1303,7 +1112,7 @@
|
|
|
1303
1112
|
],
|
|
1304
1113
|
"signatures": [
|
|
1305
1114
|
{
|
|
1306
|
-
"id":
|
|
1115
|
+
"id": 239,
|
|
1307
1116
|
"name": "open",
|
|
1308
1117
|
"kind": 4096,
|
|
1309
1118
|
"kindString": "Call signature",
|
|
@@ -1313,7 +1122,7 @@
|
|
|
1313
1122
|
},
|
|
1314
1123
|
"parameters": [
|
|
1315
1124
|
{
|
|
1316
|
-
"id":
|
|
1125
|
+
"id": 240,
|
|
1317
1126
|
"name": "component",
|
|
1318
1127
|
"kind": 32768,
|
|
1319
1128
|
"kindString": "Parameter",
|
|
@@ -1327,7 +1136,7 @@
|
|
|
1327
1136
|
}
|
|
1328
1137
|
},
|
|
1329
1138
|
{
|
|
1330
|
-
"id":
|
|
1139
|
+
"id": 241,
|
|
1331
1140
|
"name": "config",
|
|
1332
1141
|
"kind": 32768,
|
|
1333
1142
|
"kindString": "Parameter",
|
|
@@ -1335,7 +1144,7 @@
|
|
|
1335
1144
|
"isOptional": true
|
|
1336
1145
|
},
|
|
1337
1146
|
"comment": {
|
|
1338
|
-
"shortText": "
|
|
1147
|
+
"shortText": "Specifies configuration options for the modal.\n"
|
|
1339
1148
|
},
|
|
1340
1149
|
"type": {
|
|
1341
1150
|
"type": "union",
|
|
@@ -1349,7 +1158,7 @@
|
|
|
1349
1158
|
},
|
|
1350
1159
|
{
|
|
1351
1160
|
"type": "reference",
|
|
1352
|
-
"id":
|
|
1161
|
+
"id": 218,
|
|
1353
1162
|
"name": "SkyModalConfigurationInterface"
|
|
1354
1163
|
}
|
|
1355
1164
|
]
|
|
@@ -1358,7 +1167,7 @@
|
|
|
1358
1167
|
],
|
|
1359
1168
|
"type": {
|
|
1360
1169
|
"type": "reference",
|
|
1361
|
-
"id":
|
|
1170
|
+
"id": 183,
|
|
1362
1171
|
"name": "SkyModalInstance"
|
|
1363
1172
|
}
|
|
1364
1173
|
}
|
|
@@ -1370,14 +1179,14 @@
|
|
|
1370
1179
|
"title": "Constructors",
|
|
1371
1180
|
"kind": 512,
|
|
1372
1181
|
"children": [
|
|
1373
|
-
|
|
1182
|
+
233
|
|
1374
1183
|
]
|
|
1375
1184
|
},
|
|
1376
1185
|
{
|
|
1377
1186
|
"title": "Methods",
|
|
1378
1187
|
"kind": 2048,
|
|
1379
1188
|
"children": [
|
|
1380
|
-
|
|
1189
|
+
238
|
|
1381
1190
|
]
|
|
1382
1191
|
}
|
|
1383
1192
|
],
|
|
@@ -1439,7 +1248,6 @@
|
|
|
1439
1248
|
"flags": {},
|
|
1440
1249
|
"type": {
|
|
1441
1250
|
"type": "reference",
|
|
1442
|
-
"id": 119,
|
|
1443
1251
|
"name": "SkyConfirmModalContext"
|
|
1444
1252
|
}
|
|
1445
1253
|
},
|
|
@@ -1451,7 +1259,7 @@
|
|
|
1451
1259
|
"flags": {},
|
|
1452
1260
|
"type": {
|
|
1453
1261
|
"type": "reference",
|
|
1454
|
-
"id":
|
|
1262
|
+
"id": 183,
|
|
1455
1263
|
"name": "SkyModalInstance"
|
|
1456
1264
|
}
|
|
1457
1265
|
},
|
|
@@ -1526,7 +1334,6 @@
|
|
|
1526
1334
|
"type": "array",
|
|
1527
1335
|
"elementType": {
|
|
1528
1336
|
"type": "reference",
|
|
1529
|
-
"id": 96,
|
|
1530
1337
|
"name": "SkyConfirmButton"
|
|
1531
1338
|
}
|
|
1532
1339
|
}
|
|
@@ -1603,7 +1410,6 @@
|
|
|
1603
1410
|
"flags": {},
|
|
1604
1411
|
"type": {
|
|
1605
1412
|
"type": "reference",
|
|
1606
|
-
"id": 96,
|
|
1607
1413
|
"name": "SkyConfirmButton"
|
|
1608
1414
|
}
|
|
1609
1415
|
}
|
|
@@ -2785,109 +2591,6 @@
|
|
|
2785
2591
|
}
|
|
2786
2592
|
]
|
|
2787
2593
|
},
|
|
2788
|
-
{
|
|
2789
|
-
"id": 96,
|
|
2790
|
-
"name": "SkyConfirmButton",
|
|
2791
|
-
"kind": 256,
|
|
2792
|
-
"kindString": "Interface",
|
|
2793
|
-
"flags": {},
|
|
2794
|
-
"children": [
|
|
2795
|
-
{
|
|
2796
|
-
"id": 97,
|
|
2797
|
-
"name": "action",
|
|
2798
|
-
"kind": 1024,
|
|
2799
|
-
"kindString": "Property",
|
|
2800
|
-
"flags": {},
|
|
2801
|
-
"sources": [
|
|
2802
|
-
{
|
|
2803
|
-
"fileName": "projects/modals/src/modules/confirm/confirm-button.ts",
|
|
2804
|
-
"line": 4,
|
|
2805
|
-
"character": 2
|
|
2806
|
-
}
|
|
2807
|
-
],
|
|
2808
|
-
"type": {
|
|
2809
|
-
"type": "reference",
|
|
2810
|
-
"id": 101,
|
|
2811
|
-
"name": "SkyConfirmButtonAction"
|
|
2812
|
-
}
|
|
2813
|
-
},
|
|
2814
|
-
{
|
|
2815
|
-
"id": 100,
|
|
2816
|
-
"name": "autofocus",
|
|
2817
|
-
"kind": 1024,
|
|
2818
|
-
"kindString": "Property",
|
|
2819
|
-
"flags": {
|
|
2820
|
-
"isOptional": true
|
|
2821
|
-
},
|
|
2822
|
-
"sources": [
|
|
2823
|
-
{
|
|
2824
|
-
"fileName": "projects/modals/src/modules/confirm/confirm-button.ts",
|
|
2825
|
-
"line": 7,
|
|
2826
|
-
"character": 2
|
|
2827
|
-
}
|
|
2828
|
-
],
|
|
2829
|
-
"type": {
|
|
2830
|
-
"type": "intrinsic",
|
|
2831
|
-
"name": "boolean"
|
|
2832
|
-
}
|
|
2833
|
-
},
|
|
2834
|
-
{
|
|
2835
|
-
"id": 98,
|
|
2836
|
-
"name": "styleType",
|
|
2837
|
-
"kind": 1024,
|
|
2838
|
-
"kindString": "Property",
|
|
2839
|
-
"flags": {},
|
|
2840
|
-
"sources": [
|
|
2841
|
-
{
|
|
2842
|
-
"fileName": "projects/modals/src/modules/confirm/confirm-button.ts",
|
|
2843
|
-
"line": 5,
|
|
2844
|
-
"character": 2
|
|
2845
|
-
}
|
|
2846
|
-
],
|
|
2847
|
-
"type": {
|
|
2848
|
-
"type": "intrinsic",
|
|
2849
|
-
"name": "string"
|
|
2850
|
-
}
|
|
2851
|
-
},
|
|
2852
|
-
{
|
|
2853
|
-
"id": 99,
|
|
2854
|
-
"name": "text",
|
|
2855
|
-
"kind": 1024,
|
|
2856
|
-
"kindString": "Property",
|
|
2857
|
-
"flags": {},
|
|
2858
|
-
"sources": [
|
|
2859
|
-
{
|
|
2860
|
-
"fileName": "projects/modals/src/modules/confirm/confirm-button.ts",
|
|
2861
|
-
"line": 6,
|
|
2862
|
-
"character": 2
|
|
2863
|
-
}
|
|
2864
|
-
],
|
|
2865
|
-
"type": {
|
|
2866
|
-
"type": "intrinsic",
|
|
2867
|
-
"name": "string"
|
|
2868
|
-
}
|
|
2869
|
-
}
|
|
2870
|
-
],
|
|
2871
|
-
"groups": [
|
|
2872
|
-
{
|
|
2873
|
-
"title": "Properties",
|
|
2874
|
-
"kind": 1024,
|
|
2875
|
-
"children": [
|
|
2876
|
-
97,
|
|
2877
|
-
100,
|
|
2878
|
-
98,
|
|
2879
|
-
99
|
|
2880
|
-
]
|
|
2881
|
-
}
|
|
2882
|
-
],
|
|
2883
|
-
"sources": [
|
|
2884
|
-
{
|
|
2885
|
-
"fileName": "projects/modals/src/modules/confirm/confirm-button.ts",
|
|
2886
|
-
"line": 3,
|
|
2887
|
-
"character": 17
|
|
2888
|
-
}
|
|
2889
|
-
]
|
|
2890
|
-
},
|
|
2891
2594
|
{
|
|
2892
2595
|
"id": 102,
|
|
2893
2596
|
"name": "SkyConfirmButtonConfig",
|
|
@@ -2902,7 +2605,7 @@
|
|
|
2902
2605
|
"kindString": "Property",
|
|
2903
2606
|
"flags": {},
|
|
2904
2607
|
"comment": {
|
|
2905
|
-
"shortText": "Specifies an identifier to return when users select the button to close the\
|
|
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."
|
|
2906
2609
|
},
|
|
2907
2610
|
"sources": [
|
|
2908
2611
|
{
|
|
@@ -2930,7 +2633,7 @@
|
|
|
2930
2633
|
"sources": [
|
|
2931
2634
|
{
|
|
2932
2635
|
"fileName": "projects/modals/src/modules/confirm/confirm-button-config.ts",
|
|
2933
|
-
"line":
|
|
2636
|
+
"line": 21,
|
|
2934
2637
|
"character": 2
|
|
2935
2638
|
}
|
|
2936
2639
|
],
|
|
@@ -2948,12 +2651,12 @@
|
|
|
2948
2651
|
"isOptional": true
|
|
2949
2652
|
},
|
|
2950
2653
|
"comment": {
|
|
2951
|
-
"shortText": "Specifies a
|
|
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."
|
|
2952
2655
|
},
|
|
2953
2656
|
"sources": [
|
|
2954
2657
|
{
|
|
2955
2658
|
"fileName": "projects/modals/src/modules/confirm/confirm-button-config.ts",
|
|
2956
|
-
"line":
|
|
2659
|
+
"line": 17,
|
|
2957
2660
|
"character": 2
|
|
2958
2661
|
}
|
|
2959
2662
|
],
|
|
@@ -3018,7 +2721,7 @@
|
|
|
3018
2721
|
"kindString": "Property",
|
|
3019
2722
|
"flags": {},
|
|
3020
2723
|
"comment": {
|
|
3021
|
-
"shortText": "The identifier for the button that users selected to close the
|
|
2724
|
+
"shortText": "The identifier for the button that users selected to close the dialog."
|
|
3022
2725
|
},
|
|
3023
2726
|
"sources": [
|
|
3024
2727
|
{
|
|
@@ -3089,12 +2792,12 @@
|
|
|
3089
2792
|
"isOptional": true
|
|
3090
2793
|
},
|
|
3091
2794
|
"comment": {
|
|
3092
|
-
"shortText": "Specifies
|
|
2795
|
+
"shortText": "Specifies a list of buttons to display when the `type` property is set to `SkyConfirmType.Custom`."
|
|
3093
2796
|
},
|
|
3094
2797
|
"sources": [
|
|
3095
2798
|
{
|
|
3096
2799
|
"fileName": "projects/modals/src/modules/confirm/confirm-config.ts",
|
|
3097
|
-
"line":
|
|
2800
|
+
"line": 17,
|
|
3098
2801
|
"character": 2
|
|
3099
2802
|
}
|
|
3100
2803
|
],
|
|
@@ -3143,7 +2846,7 @@
|
|
|
3143
2846
|
"isOptional": true
|
|
3144
2847
|
},
|
|
3145
2848
|
"comment": {
|
|
3146
|
-
"shortText": "Indicates whether to preserve whitespace and new lines inside the
|
|
2849
|
+
"shortText": "Indicates whether to preserve whitespace and new lines inside the dialog.",
|
|
3147
2850
|
"tags": [
|
|
3148
2851
|
{
|
|
3149
2852
|
"tag": "default",
|
|
@@ -3154,7 +2857,7 @@
|
|
|
3154
2857
|
"sources": [
|
|
3155
2858
|
{
|
|
3156
2859
|
"fileName": "projects/modals/src/modules/confirm/confirm-config.ts",
|
|
3157
|
-
"line":
|
|
2860
|
+
"line": 22,
|
|
3158
2861
|
"character": 2
|
|
3159
2862
|
}
|
|
3160
2863
|
],
|
|
@@ -3172,18 +2875,18 @@
|
|
|
3172
2875
|
"isOptional": true
|
|
3173
2876
|
},
|
|
3174
2877
|
"comment": {
|
|
3175
|
-
"shortText": "Specifies a
|
|
2878
|
+
"shortText": "Specifies a preset button configuration for the dialog."
|
|
3176
2879
|
},
|
|
3177
2880
|
"sources": [
|
|
3178
2881
|
{
|
|
3179
2882
|
"fileName": "projects/modals/src/modules/confirm/confirm-config.ts",
|
|
3180
|
-
"line":
|
|
2883
|
+
"line": 26,
|
|
3181
2884
|
"character": 2
|
|
3182
2885
|
}
|
|
3183
2886
|
],
|
|
3184
2887
|
"type": {
|
|
3185
2888
|
"type": "reference",
|
|
3186
|
-
"id":
|
|
2889
|
+
"id": 119,
|
|
3187
2890
|
"name": "SkyConfirmType"
|
|
3188
2891
|
}
|
|
3189
2892
|
}
|
|
@@ -3207,17 +2910,10 @@
|
|
|
3207
2910
|
"line": 4,
|
|
3208
2911
|
"character": 17
|
|
3209
2912
|
}
|
|
3210
|
-
],
|
|
3211
|
-
"implementedBy": [
|
|
3212
|
-
{
|
|
3213
|
-
"type": "reference",
|
|
3214
|
-
"id": 119,
|
|
3215
|
-
"name": "SkyConfirmModalContext"
|
|
3216
|
-
}
|
|
3217
2913
|
]
|
|
3218
2914
|
},
|
|
3219
2915
|
{
|
|
3220
|
-
"id":
|
|
2916
|
+
"id": 218,
|
|
3221
2917
|
"name": "SkyModalConfigurationInterface",
|
|
3222
2918
|
"kind": 256,
|
|
3223
2919
|
"kindString": "Interface",
|
|
@@ -3227,7 +2923,7 @@
|
|
|
3227
2923
|
},
|
|
3228
2924
|
"children": [
|
|
3229
2925
|
{
|
|
3230
|
-
"id":
|
|
2926
|
+
"id": 222,
|
|
3231
2927
|
"name": "ariaDescribedBy",
|
|
3232
2928
|
"kind": 1024,
|
|
3233
2929
|
"kindString": "Property",
|
|
@@ -3250,7 +2946,7 @@
|
|
|
3250
2946
|
}
|
|
3251
2947
|
},
|
|
3252
2948
|
{
|
|
3253
|
-
"id":
|
|
2949
|
+
"id": 223,
|
|
3254
2950
|
"name": "ariaLabelledBy",
|
|
3255
2951
|
"kind": 1024,
|
|
3256
2952
|
"kindString": "Property",
|
|
@@ -3273,7 +2969,7 @@
|
|
|
3273
2969
|
}
|
|
3274
2970
|
},
|
|
3275
2971
|
{
|
|
3276
|
-
"id":
|
|
2972
|
+
"id": 224,
|
|
3277
2973
|
"name": "ariaRole",
|
|
3278
2974
|
"kind": 1024,
|
|
3279
2975
|
"kindString": "Property",
|
|
@@ -3302,7 +2998,7 @@
|
|
|
3302
2998
|
}
|
|
3303
2999
|
},
|
|
3304
3000
|
{
|
|
3305
|
-
"id":
|
|
3001
|
+
"id": 219,
|
|
3306
3002
|
"name": "fullPage",
|
|
3307
3003
|
"kind": 1024,
|
|
3308
3004
|
"kindString": "Property",
|
|
@@ -3325,7 +3021,7 @@
|
|
|
3325
3021
|
}
|
|
3326
3022
|
},
|
|
3327
3023
|
{
|
|
3328
|
-
"id":
|
|
3024
|
+
"id": 226,
|
|
3329
3025
|
"name": "helpKey",
|
|
3330
3026
|
"kind": 1024,
|
|
3331
3027
|
"kindString": "Property",
|
|
@@ -3348,7 +3044,7 @@
|
|
|
3348
3044
|
}
|
|
3349
3045
|
},
|
|
3350
3046
|
{
|
|
3351
|
-
"id":
|
|
3047
|
+
"id": 221,
|
|
3352
3048
|
"name": "providers",
|
|
3353
3049
|
"kind": 1024,
|
|
3354
3050
|
"kindString": "Property",
|
|
@@ -3374,7 +3070,7 @@
|
|
|
3374
3070
|
}
|
|
3375
3071
|
},
|
|
3376
3072
|
{
|
|
3377
|
-
"id":
|
|
3073
|
+
"id": 220,
|
|
3378
3074
|
"name": "size",
|
|
3379
3075
|
"kind": 1024,
|
|
3380
3076
|
"kindString": "Property",
|
|
@@ -3397,7 +3093,7 @@
|
|
|
3397
3093
|
}
|
|
3398
3094
|
},
|
|
3399
3095
|
{
|
|
3400
|
-
"id":
|
|
3096
|
+
"id": 225,
|
|
3401
3097
|
"name": "tiledBody",
|
|
3402
3098
|
"kind": 1024,
|
|
3403
3099
|
"kindString": "Property",
|
|
@@ -3420,7 +3116,7 @@
|
|
|
3420
3116
|
}
|
|
3421
3117
|
},
|
|
3422
3118
|
{
|
|
3423
|
-
"id":
|
|
3119
|
+
"id": 227,
|
|
3424
3120
|
"name": "wrapperClass",
|
|
3425
3121
|
"kind": 1024,
|
|
3426
3122
|
"kindString": "Property",
|
|
@@ -3448,15 +3144,15 @@
|
|
|
3448
3144
|
"title": "Properties",
|
|
3449
3145
|
"kind": 1024,
|
|
3450
3146
|
"children": [
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3147
|
+
222,
|
|
3148
|
+
223,
|
|
3149
|
+
224,
|
|
3150
|
+
219,
|
|
3151
|
+
226,
|
|
3152
|
+
221,
|
|
3153
|
+
220,
|
|
3154
|
+
225,
|
|
3155
|
+
227
|
|
3460
3156
|
]
|
|
3461
3157
|
}
|
|
3462
3158
|
],
|
|
@@ -3467,41 +3163,6 @@
|
|
|
3467
3163
|
"character": 17
|
|
3468
3164
|
}
|
|
3469
3165
|
]
|
|
3470
|
-
},
|
|
3471
|
-
{
|
|
3472
|
-
"id": 101,
|
|
3473
|
-
"name": "SkyConfirmButtonAction",
|
|
3474
|
-
"kind": 4194304,
|
|
3475
|
-
"kindString": "Type alias",
|
|
3476
|
-
"flags": {},
|
|
3477
|
-
"sources": [
|
|
3478
|
-
{
|
|
3479
|
-
"fileName": "projects/modals/src/modules/confirm/confirm-button-action.ts",
|
|
3480
|
-
"line": 1,
|
|
3481
|
-
"character": 12
|
|
3482
|
-
}
|
|
3483
|
-
],
|
|
3484
|
-
"type": {
|
|
3485
|
-
"type": "union",
|
|
3486
|
-
"types": [
|
|
3487
|
-
{
|
|
3488
|
-
"type": "literal",
|
|
3489
|
-
"value": "ok"
|
|
3490
|
-
},
|
|
3491
|
-
{
|
|
3492
|
-
"type": "literal",
|
|
3493
|
-
"value": "yes"
|
|
3494
|
-
},
|
|
3495
|
-
{
|
|
3496
|
-
"type": "literal",
|
|
3497
|
-
"value": "no"
|
|
3498
|
-
},
|
|
3499
|
-
{
|
|
3500
|
-
"type": "literal",
|
|
3501
|
-
"value": "cancel"
|
|
3502
|
-
}
|
|
3503
|
-
]
|
|
3504
|
-
}
|
|
3505
3166
|
}
|
|
3506
3167
|
],
|
|
3507
3168
|
"groups": [
|
|
@@ -3509,7 +3170,7 @@
|
|
|
3509
3170
|
"title": "Enumerations",
|
|
3510
3171
|
"kind": 8,
|
|
3511
3172
|
"children": [
|
|
3512
|
-
|
|
3173
|
+
119
|
|
3513
3174
|
]
|
|
3514
3175
|
},
|
|
3515
3176
|
{
|
|
@@ -3517,14 +3178,13 @@
|
|
|
3517
3178
|
"kind": 128,
|
|
3518
3179
|
"children": [
|
|
3519
3180
|
115,
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
239,
|
|
3181
|
+
124,
|
|
3182
|
+
127,
|
|
3183
|
+
134,
|
|
3184
|
+
141,
|
|
3185
|
+
183,
|
|
3186
|
+
228,
|
|
3187
|
+
231,
|
|
3528
3188
|
1,
|
|
3529
3189
|
21,
|
|
3530
3190
|
24,
|
|
@@ -3536,25 +3196,17 @@
|
|
|
3536
3196
|
"title": "Interfaces",
|
|
3537
3197
|
"kind": 256,
|
|
3538
3198
|
"children": [
|
|
3539
|
-
96,
|
|
3540
3199
|
102,
|
|
3541
3200
|
107,
|
|
3542
3201
|
109,
|
|
3543
|
-
|
|
3544
|
-
]
|
|
3545
|
-
},
|
|
3546
|
-
{
|
|
3547
|
-
"title": "Type aliases",
|
|
3548
|
-
"kind": 4194304,
|
|
3549
|
-
"children": [
|
|
3550
|
-
101
|
|
3202
|
+
218
|
|
3551
3203
|
]
|
|
3552
3204
|
}
|
|
3553
3205
|
],
|
|
3554
3206
|
"sources": [
|
|
3555
3207
|
{
|
|
3556
3208
|
"fileName": "index.ts",
|
|
3557
|
-
"line":
|
|
3209
|
+
"line": 2,
|
|
3558
3210
|
"character": 0
|
|
3559
3211
|
}
|
|
3560
3212
|
]
|
|
@@ -3563,12 +3215,12 @@
|
|
|
3563
3215
|
{
|
|
3564
3216
|
"fileName": "confirm-demo.component.html",
|
|
3565
3217
|
"filePath": "/projects/modals/documentation/code-examples/confirm/confirm-demo.component.html",
|
|
3566
|
-
"rawContents": "<
|
|
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\"\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"
|
|
3567
3219
|
},
|
|
3568
3220
|
{
|
|
3569
3221
|
"fileName": "confirm-demo.component.ts",
|
|
3570
3222
|
"filePath": "/projects/modals/documentation/code-examples/confirm/confirm-demo.component.ts",
|
|
3571
|
-
"rawContents": "import { Component } from '@angular/core';\nimport {\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"
|
|
3572
3224
|
},
|
|
3573
3225
|
{
|
|
3574
3226
|
"fileName": "confirm-demo.module.ts",
|