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,8 +1,9 @@
1
1
  /**
2
- * Enum representing the UI elements composing DayPicker. These elements are
3
- * mapped to {@link CustomComponents}, {@link ClassNames}, and {@link Styles}.
2
+ * The UI elements composing DayPicker. These elements are mapped to
3
+ * {@link CustomComponents}, the {@link ClassNames} and the {@link Styles} used by
4
+ * DayPicker.
4
5
  *
5
- * Some elements are extended by flags and modifiers.
6
+ * Some of these elements are extended by flags and modifiers.
6
7
  */
7
8
  var UI;
8
9
  (function (UI) {
@@ -12,7 +13,7 @@ var UI;
12
13
  UI["Chevron"] = "chevron";
13
14
  /**
14
15
  * The grid cell with the day's date. Extended by {@link DayFlag} and
15
- * {@link SelectionState}.
16
+ * {@link SelectionFlag}.
16
17
  */
17
18
  UI["Day"] = "day";
18
19
  /** The button containing the formatted day's date, inside the grid cell. */
@@ -66,7 +67,7 @@ var UI;
66
67
  /** The dropdown with the years. */
67
68
  UI["YearsDropdown"] = "years_dropdown";
68
69
  })(UI || (UI = {}));
69
- /** Enum representing flags for the {@link UI.Day} element. */
70
+ /** The flags for the {@link UI.Day}. */
70
71
  var DayFlag;
71
72
  (function (DayFlag) {
72
73
  /** The day is disabled. */
@@ -81,8 +82,8 @@ var DayFlag;
81
82
  DayFlag["today"] = "today";
82
83
  })(DayFlag || (DayFlag = {}));
83
84
  /**
84
- * Enum representing selection states that can be applied to the {@link UI.Day}
85
- * element in selection mode.
85
+ * The state that can be applied to the {@link UI.Day} element when in selection
86
+ * mode.
86
87
  */
87
88
  var SelectionState;
88
89
  (function (SelectionState) {
@@ -95,29 +96,6 @@ var SelectionState;
95
96
  /** The day is selected. */
96
97
  SelectionState["selected"] = "selected";
97
98
  })(SelectionState || (SelectionState = {}));
98
- /**
99
- * Enum representing different animation states for transitioning between
100
- * months.
101
- */
102
- var Animation;
103
- (function (Animation) {
104
- /** The entering weeks when they appear before the exiting month. */
105
- Animation["weeks_before_enter"] = "weeks_before_enter";
106
- /** The exiting weeks when they disappear before the entering month. */
107
- Animation["weeks_before_exit"] = "weeks_before_exit";
108
- /** The entering weeks when they appear after the exiting month. */
109
- Animation["weeks_after_enter"] = "weeks_after_enter";
110
- /** The exiting weeks when they disappear after the entering month. */
111
- Animation["weeks_after_exit"] = "weeks_after_exit";
112
- /** The entering caption when it appears after the exiting month. */
113
- Animation["caption_after_enter"] = "caption_after_enter";
114
- /** The exiting caption when it disappears after the entering month. */
115
- Animation["caption_after_exit"] = "caption_after_exit";
116
- /** The entering caption when it appears before the exiting month. */
117
- Animation["caption_before_enter"] = "caption_before_enter";
118
- /** The exiting caption when it disappears before the entering month. */
119
- Animation["caption_before_exit"] = "caption_before_exit";
120
- })(Animation || (Animation = {}));
121
99
 
122
- export { Animation, DayFlag, SelectionState, UI };
100
+ export { DayFlag, SelectionState, UI };
123
101
  //# sourceMappingURL=UI.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UI.js","sources":["../../../../../node_modules/react-day-picker/dist/esm/UI.js"],"sourcesContent":["/**\n * Enum representing the UI elements composing DayPicker. These elements are\n * mapped to {@link CustomComponents}, {@link ClassNames}, and {@link Styles}.\n *\n * Some elements are extended by flags and modifiers.\n */\nexport var UI;\n(function (UI) {\n /** The root component displaying the months and the navigation bar. */\n UI[\"Root\"] = \"root\";\n /** The Chevron SVG element used by navigation buttons and dropdowns. */\n UI[\"Chevron\"] = \"chevron\";\n /**\n * The grid cell with the day's date. Extended by {@link DayFlag} and\n * {@link SelectionState}.\n */\n UI[\"Day\"] = \"day\";\n /** The button containing the formatted day's date, inside the grid cell. */\n UI[\"DayButton\"] = \"day_button\";\n /** The caption label of the month (when not showing the dropdown navigation). */\n UI[\"CaptionLabel\"] = \"caption_label\";\n /** The container of the dropdown navigation (when enabled). */\n UI[\"Dropdowns\"] = \"dropdowns\";\n /** The dropdown element to select for years and months. */\n UI[\"Dropdown\"] = \"dropdown\";\n /** The container element of the dropdown. */\n UI[\"DropdownRoot\"] = \"dropdown_root\";\n /** The root element of the footer. */\n UI[\"Footer\"] = \"footer\";\n /** The month grid. */\n UI[\"MonthGrid\"] = \"month_grid\";\n /** Contains the dropdown navigation or the caption label. */\n UI[\"MonthCaption\"] = \"month_caption\";\n /** The dropdown with the months. */\n UI[\"MonthsDropdown\"] = \"months_dropdown\";\n /** Wrapper of the month grid. */\n UI[\"Month\"] = \"month\";\n /** The container of the displayed months. */\n UI[\"Months\"] = \"months\";\n /** The navigation bar with the previous and next buttons. */\n UI[\"Nav\"] = \"nav\";\n /**\n * The next month button in the navigation. *\n *\n * @since 9.1.0\n */\n UI[\"NextMonthButton\"] = \"button_next\";\n /**\n * The previous month button in the navigation.\n *\n * @since 9.1.0\n */\n UI[\"PreviousMonthButton\"] = \"button_previous\";\n /** The row containing the week. */\n UI[\"Week\"] = \"week\";\n /** The group of row weeks in a month (`tbody`). */\n UI[\"Weeks\"] = \"weeks\";\n /** The column header with the weekday. */\n UI[\"Weekday\"] = \"weekday\";\n /** The row grouping the weekdays in the column headers. */\n UI[\"Weekdays\"] = \"weekdays\";\n /** The cell containing the week number. */\n UI[\"WeekNumber\"] = \"week_number\";\n /** The cell header of the week numbers column. */\n UI[\"WeekNumberHeader\"] = \"week_number_header\";\n /** The dropdown with the years. */\n UI[\"YearsDropdown\"] = \"years_dropdown\";\n})(UI || (UI = {}));\n/** Enum representing flags for the {@link UI.Day} element. */\nexport var DayFlag;\n(function (DayFlag) {\n /** The day is disabled. */\n DayFlag[\"disabled\"] = \"disabled\";\n /** The day is hidden. */\n DayFlag[\"hidden\"] = \"hidden\";\n /** The day is outside the current month. */\n DayFlag[\"outside\"] = \"outside\";\n /** The day is focused. */\n DayFlag[\"focused\"] = \"focused\";\n /** The day is today. */\n DayFlag[\"today\"] = \"today\";\n})(DayFlag || (DayFlag = {}));\n/**\n * Enum representing selection states that can be applied to the {@link UI.Day}\n * element in selection mode.\n */\nexport var SelectionState;\n(function (SelectionState) {\n /** The day is at the end of a selected range. */\n SelectionState[\"range_end\"] = \"range_end\";\n /** The day is at the middle of a selected range. */\n SelectionState[\"range_middle\"] = \"range_middle\";\n /** The day is at the start of a selected range. */\n SelectionState[\"range_start\"] = \"range_start\";\n /** The day is selected. */\n SelectionState[\"selected\"] = \"selected\";\n})(SelectionState || (SelectionState = {}));\n/**\n * Enum representing different animation states for transitioning between\n * months.\n */\nexport var Animation;\n(function (Animation) {\n /** The entering weeks when they appear before the exiting month. */\n Animation[\"weeks_before_enter\"] = \"weeks_before_enter\";\n /** The exiting weeks when they disappear before the entering month. */\n Animation[\"weeks_before_exit\"] = \"weeks_before_exit\";\n /** The entering weeks when they appear after the exiting month. */\n Animation[\"weeks_after_enter\"] = \"weeks_after_enter\";\n /** The exiting weeks when they disappear after the entering month. */\n Animation[\"weeks_after_exit\"] = \"weeks_after_exit\";\n /** The entering caption when it appears after the exiting month. */\n Animation[\"caption_after_enter\"] = \"caption_after_enter\";\n /** The exiting caption when it disappears after the entering month. */\n Animation[\"caption_after_exit\"] = \"caption_after_exit\";\n /** The entering caption when it appears before the exiting month. */\n Animation[\"caption_before_enter\"] = \"caption_before_enter\";\n /** The exiting caption when it disappears before the entering month. */\n Animation[\"caption_before_exit\"] = \"caption_before_exit\";\n})(Animation || (Animation = {}));\n//# sourceMappingURL=UI.js.map"],"names":["UI","DayFlag","SelectionState","Animation"],"mappings":"AAIA;;;;;;AAMA,IAAYA;AAAZ,CAAA,UAAYA,EAAE,EAAA;AACZ;AACAA,EAAAA,EAAA,CAAa,MAAA,CAAA,GAAA,MAAA;AACb;AACAA,EAAAA,EAAA,CAAmB,SAAA,CAAA,GAAA,SAAA;AACnB;;;;AAIAA,EAAAA,EAAA,CAAW,KAAA,CAAA,GAAA,KAAA;AACX;AACAA,EAAAA,EAAA,CAAwB,WAAA,CAAA,GAAA,YAAA;AACxB;AACAA,EAAAA,EAAA,CAA8B,cAAA,CAAA,GAAA,eAAA;AAC9B;AACAA,EAAAA,EAAA,CAAuB,WAAA,CAAA,GAAA,WAAA;AACvB;AACAA,EAAAA,EAAA,CAAqB,UAAA,CAAA,GAAA,UAAA;AACrB;AACAA,EAAAA,EAAA,CAA8B,cAAA,CAAA,GAAA,eAAA;AAC9B;AACAA,EAAAA,EAAA,CAAiB,QAAA,CAAA,GAAA,QAAA;AACjB;AACAA,EAAAA,EAAA,CAAwB,WAAA,CAAA,GAAA,YAAA;AACxB;AACAA,EAAAA,EAAA,CAA8B,cAAA,CAAA,GAAA,eAAA;AAC9B;AACAA,EAAAA,EAAA,CAAkC,gBAAA,CAAA,GAAA,iBAAA;AAClC;AACAA,EAAAA,EAAA,CAAe,OAAA,CAAA,GAAA,OAAA;AACf;AACAA,EAAAA,EAAA,CAAiB,QAAA,CAAA,GAAA,QAAA;AACjB;AACAA,EAAAA,EAAA,CAAW,KAAA,CAAA,GAAA,KAAA;AACX;;;;;AAKAA,EAAAA,EAAA,CAA+B,iBAAA,CAAA,GAAA,aAAA;AAC/B;;;;;AAKAA,EAAAA,EAAA,CAAuC,qBAAA,CAAA,GAAA,iBAAA;AACvC;AACAA,EAAAA,EAAA,CAAa,MAAA,CAAA,GAAA,MAAA;AACb;AACAA,EAAAA,EAAA,CAAe,OAAA,CAAA,GAAA,OAAA;AACf;AACAA,EAAAA,EAAA,CAAmB,SAAA,CAAA,GAAA,SAAA;AACnB;AACAA,EAAAA,EAAA,CAAqB,UAAA,CAAA,GAAA,UAAA;AACrB;AACAA,EAAAA,EAAA,CAA0B,YAAA,CAAA,GAAA,aAAA;AAC1B;AACAA,EAAAA,EAAA,CAAuC,kBAAA,CAAA,GAAA,oBAAA;AACvC;AACAA,EAAAA,EAAA,CAAgC,eAAA,CAAA,GAAA,gBAAA;AAClC,CAAC,EA5DWA,EAAE,KAAFA,EAAE,GAAA,EAAA,CAAA,CAAA;AA8Dd;AACA,IAAYC;AAAZ,CAAA,UAAYA,OAAO,EAAA;AACjB;AACAA,EAAAA,OAAA,CAAqB,UAAA,CAAA,GAAA,UAAA;AACrB;AACAA,EAAAA,OAAA,CAAiB,QAAA,CAAA,GAAA,QAAA;AACjB;AACAA,EAAAA,OAAA,CAAmB,SAAA,CAAA,GAAA,SAAA;AACnB;AACAA,EAAAA,OAAA,CAAmB,SAAA,CAAA,GAAA,SAAA;AACnB;AACAA,EAAAA,OAAA,CAAe,OAAA,CAAA,GAAA,OAAA;AACjB,CAAC,EAXWA,OAAO,KAAPA,OAAO,GAAA,EAAA,CAAA,CAAA;AAanB;;;;AAIA,IAAYC;AAAZ,CAAA,UAAYA,cAAc,EAAA;AACxB;AACAA,EAAAA,cAAA,CAAuB,WAAA,CAAA,GAAA,WAAA;AACvB;AACAA,EAAAA,cAAA,CAA6B,cAAA,CAAA,GAAA,cAAA;AAC7B;AACAA,EAAAA,cAAA,CAA2B,aAAA,CAAA,GAAA,aAAA;AAC3B;AACAA,EAAAA,cAAA,CAAqB,UAAA,CAAA,GAAA,UAAA;AACvB,CAAC,EATWA,cAAc,KAAdA,cAAc,GAAA,EAAA,CAAA,CAAA;AAW1B;;;;AAIA,IAAYC;AAAZ,CAAA,UAAYA,SAAS,EAAA;AACnB;AACAA,EAAAA,SAAA,CAAyC,oBAAA,CAAA,GAAA,oBAAA;AACzC;AACAA,EAAAA,SAAA,CAAuC,mBAAA,CAAA,GAAA,mBAAA;AACvC;AACAA,EAAAA,SAAA,CAAuC,mBAAA,CAAA,GAAA,mBAAA;AACvC;AACAA,EAAAA,SAAA,CAAqC,kBAAA,CAAA,GAAA,kBAAA;AACrC;AACAA,EAAAA,SAAA,CAA2C,qBAAA,CAAA,GAAA,qBAAA;AAC3C;AACAA,EAAAA,SAAA,CAAyC,oBAAA,CAAA,GAAA,oBAAA;AACzC;AACAA,EAAAA,SAAA,CAA6C,sBAAA,CAAA,GAAA,sBAAA;AAC7C;AACAA,EAAAA,SAAA,CAA2C,qBAAA,CAAA,GAAA,qBAAA;AAC7C,CAAC,EAjBWA,SAAS,KAATA,SAAS,GAAA,EAAA,CAAA,CAAA;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"UI.js","sources":["../../../../../node_modules/react-day-picker/dist/esm/UI.js"],"sourcesContent":["/**\n * The UI elements composing DayPicker. These elements are mapped to\n * {@link CustomComponents}, the {@link ClassNames} and the {@link Styles} used by\n * DayPicker.\n *\n * Some of these elements are extended by flags and modifiers.\n */\nexport var UI;\n(function (UI) {\n /** The root component displaying the months and the navigation bar. */\n UI[\"Root\"] = \"root\";\n /** The Chevron SVG element used by navigation buttons and dropdowns. */\n UI[\"Chevron\"] = \"chevron\";\n /**\n * The grid cell with the day's date. Extended by {@link DayFlag} and\n * {@link SelectionFlag}.\n */\n UI[\"Day\"] = \"day\";\n /** The button containing the formatted day's date, inside the grid cell. */\n UI[\"DayButton\"] = \"day_button\";\n /** The caption label of the month (when not showing the dropdown navigation). */\n UI[\"CaptionLabel\"] = \"caption_label\";\n /** The container of the dropdown navigation (when enabled). */\n UI[\"Dropdowns\"] = \"dropdowns\";\n /** The dropdown element to select for years and months. */\n UI[\"Dropdown\"] = \"dropdown\";\n /** The container element of the dropdown. */\n UI[\"DropdownRoot\"] = \"dropdown_root\";\n /** The root element of the footer. */\n UI[\"Footer\"] = \"footer\";\n /** The month grid. */\n UI[\"MonthGrid\"] = \"month_grid\";\n /** Contains the dropdown navigation or the caption label. */\n UI[\"MonthCaption\"] = \"month_caption\";\n /** The dropdown with the months. */\n UI[\"MonthsDropdown\"] = \"months_dropdown\";\n /** Wrapper of the month grid. */\n UI[\"Month\"] = \"month\";\n /** The container of the displayed months. */\n UI[\"Months\"] = \"months\";\n /** The navigation bar with the previous and next buttons. */\n UI[\"Nav\"] = \"nav\";\n /**\n * The next month button in the navigation. *\n *\n * @since 9.1.0\n */\n UI[\"NextMonthButton\"] = \"button_next\";\n /**\n * The previous month button in the navigation.\n *\n * @since 9.1.0\n */\n UI[\"PreviousMonthButton\"] = \"button_previous\";\n /** The row containing the week. */\n UI[\"Week\"] = \"week\";\n /** The group of row weeks in a month (`tbody`). */\n UI[\"Weeks\"] = \"weeks\";\n /** The column header with the weekday. */\n UI[\"Weekday\"] = \"weekday\";\n /** The row grouping the weekdays in the column headers. */\n UI[\"Weekdays\"] = \"weekdays\";\n /** The cell containing the week number. */\n UI[\"WeekNumber\"] = \"week_number\";\n /** The cell header of the week numbers column. */\n UI[\"WeekNumberHeader\"] = \"week_number_header\";\n /** The dropdown with the years. */\n UI[\"YearsDropdown\"] = \"years_dropdown\";\n})(UI || (UI = {}));\n/** The flags for the {@link UI.Day}. */\nexport var DayFlag;\n(function (DayFlag) {\n /** The day is disabled. */\n DayFlag[\"disabled\"] = \"disabled\";\n /** The day is hidden. */\n DayFlag[\"hidden\"] = \"hidden\";\n /** The day is outside the current month. */\n DayFlag[\"outside\"] = \"outside\";\n /** The day is focused. */\n DayFlag[\"focused\"] = \"focused\";\n /** The day is today. */\n DayFlag[\"today\"] = \"today\";\n})(DayFlag || (DayFlag = {}));\n/**\n * The state that can be applied to the {@link UI.Day} element when in selection\n * mode.\n */\nexport var SelectionState;\n(function (SelectionState) {\n /** The day is at the end of a selected range. */\n SelectionState[\"range_end\"] = \"range_end\";\n /** The day is at the middle of a selected range. */\n SelectionState[\"range_middle\"] = \"range_middle\";\n /** The day is at the start of a selected range. */\n SelectionState[\"range_start\"] = \"range_start\";\n /** The day is selected. */\n SelectionState[\"selected\"] = \"selected\";\n})(SelectionState || (SelectionState = {}));\n//# sourceMappingURL=UI.js.map"],"names":["UI","DayFlag","SelectionState"],"mappings":"AAIA;;;;;;;AAOA,IAAYA;AAAZ,CAAA,UAAYA,EAAE,EAAA;AACZ;AACAA,EAAAA,EAAA,CAAa,MAAA,CAAA,GAAA,MAAA;AACb;AACAA,EAAAA,EAAA,CAAmB,SAAA,CAAA,GAAA,SAAA;AACnB;;;;AAIAA,EAAAA,EAAA,CAAW,KAAA,CAAA,GAAA,KAAA;AACX;AACAA,EAAAA,EAAA,CAAwB,WAAA,CAAA,GAAA,YAAA;AACxB;AACAA,EAAAA,EAAA,CAA8B,cAAA,CAAA,GAAA,eAAA;AAC9B;AACAA,EAAAA,EAAA,CAAuB,WAAA,CAAA,GAAA,WAAA;AACvB;AACAA,EAAAA,EAAA,CAAqB,UAAA,CAAA,GAAA,UAAA;AACrB;AACAA,EAAAA,EAAA,CAA8B,cAAA,CAAA,GAAA,eAAA;AAC9B;AACAA,EAAAA,EAAA,CAAiB,QAAA,CAAA,GAAA,QAAA;AACjB;AACAA,EAAAA,EAAA,CAAwB,WAAA,CAAA,GAAA,YAAA;AACxB;AACAA,EAAAA,EAAA,CAA8B,cAAA,CAAA,GAAA,eAAA;AAC9B;AACAA,EAAAA,EAAA,CAAkC,gBAAA,CAAA,GAAA,iBAAA;AAClC;AACAA,EAAAA,EAAA,CAAe,OAAA,CAAA,GAAA,OAAA;AACf;AACAA,EAAAA,EAAA,CAAiB,QAAA,CAAA,GAAA,QAAA;AACjB;AACAA,EAAAA,EAAA,CAAW,KAAA,CAAA,GAAA,KAAA;AACX;;;;;AAKAA,EAAAA,EAAA,CAA+B,iBAAA,CAAA,GAAA,aAAA;AAC/B;;;;;AAKAA,EAAAA,EAAA,CAAuC,qBAAA,CAAA,GAAA,iBAAA;AACvC;AACAA,EAAAA,EAAA,CAAa,MAAA,CAAA,GAAA,MAAA;AACb;AACAA,EAAAA,EAAA,CAAe,OAAA,CAAA,GAAA,OAAA;AACf;AACAA,EAAAA,EAAA,CAAmB,SAAA,CAAA,GAAA,SAAA;AACnB;AACAA,EAAAA,EAAA,CAAqB,UAAA,CAAA,GAAA,UAAA;AACrB;AACAA,EAAAA,EAAA,CAA0B,YAAA,CAAA,GAAA,aAAA;AAC1B;AACAA,EAAAA,EAAA,CAAuC,kBAAA,CAAA,GAAA,oBAAA;AACvC;AACAA,EAAAA,EAAA,CAAgC,eAAA,CAAA,GAAA,gBAAA;AAClC,CAAC,EA5DWA,EAAE,KAAFA,EAAE,GAAA,EAAA,CAAA,CAAA;AA8Dd;AACA,IAAYC;AAAZ,CAAA,UAAYA,OAAO,EAAA;AACjB;AACAA,EAAAA,OAAA,CAAqB,UAAA,CAAA,GAAA,UAAA;AACrB;AACAA,EAAAA,OAAA,CAAiB,QAAA,CAAA,GAAA,QAAA;AACjB;AACAA,EAAAA,OAAA,CAAmB,SAAA,CAAA,GAAA,SAAA;AACnB;AACAA,EAAAA,OAAA,CAAmB,SAAA,CAAA,GAAA,SAAA;AACnB;AACAA,EAAAA,OAAA,CAAe,OAAA,CAAA,GAAA,OAAA;AACjB,CAAC,EAXWA,OAAO,KAAPA,OAAO,GAAA,EAAA,CAAA,CAAA;AAanB;;;;AAIA,IAAYC;AAAZ,CAAA,UAAYA,cAAc,EAAA;AACxB;AACAA,EAAAA,cAAA,CAAuB,WAAA,CAAA,GAAA,WAAA;AACvB;AACAA,EAAAA,cAAA,CAA6B,cAAA,CAAA,GAAA,cAAA;AAC7B;AACAA,EAAAA,cAAA,CAA2B,aAAA,CAAA,GAAA,aAAA;AAC3B;AACAA,EAAAA,cAAA,CAAqB,UAAA,CAAA,GAAA,UAAA;AACvB,CAAC,EATWA,cAAc,KAAdA,cAAc,GAAA,EAAA,CAAA,CAAA;;;;","x_google_ignoreList":[0]}
@@ -1,11 +1,11 @@
1
1
  import { defaultDateLib } from './DateLib.js';
2
2
 
3
3
  /**
4
- * Represents a day displayed in the calendar.
4
+ * Represent the day displayed in the calendar.
5
5
  *
6
- * In DayPicker, a `CalendarDay` is a wrapper around a `Date` object that
7
- * provides additional information about the day, such as whether it belongs to
8
- * the displayed month.
6
+ * In DayPicker, a `Day` is a `Date` that can be displayed in the calendar. It
7
+ * is used as extension of the native `Date` object to provide additional
8
+ * information about the day.
9
9
  */
10
10
  class CalendarDay {
11
11
  constructor(date, displayMonth, dateLib = defaultDateLib) {
@@ -15,11 +15,8 @@ class CalendarDay {
15
15
  this.dateLib = dateLib;
16
16
  }
17
17
  /**
18
- * Checks if this day is equal to another `CalendarDay`, considering both the
19
- * date and the displayed month.
20
- *
21
- * @param day The `CalendarDay` to compare with.
22
- * @returns `true` if the days are equal, otherwise `false`.
18
+ * Check if the day is the same as the given day: considering if it is in the
19
+ * same display month.
23
20
  */
24
21
  isEqualTo(day) {
25
22
  return this.dateLib.isSameDay(day.date, this.date) && this.dateLib.isSameMonth(day.displayMonth, this.displayMonth);
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarDay.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/classes/CalendarDay.js"],"sourcesContent":["import { defaultDateLib } from \"./DateLib.js\";\n/**\n * Represents a day displayed in the calendar.\n *\n * In DayPicker, a `CalendarDay` is a wrapper around a `Date` object that\n * provides additional information about the day, such as whether it belongs to\n * the displayed month.\n */\nexport class CalendarDay {\n constructor(date, displayMonth, dateLib = defaultDateLib) {\n this.date = date;\n this.displayMonth = displayMonth;\n this.outside = Boolean(displayMonth && !dateLib.isSameMonth(date, displayMonth));\n this.dateLib = dateLib;\n }\n /**\n * Checks if this day is equal to another `CalendarDay`, considering both the\n * date and the displayed month.\n *\n * @param day The `CalendarDay` to compare with.\n * @returns `true` if the days are equal, otherwise `false`.\n */\n isEqualTo(day) {\n return (this.dateLib.isSameDay(day.date, this.date) &&\n this.dateLib.isSameMonth(day.displayMonth, this.displayMonth));\n }\n}\n//# sourceMappingURL=CalendarDay.js.map"],"names":["CalendarDay","constructor","date","displayMonth","dateLib","defaultDateLib","outside","Boolean","isSameMonth","isEqualTo","day","isSameDay"],"mappings":";;AAEA;;;;;;;AAOM,MAAOA,WAAW,CAAA;AACtBC,EAAAA,WAAAA,CACEC,IAAU,EACVC,YAAkB,EAClBC,OAAA,GAAmBC,cAAc,EAAA;IAEjC,IAAI,CAACH,IAAI,GAAGA,IAAI;IAChB,IAAI,CAACC,YAAY,GAAGA,YAAY;AAChC,IAAA,IAAI,CAACG,OAAO,GAAGC,OAAO,CACpBJ,YAAY,IAAI,CAACC,OAAO,CAACI,WAAW,CAACN,IAAI,EAAEC,YAAY,CAAC,CACzD;IACD,IAAI,CAACC,OAAO,GAAGA,OAAO;AACxB;AA6BA;;;;;;;AAOAK,EAAAA,SAASA,CAACC,GAAgB,EAAA;AACxB,IAAA,OACE,IAAI,CAACN,OAAO,CAACO,SAAS,CAACD,GAAG,CAACR,IAAI,EAAE,IAAI,CAACA,IAAI,CAAC,IAC3C,IAAI,CAACE,OAAO,CAACI,WAAW,CAACE,GAAG,CAACP,YAAY,EAAE,IAAI,CAACA,YAAY,CAAC;AAEjE;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"CalendarDay.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/classes/CalendarDay.js"],"sourcesContent":["import { defaultDateLib } from \"./DateLib.js\";\n/**\n * Represent the day displayed in the calendar.\n *\n * In DayPicker, a `Day` is a `Date` that can be displayed in the calendar. It\n * is used as extension of the native `Date` object to provide additional\n * information about the day.\n */\nexport class CalendarDay {\n constructor(date, displayMonth, dateLib = defaultDateLib) {\n this.date = date;\n this.displayMonth = displayMonth;\n this.outside = Boolean(displayMonth && !dateLib.isSameMonth(date, displayMonth));\n this.dateLib = dateLib;\n }\n /**\n * Check if the day is the same as the given day: considering if it is in the\n * same display month.\n */\n isEqualTo(day) {\n return (this.dateLib.isSameDay(day.date, this.date) &&\n this.dateLib.isSameMonth(day.displayMonth, this.displayMonth));\n }\n}\n//# sourceMappingURL=CalendarDay.js.map"],"names":["CalendarDay","constructor","date","displayMonth","dateLib","defaultDateLib","outside","Boolean","isSameMonth","isEqualTo","day","isSameDay"],"mappings":";;AAEA;;;;;;;AAOM,MAAOA,WAAW,CAAA;AACtBC,EAAAA,WAAAA,CACEC,IAAU,EACVC,YAAkB,EAClBC,OAAA,GAAmBC,cAAc,EAAA;IAEjC,IAAI,CAACH,IAAI,GAAGA,IAAI;IAChB,IAAI,CAACC,YAAY,GAAGA,YAAY;AAChC,IAAA,IAAI,CAACG,OAAO,GAAGC,OAAO,CACpBJ,YAAY,IAAI,CAACC,OAAO,CAACI,WAAW,CAACN,IAAI,EAAEC,YAAY,CAAC,CACzD;IACD,IAAI,CAACC,OAAO,GAAGA,OAAO;AACxB;AA6BA;;;;AAIAK,EAAAA,SAASA,CAACC,GAAgB,EAAA;AACxB,IAAA,OACE,IAAI,CAACN,OAAO,CAACO,SAAS,CAACD,GAAG,CAACR,IAAI,EAAE,IAAI,CAACA,IAAI,CAAC,IAC3C,IAAI,CAACE,OAAO,CAACI,WAAW,CAACE,GAAG,CAACP,YAAY,EAAE,IAAI,CAACA,YAAY,CAAC;AAEjE;;;;;","x_google_ignoreList":[0]}
@@ -1,9 +1,4 @@
1
- /**
2
- * Represents a month in a calendar year.
3
- *
4
- * A `CalendarMonth` contains the weeks within the month and the date of the
5
- * month.
6
- */
1
+ /** Represent a month in a calendar year. Contains the weeks within the month. */
7
2
  class CalendarMonth {
8
3
  constructor(month, weeks) {
9
4
  this.date = month;
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarMonth.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js"],"sourcesContent":["/**\n * Represents a month in a calendar year.\n *\n * A `CalendarMonth` contains the weeks within the month and the date of the\n * month.\n */\nexport class CalendarMonth {\n constructor(month, weeks) {\n this.date = month;\n this.weeks = weeks;\n }\n}\n//# sourceMappingURL=CalendarMonth.js.map"],"names":["CalendarMonth","constructor","month","weeks","date"],"mappings":"AAEA;;;;;;AAMM,MAAOA,aAAa,CAAA;EACxBC,WAAYC,CAAAA,KAAW,EAAEC,KAAqB,EAAA;IAC5C,IAAI,CAACC,IAAI,GAAGF,KAAK;IACjB,IAAI,CAACC,KAAK,GAAGA,KAAK;AACpB;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"CalendarMonth.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js"],"sourcesContent":["/** Represent a month in a calendar year. Contains the weeks within the month. */\nexport class CalendarMonth {\n constructor(month, weeks) {\n this.date = month;\n this.weeks = weeks;\n }\n}\n//# sourceMappingURL=CalendarMonth.js.map"],"names":["CalendarMonth","constructor","month","weeks","date"],"mappings":"AAEA;AACM,MAAOA,aAAa,CAAA;EACxBC,WAAYC,CAAAA,KAAW,EAAEC,KAAqB,EAAA;IAC5C,IAAI,CAACC,IAAI,GAAGF,KAAK;IACjB,IAAI,CAACC,KAAK,GAAGA,KAAK;AACpB;;;;;","x_google_ignoreList":[0]}
@@ -1,8 +1,4 @@
1
- /**
2
- * Represents a week in a calendar month.
3
- *
4
- * A `CalendarWeek` contains the days within the week and the week number.
5
- */
1
+ /** Represent a week in a calendar month. */
6
2
  class CalendarWeek {
7
3
  constructor(weekNumber, days) {
8
4
  this.days = days;
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarWeek.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js"],"sourcesContent":["/**\n * Represents a week in a calendar month.\n *\n * A `CalendarWeek` contains the days within the week and the week number.\n */\nexport class CalendarWeek {\n constructor(weekNumber, days) {\n this.days = days;\n this.weekNumber = weekNumber;\n }\n}\n//# sourceMappingURL=CalendarWeek.js.map"],"names":["CalendarWeek","constructor","weekNumber","days"],"mappings":"AAEA;;;;;AAKM,MAAOA,YAAY,CAAA;EACvBC,WAAYC,CAAAA,UAAkB,EAAEC,IAAmB,EAAA;IACjD,IAAI,CAACA,IAAI,GAAGA,IAAI;IAChB,IAAI,CAACD,UAAU,GAAGA,UAAU;AAC9B;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"CalendarWeek.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js"],"sourcesContent":["/** Represent a week in a calendar month. */\nexport class CalendarWeek {\n constructor(weekNumber, days) {\n this.days = days;\n this.weekNumber = weekNumber;\n }\n}\n//# sourceMappingURL=CalendarWeek.js.map"],"names":["CalendarWeek","constructor","weekNumber","days"],"mappings":"AAEA;AACM,MAAOA,YAAY,CAAA;EACvBC,WAAYC,CAAAA,UAAkB,EAAEC,IAAmB,EAAA;IACjD,IAAI,CAACA,IAAI,GAAGA,IAAI;IAChB,IAAI,CAACD,UAAU,GAAGA,UAAU;AAC9B;;;;;","x_google_ignoreList":[0]}
@@ -1,8 +1,8 @@
1
1
  import { TZDate } from '../../../../@date-fns/tz/date/index.js';
2
2
  import '../../../../@date-fns/tz/date/mini.js';
3
- import { enUS } from '../../../node_modules/date-fns/locale/en-US.js';
4
3
  import { endOfBroadcastWeek } from '../helpers/endOfBroadcastWeek.js';
5
4
  import { startOfBroadcastWeek } from '../helpers/startOfBroadcastWeek.js';
5
+ import { enUS } from '../../../node_modules/date-fns/locale/en-US.js';
6
6
  import { addDays } from '../../../node_modules/date-fns/addDays.js';
7
7
  import { addMonths } from '../../../node_modules/date-fns/addMonths.js';
8
8
  import { addWeeks } from '../../../node_modules/date-fns/addWeeks.js';
@@ -36,8 +36,8 @@ import { startOfWeek } from '../../../node_modules/date-fns/startOfWeek.js';
36
36
  import { startOfYear } from '../../../node_modules/date-fns/startOfYear.js';
37
37
 
38
38
  /**
39
- * A wrapper class around [date-fns](http://date-fns.org) that provides utility
40
- * methods for date manipulation and formatting.
39
+ * A wrapper class around [date-fns](http://date-fns.org) sharing the same
40
+ * options.
41
41
  *
42
42
  * @since 9.2.0
43
43
  * @example
@@ -46,10 +46,10 @@ import { startOfYear } from '../../../node_modules/date-fns/startOfYear.js';
46
46
  */
47
47
  class DateLib {
48
48
  /**
49
- * Creates an instance of `DateLib`.
49
+ * Creates an instance of DateLib.
50
50
  *
51
- * @param options Configuration options for the date library.
52
- * @param overrides Custom overrides for the date library functions.
51
+ * @param options The options for the date library.
52
+ * @param overrides Overrides for the date library functions.
53
53
  */
54
54
  constructor(options, overrides) {
55
55
  /**
@@ -59,10 +59,10 @@ class DateLib {
59
59
  */
60
60
  this.Date = Date;
61
61
  /**
62
- * Creates a new `Date` object representing today's date.
62
+ * Creates a new date object to the today's date.
63
63
  *
64
64
  * @since 9.5.0
65
- * @returns A `Date` object for today's date.
65
+ * @returns The new date object.
66
66
  */
67
67
  this.today = () => {
68
68
  if (this.overrides?.today) {
@@ -74,13 +74,13 @@ class DateLib {
74
74
  return new this.Date();
75
75
  };
76
76
  /**
77
- * Creates a new `Date` object with the specified year, month, and day.
77
+ * Creates a new date object with the specified year, month and date.
78
78
  *
79
79
  * @since 9.5.0
80
80
  * @param year The year.
81
81
  * @param monthIndex The month (0-11).
82
82
  * @param date The day of the month.
83
- * @returns A new `Date` object.
83
+ * @returns The new date object.
84
84
  */
85
85
  this.newDate = (year, monthIndex, date) => {
86
86
  if (this.overrides?.newDate) {
@@ -99,7 +99,7 @@ class DateLib {
99
99
  * @returns The new date with the days added.
100
100
  */
101
101
  this.addDays = (date, amount) => {
102
- return this.overrides?.addDays ? this.overrides.addDays(date, amount) : addDays(date, amount);
102
+ return this.overrides?.addDays?.(date, amount) ?? addDays(date, amount);
103
103
  };
104
104
  /**
105
105
  * Adds the specified number of months to the given date.
@@ -109,7 +109,7 @@ class DateLib {
109
109
  * @returns The new date with the months added.
110
110
  */
111
111
  this.addMonths = (date, amount) => {
112
- return this.overrides?.addMonths ? this.overrides.addMonths(date, amount) : addMonths(date, amount);
112
+ return this.overrides?.addMonths?.(date, amount) ?? addMonths(date, amount);
113
113
  };
114
114
  /**
115
115
  * Adds the specified number of weeks to the given date.
@@ -119,7 +119,7 @@ class DateLib {
119
119
  * @returns The new date with the weeks added.
120
120
  */
121
121
  this.addWeeks = (date, amount) => {
122
- return this.overrides?.addWeeks ? this.overrides.addWeeks(date, amount) : addWeeks(date, amount);
122
+ return this.overrides?.addWeeks?.(date, amount) ?? addWeeks(date, amount);
123
123
  };
124
124
  /**
125
125
  * Adds the specified number of years to the given date.
@@ -129,7 +129,7 @@ class DateLib {
129
129
  * @returns The new date with the years added.
130
130
  */
131
131
  this.addYears = (date, amount) => {
132
- return this.overrides?.addYears ? this.overrides.addYears(date, amount) : addYears(date, amount);
132
+ return this.overrides?.addYears?.(date, amount) ?? addYears(date, amount);
133
133
  };
134
134
  /**
135
135
  * Returns the number of calendar days between the given dates.
@@ -139,7 +139,7 @@ class DateLib {
139
139
  * @returns The number of calendar days between the dates.
140
140
  */
141
141
  this.differenceInCalendarDays = (dateLeft, dateRight) => {
142
- return this.overrides?.differenceInCalendarDays ? this.overrides.differenceInCalendarDays(dateLeft, dateRight) : differenceInCalendarDays(dateLeft, dateRight);
142
+ return this.overrides?.differenceInCalendarDays?.(dateLeft, dateRight) ?? differenceInCalendarDays(dateLeft, dateRight);
143
143
  };
144
144
  /**
145
145
  * Returns the number of calendar months between the given dates.
@@ -149,7 +149,7 @@ class DateLib {
149
149
  * @returns The number of calendar months between the dates.
150
150
  */
151
151
  this.differenceInCalendarMonths = (dateLeft, dateRight) => {
152
- return this.overrides?.differenceInCalendarMonths ? this.overrides.differenceInCalendarMonths(dateLeft, dateRight) : differenceInCalendarMonths(dateLeft, dateRight);
152
+ return this.overrides?.differenceInCalendarMonths?.(dateLeft, dateRight) ?? differenceInCalendarMonths(dateLeft, dateRight);
153
153
  };
154
154
  /**
155
155
  * Returns the months between the given dates.
@@ -157,7 +157,7 @@ class DateLib {
157
157
  * @param interval The interval to get the months for.
158
158
  */
159
159
  this.eachMonthOfInterval = interval => {
160
- return this.overrides?.eachMonthOfInterval ? this.overrides.eachMonthOfInterval(interval) : eachMonthOfInterval(interval);
160
+ return this.overrides?.eachMonthOfInterval?.(interval) ?? eachMonthOfInterval(interval);
161
161
  };
162
162
  /**
163
163
  * Returns the end of the broadcast week for the given date.
@@ -165,8 +165,8 @@ class DateLib {
165
165
  * @param date The original date.
166
166
  * @returns The end of the broadcast week.
167
167
  */
168
- this.endOfBroadcastWeek = date => {
169
- return this.overrides?.endOfBroadcastWeek ? this.overrides.endOfBroadcastWeek(date) : endOfBroadcastWeek(date, this);
168
+ this.endOfBroadcastWeek = (date, dateLib) => {
169
+ return this.overrides?.endOfBroadcastWeek?.(date, dateLib) ?? endOfBroadcastWeek(date, this);
170
170
  };
171
171
  /**
172
172
  * Returns the end of the ISO week for the given date.
@@ -175,7 +175,7 @@ class DateLib {
175
175
  * @returns The end of the ISO week.
176
176
  */
177
177
  this.endOfISOWeek = date => {
178
- return this.overrides?.endOfISOWeek ? this.overrides.endOfISOWeek(date) : endOfISOWeek(date);
178
+ return this.overrides?.endOfISOWeek?.(date) ?? endOfISOWeek(date);
179
179
  };
180
180
  /**
181
181
  * Returns the end of the month for the given date.
@@ -184,7 +184,7 @@ class DateLib {
184
184
  * @returns The end of the month.
185
185
  */
186
186
  this.endOfMonth = date => {
187
- return this.overrides?.endOfMonth ? this.overrides.endOfMonth(date) : endOfMonth(date);
187
+ return this.overrides?.endOfMonth?.(date) ?? endOfMonth(date);
188
188
  };
189
189
  /**
190
190
  * Returns the end of the week for the given date.
@@ -193,7 +193,7 @@ class DateLib {
193
193
  * @returns The end of the week.
194
194
  */
195
195
  this.endOfWeek = (date, options) => {
196
- return this.overrides?.endOfWeek ? this.overrides.endOfWeek(date, options) : endOfWeek(date, this.options);
196
+ return this.overrides?.endOfWeek?.(date, options ?? this.options) ?? endOfWeek(date, options ?? this.options);
197
197
  };
198
198
  /**
199
199
  * Returns the end of the year for the given date.
@@ -202,7 +202,7 @@ class DateLib {
202
202
  * @returns The end of the year.
203
203
  */
204
204
  this.endOfYear = date => {
205
- return this.overrides?.endOfYear ? this.overrides.endOfYear(date) : endOfYear(date);
205
+ return this.overrides?.endOfYear?.(date) ?? endOfYear(date);
206
206
  };
207
207
  /**
208
208
  * Formats the given date using the specified format string.
@@ -212,7 +212,7 @@ class DateLib {
212
212
  * @returns The formatted date string.
213
213
  */
214
214
  this.format = (date, formatStr, options) => {
215
- const formatted = this.overrides?.format ? this.overrides.format(date, formatStr, this.options) : format(date, formatStr, this.options);
215
+ const formatted = this.overrides?.format?.(date, formatStr, options ?? this.options) ?? format(date, formatStr, options ?? this.options);
216
216
  if (this.options.numerals && this.options.numerals !== "latn") {
217
217
  return this.replaceDigits(formatted);
218
218
  }
@@ -225,7 +225,7 @@ class DateLib {
225
225
  * @returns The ISO week number.
226
226
  */
227
227
  this.getISOWeek = date => {
228
- return this.overrides?.getISOWeek ? this.overrides.getISOWeek(date) : getISOWeek(date);
228
+ return this.overrides?.getISOWeek?.(date) ?? getISOWeek(date);
229
229
  };
230
230
  /**
231
231
  * Returns the month of the given date.
@@ -233,8 +233,8 @@ class DateLib {
233
233
  * @param date The date to get the month for.
234
234
  * @returns The month.
235
235
  */
236
- this.getMonth = (date, options) => {
237
- return this.overrides?.getMonth ? this.overrides.getMonth(date, this.options) : getMonth(date, this.options);
236
+ this.getMonth = date => {
237
+ return this.overrides?.getMonth?.(date) ?? getMonth(date);
238
238
  };
239
239
  /**
240
240
  * Returns the year of the given date.
@@ -242,8 +242,8 @@ class DateLib {
242
242
  * @param date The date to get the year for.
243
243
  * @returns The year.
244
244
  */
245
- this.getYear = (date, options) => {
246
- return this.overrides?.getYear ? this.overrides.getYear(date, this.options) : getYear(date, this.options);
245
+ this.getYear = date => {
246
+ return this.overrides?.getYear?.(date) ?? getYear(date);
247
247
  };
248
248
  /**
249
249
  * Returns the local week number for the given date.
@@ -252,7 +252,7 @@ class DateLib {
252
252
  * @returns The week number.
253
253
  */
254
254
  this.getWeek = (date, options) => {
255
- return this.overrides?.getWeek ? this.overrides.getWeek(date, this.options) : getWeek(date, this.options);
255
+ return this.overrides?.getWeek?.(date, options ?? this.options) ?? getWeek(date, options ?? this.options);
256
256
  };
257
257
  /**
258
258
  * Checks if the first date is after the second date.
@@ -262,7 +262,7 @@ class DateLib {
262
262
  * @returns True if the first date is after the second date.
263
263
  */
264
264
  this.isAfter = (date, dateToCompare) => {
265
- return this.overrides?.isAfter ? this.overrides.isAfter(date, dateToCompare) : isAfter(date, dateToCompare);
265
+ return this.overrides?.isAfter?.(date, dateToCompare) ?? isAfter(date, dateToCompare);
266
266
  };
267
267
  /**
268
268
  * Checks if the first date is before the second date.
@@ -272,7 +272,7 @@ class DateLib {
272
272
  * @returns True if the first date is before the second date.
273
273
  */
274
274
  this.isBefore = (date, dateToCompare) => {
275
- return this.overrides?.isBefore ? this.overrides.isBefore(date, dateToCompare) : isBefore(date, dateToCompare);
275
+ return this.overrides?.isBefore?.(date, dateToCompare) ?? isBefore(date, dateToCompare);
276
276
  };
277
277
  /**
278
278
  * Checks if the given value is a Date object.
@@ -281,7 +281,7 @@ class DateLib {
281
281
  * @returns True if the value is a Date object.
282
282
  */
283
283
  this.isDate = value => {
284
- return this.overrides?.isDate ? this.overrides.isDate(value) : isDate(value);
284
+ return this.overrides?.isDate?.(value) ?? isDate(value);
285
285
  };
286
286
  /**
287
287
  * Checks if the given dates are on the same day.
@@ -291,7 +291,7 @@ class DateLib {
291
291
  * @returns True if the dates are on the same day.
292
292
  */
293
293
  this.isSameDay = (dateLeft, dateRight) => {
294
- return this.overrides?.isSameDay ? this.overrides.isSameDay(dateLeft, dateRight) : isSameDay(dateLeft, dateRight);
294
+ return this.overrides?.isSameDay?.(dateLeft, dateRight) ?? isSameDay(dateLeft, dateRight);
295
295
  };
296
296
  /**
297
297
  * Checks if the given dates are in the same month.
@@ -301,7 +301,7 @@ class DateLib {
301
301
  * @returns True if the dates are in the same month.
302
302
  */
303
303
  this.isSameMonth = (dateLeft, dateRight) => {
304
- return this.overrides?.isSameMonth ? this.overrides.isSameMonth(dateLeft, dateRight) : isSameMonth(dateLeft, dateRight);
304
+ return this.overrides?.isSameMonth?.(dateLeft, dateRight) ?? isSameMonth(dateLeft, dateRight);
305
305
  };
306
306
  /**
307
307
  * Checks if the given dates are in the same year.
@@ -311,7 +311,7 @@ class DateLib {
311
311
  * @returns True if the dates are in the same year.
312
312
  */
313
313
  this.isSameYear = (dateLeft, dateRight) => {
314
- return this.overrides?.isSameYear ? this.overrides.isSameYear(dateLeft, dateRight) : isSameYear(dateLeft, dateRight);
314
+ return this.overrides?.isSameYear?.(dateLeft, dateRight) ?? isSameYear(dateLeft, dateRight);
315
315
  };
316
316
  /**
317
317
  * Returns the latest date in the given array of dates.
@@ -320,7 +320,7 @@ class DateLib {
320
320
  * @returns The latest date.
321
321
  */
322
322
  this.max = dates => {
323
- return this.overrides?.max ? this.overrides.max(dates) : max(dates);
323
+ return this.overrides?.max?.(dates) ?? max(dates);
324
324
  };
325
325
  /**
326
326
  * Returns the earliest date in the given array of dates.
@@ -329,7 +329,7 @@ class DateLib {
329
329
  * @returns The earliest date.
330
330
  */
331
331
  this.min = dates => {
332
- return this.overrides?.min ? this.overrides.min(dates) : min(dates);
332
+ return this.overrides?.min?.(dates) ?? min(dates);
333
333
  };
334
334
  /**
335
335
  * Sets the month of the given date.
@@ -339,7 +339,7 @@ class DateLib {
339
339
  * @returns The new date with the month set.
340
340
  */
341
341
  this.setMonth = (date, month) => {
342
- return this.overrides?.setMonth ? this.overrides.setMonth(date, month) : setMonth(date, month);
342
+ return this.overrides?.setMonth?.(date, month) ?? setMonth(date, month);
343
343
  };
344
344
  /**
345
345
  * Sets the year of the given date.
@@ -349,7 +349,7 @@ class DateLib {
349
349
  * @returns The new date with the year set.
350
350
  */
351
351
  this.setYear = (date, year) => {
352
- return this.overrides?.setYear ? this.overrides.setYear(date, year) : setYear(date, year);
352
+ return this.overrides?.setYear?.(date, year) ?? setYear(date, year);
353
353
  };
354
354
  /**
355
355
  * Returns the start of the broadcast week for the given date.
@@ -358,7 +358,7 @@ class DateLib {
358
358
  * @returns The start of the broadcast week.
359
359
  */
360
360
  this.startOfBroadcastWeek = (date, dateLib) => {
361
- return this.overrides?.startOfBroadcastWeek ? this.overrides.startOfBroadcastWeek(date, this) : startOfBroadcastWeek(date, this);
361
+ return this.overrides?.startOfBroadcastWeek?.(date, dateLib ?? this) ?? startOfBroadcastWeek(date, dateLib ?? this);
362
362
  };
363
363
  /**
364
364
  * Returns the start of the day for the given date.
@@ -367,7 +367,7 @@ class DateLib {
367
367
  * @returns The start of the day.
368
368
  */
369
369
  this.startOfDay = date => {
370
- return this.overrides?.startOfDay ? this.overrides.startOfDay(date) : startOfDay(date);
370
+ return this.overrides?.startOfDay?.(date) ?? startOfDay(date);
371
371
  };
372
372
  /**
373
373
  * Returns the start of the ISO week for the given date.
@@ -376,7 +376,7 @@ class DateLib {
376
376
  * @returns The start of the ISO week.
377
377
  */
378
378
  this.startOfISOWeek = date => {
379
- return this.overrides?.startOfISOWeek ? this.overrides.startOfISOWeek(date) : startOfISOWeek(date);
379
+ return this.overrides?.startOfISOWeek?.(date) ?? startOfISOWeek(date);
380
380
  };
381
381
  /**
382
382
  * Returns the start of the month for the given date.
@@ -385,7 +385,7 @@ class DateLib {
385
385
  * @returns The start of the month.
386
386
  */
387
387
  this.startOfMonth = date => {
388
- return this.overrides?.startOfMonth ? this.overrides.startOfMonth(date) : startOfMonth(date);
388
+ return this.overrides?.startOfMonth?.(date) ?? startOfMonth(date);
389
389
  };
390
390
  /**
391
391
  * Returns the start of the week for the given date.
@@ -393,8 +393,8 @@ class DateLib {
393
393
  * @param date The original date.
394
394
  * @returns The start of the week.
395
395
  */
396
- this.startOfWeek = (date, options) => {
397
- return this.overrides?.startOfWeek ? this.overrides.startOfWeek(date, this.options) : startOfWeek(date, this.options);
396
+ this.startOfWeek = date => {
397
+ return this.overrides?.startOfWeek?.(date) ?? startOfWeek(date, this.options);
398
398
  };
399
399
  /**
400
400
  * Returns the start of the year for the given date.
@@ -403,7 +403,7 @@ class DateLib {
403
403
  * @returns The start of the year.
404
404
  */
405
405
  this.startOfYear = date => {
406
- return this.overrides?.startOfYear ? this.overrides.startOfYear(date) : startOfYear(date);
406
+ return this.overrides?.startOfYear?.(date) ?? startOfYear(date);
407
407
  };
408
408
  this.options = {
409
409
  locale: enUS,
@@ -412,11 +412,9 @@ class DateLib {
412
412
  this.overrides = overrides;
413
413
  }
414
414
  /**
415
- * Generates a mapping of Arabic digits (0-9) to the target numbering system
416
- * digits.
415
+ * Generate digit map dynamically using Intl.NumberFormat.
417
416
  *
418
417
  * @since 9.5.0
419
- * @returns A record mapping Arabic digits to the target numerals.
420
418
  */
421
419
  getDigitMap() {
422
420
  const {
@@ -434,22 +432,20 @@ class DateLib {
434
432
  return digitMap;
435
433
  }
436
434
  /**
437
- * Replaces Arabic digits in a string with the target numbering system digits.
435
+ * Replace Arabic digits with the target numbering system digits.
438
436
  *
439
437
  * @since 9.5.0
440
- * @param input The string containing Arabic digits.
441
- * @returns The string with digits replaced.
442
438
  */
443
439
  replaceDigits(input) {
444
440
  const digitMap = this.getDigitMap();
445
441
  return input.replace(/\d/g, digit => digitMap[digit] || digit);
446
442
  }
447
443
  /**
448
- * Formats a number using the configured numbering system.
444
+ * Format number using the custom numbering system.
449
445
  *
450
446
  * @since 9.5.0
451
447
  * @param value The number to format.
452
- * @returns The formatted number as a string.
448
+ * @returns The formatted number.
453
449
  */
454
450
  formatNumber(value) {
455
451
  return this.replaceDigits(value.toString());