@vaadin/time-picker 25.2.0-alpha1 → 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/custom-elements.json +503 -11
- package/package.json +14 -14
- package/src/vaadin-time-picker-mixin.js +9 -15
- package/web-types.json +55 -162
- package/web-types.lit.json +52 -52
package/custom-elements.json
CHANGED
|
@@ -164,6 +164,20 @@
|
|
|
164
164
|
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
165
165
|
}
|
|
166
166
|
},
|
|
167
|
+
{
|
|
168
|
+
"kind": "field",
|
|
169
|
+
"name": "autofocus",
|
|
170
|
+
"privacy": "public",
|
|
171
|
+
"type": {
|
|
172
|
+
"text": "boolean"
|
|
173
|
+
},
|
|
174
|
+
"description": "Specify that this control should have input focus when the page loads.",
|
|
175
|
+
"attribute": "autofocus",
|
|
176
|
+
"inheritedFrom": {
|
|
177
|
+
"name": "DelegateFocusMixin",
|
|
178
|
+
"package": "@vaadin/a11y-base/src/delegate-focus-mixin.js"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
167
181
|
{
|
|
168
182
|
"kind": "field",
|
|
169
183
|
"name": "autoOpenDisabled",
|
|
@@ -200,6 +214,19 @@
|
|
|
200
214
|
"type": {
|
|
201
215
|
"text": "boolean"
|
|
202
216
|
}
|
|
217
|
+
},
|
|
218
|
+
"inheritedFrom": {
|
|
219
|
+
"name": "ValidateMixin",
|
|
220
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"kind": "method",
|
|
225
|
+
"name": "clear",
|
|
226
|
+
"description": "Clear the value of the field.",
|
|
227
|
+
"inheritedFrom": {
|
|
228
|
+
"name": "InputMixin",
|
|
229
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
203
230
|
}
|
|
204
231
|
},
|
|
205
232
|
{
|
|
@@ -225,6 +252,20 @@
|
|
|
225
252
|
"package": "@vaadin/combo-box/src/vaadin-combo-box-base-mixin.js"
|
|
226
253
|
}
|
|
227
254
|
},
|
|
255
|
+
{
|
|
256
|
+
"kind": "field",
|
|
257
|
+
"name": "disabled",
|
|
258
|
+
"privacy": "public",
|
|
259
|
+
"type": {
|
|
260
|
+
"text": "boolean"
|
|
261
|
+
},
|
|
262
|
+
"description": "If true, the user cannot interact with this element.",
|
|
263
|
+
"attribute": "disabled",
|
|
264
|
+
"inheritedFrom": {
|
|
265
|
+
"name": "DelegateFocusMixin",
|
|
266
|
+
"package": "@vaadin/a11y-base/src/delegate-focus-mixin.js"
|
|
267
|
+
}
|
|
268
|
+
},
|
|
228
269
|
{
|
|
229
270
|
"kind": "field",
|
|
230
271
|
"name": "errorMessage",
|
|
@@ -267,6 +308,20 @@
|
|
|
267
308
|
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
268
309
|
}
|
|
269
310
|
},
|
|
311
|
+
{
|
|
312
|
+
"kind": "field",
|
|
313
|
+
"name": "invalid",
|
|
314
|
+
"privacy": "public",
|
|
315
|
+
"type": {
|
|
316
|
+
"text": "boolean"
|
|
317
|
+
},
|
|
318
|
+
"description": "Set to true when the field is invalid.",
|
|
319
|
+
"attribute": "invalid",
|
|
320
|
+
"inheritedFrom": {
|
|
321
|
+
"name": "ValidateMixin",
|
|
322
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
323
|
+
}
|
|
324
|
+
},
|
|
270
325
|
{
|
|
271
326
|
"kind": "field",
|
|
272
327
|
"name": "label",
|
|
@@ -281,6 +336,20 @@
|
|
|
281
336
|
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
282
337
|
}
|
|
283
338
|
},
|
|
339
|
+
{
|
|
340
|
+
"kind": "field",
|
|
341
|
+
"name": "manualValidation",
|
|
342
|
+
"privacy": "public",
|
|
343
|
+
"type": {
|
|
344
|
+
"text": "boolean"
|
|
345
|
+
},
|
|
346
|
+
"description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
|
|
347
|
+
"attribute": "manual-validation",
|
|
348
|
+
"inheritedFrom": {
|
|
349
|
+
"name": "ValidateMixin",
|
|
350
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
351
|
+
}
|
|
352
|
+
},
|
|
284
353
|
{
|
|
285
354
|
"kind": "field",
|
|
286
355
|
"name": "max",
|
|
@@ -380,6 +449,20 @@
|
|
|
380
449
|
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
381
450
|
}
|
|
382
451
|
},
|
|
452
|
+
{
|
|
453
|
+
"kind": "field",
|
|
454
|
+
"name": "required",
|
|
455
|
+
"privacy": "public",
|
|
456
|
+
"type": {
|
|
457
|
+
"text": "boolean"
|
|
458
|
+
},
|
|
459
|
+
"description": "Specifies that the user must fill in a value.",
|
|
460
|
+
"attribute": "required",
|
|
461
|
+
"inheritedFrom": {
|
|
462
|
+
"name": "ValidateMixin",
|
|
463
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
464
|
+
}
|
|
465
|
+
},
|
|
383
466
|
{
|
|
384
467
|
"kind": "field",
|
|
385
468
|
"name": "step",
|
|
@@ -404,6 +487,20 @@
|
|
|
404
487
|
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
405
488
|
}
|
|
406
489
|
},
|
|
490
|
+
{
|
|
491
|
+
"kind": "method",
|
|
492
|
+
"name": "validate",
|
|
493
|
+
"description": "Validates the field and sets the `invalid` property based on the result.\n\nThe method fires a `validated` event with the result of the validation.",
|
|
494
|
+
"return": {
|
|
495
|
+
"type": {
|
|
496
|
+
"text": "boolean"
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
"inheritedFrom": {
|
|
500
|
+
"name": "ValidateMixin",
|
|
501
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
502
|
+
}
|
|
503
|
+
},
|
|
407
504
|
{
|
|
408
505
|
"kind": "field",
|
|
409
506
|
"name": "value",
|
|
@@ -412,7 +509,11 @@
|
|
|
412
509
|
"text": "string"
|
|
413
510
|
},
|
|
414
511
|
"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`",
|
|
415
|
-
"attribute": "value"
|
|
512
|
+
"attribute": "value",
|
|
513
|
+
"inheritedFrom": {
|
|
514
|
+
"name": "InputMixin",
|
|
515
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
516
|
+
}
|
|
416
517
|
}
|
|
417
518
|
],
|
|
418
519
|
"events": [
|
|
@@ -420,6 +521,10 @@
|
|
|
420
521
|
"name": "change",
|
|
421
522
|
"type": {
|
|
422
523
|
"text": "CustomEvent"
|
|
524
|
+
},
|
|
525
|
+
"inheritedFrom": {
|
|
526
|
+
"name": "InputConstraintsMixin",
|
|
527
|
+
"package": "@vaadin/field-base/src/input-constraints-mixin.js"
|
|
423
528
|
}
|
|
424
529
|
},
|
|
425
530
|
{
|
|
@@ -427,6 +532,16 @@
|
|
|
427
532
|
"type": {
|
|
428
533
|
"text": "CustomEvent"
|
|
429
534
|
}
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"name": "validated",
|
|
538
|
+
"type": {
|
|
539
|
+
"text": "CustomEvent"
|
|
540
|
+
},
|
|
541
|
+
"inheritedFrom": {
|
|
542
|
+
"name": "ValidateMixin",
|
|
543
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
544
|
+
}
|
|
430
545
|
}
|
|
431
546
|
],
|
|
432
547
|
"attributes": [
|
|
@@ -478,6 +593,18 @@
|
|
|
478
593
|
"package": "@vaadin/combo-box/src/vaadin-combo-box-base-mixin.js"
|
|
479
594
|
}
|
|
480
595
|
},
|
|
596
|
+
{
|
|
597
|
+
"name": "autofocus",
|
|
598
|
+
"type": {
|
|
599
|
+
"text": "boolean"
|
|
600
|
+
},
|
|
601
|
+
"description": "Specify that this control should have input focus when the page loads.",
|
|
602
|
+
"fieldName": "autofocus",
|
|
603
|
+
"inheritedFrom": {
|
|
604
|
+
"name": "DelegateFocusMixin",
|
|
605
|
+
"package": "@vaadin/a11y-base/src/delegate-focus-mixin.js"
|
|
606
|
+
}
|
|
607
|
+
},
|
|
481
608
|
{
|
|
482
609
|
"name": "autoselect",
|
|
483
610
|
"type": {
|
|
@@ -502,6 +629,18 @@
|
|
|
502
629
|
"package": "@vaadin/field-base/src/clear-button-mixin.js"
|
|
503
630
|
}
|
|
504
631
|
},
|
|
632
|
+
{
|
|
633
|
+
"name": "disabled",
|
|
634
|
+
"type": {
|
|
635
|
+
"text": "boolean"
|
|
636
|
+
},
|
|
637
|
+
"description": "If true, the user cannot interact with this element.",
|
|
638
|
+
"fieldName": "disabled",
|
|
639
|
+
"inheritedFrom": {
|
|
640
|
+
"name": "DelegateFocusMixin",
|
|
641
|
+
"package": "@vaadin/a11y-base/src/delegate-focus-mixin.js"
|
|
642
|
+
}
|
|
643
|
+
},
|
|
505
644
|
{
|
|
506
645
|
"name": "error-message",
|
|
507
646
|
"type": {
|
|
@@ -538,6 +677,18 @@
|
|
|
538
677
|
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
539
678
|
}
|
|
540
679
|
},
|
|
680
|
+
{
|
|
681
|
+
"name": "invalid",
|
|
682
|
+
"type": {
|
|
683
|
+
"text": "boolean"
|
|
684
|
+
},
|
|
685
|
+
"description": "Set to true when the field is invalid.",
|
|
686
|
+
"fieldName": "invalid",
|
|
687
|
+
"inheritedFrom": {
|
|
688
|
+
"name": "ValidateMixin",
|
|
689
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
690
|
+
}
|
|
691
|
+
},
|
|
541
692
|
{
|
|
542
693
|
"name": "label",
|
|
543
694
|
"type": {
|
|
@@ -550,6 +701,18 @@
|
|
|
550
701
|
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
551
702
|
}
|
|
552
703
|
},
|
|
704
|
+
{
|
|
705
|
+
"name": "manual-validation",
|
|
706
|
+
"type": {
|
|
707
|
+
"text": "boolean"
|
|
708
|
+
},
|
|
709
|
+
"description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
|
|
710
|
+
"fieldName": "manualValidation",
|
|
711
|
+
"inheritedFrom": {
|
|
712
|
+
"name": "ValidateMixin",
|
|
713
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
714
|
+
}
|
|
715
|
+
},
|
|
553
716
|
{
|
|
554
717
|
"name": "max",
|
|
555
718
|
"type": {
|
|
@@ -626,6 +789,18 @@
|
|
|
626
789
|
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
627
790
|
}
|
|
628
791
|
},
|
|
792
|
+
{
|
|
793
|
+
"name": "required",
|
|
794
|
+
"type": {
|
|
795
|
+
"text": "boolean"
|
|
796
|
+
},
|
|
797
|
+
"description": "Specifies that the user must fill in a value.",
|
|
798
|
+
"fieldName": "required",
|
|
799
|
+
"inheritedFrom": {
|
|
800
|
+
"name": "ValidateMixin",
|
|
801
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
802
|
+
}
|
|
803
|
+
},
|
|
629
804
|
{
|
|
630
805
|
"name": "step",
|
|
631
806
|
"type": {
|
|
@@ -652,7 +827,11 @@
|
|
|
652
827
|
"text": "string"
|
|
653
828
|
},
|
|
654
829
|
"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`",
|
|
655
|
-
"fieldName": "value"
|
|
830
|
+
"fieldName": "value",
|
|
831
|
+
"inheritedFrom": {
|
|
832
|
+
"name": "InputMixin",
|
|
833
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
834
|
+
}
|
|
656
835
|
}
|
|
657
836
|
],
|
|
658
837
|
"mixins": [
|
|
@@ -708,6 +887,34 @@
|
|
|
708
887
|
"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",
|
|
709
888
|
"name": "TimePicker",
|
|
710
889
|
"members": [
|
|
890
|
+
{
|
|
891
|
+
"kind": "field",
|
|
892
|
+
"name": "accessibleName",
|
|
893
|
+
"privacy": "public",
|
|
894
|
+
"type": {
|
|
895
|
+
"text": "string"
|
|
896
|
+
},
|
|
897
|
+
"description": "String used to label the component to screen reader users.",
|
|
898
|
+
"attribute": "accessible-name",
|
|
899
|
+
"inheritedFrom": {
|
|
900
|
+
"name": "FieldMixin",
|
|
901
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
902
|
+
}
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"kind": "field",
|
|
906
|
+
"name": "accessibleNameRef",
|
|
907
|
+
"privacy": "public",
|
|
908
|
+
"type": {
|
|
909
|
+
"text": "string"
|
|
910
|
+
},
|
|
911
|
+
"description": "Id of the element used as label of the component to screen reader users.",
|
|
912
|
+
"attribute": "accessible-name-ref",
|
|
913
|
+
"inheritedFrom": {
|
|
914
|
+
"name": "FieldMixin",
|
|
915
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
916
|
+
}
|
|
917
|
+
},
|
|
711
918
|
{
|
|
712
919
|
"kind": "field",
|
|
713
920
|
"name": "allowedCharPattern",
|
|
@@ -722,6 +929,20 @@
|
|
|
722
929
|
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
723
930
|
}
|
|
724
931
|
},
|
|
932
|
+
{
|
|
933
|
+
"kind": "field",
|
|
934
|
+
"name": "autofocus",
|
|
935
|
+
"privacy": "public",
|
|
936
|
+
"type": {
|
|
937
|
+
"text": "boolean"
|
|
938
|
+
},
|
|
939
|
+
"description": "Specify that this control should have input focus when the page loads.",
|
|
940
|
+
"attribute": "autofocus",
|
|
941
|
+
"inheritedFrom": {
|
|
942
|
+
"name": "DelegateFocusMixin",
|
|
943
|
+
"package": "@vaadin/a11y-base/src/delegate-focus-mixin.js"
|
|
944
|
+
}
|
|
945
|
+
},
|
|
725
946
|
{
|
|
726
947
|
"kind": "field",
|
|
727
948
|
"name": "autoOpenDisabled",
|
|
@@ -760,8 +981,31 @@
|
|
|
760
981
|
}
|
|
761
982
|
},
|
|
762
983
|
"inheritedFrom": {
|
|
763
|
-
"name": "
|
|
764
|
-
"
|
|
984
|
+
"name": "ValidateMixin",
|
|
985
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
986
|
+
}
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
"kind": "method",
|
|
990
|
+
"name": "clear",
|
|
991
|
+
"description": "Clear the value of the field.",
|
|
992
|
+
"inheritedFrom": {
|
|
993
|
+
"name": "InputMixin",
|
|
994
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
995
|
+
}
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"kind": "field",
|
|
999
|
+
"name": "clearButtonVisible",
|
|
1000
|
+
"privacy": "public",
|
|
1001
|
+
"type": {
|
|
1002
|
+
"text": "boolean"
|
|
1003
|
+
},
|
|
1004
|
+
"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.",
|
|
1005
|
+
"attribute": "clear-button-visible",
|
|
1006
|
+
"inheritedFrom": {
|
|
1007
|
+
"name": "ClearButtonMixin",
|
|
1008
|
+
"package": "@vaadin/field-base/src/clear-button-mixin.js"
|
|
765
1009
|
}
|
|
766
1010
|
},
|
|
767
1011
|
{
|
|
@@ -773,6 +1017,48 @@
|
|
|
773
1017
|
"package": "@vaadin/combo-box/src/vaadin-combo-box-base-mixin.js"
|
|
774
1018
|
}
|
|
775
1019
|
},
|
|
1020
|
+
{
|
|
1021
|
+
"kind": "field",
|
|
1022
|
+
"name": "disabled",
|
|
1023
|
+
"privacy": "public",
|
|
1024
|
+
"type": {
|
|
1025
|
+
"text": "boolean"
|
|
1026
|
+
},
|
|
1027
|
+
"description": "If true, the user cannot interact with this element.",
|
|
1028
|
+
"attribute": "disabled",
|
|
1029
|
+
"inheritedFrom": {
|
|
1030
|
+
"name": "DelegateFocusMixin",
|
|
1031
|
+
"package": "@vaadin/a11y-base/src/delegate-focus-mixin.js"
|
|
1032
|
+
}
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
"kind": "field",
|
|
1036
|
+
"name": "errorMessage",
|
|
1037
|
+
"privacy": "public",
|
|
1038
|
+
"type": {
|
|
1039
|
+
"text": "string"
|
|
1040
|
+
},
|
|
1041
|
+
"description": "Error to show when the field is invalid.",
|
|
1042
|
+
"attribute": "error-message",
|
|
1043
|
+
"inheritedFrom": {
|
|
1044
|
+
"name": "FieldMixin",
|
|
1045
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
1046
|
+
}
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"kind": "field",
|
|
1050
|
+
"name": "helperText",
|
|
1051
|
+
"privacy": "public",
|
|
1052
|
+
"type": {
|
|
1053
|
+
"text": "string"
|
|
1054
|
+
},
|
|
1055
|
+
"description": "String used for the helper text.",
|
|
1056
|
+
"attribute": "helper-text",
|
|
1057
|
+
"inheritedFrom": {
|
|
1058
|
+
"name": "FieldMixin",
|
|
1059
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
1060
|
+
}
|
|
1061
|
+
},
|
|
776
1062
|
{
|
|
777
1063
|
"kind": "field",
|
|
778
1064
|
"name": "i18n",
|
|
@@ -787,6 +1073,48 @@
|
|
|
787
1073
|
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
788
1074
|
}
|
|
789
1075
|
},
|
|
1076
|
+
{
|
|
1077
|
+
"kind": "field",
|
|
1078
|
+
"name": "invalid",
|
|
1079
|
+
"privacy": "public",
|
|
1080
|
+
"type": {
|
|
1081
|
+
"text": "boolean"
|
|
1082
|
+
},
|
|
1083
|
+
"description": "Set to true when the field is invalid.",
|
|
1084
|
+
"attribute": "invalid",
|
|
1085
|
+
"inheritedFrom": {
|
|
1086
|
+
"name": "ValidateMixin",
|
|
1087
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
1088
|
+
}
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
"kind": "field",
|
|
1092
|
+
"name": "label",
|
|
1093
|
+
"privacy": "public",
|
|
1094
|
+
"type": {
|
|
1095
|
+
"text": "string"
|
|
1096
|
+
},
|
|
1097
|
+
"description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
|
|
1098
|
+
"attribute": "label",
|
|
1099
|
+
"inheritedFrom": {
|
|
1100
|
+
"name": "FieldMixin",
|
|
1101
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
1102
|
+
}
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
"kind": "field",
|
|
1106
|
+
"name": "manualValidation",
|
|
1107
|
+
"privacy": "public",
|
|
1108
|
+
"type": {
|
|
1109
|
+
"text": "boolean"
|
|
1110
|
+
},
|
|
1111
|
+
"description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
|
|
1112
|
+
"attribute": "manual-validation",
|
|
1113
|
+
"inheritedFrom": {
|
|
1114
|
+
"name": "ValidateMixin",
|
|
1115
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
1116
|
+
}
|
|
1117
|
+
},
|
|
790
1118
|
{
|
|
791
1119
|
"kind": "field",
|
|
792
1120
|
"name": "max",
|
|
@@ -894,6 +1222,20 @@
|
|
|
894
1222
|
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
895
1223
|
}
|
|
896
1224
|
},
|
|
1225
|
+
{
|
|
1226
|
+
"kind": "field",
|
|
1227
|
+
"name": "required",
|
|
1228
|
+
"privacy": "public",
|
|
1229
|
+
"type": {
|
|
1230
|
+
"text": "boolean"
|
|
1231
|
+
},
|
|
1232
|
+
"description": "Specifies that the user must fill in a value.",
|
|
1233
|
+
"attribute": "required",
|
|
1234
|
+
"inheritedFrom": {
|
|
1235
|
+
"name": "ValidateMixin",
|
|
1236
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
1237
|
+
}
|
|
1238
|
+
},
|
|
897
1239
|
{
|
|
898
1240
|
"kind": "field",
|
|
899
1241
|
"name": "step",
|
|
@@ -922,6 +1264,20 @@
|
|
|
922
1264
|
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
923
1265
|
}
|
|
924
1266
|
},
|
|
1267
|
+
{
|
|
1268
|
+
"kind": "method",
|
|
1269
|
+
"name": "validate",
|
|
1270
|
+
"description": "Validates the field and sets the `invalid` property based on the result.\n\nThe method fires a `validated` event with the result of the validation.",
|
|
1271
|
+
"return": {
|
|
1272
|
+
"type": {
|
|
1273
|
+
"text": "boolean"
|
|
1274
|
+
}
|
|
1275
|
+
},
|
|
1276
|
+
"inheritedFrom": {
|
|
1277
|
+
"name": "ValidateMixin",
|
|
1278
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
1279
|
+
}
|
|
1280
|
+
},
|
|
925
1281
|
{
|
|
926
1282
|
"kind": "field",
|
|
927
1283
|
"name": "value",
|
|
@@ -932,8 +1288,8 @@
|
|
|
932
1288
|
"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`",
|
|
933
1289
|
"attribute": "value",
|
|
934
1290
|
"inheritedFrom": {
|
|
935
|
-
"name": "
|
|
936
|
-
"
|
|
1291
|
+
"name": "InputMixin",
|
|
1292
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
937
1293
|
}
|
|
938
1294
|
}
|
|
939
1295
|
],
|
|
@@ -945,8 +1301,8 @@
|
|
|
945
1301
|
},
|
|
946
1302
|
"description": "Fired when the user commits a value change.",
|
|
947
1303
|
"inheritedFrom": {
|
|
948
|
-
"name": "
|
|
949
|
-
"
|
|
1304
|
+
"name": "InputConstraintsMixin",
|
|
1305
|
+
"package": "@vaadin/field-base/src/input-constraints-mixin.js"
|
|
950
1306
|
}
|
|
951
1307
|
},
|
|
952
1308
|
{
|
|
@@ -975,11 +1331,15 @@
|
|
|
975
1331
|
}
|
|
976
1332
|
},
|
|
977
1333
|
{
|
|
1334
|
+
"name": "validated",
|
|
978
1335
|
"type": {
|
|
979
1336
|
"text": "CustomEvent"
|
|
980
1337
|
},
|
|
981
1338
|
"description": "Fired whenever the field is validated.",
|
|
982
|
-
"
|
|
1339
|
+
"inheritedFrom": {
|
|
1340
|
+
"name": "ValidateMixin",
|
|
1341
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
1342
|
+
}
|
|
983
1343
|
},
|
|
984
1344
|
{
|
|
985
1345
|
"type": {
|
|
@@ -1018,6 +1378,30 @@
|
|
|
1018
1378
|
"tagName": "vaadin-time-picker",
|
|
1019
1379
|
"customElement": true,
|
|
1020
1380
|
"attributes": [
|
|
1381
|
+
{
|
|
1382
|
+
"name": "accessible-name",
|
|
1383
|
+
"type": {
|
|
1384
|
+
"text": "string"
|
|
1385
|
+
},
|
|
1386
|
+
"description": "String used to label the component to screen reader users.",
|
|
1387
|
+
"fieldName": "accessibleName",
|
|
1388
|
+
"inheritedFrom": {
|
|
1389
|
+
"name": "FieldMixin",
|
|
1390
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
1391
|
+
}
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
"name": "accessible-name-ref",
|
|
1395
|
+
"type": {
|
|
1396
|
+
"text": "string"
|
|
1397
|
+
},
|
|
1398
|
+
"description": "Id of the element used as label of the component to screen reader users.",
|
|
1399
|
+
"fieldName": "accessibleNameRef",
|
|
1400
|
+
"inheritedFrom": {
|
|
1401
|
+
"name": "FieldMixin",
|
|
1402
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
1403
|
+
}
|
|
1404
|
+
},
|
|
1021
1405
|
{
|
|
1022
1406
|
"name": "allowed-char-pattern",
|
|
1023
1407
|
"type": {
|
|
@@ -1042,6 +1426,18 @@
|
|
|
1042
1426
|
"package": "@vaadin/combo-box/src/vaadin-combo-box-base-mixin.js"
|
|
1043
1427
|
}
|
|
1044
1428
|
},
|
|
1429
|
+
{
|
|
1430
|
+
"name": "autofocus",
|
|
1431
|
+
"type": {
|
|
1432
|
+
"text": "boolean"
|
|
1433
|
+
},
|
|
1434
|
+
"description": "Specify that this control should have input focus when the page loads.",
|
|
1435
|
+
"fieldName": "autofocus",
|
|
1436
|
+
"inheritedFrom": {
|
|
1437
|
+
"name": "DelegateFocusMixin",
|
|
1438
|
+
"package": "@vaadin/a11y-base/src/delegate-focus-mixin.js"
|
|
1439
|
+
}
|
|
1440
|
+
},
|
|
1045
1441
|
{
|
|
1046
1442
|
"name": "autoselect",
|
|
1047
1443
|
"type": {
|
|
@@ -1054,6 +1450,54 @@
|
|
|
1054
1450
|
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
1055
1451
|
}
|
|
1056
1452
|
},
|
|
1453
|
+
{
|
|
1454
|
+
"name": "clear-button-visible",
|
|
1455
|
+
"type": {
|
|
1456
|
+
"text": "boolean"
|
|
1457
|
+
},
|
|
1458
|
+
"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.",
|
|
1459
|
+
"fieldName": "clearButtonVisible",
|
|
1460
|
+
"inheritedFrom": {
|
|
1461
|
+
"name": "ClearButtonMixin",
|
|
1462
|
+
"package": "@vaadin/field-base/src/clear-button-mixin.js"
|
|
1463
|
+
}
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
"name": "disabled",
|
|
1467
|
+
"type": {
|
|
1468
|
+
"text": "boolean"
|
|
1469
|
+
},
|
|
1470
|
+
"description": "If true, the user cannot interact with this element.",
|
|
1471
|
+
"fieldName": "disabled",
|
|
1472
|
+
"inheritedFrom": {
|
|
1473
|
+
"name": "DelegateFocusMixin",
|
|
1474
|
+
"package": "@vaadin/a11y-base/src/delegate-focus-mixin.js"
|
|
1475
|
+
}
|
|
1476
|
+
},
|
|
1477
|
+
{
|
|
1478
|
+
"name": "error-message",
|
|
1479
|
+
"type": {
|
|
1480
|
+
"text": "string"
|
|
1481
|
+
},
|
|
1482
|
+
"description": "Error to show when the field is invalid.",
|
|
1483
|
+
"fieldName": "errorMessage",
|
|
1484
|
+
"inheritedFrom": {
|
|
1485
|
+
"name": "FieldMixin",
|
|
1486
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
1487
|
+
}
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
"name": "helper-text",
|
|
1491
|
+
"type": {
|
|
1492
|
+
"text": "string"
|
|
1493
|
+
},
|
|
1494
|
+
"description": "String used for the helper text.",
|
|
1495
|
+
"fieldName": "helperText",
|
|
1496
|
+
"inheritedFrom": {
|
|
1497
|
+
"name": "FieldMixin",
|
|
1498
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
1499
|
+
}
|
|
1500
|
+
},
|
|
1057
1501
|
{
|
|
1058
1502
|
"name": "i18n",
|
|
1059
1503
|
"type": {
|
|
@@ -1066,6 +1510,42 @@
|
|
|
1066
1510
|
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
1067
1511
|
}
|
|
1068
1512
|
},
|
|
1513
|
+
{
|
|
1514
|
+
"name": "invalid",
|
|
1515
|
+
"type": {
|
|
1516
|
+
"text": "boolean"
|
|
1517
|
+
},
|
|
1518
|
+
"description": "Set to true when the field is invalid.",
|
|
1519
|
+
"fieldName": "invalid",
|
|
1520
|
+
"inheritedFrom": {
|
|
1521
|
+
"name": "ValidateMixin",
|
|
1522
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
1523
|
+
}
|
|
1524
|
+
},
|
|
1525
|
+
{
|
|
1526
|
+
"name": "label",
|
|
1527
|
+
"type": {
|
|
1528
|
+
"text": "string"
|
|
1529
|
+
},
|
|
1530
|
+
"description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
|
|
1531
|
+
"fieldName": "label",
|
|
1532
|
+
"inheritedFrom": {
|
|
1533
|
+
"name": "FieldMixin",
|
|
1534
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
1535
|
+
}
|
|
1536
|
+
},
|
|
1537
|
+
{
|
|
1538
|
+
"name": "manual-validation",
|
|
1539
|
+
"type": {
|
|
1540
|
+
"text": "boolean"
|
|
1541
|
+
},
|
|
1542
|
+
"description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
|
|
1543
|
+
"fieldName": "manualValidation",
|
|
1544
|
+
"inheritedFrom": {
|
|
1545
|
+
"name": "ValidateMixin",
|
|
1546
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
1547
|
+
}
|
|
1548
|
+
},
|
|
1069
1549
|
{
|
|
1070
1550
|
"name": "max",
|
|
1071
1551
|
"type": {
|
|
@@ -1150,6 +1630,18 @@
|
|
|
1150
1630
|
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
1151
1631
|
}
|
|
1152
1632
|
},
|
|
1633
|
+
{
|
|
1634
|
+
"name": "required",
|
|
1635
|
+
"type": {
|
|
1636
|
+
"text": "boolean"
|
|
1637
|
+
},
|
|
1638
|
+
"description": "Specifies that the user must fill in a value.",
|
|
1639
|
+
"fieldName": "required",
|
|
1640
|
+
"inheritedFrom": {
|
|
1641
|
+
"name": "ValidateMixin",
|
|
1642
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
1643
|
+
}
|
|
1644
|
+
},
|
|
1153
1645
|
{
|
|
1154
1646
|
"name": "step",
|
|
1155
1647
|
"type": {
|
|
@@ -1182,8 +1674,8 @@
|
|
|
1182
1674
|
"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`",
|
|
1183
1675
|
"fieldName": "value",
|
|
1184
1676
|
"inheritedFrom": {
|
|
1185
|
-
"name": "
|
|
1186
|
-
"
|
|
1677
|
+
"name": "InputMixin",
|
|
1678
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
1187
1679
|
}
|
|
1188
1680
|
}
|
|
1189
1681
|
]
|