@vaadin/confirm-dialog 22.0.13 → 22.0.16
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/confirm-dialog",
|
|
3
|
-
"version": "22.0.
|
|
3
|
+
"version": "22.0.16",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -33,19 +33,19 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@polymer/polymer": "^3.0.0",
|
|
36
|
-
"@vaadin/button": "^22.0.
|
|
37
|
-
"@vaadin/component-base": "^22.0.
|
|
38
|
-
"@vaadin/dialog": "^22.0.
|
|
36
|
+
"@vaadin/button": "^22.0.16",
|
|
37
|
+
"@vaadin/component-base": "^22.0.16",
|
|
38
|
+
"@vaadin/dialog": "^22.0.16",
|
|
39
39
|
"@vaadin/vaadin-license-checker": "^2.1.0",
|
|
40
|
-
"@vaadin/vaadin-lumo-styles": "^22.0.
|
|
41
|
-
"@vaadin/vaadin-material-styles": "^22.0.
|
|
42
|
-
"@vaadin/vaadin-overlay": "^22.0.
|
|
43
|
-
"@vaadin/vaadin-themable-mixin": "^22.0.
|
|
40
|
+
"@vaadin/vaadin-lumo-styles": "^22.0.16",
|
|
41
|
+
"@vaadin/vaadin-material-styles": "^22.0.16",
|
|
42
|
+
"@vaadin/vaadin-overlay": "^22.0.16",
|
|
43
|
+
"@vaadin/vaadin-themable-mixin": "^22.0.16"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@esm-bundle/chai": "^4.3.4",
|
|
47
47
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
48
48
|
"sinon": "^9.2.1"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "dac6f243594ea700bb796d3b41d7b17736d90be8"
|
|
51
51
|
}
|
|
@@ -132,13 +132,13 @@ declare class ConfirmDialog extends ElementMixin(ThemableMixin(HTMLElement)) {
|
|
|
132
132
|
addEventListener<K extends keyof ConfirmDialogEventMap>(
|
|
133
133
|
type: K,
|
|
134
134
|
listener: (this: ConfirmDialog, ev: ConfirmDialogEventMap[K]) => void,
|
|
135
|
-
options?: boolean | AddEventListenerOptions
|
|
135
|
+
options?: boolean | AddEventListenerOptions,
|
|
136
136
|
): void;
|
|
137
137
|
|
|
138
138
|
removeEventListener<K extends keyof ConfirmDialogEventMap>(
|
|
139
139
|
type: K,
|
|
140
140
|
listener: (this: ConfirmDialog, ev: ConfirmDialogEventMap[K]) => void,
|
|
141
|
-
options?: boolean | EventListenerOptions
|
|
141
|
+
options?: boolean | EventListenerOptions,
|
|
142
142
|
): void;
|
|
143
143
|
}
|
|
144
144
|
|
|
@@ -140,7 +140,7 @@ class ConfirmDialog extends ElementMixin(ThemableMixin(PolymerElement)) {
|
|
|
140
140
|
type: Boolean,
|
|
141
141
|
value: false,
|
|
142
142
|
notify: true,
|
|
143
|
-
observer: '_openedChanged'
|
|
143
|
+
observer: '_openedChanged',
|
|
144
144
|
},
|
|
145
145
|
|
|
146
146
|
/**
|
|
@@ -149,14 +149,14 @@ class ConfirmDialog extends ElementMixin(ThemableMixin(PolymerElement)) {
|
|
|
149
149
|
*/
|
|
150
150
|
header: {
|
|
151
151
|
type: String,
|
|
152
|
-
value: ''
|
|
152
|
+
value: '',
|
|
153
153
|
},
|
|
154
154
|
|
|
155
155
|
/**
|
|
156
156
|
* Set the message or confirmation question.
|
|
157
157
|
*/
|
|
158
158
|
message: {
|
|
159
|
-
type: String
|
|
159
|
+
type: String,
|
|
160
160
|
},
|
|
161
161
|
|
|
162
162
|
/**
|
|
@@ -166,7 +166,7 @@ class ConfirmDialog extends ElementMixin(ThemableMixin(PolymerElement)) {
|
|
|
166
166
|
*/
|
|
167
167
|
confirmText: {
|
|
168
168
|
type: String,
|
|
169
|
-
value: 'Confirm'
|
|
169
|
+
value: 'Confirm',
|
|
170
170
|
},
|
|
171
171
|
|
|
172
172
|
/**
|
|
@@ -176,7 +176,7 @@ class ConfirmDialog extends ElementMixin(ThemableMixin(PolymerElement)) {
|
|
|
176
176
|
*/
|
|
177
177
|
confirmTheme: {
|
|
178
178
|
type: String,
|
|
179
|
-
value: 'primary'
|
|
179
|
+
value: 'primary',
|
|
180
180
|
},
|
|
181
181
|
|
|
182
182
|
/**
|
|
@@ -186,7 +186,7 @@ class ConfirmDialog extends ElementMixin(ThemableMixin(PolymerElement)) {
|
|
|
186
186
|
*/
|
|
187
187
|
noCloseOnEsc: {
|
|
188
188
|
type: Boolean,
|
|
189
|
-
value: false
|
|
189
|
+
value: false,
|
|
190
190
|
},
|
|
191
191
|
|
|
192
192
|
/**
|
|
@@ -196,7 +196,7 @@ class ConfirmDialog extends ElementMixin(ThemableMixin(PolymerElement)) {
|
|
|
196
196
|
reject: {
|
|
197
197
|
type: Boolean,
|
|
198
198
|
reflectToAttribute: true,
|
|
199
|
-
value: false
|
|
199
|
+
value: false,
|
|
200
200
|
},
|
|
201
201
|
|
|
202
202
|
/**
|
|
@@ -206,7 +206,7 @@ class ConfirmDialog extends ElementMixin(ThemableMixin(PolymerElement)) {
|
|
|
206
206
|
*/
|
|
207
207
|
rejectText: {
|
|
208
208
|
type: String,
|
|
209
|
-
value: 'Reject'
|
|
209
|
+
value: 'Reject',
|
|
210
210
|
},
|
|
211
211
|
|
|
212
212
|
/**
|
|
@@ -216,7 +216,7 @@ class ConfirmDialog extends ElementMixin(ThemableMixin(PolymerElement)) {
|
|
|
216
216
|
*/
|
|
217
217
|
rejectTheme: {
|
|
218
218
|
type: String,
|
|
219
|
-
value: 'error tertiary'
|
|
219
|
+
value: 'error tertiary',
|
|
220
220
|
},
|
|
221
221
|
|
|
222
222
|
/**
|
|
@@ -226,7 +226,7 @@ class ConfirmDialog extends ElementMixin(ThemableMixin(PolymerElement)) {
|
|
|
226
226
|
cancel: {
|
|
227
227
|
type: Boolean,
|
|
228
228
|
reflectToAttribute: true,
|
|
229
|
-
value: false
|
|
229
|
+
value: false,
|
|
230
230
|
},
|
|
231
231
|
|
|
232
232
|
/**
|
|
@@ -236,7 +236,7 @@ class ConfirmDialog extends ElementMixin(ThemableMixin(PolymerElement)) {
|
|
|
236
236
|
*/
|
|
237
237
|
cancelText: {
|
|
238
238
|
type: String,
|
|
239
|
-
value: 'Cancel'
|
|
239
|
+
value: 'Cancel',
|
|
240
240
|
},
|
|
241
241
|
|
|
242
242
|
/**
|
|
@@ -246,13 +246,13 @@ class ConfirmDialog extends ElementMixin(ThemableMixin(PolymerElement)) {
|
|
|
246
246
|
*/
|
|
247
247
|
cancelTheme: {
|
|
248
248
|
type: String,
|
|
249
|
-
value: 'tertiary'
|
|
249
|
+
value: 'tertiary',
|
|
250
250
|
},
|
|
251
251
|
|
|
252
252
|
/** @private */
|
|
253
253
|
_confirmButton: {
|
|
254
|
-
type: Element
|
|
255
|
-
}
|
|
254
|
+
type: Element,
|
|
255
|
+
},
|
|
256
256
|
};
|
|
257
257
|
}
|
|
258
258
|
|
|
@@ -10,7 +10,7 @@ registerStyles(
|
|
|
10
10
|
box-sizing: content-box;
|
|
11
11
|
}
|
|
12
12
|
`,
|
|
13
|
-
{ moduleId: 'lumo-confirm-dialog-overlay' }
|
|
13
|
+
{ moduleId: 'lumo-confirm-dialog-overlay' },
|
|
14
14
|
);
|
|
15
15
|
|
|
16
16
|
registerStyles(
|
|
@@ -113,5 +113,5 @@ registerStyles(
|
|
|
113
113
|
margin-right: var(--lumo-space-s);
|
|
114
114
|
}
|
|
115
115
|
`,
|
|
116
|
-
{ moduleId: 'lumo-confirm-dialog' }
|
|
116
|
+
{ moduleId: 'lumo-confirm-dialog' },
|
|
117
117
|
);
|
|
@@ -15,7 +15,7 @@ registerStyles(
|
|
|
15
15
|
box-sizing: content-box;
|
|
16
16
|
}
|
|
17
17
|
`,
|
|
18
|
-
{ moduleId: 'material-confirm-dialog-overlay' }
|
|
18
|
+
{ moduleId: 'material-confirm-dialog-overlay' },
|
|
19
19
|
);
|
|
20
20
|
|
|
21
21
|
registerStyles(
|
|
@@ -85,5 +85,5 @@ registerStyles(
|
|
|
85
85
|
margin-left: 8px;
|
|
86
86
|
}
|
|
87
87
|
`,
|
|
88
|
-
{ moduleId: 'material-confirm-dialog' }
|
|
88
|
+
{ moduleId: 'material-confirm-dialog' },
|
|
89
89
|
);
|