@vaadin/date-picker 25.1.0-alpha6 → 25.1.0-alpha7

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.
@@ -0,0 +1,2498 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "vaadin-date-picker.js",
8
+ "declarations": [],
9
+ "exports": [
10
+ {
11
+ "kind": "js",
12
+ "name": "*",
13
+ "declaration": {
14
+ "name": "*",
15
+ "module": "src/vaadin-date-picker.js"
16
+ }
17
+ }
18
+ ]
19
+ },
20
+ {
21
+ "kind": "javascript-module",
22
+ "path": "src/vaadin-date-picker-helper.js",
23
+ "declarations": [
24
+ {
25
+ "kind": "function",
26
+ "name": "getISOWeekNumber",
27
+ "parameters": [
28
+ {
29
+ "name": "date",
30
+ "type": {
31
+ "text": "!Date"
32
+ }
33
+ }
34
+ ],
35
+ "description": "Get ISO 8601 week number for the given date.",
36
+ "return": {
37
+ "type": {
38
+ "text": "number"
39
+ }
40
+ }
41
+ },
42
+ {
43
+ "kind": "function",
44
+ "name": "normalizeDate",
45
+ "parameters": [
46
+ {
47
+ "name": "date",
48
+ "description": "in system timezone",
49
+ "type": {
50
+ "text": "Date"
51
+ }
52
+ }
53
+ ],
54
+ "description": "Creates a new object with the same date, but sets the hours, minutes, seconds and milliseconds to 0.",
55
+ "return": {
56
+ "type": {
57
+ "text": "Date"
58
+ }
59
+ }
60
+ },
61
+ {
62
+ "kind": "function",
63
+ "name": "normalizeUTCDate",
64
+ "parameters": [
65
+ {
66
+ "name": "date",
67
+ "description": "in UTC timezone",
68
+ "type": {
69
+ "text": "Date"
70
+ }
71
+ }
72
+ ],
73
+ "description": "Creates a new object with the same date, but sets the hours, minutes, seconds and milliseconds to 0.\n\nUses UTC date components to allow handling date instances independently of\nthe system time-zone.",
74
+ "return": {
75
+ "type": {
76
+ "text": "Date"
77
+ }
78
+ }
79
+ },
80
+ {
81
+ "kind": "function",
82
+ "name": "dateEquals",
83
+ "parameters": [
84
+ {
85
+ "name": "date1",
86
+ "type": {
87
+ "text": "Date"
88
+ }
89
+ },
90
+ {
91
+ "name": "date2",
92
+ "type": {
93
+ "text": "Date"
94
+ }
95
+ },
96
+ {
97
+ "name": "normalizer",
98
+ "default": "normalizeDate",
99
+ "type": {
100
+ "text": "function(Date): Date"
101
+ }
102
+ }
103
+ ],
104
+ "description": "Check if two dates are equal.",
105
+ "return": {
106
+ "type": {
107
+ "text": "boolean"
108
+ }
109
+ }
110
+ },
111
+ {
112
+ "kind": "function",
113
+ "name": "extractDateParts",
114
+ "parameters": [
115
+ {
116
+ "name": "date",
117
+ "type": {
118
+ "text": "!Date"
119
+ }
120
+ }
121
+ ],
122
+ "description": "Extracts the basic component parts of a date (day, month and year)\nto the expected format.",
123
+ "return": {
124
+ "type": {
125
+ "text": "{day: number, month: number, year: number}"
126
+ }
127
+ }
128
+ },
129
+ {
130
+ "kind": "function",
131
+ "name": "dateAllowed",
132
+ "parameters": [
133
+ {
134
+ "name": "date",
135
+ "description": "The date to check",
136
+ "type": {
137
+ "text": "!Date"
138
+ }
139
+ },
140
+ {
141
+ "name": "min",
142
+ "description": "Range start",
143
+ "type": {
144
+ "text": "Date"
145
+ }
146
+ },
147
+ {
148
+ "name": "max",
149
+ "description": "Range end",
150
+ "type": {
151
+ "text": "Date"
152
+ }
153
+ },
154
+ {
155
+ "name": "isDateDisabled",
156
+ "description": "Callback to check if the date is disabled",
157
+ "type": {
158
+ "text": "function(!DatePickerDate): boolean"
159
+ }
160
+ }
161
+ ],
162
+ "description": "Check if the given date is in the range of allowed dates.",
163
+ "return": {
164
+ "type": {
165
+ "text": "boolean"
166
+ }
167
+ }
168
+ },
169
+ {
170
+ "kind": "function",
171
+ "name": "getClosestDate",
172
+ "parameters": [
173
+ {
174
+ "name": "date",
175
+ "description": "The date to compare dates with",
176
+ "type": {
177
+ "text": "!Date"
178
+ }
179
+ },
180
+ {
181
+ "name": "dates",
182
+ "description": "Array of date objects",
183
+ "type": {
184
+ "text": "!Array<!Date>"
185
+ }
186
+ }
187
+ ],
188
+ "description": "Get closest date from array of dates.",
189
+ "return": {
190
+ "type": {
191
+ "text": "!Date"
192
+ }
193
+ }
194
+ },
195
+ {
196
+ "kind": "function",
197
+ "name": "dateAfterXMonths",
198
+ "parameters": [
199
+ {
200
+ "name": "months",
201
+ "type": {
202
+ "text": "number"
203
+ }
204
+ }
205
+ ],
206
+ "description": "Get difference in months between today and given months value.",
207
+ "return": {
208
+ "type": {
209
+ "text": "number"
210
+ }
211
+ }
212
+ },
213
+ {
214
+ "kind": "function",
215
+ "name": "getAdjustedYear",
216
+ "parameters": [
217
+ {
218
+ "name": "referenceDate",
219
+ "description": "The date to act as basis in the calculation",
220
+ "type": {
221
+ "text": "!Date"
222
+ }
223
+ },
224
+ {
225
+ "name": "year",
226
+ "description": "Should be in the range of [0, 99]",
227
+ "type": {
228
+ "text": "!number"
229
+ }
230
+ },
231
+ {
232
+ "name": "month",
233
+ "default": "0",
234
+ "type": {
235
+ "text": "number"
236
+ }
237
+ },
238
+ {
239
+ "name": "day",
240
+ "default": "1",
241
+ "type": {
242
+ "text": "number"
243
+ }
244
+ }
245
+ ],
246
+ "description": "Calculate the year of the date based on the provided reference date.\nGets a two-digit year and returns a full year.",
247
+ "return": {
248
+ "type": {
249
+ "text": "!number"
250
+ }
251
+ }
252
+ },
253
+ {
254
+ "kind": "function",
255
+ "name": "parseDate",
256
+ "parameters": [
257
+ {
258
+ "name": "str",
259
+ "description": "Date string to parse",
260
+ "type": {
261
+ "text": "!string"
262
+ }
263
+ }
264
+ ],
265
+ "description": "Parse date string of one of the following date formats:\n- ISO 8601 `\"YYYY-MM-DD\"`\n- 6-digit extended ISO 8601 `\"+YYYYYY-MM-DD\"`, `\"-YYYYYY-MM-DD\"`",
266
+ "return": {
267
+ "type": {
268
+ "text": "Date"
269
+ }
270
+ }
271
+ },
272
+ {
273
+ "kind": "function",
274
+ "name": "parseUTCDate",
275
+ "parameters": [
276
+ {
277
+ "name": "str",
278
+ "description": "Date string to parse",
279
+ "type": {
280
+ "text": "!string"
281
+ }
282
+ }
283
+ ],
284
+ "description": "Parse date string of one of the following date formats:\n- ISO 8601 `\"YYYY-MM-DD\"`\n- 6-digit extended ISO 8601 `\"+YYYYYY-MM-DD\"`, `\"-YYYYYY-MM-DD\"`\n\nUses UTC date components to allow handling date instances independently of\nthe system time-zone.",
285
+ "return": {
286
+ "type": {
287
+ "text": "Date"
288
+ }
289
+ }
290
+ },
291
+ {
292
+ "kind": "function",
293
+ "name": "formatISODate",
294
+ "parameters": [
295
+ {
296
+ "name": "date",
297
+ "description": "in system timezone",
298
+ "type": {
299
+ "text": "Date"
300
+ }
301
+ }
302
+ ],
303
+ "description": "Format a date instance in ISO 8601 (`\"YYYY-MM-DD\"`) or 6-digit extended ISO\n8601 (`\"+YYYYYY-MM-DD\"`, `\"-YYYYYY-MM-DD\"`) format.",
304
+ "return": {
305
+ "type": {
306
+ "text": "string"
307
+ }
308
+ }
309
+ },
310
+ {
311
+ "kind": "function",
312
+ "name": "formatUTCISODate",
313
+ "parameters": [
314
+ {
315
+ "name": "date",
316
+ "description": "in UTC timezone",
317
+ "type": {
318
+ "text": "Date"
319
+ }
320
+ }
321
+ ],
322
+ "description": "Format a date instance in ISO 8601 (`\"YYYY-MM-DD\"`) or 6-digit extended ISO\n8601 (`\"+YYYYYY-MM-DD\"`, `\"-YYYYYY-MM-DD\"`) format.\n\nUses UTC date components to allow handling date instances independently of\nthe system time-zone.",
323
+ "return": {
324
+ "type": {
325
+ "text": "string"
326
+ }
327
+ }
328
+ }
329
+ ],
330
+ "exports": [
331
+ {
332
+ "kind": "js",
333
+ "name": "getISOWeekNumber",
334
+ "declaration": {
335
+ "name": "getISOWeekNumber",
336
+ "module": "src/vaadin-date-picker-helper.js"
337
+ }
338
+ },
339
+ {
340
+ "kind": "js",
341
+ "name": "normalizeDate",
342
+ "declaration": {
343
+ "name": "normalizeDate",
344
+ "module": "src/vaadin-date-picker-helper.js"
345
+ }
346
+ },
347
+ {
348
+ "kind": "js",
349
+ "name": "normalizeUTCDate",
350
+ "declaration": {
351
+ "name": "normalizeUTCDate",
352
+ "module": "src/vaadin-date-picker-helper.js"
353
+ }
354
+ },
355
+ {
356
+ "kind": "js",
357
+ "name": "dateEquals",
358
+ "declaration": {
359
+ "name": "dateEquals",
360
+ "module": "src/vaadin-date-picker-helper.js"
361
+ }
362
+ },
363
+ {
364
+ "kind": "js",
365
+ "name": "extractDateParts",
366
+ "declaration": {
367
+ "name": "extractDateParts",
368
+ "module": "src/vaadin-date-picker-helper.js"
369
+ }
370
+ },
371
+ {
372
+ "kind": "js",
373
+ "name": "dateAllowed",
374
+ "declaration": {
375
+ "name": "dateAllowed",
376
+ "module": "src/vaadin-date-picker-helper.js"
377
+ }
378
+ },
379
+ {
380
+ "kind": "js",
381
+ "name": "getClosestDate",
382
+ "declaration": {
383
+ "name": "getClosestDate",
384
+ "module": "src/vaadin-date-picker-helper.js"
385
+ }
386
+ },
387
+ {
388
+ "kind": "js",
389
+ "name": "dateAfterXMonths",
390
+ "declaration": {
391
+ "name": "dateAfterXMonths",
392
+ "module": "src/vaadin-date-picker-helper.js"
393
+ }
394
+ },
395
+ {
396
+ "kind": "js",
397
+ "name": "getAdjustedYear",
398
+ "declaration": {
399
+ "name": "getAdjustedYear",
400
+ "module": "src/vaadin-date-picker-helper.js"
401
+ }
402
+ },
403
+ {
404
+ "kind": "js",
405
+ "name": "parseDate",
406
+ "declaration": {
407
+ "name": "parseDate",
408
+ "module": "src/vaadin-date-picker-helper.js"
409
+ }
410
+ },
411
+ {
412
+ "kind": "js",
413
+ "name": "parseUTCDate",
414
+ "declaration": {
415
+ "name": "parseUTCDate",
416
+ "module": "src/vaadin-date-picker-helper.js"
417
+ }
418
+ },
419
+ {
420
+ "kind": "js",
421
+ "name": "formatISODate",
422
+ "declaration": {
423
+ "name": "formatISODate",
424
+ "module": "src/vaadin-date-picker-helper.js"
425
+ }
426
+ },
427
+ {
428
+ "kind": "js",
429
+ "name": "formatUTCISODate",
430
+ "declaration": {
431
+ "name": "formatUTCISODate",
432
+ "module": "src/vaadin-date-picker-helper.js"
433
+ }
434
+ }
435
+ ]
436
+ },
437
+ {
438
+ "kind": "javascript-module",
439
+ "path": "src/vaadin-date-picker-mixin.js",
440
+ "declarations": [
441
+ {
442
+ "kind": "variable",
443
+ "name": "datePickerI18nDefaults"
444
+ },
445
+ {
446
+ "kind": "mixin",
447
+ "description": "",
448
+ "name": "DatePickerMixin",
449
+ "members": [
450
+ {
451
+ "kind": "field",
452
+ "name": "autoOpenDisabled",
453
+ "privacy": "public",
454
+ "type": {
455
+ "text": "boolean"
456
+ },
457
+ "description": "Set true to prevent the overlay from opening automatically.",
458
+ "attribute": "auto-open-disabled"
459
+ },
460
+ {
461
+ "kind": "method",
462
+ "name": "checkValidity",
463
+ "description": "Returns true if the current input value satisfies all constraints (if any)\n\nOverride the `checkValidity` method for custom validations.",
464
+ "return": {
465
+ "type": {
466
+ "text": "boolean"
467
+ }
468
+ }
469
+ },
470
+ {
471
+ "kind": "method",
472
+ "name": "close",
473
+ "description": "Closes the dropdown."
474
+ },
475
+ {
476
+ "kind": "field",
477
+ "name": "initialPosition",
478
+ "privacy": "public",
479
+ "description": "Date which should be visible when there is no value selected.\n\nThe same date formats as for the `value` property are supported.",
480
+ "attribute": "initial-position"
481
+ },
482
+ {
483
+ "kind": "field",
484
+ "name": "isDateDisabled",
485
+ "privacy": "public",
486
+ "type": {
487
+ "text": "function(DatePickerDate): boolean | undefined"
488
+ },
489
+ "description": "A function to be used to determine whether the user can select a given date.\nReceives a `DatePickerDate` object of the date to be selected and should return a\nboolean.",
490
+ "attribute": "is-date-disabled"
491
+ },
492
+ {
493
+ "kind": "field",
494
+ "name": "max",
495
+ "privacy": "public",
496
+ "type": {
497
+ "text": "string | undefined"
498
+ },
499
+ "description": "The latest date that can be selected. All later dates will be disabled.\n\nSupported date formats:\n- ISO 8601 `\"YYYY-MM-DD\"` (default)\n- 6-digit extended ISO 8601 `\"+YYYYYY-MM-DD\"`, `\"-YYYYYY-MM-DD\"`",
500
+ "attribute": "max"
501
+ },
502
+ {
503
+ "kind": "field",
504
+ "name": "min",
505
+ "privacy": "public",
506
+ "type": {
507
+ "text": "string | undefined"
508
+ },
509
+ "description": "The earliest date that can be selected. All earlier dates will be disabled.\n\nSupported date formats:\n- ISO 8601 `\"YYYY-MM-DD\"` (default)\n- 6-digit extended ISO 8601 `\"+YYYYYY-MM-DD\"`, `\"-YYYYYY-MM-DD\"`",
510
+ "attribute": "min"
511
+ },
512
+ {
513
+ "kind": "method",
514
+ "name": "open",
515
+ "description": "Opens the dropdown."
516
+ },
517
+ {
518
+ "kind": "field",
519
+ "name": "opened",
520
+ "privacy": "public",
521
+ "type": {
522
+ "text": "boolean"
523
+ },
524
+ "description": "Set true to open the date selector overlay.",
525
+ "attribute": "opened"
526
+ },
527
+ {
528
+ "kind": "field",
529
+ "name": "showWeekNumbers",
530
+ "privacy": "public",
531
+ "type": {
532
+ "text": "boolean"
533
+ },
534
+ "description": "Set true to display ISO-8601 week numbers in the calendar. Notice that\ndisplaying week numbers is only supported when `i18n.firstDayOfWeek`\nis 1 (Monday).",
535
+ "attribute": "show-week-numbers"
536
+ },
537
+ {
538
+ "kind": "field",
539
+ "name": "value",
540
+ "privacy": "public",
541
+ "type": {
542
+ "text": "string"
543
+ },
544
+ "description": "Selected date.\n\nSupported date formats:\n- ISO 8601 `\"YYYY-MM-DD\"` (default)\n- 6-digit extended ISO 8601 `\"+YYYYYY-MM-DD\"`, `\"-YYYYYY-MM-DD\"`",
545
+ "attribute": "value"
546
+ }
547
+ ],
548
+ "events": [
549
+ {
550
+ "name": "change",
551
+ "type": {
552
+ "text": "CustomEvent"
553
+ }
554
+ },
555
+ {
556
+ "name": "unparsable-change",
557
+ "type": {
558
+ "text": "CustomEvent"
559
+ }
560
+ }
561
+ ],
562
+ "attributes": [
563
+ {
564
+ "name": "auto-open-disabled",
565
+ "type": {
566
+ "text": "boolean"
567
+ },
568
+ "description": "Set true to prevent the overlay from opening automatically.",
569
+ "fieldName": "autoOpenDisabled"
570
+ },
571
+ {
572
+ "name": "initial-position",
573
+ "description": "Date which should be visible when there is no value selected.\n\nThe same date formats as for the `value` property are supported.",
574
+ "fieldName": "initialPosition"
575
+ },
576
+ {
577
+ "name": "is-date-disabled",
578
+ "type": {
579
+ "text": "function(DatePickerDate): boolean | undefined"
580
+ },
581
+ "description": "A function to be used to determine whether the user can select a given date.\nReceives a `DatePickerDate` object of the date to be selected and should return a\nboolean.",
582
+ "fieldName": "isDateDisabled"
583
+ },
584
+ {
585
+ "name": "max",
586
+ "type": {
587
+ "text": "string | undefined"
588
+ },
589
+ "description": "The latest date that can be selected. All later dates will be disabled.\n\nSupported date formats:\n- ISO 8601 `\"YYYY-MM-DD\"` (default)\n- 6-digit extended ISO 8601 `\"+YYYYYY-MM-DD\"`, `\"-YYYYYY-MM-DD\"`",
590
+ "fieldName": "max"
591
+ },
592
+ {
593
+ "name": "min",
594
+ "type": {
595
+ "text": "string | undefined"
596
+ },
597
+ "description": "The earliest date that can be selected. All earlier dates will be disabled.\n\nSupported date formats:\n- ISO 8601 `\"YYYY-MM-DD\"` (default)\n- 6-digit extended ISO 8601 `\"+YYYYYY-MM-DD\"`, `\"-YYYYYY-MM-DD\"`",
598
+ "fieldName": "min"
599
+ },
600
+ {
601
+ "name": "opened",
602
+ "type": {
603
+ "text": "boolean"
604
+ },
605
+ "description": "Set true to open the date selector overlay.",
606
+ "fieldName": "opened"
607
+ },
608
+ {
609
+ "name": "show-week-numbers",
610
+ "type": {
611
+ "text": "boolean"
612
+ },
613
+ "description": "Set true to display ISO-8601 week numbers in the calendar. Notice that\ndisplaying week numbers is only supported when `i18n.firstDayOfWeek`\nis 1 (Monday).",
614
+ "fieldName": "showWeekNumbers"
615
+ },
616
+ {
617
+ "name": "value",
618
+ "type": {
619
+ "text": "string"
620
+ },
621
+ "description": "Selected date.\n\nSupported date formats:\n- ISO 8601 `\"YYYY-MM-DD\"` (default)\n- 6-digit extended ISO 8601 `\"+YYYYYY-MM-DD\"`, `\"-YYYYYY-MM-DD\"`",
622
+ "fieldName": "value"
623
+ }
624
+ ],
625
+ "mixins": [
626
+ {
627
+ "name": "I18nMixin",
628
+ "package": "@vaadin/component-base/src/i18n-mixin.js"
629
+ }
630
+ ],
631
+ "parameters": [
632
+ {
633
+ "name": "subclass",
634
+ "type": {
635
+ "text": "function(new:HTMLElement)"
636
+ }
637
+ }
638
+ ]
639
+ }
640
+ ],
641
+ "exports": [
642
+ {
643
+ "kind": "js",
644
+ "name": "datePickerI18nDefaults",
645
+ "declaration": {
646
+ "name": "datePickerI18nDefaults",
647
+ "module": "src/vaadin-date-picker-mixin.js"
648
+ }
649
+ },
650
+ {
651
+ "kind": "js",
652
+ "name": "DatePickerMixin",
653
+ "declaration": {
654
+ "name": "DatePickerMixin",
655
+ "module": "src/vaadin-date-picker-mixin.js"
656
+ }
657
+ }
658
+ ]
659
+ },
660
+ {
661
+ "kind": "javascript-module",
662
+ "path": "src/vaadin-date-picker-month-scroller.js",
663
+ "declarations": [],
664
+ "exports": []
665
+ },
666
+ {
667
+ "kind": "javascript-module",
668
+ "path": "src/vaadin-date-picker-overlay-content-mixin.js",
669
+ "declarations": [
670
+ {
671
+ "kind": "mixin",
672
+ "description": "",
673
+ "name": "DatePickerOverlayContentMixin",
674
+ "members": [
675
+ {
676
+ "kind": "field",
677
+ "name": "calendars",
678
+ "privacy": "public",
679
+ "type": {
680
+ "text": "array"
681
+ },
682
+ "attribute": "calendars"
683
+ },
684
+ {
685
+ "kind": "field",
686
+ "name": "enteredDate",
687
+ "privacy": "public",
688
+ "type": {
689
+ "text": "date"
690
+ },
691
+ "attribute": "entered-date"
692
+ },
693
+ {
694
+ "kind": "field",
695
+ "name": "focusableDateElement",
696
+ "readonly": true
697
+ },
698
+ {
699
+ "kind": "method",
700
+ "name": "focusCancel",
701
+ "description": "Focuses the cancel button"
702
+ },
703
+ {
704
+ "kind": "method",
705
+ "name": "focusDate",
706
+ "parameters": [
707
+ {
708
+ "name": "date"
709
+ },
710
+ {
711
+ "name": "keepMonth"
712
+ }
713
+ ]
714
+ },
715
+ {
716
+ "kind": "method",
717
+ "name": "focusDateElement",
718
+ "parameters": [
719
+ {
720
+ "name": "reveal",
721
+ "default": "true"
722
+ }
723
+ ]
724
+ },
725
+ {
726
+ "kind": "field",
727
+ "name": "focusedDate",
728
+ "privacy": "public",
729
+ "type": {
730
+ "text": "object"
731
+ },
732
+ "description": "Date value which is focused using keyboard.",
733
+ "attribute": "focused-date"
734
+ },
735
+ {
736
+ "kind": "field",
737
+ "name": "i18n",
738
+ "privacy": "public",
739
+ "type": {
740
+ "text": "object"
741
+ },
742
+ "attribute": "i18n"
743
+ },
744
+ {
745
+ "kind": "field",
746
+ "name": "initialPosition",
747
+ "privacy": "public",
748
+ "type": {
749
+ "text": "object"
750
+ },
751
+ "description": "Date which should be visible when there is no value selected.",
752
+ "attribute": "initial-position"
753
+ },
754
+ {
755
+ "kind": "field",
756
+ "name": "isDateDisabled",
757
+ "privacy": "public",
758
+ "type": {
759
+ "text": "function(DatePickerDate): boolean | undefined"
760
+ },
761
+ "description": "A function to be used to determine whether the user can select a given date.\nReceives a `DatePickerDate` object of the date to be selected and should return a\nboolean.",
762
+ "attribute": "is-date-disabled"
763
+ },
764
+ {
765
+ "kind": "field",
766
+ "name": "label",
767
+ "privacy": "public",
768
+ "description": "Input label",
769
+ "attribute": "label"
770
+ },
771
+ {
772
+ "kind": "field",
773
+ "name": "maxDate",
774
+ "privacy": "public",
775
+ "type": {
776
+ "text": "object"
777
+ },
778
+ "description": "The latest date that can be selected. All later dates will be disabled.",
779
+ "attribute": "max-date"
780
+ },
781
+ {
782
+ "kind": "field",
783
+ "name": "minDate",
784
+ "privacy": "public",
785
+ "type": {
786
+ "text": "object"
787
+ },
788
+ "description": "The earliest date that can be selected. All earlier dates will be disabled.",
789
+ "attribute": "min-date"
790
+ },
791
+ {
792
+ "kind": "method",
793
+ "name": "reset"
794
+ },
795
+ {
796
+ "kind": "method",
797
+ "name": "revealDate",
798
+ "parameters": [
799
+ {
800
+ "name": "date"
801
+ },
802
+ {
803
+ "name": "animate",
804
+ "default": "true"
805
+ }
806
+ ],
807
+ "description": "Scrolls the month and year scrollers enough to reveal the given date."
808
+ },
809
+ {
810
+ "kind": "field",
811
+ "name": "scrollDuration",
812
+ "privacy": "public",
813
+ "type": {
814
+ "text": "number"
815
+ },
816
+ "attribute": "scroll-duration"
817
+ },
818
+ {
819
+ "kind": "method",
820
+ "name": "scrollToDate",
821
+ "parameters": [
822
+ {
823
+ "name": "date"
824
+ },
825
+ {
826
+ "name": "animate"
827
+ }
828
+ ],
829
+ "description": "Scrolls the list to the given Date."
830
+ },
831
+ {
832
+ "kind": "field",
833
+ "name": "selectedDate",
834
+ "privacy": "public",
835
+ "type": {
836
+ "text": "object"
837
+ },
838
+ "description": "The value for this element.",
839
+ "attribute": "selected-date"
840
+ },
841
+ {
842
+ "kind": "field",
843
+ "name": "showWeekNumbers",
844
+ "privacy": "public",
845
+ "type": {
846
+ "text": "boolean"
847
+ },
848
+ "attribute": "show-week-numbers"
849
+ },
850
+ {
851
+ "kind": "field",
852
+ "name": "years",
853
+ "privacy": "public",
854
+ "type": {
855
+ "text": "array"
856
+ },
857
+ "attribute": "years"
858
+ }
859
+ ],
860
+ "events": [
861
+ {
862
+ "name": "close",
863
+ "type": {
864
+ "text": "CustomEvent"
865
+ }
866
+ },
867
+ {
868
+ "name": "date-selected",
869
+ "type": {
870
+ "text": "CustomEvent"
871
+ }
872
+ },
873
+ {
874
+ "name": "focus-input",
875
+ "type": {
876
+ "text": "CustomEvent"
877
+ }
878
+ },
879
+ {
880
+ "name": "scroll-animation-finished",
881
+ "type": {
882
+ "text": "CustomEvent"
883
+ }
884
+ }
885
+ ],
886
+ "attributes": [
887
+ {
888
+ "name": "calendars",
889
+ "type": {
890
+ "text": "array"
891
+ },
892
+ "fieldName": "calendars"
893
+ },
894
+ {
895
+ "name": "entered-date",
896
+ "type": {
897
+ "text": "date"
898
+ },
899
+ "fieldName": "enteredDate"
900
+ },
901
+ {
902
+ "name": "is-date-disabled",
903
+ "type": {
904
+ "text": "function(DatePickerDate): boolean | undefined"
905
+ },
906
+ "description": "A function to be used to determine whether the user can select a given date.\nReceives a `DatePickerDate` object of the date to be selected and should return a\nboolean.",
907
+ "fieldName": "isDateDisabled"
908
+ },
909
+ {
910
+ "name": "label",
911
+ "description": "Input label",
912
+ "fieldName": "label"
913
+ },
914
+ {
915
+ "name": "scroll-duration",
916
+ "type": {
917
+ "text": "number"
918
+ },
919
+ "fieldName": "scrollDuration"
920
+ },
921
+ {
922
+ "name": "show-week-numbers",
923
+ "type": {
924
+ "text": "boolean"
925
+ },
926
+ "fieldName": "showWeekNumbers"
927
+ },
928
+ {
929
+ "name": "years",
930
+ "type": {
931
+ "text": "array"
932
+ },
933
+ "fieldName": "years"
934
+ }
935
+ ],
936
+ "parameters": [
937
+ {
938
+ "name": "superClass"
939
+ }
940
+ ]
941
+ }
942
+ ],
943
+ "exports": [
944
+ {
945
+ "kind": "js",
946
+ "name": "DatePickerOverlayContentMixin",
947
+ "declaration": {
948
+ "name": "DatePickerOverlayContentMixin",
949
+ "module": "src/vaadin-date-picker-overlay-content-mixin.js"
950
+ }
951
+ }
952
+ ]
953
+ },
954
+ {
955
+ "kind": "javascript-module",
956
+ "path": "src/vaadin-date-picker-overlay-content.js",
957
+ "declarations": [],
958
+ "exports": []
959
+ },
960
+ {
961
+ "kind": "javascript-module",
962
+ "path": "src/vaadin-date-picker-overlay-mixin.js",
963
+ "declarations": [
964
+ {
965
+ "kind": "mixin",
966
+ "description": "",
967
+ "name": "DatePickerOverlayMixin",
968
+ "members": [
969
+ {
970
+ "kind": "method",
971
+ "name": "bringToFront",
972
+ "description": "Brings the overlay as visually the frontmost one.",
973
+ "inheritedFrom": {
974
+ "name": "OverlayStackMixin",
975
+ "package": "@vaadin/overlay/src/vaadin-overlay-stack-mixin.js"
976
+ }
977
+ },
978
+ {
979
+ "kind": "method",
980
+ "name": "close",
981
+ "parameters": [
982
+ {
983
+ "name": "sourceEvent",
984
+ "type": {
985
+ "text": "Event="
986
+ }
987
+ }
988
+ ],
989
+ "inheritedFrom": {
990
+ "name": "OverlayMixin",
991
+ "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
992
+ }
993
+ },
994
+ {
995
+ "kind": "field",
996
+ "name": "focusTrap",
997
+ "privacy": "public",
998
+ "type": {
999
+ "text": "boolean"
1000
+ },
1001
+ "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.",
1002
+ "attribute": "focus-trap",
1003
+ "inheritedFrom": {
1004
+ "name": "OverlayFocusMixin",
1005
+ "package": "@vaadin/overlay/src/vaadin-overlay-focus-mixin.js"
1006
+ }
1007
+ },
1008
+ {
1009
+ "kind": "field",
1010
+ "name": "hidden",
1011
+ "privacy": "public",
1012
+ "type": {
1013
+ "text": "boolean"
1014
+ },
1015
+ "description": "When set to true, the overlay is hidden. This also closes the overlay\nimmediately in case there is a closing animation in progress.",
1016
+ "attribute": "hidden",
1017
+ "inheritedFrom": {
1018
+ "name": "OverlayMixin",
1019
+ "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1020
+ }
1021
+ },
1022
+ {
1023
+ "kind": "field",
1024
+ "name": "horizontalAlign",
1025
+ "privacy": "public",
1026
+ "type": {
1027
+ "text": "string"
1028
+ },
1029
+ "description": "When `positionTarget` is set, this property defines whether to align the overlay's\nleft or right side to the target element by default.\nPossible values are `start` and `end`.\nRTL is taken into account when interpreting the value.\nThe overlay is automatically flipped to the opposite side when it doesn't fit into\nthe default side defined by this property.",
1030
+ "attribute": "horizontal-align",
1031
+ "inheritedFrom": {
1032
+ "name": "PositionMixin",
1033
+ "package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
1034
+ }
1035
+ },
1036
+ {
1037
+ "kind": "field",
1038
+ "name": "model",
1039
+ "privacy": "public",
1040
+ "type": {
1041
+ "text": "object"
1042
+ },
1043
+ "description": "Object with properties that is passed to `renderer` function",
1044
+ "attribute": "model",
1045
+ "inheritedFrom": {
1046
+ "name": "OverlayMixin",
1047
+ "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1048
+ }
1049
+ },
1050
+ {
1051
+ "kind": "field",
1052
+ "name": "modeless",
1053
+ "privacy": "public",
1054
+ "type": {
1055
+ "text": "boolean"
1056
+ },
1057
+ "description": "When true the overlay won't disable the main content, showing\nit doesn't change the functionality of the user interface.",
1058
+ "attribute": "modeless",
1059
+ "inheritedFrom": {
1060
+ "name": "OverlayMixin",
1061
+ "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1062
+ }
1063
+ },
1064
+ {
1065
+ "kind": "field",
1066
+ "name": "noHorizontalOverlap",
1067
+ "privacy": "public",
1068
+ "type": {
1069
+ "text": "boolean"
1070
+ },
1071
+ "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.",
1072
+ "attribute": "no-horizontal-overlap",
1073
+ "inheritedFrom": {
1074
+ "name": "PositionMixin",
1075
+ "package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
1076
+ }
1077
+ },
1078
+ {
1079
+ "kind": "field",
1080
+ "name": "noVerticalOverlap",
1081
+ "privacy": "public",
1082
+ "type": {
1083
+ "text": "boolean"
1084
+ },
1085
+ "description": "When `positionTarget` is set, this property defines whether the overlay should overlap\nthe target element in the y-axis, or be positioned right above/below it.",
1086
+ "attribute": "no-vertical-overlap",
1087
+ "inheritedFrom": {
1088
+ "name": "PositionMixin",
1089
+ "package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
1090
+ }
1091
+ },
1092
+ {
1093
+ "kind": "field",
1094
+ "name": "opened",
1095
+ "privacy": "public",
1096
+ "type": {
1097
+ "text": "boolean"
1098
+ },
1099
+ "description": "When true, the overlay is visible and attached to body.",
1100
+ "attribute": "opened",
1101
+ "inheritedFrom": {
1102
+ "name": "OverlayMixin",
1103
+ "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1104
+ }
1105
+ },
1106
+ {
1107
+ "kind": "field",
1108
+ "name": "owner",
1109
+ "privacy": "public",
1110
+ "type": {
1111
+ "text": "HTMLElement"
1112
+ },
1113
+ "description": "Owner element passed with renderer function",
1114
+ "attribute": "owner",
1115
+ "inheritedFrom": {
1116
+ "name": "OverlayMixin",
1117
+ "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1118
+ }
1119
+ },
1120
+ {
1121
+ "kind": "field",
1122
+ "name": "positionTarget",
1123
+ "privacy": "public",
1124
+ "type": {
1125
+ "text": "object"
1126
+ },
1127
+ "description": "The element next to which this overlay should be aligned.\nThe position of the overlay relative to the positionTarget can be adjusted\nwith properties `horizontalAlign`, `verticalAlign`, `noHorizontalOverlap`\nand `noVerticalOverlap`.",
1128
+ "attribute": "position-target",
1129
+ "inheritedFrom": {
1130
+ "name": "PositionMixin",
1131
+ "package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
1132
+ }
1133
+ },
1134
+ {
1135
+ "kind": "field",
1136
+ "name": "renderer",
1137
+ "privacy": "public",
1138
+ "type": {
1139
+ "text": "OverlayRenderer | null | undefined"
1140
+ },
1141
+ "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.",
1142
+ "attribute": "renderer",
1143
+ "inheritedFrom": {
1144
+ "name": "OverlayMixin",
1145
+ "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1146
+ }
1147
+ },
1148
+ {
1149
+ "kind": "method",
1150
+ "name": "requestContentUpdate",
1151
+ "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.",
1152
+ "inheritedFrom": {
1153
+ "name": "OverlayMixin",
1154
+ "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1155
+ }
1156
+ },
1157
+ {
1158
+ "kind": "field",
1159
+ "name": "requiredVerticalSpace",
1160
+ "privacy": "public",
1161
+ "type": {
1162
+ "text": "number"
1163
+ },
1164
+ "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.",
1165
+ "attribute": "required-vertical-space",
1166
+ "inheritedFrom": {
1167
+ "name": "PositionMixin",
1168
+ "package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
1169
+ }
1170
+ },
1171
+ {
1172
+ "kind": "field",
1173
+ "name": "restoreFocusNode",
1174
+ "privacy": "public",
1175
+ "type": {
1176
+ "text": "HTMLElement"
1177
+ },
1178
+ "description": "Set to specify the element which should be focused on overlay close,\nif `restoreFocusOnClose` is set to true.",
1179
+ "attribute": "restore-focus-node",
1180
+ "inheritedFrom": {
1181
+ "name": "OverlayFocusMixin",
1182
+ "package": "@vaadin/overlay/src/vaadin-overlay-focus-mixin.js"
1183
+ }
1184
+ },
1185
+ {
1186
+ "kind": "field",
1187
+ "name": "restoreFocusOnClose",
1188
+ "privacy": "public",
1189
+ "type": {
1190
+ "text": "boolean"
1191
+ },
1192
+ "description": "Set to true to enable restoring of focus when overlay is closed.",
1193
+ "attribute": "restore-focus-on-close",
1194
+ "inheritedFrom": {
1195
+ "name": "OverlayFocusMixin",
1196
+ "package": "@vaadin/overlay/src/vaadin-overlay-focus-mixin.js"
1197
+ }
1198
+ },
1199
+ {
1200
+ "kind": "method",
1201
+ "name": "setBounds",
1202
+ "parameters": [
1203
+ {
1204
+ "name": "bounds",
1205
+ "type": {
1206
+ "text": "!OverlayBoundsParam"
1207
+ }
1208
+ },
1209
+ {
1210
+ "name": "absolute",
1211
+ "default": "true",
1212
+ "type": {
1213
+ "text": "boolean"
1214
+ }
1215
+ }
1216
+ ],
1217
+ "description": "Updates the coordinates of the overlay.",
1218
+ "inheritedFrom": {
1219
+ "name": "OverlayMixin",
1220
+ "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1221
+ }
1222
+ },
1223
+ {
1224
+ "kind": "field",
1225
+ "name": "verticalAlign",
1226
+ "privacy": "public",
1227
+ "type": {
1228
+ "text": "string"
1229
+ },
1230
+ "description": "When `positionTarget` is set, this property defines whether to align the overlay's\ntop or bottom side to the target element by default.\nPossible values are `top` and `bottom`.\nThe overlay is automatically flipped to the opposite side when it doesn't fit into\nthe default side defined by this property.",
1231
+ "attribute": "vertical-align",
1232
+ "inheritedFrom": {
1233
+ "name": "PositionMixin",
1234
+ "package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
1235
+ }
1236
+ },
1237
+ {
1238
+ "kind": "field",
1239
+ "name": "withBackdrop",
1240
+ "privacy": "public",
1241
+ "type": {
1242
+ "text": "boolean"
1243
+ },
1244
+ "description": "When true the overlay has backdrop on top of content when opened.",
1245
+ "attribute": "with-backdrop",
1246
+ "inheritedFrom": {
1247
+ "name": "OverlayMixin",
1248
+ "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1249
+ }
1250
+ }
1251
+ ],
1252
+ "mixins": [
1253
+ {
1254
+ "name": "PositionMixin",
1255
+ "package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
1256
+ },
1257
+ {
1258
+ "name": "OverlayMixin",
1259
+ "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1260
+ }
1261
+ ],
1262
+ "parameters": [
1263
+ {
1264
+ "name": "superClass"
1265
+ }
1266
+ ],
1267
+ "attributes": [
1268
+ {
1269
+ "name": "focus-trap",
1270
+ "type": {
1271
+ "text": "boolean"
1272
+ },
1273
+ "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.",
1274
+ "fieldName": "focusTrap",
1275
+ "inheritedFrom": {
1276
+ "name": "OverlayFocusMixin",
1277
+ "package": "@vaadin/overlay/src/vaadin-overlay-focus-mixin.js"
1278
+ }
1279
+ },
1280
+ {
1281
+ "name": "hidden",
1282
+ "type": {
1283
+ "text": "boolean"
1284
+ },
1285
+ "description": "When set to true, the overlay is hidden. This also closes the overlay\nimmediately in case there is a closing animation in progress.",
1286
+ "fieldName": "hidden",
1287
+ "inheritedFrom": {
1288
+ "name": "OverlayMixin",
1289
+ "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1290
+ }
1291
+ },
1292
+ {
1293
+ "name": "horizontal-align",
1294
+ "type": {
1295
+ "text": "string"
1296
+ },
1297
+ "description": "When `positionTarget` is set, this property defines whether to align the overlay's\nleft or right side to the target element by default.\nPossible values are `start` and `end`.\nRTL is taken into account when interpreting the value.\nThe overlay is automatically flipped to the opposite side when it doesn't fit into\nthe default side defined by this property.",
1298
+ "fieldName": "horizontalAlign",
1299
+ "inheritedFrom": {
1300
+ "name": "PositionMixin",
1301
+ "package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
1302
+ }
1303
+ },
1304
+ {
1305
+ "name": "modeless",
1306
+ "type": {
1307
+ "text": "boolean"
1308
+ },
1309
+ "description": "When true the overlay won't disable the main content, showing\nit doesn't change the functionality of the user interface.",
1310
+ "fieldName": "modeless",
1311
+ "inheritedFrom": {
1312
+ "name": "OverlayMixin",
1313
+ "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1314
+ }
1315
+ },
1316
+ {
1317
+ "name": "no-horizontal-overlap",
1318
+ "type": {
1319
+ "text": "boolean"
1320
+ },
1321
+ "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.",
1322
+ "fieldName": "noHorizontalOverlap",
1323
+ "inheritedFrom": {
1324
+ "name": "PositionMixin",
1325
+ "package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
1326
+ }
1327
+ },
1328
+ {
1329
+ "name": "no-vertical-overlap",
1330
+ "type": {
1331
+ "text": "boolean"
1332
+ },
1333
+ "description": "When `positionTarget` is set, this property defines whether the overlay should overlap\nthe target element in the y-axis, or be positioned right above/below it.",
1334
+ "fieldName": "noVerticalOverlap",
1335
+ "inheritedFrom": {
1336
+ "name": "PositionMixin",
1337
+ "package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
1338
+ }
1339
+ },
1340
+ {
1341
+ "name": "opened",
1342
+ "type": {
1343
+ "text": "boolean"
1344
+ },
1345
+ "description": "When true, the overlay is visible and attached to body.",
1346
+ "fieldName": "opened",
1347
+ "inheritedFrom": {
1348
+ "name": "OverlayMixin",
1349
+ "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1350
+ }
1351
+ },
1352
+ {
1353
+ "name": "owner",
1354
+ "type": {
1355
+ "text": "HTMLElement"
1356
+ },
1357
+ "description": "Owner element passed with renderer function",
1358
+ "fieldName": "owner",
1359
+ "inheritedFrom": {
1360
+ "name": "OverlayMixin",
1361
+ "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1362
+ }
1363
+ },
1364
+ {
1365
+ "name": "renderer",
1366
+ "type": {
1367
+ "text": "OverlayRenderer | null | undefined"
1368
+ },
1369
+ "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.",
1370
+ "fieldName": "renderer",
1371
+ "inheritedFrom": {
1372
+ "name": "OverlayMixin",
1373
+ "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1374
+ }
1375
+ },
1376
+ {
1377
+ "name": "required-vertical-space",
1378
+ "type": {
1379
+ "text": "number"
1380
+ },
1381
+ "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.",
1382
+ "fieldName": "requiredVerticalSpace",
1383
+ "inheritedFrom": {
1384
+ "name": "PositionMixin",
1385
+ "package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
1386
+ }
1387
+ },
1388
+ {
1389
+ "name": "restore-focus-node",
1390
+ "type": {
1391
+ "text": "HTMLElement"
1392
+ },
1393
+ "description": "Set to specify the element which should be focused on overlay close,\nif `restoreFocusOnClose` is set to true.",
1394
+ "fieldName": "restoreFocusNode",
1395
+ "inheritedFrom": {
1396
+ "name": "OverlayFocusMixin",
1397
+ "package": "@vaadin/overlay/src/vaadin-overlay-focus-mixin.js"
1398
+ }
1399
+ },
1400
+ {
1401
+ "name": "restore-focus-on-close",
1402
+ "type": {
1403
+ "text": "boolean"
1404
+ },
1405
+ "description": "Set to true to enable restoring of focus when overlay is closed.",
1406
+ "fieldName": "restoreFocusOnClose",
1407
+ "inheritedFrom": {
1408
+ "name": "OverlayFocusMixin",
1409
+ "package": "@vaadin/overlay/src/vaadin-overlay-focus-mixin.js"
1410
+ }
1411
+ },
1412
+ {
1413
+ "name": "vertical-align",
1414
+ "type": {
1415
+ "text": "string"
1416
+ },
1417
+ "description": "When `positionTarget` is set, this property defines whether to align the overlay's\ntop or bottom side to the target element by default.\nPossible values are `top` and `bottom`.\nThe overlay is automatically flipped to the opposite side when it doesn't fit into\nthe default side defined by this property.",
1418
+ "fieldName": "verticalAlign",
1419
+ "inheritedFrom": {
1420
+ "name": "PositionMixin",
1421
+ "package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
1422
+ }
1423
+ },
1424
+ {
1425
+ "name": "with-backdrop",
1426
+ "type": {
1427
+ "text": "boolean"
1428
+ },
1429
+ "description": "When true the overlay has backdrop on top of content when opened.",
1430
+ "fieldName": "withBackdrop",
1431
+ "inheritedFrom": {
1432
+ "name": "OverlayMixin",
1433
+ "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1434
+ }
1435
+ }
1436
+ ],
1437
+ "events": [
1438
+ {
1439
+ "name": "vaadin-overlay-closed",
1440
+ "type": {
1441
+ "text": "CustomEvent"
1442
+ },
1443
+ "inheritedFrom": {
1444
+ "name": "OverlayMixin",
1445
+ "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1446
+ }
1447
+ },
1448
+ {
1449
+ "name": "vaadin-overlay-closing",
1450
+ "type": {
1451
+ "text": "CustomEvent"
1452
+ },
1453
+ "inheritedFrom": {
1454
+ "name": "OverlayMixin",
1455
+ "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1456
+ }
1457
+ }
1458
+ ]
1459
+ }
1460
+ ],
1461
+ "exports": [
1462
+ {
1463
+ "kind": "js",
1464
+ "name": "DatePickerOverlayMixin",
1465
+ "declaration": {
1466
+ "name": "DatePickerOverlayMixin",
1467
+ "module": "src/vaadin-date-picker-overlay-mixin.js"
1468
+ }
1469
+ }
1470
+ ]
1471
+ },
1472
+ {
1473
+ "kind": "javascript-module",
1474
+ "path": "src/vaadin-date-picker-overlay.js",
1475
+ "declarations": [],
1476
+ "exports": []
1477
+ },
1478
+ {
1479
+ "kind": "javascript-module",
1480
+ "path": "src/vaadin-date-picker-year-scroller.js",
1481
+ "declarations": [],
1482
+ "exports": []
1483
+ },
1484
+ {
1485
+ "kind": "javascript-module",
1486
+ "path": "src/vaadin-date-picker-year.js",
1487
+ "declarations": [
1488
+ {
1489
+ "kind": "class",
1490
+ "description": "An element used internally by `<vaadin-date-picker>`. Not intended to be used separately.",
1491
+ "name": "DatePickerYear",
1492
+ "members": [
1493
+ {
1494
+ "kind": "field",
1495
+ "name": "selectedDate",
1496
+ "privacy": "public",
1497
+ "type": {
1498
+ "text": "object"
1499
+ },
1500
+ "attribute": "selected-date"
1501
+ },
1502
+ {
1503
+ "kind": "field",
1504
+ "name": "year",
1505
+ "privacy": "public",
1506
+ "type": {
1507
+ "text": "string"
1508
+ },
1509
+ "attribute": "year"
1510
+ }
1511
+ ],
1512
+ "attributes": [
1513
+ {
1514
+ "name": "year",
1515
+ "type": {
1516
+ "text": "string"
1517
+ },
1518
+ "fieldName": "year"
1519
+ }
1520
+ ],
1521
+ "mixins": [
1522
+ {
1523
+ "name": "ThemableMixin",
1524
+ "package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
1525
+ },
1526
+ {
1527
+ "name": "PolylitMixin",
1528
+ "package": "@vaadin/component-base/src/polylit-mixin.js"
1529
+ },
1530
+ {
1531
+ "name": "LumoInjectionMixin",
1532
+ "package": "@vaadin/vaadin-themable-mixin/lumo-injection-mixin.js"
1533
+ }
1534
+ ],
1535
+ "superclass": {
1536
+ "name": "LitElement",
1537
+ "package": "lit"
1538
+ },
1539
+ "tagName": "vaadin-date-picker-year",
1540
+ "customElement": true,
1541
+ "events": []
1542
+ }
1543
+ ],
1544
+ "exports": [
1545
+ {
1546
+ "kind": "js",
1547
+ "name": "DatePickerYear",
1548
+ "declaration": {
1549
+ "name": "DatePickerYear",
1550
+ "module": "src/vaadin-date-picker-year.js"
1551
+ }
1552
+ }
1553
+ ]
1554
+ },
1555
+ {
1556
+ "kind": "javascript-module",
1557
+ "path": "src/vaadin-date-picker.js",
1558
+ "declarations": [
1559
+ {
1560
+ "kind": "class",
1561
+ "description": "`<vaadin-date-picker>` is an input field that allows to enter a date by typing or by selecting from a calendar overlay.\n\n```html\n<vaadin-date-picker label=\"Birthday\"></vaadin-date-picker>\n```\n\n```js\ndatePicker.value = '2016-03-02';\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\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`backdrop` | Backdrop of the overlay\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`week-numbers` | Set when week numbers are shown in the calendar\n\n### Internal components\n\nIn addition to `<vaadin-date-picker>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-date-picker-overlay-content>`\n- `<vaadin-date-picker-month-scroller>`\n- `<vaadin-date-picker-year-scroller>`\n- `<vaadin-date-picker-year>`\n- `<vaadin-month-calendar>`\n\nIn order to style the overlay content, use `<vaadin-date-picker-overlay-content>` shadow DOM parts:\n\nPart name | Description\n----------------------|--------------------\n`years-toggle-button` | Fullscreen mode years scroller toggle\n`toolbar` | Toolbar with slotted buttons\n\nThe following state attributes are available on the `<vaadin-date-picker-overlay-content>` element:\n\nAttribute | Description\n----------------|-------------------------------------------------\n`desktop` | Set when the overlay content is in desktop mode\n`fullscreen` | Set when the overlay content is in fullscreen mode\n`years-visible` | Set when the year scroller is visible in fullscreen mode\n\nIn order to style the month calendar, use `<vaadin-month-calendar>` shadow DOM parts:\n\nPart name | Description\n----------------------|--------------------\n`month-header` | Month title\n`weekdays` | Weekday container\n`weekday` | Weekday element\n`week-numbers` | Week numbers container\n`week-number` | Week number element\n`date` | Date element\n`disabled` | Disabled date element\n`focused` | Focused date element\n`selected` | Selected date element\n`today` | Date element corresponding to the current day\n`past` | Date element corresponding to the date in the past\n`future` | Date element corresponding to the date in the future\n\nIn order to style year scroller elements, use `<vaadin-date-picker-year>` shadow DOM parts:\n\nPart name | Description\n----------------------|--------------------\n`year-number` | Year number\n`year-separator` | Year separator\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",
1562
+ "name": "DatePicker",
1563
+ "members": [
1564
+ {
1565
+ "kind": "field",
1566
+ "name": "accessibleName",
1567
+ "privacy": "public",
1568
+ "type": {
1569
+ "text": "string"
1570
+ },
1571
+ "description": "String used to label the component to screen reader users.",
1572
+ "attribute": "accessible-name",
1573
+ "inheritedFrom": {
1574
+ "name": "FieldMixin",
1575
+ "package": "@vaadin/field-base/src/field-mixin.js"
1576
+ }
1577
+ },
1578
+ {
1579
+ "kind": "field",
1580
+ "name": "accessibleNameRef",
1581
+ "privacy": "public",
1582
+ "type": {
1583
+ "text": "string"
1584
+ },
1585
+ "description": "Id of the element used as label of the component to screen reader users.",
1586
+ "attribute": "accessible-name-ref",
1587
+ "inheritedFrom": {
1588
+ "name": "FieldMixin",
1589
+ "package": "@vaadin/field-base/src/field-mixin.js"
1590
+ }
1591
+ },
1592
+ {
1593
+ "kind": "field",
1594
+ "name": "allowedCharPattern",
1595
+ "privacy": "public",
1596
+ "type": {
1597
+ "text": "string"
1598
+ },
1599
+ "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-]\"`",
1600
+ "attribute": "allowed-char-pattern",
1601
+ "inheritedFrom": {
1602
+ "name": "InputControlMixin",
1603
+ "package": "@vaadin/field-base/src/input-control-mixin.js"
1604
+ }
1605
+ },
1606
+ {
1607
+ "kind": "field",
1608
+ "name": "autoOpenDisabled",
1609
+ "privacy": "public",
1610
+ "type": {
1611
+ "text": "boolean"
1612
+ },
1613
+ "description": "Set true to prevent the overlay from opening automatically.",
1614
+ "attribute": "auto-open-disabled",
1615
+ "inheritedFrom": {
1616
+ "name": "DatePickerMixin",
1617
+ "module": "src/vaadin-date-picker-mixin.js"
1618
+ }
1619
+ },
1620
+ {
1621
+ "kind": "field",
1622
+ "name": "autoselect",
1623
+ "privacy": "public",
1624
+ "type": {
1625
+ "text": "boolean"
1626
+ },
1627
+ "description": "If true, the input text gets fully selected when the field is focused using click or touch / tap.",
1628
+ "attribute": "autoselect",
1629
+ "inheritedFrom": {
1630
+ "name": "InputControlMixin",
1631
+ "package": "@vaadin/field-base/src/input-control-mixin.js"
1632
+ }
1633
+ },
1634
+ {
1635
+ "kind": "method",
1636
+ "name": "checkValidity",
1637
+ "description": "Returns true if the current input value satisfies all constraints (if any)\n\nOverride the `checkValidity` method for custom validations.",
1638
+ "return": {
1639
+ "type": {
1640
+ "text": "boolean"
1641
+ }
1642
+ },
1643
+ "inheritedFrom": {
1644
+ "name": "DatePickerMixin",
1645
+ "module": "src/vaadin-date-picker-mixin.js"
1646
+ }
1647
+ },
1648
+ {
1649
+ "kind": "field",
1650
+ "name": "clearButtonVisible",
1651
+ "privacy": "public",
1652
+ "type": {
1653
+ "text": "boolean"
1654
+ },
1655
+ "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.",
1656
+ "attribute": "clear-button-visible",
1657
+ "inheritedFrom": {
1658
+ "name": "ClearButtonMixin",
1659
+ "package": "@vaadin/field-base/src/clear-button-mixin.js"
1660
+ }
1661
+ },
1662
+ {
1663
+ "kind": "method",
1664
+ "name": "close",
1665
+ "description": "Closes the dropdown.",
1666
+ "inheritedFrom": {
1667
+ "name": "DatePickerMixin",
1668
+ "module": "src/vaadin-date-picker-mixin.js"
1669
+ }
1670
+ },
1671
+ {
1672
+ "kind": "field",
1673
+ "name": "errorMessage",
1674
+ "privacy": "public",
1675
+ "type": {
1676
+ "text": "string"
1677
+ },
1678
+ "description": "Error to show when the field is invalid.",
1679
+ "attribute": "error-message",
1680
+ "inheritedFrom": {
1681
+ "name": "FieldMixin",
1682
+ "package": "@vaadin/field-base/src/field-mixin.js"
1683
+ }
1684
+ },
1685
+ {
1686
+ "kind": "field",
1687
+ "name": "helperText",
1688
+ "privacy": "public",
1689
+ "type": {
1690
+ "text": "string"
1691
+ },
1692
+ "description": "String used for the helper text.",
1693
+ "attribute": "helper-text",
1694
+ "inheritedFrom": {
1695
+ "name": "FieldMixin",
1696
+ "package": "@vaadin/field-base/src/field-mixin.js"
1697
+ }
1698
+ },
1699
+ {
1700
+ "kind": "field",
1701
+ "name": "initialPosition",
1702
+ "privacy": "public",
1703
+ "description": "Date which should be visible when there is no value selected.\n\nThe same date formats as for the `value` property are supported.",
1704
+ "attribute": "initial-position",
1705
+ "inheritedFrom": {
1706
+ "name": "DatePickerMixin",
1707
+ "module": "src/vaadin-date-picker-mixin.js"
1708
+ }
1709
+ },
1710
+ {
1711
+ "kind": "field",
1712
+ "name": "isDateDisabled",
1713
+ "privacy": "public",
1714
+ "type": {
1715
+ "text": "function(DatePickerDate): boolean | undefined"
1716
+ },
1717
+ "description": "A function to be used to determine whether the user can select a given date.\nReceives a `DatePickerDate` object of the date to be selected and should return a\nboolean.",
1718
+ "attribute": "is-date-disabled",
1719
+ "inheritedFrom": {
1720
+ "name": "DatePickerMixin",
1721
+ "module": "src/vaadin-date-picker-mixin.js"
1722
+ }
1723
+ },
1724
+ {
1725
+ "kind": "field",
1726
+ "name": "max",
1727
+ "privacy": "public",
1728
+ "type": {
1729
+ "text": "string | undefined"
1730
+ },
1731
+ "description": "The latest date that can be selected. All later dates will be disabled.\n\nSupported date formats:\n- ISO 8601 `\"YYYY-MM-DD\"` (default)\n- 6-digit extended ISO 8601 `\"+YYYYYY-MM-DD\"`, `\"-YYYYYY-MM-DD\"`",
1732
+ "attribute": "max",
1733
+ "inheritedFrom": {
1734
+ "name": "DatePickerMixin",
1735
+ "module": "src/vaadin-date-picker-mixin.js"
1736
+ }
1737
+ },
1738
+ {
1739
+ "kind": "field",
1740
+ "name": "min",
1741
+ "privacy": "public",
1742
+ "type": {
1743
+ "text": "string | undefined"
1744
+ },
1745
+ "description": "The earliest date that can be selected. All earlier dates will be disabled.\n\nSupported date formats:\n- ISO 8601 `\"YYYY-MM-DD\"` (default)\n- 6-digit extended ISO 8601 `\"+YYYYYY-MM-DD\"`, `\"-YYYYYY-MM-DD\"`",
1746
+ "attribute": "min",
1747
+ "inheritedFrom": {
1748
+ "name": "DatePickerMixin",
1749
+ "module": "src/vaadin-date-picker-mixin.js"
1750
+ }
1751
+ },
1752
+ {
1753
+ "kind": "field",
1754
+ "name": "name",
1755
+ "privacy": "public",
1756
+ "type": {
1757
+ "text": "string"
1758
+ },
1759
+ "description": "The name of this field.",
1760
+ "attribute": "name",
1761
+ "inheritedFrom": {
1762
+ "name": "InputControlMixin",
1763
+ "package": "@vaadin/field-base/src/input-control-mixin.js"
1764
+ }
1765
+ },
1766
+ {
1767
+ "kind": "method",
1768
+ "name": "open",
1769
+ "description": "Opens the dropdown.",
1770
+ "inheritedFrom": {
1771
+ "name": "DatePickerMixin",
1772
+ "module": "src/vaadin-date-picker-mixin.js"
1773
+ }
1774
+ },
1775
+ {
1776
+ "kind": "field",
1777
+ "name": "opened",
1778
+ "privacy": "public",
1779
+ "type": {
1780
+ "text": "boolean"
1781
+ },
1782
+ "description": "Set true to open the date selector overlay.",
1783
+ "attribute": "opened",
1784
+ "inheritedFrom": {
1785
+ "name": "DatePickerMixin",
1786
+ "module": "src/vaadin-date-picker-mixin.js"
1787
+ }
1788
+ },
1789
+ {
1790
+ "kind": "field",
1791
+ "name": "placeholder",
1792
+ "privacy": "public",
1793
+ "type": {
1794
+ "text": "string"
1795
+ },
1796
+ "description": "A hint to the user of what can be entered in the field.",
1797
+ "attribute": "placeholder",
1798
+ "inheritedFrom": {
1799
+ "name": "InputControlMixin",
1800
+ "package": "@vaadin/field-base/src/input-control-mixin.js"
1801
+ }
1802
+ },
1803
+ {
1804
+ "kind": "field",
1805
+ "name": "readonly",
1806
+ "privacy": "public",
1807
+ "type": {
1808
+ "text": "boolean"
1809
+ },
1810
+ "description": "When present, it specifies that the field is read-only.",
1811
+ "attribute": "readonly",
1812
+ "inheritedFrom": {
1813
+ "name": "InputControlMixin",
1814
+ "package": "@vaadin/field-base/src/input-control-mixin.js"
1815
+ }
1816
+ },
1817
+ {
1818
+ "kind": "field",
1819
+ "name": "showWeekNumbers",
1820
+ "privacy": "public",
1821
+ "type": {
1822
+ "text": "boolean"
1823
+ },
1824
+ "description": "Set true to display ISO-8601 week numbers in the calendar. Notice that\ndisplaying week numbers is only supported when `i18n.firstDayOfWeek`\nis 1 (Monday).",
1825
+ "attribute": "show-week-numbers",
1826
+ "inheritedFrom": {
1827
+ "name": "DatePickerMixin",
1828
+ "module": "src/vaadin-date-picker-mixin.js"
1829
+ }
1830
+ },
1831
+ {
1832
+ "kind": "field",
1833
+ "name": "title",
1834
+ "privacy": "public",
1835
+ "type": {
1836
+ "text": "string"
1837
+ },
1838
+ "description": "The text usually displayed in a tooltip popup when the mouse is over the field.",
1839
+ "attribute": "title",
1840
+ "inheritedFrom": {
1841
+ "name": "InputControlMixin",
1842
+ "package": "@vaadin/field-base/src/input-control-mixin.js"
1843
+ }
1844
+ },
1845
+ {
1846
+ "kind": "field",
1847
+ "name": "value",
1848
+ "privacy": "public",
1849
+ "type": {
1850
+ "text": "string"
1851
+ },
1852
+ "description": "Selected date.\n\nSupported date formats:\n- ISO 8601 `\"YYYY-MM-DD\"` (default)\n- 6-digit extended ISO 8601 `\"+YYYYYY-MM-DD\"`, `\"-YYYYYY-MM-DD\"`",
1853
+ "attribute": "value",
1854
+ "inheritedFrom": {
1855
+ "name": "DatePickerMixin",
1856
+ "module": "src/vaadin-date-picker-mixin.js"
1857
+ }
1858
+ }
1859
+ ],
1860
+ "events": [
1861
+ {
1862
+ "name": "change",
1863
+ "type": {
1864
+ "text": "CustomEvent"
1865
+ },
1866
+ "description": "Fired when the user commits a value change.",
1867
+ "inheritedFrom": {
1868
+ "name": "DatePickerMixin",
1869
+ "module": "src/vaadin-date-picker-mixin.js"
1870
+ }
1871
+ },
1872
+ {
1873
+ "type": {
1874
+ "text": "CustomEvent"
1875
+ },
1876
+ "description": "Fired when the `invalid` property changes.",
1877
+ "name": "invalid-changed"
1878
+ },
1879
+ {
1880
+ "type": {
1881
+ "text": "CustomEvent"
1882
+ },
1883
+ "description": "Fired when the `opened` property changes.",
1884
+ "name": "opened-changed"
1885
+ },
1886
+ {
1887
+ "name": "unparsable-change",
1888
+ "type": {
1889
+ "text": "CustomEvent"
1890
+ },
1891
+ "description": "Fired when the user commits an unparsable value change and there is no change event.",
1892
+ "inheritedFrom": {
1893
+ "name": "DatePickerMixin",
1894
+ "module": "src/vaadin-date-picker-mixin.js"
1895
+ }
1896
+ },
1897
+ {
1898
+ "type": {
1899
+ "text": "CustomEvent"
1900
+ },
1901
+ "description": "Fired whenever the field is validated.",
1902
+ "name": "validated"
1903
+ },
1904
+ {
1905
+ "type": {
1906
+ "text": "CustomEvent"
1907
+ },
1908
+ "description": "Fired when the `value` property changes.",
1909
+ "name": "value-changed"
1910
+ }
1911
+ ],
1912
+ "attributes": [
1913
+ {
1914
+ "name": "accessible-name",
1915
+ "type": {
1916
+ "text": "string"
1917
+ },
1918
+ "description": "String used to label the component to screen reader users.",
1919
+ "fieldName": "accessibleName",
1920
+ "inheritedFrom": {
1921
+ "name": "FieldMixin",
1922
+ "package": "@vaadin/field-base/src/field-mixin.js"
1923
+ }
1924
+ },
1925
+ {
1926
+ "name": "accessible-name-ref",
1927
+ "type": {
1928
+ "text": "string"
1929
+ },
1930
+ "description": "Id of the element used as label of the component to screen reader users.",
1931
+ "fieldName": "accessibleNameRef",
1932
+ "inheritedFrom": {
1933
+ "name": "FieldMixin",
1934
+ "package": "@vaadin/field-base/src/field-mixin.js"
1935
+ }
1936
+ },
1937
+ {
1938
+ "name": "allowed-char-pattern",
1939
+ "type": {
1940
+ "text": "string"
1941
+ },
1942
+ "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-]\"`",
1943
+ "fieldName": "allowedCharPattern",
1944
+ "inheritedFrom": {
1945
+ "name": "InputControlMixin",
1946
+ "package": "@vaadin/field-base/src/input-control-mixin.js"
1947
+ }
1948
+ },
1949
+ {
1950
+ "name": "auto-open-disabled",
1951
+ "type": {
1952
+ "text": "boolean"
1953
+ },
1954
+ "description": "Set true to prevent the overlay from opening automatically.",
1955
+ "fieldName": "autoOpenDisabled",
1956
+ "inheritedFrom": {
1957
+ "name": "DatePickerMixin",
1958
+ "module": "src/vaadin-date-picker-mixin.js"
1959
+ }
1960
+ },
1961
+ {
1962
+ "name": "autoselect",
1963
+ "type": {
1964
+ "text": "boolean"
1965
+ },
1966
+ "description": "If true, the input text gets fully selected when the field is focused using click or touch / tap.",
1967
+ "fieldName": "autoselect",
1968
+ "inheritedFrom": {
1969
+ "name": "InputControlMixin",
1970
+ "package": "@vaadin/field-base/src/input-control-mixin.js"
1971
+ }
1972
+ },
1973
+ {
1974
+ "name": "clear-button-visible",
1975
+ "type": {
1976
+ "text": "boolean"
1977
+ },
1978
+ "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.",
1979
+ "fieldName": "clearButtonVisible",
1980
+ "inheritedFrom": {
1981
+ "name": "ClearButtonMixin",
1982
+ "package": "@vaadin/field-base/src/clear-button-mixin.js"
1983
+ }
1984
+ },
1985
+ {
1986
+ "name": "error-message",
1987
+ "type": {
1988
+ "text": "string"
1989
+ },
1990
+ "description": "Error to show when the field is invalid.",
1991
+ "fieldName": "errorMessage",
1992
+ "inheritedFrom": {
1993
+ "name": "FieldMixin",
1994
+ "package": "@vaadin/field-base/src/field-mixin.js"
1995
+ }
1996
+ },
1997
+ {
1998
+ "name": "helper-text",
1999
+ "type": {
2000
+ "text": "string"
2001
+ },
2002
+ "description": "String used for the helper text.",
2003
+ "fieldName": "helperText",
2004
+ "inheritedFrom": {
2005
+ "name": "FieldMixin",
2006
+ "package": "@vaadin/field-base/src/field-mixin.js"
2007
+ }
2008
+ },
2009
+ {
2010
+ "name": "initial-position",
2011
+ "description": "Date which should be visible when there is no value selected.\n\nThe same date formats as for the `value` property are supported.",
2012
+ "fieldName": "initialPosition",
2013
+ "inheritedFrom": {
2014
+ "name": "DatePickerMixin",
2015
+ "module": "src/vaadin-date-picker-mixin.js"
2016
+ }
2017
+ },
2018
+ {
2019
+ "name": "is-date-disabled",
2020
+ "type": {
2021
+ "text": "function(DatePickerDate): boolean | undefined"
2022
+ },
2023
+ "description": "A function to be used to determine whether the user can select a given date.\nReceives a `DatePickerDate` object of the date to be selected and should return a\nboolean.",
2024
+ "fieldName": "isDateDisabled",
2025
+ "inheritedFrom": {
2026
+ "name": "DatePickerMixin",
2027
+ "module": "src/vaadin-date-picker-mixin.js"
2028
+ }
2029
+ },
2030
+ {
2031
+ "name": "max",
2032
+ "type": {
2033
+ "text": "string | undefined"
2034
+ },
2035
+ "description": "The latest date that can be selected. All later dates will be disabled.\n\nSupported date formats:\n- ISO 8601 `\"YYYY-MM-DD\"` (default)\n- 6-digit extended ISO 8601 `\"+YYYYYY-MM-DD\"`, `\"-YYYYYY-MM-DD\"`",
2036
+ "fieldName": "max",
2037
+ "inheritedFrom": {
2038
+ "name": "DatePickerMixin",
2039
+ "module": "src/vaadin-date-picker-mixin.js"
2040
+ }
2041
+ },
2042
+ {
2043
+ "name": "min",
2044
+ "type": {
2045
+ "text": "string | undefined"
2046
+ },
2047
+ "description": "The earliest date that can be selected. All earlier dates will be disabled.\n\nSupported date formats:\n- ISO 8601 `\"YYYY-MM-DD\"` (default)\n- 6-digit extended ISO 8601 `\"+YYYYYY-MM-DD\"`, `\"-YYYYYY-MM-DD\"`",
2048
+ "fieldName": "min",
2049
+ "inheritedFrom": {
2050
+ "name": "DatePickerMixin",
2051
+ "module": "src/vaadin-date-picker-mixin.js"
2052
+ }
2053
+ },
2054
+ {
2055
+ "name": "name",
2056
+ "type": {
2057
+ "text": "string"
2058
+ },
2059
+ "description": "The name of this field.",
2060
+ "fieldName": "name",
2061
+ "inheritedFrom": {
2062
+ "name": "InputControlMixin",
2063
+ "package": "@vaadin/field-base/src/input-control-mixin.js"
2064
+ }
2065
+ },
2066
+ {
2067
+ "name": "opened",
2068
+ "type": {
2069
+ "text": "boolean"
2070
+ },
2071
+ "description": "Set true to open the date selector overlay.",
2072
+ "fieldName": "opened",
2073
+ "inheritedFrom": {
2074
+ "name": "DatePickerMixin",
2075
+ "module": "src/vaadin-date-picker-mixin.js"
2076
+ }
2077
+ },
2078
+ {
2079
+ "name": "placeholder",
2080
+ "type": {
2081
+ "text": "string"
2082
+ },
2083
+ "description": "A hint to the user of what can be entered in the field.",
2084
+ "fieldName": "placeholder",
2085
+ "inheritedFrom": {
2086
+ "name": "InputControlMixin",
2087
+ "package": "@vaadin/field-base/src/input-control-mixin.js"
2088
+ }
2089
+ },
2090
+ {
2091
+ "name": "readonly",
2092
+ "type": {
2093
+ "text": "boolean"
2094
+ },
2095
+ "description": "When present, it specifies that the field is read-only.",
2096
+ "fieldName": "readonly",
2097
+ "inheritedFrom": {
2098
+ "name": "InputControlMixin",
2099
+ "package": "@vaadin/field-base/src/input-control-mixin.js"
2100
+ }
2101
+ },
2102
+ {
2103
+ "name": "show-week-numbers",
2104
+ "type": {
2105
+ "text": "boolean"
2106
+ },
2107
+ "description": "Set true to display ISO-8601 week numbers in the calendar. Notice that\ndisplaying week numbers is only supported when `i18n.firstDayOfWeek`\nis 1 (Monday).",
2108
+ "fieldName": "showWeekNumbers",
2109
+ "inheritedFrom": {
2110
+ "name": "DatePickerMixin",
2111
+ "module": "src/vaadin-date-picker-mixin.js"
2112
+ }
2113
+ },
2114
+ {
2115
+ "name": "title",
2116
+ "type": {
2117
+ "text": "string"
2118
+ },
2119
+ "description": "The text usually displayed in a tooltip popup when the mouse is over the field.",
2120
+ "fieldName": "title",
2121
+ "inheritedFrom": {
2122
+ "name": "InputControlMixin",
2123
+ "package": "@vaadin/field-base/src/input-control-mixin.js"
2124
+ }
2125
+ },
2126
+ {
2127
+ "name": "value",
2128
+ "type": {
2129
+ "text": "string"
2130
+ },
2131
+ "description": "Selected date.\n\nSupported date formats:\n- ISO 8601 `\"YYYY-MM-DD\"` (default)\n- 6-digit extended ISO 8601 `\"+YYYYYY-MM-DD\"`, `\"-YYYYYY-MM-DD\"`",
2132
+ "fieldName": "value",
2133
+ "inheritedFrom": {
2134
+ "name": "DatePickerMixin",
2135
+ "module": "src/vaadin-date-picker-mixin.js"
2136
+ }
2137
+ }
2138
+ ],
2139
+ "mixins": [
2140
+ {
2141
+ "name": "DatePickerMixin",
2142
+ "module": "src/vaadin-date-picker-mixin.js"
2143
+ },
2144
+ {
2145
+ "name": "InputControlMixin",
2146
+ "package": "@vaadin/field-base/src/input-control-mixin.js"
2147
+ },
2148
+ {
2149
+ "name": "ThemableMixin",
2150
+ "package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
2151
+ },
2152
+ {
2153
+ "name": "ElementMixin",
2154
+ "package": "@vaadin/component-base/src/element-mixin.js"
2155
+ },
2156
+ {
2157
+ "name": "PolylitMixin",
2158
+ "package": "@vaadin/component-base/src/polylit-mixin.js"
2159
+ },
2160
+ {
2161
+ "name": "LumoInjectionMixin",
2162
+ "package": "@vaadin/vaadin-themable-mixin/lumo-injection-mixin.js"
2163
+ }
2164
+ ],
2165
+ "superclass": {
2166
+ "name": "LitElement",
2167
+ "package": "lit"
2168
+ },
2169
+ "tagName": "vaadin-date-picker",
2170
+ "customElement": true
2171
+ }
2172
+ ],
2173
+ "exports": [
2174
+ {
2175
+ "kind": "js",
2176
+ "name": "DatePicker",
2177
+ "declaration": {
2178
+ "name": "DatePicker",
2179
+ "module": "src/vaadin-date-picker.js"
2180
+ }
2181
+ }
2182
+ ]
2183
+ },
2184
+ {
2185
+ "kind": "javascript-module",
2186
+ "path": "src/vaadin-infinite-scroller.js",
2187
+ "declarations": [
2188
+ {
2189
+ "kind": "class",
2190
+ "description": "",
2191
+ "name": "InfiniteScroller",
2192
+ "members": [
2193
+ {
2194
+ "kind": "field",
2195
+ "name": "active",
2196
+ "return": {
2197
+ "type": {
2198
+ "text": "boolean"
2199
+ }
2200
+ }
2201
+ },
2202
+ {
2203
+ "kind": "field",
2204
+ "name": "bufferOffset",
2205
+ "return": {
2206
+ "type": {
2207
+ "text": "number"
2208
+ }
2209
+ },
2210
+ "readonly": true
2211
+ },
2212
+ {
2213
+ "kind": "field",
2214
+ "name": "bufferSize",
2215
+ "type": {
2216
+ "text": "number"
2217
+ },
2218
+ "description": "Count of individual items in each buffer.\nThe scroller has 2 buffers altogether so bufferSize of 20\nwill result in 40 buffered DOM items in total.\nChanging after initialization not supported.",
2219
+ "default": "20"
2220
+ },
2221
+ {
2222
+ "kind": "method",
2223
+ "name": "forceUpdate",
2224
+ "description": "Force the scroller to update clones after a reset, without\nwaiting for the debouncer to resolve."
2225
+ },
2226
+ {
2227
+ "kind": "field",
2228
+ "name": "itemHeight",
2229
+ "return": {
2230
+ "type": {
2231
+ "text": "number"
2232
+ }
2233
+ },
2234
+ "readonly": true
2235
+ },
2236
+ {
2237
+ "kind": "field",
2238
+ "name": "position",
2239
+ "return": {
2240
+ "type": {
2241
+ "text": "number"
2242
+ }
2243
+ },
2244
+ "description": "Current scroller position as index. Can be a fractional number.",
2245
+ "type": {
2246
+ "text": "number"
2247
+ }
2248
+ }
2249
+ ],
2250
+ "events": [
2251
+ {
2252
+ "name": "custom-scroll",
2253
+ "type": {
2254
+ "text": "CustomEvent"
2255
+ }
2256
+ },
2257
+ {
2258
+ "name": "init-done",
2259
+ "type": {
2260
+ "text": "CustomEvent"
2261
+ }
2262
+ }
2263
+ ],
2264
+ "superclass": {
2265
+ "name": "HTMLElement"
2266
+ },
2267
+ "customElement": true
2268
+ }
2269
+ ],
2270
+ "exports": [
2271
+ {
2272
+ "kind": "js",
2273
+ "name": "InfiniteScroller",
2274
+ "declaration": {
2275
+ "name": "InfiniteScroller",
2276
+ "module": "src/vaadin-infinite-scroller.js"
2277
+ }
2278
+ }
2279
+ ]
2280
+ },
2281
+ {
2282
+ "kind": "javascript-module",
2283
+ "path": "src/vaadin-month-calendar-mixin.js",
2284
+ "declarations": [
2285
+ {
2286
+ "kind": "mixin",
2287
+ "description": "",
2288
+ "name": "MonthCalendarMixin",
2289
+ "members": [
2290
+ {
2291
+ "kind": "field",
2292
+ "name": "disabled",
2293
+ "privacy": "public",
2294
+ "type": {
2295
+ "text": "boolean"
2296
+ },
2297
+ "attribute": "disabled"
2298
+ },
2299
+ {
2300
+ "kind": "field",
2301
+ "name": "enteredDate",
2302
+ "privacy": "public",
2303
+ "type": {
2304
+ "text": "date"
2305
+ },
2306
+ "attribute": "entered-date"
2307
+ },
2308
+ {
2309
+ "kind": "field",
2310
+ "name": "focusableDateElement",
2311
+ "readonly": true
2312
+ },
2313
+ {
2314
+ "kind": "field",
2315
+ "name": "focusedDate",
2316
+ "privacy": "public",
2317
+ "type": {
2318
+ "text": "object"
2319
+ },
2320
+ "description": "A `Date` object for the currently focused date.",
2321
+ "attribute": "focused-date"
2322
+ },
2323
+ {
2324
+ "kind": "field",
2325
+ "name": "i18n",
2326
+ "privacy": "public",
2327
+ "type": {
2328
+ "text": "object"
2329
+ },
2330
+ "attribute": "i18n"
2331
+ },
2332
+ {
2333
+ "kind": "field",
2334
+ "name": "ignoreTaps",
2335
+ "privacy": "public",
2336
+ "type": {
2337
+ "text": "boolean"
2338
+ },
2339
+ "description": "Flag stating whether taps on the component should be ignored.",
2340
+ "attribute": "ignore-taps"
2341
+ },
2342
+ {
2343
+ "kind": "field",
2344
+ "name": "isDateDisabled",
2345
+ "privacy": "public",
2346
+ "type": {
2347
+ "text": "Function | undefined"
2348
+ },
2349
+ "description": "A function to be used to determine whether the user can select a given date.\nReceives a `DatePickerDate` object of the date to be selected and should return a\nboolean.",
2350
+ "attribute": "is-date-disabled"
2351
+ },
2352
+ {
2353
+ "kind": "field",
2354
+ "name": "maxDate",
2355
+ "privacy": "public",
2356
+ "type": {
2357
+ "text": "date"
2358
+ },
2359
+ "description": "The latest date that can be selected. All later dates will be disabled.",
2360
+ "attribute": "max-date"
2361
+ },
2362
+ {
2363
+ "kind": "field",
2364
+ "name": "minDate",
2365
+ "privacy": "public",
2366
+ "type": {
2367
+ "text": "date"
2368
+ },
2369
+ "description": "The earliest date that can be selected. All earlier dates will be disabled.",
2370
+ "attribute": "min-date"
2371
+ },
2372
+ {
2373
+ "kind": "field",
2374
+ "name": "month",
2375
+ "privacy": "public",
2376
+ "type": {
2377
+ "text": "object"
2378
+ },
2379
+ "description": "A `Date` object defining the month to be displayed. Only year and\nmonth properties are actually used.",
2380
+ "attribute": "month"
2381
+ },
2382
+ {
2383
+ "kind": "field",
2384
+ "name": "selectedDate",
2385
+ "privacy": "public",
2386
+ "type": {
2387
+ "text": "object"
2388
+ },
2389
+ "description": "A `Date` object for the currently selected date.",
2390
+ "attribute": "selected-date"
2391
+ },
2392
+ {
2393
+ "kind": "field",
2394
+ "name": "showWeekNumbers",
2395
+ "privacy": "public",
2396
+ "type": {
2397
+ "text": "boolean"
2398
+ },
2399
+ "description": "Set true to display ISO-8601 week numbers in the calendar. Notice that\ndisplaying week numbers is only supported when `i18n.firstDayOfWeek`\nis 1 (Monday).",
2400
+ "attribute": "show-week-numbers"
2401
+ }
2402
+ ],
2403
+ "events": [
2404
+ {
2405
+ "name": "date-tap",
2406
+ "type": {
2407
+ "text": "CustomEvent"
2408
+ }
2409
+ }
2410
+ ],
2411
+ "attributes": [
2412
+ {
2413
+ "name": "disabled",
2414
+ "type": {
2415
+ "text": "boolean"
2416
+ },
2417
+ "fieldName": "disabled"
2418
+ },
2419
+ {
2420
+ "name": "entered-date",
2421
+ "type": {
2422
+ "text": "date"
2423
+ },
2424
+ "fieldName": "enteredDate"
2425
+ },
2426
+ {
2427
+ "name": "ignore-taps",
2428
+ "type": {
2429
+ "text": "boolean"
2430
+ },
2431
+ "description": "Flag stating whether taps on the component should be ignored.",
2432
+ "fieldName": "ignoreTaps"
2433
+ },
2434
+ {
2435
+ "name": "is-date-disabled",
2436
+ "type": {
2437
+ "text": "Function | undefined"
2438
+ },
2439
+ "description": "A function to be used to determine whether the user can select a given date.\nReceives a `DatePickerDate` object of the date to be selected and should return a\nboolean.",
2440
+ "fieldName": "isDateDisabled"
2441
+ },
2442
+ {
2443
+ "name": "max-date",
2444
+ "type": {
2445
+ "text": "date"
2446
+ },
2447
+ "description": "The latest date that can be selected. All later dates will be disabled.",
2448
+ "fieldName": "maxDate"
2449
+ },
2450
+ {
2451
+ "name": "min-date",
2452
+ "type": {
2453
+ "text": "date"
2454
+ },
2455
+ "description": "The earliest date that can be selected. All earlier dates will be disabled.",
2456
+ "fieldName": "minDate"
2457
+ },
2458
+ {
2459
+ "name": "show-week-numbers",
2460
+ "type": {
2461
+ "text": "boolean"
2462
+ },
2463
+ "description": "Set true to display ISO-8601 week numbers in the calendar. Notice that\ndisplaying week numbers is only supported when `i18n.firstDayOfWeek`\nis 1 (Monday).",
2464
+ "fieldName": "showWeekNumbers"
2465
+ }
2466
+ ],
2467
+ "mixins": [
2468
+ {
2469
+ "name": "FocusMixin",
2470
+ "package": "@vaadin/a11y-base/src/focus-mixin.js"
2471
+ }
2472
+ ],
2473
+ "parameters": [
2474
+ {
2475
+ "name": "superClass"
2476
+ }
2477
+ ]
2478
+ }
2479
+ ],
2480
+ "exports": [
2481
+ {
2482
+ "kind": "js",
2483
+ "name": "MonthCalendarMixin",
2484
+ "declaration": {
2485
+ "name": "MonthCalendarMixin",
2486
+ "module": "src/vaadin-month-calendar-mixin.js"
2487
+ }
2488
+ }
2489
+ ]
2490
+ },
2491
+ {
2492
+ "kind": "javascript-module",
2493
+ "path": "src/vaadin-month-calendar.js",
2494
+ "declarations": [],
2495
+ "exports": []
2496
+ }
2497
+ ]
2498
+ }