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.
- package/README.md +75 -75
- package/lib/_virtual/_commonjsHelpers.js +26 -1
- package/lib/_virtual/_commonjsHelpers.js.map +1 -1
- package/lib/_virtual/immutable.es.js +7 -0
- package/lib/_virtual/immutable.es.js.map +1 -0
- package/lib/_virtual/index10.js +2 -2
- package/lib/_virtual/index11.js +2 -2
- package/lib/_virtual/index14.js +4 -0
- package/lib/_virtual/index14.js.map +1 -0
- package/lib/_virtual/react-is.development2.js +4 -0
- package/lib/_virtual/react-is.development2.js.map +1 -0
- package/lib/_virtual/react-is.production.min2.js +4 -0
- package/lib/_virtual/react-is.production.min2.js.map +1 -0
- package/lib/assets/icons/spinner.svg.js +1 -1
- package/lib/assets/icons/spinner.svg.js.map +1 -1
- package/lib/components/DatePicker/DatePicker.js +4 -1
- package/lib/components/DatePicker/DatePicker.js.map +1 -1
- package/lib/components/Drawer/Drawer.js +2 -1
- package/lib/components/Drawer/Drawer.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFile.d.ts +1 -0
- package/lib/components/Excel/ExcelFile/ExcelFile.js +4 -2
- package/lib/components/Excel/ExcelFile/ExcelFile.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.d.ts +1 -0
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js +4 -3
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js.map +1 -1
- package/lib/index.cjs +7029 -2517
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/node_modules/draft-js/lib/AtomicBlockUtils.js +1 -1
- package/lib/node_modules/draft-js/lib/BlockMapBuilder.js +1 -1
- package/lib/node_modules/draft-js/lib/BlockTree.js +1 -1
- package/lib/node_modules/draft-js/lib/CharacterMetadata.js +1 -1
- package/lib/node_modules/draft-js/lib/CompositeDraftDecorator.js +1 -1
- package/lib/node_modules/draft-js/lib/ContentBlock.js +1 -1
- package/lib/node_modules/draft-js/lib/ContentBlockNode.js +1 -1
- package/lib/node_modules/draft-js/lib/ContentState.js +1 -1
- package/lib/node_modules/draft-js/lib/ContentStateInlineStyle.js +1 -1
- package/lib/node_modules/draft-js/lib/DOMObserver.js +1 -1
- package/lib/node_modules/draft-js/lib/DefaultDraftBlockRenderMap.js +1 -1
- package/lib/node_modules/draft-js/lib/DraftEditorBlockNode.react.js +1 -1
- package/lib/node_modules/draft-js/lib/DraftEditorNode.react.js +1 -1
- package/lib/node_modules/draft-js/lib/DraftEntity.js +1 -1
- package/lib/node_modules/draft-js/lib/DraftEntityInstance.js +1 -1
- package/lib/node_modules/draft-js/lib/DraftModifier.js +1 -1
- package/lib/node_modules/draft-js/lib/DraftPasteProcessor.js +1 -1
- package/lib/node_modules/draft-js/lib/EditorBidiService.js +1 -1
- package/lib/node_modules/draft-js/lib/EditorState.js +1 -1
- package/lib/node_modules/draft-js/lib/SelectionState.js +1 -1
- package/lib/node_modules/draft-js/lib/applyEntityToContentState.js +1 -1
- package/lib/node_modules/draft-js/lib/convertFromHTMLToContentBlocks.js +1 -1
- package/lib/node_modules/draft-js/lib/convertFromRawToDraftState.js +1 -1
- package/lib/node_modules/draft-js/lib/createCharacterList.js +1 -1
- package/lib/node_modules/draft-js/lib/decodeInlineStyleRanges.js +1 -1
- package/lib/node_modules/draft-js/lib/insertFragmentIntoContentState.js +1 -1
- package/lib/node_modules/draft-js/lib/insertTextIntoContentState.js +1 -1
- package/lib/node_modules/draft-js/lib/modifyBlockForContentState.js +1 -1
- package/lib/node_modules/draft-js/lib/moveBlockInContentState.js +1 -1
- package/lib/node_modules/draft-js/lib/randomizeBlockMapKeys.js +1 -1
- package/lib/node_modules/draft-js/lib/removeRangeFromContentState.js +1 -1
- package/lib/node_modules/draft-js/lib/splitBlockInContentState.js +1 -1
- package/lib/node_modules/{immutable → draft-js/node_modules/immutable}/dist/immutable.js +1 -1
- package/lib/node_modules/draft-js/node_modules/immutable/dist/immutable.js.map +1 -0
- package/lib/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +1 -1
- package/lib/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +175 -0
- package/lib/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/lib/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +125 -0
- package/lib/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/lib/node_modules/{react-is → hoist-non-react-statics/node_modules/react-is}/index.js +1 -1
- package/lib/node_modules/hoist-non-react-statics/node_modules/react-is/index.js.map +1 -0
- package/lib/node_modules/immutable/dist/immutable.es.js +4829 -0
- package/lib/node_modules/immutable/dist/immutable.es.js.map +1 -0
- package/lib/node_modules/js-beautify/js/src/css/beautifier.js +1 -1
- package/lib/node_modules/js-beautify/js/src/css/index.js +1 -1
- package/lib/node_modules/js-beautify/js/src/css/options.js +1 -1
- package/lib/node_modules/js-beautify/js/src/html/beautifier.js +1 -1
- package/lib/node_modules/js-beautify/js/src/html/index.js +1 -1
- package/lib/node_modules/js-beautify/js/src/html/options.js +1 -1
- package/lib/node_modules/libphonenumber-js/metadata.min.json.js +12 -12
- package/lib/node_modules/libphonenumber-js/metadata.min.json.js.map +1 -1
- package/lib/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
- package/lib/node_modules/prop-types/index.js +1 -1
- package/lib/node_modules/{react-is → prop-types/node_modules/react-is}/cjs/react-is.development.js +1 -1
- package/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/lib/node_modules/{react-is → prop-types/node_modules/react-is}/cjs/react-is.production.min.js +1 -1
- package/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/lib/node_modules/prop-types/node_modules/react-is/index.js +18 -0
- package/lib/node_modules/prop-types/node_modules/react-is/index.js.map +1 -0
- package/lib/node_modules/react-day-picker/dist/esm/DayPicker.js +17 -112
- package/lib/node_modules/react-day-picker/dist/esm/DayPicker.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/UI.js +9 -31
- package/lib/node_modules/react-day-picker/dist/esm/UI.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +6 -9
- package/lib/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +1 -6
- package/lib/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +1 -5
- package/lib/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/classes/DateLib.js +51 -55
- package/lib/node_modules/react-day-picker/dist/esm/classes/DateLib.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Chevron.js +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Chevron.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Day.js +4 -4
- package/lib/node_modules/react-day-picker/dist/esm/components/Day.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/DayButton.js +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/DayButton.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Dropdown.js +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Dropdown.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/DropdownNav.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Footer.js +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Footer.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Month.js +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Month.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/MonthCaption.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/MonthGrid.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Months.js +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Months.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Nav.js +6 -16
- package/lib/node_modules/react-day-picker/dist/esm/components/Nav.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Option.js +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Option.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Root.js +2 -7
- package/lib/node_modules/react-day-picker/dist/esm/components/Root.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Select.js +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Select.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Week.js +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Week.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/WeekNumber.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Weekday.js +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Weekday.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Weekdays.js +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Weekdays.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Weeks.js +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/Weeks.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +2 -7
- package/lib/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +2 -7
- package/lib/node_modules/react-day-picker/dist/esm/formatters/formatDay.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +2 -6
- package/lib/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +5 -11
- package/lib/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +2 -3
- package/lib/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +2 -7
- package/lib/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +1 -5
- package/lib/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +19 -46
- package/lib/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +1 -7
- package/lib/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +1 -8
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +0 -12
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +0 -10
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getComponents.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +2 -11
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getDates.js +2 -13
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getDates.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getDays.js +1 -4
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getDays.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +2 -9
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +0 -10
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +2 -17
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +1 -7
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +3 -13
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +1 -15
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +8 -17
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getMonths.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +1 -7
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +7 -20
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +6 -13
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +5 -13
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +0 -11
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +6 -9
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +1 -6
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +1 -13
- package/lib/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +1 -8
- package/lib/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +6 -10
- package/lib/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +5 -9
- package/lib/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +3 -7
- package/lib/node_modules/react-day-picker/dist/esm/labels/labelGrid.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +3 -7
- package/lib/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +1 -3
- package/lib/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/labels/labelNav.js +1 -2
- package/lib/node_modules/react-day-picker/dist/esm/labels/labelNav.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/labels/labelNext.js +3 -5
- package/lib/node_modules/react-day-picker/dist/esm/labels/labelNext.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +3 -5
- package/lib/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +1 -4
- package/lib/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +1 -3
- package/lib/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +1 -5
- package/lib/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +1 -3
- package/lib/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/selection/useMulti.js +0 -9
- package/lib/node_modules/react-day-picker/dist/esm/selection/useMulti.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/selection/useRange.js +2 -10
- package/lib/node_modules/react-day-picker/dist/esm/selection/useRange.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/selection/useSingle.js +0 -9
- package/lib/node_modules/react-day-picker/dist/esm/selection/useSingle.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/useCalendar.js +1 -9
- package/lib/node_modules/react-day-picker/dist/esm/useCalendar.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/useDayPicker.js +6 -4
- package/lib/node_modules/react-day-picker/dist/esm/useDayPicker.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/useFocus.js +1 -14
- package/lib/node_modules/react-day-picker/dist/esm/useFocus.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/{helpers/createGetModifiers.js → useGetModifiers.js} +7 -13
- package/lib/node_modules/react-day-picker/dist/esm/useGetModifiers.js.map +1 -0
- package/lib/node_modules/react-day-picker/dist/esm/useSelection.js +0 -10
- package/lib/node_modules/react-day-picker/dist/esm/useSelection.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/utils/addToRange.js +8 -10
- package/lib/node_modules/react-day-picker/dist/esm/utils/addToRange.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +15 -5
- package/lib/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +9 -7
- package/lib/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +14 -5
- package/lib/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +3 -7
- package/lib/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +2 -6
- package/lib/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js.map +1 -1
- package/lib/node_modules/react-day-picker/dist/esm/utils/typeguards.js +6 -19
- package/lib/node_modules/react-day-picker/dist/esm/utils/typeguards.js.map +1 -1
- package/lib/node_modules/react-draft-wysiwyg/dist/react-draft-wysiwyg.js +2 -2
- package/lib/node_modules/react-draft-wysiwyg/dist/react-draft-wysiwyg.js.map +1 -1
- package/lib/node_modules/react-hook-form/dist/index.esm.js +1609 -1661
- package/lib/node_modules/react-hook-form/dist/index.esm.js.map +1 -1
- package/lib/node_modules/webrtc-adapter/src/js/common_shim.js +1 -1
- package/lib/node_modules/webrtc-adapter/src/js/common_shim.js.map +1 -1
- package/lib/node_modules/webrtc-adapter/src/js/utils.js +4 -6
- package/lib/node_modules/webrtc-adapter/src/js/utils.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +107 -107
- package/lib/node_modules/immutable/dist/immutable.js.map +0 -1
- package/lib/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js.map +0 -1
- package/lib/node_modules/react-day-picker/dist/esm/useAnimation.js +0 -158
- package/lib/node_modules/react-day-picker/dist/esm/useAnimation.js.map +0 -1
- package/lib/node_modules/react-is/cjs/react-is.development.js.map +0 -1
- package/lib/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
- package/lib/node_modules/react-is/index.js.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DateLib.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/classes/DateLib.js"],"sourcesContent":["import { TZDate } from \"@date-fns/tz\";\nimport { addDays, addMonths, addWeeks, addYears, differenceInCalendarDays, differenceInCalendarMonths, eachMonthOfInterval, endOfISOWeek, endOfMonth, endOfWeek, endOfYear, format, getISOWeek, getMonth, getWeek, getYear, isAfter, isBefore, isDate, isSameDay, isSameMonth, isSameYear, max, min, setMonth, setYear, startOfDay, startOfISOWeek, startOfMonth, startOfWeek, startOfYear } from \"date-fns\";\nimport { enUS } from \"date-fns/locale/en-US\";\nimport { endOfBroadcastWeek } from \"../helpers/endOfBroadcastWeek.js\";\nimport { startOfBroadcastWeek } from \"../helpers/startOfBroadcastWeek.js\";\n/**\n * A wrapper class around [date-fns](http://date-fns.org) that provides utility\n * methods for date manipulation and formatting.\n *\n * @since 9.2.0\n * @example\n * const dateLib = new DateLib({ locale: es });\n * const newDate = dateLib.addDays(new Date(), 5);\n */\nexport class DateLib {\n /**\n * Creates an instance of `DateLib`.\n *\n * @param options Configuration options for the date library.\n * @param overrides Custom overrides for the date library functions.\n */\n constructor(options, overrides) {\n /**\n * Reference to the built-in Date constructor.\n *\n * @deprecated Use `newDate()` or `today()`.\n */\n this.Date = Date;\n /**\n * Creates a new `Date` object representing today's date.\n *\n * @since 9.5.0\n * @returns A `Date` object for today's date.\n */\n this.today = () => {\n if (this.overrides?.today) {\n return this.overrides.today();\n }\n if (this.options.timeZone) {\n return TZDate.tz(this.options.timeZone);\n }\n return new this.Date();\n };\n /**\n * Creates a new `Date` object with the specified year, month, and day.\n *\n * @since 9.5.0\n * @param year The year.\n * @param monthIndex The month (0-11).\n * @param date The day of the month.\n * @returns A new `Date` object.\n */\n this.newDate = (year, monthIndex, date) => {\n if (this.overrides?.newDate) {\n return this.overrides.newDate(year, monthIndex, date);\n }\n if (this.options.timeZone) {\n return new TZDate(year, monthIndex, date, this.options.timeZone);\n }\n return new Date(year, monthIndex, date);\n };\n /**\n * Adds the specified number of days to the given date.\n *\n * @param date The date to add days to.\n * @param amount The number of days to add.\n * @returns The new date with the days added.\n */\n this.addDays = (date, amount) => {\n return this.overrides?.addDays\n ? this.overrides.addDays(date, amount)\n : addDays(date, amount);\n };\n /**\n * Adds the specified number of months to the given date.\n *\n * @param date The date to add months to.\n * @param amount The number of months to add.\n * @returns The new date with the months added.\n */\n this.addMonths = (date, amount) => {\n return this.overrides?.addMonths\n ? this.overrides.addMonths(date, amount)\n : addMonths(date, amount);\n };\n /**\n * Adds the specified number of weeks to the given date.\n *\n * @param date The date to add weeks to.\n * @param amount The number of weeks to add.\n * @returns The new date with the weeks added.\n */\n this.addWeeks = (date, amount) => {\n return this.overrides?.addWeeks\n ? this.overrides.addWeeks(date, amount)\n : addWeeks(date, amount);\n };\n /**\n * Adds the specified number of years to the given date.\n *\n * @param date The date to add years to.\n * @param amount The number of years to add.\n * @returns The new date with the years added.\n */\n this.addYears = (date, amount) => {\n return this.overrides?.addYears\n ? this.overrides.addYears(date, amount)\n : addYears(date, amount);\n };\n /**\n * Returns the number of calendar days between the given dates.\n *\n * @param dateLeft The later date.\n * @param dateRight The earlier date.\n * @returns The number of calendar days between the dates.\n */\n this.differenceInCalendarDays = (dateLeft, dateRight) => {\n return this.overrides?.differenceInCalendarDays\n ? this.overrides.differenceInCalendarDays(dateLeft, dateRight)\n : differenceInCalendarDays(dateLeft, dateRight);\n };\n /**\n * Returns the number of calendar months between the given dates.\n *\n * @param dateLeft The later date.\n * @param dateRight The earlier date.\n * @returns The number of calendar months between the dates.\n */\n this.differenceInCalendarMonths = (dateLeft, dateRight) => {\n return this.overrides?.differenceInCalendarMonths\n ? this.overrides.differenceInCalendarMonths(dateLeft, dateRight)\n : differenceInCalendarMonths(dateLeft, dateRight);\n };\n /**\n * Returns the months between the given dates.\n *\n * @param interval The interval to get the months for.\n */\n this.eachMonthOfInterval = (interval) => {\n return this.overrides?.eachMonthOfInterval\n ? this.overrides.eachMonthOfInterval(interval)\n : eachMonthOfInterval(interval);\n };\n /**\n * Returns the end of the broadcast week for the given date.\n *\n * @param date The original date.\n * @returns The end of the broadcast week.\n */\n this.endOfBroadcastWeek = (date) => {\n return this.overrides?.endOfBroadcastWeek\n ? this.overrides.endOfBroadcastWeek(date)\n : endOfBroadcastWeek(date, this);\n };\n /**\n * Returns the end of the ISO week for the given date.\n *\n * @param date The original date.\n * @returns The end of the ISO week.\n */\n this.endOfISOWeek = (date) => {\n return this.overrides?.endOfISOWeek\n ? this.overrides.endOfISOWeek(date)\n : endOfISOWeek(date);\n };\n /**\n * Returns the end of the month for the given date.\n *\n * @param date The original date.\n * @returns The end of the month.\n */\n this.endOfMonth = (date) => {\n return this.overrides?.endOfMonth\n ? this.overrides.endOfMonth(date)\n : endOfMonth(date);\n };\n /**\n * Returns the end of the week for the given date.\n *\n * @param date The original date.\n * @returns The end of the week.\n */\n this.endOfWeek = (date, options) => {\n return this.overrides?.endOfWeek\n ? this.overrides.endOfWeek(date, options)\n : endOfWeek(date, this.options);\n };\n /**\n * Returns the end of the year for the given date.\n *\n * @param date The original date.\n * @returns The end of the year.\n */\n this.endOfYear = (date) => {\n return this.overrides?.endOfYear\n ? this.overrides.endOfYear(date)\n : endOfYear(date);\n };\n /**\n * Formats the given date using the specified format string.\n *\n * @param date The date to format.\n * @param formatStr The format string.\n * @returns The formatted date string.\n */\n this.format = (date, formatStr, options) => {\n const formatted = this.overrides?.format\n ? this.overrides.format(date, formatStr, this.options)\n : format(date, formatStr, this.options);\n if (this.options.numerals && this.options.numerals !== \"latn\") {\n return this.replaceDigits(formatted);\n }\n return formatted;\n };\n /**\n * Returns the ISO week number for the given date.\n *\n * @param date The date to get the ISO week number for.\n * @returns The ISO week number.\n */\n this.getISOWeek = (date) => {\n return this.overrides?.getISOWeek\n ? this.overrides.getISOWeek(date)\n : getISOWeek(date);\n };\n /**\n * Returns the month of the given date.\n *\n * @param date The date to get the month for.\n * @returns The month.\n */\n this.getMonth = (date, options) => {\n return this.overrides?.getMonth\n ? this.overrides.getMonth(date, this.options)\n : getMonth(date, this.options);\n };\n /**\n * Returns the year of the given date.\n *\n * @param date The date to get the year for.\n * @returns The year.\n */\n this.getYear = (date, options) => {\n return this.overrides?.getYear\n ? this.overrides.getYear(date, this.options)\n : getYear(date, this.options);\n };\n /**\n * Returns the local week number for the given date.\n *\n * @param date The date to get the week number for.\n * @returns The week number.\n */\n this.getWeek = (date, options) => {\n return this.overrides?.getWeek\n ? this.overrides.getWeek(date, this.options)\n : getWeek(date, this.options);\n };\n /**\n * Checks if the first date is after the second date.\n *\n * @param date The date to compare.\n * @param dateToCompare The date to compare with.\n * @returns True if the first date is after the second date.\n */\n this.isAfter = (date, dateToCompare) => {\n return this.overrides?.isAfter\n ? this.overrides.isAfter(date, dateToCompare)\n : isAfter(date, dateToCompare);\n };\n /**\n * Checks if the first date is before the second date.\n *\n * @param date The date to compare.\n * @param dateToCompare The date to compare with.\n * @returns True if the first date is before the second date.\n */\n this.isBefore = (date, dateToCompare) => {\n return this.overrides?.isBefore\n ? this.overrides.isBefore(date, dateToCompare)\n : isBefore(date, dateToCompare);\n };\n /**\n * Checks if the given value is a Date object.\n *\n * @param value The value to check.\n * @returns True if the value is a Date object.\n */\n this.isDate = (value) => {\n return this.overrides?.isDate\n ? this.overrides.isDate(value)\n : isDate(value);\n };\n /**\n * Checks if the given dates are on the same day.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are on the same day.\n */\n this.isSameDay = (dateLeft, dateRight) => {\n return this.overrides?.isSameDay\n ? this.overrides.isSameDay(dateLeft, dateRight)\n : isSameDay(dateLeft, dateRight);\n };\n /**\n * Checks if the given dates are in the same month.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are in the same month.\n */\n this.isSameMonth = (dateLeft, dateRight) => {\n return this.overrides?.isSameMonth\n ? this.overrides.isSameMonth(dateLeft, dateRight)\n : isSameMonth(dateLeft, dateRight);\n };\n /**\n * Checks if the given dates are in the same year.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are in the same year.\n */\n this.isSameYear = (dateLeft, dateRight) => {\n return this.overrides?.isSameYear\n ? this.overrides.isSameYear(dateLeft, dateRight)\n : isSameYear(dateLeft, dateRight);\n };\n /**\n * Returns the latest date in the given array of dates.\n *\n * @param dates The array of dates to compare.\n * @returns The latest date.\n */\n this.max = (dates) => {\n return this.overrides?.max ? this.overrides.max(dates) : max(dates);\n };\n /**\n * Returns the earliest date in the given array of dates.\n *\n * @param dates The array of dates to compare.\n * @returns The earliest date.\n */\n this.min = (dates) => {\n return this.overrides?.min ? this.overrides.min(dates) : min(dates);\n };\n /**\n * Sets the month of the given date.\n *\n * @param date The date to set the month on.\n * @param month The month to set (0-11).\n * @returns The new date with the month set.\n */\n this.setMonth = (date, month) => {\n return this.overrides?.setMonth\n ? this.overrides.setMonth(date, month)\n : setMonth(date, month);\n };\n /**\n * Sets the year of the given date.\n *\n * @param date The date to set the year on.\n * @param year The year to set.\n * @returns The new date with the year set.\n */\n this.setYear = (date, year) => {\n return this.overrides?.setYear\n ? this.overrides.setYear(date, year)\n : setYear(date, year);\n };\n /**\n * Returns the start of the broadcast week for the given date.\n *\n * @param date The original date.\n * @returns The start of the broadcast week.\n */\n this.startOfBroadcastWeek = (date, dateLib) => {\n return this.overrides?.startOfBroadcastWeek\n ? this.overrides.startOfBroadcastWeek(date, this)\n : startOfBroadcastWeek(date, this);\n };\n /**\n * Returns the start of the day for the given date.\n *\n * @param date The original date.\n * @returns The start of the day.\n */\n this.startOfDay = (date) => {\n return this.overrides?.startOfDay\n ? this.overrides.startOfDay(date)\n : startOfDay(date);\n };\n /**\n * Returns the start of the ISO week for the given date.\n *\n * @param date The original date.\n * @returns The start of the ISO week.\n */\n this.startOfISOWeek = (date) => {\n return this.overrides?.startOfISOWeek\n ? this.overrides.startOfISOWeek(date)\n : startOfISOWeek(date);\n };\n /**\n * Returns the start of the month for the given date.\n *\n * @param date The original date.\n * @returns The start of the month.\n */\n this.startOfMonth = (date) => {\n return this.overrides?.startOfMonth\n ? this.overrides.startOfMonth(date)\n : startOfMonth(date);\n };\n /**\n * Returns the start of the week for the given date.\n *\n * @param date The original date.\n * @returns The start of the week.\n */\n this.startOfWeek = (date, options) => {\n return this.overrides?.startOfWeek\n ? this.overrides.startOfWeek(date, this.options)\n : startOfWeek(date, this.options);\n };\n /**\n * Returns the start of the year for the given date.\n *\n * @param date The original date.\n * @returns The start of the year.\n */\n this.startOfYear = (date) => {\n return this.overrides?.startOfYear\n ? this.overrides.startOfYear(date)\n : startOfYear(date);\n };\n this.options = { locale: enUS, ...options };\n this.overrides = overrides;\n }\n /**\n * Generates a mapping of Arabic digits (0-9) to the target numbering system\n * digits.\n *\n * @since 9.5.0\n * @returns A record mapping Arabic digits to the target numerals.\n */\n getDigitMap() {\n const { numerals = \"latn\" } = this.options;\n // Use Intl.NumberFormat to create a formatter with the specified numbering system\n const formatter = new Intl.NumberFormat(\"en-US\", {\n numberingSystem: numerals\n });\n // Map Arabic digits (0-9) to the target numerals\n const digitMap = {};\n for (let i = 0; i < 10; i++) {\n digitMap[i.toString()] = formatter.format(i);\n }\n return digitMap;\n }\n /**\n * Replaces Arabic digits in a string with the target numbering system digits.\n *\n * @since 9.5.0\n * @param input The string containing Arabic digits.\n * @returns The string with digits replaced.\n */\n replaceDigits(input) {\n const digitMap = this.getDigitMap();\n return input.replace(/\\d/g, (digit) => digitMap[digit] || digit);\n }\n /**\n * Formats a number using the configured numbering system.\n *\n * @since 9.5.0\n * @param value The number to format.\n * @returns The formatted number as a string.\n */\n formatNumber(value) {\n return this.replaceDigits(value.toString());\n }\n}\n/** The default locale (English). */\nexport { enUS as defaultLocale } from \"date-fns/locale/en-US\";\n/**\n * The default date library with English locale.\n *\n * @since 9.2.0\n */\nexport const defaultDateLib = new DateLib();\n/**\n * @ignore\n * @deprecated Use `defaultDateLib`.\n */\nexport const dateLib = defaultDateLib;\n//# sourceMappingURL=DateLib.js.map"],"names":["DateLib","constructor","options","overrides","Date","today","timeZone","TZDate","tz","newDate","year","monthIndex","date","addDays","amount","addMonths","addWeeks","addYears","differenceInCalendarDays","dateLeft","dateRight","differenceInCalendarMonths","eachMonthOfInterval","interval","endOfBroadcastWeek","endOfISOWeek","endOfMonth","endOfWeek","endOfYear","format","formatStr","formatted","numerals","replaceDigits","getISOWeek","getMonth","getYear","getWeek","isAfter","dateToCompare","isBefore","isDate","value","isSameDay","isSameMonth","isSameYear","max","dates","min","setMonth","month","setYear","startOfBroadcastWeek","dateLib","startOfDay","startOfISOWeek","startOfMonth","startOfWeek","startOfYear","locale","enUS","getDigitMap","formatter","Intl","NumberFormat","numberingSystem","digitMap","i","toString","input","replace","digit","formatNumber","defaultDateLib"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+FA;;;;;;;;;AASM,MAAOA,OAAO,CAAA;AAOlB;;;;;;EAMAC,WACEC,CAAAA,OAAwB,EACxBC,SAA6C,EAAA;AAqD/C;;;;;IAKA,IAAAC,CAAAA,IAAI,GAAgBA,IAAI;AAExB;;;;;;IAMA,IAAAC,CAAAA,KAAK,GAAG,MAAW;AACjB,MAAA,IAAI,IAAI,CAACF,SAAS,EAAEE,KAAK,EAAE;AACzB,QAAA,OAAO,IAAI,CAACF,SAAS,CAACE,KAAK,EAAE;AAC/B;AACA,MAAA,IAAI,IAAI,CAACH,OAAO,CAACI,QAAQ,EAAE;QACzB,OAAOC,MAAM,CAACC,EAAE,CAAC,IAAI,CAACN,OAAO,CAACI,QAAQ,CAAC;AACzC;AACA,MAAA,OAAO,IAAI,IAAI,CAACF,IAAI,EAAE;KACvB;AAED;;;;;;;;;IASA,IAAAK,CAAAA,OAAO,GAAG,CAACC,IAAY,EAAEC,UAAkB,EAAEC,IAAY,KAAU;AACjE,MAAA,IAAI,IAAI,CAACT,SAAS,EAAEM,OAAO,EAAE;QAC3B,OAAO,IAAI,CAACN,SAAS,CAACM,OAAO,CAACC,IAAI,EAAEC,UAAU,EAAEC,IAAI,CAAC;AACvD;AACA,MAAA,IAAI,IAAI,CAACV,OAAO,CAACI,QAAQ,EAAE;AACzB,QAAA,OAAO,IAAIC,MAAM,CAACG,IAAI,EAAEC,UAAU,EAAEC,IAAI,EAAE,IAAI,C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GAAG,IAAIC,IAAI,CAACC,YAAY,CAAC,OAAO,EAAE;AAC/CC,MAAAA,eAAe,EAAEjC;KAClB,CAAC;AAEF;IACA,MAAMkC,QAAQ,GAA2B,EAAE;IAC3C,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAG,EAAE,EAAEA,CAAC,EAAE,EAAE;AAC3BD,MAAAA,QAAQ,CAACC,CAAC,CAACC,QAAQ,EAAE,CAAC,GAAGN,SAAS,CAACjC,MAAM,CAACsC,CAAC,CAAC;AAC9C;AAEA,IAAA,OAAOD,QAAQ;AACjB;AAEA;;;;;;;AAOQjC,EAAAA,aAAaA,CAACoC,KAAa,EAAA;AACjC,IAAA,MAAMH,QAAQ,GAAG,IAAI,CAACL,WAAW,EAAE;AACnC,IAAA,OAAOQ,KAAK,CAACC,OAAO,CAAC,KAAK,EAAGC,KAAK,IAAKL,QAAQ,CAACK,KAAK,CAAC,IAAIA,KAAK,CAAC;AAClE;AAEA;;;;;;;AAOAC,EAAAA,YAAYA,CAAC9B,KAAsB,EAAA;IACjC,OAAO,IAAI,CAACT,aAAa,CAACS,KAAK,CAAC0B,QAAQ,EAAE,CAAC;AAC7C;;AA4cF;;;;;AAKaK,MAAAA,cAAc,GAAG,IAAIzE,OAAO;;;;","x_google_ignoreList":[0]}
|
1
|
+
{"version":3,"file":"DateLib.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/classes/DateLib.js"],"sourcesContent":["import { TZDate } from \"@date-fns/tz\";\nimport { addDays, addMonths, addWeeks, addYears, differenceInCalendarDays, differenceInCalendarMonths, eachMonthOfInterval, endOfISOWeek, endOfMonth, endOfWeek, endOfYear, format, getISOWeek, getMonth, getWeek, getYear, isAfter, isBefore, isDate, isSameDay, isSameMonth, isSameYear, max, min, setMonth, setYear, startOfDay, startOfISOWeek, startOfMonth, startOfWeek, startOfYear } from \"date-fns\";\nimport { enUS } from \"date-fns/locale\";\nimport { endOfBroadcastWeek } from \"../helpers/endOfBroadcastWeek.js\";\nimport { startOfBroadcastWeek } from \"../helpers/startOfBroadcastWeek.js\";\n/**\n * A wrapper class around [date-fns](http://date-fns.org) sharing the same\n * options.\n *\n * @since 9.2.0\n * @example\n * const dateLib = new DateLib({ locale: es });\n * const newDate = dateLib.addDays(new Date(), 5);\n */\nexport class DateLib {\n /**\n * Creates an instance of DateLib.\n *\n * @param options The options for the date library.\n * @param overrides Overrides for the date library functions.\n */\n constructor(options, overrides) {\n /**\n * Reference to the built-in Date constructor.\n *\n * @deprecated Use `newDate()` or `today()`.\n */\n this.Date = Date;\n /**\n * Creates a new date object to the today's date.\n *\n * @since 9.5.0\n * @returns The new date object.\n */\n this.today = () => {\n if (this.overrides?.today) {\n return this.overrides.today();\n }\n if (this.options.timeZone) {\n return TZDate.tz(this.options.timeZone);\n }\n return new this.Date();\n };\n /**\n * Creates a new date object with the specified year, month and date.\n *\n * @since 9.5.0\n * @param year The year.\n * @param monthIndex The month (0-11).\n * @param date The day of the month.\n * @returns The new date object.\n */\n this.newDate = (year, monthIndex, date) => {\n if (this.overrides?.newDate) {\n return this.overrides.newDate(year, monthIndex, date);\n }\n if (this.options.timeZone) {\n return new TZDate(year, monthIndex, date, this.options.timeZone);\n }\n return new Date(year, monthIndex, date);\n };\n /**\n * Adds the specified number of days to the given date.\n *\n * @param date The date to add days to.\n * @param amount The number of days to add.\n * @returns The new date with the days added.\n */\n this.addDays = (date, amount) => {\n return this.overrides?.addDays?.(date, amount) ?? addDays(date, amount);\n };\n /**\n * Adds the specified number of months to the given date.\n *\n * @param date The date to add months to.\n * @param amount The number of months to add.\n * @returns The new date with the months added.\n */\n this.addMonths = (date, amount) => {\n return this.overrides?.addMonths?.(date, amount) ?? addMonths(date, amount);\n };\n /**\n * Adds the specified number of weeks to the given date.\n *\n * @param date The date to add weeks to.\n * @param amount The number of weeks to add.\n * @returns The new date with the weeks added.\n */\n this.addWeeks = (date, amount) => {\n return this.overrides?.addWeeks?.(date, amount) ?? addWeeks(date, amount);\n };\n /**\n * Adds the specified number of years to the given date.\n *\n * @param date The date to add years to.\n * @param amount The number of years to add.\n * @returns The new date with the years added.\n */\n this.addYears = (date, amount) => {\n return this.overrides?.addYears?.(date, amount) ?? addYears(date, amount);\n };\n /**\n * Returns the number of calendar days between the given dates.\n *\n * @param dateLeft The later date.\n * @param dateRight The earlier date.\n * @returns The number of calendar days between the dates.\n */\n this.differenceInCalendarDays = (dateLeft, dateRight) => {\n return (this.overrides?.differenceInCalendarDays?.(dateLeft, dateRight) ??\n differenceInCalendarDays(dateLeft, dateRight));\n };\n /**\n * Returns the number of calendar months between the given dates.\n *\n * @param dateLeft The later date.\n * @param dateRight The earlier date.\n * @returns The number of calendar months between the dates.\n */\n this.differenceInCalendarMonths = (dateLeft, dateRight) => {\n return (this.overrides?.differenceInCalendarMonths?.(dateLeft, dateRight) ??\n differenceInCalendarMonths(dateLeft, dateRight));\n };\n /**\n * Returns the months between the given dates.\n *\n * @param interval The interval to get the months for.\n */\n this.eachMonthOfInterval = (interval) => {\n return (this.overrides?.eachMonthOfInterval?.(interval) ??\n eachMonthOfInterval(interval));\n };\n /**\n * Returns the end of the broadcast week for the given date.\n *\n * @param date The original date.\n * @returns The end of the broadcast week.\n */\n this.endOfBroadcastWeek = (date, dateLib) => {\n return (this.overrides?.endOfBroadcastWeek?.(date, dateLib) ??\n endOfBroadcastWeek(date, this));\n };\n /**\n * Returns the end of the ISO week for the given date.\n *\n * @param date The original date.\n * @returns The end of the ISO week.\n */\n this.endOfISOWeek = (date) => {\n return this.overrides?.endOfISOWeek?.(date) ?? endOfISOWeek(date);\n };\n /**\n * Returns the end of the month for the given date.\n *\n * @param date The original date.\n * @returns The end of the month.\n */\n this.endOfMonth = (date) => {\n return this.overrides?.endOfMonth?.(date) ?? endOfMonth(date);\n };\n /**\n * Returns the end of the week for the given date.\n *\n * @param date The original date.\n * @returns The end of the week.\n */\n this.endOfWeek = (date, options) => {\n return (this.overrides?.endOfWeek?.(date, options ?? this.options) ??\n endOfWeek(date, options ?? this.options));\n };\n /**\n * Returns the end of the year for the given date.\n *\n * @param date The original date.\n * @returns The end of the year.\n */\n this.endOfYear = (date) => {\n return this.overrides?.endOfYear?.(date) ?? endOfYear(date);\n };\n /**\n * Formats the given date using the specified format string.\n *\n * @param date The date to format.\n * @param formatStr The format string.\n * @returns The formatted date string.\n */\n this.format = (date, formatStr, options) => {\n const formatted = this.overrides?.format?.(date, formatStr, options ?? this.options) ??\n format(date, formatStr, options ?? this.options);\n if (this.options.numerals && this.options.numerals !== \"latn\") {\n return this.replaceDigits(formatted);\n }\n return formatted;\n };\n /**\n * Returns the ISO week number for the given date.\n *\n * @param date The date to get the ISO week number for.\n * @returns The ISO week number.\n */\n this.getISOWeek = (date) => {\n return this.overrides?.getISOWeek?.(date) ?? getISOWeek(date);\n };\n /**\n * Returns the month of the given date.\n *\n * @param date The date to get the month for.\n * @returns The month.\n */\n this.getMonth = (date) => {\n return this.overrides?.getMonth?.(date) ?? getMonth(date);\n };\n /**\n * Returns the year of the given date.\n *\n * @param date The date to get the year for.\n * @returns The year.\n */\n this.getYear = (date) => {\n return this.overrides?.getYear?.(date) ?? getYear(date);\n };\n /**\n * Returns the local week number for the given date.\n *\n * @param date The date to get the week number for.\n * @returns The week number.\n */\n this.getWeek = (date, options) => {\n return (this.overrides?.getWeek?.(date, options ?? this.options) ??\n getWeek(date, options ?? this.options));\n };\n /**\n * Checks if the first date is after the second date.\n *\n * @param date The date to compare.\n * @param dateToCompare The date to compare with.\n * @returns True if the first date is after the second date.\n */\n this.isAfter = (date, dateToCompare) => {\n return (this.overrides?.isAfter?.(date, dateToCompare) ??\n isAfter(date, dateToCompare));\n };\n /**\n * Checks if the first date is before the second date.\n *\n * @param date The date to compare.\n * @param dateToCompare The date to compare with.\n * @returns True if the first date is before the second date.\n */\n this.isBefore = (date, dateToCompare) => {\n return (this.overrides?.isBefore?.(date, dateToCompare) ??\n isBefore(date, dateToCompare));\n };\n /**\n * Checks if the given value is a Date object.\n *\n * @param value The value to check.\n * @returns True if the value is a Date object.\n */\n this.isDate = (value) => {\n return this.overrides?.isDate?.(value) ?? isDate(value);\n };\n /**\n * Checks if the given dates are on the same day.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are on the same day.\n */\n this.isSameDay = (dateLeft, dateRight) => {\n return (this.overrides?.isSameDay?.(dateLeft, dateRight) ??\n isSameDay(dateLeft, dateRight));\n };\n /**\n * Checks if the given dates are in the same month.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are in the same month.\n */\n this.isSameMonth = (dateLeft, dateRight) => {\n return (this.overrides?.isSameMonth?.(dateLeft, dateRight) ??\n isSameMonth(dateLeft, dateRight));\n };\n /**\n * Checks if the given dates are in the same year.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are in the same year.\n */\n this.isSameYear = (dateLeft, dateRight) => {\n return (this.overrides?.isSameYear?.(dateLeft, dateRight) ??\n isSameYear(dateLeft, dateRight));\n };\n /**\n * Returns the latest date in the given array of dates.\n *\n * @param dates The array of dates to compare.\n * @returns The latest date.\n */\n this.max = (dates) => {\n return this.overrides?.max?.(dates) ?? max(dates);\n };\n /**\n * Returns the earliest date in the given array of dates.\n *\n * @param dates The array of dates to compare.\n * @returns The earliest date.\n */\n this.min = (dates) => {\n return this.overrides?.min?.(dates) ?? min(dates);\n };\n /**\n * Sets the month of the given date.\n *\n * @param date The date to set the month on.\n * @param month The month to set (0-11).\n * @returns The new date with the month set.\n */\n this.setMonth = (date, month) => {\n return this.overrides?.setMonth?.(date, month) ?? setMonth(date, month);\n };\n /**\n * Sets the year of the given date.\n *\n * @param date The date to set the year on.\n * @param year The year to set.\n * @returns The new date with the year set.\n */\n this.setYear = (date, year) => {\n return this.overrides?.setYear?.(date, year) ?? setYear(date, year);\n };\n /**\n * Returns the start of the broadcast week for the given date.\n *\n * @param date The original date.\n * @returns The start of the broadcast week.\n */\n this.startOfBroadcastWeek = (date, dateLib) => {\n return (this.overrides?.startOfBroadcastWeek?.(date, dateLib ?? this) ??\n startOfBroadcastWeek(date, dateLib ?? this));\n };\n /**\n * Returns the start of the day for the given date.\n *\n * @param date The original date.\n * @returns The start of the day.\n */\n this.startOfDay = (date) => {\n return this.overrides?.startOfDay?.(date) ?? startOfDay(date);\n };\n /**\n * Returns the start of the ISO week for the given date.\n *\n * @param date The original date.\n * @returns The start of the ISO week.\n */\n this.startOfISOWeek = (date) => {\n return this.overrides?.startOfISOWeek?.(date) ?? startOfISOWeek(date);\n };\n /**\n * Returns the start of the month for the given date.\n *\n * @param date The original date.\n * @returns The start of the month.\n */\n this.startOfMonth = (date) => {\n return this.overrides?.startOfMonth?.(date) ?? startOfMonth(date);\n };\n /**\n * Returns the start of the week for the given date.\n *\n * @param date The original date.\n * @returns The start of the week.\n */\n this.startOfWeek = (date) => {\n return (this.overrides?.startOfWeek?.(date) ?? startOfWeek(date, this.options));\n };\n /**\n * Returns the start of the year for the given date.\n *\n * @param date The original date.\n * @returns The start of the year.\n */\n this.startOfYear = (date) => {\n return this.overrides?.startOfYear?.(date) ?? startOfYear(date);\n };\n this.options = { locale: enUS, ...options };\n this.overrides = overrides;\n }\n /**\n * Generate digit map dynamically using Intl.NumberFormat.\n *\n * @since 9.5.0\n */\n getDigitMap() {\n const { numerals = \"latn\" } = this.options;\n // Use Intl.NumberFormat to create a formatter with the specified numbering system\n const formatter = new Intl.NumberFormat(\"en-US\", {\n numberingSystem: numerals\n });\n // Map Arabic digits (0-9) to the target numerals\n const digitMap = {};\n for (let i = 0; i < 10; i++) {\n digitMap[i.toString()] = formatter.format(i);\n }\n return digitMap;\n }\n /**\n * Replace Arabic digits with the target numbering system digits.\n *\n * @since 9.5.0\n */\n replaceDigits(input) {\n const digitMap = this.getDigitMap();\n return input.replace(/\\d/g, (digit) => digitMap[digit] || digit);\n }\n /**\n * Format number using the custom numbering system.\n *\n * @since 9.5.0\n * @param value The number to format.\n * @returns The formatted number.\n */\n formatNumber(value) {\n return this.replaceDigits(value.toString());\n }\n}\n/** The default locale (English). */\nexport { enUS as defaultLocale } from \"date-fns/locale/en-US\";\n/**\n * The default date library with English locale.\n *\n * @since 9.2.0\n */\nexport const defaultDateLib = new DateLib();\n/**\n * @ignore\n * @deprecated Use `defaultDateLib`.\n */\nexport const dateLib = defaultDateLib;\n//# sourceMappingURL=DateLib.js.map"],"names":["DateLib","constructor","options","overrides","Date","today","timeZone","TZDate","tz","newDate","year","monthIndex","date","addDays","amount","addMonths","addWeeks","addYears","differenceInCalendarDays","dateLeft","dateRight","differenceInCalendarMonths","eachMonthOfInterval","interval","endOfBroadcastWeek","dateLib","endOfISOWeek","endOfMonth","endOfWeek","endOfYear","format","formatStr","formatted","numerals","replaceDigits","getISOWeek","getMonth","getYear","getWeek","isAfter","dateToCompare","isBefore","isDate","value","isSameDay","isSameMonth","isSameYear","max","dates","min","setMonth","month","setYear","startOfBroadcastWeek","startOfDay","startOfISOWeek","startOfMonth","startOfWeek","startOfYear","locale","enUS","getDigitMap","formatter","Intl","NumberFormat","numberingSystem","digitMap","i","toString","input","replace","digit","formatNumber","defaultDateLib"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6FA;;;;;;;;;AASM,MAAOA,OAAO,CAAA;AAOlB;;;;;;EAMAC,WACEC,CAAAA,OAAwB,EACxBC,SAA6C,EAAA;AAiD/C;;;;;IAKA,IAAAC,CAAAA,IAAI,GAAgBA,IAAI;AAExB;;;;;;IAMA,IAAAC,CAAAA,KAAK,GAAG,MAAW;AACjB,MAAA,IAAI,IAAI,CAACF,SAAS,EAAEE,KAAK,EAAE;AACzB,QAAA,OAAO,IAAI,CAACF,SAAS,CAACE,KAAK,EAAE;AAC/B;AACA,MAAA,IAAI,IAAI,CAACH,OAAO,CAACI,QAAQ,EAAE;QACzB,OAAOC,MAAM,CAACC,EAAE,CAAC,IAAI,CAACN,OAAO,CAACI,QAAQ,CAAC;AACzC;AACA,MAAA,OAAO,IA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) {
|
|
24
24
|
})), orientation === "left" && (/*#__PURE__*/React__default.createElement("polygon", {
|
25
25
|
points: "16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"
|
26
26
|
})), orientation === "right" && (/*#__PURE__*/React__default.createElement("polygon", {
|
27
|
-
points: "8 18.
|
27
|
+
points: "8 18.612 14.1888889 12.5 8 6.37733333 9.91111111 4.5 18 12.5 9.91111111 20.5"
|
28
28
|
})));
|
29
29
|
}
|
30
30
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Chevron.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Chevron.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the chevron icon used in the navigation buttons and dropdowns.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Chevron(props) {\n const { size = 24, orientation = \"left\", className } = props;\n return (React.createElement(\"svg\", { className: className, width: size, height: size, viewBox: \"0 0 24 24\" },\n orientation === \"up\" && (React.createElement(\"polygon\", { points: \"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28\" })),\n orientation === \"down\" && (React.createElement(\"polygon\", { points: \"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72\" })),\n orientation === \"left\" && (React.createElement(\"polygon\", { points: \"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20\" })),\n orientation === \"right\" && (React.createElement(\"polygon\", { points: \"8 18.
|
1
|
+
{"version":3,"file":"Chevron.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Chevron.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the chevron icon used in the navigation buttons and dropdowns.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Chevron(props) {\n const { size = 24, orientation = \"left\", className } = props;\n return (React.createElement(\"svg\", { className: className, width: size, height: size, viewBox: \"0 0 24 24\" },\n orientation === \"up\" && (React.createElement(\"polygon\", { points: \"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28\" })),\n orientation === \"down\" && (React.createElement(\"polygon\", { points: \"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72\" })),\n orientation === \"left\" && (React.createElement(\"polygon\", { points: \"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20\" })),\n orientation === \"right\" && (React.createElement(\"polygon\", { points: \"8 18.612 14.1888889 12.5 8 6.37733333 9.91111111 4.5 18 12.5 9.91111111 20.5\" }))));\n}\n//# sourceMappingURL=Chevron.js.map"],"names":["Chevron","props","size","orientation","className","React","createElement","width","height","viewBox","points"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,OAAOA,CAACC,KAYvB,EAAA;EACC,MAAM;AAAEC,IAAAA,IAAI,GAAG,EAAE;AAAEC,IAAAA,WAAW,GAAG,MAAM;AAAEC,IAAAA;AAAS,GAAE,GAAGH,KAAK;EAE5D,oBACEI,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKF,IAAAA,SAAS,EAAEA,SAAS;AAAEG,IAAAA,KAAK,EAAEL,IAAI;AAAEM,IAAAA,MAAM,EAAEN,IAAI;AAAEO,IAAAA,OAAO,EAAC;AAAW,GAAA,EACtEN,WAAW,KAAK,IAAI,kBACnBE,cAAA,CAAAC,aAAA,CAAA,SAAA,EAAA;AAASI,IAAAA,MAAM,EAAC;GAAwD,CAAA,CACzE,EACAP,WAAW,KAAK,MAAM,kBACrBE,cAAA,CAAAC,aAAA,CAAA,SAAA,EAAA;AAASI,IAAAA,MAAM,EAAC;GAAqD,CAAA,CACtE,EACAP,WAAW,KAAK,MAAM,kBACrBE,cAAA,CAAAC,aAAA,CAAA,SAAA,EAAA;AAASI,IAAAA,MAAM,EAAC;GAA0E,CAAA,CAC3F,EACAP,WAAW,KAAK,OAAO,kBACtBE,cAAA,CAAAC,aAAA,CAAA,SAAA,EAAA;AAASI,IAAAA,MAAM,EAAC;AAA8E,GAAA,CAAW,CAC1G,CACG;AAEV;;;;","x_google_ignoreList":[0]}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import React__default from 'react';
|
2
2
|
|
3
3
|
/**
|
4
|
-
* Render
|
4
|
+
* Render the gridcell of a day in the calendar and handle the interaction and
|
5
|
+
* the focus with they day.
|
5
6
|
*
|
6
|
-
*
|
7
|
-
*
|
8
|
-
* instead.
|
7
|
+
* If you need to just change the content of the day cell, consider swapping the
|
8
|
+
* `DayDate` component instead.
|
9
9
|
*
|
10
10
|
* @group Components
|
11
11
|
* @see https://daypicker.dev/guides/custom-components
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Day.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Day.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render
|
1
|
+
{"version":3,"file":"Day.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Day.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the gridcell of a day in the calendar and handle the interaction and\n * the focus with they day.\n *\n * If you need to just change the content of the day cell, consider swapping the\n * `DayDate` component instead.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Day(props) {\n const { day, modifiers, ...tdProps } = props;\n return React.createElement(\"td\", { ...tdProps });\n}\n//# sourceMappingURL=Day.js.map"],"names":["Day","props","day","modifiers","tdProps","React","createElement"],"mappings":";;AAKA;;;;;;;;;;AAUM,SAAUA,GAAGA,CACjBC,KAKkC,EAAA;EAElC,MAAM;IAAEC,GAAG;IAAEC,SAAS;IAAE,GAAGC;AAAO,GAAE,GAAGH,KAAK;EAC5C,oBAAOI,cAAA,CAAAC,aAAA,CAAA,IAAA,EAAA;IAAA,GAAQF;GAAW,CAAA;AAC5B;;;;","x_google_ignoreList":[0]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DayButton.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/DayButton.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render
|
1
|
+
{"version":3,"file":"DayButton.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/DayButton.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the button for a day in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function DayButton(props) {\n const { day, modifiers, ...buttonProps } = props;\n const ref = React.useRef(null);\n React.useEffect(() => {\n if (modifiers.focused)\n ref.current?.focus();\n }, [modifiers.focused]);\n return React.createElement(\"button\", { ref: ref, ...buttonProps });\n}\n//# sourceMappingURL=DayButton.js.map"],"names":["DayButton","props","day","modifiers","buttonProps","ref","React","useRef","useEffect","focused","current","focus","createElement"],"mappings":";;AAKA;;;;;;AAMM,SAAUA,SAASA,CACvBC,KAK2C,EAAA;EAE3C,MAAM;IAAEC,GAAG;IAAEC,SAAS;IAAE,GAAGC;AAAW,GAAE,GAAGH,KAAK;AAEhD,EAAA,MAAMI,GAAG,GAAGC,cAAK,CAACC,MAAM,CAAoB,IAAI,CAAC;EACjDD,cAAK,CAACE,SAAS,CAAC,MAAK;IACnB,IAAIL,SAAS,CAACM,OAAO,EAAEJ,GAAG,CAACK,OAAO,EAAEC,KAAK,EAAE;AAC7C,GAAC,EAAE,CAACR,SAAS,CAACM,OAAO,CAAC,CAAC;EACvB,oBAAOH,cAAA,CAAAM,aAAA,CAAA,QAAA,EAAA;AAAQP,IAAAA,GAAG,EAAEA,GAAG;IAAA,GAAMD;GAAe,CAAA;AAC9C;;;;","x_google_ignoreList":[0]}
|
@@ -2,7 +2,7 @@ import React__default from 'react';
|
|
2
2
|
import { UI } from '../UI.js';
|
3
3
|
|
4
4
|
/**
|
5
|
-
* Render a dropdown component
|
5
|
+
* Render a dropdown component to use in the navigation bar.
|
6
6
|
*
|
7
7
|
* @group Components
|
8
8
|
* @see https://daypicker.dev/guides/custom-components
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Dropdown.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Dropdown.js"],"sourcesContent":["import React from \"react\";\nimport { UI } from \"../UI.js\";\n/**\n * Render a dropdown component
|
1
|
+
{"version":3,"file":"Dropdown.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Dropdown.js"],"sourcesContent":["import React from \"react\";\nimport { UI } from \"../UI.js\";\n/**\n * Render a dropdown component to use in the navigation bar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Dropdown(props) {\n const { options, className, components, classNames, ...selectProps } = props;\n const cssClassSelect = [classNames[UI.Dropdown], className].join(\" \");\n const selectedOption = options?.find(({ value }) => value === selectProps.value);\n return (React.createElement(\"span\", { \"data-disabled\": selectProps.disabled, className: classNames[UI.DropdownRoot] },\n React.createElement(components.Select, { className: cssClassSelect, ...selectProps }, options?.map(({ value, label, disabled }) => (React.createElement(components.Option, { key: value, value: value, disabled: disabled }, label)))),\n React.createElement(\"span\", { className: classNames[UI.CaptionLabel], \"aria-hidden\": true },\n selectedOption?.label,\n React.createElement(components.Chevron, { orientation: \"down\", size: 18, className: classNames[UI.Chevron] }))));\n}\n//# sourceMappingURL=Dropdown.js.map"],"names":["Dropdown","props","options","className","components","classNames","selectProps","cssClassSelect","UI","join","selectedOption","find","value","React","createElement","disabled","DropdownRoot","Select","map","label","Option","key","CaptionLabel","Chevron","orientation","size"],"mappings":";;;AAkBA;;;;;;AAMM,SAAUA,QAAQA,CACtBC,KAY6D,EAAA;EAE7D,MAAM;IAAEC,OAAO;IAAEC,SAAS;IAAEC,UAAU;IAAEC,UAAU;IAAE,GAAGC;AAAW,GAAE,GAAGL,KAAK;AAE5E,EAAA,MAAMM,cAAc,GAAG,CAACF,UAAU,CAACG,EAAE,CAACR,QAAQ,CAAC,EAAEG,SAAS,CAAC,CAACM,IAAI,CAAC,GAAG,CAAC;AAErE,EAAA,MAAMC,cAAc,GAAGR,OAAO,EAAES,IAAI,CAClC,CAAC;AAAEC,IAAAA;AAAK,GAAE,KAAKA,KAAK,KAAKN,WAAW,CAACM,KAAK,CAC3C;EACD,oBACEC,cAAA,CAAAC,aAAA,CAAA,MAAA,EAAA;IAAA,eACiBR,EAAAA,WAAW,CAACS,QAAQ;AACnCZ,IAAAA,SAAS,EAAEE,UAAU,CAACG,EAAE,CAACQ,YAAY;AAAC,GAAA,eAEtCH,cAAA,CAAAC,aAAA,CAACV,UAAU,CAACa,MAAM,EAAA;AAACd,IAAAA,SAAS,EAAEI,cAAc;IAAA,GAAMD;AAAW,GAAA,EAC1DJ,OAAO,EAAEgB,GAAG,CAAC,CAAC;IAAEN,KAAK;IAAEO,KAAK;AAAEJ,IAAAA;AAAQ,GAAE,mBACvCF,cAAA,CAAAC,aAAA,CAACV,UAAU,CAACgB,MAAM,EAAA;AAACC,IAAAA,GAAG,EAAET,KAAK;AAAEA,IAAAA,KAAK,EAAEA,KAAK;AAAEG,IAAAA,QAAQ,EAAEA;GACpDI,EAAAA,KAAK,CACY,CACrB,CAAC,CACgB,eACpBN,cAAA,CAAAC,aAAA,CAAA,MAAA,EAAA;AAAMX,IAAAA,SAAS,EAAEE,UAAU,CAACG,EAAE,CAACc,YAAY,CAAC;AAAA,IAAA,aAAA,EAAA;GACzCZ,EAAAA,cAAc,EAAES,KAAK,eACtBN,cAAA,CAAAC,aAAA,CAACV,UAAU,CAACmB,OAAO,EAAA;AACjBC,IAAAA,WAAW,EAAC,MAAM;AAClBC,IAAAA,IAAI,EAAE,EAAE;AACRtB,IAAAA,SAAS,EAAEE,UAAU,CAACG,EAAE,CAACe,OAAO;AAAC,GAAA,CACjC,CACG,CACF;AAEX;;;;","x_google_ignoreList":[0]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DropdownNav.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/DropdownNav.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the navigation dropdowns
|
1
|
+
{"version":3,"file":"DropdownNav.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/DropdownNav.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the the navigation dropdowns.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function DropdownNav(props) {\n return React.createElement(\"div\", { ...props });\n}\n//# sourceMappingURL=DropdownNav.js.map"],"names":["DropdownNav","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,WAAWA,CAACC,KAAqC,EAAA;EAC/D,oBAAOC,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IAAA,GAASF;GAAS,CAAA;AAC3B;;;;","x_google_ignoreList":[0]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Footer.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Footer.js"],"sourcesContent":["import React from \"react\";\n/**\n *
|
1
|
+
{"version":3,"file":"Footer.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Footer.js"],"sourcesContent":["import React from \"react\";\n/**\n * Component wrapping the footer.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Footer(props) {\n return React.createElement(\"div\", { ...props });\n}\n//# sourceMappingURL=Footer.js.map"],"names":["Footer","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,MAAMA,CAACC,KAAqC,EAAA;EAC1D,oBAAOC,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IAAA,GAASF;GAAS,CAAA;AAC3B;;;;","x_google_ignoreList":[0]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Month.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Month.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the grid with the weekday header row and the weeks for
|
1
|
+
{"version":3,"file":"Month.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Month.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the grid with the weekday header row and the weeks for the given\n * month.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Month(props) {\n const { calendarMonth, displayIndex, ...divProps } = props;\n return React.createElement(\"div\", { ...divProps }, props.children);\n}\n//# sourceMappingURL=Month.js.map"],"names":["Month","props","calendarMonth","displayIndex","divProps","React","createElement","children"],"mappings":";;AAIA;;;;;;;AAOM,SAAUA,KAAKA,CACnBC,KAKkC,EAAA;EAElC,MAAM;IAAEC,aAAa;IAAEC,YAAY;IAAE,GAAGC;AAAQ,GAAE,GAAGH,KAAK;EAC1D,oBAAOI,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IAAA,GAASF;GAAWH,EAAAA,KAAK,CAACM,QAAQ,CAAO;AAClD;;;;","x_google_ignoreList":[0]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MonthCaption.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/MonthCaption.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the caption
|
1
|
+
{"version":3,"file":"MonthCaption.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/MonthCaption.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the caption of a month in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function MonthCaption(props) {\n const { calendarMonth, displayIndex, ...divProps } = props;\n return React.createElement(\"div\", { ...divProps });\n}\n//# sourceMappingURL=MonthCaption.js.map"],"names":["MonthCaption","props","calendarMonth","displayIndex","divProps","React","createElement"],"mappings":";;AAIA;;;;;;AAMM,SAAUA,YAAYA,CAC1BC,KAKkC,EAAA;EAElC,MAAM;IAAEC,aAAa;IAAEC,YAAY;IAAE,GAAGC;AAAQ,GAAE,GAAGH,KAAK;EAC1D,oBAAOI,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IAAA,GAASF;GAAY,CAAA;AAC9B;;;;","x_google_ignoreList":[0]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MonthGrid.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/MonthGrid.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the grid of days
|
1
|
+
{"version":3,"file":"MonthGrid.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/MonthGrid.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the grid of days in a month.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function MonthGrid(props) {\n return React.createElement(\"table\", { ...props });\n}\n//# sourceMappingURL=MonthGrid.js.map"],"names":["MonthGrid","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,SAASA,CAACC,KAA4C,EAAA;EACpE,oBAAOC,cAAA,CAAAC,aAAA,CAAA,OAAA,EAAA;IAAA,GAAWF;GAAS,CAAA;AAC7B;;;;","x_google_ignoreList":[0]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Months.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Months.js"],"sourcesContent":["import React from \"react\";\n/**\n *
|
1
|
+
{"version":3,"file":"Months.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Months.js"],"sourcesContent":["import React from \"react\";\n/**\n * Component wrapping the month grids.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Months(props) {\n return React.createElement(\"div\", { ...props });\n}\n//# sourceMappingURL=Months.js.map"],"names":["Months","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,MAAMA,CAACC,KAAqC,EAAA;EAC1D,oBAAOC,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IAAA,GAASF;GAAS,CAAA;AAC3B;;;;","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
|
5
|
+
* Render the dropdown to navigate between months.
|
6
6
|
*
|
7
7
|
* @group Components
|
8
8
|
* @see https://daypicker.dev/guides/custom-components
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MonthsDropdown.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render
|
1
|
+
{"version":3,"file":"MonthsDropdown.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render the dropdown to navigate between months.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function MonthsDropdown(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Dropdown, { ...props });\n}\n//# sourceMappingURL=MonthsDropdown.js.map"],"names":["MonthsDropdown","props","components","useDayPicker","React","createElement","Dropdown"],"mappings":";;;AAMA;;;;;;AAMM,SAAUA,cAAcA,CAACC,KAAoB,EAAA;EACjD,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,9 +1,9 @@
|
|
1
|
-
import React__default
|
1
|
+
import React__default from 'react';
|
2
2
|
import { UI } from '../UI.js';
|
3
3
|
import { useDayPicker } from '../useDayPicker.js';
|
4
4
|
|
5
5
|
/**
|
6
|
-
* Render the
|
6
|
+
* Render the toolbar with the navigation button.
|
7
7
|
*
|
8
8
|
* @group Components
|
9
9
|
* @see https://daypicker.dev/guides/custom-components
|
@@ -24,25 +24,15 @@ function Nav(props) {
|
|
24
24
|
labelNext
|
25
25
|
}
|
26
26
|
} = useDayPicker();
|
27
|
-
const handleNextClick = useCallback(e => {
|
28
|
-
if (nextMonth) {
|
29
|
-
onNextClick?.(e);
|
30
|
-
}
|
31
|
-
}, [nextMonth, onNextClick]);
|
32
|
-
const handlePreviousClick = useCallback(e => {
|
33
|
-
if (previousMonth) {
|
34
|
-
onPreviousClick?.(e);
|
35
|
-
}
|
36
|
-
}, [previousMonth, onPreviousClick]);
|
37
27
|
return /*#__PURE__*/React__default.createElement("nav", {
|
38
28
|
...navProps
|
39
29
|
}, /*#__PURE__*/React__default.createElement(components.PreviousMonthButton, {
|
40
30
|
type: "button",
|
41
31
|
className: classNames[UI.PreviousMonthButton],
|
42
32
|
tabIndex: previousMonth ? undefined : -1,
|
43
|
-
|
33
|
+
disabled: previousMonth ? undefined : true,
|
44
34
|
"aria-label": labelPrevious(previousMonth),
|
45
|
-
onClick:
|
35
|
+
onClick: props.onPreviousClick
|
46
36
|
}, /*#__PURE__*/React__default.createElement(components.Chevron, {
|
47
37
|
disabled: previousMonth ? undefined : true,
|
48
38
|
className: classNames[UI.Chevron],
|
@@ -51,9 +41,9 @@ function Nav(props) {
|
|
51
41
|
type: "button",
|
52
42
|
className: classNames[UI.NextMonthButton],
|
53
43
|
tabIndex: nextMonth ? undefined : -1,
|
54
|
-
|
44
|
+
disabled: nextMonth ? undefined : true,
|
55
45
|
"aria-label": labelNext(nextMonth),
|
56
|
-
onClick:
|
46
|
+
onClick: props.onNextClick
|
57
47
|
}, /*#__PURE__*/React__default.createElement(components.Chevron, {
|
58
48
|
disabled: nextMonth ? undefined : true,
|
59
49
|
orientation: "right",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Nav.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Nav.js"],"sourcesContent":["import React
|
1
|
+
{"version":3,"file":"Nav.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Nav.js"],"sourcesContent":["import React from \"react\";\nimport { UI } from \"../UI.js\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render the toolbar with the navigation button.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Nav(props) {\n const { onPreviousClick, onNextClick, previousMonth, nextMonth, ...navProps } = props;\n const { components, classNames, labels: { labelPrevious, labelNext } } = useDayPicker();\n return (React.createElement(\"nav\", { ...navProps },\n React.createElement(components.PreviousMonthButton, { type: \"button\", className: classNames[UI.PreviousMonthButton], tabIndex: previousMonth ? undefined : -1, disabled: previousMonth ? undefined : true, \"aria-label\": labelPrevious(previousMonth), onClick: props.onPreviousClick },\n React.createElement(components.Chevron, { disabled: previousMonth ? undefined : true, className: classNames[UI.Chevron], orientation: \"left\" })),\n React.createElement(components.NextMonthButton, { type: \"button\", className: classNames[UI.NextMonthButton], tabIndex: nextMonth ? undefined : -1, disabled: nextMonth ? undefined : true, \"aria-label\": labelNext(nextMonth), onClick: props.onNextClick },\n React.createElement(components.Chevron, { disabled: nextMonth ? undefined : true, orientation: \"right\", className: classNames[UI.Chevron] }))));\n}\n//# sourceMappingURL=Nav.js.map"],"names":["Nav","props","onPreviousClick","onNextClick","previousMonth","nextMonth","navProps","components","classNames","labels","labelPrevious","labelNext","useDayPicker","React","createElement","PreviousMonthButton","type","className","UI","tabIndex","undefined","disabled","onClick","Chevron","orientation","NextMonthButton"],"mappings":";;;;AAKA;;;;;;AAMM,SAAUA,GAAGA,CACjBC,KAK+B,EAAA;EAE/B,MAAM;IACJC,eAAe;IACfC,WAAW;IACXC,aAAa;IACbC,SAAS;IACT,GAAGC;AAAQ,GACZ,GAAGL,KAAK;EAET,MAAM;IACJM,UAAU;IACVC,UAAU;AACVC,IAAAA,MAAM,EAAE;MAAEC,aAAa;AAAEC,MAAAA;AAAS;GACnC,GAAGC,YAAY,EAAE;EAElB,oBACEC,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IAAA,GAASR;AAAQ,GAAA,eACfO,cAAA,CAAAC,aAAA,CAACP,UAAU,CAACQ,mBAAmB,EAAA;AAC7BC,IAAAA,IAAI,EAAC,QAAQ;AACbC,IAAAA,SAAS,EAAET,UAAU,CAACU,EAAE,CAACH,mBAAmB,CAAC;AAC7CI,IAAAA,QAAQ,EAAEf,aAAa,GAAGgB,SAAS,GAAG,EAAE;AACxCC,IAAAA,QAAQ,EAAEjB,aAAa,GAAGgB,SAAS,GAAG,IAAI;IAAA,YAC9BV,EAAAA,aAAa,CAACN,aAAa,CAAC;IACxCkB,OAAO,EAAErB,KAAK,CAACC;AAAe,GAAA,eAE9BW,cAAA,CAAAC,aAAA,CAACP,UAAU,CAACgB,OAAO,EAAA;AACjBF,IAAAA,QAAQ,EAAEjB,aAAa,GAAGgB,SAAS,GAAG,IAAI;AAC1CH,IAAAA,SAAS,EAAET,UAAU,CAACU,EAAE,CAACK,OAAO,CAAC;AACjCC,IAAAA,WAAW,EAAC;GACZ,CAAA,CAC6B,eACjCX,cAAA,CAAAC,aAAA,CAACP,UAAU,CAACkB,eAAe,EAAA;AACzBT,IAAAA,IAAI,EAAC,QAAQ;AACbC,IAAAA,SAAS,EAAET,UAAU,CAACU,EAAE,CAACO,eAAe,CAAC;AACzCN,IAAAA,QAAQ,EAAEd,SAAS,GAAGe,SAAS,GAAG,EAAE;AACpCC,IAAAA,QAAQ,EAAEhB,SAAS,GAAGe,SAAS,GAAG,IAAI;IAAA,YAC1BT,EAAAA,SAAS,CAACN,SAAS,CAAC;IAChCiB,OAAO,EAAErB,KAAK,CAACE;AAAW,GAAA,eAE1BU,cAAA,CAAAC,aAAA,CAACP,UAAU,CAACgB,OAAO,EAAA;AACjBF,IAAAA,QAAQ,EAAEhB,SAAS,GAAGe,SAAS,GAAG,IAAI;AACtCI,IAAAA,WAAW,EAAC,OAAO;AACnBP,IAAAA,SAAS,EAAET,UAAU,CAACU,EAAE,CAACK,OAAO;AAAC,GAAA,CACjC,CACyB,CACzB;AAEV;;;;","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 the
|
5
|
+
* Render the next month button element in the calendar.
|
6
6
|
*
|
7
7
|
* @group Components
|
8
8
|
* @see https://daypicker.dev/guides/custom-components
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NextMonthButton.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/NextMonthButton.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render the
|
1
|
+
{"version":3,"file":"NextMonthButton.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/NextMonthButton.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render the next month button element in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function NextMonthButton(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Button, { ...props });\n}\n//# sourceMappingURL=NextMonthButton.js.map"],"names":["NextMonthButton","props","components","useDayPicker","React","createElement","Button"],"mappings":";;;AAIA;;;;;;AAMM,SAAUA,eAAeA,CAC7BC,KAA8C,EAAA;EAE9C,MAAM;AAAEC,IAAAA;GAAY,GAAGC,YAAY,EAAE;AACrC,EAAA,oBAAOC,cAAA,CAAAC,aAAA,CAACH,UAAU,CAACI,MAAM,EAAA;IAAA,GAAKL;GAAS,CAAA;AACzC;;;;","x_google_ignoreList":[0]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Option.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Option.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render
|
1
|
+
{"version":3,"file":"Option.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Option.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the `option` element.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Option(props) {\n return React.createElement(\"option\", { ...props });\n}\n//# sourceMappingURL=Option.js.map"],"names":["Option","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,MAAMA,CAACC,KAA8C,EAAA;EACnE,oBAAOC,cAAA,CAAAC,aAAA,CAAA,QAAA,EAAA;IAAA,GAAYF;GAAS,CAAA;AAC9B;;;;","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 the
|
5
|
+
* Render the previous month button element in the calendar.
|
6
6
|
*
|
7
7
|
* @group Components
|
8
8
|
* @see https://daypicker.dev/guides/custom-components
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PreviousMonthButton.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render the
|
1
|
+
{"version":3,"file":"PreviousMonthButton.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render the previous month button element in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function PreviousMonthButton(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Button, { ...props });\n}\n//# sourceMappingURL=PreviousMonthButton.js.map"],"names":["PreviousMonthButton","props","components","useDayPicker","React","createElement","Button"],"mappings":";;;AAIA;;;;;;AAMM,SAAUA,mBAAmBA,CACjCC,KAA8C,EAAA;EAE9C,MAAM;AAAEC,IAAAA;GAAY,GAAGC,YAAY,EAAE;AACrC,EAAA,oBAAOC,cAAA,CAAAC,aAAA,CAACH,UAAU,CAACI,MAAM,EAAA;IAAA,GAAKL;GAAS,CAAA;AACzC;;;;","x_google_ignoreList":[0]}
|
@@ -1,19 +1,14 @@
|
|
1
1
|
import React__default from 'react';
|
2
2
|
|
3
3
|
/**
|
4
|
-
* Render the root element
|
4
|
+
* Render the root element.
|
5
5
|
*
|
6
6
|
* @group Components
|
7
7
|
* @see https://daypicker.dev/guides/custom-components
|
8
8
|
*/
|
9
9
|
function Root(props) {
|
10
|
-
const {
|
11
|
-
rootRef,
|
12
|
-
...rest
|
13
|
-
} = props;
|
14
10
|
return /*#__PURE__*/React__default.createElement("div", {
|
15
|
-
...
|
16
|
-
ref: rootRef
|
11
|
+
...props
|
17
12
|
});
|
18
13
|
}
|
19
14
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Root.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Root.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the root element
|
1
|
+
{"version":3,"file":"Root.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Root.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the root element.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Root(props) {\n return React.createElement(\"div\", { ...props });\n}\n//# sourceMappingURL=Root.js.map"],"names":["Root","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,IAAIA,CAACC,KAAqC,EAAA;EACxD,oBAAOC,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IAAA,GAASF;GAAS,CAAA;AAC3B;;;;","x_google_ignoreList":[0]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Select.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render
|
1
|
+
{"version":3,"file":"Select.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Select.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the `select` element.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Select(props) {\n return React.createElement(\"select\", { ...props });\n}\n//# sourceMappingURL=Select.js.map"],"names":["Select","props","React","createElement"],"mappings":";;AAEA;;;;;;AAMM,SAAUA,MAAMA,CAACC,KAA8C,EAAA;EACnE,oBAAOC,cAAA,CAAAC,aAAA,CAAA,QAAA,EAAA;IAAA,GAAYF;GAAS,CAAA;AAC9B;;;;","x_google_ignoreList":[0]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Week.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Week.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a
|
1
|
+
{"version":3,"file":"Week.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/Week.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a row in the calendar, with the days and the week number.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Week(props) {\n const { week, ...trProps } = props;\n return React.createElement(\"tr\", { ...trProps });\n}\n//# sourceMappingURL=Week.js.map"],"names":["Week","props","week","trProps","React","createElement"],"mappings":";;AAIA;;;;;;AAMM,SAAUA,IAAIA,CAClBC,KAEuC,EAAA;EAEvC,MAAM;IAAEC,IAAI;IAAE,GAAGC;AAAO,GAAE,GAAGF,KAAK;EAClC,oBAAOG,cAAA,CAAAC,aAAA,CAAA,IAAA,EAAA;IAAA,GAAQF;GAAW,CAAA;AAC5B;;;;","x_google_ignoreList":[0]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WeekNumber.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/WeekNumber.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render
|
1
|
+
{"version":3,"file":"WeekNumber.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/components/WeekNumber.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the cell with the number of the week.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function WeekNumber(props) {\n const { week, ...thProps } = props;\n return React.createElement(\"th\", { ...thProps });\n}\n//# sourceMappingURL=WeekNumber.js.map"],"names":["WeekNumber","props","week","thProps","React","createElement"],"mappings":";;AAIA;;;;;;AAMM,SAAUA,UAAUA,CACxBC,KAG0C,EAAA;EAE1C,MAAM;IAAEC,IAAI;IAAE,GAAGC;AAAO,GAAE,GAAGF,KAAK;EAClC,oBAAOG,cAAA,CAAAC,aAAA,CAAA,IAAA,EAAA;IAAA,GAAQF;GAAW,CAAA;AAC5B;;;;","x_google_ignoreList":[0]}
|