tltv-timeline-element 1.0.24 → 1.0.26

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