@easyops-cn/a2ui-react 0.0.3 → 0.0.4
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/dist/0.8/components/display/AudioPlayerComponent.js +2 -2
- package/dist/0.8/components/display/DividerComponent.js +1 -1
- package/dist/0.8/components/display/IconComponent.js +55 -101
- package/dist/0.8/components/display/ImageComponent.js +2 -2
- package/dist/0.8/components/display/TextComponent.js +2 -2
- package/dist/0.8/components/display/VideoComponent.js +2 -2
- package/dist/0.8/components/interactive/ButtonComponent.js +2 -2
- package/dist/0.8/components/interactive/CheckBoxComponent.js +4 -4
- package/dist/0.8/components/interactive/DateTimeInputComponent.js +36 -38
- package/dist/0.8/components/interactive/MultipleChoiceComponent.js +5 -5
- package/dist/0.8/components/interactive/SliderComponent.js +3 -3
- package/dist/0.8/components/interactive/TextFieldComponent.js +5 -5
- package/dist/0.8/components/layout/CardComponent.js +1 -1
- package/dist/0.8/components/layout/ColumnComponent.js +3 -3
- package/dist/0.8/components/layout/ListComponent.js +3 -3
- package/dist/0.8/components/layout/ModalComponent.js +1 -1
- package/dist/0.8/components/layout/RowComponent.js +3 -3
- package/dist/0.8/components/layout/TabsComponent.js +2 -2
- package/dist/0.8/hooks/useDataBinding.js +12 -17
- package/package.json +1 -1
- package/dist/components/ui/button.js +0 -53
- package/dist/components/ui/calendar.js +0 -176
- package/dist/components/ui/card.js +0 -29
- package/dist/components/ui/checkbox.js +0 -31
- package/dist/components/ui/dialog.js +0 -77
- package/dist/components/ui/input.js +0 -21
- package/dist/components/ui/label.js +0 -22
- package/dist/components/ui/popover.js +0 -38
- package/dist/components/ui/select.js +0 -146
- package/dist/components/ui/separator.js +0 -26
- package/dist/components/ui/slider.js +0 -63
- package/dist/components/ui/tabs.js +0 -67
- package/dist/components/ui/textarea.js +0 -18
- package/dist/lib/utils.js +0 -8
- package/dist/node_modules/@date-fns/tz/date/index.js +0 -61
- package/dist/node_modules/@date-fns/tz/date/mini.js +0 -69
- package/dist/node_modules/@date-fns/tz/tzName/index.js +0 -11
- package/dist/node_modules/@date-fns/tz/tzOffset/index.js +0 -22
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -527
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -402
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -208
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -136
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -130
- package/dist/node_modules/@radix-ui/number/dist/index.js +0 -6
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +0 -9
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +0 -24
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +0 -251
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +0 -50
- package/dist/node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -29
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +0 -68
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +0 -255
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js +0 -10
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -127
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -17
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -136
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +0 -13
- package/dist/node_modules/@radix-ui/react-label/dist/index.js +0 -19
- package/dist/node_modules/@radix-ui/react-label/node_modules/@radix-ui/react-primitive/dist/index.js +0 -32
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js +0 -239
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +0 -219
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +0 -15
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +0 -70
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +0 -36
- package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -183
- package/dist/node_modules/@radix-ui/react-select/dist/index.js +0 -845
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
- package/dist/node_modules/@radix-ui/react-separator/dist/index.js +0 -24
- package/dist/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive/dist/index.js +0 -32
- package/dist/node_modules/@radix-ui/react-slider/dist/index.js +0 -436
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +0 -61
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +0 -163
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -10
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -52
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -14
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -6
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -8
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +0 -27
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -30
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -52
- package/dist/node_modules/class-variance-authority/dist/index.js +0 -35
- package/dist/node_modules/clsx/dist/clsx.js +0 -17
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +0 -7
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -7
- package/dist/node_modules/date-fns/_lib/format/formatters.js +0 -548
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -58
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -49
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -18
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +0 -11
- package/dist/node_modules/date-fns/_lib/normalizeInterval.js +0 -8
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +0 -20
- package/dist/node_modules/date-fns/addDays.js +0 -10
- package/dist/node_modules/date-fns/addMonths.js +0 -20
- package/dist/node_modules/date-fns/addWeeks.js +0 -8
- package/dist/node_modules/date-fns/addYears.js +0 -8
- package/dist/node_modules/date-fns/constants.js +0 -9
- package/dist/node_modules/date-fns/constructFrom.js +0 -8
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +0 -16
- package/dist/node_modules/date-fns/differenceInCalendarMonths.js +0 -13
- package/dist/node_modules/date-fns/eachMonthOfInterval.js +0 -17
- package/dist/node_modules/date-fns/eachYearOfInterval.js +0 -17
- package/dist/node_modules/date-fns/endOfISOWeek.js +0 -8
- package/dist/node_modules/date-fns/endOfMonth.js +0 -9
- package/dist/node_modules/date-fns/endOfWeek.js +0 -10
- package/dist/node_modules/date-fns/endOfYear.js +0 -9
- package/dist/node_modules/date-fns/format.js +0 -58
- package/dist/node_modules/date-fns/getDayOfYear.js +0 -11
- package/dist/node_modules/date-fns/getDaysInMonth.js +0 -10
- package/dist/node_modules/date-fns/getDefaultOptions.js +0 -8
- package/dist/node_modules/date-fns/getISODay.js +0 -9
- package/dist/node_modules/date-fns/getISOWeek.js +0 -12
- package/dist/node_modules/date-fns/getISOWeekYear.js +0 -15
- package/dist/node_modules/date-fns/getMonth.js +0 -8
- package/dist/node_modules/date-fns/getWeek.js +0 -12
- package/dist/node_modules/date-fns/getWeekYear.js +0 -16
- package/dist/node_modules/date-fns/getYear.js +0 -8
- package/dist/node_modules/date-fns/isAfter.js +0 -8
- package/dist/node_modules/date-fns/isBefore.js +0 -8
- package/dist/node_modules/date-fns/isDate.js +0 -7
- package/dist/node_modules/date-fns/isSameDay.js +0 -14
- package/dist/node_modules/date-fns/isSameMonth.js +0 -13
- package/dist/node_modules/date-fns/isSameYear.js +0 -13
- package/dist/node_modules/date-fns/isValid.js +0 -9
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -9
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -18
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -31
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -15
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -70
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -33
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -11
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -155
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -110
- package/dist/node_modules/date-fns/locale/en-US.js +0 -21
- package/dist/node_modules/date-fns/max.js +0 -14
- package/dist/node_modules/date-fns/min.js +0 -14
- package/dist/node_modules/date-fns/parse/_lib/Parser.js +0 -22
- package/dist/node_modules/date-fns/parse/_lib/Setter.js +0 -35
- package/dist/node_modules/date-fns/parse/_lib/constants.js +0 -49
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +0 -42
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +0 -42
- package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js +0 -55
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +0 -45
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js +0 -41
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +0 -42
- package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js +0 -25
- package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +0 -15
- package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +0 -16
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +0 -26
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +0 -26
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +0 -27
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +0 -27
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +0 -97
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +0 -41
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +0 -41
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +0 -43
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +0 -34
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +0 -72
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +0 -42
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +0 -63
- package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +0 -26
- package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +0 -69
- package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +0 -67
- package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +0 -26
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +0 -72
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +0 -69
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +0 -67
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +0 -16
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +0 -16
- package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js +0 -43
- package/dist/node_modules/date-fns/parse/_lib/parsers.js +0 -67
- package/dist/node_modules/date-fns/parse/_lib/utils.js +0 -100
- package/dist/node_modules/date-fns/parse.js +0 -88
- package/dist/node_modules/date-fns/setDay.js +0 -11
- package/dist/node_modules/date-fns/setISODay.js +0 -11
- package/dist/node_modules/date-fns/setISOWeek.js +0 -10
- package/dist/node_modules/date-fns/setMonth.js +0 -13
- package/dist/node_modules/date-fns/setWeek.js +0 -10
- package/dist/node_modules/date-fns/setYear.js +0 -10
- package/dist/node_modules/date-fns/startOfDay.js +0 -9
- package/dist/node_modules/date-fns/startOfISOWeek.js +0 -8
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +0 -11
- package/dist/node_modules/date-fns/startOfMonth.js +0 -9
- package/dist/node_modules/date-fns/startOfWeek.js +0 -10
- package/dist/node_modules/date-fns/startOfWeekYear.js +0 -12
- package/dist/node_modules/date-fns/startOfYear.js +0 -9
- package/dist/node_modules/date-fns/toDate.js +0 -8
- package/dist/node_modules/date-fns/transpose.js +0 -17
- package/dist/node_modules/get-nonce/dist/es2015/index.js +0 -7
- package/dist/node_modules/lucide-react/dist/esm/Icon.js +0 -35
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +0 -21
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +0 -14
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-left.js +0 -9
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-right.js +0 -9
- package/dist/node_modules/lucide-react/dist/esm/icons/bell-off.js +0 -17
- package/dist/node_modules/lucide-react/dist/esm/icons/bell.js +0 -15
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar-days.js +0 -17
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar.js +0 -11
- package/dist/node_modules/lucide-react/dist/esm/icons/camera.js +0 -15
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js +0 -6
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +0 -6
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js +0 -6
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.js +0 -6
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +0 -6
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-alert.js +0 -10
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-question-mark.js +0 -10
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-user.js +0 -10
- package/dist/node_modules/lucide-react/dist/esm/icons/credit-card.js +0 -9
- package/dist/node_modules/lucide-react/dist/esm/icons/download.js +0 -10
- package/dist/node_modules/lucide-react/dist/esm/icons/ellipsis-vertical.js +0 -10
- package/dist/node_modules/lucide-react/dist/esm/icons/ellipsis.js +0 -10
- package/dist/node_modules/lucide-react/dist/esm/icons/eye-off.js +0 -23
- package/dist/node_modules/lucide-react/dist/esm/icons/eye.js +0 -15
- package/dist/node_modules/lucide-react/dist/esm/icons/folder.js +0 -14
- package/dist/node_modules/lucide-react/dist/esm/icons/heart-off.js +0 -22
- package/dist/node_modules/lucide-react/dist/esm/icons/heart.js +0 -14
- package/dist/node_modules/lucide-react/dist/esm/icons/house.js +0 -15
- package/dist/node_modules/lucide-react/dist/esm/icons/image.js +0 -10
- package/dist/node_modules/lucide-react/dist/esm/icons/info.js +0 -10
- package/dist/node_modules/lucide-react/dist/esm/icons/lock-open.js +0 -9
- package/dist/node_modules/lucide-react/dist/esm/icons/lock.js +0 -9
- package/dist/node_modules/lucide-react/dist/esm/icons/mail.js +0 -9
- package/dist/node_modules/lucide-react/dist/esm/icons/map-pin.js +0 -15
- package/dist/node_modules/lucide-react/dist/esm/icons/menu.js +0 -10
- package/dist/node_modules/lucide-react/dist/esm/icons/paperclip.js +0 -14
- package/dist/node_modules/lucide-react/dist/esm/icons/pencil.js +0 -15
- package/dist/node_modules/lucide-react/dist/esm/icons/phone.js +0 -14
- package/dist/node_modules/lucide-react/dist/esm/icons/plus.js +0 -9
- package/dist/node_modules/lucide-react/dist/esm/icons/printer.js +0 -16
- package/dist/node_modules/lucide-react/dist/esm/icons/refresh-cw.js +0 -11
- package/dist/node_modules/lucide-react/dist/esm/icons/search.js +0 -9
- package/dist/node_modules/lucide-react/dist/esm/icons/send.js +0 -15
- package/dist/node_modules/lucide-react/dist/esm/icons/settings.js +0 -15
- package/dist/node_modules/lucide-react/dist/esm/icons/share-2.js +0 -12
- package/dist/node_modules/lucide-react/dist/esm/icons/shopping-cart.js +0 -16
- package/dist/node_modules/lucide-react/dist/esm/icons/star-half.js +0 -14
- package/dist/node_modules/lucide-react/dist/esm/icons/star-off.js +0 -10
- package/dist/node_modules/lucide-react/dist/esm/icons/star.js +0 -14
- package/dist/node_modules/lucide-react/dist/esm/icons/trash-2.js +0 -12
- package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js +0 -16
- package/dist/node_modules/lucide-react/dist/esm/icons/upload.js +0 -10
- package/dist/node_modules/lucide-react/dist/esm/icons/user.js +0 -9
- package/dist/node_modules/lucide-react/dist/esm/icons/x.js +0 -9
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +0 -234
- package/dist/node_modules/react-day-picker/dist/esm/UI.js +0 -22
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +0 -148
- package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +0 -27
- package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +0 -11
- package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +0 -54
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +0 -42
- package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getLabels.js +0 -34
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +0 -24
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +0 -11
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +0 -26
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/locale/en-US.js +0 -37
- package/dist/node_modules/react-day-picker/dist/esm/noonDateLib.js +0 -104
- package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +0 -21
- package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +0 -56
- package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +0 -75
- package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +0 -23
- package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +0 -32
- package/dist/node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.js +0 -26
- package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +0 -26
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +0 -28
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/utils/toTimeZone.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +0 -26
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -11
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -115
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -31
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -16
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -68
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -5
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -7
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -71
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -7
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -25
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js +0 -11
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +0 -15
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -30
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -2765
- package/dist/node_modules/tslib/tslib.es6.js +0 -27
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -6
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -26
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -25
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js +0 -18
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js +0 -67
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import * as m from "react";
|
|
3
|
-
import { cn as e } from "../../lib/utils.js";
|
|
4
|
-
import { buttonVariants as f, Button as b } from "./button.js";
|
|
5
|
-
import { getDefaultClassNames as p } from "../../node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js";
|
|
6
|
-
import { DayPicker as h } from "../../node_modules/react-day-picker/dist/esm/DayPicker.js";
|
|
7
|
-
import w from "../../node_modules/lucide-react/dist/esm/icons/chevron-left.js";
|
|
8
|
-
import _ from "../../node_modules/lucide-react/dist/esm/icons/chevron-right.js";
|
|
9
|
-
import y from "../../node_modules/lucide-react/dist/esm/icons/chevron-down.js";
|
|
10
|
-
function B({
|
|
11
|
-
className: c,
|
|
12
|
-
classNames: i,
|
|
13
|
-
showOutsideDays: r = !0,
|
|
14
|
-
captionLayout: l = "label",
|
|
15
|
-
buttonVariant: s = "ghost",
|
|
16
|
-
formatters: u,
|
|
17
|
-
components: x,
|
|
18
|
-
...g
|
|
19
|
-
}) {
|
|
20
|
-
const t = p();
|
|
21
|
-
return /* @__PURE__ */ n(
|
|
22
|
-
h,
|
|
23
|
-
{
|
|
24
|
-
showOutsideDays: r,
|
|
25
|
-
className: e(
|
|
26
|
-
"bg-background group/calendar p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",
|
|
27
|
-
String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,
|
|
28
|
-
String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,
|
|
29
|
-
c
|
|
30
|
-
),
|
|
31
|
-
captionLayout: l,
|
|
32
|
-
formatters: {
|
|
33
|
-
formatMonthDropdown: (a) => a.toLocaleString("default", { month: "short" }),
|
|
34
|
-
...u
|
|
35
|
-
},
|
|
36
|
-
classNames: {
|
|
37
|
-
root: e("w-fit", t.root),
|
|
38
|
-
months: e(
|
|
39
|
-
"flex gap-4 flex-col md:flex-row relative",
|
|
40
|
-
t.months
|
|
41
|
-
),
|
|
42
|
-
month: e("flex flex-col w-full gap-4", t.month),
|
|
43
|
-
nav: e(
|
|
44
|
-
"flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between",
|
|
45
|
-
t.nav
|
|
46
|
-
),
|
|
47
|
-
button_previous: e(
|
|
48
|
-
f({ variant: s }),
|
|
49
|
-
"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",
|
|
50
|
-
t.button_previous
|
|
51
|
-
),
|
|
52
|
-
button_next: e(
|
|
53
|
-
f({ variant: s }),
|
|
54
|
-
"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",
|
|
55
|
-
t.button_next
|
|
56
|
-
),
|
|
57
|
-
month_caption: e(
|
|
58
|
-
"flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)",
|
|
59
|
-
t.month_caption
|
|
60
|
-
),
|
|
61
|
-
dropdowns: e(
|
|
62
|
-
"w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5",
|
|
63
|
-
t.dropdowns
|
|
64
|
-
),
|
|
65
|
-
dropdown_root: e(
|
|
66
|
-
"relative has-focus:border-ring border border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] rounded-md",
|
|
67
|
-
t.dropdown_root
|
|
68
|
-
),
|
|
69
|
-
dropdown: e(
|
|
70
|
-
"absolute bg-popover inset-0 opacity-0",
|
|
71
|
-
t.dropdown
|
|
72
|
-
),
|
|
73
|
-
caption_label: e(
|
|
74
|
-
"select-none font-medium",
|
|
75
|
-
l === "label" ? "text-sm" : "rounded-md pl-2 pr-1 flex items-center gap-1 text-sm h-8 [&>svg]:text-muted-foreground [&>svg]:size-3.5",
|
|
76
|
-
t.caption_label
|
|
77
|
-
),
|
|
78
|
-
table: "w-full border-collapse",
|
|
79
|
-
weekdays: e("flex", t.weekdays),
|
|
80
|
-
weekday: e(
|
|
81
|
-
"text-muted-foreground rounded-md flex-1 font-normal text-[0.8rem] select-none",
|
|
82
|
-
t.weekday
|
|
83
|
-
),
|
|
84
|
-
week: e("flex w-full mt-2", t.week),
|
|
85
|
-
week_number_header: e(
|
|
86
|
-
"select-none w-(--cell-size)",
|
|
87
|
-
t.week_number_header
|
|
88
|
-
),
|
|
89
|
-
week_number: e(
|
|
90
|
-
"text-[0.8rem] select-none text-muted-foreground",
|
|
91
|
-
t.week_number
|
|
92
|
-
),
|
|
93
|
-
day: e(
|
|
94
|
-
"relative w-full h-full p-0 text-center [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none",
|
|
95
|
-
g.showWeekNumber ? "[&:nth-child(2)[data-selected=true]_button]:rounded-l-md" : "[&:first-child[data-selected=true]_button]:rounded-l-md",
|
|
96
|
-
t.day
|
|
97
|
-
),
|
|
98
|
-
range_start: e(
|
|
99
|
-
"rounded-l-md bg-accent",
|
|
100
|
-
t.range_start
|
|
101
|
-
),
|
|
102
|
-
range_middle: e("rounded-none", t.range_middle),
|
|
103
|
-
range_end: e("rounded-r-md bg-accent", t.range_end),
|
|
104
|
-
today: e(
|
|
105
|
-
"bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none",
|
|
106
|
-
t.today
|
|
107
|
-
),
|
|
108
|
-
outside: e(
|
|
109
|
-
"text-muted-foreground aria-selected:text-muted-foreground",
|
|
110
|
-
t.outside
|
|
111
|
-
),
|
|
112
|
-
disabled: e(
|
|
113
|
-
"text-muted-foreground opacity-50",
|
|
114
|
-
t.disabled
|
|
115
|
-
),
|
|
116
|
-
hidden: e("invisible", t.hidden),
|
|
117
|
-
...i
|
|
118
|
-
},
|
|
119
|
-
components: {
|
|
120
|
-
Root: ({ className: a, rootRef: d, ...o }) => /* @__PURE__ */ n(
|
|
121
|
-
"div",
|
|
122
|
-
{
|
|
123
|
-
"data-slot": "calendar",
|
|
124
|
-
ref: d,
|
|
125
|
-
className: e(a),
|
|
126
|
-
...o
|
|
127
|
-
}
|
|
128
|
-
),
|
|
129
|
-
Chevron: ({ className: a, orientation: d, ...o }) => d === "left" ? /* @__PURE__ */ n(w, { className: e("size-4", a), ...o }) : d === "right" ? /* @__PURE__ */ n(
|
|
130
|
-
_,
|
|
131
|
-
{
|
|
132
|
-
className: e("size-4", a),
|
|
133
|
-
...o
|
|
134
|
-
}
|
|
135
|
-
) : /* @__PURE__ */ n(y, { className: e("size-4", a), ...o }),
|
|
136
|
-
DayButton: v,
|
|
137
|
-
WeekNumber: ({ children: a, ...d }) => /* @__PURE__ */ n("td", { ...d, children: /* @__PURE__ */ n("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children: a }) }),
|
|
138
|
-
...x
|
|
139
|
-
},
|
|
140
|
-
...g
|
|
141
|
-
}
|
|
142
|
-
);
|
|
143
|
-
}
|
|
144
|
-
function v({
|
|
145
|
-
className: c,
|
|
146
|
-
day: i,
|
|
147
|
-
modifiers: r,
|
|
148
|
-
...l
|
|
149
|
-
}) {
|
|
150
|
-
const s = p(), u = m.useRef(null);
|
|
151
|
-
return m.useEffect(() => {
|
|
152
|
-
r.focused && u.current?.focus();
|
|
153
|
-
}, [r.focused]), /* @__PURE__ */ n(
|
|
154
|
-
b,
|
|
155
|
-
{
|
|
156
|
-
ref: u,
|
|
157
|
-
variant: "ghost",
|
|
158
|
-
size: "icon",
|
|
159
|
-
"data-day": i.date.toLocaleDateString(),
|
|
160
|
-
"data-selected-single": r.selected && !r.range_start && !r.range_end && !r.range_middle,
|
|
161
|
-
"data-range-start": r.range_start,
|
|
162
|
-
"data-range-end": r.range_end,
|
|
163
|
-
"data-range-middle": r.range_middle,
|
|
164
|
-
className: e(
|
|
165
|
-
"data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md [&>span]:text-xs [&>span]:opacity-70",
|
|
166
|
-
s.day,
|
|
167
|
-
c
|
|
168
|
-
),
|
|
169
|
-
...l
|
|
170
|
-
}
|
|
171
|
-
);
|
|
172
|
-
}
|
|
173
|
-
export {
|
|
174
|
-
B as Calendar,
|
|
175
|
-
v as CalendarDayButton
|
|
176
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { cn as a } from "../../lib/utils.js";
|
|
3
|
-
function n({ className: r, ...o }) {
|
|
4
|
-
return /* @__PURE__ */ t(
|
|
5
|
-
"div",
|
|
6
|
-
{
|
|
7
|
-
"data-slot": "card",
|
|
8
|
-
className: a(
|
|
9
|
-
"bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
|
|
10
|
-
r
|
|
11
|
-
),
|
|
12
|
-
...o
|
|
13
|
-
}
|
|
14
|
-
);
|
|
15
|
-
}
|
|
16
|
-
function c({ className: r, ...o }) {
|
|
17
|
-
return /* @__PURE__ */ t(
|
|
18
|
-
"div",
|
|
19
|
-
{
|
|
20
|
-
"data-slot": "card-content",
|
|
21
|
-
className: a("px-6", r),
|
|
22
|
-
...o
|
|
23
|
-
}
|
|
24
|
-
);
|
|
25
|
-
}
|
|
26
|
-
export {
|
|
27
|
-
n as Card,
|
|
28
|
-
c as CardContent
|
|
29
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { Checkbox as a, CheckboxIndicator as t } from "../../node_modules/@radix-ui/react-checkbox/dist/index.js";
|
|
3
|
-
import { cn as o } from "../../lib/utils.js";
|
|
4
|
-
import d from "../../node_modules/lucide-react/dist/esm/icons/check.js";
|
|
5
|
-
function l({
|
|
6
|
-
className: e,
|
|
7
|
-
...i
|
|
8
|
-
}) {
|
|
9
|
-
return /* @__PURE__ */ r(
|
|
10
|
-
a,
|
|
11
|
-
{
|
|
12
|
-
"data-slot": "checkbox",
|
|
13
|
-
className: o(
|
|
14
|
-
"peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
|
|
15
|
-
e
|
|
16
|
-
),
|
|
17
|
-
...i,
|
|
18
|
-
children: /* @__PURE__ */ r(
|
|
19
|
-
t,
|
|
20
|
-
{
|
|
21
|
-
"data-slot": "checkbox-indicator",
|
|
22
|
-
className: "grid place-content-center text-current transition-none",
|
|
23
|
-
children: /* @__PURE__ */ r(d, { className: "size-3.5" })
|
|
24
|
-
}
|
|
25
|
-
)
|
|
26
|
-
}
|
|
27
|
-
);
|
|
28
|
-
}
|
|
29
|
-
export {
|
|
30
|
-
l as Checkbox
|
|
31
|
-
};
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { jsx as a, jsxs as e } from "react/jsx-runtime";
|
|
2
|
-
import { Root as r, Trigger as l, Content as d, Close as g, Portal as c, Overlay as u } from "../../node_modules/@radix-ui/react-dialog/dist/index.js";
|
|
3
|
-
import { cn as n } from "../../lib/utils.js";
|
|
4
|
-
import f from "../../node_modules/lucide-react/dist/esm/icons/x.js";
|
|
5
|
-
function y({
|
|
6
|
-
...t
|
|
7
|
-
}) {
|
|
8
|
-
return /* @__PURE__ */ a(r, { "data-slot": "dialog", ...t });
|
|
9
|
-
}
|
|
10
|
-
function z({
|
|
11
|
-
...t
|
|
12
|
-
}) {
|
|
13
|
-
return /* @__PURE__ */ a(l, { "data-slot": "dialog-trigger", ...t });
|
|
14
|
-
}
|
|
15
|
-
function p({
|
|
16
|
-
...t
|
|
17
|
-
}) {
|
|
18
|
-
return /* @__PURE__ */ a(c, { "data-slot": "dialog-portal", ...t });
|
|
19
|
-
}
|
|
20
|
-
function m({
|
|
21
|
-
className: t,
|
|
22
|
-
...o
|
|
23
|
-
}) {
|
|
24
|
-
return /* @__PURE__ */ a(
|
|
25
|
-
u,
|
|
26
|
-
{
|
|
27
|
-
"data-slot": "dialog-overlay",
|
|
28
|
-
className: n(
|
|
29
|
-
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
|
|
30
|
-
t
|
|
31
|
-
),
|
|
32
|
-
...o
|
|
33
|
-
}
|
|
34
|
-
);
|
|
35
|
-
}
|
|
36
|
-
function D({
|
|
37
|
-
className: t,
|
|
38
|
-
children: o,
|
|
39
|
-
showCloseButton: s = !0,
|
|
40
|
-
...i
|
|
41
|
-
}) {
|
|
42
|
-
return /* @__PURE__ */ e(p, { "data-slot": "dialog-portal", children: [
|
|
43
|
-
/* @__PURE__ */ a(m, {}),
|
|
44
|
-
/* @__PURE__ */ e(
|
|
45
|
-
d,
|
|
46
|
-
{
|
|
47
|
-
"data-slot": "dialog-content",
|
|
48
|
-
className: n(
|
|
49
|
-
"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 outline-none sm:max-w-lg",
|
|
50
|
-
t
|
|
51
|
-
),
|
|
52
|
-
...i,
|
|
53
|
-
children: [
|
|
54
|
-
o,
|
|
55
|
-
s && /* @__PURE__ */ e(
|
|
56
|
-
g,
|
|
57
|
-
{
|
|
58
|
-
"data-slot": "dialog-close",
|
|
59
|
-
className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
60
|
-
children: [
|
|
61
|
-
/* @__PURE__ */ a(f, {}),
|
|
62
|
-
/* @__PURE__ */ a("span", { className: "sr-only", children: "Close" })
|
|
63
|
-
]
|
|
64
|
-
}
|
|
65
|
-
)
|
|
66
|
-
]
|
|
67
|
-
}
|
|
68
|
-
)
|
|
69
|
-
] });
|
|
70
|
-
}
|
|
71
|
-
export {
|
|
72
|
-
y as Dialog,
|
|
73
|
-
D as DialogContent,
|
|
74
|
-
m as DialogOverlay,
|
|
75
|
-
p as DialogPortal,
|
|
76
|
-
z as DialogTrigger
|
|
77
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { cn as n } from "../../lib/utils.js";
|
|
3
|
-
function a({ className: e, type: i, ...r }) {
|
|
4
|
-
return /* @__PURE__ */ t(
|
|
5
|
-
"input",
|
|
6
|
-
{
|
|
7
|
-
type: i,
|
|
8
|
-
"data-slot": "input",
|
|
9
|
-
className: n(
|
|
10
|
-
"file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
11
|
-
"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
|
12
|
-
"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
13
|
-
e
|
|
14
|
-
),
|
|
15
|
-
...r
|
|
16
|
-
}
|
|
17
|
-
);
|
|
18
|
-
}
|
|
19
|
-
export {
|
|
20
|
-
a as Input
|
|
21
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { Root as a } from "../../node_modules/@radix-ui/react-label/dist/index.js";
|
|
3
|
-
import { cn as r } from "../../lib/utils.js";
|
|
4
|
-
function l({
|
|
5
|
-
className: e,
|
|
6
|
-
...t
|
|
7
|
-
}) {
|
|
8
|
-
return /* @__PURE__ */ o(
|
|
9
|
-
a,
|
|
10
|
-
{
|
|
11
|
-
"data-slot": "label",
|
|
12
|
-
className: r(
|
|
13
|
-
"flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
|
|
14
|
-
e
|
|
15
|
-
),
|
|
16
|
-
...t
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
export {
|
|
21
|
-
l as Label
|
|
22
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { Root as n, Trigger as d, Portal as i, Content as s } from "../../node_modules/@radix-ui/react-popover/dist/index.js";
|
|
3
|
-
import { cn as p } from "../../lib/utils.js";
|
|
4
|
-
function c({
|
|
5
|
-
...o
|
|
6
|
-
}) {
|
|
7
|
-
return /* @__PURE__ */ t(n, { "data-slot": "popover", ...o });
|
|
8
|
-
}
|
|
9
|
-
function g({
|
|
10
|
-
...o
|
|
11
|
-
}) {
|
|
12
|
-
return /* @__PURE__ */ t(d, { "data-slot": "popover-trigger", ...o });
|
|
13
|
-
}
|
|
14
|
-
function u({
|
|
15
|
-
className: o,
|
|
16
|
-
align: e = "center",
|
|
17
|
-
sideOffset: r = 4,
|
|
18
|
-
...a
|
|
19
|
-
}) {
|
|
20
|
-
return /* @__PURE__ */ t(i, { children: /* @__PURE__ */ t(
|
|
21
|
-
s,
|
|
22
|
-
{
|
|
23
|
-
"data-slot": "popover-content",
|
|
24
|
-
align: e,
|
|
25
|
-
sideOffset: r,
|
|
26
|
-
className: p(
|
|
27
|
-
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",
|
|
28
|
-
o
|
|
29
|
-
),
|
|
30
|
-
...a
|
|
31
|
-
}
|
|
32
|
-
) });
|
|
33
|
-
}
|
|
34
|
-
export {
|
|
35
|
-
c as Popover,
|
|
36
|
-
u as PopoverContent,
|
|
37
|
-
g as PopoverTrigger
|
|
38
|
-
};
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
2
|
-
import { Root as d, Trigger as c, Icon as u, Value as m, Portal as p, Content as f, Viewport as g, Item as v, ItemIndicator as h, ItemText as x, ScrollUpButton as b, ScrollDownButton as w } from "../../node_modules/@radix-ui/react-select/dist/index.js";
|
|
3
|
-
import { cn as r } from "../../lib/utils.js";
|
|
4
|
-
import i from "../../node_modules/lucide-react/dist/esm/icons/chevron-down.js";
|
|
5
|
-
import y from "../../node_modules/lucide-react/dist/esm/icons/check.js";
|
|
6
|
-
import z from "../../node_modules/lucide-react/dist/esm/icons/chevron-up.js";
|
|
7
|
-
function D({
|
|
8
|
-
...t
|
|
9
|
-
}) {
|
|
10
|
-
return /* @__PURE__ */ e(d, { "data-slot": "select", ...t });
|
|
11
|
-
}
|
|
12
|
-
function T({
|
|
13
|
-
...t
|
|
14
|
-
}) {
|
|
15
|
-
return /* @__PURE__ */ e(m, { "data-slot": "select-value", ...t });
|
|
16
|
-
}
|
|
17
|
-
function U({
|
|
18
|
-
className: t,
|
|
19
|
-
size: a = "default",
|
|
20
|
-
children: s,
|
|
21
|
-
...o
|
|
22
|
-
}) {
|
|
23
|
-
return /* @__PURE__ */ n(
|
|
24
|
-
c,
|
|
25
|
-
{
|
|
26
|
-
"data-slot": "select-trigger",
|
|
27
|
-
"data-size": a,
|
|
28
|
-
className: r(
|
|
29
|
-
"border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
30
|
-
t
|
|
31
|
-
),
|
|
32
|
-
...o,
|
|
33
|
-
children: [
|
|
34
|
-
s,
|
|
35
|
-
/* @__PURE__ */ e(u, { asChild: !0, children: /* @__PURE__ */ e(i, { className: "size-4 opacity-50" }) })
|
|
36
|
-
]
|
|
37
|
-
}
|
|
38
|
-
);
|
|
39
|
-
}
|
|
40
|
-
function V({
|
|
41
|
-
className: t,
|
|
42
|
-
children: a,
|
|
43
|
-
position: s = "item-aligned",
|
|
44
|
-
align: o = "center",
|
|
45
|
-
...l
|
|
46
|
-
}) {
|
|
47
|
-
return /* @__PURE__ */ e(p, { children: /* @__PURE__ */ n(
|
|
48
|
-
f,
|
|
49
|
-
{
|
|
50
|
-
"data-slot": "select-content",
|
|
51
|
-
className: r(
|
|
52
|
-
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",
|
|
53
|
-
s === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
54
|
-
t
|
|
55
|
-
),
|
|
56
|
-
position: s,
|
|
57
|
-
align: o,
|
|
58
|
-
...l,
|
|
59
|
-
children: [
|
|
60
|
-
/* @__PURE__ */ e(N, {}),
|
|
61
|
-
/* @__PURE__ */ e(
|
|
62
|
-
g,
|
|
63
|
-
{
|
|
64
|
-
className: r(
|
|
65
|
-
"p-1",
|
|
66
|
-
s === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"
|
|
67
|
-
),
|
|
68
|
-
children: a
|
|
69
|
-
}
|
|
70
|
-
),
|
|
71
|
-
/* @__PURE__ */ e(S, {})
|
|
72
|
-
]
|
|
73
|
-
}
|
|
74
|
-
) });
|
|
75
|
-
}
|
|
76
|
-
function R({
|
|
77
|
-
className: t,
|
|
78
|
-
children: a,
|
|
79
|
-
...s
|
|
80
|
-
}) {
|
|
81
|
-
return /* @__PURE__ */ n(
|
|
82
|
-
v,
|
|
83
|
-
{
|
|
84
|
-
"data-slot": "select-item",
|
|
85
|
-
className: r(
|
|
86
|
-
"focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
|
|
87
|
-
t
|
|
88
|
-
),
|
|
89
|
-
...s,
|
|
90
|
-
children: [
|
|
91
|
-
/* @__PURE__ */ e(
|
|
92
|
-
"span",
|
|
93
|
-
{
|
|
94
|
-
"data-slot": "select-item-indicator",
|
|
95
|
-
className: "absolute right-2 flex size-3.5 items-center justify-center",
|
|
96
|
-
children: /* @__PURE__ */ e(h, { children: /* @__PURE__ */ e(y, { className: "size-4" }) })
|
|
97
|
-
}
|
|
98
|
-
),
|
|
99
|
-
/* @__PURE__ */ e(x, { children: a })
|
|
100
|
-
]
|
|
101
|
-
}
|
|
102
|
-
);
|
|
103
|
-
}
|
|
104
|
-
function N({
|
|
105
|
-
className: t,
|
|
106
|
-
...a
|
|
107
|
-
}) {
|
|
108
|
-
return /* @__PURE__ */ e(
|
|
109
|
-
b,
|
|
110
|
-
{
|
|
111
|
-
"data-slot": "select-scroll-up-button",
|
|
112
|
-
className: r(
|
|
113
|
-
"flex cursor-default items-center justify-center py-1",
|
|
114
|
-
t
|
|
115
|
-
),
|
|
116
|
-
...a,
|
|
117
|
-
children: /* @__PURE__ */ e(z, { className: "size-4" })
|
|
118
|
-
}
|
|
119
|
-
);
|
|
120
|
-
}
|
|
121
|
-
function S({
|
|
122
|
-
className: t,
|
|
123
|
-
...a
|
|
124
|
-
}) {
|
|
125
|
-
return /* @__PURE__ */ e(
|
|
126
|
-
w,
|
|
127
|
-
{
|
|
128
|
-
"data-slot": "select-scroll-down-button",
|
|
129
|
-
className: r(
|
|
130
|
-
"flex cursor-default items-center justify-center py-1",
|
|
131
|
-
t
|
|
132
|
-
),
|
|
133
|
-
...a,
|
|
134
|
-
children: /* @__PURE__ */ e(i, { className: "size-4" })
|
|
135
|
-
}
|
|
136
|
-
);
|
|
137
|
-
}
|
|
138
|
-
export {
|
|
139
|
-
D as Select,
|
|
140
|
-
V as SelectContent,
|
|
141
|
-
R as SelectItem,
|
|
142
|
-
S as SelectScrollDownButton,
|
|
143
|
-
N as SelectScrollUpButton,
|
|
144
|
-
U as SelectTrigger,
|
|
145
|
-
T as SelectValue
|
|
146
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { Root as n } from "../../node_modules/@radix-ui/react-separator/dist/index.js";
|
|
3
|
-
import { cn as e } from "../../lib/utils.js";
|
|
4
|
-
function d({
|
|
5
|
-
className: t,
|
|
6
|
-
orientation: o = "horizontal",
|
|
7
|
-
decorative: r = !0,
|
|
8
|
-
...a
|
|
9
|
-
}) {
|
|
10
|
-
return /* @__PURE__ */ i(
|
|
11
|
-
n,
|
|
12
|
-
{
|
|
13
|
-
"data-slot": "separator",
|
|
14
|
-
decorative: r,
|
|
15
|
-
orientation: o,
|
|
16
|
-
className: e(
|
|
17
|
-
"bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
|
|
18
|
-
t
|
|
19
|
-
),
|
|
20
|
-
...a
|
|
21
|
-
}
|
|
22
|
-
);
|
|
23
|
-
}
|
|
24
|
-
export {
|
|
25
|
-
d as Separator
|
|
26
|
-
};
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { jsxs as c, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import * as h from "react";
|
|
3
|
-
import { Root as m, Track as f, Range as b, Thumb as u } from "../../node_modules/@radix-ui/react-slider/dist/index.js";
|
|
4
|
-
import { cn as e } from "../../lib/utils.js";
|
|
5
|
-
function y({
|
|
6
|
-
className: n,
|
|
7
|
-
defaultValue: t,
|
|
8
|
-
value: r,
|
|
9
|
-
min: a = 0,
|
|
10
|
-
max: o = 100,
|
|
11
|
-
...l
|
|
12
|
-
}) {
|
|
13
|
-
const s = h.useMemo(
|
|
14
|
-
() => Array.isArray(r) ? r : Array.isArray(t) ? t : [a, o],
|
|
15
|
-
[r, t, a, o]
|
|
16
|
-
);
|
|
17
|
-
return /* @__PURE__ */ c(
|
|
18
|
-
m,
|
|
19
|
-
{
|
|
20
|
-
"data-slot": "slider",
|
|
21
|
-
defaultValue: t,
|
|
22
|
-
value: r,
|
|
23
|
-
min: a,
|
|
24
|
-
max: o,
|
|
25
|
-
className: e(
|
|
26
|
-
"relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",
|
|
27
|
-
n
|
|
28
|
-
),
|
|
29
|
-
...l,
|
|
30
|
-
children: [
|
|
31
|
-
/* @__PURE__ */ i(
|
|
32
|
-
f,
|
|
33
|
-
{
|
|
34
|
-
"data-slot": "slider-track",
|
|
35
|
-
className: e(
|
|
36
|
-
"bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"
|
|
37
|
-
),
|
|
38
|
-
children: /* @__PURE__ */ i(
|
|
39
|
-
b,
|
|
40
|
-
{
|
|
41
|
-
"data-slot": "slider-range",
|
|
42
|
-
className: e(
|
|
43
|
-
"bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full"
|
|
44
|
-
)
|
|
45
|
-
}
|
|
46
|
-
)
|
|
47
|
-
}
|
|
48
|
-
),
|
|
49
|
-
Array.from({ length: s.length }, (g, d) => /* @__PURE__ */ i(
|
|
50
|
-
u,
|
|
51
|
-
{
|
|
52
|
-
"data-slot": "slider-thumb",
|
|
53
|
-
className: "border-primary ring-ring/50 block size-4 shrink-0 rounded-full border bg-white shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"
|
|
54
|
-
},
|
|
55
|
-
d
|
|
56
|
-
))
|
|
57
|
-
]
|
|
58
|
-
}
|
|
59
|
-
);
|
|
60
|
-
}
|
|
61
|
-
export {
|
|
62
|
-
y as Slider
|
|
63
|
-
};
|