@vaadin/confirm-dialog 25.1.2 → 25.2.0-alpha10
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/package.json +12 -12
- package/src/vaadin-confirm-dialog-mixin.js +1 -7
- package/src/vaadin-confirm-dialog.js +0 -15
- package/web-types.json +34 -94
- package/web-types.lit.json +28 -28
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/confirm-dialog",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.2.0-alpha10",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,20 +35,20 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
38
|
-
"@vaadin/button": "
|
|
39
|
-
"@vaadin/component-base": "
|
|
40
|
-
"@vaadin/dialog": "
|
|
41
|
-
"@vaadin/overlay": "
|
|
42
|
-
"@vaadin/vaadin-themable-mixin": "
|
|
38
|
+
"@vaadin/button": "25.2.0-alpha10",
|
|
39
|
+
"@vaadin/component-base": "25.2.0-alpha10",
|
|
40
|
+
"@vaadin/dialog": "25.2.0-alpha10",
|
|
41
|
+
"@vaadin/overlay": "25.2.0-alpha10",
|
|
42
|
+
"@vaadin/vaadin-themable-mixin": "25.2.0-alpha10",
|
|
43
43
|
"lit": "^3.0.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@vaadin/a11y-base": "
|
|
47
|
-
"@vaadin/aura": "
|
|
48
|
-
"@vaadin/chai-plugins": "
|
|
49
|
-
"@vaadin/test-runner-commands": "
|
|
46
|
+
"@vaadin/a11y-base": "25.2.0-alpha10",
|
|
47
|
+
"@vaadin/aura": "25.2.0-alpha10",
|
|
48
|
+
"@vaadin/chai-plugins": "25.2.0-alpha10",
|
|
49
|
+
"@vaadin/test-runner-commands": "25.2.0-alpha10",
|
|
50
50
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
51
|
-
"@vaadin/vaadin-lumo-styles": "
|
|
51
|
+
"@vaadin/vaadin-lumo-styles": "25.2.0-alpha10",
|
|
52
52
|
"sinon": "^21.0.2"
|
|
53
53
|
},
|
|
54
54
|
"customElements": "custom-elements.json",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"web-types.json",
|
|
57
57
|
"web-types.lit.json"
|
|
58
58
|
],
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "1303b6a3eeecb44a9d26f2b53cb56d9e906febdf"
|
|
60
60
|
}
|
|
@@ -365,7 +365,7 @@ export const ConfirmDialogMixin = (superClass) =>
|
|
|
365
365
|
|
|
366
366
|
/** @private */
|
|
367
367
|
__updateMessageNodes(nodes, message) {
|
|
368
|
-
if (nodes
|
|
368
|
+
if (nodes?.length > 0) {
|
|
369
369
|
const defaultNode = nodes.find((node) => node === this._messageController.defaultNode);
|
|
370
370
|
if (defaultNode) {
|
|
371
371
|
defaultNode.textContent = message;
|
|
@@ -415,10 +415,4 @@ export const ConfirmDialogMixin = (superClass) =>
|
|
|
415
415
|
this.dispatchEvent(new CustomEvent('reject'));
|
|
416
416
|
this.opened = false;
|
|
417
417
|
}
|
|
418
|
-
|
|
419
|
-
/**
|
|
420
|
-
* Fired when the confirm dialog is closed.
|
|
421
|
-
*
|
|
422
|
-
* @event closed
|
|
423
|
-
*/
|
|
424
418
|
};
|
|
@@ -143,21 +143,6 @@ class ConfirmDialog extends ConfirmDialogMixin(ElementMixin(ThemePropertyMixin(P
|
|
|
143
143
|
_onOpenedChanged(event) {
|
|
144
144
|
this.opened = event.detail.value;
|
|
145
145
|
}
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* @event confirm
|
|
149
|
-
* fired when Confirm button was pressed.
|
|
150
|
-
*/
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* @event cancel
|
|
154
|
-
* fired when Cancel button or Escape key was pressed.
|
|
155
|
-
*/
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* @event reject
|
|
159
|
-
* fired when Reject button was pressed.
|
|
160
|
-
*/
|
|
161
146
|
}
|
|
162
147
|
|
|
163
148
|
defineCustomElement(ConfirmDialog);
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/confirm-dialog",
|
|
4
|
-
"version": "25.
|
|
4
|
+
"version": "25.2.0-alpha10",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -15,9 +15,7 @@
|
|
|
15
15
|
"description": "Sets the `aria-describedby` attribute of the dialog.\n\nBy default, the text contents of all elements inside the message area\nare combined into the `aria-description` attribute. However, there are\ncases where this can confuse screen reader users (e.g. the dialog\nmay present a password confirmation form). For these cases,\nit's better to associate only the elements that will help describe\nthe confirmation dialog through this API.",
|
|
16
16
|
"value": {
|
|
17
17
|
"type": [
|
|
18
|
-
"string"
|
|
19
|
-
"null",
|
|
20
|
-
"undefined"
|
|
18
|
+
"string"
|
|
21
19
|
]
|
|
22
20
|
}
|
|
23
21
|
},
|
|
@@ -26,9 +24,7 @@
|
|
|
26
24
|
"description": "Whether to show cancel button or not.",
|
|
27
25
|
"value": {
|
|
28
26
|
"type": [
|
|
29
|
-
"boolean"
|
|
30
|
-
"null",
|
|
31
|
-
"undefined"
|
|
27
|
+
"boolean"
|
|
32
28
|
]
|
|
33
29
|
}
|
|
34
30
|
},
|
|
@@ -37,9 +33,7 @@
|
|
|
37
33
|
"description": "Text displayed on cancel-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
38
34
|
"value": {
|
|
39
35
|
"type": [
|
|
40
|
-
"string"
|
|
41
|
-
"null",
|
|
42
|
-
"undefined"
|
|
36
|
+
"string"
|
|
43
37
|
]
|
|
44
38
|
}
|
|
45
39
|
},
|
|
@@ -48,9 +42,7 @@
|
|
|
48
42
|
"description": "Theme for a cancel-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
49
43
|
"value": {
|
|
50
44
|
"type": [
|
|
51
|
-
"string"
|
|
52
|
-
"null",
|
|
53
|
-
"undefined"
|
|
45
|
+
"string"
|
|
54
46
|
]
|
|
55
47
|
}
|
|
56
48
|
},
|
|
@@ -59,9 +51,7 @@
|
|
|
59
51
|
"description": "Text displayed on confirm-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
60
52
|
"value": {
|
|
61
53
|
"type": [
|
|
62
|
-
"string"
|
|
63
|
-
"null",
|
|
64
|
-
"undefined"
|
|
54
|
+
"string"
|
|
65
55
|
]
|
|
66
56
|
}
|
|
67
57
|
},
|
|
@@ -70,9 +60,7 @@
|
|
|
70
60
|
"description": "Theme for a confirm-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
71
61
|
"value": {
|
|
72
62
|
"type": [
|
|
73
|
-
"string"
|
|
74
|
-
"null",
|
|
75
|
-
"undefined"
|
|
63
|
+
"string"
|
|
76
64
|
]
|
|
77
65
|
}
|
|
78
66
|
},
|
|
@@ -81,9 +69,7 @@
|
|
|
81
69
|
"description": "Set the confirmation dialog title.",
|
|
82
70
|
"value": {
|
|
83
71
|
"type": [
|
|
84
|
-
"string"
|
|
85
|
-
"null",
|
|
86
|
-
"undefined"
|
|
72
|
+
"string"
|
|
87
73
|
]
|
|
88
74
|
}
|
|
89
75
|
},
|
|
@@ -92,9 +78,7 @@
|
|
|
92
78
|
"description": "Set the height of the dialog.\nIf a unitless number is provided, pixels are assumed.",
|
|
93
79
|
"value": {
|
|
94
80
|
"type": [
|
|
95
|
-
"string"
|
|
96
|
-
"null",
|
|
97
|
-
"undefined"
|
|
81
|
+
"string"
|
|
98
82
|
]
|
|
99
83
|
}
|
|
100
84
|
},
|
|
@@ -103,9 +87,7 @@
|
|
|
103
87
|
"description": "Set the message or confirmation question.",
|
|
104
88
|
"value": {
|
|
105
89
|
"type": [
|
|
106
|
-
"string"
|
|
107
|
-
"null",
|
|
108
|
-
"undefined"
|
|
90
|
+
"string"
|
|
109
91
|
]
|
|
110
92
|
}
|
|
111
93
|
},
|
|
@@ -114,9 +96,7 @@
|
|
|
114
96
|
"description": "Set to true to disable closing dialog on Escape press",
|
|
115
97
|
"value": {
|
|
116
98
|
"type": [
|
|
117
|
-
"boolean"
|
|
118
|
-
"null",
|
|
119
|
-
"undefined"
|
|
99
|
+
"boolean"
|
|
120
100
|
]
|
|
121
101
|
}
|
|
122
102
|
},
|
|
@@ -125,9 +105,7 @@
|
|
|
125
105
|
"description": "True if the dialog is visible and available for interaction.",
|
|
126
106
|
"value": {
|
|
127
107
|
"type": [
|
|
128
|
-
"boolean"
|
|
129
|
-
"null",
|
|
130
|
-
"undefined"
|
|
108
|
+
"boolean"
|
|
131
109
|
]
|
|
132
110
|
}
|
|
133
111
|
},
|
|
@@ -136,9 +114,7 @@
|
|
|
136
114
|
"description": "Whether to show reject button or not.",
|
|
137
115
|
"value": {
|
|
138
116
|
"type": [
|
|
139
|
-
"boolean"
|
|
140
|
-
"null",
|
|
141
|
-
"undefined"
|
|
117
|
+
"boolean"
|
|
142
118
|
]
|
|
143
119
|
}
|
|
144
120
|
},
|
|
@@ -147,9 +123,7 @@
|
|
|
147
123
|
"description": "Text displayed on reject-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
148
124
|
"value": {
|
|
149
125
|
"type": [
|
|
150
|
-
"string"
|
|
151
|
-
"null",
|
|
152
|
-
"undefined"
|
|
126
|
+
"string"
|
|
153
127
|
]
|
|
154
128
|
}
|
|
155
129
|
},
|
|
@@ -158,9 +132,7 @@
|
|
|
158
132
|
"description": "Theme for a reject-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
159
133
|
"value": {
|
|
160
134
|
"type": [
|
|
161
|
-
"string"
|
|
162
|
-
"null",
|
|
163
|
-
"undefined"
|
|
135
|
+
"string"
|
|
164
136
|
]
|
|
165
137
|
}
|
|
166
138
|
},
|
|
@@ -180,9 +152,7 @@
|
|
|
180
152
|
"description": "Set the width of the dialog.\nIf a unitless number is provided, pixels are assumed.",
|
|
181
153
|
"value": {
|
|
182
154
|
"type": [
|
|
183
|
-
"string"
|
|
184
|
-
"null",
|
|
185
|
-
"undefined"
|
|
155
|
+
"string"
|
|
186
156
|
]
|
|
187
157
|
}
|
|
188
158
|
}
|
|
@@ -194,9 +164,7 @@
|
|
|
194
164
|
"description": "Sets the `aria-describedby` attribute of the dialog.\n\nBy default, the text contents of all elements inside the message area\nare combined into the `aria-description` attribute. However, there are\ncases where this can confuse screen reader users (e.g. the dialog\nmay present a password confirmation form). For these cases,\nit's better to associate only the elements that will help describe\nthe confirmation dialog through this API.",
|
|
195
165
|
"value": {
|
|
196
166
|
"type": [
|
|
197
|
-
"string"
|
|
198
|
-
"null",
|
|
199
|
-
"undefined"
|
|
167
|
+
"string"
|
|
200
168
|
]
|
|
201
169
|
}
|
|
202
170
|
},
|
|
@@ -205,9 +173,7 @@
|
|
|
205
173
|
"description": "Whether to show cancel button or not.",
|
|
206
174
|
"value": {
|
|
207
175
|
"type": [
|
|
208
|
-
"boolean"
|
|
209
|
-
"null",
|
|
210
|
-
"undefined"
|
|
176
|
+
"boolean"
|
|
211
177
|
]
|
|
212
178
|
}
|
|
213
179
|
},
|
|
@@ -216,9 +182,7 @@
|
|
|
216
182
|
"description": "Text displayed on cancel-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
217
183
|
"value": {
|
|
218
184
|
"type": [
|
|
219
|
-
"string"
|
|
220
|
-
"null",
|
|
221
|
-
"undefined"
|
|
185
|
+
"string"
|
|
222
186
|
]
|
|
223
187
|
}
|
|
224
188
|
},
|
|
@@ -227,9 +191,7 @@
|
|
|
227
191
|
"description": "Theme for a cancel-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
228
192
|
"value": {
|
|
229
193
|
"type": [
|
|
230
|
-
"string"
|
|
231
|
-
"null",
|
|
232
|
-
"undefined"
|
|
194
|
+
"string"
|
|
233
195
|
]
|
|
234
196
|
}
|
|
235
197
|
},
|
|
@@ -238,9 +200,7 @@
|
|
|
238
200
|
"description": "Text displayed on confirm-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
239
201
|
"value": {
|
|
240
202
|
"type": [
|
|
241
|
-
"string"
|
|
242
|
-
"null",
|
|
243
|
-
"undefined"
|
|
203
|
+
"string"
|
|
244
204
|
]
|
|
245
205
|
}
|
|
246
206
|
},
|
|
@@ -249,9 +209,7 @@
|
|
|
249
209
|
"description": "Theme for a confirm-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
250
210
|
"value": {
|
|
251
211
|
"type": [
|
|
252
|
-
"string"
|
|
253
|
-
"null",
|
|
254
|
-
"undefined"
|
|
212
|
+
"string"
|
|
255
213
|
]
|
|
256
214
|
}
|
|
257
215
|
},
|
|
@@ -260,9 +218,7 @@
|
|
|
260
218
|
"description": "Set the confirmation dialog title.",
|
|
261
219
|
"value": {
|
|
262
220
|
"type": [
|
|
263
|
-
"string"
|
|
264
|
-
"null",
|
|
265
|
-
"undefined"
|
|
221
|
+
"string"
|
|
266
222
|
]
|
|
267
223
|
}
|
|
268
224
|
},
|
|
@@ -271,9 +227,7 @@
|
|
|
271
227
|
"description": "Set the height of the dialog.\nIf a unitless number is provided, pixels are assumed.",
|
|
272
228
|
"value": {
|
|
273
229
|
"type": [
|
|
274
|
-
"string"
|
|
275
|
-
"null",
|
|
276
|
-
"undefined"
|
|
230
|
+
"string"
|
|
277
231
|
]
|
|
278
232
|
}
|
|
279
233
|
},
|
|
@@ -282,9 +236,7 @@
|
|
|
282
236
|
"description": "Set the message or confirmation question.",
|
|
283
237
|
"value": {
|
|
284
238
|
"type": [
|
|
285
|
-
"string"
|
|
286
|
-
"null",
|
|
287
|
-
"undefined"
|
|
239
|
+
"string"
|
|
288
240
|
]
|
|
289
241
|
}
|
|
290
242
|
},
|
|
@@ -293,9 +245,7 @@
|
|
|
293
245
|
"description": "Set to true to disable closing dialog on Escape press",
|
|
294
246
|
"value": {
|
|
295
247
|
"type": [
|
|
296
|
-
"boolean"
|
|
297
|
-
"null",
|
|
298
|
-
"undefined"
|
|
248
|
+
"boolean"
|
|
299
249
|
]
|
|
300
250
|
}
|
|
301
251
|
},
|
|
@@ -304,9 +254,7 @@
|
|
|
304
254
|
"description": "True if the dialog is visible and available for interaction.",
|
|
305
255
|
"value": {
|
|
306
256
|
"type": [
|
|
307
|
-
"boolean"
|
|
308
|
-
"null",
|
|
309
|
-
"undefined"
|
|
257
|
+
"boolean"
|
|
310
258
|
]
|
|
311
259
|
}
|
|
312
260
|
},
|
|
@@ -315,9 +263,7 @@
|
|
|
315
263
|
"description": "Whether to show reject button or not.",
|
|
316
264
|
"value": {
|
|
317
265
|
"type": [
|
|
318
|
-
"boolean"
|
|
319
|
-
"null",
|
|
320
|
-
"undefined"
|
|
266
|
+
"boolean"
|
|
321
267
|
]
|
|
322
268
|
}
|
|
323
269
|
},
|
|
@@ -326,9 +272,7 @@
|
|
|
326
272
|
"description": "Text displayed on reject-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
327
273
|
"value": {
|
|
328
274
|
"type": [
|
|
329
|
-
"string"
|
|
330
|
-
"null",
|
|
331
|
-
"undefined"
|
|
275
|
+
"string"
|
|
332
276
|
]
|
|
333
277
|
}
|
|
334
278
|
},
|
|
@@ -337,9 +281,7 @@
|
|
|
337
281
|
"description": "Theme for a reject-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
338
282
|
"value": {
|
|
339
283
|
"type": [
|
|
340
|
-
"string"
|
|
341
|
-
"null",
|
|
342
|
-
"undefined"
|
|
284
|
+
"string"
|
|
343
285
|
]
|
|
344
286
|
}
|
|
345
287
|
},
|
|
@@ -348,9 +290,7 @@
|
|
|
348
290
|
"description": "Set the width of the dialog.\nIf a unitless number is provided, pixels are assumed.",
|
|
349
291
|
"value": {
|
|
350
292
|
"type": [
|
|
351
|
-
"string"
|
|
352
|
-
"null",
|
|
353
|
-
"undefined"
|
|
293
|
+
"string"
|
|
354
294
|
]
|
|
355
295
|
}
|
|
356
296
|
}
|
|
@@ -358,7 +298,7 @@
|
|
|
358
298
|
"events": [
|
|
359
299
|
{
|
|
360
300
|
"name": "cancel",
|
|
361
|
-
"description": "
|
|
301
|
+
"description": "Fired when Cancel button or Escape key was pressed."
|
|
362
302
|
},
|
|
363
303
|
{
|
|
364
304
|
"name": "closed",
|
|
@@ -366,7 +306,7 @@
|
|
|
366
306
|
},
|
|
367
307
|
{
|
|
368
308
|
"name": "confirm",
|
|
369
|
-
"description": "
|
|
309
|
+
"description": "Fired when Confirm button was pressed."
|
|
370
310
|
},
|
|
371
311
|
{
|
|
372
312
|
"name": "opened-changed",
|
|
@@ -374,7 +314,7 @@
|
|
|
374
314
|
},
|
|
375
315
|
{
|
|
376
316
|
"name": "reject",
|
|
377
|
-
"description": "
|
|
317
|
+
"description": "Fired when Reject button was pressed."
|
|
378
318
|
}
|
|
379
319
|
]
|
|
380
320
|
}
|
package/web-types.lit.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/confirm-dialog",
|
|
4
|
-
"version": "25.
|
|
4
|
+
"version": "25.2.0-alpha10",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework": "lit",
|
|
7
7
|
"framework-config": {
|
|
@@ -20,85 +20,85 @@
|
|
|
20
20
|
"extension": true,
|
|
21
21
|
"attributes": [
|
|
22
22
|
{
|
|
23
|
-
"name": "
|
|
24
|
-
"description": "
|
|
23
|
+
"name": ".accessibleDescriptionRef",
|
|
24
|
+
"description": "Sets the `aria-describedby` attribute of the dialog.\n\nBy default, the text contents of all elements inside the message area\nare combined into the `aria-description` attribute. However, there are\ncases where this can confuse screen reader users (e.g. the dialog\nmay present a password confirmation form). For these cases,\nit's better to associate only the elements that will help describe\nthe confirmation dialog through this API.",
|
|
25
25
|
"value": {
|
|
26
26
|
"kind": "expression"
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
|
-
"name": "?
|
|
31
|
-
"description": "
|
|
30
|
+
"name": "?cancelButtonVisible",
|
|
31
|
+
"description": "Whether to show cancel button or not.",
|
|
32
32
|
"value": {
|
|
33
33
|
"kind": "expression"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
|
-
"name": "
|
|
38
|
-
"description": "
|
|
37
|
+
"name": ".cancelText",
|
|
38
|
+
"description": "Text displayed on cancel-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
39
39
|
"value": {
|
|
40
40
|
"kind": "expression"
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
|
-
"name": "
|
|
45
|
-
"description": "
|
|
44
|
+
"name": ".cancelTheme",
|
|
45
|
+
"description": "Theme for a cancel-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
46
46
|
"value": {
|
|
47
47
|
"kind": "expression"
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
|
-
"name": ".
|
|
52
|
-
"description": "
|
|
51
|
+
"name": ".confirmText",
|
|
52
|
+
"description": "Text displayed on confirm-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
53
53
|
"value": {
|
|
54
54
|
"kind": "expression"
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
|
-
"name": ".
|
|
59
|
-
"description": "
|
|
58
|
+
"name": ".confirmTheme",
|
|
59
|
+
"description": "Theme for a confirm-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
60
60
|
"value": {
|
|
61
61
|
"kind": "expression"
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
|
-
"name": ".
|
|
66
|
-
"description": "
|
|
65
|
+
"name": ".header",
|
|
66
|
+
"description": "Set the confirmation dialog title.",
|
|
67
67
|
"value": {
|
|
68
68
|
"kind": "expression"
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
|
-
"name": ".
|
|
73
|
-
"description": "
|
|
72
|
+
"name": ".height",
|
|
73
|
+
"description": "Set the height of the dialog.\nIf a unitless number is provided, pixels are assumed.",
|
|
74
74
|
"value": {
|
|
75
75
|
"kind": "expression"
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
|
-
"name": ".
|
|
80
|
-
"description": "
|
|
79
|
+
"name": ".message",
|
|
80
|
+
"description": "Set the message or confirmation question.",
|
|
81
81
|
"value": {
|
|
82
82
|
"kind": "expression"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
|
-
"name": "
|
|
87
|
-
"description": "Set
|
|
86
|
+
"name": "?noCloseOnEsc",
|
|
87
|
+
"description": "Set to true to disable closing dialog on Escape press",
|
|
88
88
|
"value": {
|
|
89
89
|
"kind": "expression"
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
|
-
"name": "
|
|
94
|
-
"description": "
|
|
93
|
+
"name": "?opened",
|
|
94
|
+
"description": "True if the dialog is visible and available for interaction.",
|
|
95
95
|
"value": {
|
|
96
96
|
"kind": "expression"
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
|
-
"name": "
|
|
101
|
-
"description": "
|
|
100
|
+
"name": "?rejectButtonVisible",
|
|
101
|
+
"description": "Whether to show reject button or not.",
|
|
102
102
|
"value": {
|
|
103
103
|
"kind": "expression"
|
|
104
104
|
}
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
128
|
"name": "@cancel",
|
|
129
|
-
"description": "
|
|
129
|
+
"description": "Fired when Cancel button or Escape key was pressed.",
|
|
130
130
|
"value": {
|
|
131
131
|
"kind": "expression"
|
|
132
132
|
}
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
"name": "@confirm",
|
|
143
|
-
"description": "
|
|
143
|
+
"description": "Fired when Confirm button was pressed.",
|
|
144
144
|
"value": {
|
|
145
145
|
"kind": "expression"
|
|
146
146
|
}
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
"name": "@reject",
|
|
157
|
-
"description": "
|
|
157
|
+
"description": "Fired when Reject button was pressed.",
|
|
158
158
|
"value": {
|
|
159
159
|
"kind": "expression"
|
|
160
160
|
}
|