@vaadin/time-picker 25.1.0-beta1 → 25.1.0-beta2
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/custom-elements.json +532 -938
- package/package.json +14 -14
- package/src/vaadin-time-picker-mixin.js +1 -4
- package/web-types.json +27 -11
- package/web-types.lit.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -109,220 +109,6 @@
|
|
|
109
109
|
}
|
|
110
110
|
]
|
|
111
111
|
},
|
|
112
|
-
{
|
|
113
|
-
"kind": "javascript-module",
|
|
114
|
-
"path": "src/vaadin-time-picker-item.js",
|
|
115
|
-
"declarations": [
|
|
116
|
-
{
|
|
117
|
-
"kind": "class",
|
|
118
|
-
"description": "An item element used by the `<vaadin-time-picker>` dropdown.\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n------------|--------------\n`checkmark` | The graphical checkmark shown for a selected item\n`content` | The element that wraps the item content\n\nThe following state attributes are exposed for styling:\n\nAttribute | Description\n-------------|-------------\n`selected` | Set when the item is selected\n`focused` | Set when the item is focused\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
|
|
119
|
-
"name": "TimePickerItem",
|
|
120
|
-
"members": [
|
|
121
|
-
{
|
|
122
|
-
"kind": "field",
|
|
123
|
-
"name": "focused",
|
|
124
|
-
"privacy": "public",
|
|
125
|
-
"type": {
|
|
126
|
-
"text": "boolean"
|
|
127
|
-
},
|
|
128
|
-
"description": "True when item is focused.",
|
|
129
|
-
"attribute": "focused",
|
|
130
|
-
"inheritedFrom": {
|
|
131
|
-
"name": "ComboBoxItemMixin",
|
|
132
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-item-mixin.js"
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"kind": "field",
|
|
137
|
-
"name": "index",
|
|
138
|
-
"privacy": "public",
|
|
139
|
-
"type": {
|
|
140
|
-
"text": "number"
|
|
141
|
-
},
|
|
142
|
-
"description": "The index of the item.",
|
|
143
|
-
"attribute": "index",
|
|
144
|
-
"inheritedFrom": {
|
|
145
|
-
"name": "ComboBoxItemMixin",
|
|
146
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-item-mixin.js"
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"kind": "field",
|
|
151
|
-
"name": "item",
|
|
152
|
-
"privacy": "public",
|
|
153
|
-
"type": {
|
|
154
|
-
"text": "object"
|
|
155
|
-
},
|
|
156
|
-
"description": "The item to render.",
|
|
157
|
-
"attribute": "item",
|
|
158
|
-
"inheritedFrom": {
|
|
159
|
-
"name": "ComboBoxItemMixin",
|
|
160
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-item-mixin.js"
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"kind": "field",
|
|
165
|
-
"name": "label",
|
|
166
|
-
"privacy": "public",
|
|
167
|
-
"type": {
|
|
168
|
-
"text": "string"
|
|
169
|
-
},
|
|
170
|
-
"description": "The text to render in the item.",
|
|
171
|
-
"attribute": "label",
|
|
172
|
-
"inheritedFrom": {
|
|
173
|
-
"name": "ComboBoxItemMixin",
|
|
174
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-item-mixin.js"
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"kind": "field",
|
|
179
|
-
"name": "renderer",
|
|
180
|
-
"privacy": "public",
|
|
181
|
-
"type": {
|
|
182
|
-
"text": "function"
|
|
183
|
-
},
|
|
184
|
-
"description": "Custom function for rendering the item content.",
|
|
185
|
-
"attribute": "renderer",
|
|
186
|
-
"inheritedFrom": {
|
|
187
|
-
"name": "ComboBoxItemMixin",
|
|
188
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-item-mixin.js"
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
"kind": "method",
|
|
193
|
-
"name": "requestContentUpdate",
|
|
194
|
-
"description": "Requests an update for the content of the item.\nWhile performing the update, it invokes the renderer passed in the `renderer` property.\n\nIt is not guaranteed that the update happens immediately (synchronously) after it is requested.",
|
|
195
|
-
"inheritedFrom": {
|
|
196
|
-
"name": "ComboBoxItemMixin",
|
|
197
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-item-mixin.js"
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
"kind": "field",
|
|
202
|
-
"name": "selected",
|
|
203
|
-
"privacy": "public",
|
|
204
|
-
"type": {
|
|
205
|
-
"text": "boolean"
|
|
206
|
-
},
|
|
207
|
-
"description": "True when item is selected.",
|
|
208
|
-
"attribute": "selected",
|
|
209
|
-
"inheritedFrom": {
|
|
210
|
-
"name": "ComboBoxItemMixin",
|
|
211
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-item-mixin.js"
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
],
|
|
215
|
-
"mixins": [
|
|
216
|
-
{
|
|
217
|
-
"name": "ComboBoxItemMixin",
|
|
218
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-item-mixin.js"
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"name": "ThemableMixin",
|
|
222
|
-
"package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
"name": "DirMixin",
|
|
226
|
-
"package": "@vaadin/component-base/src/dir-mixin.js"
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
"name": "PolylitMixin",
|
|
230
|
-
"package": "@vaadin/component-base/src/polylit-mixin.js"
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
"name": "LumoInjectionMixin",
|
|
234
|
-
"package": "@vaadin/vaadin-themable-mixin/lumo-injection-mixin.js"
|
|
235
|
-
}
|
|
236
|
-
],
|
|
237
|
-
"superclass": {
|
|
238
|
-
"name": "LitElement",
|
|
239
|
-
"package": "lit"
|
|
240
|
-
},
|
|
241
|
-
"tagName": "vaadin-time-picker-item",
|
|
242
|
-
"customElement": true,
|
|
243
|
-
"attributes": [
|
|
244
|
-
{
|
|
245
|
-
"name": "focused",
|
|
246
|
-
"type": {
|
|
247
|
-
"text": "boolean"
|
|
248
|
-
},
|
|
249
|
-
"description": "True when item is focused.",
|
|
250
|
-
"fieldName": "focused",
|
|
251
|
-
"inheritedFrom": {
|
|
252
|
-
"name": "ComboBoxItemMixin",
|
|
253
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-item-mixin.js"
|
|
254
|
-
}
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
"name": "hidden",
|
|
258
|
-
"inheritedFrom": {
|
|
259
|
-
"name": "ComboBoxItemMixin",
|
|
260
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-item-mixin.js"
|
|
261
|
-
}
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"name": "index",
|
|
265
|
-
"type": {
|
|
266
|
-
"text": "number"
|
|
267
|
-
},
|
|
268
|
-
"description": "The index of the item.",
|
|
269
|
-
"fieldName": "index",
|
|
270
|
-
"inheritedFrom": {
|
|
271
|
-
"name": "ComboBoxItemMixin",
|
|
272
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-item-mixin.js"
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
"name": "label",
|
|
277
|
-
"type": {
|
|
278
|
-
"text": "string"
|
|
279
|
-
},
|
|
280
|
-
"description": "The text to render in the item.",
|
|
281
|
-
"fieldName": "label",
|
|
282
|
-
"inheritedFrom": {
|
|
283
|
-
"name": "ComboBoxItemMixin",
|
|
284
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-item-mixin.js"
|
|
285
|
-
}
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"name": "renderer",
|
|
289
|
-
"type": {
|
|
290
|
-
"text": "function"
|
|
291
|
-
},
|
|
292
|
-
"description": "Custom function for rendering the item content.",
|
|
293
|
-
"fieldName": "renderer",
|
|
294
|
-
"inheritedFrom": {
|
|
295
|
-
"name": "ComboBoxItemMixin",
|
|
296
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-item-mixin.js"
|
|
297
|
-
}
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
"name": "selected",
|
|
301
|
-
"type": {
|
|
302
|
-
"text": "boolean"
|
|
303
|
-
},
|
|
304
|
-
"description": "True when item is selected.",
|
|
305
|
-
"fieldName": "selected",
|
|
306
|
-
"inheritedFrom": {
|
|
307
|
-
"name": "ComboBoxItemMixin",
|
|
308
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-item-mixin.js"
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
],
|
|
312
|
-
"events": []
|
|
313
|
-
}
|
|
314
|
-
],
|
|
315
|
-
"exports": [
|
|
316
|
-
{
|
|
317
|
-
"kind": "js",
|
|
318
|
-
"name": "TimePickerItem",
|
|
319
|
-
"declaration": {
|
|
320
|
-
"name": "TimePickerItem",
|
|
321
|
-
"module": "src/vaadin-time-picker-item.js"
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
]
|
|
325
|
-
},
|
|
326
112
|
{
|
|
327
113
|
"kind": "javascript-module",
|
|
328
114
|
"path": "src/vaadin-time-picker-mixin.js",
|
|
@@ -334,997 +120,555 @@
|
|
|
334
120
|
{
|
|
335
121
|
"kind": "mixin",
|
|
336
122
|
"description": "A mixin providing common time-picker functionality.",
|
|
337
|
-
"name": "TimePickerMixin",
|
|
338
|
-
"members": [
|
|
339
|
-
{
|
|
340
|
-
"kind": "method",
|
|
341
|
-
"name": "checkValidity",
|
|
342
|
-
"description": "Returns true if the current input value satisfies all constraints (if any).\nYou can override this method for custom validations.",
|
|
343
|
-
"return": {
|
|
344
|
-
"type": {
|
|
345
|
-
"text": "boolean"
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
"kind": "field",
|
|
351
|
-
"name": "i18n",
|
|
352
|
-
"description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides both the\ntime parsing and formatting functions.\n\nThe object has the following JSON structure:\n\n```js\n{\n // A function to format given `Object` as\n // time string. Object is in the format `{ hours: ..., minutes: ..., seconds: ..., milliseconds: ... }`\n formatTime: (time) => {\n // returns a string representation of the given\n // object in `hh` / 'hh:mm' / 'hh:mm:ss' / 'hh:mm:ss.fff' - formats\n },\n\n // A function to parse the given text to an `Object` in the format\n // `{ hours: ..., minutes: ..., seconds: ..., milliseconds: ... }`.\n // Must properly parse (at least) text\n // formatted by `formatTime`.\n parseTime: text => {\n // Parses a string in object/string that can be formatted by`formatTime`.\n }\n}\n```\n\nNOTE: `formatTime` and `parseTime` must be implemented in a\ncompatible manner to ensure the component works properly.",
|
|
353
|
-
"return": {
|
|
354
|
-
"type": {
|
|
355
|
-
"text": "!TimePickerI18n"
|
|
356
|
-
}
|
|
357
|
-
},
|
|
358
|
-
"parameters": [
|
|
359
|
-
{
|
|
360
|
-
"name": "value",
|
|
361
|
-
"type": {
|
|
362
|
-
"text": "Object"
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
],
|
|
366
|
-
"inheritedFrom": {
|
|
367
|
-
"name": "I18nMixin",
|
|
368
|
-
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
369
|
-
}
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
"kind": "field",
|
|
373
|
-
"name": "max",
|
|
374
|
-
"privacy": "public",
|
|
375
|
-
"type": {
|
|
376
|
-
"text": "string"
|
|
377
|
-
},
|
|
378
|
-
"description": "Maximum time allowed.\n\nSupported time formats are in ISO 8601:\n- `hh:mm`\n- `hh:mm:ss`\n- `hh:mm:ss.fff`",
|
|
379
|
-
"attribute": "max"
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
"kind": "field",
|
|
383
|
-
"name": "min",
|
|
384
|
-
"privacy": "public",
|
|
385
|
-
"type": {
|
|
386
|
-
"text": "string"
|
|
387
|
-
},
|
|
388
|
-
"description": "Minimum time allowed.\n\nSupported time formats are in ISO 8601:\n- `hh:mm`\n- `hh:mm:ss`\n- `hh:mm:ss.fff`",
|
|
389
|
-
"attribute": "min"
|
|
390
|
-
},
|
|
391
|
-
{
|
|
392
|
-
"kind": "field",
|
|
393
|
-
"name": "step",
|
|
394
|
-
"privacy": "public",
|
|
395
|
-
"type": {
|
|
396
|
-
"text": "number"
|
|
397
|
-
},
|
|
398
|
-
"description": "Defines the time interval (in seconds) between the items displayed\nin the time selection box. The default is 1 hour (i.e. `3600`).\n\nIt also configures the precision of the value string. By default\nthe component formats values as `hh:mm` but setting a step value\nlower than one minute or one second, format resolution changes to\n`hh:mm:ss` and `hh:mm:ss.fff` respectively.\n\nUnit must be set in seconds, and for correctly configuring intervals\nin the dropdown, it need to evenly divide a day.\n\nNote: it is possible to define step that is dividing an hour in inexact\nfragments (i.e. 5760 seconds which equals 1 hour 36 minutes), but it is\nnot recommended to use it for better UX experience.",
|
|
399
|
-
"attribute": "step"
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
"kind": "field",
|
|
403
|
-
"name": "value",
|
|
404
|
-
"privacy": "public",
|
|
405
|
-
"type": {
|
|
406
|
-
"text": "string"
|
|
407
|
-
},
|
|
408
|
-
"description": "The time value for this element.\n\nSupported time formats are in ISO 8601:\n- `hh:mm` (default)\n- `hh:mm:ss`\n- `hh:mm:ss.fff`",
|
|
409
|
-
"attribute": "value"
|
|
410
|
-
}
|
|
411
|
-
],
|
|
412
|
-
"events": [
|
|
413
|
-
{
|
|
414
|
-
"name": "change",
|
|
415
|
-
"type": {
|
|
416
|
-
"text": "CustomEvent"
|
|
417
|
-
}
|
|
418
|
-
},
|
|
419
|
-
{
|
|
420
|
-
"name": "unparsable-change",
|
|
421
|
-
"type": {
|
|
422
|
-
"text": "CustomEvent"
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
],
|
|
426
|
-
"attributes": [
|
|
427
|
-
{
|
|
428
|
-
"name": "i18n",
|
|
429
|
-
"inheritedFrom": {
|
|
430
|
-
"name": "I18nMixin",
|
|
431
|
-
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
432
|
-
}
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
"name": "max",
|
|
436
|
-
"type": {
|
|
437
|
-
"text": "string"
|
|
438
|
-
},
|
|
439
|
-
"description": "Maximum time allowed.\n\nSupported time formats are in ISO 8601:\n- `hh:mm`\n- `hh:mm:ss`\n- `hh:mm:ss.fff`",
|
|
440
|
-
"fieldName": "max"
|
|
441
|
-
},
|
|
442
|
-
{
|
|
443
|
-
"name": "min",
|
|
444
|
-
"type": {
|
|
445
|
-
"text": "string"
|
|
446
|
-
},
|
|
447
|
-
"description": "Minimum time allowed.\n\nSupported time formats are in ISO 8601:\n- `hh:mm`\n- `hh:mm:ss`\n- `hh:mm:ss.fff`",
|
|
448
|
-
"fieldName": "min"
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
"name": "step",
|
|
452
|
-
"type": {
|
|
453
|
-
"text": "number"
|
|
454
|
-
},
|
|
455
|
-
"description": "Defines the time interval (in seconds) between the items displayed\nin the time selection box. The default is 1 hour (i.e. `3600`).\n\nIt also configures the precision of the value string. By default\nthe component formats values as `hh:mm` but setting a step value\nlower than one minute or one second, format resolution changes to\n`hh:mm:ss` and `hh:mm:ss.fff` respectively.\n\nUnit must be set in seconds, and for correctly configuring intervals\nin the dropdown, it need to evenly divide a day.\n\nNote: it is possible to define step that is dividing an hour in inexact\nfragments (i.e. 5760 seconds which equals 1 hour 36 minutes), but it is\nnot recommended to use it for better UX experience.",
|
|
456
|
-
"fieldName": "step"
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
"name": "value",
|
|
460
|
-
"type": {
|
|
461
|
-
"text": "string"
|
|
462
|
-
},
|
|
463
|
-
"description": "The time value for this element.\n\nSupported time formats are in ISO 8601:\n- `hh:mm` (default)\n- `hh:mm:ss`\n- `hh:mm:ss.fff`",
|
|
464
|
-
"fieldName": "value"
|
|
465
|
-
}
|
|
466
|
-
],
|
|
467
|
-
"mixins": [
|
|
468
|
-
{
|
|
469
|
-
"name": "I18nMixin",
|
|
470
|
-
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
471
|
-
}
|
|
472
|
-
],
|
|
473
|
-
"parameters": [
|
|
474
|
-
{
|
|
475
|
-
"name": "superClass"
|
|
476
|
-
}
|
|
477
|
-
]
|
|
478
|
-
}
|
|
479
|
-
],
|
|
480
|
-
"exports": [
|
|
481
|
-
{
|
|
482
|
-
"kind": "js",
|
|
483
|
-
"name": "timePickerI18nDefaults",
|
|
484
|
-
"declaration": {
|
|
485
|
-
"name": "timePickerI18nDefaults",
|
|
486
|
-
"module": "src/vaadin-time-picker-mixin.js"
|
|
487
|
-
}
|
|
488
|
-
},
|
|
489
|
-
{
|
|
490
|
-
"kind": "js",
|
|
491
|
-
"name": "TimePickerMixin",
|
|
492
|
-
"declaration": {
|
|
493
|
-
"name": "TimePickerMixin",
|
|
494
|
-
"module": "src/vaadin-time-picker-mixin.js"
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
]
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
"kind": "javascript-module",
|
|
501
|
-
"path": "src/vaadin-time-picker-overlay.js",
|
|
502
|
-
"declarations": [
|
|
503
|
-
{
|
|
504
|
-
"kind": "class",
|
|
505
|
-
"description": "An element used internally by `<vaadin-time-picker>`. Not intended to be used separately.",
|
|
506
|
-
"name": "TimePickerOverlay",
|
|
123
|
+
"name": "TimePickerMixin",
|
|
507
124
|
"members": [
|
|
508
|
-
{
|
|
509
|
-
"kind": "method",
|
|
510
|
-
"name": "bringToFront",
|
|
511
|
-
"description": "Brings the overlay as visually the frontmost one.",
|
|
512
|
-
"inheritedFrom": {
|
|
513
|
-
"name": "OverlayStackMixin",
|
|
514
|
-
"package": "@vaadin/overlay/src/vaadin-overlay-stack-mixin.js"
|
|
515
|
-
}
|
|
516
|
-
},
|
|
517
|
-
{
|
|
518
|
-
"kind": "method",
|
|
519
|
-
"name": "close",
|
|
520
|
-
"parameters": [
|
|
521
|
-
{
|
|
522
|
-
"name": "sourceEvent",
|
|
523
|
-
"type": {
|
|
524
|
-
"text": "Event="
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
],
|
|
528
|
-
"inheritedFrom": {
|
|
529
|
-
"name": "OverlayMixin",
|
|
530
|
-
"package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
|
|
531
|
-
}
|
|
532
|
-
},
|
|
533
|
-
{
|
|
534
|
-
"kind": "field",
|
|
535
|
-
"name": "focusTrap",
|
|
536
|
-
"privacy": "public",
|
|
537
|
-
"type": {
|
|
538
|
-
"text": "boolean"
|
|
539
|
-
},
|
|
540
|
-
"description": "When true, opening the overlay moves focus to the first focusable child,\nor to the overlay part with tabindex if there are no focusable children.",
|
|
541
|
-
"attribute": "focus-trap",
|
|
542
|
-
"inheritedFrom": {
|
|
543
|
-
"name": "OverlayFocusMixin",
|
|
544
|
-
"package": "@vaadin/overlay/src/vaadin-overlay-focus-mixin.js"
|
|
545
|
-
}
|
|
546
|
-
},
|
|
547
125
|
{
|
|
548
126
|
"kind": "field",
|
|
549
|
-
"name": "
|
|
127
|
+
"name": "accessibleName",
|
|
550
128
|
"privacy": "public",
|
|
551
129
|
"type": {
|
|
552
|
-
"text": "
|
|
130
|
+
"text": "string"
|
|
553
131
|
},
|
|
554
|
-
"description": "
|
|
555
|
-
"attribute": "
|
|
132
|
+
"description": "String used to label the component to screen reader users.",
|
|
133
|
+
"attribute": "accessible-name",
|
|
556
134
|
"inheritedFrom": {
|
|
557
|
-
"name": "
|
|
558
|
-
"package": "@vaadin/
|
|
135
|
+
"name": "FieldMixin",
|
|
136
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
559
137
|
}
|
|
560
138
|
},
|
|
561
139
|
{
|
|
562
140
|
"kind": "field",
|
|
563
|
-
"name": "
|
|
141
|
+
"name": "accessibleNameRef",
|
|
564
142
|
"privacy": "public",
|
|
565
143
|
"type": {
|
|
566
144
|
"text": "string"
|
|
567
145
|
},
|
|
568
|
-
"description": "
|
|
569
|
-
"attribute": "
|
|
146
|
+
"description": "Id of the element used as label of the component to screen reader users.",
|
|
147
|
+
"attribute": "accessible-name-ref",
|
|
570
148
|
"inheritedFrom": {
|
|
571
|
-
"name": "
|
|
572
|
-
"package": "@vaadin/
|
|
149
|
+
"name": "FieldMixin",
|
|
150
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
573
151
|
}
|
|
574
152
|
},
|
|
575
153
|
{
|
|
576
154
|
"kind": "field",
|
|
577
|
-
"name": "
|
|
155
|
+
"name": "allowedCharPattern",
|
|
578
156
|
"privacy": "public",
|
|
579
157
|
"type": {
|
|
580
|
-
"text": "
|
|
158
|
+
"text": "string"
|
|
581
159
|
},
|
|
582
|
-
"description": "
|
|
583
|
-
"attribute": "
|
|
160
|
+
"description": "A pattern matched against individual characters the user inputs.\n\nWhen set, the field will prevent:\n- `keydown` events if the entered key doesn't match `/^allowedCharPattern$/`\n- `paste` events if the pasted text doesn't match `/^allowedCharPattern*$/`\n- `drop` events if the dropped text doesn't match `/^allowedCharPattern*$/`\n\nFor example, to allow entering only numbers and minus signs, use:\n`allowedCharPattern = \"[\\\\d-]\"`",
|
|
161
|
+
"attribute": "allowed-char-pattern",
|
|
584
162
|
"inheritedFrom": {
|
|
585
|
-
"name": "
|
|
586
|
-
"package": "@vaadin/
|
|
163
|
+
"name": "InputControlMixin",
|
|
164
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
587
165
|
}
|
|
588
166
|
},
|
|
589
167
|
{
|
|
590
168
|
"kind": "field",
|
|
591
|
-
"name": "
|
|
169
|
+
"name": "autoOpenDisabled",
|
|
592
170
|
"privacy": "public",
|
|
593
171
|
"type": {
|
|
594
172
|
"text": "boolean"
|
|
595
173
|
},
|
|
596
|
-
"description": "
|
|
597
|
-
"attribute": "
|
|
174
|
+
"description": "Set true to prevent the overlay from opening automatically.",
|
|
175
|
+
"attribute": "auto-open-disabled",
|
|
598
176
|
"inheritedFrom": {
|
|
599
|
-
"name": "
|
|
600
|
-
"package": "@vaadin/
|
|
177
|
+
"name": "ComboBoxBaseMixin",
|
|
178
|
+
"package": "@vaadin/combo-box/src/vaadin-combo-box-base-mixin.js"
|
|
601
179
|
}
|
|
602
180
|
},
|
|
603
181
|
{
|
|
604
182
|
"kind": "field",
|
|
605
|
-
"name": "
|
|
183
|
+
"name": "autoselect",
|
|
606
184
|
"privacy": "public",
|
|
607
185
|
"type": {
|
|
608
186
|
"text": "boolean"
|
|
609
187
|
},
|
|
610
|
-
"description": "
|
|
611
|
-
"attribute": "
|
|
188
|
+
"description": "If true, the input text gets fully selected when the field is focused using click or touch / tap.",
|
|
189
|
+
"attribute": "autoselect",
|
|
612
190
|
"inheritedFrom": {
|
|
613
|
-
"name": "
|
|
614
|
-
"package": "@vaadin/
|
|
191
|
+
"name": "InputControlMixin",
|
|
192
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
615
193
|
}
|
|
616
194
|
},
|
|
617
195
|
{
|
|
618
|
-
"kind": "
|
|
619
|
-
"name": "
|
|
620
|
-
"
|
|
621
|
-
"
|
|
622
|
-
"
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
"attribute": "no-vertical-overlap",
|
|
626
|
-
"inheritedFrom": {
|
|
627
|
-
"name": "PositionMixin",
|
|
628
|
-
"package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
|
|
196
|
+
"kind": "method",
|
|
197
|
+
"name": "checkValidity",
|
|
198
|
+
"description": "Returns true if the current input value satisfies all constraints (if any).\nYou can override this method for custom validations.",
|
|
199
|
+
"return": {
|
|
200
|
+
"type": {
|
|
201
|
+
"text": "boolean"
|
|
202
|
+
}
|
|
629
203
|
}
|
|
630
204
|
},
|
|
631
205
|
{
|
|
632
206
|
"kind": "field",
|
|
633
|
-
"name": "
|
|
207
|
+
"name": "clearButtonVisible",
|
|
634
208
|
"privacy": "public",
|
|
635
209
|
"type": {
|
|
636
210
|
"text": "boolean"
|
|
637
211
|
},
|
|
638
|
-
"description": "
|
|
639
|
-
"attribute": "
|
|
212
|
+
"description": "Set to true to display the clear icon which clears the input.\n\nIt is up to the component to choose where to place the clear icon:\nin the Shadow DOM or in the light DOM. In any way, a reference to\nthe clear icon element should be provided via the `clearElement` getter.",
|
|
213
|
+
"attribute": "clear-button-visible",
|
|
640
214
|
"inheritedFrom": {
|
|
641
|
-
"name": "
|
|
642
|
-
"package": "@vaadin/
|
|
215
|
+
"name": "ClearButtonMixin",
|
|
216
|
+
"package": "@vaadin/field-base/src/clear-button-mixin.js"
|
|
643
217
|
}
|
|
644
218
|
},
|
|
645
219
|
{
|
|
646
|
-
"kind": "
|
|
647
|
-
"name": "
|
|
648
|
-
"
|
|
649
|
-
"type": {
|
|
650
|
-
"text": "HTMLElement"
|
|
651
|
-
},
|
|
652
|
-
"description": "Owner element passed with renderer function",
|
|
653
|
-
"attribute": "owner",
|
|
220
|
+
"kind": "method",
|
|
221
|
+
"name": "close",
|
|
222
|
+
"description": "Closes the dropdown list.",
|
|
654
223
|
"inheritedFrom": {
|
|
655
|
-
"name": "
|
|
656
|
-
"package": "@vaadin/
|
|
224
|
+
"name": "ComboBoxBaseMixin",
|
|
225
|
+
"package": "@vaadin/combo-box/src/vaadin-combo-box-base-mixin.js"
|
|
657
226
|
}
|
|
658
227
|
},
|
|
659
228
|
{
|
|
660
229
|
"kind": "field",
|
|
661
|
-
"name": "
|
|
230
|
+
"name": "errorMessage",
|
|
662
231
|
"privacy": "public",
|
|
663
232
|
"type": {
|
|
664
|
-
"text": "
|
|
233
|
+
"text": "string"
|
|
665
234
|
},
|
|
666
|
-
"description": "
|
|
667
|
-
"attribute": "
|
|
235
|
+
"description": "Error to show when the field is invalid.",
|
|
236
|
+
"attribute": "error-message",
|
|
668
237
|
"inheritedFrom": {
|
|
669
|
-
"name": "
|
|
670
|
-
"package": "@vaadin/
|
|
238
|
+
"name": "FieldMixin",
|
|
239
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
671
240
|
}
|
|
672
241
|
},
|
|
673
242
|
{
|
|
674
243
|
"kind": "field",
|
|
675
|
-
"name": "
|
|
244
|
+
"name": "helperText",
|
|
676
245
|
"privacy": "public",
|
|
677
246
|
"type": {
|
|
678
|
-
"text": "
|
|
247
|
+
"text": "string"
|
|
679
248
|
},
|
|
680
|
-
"description": "
|
|
681
|
-
"attribute": "
|
|
682
|
-
"inheritedFrom": {
|
|
683
|
-
"name": "OverlayMixin",
|
|
684
|
-
"package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
|
|
685
|
-
}
|
|
686
|
-
},
|
|
687
|
-
{
|
|
688
|
-
"kind": "method",
|
|
689
|
-
"name": "requestContentUpdate",
|
|
690
|
-
"description": "Requests an update for the content of the overlay.\nWhile performing the update, it invokes the renderer passed in the `renderer` property.\n\nIt is not guaranteed that the update happens immediately (synchronously) after it is requested.",
|
|
249
|
+
"description": "String used for the helper text.",
|
|
250
|
+
"attribute": "helper-text",
|
|
691
251
|
"inheritedFrom": {
|
|
692
|
-
"name": "
|
|
693
|
-
"package": "@vaadin/
|
|
252
|
+
"name": "FieldMixin",
|
|
253
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
694
254
|
}
|
|
695
255
|
},
|
|
696
256
|
{
|
|
697
257
|
"kind": "field",
|
|
698
|
-
"name": "
|
|
699
|
-
"
|
|
258
|
+
"name": "i18n",
|
|
259
|
+
"description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides both the\ntime parsing and formatting functions.\n\nThe object has the following JSON structure:\n\n```js\n{\n // A function to format given `Object` as\n // time string. Object is in the format `{ hours: ..., minutes: ..., seconds: ..., milliseconds: ... }`\n formatTime: (time) => {\n // returns a string representation of the given\n // object in `hh` / 'hh:mm' / 'hh:mm:ss' / 'hh:mm:ss.fff' - formats\n },\n\n // A function to parse the given text to an `Object` in the format\n // `{ hours: ..., minutes: ..., seconds: ..., milliseconds: ... }`.\n // Must properly parse (at least) text\n // formatted by `formatTime`.\n parseTime: text => {\n // Parses a string in object/string that can be formatted by`formatTime`.\n }\n}\n```\n\nNOTE: `formatTime` and `parseTime` must be implemented in a\ncompatible manner to ensure the component works properly.",
|
|
700
260
|
"type": {
|
|
701
|
-
"text": "
|
|
261
|
+
"text": "Object"
|
|
702
262
|
},
|
|
703
|
-
"description": "If the overlay content has no intrinsic height, this property can be used to set\nthe minimum vertical space (in pixels) required by the overlay. Setting a value to\nthe property effectively disables the content measurement in favor of using this\nfixed value for determining the open direction.",
|
|
704
|
-
"attribute": "required-vertical-space",
|
|
705
|
-
"default": "200",
|
|
706
263
|
"inheritedFrom": {
|
|
707
|
-
"name": "
|
|
708
|
-
"package": "@vaadin/
|
|
264
|
+
"name": "I18nMixin",
|
|
265
|
+
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
709
266
|
}
|
|
710
267
|
},
|
|
711
268
|
{
|
|
712
269
|
"kind": "field",
|
|
713
|
-
"name": "
|
|
270
|
+
"name": "label",
|
|
714
271
|
"privacy": "public",
|
|
715
272
|
"type": {
|
|
716
|
-
"text": "
|
|
273
|
+
"text": "string"
|
|
717
274
|
},
|
|
718
|
-
"description": "
|
|
719
|
-
"attribute": "
|
|
275
|
+
"description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
|
|
276
|
+
"attribute": "label",
|
|
720
277
|
"inheritedFrom": {
|
|
721
|
-
"name": "
|
|
722
|
-
"package": "@vaadin/
|
|
278
|
+
"name": "FieldMixin",
|
|
279
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
723
280
|
}
|
|
724
281
|
},
|
|
725
282
|
{
|
|
726
283
|
"kind": "field",
|
|
727
|
-
"name": "
|
|
284
|
+
"name": "max",
|
|
728
285
|
"privacy": "public",
|
|
729
286
|
"type": {
|
|
730
|
-
"text": "
|
|
287
|
+
"text": "string"
|
|
731
288
|
},
|
|
732
|
-
"description": "
|
|
733
|
-
"attribute": "
|
|
734
|
-
"inheritedFrom": {
|
|
735
|
-
"name": "OverlayFocusMixin",
|
|
736
|
-
"package": "@vaadin/overlay/src/vaadin-overlay-focus-mixin.js"
|
|
737
|
-
}
|
|
738
|
-
},
|
|
739
|
-
{
|
|
740
|
-
"kind": "method",
|
|
741
|
-
"name": "setBounds",
|
|
742
|
-
"parameters": [
|
|
743
|
-
{
|
|
744
|
-
"name": "bounds",
|
|
745
|
-
"type": {
|
|
746
|
-
"text": "!OverlayBoundsParam"
|
|
747
|
-
}
|
|
748
|
-
},
|
|
749
|
-
{
|
|
750
|
-
"name": "absolute",
|
|
751
|
-
"default": "true",
|
|
752
|
-
"type": {
|
|
753
|
-
"text": "boolean"
|
|
754
|
-
}
|
|
755
|
-
}
|
|
756
|
-
],
|
|
757
|
-
"description": "Updates the coordinates of the overlay.",
|
|
758
|
-
"inheritedFrom": {
|
|
759
|
-
"name": "OverlayMixin",
|
|
760
|
-
"package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
|
|
761
|
-
}
|
|
289
|
+
"description": "Maximum time allowed.\n\nSupported time formats are in ISO 8601:\n- `hh:mm`\n- `hh:mm:ss`\n- `hh:mm:ss.fff`",
|
|
290
|
+
"attribute": "max"
|
|
762
291
|
},
|
|
763
292
|
{
|
|
764
293
|
"kind": "field",
|
|
765
|
-
"name": "
|
|
294
|
+
"name": "min",
|
|
766
295
|
"privacy": "public",
|
|
767
296
|
"type": {
|
|
768
297
|
"text": "string"
|
|
769
298
|
},
|
|
770
|
-
"description": "
|
|
771
|
-
"attribute": "
|
|
772
|
-
"inheritedFrom": {
|
|
773
|
-
"name": "PositionMixin",
|
|
774
|
-
"package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
|
|
775
|
-
}
|
|
299
|
+
"description": "Minimum time allowed.\n\nSupported time formats are in ISO 8601:\n- `hh:mm`\n- `hh:mm:ss`\n- `hh:mm:ss.fff`",
|
|
300
|
+
"attribute": "min"
|
|
776
301
|
},
|
|
777
302
|
{
|
|
778
303
|
"kind": "field",
|
|
779
|
-
"name": "
|
|
304
|
+
"name": "name",
|
|
780
305
|
"privacy": "public",
|
|
781
306
|
"type": {
|
|
782
|
-
"text": "
|
|
307
|
+
"text": "string"
|
|
783
308
|
},
|
|
784
|
-
"description": "
|
|
785
|
-
"attribute": "
|
|
309
|
+
"description": "The name of this field.",
|
|
310
|
+
"attribute": "name",
|
|
786
311
|
"inheritedFrom": {
|
|
787
|
-
"name": "
|
|
788
|
-
"package": "@vaadin/
|
|
312
|
+
"name": "InputControlMixin",
|
|
313
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
789
314
|
}
|
|
790
|
-
}
|
|
791
|
-
],
|
|
792
|
-
"mixins": [
|
|
793
|
-
{
|
|
794
|
-
"name": "ComboBoxOverlayMixin",
|
|
795
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-overlay-mixin.js"
|
|
796
|
-
},
|
|
797
|
-
{
|
|
798
|
-
"name": "OverlayMixin",
|
|
799
|
-
"package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
|
|
800
|
-
},
|
|
801
|
-
{
|
|
802
|
-
"name": "DirMixin",
|
|
803
|
-
"package": "@vaadin/component-base/src/dir-mixin.js"
|
|
804
|
-
},
|
|
805
|
-
{
|
|
806
|
-
"name": "ThemableMixin",
|
|
807
|
-
"package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
|
|
808
315
|
},
|
|
809
316
|
{
|
|
810
|
-
"
|
|
811
|
-
"
|
|
812
|
-
|
|
813
|
-
{
|
|
814
|
-
"name": "LumoInjectionMixin",
|
|
815
|
-
"package": "@vaadin/vaadin-themable-mixin/lumo-injection-mixin.js"
|
|
816
|
-
}
|
|
817
|
-
],
|
|
818
|
-
"superclass": {
|
|
819
|
-
"name": "LitElement",
|
|
820
|
-
"package": "lit"
|
|
821
|
-
},
|
|
822
|
-
"customElement": true,
|
|
823
|
-
"attributes": [
|
|
824
|
-
{
|
|
825
|
-
"name": "focus-trap",
|
|
826
|
-
"type": {
|
|
827
|
-
"text": "boolean"
|
|
828
|
-
},
|
|
829
|
-
"description": "When true, opening the overlay moves focus to the first focusable child,\nor to the overlay part with tabindex if there are no focusable children.",
|
|
830
|
-
"fieldName": "focusTrap",
|
|
317
|
+
"kind": "method",
|
|
318
|
+
"name": "open",
|
|
319
|
+
"description": "Opens the dropdown list.",
|
|
831
320
|
"inheritedFrom": {
|
|
832
|
-
"name": "
|
|
833
|
-
"package": "@vaadin/
|
|
321
|
+
"name": "ComboBoxBaseMixin",
|
|
322
|
+
"package": "@vaadin/combo-box/src/vaadin-combo-box-base-mixin.js"
|
|
834
323
|
}
|
|
835
324
|
},
|
|
836
325
|
{
|
|
837
|
-
"
|
|
326
|
+
"kind": "field",
|
|
327
|
+
"name": "opened",
|
|
328
|
+
"privacy": "public",
|
|
838
329
|
"type": {
|
|
839
330
|
"text": "boolean"
|
|
840
331
|
},
|
|
841
|
-
"description": "
|
|
842
|
-
"
|
|
332
|
+
"description": "True if the dropdown is open, false otherwise.",
|
|
333
|
+
"attribute": "opened",
|
|
843
334
|
"inheritedFrom": {
|
|
844
|
-
"name": "
|
|
845
|
-
"package": "@vaadin/
|
|
335
|
+
"name": "ComboBoxBaseMixin",
|
|
336
|
+
"package": "@vaadin/combo-box/src/vaadin-combo-box-base-mixin.js"
|
|
846
337
|
}
|
|
847
338
|
},
|
|
848
339
|
{
|
|
849
|
-
"
|
|
340
|
+
"kind": "field",
|
|
341
|
+
"name": "pattern",
|
|
342
|
+
"privacy": "public",
|
|
850
343
|
"type": {
|
|
851
344
|
"text": "string"
|
|
852
345
|
},
|
|
853
|
-
"description": "
|
|
854
|
-
"
|
|
855
|
-
"inheritedFrom": {
|
|
856
|
-
"name": "PositionMixin",
|
|
857
|
-
"package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
|
|
858
|
-
}
|
|
859
|
-
},
|
|
860
|
-
{
|
|
861
|
-
"name": "modeless",
|
|
862
|
-
"type": {
|
|
863
|
-
"text": "boolean"
|
|
864
|
-
},
|
|
865
|
-
"description": "When true the overlay won't disable the main content, showing\nit doesn't change the functionality of the user interface.",
|
|
866
|
-
"fieldName": "modeless",
|
|
346
|
+
"description": "A regular expression that the value is checked against.\nThe pattern must match the entire value, not just some subset.",
|
|
347
|
+
"attribute": "pattern",
|
|
867
348
|
"inheritedFrom": {
|
|
868
|
-
"name": "
|
|
869
|
-
"package": "@vaadin/
|
|
349
|
+
"name": "PatternMixin",
|
|
350
|
+
"package": "@vaadin/field-base/src/pattern-mixin.js"
|
|
870
351
|
}
|
|
871
352
|
},
|
|
872
353
|
{
|
|
873
|
-
"
|
|
874
|
-
"
|
|
875
|
-
|
|
876
|
-
},
|
|
877
|
-
"description": "When `positionTarget` is set, this property defines whether the overlay should overlap\nthe target element in the x-axis, or be positioned right next to it.",
|
|
878
|
-
"fieldName": "noHorizontalOverlap",
|
|
879
|
-
"inheritedFrom": {
|
|
880
|
-
"name": "PositionMixin",
|
|
881
|
-
"package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
|
|
882
|
-
}
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
"name": "no-vertical-overlap",
|
|
354
|
+
"kind": "field",
|
|
355
|
+
"name": "placeholder",
|
|
356
|
+
"privacy": "public",
|
|
886
357
|
"type": {
|
|
887
|
-
"text": "
|
|
358
|
+
"text": "string"
|
|
888
359
|
},
|
|
889
|
-
"description": "
|
|
890
|
-
"
|
|
360
|
+
"description": "A hint to the user of what can be entered in the field.",
|
|
361
|
+
"attribute": "placeholder",
|
|
891
362
|
"inheritedFrom": {
|
|
892
|
-
"name": "
|
|
893
|
-
"package": "@vaadin/
|
|
363
|
+
"name": "InputControlMixin",
|
|
364
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
894
365
|
}
|
|
895
366
|
},
|
|
896
367
|
{
|
|
897
|
-
"
|
|
368
|
+
"kind": "field",
|
|
369
|
+
"name": "readonly",
|
|
370
|
+
"privacy": "public",
|
|
898
371
|
"type": {
|
|
899
372
|
"text": "boolean"
|
|
900
373
|
},
|
|
901
|
-
"description": "When
|
|
902
|
-
"
|
|
903
|
-
"inheritedFrom": {
|
|
904
|
-
"name": "OverlayMixin",
|
|
905
|
-
"package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
|
|
906
|
-
}
|
|
907
|
-
},
|
|
908
|
-
{
|
|
909
|
-
"name": "owner",
|
|
910
|
-
"type": {
|
|
911
|
-
"text": "HTMLElement"
|
|
912
|
-
},
|
|
913
|
-
"description": "Owner element passed with renderer function",
|
|
914
|
-
"fieldName": "owner",
|
|
915
|
-
"inheritedFrom": {
|
|
916
|
-
"name": "OverlayMixin",
|
|
917
|
-
"package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
|
|
918
|
-
}
|
|
919
|
-
},
|
|
920
|
-
{
|
|
921
|
-
"name": "renderer",
|
|
922
|
-
"type": {
|
|
923
|
-
"text": "OverlayRenderer | null | undefined"
|
|
924
|
-
},
|
|
925
|
-
"description": "Custom function for rendering the content of the overlay.\nReceives three arguments:\n\n- `root` The root container DOM element. Append your content to it.\n- `owner` The host element of the renderer function.\n- `model` The object with the properties related with rendering.",
|
|
926
|
-
"fieldName": "renderer",
|
|
374
|
+
"description": "When present, it specifies that the field is read-only.",
|
|
375
|
+
"attribute": "readonly",
|
|
927
376
|
"inheritedFrom": {
|
|
928
|
-
"name": "
|
|
929
|
-
"package": "@vaadin/
|
|
377
|
+
"name": "InputControlMixin",
|
|
378
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
930
379
|
}
|
|
931
380
|
},
|
|
932
381
|
{
|
|
933
|
-
"
|
|
382
|
+
"kind": "field",
|
|
383
|
+
"name": "step",
|
|
384
|
+
"privacy": "public",
|
|
934
385
|
"type": {
|
|
935
386
|
"text": "number"
|
|
936
387
|
},
|
|
937
|
-
"description": "
|
|
938
|
-
"
|
|
939
|
-
"inheritedFrom": {
|
|
940
|
-
"name": "PositionMixin",
|
|
941
|
-
"package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
|
|
942
|
-
}
|
|
943
|
-
},
|
|
944
|
-
{
|
|
945
|
-
"name": "restore-focus-node",
|
|
946
|
-
"type": {
|
|
947
|
-
"text": "HTMLElement"
|
|
948
|
-
},
|
|
949
|
-
"description": "Set to specify the element which should be focused on overlay close,\nif `restoreFocusOnClose` is set to true.",
|
|
950
|
-
"fieldName": "restoreFocusNode",
|
|
951
|
-
"inheritedFrom": {
|
|
952
|
-
"name": "OverlayFocusMixin",
|
|
953
|
-
"package": "@vaadin/overlay/src/vaadin-overlay-focus-mixin.js"
|
|
954
|
-
}
|
|
955
|
-
},
|
|
956
|
-
{
|
|
957
|
-
"name": "restore-focus-on-close",
|
|
958
|
-
"type": {
|
|
959
|
-
"text": "boolean"
|
|
960
|
-
},
|
|
961
|
-
"description": "Set to true to enable restoring of focus when overlay is closed.",
|
|
962
|
-
"fieldName": "restoreFocusOnClose",
|
|
963
|
-
"inheritedFrom": {
|
|
964
|
-
"name": "OverlayFocusMixin",
|
|
965
|
-
"package": "@vaadin/overlay/src/vaadin-overlay-focus-mixin.js"
|
|
966
|
-
}
|
|
388
|
+
"description": "Defines the time interval (in seconds) between the items displayed\nin the time selection box. The default is 1 hour (i.e. `3600`).\n\nIt also configures the precision of the value string. By default\nthe component formats values as `hh:mm` but setting a step value\nlower than one minute or one second, format resolution changes to\n`hh:mm:ss` and `hh:mm:ss.fff` respectively.\n\nUnit must be set in seconds, and for correctly configuring intervals\nin the dropdown, it need to evenly divide a day.\n\nNote: it is possible to define step that is dividing an hour in inexact\nfragments (i.e. 5760 seconds which equals 1 hour 36 minutes), but it is\nnot recommended to use it for better UX experience.",
|
|
389
|
+
"attribute": "step"
|
|
967
390
|
},
|
|
968
391
|
{
|
|
969
|
-
"
|
|
392
|
+
"kind": "field",
|
|
393
|
+
"name": "title",
|
|
394
|
+
"privacy": "public",
|
|
970
395
|
"type": {
|
|
971
396
|
"text": "string"
|
|
972
397
|
},
|
|
973
|
-
"description": "
|
|
974
|
-
"
|
|
398
|
+
"description": "The text usually displayed in a tooltip popup when the mouse is over the field.",
|
|
399
|
+
"attribute": "title",
|
|
975
400
|
"inheritedFrom": {
|
|
976
|
-
"name": "
|
|
977
|
-
"package": "@vaadin/
|
|
401
|
+
"name": "InputControlMixin",
|
|
402
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
978
403
|
}
|
|
979
404
|
},
|
|
980
405
|
{
|
|
981
|
-
"
|
|
406
|
+
"kind": "field",
|
|
407
|
+
"name": "value",
|
|
408
|
+
"privacy": "public",
|
|
982
409
|
"type": {
|
|
983
|
-
"text": "
|
|
410
|
+
"text": "string"
|
|
984
411
|
},
|
|
985
|
-
"description": "
|
|
986
|
-
"
|
|
987
|
-
"inheritedFrom": {
|
|
988
|
-
"name": "OverlayMixin",
|
|
989
|
-
"package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
|
|
990
|
-
}
|
|
412
|
+
"description": "The time value for this element.\n\nSupported time formats are in ISO 8601:\n- `hh:mm` (default)\n- `hh:mm:ss`\n- `hh:mm:ss.fff`",
|
|
413
|
+
"attribute": "value"
|
|
991
414
|
}
|
|
992
415
|
],
|
|
993
416
|
"events": [
|
|
994
417
|
{
|
|
995
|
-
"name": "
|
|
418
|
+
"name": "change",
|
|
996
419
|
"type": {
|
|
997
420
|
"text": "CustomEvent"
|
|
998
|
-
},
|
|
999
|
-
"inheritedFrom": {
|
|
1000
|
-
"name": "OverlayMixin",
|
|
1001
|
-
"package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
|
|
1002
421
|
}
|
|
1003
422
|
},
|
|
1004
423
|
{
|
|
1005
|
-
"name": "
|
|
424
|
+
"name": "unparsable-change",
|
|
1006
425
|
"type": {
|
|
1007
426
|
"text": "CustomEvent"
|
|
1008
|
-
},
|
|
1009
|
-
"inheritedFrom": {
|
|
1010
|
-
"name": "OverlayMixin",
|
|
1011
|
-
"package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
|
|
1012
427
|
}
|
|
1013
428
|
}
|
|
1014
|
-
]
|
|
1015
|
-
|
|
1016
|
-
],
|
|
1017
|
-
"exports": [
|
|
1018
|
-
{
|
|
1019
|
-
"kind": "js",
|
|
1020
|
-
"name": "TimePickerOverlay",
|
|
1021
|
-
"declaration": {
|
|
1022
|
-
"name": "TimePickerOverlay",
|
|
1023
|
-
"module": "src/vaadin-time-picker-overlay.js"
|
|
1024
|
-
}
|
|
1025
|
-
}
|
|
1026
|
-
]
|
|
1027
|
-
},
|
|
1028
|
-
{
|
|
1029
|
-
"kind": "javascript-module",
|
|
1030
|
-
"path": "src/vaadin-time-picker-scroller.js",
|
|
1031
|
-
"declarations": [
|
|
1032
|
-
{
|
|
1033
|
-
"kind": "class",
|
|
1034
|
-
"description": "An element used internally by `<vaadin-time-picker>`. Not intended to be used separately.",
|
|
1035
|
-
"name": "TimePickerScroller",
|
|
1036
|
-
"members": [
|
|
429
|
+
],
|
|
430
|
+
"attributes": [
|
|
1037
431
|
{
|
|
1038
|
-
"
|
|
1039
|
-
"name": "focusedIndex",
|
|
1040
|
-
"privacy": "public",
|
|
432
|
+
"name": "accessible-name",
|
|
1041
433
|
"type": {
|
|
1042
|
-
"text": "
|
|
434
|
+
"text": "string"
|
|
1043
435
|
},
|
|
1044
|
-
"description": "
|
|
1045
|
-
"
|
|
436
|
+
"description": "String used to label the component to screen reader users.",
|
|
437
|
+
"fieldName": "accessibleName",
|
|
1046
438
|
"inheritedFrom": {
|
|
1047
|
-
"name": "
|
|
1048
|
-
"package": "@vaadin/
|
|
439
|
+
"name": "FieldMixin",
|
|
440
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
1049
441
|
}
|
|
1050
442
|
},
|
|
1051
443
|
{
|
|
1052
|
-
"
|
|
1053
|
-
"name": "getItemLabel",
|
|
1054
|
-
"privacy": "public",
|
|
444
|
+
"name": "accessible-name-ref",
|
|
1055
445
|
"type": {
|
|
1056
|
-
"text": "
|
|
446
|
+
"text": "string"
|
|
1057
447
|
},
|
|
1058
|
-
"description": "
|
|
1059
|
-
"
|
|
448
|
+
"description": "Id of the element used as label of the component to screen reader users.",
|
|
449
|
+
"fieldName": "accessibleNameRef",
|
|
1060
450
|
"inheritedFrom": {
|
|
1061
|
-
"name": "
|
|
1062
|
-
"package": "@vaadin/
|
|
451
|
+
"name": "FieldMixin",
|
|
452
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
1063
453
|
}
|
|
1064
454
|
},
|
|
1065
455
|
{
|
|
1066
|
-
"
|
|
1067
|
-
"name": "itemClassNameGenerator",
|
|
1068
|
-
"privacy": "public",
|
|
456
|
+
"name": "allowed-char-pattern",
|
|
1069
457
|
"type": {
|
|
1070
|
-
"text": "
|
|
458
|
+
"text": "string"
|
|
1071
459
|
},
|
|
1072
|
-
"description": "A
|
|
1073
|
-
"
|
|
460
|
+
"description": "A pattern matched against individual characters the user inputs.\n\nWhen set, the field will prevent:\n- `keydown` events if the entered key doesn't match `/^allowedCharPattern$/`\n- `paste` events if the pasted text doesn't match `/^allowedCharPattern*$/`\n- `drop` events if the dropped text doesn't match `/^allowedCharPattern*$/`\n\nFor example, to allow entering only numbers and minus signs, use:\n`allowedCharPattern = \"[\\\\d-]\"`",
|
|
461
|
+
"fieldName": "allowedCharPattern",
|
|
1074
462
|
"inheritedFrom": {
|
|
1075
|
-
"name": "
|
|
1076
|
-
"package": "@vaadin/
|
|
463
|
+
"name": "InputControlMixin",
|
|
464
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
1077
465
|
}
|
|
1078
466
|
},
|
|
1079
467
|
{
|
|
1080
|
-
"
|
|
1081
|
-
"name": "itemIdPath",
|
|
1082
|
-
"privacy": "public",
|
|
468
|
+
"name": "auto-open-disabled",
|
|
1083
469
|
"type": {
|
|
1084
|
-
"text": "
|
|
470
|
+
"text": "boolean"
|
|
1085
471
|
},
|
|
1086
|
-
"description": "
|
|
1087
|
-
"
|
|
472
|
+
"description": "Set true to prevent the overlay from opening automatically.",
|
|
473
|
+
"fieldName": "autoOpenDisabled",
|
|
1088
474
|
"inheritedFrom": {
|
|
1089
|
-
"name": "
|
|
1090
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-
|
|
475
|
+
"name": "ComboBoxBaseMixin",
|
|
476
|
+
"package": "@vaadin/combo-box/src/vaadin-combo-box-base-mixin.js"
|
|
1091
477
|
}
|
|
1092
478
|
},
|
|
1093
479
|
{
|
|
1094
|
-
"
|
|
1095
|
-
"name": "items",
|
|
1096
|
-
"privacy": "public",
|
|
480
|
+
"name": "autoselect",
|
|
1097
481
|
"type": {
|
|
1098
|
-
"text": "
|
|
482
|
+
"text": "boolean"
|
|
1099
483
|
},
|
|
1100
|
-
"description": "
|
|
1101
|
-
"
|
|
484
|
+
"description": "If true, the input text gets fully selected when the field is focused using click or touch / tap.",
|
|
485
|
+
"fieldName": "autoselect",
|
|
1102
486
|
"inheritedFrom": {
|
|
1103
|
-
"name": "
|
|
1104
|
-
"package": "@vaadin/
|
|
487
|
+
"name": "InputControlMixin",
|
|
488
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
1105
489
|
}
|
|
1106
490
|
},
|
|
1107
491
|
{
|
|
1108
|
-
"
|
|
1109
|
-
"name": "loading",
|
|
1110
|
-
"privacy": "public",
|
|
492
|
+
"name": "clear-button-visible",
|
|
1111
493
|
"type": {
|
|
1112
494
|
"text": "boolean"
|
|
1113
495
|
},
|
|
1114
|
-
"description": "Set to true
|
|
1115
|
-
"
|
|
496
|
+
"description": "Set to true to display the clear icon which clears the input.\n\nIt is up to the component to choose where to place the clear icon:\nin the Shadow DOM or in the light DOM. In any way, a reference to\nthe clear icon element should be provided via the `clearElement` getter.",
|
|
497
|
+
"fieldName": "clearButtonVisible",
|
|
1116
498
|
"inheritedFrom": {
|
|
1117
|
-
"name": "
|
|
1118
|
-
"package": "@vaadin/
|
|
499
|
+
"name": "ClearButtonMixin",
|
|
500
|
+
"package": "@vaadin/field-base/src/clear-button-mixin.js"
|
|
1119
501
|
}
|
|
1120
502
|
},
|
|
1121
503
|
{
|
|
1122
|
-
"
|
|
1123
|
-
"name": "opened",
|
|
1124
|
-
"privacy": "public",
|
|
504
|
+
"name": "error-message",
|
|
1125
505
|
"type": {
|
|
1126
|
-
"text": "
|
|
506
|
+
"text": "string"
|
|
1127
507
|
},
|
|
1128
|
-
"description": "
|
|
1129
|
-
"
|
|
508
|
+
"description": "Error to show when the field is invalid.",
|
|
509
|
+
"fieldName": "errorMessage",
|
|
1130
510
|
"inheritedFrom": {
|
|
1131
|
-
"name": "
|
|
1132
|
-
"package": "@vaadin/
|
|
511
|
+
"name": "FieldMixin",
|
|
512
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
1133
513
|
}
|
|
1134
514
|
},
|
|
1135
515
|
{
|
|
1136
|
-
"
|
|
1137
|
-
"name": "owner",
|
|
1138
|
-
"privacy": "public",
|
|
516
|
+
"name": "helper-text",
|
|
1139
517
|
"type": {
|
|
1140
|
-
"text": "
|
|
518
|
+
"text": "string"
|
|
1141
519
|
},
|
|
1142
|
-
"description": "
|
|
1143
|
-
"
|
|
520
|
+
"description": "String used for the helper text.",
|
|
521
|
+
"fieldName": "helperText",
|
|
1144
522
|
"inheritedFrom": {
|
|
1145
|
-
"name": "
|
|
1146
|
-
"package": "@vaadin/
|
|
523
|
+
"name": "FieldMixin",
|
|
524
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
1147
525
|
}
|
|
1148
526
|
},
|
|
1149
527
|
{
|
|
1150
|
-
"
|
|
1151
|
-
"name": "renderer",
|
|
1152
|
-
"privacy": "public",
|
|
1153
|
-
"type": {
|
|
1154
|
-
"text": "object"
|
|
1155
|
-
},
|
|
1156
|
-
"description": "Function used to render the content of every combo-box item.",
|
|
1157
|
-
"attribute": "renderer",
|
|
528
|
+
"name": "i18n",
|
|
1158
529
|
"inheritedFrom": {
|
|
1159
|
-
"name": "
|
|
1160
|
-
"package": "@vaadin/
|
|
530
|
+
"name": "I18nMixin",
|
|
531
|
+
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
1161
532
|
}
|
|
1162
533
|
},
|
|
1163
534
|
{
|
|
1164
|
-
"
|
|
1165
|
-
"
|
|
1166
|
-
|
|
535
|
+
"name": "label",
|
|
536
|
+
"type": {
|
|
537
|
+
"text": "string"
|
|
538
|
+
},
|
|
539
|
+
"description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
|
|
540
|
+
"fieldName": "label",
|
|
1167
541
|
"inheritedFrom": {
|
|
1168
|
-
"name": "
|
|
1169
|
-
"package": "@vaadin/
|
|
542
|
+
"name": "FieldMixin",
|
|
543
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
1170
544
|
}
|
|
1171
545
|
},
|
|
1172
546
|
{
|
|
1173
|
-
"
|
|
1174
|
-
"
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
"text": "number"
|
|
1180
|
-
}
|
|
1181
|
-
}
|
|
1182
|
-
],
|
|
1183
|
-
"description": "Scrolls an item at given index into view and adjusts `scrollTop`\nso that the element gets fully visible on Arrow Down key press.",
|
|
1184
|
-
"inheritedFrom": {
|
|
1185
|
-
"name": "ComboBoxScrollerMixin",
|
|
1186
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-scroller-mixin.js"
|
|
1187
|
-
}
|
|
547
|
+
"name": "max",
|
|
548
|
+
"type": {
|
|
549
|
+
"text": "string"
|
|
550
|
+
},
|
|
551
|
+
"description": "Maximum time allowed.\n\nSupported time formats are in ISO 8601:\n- `hh:mm`\n- `hh:mm:ss`\n- `hh:mm:ss.fff`",
|
|
552
|
+
"fieldName": "max"
|
|
1188
553
|
},
|
|
1189
554
|
{
|
|
1190
|
-
"
|
|
1191
|
-
"name": "selectedItem",
|
|
1192
|
-
"privacy": "public",
|
|
555
|
+
"name": "min",
|
|
1193
556
|
"type": {
|
|
1194
|
-
"text": "
|
|
557
|
+
"text": "string"
|
|
1195
558
|
},
|
|
1196
|
-
"description": "
|
|
1197
|
-
"
|
|
1198
|
-
"inheritedFrom": {
|
|
1199
|
-
"name": "ComboBoxScrollerMixin",
|
|
1200
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-scroller-mixin.js"
|
|
1201
|
-
}
|
|
559
|
+
"description": "Minimum time allowed.\n\nSupported time formats are in ISO 8601:\n- `hh:mm`\n- `hh:mm:ss`\n- `hh:mm:ss.fff`",
|
|
560
|
+
"fieldName": "min"
|
|
1202
561
|
},
|
|
1203
562
|
{
|
|
1204
|
-
"
|
|
1205
|
-
"name": "theme",
|
|
1206
|
-
"privacy": "public",
|
|
563
|
+
"name": "name",
|
|
1207
564
|
"type": {
|
|
1208
565
|
"text": "string"
|
|
1209
566
|
},
|
|
1210
|
-
"description": "
|
|
1211
|
-
"
|
|
567
|
+
"description": "The name of this field.",
|
|
568
|
+
"fieldName": "name",
|
|
1212
569
|
"inheritedFrom": {
|
|
1213
|
-
"name": "
|
|
1214
|
-
"package": "@vaadin/
|
|
570
|
+
"name": "InputControlMixin",
|
|
571
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
1215
572
|
}
|
|
1216
|
-
}
|
|
1217
|
-
],
|
|
1218
|
-
"mixins": [
|
|
1219
|
-
{
|
|
1220
|
-
"name": "ComboBoxScrollerMixin",
|
|
1221
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-scroller-mixin.js"
|
|
1222
573
|
},
|
|
1223
574
|
{
|
|
1224
|
-
"name": "
|
|
1225
|
-
"package": "@vaadin/component-base/src/polylit-mixin.js"
|
|
1226
|
-
}
|
|
1227
|
-
],
|
|
1228
|
-
"superclass": {
|
|
1229
|
-
"name": "LitElement",
|
|
1230
|
-
"package": "lit"
|
|
1231
|
-
},
|
|
1232
|
-
"tagName": "vaadin-time-picker-scroller",
|
|
1233
|
-
"customElement": true,
|
|
1234
|
-
"attributes": [
|
|
1235
|
-
{
|
|
1236
|
-
"name": "focused-index",
|
|
575
|
+
"name": "opened",
|
|
1237
576
|
"type": {
|
|
1238
|
-
"text": "
|
|
577
|
+
"text": "boolean"
|
|
1239
578
|
},
|
|
1240
|
-
"description": "
|
|
1241
|
-
"fieldName": "
|
|
579
|
+
"description": "True if the dropdown is open, false otherwise.",
|
|
580
|
+
"fieldName": "opened",
|
|
1242
581
|
"inheritedFrom": {
|
|
1243
|
-
"name": "
|
|
1244
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-
|
|
582
|
+
"name": "ComboBoxBaseMixin",
|
|
583
|
+
"package": "@vaadin/combo-box/src/vaadin-combo-box-base-mixin.js"
|
|
1245
584
|
}
|
|
1246
585
|
},
|
|
1247
586
|
{
|
|
1248
|
-
"name": "
|
|
587
|
+
"name": "pattern",
|
|
1249
588
|
"type": {
|
|
1250
589
|
"text": "string"
|
|
1251
590
|
},
|
|
1252
|
-
"description": "
|
|
1253
|
-
"fieldName": "
|
|
591
|
+
"description": "A regular expression that the value is checked against.\nThe pattern must match the entire value, not just some subset.",
|
|
592
|
+
"fieldName": "pattern",
|
|
1254
593
|
"inheritedFrom": {
|
|
1255
|
-
"name": "
|
|
1256
|
-
"package": "@vaadin/
|
|
594
|
+
"name": "PatternMixin",
|
|
595
|
+
"package": "@vaadin/field-base/src/pattern-mixin.js"
|
|
1257
596
|
}
|
|
1258
597
|
},
|
|
1259
598
|
{
|
|
1260
|
-
"name": "
|
|
599
|
+
"name": "placeholder",
|
|
1261
600
|
"type": {
|
|
1262
|
-
"text": "
|
|
601
|
+
"text": "string"
|
|
1263
602
|
},
|
|
1264
|
-
"description": "A
|
|
1265
|
-
"fieldName": "
|
|
603
|
+
"description": "A hint to the user of what can be entered in the field.",
|
|
604
|
+
"fieldName": "placeholder",
|
|
1266
605
|
"inheritedFrom": {
|
|
1267
|
-
"name": "
|
|
1268
|
-
"package": "@vaadin/
|
|
606
|
+
"name": "InputControlMixin",
|
|
607
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
1269
608
|
}
|
|
1270
609
|
},
|
|
1271
610
|
{
|
|
1272
|
-
"name": "
|
|
611
|
+
"name": "readonly",
|
|
1273
612
|
"type": {
|
|
1274
613
|
"text": "boolean"
|
|
1275
614
|
},
|
|
1276
|
-
"description": "
|
|
1277
|
-
"fieldName": "
|
|
615
|
+
"description": "When present, it specifies that the field is read-only.",
|
|
616
|
+
"fieldName": "readonly",
|
|
1278
617
|
"inheritedFrom": {
|
|
1279
|
-
"name": "
|
|
1280
|
-
"package": "@vaadin/
|
|
618
|
+
"name": "InputControlMixin",
|
|
619
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
1281
620
|
}
|
|
1282
621
|
},
|
|
1283
622
|
{
|
|
1284
|
-
"name": "
|
|
623
|
+
"name": "step",
|
|
1285
624
|
"type": {
|
|
1286
|
-
"text": "
|
|
625
|
+
"text": "number"
|
|
1287
626
|
},
|
|
1288
|
-
"description": "
|
|
1289
|
-
"fieldName": "
|
|
1290
|
-
"inheritedFrom": {
|
|
1291
|
-
"name": "ComboBoxScrollerMixin",
|
|
1292
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-scroller-mixin.js"
|
|
1293
|
-
}
|
|
627
|
+
"description": "Defines the time interval (in seconds) between the items displayed\nin the time selection box. The default is 1 hour (i.e. `3600`).\n\nIt also configures the precision of the value string. By default\nthe component formats values as `hh:mm` but setting a step value\nlower than one minute or one second, format resolution changes to\n`hh:mm:ss` and `hh:mm:ss.fff` respectively.\n\nUnit must be set in seconds, and for correctly configuring intervals\nin the dropdown, it need to evenly divide a day.\n\nNote: it is possible to define step that is dividing an hour in inexact\nfragments (i.e. 5760 seconds which equals 1 hour 36 minutes), but it is\nnot recommended to use it for better UX experience.",
|
|
628
|
+
"fieldName": "step"
|
|
1294
629
|
},
|
|
1295
630
|
{
|
|
1296
|
-
"name": "
|
|
631
|
+
"name": "title",
|
|
1297
632
|
"type": {
|
|
1298
633
|
"text": "string"
|
|
1299
634
|
},
|
|
1300
|
-
"description": "
|
|
1301
|
-
"fieldName": "
|
|
635
|
+
"description": "The text usually displayed in a tooltip popup when the mouse is over the field.",
|
|
636
|
+
"fieldName": "title",
|
|
1302
637
|
"inheritedFrom": {
|
|
1303
|
-
"name": "
|
|
1304
|
-
"package": "@vaadin/
|
|
638
|
+
"name": "InputControlMixin",
|
|
639
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
1305
640
|
}
|
|
1306
|
-
}
|
|
1307
|
-
],
|
|
1308
|
-
"events": [
|
|
641
|
+
},
|
|
1309
642
|
{
|
|
1310
|
-
"name": "
|
|
643
|
+
"name": "value",
|
|
1311
644
|
"type": {
|
|
1312
|
-
"text": "
|
|
645
|
+
"text": "string"
|
|
1313
646
|
},
|
|
1314
|
-
"
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
647
|
+
"description": "The time value for this element.\n\nSupported time formats are in ISO 8601:\n- `hh:mm` (default)\n- `hh:mm:ss`\n- `hh:mm:ss.fff`",
|
|
648
|
+
"fieldName": "value"
|
|
649
|
+
}
|
|
650
|
+
],
|
|
651
|
+
"mixins": [
|
|
652
|
+
{
|
|
653
|
+
"name": "I18nMixin",
|
|
654
|
+
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
1318
655
|
},
|
|
1319
656
|
{
|
|
1320
|
-
"name": "
|
|
1321
|
-
"
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
"
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
657
|
+
"name": "ComboBoxBaseMixin",
|
|
658
|
+
"package": "@vaadin/combo-box/src/vaadin-combo-box-base-mixin.js"
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"name": "InputControlMixin",
|
|
662
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"name": "PatternMixin",
|
|
666
|
+
"package": "@vaadin/field-base/src/pattern-mixin.js"
|
|
667
|
+
}
|
|
668
|
+
],
|
|
669
|
+
"parameters": [
|
|
670
|
+
{
|
|
671
|
+
"name": "superClass"
|
|
1328
672
|
}
|
|
1329
673
|
]
|
|
1330
674
|
}
|
|
@@ -1332,10 +676,18 @@
|
|
|
1332
676
|
"exports": [
|
|
1333
677
|
{
|
|
1334
678
|
"kind": "js",
|
|
1335
|
-
"name": "
|
|
679
|
+
"name": "timePickerI18nDefaults",
|
|
680
|
+
"declaration": {
|
|
681
|
+
"name": "timePickerI18nDefaults",
|
|
682
|
+
"module": "src/vaadin-time-picker-mixin.js"
|
|
683
|
+
}
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"kind": "js",
|
|
687
|
+
"name": "TimePickerMixin",
|
|
1336
688
|
"declaration": {
|
|
1337
|
-
"name": "
|
|
1338
|
-
"module": "src/vaadin-time-picker-
|
|
689
|
+
"name": "TimePickerMixin",
|
|
690
|
+
"module": "src/vaadin-time-picker-mixin.js"
|
|
1339
691
|
}
|
|
1340
692
|
}
|
|
1341
693
|
]
|
|
@@ -1349,6 +701,48 @@
|
|
|
1349
701
|
"description": "`<vaadin-time-picker>` is a Web Component providing a time-selection field.\n\n```html\n<vaadin-time-picker></vaadin-time-picker>\n```\n```js\ntimePicker.value = '14:30';\n```\n\nWhen the selected `value` is changed, a `value-changed` event is triggered.\n\n### Styling\n\nThe following custom properties are available for styling:\n\nCustom property | Description | Default\n-----------------------------------------|----------------------------|---------\n`--vaadin-field-default-width` | Default width of the field | `12em`\n`--vaadin-time-picker-overlay-width` | Width of the overlay | `auto`\n`--vaadin-time-picker-overlay-max-height`| Max height of the overlay | `65vh`\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n---------------------|----------------\n`label` | The label element\n`input-field` | The element that wraps prefix, value and buttons\n`field-button` | Set on both clear and toggle buttons\n`clear-button` | The clear button\n`error-message` | The error message element\n`helper-text` | The helper text element wrapper\n`required-indicator` | The `required` state indicator element\n`toggle-button` | The toggle button\n`overlay` | The overlay container\n`content` | The overlay content\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n---------------------|---------------------------------\n`disabled` | Set when the element is disabled\n`has-value` | Set when the element has a value\n`has-label` | Set when the element has a label\n`has-helper` | Set when the element has helper text or slot\n`has-error-message` | Set when the element has an error message\n`has-tooltip` | Set when the element has a slotted tooltip\n`invalid` | Set when the element is invalid\n`focused` | Set when the element is focused\n`focus-ring` | Set when the element is keyboard focused\n`readonly` | Set when the element is readonly\n`opened` | Set when the overlay is opened\n\n### Internal components\n\nIn addition to `<vaadin-time-picker>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-time-picker-item>` - has the same API as [`<vaadin-item>`](#/elements/vaadin-item).\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.\n\n### Change events\n\nDepending on the nature of the value change that the user attempts to commit e.g. by pressing Enter,\nthe component can fire either a `change` event or an `unparsable-change` event:\n\nValue change | Event\n:------------------------|:------------------\nempty => parsable | change\nempty => unparsable | unparsable-change\nparsable => empty | change\nparsable => parsable | change\nparsable => unparsable | change\nunparsable => empty | unparsable-change\nunparsable => parsable | change\nunparsable => unparsable | unparsable-change",
|
|
1350
702
|
"name": "TimePicker",
|
|
1351
703
|
"members": [
|
|
704
|
+
{
|
|
705
|
+
"kind": "field",
|
|
706
|
+
"name": "allowedCharPattern",
|
|
707
|
+
"privacy": "public",
|
|
708
|
+
"type": {
|
|
709
|
+
"text": "string"
|
|
710
|
+
},
|
|
711
|
+
"description": "A pattern matched against individual characters the user inputs.\n\nWhen set, the field will prevent:\n- `keydown` events if the entered key doesn't match `/^allowedCharPattern$/`\n- `paste` events if the pasted text doesn't match `/^allowedCharPattern*$/`\n- `drop` events if the dropped text doesn't match `/^allowedCharPattern*$/`\n\nFor example, to allow entering only numbers and minus signs, use:\n`allowedCharPattern = \"[\\\\d-]\"`",
|
|
712
|
+
"attribute": "allowed-char-pattern",
|
|
713
|
+
"inheritedFrom": {
|
|
714
|
+
"name": "InputControlMixin",
|
|
715
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"kind": "field",
|
|
720
|
+
"name": "autoOpenDisabled",
|
|
721
|
+
"privacy": "public",
|
|
722
|
+
"type": {
|
|
723
|
+
"text": "boolean"
|
|
724
|
+
},
|
|
725
|
+
"description": "Set true to prevent the overlay from opening automatically.",
|
|
726
|
+
"attribute": "auto-open-disabled",
|
|
727
|
+
"inheritedFrom": {
|
|
728
|
+
"name": "ComboBoxBaseMixin",
|
|
729
|
+
"package": "@vaadin/combo-box/src/vaadin-combo-box-base-mixin.js"
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"kind": "field",
|
|
734
|
+
"name": "autoselect",
|
|
735
|
+
"privacy": "public",
|
|
736
|
+
"type": {
|
|
737
|
+
"text": "boolean"
|
|
738
|
+
},
|
|
739
|
+
"description": "If true, the input text gets fully selected when the field is focused using click or touch / tap.",
|
|
740
|
+
"attribute": "autoselect",
|
|
741
|
+
"inheritedFrom": {
|
|
742
|
+
"name": "InputControlMixin",
|
|
743
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
744
|
+
}
|
|
745
|
+
},
|
|
1352
746
|
{
|
|
1353
747
|
"kind": "method",
|
|
1354
748
|
"name": "checkValidity",
|
|
@@ -1363,23 +757,22 @@
|
|
|
1363
757
|
"module": "src/vaadin-time-picker-mixin.js"
|
|
1364
758
|
}
|
|
1365
759
|
},
|
|
760
|
+
{
|
|
761
|
+
"kind": "method",
|
|
762
|
+
"name": "close",
|
|
763
|
+
"description": "Closes the dropdown list.",
|
|
764
|
+
"inheritedFrom": {
|
|
765
|
+
"name": "ComboBoxBaseMixin",
|
|
766
|
+
"package": "@vaadin/combo-box/src/vaadin-combo-box-base-mixin.js"
|
|
767
|
+
}
|
|
768
|
+
},
|
|
1366
769
|
{
|
|
1367
770
|
"kind": "field",
|
|
1368
771
|
"name": "i18n",
|
|
1369
772
|
"description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides both the\ntime parsing and formatting functions.\n\nThe object has the following JSON structure:\n\n```js\n{\n // A function to format given `Object` as\n // time string. Object is in the format `{ hours: ..., minutes: ..., seconds: ..., milliseconds: ... }`\n formatTime: (time) => {\n // returns a string representation of the given\n // object in `hh` / 'hh:mm' / 'hh:mm:ss' / 'hh:mm:ss.fff' - formats\n },\n\n // A function to parse the given text to an `Object` in the format\n // `{ hours: ..., minutes: ..., seconds: ..., milliseconds: ... }`.\n // Must properly parse (at least) text\n // formatted by `formatTime`.\n parseTime: text => {\n // Parses a string in object/string that can be formatted by`formatTime`.\n }\n}\n```\n\nNOTE: `formatTime` and `parseTime` must be implemented in a\ncompatible manner to ensure the component works properly.",
|
|
1370
|
-
"
|
|
1371
|
-
"
|
|
1372
|
-
"text": "!TimePickerI18n"
|
|
1373
|
-
}
|
|
773
|
+
"type": {
|
|
774
|
+
"text": "Object"
|
|
1374
775
|
},
|
|
1375
|
-
"parameters": [
|
|
1376
|
-
{
|
|
1377
|
-
"name": "value",
|
|
1378
|
-
"type": {
|
|
1379
|
-
"text": "Object"
|
|
1380
|
-
}
|
|
1381
|
-
}
|
|
1382
|
-
],
|
|
1383
776
|
"inheritedFrom": {
|
|
1384
777
|
"name": "I18nMixin",
|
|
1385
778
|
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
@@ -1413,6 +806,85 @@
|
|
|
1413
806
|
"module": "src/vaadin-time-picker-mixin.js"
|
|
1414
807
|
}
|
|
1415
808
|
},
|
|
809
|
+
{
|
|
810
|
+
"kind": "field",
|
|
811
|
+
"name": "name",
|
|
812
|
+
"privacy": "public",
|
|
813
|
+
"type": {
|
|
814
|
+
"text": "string"
|
|
815
|
+
},
|
|
816
|
+
"description": "The name of this field.",
|
|
817
|
+
"attribute": "name",
|
|
818
|
+
"inheritedFrom": {
|
|
819
|
+
"name": "InputControlMixin",
|
|
820
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
821
|
+
}
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"kind": "method",
|
|
825
|
+
"name": "open",
|
|
826
|
+
"description": "Opens the dropdown list.",
|
|
827
|
+
"inheritedFrom": {
|
|
828
|
+
"name": "ComboBoxBaseMixin",
|
|
829
|
+
"package": "@vaadin/combo-box/src/vaadin-combo-box-base-mixin.js"
|
|
830
|
+
}
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
"kind": "field",
|
|
834
|
+
"name": "opened",
|
|
835
|
+
"privacy": "public",
|
|
836
|
+
"type": {
|
|
837
|
+
"text": "boolean"
|
|
838
|
+
},
|
|
839
|
+
"description": "True if the dropdown is open, false otherwise.",
|
|
840
|
+
"attribute": "opened",
|
|
841
|
+
"inheritedFrom": {
|
|
842
|
+
"name": "ComboBoxBaseMixin",
|
|
843
|
+
"package": "@vaadin/combo-box/src/vaadin-combo-box-base-mixin.js"
|
|
844
|
+
}
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
"kind": "field",
|
|
848
|
+
"name": "pattern",
|
|
849
|
+
"privacy": "public",
|
|
850
|
+
"type": {
|
|
851
|
+
"text": "string"
|
|
852
|
+
},
|
|
853
|
+
"description": "A regular expression that the value is checked against.\nThe pattern must match the entire value, not just some subset.",
|
|
854
|
+
"attribute": "pattern",
|
|
855
|
+
"inheritedFrom": {
|
|
856
|
+
"name": "PatternMixin",
|
|
857
|
+
"package": "@vaadin/field-base/src/pattern-mixin.js"
|
|
858
|
+
}
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
"kind": "field",
|
|
862
|
+
"name": "placeholder",
|
|
863
|
+
"privacy": "public",
|
|
864
|
+
"type": {
|
|
865
|
+
"text": "string"
|
|
866
|
+
},
|
|
867
|
+
"description": "A hint to the user of what can be entered in the field.",
|
|
868
|
+
"attribute": "placeholder",
|
|
869
|
+
"inheritedFrom": {
|
|
870
|
+
"name": "InputControlMixin",
|
|
871
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
872
|
+
}
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
"kind": "field",
|
|
876
|
+
"name": "readonly",
|
|
877
|
+
"privacy": "public",
|
|
878
|
+
"type": {
|
|
879
|
+
"text": "boolean"
|
|
880
|
+
},
|
|
881
|
+
"description": "When present, it specifies that the field is read-only.",
|
|
882
|
+
"attribute": "readonly",
|
|
883
|
+
"inheritedFrom": {
|
|
884
|
+
"name": "InputControlMixin",
|
|
885
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
886
|
+
}
|
|
887
|
+
},
|
|
1416
888
|
{
|
|
1417
889
|
"kind": "field",
|
|
1418
890
|
"name": "step",
|
|
@@ -1427,6 +899,20 @@
|
|
|
1427
899
|
"module": "src/vaadin-time-picker-mixin.js"
|
|
1428
900
|
}
|
|
1429
901
|
},
|
|
902
|
+
{
|
|
903
|
+
"kind": "field",
|
|
904
|
+
"name": "title",
|
|
905
|
+
"privacy": "public",
|
|
906
|
+
"type": {
|
|
907
|
+
"text": "string"
|
|
908
|
+
},
|
|
909
|
+
"description": "The text usually displayed in a tooltip popup when the mouse is over the field.",
|
|
910
|
+
"attribute": "title",
|
|
911
|
+
"inheritedFrom": {
|
|
912
|
+
"name": "InputControlMixin",
|
|
913
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
914
|
+
}
|
|
915
|
+
},
|
|
1430
916
|
{
|
|
1431
917
|
"kind": "field",
|
|
1432
918
|
"name": "value",
|
|
@@ -1522,6 +1008,42 @@
|
|
|
1522
1008
|
"tagName": "vaadin-time-picker",
|
|
1523
1009
|
"customElement": true,
|
|
1524
1010
|
"attributes": [
|
|
1011
|
+
{
|
|
1012
|
+
"name": "allowed-char-pattern",
|
|
1013
|
+
"type": {
|
|
1014
|
+
"text": "string"
|
|
1015
|
+
},
|
|
1016
|
+
"description": "A pattern matched against individual characters the user inputs.\n\nWhen set, the field will prevent:\n- `keydown` events if the entered key doesn't match `/^allowedCharPattern$/`\n- `paste` events if the pasted text doesn't match `/^allowedCharPattern*$/`\n- `drop` events if the dropped text doesn't match `/^allowedCharPattern*$/`\n\nFor example, to allow entering only numbers and minus signs, use:\n`allowedCharPattern = \"[\\\\d-]\"`",
|
|
1017
|
+
"fieldName": "allowedCharPattern",
|
|
1018
|
+
"inheritedFrom": {
|
|
1019
|
+
"name": "InputControlMixin",
|
|
1020
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
1021
|
+
}
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
"name": "auto-open-disabled",
|
|
1025
|
+
"type": {
|
|
1026
|
+
"text": "boolean"
|
|
1027
|
+
},
|
|
1028
|
+
"description": "Set true to prevent the overlay from opening automatically.",
|
|
1029
|
+
"fieldName": "autoOpenDisabled",
|
|
1030
|
+
"inheritedFrom": {
|
|
1031
|
+
"name": "ComboBoxBaseMixin",
|
|
1032
|
+
"package": "@vaadin/combo-box/src/vaadin-combo-box-base-mixin.js"
|
|
1033
|
+
}
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
"name": "autoselect",
|
|
1037
|
+
"type": {
|
|
1038
|
+
"text": "boolean"
|
|
1039
|
+
},
|
|
1040
|
+
"description": "If true, the input text gets fully selected when the field is focused using click or touch / tap.",
|
|
1041
|
+
"fieldName": "autoselect",
|
|
1042
|
+
"inheritedFrom": {
|
|
1043
|
+
"name": "InputControlMixin",
|
|
1044
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
1045
|
+
}
|
|
1046
|
+
},
|
|
1525
1047
|
{
|
|
1526
1048
|
"name": "i18n",
|
|
1527
1049
|
"inheritedFrom": {
|
|
@@ -1553,6 +1075,66 @@
|
|
|
1553
1075
|
"module": "src/vaadin-time-picker-mixin.js"
|
|
1554
1076
|
}
|
|
1555
1077
|
},
|
|
1078
|
+
{
|
|
1079
|
+
"name": "name",
|
|
1080
|
+
"type": {
|
|
1081
|
+
"text": "string"
|
|
1082
|
+
},
|
|
1083
|
+
"description": "The name of this field.",
|
|
1084
|
+
"fieldName": "name",
|
|
1085
|
+
"inheritedFrom": {
|
|
1086
|
+
"name": "InputControlMixin",
|
|
1087
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
1088
|
+
}
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
"name": "opened",
|
|
1092
|
+
"type": {
|
|
1093
|
+
"text": "boolean"
|
|
1094
|
+
},
|
|
1095
|
+
"description": "True if the dropdown is open, false otherwise.",
|
|
1096
|
+
"fieldName": "opened",
|
|
1097
|
+
"inheritedFrom": {
|
|
1098
|
+
"name": "ComboBoxBaseMixin",
|
|
1099
|
+
"package": "@vaadin/combo-box/src/vaadin-combo-box-base-mixin.js"
|
|
1100
|
+
}
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
"name": "pattern",
|
|
1104
|
+
"type": {
|
|
1105
|
+
"text": "string"
|
|
1106
|
+
},
|
|
1107
|
+
"description": "A regular expression that the value is checked against.\nThe pattern must match the entire value, not just some subset.",
|
|
1108
|
+
"fieldName": "pattern",
|
|
1109
|
+
"inheritedFrom": {
|
|
1110
|
+
"name": "PatternMixin",
|
|
1111
|
+
"package": "@vaadin/field-base/src/pattern-mixin.js"
|
|
1112
|
+
}
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
"name": "placeholder",
|
|
1116
|
+
"type": {
|
|
1117
|
+
"text": "string"
|
|
1118
|
+
},
|
|
1119
|
+
"description": "A hint to the user of what can be entered in the field.",
|
|
1120
|
+
"fieldName": "placeholder",
|
|
1121
|
+
"inheritedFrom": {
|
|
1122
|
+
"name": "InputControlMixin",
|
|
1123
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
1124
|
+
}
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
"name": "readonly",
|
|
1128
|
+
"type": {
|
|
1129
|
+
"text": "boolean"
|
|
1130
|
+
},
|
|
1131
|
+
"description": "When present, it specifies that the field is read-only.",
|
|
1132
|
+
"fieldName": "readonly",
|
|
1133
|
+
"inheritedFrom": {
|
|
1134
|
+
"name": "InputControlMixin",
|
|
1135
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
1136
|
+
}
|
|
1137
|
+
},
|
|
1556
1138
|
{
|
|
1557
1139
|
"name": "step",
|
|
1558
1140
|
"type": {
|
|
@@ -1565,6 +1147,18 @@
|
|
|
1565
1147
|
"module": "src/vaadin-time-picker-mixin.js"
|
|
1566
1148
|
}
|
|
1567
1149
|
},
|
|
1150
|
+
{
|
|
1151
|
+
"name": "title",
|
|
1152
|
+
"type": {
|
|
1153
|
+
"text": "string"
|
|
1154
|
+
},
|
|
1155
|
+
"description": "The text usually displayed in a tooltip popup when the mouse is over the field.",
|
|
1156
|
+
"fieldName": "title",
|
|
1157
|
+
"inheritedFrom": {
|
|
1158
|
+
"name": "InputControlMixin",
|
|
1159
|
+
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
1160
|
+
}
|
|
1161
|
+
},
|
|
1568
1162
|
{
|
|
1569
1163
|
"name": "value",
|
|
1570
1164
|
"type": {
|