ivt 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/dist/_virtual/_commonjsHelpers/index.mjs +2 -0
- package/dist/_virtual/_commonjsHelpers/index.mjs.map +1 -0
- package/dist/_virtual/index/index.mjs +2 -0
- package/dist/_virtual/index/index.mjs.map +1 -0
- package/dist/_virtual/index/index2.mjs +2 -0
- package/dist/_virtual/index/index2.mjs.map +1 -0
- package/dist/_virtual/index/index3.mjs +2 -0
- package/dist/_virtual/index/index3.mjs.map +1 -0
- package/dist/_virtual/index/index4.mjs +2 -0
- package/dist/_virtual/index/index4.mjs.map +1 -0
- package/dist/_virtual/index/index5.mjs +2 -0
- package/dist/_virtual/index/index5.mjs.map +1 -0
- package/dist/_virtual/react-is.development/index.mjs +2 -0
- package/dist/_virtual/react-is.development/index.mjs.map +1 -0
- package/dist/_virtual/react-is.production.min/index.mjs +2 -0
- package/dist/_virtual/react-is.production.min/index.mjs.map +1 -0
- package/dist/accordion/index.d.ts +1 -13
- package/dist/accordion/index.mjs +1 -1
- package/dist/alert/index.d.ts +1 -13
- package/dist/alert/index.mjs +1 -1
- package/dist/alert/index.mjs.map +1 -1
- package/dist/avatar/index.d.ts +1 -9
- package/dist/avatar/index.mjs +1 -1
- package/dist/avatar/index.mjs.map +1 -1
- package/dist/badge/index.d.ts +1 -17
- package/dist/badge/index.mjs +1 -1
- package/dist/base/index.d.ts +4 -38
- package/dist/base/index.mjs +1 -1
- package/dist/base/index.mjs.map +1 -1
- package/dist/button/index.d.ts +1 -15
- package/dist/button/index.mjs +1 -1
- package/dist/calendar/index.d.ts +1 -12
- package/dist/calendar/index.mjs +1 -1
- package/dist/card/index.d.ts +1 -12
- package/dist/card/index.mjs +1 -1
- package/dist/card/index.mjs.map +1 -1
- package/dist/checkbox/index.d.ts +1 -7
- package/dist/checkbox/index.mjs +1 -1
- package/dist/checkbox/index.mjs.map +1 -1
- package/dist/command/index.d.ts +1 -20
- package/dist/command/index.mjs +1 -1
- package/dist/components/default/base/CalendarPopover/index.d.ts +13 -0
- package/dist/components/default/base/Header/index.d.ts +10 -0
- package/dist/components/default/base/HoverBadge/index.d.ts +12 -0
- package/dist/components/default/base/TextWrap/index.d.ts +9 -0
- package/dist/components/default/data-table/DataTableMainFrame/index.d.ts +19 -0
- package/dist/components/default/data-table/DataTableMainFrameSortable/index.d.ts +25 -0
- package/dist/components/default/data-table/DataTablePagination/index.d.ts +11 -0
- package/dist/components/default/data-table/DataTablePaginationSkeleton/index.d.ts +7 -0
- package/dist/components/default/data-table/DataTableRowSkeleton/index.d.ts +11 -0
- package/dist/components/default/data-table/DataTableSearch/index.d.ts +11 -0
- package/dist/components/default/data-table/DataTableSkeleton/index.d.ts +57 -0
- package/dist/components/default/data-table/DataTableStatus/index.d.ts +12 -0
- package/dist/components/default/data-table/DataTableViewOptions/index.d.ts +10 -0
- package/dist/components/default/dropzone/FileUploader/index.d.ts +96 -0
- package/dist/components/ui/accordion/accordion/index.d.ts +13 -0
- package/dist/components/ui/alert/alert/index.d.ts +13 -0
- package/dist/components/ui/avatar/avatar/index.d.ts +9 -0
- package/dist/components/ui/badge/badge/index.d.ts +17 -0
- package/dist/components/ui/button/button/index.d.ts +15 -0
- package/dist/components/ui/calendar/calendar/index.d.ts +12 -0
- package/dist/components/ui/card/card/index.d.ts +12 -0
- package/dist/components/ui/checkbox/checkbox/index.d.ts +7 -0
- package/dist/components/ui/command/command/index.d.ts +19 -0
- package/dist/components/ui/dialog/dialog/index.d.ts +16 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu/index.d.ts +28 -0
- package/dist/components/ui/form/form/index.d.ts +28 -0
- package/dist/components/ui/hover-card/hover-card/index.d.ts +9 -0
- package/dist/components/ui/input/input/index.d.ts +6 -0
- package/dist/components/ui/label/label/index.d.ts +7 -0
- package/dist/components/ui/pagination/pagination/index.d.ts +16 -0
- package/dist/components/ui/popover/popover/index.d.ts +10 -0
- package/dist/components/ui/progress/progress/index.d.ts +7 -0
- package/dist/components/ui/scroll-area/scroll-area/index.d.ts +8 -0
- package/dist/components/ui/select/select/index.d.ts +16 -0
- package/dist/components/ui/separator/separator/index.d.ts +7 -0
- package/dist/components/ui/sheet/sheet/index.d.ts +16 -0
- package/dist/components/ui/skeleton/skeleton/index.d.ts +6 -0
- package/dist/components/ui/sonner/sonner/index.d.ts +5 -0
- package/dist/components/ui/sortable/sortable/index.d.ts +107 -0
- package/dist/components/ui/table/table/index.d.ts +13 -0
- package/dist/components/ui/tabs/tabs/index.d.ts +10 -0
- package/dist/components/ui/toast/toast/index.d.ts +21 -0
- package/dist/components/ui/tooltip/tooltip/index.d.ts +10 -0
- package/dist/data-table/index.d.ts +9 -133
- package/dist/data-table/index.mjs +1 -1
- package/dist/data-table/index.mjs.map +1 -1
- package/dist/dialog/index.d.ts +1 -16
- package/dist/dialog/index.mjs +1 -1
- package/dist/dropdown-menu/index.d.ts +1 -28
- package/dist/dropdown-menu/index.mjs +1 -1
- package/dist/dropdown-menu/index.mjs.map +1 -1
- package/dist/dropzone/index.d.ts +1 -96
- package/dist/dropzone/index.mjs +1 -6
- package/dist/dropzone/index.mjs.map +1 -1
- package/dist/form/index.d.ts +1 -28
- package/dist/form/index.mjs +1 -1
- package/dist/form/index.mjs.map +1 -1
- package/dist/hover-card/index.d.ts +1 -9
- package/dist/hover-card/index.mjs +1 -1
- package/dist/icon/index.mjs +1 -1
- package/dist/icon/index.mjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/input/index.d.ts +1 -6
- package/dist/input/index.mjs +1 -1
- package/dist/label/index.d.ts +1 -7
- package/dist/label/index.mjs +1 -1
- package/dist/node_modules/@date-fns/tz/date/index/index.mjs +2 -0
- package/dist/node_modules/@date-fns/tz/date/index/index.mjs.map +1 -0
- package/dist/node_modules/@date-fns/tz/date/mini/index.mjs +2 -0
- package/dist/node_modules/@date-fns/tz/date/mini/index.mjs.map +1 -0
- package/dist/node_modules/@date-fns/tz/tzOffset/index/index.mjs +2 -0
- package/dist/node_modules/@date-fns/tz/tzOffset/index/index.mjs.map +1 -0
- package/dist/node_modules/@dnd-kit/accessibility/dist/accessibility.esm/index.mjs +2 -0
- package/dist/node_modules/@dnd-kit/accessibility/dist/accessibility.esm/index.mjs.map +1 -0
- package/dist/node_modules/@dnd-kit/core/dist/core.esm/index.mjs +2 -0
- package/dist/node_modules/@dnd-kit/core/dist/core.esm/index.mjs.map +1 -0
- package/dist/node_modules/@dnd-kit/modifiers/dist/modifiers.esm/index.mjs +2 -0
- package/dist/node_modules/@dnd-kit/modifiers/dist/modifiers.esm/index.mjs.map +1 -0
- package/dist/node_modules/@dnd-kit/sortable/dist/sortable.esm/index.mjs +2 -0
- package/dist/node_modules/@dnd-kit/sortable/dist/sortable.esm/index.mjs.map +1 -0
- package/dist/node_modules/@dnd-kit/utilities/dist/utilities.esm/index.mjs +2 -0
- package/dist/node_modules/@dnd-kit/utilities/dist/utilities.esm/index.mjs.map +1 -0
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core/index.mjs +2 -0
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core/index.mjs.map +1 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom/index.mjs +2 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom/index.mjs.map +1 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom/index.mjs +2 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom/index.mjs.map +1 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils/index.mjs +2 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils/index.mjs.map +1 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom/index.mjs +2 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/number/dist/index/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/number/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-accordion/dist/index/index.mjs +3 -0
- package/dist/node_modules/@radix-ui/react-accordion/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-arrow/dist/index/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-arrow/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-avatar/dist/index/index.mjs +3 -0
- package/dist/node_modules/@radix-ui/react-avatar/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index/index.mjs +3 -0
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index/index.mjs +3 -0
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index/index.mjs.map +1 -0
- package/dist/{chunks/index-BkrjWCcN.mjs → node_modules/@radix-ui/react-context/dist/index/index.mjs} +2 -2
- package/dist/node_modules/@radix-ui/react-context/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-dialog/dist/index/index.mjs +3 -0
- package/dist/node_modules/@radix-ui/react-dialog/dist/index/index.mjs.map +1 -0
- package/dist/{chunks/index-DXDEMoyA.mjs → node_modules/@radix-ui/react-direction/dist/index/index.mjs} +2 -2
- package/dist/node_modules/@radix-ui/react-direction/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index/index.mjs +3 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index/index.mjs +3 -0
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index/index.mjs +3 -0
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index/index.mjs +3 -0
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-hover-card/dist/index/index.mjs +3 -0
- package/dist/node_modules/@radix-ui/react-hover-card/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-icons/dist/react-icons.esm/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-icons/dist/react-icons.esm/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-label/dist/index/index.mjs +3 -0
- package/dist/node_modules/@radix-ui/react-label/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-menu/dist/index/index.mjs +3 -0
- package/dist/node_modules/@radix-ui/react-menu/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-popover/dist/index/index.mjs +3 -0
- package/dist/node_modules/@radix-ui/react-popover/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-popper/dist/index/index.mjs +3 -0
- package/dist/node_modules/@radix-ui/react-popper/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-portal/dist/index/index.mjs +3 -0
- package/dist/node_modules/@radix-ui/react-portal/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-presence/dist/index/index.mjs +3 -0
- package/dist/node_modules/@radix-ui/react-presence/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-progress/dist/index/index.mjs +3 -0
- package/dist/node_modules/@radix-ui/react-progress/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index/index.mjs +3 -0
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-scroll-area/dist/index/index.mjs +3 -0
- package/dist/node_modules/@radix-ui/react-scroll-area/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-separator/dist/index/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-separator/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-tabs/dist/index/index.mjs +3 -0
- package/dist/node_modules/@radix-ui/react-tabs/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-toast/dist/index/index.mjs +3 -0
- package/dist/node_modules/@radix-ui/react-toast/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index/index.mjs +3 -0
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-size/dist/index/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-use-size/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/@tanstack/react-table/build/lib/index/index.mjs +2 -0
- package/dist/node_modules/@tanstack/react-table/build/lib/index/index.mjs.map +1 -0
- package/dist/node_modules/aria-hidden/dist/es2015/index/index.mjs +2 -0
- package/dist/node_modules/aria-hidden/dist/es2015/index/index.mjs.map +1 -0
- package/dist/node_modules/attr-accept/dist/es/index/index.mjs +2 -0
- package/dist/node_modules/attr-accept/dist/es/index/index.mjs.map +1 -0
- package/dist/node_modules/clsx/dist/clsx/index.mjs +2 -0
- package/dist/node_modules/clsx/dist/clsx/index.mjs.map +1 -0
- package/dist/node_modules/cmdk/dist/chunk-NZJY6EH4/index.mjs +2 -0
- package/dist/node_modules/cmdk/dist/chunk-NZJY6EH4/index.mjs.map +1 -0
- package/dist/node_modules/cmdk/dist/index/index.mjs +3 -0
- package/dist/node_modules/cmdk/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros/index.mjs +2 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions/index.mjs +2 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/_lib/format/formatters/index.mjs +2 -0
- package/dist/node_modules/date-fns/_lib/format/formatters/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters/index.mjs +2 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters/index.mjs +2 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds/index.mjs +2 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/_lib/normalizeDates/index.mjs +2 -0
- package/dist/node_modules/date-fns/_lib/normalizeDates/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/_lib/normalizeInterval/index.mjs +2 -0
- package/dist/node_modules/date-fns/_lib/normalizeInterval/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens/index.mjs +2 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/addDays/index.mjs +2 -0
- package/dist/node_modules/date-fns/addDays/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/addMonths/index.mjs +2 -0
- package/dist/node_modules/date-fns/addMonths/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/addWeeks/index.mjs +2 -0
- package/dist/node_modules/date-fns/addWeeks/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/addYears/index.mjs +2 -0
- package/dist/node_modules/date-fns/addYears/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/constants/index.mjs +2 -0
- package/dist/node_modules/date-fns/constants/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/constructFrom/index.mjs +2 -0
- package/dist/node_modules/date-fns/constructFrom/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays/index.mjs +2 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/differenceInCalendarMonths/index.mjs +2 -0
- package/dist/node_modules/date-fns/differenceInCalendarMonths/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/eachMonthOfInterval/index.mjs +2 -0
- package/dist/node_modules/date-fns/eachMonthOfInterval/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/endOfISOWeek/index.mjs +2 -0
- package/dist/node_modules/date-fns/endOfISOWeek/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/endOfMonth/index.mjs +2 -0
- package/dist/node_modules/date-fns/endOfMonth/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/endOfWeek/index.mjs +2 -0
- package/dist/node_modules/date-fns/endOfWeek/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/endOfYear/index.mjs +2 -0
- package/dist/node_modules/date-fns/endOfYear/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/format/index.mjs +2 -0
- package/dist/node_modules/date-fns/format/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/getDayOfYear/index.mjs +2 -0
- package/dist/node_modules/date-fns/getDayOfYear/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/getDaysInMonth/index.mjs +2 -0
- package/dist/node_modules/date-fns/getDaysInMonth/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/getISOWeek/index.mjs +2 -0
- package/dist/node_modules/date-fns/getISOWeek/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/getISOWeekYear/index.mjs +2 -0
- package/dist/node_modules/date-fns/getISOWeekYear/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/getMonth/index.mjs +2 -0
- package/dist/node_modules/date-fns/getMonth/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/getWeek/index.mjs +2 -0
- package/dist/node_modules/date-fns/getWeek/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/getWeekYear/index.mjs +2 -0
- package/dist/node_modules/date-fns/getWeekYear/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/getYear/index.mjs +2 -0
- package/dist/node_modules/date-fns/getYear/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/isAfter/index.mjs +2 -0
- package/dist/node_modules/date-fns/isAfter/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/isBefore/index.mjs +2 -0
- package/dist/node_modules/date-fns/isBefore/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/isDate/index.mjs +2 -0
- package/dist/node_modules/date-fns/isDate/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/isSameDay/index.mjs +2 -0
- package/dist/node_modules/date-fns/isSameDay/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/isSameMonth/index.mjs +2 -0
- package/dist/node_modules/date-fns/isSameMonth/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/isSameYear/index.mjs +2 -0
- package/dist/node_modules/date-fns/isSameYear/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/isValid/index.mjs +2 -0
- package/dist/node_modules/date-fns/isValid/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/isWeekend/index.mjs +2 -0
- package/dist/node_modules/date-fns/isWeekend/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn/index.mjs +2 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn/index.mjs +2 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn/index.mjs +2 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn/index.mjs +2 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance/index.mjs +2 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong/index.mjs +2 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative/index.mjs +2 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize/index.mjs +2 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match/index.mjs +2 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/index.mjs +2 -0
- package/dist/node_modules/date-fns/locale/en-US/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/locale/pt-BR/_lib/formatDistance/index.mjs +2 -0
- package/dist/node_modules/date-fns/locale/pt-BR/_lib/formatDistance/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/locale/pt-BR/_lib/formatLong/index.mjs +2 -0
- package/dist/node_modules/date-fns/locale/pt-BR/_lib/formatLong/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/locale/pt-BR/_lib/formatRelative/index.mjs +2 -0
- package/dist/node_modules/date-fns/locale/pt-BR/_lib/formatRelative/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/locale/pt-BR/_lib/localize/index.mjs +2 -0
- package/dist/node_modules/date-fns/locale/pt-BR/_lib/localize/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/locale/pt-BR/_lib/match/index.mjs +2 -0
- package/dist/node_modules/date-fns/locale/pt-BR/_lib/match/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/locale/pt-BR/index.mjs +2 -0
- package/dist/node_modules/date-fns/locale/pt-BR/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/max/index.mjs +2 -0
- package/dist/node_modules/date-fns/max/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/min/index.mjs +2 -0
- package/dist/node_modules/date-fns/min/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/setMonth/index.mjs +2 -0
- package/dist/node_modules/date-fns/setMonth/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/setYear/index.mjs +2 -0
- package/dist/node_modules/date-fns/setYear/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/startOfDay/index.mjs +2 -0
- package/dist/node_modules/date-fns/startOfDay/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/startOfISOWeek/index.mjs +2 -0
- package/dist/node_modules/date-fns/startOfISOWeek/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear/index.mjs +2 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/startOfMonth/index.mjs +2 -0
- package/dist/node_modules/date-fns/startOfMonth/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/startOfWeek/index.mjs +2 -0
- package/dist/node_modules/date-fns/startOfWeek/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/startOfWeekYear/index.mjs +2 -0
- package/dist/node_modules/date-fns/startOfWeekYear/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/startOfYear/index.mjs +2 -0
- package/dist/node_modules/date-fns/startOfYear/index.mjs.map +1 -0
- package/dist/node_modules/date-fns/toDate/index.mjs +2 -0
- package/dist/node_modules/date-fns/toDate/index.mjs.map +1 -0
- package/dist/node_modules/file-selector/dist/es2015/file/index.mjs +2 -0
- package/dist/node_modules/file-selector/dist/es2015/file/index.mjs.map +1 -0
- package/dist/node_modules/file-selector/dist/es2015/file-selector/index.mjs +2 -0
- package/dist/node_modules/file-selector/dist/es2015/file-selector/index.mjs.map +1 -0
- package/dist/node_modules/get-nonce/dist/es2015/index/index.mjs +2 -0
- package/dist/node_modules/get-nonce/dist/es2015/index/index.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/Icon/index.mjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/Icon/index.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon/index.mjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon/index.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes/index.mjs +8 -0
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes/index.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-down/index.mjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-down/index.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up/index.mjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up/index.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar/index.mjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar/index.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/check/index.mjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/check/index.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down/index.mjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down/index.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left/index.mjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left/index.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right/index.mjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right/index.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up/index.mjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up/index.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle/index.mjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle/index.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/ellipsis/index.mjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/ellipsis/index.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle/index.mjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle/index.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/rotate-cw/index.mjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/rotate-cw/index.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/search/index.mjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/search/index.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/upload/index.mjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/upload/index.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/x/index.mjs +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/x/index.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/index.mjs +8 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/index.mjs.map +1 -0
- package/dist/node_modules/object-assign/index/index.mjs +7 -0
- package/dist/node_modules/object-assign/index/index.mjs.map +1 -0
- package/dist/node_modules/prop-types/checkPropTypes/index.mjs +2 -0
- package/dist/node_modules/prop-types/checkPropTypes/index.mjs.map +1 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims/index.mjs +2 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims/index.mjs.map +1 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers/index.mjs +2 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers/index.mjs.map +1 -0
- package/dist/node_modules/prop-types/index/index.mjs +2 -0
- package/dist/node_modules/prop-types/index/index.mjs.map +1 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret/index.mjs +2 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret/index.mjs.map +1 -0
- package/dist/node_modules/prop-types/lib/has/index.mjs +2 -0
- package/dist/node_modules/prop-types/lib/has/index.mjs.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development/index.mjs +2 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development/index.mjs.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min/index.mjs +2 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min/index.mjs.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index/index.mjs +2 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/DayPicker/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/DayPicker/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/UI/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/UI/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Button/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Button/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Chevron/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Chevron/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Day/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Day/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/DayButton/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/DayButton/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Footer/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Footer/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Month/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Month/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Months/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Months/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Nav/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Nav/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Option/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Option/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Root/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Root/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Select/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Select/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Week/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Week/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekday/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekday/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weeks/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weeks/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/custom-components/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/custom-components/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/index/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/index/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/index/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/index/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useRange/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useRange/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/useAnimation/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/useAnimation/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/useCalendar/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/useCalendar/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/useDayPicker/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/useDayPicker/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/useFocus/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/useFocus/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/useGetModifiers/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/useGetModifiers/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/useSelection/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/useSelection/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps/index.mjs.map +1 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards/index.mjs +2 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards/index.mjs.map +1 -0
- package/dist/node_modules/react-dropzone/dist/es/index/index.mjs +2 -0
- package/dist/node_modules/react-dropzone/dist/es/index/index.mjs.map +1 -0
- package/dist/node_modules/react-dropzone/dist/es/utils/index/index.mjs +2 -0
- package/dist/node_modules/react-dropzone/dist/es/utils/index/index.mjs.map +1 -0
- package/dist/node_modules/react-hook-form/dist/index.esm/index.mjs +2 -0
- package/dist/node_modules/react-hook-form/dist/index.esm/index.mjs.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination/index.mjs +2 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination/index.mjs.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect/index.mjs +2 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect/index.mjs.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI/index.mjs +2 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI/index.mjs.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture/index.mjs +2 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture/index.mjs.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll/index.mjs +2 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll/index.mjs.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium/index.mjs +2 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium/index.mjs.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar/index.mjs +2 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar/index.mjs.map +1 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component/index.mjs +2 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component/index.mjs.map +1 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants/index.mjs +2 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants/index.mjs.map +1 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils/index.mjs +2 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils/index.mjs.map +1 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/component/index.mjs +2 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/component/index.mjs.map +1 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/hook/index.mjs +2 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/hook/index.mjs.map +1 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton/index.mjs +2 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton/index.mjs.map +1 -0
- package/dist/node_modules/sonner/dist/index/index.mjs +3 -0
- package/dist/node_modules/sonner/dist/index/index.mjs.map +1 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs/index.mjs +2 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs/index.mjs.map +1 -0
- package/dist/{chunks/tslib.es6-DnJNy3VA.mjs → node_modules/tslib/tslib.es6/index.mjs} +2 -2
- package/dist/node_modules/tslib/tslib.es6/index.mjs.map +1 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef/index.mjs +2 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef/index.mjs.map +1 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef/index.mjs +2 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef/index.mjs.map +1 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef/index.mjs +2 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef/index.mjs.map +1 -0
- package/dist/node_modules/use-sidecar/dist/es2015/exports/index.mjs +2 -0
- package/dist/node_modules/use-sidecar/dist/es2015/exports/index.mjs.map +1 -0
- package/dist/node_modules/use-sidecar/dist/es2015/medium/index.mjs +2 -0
- package/dist/node_modules/use-sidecar/dist/es2015/medium/index.mjs.map +1 -0
- package/dist/pagination/index.d.ts +1 -18
- package/dist/pagination/index.mjs +1 -1
- package/dist/popover/index.d.ts +1 -10
- package/dist/popover/index.mjs +1 -1
- package/dist/progress/index.d.ts +1 -7
- package/dist/progress/index.mjs +1 -1
- package/dist/scroll-area/index.d.ts +1 -8
- package/dist/scroll-area/index.mjs +1 -1
- package/dist/select/index.d.ts +1 -16
- package/dist/select/index.mjs +1 -1
- package/dist/separator/index.d.ts +1 -7
- package/dist/separator/index.mjs +1 -1
- package/dist/separator/index.mjs.map +1 -1
- package/dist/sheet/index.d.ts +1 -16
- package/dist/sheet/index.mjs +1 -1
- package/dist/sheet/index.mjs.map +1 -1
- package/dist/skeleton/index.d.ts +1 -6
- package/dist/skeleton/index.mjs +1 -1
- package/dist/sonner/index.d.ts +1 -5
- package/dist/sonner/index.mjs +1 -1
- package/dist/sonner/index.mjs.map +1 -1
- package/dist/sortable/index.d.ts +1 -109
- package/dist/sortable/index.mjs +1 -1
- package/dist/src/components/default/base/CalendarPopover/index.mjs +2 -0
- package/dist/src/components/default/base/CalendarPopover/index.mjs.map +1 -0
- package/dist/src/components/default/base/Header/index.mjs +2 -0
- package/dist/src/components/default/base/Header/index.mjs.map +1 -0
- package/dist/src/components/default/base/HoverBadge/index.mjs +2 -0
- package/dist/src/components/default/base/HoverBadge/index.mjs.map +1 -0
- package/dist/src/components/default/base/TextWrap/index.mjs +2 -0
- package/dist/{chunks/TextWrap-23P8STqb.mjs.map → src/components/default/base/TextWrap/index.mjs.map} +1 -1
- package/dist/src/components/default/data-table/DataTableMainFrame/index.mjs +2 -0
- package/dist/src/components/default/data-table/DataTableMainFrame/index.mjs.map +1 -0
- package/dist/src/components/default/data-table/DataTableMainFrameSortable/index.mjs +2 -0
- package/dist/src/components/default/data-table/DataTableMainFrameSortable/index.mjs.map +1 -0
- package/dist/src/components/default/data-table/DataTablePagination/index.mjs +2 -0
- package/dist/src/components/default/data-table/DataTablePagination/index.mjs.map +1 -0
- package/dist/src/components/default/data-table/DataTablePaginationSkeleton/index.mjs +2 -0
- package/dist/src/components/default/data-table/DataTablePaginationSkeleton/index.mjs.map +1 -0
- package/dist/src/components/default/data-table/DataTableRowSkeleton/index.mjs +2 -0
- package/dist/src/components/default/data-table/DataTableRowSkeleton/index.mjs.map +1 -0
- package/dist/src/components/default/data-table/DataTableSearch/index.mjs +2 -0
- package/dist/src/components/default/data-table/DataTableSearch/index.mjs.map +1 -0
- package/dist/src/components/default/data-table/DataTableSkeleton/index.mjs +2 -0
- package/dist/src/components/default/data-table/DataTableSkeleton/index.mjs.map +1 -0
- package/dist/src/components/default/data-table/DataTableStatus/index.mjs +2 -0
- package/dist/src/components/default/data-table/DataTableStatus/index.mjs.map +1 -0
- package/dist/src/components/default/data-table/DataTableViewOptions/index.mjs +2 -0
- package/dist/src/components/default/data-table/DataTableViewOptions/index.mjs.map +1 -0
- package/dist/src/components/default/dropzone/FileUploader/index.mjs +2 -0
- package/dist/src/components/default/dropzone/FileUploader/index.mjs.map +1 -0
- package/dist/src/components/icon/IconActive/index.mjs +2 -0
- package/dist/src/components/icon/IconActive/index.mjs.map +1 -0
- package/dist/src/components/icon/IconBuilding/index.mjs +2 -0
- package/dist/src/components/icon/IconBuilding/index.mjs.map +1 -0
- package/dist/src/components/icon/IconCommand/index.mjs +2 -0
- package/dist/src/components/icon/IconCommand/index.mjs.map +1 -0
- package/dist/src/components/icon/IconFilter/index.mjs +2 -0
- package/dist/src/components/icon/IconFilter/index.mjs.map +1 -0
- package/dist/src/components/icon/IconLineChart/index.mjs +2 -0
- package/dist/src/components/icon/IconLineChart/index.mjs.map +1 -0
- package/dist/src/components/icon/IconLoading/index.mjs +2 -0
- package/dist/src/components/icon/IconLoading/index.mjs.map +1 -0
- package/dist/src/components/icon/IconMenuDashboard/index.mjs +2 -0
- package/dist/src/components/icon/IconMenuDashboard/index.mjs.map +1 -0
- package/dist/src/components/icon/IconNotAllow/index.mjs +2 -0
- package/dist/src/components/icon/IconNotAllow/index.mjs.map +1 -0
- package/dist/src/components/icon/IconPending/index.mjs +2 -0
- package/dist/src/components/icon/IconPending/index.mjs.map +1 -0
- package/dist/src/components/icon/IconTable/index.mjs +2 -0
- package/dist/src/components/icon/IconTable/index.mjs.map +1 -0
- package/dist/src/components/ui/accordion/accordion/index.mjs +2 -0
- package/dist/src/components/ui/accordion/accordion/index.mjs.map +1 -0
- package/dist/src/components/ui/alert/alert/index.mjs +2 -0
- package/dist/src/components/ui/alert/alert/index.mjs.map +1 -0
- package/dist/src/components/ui/avatar/avatar/index.mjs +2 -0
- package/dist/src/components/ui/avatar/avatar/index.mjs.map +1 -0
- package/dist/src/components/ui/badge/badge/index.mjs +2 -0
- package/dist/src/components/ui/badge/badge/index.mjs.map +1 -0
- package/dist/src/components/ui/button/button/index.mjs +2 -0
- package/dist/src/components/ui/button/button/index.mjs.map +1 -0
- package/dist/src/components/ui/calendar/calendar/index.mjs +2 -0
- package/dist/src/components/ui/calendar/calendar/index.mjs.map +1 -0
- package/dist/src/components/ui/card/card/index.mjs +2 -0
- package/dist/src/components/ui/card/card/index.mjs.map +1 -0
- package/dist/src/components/ui/checkbox/checkbox/index.mjs +2 -0
- package/dist/src/components/ui/checkbox/checkbox/index.mjs.map +1 -0
- package/dist/src/components/ui/command/command/index.mjs +2 -0
- package/dist/src/components/ui/command/command/index.mjs.map +1 -0
- package/dist/src/components/ui/dialog/dialog/index.mjs +2 -0
- package/dist/src/components/ui/dialog/dialog/index.mjs.map +1 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu/index.mjs +2 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu/index.mjs.map +1 -0
- package/dist/src/components/ui/form/form/index.mjs +2 -0
- package/dist/src/components/ui/form/form/index.mjs.map +1 -0
- package/dist/src/components/ui/hover-card/hover-card/index.mjs +2 -0
- package/dist/src/components/ui/hover-card/hover-card/index.mjs.map +1 -0
- package/dist/src/components/ui/input/input/index.mjs +2 -0
- package/dist/src/components/ui/input/input/index.mjs.map +1 -0
- package/dist/src/components/ui/label/label/index.mjs +2 -0
- package/dist/src/components/ui/label/label/index.mjs.map +1 -0
- package/dist/src/components/ui/pagination/pagination/index.mjs +2 -0
- package/dist/src/components/ui/pagination/pagination/index.mjs.map +1 -0
- package/dist/src/components/ui/popover/popover/index.mjs +2 -0
- package/dist/src/components/ui/popover/popover/index.mjs.map +1 -0
- package/dist/src/components/ui/progress/progress/index.mjs +2 -0
- package/dist/src/components/ui/progress/progress/index.mjs.map +1 -0
- package/dist/src/components/ui/scroll-area/scroll-area/index.mjs +2 -0
- package/dist/src/components/ui/scroll-area/scroll-area/index.mjs.map +1 -0
- package/dist/src/components/ui/select/select/index.mjs +2 -0
- package/dist/src/components/ui/select/select/index.mjs.map +1 -0
- package/dist/src/components/ui/separator/separator/index.mjs +2 -0
- package/dist/src/components/ui/separator/separator/index.mjs.map +1 -0
- package/dist/src/components/ui/sheet/sheet/index.mjs +2 -0
- package/dist/src/components/ui/sheet/sheet/index.mjs.map +1 -0
- package/dist/src/components/ui/skeleton/skeleton/index.mjs +2 -0
- package/dist/{chunks/skeleton-cSOJ-vH8.mjs.map → src/components/ui/skeleton/skeleton/index.mjs.map} +1 -1
- package/dist/src/components/ui/sonner/sonner/index.mjs +2 -0
- package/dist/src/components/ui/sonner/sonner/index.mjs.map +1 -0
- package/dist/src/components/ui/sortable/sortable/index.mjs +2 -0
- package/dist/src/components/ui/sortable/sortable/index.mjs.map +1 -0
- package/dist/src/components/ui/table/table/index.mjs +2 -0
- package/dist/src/components/ui/table/table/index.mjs.map +1 -0
- package/dist/src/components/ui/tabs/tabs/index.mjs +2 -0
- package/dist/src/components/ui/tabs/tabs/index.mjs.map +1 -0
- package/dist/src/components/ui/toast/toast/index.mjs +2 -0
- package/dist/src/components/ui/toast/toast/index.mjs.map +1 -0
- package/dist/src/components/ui/tooltip/tooltip/index.mjs +2 -0
- package/dist/src/components/ui/tooltip/tooltip/index.mjs.map +1 -0
- package/dist/src/examples/hooks/use-callback-ref/index.mjs +2 -0
- package/dist/src/examples/hooks/use-callback-ref/index.mjs.map +1 -0
- package/dist/src/hooks/use-controllable-state/index.mjs +2 -0
- package/dist/src/hooks/use-controllable-state/index.mjs.map +1 -0
- package/dist/src/hooks/use-toast/index.mjs +2 -0
- package/dist/src/hooks/use-toast/index.mjs.map +1 -0
- package/dist/src/lib/compose-refs/index.mjs +2 -0
- package/dist/src/lib/compose-refs/index.mjs.map +1 -0
- package/dist/src/lib/utils/index.mjs +2 -0
- package/dist/src/lib/utils/index.mjs.map +1 -0
- package/dist/table/index.d.ts +1 -13
- package/dist/table/index.mjs +1 -1
- package/dist/tabs/index.d.ts +1 -10
- package/dist/tabs/index.mjs +1 -1
- package/dist/tabs/index.mjs.map +1 -1
- package/dist/toast/index.d.ts +1 -21
- package/dist/toast/index.mjs +1 -1
- package/dist/toast/index.mjs.map +1 -1
- package/dist/tooltip/index.d.ts +1 -10
- package/dist/tooltip/index.mjs +1 -1
- package/dist/tooltip/index.mjs.map +1 -1
- package/package.json +19 -18
- package/dist/chunks/Combination-CaCdPc0V.mjs +0 -2
- package/dist/chunks/Combination-CaCdPc0V.mjs.map +0 -1
- package/dist/chunks/TextWrap-23P8STqb.mjs +0 -2
- package/dist/chunks/accordion-pKx1Q4tK.mjs +0 -2
- package/dist/chunks/accordion-pKx1Q4tK.mjs.map +0 -1
- package/dist/chunks/badge-Cy4rR7ko.mjs +0 -2
- package/dist/chunks/badge-Cy4rR7ko.mjs.map +0 -1
- package/dist/chunks/bundle-mjs-E0baekTQ.mjs +0 -2
- package/dist/chunks/bundle-mjs-E0baekTQ.mjs.map +0 -1
- package/dist/chunks/button-L19W2fGF.mjs +0 -2
- package/dist/chunks/button-L19W2fGF.mjs.map +0 -1
- package/dist/chunks/calendar-BQrtnevv.mjs +0 -2
- package/dist/chunks/calendar-BQrtnevv.mjs.map +0 -1
- package/dist/chunks/check-1SKm0QUI.mjs +0 -2
- package/dist/chunks/check-1SKm0QUI.mjs.map +0 -1
- package/dist/chunks/chevron-down-i6P9lr6K.mjs +0 -2
- package/dist/chunks/chevron-down-i6P9lr6K.mjs.map +0 -1
- package/dist/chunks/chevron-left-kY7-JEU4.mjs +0 -2
- package/dist/chunks/chevron-left-kY7-JEU4.mjs.map +0 -1
- package/dist/chunks/chevron-right-BCy8nVMg.mjs +0 -2
- package/dist/chunks/chevron-right-BCy8nVMg.mjs.map +0 -1
- package/dist/chunks/command-BLs86fLx.mjs +0 -2
- package/dist/chunks/command-BLs86fLx.mjs.map +0 -1
- package/dist/chunks/createLucideIcon-NXzoJfn7.mjs +0 -14
- package/dist/chunks/createLucideIcon-NXzoJfn7.mjs.map +0 -1
- package/dist/chunks/dialog-BDBNWwYT.mjs +0 -2
- package/dist/chunks/dialog-BDBNWwYT.mjs.map +0 -1
- package/dist/chunks/hover-card-BjXLQEhK.mjs +0 -2
- package/dist/chunks/hover-card-BjXLQEhK.mjs.map +0 -1
- package/dist/chunks/index-5xCD9zck.mjs +0 -2
- package/dist/chunks/index-5xCD9zck.mjs.map +0 -1
- package/dist/chunks/index-BXYIPnYd.mjs +0 -2
- package/dist/chunks/index-BXYIPnYd.mjs.map +0 -1
- package/dist/chunks/index-B_Oam-QU.mjs +0 -2
- package/dist/chunks/index-B_Oam-QU.mjs.map +0 -1
- package/dist/chunks/index-BkrjWCcN.mjs.map +0 -1
- package/dist/chunks/index-BzUzK8k1.mjs +0 -2
- package/dist/chunks/index-BzUzK8k1.mjs.map +0 -1
- package/dist/chunks/index-CBuWa3V_.mjs +0 -2
- package/dist/chunks/index-CBuWa3V_.mjs.map +0 -1
- package/dist/chunks/index-CRTXCtD-.mjs +0 -2
- package/dist/chunks/index-CRTXCtD-.mjs.map +0 -1
- package/dist/chunks/index-Cj8SbPde.mjs +0 -2
- package/dist/chunks/index-Cj8SbPde.mjs.map +0 -1
- package/dist/chunks/index-DFm8Tejm.mjs +0 -2
- package/dist/chunks/index-DFm8Tejm.mjs.map +0 -1
- package/dist/chunks/index-DU2SqYv7.mjs +0 -2
- package/dist/chunks/index-DU2SqYv7.mjs.map +0 -1
- package/dist/chunks/index-DXDEMoyA.mjs.map +0 -1
- package/dist/chunks/index-DagWVwpf.mjs +0 -2
- package/dist/chunks/index-DagWVwpf.mjs.map +0 -1
- package/dist/chunks/index-VNeBf_qQ.mjs +0 -2
- package/dist/chunks/index-VNeBf_qQ.mjs.map +0 -1
- package/dist/chunks/input-CIOLnRPP.mjs +0 -2
- package/dist/chunks/input-CIOLnRPP.mjs.map +0 -1
- package/dist/chunks/label-JzY_9HXj.mjs +0 -2
- package/dist/chunks/label-JzY_9HXj.mjs.map +0 -1
- package/dist/chunks/pagination-Duu8Xw3w.mjs +0 -2
- package/dist/chunks/pagination-Duu8Xw3w.mjs.map +0 -1
- package/dist/chunks/popover-CstNJ6EN.mjs +0 -2
- package/dist/chunks/popover-CstNJ6EN.mjs.map +0 -1
- package/dist/chunks/progress-sKEf-fjz.mjs +0 -2
- package/dist/chunks/progress-sKEf-fjz.mjs.map +0 -1
- package/dist/chunks/scroll-area-B-ktzHvu.mjs +0 -2
- package/dist/chunks/scroll-area-B-ktzHvu.mjs.map +0 -1
- package/dist/chunks/select-DqeznJec.mjs +0 -2
- package/dist/chunks/select-DqeznJec.mjs.map +0 -1
- package/dist/chunks/skeleton-cSOJ-vH8.mjs +0 -2
- package/dist/chunks/sortable-BX5MRGOc.mjs +0 -2
- package/dist/chunks/sortable-BX5MRGOc.mjs.map +0 -1
- package/dist/chunks/table-BGjJ1DhO.mjs +0 -2
- package/dist/chunks/table-BGjJ1DhO.mjs.map +0 -1
- package/dist/chunks/tslib.es6-DnJNy3VA.mjs.map +0 -1
- package/dist/chunks/utils-C6LYO_CH.mjs +0 -2
- package/dist/chunks/utils-C6LYO_CH.mjs.map +0 -1
- package/dist/chunks/x-DjF9gicP.mjs +0 -2
- package/dist/chunks/x-DjF9gicP.mjs.map +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs"],"sourcesContent":["import { rectToClientRect, detectOverflow as detectOverflow$1, offset as offset$1, autoPlacement as autoPlacement$1, shift as shift$1, flip as flip$1, size as size$1, hide as hide$1, arrow as arrow$1, inline as inline$1, limitShift as limitShift$1, computePosition as computePosition$1 } from '@floating-ui/core';\nimport { round, createCoords, max, min, floor } from '@floating-ui/utils';\nimport { getComputedStyle, isHTMLElement, isElement, getWindow, isWebKit, getFrameElement, getNodeScroll, getDocumentElement, isTopLayer, getNodeName, isOverflowElement, getOverflowAncestors, getParentNode, isLastTraversableNode, isContainingBlock, isTableElement, getContainingBlock } from '@floating-ui/utils/dom';\nexport { getOverflowAncestors } from '@floating-ui/utils/dom';\n\nfunction getCssDimensions(element) {\n const css = getComputedStyle(element);\n // In testing environments, the `width` and `height` properties are empty\n // strings for SVG elements, returning NaN. Fallback to `0` in this case.\n let width = parseFloat(css.width) || 0;\n let height = parseFloat(css.height) || 0;\n const hasOffset = isHTMLElement(element);\n const offsetWidth = hasOffset ? element.offsetWidth : width;\n const offsetHeight = hasOffset ? element.offsetHeight : height;\n const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;\n if (shouldFallback) {\n width = offsetWidth;\n height = offsetHeight;\n }\n return {\n width,\n height,\n $: shouldFallback\n };\n}\n\nfunction unwrapElement(element) {\n return !isElement(element) ? element.contextElement : element;\n}\n\nfunction getScale(element) {\n const domElement = unwrapElement(element);\n if (!isHTMLElement(domElement)) {\n return createCoords(1);\n }\n const rect = domElement.getBoundingClientRect();\n const {\n width,\n height,\n $\n } = getCssDimensions(domElement);\n let x = ($ ? round(rect.width) : rect.width) / width;\n let y = ($ ? round(rect.height) : rect.height) / height;\n\n // 0, NaN, or Infinity should always fallback to 1.\n\n if (!x || !Number.isFinite(x)) {\n x = 1;\n }\n if (!y || !Number.isFinite(y)) {\n y = 1;\n }\n return {\n x,\n y\n };\n}\n\nconst noOffsets = /*#__PURE__*/createCoords(0);\nfunction getVisualOffsets(element) {\n const win = getWindow(element);\n if (!isWebKit() || !win.visualViewport) {\n return noOffsets;\n }\n return {\n x: win.visualViewport.offsetLeft,\n y: win.visualViewport.offsetTop\n };\n}\nfunction shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {\n return false;\n }\n return isFixed;\n}\n\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n const clientRect = element.getBoundingClientRect();\n const domElement = unwrapElement(element);\n let scale = createCoords(1);\n if (includeScale) {\n if (offsetParent) {\n if (isElement(offsetParent)) {\n scale = getScale(offsetParent);\n }\n } else {\n scale = getScale(element);\n }\n }\n const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);\n let x = (clientRect.left + visualOffsets.x) / scale.x;\n let y = (clientRect.top + visualOffsets.y) / scale.y;\n let width = clientRect.width / scale.x;\n let height = clientRect.height / scale.y;\n if (domElement) {\n const win = getWindow(domElement);\n const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;\n let currentWin = win;\n let currentIFrame = getFrameElement(currentWin);\n while (currentIFrame && offsetParent && offsetWin !== currentWin) {\n const iframeScale = getScale(currentIFrame);\n const iframeRect = currentIFrame.getBoundingClientRect();\n const css = getComputedStyle(currentIFrame);\n const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;\n const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;\n x *= iframeScale.x;\n y *= iframeScale.y;\n width *= iframeScale.x;\n height *= iframeScale.y;\n x += left;\n y += top;\n currentWin = getWindow(currentIFrame);\n currentIFrame = getFrameElement(currentWin);\n }\n }\n return rectToClientRect({\n width,\n height,\n x,\n y\n });\n}\n\n// If <html> has a CSS width greater than the viewport, then this will be\n// incorrect for RTL.\nfunction getWindowScrollBarX(element, rect) {\n const leftScroll = getNodeScroll(element).scrollLeft;\n if (!rect) {\n return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;\n }\n return rect.left + leftScroll;\n}\n\nfunction getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {\n if (ignoreScrollbarX === void 0) {\n ignoreScrollbarX = false;\n }\n const htmlRect = documentElement.getBoundingClientRect();\n const x = htmlRect.left + scroll.scrollLeft - (ignoreScrollbarX ? 0 :\n // RTL <body> scrollbar.\n getWindowScrollBarX(documentElement, htmlRect));\n const y = htmlRect.top + scroll.scrollTop;\n return {\n x,\n y\n };\n}\n\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n let {\n elements,\n rect,\n offsetParent,\n strategy\n } = _ref;\n const isFixed = strategy === 'fixed';\n const documentElement = getDocumentElement(offsetParent);\n const topLayer = elements ? isTopLayer(elements.floating) : false;\n if (offsetParent === documentElement || topLayer && isFixed) {\n return rect;\n }\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n let scale = createCoords(1);\n const offsets = createCoords(0);\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isHTMLElement(offsetParent)) {\n const offsetRect = getBoundingClientRect(offsetParent);\n scale = getScale(offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n }\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll, true) : createCoords(0);\n return {\n width: rect.width * scale.x,\n height: rect.height * scale.y,\n x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,\n y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y\n };\n}\n\nfunction getClientRects(element) {\n return Array.from(element.getClientRects());\n}\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable.\nfunction getDocumentRect(element) {\n const html = getDocumentElement(element);\n const scroll = getNodeScroll(element);\n const body = element.ownerDocument.body;\n const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);\n const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);\n let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n const y = -scroll.scrollTop;\n if (getComputedStyle(body).direction === 'rtl') {\n x += max(html.clientWidth, body.clientWidth) - width;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\nfunction getViewportRect(element, strategy) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n const visualViewportBased = isWebKit();\n if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\n// Returns the inner client rect, subtracting scrollbars if present.\nfunction getInnerBoundingClientRect(element, strategy) {\n const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');\n const top = clientRect.top + element.clientTop;\n const left = clientRect.left + element.clientLeft;\n const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);\n const width = element.clientWidth * scale.x;\n const height = element.clientHeight * scale.y;\n const x = left * scale.x;\n const y = top * scale.y;\n return {\n width,\n height,\n x,\n y\n };\n}\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n let rect;\n if (clippingAncestor === 'viewport') {\n rect = getViewportRect(element, strategy);\n } else if (clippingAncestor === 'document') {\n rect = getDocumentRect(getDocumentElement(element));\n } else if (isElement(clippingAncestor)) {\n rect = getInnerBoundingClientRect(clippingAncestor, strategy);\n } else {\n const visualOffsets = getVisualOffsets(element);\n rect = {\n x: clippingAncestor.x - visualOffsets.x,\n y: clippingAncestor.y - visualOffsets.y,\n width: clippingAncestor.width,\n height: clippingAncestor.height\n };\n }\n return rectToClientRect(rect);\n}\nfunction hasFixedPositionAncestor(element, stopNode) {\n const parentNode = getParentNode(element);\n if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {\n return false;\n }\n return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);\n}\n\n// A \"clipping ancestor\" is an `overflow` element with the characteristic of\n// clipping (or hiding) child elements. This returns all clipping ancestors\n// of the given element up the tree.\nfunction getClippingElementAncestors(element, cache) {\n const cachedResult = cache.get(element);\n if (cachedResult) {\n return cachedResult;\n }\n let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');\n let currentContainingBlockComputedStyle = null;\n const elementIsFixed = getComputedStyle(element).position === 'fixed';\n let currentNode = elementIsFixed ? getParentNode(element) : element;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n const computedStyle = getComputedStyle(currentNode);\n const currentNodeIsContaining = isContainingBlock(currentNode);\n if (!currentNodeIsContaining && computedStyle.position === 'fixed') {\n currentContainingBlockComputedStyle = null;\n }\n const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);\n if (shouldDropCurrentNode) {\n // Drop non-containing blocks.\n result = result.filter(ancestor => ancestor !== currentNode);\n } else {\n // Record last containing block for next iteration.\n currentContainingBlockComputedStyle = computedStyle;\n }\n currentNode = getParentNode(currentNode);\n }\n cache.set(element, result);\n return result;\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping ancestors.\nfunction getClippingRect(_ref) {\n let {\n element,\n boundary,\n rootBoundary,\n strategy\n } = _ref;\n const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);\n const clippingAncestors = [...elementClippingAncestors, rootBoundary];\n const firstClippingAncestor = clippingAncestors[0];\n const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {\n const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));\n return {\n width: clippingRect.right - clippingRect.left,\n height: clippingRect.bottom - clippingRect.top,\n x: clippingRect.left,\n y: clippingRect.top\n };\n}\n\nfunction getDimensions(element) {\n const {\n width,\n height\n } = getCssDimensions(element);\n return {\n width,\n height\n };\n}\n\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const isFixed = strategy === 'fixed';\n const rect = getBoundingClientRect(element, true, isFixed, offsetParent);\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n const offsets = createCoords(0);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isOffsetParentAnElement) {\n const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n } else if (documentElement) {\n // If the <body> scrollbar appears on the left (e.g. RTL systems). Use\n // Firefox with layout.scrollbar.side = 3 in about:config to test this.\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);\n const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;\n const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;\n return {\n x,\n y,\n width: rect.width,\n height: rect.height\n };\n}\n\nfunction isStaticPositioned(element) {\n return getComputedStyle(element).position === 'static';\n}\n\nfunction getTrueOffsetParent(element, polyfill) {\n if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {\n return null;\n }\n if (polyfill) {\n return polyfill(element);\n }\n let rawOffsetParent = element.offsetParent;\n\n // Firefox returns the <html> element as the offsetParent if it's non-static,\n // while Chrome and Safari return the <body> element. The <body> element must\n // be used to perform the correct calculations even if the <html> element is\n // non-static.\n if (getDocumentElement(element) === rawOffsetParent) {\n rawOffsetParent = rawOffsetParent.ownerDocument.body;\n }\n return rawOffsetParent;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nfunction getOffsetParent(element, polyfill) {\n const win = getWindow(element);\n if (isTopLayer(element)) {\n return win;\n }\n if (!isHTMLElement(element)) {\n let svgOffsetParent = getParentNode(element);\n while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {\n if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {\n return svgOffsetParent;\n }\n svgOffsetParent = getParentNode(svgOffsetParent);\n }\n return win;\n }\n let offsetParent = getTrueOffsetParent(element, polyfill);\n while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {\n offsetParent = getTrueOffsetParent(offsetParent, polyfill);\n }\n if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {\n return win;\n }\n return offsetParent || getContainingBlock(element) || win;\n}\n\nconst getElementRects = async function (data) {\n const getOffsetParentFn = this.getOffsetParent || getOffsetParent;\n const getDimensionsFn = this.getDimensions;\n const floatingDimensions = await getDimensionsFn(data.floating);\n return {\n reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),\n floating: {\n x: 0,\n y: 0,\n width: floatingDimensions.width,\n height: floatingDimensions.height\n }\n };\n};\n\nfunction isRTL(element) {\n return getComputedStyle(element).direction === 'rtl';\n}\n\nconst platform = {\n convertOffsetParentRelativeRectToViewportRelativeRect,\n getDocumentElement,\n getClippingRect,\n getOffsetParent,\n getElementRects,\n getClientRects,\n getDimensions,\n getScale,\n isElement,\n isRTL\n};\n\nfunction rectsAreEqual(a, b) {\n return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;\n}\n\n// https://samthor.au/2021/observing-dom/\nfunction observeMove(element, onMove) {\n let io = null;\n let timeoutId;\n const root = getDocumentElement(element);\n function cleanup() {\n var _io;\n clearTimeout(timeoutId);\n (_io = io) == null || _io.disconnect();\n io = null;\n }\n function refresh(skip, threshold) {\n if (skip === void 0) {\n skip = false;\n }\n if (threshold === void 0) {\n threshold = 1;\n }\n cleanup();\n const elementRectForRootMargin = element.getBoundingClientRect();\n const {\n left,\n top,\n width,\n height\n } = elementRectForRootMargin;\n if (!skip) {\n onMove();\n }\n if (!width || !height) {\n return;\n }\n const insetTop = floor(top);\n const insetRight = floor(root.clientWidth - (left + width));\n const insetBottom = floor(root.clientHeight - (top + height));\n const insetLeft = floor(left);\n const rootMargin = -insetTop + \"px \" + -insetRight + \"px \" + -insetBottom + \"px \" + -insetLeft + \"px\";\n const options = {\n rootMargin,\n threshold: max(0, min(1, threshold)) || 1\n };\n let isFirstUpdate = true;\n function handleObserve(entries) {\n const ratio = entries[0].intersectionRatio;\n if (ratio !== threshold) {\n if (!isFirstUpdate) {\n return refresh();\n }\n if (!ratio) {\n // If the reference is clipped, the ratio is 0. Throttle the refresh\n // to prevent an infinite loop of updates.\n timeoutId = setTimeout(() => {\n refresh(false, 1e-7);\n }, 1000);\n } else {\n refresh(false, ratio);\n }\n }\n if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {\n // It's possible that even though the ratio is reported as 1, the\n // element is not actually fully within the IntersectionObserver's root\n // area anymore. This can happen under performance constraints. This may\n // be a bug in the browser's IntersectionObserver implementation. To\n // work around this, we compare the element's bounding rect now with\n // what it was at the time we created the IntersectionObserver. If they\n // are not equal then the element moved, so we refresh.\n refresh();\n }\n isFirstUpdate = false;\n }\n\n // Older browsers don't support a `document` as the root and will throw an\n // error.\n try {\n io = new IntersectionObserver(handleObserve, {\n ...options,\n // Handle <iframe>s\n root: root.ownerDocument\n });\n } catch (e) {\n io = new IntersectionObserver(handleObserve, options);\n }\n io.observe(element);\n }\n refresh(true);\n return cleanup;\n}\n\n/**\n * Automatically updates the position of the floating element when necessary.\n * Should only be called when the floating element is mounted on the DOM or\n * visible on the screen.\n * @returns cleanup function that should be invoked when the floating element is\n * removed from the DOM or hidden from the screen.\n * @see https://floating-ui.com/docs/autoUpdate\n */\nfunction autoUpdate(reference, floating, update, options) {\n if (options === void 0) {\n options = {};\n }\n const {\n ancestorScroll = true,\n ancestorResize = true,\n elementResize = typeof ResizeObserver === 'function',\n layoutShift = typeof IntersectionObserver === 'function',\n animationFrame = false\n } = options;\n const referenceEl = unwrapElement(reference);\n const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.addEventListener('scroll', update, {\n passive: true\n });\n ancestorResize && ancestor.addEventListener('resize', update);\n });\n const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;\n let reobserveFrame = -1;\n let resizeObserver = null;\n if (elementResize) {\n resizeObserver = new ResizeObserver(_ref => {\n let [firstEntry] = _ref;\n if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {\n // Prevent update loops when using the `size` middleware.\n // https://github.com/floating-ui/floating-ui/issues/1740\n resizeObserver.unobserve(floating);\n cancelAnimationFrame(reobserveFrame);\n reobserveFrame = requestAnimationFrame(() => {\n var _resizeObserver;\n (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);\n });\n }\n update();\n });\n if (referenceEl && !animationFrame) {\n resizeObserver.observe(referenceEl);\n }\n resizeObserver.observe(floating);\n }\n let frameId;\n let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n if (animationFrame) {\n frameLoop();\n }\n function frameLoop() {\n const nextRefRect = getBoundingClientRect(reference);\n if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {\n update();\n }\n prevRefRect = nextRefRect;\n frameId = requestAnimationFrame(frameLoop);\n }\n update();\n return () => {\n var _resizeObserver2;\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.removeEventListener('scroll', update);\n ancestorResize && ancestor.removeEventListener('resize', update);\n });\n cleanupIo == null || cleanupIo();\n (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();\n resizeObserver = null;\n if (animationFrame) {\n cancelAnimationFrame(frameId);\n }\n };\n}\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nconst detectOverflow = detectOverflow$1;\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = offset$1;\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = autoPlacement$1;\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = shift$1;\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = flip$1;\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = size$1;\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = hide$1;\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = arrow$1;\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = inline$1;\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = limitShift$1;\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n */\nconst computePosition = (reference, floating, options) => {\n // This caches the expensive `getClippingElementAncestors` function so that\n // multiple lifecycle resets re-use the same result. It only lives for a\n // single call. If other functions become expensive, we can add them as well.\n const cache = new Map();\n const mergedOptions = {\n platform,\n ...options\n };\n const platformWithCache = {\n ...mergedOptions.platform,\n _c: cache\n };\n return computePosition$1(reference, floating, {\n ...mergedOptions,\n platform: platformWithCache\n });\n};\n\nexport { arrow, autoPlacement, autoUpdate, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, platform, shift, size };\n"],"names":["getCssDimensions","element","css","getComputedStyle","width","parseFloat","height","hasOffset","isHTMLElement","offsetWidth","offsetHeight","shouldFallback","round","$","unwrapElement","isElement","contextElement","getScale","domElement","createCoords","rect","getBoundingClientRect","x","y","Number","isFinite","noOffsets","getVisualOffsets","win","getWindow","isWebKit","visualViewport","offsetLeft","offsetTop","includeScale","isFixedStrategy","offsetParent","clientRect","scale","visualOffsets","isFixed","floatingOffsetParent","shouldAddVisualOffsets","left","top","offsetWin","currentWin","currentIFrame","getFrameElement","iframeScale","iframeRect","clientLeft","paddingLeft","clientTop","paddingTop","rectToClientRect","getWindowScrollBarX","leftScroll","getNodeScroll","scrollLeft","getDocumentElement","getHTMLOffset","documentElement","scroll","ignoreScrollbarX","htmlRect","scrollTop","getClientRectFromClippingAncestor","clippingAncestor","strategy","html","clientWidth","clientHeight","visualViewportBased","getViewportRect","body","ownerDocument","max","scrollWidth","scrollHeight","direction","getDocumentRect","getInnerBoundingClientRect","hasFixedPositionAncestor","stopNode","parentNode","getParentNode","isLastTraversableNode","position","getRectRelativeToOffsetParent","isOffsetParentAnElement","offsets","getNodeName","isOverflowElement","offsetRect","htmlOffset","isStaticPositioned","getTrueOffsetParent","polyfill","rawOffsetParent","getOffsetParent","isTopLayer","svgOffsetParent","isTableElement","isContainingBlock","getContainingBlock","platform","convertOffsetParentRelativeRectToViewportRelativeRect","_ref","elements","topLayer","floating","getClippingRect","boundary","rootBoundary","clippingAncestors","cache","cachedResult","get","result","getOverflowAncestors","filter","el","currentContainingBlockComputedStyle","elementIsFixed","currentNode","computedStyle","currentNodeIsContaining","includes","ancestor","set","getClippingElementAncestors","this","_c","concat","firstClippingAncestor","clippingRect","reduce","accRect","right","min","bottom","getElementRects","async","data","getOffsetParentFn","getDimensionsFn","getDimensions","floatingDimensions","reference","getClientRects","Array","from","isRTL","rectsAreEqual","a","b","autoUpdate","update","options","ancestorScroll","ancestorResize","elementResize","ResizeObserver","layoutShift","IntersectionObserver","animationFrame","referenceEl","ancestors","forEach","addEventListener","passive","cleanupIo","onMove","timeoutId","io","root","cleanup","_io","clearTimeout","disconnect","refresh","skip","threshold","elementRectForRootMargin","rootMargin","floor","isFirstUpdate","handleObserve","entries","ratio","intersectionRatio","setTimeout","e","observe","observeMove","frameId","reobserveFrame","resizeObserver","firstEntry","target","unobserve","cancelAnimationFrame","requestAnimationFrame","_resizeObserver","prevRefRect","frameLoop","nextRefRect","_resizeObserver2","removeEventListener","offset","offset$1","shift","shift$1","flip","flip$1","size","size$1","hide","hide$1","arrow","arrow$1","limitShift","limitShift$1","computePosition","Map","mergedOptions","platformWithCache","computePosition$1"],"mappings":"ssBAKA,SAASA,EAAiBC,GACxB,MAAMC,EAAMC,EAAiBF,GAG7B,IAAIG,EAAQC,WAAWH,EAAIE,QAAU,EACjCE,EAASD,WAAWH,EAAII,SAAW,EACvC,MAAMC,EAAYC,EAAcP,GAC1BQ,EAAcF,EAAYN,EAAQQ,YAAcL,EAChDM,EAAeH,EAAYN,EAAQS,aAAeJ,EAClDK,EAAiBC,EAAMR,KAAWK,GAAeG,EAAMN,KAAYI,EAKzE,OAJIC,IACFP,EAAQK,EACRH,EAASI,GAEJ,CACLN,QACAE,SACAO,EAAGF,EAEP,CAEA,SAASG,EAAcb,GACrB,OAAQc,EAAUd,GAAoCA,EAAzBA,EAAQe,cACvC,CAEA,SAASC,EAAShB,GAChB,MAAMiB,EAAaJ,EAAcb,GACjC,IAAKO,EAAcU,GACjB,OAAOC,EAAa,GAEtB,MAAMC,EAAOF,EAAWG,yBAClBjB,MACJA,EAAKE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I8F,EAAcvC,EAAiBjJ,EAAsBgI,GAAa,KAatE,OAZIiB,GAGJ,SAASwC,IACP,MAAMC,EAAc1L,EAAsBgI,GACtCwD,IAAgBnD,EAAcmD,EAAaE,IAC7CjD,IAEF+C,EAAcE,EACdX,EAAUO,sBAAsBG,EAClC,CATEA,GAUFhD,IACO,KACL,IAAIkD,EACJxC,EAAUC,SAAQxC,IAChB+B,GAAkB/B,EAASgF,oBAAoB,SAAUnD,GACzDG,GAAkBhC,EAASgF,oBAAoB,SAAUnD,EAAAA,IAE9C,MAAbc,GAAqBA,IACkB,OAAtCoC,EAAmBV,IAA2BU,EAAiB5B,aAChEkB,EAAiB,KACbhC,GACFoC,qBAAqBN,EACvB,CAEJ,OAmBMc,EAASC,EAeTC,EAAQC,EAQRC,EAAOC,EAQPC,EAAOC,EAOPC,EAAOC,EAOPC,EAAQC,EAYRC,GAAaC,EAMbC,GAAkB,CAAC3E,EAAWtC,EAAUgD,KAI5C,MAAM3C,EAAQ,IAAI6G,IACZC,EAAgB,CACpBxH,cACGqD,GAECoE,EAAoB,IACrBD,EAAcxH,SACjB2B,GAAIjB,GAEN,OAAOgH,EAAkB/E,EAAWtC,EAAU,IACzCmH,EACHxH,SAAUyH,GACZ","x_google_ignoreList":[0]}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import{computePosition as e,offset as t,shift as n,flip as r,size as o,hide as i,limitShift as u,arrow as s}from"../../../dom/dist/floating-ui.dom/index.mjs";export{autoUpdate,platform}from"../../../dom/dist/floating-ui.dom/index.mjs";import*as f from"react";import{useLayoutEffect as a,useEffect as c}from"react";import*as l from"react-dom";var m="undefined"!=typeof document?a:c;function p(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!p(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!p(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function d(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function g(e,t){const n=d(e);return Math.round(t*n)/n}function y(e){const t=f.useRef(e);return m((()=>{t.current=e})),t}function w(t){void 0===t&&(t={});const{placement:n="bottom",strategy:r="absolute",middleware:o=[],platform:i,elements:{reference:u,floating:s}={},transform:a=!0,whileElementsMounted:c,open:w}=t,[h,x]=f.useState({x:0,y:0,strategy:r,placement:n,middlewareData:{},isPositioned:!1}),[S,b]=f.useState(o);p(S,o)||b(o);const[P,R]=f.useState(null),[M,j]=f.useState(null),k=f.useCallback((e=>{e!==A.current&&(A.current=e,R(e))}),[]),v=f.useCallback((e=>{e!==D.current&&(D.current=e,j(e))}),[]),C=u||P,O=s||M,A=f.useRef(null),D=f.useRef(null),$=f.useRef(h),z=null!=c,E=y(c),F=y(i),U=y(w),V=f.useCallback((()=>{if(!A.current||!D.current)return;const t={placement:n,strategy:r,middleware:S};F.current&&(t.platform=F.current),e(A.current,D.current,t).then((e=>{const t={...e,isPositioned:!1!==U.current};_.current&&!p($.current,t)&&($.current=t,l.flushSync((()=>{x(t)})))}))}),[S,n,r,F,U]);m((()=>{!1===w&&$.current.isPositioned&&($.current.isPositioned=!1,x((e=>({...e,isPositioned:!1}))))}),[w]);const _=f.useRef(!1);m((()=>(_.current=!0,()=>{_.current=!1})),[]),m((()=>{if(C&&(A.current=C),O&&(D.current=O),C&&O){if(E.current)return E.current(C,O,V);V()}}),[C,O,V,E,z]);const q=f.useMemo((()=>({reference:A,floating:D,setReference:k,setFloating:v})),[k,v]),B=f.useMemo((()=>({reference:C,floating:O})),[C,O]),G=f.useMemo((()=>{const e={position:r,left:0,top:0};if(!B.floating)return e;const t=g(B.floating,h.x),n=g(B.floating,h.y);return a?{...e,transform:"translate("+t+"px, "+n+"px)",...d(B.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}}),[r,a,B.floating,h.x,h.y]);return f.useMemo((()=>({...h,update:V,refs:q,elements:B,floatingStyles:G})),[h,V,q,B,G])}const h=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(o=n,{}.hasOwnProperty.call(o,"current"))?null!=n.current?s({element:n.current,padding:r}).fn(t):{}:n?s({element:n,padding:r}).fn(t):{};var o}}),x=(e,n)=>({...t(e),options:[e,n]}),S=(e,t)=>({...n(e),options:[e,t]}),b=(e,t)=>({...u(e),options:[e,t]}),P=(e,t)=>({...r(e),options:[e,t]}),R=(e,t)=>({...o(e),options:[e,t]}),M=(e,t)=>({...i(e),options:[e,t]}),j=(e,t)=>({...h(e),options:[e,t]});export{j as arrow,e as computePosition,P as flip,M as hide,b as limitShift,x as offset,S as shift,R as size,w as useFloating};
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs"],"sourcesContent":["import { computePosition, arrow as arrow$2, offset as offset$1, shift as shift$1, limitShift as limitShift$1, flip as flip$1, size as size$1, autoPlacement as autoPlacement$1, hide as hide$1, inline as inline$1 } from '@floating-ui/dom';\nexport { autoUpdate, computePosition, detectOverflow, getOverflowAncestors, platform } from '@floating-ui/dom';\nimport * as React from 'react';\nimport { useLayoutEffect, useEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\n\nvar index = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\n\n// Fork of `fast-deep-equal` that only does the comparisons we need and compares\n// functions\nfunction deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (typeof a !== typeof b) {\n return false;\n }\n if (typeof a === 'function' && a.toString() === b.toString()) {\n return true;\n }\n let length;\n let i;\n let keys;\n if (a && b && typeof a === 'object') {\n if (Array.isArray(a)) {\n length = a.length;\n if (length !== b.length) return false;\n for (i = length; i-- !== 0;) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) {\n return false;\n }\n for (i = length; i-- !== 0;) {\n if (!{}.hasOwnProperty.call(b, keys[i])) {\n return false;\n }\n }\n for (i = length; i-- !== 0;) {\n const key = keys[i];\n if (key === '_owner' && a.$$typeof) {\n continue;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return a !== a && b !== b;\n}\n\nfunction getDPR(element) {\n if (typeof window === 'undefined') {\n return 1;\n }\n const win = element.ownerDocument.defaultView || window;\n return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n const dpr = getDPR(element);\n return Math.round(value * dpr) / dpr;\n}\n\nfunction useLatestRef(value) {\n const ref = React.useRef(value);\n index(() => {\n ref.current = value;\n });\n return ref;\n}\n\n/**\n * Provides data to position a floating element.\n * @see https://floating-ui.com/docs/useFloating\n */\nfunction useFloating(options) {\n if (options === void 0) {\n options = {};\n }\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform,\n elements: {\n reference: externalReference,\n floating: externalFloating\n } = {},\n transform = true,\n whileElementsMounted,\n open\n } = options;\n const [data, setData] = React.useState({\n x: 0,\n y: 0,\n strategy,\n placement,\n middlewareData: {},\n isPositioned: false\n });\n const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);\n if (!deepEqual(latestMiddleware, middleware)) {\n setLatestMiddleware(middleware);\n }\n const [_reference, _setReference] = React.useState(null);\n const [_floating, _setFloating] = React.useState(null);\n const setReference = React.useCallback(node => {\n if (node !== referenceRef.current) {\n referenceRef.current = node;\n _setReference(node);\n }\n }, []);\n const setFloating = React.useCallback(node => {\n if (node !== floatingRef.current) {\n floatingRef.current = node;\n _setFloating(node);\n }\n }, []);\n const referenceEl = externalReference || _reference;\n const floatingEl = externalFloating || _floating;\n const referenceRef = React.useRef(null);\n const floatingRef = React.useRef(null);\n const dataRef = React.useRef(data);\n const hasWhileElementsMounted = whileElementsMounted != null;\n const whileElementsMountedRef = useLatestRef(whileElementsMounted);\n const platformRef = useLatestRef(platform);\n const openRef = useLatestRef(open);\n const update = React.useCallback(() => {\n if (!referenceRef.current || !floatingRef.current) {\n return;\n }\n const config = {\n placement,\n strategy,\n middleware: latestMiddleware\n };\n if (platformRef.current) {\n config.platform = platformRef.current;\n }\n computePosition(referenceRef.current, floatingRef.current, config).then(data => {\n const fullData = {\n ...data,\n // The floating element's position may be recomputed while it's closed\n // but still mounted (such as when transitioning out). To ensure\n // `isPositioned` will be `false` initially on the next open, avoid\n // setting it to `true` when `open === false` (must be specified).\n isPositioned: openRef.current !== false\n };\n if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {\n dataRef.current = fullData;\n ReactDOM.flushSync(() => {\n setData(fullData);\n });\n }\n });\n }, [latestMiddleware, placement, strategy, platformRef, openRef]);\n index(() => {\n if (open === false && dataRef.current.isPositioned) {\n dataRef.current.isPositioned = false;\n setData(data => ({\n ...data,\n isPositioned: false\n }));\n }\n }, [open]);\n const isMountedRef = React.useRef(false);\n index(() => {\n isMountedRef.current = true;\n return () => {\n isMountedRef.current = false;\n };\n }, []);\n index(() => {\n if (referenceEl) referenceRef.current = referenceEl;\n if (floatingEl) floatingRef.current = floatingEl;\n if (referenceEl && floatingEl) {\n if (whileElementsMountedRef.current) {\n return whileElementsMountedRef.current(referenceEl, floatingEl, update);\n }\n update();\n }\n }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);\n const refs = React.useMemo(() => ({\n reference: referenceRef,\n floating: floatingRef,\n setReference,\n setFloating\n }), [setReference, setFloating]);\n const elements = React.useMemo(() => ({\n reference: referenceEl,\n floating: floatingEl\n }), [referenceEl, floatingEl]);\n const floatingStyles = React.useMemo(() => {\n const initialStyles = {\n position: strategy,\n left: 0,\n top: 0\n };\n if (!elements.floating) {\n return initialStyles;\n }\n const x = roundByDPR(elements.floating, data.x);\n const y = roundByDPR(elements.floating, data.y);\n if (transform) {\n return {\n ...initialStyles,\n transform: \"translate(\" + x + \"px, \" + y + \"px)\",\n ...(getDPR(elements.floating) >= 1.5 && {\n willChange: 'transform'\n })\n };\n }\n return {\n position: strategy,\n left: x,\n top: y\n };\n }, [strategy, transform, elements.floating, data.x, data.y]);\n return React.useMemo(() => ({\n ...data,\n update,\n refs,\n elements,\n floatingStyles\n }), [data, update, refs, elements, floatingStyles]);\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow$1 = options => {\n function isRef(value) {\n return {}.hasOwnProperty.call(value, 'current');\n }\n return {\n name: 'arrow',\n options,\n fn(state) {\n const {\n element,\n padding\n } = typeof options === 'function' ? options(state) : options;\n if (element && isRef(element)) {\n if (element.current != null) {\n return arrow$2({\n element: element.current,\n padding\n }).fn(state);\n }\n return {};\n }\n if (element) {\n return arrow$2({\n element,\n padding\n }).fn(state);\n }\n return {};\n }\n };\n};\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = (options, deps) => ({\n ...offset$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = (options, deps) => ({\n ...shift$1(options),\n options: [options, deps]\n});\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = (options, deps) => ({\n ...limitShift$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = (options, deps) => ({\n ...flip$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = (options, deps) => ({\n ...size$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = (options, deps) => ({\n ...autoPlacement$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = (options, deps) => ({\n ...hide$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = (options, deps) => ({\n ...inline$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = (options, deps) => ({\n ...arrow$1(options),\n options: [options, deps]\n});\n\nexport { arrow, autoPlacement, flip, hide, inline, limitShift, offset, shift, size, useFloating };\n"],"names":["index","document","useLayoutEffect","useEffect","deepEqual","a","b","toString","length","i","keys","Array","isArray","Object","hasOwnProperty","call","key","$$typeof","getDPR","element","window","ownerDocument","defaultView","devicePixelRatio","roundByDPR","value","dpr","Math","round","useLatestRef","ref","React","useRef","current","useFloating","options","placement","strategy","middleware","platform","elements","reference","externalReference","floating","externalFloating","transform","whileElementsMounted","open","data","setData","useState","x","y","middlewareData","isPositioned","latestMiddleware","setLatestMiddleware","_reference","_setReference","_floating","_setFloating","setReference","useCallback","node","referenceRef","setFloating","floatingRef","referenceEl","floatingEl","dataRef","hasWhileElementsMounted","whileElementsMountedRef","platformRef","openRef","update","config","computePosition","then","fullData","isMountedRef","ReactDOM","flushSync","refs","useMemo","floatingStyles","initialStyles","position","left","top","willChange","arrow$1","name","fn","state","padding","arrow$2","offset","deps","offset$1","shift","shift$1","limitShift","limitShift$1","flip","flip$1","size","size$1","hide","hide$1","arrow"],"mappings":"sVAMA,IAAIA,EAA4B,oBAAbC,SAA2BC,EAAkBC,EAIhE,SAASC,EAAUC,EAAGC,GACpB,GAAID,IAAMC,EACR,OAAO,EAET,UAAWD,UAAaC,EACtB,OAAO,EAET,GAAiB,mBAAND,GAAoBA,EAAEE,aAAeD,EAAEC,WAChD,OAAO,EAET,IAAIC,EACAC,EACAC,EACJ,GAAIL,GAAKC,GAAkB,iBAAND,EAAgB,CACnC,GAAIM,MAAMC,QAAQP,GAAI,CAEpB,GADAG,EAASH,EAAEG,OACPA,IAAWF,EAAEE,OAAQ,OAAO,EAChC,IAAKC,EAAID,EAAgB,GAARC,KACf,IAAKL,EAAUC,EAAEI,GAAIH,EAAEG,IACrB,OAAO,EAGX,OAAO,CACT,CAGA,GAFAC,EAAOG,OAAOH,KAAKL,GACnBG,EAASE,EAAKF,OACVA,IAAWK,OAAOH,KAAKJ,GAAGE,OAC5B,OAAO,EAET,IAAKC,EAAID,EAAgB,GAARC,KACf,IAAK,CAAC,EAAEK,eAAeC,KAAKT,EAAGI,EAAKD,IAClC,OAAO,EAGX,IAAKA,EAAID,EAAgB,GAARC,KAAY,CAC3B,MAAMO,EAAMN,EAAKD,GACjB,IAAY,WAARO,IAAoBX,EAAEY,YAGrBb,EAAUC,EAAEW,GAAMV,EAAEU,IACvB,OAAO,CAEX,CACA,OAAO,CACT,CACA,OAAOX,GAAMA,GAAKC,GAAMA,CAC1B,CAEA,SAASY,EAAOC,GACd,GAAsB,oBAAXC,OACT,OAAO,EAGT,OADYD,EAAQE,cAAcC,aAAeF,QACtCG,kBAAoB,CACjC,CAEA,SAASC,EAAWL,EAASM,G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,KAAU,IAC5BW,EAAOzE,GACVA,QAAS,CAACA,EAAS8D,KAmBfY,EAAQ,CAAC1E,EAAS8D,KAAU,IAC7BP,EAAQvD,GACXA,QAAS,CAACA,EAAS8D","x_google_ignoreList":[0]}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
const t=["top","right","bottom","left"],n=Math.min,o=Math.max,r=Math.round,e=Math.floor,i=t=>({x:t,y:t}),u={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function f(t,r,e){return o(t,n(r,e))}function h(t,n){return"function"==typeof t?t(n):t}function a(t){return t.split("-")[0]}function l(t){return t.split("-")[1]}function p(t){return"x"===t?"y":"x"}function s(t){return"y"===t?"height":"width"}function g(t){return["top","bottom"].includes(a(t))?"y":"x"}function m(t){return p(g(t))}function b(t,n,o){void 0===o&&(o=!1);const r=l(t),e=m(t),i=s(e);let u="x"===e?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return n.reference[i]>n.floating[i]&&(u=w(u)),[u,w(u)]}function d(t){const n=w(t);return[x(t),n,x(n)]}function x(t){return t.replace(/start|end/g,(t=>c[t]))}function y(t,n,o,r){const e=l(t);let i=function(t,n,o){const r=["left","right"],e=["right","left"],i=["top","bottom"],u=["bottom","top"];switch(t){case"top":case"bottom":return o?n?e:r:n?r:e;case"left":case"right":return n?i:u;default:return[]}}(a(t),"start"===o,r);return e&&(i=i.map((t=>t+"-"+e)),n&&(i=i.concat(i.map(x)))),i}function w(t){return t.replace(/left|right|bottom|top/g,(t=>u[t]))}function M(t){return{top:0,right:0,bottom:0,left:0,...t}}function v(t){return"number"!=typeof t?M(t):{top:t,right:t,bottom:t,left:t}}function j(t){const{x:n,y:o,width:r,height:e}=t;return{width:r,height:e,top:o,left:n,right:n+r,bottom:o+e,x:n,y:o}}export{f as clamp,i as createCoords,h as evaluate,M as expandPaddingObject,e as floor,l as getAlignment,m as getAlignmentAxis,b as getAlignmentSides,s as getAxisLength,d as getExpandedPlacements,x as getOppositeAlignmentPlacement,p as getOppositeAxis,y as getOppositeAxisPlacements,w as getOppositePlacement,v as getPaddingObject,a as getSide,g as getSideAxis,o as max,n as min,j as rectToClientRect,r as round,t as sides};
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs"],"sourcesContent":["/**\n * Custom positioning reference element.\n * @see https://floating-ui.com/docs/virtual-elements\n */\n\nconst sides = ['top', 'right', 'bottom', 'left'];\nconst alignments = ['start', 'end'];\nconst placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + \"-\" + alignments[0], side + \"-\" + alignments[1]), []);\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nconst floor = Math.floor;\nconst createCoords = v => ({\n x: v,\n y: v\n});\nconst oppositeSideMap = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nconst oppositeAlignmentMap = {\n start: 'end',\n end: 'start'\n};\nfunction clamp(start, value, end) {\n return max(start, min(value, end));\n}\nfunction evaluate(value, param) {\n return typeof value === 'function' ? value(param) : value;\n}\nfunction getSide(placement) {\n return placement.split('-')[0];\n}\nfunction getAlignment(placement) {\n return placement.split('-')[1];\n}\nfunction getOppositeAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\nfunction getAxisLength(axis) {\n return axis === 'y' ? 'height' : 'width';\n}\nfunction getSideAxis(placement) {\n return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';\n}\nfunction getAlignmentAxis(placement) {\n return getOppositeAxis(getSideAxis(placement));\n}\nfunction getAlignmentSides(placement, rects, rtl) {\n if (rtl === void 0) {\n rtl = false;\n }\n const alignment = getAlignment(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const length = getAxisLength(alignmentAxis);\n let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';\n if (rects.reference[length] > rects.floating[length]) {\n mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n }\n return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];\n}\nfunction getExpandedPlacements(placement) {\n const oppositePlacement = getOppositePlacement(placement);\n return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\nfunction getOppositeAlignmentPlacement(placement) {\n return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);\n}\nfunction getSideList(side, isStart, rtl) {\n const lr = ['left', 'right'];\n const rl = ['right', 'left'];\n const tb = ['top', 'bottom'];\n const bt = ['bottom', 'top'];\n switch (side) {\n case 'top':\n case 'bottom':\n if (rtl) return isStart ? rl : lr;\n return isStart ? lr : rl;\n case 'left':\n case 'right':\n return isStart ? tb : bt;\n default:\n return [];\n }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n const alignment = getAlignment(placement);\n let list = getSideList(getSide(placement), direction === 'start', rtl);\n if (alignment) {\n list = list.map(side => side + \"-\" + alignment);\n if (flipAlignment) {\n list = list.concat(list.map(getOppositeAlignmentPlacement));\n }\n }\n return list;\n}\nfunction getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);\n}\nfunction expandPaddingObject(padding) {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n ...padding\n };\n}\nfunction getPaddingObject(padding) {\n return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n top: padding,\n right: padding,\n bottom: padding,\n left: padding\n };\n}\nfunction rectToClientRect(rect) {\n const {\n x,\n y,\n width,\n height\n } = rect;\n return {\n width,\n height,\n top: y,\n left: x,\n right: x + width,\n bottom: y + height,\n x,\n y\n };\n}\n\nexport { alignments, clamp, createCoords, evaluate, expandPaddingObject, floor, getAlignment, getAlignmentAxis, getAlignmentSides, getAxisLength, getExpandedPlacements, getOppositeAlignmentPlacement, getOppositeAxis, getOppositeAxisPlacements, getOppositePlacement, getPaddingObject, getSide, getSideAxis, max, min, placements, rectToClientRect, round, sides };\n"],"names":["sides","min","Math","max","round","floor","createCoords","v","x","y","oppositeSideMap","left","right","bottom","top","oppositeAlignmentMap","start","end","clamp","value","evaluate","param","getSide","placement","split","getAlignment","getOppositeAxis","axis","getAxisLength","getSideAxis","includes","getAlignmentAxis","getAlignmentSides","rects","rtl","alignment","alignmentAxis","length","mainAlignmentSide","reference","floating","getOppositePlacement","getExpandedPlacements","oppositePlacement","getOppositeAlignmentPlacement","replace","getOppositeAxisPlacements","flipAlignment","direction","list","side","isStart","lr","rl","tb","bt","getSideList","map","concat","expandPaddingObject","padding","getPaddingObject","rectToClientRect","rect","width","height"],"mappings":"MAKMA,EAAQ,CAAC,MAAO,QAAS,SAAU,QAGnCC,EAAMC,KAAKD,IACXE,EAAMD,KAAKC,IACXC,EAAQF,KAAKE,MACbC,EAAQH,KAAKG,MACbC,EAAeC,IAAM,CACzBC,EAAGD,EACHE,EAAGF,IAECG,EAAkB,CACtBC,KAAM,QACNC,MAAO,OACPC,OAAQ,MACRC,IAAK,UAEDC,EAAuB,CAC3BC,MAAO,MACPC,IAAK,SAEP,SAASC,EAAMF,EAAOG,EAAOF,GAC3B,OAAOd,EAAIa,EAAOf,EAAIkB,EAAOF,GAC/B,CACA,SAASG,EAASD,EAAOE,GACvB,MAAwB,mBAAVF,EAAuBA,EAAME,GAASF,CACtD,CACA,SAASG,EAAQC,GACf,OAAOA,EAAUC,MAAM,KAAK,EAC9B,CACA,SAASC,EAAaF,GACpB,OAAOA,EAAUC,MAAM,KAAK,EAC9B,CACA,SAASE,EAAgBC,GACvB,MAAgB,MAATA,EAAe,IAAM,GAC9B,CACA,SAASC,EAAcD,GACrB,MAAgB,MAATA,EAAe,SAAW,OACnC,CACA,SAASE,EAAYN,GACnB,MAAO,CAAC,MAAO,UAAUO,SAASR,EAAQC,IAAc,IAAM,GAChE,CACA,SAASQ,EAAiBR,GACxB,OAAOG,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B,MAAO,CACL9C,IAAK,EACLF,MAAO,EACPC,OAAQ,EACRF,KAAM,KACHiD,EAEP,CACA,SAASC,EAAiBD,GACxB,MAA0B,iBAAZA,EAAuBD,EAAoBC,GAAW,CAClE9C,IAAK8C,EACLhD,MAAOgD,EACP/C,OAAQ+C,EACRjD,KAAMiD,EAEV,CACA,SAASE,EAAiBC,GACxB,MAAMvD,EACJA,EAACC,EACDA,EAACuD,MACDA,EAAKC,OACLA,GACEF,EACJ,MAAO,CACLC,QACAC,SACAnD,IAAKL,EACLE,KAAMH,EACNI,MAAOJ,EAAIwD,EACXnD,OAAQJ,EAAIwD,EACZzD,IACAC,IAEJ","x_google_ignoreList":[0]}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
function n(){return"undefined"!=typeof window}function t(n){return r(n)?(n.nodeName||"").toLowerCase():"#document"}function e(n){var t;return(null==n||null==(t=n.ownerDocument)?void 0:t.defaultView)||window}function o(n){var t;return null==(t=(r(n)?n.ownerDocument:n.document)||window.document)?void 0:t.documentElement}function r(t){return!!n()&&(t instanceof Node||t instanceof e(t).Node)}function c(t){return!!n()&&(t instanceof Element||t instanceof e(t).Element)}function u(t){return!!n()&&(t instanceof HTMLElement||t instanceof e(t).HTMLElement)}function i(t){return!(!n()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof e(t).ShadowRoot)}function l(n){const{overflow:t,overflowX:e,overflowY:o,display:r}=w(n);return/auto|scroll|overlay|hidden|clip/.test(t+o+e)&&!["inline","contents"].includes(r)}function f(n){return["table","td","th"].includes(t(n))}function s(n){return[":popover-open",":modal"].some((t=>{try{return n.matches(t)}catch(n){return!1}}))}function a(n){const t=p(),e=c(n)?w(n):n;return["transform","translate","scale","rotate","perspective"].some((n=>!!e[n]&&"none"!==e[n]))||!!e.containerType&&"normal"!==e.containerType||!t&&!!e.backdropFilter&&"none"!==e.backdropFilter||!t&&!!e.filter&&"none"!==e.filter||["transform","translate","scale","rotate","perspective","filter"].some((n=>(e.willChange||"").includes(n)))||["paint","layout","strict","content"].some((n=>(e.contain||"").includes(n)))}function d(n){let t=y(n);for(;u(t)&&!m(t);){if(a(t))return t;if(s(t))return null;t=y(t)}return null}function p(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function m(n){return["html","body","#document"].includes(t(n))}function w(n){return e(n).getComputedStyle(n)}function v(n){return c(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function y(n){if("html"===t(n))return n;const e=n.assignedSlot||n.parentNode||i(n)&&n.host||o(n);return i(e)?e.host:e}function h(n){const t=y(n);return m(t)?n.ownerDocument?n.ownerDocument.body:n.body:u(t)&&l(t)?t:h(t)}function S(n,t,o){var r;void 0===t&&(t=[]),void 0===o&&(o=!0);const c=h(n),u=c===(null==(r=n.ownerDocument)?void 0:r.body),i=e(c);if(u){const n=b(i);return t.concat(i,i.visualViewport||[],l(c)?c:[],n&&o?S(n):[])}return t.concat(c,S(c,[],o))}function b(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}export{w as getComputedStyle,d as getContainingBlock,o as getDocumentElement,b as getFrameElement,h as getNearestOverflowAncestor,t as getNodeName,v as getNodeScroll,S as getOverflowAncestors,y as getParentNode,e as getWindow,a as isContainingBlock,c as isElement,u as isHTMLElement,m as isLastTraversableNode,r as isNode,l as isOverflowElement,i as isShadowRoot,f as isTableElement,s as isTopLayer,p as isWebKit};
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"],"sourcesContent":["function hasWindow() {\n return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);\n}\nfunction isTableElement(element) {\n return ['table', 'td', 'th'].includes(getNodeName(element));\n}\nfunction isTopLayer(element) {\n return [':popover-open', ':modal'].some(selector => {\n try {\n return element.matches(selector);\n } catch (e) {\n return false;\n }\n });\n}\nfunction isContainingBlock(elementOrCss) {\n const webkit = isWebKit();\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n return ['transform', 'translate', 'scale', 'rotate', 'perspective'].some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (typeof CSS === 'undefined' || !CSS.supports) return false;\n return CSS.supports('-webkit-backdrop-filter', 'none');\n}\nfunction isLastTraversableNode(node) {\n return ['html', 'body', '#document'].includes(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return node.ownerDocument ? node.ownerDocument.body : node.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n }\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n}\nfunction getFrameElement(win) {\n return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n"],"names":["hasWindow","window","getNodeName","node","isNode","nodeName","toLowerCase","getWindow","_node$ownerDocument","ownerDocument","defaultView","getDocumentElement","_ref","document","documentElement","value","Node","isElement","Element","isHTMLElement","HTMLElement","isShadowRoot","ShadowRoot","isOverflowElement","element","overflow","overflowX","overflowY","display","getComputedStyle","test","includes","isTableElement","isTopLayer","some","selector","matches","e","isContainingBlock","elementOrCss","webkit","isWebKit","css","containerType","backdropFilter","filter","willChange","contain","getContainingBlock","currentNode","getParentNode","isLastTraversableNode","CSS","supports","getNodeScroll","scrollLeft","scrollTop","scrollX","scrollY","result","assignedSlot","parentNode","host","getNearestOverflowAncestor","body","getOverflowAncestors","list","traverseIframes","_node$ownerDocument2","scrollableAncestor","isBody","win","frameElement","getFrameElement","concat","visualViewport","parent","Object","getPrototypeOf"],"mappings":"AAAA,SAASA,IACP,MAAyB,oBAAXC,MAChB,CACA,SAASC,EAAYC,GACnB,OAAIC,EAAOD,IACDA,EAAKE,UAAY,IAAIC,cAKxB,WACT,CACA,SAASC,EAAUJ,GACjB,IAAIK,EACJ,OAAgB,MAARL,GAA8D,OAA7CK,EAAsBL,EAAKM,oBAAyB,EAASD,EAAoBE,cAAgBT,MAC5H,CACA,SAASU,EAAmBR,GAC1B,IAAIS,EACJ,OAA0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AA2B5D,GAChDmE,EAASD,KAAuE,OAA9CD,EAAuBjE,EAAKM,oBAAyB,EAAS2D,EAAqBJ,MACrHO,EAAMhE,EAAU8D,GACtB,GAAIC,EAAQ,CACV,MAAME,EAAeC,EAAgBF,GACrC,OAAOL,EAAKQ,OAAOH,EAAKA,EAAII,gBAAkB,GAAIpD,EAAkB8C,GAAsBA,EAAqB,GAAIG,GAAgBL,EAAkBF,EAAqBO,GAAgB,GAC5L,CACA,OAAON,EAAKQ,OAAOL,EAAoBJ,EAAqBI,EAAoB,GAAIF,GACtF,CACA,SAASM,EAAgBF,GACvB,OAAOA,EAAIK,QAAUC,OAAOC,eAAeP,EAAIK,QAAUL,EAAIC,aAAe,IAC9E","x_google_ignoreList":[0]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../node_modules/@radix-ui/number/dist/index.mjs"],"sourcesContent":["// packages/core/number/src/number.ts\nfunction clamp(value, [min, max]) {\n return Math.min(max, Math.max(min, value));\n}\nexport {\n clamp\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["clamp","value","min","max","Math"],"mappings":"AAAA,SAASA,EAAMC,GAAgBC,EAAKC,IAClC,OAAOC,KAAKF,IAAIC,EAAKC,KAAKD,IAAID,EAAKD,GACrC","x_google_ignoreList":[0]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../node_modules/@radix-ui/primitive/dist/index.mjs"],"sourcesContent":["// packages/core/primitive/src/primitive.tsx\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n return function handleEvent(event) {\n originalEventHandler?.(event);\n if (checkForDefaultPrevented === false || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\nexport {\n composeEventHandlers\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["composeEventHandlers","originalEventHandler","ourEventHandler","checkForDefaultPrevented","event","defaultPrevented"],"mappings":"AAAA,SAASA,EACPC,EACAC,GACAC,yBAAEA,GAA2B,GAAS,IAEtC,OAAO,SAAqBC,GAG1B,GAFAH,IAAuBG,IAEU,IAA7BD,IAAuCC,EAAMC,iBAC/C,OAAOH,IAAkBE,EAE7B,CACF","x_google_ignoreList":[0]}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
"use client";
|
2
|
+
import e from"react";import{createContextScope as r}from"../../../react-context/dist/index/index.mjs";import{createCollection as o}from"@radix-ui/react-collection";import{useComposedRefs as i}from"../../../react-compose-refs/dist/index/index.mjs";import{composeEventHandlers as t}from"../../../primitive/dist/index/index.mjs";import{useControllableState as n}from"../../../react-use-controllable-state/dist/index/index.mjs";import{Primitive as a}from"../../../react-primitive/dist/index/index.mjs";import{createCollapsibleScope as d,Root as c,Trigger as l,Content as s}from"../../../react-collapsible/dist/index/index.mjs";import{useId as p}from"../../../react-id/dist/index/index.mjs";import{useDirection as f}from"../../../react-direction/dist/index/index.mjs";import{jsx as m}from"react/jsx-runtime";var u="Accordion",b=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[h,v,x]=o(u),[w,A]=r(u,[x,d]),g=d(),_=e.forwardRef(((e,r)=>{const{type:o,...i}=e,t=i,n=i;return m(h.Provider,{scope:e.__scopeAccordion,children:"multiple"===o?m(j,{...n,ref:r}):m(k,{...t,ref:r})})}));_.displayName=u;var[y,C]=w(u),[I,R]=w(u,{collapsible:!1}),k=e.forwardRef(((r,o)=>{const{value:i,defaultValue:t,onValueChange:a=()=>{},collapsible:d=!1,...c}=r,[l,s]=n({prop:i,defaultProp:t,onChange:a});return m(y,{scope:r.__scopeAccordion,value:l?[l]:[],onItemOpen:s,onItemClose:e.useCallback((()=>d&&s("")),[d,s]),children:m(I,{scope:r.__scopeAccordion,collapsible:d,children:m(O,{...c,ref:o})})})})),j=e.forwardRef(((r,o)=>{const{value:i,defaultValue:t,onValueChange:a=()=>{},...d}=r,[c=[],l]=n({prop:i,defaultProp:t,onChange:a}),s=e.useCallback((e=>l(((r=[])=>[...r,e]))),[l]),p=e.useCallback((e=>l(((r=[])=>r.filter((r=>r!==e))))),[l]);return m(y,{scope:r.__scopeAccordion,value:c,onItemOpen:s,onItemClose:p,children:m(I,{scope:r.__scopeAccordion,collapsible:!0,children:m(O,{...d,ref:o})})})})),[D,N]=w(u),O=e.forwardRef(((r,o)=>{const{__scopeAccordion:n,disabled:d,dir:c,orientation:l="vertical",...s}=r,p=e.useRef(null),u=i(p,o),x=v(n),w="ltr"===f(c),A=t(r.onKeyDown,(e=>{if(!b.includes(e.key))return;const r=e.target,o=x().filter((e=>!e.ref.current?.disabled)),i=o.findIndex((e=>e.ref.current===r)),t=o.length;if(-1===i)return;e.preventDefault();let n=i;const a=t-1,d=()=>{n=i+1,n>a&&(n=0)},c=()=>{n=i-1,n<0&&(n=a)};switch(e.key){case"Home":n=0;break;case"End":n=a;break;case"ArrowRight":"horizontal"===l&&(w?d():c());break;case"ArrowDown":"vertical"===l&&d();break;case"ArrowLeft":"horizontal"===l&&(w?c():d());break;case"ArrowUp":"vertical"===l&&c()}const s=n%t;o[s].ref.current?.focus()}));return m(D,{scope:n,disabled:d,direction:c,orientation:l,children:m(h.Slot,{scope:n,children:m(a.div,{...s,"data-orientation":l,ref:u,onKeyDown:d?void 0:A})})})})),V="AccordionItem",[H,P]=w(V),z=e.forwardRef(((e,r)=>{const{__scopeAccordion:o,value:i,...t}=e,n=N(V,o),a=C(V,o),d=g(o),l=p(),s=i&&a.value.includes(i)||!1,f=n.disabled||e.disabled;return m(H,{scope:o,open:s,disabled:f,triggerId:l,children:m(c,{"data-orientation":n.orientation,"data-state":q(s),...d,...t,ref:r,disabled:f,open:s,onOpenChange:e=>{e?a.onItemOpen(i):a.onItemClose(i)}})})}));z.displayName=V;var E="AccordionHeader",K=e.forwardRef(((e,r)=>{const{__scopeAccordion:o,...i}=e,t=N(u,o),n=P(E,o);return m(a.h3,{"data-orientation":t.orientation,"data-state":q(n.open),"data-disabled":n.disabled?"":void 0,...i,ref:r})}));K.displayName=E;var L="AccordionTrigger",S=e.forwardRef(((e,r)=>{const{__scopeAccordion:o,...i}=e,t=N(u,o),n=P(L,o),a=R(L,o),d=g(o);return m(h.ItemSlot,{scope:o,children:m(l,{"aria-disabled":n.open&&!a.collapsible||void 0,"data-orientation":t.orientation,id:n.triggerId,...d,...i,ref:r})})}));S.displayName=L;var T="AccordionContent",U=e.forwardRef(((e,r)=>{const{__scopeAccordion:o,...i}=e,t=N(u,o),n=P(T,o),a=g(o);return m(s,{role:"region","aria-labelledby":n.triggerId,"data-orientation":t.orientation,...a,...i,ref:r,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})}));function q(e){return e?"open":"closed"}U.displayName=T;var B=_,F=z,G=K,J=S,M=U;export{_ as Accordion,U as AccordionContent,K as AccordionHeader,z as AccordionItem,S as AccordionTrigger,M as Content,G as Header,F as Item,B as Root,J as Trigger,A as createAccordionScope};
|
3
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import*as r from"react";import{Primitive as e}from"../../../react-primitive/dist/index/index.mjs";import{jsx as i}from"react/jsx-runtime";var t=r.forwardRef(((r,t)=>{const{children:o,width:a=10,height:n=5,...s}=r;return i(e.svg,{...s,ref:t,width:a,height:n,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:r.asChild?o:i("polygon",{points:"0,0 30,0 15,10"})})}));t.displayName="Arrow";var o=t;export{t as Arrow,o as Root};
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../node_modules/@radix-ui/react-arrow/dist/index.mjs"],"sourcesContent":["// packages/react/arrow/src/arrow.tsx\nimport * as React from \"react\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NAME = \"Arrow\";\nvar Arrow = React.forwardRef((props, forwardedRef) => {\n const { children, width = 10, height = 5, ...arrowProps } = props;\n return /* @__PURE__ */ jsx(\n Primitive.svg,\n {\n ...arrowProps,\n ref: forwardedRef,\n width,\n height,\n viewBox: \"0 0 30 10\",\n preserveAspectRatio: \"none\",\n children: props.asChild ? children : /* @__PURE__ */ jsx(\"polygon\", { points: \"0,0 30,0 15,10\" })\n }\n );\n});\nArrow.displayName = NAME;\nvar Root = Arrow;\nexport {\n Arrow,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["Arrow","React","forwardRef","props","forwardedRef","children","width","height","arrowProps","jsx","Primitive","svg","ref","viewBox","preserveAspectRatio","asChild","points","displayName","Root"],"mappings":"0IAOA,IAMMA,EAAcC,EAAAC,YAAqC,CAACC,EAAOC,KAC/D,MAAMC,SAAEA,EAAAC,MAAUA,EAAQ,GAAAC,OAAIA,EAAS,KAAMC,GAAeL,EAC5D,OACEM,EAACC,EAAUC,IAAV,IACKH,EACJI,IAAKR,EACLE,QACAC,SACAM,QAAQ,YACRC,oBAAoB,OAGnBT,SAAAF,EAAMY,QAAUV,EAAWI,EAAC,UAAA,CAAQO,OAAO,oBAAiB,IAKnEhB,EAAMiB,YAvBO,QA2Bb,IAAMC,EAAOlB","x_google_ignoreList":[0]}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
"use client";
|
2
|
+
import*as e from"react";import{createContextScope as r}from"../../../react-context/dist/index/index.mjs";import{useCallbackRef as t}from"../../../react-use-callback-ref/dist/index/index.mjs";import{useLayoutEffect as a}from"../../../react-use-layout-effect/dist/index/index.mjs";import{Primitive as n}from"../../../react-primitive/dist/index/index.mjs";import{jsx as o}from"react/jsx-runtime";var i="Avatar",[s,d]=r(i),[c,u]=s(i),l=e.forwardRef(((r,t)=>{const{__scopeAvatar:a,...i}=r,[s,d]=e.useState("idle");return o(c,{scope:a,imageLoadingStatus:s,onImageLoadingStatusChange:d,children:o(n.span,{...i,ref:t})})}));l.displayName=i;var m="AvatarImage",f=e.forwardRef(((r,i)=>{const{__scopeAvatar:s,src:d,onLoadingStatusChange:c=()=>{},...l}=r,f=u(m,s),g=function(r,{referrerPolicy:t,crossOrigin:n}){const o=e.useSyncExternalStore(x,(()=>!0),(()=>!1)),i=e.useRef(null),s=o?(i.current||(i.current=new window.Image),i.current):null,[d,c]=e.useState((()=>v(s,r)));return a((()=>{c(v(s,r))}),[s,r]),a((()=>{const e=e=>()=>{c(e)};if(!s)return;const r=e("loaded"),a=e("error");return s.addEventListener("load",r),s.addEventListener("error",a),t&&(s.referrerPolicy=t),"string"==typeof n&&(s.crossOrigin=n),()=>{s.removeEventListener("load",r),s.removeEventListener("error",a)}}),[s,n,t]),d}(d,l),p=t((e=>{c(e),f.onImageLoadingStatusChange(e)}));return a((()=>{"idle"!==g&&p(g)}),[g,p]),"loaded"===g?o(n.img,{...l,ref:i,src:d}):null}));f.displayName=m;var g="AvatarFallback",p=e.forwardRef(((r,t)=>{const{__scopeAvatar:a,delayMs:i,...s}=r,d=u(g,a),[c,l]=e.useState(void 0===i);return e.useEffect((()=>{if(void 0!==i){const e=window.setTimeout((()=>l(!0)),i);return()=>window.clearTimeout(e)}}),[i]),c&&"loaded"!==d.imageLoadingStatus?o(n.span,{...s,ref:t}):null}));function v(e,r){return e?r?(e.src!==r&&(e.src=r),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function x(){return()=>{}}p.displayName=g;var w=l,y=f,L=p;export{l as Avatar,p as AvatarFallback,f as AvatarImage,L as Fallback,y as Image,w as Root,d as createAvatarScope};
|
3
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
"use client";
|
2
|
+
import*as e from"react";import{useComposedRefs as t}from"../../../react-compose-refs/dist/index/index.mjs";import{createContextScope as r}from"../../../react-context/dist/index/index.mjs";import{composeEventHandlers as n}from"../../../primitive/dist/index/index.mjs";import{useControllableState as o}from"../../../react-use-controllable-state/dist/index/index.mjs";import{usePrevious as i}from"../../../react-use-previous/dist/index/index.mjs";import{useSize as s}from"../../../react-use-size/dist/index/index.mjs";import{Presence as d}from"../../../react-presence/dist/index/index.mjs";import{Primitive as a}from"../../../react-primitive/dist/index/index.mjs";import{jsxs as c,jsx as u}from"react/jsx-runtime";var m="Checkbox",[l,p]=r(m),[f,b]=l(m),x=e.forwardRef(((r,i)=>{const{__scopeCheckbox:s,name:d,checked:m,defaultChecked:l,required:p,disabled:b,value:x="on",onCheckedChange:h,form:k,...j}=r,[E,w]=e.useState(null),g=t(i,(e=>w(e))),R=e.useRef(!1),D=!E||(k||!!E.closest("form")),[P=!1,_]=o({prop:m,defaultProp:l,onChange:h}),q=e.useRef(P);return e.useEffect((()=>{const e=E?.form;if(e){const t=()=>_(q.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}}),[E,_]),c(f,{scope:s,state:P,disabled:b,children:[u(a.button,{type:"button",role:"checkbox","aria-checked":y(P)?"mixed":P,"aria-required":p,"data-state":C(P),"data-disabled":b?"":void 0,disabled:b,value:x,...j,ref:g,onKeyDown:n(r.onKeyDown,(e=>{"Enter"===e.key&&e.preventDefault()})),onClick:n(r.onClick,(e=>{_((e=>!!y(e)||!e)),D&&(R.current=e.isPropagationStopped(),R.current||e.stopPropagation())}))}),D&&u(v,{control:E,bubbles:!R.current,name:d,value:x,checked:P,required:p,disabled:b,form:k,style:{transform:"translateX(-100%)"},defaultChecked:!y(l)&&l})]})}));x.displayName=m;var h="CheckboxIndicator",k=e.forwardRef(((e,t)=>{const{__scopeCheckbox:r,forceMount:n,...o}=e,i=b(h,r);return u(d,{present:n||y(i.state)||!0===i.state,children:u(a.span,{"data-state":C(i.state),"data-disabled":i.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})}));k.displayName=h;var v=t=>{const{control:r,checked:n,bubbles:o=!0,defaultChecked:d,...a}=t,c=e.useRef(null),m=i(n),l=s(r);e.useEffect((()=>{const e=c.current,t=window.HTMLInputElement.prototype,r=Object.getOwnPropertyDescriptor(t,"checked").set;if(m!==n&&r){const t=new Event("click",{bubbles:o});e.indeterminate=y(n),r.call(e,!y(n)&&n),e.dispatchEvent(t)}}),[m,n,o]);const p=e.useRef(!y(n)&&n);return u("input",{type:"checkbox","aria-hidden":!0,defaultChecked:d??p.current,...a,tabIndex:-1,ref:c,style:{...t.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function y(e){return"indeterminate"===e}function C(e){return y(e)?"indeterminate":e?"checked":"unchecked"}var j=x,E=k;export{x as Checkbox,k as CheckboxIndicator,E as Indicator,j as Root,p as createCheckboxScope};
|
3
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
"use client";
|
2
|
+
import*as e from"react";import{composeEventHandlers as t}from"../../../primitive/dist/index/index.mjs";import{createContextScope as n}from"../../../react-context/dist/index/index.mjs";import{useControllableState as i}from"../../../react-use-controllable-state/dist/index/index.mjs";import{useLayoutEffect as r}from"../../../react-use-layout-effect/dist/index/index.mjs";import{useComposedRefs as o}from"../../../react-compose-refs/dist/index/index.mjs";import{Primitive as a}from"../../../react-primitive/dist/index/index.mjs";import{Presence as s}from"../../../react-presence/dist/index/index.mjs";import{useId as d}from"../../../react-id/dist/index/index.mjs";import{jsx as l}from"react/jsx-runtime";var c="Collapsible",[p,m]=n(c),[u,f]=p(c),x=e.forwardRef(((t,n)=>{const{__scopeCollapsible:r,open:o,defaultOpen:s,disabled:c,onOpenChange:p,...m}=t,[f=!1,x]=i({prop:o,defaultProp:s,onChange:p});return l(u,{scope:r,disabled:c,contentId:d(),open:f,onOpenToggle:e.useCallback((()=>x((e=>!e))),[x]),children:l(a.div,{"data-state":g(f),"data-disabled":c?"":void 0,...m,ref:n})})}));x.displayName=c;var b="CollapsibleTrigger",v=e.forwardRef(((e,n)=>{const{__scopeCollapsible:i,...r}=e,o=f(b,i);return l(a.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":g(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:n,onClick:t(e.onClick,o.onOpenToggle)})}));v.displayName=b;var y="CollapsibleContent",C=e.forwardRef(((e,t)=>{const{forceMount:n,...i}=e,r=f(y,e.__scopeCollapsible);return l(s,{present:n||r.open,children:({present:e})=>l(h,{...i,ref:t,present:e})})}));C.displayName=y;var h=e.forwardRef(((t,n)=>{const{__scopeCollapsible:i,present:s,children:d,...c}=t,p=f(y,i),[m,u]=e.useState(s),x=e.useRef(null),b=o(n,x),v=e.useRef(0),C=v.current,h=e.useRef(0),R=h.current,j=p.open||m,N=e.useRef(j),_=e.useRef(void 0);return e.useEffect((()=>{const e=requestAnimationFrame((()=>N.current=!1));return()=>cancelAnimationFrame(e)}),[]),r((()=>{const e=x.current;if(e){_.current=_.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";const t=e.getBoundingClientRect();v.current=t.height,h.current=t.width,N.current||(e.style.transitionDuration=_.current.transitionDuration,e.style.animationName=_.current.animationName),u(s)}}),[p.open,s]),l(a.div,{"data-state":g(p.open),"data-disabled":p.disabled?"":void 0,id:p.contentId,hidden:!j,...c,ref:b,style:{"--radix-collapsible-content-height":C?`${C}px`:void 0,"--radix-collapsible-content-width":R?`${R}px`:void 0,...t.style},children:j&&d})}));function g(e){return e?"open":"closed"}var R=x,j=v,N=C;export{x as Collapsible,C as CollapsibleContent,v as CollapsibleTrigger,N as Content,R as Root,j as Trigger,m as createCollapsibleScope};
|
3
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import*as n from"react";function t(n,t){if("function"==typeof n)return n(t);null!=n&&(n.current=t)}function r(...n){return r=>{let o=!1;const e=n.map((n=>{const e=t(n,r);return o||"function"!=typeof e||(o=!0),e}));if(o)return()=>{for(let r=0;r<e.length;r++){const o=e[r];"function"==typeof o?o():t(n[r],null)}}}}function o(...t){return n.useCallback(r(...t),t)}export{r as composeRefs,o as useComposedRefs};
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../node_modules/@radix-ui/react-compose-refs/dist/index.mjs"],"sourcesContent":["// packages/react/compose-refs/src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup == \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup == \"function\") {\n cleanup();\n } else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\nfunction useComposedRefs(...refs) {\n return React.useCallback(composeRefs(...refs), refs);\n}\nexport {\n composeRefs,\n useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["setRef","ref","value","current","composeRefs","refs","node","hasCleanup","cleanups","map","cleanup","i","length","useComposedRefs","React","useCallback"],"mappings":"wBAQA,SAASA,EAAUC,EAAqBC,GACtC,GAAmB,mBAARD,EACT,OAAOA,EAAIC,GACFD,UACTA,EAAIE,QAAUD,EAElB,CAMA,SAASE,KAAkBC,GACzB,OAAQC,IACN,IAAIC,GAAa,EACjB,MAAMC,EAAWH,EAAKI,KAAKR,IACzB,MAAMS,EAAUV,EAAOC,EAAKK,GAI5B,OAHKC,GAAgC,mBAAXG,IACxBH,GAAa,GAERG,CAAA,IAOT,GAAIH,EACF,MAAO,KACL,IAAA,IAASI,EAAI,EAAGA,EAAIH,EAASI,OAAQD,IAAK,CACxC,MAAMD,EAAUF,EAASG,GACH,mBAAXD,EACTA,IAEAV,EAAOK,EAAKM,GAAI,KAEpB,EAEJ,CAEJ,CAMA,SAASE,KAAsBR,GAE7B,OAAaS,EAAAC,YAAYX,KAAeC,GAAOA,EACjD","x_google_ignoreList":[0]}
|
package/dist/{chunks/index-BkrjWCcN.mjs → node_modules/@radix-ui/react-context/dist/index/index.mjs}
RENAMED
@@ -1,2 +1,2 @@
|
|
1
|
-
import*as e from"react";import{jsx as t}from"react/jsx-runtime";function r(r,n){const o=e.createContext(n),c=r=>{const{children:n,...c}=r,s=e.useMemo((()=>c),Object.values(c));return t(o.Provider,{value:s,children:n})};return c.displayName=r+"Provider",[c,function(t){const c=e.useContext(o);if(c)return c;if(void 0!==n)return n;throw new Error(`\`${t}\` must be used within \`${r}\``)}]}function n(r,n=[]){let c=[];const s=()=>{const t=c.map((t=>e.createContext(t)));return function(n){const o=n?.[r]||t;return e.useMemo((()=>({[`__scope${r}`]:{...n,[r]:o}})),[n,o])}};return s.scopeName=r,[function(n,o){const s=e.createContext(o),u=c.length;c=[...c,o];const i=n=>{const{scope:o,children:c,...i}=n,a=o?.[r]?.[u]||s,m=e.useMemo((()=>i),Object.values(i));return t(a.Provider,{value:m,children:c})};return i.displayName=n+"Provider",[i,function(t,c){const i=c?.[r]?.[u]||s,a=e.useContext(i);if(a)return a;if(void 0!==o)return o;throw new Error(`\`${t}\` must be used within \`${n}\``)}]},o(s,...n)]}function o(...t){const r=t[0];if(1===t.length)return r;const n=()=>{const n=t.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(t){const o=n.reduce(((e,{useScope:r,scopeName:n})=>({...e,...r(t)[`__scope${n}`]})),{});return e.useMemo((()=>({[`__scope${r.scopeName}`]:o})),[o])}};return n.scopeName=r.scopeName,n}export{r as
|
2
|
-
//# sourceMappingURL=index
|
1
|
+
import*as e from"react";import{jsx as t}from"react/jsx-runtime";function r(r,n){const o=e.createContext(n),c=r=>{const{children:n,...c}=r,s=e.useMemo((()=>c),Object.values(c));return t(o.Provider,{value:s,children:n})};return c.displayName=r+"Provider",[c,function(t){const c=e.useContext(o);if(c)return c;if(void 0!==n)return n;throw new Error(`\`${t}\` must be used within \`${r}\``)}]}function n(r,n=[]){let c=[];const s=()=>{const t=c.map((t=>e.createContext(t)));return function(n){const o=n?.[r]||t;return e.useMemo((()=>({[`__scope${r}`]:{...n,[r]:o}})),[n,o])}};return s.scopeName=r,[function(n,o){const s=e.createContext(o),u=c.length;c=[...c,o];const i=n=>{const{scope:o,children:c,...i}=n,a=o?.[r]?.[u]||s,m=e.useMemo((()=>i),Object.values(i));return t(a.Provider,{value:m,children:c})};return i.displayName=n+"Provider",[i,function(t,c){const i=c?.[r]?.[u]||s,a=e.useContext(i);if(a)return a;if(void 0!==o)return o;throw new Error(`\`${t}\` must be used within \`${n}\``)}]},o(s,...n)]}function o(...t){const r=t[0];if(1===t.length)return r;const n=()=>{const n=t.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(t){const o=n.reduce(((e,{useScope:r,scopeName:n})=>({...e,...r(t)[`__scope${n}`]})),{});return e.useMemo((()=>({[`__scope${r.scopeName}`]:o})),[o])}};return n.scopeName=r.scopeName,n}export{r as createContext,n as createContextScope};
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../node_modules/@radix-ui/react-context/dist/index.mjs"],"sourcesContent":["// packages/react/context/src/create-context.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createContext2(rootComponentName, defaultContext) {\n const Context = React.createContext(defaultContext);\n const Provider = (props) => {\n const { children, ...context } = props;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName) {\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n}\nfunction createContextScope(scopeName, createContextScopeDeps = []) {\n let defaultContexts = [];\n function createContext3(rootComponentName, defaultContext) {\n const BaseContext = React.createContext(defaultContext);\n const index = defaultContexts.length;\n defaultContexts = [...defaultContexts, defaultContext];\n const Provider = (props) => {\n const { scope, children, ...context } = props;\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName, scope) {\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n }\n const createScope = () => {\n const scopeContexts = defaultContexts.map((defaultContext) => {\n return React.createContext(defaultContext);\n });\n return function useScope(scope) {\n const contexts = scope?.[scopeName] || scopeContexts;\n return React.useMemo(\n () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),\n [scope, contexts]\n );\n };\n };\n createScope.scopeName = scopeName;\n return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];\n}\nfunction composeContextScopes(...scopes) {\n const baseScope = scopes[0];\n if (scopes.length === 1) return baseScope;\n const createScope = () => {\n const scopeHooks = scopes.map((createScope2) => ({\n useScope: createScope2(),\n scopeName: createScope2.scopeName\n }));\n return function useComposedScopes(overrideScopes) {\n const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {\n const scopeProps = useScope(overrideScopes);\n const currentScope = scopeProps[`__scope${scopeName}`];\n return { ...nextScopes2, ...currentScope };\n }, {});\n return React.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);\n };\n };\n createScope.scopeName = baseScope.scopeName;\n return createScope;\n}\nexport {\n createContext2 as createContext,\n createContextScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createContext","rootComponentName","defaultContext","Context","React","Provider","props","children","context","value","useMemo","Object","values","jsx","displayName","consumerName","useContext","Error","createContextScope","scopeName","createContextScopeDeps","defaultContexts","createScope","scopeContexts","map","scope","contexts","BaseContext","index","length","composeContextScopes","scopes","baseScope","scopeHooks","useScope","overrideScopes","nextScopes","reduce"],"mappings":"gEAEA,SAASA,EACPC,EACAC,GAEA,MAAMC,EAAgBC,EAAAJ,cAA4CE,GAE5DG,EAAwEC,IAC5E,MAAMC,SAAEA,KAAaC,GAAYF,EAG3BG,EAAcL,EAAAM,SAAQ,IAAMF,GAASG,OAAOC,OAAOJ,IACzD,OAAOK,EAACV,EAAQE,SAAR,CAAiBI,QAAeF,YAAS,EAanD,OAVAF,EAASS,YAAcb,EAAoB,WAUpC,CAACI,EARR,SAAoBU,GAClB,MAAMP,EAAgBJ,EAAAY,WAAWb,GACjC,GAAIK,EAAS,OAAOA,EACpB,QAAuB,IAAnBN,EAA8B,OAAOA,EAEzC,MAAM,IAAIe,MAAM,KAAKF,6BAAwCd,MAC/D,EAGF,CAaA,SAASiB,EAAmBC,EAAmBC,EAAwC,IACrF,IAAIC,EAAyB,GA2C7B,MAAMC,EAA2B,KAC/B,MAAMC,EAAgBF,EAAgBG,KAAKtB,GAC5BE,EAAAJ,cAAcE,KAE7B,OAAO,SAAkBuB,GACvB,MAAMC,EAAWD,IAAQN,IAAcI,EACvC,OAAanB,EAAAM,SACX,KAAO,CAAE,CAAC,UAAUS,KAAc,IAAKM,EAAON,CAACA,GAAYO,MAC3D,CAACD,EAAOC,GAEZ,CAAA,EAIF,OADAJ,EAAYH,UAAYA,EACjB,CAnDP,SACElB,EACAC,GAEA,MAAMyB,EAAoBvB,EAAAJ,cAA4CE,GAChE0B,EAAQP,EAAgBQ,OAC9BR,EAAkB,IAAIA,EAAiBnB,GAEvC,MAAMG,EAEDC,IACH,MAAMmB,MAAEA,EAAAlB,SAAOA,KAAaC,GAAYF,EAClCH,EAAUsB,IAAQN,KAAaS,IAAUD,EAGzClB,EAAcL,EAAAM,SAAQ,IAAMF,GAASG,OAAOC,OAAOJ,IACzD,OAAOK,EAACV,EAAQE,SAAR,CAAiBI,QAAeF,YAAS,EAcnD,OAXAF,EAASS,YAAcb,EAAoB,WAWpC,CAACI,EATR,SAAoBU,EAAsBU,GACxC,MAAMtB,EAAUsB,IAAQN,KAAaS,IAAUD,EACzCnB,EAAgBJ,EAAAY,WAAWb,GACjC,GAAIK,EAAS,OAAOA,EACpB,QAAuB,IAAnBN,EAA8B,OAAOA,EAEzC,MAAM,IAAIe,MAAM,KAAKF,6BAAwCd,MAC/D,EAGF,EAoBuB6B,EAAqBR,KAAgBF,GAC9D,CAMA,SAASU,KAAwBC,GAC/B,MAAMC,EAAYD,EAAO,GACzB,GAAsB,IAAlBA,EAAOF,OAAc,OAAOG,EAEhC,MAAMV,EAA2B,KAC/B,MAAMW,EAAaF,EAAOP,KAAKF,IAAiB,CAC9CY,SAAUZ,IACVH,UAAWG,EAAYH,cAGzB,OAAO,SAA2BgB,GAChC,MAAMC,EAAaH,EAAWI,QAAO,CAACD,GAAcF,WAAUf,gBAMrD,IAAKiB,KAFOF,EAASC,GACI,UAAUhB,QAEzC,IAEH,OAAaf,EAAAM,SAAQ,KAAO,CAAE,CAAC,UAAUsB,EAAUb,aAAciB,KAAe,CAACA,GACnF,CAAA,EAIF,OADAd,EAAYH,UAAYa,EAAUb,UAC3BG,CACT","x_google_ignoreList":[0]}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
"use client";
|
2
|
+
import*as e from"react";import{composeEventHandlers as o}from"../../../primitive/dist/index/index.mjs";import{useComposedRefs as t}from"../../../react-compose-refs/dist/index/index.mjs";import{createContextScope as n,createContext as r}from"../../../react-context/dist/index/index.mjs";import{useId as i}from"../../../react-id/dist/index/index.mjs";import{useControllableState as a}from"../../../react-use-controllable-state/dist/index/index.mjs";import{DismissableLayer as s}from"../../../react-dismissable-layer/dist/index/index.mjs";import{FocusScope as c}from"../../../react-focus-scope/dist/index/index.mjs";import{Portal as d}from"../../../react-portal/dist/index/index.mjs";import{Presence as l}from"../../../react-presence/dist/index/index.mjs";import{Primitive as u}from"../../../react-primitive/dist/index/index.mjs";import{useFocusGuards as p}from"../../../react-focus-guards/dist/index/index.mjs";import f from"../../../../react-remove-scroll/dist/es2015/Combination/index.mjs";import{hideOthers as m}from"../../../../aria-hidden/dist/es2015/index/index.mjs";import{createSlot as g}from"@radix-ui/react-slot";import{jsx as D,jsxs as v,Fragment as x}from"react/jsx-runtime";var h="Dialog",[_,y]=n(h),[R,b]=_(h),C=o=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:s,onOpenChange:c,modal:d=!0}=o,l=e.useRef(null),u=e.useRef(null),[p=!1,f]=a({prop:r,defaultProp:s,onChange:c});return D(R,{scope:t,triggerRef:l,contentRef:u,contentId:i(),titleId:i(),descriptionId:i(),open:p,onOpenChange:f,onOpenToggle:e.useCallback((()=>f((e=>!e))),[f]),modal:d,children:n})};C.displayName=h;var I="DialogTrigger",w=e.forwardRef(((e,n)=>{const{__scopeDialog:r,...i}=e,a=b(I,r),s=t(n,a.triggerRef);return D(u.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":Z(a.open),...i,ref:s,onClick:o(e.onClick,a.onOpenToggle)})}));w.displayName=I;var O="DialogPortal",[j,F]=_(O,{forceMount:void 0}),N=o=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=o,a=b(O,t);return D(j,{scope:t,forceMount:n,children:e.Children.map(r,(e=>D(l,{present:n||a.open,children:D(d,{asChild:!0,container:i,children:e})})))})};N.displayName=O;var E="DialogOverlay",P=e.forwardRef(((e,o)=>{const t=F(E,e.__scopeDialog),{forceMount:n=t.forceMount,...r}=e,i=b(E,e.__scopeDialog);return i.modal?D(l,{present:n||i.open,children:D(M,{...r,ref:o})}):null}));P.displayName=E;var A=g("DialogOverlay.RemoveScroll"),M=e.forwardRef(((e,o)=>{const{__scopeDialog:t,...n}=e,r=b(E,t);return D(f,{as:A,allowPinchZoom:!0,shards:[r.contentRef],children:D(u.div,{"data-state":Z(r.open),...n,ref:o,style:{pointerEvents:"auto",...n.style}})})})),k="DialogContent",T=e.forwardRef(((e,o)=>{const t=F(k,e.__scopeDialog),{forceMount:n=t.forceMount,...r}=e,i=b(k,e.__scopeDialog);return D(l,{present:n||i.open,children:i.modal?D($,{...r,ref:o}):D(S,{...r,ref:o})})}));T.displayName=k;var $=e.forwardRef(((n,r)=>{const i=b(k,n.__scopeDialog),a=e.useRef(null),s=t(r,i.contentRef,a);return e.useEffect((()=>{const e=a.current;if(e)return m(e)}),[]),D(W,{...n,ref:s,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:o(n.onCloseAutoFocus,(e=>{e.preventDefault(),i.triggerRef.current?.focus()})),onPointerDownOutside:o(n.onPointerDownOutside,(e=>{const o=e.detail.originalEvent,t=0===o.button&&!0===o.ctrlKey;(2===o.button||t)&&e.preventDefault()})),onFocusOutside:o(n.onFocusOutside,(e=>e.preventDefault()))})})),S=e.forwardRef(((o,t)=>{const n=b(k,o.__scopeDialog),r=e.useRef(!1),i=e.useRef(!1);return D(W,{...o,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:e=>{o.onCloseAutoFocus?.(e),e.defaultPrevented||(r.current||n.triggerRef.current?.focus(),e.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:e=>{o.onInteractOutside?.(e),e.defaultPrevented||(r.current=!0,"pointerdown"===e.detail.originalEvent.type&&(i.current=!0));const t=e.target,a=n.triggerRef.current?.contains(t);a&&e.preventDefault(),"focusin"===e.detail.originalEvent.type&&i.current&&e.preventDefault()}})})),W=e.forwardRef(((o,n)=>{const{__scopeDialog:r,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:d,...l}=o,u=b(k,r),f=e.useRef(null),m=t(n,f);return p(),v(x,{children:[D(c,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:a,onUnmountAutoFocus:d,children:D(s,{role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":Z(u.open),...l,ref:m,onDismiss:()=>u.onOpenChange(!1)})}),v(x,{children:[D(L,{titleId:u.titleId}),D(Q,{contentRef:f,descriptionId:u.descriptionId})]})]})})),B="DialogTitle",q=e.forwardRef(((e,o)=>{const{__scopeDialog:t,...n}=e,r=b(B,t);return D(u.h2,{id:r.titleId,...n,ref:o})}));q.displayName=B;var H="DialogDescription",K=e.forwardRef(((e,o)=>{const{__scopeDialog:t,...n}=e,r=b(H,t);return D(u.p,{id:r.descriptionId,...n,ref:o})}));K.displayName=H;var U="DialogClose",V=e.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,i=b(U,n);return D(u.button,{type:"button",...r,ref:t,onClick:o(e.onClick,(()=>i.onOpenChange(!1)))})}));function Z(e){return e?"open":"closed"}V.displayName=U;var z="DialogTitleWarning",[G,J]=r(z,{contentName:k,titleName:B,docsSlug:"dialog"}),L=({titleId:o})=>{const t=J(z),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return e.useEffect((()=>{if(o){document.getElementById(o)||console.error(n)}}),[n,o]),null},Q=({contentRef:o,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${J("DialogDescriptionWarning").contentName}}.`;return e.useEffect((()=>{const e=o.current?.getAttribute("aria-describedby");if(t&&e){document.getElementById(t)||console.warn(n)}}),[n,o,t]),null},X=C,Y=w,ee=N,oe=P,te=T,ne=q,re=K,ie=V;export{ie as Close,te as Content,re as Description,C as Dialog,V as DialogClose,T as DialogContent,K as DialogDescription,P as DialogOverlay,N as DialogPortal,q as DialogTitle,w as DialogTrigger,oe as Overlay,ee as Portal,X as Root,ne as Title,Y as Trigger,G as WarningProvider,y as createDialogScope};
|
3
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import*as t from"react";import"react/jsx-runtime";var r=t.createContext(void 0);function e(e){const o=t.useContext(r);return e||o||"ltr"}export{e as
|
2
|
-
//# sourceMappingURL=index
|
1
|
+
import*as t from"react";import"react/jsx-runtime";var r=t.createContext(void 0);function e(e){const o=t.useContext(r);return e||o||"ltr"}export{e as useDirection};
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../node_modules/@radix-ui/react-direction/dist/index.mjs"],"sourcesContent":["// packages/react/direction/src/direction.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DirectionContext = React.createContext(void 0);\nvar DirectionProvider = (props) => {\n const { dir, children } = props;\n return /* @__PURE__ */ jsx(DirectionContext.Provider, { value: dir, children });\n};\nfunction useDirection(localDir) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || \"ltr\";\n}\nvar Provider = DirectionProvider;\nexport {\n DirectionProvider,\n Provider,\n useDirection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DirectionContext","React","createContext","useDirection","localDir","globalDir","useContext"],"mappings":"kDAGA,IAAMA,EAAyBC,EAAAC,mBAAqC,GAiBpE,SAASC,EAAaC,GACpB,MAAMC,EAAkBJ,EAAAK,WAAWN,GACnC,OAAOI,GAAYC,GAAa,KAClC","x_google_ignoreList":[0]}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
"use client";
|
2
|
+
import*as e from"react";import{composeEventHandlers as t}from"../../../primitive/dist/index/index.mjs";import{Primitive as n,dispatchDiscreteCustomEvent as r}from"../../../react-primitive/dist/index/index.mjs";import{useComposedRefs as s}from"../../../react-compose-refs/dist/index/index.mjs";import{useCallbackRef as i}from"../../../react-use-callback-ref/dist/index/index.mjs";import{useEscapeKeydown as o}from"../../../react-use-escape-keydown/dist/index/index.mjs";import{jsx as a}from"react/jsx-runtime";var u,d="dismissableLayer.update",c="dismissableLayer.pointerDownOutside",l="dismissableLayer.focusOutside",m=e.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=e.forwardRef(((r,f)=>{const{disableOutsidePointerEvents:v=!1,onEscapeKeyDown:y,onPointerDownOutside:b,onFocusOutside:w,onInteractOutside:h,onDismiss:D,...x}=r,C=e.useContext(m),[L,P]=e.useState(null),O=L?.ownerDocument??globalThis?.document,[,g]=e.useState({}),W=s(f,(e=>P(e))),j=Array.from(C.layers),[k]=[...C.layersWithOutsidePointerEventsDisabled].slice(-1),R=j.indexOf(k),T=L?j.indexOf(L):-1,B=C.layersWithOutsidePointerEventsDisabled.size>0,F=T>=R,S=function(t,n=globalThis?.document){const r=i(t),s=e.useRef(!1),o=e.useRef((()=>{}));return e.useEffect((()=>{const e=e=>{if(e.target&&!s.current){let t=function(){E(c,r,s,{discrete:!0})};const s={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",o.current),o.current=t,n.addEventListener("click",o.current,{once:!0})):t()}else n.removeEventListener("click",o.current);s.current=!1},t=window.setTimeout((()=>{n.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",o.current)}}),[n,r]),{onPointerDownCapture:()=>s.current=!0}}((e=>{const t=e.target,n=[...C.branches].some((e=>e.contains(t)));F&&!n&&(b?.(e),h?.(e),e.defaultPrevented||D?.())}),O),z=function(t,n=globalThis?.document){const r=i(t),s=e.useRef(!1);return e.useEffect((()=>{const e=e=>{if(e.target&&!s.current){E(l,r,{originalEvent:e},{discrete:!1})}};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)}),[n,r]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}((e=>{const t=e.target;[...C.branches].some((e=>e.contains(t)))||(w?.(e),h?.(e),e.defaultPrevented||D?.())}),O);return o((e=>{T===C.layers.size-1&&(y?.(e),!e.defaultPrevented&&D&&(e.preventDefault(),D()))}),O),e.useEffect((()=>{if(L)return v&&(0===C.layersWithOutsidePointerEventsDisabled.size&&(u=O.body.style.pointerEvents,O.body.style.pointerEvents="none"),C.layersWithOutsidePointerEventsDisabled.add(L)),C.layers.add(L),p(),()=>{v&&1===C.layersWithOutsidePointerEventsDisabled.size&&(O.body.style.pointerEvents=u)}}),[L,O,v,C]),e.useEffect((()=>()=>{L&&(C.layers.delete(L),C.layersWithOutsidePointerEventsDisabled.delete(L),p())}),[L,C]),e.useEffect((()=>{const e=()=>g({});return document.addEventListener(d,e),()=>document.removeEventListener(d,e)}),[]),a(n.div,{...x,ref:W,style:{pointerEvents:B?F?"auto":"none":void 0,...r.style},onFocusCapture:t(r.onFocusCapture,z.onFocusCapture),onBlurCapture:t(r.onBlurCapture,z.onBlurCapture),onPointerDownCapture:t(r.onPointerDownCapture,S.onPointerDownCapture)})}));f.displayName="DismissableLayer";var v=e.forwardRef(((t,r)=>{const i=e.useContext(m),o=e.useRef(null),u=s(r,o);return e.useEffect((()=>{const e=o.current;if(e)return i.branches.add(e),()=>{i.branches.delete(e)}}),[i.branches]),a(n.div,{...t,ref:u})}));function p(){const e=new CustomEvent(d);document.dispatchEvent(e)}function E(e,t,n,{discrete:s}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),s?r(i,o):i.dispatchEvent(o)}v.displayName="DismissableLayerBranch";var y=f,b=v;export{b as Branch,f as DismissableLayer,v as DismissableLayerBranch,y as Root};
|
3
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
"use client";
|
2
|
+
import*as e from"react";import{composeEventHandlers as r}from"../../../primitive/dist/index/index.mjs";import{composeRefs as o}from"../../../react-compose-refs/dist/index/index.mjs";import{createContextScope as n}from"../../../react-context/dist/index/index.mjs";import{useControllableState as a}from"../../../react-use-controllable-state/dist/index/index.mjs";import{Primitive as t}from"../../../react-primitive/dist/index/index.mjs";import{createMenuScope as d,Root as p,Portal as i,Anchor as s,Content as u,Group as c,Label as l,Item as m,CheckboxItem as w,ItemIndicator as f,RadioGroup as g,RadioItem as h,Separator as v,Sub as x,SubTrigger as D,SubContent as _,Arrow as M}from"../../../react-menu/dist/index/index.mjs";import{useId as b}from"../../../react-id/dist/index/index.mjs";import{jsx as y}from"react/jsx-runtime";var R="DropdownMenu",[C,I]=n(R,[d]),N=d(),[O,j]=C(R),A=r=>{const{__scopeDropdownMenu:o,children:n,dir:t,open:d,defaultOpen:i,onOpenChange:s,modal:u=!0}=r,c=N(o),l=e.useRef(null),[m=!1,w]=a({prop:d,defaultProp:i,onChange:s});return y(O,{scope:o,triggerId:b(),triggerRef:l,contentId:b(),open:m,onOpenChange:w,onOpenToggle:e.useCallback((()=>w((e=>!e))),[w]),modal:u,children:y(p,{...c,open:m,onOpenChange:w,dir:t,modal:u,children:n})})};A.displayName=R;var S="DropdownMenuTrigger",k=e.forwardRef(((e,n)=>{const{__scopeDropdownMenu:a,disabled:d=!1,...p}=e,i=j(S,a),u=N(a);return y(s,{asChild:!0,...u,children:y(t.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":d?"":void 0,disabled:d,...p,ref:o(n,i.triggerRef),onPointerDown:r(e.onPointerDown,(e=>{d||0!==e.button||!1!==e.ctrlKey||(i.onOpenToggle(),i.open||e.preventDefault())})),onKeyDown:r(e.onKeyDown,(e=>{d||(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())}))})})}));k.displayName=S;var P=e=>{const{__scopeDropdownMenu:r,...o}=e,n=N(r);return y(i,{...n,...o})};P.displayName="DropdownMenuPortal";var T="DropdownMenuContent",G=e.forwardRef(((o,n)=>{const{__scopeDropdownMenu:a,...t}=o,d=j(T,a),p=N(a),i=e.useRef(!1);return y(u,{id:d.contentId,"aria-labelledby":d.triggerId,...p,...t,ref:n,onCloseAutoFocus:r(o.onCloseAutoFocus,(e=>{i.current||d.triggerRef.current?.focus(),i.current=!1,e.preventDefault()})),onInteractOutside:r(o.onInteractOutside,(e=>{const r=e.detail.originalEvent,o=0===r.button&&!0===r.ctrlKey,n=2===r.button||o;d.modal&&!n||(i.current=!0)})),style:{...o.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})}));G.displayName=T;var K=e.forwardRef(((e,r)=>{const{__scopeDropdownMenu:o,...n}=e,a=N(o);return y(c,{...a,...n,ref:r})}));K.displayName="DropdownMenuGroup";var E=e.forwardRef(((e,r)=>{const{__scopeDropdownMenu:o,...n}=e,a=N(o);return y(l,{...a,...n,ref:r})}));E.displayName="DropdownMenuLabel";var F=e.forwardRef(((e,r)=>{const{__scopeDropdownMenu:o,...n}=e,a=N(o);return y(m,{...a,...n,ref:r})}));F.displayName="DropdownMenuItem";var L=e.forwardRef(((e,r)=>{const{__scopeDropdownMenu:o,...n}=e,a=N(o);return y(w,{...a,...n,ref:r})}));L.displayName="DropdownMenuCheckboxItem";var q=e.forwardRef(((e,r)=>{const{__scopeDropdownMenu:o,...n}=e,a=N(o);return y(g,{...a,...n,ref:r})}));q.displayName="DropdownMenuRadioGroup";var z=e.forwardRef(((e,r)=>{const{__scopeDropdownMenu:o,...n}=e,a=N(o);return y(h,{...a,...n,ref:r})}));z.displayName="DropdownMenuRadioItem";var B=e.forwardRef(((e,r)=>{const{__scopeDropdownMenu:o,...n}=e,a=N(o);return y(f,{...a,...n,ref:r})}));B.displayName="DropdownMenuItemIndicator";var H=e.forwardRef(((e,r)=>{const{__scopeDropdownMenu:o,...n}=e,a=N(o);return y(v,{...a,...n,ref:r})}));H.displayName="DropdownMenuSeparator";var J=e.forwardRef(((e,r)=>{const{__scopeDropdownMenu:o,...n}=e,a=N(o);return y(M,{...a,...n,ref:r})}));J.displayName="DropdownMenuArrow";var Q=e=>{const{__scopeDropdownMenu:r,children:o,open:n,onOpenChange:t,defaultOpen:d}=e,p=N(r),[i=!1,s]=a({prop:n,defaultProp:d,onChange:t});return y(x,{...p,open:i,onOpenChange:s,children:o})},U=e.forwardRef(((e,r)=>{const{__scopeDropdownMenu:o,...n}=e,a=N(o);return y(D,{...a,...n,ref:r})}));U.displayName="DropdownMenuSubTrigger";var V=e.forwardRef(((e,r)=>{const{__scopeDropdownMenu:o,...n}=e,a=N(o);return y(_,{...a,...n,ref:r,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})}));V.displayName="DropdownMenuSubContent";var W=A,X=k,Y=P,Z=G,$=K,ee=E,re=F,oe=L,ne=q,ae=z,te=B,de=H,pe=Q,ie=U,se=V;export{oe as CheckboxItem,Z as Content,A as DropdownMenu,J as DropdownMenuArrow,L as DropdownMenuCheckboxItem,G as DropdownMenuContent,K as DropdownMenuGroup,F as DropdownMenuItem,B as DropdownMenuItemIndicator,E as DropdownMenuLabel,P as DropdownMenuPortal,q as DropdownMenuRadioGroup,z as DropdownMenuRadioItem,H as DropdownMenuSeparator,Q as DropdownMenuSub,V as DropdownMenuSubContent,U as DropdownMenuSubTrigger,k as DropdownMenuTrigger,$ as Group,re as Item,te as ItemIndicator,ee as Label,Y as Portal,ne as RadioGroup,ae as RadioItem,W as Root,de as Separator,pe as Sub,se as SubContent,ie as SubTrigger,X as Trigger,I as createDropdownMenuScope};
|
3
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
"use client";
|
2
|
+
import*as e from"react";var t=0;function n(){e.useEffect((()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??o()),document.body.insertAdjacentElement("beforeend",e[1]??o()),t++,()=>{1===t&&document.querySelectorAll("[data-radix-focus-guard]").forEach((e=>e.remove())),t--}}),[])}function o(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}export{n as useFocusGuards};
|
3
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
"use client";
|
2
|
+
import*as e from"react";import{useComposedRefs as t}from"../../../react-compose-refs/dist/index/index.mjs";import{Primitive as n}from"../../../react-primitive/dist/index/index.mjs";import{useCallbackRef as o}from"../../../react-use-callback-ref/dist/index/index.mjs";import{jsx as r}from"react/jsx-runtime";var u="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",s={bubbles:!1,cancelable:!0},i=e.forwardRef(((i,f)=>{const{loop:p=!1,trapped:v=!1,onMountAutoFocus:E,onUnmountAutoFocus:b,...y}=i,[L,T]=e.useState(null),h=o(E),N=o(b),x=e.useRef(null),F=t(f,(e=>T(e))),S=e.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;e.useEffect((()=>{if(v){let e=function(e){if(S.paused||!L)return;const t=e.target;L.contains(t)?x.current=t:l(x.current,{select:!0})},t=function(e){if(S.paused||!L)return;const t=e.relatedTarget;null!==t&&(L.contains(t)||l(x.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&l(L)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);const o=new MutationObserver(n);return L&&o.observe(L,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),o.disconnect()}}}),[v,L,S.paused]),e.useEffect((()=>{if(L){m.add(S);const t=document.activeElement;if(!L.contains(t)){const n=new CustomEvent(u,s);L.addEventListener(u,h),L.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(l(o,{select:t}),document.activeElement!==n)return}((e=d(L),e.filter((e=>"A"!==e.tagName))),{select:!0}),document.activeElement===t&&l(L))}return()=>{L.removeEventListener(u,h),setTimeout((()=>{const e=new CustomEvent(c,s);L.addEventListener(c,N),L.dispatchEvent(e),e.defaultPrevented||l(t??document.body,{select:!0}),L.removeEventListener(c,N),m.remove(S)}),0)}}var e}),[L,h,N,S]);const I=e.useCallback((e=>{if(!p&&!v)return;if(S.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){const t=e.currentTarget,[o,r]=function(e){const t=d(e),n=a(t,e),o=a(t.reverse(),e);return[n,o]}(t);o&&r?e.shiftKey||n!==r?e.shiftKey&&n===o&&(e.preventDefault(),p&&l(r,{select:!0})):(e.preventDefault(),p&&l(o,{select:!0})):n===t&&e.preventDefault()}}),[p,v,S.paused]);return r(n.div,{tabIndex:-1,...y,ref:F,onKeyDown:I})}));function d(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function a(e,t){for(const n of e)if(!f(n,{upTo:t}))return n}function f(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function l(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}i.displayName="FocusScope";var m=function(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=p(e,t),e.unshift(t)},remove(t){e=p(e,t),e[0]?.resume()}}}();function p(e,t){const n=[...e],o=n.indexOf(t);return-1!==o&&n.splice(o,1),n}export{i as FocusScope};
|
3
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
"use client";
|
2
|
+
import*as e from"react";import{composeEventHandlers as r}from"../../../primitive/dist/index/index.mjs";import{createContextScope as t}from"../../../react-context/dist/index/index.mjs";import{useControllableState as o}from"../../../react-use-controllable-state/dist/index/index.mjs";import{useComposedRefs as n}from"../../../react-compose-refs/dist/index/index.mjs";import{createPopperScope as i,Root as a,Anchor as s,Content as c,Arrow as d}from"../../../react-popper/dist/index/index.mjs";import{Portal as u}from"../../../react-portal/dist/index/index.mjs";import{Presence as l}from"../../../react-presence/dist/index/index.mjs";import{Primitive as p}from"../../../react-primitive/dist/index/index.mjs";import{DismissableLayer as f}from"../../../react-dismissable-layer/dist/index/index.mjs";import{jsx as m}from"react/jsx-runtime";var v,h="HoverCard",[x,C]=t(h,[i]),w=i(),[P,R]=x(h),y=r=>{const{__scopeHoverCard:t,children:n,open:i,defaultOpen:s,onOpenChange:c,openDelay:d=700,closeDelay:u=300}=r,l=w(t),p=e.useRef(0),f=e.useRef(0),v=e.useRef(!1),h=e.useRef(!1),[x=!1,C]=o({prop:i,defaultProp:s,onChange:c}),R=e.useCallback((()=>{clearTimeout(f.current),p.current=window.setTimeout((()=>C(!0)),d)}),[d,C]),y=e.useCallback((()=>{clearTimeout(p.current),v.current||h.current||(f.current=window.setTimeout((()=>C(!1)),u))}),[u,C]),E=e.useCallback((()=>C(!1)),[C]);return e.useEffect((()=>()=>{clearTimeout(p.current),clearTimeout(f.current)}),[]),m(P,{scope:t,open:x,onOpenChange:C,onOpen:R,onClose:y,onDismiss:E,hasSelectionRef:v,isPointerDownOnContentRef:h,children:m(a,{...l,children:n})})};y.displayName=h;var E="HoverCardTrigger",O=e.forwardRef(((e,t)=>{const{__scopeHoverCard:o,...n}=e,i=R(E,o),a=w(o);return m(s,{asChild:!0,...a,children:m(p.a,{"data-state":i.open?"open":"closed",...n,ref:t,onPointerEnter:r(e.onPointerEnter,j(i.onOpen)),onPointerLeave:r(e.onPointerLeave,j(i.onClose)),onFocus:r(e.onFocus,i.onOpen),onBlur:r(e.onBlur,i.onClose),onTouchStart:r(e.onTouchStart,(e=>e.preventDefault()))})})}));O.displayName=E;var S="HoverCardPortal",[g,b]=x(S,{forceMount:void 0}),D=e=>{const{__scopeHoverCard:r,forceMount:t,children:o,container:n}=e,i=R(S,r);return m(g,{scope:r,forceMount:t,children:m(l,{present:t||i.open,children:m(u,{asChild:!0,container:n,children:o})})})};D.displayName=S;var T="HoverCardContent",_=e.forwardRef(((e,t)=>{const o=b(T,e.__scopeHoverCard),{forceMount:n=o.forceMount,...i}=e,a=R(T,e.__scopeHoverCard);return m(l,{present:n||a.open,children:m(H,{"data-state":a.open?"open":"closed",...i,onPointerEnter:r(e.onPointerEnter,j(a.onOpen)),onPointerLeave:r(e.onPointerLeave,j(a.onClose)),ref:t})})}));_.displayName=T;var H=e.forwardRef(((t,o)=>{const{__scopeHoverCard:i,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:d,onInteractOutside:u,...l}=t,p=R(T,i),h=w(i),x=e.useRef(null),C=n(o,x),[P,y]=e.useState(!1);return e.useEffect((()=>{if(P){const e=document.body;return v=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=v,e.style.webkitUserSelect=v}}}),[P]),e.useEffect((()=>{if(x.current){const e=()=>{y(!1),p.isPointerDownOnContentRef.current=!1,setTimeout((()=>{""!==document.getSelection()?.toString()&&(p.hasSelectionRef.current=!0)}))};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),p.hasSelectionRef.current=!1,p.isPointerDownOnContentRef.current=!1}}}),[p.isPointerDownOnContentRef,p.hasSelectionRef]),e.useEffect((()=>{if(x.current){(function(e){const r=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;t.nextNode();)r.push(t.currentNode);return r})(x.current).forEach((e=>e.setAttribute("tabindex","-1")))}})),m(f,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:u,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:r(d,(e=>{e.preventDefault()})),onDismiss:p.onDismiss,children:m(c,{...h,...l,onPointerDown:r(l.onPointerDown,(e=>{e.currentTarget.contains(e.target)&&y(!0),p.hasSelectionRef.current=!1,p.isPointerDownOnContentRef.current=!0})),ref:C,style:{...l.style,userSelect:P?"text":void 0,WebkitUserSelect:P?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})})})),N=e.forwardRef(((e,r)=>{const{__scopeHoverCard:t,...o}=e,n=w(t);return m(d,{...n,...o,ref:r})}));function j(e){return r=>"touch"===r.pointerType?void 0:e()}N.displayName="HoverCardArrow";var F=y,L=O,k=D,I=_;export{I as Content,y as HoverCard,N as HoverCardArrow,_ as HoverCardContent,D as HoverCardPortal,O as HoverCardTrigger,k as Portal,F as Root,L as Trigger,C as createHoverCardScope};
|
3
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import{forwardRef as e,createElement as r}from"react";var o=["color"],n=e((function(e,n){var t=e.color,l=void 0===t?"currentColor":t,i=function(e,r){if(null==e)return{};var o,n,t={},l=Object.keys(e);for(n=0;n<l.length;n++)o=l[n],r.indexOf(o)>=0||(t[o]=e[o]);return t}(e,o);return r("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:n}),r("path",{d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:l,fillRule:"evenodd",clipRule:"evenodd"}))}));export{n as CaretSortIcon};
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import*as t from"react";import{useLayoutEffect as e}from"../../../react-use-layout-effect/dist/index/index.mjs";var r=t[" useId ".trim().toString()]||(()=>{}),i=0;function o(o){const[a,s]=t.useState(r());return e((()=>{s((t=>t??String(i++)))}),[o]),a?`radix-${a}`:""}export{o as useId};
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../node_modules/@radix-ui/react-id/dist/index.mjs"],"sourcesContent":["// packages/react/id/src/id.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nvar useReactId = React[\" useId \".trim().toString()] || (() => void 0);\nvar count = 0;\nfunction useId(deterministicId) {\n const [id, setId] = React.useState(useReactId());\n useLayoutEffect(() => {\n if (!deterministicId) setId((reactId) => reactId ?? String(count++));\n }, [deterministicId]);\n return deterministicId || (id ? `radix-${id}` : \"\");\n}\nexport {\n useId\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useReactId","React","trim","toString","count","useId","deterministicId","id","setId","useState","useLayoutEffect","reactId","String"],"mappings":"gHAIA,IAAMA,EAAcC,EAAc,UAAUC,OAAOC,aAAgB,MAAM,GACrEC,EAAQ,EAEZ,SAASC,EAAMC,GACb,MAAOC,EAAIC,GAAeP,EAAAQ,SAA6BT,KAKvD,OAHAU,GAAgB,KACQF,GAAOG,GAAYA,GAAWC,OAAOR,MAAQ,GAClE,CAACE,IACuBC,EAAK,SAASA,IAAO,EAClD","x_google_ignoreList":[0]}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
"use client";
|
2
|
+
import*as e from"react";import{Primitive as t}from"../../../react-primitive/dist/index/index.mjs";import{jsx as r}from"react/jsx-runtime";var a=e.forwardRef(((e,a)=>r(t.label,{...e,ref:a,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}})));a.displayName="Label";var o=a;export{a as Label,o as Root};
|
3
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|