pixel-react 1.13.89 → 1.13.90

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 (280) hide show
  1. package/README.md +75 -75
  2. package/lib/_virtual/_commonjsHelpers.js +26 -1
  3. package/lib/_virtual/_commonjsHelpers.js.map +1 -1
  4. package/lib/_virtual/immutable.es.js +7 -0
  5. package/lib/_virtual/immutable.es.js.map +1 -0
  6. package/lib/_virtual/index10.js +2 -2
  7. package/lib/_virtual/index11.js +2 -2
  8. package/lib/_virtual/index14.js +4 -0
  9. package/lib/_virtual/index14.js.map +1 -0
  10. package/lib/_virtual/react-is.development2.js +4 -0
  11. package/lib/_virtual/react-is.development2.js.map +1 -0
  12. package/lib/_virtual/react-is.production.min2.js +4 -0
  13. package/lib/_virtual/react-is.production.min2.js.map +1 -0
  14. package/lib/assets/icons/spinner.svg.js +1 -1
  15. package/lib/assets/icons/spinner.svg.js.map +1 -1
  16. package/lib/components/DatePicker/DatePicker.js +4 -1
  17. package/lib/components/DatePicker/DatePicker.js.map +1 -1
  18. package/lib/components/Drawer/Drawer.js +2 -1
  19. package/lib/components/Drawer/Drawer.js.map +1 -1
  20. package/lib/components/Excel/ExcelFile/ExcelFile.d.ts +1 -0
  21. package/lib/components/Excel/ExcelFile/ExcelFile.js +4 -2
  22. package/lib/components/Excel/ExcelFile/ExcelFile.js.map +1 -1
  23. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.d.ts +1 -0
  24. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js +4 -3
  25. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js.map +1 -1
  26. package/lib/index.cjs +7029 -2517
  27. package/lib/index.cjs.map +1 -1
  28. package/lib/index.d.ts +2 -2
  29. package/lib/node_modules/draft-js/lib/AtomicBlockUtils.js +1 -1
  30. package/lib/node_modules/draft-js/lib/BlockMapBuilder.js +1 -1
  31. package/lib/node_modules/draft-js/lib/BlockTree.js +1 -1
  32. package/lib/node_modules/draft-js/lib/CharacterMetadata.js +1 -1
  33. package/lib/node_modules/draft-js/lib/CompositeDraftDecorator.js +1 -1
  34. package/lib/node_modules/draft-js/lib/ContentBlock.js +1 -1
  35. package/lib/node_modules/draft-js/lib/ContentBlockNode.js +1 -1
  36. package/lib/node_modules/draft-js/lib/ContentState.js +1 -1
  37. package/lib/node_modules/draft-js/lib/ContentStateInlineStyle.js +1 -1
  38. package/lib/node_modules/draft-js/lib/DOMObserver.js +1 -1
  39. package/lib/node_modules/draft-js/lib/DefaultDraftBlockRenderMap.js +1 -1
  40. package/lib/node_modules/draft-js/lib/DraftEditorBlockNode.react.js +1 -1
  41. package/lib/node_modules/draft-js/lib/DraftEditorNode.react.js +1 -1
  42. package/lib/node_modules/draft-js/lib/DraftEntity.js +1 -1
  43. package/lib/node_modules/draft-js/lib/DraftEntityInstance.js +1 -1
  44. package/lib/node_modules/draft-js/lib/DraftModifier.js +1 -1
  45. package/lib/node_modules/draft-js/lib/DraftPasteProcessor.js +1 -1
  46. package/lib/node_modules/draft-js/lib/EditorBidiService.js +1 -1
  47. package/lib/node_modules/draft-js/lib/EditorState.js +1 -1
  48. package/lib/node_modules/draft-js/lib/SelectionState.js +1 -1
  49. package/lib/node_modules/draft-js/lib/applyEntityToContentState.js +1 -1
  50. package/lib/node_modules/draft-js/lib/convertFromHTMLToContentBlocks.js +1 -1
  51. package/lib/node_modules/draft-js/lib/convertFromRawToDraftState.js +1 -1
  52. package/lib/node_modules/draft-js/lib/createCharacterList.js +1 -1
  53. package/lib/node_modules/draft-js/lib/decodeInlineStyleRanges.js +1 -1
  54. package/lib/node_modules/draft-js/lib/insertFragmentIntoContentState.js +1 -1
  55. package/lib/node_modules/draft-js/lib/insertTextIntoContentState.js +1 -1
  56. package/lib/node_modules/draft-js/lib/modifyBlockForContentState.js +1 -1
  57. package/lib/node_modules/draft-js/lib/moveBlockInContentState.js +1 -1
  58. package/lib/node_modules/draft-js/lib/randomizeBlockMapKeys.js +1 -1
  59. package/lib/node_modules/draft-js/lib/removeRangeFromContentState.js +1 -1
  60. package/lib/node_modules/draft-js/lib/splitBlockInContentState.js +1 -1
  61. package/lib/node_modules/{immutable → draft-js/node_modules/immutable}/dist/immutable.js +1 -1
  62. package/lib/node_modules/draft-js/node_modules/immutable/dist/immutable.js.map +1 -0
  63. package/lib/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +1 -1
  64. package/lib/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +175 -0
  65. package/lib/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  66. package/lib/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +125 -0
  67. package/lib/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
  68. package/lib/node_modules/{react-is → hoist-non-react-statics/node_modules/react-is}/index.js +1 -1
  69. package/lib/node_modules/hoist-non-react-statics/node_modules/react-is/index.js.map +1 -0
  70. package/lib/node_modules/immutable/dist/immutable.es.js +4829 -0
  71. package/lib/node_modules/immutable/dist/immutable.es.js.map +1 -0
  72. package/lib/node_modules/js-beautify/js/src/css/beautifier.js +1 -1
  73. package/lib/node_modules/js-beautify/js/src/css/index.js +1 -1
  74. package/lib/node_modules/js-beautify/js/src/css/options.js +1 -1
  75. package/lib/node_modules/js-beautify/js/src/html/beautifier.js +1 -1
  76. package/lib/node_modules/js-beautify/js/src/html/index.js +1 -1
  77. package/lib/node_modules/js-beautify/js/src/html/options.js +1 -1
  78. package/lib/node_modules/libphonenumber-js/metadata.min.json.js +12 -12
  79. package/lib/node_modules/libphonenumber-js/metadata.min.json.js.map +1 -1
  80. package/lib/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
  81. package/lib/node_modules/prop-types/index.js +1 -1
  82. package/lib/node_modules/{react-is → prop-types/node_modules/react-is}/cjs/react-is.development.js +1 -1
  83. package/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  84. package/lib/node_modules/{react-is → prop-types/node_modules/react-is}/cjs/react-is.production.min.js +1 -1
  85. package/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
  86. package/lib/node_modules/prop-types/node_modules/react-is/index.js +18 -0
  87. package/lib/node_modules/prop-types/node_modules/react-is/index.js.map +1 -0
  88. package/lib/node_modules/react-day-picker/dist/esm/DayPicker.js +17 -112
  89. package/lib/node_modules/react-day-picker/dist/esm/DayPicker.js.map +1 -1
  90. package/lib/node_modules/react-day-picker/dist/esm/UI.js +9 -31
  91. package/lib/node_modules/react-day-picker/dist/esm/UI.js.map +1 -1
  92. package/lib/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +6 -9
  93. package/lib/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js.map +1 -1
  94. package/lib/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +1 -6
  95. package/lib/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js.map +1 -1
  96. package/lib/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +1 -5
  97. package/lib/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js.map +1 -1
  98. package/lib/node_modules/react-day-picker/dist/esm/classes/DateLib.js +51 -55
  99. package/lib/node_modules/react-day-picker/dist/esm/classes/DateLib.js.map +1 -1
  100. package/lib/node_modules/react-day-picker/dist/esm/components/Chevron.js +1 -1
  101. package/lib/node_modules/react-day-picker/dist/esm/components/Chevron.js.map +1 -1
  102. package/lib/node_modules/react-day-picker/dist/esm/components/Day.js +4 -4
  103. package/lib/node_modules/react-day-picker/dist/esm/components/Day.js.map +1 -1
  104. package/lib/node_modules/react-day-picker/dist/esm/components/DayButton.js +1 -1
  105. package/lib/node_modules/react-day-picker/dist/esm/components/DayButton.js.map +1 -1
  106. package/lib/node_modules/react-day-picker/dist/esm/components/Dropdown.js +1 -1
  107. package/lib/node_modules/react-day-picker/dist/esm/components/Dropdown.js.map +1 -1
  108. package/lib/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +1 -1
  109. package/lib/node_modules/react-day-picker/dist/esm/components/DropdownNav.js.map +1 -1
  110. package/lib/node_modules/react-day-picker/dist/esm/components/Footer.js +1 -1
  111. package/lib/node_modules/react-day-picker/dist/esm/components/Footer.js.map +1 -1
  112. package/lib/node_modules/react-day-picker/dist/esm/components/Month.js +1 -1
  113. package/lib/node_modules/react-day-picker/dist/esm/components/Month.js.map +1 -1
  114. package/lib/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +1 -1
  115. package/lib/node_modules/react-day-picker/dist/esm/components/MonthCaption.js.map +1 -1
  116. package/lib/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +1 -1
  117. package/lib/node_modules/react-day-picker/dist/esm/components/MonthGrid.js.map +1 -1
  118. package/lib/node_modules/react-day-picker/dist/esm/components/Months.js +1 -1
  119. package/lib/node_modules/react-day-picker/dist/esm/components/Months.js.map +1 -1
  120. package/lib/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +1 -1
  121. package/lib/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js.map +1 -1
  122. package/lib/node_modules/react-day-picker/dist/esm/components/Nav.js +6 -16
  123. package/lib/node_modules/react-day-picker/dist/esm/components/Nav.js.map +1 -1
  124. package/lib/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +1 -1
  125. package/lib/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js.map +1 -1
  126. package/lib/node_modules/react-day-picker/dist/esm/components/Option.js +1 -1
  127. package/lib/node_modules/react-day-picker/dist/esm/components/Option.js.map +1 -1
  128. package/lib/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +1 -1
  129. package/lib/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js.map +1 -1
  130. package/lib/node_modules/react-day-picker/dist/esm/components/Root.js +2 -7
  131. package/lib/node_modules/react-day-picker/dist/esm/components/Root.js.map +1 -1
  132. package/lib/node_modules/react-day-picker/dist/esm/components/Select.js +1 -1
  133. package/lib/node_modules/react-day-picker/dist/esm/components/Select.js.map +1 -1
  134. package/lib/node_modules/react-day-picker/dist/esm/components/Week.js +1 -1
  135. package/lib/node_modules/react-day-picker/dist/esm/components/Week.js.map +1 -1
  136. package/lib/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +1 -1
  137. package/lib/node_modules/react-day-picker/dist/esm/components/WeekNumber.js.map +1 -1
  138. package/lib/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +1 -1
  139. package/lib/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js.map +1 -1
  140. package/lib/node_modules/react-day-picker/dist/esm/components/Weekday.js +1 -1
  141. package/lib/node_modules/react-day-picker/dist/esm/components/Weekday.js.map +1 -1
  142. package/lib/node_modules/react-day-picker/dist/esm/components/Weekdays.js +1 -1
  143. package/lib/node_modules/react-day-picker/dist/esm/components/Weekdays.js.map +1 -1
  144. package/lib/node_modules/react-day-picker/dist/esm/components/Weeks.js +1 -1
  145. package/lib/node_modules/react-day-picker/dist/esm/components/Weeks.js.map +1 -1
  146. package/lib/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +1 -1
  147. package/lib/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js.map +1 -1
  148. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +2 -7
  149. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js.map +1 -1
  150. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +2 -7
  151. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatDay.js.map +1 -1
  152. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +2 -6
  153. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js.map +1 -1
  154. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +5 -11
  155. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js.map +1 -1
  156. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +2 -3
  157. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js.map +1 -1
  158. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +2 -7
  159. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js.map +1 -1
  160. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +1 -5
  161. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js.map +1 -1
  162. package/lib/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +19 -46
  163. package/lib/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js.map +1 -1
  164. package/lib/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +1 -7
  165. package/lib/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js.map +1 -1
  166. package/lib/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +1 -8
  167. package/lib/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js.map +1 -1
  168. package/lib/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +0 -12
  169. package/lib/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js.map +1 -1
  170. package/lib/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +0 -10
  171. package/lib/node_modules/react-day-picker/dist/esm/helpers/getComponents.js.map +1 -1
  172. package/lib/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +2 -11
  173. package/lib/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js.map +1 -1
  174. package/lib/node_modules/react-day-picker/dist/esm/helpers/getDates.js +2 -13
  175. package/lib/node_modules/react-day-picker/dist/esm/helpers/getDates.js.map +1 -1
  176. package/lib/node_modules/react-day-picker/dist/esm/helpers/getDays.js +1 -4
  177. package/lib/node_modules/react-day-picker/dist/esm/helpers/getDays.js.map +1 -1
  178. package/lib/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +2 -9
  179. package/lib/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js.map +1 -1
  180. package/lib/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +0 -10
  181. package/lib/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js.map +1 -1
  182. package/lib/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +2 -17
  183. package/lib/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js.map +1 -1
  184. package/lib/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +1 -7
  185. package/lib/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js.map +1 -1
  186. package/lib/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +3 -13
  187. package/lib/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js.map +1 -1
  188. package/lib/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +1 -15
  189. package/lib/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js.map +1 -1
  190. package/lib/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +8 -17
  191. package/lib/node_modules/react-day-picker/dist/esm/helpers/getMonths.js.map +1 -1
  192. package/lib/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +1 -7
  193. package/lib/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js.map +1 -1
  194. package/lib/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +7 -20
  195. package/lib/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js.map +1 -1
  196. package/lib/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +6 -13
  197. package/lib/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js.map +1 -1
  198. package/lib/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +5 -13
  199. package/lib/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js.map +1 -1
  200. package/lib/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +0 -11
  201. package/lib/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js.map +1 -1
  202. package/lib/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +6 -9
  203. package/lib/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js.map +1 -1
  204. package/lib/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +1 -6
  205. package/lib/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js.map +1 -1
  206. package/lib/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +1 -13
  207. package/lib/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js.map +1 -1
  208. package/lib/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +1 -8
  209. package/lib/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js.map +1 -1
  210. package/lib/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +6 -10
  211. package/lib/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js.map +1 -1
  212. package/lib/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +5 -9
  213. package/lib/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js.map +1 -1
  214. package/lib/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +3 -7
  215. package/lib/node_modules/react-day-picker/dist/esm/labels/labelGrid.js.map +1 -1
  216. package/lib/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +3 -7
  217. package/lib/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js.map +1 -1
  218. package/lib/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +1 -3
  219. package/lib/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js.map +1 -1
  220. package/lib/node_modules/react-day-picker/dist/esm/labels/labelNav.js +1 -2
  221. package/lib/node_modules/react-day-picker/dist/esm/labels/labelNav.js.map +1 -1
  222. package/lib/node_modules/react-day-picker/dist/esm/labels/labelNext.js +3 -5
  223. package/lib/node_modules/react-day-picker/dist/esm/labels/labelNext.js.map +1 -1
  224. package/lib/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +3 -5
  225. package/lib/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js.map +1 -1
  226. package/lib/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +1 -4
  227. package/lib/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js.map +1 -1
  228. package/lib/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +1 -3
  229. package/lib/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js.map +1 -1
  230. package/lib/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +1 -5
  231. package/lib/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js.map +1 -1
  232. package/lib/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +1 -3
  233. package/lib/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js.map +1 -1
  234. package/lib/node_modules/react-day-picker/dist/esm/selection/useMulti.js +0 -9
  235. package/lib/node_modules/react-day-picker/dist/esm/selection/useMulti.js.map +1 -1
  236. package/lib/node_modules/react-day-picker/dist/esm/selection/useRange.js +2 -10
  237. package/lib/node_modules/react-day-picker/dist/esm/selection/useRange.js.map +1 -1
  238. package/lib/node_modules/react-day-picker/dist/esm/selection/useSingle.js +0 -9
  239. package/lib/node_modules/react-day-picker/dist/esm/selection/useSingle.js.map +1 -1
  240. package/lib/node_modules/react-day-picker/dist/esm/useCalendar.js +1 -9
  241. package/lib/node_modules/react-day-picker/dist/esm/useCalendar.js.map +1 -1
  242. package/lib/node_modules/react-day-picker/dist/esm/useDayPicker.js +6 -4
  243. package/lib/node_modules/react-day-picker/dist/esm/useDayPicker.js.map +1 -1
  244. package/lib/node_modules/react-day-picker/dist/esm/useFocus.js +1 -14
  245. package/lib/node_modules/react-day-picker/dist/esm/useFocus.js.map +1 -1
  246. package/lib/node_modules/react-day-picker/dist/esm/{helpers/createGetModifiers.js → useGetModifiers.js} +7 -13
  247. package/lib/node_modules/react-day-picker/dist/esm/useGetModifiers.js.map +1 -0
  248. package/lib/node_modules/react-day-picker/dist/esm/useSelection.js +0 -10
  249. package/lib/node_modules/react-day-picker/dist/esm/useSelection.js.map +1 -1
  250. package/lib/node_modules/react-day-picker/dist/esm/utils/addToRange.js +8 -10
  251. package/lib/node_modules/react-day-picker/dist/esm/utils/addToRange.js.map +1 -1
  252. package/lib/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +15 -5
  253. package/lib/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js.map +1 -1
  254. package/lib/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +9 -7
  255. package/lib/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js.map +1 -1
  256. package/lib/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +14 -5
  257. package/lib/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js.map +1 -1
  258. package/lib/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +3 -7
  259. package/lib/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js.map +1 -1
  260. package/lib/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +2 -6
  261. package/lib/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js.map +1 -1
  262. package/lib/node_modules/react-day-picker/dist/esm/utils/typeguards.js +6 -19
  263. package/lib/node_modules/react-day-picker/dist/esm/utils/typeguards.js.map +1 -1
  264. package/lib/node_modules/react-draft-wysiwyg/dist/react-draft-wysiwyg.js +2 -2
  265. package/lib/node_modules/react-draft-wysiwyg/dist/react-draft-wysiwyg.js.map +1 -1
  266. package/lib/node_modules/react-hook-form/dist/index.esm.js +1609 -1661
  267. package/lib/node_modules/react-hook-form/dist/index.esm.js.map +1 -1
  268. package/lib/node_modules/webrtc-adapter/src/js/common_shim.js +1 -1
  269. package/lib/node_modules/webrtc-adapter/src/js/common_shim.js.map +1 -1
  270. package/lib/node_modules/webrtc-adapter/src/js/utils.js +4 -6
  271. package/lib/node_modules/webrtc-adapter/src/js/utils.js.map +1 -1
  272. package/lib/tsconfig.tsbuildinfo +1 -1
  273. package/package.json +107 -107
  274. package/lib/node_modules/immutable/dist/immutable.js.map +0 -1
  275. package/lib/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js.map +0 -1
  276. package/lib/node_modules/react-day-picker/dist/esm/useAnimation.js +0 -158
  277. package/lib/node_modules/react-day-picker/dist/esm/useAnimation.js.map +0 -1
  278. package/lib/node_modules/react-is/cjs/react-is.development.js.map +0 -1
  279. package/lib/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
  280. package/lib/node_modules/react-is/index.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
 
3
3
  /**
4
- * Render the header cell for the week numbers column.
4
+ * Render the column header for the week numbers.
5
5
  *
6
6
  * @group Components
7
7
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"WeekNumberHeader.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the header cell for the week numbers column.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function WeekNumberHeader(props) {\n return React.createElement(\"th\", { ...props });\n}\n//# sourceMappingURL=WeekNumberHeader.js.map"],"names":["WeekNumberHeader","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,gBAAgBA,CAC9BC,KAA6C,EAAA;EAE7C,oBAAOC,cAAA,CAAAC,aAAA,CAAA,IAAA,EAAA;IAAA,GAAQF;GAAS,CAAA;AAC1B;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"WeekNumberHeader.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the column header for the week numbers.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function WeekNumberHeader(props) {\n return React.createElement(\"th\", { ...props });\n}\n//# sourceMappingURL=WeekNumberHeader.js.map"],"names":["WeekNumberHeader","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,gBAAgBA,CAC9BC,KAA6C,EAAA;EAE7C,oBAAOC,cAAA,CAAAC,aAAA,CAAA,IAAA,EAAA;IAAA,GAAQF;GAAS,CAAA;AAC1B;;;;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
 
3
3
  /**
4
- * Render a table header cell with the name of a weekday (e.g., "Mo", "Tu").
4
+ * Render the column header with the weekday name (e.g. "Mo", "Tu", etc.).
5
5
  *
6
6
  * @group Components
7
7
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"Weekday.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Weekday.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a table header cell with the name of a weekday (e.g., \"Mo\", \"Tu\").\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Weekday(props) {\n return React.createElement(\"th\", { ...props });\n}\n//# sourceMappingURL=Weekday.js.map"],"names":["Weekday","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,OAAOA,CAACC,KAA6C,EAAA;EACnE,oBAAOC,cAAA,CAAAC,aAAA,CAAA,IAAA,EAAA;IAAA,GAAQF;GAAS,CAAA;AAC1B;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"Weekday.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Weekday.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the column header with the weekday name (e.g. \"Mo\", \"Tu\", etc.).\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Weekday(props) {\n return React.createElement(\"th\", { ...props });\n}\n//# sourceMappingURL=Weekday.js.map"],"names":["Weekday","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,OAAOA,CAACC,KAA6C,EAAA;EACnE,oBAAOC,cAAA,CAAAC,aAAA,CAAA,IAAA,EAAA;IAAA,GAAQF;GAAS,CAAA;AAC1B;;;;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
 
3
3
  /**
4
- * Render the table row containing the weekday names.
4
+ * Render the row with the weekday names.
5
5
  *
6
6
  * @group Components
7
7
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"Weekdays.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Weekdays.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the table row containing the weekday names.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Weekdays(props) {\n return (React.createElement(\"thead\", { \"aria-hidden\": true },\n React.createElement(\"tr\", { ...props })));\n}\n//# sourceMappingURL=Weekdays.js.map"],"names":["Weekdays","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,QAAQA,CAACC,KAA0C,EAAA;EACjE,oBACEC,cAAA,CAAAC,aAAA,CAAA,OAAA,EAAA;AAAA,IAAA,aAAA,EAAA;GACED,eAAAA,cAAA,CAAAC,aAAA,CAAA,IAAA,EAAA;IAAA,GAAQF;AAAK,GAAA,CAAI,CACX;AAEZ;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"Weekdays.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Weekdays.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the row with the weekday names.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Weekdays(props) {\n return (React.createElement(\"thead\", { \"aria-hidden\": true },\n React.createElement(\"tr\", { ...props })));\n}\n//# sourceMappingURL=Weekdays.js.map"],"names":["Weekdays","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,QAAQA,CAACC,KAA0C,EAAA;EACjE,oBACEC,cAAA,CAAAC,aAAA,CAAA,OAAA,EAAA;AAAA,IAAA,aAAA,EAAA;GACED,eAAAA,cAAA,CAAAC,aAAA,CAAA,IAAA,EAAA;IAAA,GAAQF;AAAK,GAAA,CAAI,CACX;AAEZ;;;;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
 
3
3
  /**
4
- * Render the container for the weeks in the month grid.
4
+ * Render the weeks in the month grid.
5
5
  *
6
6
  * @group Components
7
7
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"Weeks.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Weeks.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the container for the weeks in the month grid.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Weeks(props) {\n return React.createElement(\"tbody\", { ...props });\n}\n//# sourceMappingURL=Weeks.js.map"],"names":["Weeks","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,KAAKA,CAACC,KAA8C,EAAA;EAClE,oBAAOC,cAAA,CAAAC,aAAA,CAAA,OAAA,EAAA;IAAA,GAAWF;GAAS,CAAA;AAC7B;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"Weeks.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Weeks.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the weeks in the month grid.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Weeks(props) {\n return React.createElement(\"tbody\", { ...props });\n}\n//# sourceMappingURL=Weeks.js.map"],"names":["Weeks","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,KAAKA,CAACC,KAA8C,EAAA;EAClE,oBAAOC,cAAA,CAAAC,aAAA,CAAA,OAAA,EAAA;IAAA,GAAWF;GAAS,CAAA;AAC7B;;;;","x_google_ignoreList":[0]}
@@ -2,7 +2,7 @@ import React__default from 'react';
2
2
  import { useDayPicker } from '../useDayPicker.js';
3
3
 
4
4
  /**
5
- * Render a dropdown to navigate between years in the calendar.
5
+ * Render the dropdown to navigate between years.
6
6
  *
7
7
  * @group Components
8
8
  * @see https://daypicker.dev/guides/custom-components
@@ -1 +1 @@
1
- {"version":3,"file":"YearsDropdown.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/YearsDropdown.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render a dropdown to navigate between years in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function YearsDropdown(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Dropdown, { ...props });\n}\n//# sourceMappingURL=YearsDropdown.js.map"],"names":["YearsDropdown","props","components","useDayPicker","React","createElement","Dropdown"],"mappings":";;;AAMA;;;;;;AAMM,SAAUA,aAAaA,CAACC,KAAoB,EAAA;EAChD,MAAM;AAAEC,IAAAA;GAAY,GAAGC,YAAY,EAAE;AACrC,EAAA,oBAAOC,cAAA,CAAAC,aAAA,CAACH,UAAU,CAACI,QAAQ,EAAA;IAAA,GAAKL;GAAS,CAAA;AAC3C;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"YearsDropdown.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/YearsDropdown.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render the dropdown to navigate between years.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function YearsDropdown(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Dropdown, { ...props });\n}\n//# sourceMappingURL=YearsDropdown.js.map"],"names":["YearsDropdown","props","components","useDayPicker","React","createElement","Dropdown"],"mappings":";;;AAMA;;;;;;AAMM,SAAUA,aAAaA,CAACC,KAAoB,EAAA;EAChD,MAAM;AAAEC,IAAAA;GAAY,GAAGC,YAAY,EAAE;AACrC,EAAA,oBAAOC,cAAA,CAAAC,aAAA,CAACH,UAAU,CAACI,QAAQ,EAAA;IAAA,GAAKL;GAAS,CAAA;AAC3C;;;;","x_google_ignoreList":[0]}
@@ -1,14 +1,9 @@
1
1
  import { DateLib } from '../classes/DateLib.js';
2
2
 
3
3
  /**
4
- * Formats the caption of the month.
4
+ * Format the caption of the month.
5
5
  *
6
- * @defaultValue `LLLL y` (e.g., "November 2022").
7
- * @param month The date representing the month.
8
- * @param options Configuration options for the date library.
9
- * @param dateLib The date library to use for formatting. If not provided, a new
10
- * instance is created.
11
- * @returns The formatted caption as a string.
6
+ * @defaultValue `LLLL y` (e.g. "November 2022")
12
7
  * @group Formatters
13
8
  * @see https://daypicker.dev/docs/translation#custom-formatters
14
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"formatCaption.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/formatters/formatCaption.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the caption of the month.\n *\n * @defaultValue `LLLL y` (e.g., \"November 2022\").\n * @param month The date representing the month.\n * @param options Configuration options for the date library.\n * @param dateLib The date library to use for formatting. If not provided, a new\n * instance is created.\n * @returns The formatted caption as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatCaption(month, options, dateLib) {\n return (dateLib ?? new DateLib(options)).format(month, \"LLLL y\");\n}\n/**\n * @private\n * @deprecated Use {@link formatCaption} instead.\n * @group Formatters\n */\nexport const formatMonthCaption = formatCaption;\n//# sourceMappingURL=formatCaption.js.map"],"names":["formatCaption","month","options","dateLib","DateLib","format","formatMonthCaption"],"mappings":";;AAEA;;;;;;;;;;;;AAYM,SAAUA,aAAaA,CAC3BC,KAAW,EACXC,OAAwB,EACxBC,OAAiB,EAAA;AAEjB,EAAA,OAAO,CAACA,OAAO,IAAI,IAAIC,OAAO,CAACF,OAAO,CAAC,EAAEG,MAAM,CAACJ,KAAK,EAAE,QAAQ,CAAC;AAClE;AAEA;;;;;AAKO,MAAMK,kBAAkB,GAAGN;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"formatCaption.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/formatters/formatCaption.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Format the caption of the month.\n *\n * @defaultValue `LLLL y` (e.g. \"November 2022\")\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatCaption(month, options, dateLib) {\n return (dateLib ?? new DateLib(options)).format(month, \"LLLL y\");\n}\n/**\n * @private\n * @deprecated Use {@link formatCaption} instead.\n * @group Formatters\n */\nexport const formatMonthCaption = formatCaption;\n//# sourceMappingURL=formatCaption.js.map"],"names":["formatCaption","month","options","dateLib","DateLib","format","formatMonthCaption"],"mappings":";;AAEA;;;;;;;AAOM,SAAUA,aAAaA,CAC3BC,KAAW,EACXC,OAAwB,EACxBC,OAAiB,EAAA;AAEjB,EAAA,OAAO,CAACA,OAAO,IAAI,IAAIC,OAAO,CAACF,OAAO,CAAC,EAAEG,MAAM,CAACJ,KAAK,EAAE,QAAQ,CAAC;AAClE;AAEA;;;;;AAKO,MAAMK,kBAAkB,GAAGN;;;;","x_google_ignoreList":[0]}
@@ -1,14 +1,9 @@
1
1
  import { DateLib } from '../classes/DateLib.js';
2
2
 
3
3
  /**
4
- * Formats the day date shown in the day cell.
4
+ * Format the day date shown in the day cell.
5
5
  *
6
- * @defaultValue `d` (e.g., "1").
7
- * @param date The date to format.
8
- * @param options Configuration options for the date library.
9
- * @param dateLib The date library to use for formatting. If not provided, a new
10
- * instance is created.
11
- * @returns The formatted day as a string.
6
+ * @defaultValue `d` (e.g. "1")
12
7
  * @group Formatters
13
8
  * @see https://daypicker.dev/docs/translation#custom-formatters
14
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"formatDay.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/formatters/formatDay.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the day date shown in the day cell.\n *\n * @defaultValue `d` (e.g., \"1\").\n * @param date The date to format.\n * @param options Configuration options for the date library.\n * @param dateLib The date library to use for formatting. If not provided, a new\n * instance is created.\n * @returns The formatted day as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatDay(date, options, dateLib) {\n return (dateLib ?? new DateLib(options)).format(date, \"d\");\n}\n//# sourceMappingURL=formatDay.js.map"],"names":["formatDay","date","options","dateLib","DateLib","format"],"mappings":";;AAEA;;;;;;;;;;;;AAYM,SAAUA,SAASA,CACvBC,IAAU,EACVC,OAAwB,EACxBC,OAAiB,EAAA;AAEjB,EAAA,OAAO,CAACA,OAAO,IAAI,IAAIC,OAAO,CAACF,OAAO,CAAC,EAAEG,MAAM,CAACJ,IAAI,EAAE,GAAG,CAAC;AAC5D;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"formatDay.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/formatters/formatDay.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Format the day date shown in the day cell.\n *\n * @defaultValue `d` (e.g. \"1\")\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatDay(date, options, dateLib) {\n return (dateLib ?? new DateLib(options)).format(date, \"d\");\n}\n//# sourceMappingURL=formatDay.js.map"],"names":["formatDay","date","options","dateLib","DateLib","format"],"mappings":";;AAEA;;;;;;;AAOM,SAAUA,SAASA,CACvBC,IAAU,EACVC,OAAwB,EACxBC,OAAiB,EAAA;AAEjB,EAAA,OAAO,CAACA,OAAO,IAAI,IAAIC,OAAO,CAACF,OAAO,CAAC,EAAEG,MAAM,CAACJ,IAAI,EAAE,GAAG,CAAC;AAC5D;;;;","x_google_ignoreList":[0]}
@@ -1,13 +1,9 @@
1
1
  import { defaultDateLib } from '../classes/DateLib.js';
2
2
 
3
3
  /**
4
- * Formats the month for the dropdown option label.
4
+ * Format the month number for the dropdown option label.
5
5
  *
6
- * @defaultValue The localized full month name.
7
- * @param month The date representing the month.
8
- * @param dateLib The date library to use for formatting. Defaults to
9
- * `defaultDateLib`.
10
- * @returns The formatted month name as a string.
6
+ * @defaultValue The localized month name
11
7
  * @group Formatters
12
8
  * @see https://daypicker.dev/docs/translation#custom-formatters
13
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"formatMonthDropdown.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the month for the dropdown option label.\n *\n * @defaultValue The localized full month name.\n * @param month The date representing the month.\n * @param dateLib The date library to use for formatting. Defaults to\n * `defaultDateLib`.\n * @returns The formatted month name as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatMonthDropdown(month, dateLib = defaultDateLib) {\n return dateLib.format(month, \"LLLL\");\n}\n//# sourceMappingURL=formatMonthDropdown.js.map"],"names":["formatMonthDropdown","month","dateLib","defaultDateLib","format"],"mappings":";;AAEA;;;;;;;;;;;AAWM,SAAUA,mBAAmBA,CACjCC,KAAW,EACXC,OAAA,GAAmBC,cAAc,EAAA;AAEjC,EAAA,OAAOD,OAAO,CAACE,MAAM,CAACH,KAAK,EAAE,MAAM,CAAC;AACtC;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"formatMonthDropdown.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\n/**\n * Format the month number for the dropdown option label.\n *\n * @defaultValue The localized month name\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatMonthDropdown(month, dateLib = defaultDateLib) {\n return dateLib.format(month, \"LLLL\");\n}\n//# sourceMappingURL=formatMonthDropdown.js.map"],"names":["formatMonthDropdown","month","dateLib","defaultDateLib","format"],"mappings":";;AAEA;;;;;;;AAOM,SAAUA,mBAAmBA,CACjCC,KAAW,EACXC,OAAA,GAAmBC,cAAc,EAAA;AAEjC,EAAA,OAAOD,OAAO,CAACE,MAAM,CAACH,KAAK,EAAE,MAAM,CAAC;AACtC;;;;","x_google_ignoreList":[0]}
@@ -1,21 +1,15 @@
1
- import { defaultDateLib } from '../classes/DateLib.js';
2
-
3
1
  /**
4
- * Formats the week number.
2
+ * Format the week number.
5
3
  *
6
- * @defaultValue The week number as a string, with a leading zero for single-digit numbers.
7
- * @param weekNumber The week number to format.
8
- * @param dateLib The date library to use for formatting. Defaults to
9
- * `defaultDateLib`.
10
- * @returns The formatted week number as a string.
4
+ * @defaultValue `weekNumber.toLocaleString()` with a leading zero for single-digit numbers
11
5
  * @group Formatters
12
6
  * @see https://daypicker.dev/docs/translation#custom-formatters
13
7
  */
14
- function formatWeekNumber(weekNumber, dateLib = defaultDateLib) {
8
+ function formatWeekNumber(weekNumber) {
15
9
  if (weekNumber < 10) {
16
- return dateLib.formatNumber(`0${weekNumber.toLocaleString()}`);
10
+ return `0${weekNumber.toLocaleString()}`;
17
11
  }
18
- return dateLib.formatNumber(`${weekNumber.toLocaleString()}`);
12
+ return `${weekNumber.toLocaleString()}`;
19
13
  }
20
14
 
21
15
  export { formatWeekNumber };
@@ -1 +1 @@
1
- {"version":3,"file":"formatWeekNumber.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the week number.\n *\n * @defaultValue The week number as a string, with a leading zero for single-digit numbers.\n * @param weekNumber The week number to format.\n * @param dateLib The date library to use for formatting. Defaults to\n * `defaultDateLib`.\n * @returns The formatted week number as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatWeekNumber(weekNumber, dateLib = defaultDateLib) {\n if (weekNumber < 10) {\n return dateLib.formatNumber(`0${weekNumber.toLocaleString()}`);\n }\n return dateLib.formatNumber(`${weekNumber.toLocaleString()}`);\n}\n//# sourceMappingURL=formatWeekNumber.js.map"],"names":["formatWeekNumber","weekNumber","dateLib","defaultDateLib","formatNumber","toLocaleString"],"mappings":";;AAEA;;;;;;;;;;;AAWM,SAAUA,gBAAgBA,CAACC,UAAkB,EAAEC,OAAO,GAAGC,cAAc,EAAA;EAC3E,IAAIF,UAAU,GAAG,EAAE,EAAE;IACnB,OAAOC,OAAO,CAACE,YAAY,CAAC,CAAA,CAAA,EAAIH,UAAU,CAACI,cAAc,EAAE,CAAA,CAAE,CAAC;AAChE;EACA,OAAOH,OAAO,CAACE,YAAY,CAAC,CAAA,EAAGH,UAAU,CAACI,cAAc,EAAE,CAAA,CAAE,CAAC;AAC/D;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"formatWeekNumber.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js"],"sourcesContent":["/**\n * Format the week number.\n *\n * @defaultValue `weekNumber.toLocaleString()` with a leading zero for single-digit numbers\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatWeekNumber(weekNumber) {\n if (weekNumber < 10) {\n return `0${weekNumber.toLocaleString()}`;\n }\n return `${weekNumber.toLocaleString()}`;\n}\n//# sourceMappingURL=formatWeekNumber.js.map"],"names":["formatWeekNumber","weekNumber","toLocaleString"],"mappings":"AAAA;;;;;;;AAOM,SAAUA,gBAAgBA,CAACC,UAAkB,EAAA;EACjD,IAAIA,UAAU,GAAG,EAAE,EAAE;AACnB,IAAA,OAAO,CAAIA,CAAAA,EAAAA,UAAU,CAACC,cAAc,EAAE,CAAE,CAAA;AAC1C;AACA,EAAA,OAAO,CAAGD,EAAAA,UAAU,CAACC,cAAc,EAAE,CAAE,CAAA;AACzC;;;;","x_google_ignoreList":[0]}
@@ -1,8 +1,7 @@
1
1
  /**
2
- * Formats the header for the week number column.
2
+ * Format the week number header.
3
3
  *
4
- * @defaultValue An empty string `""`.
5
- * @returns The formatted week number header as a string.
4
+ * @defaultValue `""`
6
5
  * @group Formatters
7
6
  * @see https://daypicker.dev/docs/translation#custom-formatters
8
7
  */
@@ -1 +1 @@
1
- {"version":3,"file":"formatWeekNumberHeader.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js"],"sourcesContent":["/**\n * Formats the header for the week number column.\n *\n * @defaultValue An empty string `\"\"`.\n * @returns The formatted week number header as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatWeekNumberHeader() {\n return ``;\n}\n//# sourceMappingURL=formatWeekNumberHeader.js.map"],"names":["formatWeekNumberHeader"],"mappings":"AAAA;;;;;;;;AAQM,SAAUA,sBAAsBA,GAAA;AACpC,EAAA,OAAO,CAAE,CAAA;AACX;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"formatWeekNumberHeader.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js"],"sourcesContent":["/**\n * Format the week number header.\n *\n * @defaultValue `\"\"`\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatWeekNumberHeader() {\n return ``;\n}\n//# sourceMappingURL=formatWeekNumberHeader.js.map"],"names":["formatWeekNumberHeader"],"mappings":"AAAA;;;;;;;AAOM,SAAUA,sBAAsBA,GAAA;AACpC,EAAA,OAAO,CAAE,CAAA;AACX;;;;","x_google_ignoreList":[0]}
@@ -1,14 +1,9 @@
1
1
  import { DateLib } from '../classes/DateLib.js';
2
2
 
3
3
  /**
4
- * Formats the name of a weekday to be displayed in the weekdays header.
4
+ * Format the weekday name to be displayed in the weekdays header.
5
5
  *
6
- * @defaultValue `cccccc` (e.g., "Mo" for Monday).
7
- * @param weekday The date representing the weekday.
8
- * @param options Configuration options for the date library.
9
- * @param dateLib The date library to use for formatting. If not provided, a new
10
- * instance is created.
11
- * @returns The formatted weekday name as a string.
6
+ * @defaultValue `cccccc` (e.g. "Mo" for Monday)
12
7
  * @group Formatters
13
8
  * @see https://daypicker.dev/docs/translation#custom-formatters
14
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"formatWeekdayName.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the name of a weekday to be displayed in the weekdays header.\n *\n * @defaultValue `cccccc` (e.g., \"Mo\" for Monday).\n * @param weekday The date representing the weekday.\n * @param options Configuration options for the date library.\n * @param dateLib The date library to use for formatting. If not provided, a new\n * instance is created.\n * @returns The formatted weekday name as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatWeekdayName(weekday, options, dateLib) {\n return (dateLib ?? new DateLib(options)).format(weekday, \"cccccc\");\n}\n//# sourceMappingURL=formatWeekdayName.js.map"],"names":["formatWeekdayName","weekday","options","dateLib","DateLib","format"],"mappings":";;AAEA;;;;;;;;;;;;AAYM,SAAUA,iBAAiBA,CAC/BC,OAAa,EACbC,OAAwB,EACxBC,OAAiB,EAAA;AAEjB,EAAA,OAAO,CAACA,OAAO,IAAI,IAAIC,OAAO,CAACF,OAAO,CAAC,EAAEG,MAAM,CAACJ,OAAO,EAAE,QAAQ,CAAC;AACpE;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"formatWeekdayName.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Format the weekday name to be displayed in the weekdays header.\n *\n * @defaultValue `cccccc` (e.g. \"Mo\" for Monday)\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatWeekdayName(weekday, options, dateLib) {\n return (dateLib ?? new DateLib(options)).format(weekday, \"cccccc\");\n}\n//# sourceMappingURL=formatWeekdayName.js.map"],"names":["formatWeekdayName","weekday","options","dateLib","DateLib","format"],"mappings":";;AAEA;;;;;;;AAOM,SAAUA,iBAAiBA,CAC/BC,OAAa,EACbC,OAAwB,EACxBC,OAAiB,EAAA;AAEjB,EAAA,OAAO,CAACA,OAAO,IAAI,IAAIC,OAAO,CAACF,OAAO,CAAC,EAAEG,MAAM,CAACJ,OAAO,EAAE,QAAQ,CAAC;AACpE;;;;","x_google_ignoreList":[0]}
@@ -1,12 +1,8 @@
1
1
  import { defaultDateLib } from '../classes/DateLib.js';
2
2
 
3
3
  /**
4
- * Formats the year for the dropdown option label.
4
+ * Format the years for the dropdown option label.
5
5
  *
6
- * @param year The year to format.
7
- * @param dateLib The date library to use for formatting. Defaults to
8
- * `defaultDateLib`.
9
- * @returns The formatted year as a string.
10
6
  * @group Formatters
11
7
  * @see https://daypicker.dev/docs/translation#custom-formatters
12
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"formatYearDropdown.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the year for the dropdown option label.\n *\n * @param year The year to format.\n * @param dateLib The date library to use for formatting. Defaults to\n * `defaultDateLib`.\n * @returns The formatted year as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatYearDropdown(year, dateLib = defaultDateLib) {\n return dateLib.format(year, \"yyyy\");\n}\n/**\n * @private\n * @deprecated Use `formatYearDropdown` instead.\n * @group Formatters\n */\nexport const formatYearCaption = formatYearDropdown;\n//# sourceMappingURL=formatYearDropdown.js.map"],"names":["formatYearDropdown","year","dateLib","defaultDateLib","format","formatYearCaption"],"mappings":";;AAEA;;;;;;;;;;AAUM,SAAUA,kBAAkBA,CAChCC,IAAU,EACVC,OAAA,GAAmBC,cAAc,EAAA;AAEjC,EAAA,OAAOD,OAAO,CAACE,MAAM,CAACH,IAAI,EAAE,MAAM,CAAC;AACrC;AAEA;;;;;AAKO,MAAMI,iBAAiB,GAAGL;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"formatYearDropdown.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\n/**\n * Format the years for the dropdown option label.\n *\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatYearDropdown(year, dateLib = defaultDateLib) {\n return dateLib.format(year, \"yyyy\");\n}\n/**\n * @private\n * @deprecated Use `formatYearDropdown` instead.\n * @group Formatters\n */\nexport const formatYearCaption = formatYearDropdown;\n//# sourceMappingURL=formatYearDropdown.js.map"],"names":["formatYearDropdown","year","dateLib","defaultDateLib","format","formatYearCaption"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,kBAAkBA,CAChCC,IAAU,EACVC,OAAA,GAAmBC,cAAc,EAAA;AAEjC,EAAA,OAAOD,OAAO,CAACE,MAAM,CAACH,IAAI,EAAE,MAAM,CAAC;AACrC;AAEA;;;;;AAKO,MAAMI,iBAAiB,GAAGL;;;;","x_google_ignoreList":[0]}
@@ -1,62 +1,35 @@
1
1
  import { DayFlag } from '../UI.js';
2
2
 
3
- var FocusTargetPriority;
4
- (function (FocusTargetPriority) {
5
- FocusTargetPriority[FocusTargetPriority["Today"] = 0] = "Today";
6
- FocusTargetPriority[FocusTargetPriority["Selected"] = 1] = "Selected";
7
- FocusTargetPriority[FocusTargetPriority["LastFocused"] = 2] = "LastFocused";
8
- FocusTargetPriority[FocusTargetPriority["FocusedModifier"] = 3] = "FocusedModifier";
9
- })(FocusTargetPriority || (FocusTargetPriority = {}));
10
- /**
11
- * Determines if a day is focusable based on its modifiers.
12
- *
13
- * A day is considered focusable if it is not disabled, hidden, or outside the
14
- * displayed month.
15
- *
16
- * @param modifiers The modifiers applied to the day.
17
- * @returns `true` if the day is focusable, otherwise `false`.
18
- */
19
- function isFocusableDay(modifiers) {
20
- return !modifiers[DayFlag.disabled] && !modifiers[DayFlag.hidden] && !modifiers[DayFlag.outside];
21
- }
22
- /**
23
- * Calculates the focus target day based on priority.
24
- *
25
- * This function determines the day that should receive focus in the calendar,
26
- * prioritizing days with specific modifiers (e.g., "focused", "today") or
27
- * selection states.
28
- *
29
- * @param days The array of `CalendarDay` objects to evaluate.
30
- * @param getModifiers A function to retrieve the modifiers for a given day.
31
- * @param isSelected A function to determine if a day is selected.
32
- * @param lastFocused The last focused day, if any.
33
- * @returns The `CalendarDay` that should receive focus, or `undefined` if no
34
- * focusable day is found.
35
- */
36
3
  function calculateFocusTarget(days, getModifiers, isSelected, lastFocused) {
37
4
  let focusTarget;
38
- let foundFocusTargetPriority = -1;
39
- for (const day of days) {
5
+ let index = 0;
6
+ let found = false;
7
+ while (index < days.length && !found) {
8
+ const day = days[index];
40
9
  const modifiers = getModifiers(day);
41
- if (isFocusableDay(modifiers)) {
42
- if (modifiers[DayFlag.focused] && foundFocusTargetPriority < FocusTargetPriority.FocusedModifier) {
10
+ if (!modifiers[DayFlag.disabled] && !modifiers[DayFlag.hidden] && !modifiers[DayFlag.outside]) {
11
+ if (modifiers[DayFlag.focused]) {
43
12
  focusTarget = day;
44
- foundFocusTargetPriority = FocusTargetPriority.FocusedModifier;
45
- } else if (lastFocused?.isEqualTo(day) && foundFocusTargetPriority < FocusTargetPriority.LastFocused) {
13
+ found = true;
14
+ } else if (lastFocused?.isEqualTo(day)) {
46
15
  focusTarget = day;
47
- foundFocusTargetPriority = FocusTargetPriority.LastFocused;
48
- } else if (isSelected(day.date) && foundFocusTargetPriority < FocusTargetPriority.Selected) {
16
+ found = true;
17
+ } else if (isSelected(day.date)) {
49
18
  focusTarget = day;
50
- foundFocusTargetPriority = FocusTargetPriority.Selected;
51
- } else if (modifiers[DayFlag.today] && foundFocusTargetPriority < FocusTargetPriority.Today) {
19
+ found = true;
20
+ } else if (modifiers[DayFlag.today]) {
52
21
  focusTarget = day;
53
- foundFocusTargetPriority = FocusTargetPriority.Today;
22
+ found = true;
54
23
  }
55
24
  }
25
+ index++;
56
26
  }
57
27
  if (!focusTarget) {
58
- // Return the first day that is focusable
59
- focusTarget = days.find(day => isFocusableDay(getModifiers(day)));
28
+ // return the first day that is focusable
29
+ focusTarget = days.find(day => {
30
+ const m = getModifiers(day);
31
+ return !m[DayFlag.disabled] && !m[DayFlag.hidden] && !m[DayFlag.outside];
32
+ });
60
33
  }
61
34
  return focusTarget;
62
35
  }
@@ -1 +1 @@
1
- {"version":3,"file":"calculateFocusTarget.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js"],"sourcesContent":["import { DayFlag } from \"../UI.js\";\nvar FocusTargetPriority;\n(function (FocusTargetPriority) {\n FocusTargetPriority[FocusTargetPriority[\"Today\"] = 0] = \"Today\";\n FocusTargetPriority[FocusTargetPriority[\"Selected\"] = 1] = \"Selected\";\n FocusTargetPriority[FocusTargetPriority[\"LastFocused\"] = 2] = \"LastFocused\";\n FocusTargetPriority[FocusTargetPriority[\"FocusedModifier\"] = 3] = \"FocusedModifier\";\n})(FocusTargetPriority || (FocusTargetPriority = {}));\n/**\n * Determines if a day is focusable based on its modifiers.\n *\n * A day is considered focusable if it is not disabled, hidden, or outside the\n * displayed month.\n *\n * @param modifiers The modifiers applied to the day.\n * @returns `true` if the day is focusable, otherwise `false`.\n */\nfunction isFocusableDay(modifiers) {\n return (!modifiers[DayFlag.disabled] &&\n !modifiers[DayFlag.hidden] &&\n !modifiers[DayFlag.outside]);\n}\n/**\n * Calculates the focus target day based on priority.\n *\n * This function determines the day that should receive focus in the calendar,\n * prioritizing days with specific modifiers (e.g., \"focused\", \"today\") or\n * selection states.\n *\n * @param days The array of `CalendarDay` objects to evaluate.\n * @param getModifiers A function to retrieve the modifiers for a given day.\n * @param isSelected A function to determine if a day is selected.\n * @param lastFocused The last focused day, if any.\n * @returns The `CalendarDay` that should receive focus, or `undefined` if no\n * focusable day is found.\n */\nexport function calculateFocusTarget(days, getModifiers, isSelected, lastFocused) {\n let focusTarget;\n let foundFocusTargetPriority = -1;\n for (const day of days) {\n const modifiers = getModifiers(day);\n if (isFocusableDay(modifiers)) {\n if (modifiers[DayFlag.focused] &&\n foundFocusTargetPriority < FocusTargetPriority.FocusedModifier) {\n focusTarget = day;\n foundFocusTargetPriority = FocusTargetPriority.FocusedModifier;\n }\n else if (lastFocused?.isEqualTo(day) &&\n foundFocusTargetPriority < FocusTargetPriority.LastFocused) {\n focusTarget = day;\n foundFocusTargetPriority = FocusTargetPriority.LastFocused;\n }\n else if (isSelected(day.date) &&\n foundFocusTargetPriority < FocusTargetPriority.Selected) {\n focusTarget = day;\n foundFocusTargetPriority = FocusTargetPriority.Selected;\n }\n else if (modifiers[DayFlag.today] &&\n foundFocusTargetPriority < FocusTargetPriority.Today) {\n focusTarget = day;\n foundFocusTargetPriority = FocusTargetPriority.Today;\n }\n }\n }\n if (!focusTarget) {\n // Return the first day that is focusable\n focusTarget = days.find((day) => isFocusableDay(getModifiers(day)));\n }\n return focusTarget;\n}\n//# sourceMappingURL=calculateFocusTarget.js.map"],"names":["FocusTargetPriority","isFocusableDay","modifiers","DayFlag","disabled","hidden","outside","calculateFocusTarget","days","getModifiers","isSelected","lastFocused","focusTarget","foundFocusTargetPriority","day","focused","FocusedModifier","isEqualTo","LastFocused","date","Selected","today","Today","find"],"mappings":";;AAIA,IAAKA,mBAKJ;AALD,CAAA,UAAKA,mBAAmB,EAAA;EACtBA,mBAAA,CAAAA,mBAAA,CAAS,OAAA,CAAA,GAAA,CAAA,CAAA,GAAA,OAAA;EACTA,mBAAA,CAAAA,mBAAA,CAAQ,UAAA,CAAA,GAAA,CAAA,CAAA,GAAA,UAAA;EACRA,mBAAA,CAAAA,mBAAA,CAAW,aAAA,CAAA,GAAA,CAAA,CAAA,GAAA,aAAA;EACXA,mBAAA,CAAAA,mBAAA,CAAe,iBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,iBAAA;AACjB,CAAC,EALIA,mBAAmB,KAAnBA,mBAAmB,GAAA,EAAA,CAAA,CAAA;AAOxB;;;;;;;;;AASA,SAASC,cAAcA,CAACC,SAAoB,EAAA;EAC1C,OACE,CAACA,SAAS,CAACC,OAAO,CAACC,QAAQ,CAAC,IAC5B,CAACF,SAAS,CAACC,OAAO,CAACE,MAAM,CAAC,IAC1B,CAACH,SAAS,CAACC,OAAO,CAACG,OAAO,CAAC;AAE/B;AAEA;;;;;;;;;;;;;;AAcM,SAAUC,oBAAoBA,CAClCC,IAAmB,EACnBC,YAA6C,EAC7CC,UAAmC,EACnCC,WAAoC,EAAA;AAEpC,EAAA,IAAIC,WAAoC;EAExC,IAAIC,wBAAwB,GAA6B,EAAE;AAC3D,EAAA,KAAK,MAAMC,GAAG,IAAIN,IAAI,EAAE;AACtB,IAAA,MAAMN,SAAS,GAAGO,YAAY,CAACK,GAAG,CAAC;AAEnC,IAAA,IAAIb,cAAc,CAACC,SAAS,CAAC,EAAE;AAC7B,MAAA,IACEA,SAAS,CAACC,OAAO,CAACY,OAAO,CAAC,IAC1BF,wBAAwB,GAAGb,mBAAmB,CAACgB,eAAe,EAC9D;AACAJ,QAAAA,WAAW,GAAGE,GAAG;QACjBD,wBAAwB,GAAGb,mBAAmB,CAACgB,eAAe;AAChE,OAAC,MAAM,IACLL,WAAW,EAAEM,SAAS,CAACH,GAAG,CAAC,IAC3BD,wBAAwB,GAAGb,mBAAmB,CAACkB,WAAW,EAC1D;AACAN,QAAAA,WAAW,GAAGE,GAAG;QACjBD,wBAAwB,GAAGb,mBAAmB,CAACkB,WAAW;AAC5D,OAAC,MAAM,IACLR,UAAU,CAACI,GAAG,CAACK,IAAI,CAAC,IACpBN,wBAAwB,GAAGb,mBAAmB,CAACoB,QAAQ,EACvD;AACAR,QAAAA,WAAW,GAAGE,GAAG;QACjBD,wBAAwB,GAAGb,mBAAmB,CAACoB,QAAQ;AACzD,OAAC,MAAM,IACLlB,SAAS,CAACC,OAAO,CAACkB,KAAK,CAAC,IACxBR,wBAAwB,GAAGb,mBAAmB,CAACsB,KAAK,EACpD;AACAV,QAAAA,WAAW,GAAGE,GAAG;QACjBD,wBAAwB,GAAGb,mBAAmB,CAACsB,KAAK;AACtD;AACF;AACF;EAEA,IAAI,CAACV,WAAW,EAAE;AAChB;AACAA,IAAAA,WAAW,GAAGJ,IAAI,CAACe,IAAI,CAAET,GAAG,IAAKb,cAAc,CAACQ,YAAY,CAACK,GAAG,CAAC,CAAC,CAAC;AACrE;AACA,EAAA,OAAOF,WAAW;AACpB;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"calculateFocusTarget.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js"],"sourcesContent":["import { DayFlag } from \"../UI.js\";\nexport function calculateFocusTarget(days, getModifiers, isSelected, lastFocused) {\n let focusTarget;\n let index = 0;\n let found = false;\n while (index < days.length && !found) {\n const day = days[index];\n const modifiers = getModifiers(day);\n if (!modifiers[DayFlag.disabled] &&\n !modifiers[DayFlag.hidden] &&\n !modifiers[DayFlag.outside]) {\n if (modifiers[DayFlag.focused]) {\n focusTarget = day;\n found = true;\n }\n else if (lastFocused?.isEqualTo(day)) {\n focusTarget = day;\n found = true;\n }\n else if (isSelected(day.date)) {\n focusTarget = day;\n found = true;\n }\n else if (modifiers[DayFlag.today]) {\n focusTarget = day;\n found = true;\n }\n }\n index++;\n }\n if (!focusTarget) {\n // return the first day that is focusable\n focusTarget = days.find((day) => {\n const m = getModifiers(day);\n return !m[DayFlag.disabled] && !m[DayFlag.hidden] && !m[DayFlag.outside];\n });\n }\n return focusTarget;\n}\n//# sourceMappingURL=calculateFocusTarget.js.map"],"names":["calculateFocusTarget","days","getModifiers","isSelected","lastFocused","focusTarget","index","found","length","day","modifiers","DayFlag","disabled","hidden","outside","focused","isEqualTo","date","today","find","m"],"mappings":";;AAIM,SAAUA,oBAAoBA,CAClCC,IAAmB,EACnBC,YAA6C,EAC7CC,UAAmC,EACnCC,WAAoC,EAAA;AAEpC,EAAA,IAAIC,WAAoC;EAExC,IAAIC,KAAK,GAAG,CAAC;EACb,IAAIC,KAAK,GAAG,KAAK;EAEjB,OAAOD,KAAK,GAAGL,IAAI,CAACO,MAAM,IAAI,CAACD,KAAK,EAAE;AACpC,IAAA,MAAME,GAAG,GAAGR,IAAI,CAACK,KAAK,CAAC;AACvB,IAAA,MAAMI,SAAS,GAAGR,YAAY,CAACO,GAAG,CAAC;IAEnC,IACE,CAACC,SAAS,CAACC,OAAO,CAACC,QAAQ,CAAC,IAC5B,CAACF,SAAS,CAACC,OAAO,CAACE,MAAM,CAAC,IAC1B,CAACH,SAAS,CAACC,OAAO,CAACG,OAAO,CAAC,EAC3B;AACA,MAAA,IAAIJ,SAAS,CAACC,OAAO,CAACI,OAAO,CAAC,EAAE;AAC9BV,QAAAA,WAAW,GAAGI,GAAG;AACjBF,QAAAA,KAAK,GAAG,IAAI;OACb,MAAM,IAAIH,WAAW,EAAEY,SAAS,CAACP,GAAG,CAAC,EAAE;AACtCJ,QAAAA,WAAW,GAAGI,GAAG;AACjBF,QAAAA,KAAK,GAAG,IAAI;OACb,MAAM,IAAIJ,UAAU,CAACM,GAAG,CAACQ,IAAI,CAAC,EAAE;AAC/BZ,QAAAA,WAAW,GAAGI,GAAG;AACjBF,QAAAA,KAAK,GAAG,IAAI;OACb,MAAM,IAAIG,SAAS,CAACC,OAAO,CAACO,KAAK,CAAC,EAAE;AACnCb,QAAAA,WAAW,GAAGI,GAAG;AACjBF,QAAAA,KAAK,GAAG,IAAI;AACd;AACF;AAEAD,IAAAA,KAAK,EAAE;AACT;EAEA,IAAI,CAACD,WAAW,EAAE;AAChB;AACAA,IAAAA,WAAW,GAAGJ,IAAI,CAACkB,IAAI,CAAEV,GAAG,IAAI;AAC9B,MAAA,MAAMW,CAAC,GAAGlB,YAAY,CAACO,GAAG,CAAC;MAC3B,OAAO,CAACW,CAAC,CAACT,OAAO,CAACC,QAAQ,CAAC,IAAI,CAACQ,CAAC,CAACT,OAAO,CAACE,MAAM,CAAC,IAAI,CAACO,CAAC,CAACT,OAAO,CAACG,OAAO,CAAC;AAC1E,KAAC,CAAC;AACJ;AACA,EAAA,OAAOT,WAAW;AACpB;;;;","x_google_ignoreList":[0]}
@@ -2,15 +2,9 @@ import { getBroadcastWeeksInMonth } from './getBroadcastWeeksInMonth.js';
2
2
  import { startOfBroadcastWeek } from './startOfBroadcastWeek.js';
3
3
 
4
4
  /**
5
- * Returns the end date of the week in the broadcast calendar.
6
- *
7
- * The broadcast week ends on the last day of the last broadcast week for the
8
- * given date.
5
+ * Return the end date of the week in the broadcast calendar.
9
6
  *
10
7
  * @since 9.4.0
11
- * @param date The date for which to calculate the end of the broadcast week.
12
- * @param dateLib The date library to use for date manipulation.
13
- * @returns The end date of the broadcast week.
14
8
  */
15
9
  function endOfBroadcastWeek(date, dateLib) {
16
10
  const startDate = startOfBroadcastWeek(date, dateLib);
@@ -1 +1 @@
1
- {"version":3,"file":"endOfBroadcastWeek.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js"],"sourcesContent":["import { getBroadcastWeeksInMonth } from \"./getBroadcastWeeksInMonth.js\";\nimport { startOfBroadcastWeek } from \"./startOfBroadcastWeek.js\";\n/**\n * Returns the end date of the week in the broadcast calendar.\n *\n * The broadcast week ends on the last day of the last broadcast week for the\n * given date.\n *\n * @since 9.4.0\n * @param date The date for which to calculate the end of the broadcast week.\n * @param dateLib The date library to use for date manipulation.\n * @returns The end date of the broadcast week.\n */\nexport function endOfBroadcastWeek(date, dateLib) {\n const startDate = startOfBroadcastWeek(date, dateLib);\n const numberOfWeeks = getBroadcastWeeksInMonth(date, dateLib);\n const endDate = dateLib.addDays(startDate, numberOfWeeks * 7 - 1);\n return endDate;\n}\n//# sourceMappingURL=endOfBroadcastWeek.js.map"],"names":["endOfBroadcastWeek","date","dateLib","startDate","startOfBroadcastWeek","numberOfWeeks","getBroadcastWeeksInMonth","endDate","addDays"],"mappings":";;;AAKA;;;;;;;;;;;AAWM,SAAUA,kBAAkBA,CAACC,IAAU,EAAEC,OAAgB,EAAA;AAC7D,EAAA,MAAMC,SAAS,GAAGC,oBAAoB,CAACH,IAAI,EAAEC,OAAO,CAAC;AACrD,EAAA,MAAMG,aAAa,GAAGC,wBAAwB,CAACL,IAAI,EAAEC,OAAO,CAAC;AAC7D,EAAA,MAAMK,OAAO,GAAGL,OAAO,CAACM,OAAO,CAACL,SAAS,EAAEE,aAAa,GAAG,CAAC,GAAG,CAAC,CAAC;AACjE,EAAA,OAAOE,OAAO;AAChB;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"endOfBroadcastWeek.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js"],"sourcesContent":["import { getBroadcastWeeksInMonth } from \"./getBroadcastWeeksInMonth.js\";\nimport { startOfBroadcastWeek } from \"./startOfBroadcastWeek.js\";\n/**\n * Return the end date of the week in the broadcast calendar.\n *\n * @since 9.4.0\n */\nexport function endOfBroadcastWeek(date, dateLib) {\n const startDate = startOfBroadcastWeek(date, dateLib);\n const numberOfWeeks = getBroadcastWeeksInMonth(date, dateLib);\n const endDate = dateLib.addDays(startDate, numberOfWeeks * 7 - 1);\n return endDate;\n}\n//# sourceMappingURL=endOfBroadcastWeek.js.map"],"names":["endOfBroadcastWeek","date","dateLib","startDate","startOfBroadcastWeek","numberOfWeeks","getBroadcastWeeksInMonth","endDate","addDays"],"mappings":";;;AAKA;;;;;AAKM,SAAUA,kBAAkBA,CAACC,IAAU,EAAEC,OAAgB,EAAA;AAC7D,EAAA,MAAMC,SAAS,GAAGC,oBAAoB,CAACH,IAAI,EAAEC,OAAO,CAAC;AACrD,EAAA,MAAMG,aAAa,GAAGC,wBAAwB,CAACL,IAAI,EAAEC,OAAO,CAAC;AAC7D,EAAA,MAAMK,OAAO,GAAGL,OAAO,CAACM,OAAO,CAACL,SAAS,EAAEE,aAAa,GAAG,CAAC,GAAG,CAAC,CAAC;AACjE,EAAA,OAAOE,OAAO;AAChB;;;;","x_google_ignoreList":[0]}
@@ -1,16 +1,9 @@
1
1
  const FIVE_WEEKS = 5;
2
2
  const FOUR_WEEKS = 4;
3
3
  /**
4
- * Returns the number of weeks to display in the broadcast calendar for a given
5
- * month.
6
- *
7
- * The broadcast calendar may have either 4 or 5 weeks in a month, depending on
8
- * the start and end dates of the broadcast weeks.
4
+ * Return the number of weeks to display in the broadcast calendar.
9
5
  *
10
6
  * @since 9.4.0
11
- * @param month The month for which to calculate the number of weeks.
12
- * @param dateLib The date library to use for date manipulation.
13
- * @returns The number of weeks in the broadcast calendar (4 or 5).
14
7
  */
15
8
  function getBroadcastWeeksInMonth(month, dateLib) {
16
9
  // Get the first day of the month
@@ -1 +1 @@
1
- {"version":3,"file":"getBroadcastWeeksInMonth.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js"],"sourcesContent":["const FIVE_WEEKS = 5;\nconst FOUR_WEEKS = 4;\n/**\n * Returns the number of weeks to display in the broadcast calendar for a given\n * month.\n *\n * The broadcast calendar may have either 4 or 5 weeks in a month, depending on\n * the start and end dates of the broadcast weeks.\n *\n * @since 9.4.0\n * @param month The month for which to calculate the number of weeks.\n * @param dateLib The date library to use for date manipulation.\n * @returns The number of weeks in the broadcast calendar (4 or 5).\n */\nexport function getBroadcastWeeksInMonth(month, dateLib) {\n // Get the first day of the month\n const firstDayOfMonth = dateLib.startOfMonth(month);\n // Get the day of the week for the first day of the month (1-7, where 1 is Monday)\n const firstDayOfWeek = firstDayOfMonth.getDay() > 0 ? firstDayOfMonth.getDay() : 7;\n const broadcastStartDate = dateLib.addDays(month, -firstDayOfWeek + 1);\n const lastDateOfLastWeek = dateLib.addDays(broadcastStartDate, FIVE_WEEKS * 7 - 1);\n const numberOfWeeks = dateLib.getMonth(month) === dateLib.getMonth(lastDateOfLastWeek)\n ? FIVE_WEEKS\n : FOUR_WEEKS;\n return numberOfWeeks;\n}\n//# sourceMappingURL=getBroadcastWeeksInMonth.js.map"],"names":["FIVE_WEEKS","FOUR_WEEKS","getBroadcastWeeksInMonth","month","dateLib","firstDayOfMonth","startOfMonth","firstDayOfWeek","getDay","broadcastStartDate","addDays","lastDateOfLastWeek","numberOfWeeks","getMonth"],"mappings":"AAEA,MAAMA,UAAU,GAAG,CAAC;AACpB,MAAMC,UAAU,GAAG,CAAC;AAEpB;;;;;;;;;;;;AAYM,SAAUC,wBAAwBA,CAACC,KAAW,EAAEC,OAAgB,EAAA;AACpE;AACA,EAAA,MAAMC,eAAe,GAAGD,OAAO,CAACE,YAAY,CAACH,KAAK,CAAC;AAEnD;AACA,EAAA,MAAMI,cAAc,GAClBF,eAAe,CAACG,MAAM,EAAE,GAAG,CAAC,GAAGH,eAAe,CAACG,MAAM,EAAE,GAAG,CAAC;AAE7D,EAAA,MAAMC,kBAAkB,GAAGL,OAAO,CAACM,OAAO,CAACP,KAAK,EAAE,CAACI,cAAc,GAAG,CAAC,CAAC;AAEtE,EAAA,MAAMI,kBAAkB,GAAGP,OAAO,CAACM,OAAO,CACxCD,kBAAkB,EAClBT,UAAU,GAAG,CAAC,GAAG,CAAC,CACnB;AACD,EAAA,MAAMY,aAAa,GACjBR,OAAO,CAACS,QAAQ,CAACV,KAAK,CAAC,KAAKC,OAAO,CAACS,QAAQ,CAACF,kBAAkB,CAAC,GAC5DX,UAAU,GACVC,UAAU;AAEhB,EAAA,OAAOW,aAAa;AACtB;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"getBroadcastWeeksInMonth.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js"],"sourcesContent":["const FIVE_WEEKS = 5;\nconst FOUR_WEEKS = 4;\n/**\n * Return the number of weeks to display in the broadcast calendar.\n *\n * @since 9.4.0\n */\nexport function getBroadcastWeeksInMonth(month, dateLib) {\n // Get the first day of the month\n const firstDayOfMonth = dateLib.startOfMonth(month);\n // Get the day of the week for the first day of the month (1-7, where 1 is Monday)\n const firstDayOfWeek = firstDayOfMonth.getDay() > 0 ? firstDayOfMonth.getDay() : 7;\n const broadcastStartDate = dateLib.addDays(month, -firstDayOfWeek + 1);\n const lastDateOfLastWeek = dateLib.addDays(broadcastStartDate, FIVE_WEEKS * 7 - 1);\n const numberOfWeeks = dateLib.getMonth(month) === dateLib.getMonth(lastDateOfLastWeek)\n ? FIVE_WEEKS\n : FOUR_WEEKS;\n return numberOfWeeks;\n}\n//# sourceMappingURL=getBroadcastWeeksInMonth.js.map"],"names":["FIVE_WEEKS","FOUR_WEEKS","getBroadcastWeeksInMonth","month","dateLib","firstDayOfMonth","startOfMonth","firstDayOfWeek","getDay","broadcastStartDate","addDays","lastDateOfLastWeek","numberOfWeeks","getMonth"],"mappings":"AAEA,MAAMA,UAAU,GAAG,CAAC;AACpB,MAAMC,UAAU,GAAG,CAAC;AAEpB;;;;;AAKM,SAAUC,wBAAwBA,CAACC,KAAW,EAAEC,OAAgB,EAAA;AACpE;AACA,EAAA,MAAMC,eAAe,GAAGD,OAAO,CAACE,YAAY,CAACH,KAAK,CAAC;AAEnD;AACA,EAAA,MAAMI,cAAc,GAClBF,eAAe,CAACG,MAAM,EAAE,GAAG,CAAC,GAAGH,eAAe,CAACG,MAAM,EAAE,GAAG,CAAC;AAE7D,EAAA,MAAMC,kBAAkB,GAAGL,OAAO,CAACM,OAAO,CAACP,KAAK,EAAE,CAACI,cAAc,GAAG,CAAC,CAAC;AAEtE,EAAA,MAAMI,kBAAkB,GAAGP,OAAO,CAACM,OAAO,CACxCD,kBAAkB,EAClBT,UAAU,GAAG,CAAC,GAAG,CAAC,CACnB;AACD,EAAA,MAAMY,aAAa,GACjBR,OAAO,CAACS,QAAQ,CAACV,KAAK,CAAC,KAAKC,OAAO,CAACS,QAAQ,CAACF,kBAAkB,CAAC,GAC5DX,UAAU,GACVC,UAAU;AAEhB,EAAA,OAAOW,aAAa;AACtB;;;;","x_google_ignoreList":[0]}
@@ -1,17 +1,5 @@
1
1
  import { DayFlag, SelectionState, UI } from '../UI.js';
2
2
 
3
- /**
4
- * Returns the class names for a day based on its modifiers.
5
- *
6
- * This function combines the base class name for the day with any class names
7
- * associated with active modifiers.
8
- *
9
- * @param modifiers The modifiers applied to the day.
10
- * @param classNames The base class names for the calendar elements.
11
- * @param modifiersClassNames The class names associated with specific
12
- * modifiers.
13
- * @returns An array of class names for the day.
14
- */
15
3
  function getClassNamesForModifiers(modifiers, classNames, modifiersClassNames = {}) {
16
4
  const modifierClassNames = Object.entries(modifiers).filter(([, active]) => active === true).reduce((previousValue, [key]) => {
17
5
  if (modifiersClassNames[key]) {
@@ -1 +1 @@
1
- {"version":3,"file":"getClassNamesForModifiers.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js"],"sourcesContent":["import { DayFlag, SelectionState, UI } from \"../UI.js\";\n/**\n * Returns the class names for a day based on its modifiers.\n *\n * This function combines the base class name for the day with any class names\n * associated with active modifiers.\n *\n * @param modifiers The modifiers applied to the day.\n * @param classNames The base class names for the calendar elements.\n * @param modifiersClassNames The class names associated with specific\n * modifiers.\n * @returns An array of class names for the day.\n */\nexport function getClassNamesForModifiers(modifiers, classNames, modifiersClassNames = {}) {\n const modifierClassNames = Object.entries(modifiers)\n .filter(([, active]) => active === true)\n .reduce((previousValue, [key]) => {\n if (modifiersClassNames[key]) {\n previousValue.push(modifiersClassNames[key]);\n }\n else if (classNames[DayFlag[key]]) {\n previousValue.push(classNames[DayFlag[key]]);\n }\n else if (classNames[SelectionState[key]]) {\n previousValue.push(classNames[SelectionState[key]]);\n }\n return previousValue;\n }, [classNames[UI.Day]]);\n return modifierClassNames;\n}\n//# sourceMappingURL=getClassNamesForModifiers.js.map"],"names":["getClassNamesForModifiers","modifiers","classNames","modifiersClassNames","modifierClassNames","Object","entries","filter","active","reduce","previousValue","key","push","DayFlag","SelectionState","UI","Day"],"mappings":";;AAGA;;;;;;;;;;;;AAYM,SAAUA,yBAAyBA,CACvCC,SAAkC,EAClCC,UAAsB,EACtBC,mBAAA,GAA2C,EAAE,EAAA;AAE7C,EAAA,MAAMC,kBAAkB,GAAGC,MAAM,CAACC,OAAO,CAACL,SAAS,CAAC,CACjDM,MAAM,CAAC,CAAC,GAAGC,MAAM,CAAC,KAAKA,MAAM,KAAK,IAAI,CAAC,CACvCC,MAAM,CACL,CAACC,aAAa,EAAE,CAACC,GAAG,CAAC,KAAI;AACvB,IAAA,IAAIR,mBAAmB,CAACQ,GAAG,CAAC,EAAE;AAC5BD,MAAAA,aAAa,CAACE,IAAI,CAACT,mBAAmB,CAACQ,GAAa,CAAC,CAAC;KACvD,MAAM,IAAIT,UAAU,CAACW,OAAO,CAACF,GAAc,CAAC,CAAC,EAAE;MAC9CD,aAAa,CAACE,IAAI,CAACV,UAAU,CAACW,OAAO,CAACF,GAAc,CAAC,CAAC,CAAC;KACxD,MAAM,IAAIT,UAAU,CAACY,cAAc,CAACH,GAAqB,CAAC,CAAC,EAAE;MAC5DD,aAAa,CAACE,IAAI,CAACV,UAAU,CAACY,cAAc,CAACH,GAAqB,CAAC,CAAC,CAAC;AACvE;AACA,IAAA,OAAOD,aAAa;GACrB,EACD,CAACR,UAAU,CAACa,EAAE,CAACC,GAAG,CAAC,CAAa,CACjC;AAEH,EAAA,OAAOZ,kBAAkB;AAC3B;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"getClassNamesForModifiers.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js"],"sourcesContent":["import { DayFlag, SelectionState, UI } from \"../UI.js\";\nexport function getClassNamesForModifiers(modifiers, classNames, modifiersClassNames = {}) {\n const modifierClassNames = Object.entries(modifiers)\n .filter(([, active]) => active === true)\n .reduce((previousValue, [key]) => {\n if (modifiersClassNames[key]) {\n previousValue.push(modifiersClassNames[key]);\n }\n else if (classNames[DayFlag[key]]) {\n previousValue.push(classNames[DayFlag[key]]);\n }\n else if (classNames[SelectionState[key]]) {\n previousValue.push(classNames[SelectionState[key]]);\n }\n return previousValue;\n }, [classNames[UI.Day]]);\n return modifierClassNames;\n}\n//# sourceMappingURL=getClassNamesForModifiers.js.map"],"names":["getClassNamesForModifiers","modifiers","classNames","modifiersClassNames","modifierClassNames","Object","entries","filter","active","reduce","previousValue","key","push","DayFlag","SelectionState","UI","Day"],"mappings":";;AAGM,SAAUA,yBAAyBA,CACvCC,SAAkC,EAClCC,UAAsB,EACtBC,mBAAA,GAA2C,EAAE,EAAA;AAE7C,EAAA,MAAMC,kBAAkB,GAAGC,MAAM,CAACC,OAAO,CAACL,SAAS,CAAC,CACjDM,MAAM,CAAC,CAAC,GAAGC,MAAM,CAAC,KAAKA,MAAM,KAAK,IAAI,CAAC,CACvCC,MAAM,CACL,CAACC,aAAa,EAAE,CAACC,GAAG,CAAC,KAAI;AACvB,IAAA,IAAIR,mBAAmB,CAACQ,GAAG,CAAC,EAAE;AAC5BD,MAAAA,aAAa,CAACE,IAAI,CAACT,mBAAmB,CAACQ,GAAa,CAAC,CAAC;KACvD,MAAM,IAAIT,UAAU,CAACW,OAAO,CAACF,GAAc,CAAC,CAAC,EAAE;MAC9CD,aAAa,CAACE,IAAI,CAACV,UAAU,CAACW,OAAO,CAACF,GAAc,CAAC,CAAC,CAAC;KACxD,MAAM,IAAIT,UAAU,CAACY,cAAc,CAACH,GAAqB,CAAC,CAAC,EAAE;MAC5DD,aAAa,CAACE,IAAI,CAACV,UAAU,CAACY,cAAc,CAACH,GAAqB,CAAC,CAAC,CAAC;AACvE;AACA,IAAA,OAAOD,aAAa;GACrB,EACD,CAACR,UAAU,CAACa,EAAE,CAACC,GAAG,CAAC,CAAa,CACjC;AAEH,EAAA,OAAOZ,kBAAkB;AAC3B;;;;","x_google_ignoreList":[0]}
@@ -1,15 +1,5 @@
1
1
  import * as customComponents from '../components/custom-components.js';
2
2
 
3
- /**
4
- * Merges custom components from the props with the default components.
5
- *
6
- * This function ensures that any custom components provided in the props
7
- * override the default components.
8
- *
9
- * @param customComponents The custom components provided in the DayPicker
10
- * props.
11
- * @returns An object containing the merged components.
12
- */
13
3
  function getComponents(customComponents$1) {
14
4
  return {
15
5
  ...customComponents,
@@ -1 +1 @@
1
- {"version":3,"file":"getComponents.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/helpers/getComponents.js"],"sourcesContent":["import * as components from \"../components/custom-components.js\";\n/**\n * Merges custom components from the props with the default components.\n *\n * This function ensures that any custom components provided in the props\n * override the default components.\n *\n * @param customComponents The custom components provided in the DayPicker\n * props.\n * @returns An object containing the merged components.\n */\nexport function getComponents(customComponents) {\n return {\n ...components,\n ...customComponents\n };\n}\n//# sourceMappingURL=getComponents.js.map"],"names":["getComponents","customComponents","components"],"mappings":";;AAGA;;;;;;;;;;AAUM,SAAUA,aAAaA,CAC3BC,kBAA8C,EAAA;EAE9C,OAAO;AACL,IAAA,GAAGC,gBAAU;IACb,GAAGD;AACJ,GAAA;AACH;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"getComponents.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/helpers/getComponents.js"],"sourcesContent":["import * as components from \"../components/custom-components.js\";\nexport function getComponents(customComponents) {\n return {\n ...components,\n ...customComponents\n };\n}\n//# sourceMappingURL=getComponents.js.map"],"names":["getComponents","customComponents","components"],"mappings":";;AAGM,SAAUA,aAAaA,CAC3BC,kBAA8C,EAAA;EAE9C,OAAO;AACL,IAAA,GAAGC,gBAAU;IACb,GAAGD;AACJ,GAAA;AACH;;;;","x_google_ignoreList":[0]}
@@ -1,20 +1,11 @@
1
- /**
2
- * Extracts `data-` attributes from the DayPicker props.
3
- *
4
- * This function collects all `data-` attributes from the props and adds
5
- * additional attributes based on the DayPicker configuration.
6
- *
7
- * @param props The DayPicker props.
8
- * @returns An object containing the `data-` attributes.
9
- */
1
+ /** Return the `data-` attributes from the props. */
10
2
  function getDataAttributes(props) {
11
3
  const dataAttributes = {
12
4
  "data-mode": props.mode ?? undefined,
13
5
  "data-required": "required" in props ? props.required : undefined,
14
6
  "data-multiple-months": props.numberOfMonths && props.numberOfMonths > 1 || undefined,
15
7
  "data-week-numbers": props.showWeekNumber || undefined,
16
- "data-broadcast-calendar": props.broadcastCalendar || undefined,
17
- "data-nav-layout": props.navLayout || undefined
8
+ "data-broadcast-calendar": props.broadcastCalendar || undefined
18
9
  };
19
10
  Object.entries(props).forEach(([key, val]) => {
20
11
  if (key.startsWith("data-")) {
@@ -1 +1 @@
1
- {"version":3,"file":"getDataAttributes.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js"],"sourcesContent":["/**\n * Extracts `data-` attributes from the DayPicker props.\n *\n * This function collects all `data-` attributes from the props and adds\n * additional attributes based on the DayPicker configuration.\n *\n * @param props The DayPicker props.\n * @returns An object containing the `data-` attributes.\n */\nexport function getDataAttributes(props) {\n const dataAttributes = {\n \"data-mode\": props.mode ?? undefined,\n \"data-required\": \"required\" in props ? props.required : undefined,\n \"data-multiple-months\": (props.numberOfMonths && props.numberOfMonths > 1) || undefined,\n \"data-week-numbers\": props.showWeekNumber || undefined,\n \"data-broadcast-calendar\": props.broadcastCalendar || undefined,\n \"data-nav-layout\": props.navLayout || undefined\n };\n Object.entries(props).forEach(([key, val]) => {\n if (key.startsWith(\"data-\")) {\n dataAttributes[key] = val;\n }\n });\n return dataAttributes;\n}\n//# sourceMappingURL=getDataAttributes.js.map"],"names":["getDataAttributes","props","dataAttributes","mode","undefined","required","numberOfMonths","showWeekNumber","broadcastCalendar","navLayout","Object","entries","forEach","key","val","startsWith"],"mappings":"AAEA;;;;;;;;;AASM,SAAUA,iBAAiBA,CAC/BC,KAAqB,EAAA;AAErB,EAAA,MAAMC,cAAc,GAA4B;AAC9C,IAAA,WAAW,EAAED,KAAK,CAACE,IAAI,IAAIC,SAAS;IACpC,eAAe,EAAE,UAAU,IAAIH,KAAK,GAAGA,KAAK,CAACI,QAAQ,GAAGD,SAAS;IACjE,sBAAsB,EACnBH,KAAK,CAACK,cAAc,IAAIL,KAAK,CAACK,cAAc,GAAG,CAAC,IAAKF,SAAS;AACjE,IAAA,mBAAmB,EAAEH,KAAK,CAACM,cAAc,IAAIH,SAAS;AACtD,IAAA,yBAAyB,EAAEH,KAAK,CAACO,iBAAiB,IAAIJ,SAAS;AAC/D,IAAA,iBAAiB,EAAEH,KAAK,CAACQ,SAAS,IAAIL;AACvC,GAAA;AACDM,EAAAA,MAAM,CAACC,OAAO,CAACV,KAAK,CAAC,CAACW,OAAO,CAAC,CAAC,CAACC,GAAG,EAAEC,GAAG,CAAC,KAAI;AAC3C,IAAA,IAAID,GAAG,CAACE,UAAU,CAAC,OAAO,CAAC,EAAE;AAC3Bb,MAAAA,cAAc,CAACW,GAAG,CAAC,GAAGC,GAAG;AAC3B;AACF,GAAC,CAAC;AACF,EAAA,OAAOZ,cAAc;AACvB;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"getDataAttributes.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js"],"sourcesContent":["/** Return the `data-` attributes from the props. */\nexport function getDataAttributes(props) {\n const dataAttributes = {\n \"data-mode\": props.mode ?? undefined,\n \"data-required\": \"required\" in props ? props.required : undefined,\n \"data-multiple-months\": (props.numberOfMonths && props.numberOfMonths > 1) || undefined,\n \"data-week-numbers\": props.showWeekNumber || undefined,\n \"data-broadcast-calendar\": props.broadcastCalendar || undefined\n };\n Object.entries(props).forEach(([key, val]) => {\n if (key.startsWith(\"data-\")) {\n dataAttributes[key] = val;\n }\n });\n return dataAttributes;\n}\n//# sourceMappingURL=getDataAttributes.js.map"],"names":["getDataAttributes","props","dataAttributes","mode","undefined","required","numberOfMonths","showWeekNumber","broadcastCalendar","Object","entries","forEach","key","val","startsWith"],"mappings":"AAEA;AACM,SAAUA,iBAAiBA,CAC/BC,KAAqB,EAAA;AAErB,EAAA,MAAMC,cAAc,GAA4B;AAC9C,IAAA,WAAW,EAAED,KAAK,CAACE,IAAI,IAAIC,SAAS;IACpC,eAAe,EAAE,UAAU,IAAIH,KAAK,GAAGA,KAAK,CAACI,QAAQ,GAAGD,SAAS;IACjE,sBAAsB,EACnBH,KAAK,CAACK,cAAc,IAAIL,KAAK,CAACK,cAAc,GAAG,CAAC,IAAKF,SAAS;AACjE,IAAA,mBAAmB,EAAEH,KAAK,CAACM,cAAc,IAAIH,SAAS;AACtD,IAAA,yBAAyB,EAAEH,KAAK,CAACO,iBAAiB,IAAIJ;AACvD,GAAA;AACDK,EAAAA,MAAM,CAACC,OAAO,CAACT,KAAK,CAAC,CAACU,OAAO,CAAC,CAAC,CAACC,GAAG,EAAEC,GAAG,CAAC,KAAI;AAC3C,IAAA,IAAID,GAAG,CAACE,UAAU,CAAC,OAAO,CAAC,EAAE;AAC3BZ,MAAAA,cAAc,CAACU,GAAG,CAAC,GAAGC,GAAG;AAC3B;AACF,GAAC,CAAC;AACF,EAAA,OAAOX,cAAc;AACvB;;;;","x_google_ignoreList":[0]}
@@ -1,15 +1,4 @@
1
- /**
2
- * Returns all the dates to display in the calendar.
3
- *
4
- * This function calculates the range of dates to display based on the provided
5
- * display months, constraints, and calendar configuration.
6
- *
7
- * @param displayMonths The months to display in the calendar.
8
- * @param maxDate The maximum date to include in the range.
9
- * @param props The DayPicker props, including calendar configuration options.
10
- * @param dateLib The date library to use for date manipulation.
11
- * @returns An array of dates to display in the calendar.
12
- */
1
+ /** Return all the dates to display in the calendar. */
13
2
  function getDates(displayMonths, maxDate, props, dateLib) {
14
3
  const firstMonth = displayMonths[0];
15
4
  const lastMonth = displayMonths[displayMonths.length - 1];
@@ -32,7 +21,7 @@ function getDates(displayMonths, maxDate, props, dateLib) {
32
21
  startOfWeek
33
22
  } = dateLib;
34
23
  const startWeekFirstDate = broadcastCalendar ? startOfBroadcastWeek(firstMonth, dateLib) : ISOWeek ? startOfISOWeek(firstMonth) : startOfWeek(firstMonth);
35
- const endWeekLastDate = broadcastCalendar ? endOfBroadcastWeek(lastMonth) : ISOWeek ? endOfISOWeek(endOfMonth(lastMonth)) : endOfWeek(endOfMonth(lastMonth));
24
+ const endWeekLastDate = broadcastCalendar ? endOfBroadcastWeek(lastMonth, dateLib) : ISOWeek ? endOfISOWeek(endOfMonth(lastMonth)) : endOfWeek(endOfMonth(lastMonth));
36
25
  const nOfDays = differenceInCalendarDays(endWeekLastDate, startWeekFirstDate);
37
26
  const nOfMonths = differenceInCalendarMonths(lastMonth, firstMonth) + 1;
38
27
  const dates = [];