@tedi-design-system/react 18.0.0-rc.9 → 18.0.0
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/_virtual/index.es13.js +2 -2
- package/_virtual/index.es14.js +2 -2
- package/bundle-stats.html +1 -1
- package/community.cjs.js +1 -1
- package/community.es.js +140 -140
- package/external/@date-fns/tz/date/mini.cjs.js +1 -1
- package/external/@date-fns/tz/date/mini.es.js +57 -36
- package/external/@dnd-kit/core/dist/core.esm.es.js +9 -9
- package/external/@dnd-kit/sortable/dist/sortable.esm.es.js +12 -12
- package/external/@dnd-kit/utilities/dist/utilities.esm.es.js +1 -1
- package/external/@floating-ui/core/dist/floating-ui.core.es.js +5 -5
- package/external/@floating-ui/dom/dist/floating-ui.dom.es.js +3 -3
- package/external/@floating-ui/react/dist/floating-ui.react.es.js +36 -36
- package/external/@mui/material/Button/buttonClasses.cjs.js +1 -1
- package/external/@mui/material/Button/buttonClasses.es.js +4 -4
- package/external/@mui/material/ButtonBase/buttonBaseClasses.cjs.js +1 -1
- package/external/@mui/material/ButtonBase/buttonBaseClasses.es.js +4 -4
- package/external/@mui/material/Fade/Fade.es.js +1 -1
- package/external/@mui/material/Grow/Grow.es.js +1 -1
- package/external/@mui/material/IconButton/iconButtonClasses.cjs.js +1 -1
- package/external/@mui/material/IconButton/iconButtonClasses.es.js +4 -4
- package/external/@mui/material/InputAdornment/inputAdornmentClasses.cjs.js +1 -1
- package/external/@mui/material/InputAdornment/inputAdornmentClasses.es.js +4 -4
- package/external/@mui/material/Popper/BasePopper.cjs.js +1 -1
- package/external/@mui/material/Popper/BasePopper.es.js +1 -1
- package/external/@mui/material/Tab/tabClasses.cjs.js +1 -1
- package/external/@mui/material/Tab/tabClasses.es.js +4 -4
- package/external/@mui/material/TabScrollButton/tabScrollButtonClasses.cjs.js +1 -1
- package/external/@mui/material/TabScrollButton/tabScrollButtonClasses.es.js +4 -4
- package/external/@mui/material/Tabs/Tabs.cjs.js +2 -2
- package/external/@mui/material/Tabs/Tabs.es.js +7 -7
- package/external/@mui/styled-engine/index.cjs.js +2 -2
- package/external/@mui/styled-engine/index.es.js +4 -4
- package/external/@mui/x-date-pickers/CalendarPicker/CalendarPicker.cjs.js +1 -1
- package/external/@mui/x-date-pickers/CalendarPicker/CalendarPicker.es.js +1 -1
- package/external/@mui/x-date-pickers/CalendarPicker/DayPicker.cjs.js +1 -1
- package/external/@mui/x-date-pickers/CalendarPicker/DayPicker.es.js +1 -1
- package/external/@mui/x-date-pickers/CalendarPicker/PickersCalendarHeader.cjs.js +1 -1
- package/external/@mui/x-date-pickers/CalendarPicker/PickersCalendarHeader.es.js +1 -1
- package/external/@mui/x-date-pickers/CalendarPicker/PickersFadeTransitionGroup.cjs.js +1 -1
- package/external/@mui/x-date-pickers/CalendarPicker/PickersFadeTransitionGroup.es.js +6 -6
- package/external/@mui/x-date-pickers/CalendarPicker/PickersSlideTransition.cjs.js +1 -1
- package/external/@mui/x-date-pickers/CalendarPicker/PickersSlideTransition.es.js +6 -6
- package/external/@mui/x-date-pickers/ClockPicker/Clock.cjs.js +1 -1
- package/external/@mui/x-date-pickers/ClockPicker/Clock.es.js +1 -1
- package/external/@mui/x-date-pickers/ClockPicker/ClockNumber.cjs.js +1 -1
- package/external/@mui/x-date-pickers/ClockPicker/ClockNumber.es.js +4 -4
- package/external/@mui/x-date-pickers/ClockPicker/ClockPicker.cjs.js +1 -1
- package/external/@mui/x-date-pickers/ClockPicker/ClockPicker.es.js +1 -1
- package/external/@mui/x-date-pickers/ClockPicker/ClockPointer.cjs.js +1 -1
- package/external/@mui/x-date-pickers/ClockPicker/ClockPointer.es.js +1 -1
- package/external/@mui/x-date-pickers/ClockPicker/clockNumberClasses.cjs.js +1 -1
- package/external/@mui/x-date-pickers/ClockPicker/clockNumberClasses.es.js +4 -4
- package/external/@mui/x-date-pickers/DatePicker/DatePickerToolbar.cjs.js +1 -1
- package/external/@mui/x-date-pickers/DatePicker/DatePickerToolbar.es.js +1 -1
- package/external/@mui/x-date-pickers/DateTimePicker/DateTimePickerTabs.cjs.js +1 -1
- package/external/@mui/x-date-pickers/DateTimePicker/DateTimePickerTabs.es.js +4 -4
- package/external/@mui/x-date-pickers/DateTimePicker/DateTimePickerToolbar.cjs.js +1 -1
- package/external/@mui/x-date-pickers/DateTimePicker/DateTimePickerToolbar.es.js +1 -1
- package/external/@mui/x-date-pickers/MonthPicker/MonthPicker.cjs.js +1 -1
- package/external/@mui/x-date-pickers/MonthPicker/MonthPicker.es.js +6 -6
- package/external/@mui/x-date-pickers/MonthPicker/PickersMonth.cjs.js +1 -1
- package/external/@mui/x-date-pickers/MonthPicker/PickersMonth.es.js +4 -4
- package/external/@mui/x-date-pickers/MonthPicker/pickersMonthClasses.cjs.js +1 -1
- package/external/@mui/x-date-pickers/MonthPicker/pickersMonthClasses.es.js +4 -4
- package/external/@mui/x-date-pickers/PickersDay/PickersDay.cjs.js +1 -1
- package/external/@mui/x-date-pickers/PickersDay/PickersDay.es.js +1 -1
- package/external/@mui/x-date-pickers/TimePicker/TimePickerToolbar.cjs.js +1 -1
- package/external/@mui/x-date-pickers/TimePicker/TimePickerToolbar.es.js +1 -1
- package/external/@mui/x-date-pickers/TimePicker/timePickerToolbarClasses.cjs.js +1 -1
- package/external/@mui/x-date-pickers/TimePicker/timePickerToolbarClasses.es.js +4 -4
- package/external/@mui/x-date-pickers/YearPicker/PickersYear.cjs.js +1 -1
- package/external/@mui/x-date-pickers/YearPicker/PickersYear.es.js +1 -1
- package/external/@mui/x-date-pickers/YearPicker/YearPicker.cjs.js +1 -1
- package/external/@mui/x-date-pickers/YearPicker/YearPicker.es.js +6 -6
- package/external/@mui/x-date-pickers/YearPicker/pickersYearClasses.cjs.js +1 -1
- package/external/@mui/x-date-pickers/YearPicker/pickersYearClasses.es.js +4 -4
- package/external/@mui/x-date-pickers/internals/components/CalendarOrClockPicker/CalendarOrClockPicker.cjs.js +1 -1
- package/external/@mui/x-date-pickers/internals/components/CalendarOrClockPicker/CalendarOrClockPicker.es.js +1 -1
- package/external/@mui/x-date-pickers/internals/components/PickersArrowSwitcher.cjs.js +1 -1
- package/external/@mui/x-date-pickers/internals/components/PickersArrowSwitcher.es.js +1 -1
- package/external/@mui/x-date-pickers/internals/components/PickersPopper.cjs.js +1 -1
- package/external/@mui/x-date-pickers/internals/components/PickersPopper.es.js +1 -1
- package/external/@mui/x-date-pickers/internals/components/PickersToolbar.cjs.js +1 -1
- package/external/@mui/x-date-pickers/internals/components/PickersToolbar.es.js +1 -1
- package/external/@mui/x-date-pickers/internals/components/PickersToolbarButton.cjs.js +1 -1
- package/external/@mui/x-date-pickers/internals/components/PickersToolbarButton.es.js +4 -4
- package/external/@mui/x-date-pickers/internals/components/PickersToolbarText.cjs.js +1 -1
- package/external/@mui/x-date-pickers/internals/components/PickersToolbarText.es.js +4 -4
- package/external/@mui/x-date-pickers/internals/components/pickersToolbarTextClasses.cjs.js +1 -1
- package/external/@mui/x-date-pickers/internals/components/pickersToolbarTextClasses.es.js +4 -4
- package/external/draft-js/lib/AtomicBlockUtils.cjs.js +1 -1
- package/external/draft-js/lib/AtomicBlockUtils.es.js +13 -74
- package/external/draft-js/lib/CompositeDraftDecorator.cjs.js +1 -1
- package/external/draft-js/lib/CompositeDraftDecorator.es.js +3 -39
- package/external/draft-js/lib/Draft.cjs.js +1 -1
- package/external/draft-js/lib/Draft.es.js +29 -51
- package/external/draft-js/lib/moveBlockInContentState.cjs.js +1 -1
- package/external/draft-js/lib/moveBlockInContentState.es.js +6 -90
- package/external/formik/dist/formik.esm.cjs.js +2 -2
- package/external/formik/dist/formik.esm.es.js +96 -95
- package/external/property-expr/index.cjs.js +1 -1
- package/external/property-expr/index.es.js +37 -48
- package/external/react-animate-height/dist/esm/index.cjs.js +1 -1
- package/external/react-animate-height/dist/esm/index.es.js +56 -49
- package/external/react-day-picker/dist/esm/DayPicker.cjs.js +1 -1
- package/external/react-day-picker/dist/esm/DayPicker.es.js +21 -21
- package/external/react-day-picker/dist/esm/classes/DateLib.cjs.js +1 -1
- package/external/react-day-picker/dist/esm/classes/DateLib.es.js +40 -40
- package/external/react-day-picker/dist/esm/locale/en-US.cjs.js +1 -1
- package/external/react-day-picker/dist/esm/locale/en-US.es.js +13 -13
- package/external/react-day-picker/dist/esm/selection/useRange.cjs.js +1 -1
- package/external/react-day-picker/dist/esm/selection/useRange.es.js +16 -11
- package/external/react-day-picker/external/date-fns/addDays.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/addDays.es.js +2 -3
- package/external/react-day-picker/external/date-fns/addMonths.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/addMonths.es.js +8 -9
- package/external/react-day-picker/external/date-fns/addWeeks.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/addWeeks.es.js +4 -5
- package/external/react-day-picker/external/date-fns/addYears.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/addYears.es.js +3 -4
- package/external/react-day-picker/external/date-fns/constructFrom.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/constructFrom.es.js +1 -2
- package/external/react-day-picker/external/date-fns/differenceInCalendarDays.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/differenceInCalendarDays.es.js +2 -3
- package/external/react-day-picker/external/date-fns/differenceInCalendarMonths.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/differenceInCalendarMonths.es.js +2 -3
- package/external/react-day-picker/external/date-fns/eachMonthOfInterval.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/eachMonthOfInterval.es.js +8 -9
- package/external/react-day-picker/external/date-fns/eachYearOfInterval.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/eachYearOfInterval.es.js +10 -11
- package/external/react-day-picker/external/date-fns/endOfISOWeek.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/endOfISOWeek.es.js +3 -4
- package/external/react-day-picker/external/date-fns/endOfMonth.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/endOfMonth.es.js +3 -4
- package/external/react-day-picker/external/date-fns/endOfWeek.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/endOfWeek.es.js +5 -6
- package/external/react-day-picker/external/date-fns/endOfYear.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/endOfYear.es.js +2 -3
- package/external/react-day-picker/external/date-fns/format.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/format.es.js +0 -1
- package/external/react-day-picker/external/date-fns/getDayOfYear.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/getDayOfYear.es.js +3 -4
- package/external/react-day-picker/external/date-fns/getDaysInMonth.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/getDaysInMonth.es.js +5 -6
- package/external/react-day-picker/external/date-fns/getISOWeek.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/getISOWeek.es.js +4 -5
- package/external/react-day-picker/external/date-fns/getISOWeekYear.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/getISOWeekYear.es.js +0 -1
- package/external/react-day-picker/external/date-fns/getMonth.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/getMonth.es.js +2 -3
- package/external/react-day-picker/external/date-fns/getWeek.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/getWeek.es.js +5 -6
- package/external/react-day-picker/external/date-fns/getWeekYear.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/getWeekYear.es.js +0 -1
- package/external/react-day-picker/external/date-fns/getYear.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/getYear.es.js +2 -3
- package/external/react-day-picker/external/date-fns/isAfter.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/isAfter.es.js +2 -3
- package/external/react-day-picker/external/date-fns/isBefore.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/isBefore.es.js +3 -4
- package/external/react-day-picker/external/date-fns/isDate.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/isDate.es.js +0 -1
- package/external/react-day-picker/external/date-fns/isSameDay.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/isSameDay.es.js +8 -9
- package/external/react-day-picker/external/date-fns/isSameMonth.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/isSameMonth.es.js +5 -6
- package/external/react-day-picker/external/date-fns/isSameYear.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/isSameYear.es.js +6 -7
- package/external/react-day-picker/external/date-fns/isValid.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/isValid.es.js +4 -5
- package/external/react-day-picker/external/date-fns/locale/en-US.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/locale/en-US.es.js +8 -9
- package/external/react-day-picker/external/date-fns/locale/et.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/locale/et.es.js +8 -9
- package/external/react-day-picker/external/date-fns/max.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/max.es.js +9 -10
- package/external/react-day-picker/external/date-fns/min.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/min.es.js +9 -10
- package/external/react-day-picker/external/date-fns/setMonth.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/setMonth.es.js +5 -6
- package/external/react-day-picker/external/date-fns/setYear.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/setYear.es.js +4 -5
- package/external/react-day-picker/external/date-fns/startOfDay.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/startOfDay.es.js +4 -5
- package/external/react-day-picker/external/date-fns/startOfISOWeek.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/startOfISOWeek.es.js +2 -3
- package/external/react-day-picker/external/date-fns/startOfISOWeekYear.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/startOfISOWeekYear.es.js +5 -6
- package/external/react-day-picker/external/date-fns/startOfMonth.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/startOfMonth.es.js +0 -1
- package/external/react-day-picker/external/date-fns/startOfWeek.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/startOfWeek.es.js +7 -8
- package/external/react-day-picker/external/date-fns/startOfWeekYear.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/startOfWeekYear.es.js +4 -5
- package/external/react-day-picker/external/date-fns/startOfYear.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/startOfYear.es.js +0 -1
- package/external/react-day-picker/external/date-fns/toDate.cjs.js +1 -1
- package/external/react-day-picker/external/date-fns/toDate.es.js +3 -4
- package/external/react-dropzone/dist/es/index.cjs.js +3 -3
- package/external/react-dropzone/dist/es/index.es.js +279 -247
- package/external/react-dropzone/dist/es/utils/index.cjs.js +3 -3
- package/external/react-dropzone/dist/es/utils/index.es.js +104 -100
- package/external/react-is/index.cjs.js +1 -1
- package/external/react-is/index.es.js +1 -1
- package/external/react-toastify/dist/index.cjs.js +807 -2
- package/external/react-toastify/dist/index.es.js +1041 -227
- package/external/tabbable/dist/index.esm.cjs.js +2 -2
- package/external/tabbable/dist/index.esm.es.js +86 -69
- package/external/tiny-case/index.cjs.js +1 -1
- package/external/tiny-case/index.es.js +6 -12
- package/external/toposort/index.cjs.js +1 -1
- package/external/toposort/index.es.js +1 -1
- package/external/what-input/dist/what-input.cjs.js +2 -2
- package/external/what-input/dist/what-input.es.js +18 -18
- package/index.css +1 -1
- package/package.json +17 -17
- package/src/community/components/accordion/accordion-item/accordion-item.cjs.js +1 -1
- package/src/community/components/accordion/accordion-item/accordion-item.d.ts +3 -0
- package/src/community/components/accordion/accordion-item/accordion-item.es.js +16 -17
- package/src/community/components/accordion/accordion-item-content/accordion-item-content.cjs.js +1 -1
- package/src/community/components/accordion/accordion-item-content/accordion-item-content.d.ts +3 -0
- package/src/community/components/accordion/accordion-item-content/accordion-item-content.es.js +8 -9
- package/src/community/components/accordion/accordion-item-header/accordion-item-header.cjs.js +1 -1
- package/src/community/components/accordion/accordion-item-header/accordion-item-header.d.ts +3 -0
- package/src/community/components/accordion/accordion-item-header/accordion-item-header.es.js +1 -2
- package/src/community/components/accordion/accordion.cjs.js +1 -1
- package/src/community/components/accordion/accordion.d.ts +3 -0
- package/src/community/components/accordion/accordion.es.js +3 -4
- package/src/community/components/card/card-content/card-content.cjs.js +1 -1
- package/src/community/components/card/card-content/card-content.es.js +4 -4
- package/src/community/components/card/card-header/card-header.cjs.js +1 -1
- package/src/community/components/card/card-header/card-header.es.js +4 -5
- package/src/community/components/card/card-notification/card-notification.cjs.js +1 -1
- package/src/community/components/card/card-notification/card-notification.es.js +6 -7
- package/src/community/components/dropdown/dropdown.cjs.js +1 -1
- package/src/community/components/dropdown/dropdown.es.js +6 -6
- package/src/community/components/feedback/feedback.cjs.js +1 -1
- package/src/community/components/feedback/feedback.es.js +7 -8
- package/src/community/components/form/choice-group/choice-group.cjs.js +1 -1
- package/src/community/components/form/choice-group/choice-group.es.js +10 -11
- package/src/community/components/form/file-upload/examples/multiple-handled.d.ts +1 -1
- package/src/community/components/form/file-upload/file-upload.cjs.js +1 -1
- package/src/community/components/form/file-upload/file-upload.es.js +12 -13
- package/src/community/components/form/hidden-field/examples/hidden-multiselect.d.ts +1 -1
- package/src/community/components/form/hidden-field/examples/hidden-select.d.ts +1 -1
- package/src/community/components/form/hidden-field/examples/hidden-textfield.d.ts +1 -1
- package/src/community/components/form/hidden-field/hidden-field.cjs.js +1 -1
- package/src/community/components/form/hidden-field/hidden-field.es.js +1 -2
- package/src/community/components/form/pickers/calendar/calendar.cjs.js +1 -1
- package/src/community/components/form/pickers/calendar/calendar.es.js +1 -2
- package/src/community/components/form/pickers/datepicker/datepicker.cjs.js +1 -1
- package/src/community/components/form/pickers/datepicker/datepicker.es.js +1 -2
- package/src/community/components/form/pickers/datetimepicker/datetimepicker.cjs.js +1 -1
- package/src/community/components/form/pickers/datetimepicker/datetimepicker.es.js +1 -2
- package/src/community/components/form/pickers/timepicker/timepicker.cjs.js +1 -1
- package/src/community/components/form/pickers/timepicker/timepicker.es.js +12 -13
- package/src/community/components/form/select/examples/async.d.ts +1 -1
- package/src/community/components/form/select/examples/custom-option.d.ts +1 -1
- package/src/community/components/form/select/examples/editable.d.ts +1 -1
- package/src/community/components/form/select/examples/multiple-handled.d.ts +1 -1
- package/src/community/components/form/select/select.cjs.js +1 -1
- package/src/community/components/form/select/select.d.ts +1 -1
- package/src/community/components/form/select/select.es.js +1 -1
- package/src/community/components/form/text-editor/text-editor.cjs.js +1 -1
- package/src/community/components/form/text-editor/text-editor.es.js +1 -2
- package/src/community/components/layout/breadcrumbs/breadcrumbs.cjs.js +1 -1
- package/src/community/components/layout/breadcrumbs/breadcrumbs.es.js +1 -1
- package/src/community/components/layout/footer/footer.cjs.js +1 -1
- package/src/community/components/layout/footer/footer.d.ts +6 -0
- package/src/community/components/layout/footer/footer.es.js +14 -15
- package/src/community/components/layout/header/components/header-language/header-language.cjs.js +1 -1
- package/src/community/components/layout/header/components/header-language/header-language.es.js +6 -6
- package/src/community/components/layout/header/components/header-modal/header-modal.cjs.js +1 -1
- package/src/community/components/layout/header/components/header-modal/header-modal.es.js +10 -10
- package/src/community/components/layout/header/components/header-role/header-role.cjs.js +1 -1
- package/src/community/components/layout/header/components/header-role/header-role.es.js +1 -1
- package/src/community/components/layout/header/components/header-settings/header-settings.cjs.js +1 -1
- package/src/community/components/layout/header/components/header-settings/header-settings.es.js +1 -1
- package/src/community/components/layout/header/header/header.cjs.js +1 -1
- package/src/community/components/layout/header/header/header.es.js +2 -3
- package/src/community/components/layout/layout/layout.cjs.js +1 -1
- package/src/community/components/layout/layout/layout.es.js +6 -7
- package/src/community/components/layout/sidenav/sidenav.cjs.js +1 -1
- package/src/community/components/layout/sidenav/sidenav.es.js +2 -2
- package/src/community/components/layout/sidenav/utility.cjs.js +1 -1
- package/src/community/components/layout/sidenav/utility.es.js +1 -1
- package/src/community/components/map-components/base-map-selection/base-map-selection.cjs.js +1 -1
- package/src/community/components/map-components/base-map-selection/base-map-selection.es.js +11 -12
- package/src/community/components/map-components/button-group/button-group.cjs.js +1 -1
- package/src/community/components/map-components/button-group/button-group.es.js +3 -4
- package/src/community/components/map-components/carousel/carousel.cjs.js +1 -1
- package/src/community/components/map-components/carousel/carousel.d.ts +10 -0
- package/src/community/components/map-components/carousel/carousel.es.js +7 -8
- package/src/community/components/map-components/color-and-icon-picker/color-and-icon-picker.cjs.js +1 -1
- package/src/community/components/map-components/color-and-icon-picker/color-and-icon-picker.es.js +20 -21
- package/src/community/components/map-components/comparison/comparison.cjs.js +1 -1
- package/src/community/components/map-components/comparison/comparison.es.js +2 -3
- package/src/community/components/map-components/directions/directions.cjs.js +1 -1
- package/src/community/components/map-components/directions/directions.es.js +1 -2
- package/src/community/components/map-components/edit-actions/editing-actions.cjs.js +1 -1
- package/src/community/components/map-components/edit-actions/editing-actions.es.js +5 -6
- package/src/community/components/map-components/left-panel/left-panel.cjs.js +1 -1
- package/src/community/components/map-components/left-panel/left-panel.es.js +7 -8
- package/src/community/components/map-components/legend/legend.cjs.js +1 -1
- package/src/community/components/map-components/legend/legend.es.js +4 -5
- package/src/community/components/map-components/map-accordion/map-accordion-item-content.cjs.js +1 -1
- package/src/community/components/map-components/map-accordion/map-accordion-item-content.es.js +1 -1
- package/src/community/components/map-components/map-dropdown/map-dropdown.cjs.js +1 -1
- package/src/community/components/map-components/map-dropdown/map-dropdown.es.js +6 -6
- package/src/community/components/map-components/map-info/map-info.cjs.js +1 -1
- package/src/community/components/map-components/map-info/map-info.es.js +5 -6
- package/src/community/components/map-components/map-layer/map-layer.cjs.js +1 -1
- package/src/community/components/map-components/map-layer/map-layer.es.js +28 -29
- package/src/community/components/map-components/map-preview/map-preview.cjs.js +1 -1
- package/src/community/components/map-components/map-preview/map-preview.es.js +9 -10
- package/src/community/components/map-components/right-panel/right-panel.cjs.js +1 -1
- package/src/community/components/map-components/right-panel/right-panel.es.js +24 -25
- package/src/community/components/map-components/scale-bar/scale-bar.cjs.js +1 -1
- package/src/community/components/map-components/scale-bar/scale-bar.es.js +6 -7
- package/src/community/components/map-components/timeline/timeline.cjs.js +1 -1
- package/src/community/components/map-components/timeline/timeline.es.js +17 -18
- package/src/community/components/modal/modal.cjs.js +1 -1
- package/src/community/components/modal/modal.es.js +1 -2
- package/src/community/components/placeholder/placeholder.cjs.js +1 -1
- package/src/community/components/placeholder/placeholder.d.ts +5 -0
- package/src/community/components/placeholder/placeholder.es.js +1 -1
- package/src/community/components/status/status.cjs.js +1 -1
- package/src/community/components/status/status.es.js +7 -8
- package/src/community/components/stepper/step.d.ts +6 -0
- package/src/community/components/stepper/stepper-nav.cjs.js +1 -1
- package/src/community/components/stepper/stepper-nav.d.ts +6 -0
- package/src/community/components/stepper/stepper-nav.es.js +1 -1
- package/src/community/components/stepper/stepper.cjs.js +1 -1
- package/src/community/components/stepper/stepper.d.ts +6 -0
- package/src/community/components/stepper/stepper.es.js +13 -14
- package/src/community/components/table/components/examples/custom-expand-row.d.ts +1 -1
- package/src/community/components/table/components/pagination/pagination.cjs.js +1 -1
- package/src/community/components/table/components/pagination/pagination.es.js +1 -1
- package/src/community/components/table/components/table-filter/components/table-date-filter.cjs.js +1 -1
- package/src/community/components/table/components/table-filter/components/table-date-filter.es.js +1 -1
- package/src/community/components/table/components/table-filter/components/table-select-filter.cjs.js +1 -1
- package/src/community/components/table/components/table-filter/components/table-select-filter.es.js +6 -6
- package/src/community/components/table/table.cjs.js +1 -1
- package/src/community/components/table/table.es.js +14 -15
- package/src/community/components/table-of-contents/table-of-contents-item.d.ts +6 -0
- package/src/community/components/table-of-contents/table-of-contents-items.cjs.js +1 -1
- package/src/community/components/table-of-contents/table-of-contents-items.es.js +3 -3
- package/src/community/components/table-of-contents/table-of-contents.cjs.js +1 -1
- package/src/community/components/table-of-contents/table-of-contents.d.ts +5 -0
- package/src/community/components/table-of-contents/table-of-contents.es.js +12 -13
- package/src/community/components/tabs/tabs/tabs.cjs.js +1 -1
- package/src/community/components/tabs/tabs/tabs.es.js +9 -10
- package/src/community/components/tooltip/tooltip-provider.cjs.js +1 -1
- package/src/community/components/tooltip/tooltip-provider.es.js +19 -20
- package/src/community/components/tooltip/tooltip-trigger.cjs.js +1 -1
- package/src/community/components/tooltip/tooltip-trigger.es.js +4 -5
- package/src/community/components/tooltip/tooltip.cjs.js +1 -1
- package/src/community/components/tooltip/tooltip.es.js +6 -7
- package/src/community/components/vertical-progress/vertical-progress-item.cjs.js +1 -1
- package/src/community/components/vertical-progress/vertical-progress-item.es.js +1 -2
- package/src/community/components/vertical-progress/vertical-progress.cjs.js +1 -1
- package/src/community/components/vertical-progress/vertical-progress.es.js +1 -2
- package/src/community/components/vertical-stepper/step-item/step-item.cjs.js +1 -1
- package/src/community/components/vertical-stepper/step-item/step-item.es.js +1 -1
- package/src/community/components/vertical-stepper/vertical-stepper.cjs.js +1 -1
- package/src/community/components/vertical-stepper/vertical-stepper.es.js +4 -5
- package/src/community/helpers/hooks/use-breakpoint-props.cjs.js +1 -1
- package/src/community/helpers/hooks/use-breakpoint-props.es.js +1 -1
- package/src/community/helpers/hooks/use-layout.cjs.js +1 -1
- package/src/community/helpers/hooks/use-layout.es.js +1 -1
- package/src/tedi/components/buttons/button-group/button-group.cjs.js +1 -1
- package/src/tedi/components/buttons/button-group/button-group.es.js +2 -3
- package/src/tedi/components/buttons/card-button/card-button.cjs.js +1 -0
- package/src/tedi/components/buttons/card-button/card-button.d.ts +17 -0
- package/src/tedi/components/buttons/card-button/card-button.es.js +25 -0
- package/src/tedi/components/buttons/card-button/card-button.module.scss.cjs.js +1 -0
- package/src/tedi/components/buttons/card-button/card-button.module.scss.es.js +6 -0
- package/src/tedi/components/buttons/card-button/index.d.ts +1 -0
- package/src/tedi/components/buttons/collapse-button/collapse-button.cjs.js +1 -0
- package/src/tedi/components/buttons/collapse-button/collapse-button.d.ts +61 -0
- package/src/tedi/components/buttons/collapse-button/collapse-button.es.js +84 -0
- package/src/tedi/components/buttons/collapse-button/collapse-button.module.scss.cjs.js +1 -0
- package/src/tedi/components/buttons/collapse-button/collapse-button.module.scss.es.js +17 -0
- package/src/tedi/components/content/accordion/accordion-context.cjs.js +1 -0
- package/src/tedi/components/content/accordion/accordion-context.d.ts +27 -0
- package/src/tedi/components/content/accordion/accordion-context.es.js +6 -0
- package/src/tedi/components/content/accordion/accordion-item/accordion-item-context.cjs.js +1 -0
- package/src/tedi/components/content/accordion/accordion-item/accordion-item-context.d.ts +24 -0
- package/src/tedi/components/content/accordion/accordion-item/accordion-item-context.es.js +11 -0
- package/src/tedi/components/content/accordion/accordion-item/accordion-item.cjs.js +1 -0
- package/src/tedi/components/content/accordion/accordion-item/accordion-item.d.ts +76 -0
- package/src/tedi/components/content/accordion/accordion-item/accordion-item.es.js +69 -0
- package/src/tedi/components/content/accordion/accordion-item-content/accordion-item-content.cjs.js +1 -0
- package/src/tedi/components/content/accordion/accordion-item-content/accordion-item-content.d.ts +16 -0
- package/src/tedi/components/content/accordion/accordion-item-content/accordion-item-content.es.js +30 -0
- package/src/tedi/components/content/accordion/accordion-item-header/accordion-item-header.cjs.js +1 -0
- package/src/tedi/components/content/accordion/accordion-item-header/accordion-item-header.d.ts +134 -0
- package/src/tedi/components/content/accordion/accordion-item-header/accordion-item-header.es.js +126 -0
- package/src/tedi/components/content/accordion/accordion.cjs.js +1 -0
- package/src/tedi/components/content/accordion/accordion.d.ts +61 -0
- package/src/tedi/components/content/accordion/accordion.es.js +51 -0
- package/src/tedi/components/content/accordion/accordion.module.scss.cjs.js +1 -0
- package/src/tedi/components/content/accordion/accordion.module.scss.es.js +31 -0
- package/src/tedi/components/content/accordion/index.d.ts +6 -0
- package/src/tedi/components/content/calendar/calendar.d.ts +4 -3
- package/src/tedi/components/content/calendar/components/calendar-header/calendar-header.cjs.js +1 -1
- package/src/tedi/components/content/calendar/components/calendar-header/calendar-header.es.js +68 -64
- package/src/tedi/components/content/calendar/components/calendar-header/calendar-header.module.scss.cjs.js +1 -1
- package/src/tedi/components/content/calendar/components/calendar-header/calendar-header.module.scss.es.js +2 -1
- package/src/tedi/components/{cards → content}/card/card-content/card-content.d.ts +10 -0
- package/src/tedi/components/{cards → content}/card/card-notification/card-notification.module.scss.cjs.js +1 -1
- package/src/tedi/components/{cards → content}/card/card-notification/card-notification.module.scss.es.js +2 -2
- package/src/tedi/components/{cards → content}/card/card-stories-templates.d.ts +1 -1
- package/src/tedi/components/content/card/card.cjs.js +1 -0
- package/src/tedi/components/{cards → content}/card/card.d.ts +7 -4
- package/src/tedi/components/{cards → content}/card/card.es.js +1 -2
- package/src/tedi/components/content/card/card.module.scss.cjs.js +1 -0
- package/src/tedi/components/{cards → content}/card/card.module.scss.es.js +47 -47
- package/src/tedi/components/content/carousel/carousel-context.cjs.js +1 -0
- package/src/tedi/components/content/carousel/carousel-context.d.ts +7 -0
- package/src/tedi/components/content/carousel/carousel-context.es.js +11 -0
- package/src/tedi/components/content/carousel/carousel-utils.cjs.js +1 -0
- package/src/tedi/components/content/carousel/carousel-utils.d.ts +26 -0
- package/src/tedi/components/content/carousel/carousel-utils.es.js +14 -0
- package/src/tedi/components/content/carousel/carousel.cjs.js +1 -0
- package/src/tedi/components/content/carousel/carousel.d.ts +20 -0
- package/src/tedi/components/content/carousel/carousel.es.js +26 -0
- package/src/tedi/components/content/carousel/carousel.module.scss.cjs.js +1 -0
- package/src/tedi/components/content/carousel/carousel.module.scss.es.js +18 -0
- package/src/tedi/components/content/carousel/components/carousel-content/carousel-content.cjs.js +1 -0
- package/src/tedi/components/content/carousel/components/carousel-content/carousel-content.d.ts +53 -0
- package/src/tedi/components/content/carousel/components/carousel-content/carousel-content.es.js +102 -0
- package/src/tedi/components/content/carousel/components/carousel-footer/carousel-footer.cjs.js +1 -0
- package/src/tedi/components/content/carousel/components/carousel-footer/carousel-footer.d.ts +17 -0
- package/src/tedi/components/content/carousel/components/carousel-footer/carousel-footer.es.js +9 -0
- package/src/tedi/components/content/carousel/components/carousel-header/carousel-header.cjs.js +1 -0
- package/src/tedi/components/content/carousel/components/carousel-header/carousel-header.d.ts +17 -0
- package/src/tedi/components/content/carousel/components/carousel-header/carousel-header.es.js +9 -0
- package/src/tedi/components/content/carousel/components/carousel-indicators/carousel-indicators.cjs.js +1 -0
- package/src/tedi/components/content/carousel/components/carousel-indicators/carousel-indicators.d.ts +20 -0
- package/src/tedi/components/content/carousel/components/carousel-indicators/carousel-indicators.es.js +37 -0
- package/src/tedi/components/content/carousel/components/carousel-navigation/carousel-navigation.cjs.js +1 -0
- package/src/tedi/components/content/carousel/components/carousel-navigation/carousel-navigation.d.ts +43 -0
- package/src/tedi/components/content/carousel/components/carousel-navigation/carousel-navigation.es.js +47 -0
- package/src/tedi/components/content/carousel/index.d.ts +7 -0
- package/src/tedi/components/content/carousel/use-carousel.cjs.js +1 -0
- package/src/tedi/components/content/carousel/use-carousel.d.ts +56 -0
- package/src/tedi/components/content/carousel/use-carousel.es.js +228 -0
- package/src/tedi/components/content/collapse/collapse.cjs.js +1 -0
- package/src/tedi/components/{buttons → content}/collapse/collapse.d.ts +17 -0
- package/src/tedi/components/content/collapse/collapse.es.js +84 -0
- package/src/tedi/components/content/collapse/collapse.module.scss.cjs.js +1 -0
- package/src/tedi/components/content/collapse/collapse.module.scss.es.js +8 -0
- package/src/tedi/components/content/empty-state/empty-state.cjs.js +1 -0
- package/src/tedi/components/{misc → content}/empty-state/empty-state.es.js +7 -8
- package/src/tedi/components/content/empty-state/empty-state.module.scss.cjs.js +1 -0
- package/src/tedi/components/content/empty-state/empty-state.module.scss.es.js +15 -0
- package/src/tedi/components/content/heading-with-icon/heading-with-icon.cjs.js +1 -1
- package/src/tedi/components/content/heading-with-icon/heading-with-icon.es.js +11 -12
- package/src/tedi/components/content/label/label.cjs.js +1 -1
- package/src/tedi/components/content/label/label.es.js +10 -10
- package/src/tedi/components/content/label/label.module.scss.cjs.js +1 -1
- package/src/tedi/components/content/label/label.module.scss.es.js +2 -1
- package/src/tedi/components/content/list/list-item.cjs.js +1 -1
- package/src/tedi/components/content/list/list-item.es.js +4 -4
- package/src/tedi/components/content/list/list.cjs.js +1 -1
- package/src/tedi/components/content/list/list.es.js +1 -2
- package/src/tedi/components/content/section/section.cjs.js +1 -1
- package/src/tedi/components/content/section/section.es.js +7 -8
- package/src/tedi/components/content/table/table-header-button/table-header-button.cjs.js +1 -1
- package/src/tedi/components/content/table/table-header-button/table-header-button.es.js +13 -14
- package/src/tedi/components/content/table/table-toolbar/table-toolbar.cjs.js +1 -1
- package/src/tedi/components/content/table/table-toolbar/table-toolbar.es.js +5 -6
- package/src/tedi/components/content/table/table.cjs.js +1 -1
- package/src/tedi/components/content/table/table.d.ts +9 -9
- package/src/tedi/components/content/table/table.es.js +129 -131
- package/src/tedi/components/content/text-group/text-group.d.ts +1 -1
- package/src/tedi/components/content/truncate/truncate.cjs.js +1 -1
- package/src/tedi/components/content/truncate/truncate.es.js +10 -11
- package/src/tedi/components/filter/filter/filter.cjs.js +1 -1
- package/src/tedi/components/filter/filter/filter.es.js +1 -2
- package/src/tedi/components/form/choice-group/choice-group.cjs.js +1 -1
- package/src/tedi/components/form/choice-group/choice-group.es.js +1 -1
- package/src/tedi/components/form/date-field/date-field-helpers.cjs.js +1 -1
- package/src/tedi/components/form/date-field/date-field-helpers.d.ts +16 -0
- package/src/tedi/components/form/date-field/date-field-helpers.es.js +15 -14
- package/src/tedi/components/form/date-field/date-field.cjs.js +1 -1
- package/src/tedi/components/form/date-field/date-field.d.ts +51 -4
- package/src/tedi/components/form/date-field/date-field.es.js +288 -238
- package/src/tedi/components/form/date-field/date-field.module.scss.cjs.js +1 -1
- package/src/tedi/components/form/date-field/date-field.module.scss.es.js +2 -0
- package/src/tedi/components/form/date-field/date-picker-modal/date-picker-modal.cjs.js +1 -0
- package/src/tedi/components/form/date-field/date-picker-modal/date-picker-modal.d.ts +51 -0
- package/src/tedi/components/form/date-field/date-picker-modal/date-picker-modal.es.js +108 -0
- package/src/tedi/components/form/date-field/date-picker-modal/date-picker-modal.module.scss.cjs.js +1 -0
- package/src/tedi/components/form/date-field/date-picker-modal/date-picker-modal.module.scss.es.js +10 -0
- package/src/tedi/components/form/date-time-field/date-time-field.cjs.js +1 -1
- package/src/tedi/components/form/date-time-field/date-time-field.es.js +14 -15
- package/src/tedi/components/form/file-dropzone/file-dropzone.cjs.js +1 -1
- package/src/tedi/components/form/file-dropzone/file-dropzone.d.ts +29 -3
- package/src/tedi/components/form/file-dropzone/file-dropzone.es.js +90 -69
- package/src/tedi/components/form/file-dropzone/file-dropzone.module.scss.cjs.js +1 -1
- package/src/tedi/components/form/file-dropzone/file-dropzone.module.scss.es.js +2 -2
- package/src/tedi/components/form/file-upload/examples/multiple-handled.d.ts +1 -1
- package/src/tedi/components/form/file-upload/file-upload.cjs.js +1 -1
- package/src/tedi/components/form/file-upload/file-upload.d.ts +9 -0
- package/src/tedi/components/form/file-upload/file-upload.es.js +2 -3
- package/src/tedi/components/form/input-group/components/input/input.cjs.js +1 -1
- package/src/tedi/components/form/input-group/components/input/input.es.js +14 -13
- package/src/tedi/components/form/input-group/components/prefix/prefix.cjs.js +1 -1
- package/src/tedi/components/form/input-group/components/prefix/prefix.es.js +16 -16
- package/src/tedi/components/form/input-group/components/suffix/suffix.cjs.js +1 -1
- package/src/tedi/components/form/input-group/components/suffix/suffix.es.js +12 -12
- package/src/tedi/components/form/input-group/input-group.cjs.js +1 -1
- package/src/tedi/components/form/input-group/input-group.d.ts +13 -0
- package/src/tedi/components/form/input-group/input-group.es.js +46 -45
- package/src/tedi/components/form/input-group/input-group.module.scss.cjs.js +1 -1
- package/src/tedi/components/form/input-group/input-group.module.scss.es.js +2 -0
- package/src/tedi/components/form/number-field/number-field.cjs.js +1 -1
- package/src/tedi/components/form/number-field/number-field.es.js +16 -17
- package/src/tedi/components/form/select/components/select-group-bulk-context.es.js +2 -2
- package/src/tedi/components/form/select/components/select-menu-portal.d.ts +1 -1
- package/src/tedi/components/form/select/components/select-multi-option.cjs.js +1 -1
- package/src/tedi/components/form/select/components/select-multi-option.es.js +43 -51
- package/src/tedi/components/form/select/components/select-multi-value.cjs.js +1 -1
- package/src/tedi/components/form/select/components/select-multi-value.d.ts +3 -1
- package/src/tedi/components/form/select/components/select-multi-value.es.js +41 -29
- package/src/tedi/components/form/select/components/select-single-option.cjs.js +1 -1
- package/src/tedi/components/form/select/components/select-single-option.es.js +21 -27
- package/src/tedi/components/form/select/examples/async.d.ts +1 -1
- package/src/tedi/components/form/select/examples/custom-option.d.ts +1 -1
- package/src/tedi/components/form/select/examples/editable.d.ts +1 -1
- package/src/tedi/components/form/select/examples/multiple-handled.d.ts +1 -1
- package/src/tedi/components/form/select/select.cjs.js +1 -1
- package/src/tedi/components/form/select/select.d.ts +10 -1
- package/src/tedi/components/form/select/select.es.js +106 -106
- package/src/tedi/components/form/select/select.module.scss.cjs.js +1 -1
- package/src/tedi/components/form/select/select.module.scss.es.js +1 -1
- package/src/tedi/components/form/slider/slider.cjs.js +1 -1
- package/src/tedi/components/form/slider/slider.es.js +1 -2
- package/src/tedi/components/form/slider/slider.module.scss.cjs.js +1 -1
- package/src/tedi/components/form/slider/slider.module.scss.es.js +1 -2
- package/src/tedi/components/form/textarea/textarea.cjs.js +1 -1
- package/src/tedi/components/form/textarea/textarea.es.js +17 -18
- package/src/tedi/components/form/textfield/textfield.d.ts +14 -0
- package/src/tedi/components/form/time-field/time-field-helpers.cjs.js +1 -1
- package/src/tedi/components/form/time-field/time-field-helpers.d.ts +1 -1
- package/src/tedi/components/form/time-field/time-field-helpers.es.js +1 -1
- package/src/tedi/components/form/time-field/time-field.cjs.js +1 -1
- package/src/tedi/components/form/time-field/time-field.d.ts +23 -1
- package/src/tedi/components/form/time-field/time-field.es.js +126 -94
- package/src/tedi/components/form/time-field/time-picker-modal/time-picker-modal.cjs.js +1 -0
- package/src/tedi/components/form/time-field/time-picker-modal/time-picker-modal.d.ts +30 -0
- package/src/tedi/components/form/time-field/time-picker-modal/time-picker-modal.es.js +58 -0
- package/src/tedi/components/form/time-field/time-picker-modal/time-picker-modal.module.scss.cjs.js +1 -0
- package/src/tedi/components/form/time-field/time-picker-modal/time-picker-modal.module.scss.es.js +10 -0
- package/src/tedi/components/form/time-picker/components/time-grid/time-grid.cjs.js +1 -1
- package/src/tedi/components/form/time-picker/components/time-grid/time-grid.d.ts +5 -1
- package/src/tedi/components/form/time-picker/components/time-grid/time-grid.es.js +47 -64
- package/src/tedi/components/form/time-picker/components/time-wheel/time-wheel.cjs.js +1 -1
- package/src/tedi/components/form/time-picker/components/time-wheel/time-wheel.es.js +1 -1
- package/src/tedi/components/form/time-picker/time-picker.module.scss.cjs.js +1 -1
- package/src/tedi/components/form/time-picker/time-picker.module.scss.es.js +1 -2
- package/src/tedi/components/form/toggle/toggle.cjs.js +1 -1
- package/src/tedi/components/form/toggle/toggle.es.js +11 -12
- package/src/tedi/components/layout/footer/footer-body/footer-body.cjs.js +1 -0
- package/src/tedi/components/layout/footer/footer-body/footer-body.d.ts +30 -0
- package/src/tedi/components/layout/footer/footer-body/footer-body.es.js +27 -0
- package/src/tedi/components/layout/footer/footer-bottom/footer-bottom.cjs.js +1 -0
- package/src/tedi/components/layout/footer/footer-bottom/footer-bottom.d.ts +23 -0
- package/src/tedi/components/layout/footer/footer-bottom/footer-bottom.es.js +24 -0
- package/src/tedi/components/layout/footer/footer-context.cjs.js +1 -0
- package/src/tedi/components/layout/footer/footer-context.d.ts +23 -0
- package/src/tedi/components/layout/footer/footer-context.es.js +7 -0
- package/src/tedi/components/layout/footer/footer-section/footer-section.cjs.js +1 -0
- package/src/tedi/components/layout/footer/footer-section/footer-section.d.ts +48 -0
- package/src/tedi/components/layout/footer/footer-section/footer-section.es.js +65 -0
- package/src/tedi/components/layout/footer/footer-side/footer-side.cjs.js +1 -0
- package/src/tedi/components/layout/footer/footer-side/footer-side.d.ts +36 -0
- package/src/tedi/components/layout/footer/footer-side/footer-side.es.js +33 -0
- package/src/tedi/components/layout/footer/footer.cjs.js +1 -0
- package/src/tedi/components/layout/footer/footer.d.ts +56 -0
- package/src/tedi/components/layout/footer/footer.es.js +63 -0
- package/src/tedi/components/layout/footer/footer.module.scss.cjs.js +1 -0
- package/src/tedi/components/layout/footer/footer.module.scss.es.js +31 -0
- package/src/tedi/components/layout/footer/index.d.ts +5 -0
- package/src/tedi/components/layout/grid/col.cjs.js +1 -1
- package/src/tedi/components/layout/grid/col.es.js +10 -11
- package/src/tedi/components/layout/grid/row.cjs.js +1 -1
- package/src/tedi/components/layout/grid/row.es.js +12 -13
- package/src/tedi/components/layout/header/header.d.ts +6 -6
- package/src/tedi/components/layout/sidenav/components/sidenav-dropdown/sidenav-dropdown.cjs.js +1 -1
- package/src/tedi/components/layout/sidenav/components/sidenav-dropdown/sidenav-dropdown.es.js +6 -6
- package/src/tedi/components/layout/sidenav/components/sidenav-item/sidenav-item.cjs.js +1 -1
- package/src/tedi/components/layout/sidenav/components/sidenav-item/sidenav-item.es.js +116 -120
- package/src/tedi/components/layout/sidenav/sidenav.cjs.js +1 -1
- package/src/tedi/components/layout/sidenav/sidenav.d.ts +2 -2
- package/src/tedi/components/layout/sidenav/sidenav.es.js +7 -8
- package/src/tedi/components/layout/sidenav/sidenav.module.scss.cjs.js +1 -1
- package/src/tedi/components/layout/sidenav/sidenav.module.scss.es.js +1 -1
- package/src/tedi/components/layout/top-nav/components/top-nav-group/top-nav-group.cjs.js +1 -1
- package/src/tedi/components/layout/top-nav/components/top-nav-group/top-nav-group.es.js +14 -15
- package/src/tedi/components/layout/top-nav/components/top-nav-item/top-nav-item.cjs.js +1 -1
- package/src/tedi/components/layout/top-nav/components/top-nav-item/top-nav-item.es.js +14 -15
- package/src/tedi/components/layout/top-nav/components/top-nav-separator/top-nav-separator.cjs.js +1 -1
- package/src/tedi/components/layout/top-nav/components/top-nav-separator/top-nav-separator.es.js +1 -2
- package/src/tedi/components/layout/top-nav/components/top-nav-subitem/top-nav-subitem.cjs.js +1 -1
- package/src/tedi/components/layout/top-nav/components/top-nav-subitem/top-nav-subitem.es.js +7 -8
- package/src/tedi/components/layout/top-nav/top-nav-context.es.js +2 -2
- package/src/tedi/components/layout/top-nav/top-nav.cjs.js +1 -1
- package/src/tedi/components/layout/top-nav/top-nav.d.ts +1 -1
- package/src/tedi/components/layout/top-nav/top-nav.es.js +29 -30
- package/src/tedi/components/layout/vertical-spacing/vertical-spacing.cjs.js +1 -1
- package/src/tedi/components/layout/vertical-spacing/vertical-spacing.es.js +9 -10
- package/src/tedi/components/loaders/progress-bar/index.d.ts +1 -0
- package/src/tedi/components/loaders/progress-bar/progress-bar.cjs.js +1 -0
- package/src/tedi/components/loaders/progress-bar/progress-bar.d.ts +65 -0
- package/src/tedi/components/loaders/progress-bar/progress-bar.es.js +74 -0
- package/src/tedi/components/loaders/progress-bar/progress-bar.module.scss.cjs.js +1 -0
- package/src/tedi/components/loaders/progress-bar/progress-bar.module.scss.es.js +17 -0
- package/src/tedi/components/loaders/skeleton/skeleton.cjs.js +1 -1
- package/src/tedi/components/loaders/skeleton/skeleton.d.ts +1 -1
- package/src/tedi/components/loaders/skeleton/skeleton.es.js +5 -6
- package/src/tedi/components/loaders/spinner/spinner.cjs.js +1 -1
- package/src/tedi/components/loaders/spinner/spinner.es.js +3 -3
- package/src/tedi/components/misc/affix/affix.cjs.js +1 -1
- package/src/tedi/components/misc/affix/affix.es.js +7 -8
- package/src/tedi/components/misc/attachment/attachment.cjs.js +1 -0
- package/src/tedi/components/misc/attachment/attachment.d.ts +61 -0
- package/src/tedi/components/misc/attachment/attachment.es.js +92 -0
- package/src/tedi/components/misc/attachment/attachment.module.scss.cjs.js +1 -0
- package/src/tedi/components/misc/attachment/attachment.module.scss.es.js +19 -0
- package/src/tedi/components/misc/attachment/index.d.ts +1 -0
- package/src/tedi/components/misc/ellipsis/ellipsis.cjs.js +1 -1
- package/src/tedi/components/misc/ellipsis/ellipsis.d.ts +11 -1
- package/src/tedi/components/misc/ellipsis/ellipsis.es.js +28 -22
- package/src/tedi/components/misc/ellipsis/ellipsis.module.scss.cjs.js +1 -1
- package/src/tedi/components/misc/ellipsis/ellipsis.module.scss.es.js +6 -3
- package/src/tedi/components/misc/option-content/option-content.cjs.js +1 -0
- package/src/tedi/components/misc/option-content/option-content.d.ts +71 -0
- package/src/tedi/components/misc/option-content/option-content.es.js +91 -0
- package/src/tedi/components/misc/option-content/option-content.module.scss.cjs.js +1 -0
- package/src/tedi/components/misc/option-content/option-content.module.scss.es.js +21 -0
- package/src/tedi/components/misc/scroll-visibility/scroll-visibility.es.js +2 -2
- package/src/tedi/components/misc/stretch-content/stretch-content.cjs.js +1 -1
- package/src/tedi/components/misc/stretch-content/stretch-content.es.js +8 -9
- package/src/tedi/components/navigation/breadcrumbs/breadcrumbs.cjs.js +1 -1
- package/src/tedi/components/navigation/breadcrumbs/breadcrumbs.es.js +1 -2
- package/src/tedi/components/navigation/hash-trigger/hash-trigger.es.js +2 -2
- package/src/tedi/components/navigation/horizontal-stepper/horizontal-stepper-context.cjs.js +1 -0
- package/src/tedi/components/navigation/horizontal-stepper/horizontal-stepper-context.d.ts +2 -0
- package/src/tedi/components/navigation/horizontal-stepper/horizontal-stepper-context.es.js +5 -0
- package/src/tedi/components/navigation/horizontal-stepper/horizontal-stepper-item.cjs.js +1 -0
- package/src/tedi/components/navigation/horizontal-stepper/horizontal-stepper-item.d.ts +45 -0
- package/src/tedi/components/navigation/horizontal-stepper/horizontal-stepper-item.es.js +49 -0
- package/src/tedi/components/navigation/horizontal-stepper/horizontal-stepper.cjs.js +1 -0
- package/src/tedi/components/navigation/horizontal-stepper/horizontal-stepper.d.ts +36 -0
- package/src/tedi/components/navigation/horizontal-stepper/horizontal-stepper.es.js +37 -0
- package/src/tedi/components/navigation/horizontal-stepper/horizontal-stepper.module.scss.cjs.js +1 -0
- package/src/tedi/components/navigation/horizontal-stepper/horizontal-stepper.module.scss.es.js +24 -0
- package/src/tedi/components/navigation/horizontal-stepper/index.d.ts +2 -0
- package/src/tedi/components/navigation/pagination/index.d.ts +1 -0
- package/src/tedi/components/navigation/pagination/pagination-mobile-modal/pagination-mobile-modal.cjs.js +1 -0
- package/src/tedi/components/navigation/pagination/pagination-mobile-modal/pagination-mobile-modal.d.ts +36 -0
- package/src/tedi/components/navigation/pagination/pagination-mobile-modal/pagination-mobile-modal.es.js +64 -0
- package/src/tedi/components/navigation/pagination/pagination-mobile-modal/pagination-mobile-modal.module.scss.cjs.js +1 -0
- package/src/tedi/components/navigation/pagination/pagination-mobile-modal/pagination-mobile-modal.module.scss.es.js +13 -0
- package/src/tedi/components/navigation/pagination/pagination.cjs.js +1 -1
- package/src/tedi/components/navigation/pagination/pagination.d.ts +112 -17
- package/src/tedi/components/navigation/pagination/pagination.es.js +225 -119
- package/src/tedi/components/navigation/pagination/pagination.module.scss.cjs.js +1 -1
- package/src/tedi/components/navigation/pagination/pagination.module.scss.es.js +13 -2
- package/src/tedi/components/navigation/table-of-contents/components/table-of-contents-collapsible/table-of-contents-collapsible.cjs.js +1 -0
- package/src/tedi/components/navigation/table-of-contents/components/table-of-contents-collapsible/table-of-contents-collapsible.d.ts +17 -0
- package/src/tedi/components/navigation/table-of-contents/components/table-of-contents-collapsible/table-of-contents-collapsible.es.js +80 -0
- package/src/tedi/components/navigation/table-of-contents/components/table-of-contents-item/table-of-contents-item.cjs.js +1 -0
- package/src/tedi/components/navigation/table-of-contents/components/table-of-contents-item/table-of-contents-item.d.ts +33 -0
- package/src/tedi/components/navigation/table-of-contents/components/table-of-contents-item/table-of-contents-item.es.js +5 -0
- package/src/tedi/components/navigation/table-of-contents/components/table-of-contents-list/table-of-contents-list.cjs.js +1 -0
- package/src/tedi/components/navigation/table-of-contents/components/table-of-contents-list/table-of-contents-list.d.ts +9 -0
- package/src/tedi/components/navigation/table-of-contents/components/table-of-contents-list/table-of-contents-list.es.js +34 -0
- package/src/tedi/components/navigation/table-of-contents/components/table-of-contents-row/table-of-contents-row.cjs.js +1 -0
- package/src/tedi/components/navigation/table-of-contents/components/table-of-contents-row/table-of-contents-row.d.ts +13 -0
- package/src/tedi/components/navigation/table-of-contents/components/table-of-contents-row/table-of-contents-row.es.js +59 -0
- package/src/tedi/components/navigation/table-of-contents/index.d.ts +3 -0
- package/src/tedi/components/navigation/table-of-contents/table-of-contents.cjs.js +1 -0
- package/src/tedi/components/navigation/table-of-contents/table-of-contents.d.ts +88 -0
- package/src/tedi/components/navigation/table-of-contents/table-of-contents.es.js +71 -0
- package/src/tedi/components/navigation/table-of-contents/table-of-contents.module.scss.cjs.js +1 -0
- package/src/tedi/components/navigation/table-of-contents/table-of-contents.module.scss.es.js +24 -0
- package/src/tedi/components/navigation/tabs/tabs-content/tabs-content.cjs.js +1 -1
- package/src/tedi/components/navigation/tabs/tabs-content/tabs-content.es.js +7 -8
- package/src/tedi/components/navigation/tabs/tabs-list/tabs-list.cjs.js +1 -1
- package/src/tedi/components/navigation/tabs/tabs-list/tabs-list.d.ts +4 -0
- package/src/tedi/components/navigation/tabs/tabs-list/tabs-list.es.js +68 -67
- package/src/tedi/components/navigation/tabs/tabs-trigger/tabs-trigger.cjs.js +1 -1
- package/src/tedi/components/navigation/tabs/tabs-trigger/tabs-trigger.es.js +11 -12
- package/src/tedi/components/navigation/tabs/tabs.cjs.js +1 -1
- package/src/tedi/components/navigation/tabs/tabs.d.ts +3 -3
- package/src/tedi/components/navigation/tabs/tabs.es.js +8 -9
- package/src/tedi/components/notifications/alert/alert.cjs.js +1 -1
- package/src/tedi/components/notifications/alert/alert.es.js +4 -4
- package/src/tedi/components/overlays/dropdown/dropdown-item/dropdown-item.cjs.js +1 -1
- package/src/tedi/components/overlays/dropdown/dropdown-item/dropdown-item.d.ts +9 -2
- package/src/tedi/components/overlays/dropdown/dropdown-item/dropdown-item.es.js +42 -39
- package/src/tedi/components/overlays/dropdown/dropdown.cjs.js +1 -1
- package/src/tedi/components/overlays/dropdown/dropdown.d.ts +2 -2
- package/src/tedi/components/overlays/dropdown/dropdown.es.js +8 -8
- package/src/tedi/components/overlays/modal/modal-body/modal-body.cjs.js +1 -1
- package/src/tedi/components/overlays/modal/modal-body/modal-body.es.js +1 -2
- package/src/tedi/components/overlays/modal/modal-closer/modal-closer.cjs.js +1 -1
- package/src/tedi/components/overlays/modal/modal-closer/modal-closer.es.js +9 -10
- package/src/tedi/components/overlays/modal/modal-content/modal-content.cjs.js +1 -1
- package/src/tedi/components/overlays/modal/modal-content/modal-content.d.ts +1 -1
- package/src/tedi/components/overlays/modal/modal-content/modal-content.es.js +5 -6
- package/src/tedi/components/overlays/modal/modal-footer/modal-footer.cjs.js +1 -1
- package/src/tedi/components/overlays/modal/modal-footer/modal-footer.es.js +8 -9
- package/src/tedi/components/overlays/modal/modal-header/modal-header.cjs.js +1 -1
- package/src/tedi/components/overlays/modal/modal-header/modal-header.es.js +11 -12
- package/src/tedi/components/overlays/modal/modal-trigger/modal-trigger.cjs.js +1 -1
- package/src/tedi/components/overlays/modal/modal-trigger/modal-trigger.es.js +5 -6
- package/src/tedi/components/overlays/modal/modal.cjs.js +1 -1
- package/src/tedi/components/overlays/modal/modal.d.ts +6 -6
- package/src/tedi/components/overlays/modal/modal.es.js +12 -13
- package/src/tedi/components/overlays/modal/modal.module.scss.cjs.js +1 -1
- package/src/tedi/components/overlays/modal/modal.module.scss.es.js +1 -0
- package/src/tedi/components/overlays/overlay/overlay.cjs.js +1 -1
- package/src/tedi/components/overlays/overlay/overlay.es.js +18 -18
- package/src/tedi/components/tags/status-indicator/status-indicator.cjs.js +1 -1
- package/src/tedi/components/tags/status-indicator/status-indicator.es.js +1 -2
- package/src/tedi/components/tags/tag/tag.cjs.js +1 -1
- package/src/tedi/components/tags/tag/tag.d.ts +10 -0
- package/src/tedi/components/tags/tag/tag.es.js +24 -21
- package/src/tedi/components/tags/tag/tag.module.scss.cjs.js +1 -1
- package/src/tedi/components/tags/tag/tag.module.scss.es.js +1 -0
- package/src/tedi/helpers/hooks/use-breakpoint-props.cjs.js +1 -1
- package/src/tedi/helpers/hooks/use-breakpoint-props.es.js +8 -8
- package/src/tedi/helpers/hooks/use-file-upload.d.ts +43 -0
- package/src/tedi/helpers/hooks/use-is-mounted.cjs.js +1 -1
- package/src/tedi/helpers/hooks/use-is-mounted.es.js +0 -1
- package/src/tedi/index.d.ts +13 -3
- package/src/tedi/providers/accessibility-provider/accessibility-provider.es.js +1 -1
- package/src/tedi/providers/label-provider/label-provider.cjs.js +1 -1
- package/src/tedi/providers/label-provider/label-provider.es.js +1 -2
- package/src/tedi/providers/label-provider/labels-map.cjs.js +1 -1
- package/src/tedi/providers/label-provider/labels-map.d.ts +119 -0
- package/src/tedi/providers/label-provider/labels-map.es.js +123 -4
- package/src/tedi/providers/printing-provider/printing-provider.es.js +3 -3
- package/src/tedi/providers/theme-provider/theme-provider.es.js +5 -5
- package/tedi.cjs.js +1 -1
- package/tedi.es.js +328 -262
- package/_virtual/RawDraftContentState.cjs.js +0 -1
- package/_virtual/RawDraftContentState.es.js +0 -4
- package/external/draft-js/lib/getRangeBoundingClientRect.cjs.js +0 -1
- package/external/draft-js/lib/getRangeBoundingClientRect.es.js +0 -30
- package/external/draft-js/lib/getVisibleSelectionRect.cjs.js +0 -1
- package/external/draft-js/lib/getVisibleSelectionRect.es.js +0 -13
- package/src/tedi/components/buttons/collapse/collapse.cjs.js +0 -1
- package/src/tedi/components/buttons/collapse/collapse.es.js +0 -113
- package/src/tedi/components/buttons/collapse/collapse.module.scss.cjs.js +0 -1
- package/src/tedi/components/buttons/collapse/collapse.module.scss.es.js +0 -19
- package/src/tedi/components/cards/card/card.cjs.js +0 -1
- package/src/tedi/components/cards/card/card.module.scss.cjs.js +0 -1
- package/src/tedi/components/misc/empty-state/empty-state.cjs.js +0 -1
- package/src/tedi/components/misc/empty-state/empty-state.module.scss.cjs.js +0 -1
- package/src/tedi/components/misc/empty-state/empty-state.module.scss.es.js +0 -15
- package/src/tedi/components/navigation/pagination/pagination.types.d.ts +0 -100
- /package/external/{formik/external/deepmerge → deepmerge}/dist/es.cjs.js +0 -0
- /package/external/{formik/external/deepmerge → deepmerge}/dist/es.es.js +0 -0
- /package/src/tedi/components/{cards → content}/card/card-content/card-content.cjs.js +0 -0
- /package/src/tedi/components/{cards → content}/card/card-content/card-content.es.js +0 -0
- /package/src/tedi/components/{cards → content}/card/card-context.cjs.js +0 -0
- /package/src/tedi/components/{cards → content}/card/card-context.d.ts +0 -0
- /package/src/tedi/components/{cards → content}/card/card-context.es.js +0 -0
- /package/src/tedi/components/{cards → content}/card/card-header/card-header.cjs.js +0 -0
- /package/src/tedi/components/{cards → content}/card/card-header/card-header.d.ts +0 -0
- /package/src/tedi/components/{cards → content}/card/card-header/card-header.es.js +0 -0
- /package/src/tedi/components/{cards → content}/card/card-notification/card-notification.cjs.js +0 -0
- /package/src/tedi/components/{cards → content}/card/card-notification/card-notification.d.ts +0 -0
- /package/src/tedi/components/{cards → content}/card/card-notification/card-notification.es.js +0 -0
- /package/src/tedi/components/{cards → content}/card/index.d.ts +0 -0
- /package/src/tedi/components/{cards → content}/card/utility.cjs.js +0 -0
- /package/src/tedi/components/{cards → content}/card/utility.d.ts +0 -0
- /package/src/tedi/components/{cards → content}/card/utility.es.js +0 -0
- /package/src/tedi/components/{misc → content}/empty-state/empty-state.d.ts +0 -0
- /package/src/tedi/components/{misc → content}/empty-state/index.d.ts +0 -0
|
@@ -1,252 +1,245 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
3
|
-
import { clsx as
|
|
4
|
-
function
|
|
5
|
-
|
|
6
|
-
let
|
|
7
|
-
a.type = "text/css", e.firstChild ? e.insertBefore(a, e.firstChild) : e.appendChild(a), a.styleSheet ? a.styleSheet.cssText = t : a.appendChild(document.createTextNode(t));
|
|
8
|
-
}
|
|
9
|
-
ut(`:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
|
|
10
|
-
`);
|
|
11
|
-
var M = (t) => typeof t == "number" && !isNaN(t), D = (t) => typeof t == "string", z = (t) => typeof t == "function", pt = (t) => D(t) || M(t), W = (t) => D(t) || z(t) ? t : null, mt = (t, e) => t === !1 || M(t) && t > 0 ? t : e, j = (t) => U(t) || D(t) || z(t) || M(t);
|
|
12
|
-
function _t(t, e, a = 300) {
|
|
13
|
-
let { scrollHeight: r, style: n } = t;
|
|
2
|
+
import b, { useState as Q, useRef as N, useEffect as U, useLayoutEffect as at, useSyncExternalStore as mt, isValidElement as H, cloneElement as J } from "react";
|
|
3
|
+
import { clsx as D } from "../../clsx/dist/clsx.es.js";
|
|
4
|
+
var M = (t) => typeof t == "number" && !isNaN(t), A = (t) => typeof t == "string", $ = (t) => typeof t == "function", pt = (t) => A(t) || M(t), W = (t) => A(t) || $(t) ? t : null, _t = (t, e) => t === !1 || M(t) && t > 0 ? t : e, j = (t) => H(t) || A(t) || $(t) || M(t);
|
|
5
|
+
function gt(t, e, o = 300) {
|
|
6
|
+
let { scrollHeight: s, style: n } = t;
|
|
14
7
|
requestAnimationFrame(() => {
|
|
15
|
-
n.minHeight = "initial", n.height =
|
|
16
|
-
n.height = "0", n.padding = "0", n.margin = "0", setTimeout(e,
|
|
8
|
+
n.minHeight = "initial", n.height = s + "px", n.transition = `all ${o}ms`, requestAnimationFrame(() => {
|
|
9
|
+
n.height = "0", n.padding = "0", n.margin = "0", setTimeout(e, o);
|
|
17
10
|
});
|
|
18
11
|
});
|
|
19
12
|
}
|
|
20
|
-
function
|
|
21
|
-
return function({ children: l, position:
|
|
22
|
-
let
|
|
13
|
+
function rt({ enter: t, exit: e, appendPosition: o = !1, collapse: s = !0, collapseDuration: n = 300 }) {
|
|
14
|
+
return function({ children: l, position: a, preventExitTransition: d, done: f, nodeRef: u, isIn: _, playToast: x }) {
|
|
15
|
+
let w = o ? `${t}--${a}` : t, k = o ? `${e}--${a}` : e, I = N(0);
|
|
23
16
|
return at(() => {
|
|
24
|
-
let
|
|
25
|
-
|
|
17
|
+
let T = u.current, p = w.split(" "), m = (r) => {
|
|
18
|
+
r.target === u.current && (x(), T.removeEventListener("animationend", m), T.removeEventListener("animationcancel", m), I.current === 0 && r.type !== "animationcancel" && T.classList.remove(...p));
|
|
26
19
|
};
|
|
27
|
-
|
|
28
|
-
}, []),
|
|
29
|
-
let
|
|
30
|
-
|
|
20
|
+
T.classList.add(...p), T.addEventListener("animationend", m), T.addEventListener("animationcancel", m);
|
|
21
|
+
}, []), U(() => {
|
|
22
|
+
let T = u.current, p = () => {
|
|
23
|
+
T.removeEventListener("animationend", p), s ? gt(T, f, n) : f();
|
|
31
24
|
};
|
|
32
|
-
_ || (d ?
|
|
33
|
-
}, [_]),
|
|
25
|
+
_ || (d ? p() : (I.current = 1, T.className += ` ${k}`, T.addEventListener("animationend", p)));
|
|
26
|
+
}, [_]), b.createElement(b.Fragment, null, l);
|
|
34
27
|
};
|
|
35
28
|
}
|
|
36
29
|
function et(t, e) {
|
|
37
30
|
return { content: st(t.content, t.props), containerId: t.props.containerId, id: t.props.toastId, theme: t.props.theme, type: t.props.type, data: t.props.data || {}, isLoading: t.props.isLoading, icon: t.props.icon, reason: t.removalReason, status: e };
|
|
38
31
|
}
|
|
39
|
-
function st(t, e,
|
|
40
|
-
return
|
|
32
|
+
function st(t, e, o = !1) {
|
|
33
|
+
return H(t) && !A(t.type) ? J(t, { closeToast: e.closeToast, toastProps: e, data: e.data, isPaused: o }) : $(t) ? t({ closeToast: e.closeToast, toastProps: e, data: e.data, isPaused: o }) : t;
|
|
41
34
|
}
|
|
42
|
-
function
|
|
43
|
-
return
|
|
44
|
-
|
|
45
|
-
}, "aria-label":
|
|
35
|
+
function vt({ closeToast: t, theme: e, ariaLabel: o = "close" }) {
|
|
36
|
+
return b.createElement("button", { className: `Toastify__close-button Toastify__close-button--${e}`, type: "button", onClick: (s) => {
|
|
37
|
+
s.stopPropagation(), t(!0);
|
|
38
|
+
}, "aria-label": o }, b.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, b.createElement("path", { fillRule: "evenodd", d: "M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z" })));
|
|
46
39
|
}
|
|
47
|
-
function
|
|
48
|
-
let x = n ||
|
|
49
|
-
|
|
50
|
-
let k =
|
|
51
|
-
u &&
|
|
40
|
+
function bt({ delay: t, isRunning: e, closeToast: o, type: s = "default", hide: n, className: l, controlledProgress: a, progress: d, rtl: f, isIn: u, theme: _ }) {
|
|
41
|
+
let x = n || a && d === 0, w = { animationDuration: `${t}ms`, animationPlayState: e ? "running" : "paused" };
|
|
42
|
+
a && (w.transform = `scaleX(${d})`);
|
|
43
|
+
let k = D("Toastify__progress-bar", a ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${_}`, `Toastify__progress-bar--${s}`, { "Toastify__progress-bar--rtl": f }), I = $(l) ? l({ rtl: f, type: s, defaultClassName: k }) : D(k, l), T = { [a && d >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: a && d < 1 ? null : () => {
|
|
44
|
+
u && o();
|
|
52
45
|
} };
|
|
53
|
-
return
|
|
54
|
-
}
|
|
55
|
-
var
|
|
56
|
-
function
|
|
57
|
-
let
|
|
58
|
-
|
|
59
|
-
},
|
|
60
|
-
let h =
|
|
46
|
+
return b.createElement("div", { className: "Toastify__progress-bar--wrp", "data-hidden": x }, b.createElement("div", { className: `Toastify__progress-bar--bg Toastify__progress-bar-theme--${_} Toastify__progress-bar--${s}` }), b.createElement("div", { role: "progressbar", "aria-hidden": x ? "true" : "false", "aria-label": "notification timer", "aria-valuenow": a ? Math.round(d * 100) : void 0, "aria-valuemin": 0, "aria-valuemax": 100, className: I, style: w, ...T }));
|
|
47
|
+
}
|
|
48
|
+
var Tt = 1, nt = () => `${Tt++}`;
|
|
49
|
+
function ht(t, e, o) {
|
|
50
|
+
let s = 1, n = 0, l = [], a = [], d = e, f = /* @__PURE__ */ new Map(), u = /* @__PURE__ */ new Set(), _ = (r) => (u.add(r), () => u.delete(r)), x = () => {
|
|
51
|
+
a = Array.from(f.values()), u.forEach((r) => r());
|
|
52
|
+
}, w = ({ containerId: r, toastId: i, updateId: c }) => {
|
|
53
|
+
let h = r ? r !== t : t !== 1, C = f.has(i) && c == null;
|
|
61
54
|
return h || C;
|
|
62
|
-
}, k = (
|
|
55
|
+
}, k = (r, i) => {
|
|
63
56
|
f.forEach((c) => {
|
|
64
57
|
var h;
|
|
65
|
-
(i == null || i === c.props.toastId) && ((h = c.toggle) == null || h.call(c,
|
|
58
|
+
(i == null || i === c.props.toastId) && ((h = c.toggle) == null || h.call(c, r));
|
|
66
59
|
});
|
|
67
|
-
}, I = (
|
|
60
|
+
}, I = (r) => {
|
|
68
61
|
var i, c;
|
|
69
|
-
(c = (i =
|
|
70
|
-
},
|
|
71
|
-
if (
|
|
62
|
+
r.isActive && ((c = (i = r.props) == null ? void 0 : i.onClose) == null || c.call(i, r.removalReason), r.isActive = !1, o(et(r, "removed")));
|
|
63
|
+
}, T = (r) => {
|
|
64
|
+
if (r == null) f.forEach(I);
|
|
72
65
|
else {
|
|
73
|
-
let i = f.get(
|
|
66
|
+
let i = f.get(r);
|
|
74
67
|
i && I(i);
|
|
75
68
|
}
|
|
76
69
|
x();
|
|
77
|
-
},
|
|
70
|
+
}, p = () => {
|
|
78
71
|
n -= l.length, l = [];
|
|
79
|
-
},
|
|
72
|
+
}, m = (r) => {
|
|
80
73
|
var i, c;
|
|
81
|
-
let { toastId: h, updateId: C } =
|
|
82
|
-
|
|
74
|
+
let { toastId: h, updateId: C } = r.props, y = C == null;
|
|
75
|
+
r.staleId && f.delete(r.staleId), r.isActive = !0, f.set(h, r), x(), o(et(r, y ? "added" : "updated")), y && ((c = (i = r.props).onOpen) == null || c.call(i));
|
|
83
76
|
};
|
|
84
|
-
return { id: t, props: d, observe: _, toggle: k, removeToast:
|
|
85
|
-
if (
|
|
77
|
+
return { id: t, props: d, observe: _, toggle: k, removeToast: T, toasts: f, clearQueue: p, buildToast: (r, i) => {
|
|
78
|
+
if (w(i)) return;
|
|
86
79
|
let { toastId: c, updateId: h, data: C, staleId: y, delay: v } = i, L = h == null;
|
|
87
80
|
L && n++;
|
|
88
|
-
let
|
|
89
|
-
f.get(c)
|
|
81
|
+
let O = { ...d, style: d.toastStyle, key: s++, ...Object.fromEntries(Object.entries(i).filter(([S, P]) => P != null)), toastId: c, updateId: h, data: C, isIn: !1, className: W(i.className || d.toastClassName), progressClassName: W(i.progressClassName || d.progressClassName), autoClose: i.isLoading ? !1 : _t(i.autoClose, d.autoClose), closeToast(S) {
|
|
82
|
+
let P = f.get(c);
|
|
83
|
+
P && (P.removalReason = S, T(c));
|
|
90
84
|
}, deleteToast() {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
p(l.shift());
|
|
85
|
+
if (f.get(c) != null) {
|
|
86
|
+
if (f.delete(c), n--, n < 0 && (n = 0), l.length > 0) {
|
|
87
|
+
m(l.shift());
|
|
95
88
|
return;
|
|
96
89
|
}
|
|
97
90
|
x();
|
|
98
91
|
}
|
|
99
92
|
} };
|
|
100
|
-
|
|
101
|
-
let
|
|
102
|
-
d.limit && d.limit > 0 && n > d.limit && L ? l.push(
|
|
103
|
-
|
|
104
|
-
}, v) :
|
|
105
|
-
}, setProps(
|
|
106
|
-
d =
|
|
107
|
-
}, setToggle: (
|
|
108
|
-
let c = f.get(
|
|
93
|
+
O.closeButton = d.closeButton, i.closeButton === !1 || j(i.closeButton) ? O.closeButton = i.closeButton : i.closeButton === !0 && (O.closeButton = j(d.closeButton) ? d.closeButton : !0);
|
|
94
|
+
let z = { content: r, props: O, staleId: y };
|
|
95
|
+
d.limit && d.limit > 0 && n > d.limit && L ? l.push(z) : M(v) ? setTimeout(() => {
|
|
96
|
+
m(z);
|
|
97
|
+
}, v) : m(z);
|
|
98
|
+
}, setProps(r) {
|
|
99
|
+
d = r;
|
|
100
|
+
}, setToggle: (r, i) => {
|
|
101
|
+
let c = f.get(r);
|
|
109
102
|
c && (c.toggle = i);
|
|
110
|
-
}, isToastActive: (
|
|
103
|
+
}, isToastActive: (r) => {
|
|
111
104
|
var i;
|
|
112
|
-
return (i = f.get(
|
|
113
|
-
}, getSnapshot: () =>
|
|
105
|
+
return (i = f.get(r)) == null ? void 0 : i.isActive;
|
|
106
|
+
}, getSnapshot: () => a };
|
|
114
107
|
}
|
|
115
|
-
var
|
|
116
|
-
function
|
|
117
|
-
R.forEach((t) =>
|
|
108
|
+
var E = /* @__PURE__ */ new Map(), R = [], G = /* @__PURE__ */ new Set(), xt = (t) => G.forEach((e) => e(t)), it = () => E.size > 0;
|
|
109
|
+
function kt() {
|
|
110
|
+
R.forEach((t) => ft(t.content, t.options)), R = [];
|
|
118
111
|
}
|
|
119
|
-
var
|
|
120
|
-
var
|
|
121
|
-
return (
|
|
112
|
+
var wt = (t, { containerId: e }) => {
|
|
113
|
+
var o;
|
|
114
|
+
return (o = E.get(e || 1)) == null ? void 0 : o.toasts.get(t);
|
|
122
115
|
};
|
|
123
|
-
function
|
|
124
|
-
var
|
|
125
|
-
if (e) return !!((
|
|
126
|
-
let
|
|
127
|
-
return
|
|
128
|
-
n.isToastActive(t) && (
|
|
129
|
-
}),
|
|
116
|
+
function lt(t, e) {
|
|
117
|
+
var o;
|
|
118
|
+
if (e) return !!((o = E.get(e)) != null && o.isToastActive(t));
|
|
119
|
+
let s = !1;
|
|
120
|
+
return E.forEach((n) => {
|
|
121
|
+
n.isToastActive(t) && (s = !0);
|
|
122
|
+
}), s;
|
|
130
123
|
}
|
|
131
124
|
function Et(t) {
|
|
132
125
|
if (!it()) {
|
|
133
126
|
R = R.filter((e) => t != null && e.options.toastId !== t);
|
|
134
127
|
return;
|
|
135
128
|
}
|
|
136
|
-
if (t == null || pt(t))
|
|
129
|
+
if (t == null || pt(t)) E.forEach((e) => {
|
|
137
130
|
e.removeToast(t);
|
|
138
131
|
});
|
|
139
132
|
else if (t && ("containerId" in t || "id" in t)) {
|
|
140
|
-
let e =
|
|
141
|
-
e ? e.removeToast(t.id) :
|
|
142
|
-
|
|
133
|
+
let e = E.get(t.containerId);
|
|
134
|
+
e ? e.removeToast(t.id) : E.forEach((o) => {
|
|
135
|
+
o.removeToast(t.id);
|
|
143
136
|
});
|
|
144
137
|
}
|
|
145
138
|
}
|
|
146
|
-
var
|
|
147
|
-
|
|
139
|
+
var It = (t = {}) => {
|
|
140
|
+
E.forEach((e) => {
|
|
148
141
|
e.props.limit && (!t.containerId || e.id === t.containerId) && e.clearQueue();
|
|
149
142
|
});
|
|
150
143
|
};
|
|
151
|
-
function
|
|
152
|
-
j(t) && (it() || R.push({ content: t, options: e }),
|
|
153
|
-
|
|
144
|
+
function ft(t, e) {
|
|
145
|
+
j(t) && (it() || R.push({ content: t, options: e }), E.forEach((o) => {
|
|
146
|
+
o.buildToast(t, e);
|
|
154
147
|
}));
|
|
155
148
|
}
|
|
156
|
-
function
|
|
149
|
+
function Ct(t) {
|
|
157
150
|
var e;
|
|
158
|
-
(e =
|
|
151
|
+
(e = E.get(t.containerId || 1)) == null || e.setToggle(t.id, t.fn);
|
|
159
152
|
}
|
|
160
|
-
function
|
|
161
|
-
|
|
162
|
-
(e == null || !(e != null && e.containerId) || (e == null ? void 0 : e.containerId) ===
|
|
153
|
+
function ct(t, e) {
|
|
154
|
+
E.forEach((o) => {
|
|
155
|
+
(e == null || !(e != null && e.containerId) || (e == null ? void 0 : e.containerId) === o.id) && o.toggle(t, e == null ? void 0 : e.id);
|
|
163
156
|
});
|
|
164
157
|
}
|
|
165
|
-
function
|
|
158
|
+
function Lt(t) {
|
|
166
159
|
let e = t.containerId || 1;
|
|
167
|
-
return { subscribe(
|
|
168
|
-
let
|
|
169
|
-
|
|
170
|
-
let n =
|
|
171
|
-
return
|
|
172
|
-
n(),
|
|
160
|
+
return { subscribe(o) {
|
|
161
|
+
let s = ht(e, t, xt);
|
|
162
|
+
E.set(e, s);
|
|
163
|
+
let n = s.observe(o);
|
|
164
|
+
return kt(), () => {
|
|
165
|
+
n(), E.delete(e);
|
|
173
166
|
};
|
|
174
|
-
}, setProps(
|
|
175
|
-
var
|
|
176
|
-
(
|
|
167
|
+
}, setProps(o) {
|
|
168
|
+
var s;
|
|
169
|
+
(s = E.get(e)) == null || s.setProps(o);
|
|
177
170
|
}, getSnapshot() {
|
|
178
|
-
var
|
|
179
|
-
return (
|
|
171
|
+
var o;
|
|
172
|
+
return (o = E.get(e)) == null ? void 0 : o.getSnapshot();
|
|
180
173
|
} };
|
|
181
174
|
}
|
|
182
|
-
function
|
|
183
|
-
return
|
|
184
|
-
|
|
175
|
+
function Ot(t) {
|
|
176
|
+
return G.add(t), () => {
|
|
177
|
+
G.delete(t);
|
|
185
178
|
};
|
|
186
179
|
}
|
|
187
|
-
function
|
|
188
|
-
return t && (
|
|
180
|
+
function zt(t) {
|
|
181
|
+
return t && (A(t.toastId) || M(t.toastId)) ? t.toastId : nt();
|
|
189
182
|
}
|
|
190
183
|
function B(t, e) {
|
|
191
|
-
return
|
|
184
|
+
return ft(t, e), e.toastId;
|
|
192
185
|
}
|
|
193
186
|
function F(t, e) {
|
|
194
|
-
return { ...e, type: e && e.type || t, toastId:
|
|
187
|
+
return { ...e, type: e && e.type || t, toastId: zt(e) };
|
|
195
188
|
}
|
|
196
|
-
function
|
|
197
|
-
return (e,
|
|
189
|
+
function q(t) {
|
|
190
|
+
return (e, o) => B(e, F(t, o));
|
|
198
191
|
}
|
|
199
192
|
function g(t, e) {
|
|
200
193
|
return B(t, F("default", e));
|
|
201
194
|
}
|
|
202
195
|
g.loading = (t, e) => B(t, F("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...e }));
|
|
203
|
-
function
|
|
196
|
+
function $t(t, { pending: e, error: o, success: s }, n) {
|
|
204
197
|
let l;
|
|
205
|
-
e && (l =
|
|
206
|
-
let
|
|
198
|
+
e && (l = A(e) ? g.loading(e, n) : g.loading(e.render, { ...n, ...e }));
|
|
199
|
+
let a = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, d = (u, _, x) => {
|
|
207
200
|
if (_ == null) {
|
|
208
201
|
g.dismiss(l);
|
|
209
202
|
return;
|
|
210
203
|
}
|
|
211
|
-
let
|
|
212
|
-
return l ? g.update(l, { ...
|
|
213
|
-
}, f =
|
|
214
|
-
return f.then((u) => d("success",
|
|
215
|
-
}
|
|
216
|
-
g.promise =
|
|
217
|
-
g.success =
|
|
218
|
-
g.info =
|
|
219
|
-
g.error =
|
|
220
|
-
g.warning =
|
|
204
|
+
let w = { type: u, ...a, ...n, data: x }, k = A(_) ? { render: _ } : _;
|
|
205
|
+
return l ? g.update(l, { ...w, ...k }) : g(k.render, { ...w, ...k }), x;
|
|
206
|
+
}, f = $(t) ? t() : t;
|
|
207
|
+
return f.then((u) => d("success", s, u)).catch((u) => d("error", o, u)), f;
|
|
208
|
+
}
|
|
209
|
+
g.promise = $t;
|
|
210
|
+
g.success = q("success");
|
|
211
|
+
g.info = q("info");
|
|
212
|
+
g.error = q("error");
|
|
213
|
+
g.warning = q("warning");
|
|
221
214
|
g.warn = g.warning;
|
|
222
215
|
g.dark = (t, e) => B(t, F("default", { theme: "dark", ...e }));
|
|
223
216
|
function Pt(t) {
|
|
224
217
|
Et(t);
|
|
225
218
|
}
|
|
226
219
|
g.dismiss = Pt;
|
|
227
|
-
g.clearWaitingQueue =
|
|
228
|
-
g.isActive =
|
|
220
|
+
g.clearWaitingQueue = It;
|
|
221
|
+
g.isActive = lt;
|
|
229
222
|
g.update = (t, e = {}) => {
|
|
230
|
-
let
|
|
231
|
-
if (
|
|
232
|
-
let { props:
|
|
223
|
+
let o = wt(t, e);
|
|
224
|
+
if (o) {
|
|
225
|
+
let { props: s, content: n } = o, l = { delay: 100, ...s, ...e, toastId: e.toastId || t, updateId: nt() };
|
|
233
226
|
l.toastId !== t && (l.staleId = t);
|
|
234
|
-
let
|
|
235
|
-
delete l.render, B(
|
|
227
|
+
let a = l.render || n;
|
|
228
|
+
delete l.render, B(a, l);
|
|
236
229
|
}
|
|
237
230
|
};
|
|
238
231
|
g.done = (t) => {
|
|
239
232
|
g.update(t, { progress: 1 });
|
|
240
233
|
};
|
|
241
|
-
g.onChange =
|
|
242
|
-
g.play = (t) =>
|
|
243
|
-
g.pause = (t) =>
|
|
244
|
-
function
|
|
234
|
+
g.onChange = Ot;
|
|
235
|
+
g.play = (t) => ct(!0, t);
|
|
236
|
+
g.pause = (t) => ct(!1, t);
|
|
237
|
+
function Dt(t) {
|
|
245
238
|
var e;
|
|
246
|
-
let { subscribe:
|
|
239
|
+
let { subscribe: o, getSnapshot: s, setProps: n } = N(Lt(t)).current;
|
|
247
240
|
n(t);
|
|
248
|
-
let l = (e =
|
|
249
|
-
function
|
|
241
|
+
let l = (e = mt(o, s, s)) == null ? void 0 : e.slice();
|
|
242
|
+
function a(d) {
|
|
250
243
|
if (!l) return [];
|
|
251
244
|
let f = /* @__PURE__ */ new Map();
|
|
252
245
|
return t.newestOnTop && l.reverse(), l.forEach((u) => {
|
|
@@ -254,135 +247,956 @@ function $t(t) {
|
|
|
254
247
|
f.has(_) || f.set(_, []), f.get(_).push(u);
|
|
255
248
|
}), Array.from(f, (u) => d(u[0], u[1]));
|
|
256
249
|
}
|
|
257
|
-
return { getToastToRender:
|
|
250
|
+
return { getToastToRender: a, isToastActive: lt, count: l == null ? void 0 : l.length };
|
|
258
251
|
}
|
|
259
|
-
function
|
|
260
|
-
let [e,
|
|
261
|
-
|
|
262
|
-
if (t.pauseOnFocusLoss) return
|
|
252
|
+
function At(t) {
|
|
253
|
+
let [e, o] = Q(!1), [s, n] = Q(!1), l = N(null), a = N({ start: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, didMove: !1 }).current, { autoClose: d, pauseOnHover: f, closeToast: u, onClick: _, closeOnClick: x } = t;
|
|
254
|
+
Ct({ id: t.toastId, containerId: t.containerId, fn: o }), U(() => {
|
|
255
|
+
if (t.pauseOnFocusLoss) return w(), () => {
|
|
263
256
|
k();
|
|
264
257
|
};
|
|
265
258
|
}, [t.pauseOnFocusLoss]);
|
|
266
|
-
function
|
|
267
|
-
document.hasFocus() ||
|
|
259
|
+
function w() {
|
|
260
|
+
document.hasFocus() || m(), window.addEventListener("focus", p), window.addEventListener("blur", m);
|
|
268
261
|
}
|
|
269
262
|
function k() {
|
|
270
|
-
window.removeEventListener("focus",
|
|
263
|
+
window.removeEventListener("focus", p), window.removeEventListener("blur", m);
|
|
271
264
|
}
|
|
272
265
|
function I(y) {
|
|
273
266
|
if (t.draggable === !0 || t.draggable === y.pointerType) {
|
|
274
|
-
|
|
267
|
+
r();
|
|
275
268
|
let v = l.current;
|
|
276
|
-
|
|
269
|
+
a.canCloseOnClick = !0, a.canDrag = !0, v.style.transition = "none", t.draggableDirection === "x" ? (a.start = y.clientX, a.removalDistance = v.offsetWidth * (t.draggablePercent / 100)) : (a.start = y.clientY, a.removalDistance = v.offsetHeight * (t.draggablePercent === 80 ? t.draggablePercent * 1.5 : t.draggablePercent) / 100);
|
|
277
270
|
}
|
|
278
271
|
}
|
|
279
|
-
function
|
|
280
|
-
let { top: v, bottom: L, left:
|
|
281
|
-
y.
|
|
282
|
-
}
|
|
283
|
-
function m() {
|
|
284
|
-
a(!0);
|
|
272
|
+
function T(y) {
|
|
273
|
+
let { top: v, bottom: L, left: O, right: z } = l.current.getBoundingClientRect();
|
|
274
|
+
y.pointerType === "mouse" && t.pauseOnHover && y.clientX >= O && y.clientX <= z && y.clientY >= v && y.clientY <= L ? m() : p();
|
|
285
275
|
}
|
|
286
276
|
function p() {
|
|
287
|
-
|
|
277
|
+
o(!0);
|
|
288
278
|
}
|
|
289
|
-
function
|
|
290
|
-
o
|
|
279
|
+
function m() {
|
|
280
|
+
o(!1);
|
|
281
|
+
}
|
|
282
|
+
function r() {
|
|
283
|
+
a.didMove = !1, document.addEventListener("pointermove", c), document.addEventListener("pointerup", h);
|
|
291
284
|
}
|
|
292
285
|
function i() {
|
|
293
286
|
document.removeEventListener("pointermove", c), document.removeEventListener("pointerup", h);
|
|
294
287
|
}
|
|
295
288
|
function c(y) {
|
|
296
289
|
let v = l.current;
|
|
297
|
-
if (
|
|
298
|
-
|
|
299
|
-
let L = t.draggableDirection === "x" ? `${
|
|
300
|
-
v.style.transform = `translate3d(${L},0)`, v.style.opacity = `${1 - Math.abs(
|
|
290
|
+
if (a.canDrag && v) {
|
|
291
|
+
a.didMove = !0, e && m(), t.draggableDirection === "x" ? a.delta = y.clientX - a.start : a.delta = y.clientY - a.start, a.start !== y.clientX && (a.canCloseOnClick = !1);
|
|
292
|
+
let L = t.draggableDirection === "x" ? `${a.delta}px, var(--y)` : `0, calc(${a.delta}px + var(--y))`;
|
|
293
|
+
v.style.transform = `translate3d(${L},0)`, v.style.opacity = `${1 - Math.abs(a.delta / a.removalDistance)}`;
|
|
301
294
|
}
|
|
302
295
|
}
|
|
303
296
|
function h() {
|
|
304
297
|
i();
|
|
305
298
|
let y = l.current;
|
|
306
|
-
if (
|
|
307
|
-
if (
|
|
299
|
+
if (a.canDrag && a.didMove && y) {
|
|
300
|
+
if (a.canDrag = !1, Math.abs(a.delta) > a.removalDistance) {
|
|
308
301
|
n(!0), t.closeToast(!0), t.collapseAll();
|
|
309
302
|
return;
|
|
310
303
|
}
|
|
311
304
|
y.style.transition = "transform 0.2s, opacity 0.2s", y.style.removeProperty("transform"), y.style.removeProperty("opacity");
|
|
312
305
|
}
|
|
313
306
|
}
|
|
314
|
-
let C = { onPointerDown: I, onPointerUp:
|
|
315
|
-
return d && f && (C.onMouseEnter =
|
|
316
|
-
_ && _(y),
|
|
317
|
-
}), { playToast:
|
|
307
|
+
let C = { onPointerDown: I, onPointerUp: T };
|
|
308
|
+
return d && f && (C.onMouseEnter = m, t.stacked || (C.onMouseLeave = p)), x && (C.onClick = (y) => {
|
|
309
|
+
_ && _(y), a.canCloseOnClick && u(!0);
|
|
310
|
+
}), { playToast: p, pauseToast: m, isRunning: e, preventExitTransition: s, toastRef: l, eventHandlers: C };
|
|
318
311
|
}
|
|
319
|
-
var
|
|
320
|
-
function
|
|
321
|
-
return
|
|
312
|
+
var dt = typeof window < "u" ? at : U, K = ({ theme: t, type: e, isLoading: o, ...s }) => b.createElement("svg", { viewBox: "0 0 24 24", width: "100%", height: "100%", fill: t === "colored" ? "currentColor" : `var(--toastify-icon-color-${e})`, ...s });
|
|
313
|
+
function Nt(t) {
|
|
314
|
+
return b.createElement(K, { ...t }, b.createElement("path", { d: "M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z" }));
|
|
322
315
|
}
|
|
323
316
|
function Rt(t) {
|
|
324
|
-
return
|
|
317
|
+
return b.createElement(K, { ...t }, b.createElement("path", { d: "M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z" }));
|
|
325
318
|
}
|
|
326
319
|
function Mt(t) {
|
|
327
|
-
return
|
|
320
|
+
return b.createElement(K, { ...t }, b.createElement("path", { d: "M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z" }));
|
|
328
321
|
}
|
|
329
322
|
function Bt(t) {
|
|
330
|
-
return
|
|
323
|
+
return b.createElement(K, { ...t }, b.createElement("path", { d: "M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z" }));
|
|
331
324
|
}
|
|
332
325
|
function St() {
|
|
333
|
-
return
|
|
326
|
+
return b.createElement("div", { className: "Toastify__spinner" });
|
|
334
327
|
}
|
|
335
|
-
var
|
|
336
|
-
function
|
|
328
|
+
var V = { info: Rt, warning: Nt, success: Mt, error: Bt, spinner: St }, Xt = (t) => t in V;
|
|
329
|
+
function Ut({ theme: t, type: e, isLoading: o, icon: s }) {
|
|
337
330
|
let n = null, l = { theme: t, type: e };
|
|
338
|
-
return
|
|
339
|
-
}
|
|
340
|
-
var
|
|
341
|
-
let { isRunning: e, preventExitTransition:
|
|
342
|
-
return
|
|
343
|
-
},
|
|
344
|
-
function
|
|
345
|
-
let e = { ...
|
|
346
|
-
function I(
|
|
347
|
-
let
|
|
348
|
-
return
|
|
349
|
-
}
|
|
350
|
-
function
|
|
351
|
-
|
|
352
|
-
}
|
|
353
|
-
return
|
|
354
|
-
var
|
|
355
|
-
if (
|
|
356
|
-
let
|
|
357
|
-
Array.from(
|
|
331
|
+
return s === !1 || ($(s) ? n = s({ ...l, isLoading: o }) : H(s) ? n = J(s, l) : o ? n = V.spinner() : Xt(e) && (n = V[e](l))), n;
|
|
332
|
+
}
|
|
333
|
+
var Ht = (t) => {
|
|
334
|
+
let { isRunning: e, preventExitTransition: o, toastRef: s, eventHandlers: n, playToast: l } = At(t), { closeButton: a, children: d, autoClose: f, onClick: u, type: _, hideProgressBar: x, closeToast: w, transition: k, position: I, className: T, style: p, progressClassName: m, updateId: r, role: i, progress: c, rtl: h, toastId: C, deleteToast: y, isIn: v, isLoading: L, closeOnClick: O, theme: z, ariaLabel: S } = t, P = D("Toastify__toast", `Toastify__toast-theme--${z}`, `Toastify__toast--${_}`, { "Toastify__toast--rtl": h }, { "Toastify__toast--close-on-click": O }), ut = $(T) ? T({ rtl: h, position: I, type: _, defaultClassName: P }) : D(P, T), Z = Ut(t), tt = !!c || !f, Y = { closeToast: w, type: _, theme: z }, X = null;
|
|
335
|
+
return a === !1 || ($(a) ? X = a(Y) : H(a) ? X = J(a, Y) : X = vt(Y)), b.createElement(k, { isIn: v, done: y, position: I, preventExitTransition: o, nodeRef: s, playToast: l }, b.createElement("div", { id: C, tabIndex: 0, onClick: u, "data-in": v, className: ut, ...n, style: p, ref: s, ...v && { role: i, "aria-label": S } }, Z != null && b.createElement("div", { className: D("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !L }) }, Z), st(d, t, !e), X, !t.customProgressBar && b.createElement(bt, { ...r && !tt ? { key: `p-${r}` } : {}, rtl: h, theme: z, delay: f, isRunning: e, isIn: v, closeToast: w, hide: x, type: _, className: m, controlledProgress: tt, progress: c || 0 })));
|
|
336
|
+
}, yt = (t, e = !1) => ({ enter: `Toastify--animate Toastify__${t}-enter`, exit: `Toastify--animate Toastify__${t}-exit`, appendPosition: e }), Ft = rt(yt("bounce", !0)), Gt = rt(yt("slide", !0)), qt = { position: "top-right", transition: Ft, autoClose: 5e3, closeButton: !0, pauseOnHover: !0, pauseOnFocusLoss: !0, draggable: "touch", draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light", "aria-label": "Notifications Alt+T", hotKeys: (t) => t.altKey && t.code === "KeyT" };
|
|
337
|
+
function Kt(t) {
|
|
338
|
+
let e = { ...qt, ...t }, o = t.stacked, [s, n] = Q(!0), l = N(null), { getToastToRender: a, isToastActive: d, count: f } = Dt(e), { className: u, style: _, rtl: x, containerId: w, hotKeys: k } = e;
|
|
339
|
+
function I(p) {
|
|
340
|
+
let m = D("Toastify__toast-container", `Toastify__toast-container--${p}`, { "Toastify__toast-container--rtl": x });
|
|
341
|
+
return $(u) ? u({ position: p, rtl: x, defaultClassName: m }) : D(m, W(u));
|
|
342
|
+
}
|
|
343
|
+
function T() {
|
|
344
|
+
o && (n(!0), g.play());
|
|
345
|
+
}
|
|
346
|
+
return dt(() => {
|
|
347
|
+
var p;
|
|
348
|
+
if (o) {
|
|
349
|
+
let m = l.current.querySelectorAll('[data-in="true"]'), r = 12, i = (p = e.position) == null ? void 0 : p.includes("top"), c = 0, h = 0;
|
|
350
|
+
Array.from(m).reverse().forEach((C, y) => {
|
|
358
351
|
let v = C;
|
|
359
|
-
v.classList.add("Toastify__toast--stacked"), y > 0 && (v.dataset.collapsed = `${
|
|
360
|
-
let L = c * (
|
|
361
|
-
v.style.setProperty("--y", `${i ? L : L * -1}px`), v.style.setProperty("--g", `${
|
|
352
|
+
v.classList.add("Toastify__toast--stacked"), y > 0 && (v.dataset.collapsed = `${s}`), v.dataset.pos || (v.dataset.pos = i ? "top" : "bot");
|
|
353
|
+
let L = c * (s ? 0.2 : 1) + (s ? 0 : r * y), O = Math.max(0.5, 1 - (s ? h : 0));
|
|
354
|
+
v.style.setProperty("--y", `${i ? L : L * -1}px`), v.style.setProperty("--g", `${r}`), v.style.setProperty("--s", `${O}`), c += v.offsetHeight, h += 0.025;
|
|
362
355
|
});
|
|
363
356
|
}
|
|
364
|
-
}, [
|
|
365
|
-
function m
|
|
366
|
-
var
|
|
357
|
+
}, [s, f, o]), U(() => {
|
|
358
|
+
function p(m) {
|
|
359
|
+
var r;
|
|
367
360
|
let i = l.current;
|
|
368
|
-
k(
|
|
361
|
+
k(m) && ((r = i == null ? void 0 : i.querySelector('[tabIndex="0"]')) == null || r.focus(), n(!1), g.pause()), m.key === "Escape" && (document.activeElement === i || i != null && i.contains(document.activeElement)) && (n(!0), g.play());
|
|
369
362
|
}
|
|
370
|
-
return document.addEventListener("keydown",
|
|
371
|
-
document.removeEventListener("keydown",
|
|
363
|
+
return document.addEventListener("keydown", p), () => {
|
|
364
|
+
document.removeEventListener("keydown", p);
|
|
372
365
|
};
|
|
373
|
-
}, [k]),
|
|
374
|
-
|
|
375
|
-
}, onMouseLeave:
|
|
376
|
-
let
|
|
377
|
-
return
|
|
366
|
+
}, [k]), b.createElement("section", { ref: l, className: "Toastify", id: w, onMouseEnter: () => {
|
|
367
|
+
o && (n(!1), g.pause());
|
|
368
|
+
}, onMouseLeave: T, "aria-live": "polite", "aria-atomic": "false", "aria-relevant": "additions text", "aria-label": e["aria-label"] }, a((p, m) => {
|
|
369
|
+
let r = m.length ? { ..._ } : { ..._, pointerEvents: "none" };
|
|
370
|
+
return b.createElement("div", { tabIndex: -1, className: I(p), "data-stacked": o, style: r, key: `c-${p}` }, m.map(({ content: i, props: c }) => b.createElement(Ht, { ...c, stacked: o, collapseAll: T, isIn: d(c.toastId, c.containerId), key: `t-${c.key}` }, i)));
|
|
378
371
|
}));
|
|
379
372
|
}
|
|
373
|
+
var Yt = `:root {
|
|
374
|
+
--toastify-color-light: #fff;
|
|
375
|
+
--toastify-color-dark: #121212;
|
|
376
|
+
--toastify-color-info: #3498db;
|
|
377
|
+
--toastify-color-success: #07bc0c;
|
|
378
|
+
--toastify-color-warning: #f1c40f;
|
|
379
|
+
--toastify-color-error: hsl(6, 78%, 57%);
|
|
380
|
+
--toastify-color-transparent: rgba(255, 255, 255, 0.7);
|
|
381
|
+
|
|
382
|
+
--toastify-icon-color-info: var(--toastify-color-info);
|
|
383
|
+
--toastify-icon-color-success: var(--toastify-color-success);
|
|
384
|
+
--toastify-icon-color-warning: var(--toastify-color-warning);
|
|
385
|
+
--toastify-icon-color-error: var(--toastify-color-error);
|
|
386
|
+
|
|
387
|
+
--toastify-container-width: fit-content;
|
|
388
|
+
--toastify-toast-width: 320px;
|
|
389
|
+
--toastify-toast-offset: 16px;
|
|
390
|
+
--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));
|
|
391
|
+
--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));
|
|
392
|
+
--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));
|
|
393
|
+
--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));
|
|
394
|
+
--toastify-toast-background: #fff;
|
|
395
|
+
--toastify-toast-padding: 14px;
|
|
396
|
+
--toastify-toast-min-height: 64px;
|
|
397
|
+
--toastify-toast-max-height: 800px;
|
|
398
|
+
--toastify-toast-bd-radius: 6px;
|
|
399
|
+
--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
|
|
400
|
+
--toastify-font-family: sans-serif;
|
|
401
|
+
--toastify-z-index: 9999;
|
|
402
|
+
--toastify-text-color-light: #757575;
|
|
403
|
+
--toastify-text-color-dark: #fff;
|
|
404
|
+
|
|
405
|
+
/* Used only for colored theme */
|
|
406
|
+
--toastify-text-color-info: #fff;
|
|
407
|
+
--toastify-text-color-success: #fff;
|
|
408
|
+
--toastify-text-color-warning: #fff;
|
|
409
|
+
--toastify-text-color-error: #fff;
|
|
410
|
+
|
|
411
|
+
--toastify-spinner-color: #616161;
|
|
412
|
+
--toastify-spinner-color-empty-area: #e0e0e0;
|
|
413
|
+
--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);
|
|
414
|
+
--toastify-color-progress-dark: #bb86fc;
|
|
415
|
+
--toastify-color-progress-info: var(--toastify-color-info);
|
|
416
|
+
--toastify-color-progress-success: var(--toastify-color-success);
|
|
417
|
+
--toastify-color-progress-warning: var(--toastify-color-warning);
|
|
418
|
+
--toastify-color-progress-error: var(--toastify-color-error);
|
|
419
|
+
/* used to control the opacity of the progress trail */
|
|
420
|
+
--toastify-color-progress-bgo: 0.2;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.Toastify__toast-container {
|
|
424
|
+
z-index: var(--toastify-z-index);
|
|
425
|
+
-webkit-transform: translate3d(0, 0, var(--toastify-z-index));
|
|
426
|
+
position: fixed;
|
|
427
|
+
width: var(--toastify-container-width);
|
|
428
|
+
box-sizing: border-box;
|
|
429
|
+
color: #fff;
|
|
430
|
+
display: flex;
|
|
431
|
+
flex-direction: column;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.Toastify__toast-container--top-left {
|
|
435
|
+
top: var(--toastify-toast-top);
|
|
436
|
+
left: var(--toastify-toast-left);
|
|
437
|
+
}
|
|
438
|
+
.Toastify__toast-container--top-center {
|
|
439
|
+
top: var(--toastify-toast-top);
|
|
440
|
+
left: 50%;
|
|
441
|
+
transform: translateX(-50%);
|
|
442
|
+
align-items: center;
|
|
443
|
+
}
|
|
444
|
+
.Toastify__toast-container--top-right {
|
|
445
|
+
top: var(--toastify-toast-top);
|
|
446
|
+
right: var(--toastify-toast-right);
|
|
447
|
+
align-items: end;
|
|
448
|
+
}
|
|
449
|
+
.Toastify__toast-container--bottom-left {
|
|
450
|
+
bottom: var(--toastify-toast-bottom);
|
|
451
|
+
left: var(--toastify-toast-left);
|
|
452
|
+
}
|
|
453
|
+
.Toastify__toast-container--bottom-center {
|
|
454
|
+
bottom: var(--toastify-toast-bottom);
|
|
455
|
+
left: 50%;
|
|
456
|
+
transform: translateX(-50%);
|
|
457
|
+
align-items: center;
|
|
458
|
+
}
|
|
459
|
+
.Toastify__toast-container--bottom-right {
|
|
460
|
+
bottom: var(--toastify-toast-bottom);
|
|
461
|
+
right: var(--toastify-toast-right);
|
|
462
|
+
align-items: end;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.Toastify__toast {
|
|
466
|
+
--y: 0px;
|
|
467
|
+
position: relative;
|
|
468
|
+
touch-action: none;
|
|
469
|
+
width: var(--toastify-toast-width);
|
|
470
|
+
min-height: var(--toastify-toast-min-height);
|
|
471
|
+
box-sizing: border-box;
|
|
472
|
+
margin-bottom: 1rem;
|
|
473
|
+
padding: var(--toastify-toast-padding);
|
|
474
|
+
border-radius: var(--toastify-toast-bd-radius);
|
|
475
|
+
box-shadow: var(--toastify-toast-shadow);
|
|
476
|
+
max-height: var(--toastify-toast-max-height);
|
|
477
|
+
font-family: var(--toastify-font-family);
|
|
478
|
+
/* webkit only issue #791 */
|
|
479
|
+
z-index: 0;
|
|
480
|
+
/* inner swag */
|
|
481
|
+
display: flex;
|
|
482
|
+
flex: 1 auto;
|
|
483
|
+
align-items: center;
|
|
484
|
+
word-break: break-word;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
@media only screen and (max-width: 480px) {
|
|
488
|
+
.Toastify__toast-container {
|
|
489
|
+
width: 100vw;
|
|
490
|
+
left: env(safe-area-inset-left);
|
|
491
|
+
margin: 0;
|
|
492
|
+
}
|
|
493
|
+
.Toastify__toast-container--top-left,
|
|
494
|
+
.Toastify__toast-container--top-center,
|
|
495
|
+
.Toastify__toast-container--top-right {
|
|
496
|
+
top: env(safe-area-inset-top);
|
|
497
|
+
transform: translateX(0);
|
|
498
|
+
}
|
|
499
|
+
.Toastify__toast-container--bottom-left,
|
|
500
|
+
.Toastify__toast-container--bottom-center,
|
|
501
|
+
.Toastify__toast-container--bottom-right {
|
|
502
|
+
bottom: env(safe-area-inset-bottom);
|
|
503
|
+
transform: translateX(0);
|
|
504
|
+
}
|
|
505
|
+
.Toastify__toast-container--rtl {
|
|
506
|
+
right: env(safe-area-inset-right);
|
|
507
|
+
left: initial;
|
|
508
|
+
}
|
|
509
|
+
.Toastify__toast {
|
|
510
|
+
--toastify-toast-width: 100%;
|
|
511
|
+
margin-bottom: 0;
|
|
512
|
+
border-radius: 0;
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.Toastify__toast-container[data-stacked='true'] {
|
|
517
|
+
width: var(--toastify-toast-width);
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
@media only screen and (max-width: 480px) {
|
|
521
|
+
.Toastify__toast-container[data-stacked='true'] {
|
|
522
|
+
width: 100vw;
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.Toastify__toast--stacked {
|
|
527
|
+
position: absolute;
|
|
528
|
+
width: 100%;
|
|
529
|
+
transform: translate3d(0, var(--y), 0) scale(var(--s));
|
|
530
|
+
transition: transform 0.3s;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,
|
|
534
|
+
.Toastify__toast--stacked[data-collapsed] .Toastify__close-button {
|
|
535
|
+
transition: opacity 0.1s;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.Toastify__toast--stacked[data-collapsed='false'] {
|
|
539
|
+
overflow: visible;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.Toastify__toast--stacked[data-collapsed='true']:not(:last-child) > * {
|
|
543
|
+
opacity: 0;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.Toastify__toast--stacked:after {
|
|
547
|
+
content: '';
|
|
548
|
+
position: absolute;
|
|
549
|
+
left: 0;
|
|
550
|
+
right: 0;
|
|
551
|
+
height: calc(var(--g) * 1px);
|
|
552
|
+
bottom: 100%;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
.Toastify__toast--stacked[data-pos='top'] {
|
|
556
|
+
top: 0;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.Toastify__toast--stacked[data-pos='bot'] {
|
|
560
|
+
bottom: 0;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.Toastify__toast--stacked[data-pos='bot'].Toastify__toast--stacked:before {
|
|
564
|
+
transform-origin: top;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
.Toastify__toast--stacked[data-pos='top'].Toastify__toast--stacked:before {
|
|
568
|
+
transform-origin: bottom;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
.Toastify__toast--stacked:before {
|
|
572
|
+
content: '';
|
|
573
|
+
position: absolute;
|
|
574
|
+
left: 0;
|
|
575
|
+
right: 0;
|
|
576
|
+
bottom: 0;
|
|
577
|
+
height: 100%;
|
|
578
|
+
transform: scaleY(3);
|
|
579
|
+
z-index: -1;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.Toastify__toast--rtl {
|
|
583
|
+
direction: rtl;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
.Toastify__toast--close-on-click {
|
|
587
|
+
cursor: pointer;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.Toastify__toast-icon {
|
|
591
|
+
margin-inline-end: 10px;
|
|
592
|
+
width: 22px;
|
|
593
|
+
flex-shrink: 0;
|
|
594
|
+
display: flex;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
.Toastify--animate {
|
|
598
|
+
animation-fill-mode: both;
|
|
599
|
+
animation-duration: 0.5s;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
.Toastify--animate-icon {
|
|
603
|
+
animation-fill-mode: both;
|
|
604
|
+
animation-duration: 0.3s;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
.Toastify__toast-theme--dark {
|
|
608
|
+
background: var(--toastify-color-dark);
|
|
609
|
+
color: var(--toastify-text-color-dark);
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
.Toastify__toast-theme--light {
|
|
613
|
+
background: var(--toastify-color-light);
|
|
614
|
+
color: var(--toastify-text-color-light);
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
.Toastify__toast-theme--colored.Toastify__toast--default {
|
|
618
|
+
background: var(--toastify-color-light);
|
|
619
|
+
color: var(--toastify-text-color-light);
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
.Toastify__toast-theme--colored.Toastify__toast--info {
|
|
623
|
+
color: var(--toastify-text-color-info);
|
|
624
|
+
background: var(--toastify-color-info);
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
.Toastify__toast-theme--colored.Toastify__toast--success {
|
|
628
|
+
color: var(--toastify-text-color-success);
|
|
629
|
+
background: var(--toastify-color-success);
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
.Toastify__toast-theme--colored.Toastify__toast--warning {
|
|
633
|
+
color: var(--toastify-text-color-warning);
|
|
634
|
+
background: var(--toastify-color-warning);
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
.Toastify__toast-theme--colored.Toastify__toast--error {
|
|
638
|
+
color: var(--toastify-text-color-error);
|
|
639
|
+
background: var(--toastify-color-error);
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
.Toastify__progress-bar-theme--light {
|
|
643
|
+
background: var(--toastify-color-progress-light);
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
.Toastify__progress-bar-theme--dark {
|
|
647
|
+
background: var(--toastify-color-progress-dark);
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
.Toastify__progress-bar--info {
|
|
651
|
+
background: var(--toastify-color-progress-info);
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
.Toastify__progress-bar--success {
|
|
655
|
+
background: var(--toastify-color-progress-success);
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
.Toastify__progress-bar--warning {
|
|
659
|
+
background: var(--toastify-color-progress-warning);
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
.Toastify__progress-bar--error {
|
|
663
|
+
background: var(--toastify-color-progress-error);
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,
|
|
667
|
+
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,
|
|
668
|
+
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,
|
|
669
|
+
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {
|
|
670
|
+
background: var(--toastify-color-transparent);
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
.Toastify__close-button {
|
|
674
|
+
color: #fff;
|
|
675
|
+
position: absolute;
|
|
676
|
+
top: 6px;
|
|
677
|
+
right: 6px;
|
|
678
|
+
background: transparent;
|
|
679
|
+
outline: none;
|
|
680
|
+
border: none;
|
|
681
|
+
padding: 0;
|
|
682
|
+
cursor: pointer;
|
|
683
|
+
opacity: 0.7;
|
|
684
|
+
transition: 0.3s ease;
|
|
685
|
+
z-index: 1;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
.Toastify__toast--rtl .Toastify__close-button {
|
|
689
|
+
left: 6px;
|
|
690
|
+
right: unset;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
.Toastify__close-button--light {
|
|
694
|
+
color: #000;
|
|
695
|
+
opacity: 0.3;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
.Toastify__close-button > svg {
|
|
699
|
+
fill: currentColor;
|
|
700
|
+
height: 16px;
|
|
701
|
+
width: 14px;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
.Toastify__close-button:hover,
|
|
705
|
+
.Toastify__close-button:focus {
|
|
706
|
+
opacity: 1;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
@keyframes Toastify__trackProgress {
|
|
710
|
+
0% {
|
|
711
|
+
transform: scaleX(1);
|
|
712
|
+
}
|
|
713
|
+
100% {
|
|
714
|
+
transform: scaleX(0);
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
.Toastify__progress-bar {
|
|
719
|
+
position: absolute;
|
|
720
|
+
bottom: 0;
|
|
721
|
+
left: 0;
|
|
722
|
+
width: 100%;
|
|
723
|
+
height: 100%;
|
|
724
|
+
z-index: 1;
|
|
725
|
+
opacity: 0.7;
|
|
726
|
+
transform-origin: left;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
.Toastify__progress-bar--animated {
|
|
730
|
+
animation: Toastify__trackProgress linear 1 forwards;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
.Toastify__progress-bar--controlled {
|
|
734
|
+
transition: transform 0.2s;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
.Toastify__progress-bar--rtl {
|
|
738
|
+
right: 0;
|
|
739
|
+
left: initial;
|
|
740
|
+
transform-origin: right;
|
|
741
|
+
border-bottom-left-radius: initial;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
.Toastify__progress-bar--wrp {
|
|
745
|
+
position: absolute;
|
|
746
|
+
overflow: hidden;
|
|
747
|
+
bottom: 0;
|
|
748
|
+
left: 0;
|
|
749
|
+
width: 100%;
|
|
750
|
+
height: 5px;
|
|
751
|
+
border-bottom-left-radius: var(--toastify-toast-bd-radius);
|
|
752
|
+
border-bottom-right-radius: var(--toastify-toast-bd-radius);
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
.Toastify__progress-bar--wrp[data-hidden='true'] {
|
|
756
|
+
opacity: 0;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
.Toastify__progress-bar--bg {
|
|
760
|
+
opacity: var(--toastify-color-progress-bgo);
|
|
761
|
+
width: 100%;
|
|
762
|
+
height: 100%;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
.Toastify__spinner {
|
|
766
|
+
width: 20px;
|
|
767
|
+
height: 20px;
|
|
768
|
+
box-sizing: border-box;
|
|
769
|
+
border: 2px solid;
|
|
770
|
+
border-radius: 100%;
|
|
771
|
+
border-color: var(--toastify-spinner-color-empty-area);
|
|
772
|
+
border-right-color: var(--toastify-spinner-color);
|
|
773
|
+
animation: Toastify__spin 0.65s linear infinite;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
@keyframes Toastify__bounceInRight {
|
|
777
|
+
from,
|
|
778
|
+
60%,
|
|
779
|
+
75%,
|
|
780
|
+
90%,
|
|
781
|
+
to {
|
|
782
|
+
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
783
|
+
}
|
|
784
|
+
from {
|
|
785
|
+
opacity: 0;
|
|
786
|
+
transform: translate3d(3000px, 0, 0);
|
|
787
|
+
}
|
|
788
|
+
60% {
|
|
789
|
+
opacity: 1;
|
|
790
|
+
transform: translate3d(-25px, 0, 0);
|
|
791
|
+
}
|
|
792
|
+
75% {
|
|
793
|
+
transform: translate3d(10px, 0, 0);
|
|
794
|
+
}
|
|
795
|
+
90% {
|
|
796
|
+
transform: translate3d(-5px, 0, 0);
|
|
797
|
+
}
|
|
798
|
+
to {
|
|
799
|
+
transform: none;
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
@keyframes Toastify__bounceOutRight {
|
|
804
|
+
20% {
|
|
805
|
+
opacity: 1;
|
|
806
|
+
transform: translate3d(-20px, var(--y), 0);
|
|
807
|
+
}
|
|
808
|
+
to {
|
|
809
|
+
opacity: 0;
|
|
810
|
+
transform: translate3d(2000px, var(--y), 0);
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
@keyframes Toastify__bounceInLeft {
|
|
815
|
+
from,
|
|
816
|
+
60%,
|
|
817
|
+
75%,
|
|
818
|
+
90%,
|
|
819
|
+
to {
|
|
820
|
+
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
821
|
+
}
|
|
822
|
+
0% {
|
|
823
|
+
opacity: 0;
|
|
824
|
+
transform: translate3d(-3000px, 0, 0);
|
|
825
|
+
}
|
|
826
|
+
60% {
|
|
827
|
+
opacity: 1;
|
|
828
|
+
transform: translate3d(25px, 0, 0);
|
|
829
|
+
}
|
|
830
|
+
75% {
|
|
831
|
+
transform: translate3d(-10px, 0, 0);
|
|
832
|
+
}
|
|
833
|
+
90% {
|
|
834
|
+
transform: translate3d(5px, 0, 0);
|
|
835
|
+
}
|
|
836
|
+
to {
|
|
837
|
+
transform: none;
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
@keyframes Toastify__bounceOutLeft {
|
|
842
|
+
20% {
|
|
843
|
+
opacity: 1;
|
|
844
|
+
transform: translate3d(20px, var(--y), 0);
|
|
845
|
+
}
|
|
846
|
+
to {
|
|
847
|
+
opacity: 0;
|
|
848
|
+
transform: translate3d(-2000px, var(--y), 0);
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
@keyframes Toastify__bounceInUp {
|
|
853
|
+
from,
|
|
854
|
+
60%,
|
|
855
|
+
75%,
|
|
856
|
+
90%,
|
|
857
|
+
to {
|
|
858
|
+
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
859
|
+
}
|
|
860
|
+
from {
|
|
861
|
+
opacity: 0;
|
|
862
|
+
transform: translate3d(0, 3000px, 0);
|
|
863
|
+
}
|
|
864
|
+
60% {
|
|
865
|
+
opacity: 1;
|
|
866
|
+
transform: translate3d(0, -20px, 0);
|
|
867
|
+
}
|
|
868
|
+
75% {
|
|
869
|
+
transform: translate3d(0, 10px, 0);
|
|
870
|
+
}
|
|
871
|
+
90% {
|
|
872
|
+
transform: translate3d(0, -5px, 0);
|
|
873
|
+
}
|
|
874
|
+
to {
|
|
875
|
+
transform: translate3d(0, 0, 0);
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
@keyframes Toastify__bounceOutUp {
|
|
880
|
+
20% {
|
|
881
|
+
transform: translate3d(0, calc(var(--y) - 10px), 0);
|
|
882
|
+
}
|
|
883
|
+
40%,
|
|
884
|
+
45% {
|
|
885
|
+
opacity: 1;
|
|
886
|
+
transform: translate3d(0, calc(var(--y) + 20px), 0);
|
|
887
|
+
}
|
|
888
|
+
to {
|
|
889
|
+
opacity: 0;
|
|
890
|
+
transform: translate3d(0, -2000px, 0);
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
@keyframes Toastify__bounceInDown {
|
|
895
|
+
from,
|
|
896
|
+
60%,
|
|
897
|
+
75%,
|
|
898
|
+
90%,
|
|
899
|
+
to {
|
|
900
|
+
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
901
|
+
}
|
|
902
|
+
0% {
|
|
903
|
+
opacity: 0;
|
|
904
|
+
transform: translate3d(0, -3000px, 0);
|
|
905
|
+
}
|
|
906
|
+
60% {
|
|
907
|
+
opacity: 1;
|
|
908
|
+
transform: translate3d(0, 25px, 0);
|
|
909
|
+
}
|
|
910
|
+
75% {
|
|
911
|
+
transform: translate3d(0, -10px, 0);
|
|
912
|
+
}
|
|
913
|
+
90% {
|
|
914
|
+
transform: translate3d(0, 5px, 0);
|
|
915
|
+
}
|
|
916
|
+
to {
|
|
917
|
+
transform: none;
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
@keyframes Toastify__bounceOutDown {
|
|
922
|
+
20% {
|
|
923
|
+
transform: translate3d(0, calc(var(--y) - 10px), 0);
|
|
924
|
+
}
|
|
925
|
+
40%,
|
|
926
|
+
45% {
|
|
927
|
+
opacity: 1;
|
|
928
|
+
transform: translate3d(0, calc(var(--y) + 20px), 0);
|
|
929
|
+
}
|
|
930
|
+
to {
|
|
931
|
+
opacity: 0;
|
|
932
|
+
transform: translate3d(0, 2000px, 0);
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
.Toastify__bounce-enter--top-left,
|
|
937
|
+
.Toastify__bounce-enter--bottom-left {
|
|
938
|
+
animation-name: Toastify__bounceInLeft;
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
.Toastify__bounce-enter--top-right,
|
|
942
|
+
.Toastify__bounce-enter--bottom-right {
|
|
943
|
+
animation-name: Toastify__bounceInRight;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
.Toastify__bounce-enter--top-center {
|
|
947
|
+
animation-name: Toastify__bounceInDown;
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
.Toastify__bounce-enter--bottom-center {
|
|
951
|
+
animation-name: Toastify__bounceInUp;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
.Toastify__bounce-exit--top-left,
|
|
955
|
+
.Toastify__bounce-exit--bottom-left {
|
|
956
|
+
animation-name: Toastify__bounceOutLeft;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
.Toastify__bounce-exit--top-right,
|
|
960
|
+
.Toastify__bounce-exit--bottom-right {
|
|
961
|
+
animation-name: Toastify__bounceOutRight;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
.Toastify__bounce-exit--top-center {
|
|
965
|
+
animation-name: Toastify__bounceOutUp;
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
.Toastify__bounce-exit--bottom-center {
|
|
969
|
+
animation-name: Toastify__bounceOutDown;
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
@keyframes Toastify__zoomIn {
|
|
973
|
+
from {
|
|
974
|
+
opacity: 0;
|
|
975
|
+
transform: scale3d(0.3, 0.3, 0.3);
|
|
976
|
+
}
|
|
977
|
+
50% {
|
|
978
|
+
opacity: 1;
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
@keyframes Toastify__zoomOut {
|
|
983
|
+
from {
|
|
984
|
+
opacity: 1;
|
|
985
|
+
}
|
|
986
|
+
50% {
|
|
987
|
+
opacity: 0;
|
|
988
|
+
transform: translate3d(0, var(--y), 0) scale3d(0.3, 0.3, 0.3);
|
|
989
|
+
}
|
|
990
|
+
to {
|
|
991
|
+
opacity: 0;
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
.Toastify__zoom-enter {
|
|
996
|
+
animation-name: Toastify__zoomIn;
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
.Toastify__zoom-exit {
|
|
1000
|
+
animation-name: Toastify__zoomOut;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
@keyframes Toastify__flipIn {
|
|
1004
|
+
from {
|
|
1005
|
+
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
|
1006
|
+
animation-timing-function: ease-in;
|
|
1007
|
+
opacity: 0;
|
|
1008
|
+
}
|
|
1009
|
+
40% {
|
|
1010
|
+
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
|
1011
|
+
animation-timing-function: ease-in;
|
|
1012
|
+
}
|
|
1013
|
+
60% {
|
|
1014
|
+
transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
|
|
1015
|
+
opacity: 1;
|
|
1016
|
+
}
|
|
1017
|
+
80% {
|
|
1018
|
+
transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
|
|
1019
|
+
}
|
|
1020
|
+
to {
|
|
1021
|
+
transform: perspective(400px);
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
@keyframes Toastify__flipOut {
|
|
1026
|
+
from {
|
|
1027
|
+
transform: translate3d(0, var(--y), 0) perspective(400px);
|
|
1028
|
+
}
|
|
1029
|
+
30% {
|
|
1030
|
+
transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, -20deg);
|
|
1031
|
+
opacity: 1;
|
|
1032
|
+
}
|
|
1033
|
+
to {
|
|
1034
|
+
transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, 90deg);
|
|
1035
|
+
opacity: 0;
|
|
1036
|
+
}
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
.Toastify__flip-enter {
|
|
1040
|
+
animation-name: Toastify__flipIn;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
.Toastify__flip-exit {
|
|
1044
|
+
animation-name: Toastify__flipOut;
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
@keyframes Toastify__slideInRight {
|
|
1048
|
+
from {
|
|
1049
|
+
transform: translate3d(110%, 0, 0);
|
|
1050
|
+
visibility: visible;
|
|
1051
|
+
}
|
|
1052
|
+
to {
|
|
1053
|
+
transform: translate3d(0, var(--y), 0);
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
@keyframes Toastify__slideInLeft {
|
|
1058
|
+
from {
|
|
1059
|
+
transform: translate3d(-110%, 0, 0);
|
|
1060
|
+
visibility: visible;
|
|
1061
|
+
}
|
|
1062
|
+
to {
|
|
1063
|
+
transform: translate3d(0, var(--y), 0);
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
@keyframes Toastify__slideInUp {
|
|
1068
|
+
from {
|
|
1069
|
+
transform: translate3d(0, 110%, 0);
|
|
1070
|
+
visibility: visible;
|
|
1071
|
+
}
|
|
1072
|
+
to {
|
|
1073
|
+
transform: translate3d(0, var(--y), 0);
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
@keyframes Toastify__slideInDown {
|
|
1078
|
+
from {
|
|
1079
|
+
transform: translate3d(0, -110%, 0);
|
|
1080
|
+
visibility: visible;
|
|
1081
|
+
}
|
|
1082
|
+
to {
|
|
1083
|
+
transform: translate3d(0, var(--y), 0);
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
@keyframes Toastify__slideOutRight {
|
|
1088
|
+
from {
|
|
1089
|
+
transform: translate3d(0, var(--y), 0);
|
|
1090
|
+
}
|
|
1091
|
+
to {
|
|
1092
|
+
visibility: hidden;
|
|
1093
|
+
transform: translate3d(110%, var(--y), 0);
|
|
1094
|
+
}
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
@keyframes Toastify__slideOutLeft {
|
|
1098
|
+
from {
|
|
1099
|
+
transform: translate3d(0, var(--y), 0);
|
|
1100
|
+
}
|
|
1101
|
+
to {
|
|
1102
|
+
visibility: hidden;
|
|
1103
|
+
transform: translate3d(-110%, var(--y), 0);
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
@keyframes Toastify__slideOutDown {
|
|
1108
|
+
from {
|
|
1109
|
+
transform: translate3d(0, var(--y), 0);
|
|
1110
|
+
}
|
|
1111
|
+
to {
|
|
1112
|
+
visibility: hidden;
|
|
1113
|
+
transform: translate3d(0, 500px, 0);
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
@keyframes Toastify__slideOutUp {
|
|
1118
|
+
from {
|
|
1119
|
+
transform: translate3d(0, var(--y), 0);
|
|
1120
|
+
}
|
|
1121
|
+
to {
|
|
1122
|
+
visibility: hidden;
|
|
1123
|
+
transform: translate3d(0, -500px, 0);
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
.Toastify__slide-enter--top-left,
|
|
1128
|
+
.Toastify__slide-enter--bottom-left {
|
|
1129
|
+
animation-name: Toastify__slideInLeft;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
.Toastify__slide-enter--top-right,
|
|
1133
|
+
.Toastify__slide-enter--bottom-right {
|
|
1134
|
+
animation-name: Toastify__slideInRight;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
.Toastify__slide-enter--top-center {
|
|
1138
|
+
animation-name: Toastify__slideInDown;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
.Toastify__slide-enter--bottom-center {
|
|
1142
|
+
animation-name: Toastify__slideInUp;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
.Toastify__slide-exit--top-left,
|
|
1146
|
+
.Toastify__slide-exit--bottom-left {
|
|
1147
|
+
animation-name: Toastify__slideOutLeft;
|
|
1148
|
+
animation-timing-function: ease-in;
|
|
1149
|
+
animation-duration: 0.3s;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
.Toastify__slide-exit--top-right,
|
|
1153
|
+
.Toastify__slide-exit--bottom-right {
|
|
1154
|
+
animation-name: Toastify__slideOutRight;
|
|
1155
|
+
animation-timing-function: ease-in;
|
|
1156
|
+
animation-duration: 0.3s;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
.Toastify__slide-exit--top-center {
|
|
1160
|
+
animation-name: Toastify__slideOutUp;
|
|
1161
|
+
animation-timing-function: ease-in;
|
|
1162
|
+
animation-duration: 0.3s;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
.Toastify__slide-exit--bottom-center {
|
|
1166
|
+
animation-name: Toastify__slideOutDown;
|
|
1167
|
+
animation-timing-function: ease-in;
|
|
1168
|
+
animation-duration: 0.3s;
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
@keyframes Toastify__spin {
|
|
1172
|
+
from {
|
|
1173
|
+
transform: rotate(0deg);
|
|
1174
|
+
}
|
|
1175
|
+
to {
|
|
1176
|
+
transform: rotate(360deg);
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
`, ot = /* @__PURE__ */ new Map(), Qt = (t, e) => {
|
|
1180
|
+
dt(() => {
|
|
1181
|
+
if (typeof document > "u") return;
|
|
1182
|
+
let o = document, s = ot.get(o);
|
|
1183
|
+
if (s) {
|
|
1184
|
+
e && s.setAttribute("nonce", e);
|
|
1185
|
+
return;
|
|
1186
|
+
}
|
|
1187
|
+
let n = o.createElement("style");
|
|
1188
|
+
n.textContent = t, e && n.setAttribute("nonce", e), o.head.appendChild(n), ot.set(o, n);
|
|
1189
|
+
}, [e]);
|
|
1190
|
+
};
|
|
1191
|
+
function Vt(t) {
|
|
1192
|
+
return Qt(Yt, t.nonce), b.createElement(Kt, { ...t });
|
|
1193
|
+
}
|
|
380
1194
|
export {
|
|
381
1195
|
Ft as Bounce,
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
1196
|
+
V as Icons,
|
|
1197
|
+
Gt as Slide,
|
|
1198
|
+
Vt as ToastContainer,
|
|
1199
|
+
gt as collapseToast,
|
|
1200
|
+
rt as cssTransition,
|
|
387
1201
|
g as toast
|
|
388
1202
|
};
|