@docsvision/material-ui-pickers 3.2.0-beta.24 → 3.2.0-beta.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 (150) hide show
  1. package/.size-snapshot.json +11 -11
  2. package/9db1cba1a61cb58db53f38425bbd1f95.7z +0 -0
  3. package/build/DatePicker/DatePicker.d.ts +2 -2
  4. package/build/DatePicker/DatePicker.js +1 -1
  5. package/build/DateTimePicker/DateTimePicker.js +1 -1
  6. package/build/Picker/Picker.js +1 -1
  7. package/build/TimePicker/TimePicker.js +1 -1
  8. package/build/_helpers/text-field-helper.d.ts +1 -1
  9. package/build/_shared/KeyboardDateInput.js +1 -1
  10. package/build/_shared/ModalDialog.d.ts +2 -2
  11. package/build/_shared/PureDateInput.js +1 -1
  12. package/build/_shared/ToolbarButton.d.ts +2 -2
  13. package/build/_shared/hooks/useKeyboardPickerState.js +2 -2
  14. package/build/constants/prop-types.js +2 -2
  15. package/build/dist/material-ui-pickers.esm.js +12 -12
  16. package/build/dist/material-ui-pickers.esm.js.map +1 -1
  17. package/build/dist/material-ui-pickers.js +62 -62
  18. package/build/dist/material-ui-pickers.js.map +1 -1
  19. package/build/dist/material-ui-pickers.umd.js +5790 -4511
  20. package/build/dist/material-ui-pickers.umd.min.js +1 -1
  21. package/build/package.json +1 -1
  22. package/build/views/Calendar/Calendar.js +2 -2
  23. package/build/views/Clock/Clock.d.ts +1 -1
  24. package/build/views/Clock/ClockPointer.d.ts +1 -1
  25. package/package.json +1 -1
  26. package/src/DatePicker/DatePicker.tsx +91 -0
  27. package/src/DatePicker/DatePickerToolbar.tsx +75 -0
  28. package/src/DatePicker/index.ts +7 -0
  29. package/src/DateTimePicker/DateTimePicker.tsx +72 -0
  30. package/src/DateTimePicker/DateTimePickerTabs.tsx +86 -0
  31. package/src/DateTimePicker/DateTimePickerToolbar.tsx +123 -0
  32. package/src/DateTimePicker/index.ts +7 -0
  33. package/src/MuiPickersUtilsProvider.tsx +39 -0
  34. package/src/Picker/Picker.tsx +275 -0
  35. package/src/Picker/WrappedKeyboardPicker.tsx +136 -0
  36. package/src/Picker/WrappedPurePicker.tsx +128 -0
  37. package/src/Rifm/Rifm.ts +213 -0
  38. package/src/TimePicker/TimePicker.tsx +67 -0
  39. package/src/TimePicker/TimePickerToolbar.tsx +180 -0
  40. package/src/TimePicker/index.tsx +7 -0
  41. package/src/__tests__/DatePicker/Calendar.test.tsx +51 -0
  42. package/src/__tests__/DatePicker/Month.test.tsx +36 -0
  43. package/src/__tests__/DatePicker/MonthSelection.test.tsx +37 -0
  44. package/src/__tests__/MuiPickersUtilsProvider.test.tsx +21 -0
  45. package/src/__tests__/TimePicker/Clock.test.tsx +68 -0
  46. package/src/__tests__/_helpers/date-utils.test.tsx +197 -0
  47. package/src/__tests__/_helpers/text-field-helper.test.tsx +34 -0
  48. package/src/__tests__/_shared/ModalDialog.test.tsx +109 -0
  49. package/src/__tests__/e2e/DatePicker.test.tsx +233 -0
  50. package/src/__tests__/e2e/DatePickerProps.test.tsx +18 -0
  51. package/src/__tests__/e2e/DatePickerRoot.test.tsx +154 -0
  52. package/src/__tests__/e2e/DateTimePicker.test.tsx +86 -0
  53. package/src/__tests__/e2e/DateTimePickerRoot.test.tsx +72 -0
  54. package/src/__tests__/e2e/KeyboardDatePicker.test.tsx +140 -0
  55. package/src/__tests__/e2e/KeyboardDateTimePicker.test.tsx +48 -0
  56. package/src/__tests__/e2e/Theme.test.tsx +30 -0
  57. package/src/__tests__/e2e/TimePicker.test.tsx +121 -0
  58. package/src/__tests__/e2e/commands.tsx +8 -0
  59. package/src/__tests__/setup.js +26 -0
  60. package/src/__tests__/test-utils.tsx +45 -0
  61. package/src/__tests__/tsconfig.json +5 -0
  62. package/src/_helpers/date-utils.ts +92 -0
  63. package/src/_helpers/text-field-helper.ts +239 -0
  64. package/src/_helpers/time-utils.ts +83 -0
  65. package/src/_helpers/utils.ts +8 -0
  66. package/src/_shared/KeyboardDateInput.tsx +161 -0
  67. package/src/_shared/ModalDialog.tsx +114 -0
  68. package/src/_shared/PickerToolbar.tsx +52 -0
  69. package/src/_shared/PureDateInput.tsx +45 -0
  70. package/src/_shared/ToolbarButton.tsx +63 -0
  71. package/src/_shared/ToolbarText.tsx +49 -0
  72. package/src/_shared/WithUtils.tsx +19 -0
  73. package/src/_shared/hooks/useIsLandscape.tsx +27 -0
  74. package/src/_shared/hooks/useKeyDown.ts +34 -0
  75. package/src/_shared/hooks/useKeyboardPickerState.ts +72 -0
  76. package/src/_shared/hooks/useOpenState.ts +22 -0
  77. package/src/_shared/hooks/usePickerState.ts +134 -0
  78. package/src/_shared/hooks/useUtils.ts +20 -0
  79. package/src/_shared/hooks/useViews.tsx +31 -0
  80. package/src/_shared/icons/ArrowLeftIcon.tsx +11 -0
  81. package/src/_shared/icons/ArrowRightIcon.tsx +11 -0
  82. package/src/_shared/icons/DateRangeIcon.tsx +11 -0
  83. package/src/_shared/icons/KeyboardIcon.tsx +11 -0
  84. package/src/_shared/icons/TimeIcon.tsx +12 -0
  85. package/src/constants/ClockType.ts +11 -0
  86. package/src/constants/dimensions.ts +5 -0
  87. package/src/constants/prop-types.ts +37 -0
  88. package/src/index.ts +48 -0
  89. package/src/typings/BasePicker.tsx +60 -0
  90. package/src/typings/date.ts +3 -0
  91. package/src/typings/extendMui.ts +10 -0
  92. package/src/typings/overrides.ts +44 -0
  93. package/src/views/Calendar/Calendar.tsx +361 -0
  94. package/src/views/Calendar/CalendarHeader.tsx +141 -0
  95. package/src/views/Calendar/Day.tsx +97 -0
  96. package/src/views/Calendar/DayWrapper.tsx +33 -0
  97. package/src/views/Calendar/SlideTransition.tsx +100 -0
  98. package/src/views/Clock/Clock.tsx +172 -0
  99. package/src/views/Clock/ClockNumber.tsx +91 -0
  100. package/src/views/Clock/ClockNumbers.tsx +76 -0
  101. package/src/views/Clock/ClockPointer.tsx +104 -0
  102. package/src/views/Clock/ClockView.tsx +105 -0
  103. package/src/views/Month/Month.tsx +76 -0
  104. package/src/views/Month/MonthView.tsx +94 -0
  105. package/src/views/Year/Year.tsx +77 -0
  106. package/src/views/Year/YearView.tsx +91 -0
  107. package/src/wrappers/InlineWrapper.tsx +80 -0
  108. package/src/wrappers/ModalWrapper.tsx +113 -0
  109. package/src/wrappers/StaticWrapper.tsx +22 -0
  110. package/src/wrappers/Wrapper.tsx +75 -0
  111. package/coverage/clover.xml +0 -601
  112. package/coverage/coverage-final.json +0 -22
  113. package/coverage/lcov-report/base.css +0 -224
  114. package/coverage/lcov-report/block-navigation.js +0 -79
  115. package/coverage/lcov-report/index.html +0 -201
  116. package/coverage/lcov-report/prettify.css +0 -1
  117. package/coverage/lcov-report/prettify.js +0 -2
  118. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  119. package/coverage/lcov-report/sorter.js +0 -170
  120. package/coverage/lcov-report/src/MuiPickersUtilsProvider.tsx.html +0 -186
  121. package/coverage/lcov-report/src/_helpers/date-utils.ts.html +0 -345
  122. package/coverage/lcov-report/src/_helpers/index.html +0 -123
  123. package/coverage/lcov-report/src/_helpers/time-utils.ts.html +0 -318
  124. package/coverage/lcov-report/src/_helpers/utils.ts.html +0 -93
  125. package/coverage/lcov-report/src/_shared/ModalDialog.tsx.html +0 -411
  126. package/coverage/lcov-report/src/_shared/WithUtils.tsx.html +0 -126
  127. package/coverage/lcov-report/src/_shared/hooks/index.html +0 -110
  128. package/coverage/lcov-report/src/_shared/hooks/useKeyDown.ts.html +0 -171
  129. package/coverage/lcov-report/src/_shared/hooks/useUtils.ts.html +0 -129
  130. package/coverage/lcov-report/src/_shared/icons/ArrowLeftIcon.tsx.html +0 -102
  131. package/coverage/lcov-report/src/_shared/icons/ArrowRightIcon.tsx.html +0 -102
  132. package/coverage/lcov-report/src/_shared/icons/index.html +0 -110
  133. package/coverage/lcov-report/src/_shared/index.html +0 -110
  134. package/coverage/lcov-report/src/constants/ClockType.ts.html +0 -102
  135. package/coverage/lcov-report/src/constants/dimensions.ts.html +0 -84
  136. package/coverage/lcov-report/src/constants/index.html +0 -110
  137. package/coverage/lcov-report/src/index.html +0 -97
  138. package/coverage/lcov-report/src/views/Calendar/Calendar.tsx.html +0 -1152
  139. package/coverage/lcov-report/src/views/Calendar/CalendarHeader.tsx.html +0 -492
  140. package/coverage/lcov-report/src/views/Calendar/Day.tsx.html +0 -360
  141. package/coverage/lcov-report/src/views/Calendar/DayWrapper.tsx.html +0 -168
  142. package/coverage/lcov-report/src/views/Calendar/SlideTransition.tsx.html +0 -369
  143. package/coverage/lcov-report/src/views/Calendar/index.html +0 -149
  144. package/coverage/lcov-report/src/views/Clock/Clock.tsx.html +0 -585
  145. package/coverage/lcov-report/src/views/Clock/ClockPointer.tsx.html +0 -381
  146. package/coverage/lcov-report/src/views/Clock/index.html +0 -110
  147. package/coverage/lcov-report/src/views/Month/Month.tsx.html +0 -297
  148. package/coverage/lcov-report/src/views/Month/MonthView.tsx.html +0 -351
  149. package/coverage/lcov-report/src/views/Month/index.html +0 -110
  150. package/coverage/lcov.info +0 -1094
@@ -1,601 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1667884397096" clover="3.2.0">
3
- <project timestamp="1667884397096" name="All files">
4
- <metrics statements="505" coveredstatements="367" conditionals="220" coveredconditionals="111" methods="90" coveredmethods="41" elements="815" coveredelements="519" complexity="0" loc="505" ncloc="505" packages="9" files="21" classes="21"/>
5
- <package name="src">
6
- <metrics statements="12" coveredstatements="12" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
7
- <file name="MuiPickersUtilsProvider.tsx" path="C:\Git\material-ui-pickers_dev\lib\src\MuiPickersUtilsProvider.tsx">
8
- <metrics statements="12" coveredstatements="12" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
9
- <line num="1" count="7" type="stmt"/>
10
- <line num="2" count="7" type="stmt"/>
11
- <line num="6" count="7" type="stmt"/>
12
- <line num="15" count="7" type="stmt"/>
13
- <line num="16" count="2" type="stmt"/>
14
- <line num="17" count="2" type="stmt"/>
15
- <line num="18" count="2" type="stmt"/>
16
- <line num="19" count="2" type="stmt"/>
17
- <line num="21" count="2" type="stmt"/>
18
- <line num="27" count="2" type="stmt"/>
19
- <line num="30" count="7" type="stmt"/>
20
- <line num="39" count="7" type="stmt"/>
21
- </file>
22
- </package>
23
- <package name="src._helpers">
24
- <metrics statements="90" coveredstatements="65" conditionals="63" coveredconditionals="33" methods="12" coveredmethods="4"/>
25
- <file name="date-utils.ts" path="C:\Git\material-ui-pickers_dev\lib\src\_helpers\date-utils.ts">
26
- <metrics statements="47" coveredstatements="40" conditionals="41" coveredconditionals="31" methods="4" coveredmethods="1"/>
27
- <line num="1" count="2" type="stmt"/>
28
- <line num="16" count="2" type="stmt"/>
29
- <line num="17" count="14" type="stmt"/>
30
- <line num="18" count="14" type="stmt"/>
31
- <line num="19" count="14" type="stmt"/>
32
- <line num="20" count="14" type="stmt"/>
33
- <line num="21" count="14" type="stmt"/>
34
- <line num="22" count="14" type="stmt"/>
35
- <line num="23" count="14" type="stmt"/>
36
- <line num="25" count="14" type="stmt"/>
37
- <line num="27" count="14" type="cond" truecount="4" falsecount="0"/>
38
- <line num="28" count="3" type="stmt"/>
39
- <line num="31" count="14" type="cond" truecount="4" falsecount="0"/>
40
- <line num="32" count="3" type="stmt"/>
41
- <line num="35" count="14" type="stmt"/>
42
- <line num="36" count="14" type="stmt"/>
43
- <line num="37" count="14" type="cond" truecount="2" falsecount="0"/>
44
- <line num="38" count="6" type="stmt"/>
45
- <line num="39" count="6" type="stmt"/>
46
- <line num="42" count="14" type="cond" truecount="2" falsecount="0"/>
47
- <line num="43" count="4" type="cond" truecount="1" falsecount="1"/>
48
- <line num="44" count="4" type="stmt"/>
49
- <line num="47" count="4" type="stmt"/>
50
- <line num="50" count="14" type="cond" truecount="2" falsecount="0"/>
51
- <line num="51" count="482" type="cond" truecount="4" falsecount="0"/>
52
- <line num="52" count="2" type="stmt"/>
53
- <line num="54" count="482" type="cond" truecount="4" falsecount="0"/>
54
- <line num="55" count="2" type="stmt"/>
55
- <line num="58" count="482" type="cond" truecount="2" falsecount="0"/>
56
- <line num="59" count="425" type="cond" truecount="2" falsecount="0"/>
57
- <line num="60" count="7" type="stmt"/>
58
- <line num="62" count="418" type="stmt"/>
59
- <line num="65" count="475" type="cond" truecount="2" falsecount="0"/>
60
- <line num="66" count="443" type="cond" truecount="2" falsecount="0"/>
61
- <line num="67" count="4" type="stmt"/>
62
- <line num="69" count="439" type="stmt"/>
63
- <line num="73" count="3" type="stmt"/>
64
- <line num="76" count="2" type="stmt"/>
65
- <line num="77" count="0" type="cond" truecount="0" falsecount="2"/>
66
- <line num="79" count="2" type="stmt"/>
67
- <line num="80" count="0" type="cond" truecount="0" falsecount="3"/>
68
- <line num="82" count="2" type="stmt"/>
69
- <line num="83" count="0" type="cond" truecount="0" falsecount="2"/>
70
- <line num="84" count="0" type="stmt"/>
71
- <line num="87" count="0" type="cond" truecount="0" falsecount="2"/>
72
- <line num="88" count="0" type="stmt"/>
73
- <line num="91" count="0" type="stmt"/>
74
- </file>
75
- <file name="time-utils.ts" path="C:\Git\material-ui-pickers_dev\lib\src\_helpers\time-utils.ts">
76
- <metrics statements="39" coveredstatements="24" conditionals="20" coveredconditionals="2" methods="6" coveredmethods="3"/>
77
- <line num="4" count="1" type="stmt"/>
78
- <line num="9" count="1" type="stmt"/>
79
- <line num="14" count="1" type="stmt"/>
80
- <line num="15" count="1" type="stmt"/>
81
- <line num="17" count="3" type="stmt"/>
82
- <line num="19" count="1" type="stmt"/>
83
- <line num="20" count="3" type="stmt"/>
84
- <line num="21" count="3" type="stmt"/>
85
- <line num="23" count="3" type="stmt"/>
86
- <line num="25" count="3" type="stmt"/>
87
- <line num="26" count="3" type="stmt"/>
88
- <line num="27" count="3" type="stmt"/>
89
- <line num="29" count="3" type="cond" truecount="1" falsecount="1"/>
90
- <line num="30" count="3" type="stmt"/>
91
- <line num="31" count="3" type="stmt"/>
92
- <line num="33" count="3" type="stmt"/>
93
- <line num="36" count="1" type="stmt"/>
94
- <line num="37" count="0" type="stmt"/>
95
- <line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
96
- <line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
97
- <line num="41" count="0" type="cond" truecount="0" falsecount="2"/>
98
- <line num="42" count="0" type="stmt"/>
99
- <line num="43" count="0" type="stmt"/>
100
- <line num="46" count="0" type="stmt"/>
101
- <line num="49" count="0" type="stmt"/>
102
- <line num="52" count="3" type="cond" truecount="1" falsecount="1"/>
103
- <line num="53" count="3" type="stmt"/>
104
- <line num="54" count="3" type="stmt"/>
105
- <line num="55" count="3" type="stmt"/>
106
- <line num="57" count="3" type="stmt"/>
107
- <line num="60" count="1" type="stmt"/>
108
- <line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
109
- <line num="67" count="1" type="stmt"/>
110
- <line num="73" count="0" type="cond" truecount="0" falsecount="2"/>
111
- <line num="74" count="0" type="cond" truecount="0" falsecount="2"/>
112
- <line num="75" count="0" type="cond" truecount="0" falsecount="2"/>
113
- <line num="76" count="0" type="cond" truecount="0" falsecount="2"/>
114
- <line num="78" count="0" type="stmt"/>
115
- <line num="82" count="0" type="stmt"/>
116
- </file>
117
- <file name="utils.ts" path="C:\Git\material-ui-pickers_dev\lib\src\_helpers\utils.ts">
118
- <metrics statements="4" coveredstatements="1" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
119
- <line num="2" count="2" type="stmt"/>
120
- <line num="3" count="0" type="cond" truecount="0" falsecount="2"/>
121
- <line num="4" count="0" type="stmt"/>
122
- <line num="7" count="0" type="stmt"/>
123
- </file>
124
- </package>
125
- <package name="src._shared">
126
- <metrics statements="36" coveredstatements="34" conditionals="13" coveredconditionals="13" methods="4" coveredmethods="3"/>
127
- <file name="ModalDialog.tsx" path="C:\Git\material-ui-pickers_dev\lib\src\_shared\ModalDialog.tsx">
128
- <metrics statements="28" coveredstatements="28" conditionals="11" coveredconditionals="11" methods="1" coveredmethods="1"/>
129
- <line num="1" count="1" type="stmt"/>
130
- <line num="2" count="1" type="stmt"/>
131
- <line num="3" count="1" type="stmt"/>
132
- <line num="4" count="1" type="stmt"/>
133
- <line num="5" count="1" type="stmt"/>
134
- <line num="6" count="1" type="stmt"/>
135
- <line num="7" count="1" type="stmt"/>
136
- <line num="8" count="1" type="stmt"/>
137
- <line num="25" count="1" type="stmt"/>
138
- <line num="26" count="6" type="stmt"/>
139
- <line num="27" count="6" type="stmt"/>
140
- <line num="28" count="6" type="stmt"/>
141
- <line num="29" count="6" type="stmt"/>
142
- <line num="30" count="6" type="stmt"/>
143
- <line num="31" count="6" type="stmt"/>
144
- <line num="32" count="6" type="stmt"/>
145
- <line num="33" count="6" type="stmt"/>
146
- <line num="34" count="6" type="stmt"/>
147
- <line num="35" count="6" type="stmt"/>
148
- <line num="36" count="6" type="stmt"/>
149
- <line num="37" count="6" type="stmt"/>
150
- <line num="38" count="6" type="stmt"/>
151
- <line num="39" count="6" type="stmt"/>
152
- <line num="40" count="6" type="stmt"/>
153
- <line num="41" count="6" type="stmt"/>
154
- <line num="88" count="1" type="stmt"/>
155
- <line num="90" count="1" type="stmt"/>
156
- <line num="114" count="1" type="stmt"/>
157
- </file>
158
- <file name="WithUtils.tsx" path="C:\Git\material-ui-pickers_dev\lib\src\_shared\WithUtils.tsx">
159
- <metrics statements="8" coveredstatements="6" conditionals="2" coveredconditionals="2" methods="3" coveredmethods="2"/>
160
- <line num="1" count="1" type="stmt"/>
161
- <line num="3" count="1" type="stmt"/>
162
- <line num="11" count="1" type="stmt"/>
163
- <line num="12" count="1" type="stmt"/>
164
- <line num="13" count="0" type="stmt"/>
165
- <line num="14" count="0" type="stmt"/>
166
- <line num="17" count="1" type="cond" truecount="2" falsecount="0"/>
167
- <line num="18" count="1" type="stmt"/>
168
- </file>
169
- </package>
170
- <package name="src._shared.hooks">
171
- <metrics statements="27" coveredstatements="12" conditionals="8" coveredconditionals="2" methods="8" coveredmethods="2"/>
172
- <file name="useKeyDown.ts" path="C:\Git\material-ui-pickers_dev\lib\src\_shared\hooks\useKeyDown.ts">
173
- <metrics statements="18" coveredstatements="4" conditionals="6" coveredconditionals="1" methods="6" coveredmethods="0"/>
174
- <line num="1" count="1" type="stmt"/>
175
- <line num="3" count="1" type="stmt"/>
176
- <line num="8" count="1" type="stmt"/>
177
- <line num="9" count="0" type="stmt"/>
178
- <line num="10" count="0" type="cond" truecount="0" falsecount="2"/>
179
- <line num="11" count="0" type="stmt"/>
180
- <line num="13" count="0" type="stmt"/>
181
- <line num="17" count="1" type="stmt"/>
182
- <line num="18" count="0" type="stmt"/>
183
- <line num="19" count="0" type="stmt"/>
184
- <line num="20" count="0" type="stmt"/>
185
- <line num="23" count="0" type="stmt"/>
186
- <line num="24" count="0" type="cond" truecount="0" falsecount="2"/>
187
- <line num="25" count="0" type="stmt"/>
188
- <line num="26" count="0" type="stmt"/>
189
- <line num="28" count="0" type="stmt"/>
190
- <line num="29" count="0" type="stmt"/>
191
- <line num="30" count="0" type="stmt"/>
192
- </file>
193
- <file name="useUtils.ts" path="C:\Git\material-ui-pickers_dev\lib\src\_shared\hooks\useUtils.ts">
194
- <metrics statements="9" coveredstatements="8" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="2"/>
195
- <line num="1" count="2" type="stmt"/>
196
- <line num="4" count="2" type="stmt"/>
197
- <line num="6" count="2" type="stmt"/>
198
- <line num="7" count="1" type="cond" truecount="1" falsecount="1"/>
199
- <line num="9" count="0" type="stmt"/>
200
- <line num="15" count="2" type="stmt"/>
201
- <line num="16" count="1" type="stmt"/>
202
- <line num="17" count="1" type="stmt"/>
203
- <line num="19" count="1" type="stmt"/>
204
- </file>
205
- </package>
206
- <package name="src._shared.icons">
207
- <metrics statements="8" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
208
- <file name="ArrowLeftIcon.tsx" path="C:\Git\material-ui-pickers_dev\lib\src\_shared\icons\ArrowLeftIcon.tsx">
209
- <metrics statements="4" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
210
- <line num="1" count="1" type="stmt"/>
211
- <line num="2" count="1" type="stmt"/>
212
- <line num="4" count="1" type="stmt"/>
213
- <line num="5" count="0" type="stmt"/>
214
- </file>
215
- <file name="ArrowRightIcon.tsx" path="C:\Git\material-ui-pickers_dev\lib\src\_shared\icons\ArrowRightIcon.tsx">
216
- <metrics statements="4" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
217
- <line num="1" count="1" type="stmt"/>
218
- <line num="2" count="1" type="stmt"/>
219
- <line num="4" count="1" type="stmt"/>
220
- <line num="5" count="0" type="stmt"/>
221
- </file>
222
- </package>
223
- <package name="src.constants">
224
- <metrics statements="8" coveredstatements="8" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
225
- <file name="ClockType.ts" path="C:\Git\material-ui-pickers_dev\lib\src\constants\ClockType.ts">
226
- <metrics statements="5" coveredstatements="5" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
227
- <line num="1" count="1" type="cond" truecount="2" falsecount="0"/>
228
- <line num="2" count="1" type="stmt"/>
229
- <line num="4" count="1" type="stmt"/>
230
- <line num="6" count="1" type="stmt"/>
231
- <line num="11" count="1" type="stmt"/>
232
- </file>
233
- <file name="dimensions.ts" path="C:\Git\material-ui-pickers_dev\lib\src\constants\dimensions.ts">
234
- <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
235
- <line num="1" count="1" type="stmt"/>
236
- <line num="3" count="1" type="stmt"/>
237
- <line num="5" count="1" type="stmt"/>
238
- </file>
239
- </package>
240
- <package name="src.views.Calendar">
241
- <metrics statements="198" coveredstatements="127" conditionals="78" coveredconditionals="32" methods="39" coveredmethods="14"/>
242
- <file name="Calendar.tsx" path="C:\Git\material-ui-pickers_dev\lib\src\views\Calendar\Calendar.tsx">
243
- <metrics statements="114" coveredstatements="89" conditionals="60" coveredconditionals="32" methods="27" coveredmethods="14"/>
244
- <line num="1" count="1" type="stmt"/>
245
- <line num="2" count="1" type="stmt"/>
246
- <line num="3" count="1" type="stmt"/>
247
- <line num="4" count="1" type="stmt"/>
248
- <line num="5" count="1" type="stmt"/>
249
- <line num="6" count="1" type="stmt"/>
250
- <line num="7" count="1" type="stmt"/>
251
- <line num="10" count="1" type="stmt"/>
252
- <line num="12" count="1" type="stmt"/>
253
- <line num="13" count="1" type="stmt"/>
254
- <line num="14" count="1" type="stmt"/>
255
- <line num="76" count="1" type="stmt"/>
256
- <line num="77" count="0" type="stmt"/>
257
- <line num="78" count="0" type="stmt"/>
258
- <line num="79" count="0" type="stmt"/>
259
- <line num="80" count="0" type="stmt"/>
260
- <line num="84" count="0" type="stmt"/>
261
- <line num="87" count="2" type="cond" truecount="3" falsecount="0"/>
262
- <line num="88" count="1" type="stmt"/>
263
- <line num="94" count="1" type="stmt"/>
264
- <line num="102" count="1" type="stmt"/>
265
- <line num="103" count="6" type="stmt"/>
266
- <line num="105" count="3" type="cond" truecount="2" falsecount="0"/>
267
- <line num="106" count="2" type="stmt"/>
268
- <line num="107" count="2" type="cond" truecount="2" falsecount="0"/>
269
- <line num="108" count="2" type="stmt"/>
270
- <line num="110" count="2" type="stmt"/>
271
- <line num="122" count="1" type="stmt"/>
272
- <line num="125" count="2" type="stmt"/>
273
- <line num="131" count="1" type="stmt"/>
274
- <line num="132" count="2" type="stmt"/>
275
- <line num="134" count="2" type="cond" truecount="2" falsecount="0"/>
276
- <line num="135" count="1" type="stmt"/>
277
- <line num="145" count="1" type="stmt"/>
278
- <line num="149" count="2" type="stmt"/>
279
- <line num="150" count="0" type="stmt"/>
280
- <line num="151" count="0" type="stmt"/>
281
- <line num="154" count="2" type="stmt"/>
282
- <line num="155" count="0" type="stmt"/>
283
- <line num="156" count="0" type="cond" truecount="0" falsecount="2"/>
284
- <line num="157" count="0" type="stmt"/>
285
- <line num="160" count="2" type="stmt"/>
286
- <line num="161" count="1" type="stmt"/>
287
- <line num="163" count="1" type="cond" truecount="1" falsecount="1"/>
288
- <line num="164" count="1" type="stmt"/>
289
- <line num="165" count="1" type="cond" truecount="1" falsecount="1"/>
290
- <line num="166" count="0" type="stmt"/>
291
- <line num="167" count="0" type="stmt"/>
292
- <line num="168" count="0" type="stmt"/>
293
- <line num="174" count="2" type="stmt"/>
294
- <line num="175" count="108" type="stmt"/>
295
- <line num="176" count="108" type="stmt"/>
296
- <line num="177" count="108" type="stmt"/>
297
- <line num="179" count="108" type="stmt"/>
298
- <line num="187" count="2" type="stmt"/>
299
- <line num="188" count="3" type="stmt"/>
300
- <line num="190" count="3" type="stmt"/>
301
- <line num="191" count="3" type="stmt"/>
302
- <line num="195" count="3" type="stmt"/>
303
- <line num="198" count="2" type="stmt"/>
304
- <line num="199" count="3" type="stmt"/>
305
- <line num="201" count="3" type="stmt"/>
306
- <line num="202" count="3" type="stmt"/>
307
- <line num="206" count="3" type="stmt"/>
308
- <line num="209" count="2" type="stmt"/>
309
- <line num="210" count="108" type="stmt"/>
310
- <line num="212" count="108" type="cond" truecount="3" falsecount="1"/>
311
- <line num="215" count="2" type="cond" truecount="1" falsecount="1"/>
312
- <line num="216" count="1" type="stmt"/>
313
- <line num="218" count="1" type="stmt"/>
314
- <line num="221" count="2" type="stmt"/>
315
- <line num="222" count="0" type="stmt"/>
316
- <line num="224" count="0" type="cond" truecount="0" falsecount="4"/>
317
- <line num="225" count="0" type="cond" truecount="0" falsecount="2"/>
318
- <line num="226" count="0" type="stmt"/>
319
- <line num="229" count="0" type="stmt"/>
320
- <line num="233" count="2" type="stmt"/>
321
- <line num="234" count="0" type="stmt"/>
322
- <line num="236" count="0" type="stmt"/>
323
- <line num="237" count="0" type="stmt"/>
324
- <line num="238" count="0" type="stmt"/>
325
- <line num="239" count="0" type="cond" truecount="0" falsecount="2"/>
326
- <line num="240" count="0" type="cond" truecount="0" falsecount="2"/>
327
- <line num="244" count="2" type="stmt"/>
328
- <line num="245" count="3" type="stmt"/>
329
- <line num="246" count="3" type="stmt"/>
330
- <line num="248" count="15" type="stmt"/>
331
- <line num="255" count="2" type="stmt"/>
332
- <line num="256" count="15" type="stmt"/>
333
- <line num="258" count="15" type="stmt"/>
334
- <line num="259" count="15" type="stmt"/>
335
- <line num="260" count="15" type="stmt"/>
336
- <line num="262" count="15" type="stmt"/>
337
- <line num="263" count="105" type="stmt"/>
338
- <line num="264" count="105" type="stmt"/>
339
- <line num="267" count="105" type="stmt"/>
340
- <line num="277" count="105" type="cond" truecount="1" falsecount="1"/>
341
- <line num="278" count="0" type="stmt"/>
342
- <line num="281" count="105" type="stmt"/>
343
- <line num="295" count="1" type="stmt"/>
344
- <line num="296" count="3" type="stmt"/>
345
- <line num="298" count="3" type="stmt"/>
346
- <line num="299" count="3" type="stmt"/>
347
- <line num="300" count="3" type="stmt"/>
348
- <line num="301" count="3" type="stmt"/>
349
- <line num="302" count="3" type="stmt"/>
350
- <line num="303" count="3" type="stmt"/>
351
- <line num="304" count="3" type="stmt"/>
352
- <line num="305" count="3" type="stmt"/>
353
- <line num="306" count="3" type="cond" truecount="1" falsecount="1"/>
354
- <line num="308" count="3" type="stmt"/>
355
- <line num="338" count="1" type="stmt"/>
356
- <line num="340" count="1" type="stmt"/>
357
- <line num="358" count="1" type="stmt"/>
358
- </file>
359
- <file name="CalendarHeader.tsx" path="C:\Git\material-ui-pickers_dev\lib\src\views\Calendar\CalendarHeader.tsx">
360
- <metrics statements="33" coveredstatements="15" conditionals="4" coveredconditionals="0" methods="5" coveredmethods="0"/>
361
- <line num="1" count="1" type="stmt"/>
362
- <line num="2" count="1" type="stmt"/>
363
- <line num="3" count="1" type="stmt"/>
364
- <line num="4" count="1" type="stmt"/>
365
- <line num="5" count="1" type="stmt"/>
366
- <line num="7" count="1" type="stmt"/>
367
- <line num="9" count="1" type="stmt"/>
368
- <line num="10" count="1" type="stmt"/>
369
- <line num="11" count="1" type="stmt"/>
370
- <line num="25" count="1" type="stmt"/>
371
- <line num="26" count="0" type="stmt"/>
372
- <line num="59" count="1" type="stmt"/>
373
- <line num="60" count="0" type="stmt"/>
374
- <line num="61" count="0" type="stmt"/>
375
- <line num="62" count="0" type="stmt"/>
376
- <line num="63" count="0" type="stmt"/>
377
- <line num="64" count="0" type="stmt"/>
378
- <line num="65" count="0" type="stmt"/>
379
- <line num="66" count="0" type="stmt"/>
380
- <line num="67" count="0" type="stmt"/>
381
- <line num="68" count="0" type="stmt"/>
382
- <line num="70" count="0" type="stmt"/>
383
- <line num="71" count="0" type="stmt"/>
384
- <line num="72" count="0" type="stmt"/>
385
- <line num="73" count="0" type="stmt"/>
386
- <line num="75" count="0" type="stmt"/>
387
- <line num="76" count="0" type="stmt"/>
388
- <line num="78" count="0" type="stmt"/>
389
- <line num="111" count="0" type="stmt"/>
390
- <line num="125" count="1" type="stmt"/>
391
- <line num="127" count="1" type="stmt"/>
392
- <line num="134" count="1" type="stmt"/>
393
- <line num="141" count="1" type="stmt"/>
394
- </file>
395
- <file name="Day.tsx" path="C:\Git\material-ui-pickers_dev\lib\src\views\Calendar\Day.tsx">
396
- <metrics statements="22" coveredstatements="12" conditionals="4" coveredconditionals="0" methods="2" coveredmethods="0"/>
397
- <line num="1" count="1" type="stmt"/>
398
- <line num="2" count="1" type="stmt"/>
399
- <line num="3" count="1" type="stmt"/>
400
- <line num="4" count="1" type="stmt"/>
401
- <line num="5" count="1" type="stmt"/>
402
- <line num="6" count="1" type="stmt"/>
403
- <line num="8" count="1" type="stmt"/>
404
- <line num="9" count="0" type="stmt"/>
405
- <line num="56" count="1" type="stmt"/>
406
- <line num="57" count="0" type="stmt"/>
407
- <line num="58" count="0" type="stmt"/>
408
- <line num="59" count="0" type="stmt"/>
409
- <line num="60" count="0" type="stmt"/>
410
- <line num="61" count="0" type="stmt"/>
411
- <line num="62" count="0" type="stmt"/>
412
- <line num="64" count="0" type="stmt"/>
413
- <line num="65" count="0" type="stmt"/>
414
- <line num="72" count="0" type="stmt"/>
415
- <line num="81" count="1" type="stmt"/>
416
- <line num="83" count="1" type="stmt"/>
417
- <line num="90" count="1" type="stmt"/>
418
- <line num="97" count="1" type="stmt"/>
419
- </file>
420
- <file name="DayWrapper.tsx" path="C:\Git\material-ui-pickers_dev\lib\src\views\Calendar\DayWrapper.tsx">
421
- <metrics statements="11" coveredstatements="3" conditionals="8" coveredconditionals="0" methods="2" coveredmethods="0"/>
422
- <line num="1" count="1" type="stmt"/>
423
- <line num="11" count="1" type="stmt"/>
424
- <line num="12" count="0" type="stmt"/>
425
- <line num="13" count="0" type="stmt"/>
426
- <line num="14" count="0" type="stmt"/>
427
- <line num="15" count="0" type="stmt"/>
428
- <line num="16" count="0" type="stmt"/>
429
- <line num="17" count="0" type="stmt"/>
430
- <line num="19" count="0" type="stmt"/>
431
- <line num="21" count="0" type="stmt"/>
432
- <line num="33" count="1" type="stmt"/>
433
- </file>
434
- <file name="SlideTransition.tsx" path="C:\Git\material-ui-pickers_dev\lib\src\views\Calendar\SlideTransition.tsx">
435
- <metrics statements="18" coveredstatements="8" conditionals="2" coveredconditionals="0" methods="3" coveredmethods="0"/>
436
- <line num="1" count="1" type="stmt"/>
437
- <line num="2" count="1" type="stmt"/>
438
- <line num="3" count="1" type="stmt"/>
439
- <line num="4" count="1" type="stmt"/>
440
- <line num="14" count="1" type="stmt"/>
441
- <line num="15" count="1" type="stmt"/>
442
- <line num="17" count="0" type="stmt"/>
443
- <line num="22" count="0" type="stmt"/>
444
- <line num="63" count="1" type="stmt"/>
445
- <line num="64" count="0" type="stmt"/>
446
- <line num="65" count="0" type="stmt"/>
447
- <line num="66" count="0" type="stmt"/>
448
- <line num="67" count="0" type="cond" truecount="0" falsecount="2"/>
449
- <line num="69" count="0" type="stmt"/>
450
- <line num="70" count="0" type="stmt"/>
451
- <line num="79" count="0" type="stmt"/>
452
- <line num="83" count="0" type="stmt"/>
453
- <line num="100" count="1" type="stmt"/>
454
- </file>
455
- </package>
456
- <package name="src.views.Clock">
457
- <metrics statements="73" coveredstatements="55" conditionals="38" coveredconditionals="17" methods="15" coveredmethods="10"/>
458
- <file name="Clock.tsx" path="C:\Git\material-ui-pickers_dev\lib\src\views\Clock\Clock.tsx">
459
- <metrics statements="49" coveredstatements="45" conditionals="25" coveredconditionals="17" methods="10" coveredmethods="9"/>
460
- <line num="1" count="1" type="stmt"/>
461
- <line num="2" count="1" type="stmt"/>
462
- <line num="3" count="1" type="stmt"/>
463
- <line num="4" count="1" type="stmt"/>
464
- <line num="5" count="1" type="stmt"/>
465
- <line num="6" count="1" type="stmt"/>
466
- <line num="17" count="5" type="cond" truecount="3" falsecount="0"/>
467
- <line num="18" count="1" type="stmt"/>
468
- <line num="19" count="3" type="stmt"/>
469
- <line num="28" count="1" type="stmt"/>
470
- <line num="33" count="5" type="stmt"/>
471
- <line num="35" count="4" type="cond" truecount="2" falsecount="0"/>
472
- <line num="36" count="6" type="stmt"/>
473
- <line num="38" count="3" type="cond" truecount="2" falsecount="0"/>
474
- <line num="39" count="1" type="stmt"/>
475
- <line num="41" count="1" type="stmt"/>
476
- <line num="42" count="1" type="stmt"/>
477
- <line num="46" count="3" type="cond" truecount="2" falsecount="0"/>
478
- <line num="50" count="3" type="stmt"/>
479
- <line num="53" count="5" type="stmt"/>
480
- <line num="54" count="1" type="stmt"/>
481
- <line num="55" count="1" type="stmt"/>
482
- <line num="58" count="5" type="stmt"/>
483
- <line num="59" count="1" type="cond" truecount="1" falsecount="1"/>
484
- <line num="60" count="0" type="stmt"/>
485
- <line num="61" count="0" type="stmt"/>
486
- <line num="65" count="5" type="stmt"/>
487
- <line num="66" count="1" type="stmt"/>
488
- <line num="67" count="1" type="stmt"/>
489
- <line num="70" count="1" type="cond" truecount="1" falsecount="1"/>
490
- <line num="72" count="1" type="cond" truecount="1" falsecount="1"/>
491
- <line num="73" count="1" type="stmt"/>
492
- <line num="77" count="5" type="stmt"/>
493
- <line num="78" count="1" type="cond" truecount="1" falsecount="1"/>
494
- <line num="79" count="1" type="stmt"/>
495
- <line num="82" count="1" type="stmt"/>
496
- <line num="85" count="5" type="stmt"/>
497
- <line num="86" count="5" type="stmt"/>
498
- <line num="88" count="5" type="cond" truecount="1" falsecount="1"/>
499
- <line num="89" count="0" type="stmt"/>
500
- <line num="92" count="5" type="stmt"/>
501
- <line num="95" count="1" type="stmt"/>
502
- <line num="96" count="5" type="stmt"/>
503
- <line num="98" count="5" type="cond" truecount="2" falsecount="2"/>
504
- <line num="100" count="5" type="stmt"/>
505
- <line num="127" count="1" type="stmt"/>
506
- <line num="129" count="1" type="stmt"/>
507
- <line num="130" count="0" type="stmt"/>
508
- <line num="170" count="1" type="stmt"/>
509
- </file>
510
- <file name="ClockPointer.tsx" path="C:\Git\material-ui-pickers_dev\lib\src\views\Clock\ClockPointer.tsx">
511
- <metrics statements="24" coveredstatements="10" conditionals="13" coveredconditionals="0" methods="5" coveredmethods="1"/>
512
- <line num="1" count="1" type="stmt"/>
513
- <line num="2" count="1" type="stmt"/>
514
- <line num="3" count="1" type="stmt"/>
515
- <line num="5" count="1" type="stmt"/>
516
- <line num="14" count="1" type="cond" truecount="0" falsecount="3"/>
517
- <line num="15" count="1" type="stmt"/>
518
- <line num="19" count="0" type="cond" truecount="0" falsecount="2"/>
519
- <line num="20" count="0" type="stmt"/>
520
- <line num="26" count="0" type="stmt"/>
521
- <line num="32" count="0" type="stmt"/>
522
- <line num="37" count="0" type="stmt"/>
523
- <line num="38" count="0" type="stmt"/>
524
- <line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
525
- <line num="41" count="0" type="stmt"/>
526
- <line num="43" count="0" type="cond" truecount="0" falsecount="4"/>
527
- <line num="44" count="0" type="stmt"/>
528
- <line num="47" count="0" type="stmt"/>
529
- <line num="53" count="1" type="stmt"/>
530
- <line num="54" count="0" type="stmt"/>
531
- <line num="56" count="0" type="stmt"/>
532
- <line num="71" count="1" type="stmt"/>
533
- <line num="73" count="1" type="stmt"/>
534
- <line num="74" count="0" type="stmt"/>
535
- <line num="102" count="1" type="stmt"/>
536
- </file>
537
- </package>
538
- <package name="src.views.Month">
539
- <metrics statements="53" coveredstatements="48" conditionals="18" coveredconditionals="12" methods="7" coveredmethods="5"/>
540
- <file name="Month.tsx" path="C:\Git\material-ui-pickers_dev\lib\src\views\Month\Month.tsx">
541
- <metrics statements="19" coveredstatements="18" conditionals="6" coveredconditionals="6" methods="3" coveredmethods="2"/>
542
- <line num="1" count="2" type="stmt"/>
543
- <line num="2" count="2" type="stmt"/>
544
- <line num="3" count="2" type="stmt"/>
545
- <line num="4" count="2" type="stmt"/>
546
- <line num="14" count="2" type="stmt"/>
547
- <line num="15" count="2" type="stmt"/>
548
- <line num="42" count="2" type="stmt"/>
549
- <line num="43" count="14" type="stmt"/>
550
- <line num="44" count="14" type="stmt"/>
551
- <line num="45" count="14" type="stmt"/>
552
- <line num="46" count="14" type="stmt"/>
553
- <line num="47" count="14" type="stmt"/>
554
- <line num="48" count="14" type="stmt"/>
555
- <line num="50" count="14" type="stmt"/>
556
- <line num="51" count="14" type="stmt"/>
557
- <line num="52" count="0" type="stmt"/>
558
- <line num="55" count="14" type="stmt"/>
559
- <line num="74" count="2" type="stmt"/>
560
- <line num="76" count="2" type="stmt"/>
561
- </file>
562
- <file name="MonthView.tsx" path="C:\Git\material-ui-pickers_dev\lib\src\views\Month\MonthView.tsx">
563
- <metrics statements="34" coveredstatements="30" conditionals="12" coveredconditionals="6" methods="4" coveredmethods="3"/>
564
- <line num="1" count="1" type="stmt"/>
565
- <line num="2" count="1" type="stmt"/>
566
- <line num="3" count="1" type="stmt"/>
567
- <line num="4" count="1" type="stmt"/>
568
- <line num="18" count="1" type="stmt"/>
569
- <line num="30" count="1" type="stmt"/>
570
- <line num="31" count="1" type="stmt"/>
571
- <line num="32" count="1" type="stmt"/>
572
- <line num="33" count="1" type="stmt"/>
573
- <line num="34" count="1" type="stmt"/>
574
- <line num="35" count="1" type="stmt"/>
575
- <line num="36" count="1" type="stmt"/>
576
- <line num="37" count="1" type="stmt"/>
577
- <line num="39" count="1" type="stmt"/>
578
- <line num="40" count="1" type="stmt"/>
579
- <line num="41" count="1" type="stmt"/>
580
- <line num="43" count="1" type="stmt"/>
581
- <line num="44" count="12" type="stmt"/>
582
- <line num="45" count="12" type="stmt"/>
583
- <line num="46" count="12" type="stmt"/>
584
- <line num="48" count="12" type="stmt"/>
585
- <line num="52" count="12" type="stmt"/>
586
- <line num="56" count="12" type="stmt"/>
587
- <line num="57" count="12" type="stmt"/>
588
- <line num="59" count="12" type="cond" truecount="2" falsecount="0"/>
589
- <line num="62" count="1" type="stmt"/>
590
- <line num="64" count="0" type="stmt"/>
591
- <line num="66" count="0" type="stmt"/>
592
- <line num="67" count="0" type="cond" truecount="0" falsecount="2"/>
593
- <line num="68" count="0" type="stmt"/>
594
- <line num="74" count="1" type="stmt"/>
595
- <line num="77" count="12" type="stmt"/>
596
- <line num="78" count="12" type="stmt"/>
597
- <line num="80" count="12" type="stmt"/>
598
- </file>
599
- </package>
600
- </project>
601
- </coverage>