tltv-timeline-element 1.0.24 → 1.0.25

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.
Files changed (53) hide show
  1. package/README.md +132 -5
  2. package/custom-elements.json +4147 -0
  3. package/dist/src/model/DefaultLocaleDataProvider.d.ts +35 -27
  4. package/dist/src/model/DefaultLocaleDataProvider.d.ts.map +1 -0
  5. package/dist/src/model/DefaultLocaleDataProvider.js +78 -111
  6. package/dist/src/model/DefaultLocaleDataProvider.js.map +1 -1
  7. package/dist/src/model/ILocaleDataProvider.d.ts +71 -62
  8. package/dist/src/model/ILocaleDataProvider.d.ts.map +1 -0
  9. package/dist/src/model/ILocaleDataProvider.js +1 -1
  10. package/dist/src/model/IResolutionBlockFiller.d.ts +5 -4
  11. package/dist/src/model/IResolutionBlockFiller.d.ts.map +1 -0
  12. package/dist/src/model/IResolutionBlockFiller.js +1 -1
  13. package/dist/src/model/IResolutionBlockRegisterer.d.ts +4 -3
  14. package/dist/src/model/IResolutionBlockRegisterer.d.ts.map +1 -0
  15. package/dist/src/model/IResolutionBlockRegisterer.js +1 -1
  16. package/dist/src/model/Resolution.d.ts +8 -7
  17. package/dist/src/model/Resolution.d.ts.map +1 -0
  18. package/dist/src/model/Resolution.js +8 -8
  19. package/dist/src/model/Weekday.d.ts +6 -5
  20. package/dist/src/model/Weekday.d.ts.map +1 -0
  21. package/dist/src/model/Weekday.js +6 -6
  22. package/dist/src/model/blockRowData.d.ts +12 -11
  23. package/dist/src/model/blockRowData.d.ts.map +1 -0
  24. package/dist/src/model/blockRowData.js +28 -28
  25. package/dist/src/timeline-element.d.ts +391 -388
  26. package/dist/src/timeline-element.d.ts.map +1 -0
  27. package/dist/src/timeline-element.js +1890 -1894
  28. package/dist/src/timeline-element.js.map +1 -1
  29. package/dist/src/util/dateTimeUtil.d.ts +21 -14
  30. package/dist/src/util/dateTimeUtil.d.ts.map +1 -0
  31. package/dist/src/util/dateTimeUtil.js +42 -55
  32. package/dist/src/util/dateTimeUtil.js.map +1 -1
  33. package/dist/src/util/elementUtil.d.ts +5 -4
  34. package/dist/src/util/elementUtil.d.ts.map +1 -0
  35. package/dist/src/util/elementUtil.js +48 -48
  36. package/dist/src/util/elementUtil.js.map +1 -1
  37. package/dist/src/util/zonedTime.d.ts +85 -0
  38. package/dist/src/util/zonedTime.d.ts.map +1 -0
  39. package/dist/src/util/zonedTime.js +239 -0
  40. package/dist/src/util/zonedTime.js.map +1 -0
  41. package/package.json +49 -21
  42. package/src/model/DefaultLocaleDataProvider.ts +32 -66
  43. package/src/model/ILocaleDataProvider.ts +10 -2
  44. package/src/model/IResolutionBlockFiller.ts +1 -1
  45. package/src/model/IResolutionBlockRegisterer.ts +1 -1
  46. package/src/timeline-element.ts +202 -205
  47. package/src/util/dateTimeUtil.ts +16 -29
  48. package/src/util/elementUtil.ts +4 -4
  49. package/src/util/zonedTime.ts +280 -0
  50. package/server.js +0 -18
  51. package/src/index.html +0 -112
  52. package/tsconfig.json +0 -15
  53. package/webpack.config.js +0 -33
@@ -0,0 +1,4147 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/timeline-element.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "class",
11
+ "description": "Scalable, time zone aware timeline header. Renders a date range as year,\r\nmonth and day rows above a resolution row of hours, days, weeks, months or\r\nyears (Resolution), and provides an API for converting between dates\r\nand horizontal positions.\r\n\r\nWhen the range fits in the parent element, the timeline stretches to fill it\r\nand widths are calculated as percentages. Otherwise blocks get their minimum\r\nwidth, the timeline scrolls horizontally with its scroll container and only\r\nthe visible resolution blocks are rendered.\r\n\r\nSet `startDateTime`, `endDateTime` and `resolution`; the timeline renders and\r\ncalculates its widths when attached. The positioning API can be used after\r\nthe first update has completed.",
12
+ "name": "TimelineElement",
13
+ "cssProperties": [
14
+ {
15
+ "description": "Background of header rows (year, month, day).",
16
+ "name": "--timeline-row-background",
17
+ "default": "#d0d0d0"
18
+ },
19
+ {
20
+ "description": "Background of every even month and day block in the header.",
21
+ "name": "--timeline-row-even-background",
22
+ "default": "#ddd"
23
+ },
24
+ {
25
+ "description": "Height of a header row.",
26
+ "name": "--timeline-row-height",
27
+ "default": "15px"
28
+ },
29
+ {
30
+ "description": "Font size of a header row.",
31
+ "name": "--timeline-row-font-size",
32
+ "default": "10px"
33
+ },
34
+ {
35
+ "description": "Background of resolution blocks.",
36
+ "name": "--timeline-col-background-color",
37
+ "default": "#ddd"
38
+ },
39
+ {
40
+ "description": "Background of even resolution blocks.",
41
+ "name": "--timeline-col-even-background-color",
42
+ "default": "#ccc"
43
+ },
44
+ {
45
+ "description": "Background of weekend resolution blocks.",
46
+ "name": "--timeline-col-weekend",
47
+ "default": "#ccc"
48
+ },
49
+ {
50
+ "description": "Font size of resolution blocks.",
51
+ "name": "--timeline-col-font-size",
52
+ "default": "10px"
53
+ },
54
+ {
55
+ "description": "Background of the current-date highlight.",
56
+ "name": "--timeline-col-current",
57
+ "default": "#ffe082"
58
+ }
59
+ ],
60
+ "members": [
61
+ {
62
+ "kind": "field",
63
+ "name": "STYLE_ROW",
64
+ "type": {
65
+ "text": "string"
66
+ },
67
+ "privacy": "private",
68
+ "static": true,
69
+ "readonly": true,
70
+ "default": "\"row\""
71
+ },
72
+ {
73
+ "kind": "field",
74
+ "name": "STYLE_COL",
75
+ "type": {
76
+ "text": "string"
77
+ },
78
+ "privacy": "private",
79
+ "static": true,
80
+ "readonly": true,
81
+ "default": "\"col\""
82
+ },
83
+ {
84
+ "kind": "field",
85
+ "name": "STYLE_MONTH",
86
+ "type": {
87
+ "text": "string"
88
+ },
89
+ "privacy": "private",
90
+ "static": true,
91
+ "readonly": true,
92
+ "default": "\"month\""
93
+ },
94
+ {
95
+ "kind": "field",
96
+ "name": "STYLE_YEAR",
97
+ "type": {
98
+ "text": "string"
99
+ },
100
+ "privacy": "private",
101
+ "static": true,
102
+ "readonly": true,
103
+ "default": "\"year\""
104
+ },
105
+ {
106
+ "kind": "field",
107
+ "name": "STYLE_DAY",
108
+ "type": {
109
+ "text": "string"
110
+ },
111
+ "privacy": "private",
112
+ "static": true,
113
+ "readonly": true,
114
+ "default": "\"day\""
115
+ },
116
+ {
117
+ "kind": "field",
118
+ "name": "STYLE_WEEK",
119
+ "type": {
120
+ "text": "string"
121
+ },
122
+ "privacy": "private",
123
+ "static": true,
124
+ "readonly": true,
125
+ "default": "\"w\""
126
+ },
127
+ {
128
+ "kind": "field",
129
+ "name": "STYLE_MONTH_RES",
130
+ "type": {
131
+ "text": "string"
132
+ },
133
+ "privacy": "private",
134
+ "static": true,
135
+ "readonly": true,
136
+ "default": "\"m\""
137
+ },
138
+ {
139
+ "kind": "field",
140
+ "name": "STYLE_YEAR_RES",
141
+ "type": {
142
+ "text": "string"
143
+ },
144
+ "privacy": "private",
145
+ "static": true,
146
+ "readonly": true,
147
+ "default": "\"y\""
148
+ },
149
+ {
150
+ "kind": "field",
151
+ "name": "STYLE_RESOLUTION",
152
+ "type": {
153
+ "text": "string"
154
+ },
155
+ "privacy": "private",
156
+ "static": true,
157
+ "readonly": true,
158
+ "default": "\"resolution\""
159
+ },
160
+ {
161
+ "kind": "field",
162
+ "name": "STYLE_EVEN",
163
+ "type": {
164
+ "text": "string"
165
+ },
166
+ "privacy": "private",
167
+ "static": true,
168
+ "readonly": true,
169
+ "default": "\"even\""
170
+ },
171
+ {
172
+ "kind": "field",
173
+ "name": "STYLE_WEEKEND",
174
+ "type": {
175
+ "text": "string"
176
+ },
177
+ "privacy": "private",
178
+ "static": true,
179
+ "readonly": true,
180
+ "default": "\"weekend\""
181
+ },
182
+ {
183
+ "kind": "field",
184
+ "name": "STYLE_SPACER",
185
+ "type": {
186
+ "text": "string"
187
+ },
188
+ "privacy": "private",
189
+ "static": true,
190
+ "readonly": true,
191
+ "default": "\"spacer\""
192
+ },
193
+ {
194
+ "kind": "field",
195
+ "name": "STYLE_FIRST",
196
+ "type": {
197
+ "text": "string"
198
+ },
199
+ "privacy": "private",
200
+ "static": true,
201
+ "readonly": true,
202
+ "default": "\"f-col\""
203
+ },
204
+ {
205
+ "kind": "field",
206
+ "name": "STYLE_CENTER",
207
+ "type": {
208
+ "text": "string"
209
+ },
210
+ "privacy": "private",
211
+ "static": true,
212
+ "readonly": true,
213
+ "default": "\"c-col\""
214
+ },
215
+ {
216
+ "kind": "field",
217
+ "name": "STYLE_LAST",
218
+ "type": {
219
+ "text": "string"
220
+ },
221
+ "privacy": "private",
222
+ "static": true,
223
+ "readonly": true,
224
+ "default": "\"l-col\""
225
+ },
226
+ {
227
+ "kind": "field",
228
+ "name": "STYLE_MEASURE",
229
+ "type": {
230
+ "text": "string"
231
+ },
232
+ "privacy": "private",
233
+ "static": true,
234
+ "readonly": true,
235
+ "default": "\"measure\""
236
+ },
237
+ {
238
+ "kind": "field",
239
+ "name": "STYLE_CURRENT",
240
+ "type": {
241
+ "text": "string"
242
+ },
243
+ "privacy": "private",
244
+ "static": true,
245
+ "readonly": true,
246
+ "default": "\"current\""
247
+ },
248
+ {
249
+ "kind": "field",
250
+ "name": "CURRENT_DAY_FORMAT",
251
+ "type": {
252
+ "text": "string"
253
+ },
254
+ "privacy": "private",
255
+ "static": true,
256
+ "readonly": true,
257
+ "default": "\"yyyy-MM-dd\""
258
+ },
259
+ {
260
+ "kind": "field",
261
+ "name": "CURRENT_HOUR_FORMAT",
262
+ "type": {
263
+ "text": "string"
264
+ },
265
+ "privacy": "private",
266
+ "static": true,
267
+ "readonly": true,
268
+ "default": "\"yyyy-MM-dd HH xxx\""
269
+ },
270
+ {
271
+ "kind": "field",
272
+ "name": "resolutionWeekDayblockWidth",
273
+ "type": {
274
+ "text": "number"
275
+ },
276
+ "privacy": "private",
277
+ "readonly": true,
278
+ "default": "4"
279
+ },
280
+ {
281
+ "kind": "field",
282
+ "name": "resolutionMonthDayblockWidth",
283
+ "type": {
284
+ "text": "number"
285
+ },
286
+ "privacy": "private",
287
+ "readonly": true,
288
+ "default": "4"
289
+ },
290
+ {
291
+ "kind": "field",
292
+ "name": "resolutionYearDayblockWidth",
293
+ "type": {
294
+ "text": "number"
295
+ },
296
+ "privacy": "private",
297
+ "readonly": true,
298
+ "default": "1"
299
+ },
300
+ {
301
+ "kind": "field",
302
+ "name": "AVERAGE_DAYS_IN_MONTH",
303
+ "type": {
304
+ "text": "number"
305
+ },
306
+ "privacy": "private",
307
+ "static": true,
308
+ "readonly": true,
309
+ "default": "30"
310
+ },
311
+ {
312
+ "kind": "field",
313
+ "name": "AVERAGE_DAYS_IN_YEAR",
314
+ "type": {
315
+ "text": "number"
316
+ },
317
+ "privacy": "private",
318
+ "static": true,
319
+ "readonly": true,
320
+ "default": "365"
321
+ },
322
+ {
323
+ "kind": "field",
324
+ "name": "resolution",
325
+ "type": {
326
+ "text": "Resolution"
327
+ },
328
+ "privacy": "public",
329
+ "attribute": "resolution",
330
+ "reflects": true
331
+ },
332
+ {
333
+ "kind": "field",
334
+ "name": "startDateTime",
335
+ "type": {
336
+ "text": "string"
337
+ },
338
+ "privacy": "public",
339
+ "attribute": "startDateTime",
340
+ "reflects": true
341
+ },
342
+ {
343
+ "kind": "field",
344
+ "name": "endDateTime",
345
+ "type": {
346
+ "text": "string"
347
+ },
348
+ "privacy": "public",
349
+ "attribute": "endDateTime",
350
+ "reflects": true
351
+ },
352
+ {
353
+ "kind": "field",
354
+ "name": "internalInclusiveStartDateTime",
355
+ "type": {
356
+ "text": "Date"
357
+ },
358
+ "privacy": "public",
359
+ "description": "Start Date of the timeline. Native Date object can be in \"wrong\" time zone, as it matches browser's time zone."
360
+ },
361
+ {
362
+ "kind": "field",
363
+ "name": "internalInclusiveEndDateTime",
364
+ "type": {
365
+ "text": "Date"
366
+ },
367
+ "privacy": "public",
368
+ "description": "End Date of the timeline."
369
+ },
370
+ {
371
+ "kind": "field",
372
+ "name": "timeZone",
373
+ "type": {
374
+ "text": "string"
375
+ },
376
+ "privacy": "public",
377
+ "default": "\"Europe/London\"",
378
+ "description": "Timezone for date and time formatting. Doesn't match with actual start and end Date object's time zone.",
379
+ "attribute": "timeZone",
380
+ "reflects": true
381
+ },
382
+ {
383
+ "kind": "field",
384
+ "name": "locale",
385
+ "type": {
386
+ "text": "string"
387
+ },
388
+ "privacy": "public",
389
+ "default": "\"en-US\"",
390
+ "attribute": "locale",
391
+ "reflects": true
392
+ },
393
+ {
394
+ "kind": "field",
395
+ "name": "firstDayOfWeek",
396
+ "type": {
397
+ "text": "number"
398
+ },
399
+ "default": "1",
400
+ "attribute": "firstDayOfWeek",
401
+ "reflects": true
402
+ },
403
+ {
404
+ "kind": "field",
405
+ "name": "twelveHourClock",
406
+ "type": {
407
+ "text": "boolean"
408
+ },
409
+ "default": "false",
410
+ "attribute": "twelveHourClock",
411
+ "reflects": true
412
+ },
413
+ {
414
+ "kind": "field",
415
+ "name": "minWidth",
416
+ "type": {
417
+ "text": "number"
418
+ },
419
+ "attribute": "minWidth"
420
+ },
421
+ {
422
+ "kind": "field",
423
+ "name": "normalStartDate",
424
+ "type": {
425
+ "text": "Date"
426
+ },
427
+ "attribute": "normalStartDate"
428
+ },
429
+ {
430
+ "kind": "field",
431
+ "name": "normalEndDate",
432
+ "type": {
433
+ "text": "Date"
434
+ },
435
+ "attribute": "normalEndDate"
436
+ },
437
+ {
438
+ "kind": "field",
439
+ "name": "lastDayOfWeek",
440
+ "type": {
441
+ "text": "number"
442
+ },
443
+ "attribute": "lastDayOfWeek"
444
+ },
445
+ {
446
+ "kind": "field",
447
+ "name": "firstDayOfRange",
448
+ "type": {
449
+ "text": "number"
450
+ },
451
+ "attribute": "firstDayOfRange"
452
+ },
453
+ {
454
+ "kind": "field",
455
+ "name": "firstHourOfRange",
456
+ "type": {
457
+ "text": "number"
458
+ },
459
+ "attribute": "firstHourOfRange"
460
+ },
461
+ {
462
+ "kind": "field",
463
+ "name": "scrollContainerId",
464
+ "type": {
465
+ "text": "string"
466
+ },
467
+ "attribute": "scrollContainerId",
468
+ "reflects": true
469
+ },
470
+ {
471
+ "kind": "field",
472
+ "name": "monthRowVisible",
473
+ "type": {
474
+ "text": "boolean"
475
+ },
476
+ "default": "true",
477
+ "attribute": "monthRowVisible"
478
+ },
479
+ {
480
+ "kind": "field",
481
+ "name": "yearRowVisible",
482
+ "type": {
483
+ "text": "boolean"
484
+ },
485
+ "default": "true",
486
+ "attribute": "yearRowVisible"
487
+ },
488
+ {
489
+ "kind": "field",
490
+ "name": "monthNames",
491
+ "type": {
492
+ "text": "string[]"
493
+ },
494
+ "attribute": "monthNames"
495
+ },
496
+ {
497
+ "kind": "field",
498
+ "name": "weekdayNames",
499
+ "type": {
500
+ "text": "string[]"
501
+ },
502
+ "attribute": "weekdayNames"
503
+ },
504
+ {
505
+ "kind": "field",
506
+ "name": "currentDateVisible",
507
+ "type": {
508
+ "text": "boolean"
509
+ },
510
+ "default": "false",
511
+ "attribute": "currentDateVisible",
512
+ "reflects": true
513
+ },
514
+ {
515
+ "kind": "field",
516
+ "name": "localeDataProvider",
517
+ "type": {
518
+ "text": "ILocaleDataProvider"
519
+ },
520
+ "privacy": "private"
521
+ },
522
+ {
523
+ "kind": "field",
524
+ "name": "currentDayString",
525
+ "type": {
526
+ "text": "string"
527
+ },
528
+ "privacy": "private",
529
+ "default": "null"
530
+ },
531
+ {
532
+ "kind": "field",
533
+ "name": "currentHourString",
534
+ "type": {
535
+ "text": "string"
536
+ },
537
+ "privacy": "private",
538
+ "default": "null"
539
+ },
540
+ {
541
+ "kind": "field",
542
+ "name": "blocksInRange",
543
+ "type": {
544
+ "text": "number"
545
+ },
546
+ "privacy": "private",
547
+ "default": "0"
548
+ },
549
+ {
550
+ "kind": "field",
551
+ "name": "resolutionBlockCount",
552
+ "type": {
553
+ "text": "number"
554
+ },
555
+ "privacy": "private",
556
+ "default": "0"
557
+ },
558
+ {
559
+ "kind": "field",
560
+ "name": "firstResBlockCount",
561
+ "type": {
562
+ "text": "number"
563
+ },
564
+ "privacy": "private",
565
+ "default": "0"
566
+ },
567
+ {
568
+ "kind": "field",
569
+ "name": "lastResBlockCount",
570
+ "type": {
571
+ "text": "number"
572
+ },
573
+ "privacy": "private",
574
+ "default": "0"
575
+ },
576
+ {
577
+ "kind": "field",
578
+ "name": "resBlockDayCounts",
579
+ "type": {
580
+ "text": "number[]"
581
+ },
582
+ "privacy": "private",
583
+ "default": "[]"
584
+ },
585
+ {
586
+ "kind": "field",
587
+ "name": "resBlockStartDates",
588
+ "type": {
589
+ "text": "Date[]"
590
+ },
591
+ "privacy": "private",
592
+ "default": "[]"
593
+ },
594
+ {
595
+ "kind": "field",
596
+ "name": "resBlockKeys",
597
+ "type": {
598
+ "text": "string[]"
599
+ },
600
+ "privacy": "private",
601
+ "default": "[]"
602
+ },
603
+ {
604
+ "kind": "field",
605
+ "name": "firstDay",
606
+ "type": {
607
+ "text": "boolean"
608
+ },
609
+ "privacy": "private"
610
+ },
611
+ {
612
+ "kind": "field",
613
+ "name": "timelineOverflowingHorizontally",
614
+ "type": {
615
+ "text": "boolean"
616
+ },
617
+ "privacy": "private"
618
+ },
619
+ {
620
+ "kind": "field",
621
+ "name": "monthFormat",
622
+ "type": {
623
+ "text": "string"
624
+ },
625
+ "privacy": "private"
626
+ },
627
+ {
628
+ "kind": "field",
629
+ "name": "yearFormat",
630
+ "type": {
631
+ "text": "string"
632
+ },
633
+ "privacy": "private"
634
+ },
635
+ {
636
+ "kind": "field",
637
+ "name": "weekFormat",
638
+ "type": {
639
+ "text": "string"
640
+ },
641
+ "privacy": "private"
642
+ },
643
+ {
644
+ "kind": "field",
645
+ "name": "dayFormat",
646
+ "type": {
647
+ "text": "string"
648
+ },
649
+ "privacy": "private"
650
+ },
651
+ {
652
+ "kind": "field",
653
+ "name": "resolutionDiv",
654
+ "type": {
655
+ "text": "HTMLDivElement"
656
+ },
657
+ "privacy": "public"
658
+ },
659
+ {
660
+ "kind": "field",
661
+ "name": "resSpacerDiv",
662
+ "type": {
663
+ "text": "HTMLDivElement"
664
+ },
665
+ "privacy": "private"
666
+ },
667
+ {
668
+ "kind": "field",
669
+ "name": "spacerBlocks",
670
+ "type": {
671
+ "text": "HTMLDivElement[]"
672
+ },
673
+ "privacy": "private",
674
+ "default": "[]"
675
+ },
676
+ {
677
+ "kind": "field",
678
+ "name": "yearRowData",
679
+ "type": {
680
+ "text": "BlockRowData"
681
+ },
682
+ "privacy": "private",
683
+ "default": "new BlockRowData()"
684
+ },
685
+ {
686
+ "kind": "field",
687
+ "name": "monthRowData",
688
+ "type": {
689
+ "text": "BlockRowData"
690
+ },
691
+ "privacy": "private",
692
+ "default": "new BlockRowData()"
693
+ },
694
+ {
695
+ "kind": "field",
696
+ "name": "dayRowData",
697
+ "type": {
698
+ "text": "BlockRowData"
699
+ },
700
+ "privacy": "private",
701
+ "default": "new BlockRowData()"
702
+ },
703
+ {
704
+ "kind": "field",
705
+ "name": "dayWidthPercentage",
706
+ "type": {
707
+ "text": "number"
708
+ },
709
+ "privacy": "private",
710
+ "default": "0"
711
+ },
712
+ {
713
+ "kind": "field",
714
+ "name": "dayOrHourWidthPx",
715
+ "type": {
716
+ "text": "number"
717
+ },
718
+ "privacy": "private",
719
+ "default": "0"
720
+ },
721
+ {
722
+ "kind": "field",
723
+ "name": "resBlockMinWidthPx",
724
+ "type": {
725
+ "text": "number"
726
+ },
727
+ "privacy": "private",
728
+ "default": "0"
729
+ },
730
+ {
731
+ "kind": "field",
732
+ "name": "resBlockWidthPx",
733
+ "type": {
734
+ "text": "number"
735
+ },
736
+ "privacy": "private",
737
+ "default": "0"
738
+ },
739
+ {
740
+ "kind": "field",
741
+ "name": "resBlockWidthPercentage",
742
+ "type": {
743
+ "text": "number"
744
+ },
745
+ "privacy": "private",
746
+ "default": "0"
747
+ },
748
+ {
749
+ "kind": "field",
750
+ "name": "minResolutionWidth",
751
+ "type": {
752
+ "text": "number"
753
+ },
754
+ "privacy": "private",
755
+ "default": "-1"
756
+ },
757
+ {
758
+ "kind": "field",
759
+ "name": "calcPixels",
760
+ "type": {
761
+ "text": "boolean"
762
+ },
763
+ "privacy": "private",
764
+ "default": "false"
765
+ },
766
+ {
767
+ "kind": "field",
768
+ "name": "positionLeft",
769
+ "type": {
770
+ "text": "number"
771
+ },
772
+ "privacy": "private",
773
+ "default": "0"
774
+ },
775
+ {
776
+ "kind": "field",
777
+ "name": "setPositionForEachBlock",
778
+ "type": {
779
+ "text": "boolean"
780
+ },
781
+ "privacy": "private",
782
+ "default": "false"
783
+ },
784
+ {
785
+ "kind": "field",
786
+ "name": "firstWeekBlockHidden",
787
+ "type": {
788
+ "text": "boolean"
789
+ },
790
+ "privacy": "private",
791
+ "default": "false"
792
+ },
793
+ {
794
+ "kind": "field",
795
+ "name": "ie",
796
+ "type": {
797
+ "text": "boolean"
798
+ },
799
+ "privacy": "private",
800
+ "default": "false"
801
+ },
802
+ {
803
+ "kind": "field",
804
+ "name": "lazyResolutionPaint",
805
+ "type": {
806
+ "text": "any"
807
+ },
808
+ "privacy": "private"
809
+ },
810
+ {
811
+ "kind": "field",
812
+ "name": "directlyInsideScrollContainer",
813
+ "type": {
814
+ "text": "boolean"
815
+ },
816
+ "privacy": "private",
817
+ "default": "true"
818
+ },
819
+ {
820
+ "kind": "field",
821
+ "name": "scrollHandler",
822
+ "type": {
823
+ "text": "any"
824
+ },
825
+ "privacy": "private"
826
+ },
827
+ {
828
+ "kind": "field",
829
+ "name": "scrollContainer",
830
+ "type": {
831
+ "text": "HTMLElement | Window"
832
+ },
833
+ "privacy": "private"
834
+ },
835
+ {
836
+ "kind": "field",
837
+ "name": "previousContainerScrollLeft",
838
+ "type": {
839
+ "text": "number"
840
+ },
841
+ "privacy": "private",
842
+ "default": "0"
843
+ },
844
+ {
845
+ "kind": "field",
846
+ "name": "previousContainerScrollTop",
847
+ "type": {
848
+ "text": "number"
849
+ },
850
+ "privacy": "private",
851
+ "default": "0"
852
+ },
853
+ {
854
+ "kind": "method",
855
+ "name": "yearBlocks"
856
+ },
857
+ {
858
+ "kind": "method",
859
+ "name": "monthBlocks"
860
+ },
861
+ {
862
+ "kind": "method",
863
+ "name": "dayBlocks"
864
+ },
865
+ {
866
+ "kind": "method",
867
+ "name": "updateTimeLine",
868
+ "parameters": [
869
+ {
870
+ "name": "resolution",
871
+ "type": {
872
+ "text": "Resolution"
873
+ },
874
+ "description": " Resolution enum (not null)"
875
+ },
876
+ {
877
+ "name": "startDate",
878
+ "type": {
879
+ "text": "Date"
880
+ },
881
+ "description": " Time-line's start date. (inclusive; not null)"
882
+ },
883
+ {
884
+ "name": "endDate",
885
+ "type": {
886
+ "text": "Date"
887
+ },
888
+ "description": " Time-line's end date. (inclusive; not null)"
889
+ },
890
+ {
891
+ "name": "localeDataProvider",
892
+ "type": {
893
+ "text": "ILocaleDataProvider"
894
+ },
895
+ "description": " Data provider for locale specific data. month names, first day\r\n of week etc."
896
+ }
897
+ ],
898
+ "description": "<p>\r\nUpdates the content of this component. Builds the time-line and calculates\r\nwidth and heights for the content (calls in the end\r\n#updateWidths()). This should be called explicitly. Otherwise the\r\ncomponent will be empty.\r\n<p>\r\nDate values should always follow specification in Date#getTime().\r\nStart and end date is always required."
899
+ },
900
+ {
901
+ "kind": "method",
902
+ "name": "resetDateRange",
903
+ "parameters": [
904
+ {
905
+ "name": "startDate",
906
+ "type": {
907
+ "text": "Date"
908
+ }
909
+ },
910
+ {
911
+ "name": "endDate",
912
+ "type": {
913
+ "text": "Date"
914
+ }
915
+ }
916
+ ]
917
+ },
918
+ {
919
+ "kind": "method",
920
+ "name": "registerScrollHandler"
921
+ },
922
+ {
923
+ "kind": "method",
924
+ "name": "setupScrollContainer",
925
+ "return": {
926
+ "type": {
927
+ "text": "HTMLElement | Window"
928
+ }
929
+ }
930
+ },
931
+ {
932
+ "kind": "method",
933
+ "name": "clear"
934
+ },
935
+ {
936
+ "kind": "method",
937
+ "name": "calculateResolutionMinWidth",
938
+ "return": {
939
+ "type": {
940
+ "text": "number"
941
+ }
942
+ }
943
+ },
944
+ {
945
+ "kind": "method",
946
+ "name": "registerHourResolutionBlock"
947
+ },
948
+ {
949
+ "kind": "method",
950
+ "name": "registerDayResolutionBlock"
951
+ },
952
+ {
953
+ "kind": "method",
954
+ "name": "registerWeekResolutionBlock",
955
+ "parameters": [
956
+ {
957
+ "name": "index",
958
+ "type": {
959
+ "text": "number"
960
+ }
961
+ },
962
+ {
963
+ "name": "weekDay",
964
+ "type": {
965
+ "text": "Weekday"
966
+ }
967
+ },
968
+ {
969
+ "name": "lastBlock",
970
+ "type": {
971
+ "text": "boolean"
972
+ }
973
+ },
974
+ {
975
+ "name": "firstWeek",
976
+ "type": {
977
+ "text": "boolean"
978
+ }
979
+ }
980
+ ]
981
+ },
982
+ {
983
+ "kind": "method",
984
+ "name": "registerMonthOrYearResolutionBlock",
985
+ "parameters": [
986
+ {
987
+ "name": "index",
988
+ "type": {
989
+ "text": "number"
990
+ }
991
+ },
992
+ {
993
+ "name": "date",
994
+ "type": {
995
+ "text": "Date"
996
+ }
997
+ }
998
+ ]
999
+ },
1000
+ {
1001
+ "kind": "method",
1002
+ "name": "getMonthOrYearResolutionBlockKey",
1003
+ "return": {
1004
+ "type": {
1005
+ "text": "string"
1006
+ }
1007
+ },
1008
+ "parameters": [
1009
+ {
1010
+ "name": "date",
1011
+ "type": {
1012
+ "text": "Date"
1013
+ }
1014
+ }
1015
+ ]
1016
+ },
1017
+ {
1018
+ "kind": "method",
1019
+ "name": "isMonthOrYearResolution",
1020
+ "return": {
1021
+ "type": {
1022
+ "text": "boolean"
1023
+ }
1024
+ }
1025
+ },
1026
+ {
1027
+ "kind": "method",
1028
+ "name": "isYearRowVisible",
1029
+ "return": {
1030
+ "type": {
1031
+ "text": "boolean"
1032
+ }
1033
+ }
1034
+ },
1035
+ {
1036
+ "kind": "method",
1037
+ "name": "isMonthRowVisible",
1038
+ "return": {
1039
+ "type": {
1040
+ "text": "boolean"
1041
+ }
1042
+ }
1043
+ },
1044
+ {
1045
+ "kind": "method",
1046
+ "name": "timelineBlocks",
1047
+ "parameters": [
1048
+ {
1049
+ "name": "rowData",
1050
+ "type": {
1051
+ "text": "BlockRowData"
1052
+ }
1053
+ },
1054
+ {
1055
+ "name": "style",
1056
+ "type": {
1057
+ "text": "string"
1058
+ }
1059
+ }
1060
+ ]
1061
+ },
1062
+ {
1063
+ "kind": "method",
1064
+ "name": "isAlwaysCalculatePixelWidths",
1065
+ "return": {
1066
+ "type": {
1067
+ "text": ""
1068
+ }
1069
+ },
1070
+ "description": "Returns true if Widget is set to calculate widths by itself. Default is\r\nfalse."
1071
+ },
1072
+ {
1073
+ "kind": "method",
1074
+ "name": "createSpacerBlock",
1075
+ "return": {
1076
+ "type": {
1077
+ "text": "HTMLDivElement"
1078
+ }
1079
+ },
1080
+ "parameters": [
1081
+ {
1082
+ "name": "className",
1083
+ "type": {
1084
+ "text": "string"
1085
+ }
1086
+ }
1087
+ ]
1088
+ },
1089
+ {
1090
+ "kind": "method",
1091
+ "name": "toNormalDate",
1092
+ "return": {
1093
+ "type": {
1094
+ "text": "Date"
1095
+ }
1096
+ },
1097
+ "parameters": [
1098
+ {
1099
+ "name": "zonedDate",
1100
+ "type": {
1101
+ "text": "Date"
1102
+ }
1103
+ }
1104
+ ],
1105
+ "description": "Clears Daylight saving time adjustment from the given time."
1106
+ },
1107
+ {
1108
+ "kind": "method",
1109
+ "name": "getParentElement",
1110
+ "return": {
1111
+ "type": {
1112
+ "text": "any"
1113
+ }
1114
+ },
1115
+ "parameters": [
1116
+ {
1117
+ "name": "node",
1118
+ "type": {
1119
+ "text": "any"
1120
+ }
1121
+ }
1122
+ ]
1123
+ },
1124
+ {
1125
+ "kind": "method",
1126
+ "name": "getDay",
1127
+ "return": {
1128
+ "type": {
1129
+ "text": "string"
1130
+ }
1131
+ },
1132
+ "parameters": [
1133
+ {
1134
+ "name": "date",
1135
+ "type": {
1136
+ "text": "Date"
1137
+ }
1138
+ }
1139
+ ]
1140
+ },
1141
+ {
1142
+ "kind": "method",
1143
+ "name": "getYear",
1144
+ "return": {
1145
+ "type": {
1146
+ "text": "string"
1147
+ }
1148
+ },
1149
+ "parameters": [
1150
+ {
1151
+ "name": "date",
1152
+ "type": {
1153
+ "text": "Date"
1154
+ }
1155
+ }
1156
+ ]
1157
+ },
1158
+ {
1159
+ "kind": "method",
1160
+ "name": "getMonth",
1161
+ "return": {
1162
+ "type": {
1163
+ "text": "number"
1164
+ }
1165
+ },
1166
+ "parameters": [
1167
+ {
1168
+ "name": "date",
1169
+ "type": {
1170
+ "text": "Date"
1171
+ }
1172
+ }
1173
+ ]
1174
+ },
1175
+ {
1176
+ "kind": "method",
1177
+ "name": "isWeekEnd",
1178
+ "return": {
1179
+ "type": {
1180
+ "text": "boolean"
1181
+ }
1182
+ },
1183
+ "parameters": [
1184
+ {
1185
+ "name": "dayCounter",
1186
+ "type": {
1187
+ "text": "number"
1188
+ }
1189
+ }
1190
+ ]
1191
+ },
1192
+ {
1193
+ "kind": "method",
1194
+ "name": "key",
1195
+ "return": {
1196
+ "type": {
1197
+ "text": "string"
1198
+ }
1199
+ },
1200
+ "parameters": [
1201
+ {
1202
+ "name": "prefix",
1203
+ "type": {
1204
+ "text": "string"
1205
+ }
1206
+ },
1207
+ {
1208
+ "name": "rowData",
1209
+ "type": {
1210
+ "text": "BlockRowData"
1211
+ }
1212
+ }
1213
+ ]
1214
+ },
1215
+ {
1216
+ "kind": "method",
1217
+ "name": "newKey",
1218
+ "return": {
1219
+ "type": {
1220
+ "text": "string"
1221
+ }
1222
+ },
1223
+ "parameters": [
1224
+ {
1225
+ "name": "prefix",
1226
+ "type": {
1227
+ "text": "string"
1228
+ }
1229
+ },
1230
+ {
1231
+ "name": "rowData",
1232
+ "type": {
1233
+ "text": "BlockRowData"
1234
+ }
1235
+ }
1236
+ ]
1237
+ },
1238
+ {
1239
+ "kind": "method",
1240
+ "name": "addBlock",
1241
+ "return": {
1242
+ "type": {
1243
+ "text": "string"
1244
+ }
1245
+ },
1246
+ "parameters": [
1247
+ {
1248
+ "name": "current",
1249
+ "type": {
1250
+ "text": "string"
1251
+ }
1252
+ },
1253
+ {
1254
+ "name": "target",
1255
+ "type": {
1256
+ "text": "string"
1257
+ }
1258
+ },
1259
+ {
1260
+ "name": "date",
1261
+ "type": {
1262
+ "text": "Date"
1263
+ }
1264
+ },
1265
+ {
1266
+ "name": "rowData",
1267
+ "type": {
1268
+ "text": "BlockRowData"
1269
+ }
1270
+ },
1271
+ {
1272
+ "name": "operation",
1273
+ "type": {
1274
+ "text": "(target: string, value: string, date: Date) => void"
1275
+ }
1276
+ }
1277
+ ]
1278
+ },
1279
+ {
1280
+ "kind": "method",
1281
+ "name": "addDayBlock",
1282
+ "return": {
1283
+ "type": {
1284
+ "text": "string"
1285
+ }
1286
+ },
1287
+ "parameters": [
1288
+ {
1289
+ "name": "currentDay",
1290
+ "type": {
1291
+ "text": "string"
1292
+ }
1293
+ },
1294
+ {
1295
+ "name": "date",
1296
+ "type": {
1297
+ "text": "Date"
1298
+ }
1299
+ }
1300
+ ]
1301
+ },
1302
+ {
1303
+ "kind": "method",
1304
+ "name": "addMonthBlock",
1305
+ "return": {
1306
+ "type": {
1307
+ "text": "string"
1308
+ }
1309
+ },
1310
+ "parameters": [
1311
+ {
1312
+ "name": "currentMonth",
1313
+ "type": {
1314
+ "text": "string"
1315
+ }
1316
+ },
1317
+ {
1318
+ "name": "date",
1319
+ "type": {
1320
+ "text": "Date"
1321
+ }
1322
+ }
1323
+ ]
1324
+ },
1325
+ {
1326
+ "kind": "method",
1327
+ "name": "addYearBlock",
1328
+ "return": {
1329
+ "type": {
1330
+ "text": "string"
1331
+ }
1332
+ },
1333
+ "parameters": [
1334
+ {
1335
+ "name": "currentYear",
1336
+ "type": {
1337
+ "text": "string"
1338
+ }
1339
+ },
1340
+ {
1341
+ "name": "date",
1342
+ "type": {
1343
+ "text": "Date"
1344
+ }
1345
+ }
1346
+ ]
1347
+ },
1348
+ {
1349
+ "kind": "method",
1350
+ "name": "addMonthBlockElement",
1351
+ "parameters": [
1352
+ {
1353
+ "name": "key",
1354
+ "type": {
1355
+ "text": "string"
1356
+ }
1357
+ },
1358
+ {
1359
+ "name": "text",
1360
+ "type": {
1361
+ "text": "string"
1362
+ }
1363
+ }
1364
+ ]
1365
+ },
1366
+ {
1367
+ "kind": "method",
1368
+ "name": "addYearBlockElement",
1369
+ "parameters": [
1370
+ {
1371
+ "name": "key",
1372
+ "type": {
1373
+ "text": "string"
1374
+ }
1375
+ },
1376
+ {
1377
+ "name": "text",
1378
+ "type": {
1379
+ "text": "string"
1380
+ }
1381
+ }
1382
+ ]
1383
+ },
1384
+ {
1385
+ "kind": "method",
1386
+ "name": "addDayBlockElement",
1387
+ "return": {
1388
+ "type": {
1389
+ "text": "HTMLDivElement"
1390
+ }
1391
+ },
1392
+ "parameters": [
1393
+ {
1394
+ "name": "key",
1395
+ "type": {
1396
+ "text": "string"
1397
+ }
1398
+ },
1399
+ {
1400
+ "name": "text",
1401
+ "type": {
1402
+ "text": "string"
1403
+ }
1404
+ }
1405
+ ]
1406
+ },
1407
+ {
1408
+ "kind": "method",
1409
+ "name": "createTimelineBlock",
1410
+ "return": {
1411
+ "type": {
1412
+ "text": "HTMLDivElement"
1413
+ }
1414
+ },
1415
+ "parameters": [
1416
+ {
1417
+ "name": "key",
1418
+ "type": {
1419
+ "text": "string"
1420
+ }
1421
+ },
1422
+ {
1423
+ "name": "text",
1424
+ "type": {
1425
+ "text": "string"
1426
+ }
1427
+ },
1428
+ {
1429
+ "name": "styleSuffix",
1430
+ "type": {
1431
+ "text": "string"
1432
+ }
1433
+ },
1434
+ {
1435
+ "name": "rowData",
1436
+ "type": {
1437
+ "text": "BlockRowData"
1438
+ }
1439
+ }
1440
+ ]
1441
+ },
1442
+ {
1443
+ "kind": "method",
1444
+ "name": "formatDayCaption",
1445
+ "return": {
1446
+ "type": {
1447
+ "text": "string"
1448
+ }
1449
+ },
1450
+ "parameters": [
1451
+ {
1452
+ "name": "day",
1453
+ "type": {
1454
+ "text": "string"
1455
+ }
1456
+ },
1457
+ {
1458
+ "name": "date",
1459
+ "type": {
1460
+ "text": "Date"
1461
+ }
1462
+ }
1463
+ ]
1464
+ },
1465
+ {
1466
+ "kind": "method",
1467
+ "name": "formatYearCaption",
1468
+ "return": {
1469
+ "type": {
1470
+ "text": "string"
1471
+ }
1472
+ },
1473
+ "parameters": [
1474
+ {
1475
+ "name": "year",
1476
+ "type": {
1477
+ "text": "string"
1478
+ }
1479
+ },
1480
+ {
1481
+ "name": "date",
1482
+ "type": {
1483
+ "text": "Date"
1484
+ }
1485
+ }
1486
+ ]
1487
+ },
1488
+ {
1489
+ "kind": "method",
1490
+ "name": "formatWeekCaption",
1491
+ "return": {
1492
+ "type": {
1493
+ "text": "string"
1494
+ }
1495
+ },
1496
+ "parameters": [
1497
+ {
1498
+ "name": "date",
1499
+ "type": {
1500
+ "text": "Date"
1501
+ }
1502
+ }
1503
+ ]
1504
+ },
1505
+ {
1506
+ "kind": "method",
1507
+ "name": "formatMonthCaption",
1508
+ "return": {
1509
+ "type": {
1510
+ "text": "string"
1511
+ }
1512
+ },
1513
+ "parameters": [
1514
+ {
1515
+ "name": "month",
1516
+ "type": {
1517
+ "text": "number"
1518
+ }
1519
+ },
1520
+ {
1521
+ "name": "date",
1522
+ "type": {
1523
+ "text": "Date"
1524
+ }
1525
+ }
1526
+ ]
1527
+ },
1528
+ {
1529
+ "kind": "method",
1530
+ "name": "getWeekday",
1531
+ "return": {
1532
+ "type": {
1533
+ "text": "Weekday"
1534
+ }
1535
+ },
1536
+ "parameters": [
1537
+ {
1538
+ "name": "dayCounter",
1539
+ "type": {
1540
+ "text": "number"
1541
+ }
1542
+ }
1543
+ ]
1544
+ },
1545
+ {
1546
+ "kind": "method",
1547
+ "name": "prepareTimelineForHourResolution",
1548
+ "parameters": [
1549
+ {
1550
+ "name": "startDate",
1551
+ "type": {
1552
+ "text": "Date"
1553
+ }
1554
+ },
1555
+ {
1556
+ "name": "endDate",
1557
+ "type": {
1558
+ "text": "Date"
1559
+ }
1560
+ }
1561
+ ]
1562
+ },
1563
+ {
1564
+ "kind": "method",
1565
+ "name": "prepareTimelineForHour",
1566
+ "parameters": [
1567
+ {
1568
+ "name": "interval",
1569
+ "type": {
1570
+ "text": "number"
1571
+ }
1572
+ },
1573
+ {
1574
+ "name": "startDate",
1575
+ "type": {
1576
+ "text": "Date"
1577
+ }
1578
+ },
1579
+ {
1580
+ "name": "endDate",
1581
+ "type": {
1582
+ "text": "Date"
1583
+ }
1584
+ },
1585
+ {
1586
+ "name": "resBlockRegisterer",
1587
+ "type": {
1588
+ "text": "IResolutionBlockRegisterer"
1589
+ }
1590
+ }
1591
+ ]
1592
+ },
1593
+ {
1594
+ "kind": "method",
1595
+ "name": "prepareTimelineForDayOrWeekResolution",
1596
+ "parameters": [
1597
+ {
1598
+ "name": "startDate",
1599
+ "type": {
1600
+ "text": "Date"
1601
+ }
1602
+ },
1603
+ {
1604
+ "name": "endDate",
1605
+ "type": {
1606
+ "text": "Date"
1607
+ }
1608
+ }
1609
+ ]
1610
+ },
1611
+ {
1612
+ "kind": "method",
1613
+ "name": "prepareTimelineForDayOrWeek",
1614
+ "parameters": [
1615
+ {
1616
+ "name": "interval",
1617
+ "type": {
1618
+ "text": "number"
1619
+ }
1620
+ },
1621
+ {
1622
+ "name": "startDate",
1623
+ "type": {
1624
+ "text": "Date"
1625
+ }
1626
+ },
1627
+ {
1628
+ "name": "endDate",
1629
+ "type": {
1630
+ "text": "Date"
1631
+ }
1632
+ },
1633
+ {
1634
+ "name": "resBlockRegisterer",
1635
+ "type": {
1636
+ "text": "IResolutionBlockRegisterer"
1637
+ }
1638
+ }
1639
+ ]
1640
+ },
1641
+ {
1642
+ "kind": "method",
1643
+ "name": "isDayRowVisible",
1644
+ "return": {
1645
+ "type": {
1646
+ "text": "boolean"
1647
+ }
1648
+ }
1649
+ },
1650
+ {
1651
+ "kind": "method",
1652
+ "name": "getResolutionWidth",
1653
+ "privacy": "public",
1654
+ "return": {
1655
+ "type": {
1656
+ "text": ""
1657
+ }
1658
+ },
1659
+ "description": "Get actual width of the timeline."
1660
+ },
1661
+ {
1662
+ "kind": "method",
1663
+ "name": "calculateTimelineWidth",
1664
+ "privacy": "public",
1665
+ "return": {
1666
+ "type": {
1667
+ "text": ""
1668
+ }
1669
+ },
1670
+ "description": "Calculate the exact width of the timeline. Excludes any spacers in the\r\nend."
1671
+ },
1672
+ {
1673
+ "kind": "method",
1674
+ "name": "getResolutionDivWidth",
1675
+ "privacy": "private",
1676
+ "return": {
1677
+ "type": {
1678
+ "text": "number"
1679
+ }
1680
+ }
1681
+ },
1682
+ {
1683
+ "kind": "method",
1684
+ "name": "getLeftPositionPercentageForDate",
1685
+ "privacy": "public",
1686
+ "return": {
1687
+ "type": {
1688
+ "text": ""
1689
+ }
1690
+ },
1691
+ "parameters": [
1692
+ {
1693
+ "name": "date",
1694
+ "type": {
1695
+ "text": "Date"
1696
+ },
1697
+ "description": " Target date in milliseconds."
1698
+ },
1699
+ {
1700
+ "name": "contentWidth",
1701
+ "type": {
1702
+ "text": "number"
1703
+ },
1704
+ "description": " Width of the content that the given 'date' is relative to."
1705
+ }
1706
+ ],
1707
+ "description": "Calculate matching left offset in percentage for a date (\r\nDate#getTime())."
1708
+ },
1709
+ {
1710
+ "kind": "method",
1711
+ "name": "getLeftPositionPercentageStringForDate",
1712
+ "privacy": "public",
1713
+ "return": {
1714
+ "type": {
1715
+ "text": ""
1716
+ }
1717
+ },
1718
+ "parameters": [
1719
+ {
1720
+ "name": "date",
1721
+ "type": {
1722
+ "text": "Date"
1723
+ },
1724
+ "description": " Target date in milliseconds."
1725
+ },
1726
+ {
1727
+ "name": "contentWidth",
1728
+ "type": {
1729
+ "text": "number"
1730
+ },
1731
+ "description": " Width of the content that the given 'date' is relative to."
1732
+ }
1733
+ ],
1734
+ "description": "Calculate CSS value for 'left' property matching left offset in\r\npercentage for a date ( Date#getTime()).\r\n<p>\r\nMay return '2.123456%' or 'calc(2.123456%)' if IE;"
1735
+ },
1736
+ {
1737
+ "kind": "method",
1738
+ "name": "getLeftPositionPercentageStringForDateRange",
1739
+ "privacy": "public",
1740
+ "return": {
1741
+ "type": {
1742
+ "text": "string"
1743
+ }
1744
+ },
1745
+ "parameters": [
1746
+ {
1747
+ "name": "date",
1748
+ "type": {
1749
+ "text": "Date"
1750
+ }
1751
+ },
1752
+ {
1753
+ "name": "rangeWidth",
1754
+ "type": {
1755
+ "text": "number"
1756
+ }
1757
+ },
1758
+ {
1759
+ "name": "rangeStartDate",
1760
+ "type": {
1761
+ "text": "Date"
1762
+ }
1763
+ },
1764
+ {
1765
+ "name": "rangeEndDate",
1766
+ "type": {
1767
+ "text": "Date"
1768
+ }
1769
+ }
1770
+ ]
1771
+ },
1772
+ {
1773
+ "kind": "method",
1774
+ "name": "getWidthPercentageStringForDateInterval",
1775
+ "privacy": "public",
1776
+ "return": {
1777
+ "type": {
1778
+ "text": ""
1779
+ }
1780
+ },
1781
+ "parameters": [
1782
+ {
1783
+ "name": "interval",
1784
+ "type": {
1785
+ "text": "number"
1786
+ },
1787
+ "description": " Date interval in milliseconds."
1788
+ }
1789
+ ],
1790
+ "description": "Calculate CSS value for 'width' property matching date interval inside\r\nthe time-line. Returns percentage value. Interval is in milliseconds.\r\n<p>\r\nMay return '2.123456%' or 'calc(2.123456%)' if IE;"
1791
+ },
1792
+ {
1793
+ "kind": "method",
1794
+ "name": "getWidthPercentageStringForDateIntervalForRange",
1795
+ "privacy": "public",
1796
+ "return": {
1797
+ "type": {
1798
+ "text": "string"
1799
+ }
1800
+ },
1801
+ "parameters": [
1802
+ {
1803
+ "name": "interval",
1804
+ "type": {
1805
+ "text": "number"
1806
+ }
1807
+ },
1808
+ {
1809
+ "name": "range",
1810
+ "type": {
1811
+ "text": "number"
1812
+ }
1813
+ }
1814
+ ]
1815
+ },
1816
+ {
1817
+ "kind": "method",
1818
+ "name": "getLeftPositionForDate",
1819
+ "privacy": "public",
1820
+ "return": {
1821
+ "type": {
1822
+ "text": ""
1823
+ }
1824
+ },
1825
+ "parameters": [
1826
+ {
1827
+ "name": "date",
1828
+ "type": {
1829
+ "text": "Date"
1830
+ },
1831
+ "description": " Target date in milliseconds."
1832
+ }
1833
+ ],
1834
+ "description": "Calculate matching left offset in pixels for a date (\r\nDate#getTime())."
1835
+ },
1836
+ {
1837
+ "kind": "method",
1838
+ "name": "getLeftPositionForDateRange",
1839
+ "privacy": "public",
1840
+ "return": {
1841
+ "type": {
1842
+ "text": "number"
1843
+ }
1844
+ },
1845
+ "parameters": [
1846
+ {
1847
+ "name": "date",
1848
+ "type": {
1849
+ "text": "Date"
1850
+ }
1851
+ },
1852
+ {
1853
+ "name": "rangeWidth",
1854
+ "type": {
1855
+ "text": "number"
1856
+ }
1857
+ },
1858
+ {
1859
+ "name": "rangeStartDate",
1860
+ "type": {
1861
+ "text": "Date"
1862
+ }
1863
+ },
1864
+ {
1865
+ "name": "rangeEndDate",
1866
+ "type": {
1867
+ "text": "Date"
1868
+ }
1869
+ }
1870
+ ]
1871
+ },
1872
+ {
1873
+ "kind": "method",
1874
+ "name": "getDateForLeftPosition",
1875
+ "privacy": "public",
1876
+ "return": {
1877
+ "type": {
1878
+ "text": ""
1879
+ }
1880
+ },
1881
+ "parameters": [
1882
+ {
1883
+ "name": "left",
1884
+ "type": {
1885
+ "text": "number"
1886
+ },
1887
+ "description": " Left offset in pixels."
1888
+ }
1889
+ ],
1890
+ "description": "Calculate matching date (Date#getTime()) for the target left\r\npixel offset."
1891
+ },
1892
+ {
1893
+ "kind": "method",
1894
+ "name": "getDateForLeftPositionNoticeDST",
1895
+ "privacy": "public",
1896
+ "return": {
1897
+ "type": {
1898
+ "text": "Date"
1899
+ }
1900
+ },
1901
+ "parameters": [
1902
+ {
1903
+ "name": "left",
1904
+ "type": {
1905
+ "text": "number"
1906
+ }
1907
+ },
1908
+ {
1909
+ "name": "noticeDST",
1910
+ "type": {
1911
+ "text": "boolean"
1912
+ }
1913
+ }
1914
+ ]
1915
+ },
1916
+ {
1917
+ "kind": "method",
1918
+ "name": "convertRelativeLeftPosition",
1919
+ "privacy": "public",
1920
+ "return": {
1921
+ "type": {
1922
+ "text": ""
1923
+ }
1924
+ },
1925
+ "parameters": [
1926
+ {
1927
+ "name": "left",
1928
+ "type": {
1929
+ "text": "number"
1930
+ }
1931
+ },
1932
+ {
1933
+ "name": "contentWidthToConvertFor",
1934
+ "type": {
1935
+ "text": "number"
1936
+ }
1937
+ }
1938
+ ],
1939
+ "description": "Convert left position for other relative target width."
1940
+ },
1941
+ {
1942
+ "kind": "method",
1943
+ "name": "adjustDateRangeByDST",
1944
+ "return": {
1945
+ "type": {
1946
+ "text": "number"
1947
+ }
1948
+ },
1949
+ "parameters": [
1950
+ {
1951
+ "name": "range",
1952
+ "type": {
1953
+ "text": "number"
1954
+ }
1955
+ }
1956
+ ]
1957
+ },
1958
+ {
1959
+ "kind": "method",
1960
+ "name": "setScrollLeft",
1961
+ "privacy": "public",
1962
+ "parameters": [
1963
+ {
1964
+ "name": "left",
1965
+ "type": {
1966
+ "text": "number"
1967
+ },
1968
+ "description": " Scroll position in pixels."
1969
+ }
1970
+ ],
1971
+ "description": "Set horizontal scroll position for the time-line."
1972
+ },
1973
+ {
1974
+ "kind": "method",
1975
+ "name": "updateWidths",
1976
+ "description": "Re-calculates required widths for this widget.\r\n<p>\r\nRe-creates and fills the visible part of the resolution element."
1977
+ },
1978
+ {
1979
+ "kind": "method",
1980
+ "name": "updateBlockWidths",
1981
+ "parameters": [
1982
+ {
1983
+ "name": "rowData",
1984
+ "type": {
1985
+ "text": "BlockRowData"
1986
+ }
1987
+ }
1988
+ ]
1989
+ },
1990
+ {
1991
+ "kind": "method",
1992
+ "name": "updateSpacerBlocks",
1993
+ "parameters": [
1994
+ {
1995
+ "name": "dayWidthPx",
1996
+ "type": {
1997
+ "text": "number"
1998
+ }
1999
+ }
2000
+ ]
2001
+ },
2002
+ {
2003
+ "kind": "method",
2004
+ "name": "hideSpacerBlocks"
2005
+ },
2006
+ {
2007
+ "kind": "method",
2008
+ "name": "setMinWidth",
2009
+ "parameters": [
2010
+ {
2011
+ "name": "minWidth",
2012
+ "type": {
2013
+ "text": "number"
2014
+ },
2015
+ "description": " Minimum width in pixels."
2016
+ }
2017
+ ],
2018
+ "description": "Set minimum width (pixels) of this widget's root DIV element. Default is\r\n-1. Notice that\r\n#update(Resolution, long, long, int, int, LocaleDataProvider)\r\nwill calculate min-width and call this internally."
2019
+ },
2020
+ {
2021
+ "kind": "method",
2022
+ "name": "isTimelineOverflowingHorizontally",
2023
+ "return": {
2024
+ "type": {
2025
+ "text": ""
2026
+ }
2027
+ },
2028
+ "description": "Returns true if the timeline is overflowing the parent's width. This\r\nworks only when this widget is attached to some parent."
2029
+ },
2030
+ {
2031
+ "kind": "method",
2032
+ "name": "updateTimelineOverflowingHorizontally",
2033
+ "description": "Update horizontal overflow state."
2034
+ },
2035
+ {
2036
+ "kind": "method",
2037
+ "name": "createTimelineElementsOnVisibleArea"
2038
+ },
2039
+ {
2040
+ "kind": "method",
2041
+ "name": "calculateMinimumResolutionBlockWidth",
2042
+ "return": {
2043
+ "type": {
2044
+ "text": "number"
2045
+ }
2046
+ }
2047
+ },
2048
+ {
2049
+ "kind": "method",
2050
+ "name": "createResolutionBlock",
2051
+ "return": {
2052
+ "type": {
2053
+ "text": "HTMLDivElement"
2054
+ }
2055
+ }
2056
+ },
2057
+ {
2058
+ "kind": "method",
2059
+ "name": "createHourResolutionBlock",
2060
+ "return": {
2061
+ "type": {
2062
+ "text": "HTMLDivElement"
2063
+ }
2064
+ }
2065
+ },
2066
+ {
2067
+ "kind": "method",
2068
+ "name": "createDayResolutionBlock",
2069
+ "return": {
2070
+ "type": {
2071
+ "text": "HTMLDivElement"
2072
+ }
2073
+ }
2074
+ },
2075
+ {
2076
+ "kind": "method",
2077
+ "name": "createWeekResolutionBlock",
2078
+ "return": {
2079
+ "type": {
2080
+ "text": "HTMLDivElement"
2081
+ }
2082
+ }
2083
+ },
2084
+ {
2085
+ "kind": "method",
2086
+ "name": "createMonthResolutionBlock",
2087
+ "return": {
2088
+ "type": {
2089
+ "text": "HTMLDivElement"
2090
+ }
2091
+ }
2092
+ },
2093
+ {
2094
+ "kind": "method",
2095
+ "name": "createYearResolutionBlock",
2096
+ "return": {
2097
+ "type": {
2098
+ "text": "HTMLDivElement"
2099
+ }
2100
+ }
2101
+ },
2102
+ {
2103
+ "kind": "method",
2104
+ "name": "fillVisibleTimeline"
2105
+ },
2106
+ {
2107
+ "kind": "method",
2108
+ "name": "showResolutionBlocksOnView"
2109
+ },
2110
+ {
2111
+ "kind": "method",
2112
+ "name": "showAllResolutionBlocks"
2113
+ },
2114
+ {
2115
+ "kind": "method",
2116
+ "name": "refreshCurrentDate",
2117
+ "privacy": "public",
2118
+ "description": "Re-applies 'current' style to the currently shown resolution blocks and day\r\nrow blocks without rebuilding the timeline. Call this when the current day\r\nor hour changes."
2119
+ },
2120
+ {
2121
+ "kind": "method",
2122
+ "name": "updateCurrentDayString"
2123
+ },
2124
+ {
2125
+ "kind": "method",
2126
+ "name": "isCurrentDay",
2127
+ "return": {
2128
+ "type": {
2129
+ "text": "boolean"
2130
+ }
2131
+ },
2132
+ "parameters": [
2133
+ {
2134
+ "name": "date",
2135
+ "type": {
2136
+ "text": "Date"
2137
+ }
2138
+ }
2139
+ ]
2140
+ },
2141
+ {
2142
+ "kind": "method",
2143
+ "name": "isCurrentHour",
2144
+ "return": {
2145
+ "type": {
2146
+ "text": "boolean"
2147
+ }
2148
+ },
2149
+ "parameters": [
2150
+ {
2151
+ "name": "date",
2152
+ "type": {
2153
+ "text": "Date"
2154
+ }
2155
+ }
2156
+ ]
2157
+ },
2158
+ {
2159
+ "kind": "method",
2160
+ "name": "setCurrentStyle",
2161
+ "parameters": [
2162
+ {
2163
+ "name": "element",
2164
+ "type": {
2165
+ "text": "HTMLElement"
2166
+ }
2167
+ },
2168
+ {
2169
+ "name": "current",
2170
+ "type": {
2171
+ "text": "boolean"
2172
+ }
2173
+ }
2174
+ ]
2175
+ },
2176
+ {
2177
+ "kind": "method",
2178
+ "name": "updateDayRowCurrentStyles"
2179
+ },
2180
+ {
2181
+ "kind": "method",
2182
+ "name": "fillTimelineForResolution",
2183
+ "parameters": [
2184
+ {
2185
+ "name": "startDate",
2186
+ "type": {
2187
+ "text": "Date"
2188
+ }
2189
+ },
2190
+ {
2191
+ "name": "endDate",
2192
+ "type": {
2193
+ "text": "Date"
2194
+ }
2195
+ },
2196
+ {
2197
+ "name": "left",
2198
+ "type": {
2199
+ "text": "number"
2200
+ }
2201
+ }
2202
+ ]
2203
+ },
2204
+ {
2205
+ "kind": "method",
2206
+ "name": "isFirstResBlockShort",
2207
+ "return": {
2208
+ "type": {
2209
+ "text": "boolean"
2210
+ }
2211
+ }
2212
+ },
2213
+ {
2214
+ "kind": "method",
2215
+ "name": "isLastResBlockShort",
2216
+ "return": {
2217
+ "type": {
2218
+ "text": "boolean"
2219
+ }
2220
+ }
2221
+ },
2222
+ {
2223
+ "kind": "method",
2224
+ "name": "getScrollOverflowForResolutionBlock",
2225
+ "return": {
2226
+ "type": {
2227
+ "text": "number"
2228
+ }
2229
+ },
2230
+ "parameters": [
2231
+ {
2232
+ "name": "positionLeftSnapshot",
2233
+ "type": {
2234
+ "text": "number"
2235
+ }
2236
+ },
2237
+ {
2238
+ "name": "left",
2239
+ "type": {
2240
+ "text": "number"
2241
+ }
2242
+ },
2243
+ {
2244
+ "name": "firstResBlockShort",
2245
+ "type": {
2246
+ "text": "boolean"
2247
+ }
2248
+ }
2249
+ ]
2250
+ },
2251
+ {
2252
+ "kind": "method",
2253
+ "name": "getScrollOverflowForRegularResoultionBlock",
2254
+ "return": {
2255
+ "type": {
2256
+ "text": "number"
2257
+ }
2258
+ },
2259
+ "parameters": [
2260
+ {
2261
+ "name": "positionLeftSnapshot",
2262
+ "type": {
2263
+ "text": "number"
2264
+ }
2265
+ },
2266
+ {
2267
+ "name": "firstResBlockShort",
2268
+ "type": {
2269
+ "text": "boolean"
2270
+ }
2271
+ }
2272
+ ]
2273
+ },
2274
+ {
2275
+ "kind": "method",
2276
+ "name": "getScrollOverflowForShortFirstResolutionBlock",
2277
+ "return": {
2278
+ "type": {
2279
+ "text": "number"
2280
+ }
2281
+ },
2282
+ "parameters": [
2283
+ {
2284
+ "name": "positionLeftSnapshot",
2285
+ "type": {
2286
+ "text": "number"
2287
+ }
2288
+ }
2289
+ ]
2290
+ },
2291
+ {
2292
+ "kind": "method",
2293
+ "name": "getFirstResolutionElementWidth",
2294
+ "return": {
2295
+ "type": {
2296
+ "text": ""
2297
+ }
2298
+ },
2299
+ "description": "Returns a width of the first resolution block."
2300
+ },
2301
+ {
2302
+ "kind": "method",
2303
+ "name": "getFirstResolutionElement",
2304
+ "return": {
2305
+ "type": {
2306
+ "text": "HTMLElement"
2307
+ }
2308
+ }
2309
+ },
2310
+ {
2311
+ "kind": "method",
2312
+ "name": "getLastResolutionElement",
2313
+ "return": {
2314
+ "type": {
2315
+ "text": "HTMLElement"
2316
+ }
2317
+ }
2318
+ },
2319
+ {
2320
+ "kind": "method",
2321
+ "name": "containsResBlockSpacer",
2322
+ "return": {
2323
+ "type": {
2324
+ "text": "boolean"
2325
+ }
2326
+ }
2327
+ },
2328
+ {
2329
+ "kind": "method",
2330
+ "name": "removeResolutionSpacerBlock"
2331
+ },
2332
+ {
2333
+ "kind": "method",
2334
+ "name": "calculateDayOrHourResolutionBlockWidthPx",
2335
+ "return": {
2336
+ "type": {
2337
+ "text": "number"
2338
+ }
2339
+ },
2340
+ "parameters": [
2341
+ {
2342
+ "name": "blockCount",
2343
+ "type": {
2344
+ "text": "number"
2345
+ }
2346
+ }
2347
+ ]
2348
+ },
2349
+ {
2350
+ "kind": "method",
2351
+ "name": "calculateActualResolutionBlockWidthPx",
2352
+ "return": {
2353
+ "type": {
2354
+ "text": "number"
2355
+ }
2356
+ },
2357
+ "parameters": [
2358
+ {
2359
+ "name": "dayOrHourBlockWidthPx",
2360
+ "type": {
2361
+ "text": "number"
2362
+ }
2363
+ }
2364
+ ]
2365
+ },
2366
+ {
2367
+ "kind": "method",
2368
+ "name": "adjustLeftPositionForDateDetection",
2369
+ "return": {
2370
+ "type": {
2371
+ "text": "number"
2372
+ }
2373
+ },
2374
+ "parameters": [
2375
+ {
2376
+ "name": "left",
2377
+ "type": {
2378
+ "text": "number"
2379
+ }
2380
+ }
2381
+ ],
2382
+ "description": "Adjust left position for optimal position to detect accurate date with\r\nthe current resolution."
2383
+ },
2384
+ {
2385
+ "kind": "method",
2386
+ "name": "createCalcCssValue",
2387
+ "return": {
2388
+ "type": {
2389
+ "text": "string"
2390
+ }
2391
+ },
2392
+ "parameters": [
2393
+ {
2394
+ "name": "v",
2395
+ "type": {
2396
+ "text": "number"
2397
+ }
2398
+ },
2399
+ {
2400
+ "name": "multiplier",
2401
+ "type": {
2402
+ "text": "number"
2403
+ }
2404
+ }
2405
+ ]
2406
+ },
2407
+ {
2408
+ "kind": "method",
2409
+ "name": "updateResolutionBlockWidths",
2410
+ "parameters": [
2411
+ {
2412
+ "name": "pct",
2413
+ "type": {
2414
+ "text": "string"
2415
+ }
2416
+ }
2417
+ ]
2418
+ },
2419
+ {
2420
+ "kind": "method",
2421
+ "name": "updateMonthOrYearResolutionBlockWidths"
2422
+ },
2423
+ {
2424
+ "kind": "method",
2425
+ "name": "getWidth",
2426
+ "return": {
2427
+ "type": {
2428
+ "text": "string"
2429
+ }
2430
+ },
2431
+ "parameters": [
2432
+ {
2433
+ "name": "multiplier",
2434
+ "type": {
2435
+ "text": "number"
2436
+ }
2437
+ }
2438
+ ]
2439
+ },
2440
+ {
2441
+ "kind": "method",
2442
+ "name": "setWidth",
2443
+ "parameters": [
2444
+ {
2445
+ "name": "element",
2446
+ "type": {
2447
+ "text": "HTMLElement"
2448
+ }
2449
+ },
2450
+ {
2451
+ "name": "multiplier",
2452
+ "type": {
2453
+ "text": "number"
2454
+ }
2455
+ }
2456
+ ]
2457
+ },
2458
+ {
2459
+ "kind": "method",
2460
+ "name": "setWidthPct",
2461
+ "parameters": [
2462
+ {
2463
+ "name": "resBlockWidthPx",
2464
+ "type": {
2465
+ "text": "number"
2466
+ }
2467
+ },
2468
+ {
2469
+ "name": "pct",
2470
+ "type": {
2471
+ "text": "string"
2472
+ }
2473
+ },
2474
+ {
2475
+ "name": "element",
2476
+ "type": {
2477
+ "text": "HTMLElement"
2478
+ }
2479
+ }
2480
+ ]
2481
+ },
2482
+ {
2483
+ "kind": "method",
2484
+ "name": "setCssPercentageWidth",
2485
+ "parameters": [
2486
+ {
2487
+ "name": "element",
2488
+ "type": {
2489
+ "text": "HTMLElement"
2490
+ }
2491
+ },
2492
+ {
2493
+ "name": "daysInRange",
2494
+ "type": {
2495
+ "text": "number"
2496
+ }
2497
+ },
2498
+ {
2499
+ "name": "width",
2500
+ "type": {
2501
+ "text": "number"
2502
+ }
2503
+ },
2504
+ {
2505
+ "name": "position",
2506
+ "type": {
2507
+ "text": "number"
2508
+ }
2509
+ }
2510
+ ]
2511
+ },
2512
+ {
2513
+ "kind": "method",
2514
+ "name": "getCssPercentageWidth",
2515
+ "return": {
2516
+ "type": {
2517
+ "text": "string"
2518
+ }
2519
+ },
2520
+ "parameters": [
2521
+ {
2522
+ "name": "daysInRange",
2523
+ "type": {
2524
+ "text": "number"
2525
+ }
2526
+ },
2527
+ {
2528
+ "name": "width",
2529
+ "type": {
2530
+ "text": "number"
2531
+ }
2532
+ },
2533
+ {
2534
+ "name": "position",
2535
+ "type": {
2536
+ "text": "number"
2537
+ }
2538
+ }
2539
+ ]
2540
+ },
2541
+ {
2542
+ "kind": "method",
2543
+ "name": "setCssPercentageWidthFor",
2544
+ "parameters": [
2545
+ {
2546
+ "name": "element",
2547
+ "type": {
2548
+ "text": "HTMLElement"
2549
+ }
2550
+ },
2551
+ {
2552
+ "name": "nValue",
2553
+ "type": {
2554
+ "text": "number"
2555
+ }
2556
+ },
2557
+ {
2558
+ "name": "pct",
2559
+ "type": {
2560
+ "text": "string"
2561
+ }
2562
+ }
2563
+ ]
2564
+ },
2565
+ {
2566
+ "kind": "method",
2567
+ "name": "getPercentageWidthString",
2568
+ "return": {
2569
+ "type": {
2570
+ "text": "string"
2571
+ }
2572
+ },
2573
+ "parameters": [
2574
+ {
2575
+ "name": "nValue",
2576
+ "type": {
2577
+ "text": "number"
2578
+ }
2579
+ },
2580
+ {
2581
+ "name": "pct",
2582
+ "type": {
2583
+ "text": "string"
2584
+ }
2585
+ }
2586
+ ]
2587
+ },
2588
+ {
2589
+ "kind": "method",
2590
+ "name": "getWidthStyleValue",
2591
+ "return": {
2592
+ "type": {
2593
+ "text": "string"
2594
+ }
2595
+ },
2596
+ "parameters": [
2597
+ {
2598
+ "name": "pct",
2599
+ "type": {
2600
+ "text": "string"
2601
+ }
2602
+ }
2603
+ ]
2604
+ },
2605
+ {
2606
+ "kind": "method",
2607
+ "name": "fillTimelineForMonthOrYearResolution"
2608
+ },
2609
+ {
2610
+ "kind": "method",
2611
+ "name": "fillMonthOrYearResolutionBlock",
2612
+ "parameters": [
2613
+ {
2614
+ "name": "resBlock",
2615
+ "type": {
2616
+ "text": "HTMLElement"
2617
+ }
2618
+ },
2619
+ {
2620
+ "name": "date",
2621
+ "type": {
2622
+ "text": "Date"
2623
+ }
2624
+ },
2625
+ {
2626
+ "name": "even",
2627
+ "type": {
2628
+ "text": "boolean"
2629
+ }
2630
+ },
2631
+ {
2632
+ "name": "current",
2633
+ "type": {
2634
+ "text": "boolean"
2635
+ }
2636
+ }
2637
+ ]
2638
+ },
2639
+ {
2640
+ "kind": "method",
2641
+ "name": "fillTimelineForHourResolution",
2642
+ "parameters": [
2643
+ {
2644
+ "name": "startDate",
2645
+ "type": {
2646
+ "text": "Date"
2647
+ }
2648
+ },
2649
+ {
2650
+ "name": "endDate",
2651
+ "type": {
2652
+ "text": "Date"
2653
+ }
2654
+ },
2655
+ {
2656
+ "name": "left",
2657
+ "type": {
2658
+ "text": "number"
2659
+ }
2660
+ }
2661
+ ]
2662
+ },
2663
+ {
2664
+ "kind": "method",
2665
+ "name": "fillTimelineForDayResolution",
2666
+ "parameters": [
2667
+ {
2668
+ "name": "startDate",
2669
+ "type": {
2670
+ "text": "Date"
2671
+ }
2672
+ },
2673
+ {
2674
+ "name": "endDate",
2675
+ "type": {
2676
+ "text": "Date"
2677
+ }
2678
+ },
2679
+ {
2680
+ "name": "left",
2681
+ "type": {
2682
+ "text": "number"
2683
+ }
2684
+ }
2685
+ ]
2686
+ },
2687
+ {
2688
+ "kind": "method",
2689
+ "name": "logIndexOutOfBounds",
2690
+ "parameters": [
2691
+ {
2692
+ "name": "indexName",
2693
+ "type": {
2694
+ "text": "string"
2695
+ }
2696
+ },
2697
+ {
2698
+ "name": "index",
2699
+ "type": {
2700
+ "text": "number"
2701
+ }
2702
+ },
2703
+ {
2704
+ "name": "childCount",
2705
+ "type": {
2706
+ "text": "number"
2707
+ }
2708
+ }
2709
+ ]
2710
+ },
2711
+ {
2712
+ "kind": "method",
2713
+ "name": "fillTimelineForHour",
2714
+ "parameters": [
2715
+ {
2716
+ "name": "interval",
2717
+ "type": {
2718
+ "text": "number"
2719
+ }
2720
+ },
2721
+ {
2722
+ "name": "startDate",
2723
+ "type": {
2724
+ "text": "Date"
2725
+ }
2726
+ },
2727
+ {
2728
+ "name": "endDate",
2729
+ "type": {
2730
+ "text": "Date"
2731
+ }
2732
+ },
2733
+ {
2734
+ "name": "resBlockFiller",
2735
+ "type": {
2736
+ "text": "IResolutionBlockFiller"
2737
+ }
2738
+ }
2739
+ ]
2740
+ },
2741
+ {
2742
+ "kind": "method",
2743
+ "name": "fillTimelineForDayOrWeek",
2744
+ "parameters": [
2745
+ {
2746
+ "name": "interval",
2747
+ "type": {
2748
+ "text": "number"
2749
+ }
2750
+ },
2751
+ {
2752
+ "name": "startDate",
2753
+ "type": {
2754
+ "text": "Date"
2755
+ }
2756
+ },
2757
+ {
2758
+ "name": "endDate",
2759
+ "type": {
2760
+ "text": "Date"
2761
+ }
2762
+ },
2763
+ {
2764
+ "name": "resBlockFiller",
2765
+ "type": {
2766
+ "text": "IResolutionBlockFiller"
2767
+ }
2768
+ }
2769
+ ]
2770
+ },
2771
+ {
2772
+ "kind": "method",
2773
+ "name": "isValidChildIndex",
2774
+ "return": {
2775
+ "type": {
2776
+ "text": "boolean"
2777
+ }
2778
+ },
2779
+ "parameters": [
2780
+ {
2781
+ "name": "index",
2782
+ "type": {
2783
+ "text": "number"
2784
+ }
2785
+ },
2786
+ {
2787
+ "name": "childCount",
2788
+ "type": {
2789
+ "text": "number"
2790
+ }
2791
+ }
2792
+ ]
2793
+ },
2794
+ {
2795
+ "kind": "method",
2796
+ "name": "fillDayResolutionBlock",
2797
+ "parameters": [
2798
+ {
2799
+ "name": "resBlock",
2800
+ "type": {
2801
+ "text": "HTMLDivElement"
2802
+ }
2803
+ },
2804
+ {
2805
+ "name": "date",
2806
+ "type": {
2807
+ "text": "Date"
2808
+ }
2809
+ },
2810
+ {
2811
+ "name": "index",
2812
+ "type": {
2813
+ "text": "number"
2814
+ }
2815
+ },
2816
+ {
2817
+ "name": "weekend",
2818
+ "type": {
2819
+ "text": "boolean"
2820
+ }
2821
+ },
2822
+ {
2823
+ "name": "left",
2824
+ "type": {
2825
+ "text": "number"
2826
+ }
2827
+ }
2828
+ ]
2829
+ },
2830
+ {
2831
+ "kind": "method",
2832
+ "name": "fillWeekResolutionBlock",
2833
+ "parameters": [
2834
+ {
2835
+ "name": "resBlock",
2836
+ "type": {
2837
+ "text": "HTMLDivElement"
2838
+ }
2839
+ },
2840
+ {
2841
+ "name": "date",
2842
+ "type": {
2843
+ "text": "Date"
2844
+ }
2845
+ },
2846
+ {
2847
+ "name": "index",
2848
+ "type": {
2849
+ "text": "number"
2850
+ }
2851
+ },
2852
+ {
2853
+ "name": "weekDay",
2854
+ "type": {
2855
+ "text": "Weekday"
2856
+ }
2857
+ },
2858
+ {
2859
+ "name": "firstWeek",
2860
+ "type": {
2861
+ "text": "boolean"
2862
+ }
2863
+ },
2864
+ {
2865
+ "name": "lastBlock",
2866
+ "type": {
2867
+ "text": "boolean"
2868
+ }
2869
+ },
2870
+ {
2871
+ "name": "left",
2872
+ "type": {
2873
+ "text": "number"
2874
+ }
2875
+ },
2876
+ {
2877
+ "name": "even",
2878
+ "type": {
2879
+ "text": "boolean"
2880
+ }
2881
+ }
2882
+ ]
2883
+ },
2884
+ {
2885
+ "kind": "method",
2886
+ "name": "fillHourResolutionBlock",
2887
+ "parameters": [
2888
+ {
2889
+ "name": "resBlock",
2890
+ "type": {
2891
+ "text": "HTMLDivElement"
2892
+ }
2893
+ },
2894
+ {
2895
+ "name": "date",
2896
+ "type": {
2897
+ "text": "Date"
2898
+ }
2899
+ },
2900
+ {
2901
+ "name": "index",
2902
+ "type": {
2903
+ "text": "number"
2904
+ }
2905
+ },
2906
+ {
2907
+ "name": "hourCounter",
2908
+ "type": {
2909
+ "text": "number"
2910
+ }
2911
+ },
2912
+ {
2913
+ "name": "lastBlock",
2914
+ "type": {
2915
+ "text": "boolean"
2916
+ }
2917
+ },
2918
+ {
2919
+ "name": "left",
2920
+ "type": {
2921
+ "text": "number"
2922
+ }
2923
+ },
2924
+ {
2925
+ "name": "even",
2926
+ "type": {
2927
+ "text": "boolean"
2928
+ }
2929
+ }
2930
+ ]
2931
+ }
2932
+ ],
2933
+ "attributes": [
2934
+ {
2935
+ "name": "resolution",
2936
+ "type": {
2937
+ "text": "Resolution"
2938
+ },
2939
+ "fieldName": "resolution"
2940
+ },
2941
+ {
2942
+ "name": "startDateTime",
2943
+ "type": {
2944
+ "text": "string"
2945
+ },
2946
+ "fieldName": "startDateTime"
2947
+ },
2948
+ {
2949
+ "name": "endDateTime",
2950
+ "type": {
2951
+ "text": "string"
2952
+ },
2953
+ "fieldName": "endDateTime"
2954
+ },
2955
+ {
2956
+ "name": "timeZone",
2957
+ "type": {
2958
+ "text": "string"
2959
+ },
2960
+ "default": "\"Europe/London\"",
2961
+ "description": "Timezone for date and time formatting. Doesn't match with actual start and end Date object's time zone.",
2962
+ "fieldName": "timeZone"
2963
+ },
2964
+ {
2965
+ "name": "locale",
2966
+ "type": {
2967
+ "text": "string"
2968
+ },
2969
+ "default": "\"en-US\"",
2970
+ "fieldName": "locale"
2971
+ },
2972
+ {
2973
+ "name": "firstDayOfWeek",
2974
+ "type": {
2975
+ "text": "number"
2976
+ },
2977
+ "default": "1",
2978
+ "fieldName": "firstDayOfWeek"
2979
+ },
2980
+ {
2981
+ "name": "twelveHourClock",
2982
+ "type": {
2983
+ "text": "boolean"
2984
+ },
2985
+ "default": "false",
2986
+ "fieldName": "twelveHourClock"
2987
+ },
2988
+ {
2989
+ "name": "minWidth",
2990
+ "type": {
2991
+ "text": "number"
2992
+ },
2993
+ "fieldName": "minWidth"
2994
+ },
2995
+ {
2996
+ "name": "normalStartDate",
2997
+ "type": {
2998
+ "text": "Date"
2999
+ },
3000
+ "fieldName": "normalStartDate"
3001
+ },
3002
+ {
3003
+ "name": "normalEndDate",
3004
+ "type": {
3005
+ "text": "Date"
3006
+ },
3007
+ "fieldName": "normalEndDate"
3008
+ },
3009
+ {
3010
+ "name": "lastDayOfWeek",
3011
+ "type": {
3012
+ "text": "number"
3013
+ },
3014
+ "fieldName": "lastDayOfWeek"
3015
+ },
3016
+ {
3017
+ "name": "firstDayOfRange",
3018
+ "type": {
3019
+ "text": "number"
3020
+ },
3021
+ "fieldName": "firstDayOfRange"
3022
+ },
3023
+ {
3024
+ "name": "firstHourOfRange",
3025
+ "type": {
3026
+ "text": "number"
3027
+ },
3028
+ "fieldName": "firstHourOfRange"
3029
+ },
3030
+ {
3031
+ "name": "scrollContainerId",
3032
+ "type": {
3033
+ "text": "string"
3034
+ },
3035
+ "fieldName": "scrollContainerId"
3036
+ },
3037
+ {
3038
+ "name": "monthRowVisible",
3039
+ "type": {
3040
+ "text": "boolean"
3041
+ },
3042
+ "default": "true",
3043
+ "fieldName": "monthRowVisible"
3044
+ },
3045
+ {
3046
+ "name": "yearRowVisible",
3047
+ "type": {
3048
+ "text": "boolean"
3049
+ },
3050
+ "default": "true",
3051
+ "fieldName": "yearRowVisible"
3052
+ },
3053
+ {
3054
+ "name": "monthNames",
3055
+ "type": {
3056
+ "text": "string[]"
3057
+ },
3058
+ "fieldName": "monthNames"
3059
+ },
3060
+ {
3061
+ "name": "weekdayNames",
3062
+ "type": {
3063
+ "text": "string[]"
3064
+ },
3065
+ "fieldName": "weekdayNames"
3066
+ },
3067
+ {
3068
+ "name": "currentDateVisible",
3069
+ "type": {
3070
+ "text": "boolean"
3071
+ },
3072
+ "default": "false",
3073
+ "fieldName": "currentDateVisible"
3074
+ }
3075
+ ],
3076
+ "superclass": {
3077
+ "name": "LitElement",
3078
+ "package": "lit"
3079
+ },
3080
+ "summary": "Scalable, time zone aware timeline header for scheduling views.",
3081
+ "tagName": "timeline-element",
3082
+ "customElement": true
3083
+ }
3084
+ ],
3085
+ "exports": [
3086
+ {
3087
+ "kind": "js",
3088
+ "name": "TimelineElement",
3089
+ "declaration": {
3090
+ "name": "TimelineElement",
3091
+ "module": "src/timeline-element.ts"
3092
+ }
3093
+ },
3094
+ {
3095
+ "kind": "custom-element-definition",
3096
+ "name": "timeline-element",
3097
+ "declaration": {
3098
+ "name": "TimelineElement",
3099
+ "module": "src/timeline-element.ts"
3100
+ }
3101
+ }
3102
+ ]
3103
+ },
3104
+ {
3105
+ "kind": "javascript-module",
3106
+ "path": "src/model/blockRowData.ts",
3107
+ "declarations": [
3108
+ {
3109
+ "kind": "class",
3110
+ "description": "",
3111
+ "name": "BlockRowData",
3112
+ "members": [
3113
+ {
3114
+ "kind": "field",
3115
+ "name": "blocks",
3116
+ "type": {
3117
+ "text": "Map<string, any>"
3118
+ },
3119
+ "default": "new Map()"
3120
+ },
3121
+ {
3122
+ "kind": "field",
3123
+ "name": "blockLength",
3124
+ "type": {
3125
+ "text": "Map<string, number>"
3126
+ },
3127
+ "default": "new Map()"
3128
+ },
3129
+ {
3130
+ "kind": "method",
3131
+ "name": "size",
3132
+ "return": {
3133
+ "type": {
3134
+ "text": "number"
3135
+ }
3136
+ }
3137
+ },
3138
+ {
3139
+ "kind": "method",
3140
+ "name": "getBlock",
3141
+ "return": {
3142
+ "type": {
3143
+ "text": "any"
3144
+ }
3145
+ },
3146
+ "parameters": [
3147
+ {
3148
+ "name": "key",
3149
+ "type": {
3150
+ "text": "string"
3151
+ }
3152
+ }
3153
+ ]
3154
+ },
3155
+ {
3156
+ "kind": "method",
3157
+ "name": "getBlockEntries",
3158
+ "return": {
3159
+ "type": {
3160
+ "text": "IterableIterator<[string, any]>"
3161
+ }
3162
+ }
3163
+ },
3164
+ {
3165
+ "kind": "method",
3166
+ "name": "setBlock",
3167
+ "parameters": [
3168
+ {
3169
+ "name": "key",
3170
+ "type": {
3171
+ "text": "string"
3172
+ }
3173
+ },
3174
+ {
3175
+ "name": "element",
3176
+ "type": {
3177
+ "text": "any"
3178
+ }
3179
+ }
3180
+ ]
3181
+ },
3182
+ {
3183
+ "kind": "method",
3184
+ "name": "getBlockLength",
3185
+ "return": {
3186
+ "type": {
3187
+ "text": "number"
3188
+ }
3189
+ },
3190
+ "parameters": [
3191
+ {
3192
+ "name": "key",
3193
+ "type": {
3194
+ "text": "string"
3195
+ }
3196
+ }
3197
+ ]
3198
+ },
3199
+ {
3200
+ "kind": "method",
3201
+ "name": "setBlockLength",
3202
+ "parameters": [
3203
+ {
3204
+ "name": "key",
3205
+ "type": {
3206
+ "text": "string"
3207
+ }
3208
+ },
3209
+ {
3210
+ "name": "length",
3211
+ "type": {
3212
+ "text": "number"
3213
+ }
3214
+ }
3215
+ ]
3216
+ },
3217
+ {
3218
+ "kind": "method",
3219
+ "name": "clear"
3220
+ }
3221
+ ]
3222
+ }
3223
+ ],
3224
+ "exports": [
3225
+ {
3226
+ "kind": "js",
3227
+ "name": "BlockRowData",
3228
+ "declaration": {
3229
+ "name": "BlockRowData",
3230
+ "module": "src/model/blockRowData.ts"
3231
+ }
3232
+ }
3233
+ ]
3234
+ },
3235
+ {
3236
+ "kind": "javascript-module",
3237
+ "path": "src/model/DefaultLocaleDataProvider.ts",
3238
+ "declarations": [
3239
+ {
3240
+ "kind": "class",
3241
+ "description": "",
3242
+ "name": "DefaultLocaleDataProvider",
3243
+ "members": [
3244
+ {
3245
+ "kind": "field",
3246
+ "name": "locale",
3247
+ "type": {
3248
+ "text": "string"
3249
+ },
3250
+ "privacy": "public",
3251
+ "default": "locale"
3252
+ },
3253
+ {
3254
+ "kind": "field",
3255
+ "name": "timeZone",
3256
+ "type": {
3257
+ "text": "string"
3258
+ },
3259
+ "privacy": "public",
3260
+ "default": "timeZone"
3261
+ },
3262
+ {
3263
+ "kind": "field",
3264
+ "name": "twelveHourClock",
3265
+ "type": {
3266
+ "text": "boolean"
3267
+ },
3268
+ "privacy": "public",
3269
+ "default": "twelveHourClock"
3270
+ },
3271
+ {
3272
+ "kind": "field",
3273
+ "name": "firstDayOfWeek",
3274
+ "type": {
3275
+ "text": "number"
3276
+ },
3277
+ "privacy": "public",
3278
+ "default": "firstDayOfWeek"
3279
+ },
3280
+ {
3281
+ "kind": "field",
3282
+ "name": "monthNames",
3283
+ "type": {
3284
+ "text": "string[]"
3285
+ },
3286
+ "privacy": "public",
3287
+ "default": "[\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"]"
3288
+ },
3289
+ {
3290
+ "kind": "field",
3291
+ "name": "weekDayNames",
3292
+ "type": {
3293
+ "text": "string[]"
3294
+ },
3295
+ "privacy": "public",
3296
+ "default": "[\"sunday\", \"monday\", \"tuesday\", \"wednesday\", \"thursday\", \"friday\", \"saturday\"]"
3297
+ },
3298
+ {
3299
+ "kind": "field",
3300
+ "name": "browserTimeZone",
3301
+ "type": {
3302
+ "text": "string"
3303
+ },
3304
+ "privacy": "public"
3305
+ },
3306
+ {
3307
+ "kind": "field",
3308
+ "name": "_standardOffsetCache",
3309
+ "type": {
3310
+ "text": "Map<string, number>"
3311
+ },
3312
+ "default": "new Map()",
3313
+ "description": "Standard (non-DST) UTC offset per year, keyed by \"year|timeZone\"."
3314
+ },
3315
+ {
3316
+ "kind": "method",
3317
+ "name": "getMonthNames",
3318
+ "return": {
3319
+ "type": {
3320
+ "text": "string[]"
3321
+ }
3322
+ }
3323
+ },
3324
+ {
3325
+ "kind": "method",
3326
+ "name": "getWeekdayNames",
3327
+ "return": {
3328
+ "type": {
3329
+ "text": "string[]"
3330
+ }
3331
+ }
3332
+ },
3333
+ {
3334
+ "kind": "method",
3335
+ "name": "getFirstDayOfWeek",
3336
+ "return": {
3337
+ "type": {
3338
+ "text": "number"
3339
+ }
3340
+ }
3341
+ },
3342
+ {
3343
+ "kind": "method",
3344
+ "name": "formatDate",
3345
+ "return": {
3346
+ "type": {
3347
+ "text": "string"
3348
+ }
3349
+ },
3350
+ "parameters": [
3351
+ {
3352
+ "name": "date",
3353
+ "type": {
3354
+ "text": "Date"
3355
+ }
3356
+ },
3357
+ {
3358
+ "name": "pattern",
3359
+ "type": {
3360
+ "text": "string"
3361
+ }
3362
+ }
3363
+ ]
3364
+ },
3365
+ {
3366
+ "kind": "method",
3367
+ "name": "formatTime",
3368
+ "return": {
3369
+ "type": {
3370
+ "text": "string"
3371
+ }
3372
+ },
3373
+ "parameters": [
3374
+ {
3375
+ "name": "date",
3376
+ "type": {
3377
+ "text": "Date"
3378
+ }
3379
+ },
3380
+ {
3381
+ "name": "pattern",
3382
+ "type": {
3383
+ "text": "string"
3384
+ }
3385
+ }
3386
+ ]
3387
+ },
3388
+ {
3389
+ "kind": "method",
3390
+ "name": "isTwelveHourClock",
3391
+ "return": {
3392
+ "type": {
3393
+ "text": "boolean"
3394
+ }
3395
+ }
3396
+ },
3397
+ {
3398
+ "kind": "method",
3399
+ "name": "getLocale",
3400
+ "return": {
3401
+ "type": {
3402
+ "text": "string"
3403
+ }
3404
+ }
3405
+ },
3406
+ {
3407
+ "kind": "method",
3408
+ "name": "getTimeZone",
3409
+ "return": {
3410
+ "type": {
3411
+ "text": "string"
3412
+ }
3413
+ }
3414
+ },
3415
+ {
3416
+ "kind": "method",
3417
+ "name": "getDaylightAdjustment",
3418
+ "return": {
3419
+ "type": {
3420
+ "text": "number"
3421
+ }
3422
+ },
3423
+ "parameters": [
3424
+ {
3425
+ "name": "zonedDate",
3426
+ "type": {
3427
+ "text": "Date"
3428
+ }
3429
+ }
3430
+ ],
3431
+ "description": "DST adjustment in milliseconds at the given instant: how far the zone's\r\nclocks are ahead of its standard time (e.g. 3 600 000 in London summer,\r\n0 in winter). Southern hemisphere zones are in DST around January."
3432
+ },
3433
+ {
3434
+ "kind": "method",
3435
+ "name": "isDaylightTime",
3436
+ "return": {
3437
+ "type": {
3438
+ "text": "boolean"
3439
+ }
3440
+ },
3441
+ "parameters": [
3442
+ {
3443
+ "name": "zonedDate",
3444
+ "type": {
3445
+ "text": "Date"
3446
+ }
3447
+ }
3448
+ ]
3449
+ },
3450
+ {
3451
+ "kind": "method",
3452
+ "name": "getTimezoneOffset",
3453
+ "return": {
3454
+ "type": {
3455
+ "text": "number"
3456
+ }
3457
+ },
3458
+ "parameters": [
3459
+ {
3460
+ "name": "zonedDate",
3461
+ "type": {
3462
+ "text": "Date"
3463
+ }
3464
+ }
3465
+ ]
3466
+ },
3467
+ {
3468
+ "kind": "method",
3469
+ "name": "getStandardOffset",
3470
+ "return": {
3471
+ "type": {
3472
+ "text": "number"
3473
+ }
3474
+ },
3475
+ "parameters": [
3476
+ {
3477
+ "name": "year",
3478
+ "type": {
3479
+ "text": "number"
3480
+ }
3481
+ }
3482
+ ],
3483
+ "description": "Standard time offset of the zone for the given year: the smaller of the\r\nJanuary and July offsets (DST always moves clocks forward)."
3484
+ }
3485
+ ]
3486
+ }
3487
+ ],
3488
+ "exports": [
3489
+ {
3490
+ "kind": "js",
3491
+ "name": "DefaultLocaleDataProvider",
3492
+ "declaration": {
3493
+ "name": "DefaultLocaleDataProvider",
3494
+ "module": "src/model/DefaultLocaleDataProvider.ts"
3495
+ }
3496
+ }
3497
+ ]
3498
+ },
3499
+ {
3500
+ "kind": "javascript-module",
3501
+ "path": "src/model/ILocaleDataProvider.ts",
3502
+ "declarations": [],
3503
+ "exports": []
3504
+ },
3505
+ {
3506
+ "kind": "javascript-module",
3507
+ "path": "src/model/IResolutionBlockFiller.ts",
3508
+ "declarations": [],
3509
+ "exports": []
3510
+ },
3511
+ {
3512
+ "kind": "javascript-module",
3513
+ "path": "src/model/IResolutionBlockRegisterer.ts",
3514
+ "declarations": [],
3515
+ "exports": []
3516
+ },
3517
+ {
3518
+ "kind": "javascript-module",
3519
+ "path": "src/model/Resolution.ts",
3520
+ "declarations": [],
3521
+ "exports": []
3522
+ },
3523
+ {
3524
+ "kind": "javascript-module",
3525
+ "path": "src/model/Weekday.ts",
3526
+ "declarations": [],
3527
+ "exports": []
3528
+ },
3529
+ {
3530
+ "kind": "javascript-module",
3531
+ "path": "src/util/dateTimeUtil.ts",
3532
+ "declarations": [
3533
+ {
3534
+ "kind": "class",
3535
+ "description": "",
3536
+ "name": "DateTimeConstants",
3537
+ "members": [
3538
+ {
3539
+ "kind": "field",
3540
+ "name": "DAYS_IN_WEEK",
3541
+ "type": {
3542
+ "text": "number"
3543
+ },
3544
+ "static": true,
3545
+ "readonly": true,
3546
+ "default": "7"
3547
+ },
3548
+ {
3549
+ "kind": "field",
3550
+ "name": "HOURS_IN_DAY",
3551
+ "type": {
3552
+ "text": "number"
3553
+ },
3554
+ "static": true,
3555
+ "readonly": true,
3556
+ "default": "24"
3557
+ },
3558
+ {
3559
+ "kind": "field",
3560
+ "name": "DAY_INTERVAL",
3561
+ "type": {
3562
+ "text": "number"
3563
+ },
3564
+ "static": true,
3565
+ "readonly": true
3566
+ },
3567
+ {
3568
+ "kind": "field",
3569
+ "name": "HOUR_INTERVAL",
3570
+ "type": {
3571
+ "text": "number"
3572
+ },
3573
+ "static": true,
3574
+ "readonly": true
3575
+ }
3576
+ ]
3577
+ },
3578
+ {
3579
+ "kind": "function",
3580
+ "name": "atEndOfDay",
3581
+ "return": {
3582
+ "type": {
3583
+ "text": "Date"
3584
+ }
3585
+ },
3586
+ "parameters": [
3587
+ {
3588
+ "name": "date",
3589
+ "type": {
3590
+ "text": "Date"
3591
+ }
3592
+ }
3593
+ ]
3594
+ },
3595
+ {
3596
+ "kind": "function",
3597
+ "name": "atStartOfDay",
3598
+ "return": {
3599
+ "type": {
3600
+ "text": "Date"
3601
+ }
3602
+ },
3603
+ "parameters": [
3604
+ {
3605
+ "name": "date",
3606
+ "type": {
3607
+ "text": "Date"
3608
+ }
3609
+ }
3610
+ ]
3611
+ },
3612
+ {
3613
+ "kind": "function",
3614
+ "name": "atEndOfHour",
3615
+ "return": {
3616
+ "type": {
3617
+ "text": "Date"
3618
+ }
3619
+ },
3620
+ "parameters": [
3621
+ {
3622
+ "name": "date",
3623
+ "type": {
3624
+ "text": "Date"
3625
+ }
3626
+ }
3627
+ ]
3628
+ },
3629
+ {
3630
+ "kind": "function",
3631
+ "name": "atStartOfHour",
3632
+ "return": {
3633
+ "type": {
3634
+ "text": "Date"
3635
+ }
3636
+ },
3637
+ "parameters": [
3638
+ {
3639
+ "name": "date",
3640
+ "type": {
3641
+ "text": "Date"
3642
+ }
3643
+ }
3644
+ ]
3645
+ },
3646
+ {
3647
+ "kind": "function",
3648
+ "name": "toNormalDate",
3649
+ "return": {
3650
+ "type": {
3651
+ "text": "Date"
3652
+ }
3653
+ },
3654
+ "parameters": [
3655
+ {
3656
+ "name": "zonedDate",
3657
+ "type": {
3658
+ "text": "Date"
3659
+ }
3660
+ },
3661
+ {
3662
+ "name": "adjustment",
3663
+ "type": {
3664
+ "text": "number"
3665
+ },
3666
+ "description": "DST adjustment at zonedDate, see ILocaleDataProvider#getDaylightAdjustment."
3667
+ }
3668
+ ],
3669
+ "description": "Clears the daylight saving time adjustment from the given time: adds the DST\r\namount so that differences between \"normal\" dates are wall-clock\r\ndifferences (a DST switch day counts as 24 hours)."
3670
+ },
3671
+ {
3672
+ "kind": "function",
3673
+ "name": "adjustToMiddleOfDay",
3674
+ "return": {
3675
+ "type": {
3676
+ "text": "Date"
3677
+ }
3678
+ },
3679
+ "parameters": [
3680
+ {
3681
+ "name": "zonedDate",
3682
+ "type": {
3683
+ "text": "Date"
3684
+ }
3685
+ },
3686
+ {
3687
+ "name": "timeZone",
3688
+ "type": {
3689
+ "text": "string"
3690
+ }
3691
+ }
3692
+ ],
3693
+ "description": "Returns 12:00 (wall-clock) on the same calendar day in the given time zone."
3694
+ }
3695
+ ],
3696
+ "exports": [
3697
+ {
3698
+ "kind": "js",
3699
+ "name": "DateTimeConstants",
3700
+ "declaration": {
3701
+ "name": "DateTimeConstants",
3702
+ "module": "src/util/dateTimeUtil.ts"
3703
+ }
3704
+ },
3705
+ {
3706
+ "kind": "js",
3707
+ "name": "atEndOfDay",
3708
+ "declaration": {
3709
+ "name": "atEndOfDay",
3710
+ "module": "src/util/dateTimeUtil.ts"
3711
+ }
3712
+ },
3713
+ {
3714
+ "kind": "js",
3715
+ "name": "atStartOfDay",
3716
+ "declaration": {
3717
+ "name": "atStartOfDay",
3718
+ "module": "src/util/dateTimeUtil.ts"
3719
+ }
3720
+ },
3721
+ {
3722
+ "kind": "js",
3723
+ "name": "atEndOfHour",
3724
+ "declaration": {
3725
+ "name": "atEndOfHour",
3726
+ "module": "src/util/dateTimeUtil.ts"
3727
+ }
3728
+ },
3729
+ {
3730
+ "kind": "js",
3731
+ "name": "atStartOfHour",
3732
+ "declaration": {
3733
+ "name": "atStartOfHour",
3734
+ "module": "src/util/dateTimeUtil.ts"
3735
+ }
3736
+ },
3737
+ {
3738
+ "kind": "js",
3739
+ "name": "toNormalDate",
3740
+ "declaration": {
3741
+ "name": "toNormalDate",
3742
+ "module": "src/util/dateTimeUtil.ts"
3743
+ }
3744
+ },
3745
+ {
3746
+ "kind": "js",
3747
+ "name": "adjustToMiddleOfDay",
3748
+ "declaration": {
3749
+ "name": "adjustToMiddleOfDay",
3750
+ "module": "src/util/dateTimeUtil.ts"
3751
+ }
3752
+ }
3753
+ ]
3754
+ },
3755
+ {
3756
+ "kind": "javascript-module",
3757
+ "path": "src/util/elementUtil.ts",
3758
+ "declarations": [
3759
+ {
3760
+ "kind": "function",
3761
+ "name": "getWidth",
3762
+ "return": {
3763
+ "type": {
3764
+ "text": "number"
3765
+ }
3766
+ },
3767
+ "parameters": [
3768
+ {
3769
+ "name": "element",
3770
+ "type": {
3771
+ "text": "HTMLElement"
3772
+ }
3773
+ }
3774
+ ]
3775
+ },
3776
+ {
3777
+ "kind": "function",
3778
+ "name": "getHeight",
3779
+ "return": {
3780
+ "type": {
3781
+ "text": "number"
3782
+ }
3783
+ },
3784
+ "parameters": [
3785
+ {
3786
+ "name": "element",
3787
+ "type": {
3788
+ "text": "HTMLElement"
3789
+ }
3790
+ }
3791
+ ]
3792
+ },
3793
+ {
3794
+ "kind": "function",
3795
+ "name": "getRight",
3796
+ "return": {
3797
+ "type": {
3798
+ "text": "number"
3799
+ }
3800
+ },
3801
+ "parameters": [
3802
+ {
3803
+ "name": "element",
3804
+ "type": {
3805
+ "text": "HTMLElement"
3806
+ }
3807
+ }
3808
+ ]
3809
+ },
3810
+ {
3811
+ "kind": "function",
3812
+ "name": "getLeft",
3813
+ "return": {
3814
+ "type": {
3815
+ "text": "number"
3816
+ }
3817
+ },
3818
+ "parameters": [
3819
+ {
3820
+ "name": "element",
3821
+ "type": {
3822
+ "text": "HTMLElement"
3823
+ }
3824
+ }
3825
+ ]
3826
+ }
3827
+ ],
3828
+ "exports": [
3829
+ {
3830
+ "kind": "js",
3831
+ "name": "getWidth",
3832
+ "declaration": {
3833
+ "name": "getWidth",
3834
+ "module": "src/util/elementUtil.ts"
3835
+ }
3836
+ },
3837
+ {
3838
+ "kind": "js",
3839
+ "name": "getHeight",
3840
+ "declaration": {
3841
+ "name": "getHeight",
3842
+ "module": "src/util/elementUtil.ts"
3843
+ }
3844
+ },
3845
+ {
3846
+ "kind": "js",
3847
+ "name": "getRight",
3848
+ "declaration": {
3849
+ "name": "getRight",
3850
+ "module": "src/util/elementUtil.ts"
3851
+ }
3852
+ },
3853
+ {
3854
+ "kind": "js",
3855
+ "name": "getLeft",
3856
+ "declaration": {
3857
+ "name": "getLeft",
3858
+ "module": "src/util/elementUtil.ts"
3859
+ }
3860
+ }
3861
+ ]
3862
+ },
3863
+ {
3864
+ "kind": "javascript-module",
3865
+ "path": "src/util/zonedTime.ts",
3866
+ "declarations": [
3867
+ {
3868
+ "kind": "function",
3869
+ "name": "getZonedFields",
3870
+ "return": {
3871
+ "type": {
3872
+ "text": "ZonedFields"
3873
+ }
3874
+ },
3875
+ "parameters": [
3876
+ {
3877
+ "name": "instant",
3878
+ "type": {
3879
+ "text": "Date"
3880
+ }
3881
+ },
3882
+ {
3883
+ "name": "timeZone",
3884
+ "type": {
3885
+ "text": "string"
3886
+ }
3887
+ }
3888
+ ],
3889
+ "description": "Wall-clock fields and UTC offset of an instant in the given IANA time zone."
3890
+ },
3891
+ {
3892
+ "kind": "function",
3893
+ "name": "getOffsetMs",
3894
+ "return": {
3895
+ "type": {
3896
+ "text": "number"
3897
+ }
3898
+ },
3899
+ "parameters": [
3900
+ {
3901
+ "name": "instant",
3902
+ "type": {
3903
+ "text": "Date"
3904
+ }
3905
+ },
3906
+ {
3907
+ "name": "timeZone",
3908
+ "type": {
3909
+ "text": "string"
3910
+ }
3911
+ }
3912
+ ],
3913
+ "description": "UTC offset in milliseconds of the instant in the given time zone."
3914
+ },
3915
+ {
3916
+ "kind": "function",
3917
+ "name": "wallClockMs",
3918
+ "return": {
3919
+ "type": {
3920
+ "text": "number"
3921
+ }
3922
+ },
3923
+ "parameters": [
3924
+ {
3925
+ "name": "instant",
3926
+ "type": {
3927
+ "text": "Date"
3928
+ }
3929
+ },
3930
+ {
3931
+ "name": "timeZone",
3932
+ "type": {
3933
+ "text": "string"
3934
+ }
3935
+ }
3936
+ ],
3937
+ "description": "Wall-clock time as \"linear\" milliseconds: the instant shifted by its UTC\r\noffset. Differences between two such values are wall-clock differences\r\n(a DST switch day is 24h long, not 23h or 25h)."
3938
+ },
3939
+ {
3940
+ "kind": "function",
3941
+ "name": "zonedWallTimeToInstant",
3942
+ "return": {
3943
+ "type": {
3944
+ "text": "Date"
3945
+ }
3946
+ },
3947
+ "parameters": [
3948
+ {
3949
+ "name": "wall",
3950
+ "type": {
3951
+ "text": "WallTime"
3952
+ }
3953
+ },
3954
+ {
3955
+ "name": "timeZone",
3956
+ "type": {
3957
+ "text": "string"
3958
+ }
3959
+ },
3960
+ {
3961
+ "name": "disambiguation",
3962
+ "default": "'compatible'",
3963
+ "type": {
3964
+ "text": "Disambiguation"
3965
+ }
3966
+ }
3967
+ ],
3968
+ "description": "Converts a wall-clock time in the given time zone to an instant.\r\n\r\nWith the default 'compatible' disambiguation a repeated wall time (DST ends)\r\nresolves to the earlier instant, and a skipped wall time (DST starts) is\r\nmoved forward by the length of the gap; this matches Temporal and\r\njava.time."
3969
+ },
3970
+ {
3971
+ "kind": "function",
3972
+ "name": "addDaysInZone",
3973
+ "return": {
3974
+ "type": {
3975
+ "text": "Date"
3976
+ }
3977
+ },
3978
+ "parameters": [
3979
+ {
3980
+ "name": "instant",
3981
+ "type": {
3982
+ "text": "Date"
3983
+ }
3984
+ },
3985
+ {
3986
+ "name": "days",
3987
+ "type": {
3988
+ "text": "number"
3989
+ }
3990
+ },
3991
+ {
3992
+ "name": "timeZone",
3993
+ "type": {
3994
+ "text": "string"
3995
+ }
3996
+ }
3997
+ ],
3998
+ "description": "Adds calendar days keeping the wall-clock time, like\r\nTemporal.ZonedDateTime#add({ days }). Across a DST switch the result is\r\n23 or 25 hours away, not 24."
3999
+ },
4000
+ {
4001
+ "kind": "function",
4002
+ "name": "isoWeekOfYear",
4003
+ "return": {
4004
+ "type": {
4005
+ "text": "number"
4006
+ }
4007
+ },
4008
+ "parameters": [
4009
+ {
4010
+ "name": "year",
4011
+ "type": {
4012
+ "text": "number"
4013
+ }
4014
+ },
4015
+ {
4016
+ "name": "month",
4017
+ "type": {
4018
+ "text": "number"
4019
+ }
4020
+ },
4021
+ {
4022
+ "name": "day",
4023
+ "type": {
4024
+ "text": "number"
4025
+ }
4026
+ }
4027
+ ],
4028
+ "description": "ISO 8601 week number (1-53) of a calendar date, like\r\nTemporal.PlainDate#weekOfYear. Weeks start on Monday and week 1 is the week\r\ncontaining the year's first Thursday, so early January can be week 52/53\r\nand late December week 1."
4029
+ },
4030
+ {
4031
+ "kind": "function",
4032
+ "name": "parseWallTime",
4033
+ "return": {
4034
+ "type": {
4035
+ "text": "WallTime"
4036
+ }
4037
+ },
4038
+ "parameters": [
4039
+ {
4040
+ "name": "value",
4041
+ "type": {
4042
+ "text": "string"
4043
+ }
4044
+ }
4045
+ ],
4046
+ "description": "Parses an ISO 8601 local date-time without offset: \"2020-04-01\",\r\n\"2020-04-01T08\", \"2020-04-01T08:30\", \"2020-04-01T08:30:15.250\"."
4047
+ },
4048
+ {
4049
+ "kind": "function",
4050
+ "name": "formatInZone",
4051
+ "return": {
4052
+ "type": {
4053
+ "text": "string"
4054
+ }
4055
+ },
4056
+ "parameters": [
4057
+ {
4058
+ "name": "instant",
4059
+ "type": {
4060
+ "text": "Date"
4061
+ }
4062
+ },
4063
+ {
4064
+ "name": "timeZone",
4065
+ "type": {
4066
+ "text": "string"
4067
+ }
4068
+ },
4069
+ {
4070
+ "name": "pattern",
4071
+ "type": {
4072
+ "text": "string"
4073
+ }
4074
+ }
4075
+ ],
4076
+ "description": "Formats an instant in the given time zone with a subset of the Unicode\r\n(date-fns compatible) pattern tokens:\r\n\r\nyyyy yy y · MMMM MMM MM M · dd d · EEEE EEE · HH H · hh h · a · mm m · ss s\r\n· SSS · xxx xx x · 'quoted text'\r\n\r\nMonth and weekday names are English. Unsupported letters throw a RangeError\r\ninstead of silently producing wrong output."
4077
+ }
4078
+ ],
4079
+ "exports": [
4080
+ {
4081
+ "kind": "js",
4082
+ "name": "getZonedFields",
4083
+ "declaration": {
4084
+ "name": "getZonedFields",
4085
+ "module": "src/util/zonedTime.ts"
4086
+ }
4087
+ },
4088
+ {
4089
+ "kind": "js",
4090
+ "name": "getOffsetMs",
4091
+ "declaration": {
4092
+ "name": "getOffsetMs",
4093
+ "module": "src/util/zonedTime.ts"
4094
+ }
4095
+ },
4096
+ {
4097
+ "kind": "js",
4098
+ "name": "wallClockMs",
4099
+ "declaration": {
4100
+ "name": "wallClockMs",
4101
+ "module": "src/util/zonedTime.ts"
4102
+ }
4103
+ },
4104
+ {
4105
+ "kind": "js",
4106
+ "name": "zonedWallTimeToInstant",
4107
+ "declaration": {
4108
+ "name": "zonedWallTimeToInstant",
4109
+ "module": "src/util/zonedTime.ts"
4110
+ }
4111
+ },
4112
+ {
4113
+ "kind": "js",
4114
+ "name": "addDaysInZone",
4115
+ "declaration": {
4116
+ "name": "addDaysInZone",
4117
+ "module": "src/util/zonedTime.ts"
4118
+ }
4119
+ },
4120
+ {
4121
+ "kind": "js",
4122
+ "name": "isoWeekOfYear",
4123
+ "declaration": {
4124
+ "name": "isoWeekOfYear",
4125
+ "module": "src/util/zonedTime.ts"
4126
+ }
4127
+ },
4128
+ {
4129
+ "kind": "js",
4130
+ "name": "parseWallTime",
4131
+ "declaration": {
4132
+ "name": "parseWallTime",
4133
+ "module": "src/util/zonedTime.ts"
4134
+ }
4135
+ },
4136
+ {
4137
+ "kind": "js",
4138
+ "name": "formatInZone",
4139
+ "declaration": {
4140
+ "name": "formatInZone",
4141
+ "module": "src/util/zonedTime.ts"
4142
+ }
4143
+ }
4144
+ ]
4145
+ }
4146
+ ]
4147
+ }