@embeddr/react-ui 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +164 -164
- package/README.md +2 -7
- package/dist/context/EmbeddrContext.d.ts +8 -0
- package/dist/context/EmbeddrContext.d.ts.map +1 -0
- package/dist/context/EmbeddrContext.js +14 -0
- package/dist/context/EmbeddrContext.js.map +1 -0
- package/dist/context/ImageDialogContext.d.ts +1 -2
- package/dist/context/ImageDialogContext.d.ts.map +1 -1
- package/dist/context/ImageDialogContext.js +3 -14
- package/dist/context/ImageDialogContext.js.map +1 -1
- package/dist/context/index.d.ts +3 -0
- package/dist/context/index.d.ts.map +1 -0
- package/dist/context/index.js +3 -0
- package/dist/context/index.js.map +1 -0
- package/dist/hooks/index.d.ts +4 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +4 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/useExternalNav.d.ts +1 -1
- package/dist/hooks/useExternalNav.d.ts.map +1 -1
- package/dist/hooks/useExternalNav.js +8 -11
- package/dist/hooks/useExternalNav.js.map +1 -1
- package/dist/hooks/useImageDialog.d.ts +1 -1
- package/dist/hooks/useImageDialog.d.ts.map +1 -1
- package/dist/hooks/useImageDialog.js +10 -0
- package/dist/hooks/useImageDialog.js.map +1 -0
- package/dist/hooks/useLocalStorage.d.ts +2 -0
- package/dist/hooks/useLocalStorage.d.ts.map +1 -0
- package/dist/hooks/useLocalStorage.js +37 -0
- package/dist/hooks/useLocalStorage.js.map +1 -0
- package/dist/index.d.ts +6 -33
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -125
- package/dist/index.js.map +1 -1
- package/dist/lib/utils.d.ts +1 -1
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +5 -8
- package/dist/lib/utils.js.map +1 -1
- package/dist/providers/{ExternalNav.d.ts → ExternalNavProvider.d.ts} +1 -1
- package/dist/providers/ExternalNavProvider.d.ts.map +1 -0
- package/dist/providers/ExternalNavProvider.js +26 -0
- package/dist/providers/ExternalNavProvider.js.map +1 -0
- package/dist/providers/ImageDialogProvider.d.ts.map +1 -1
- package/dist/providers/ImageDialogProvider.js +157 -132
- package/dist/providers/ImageDialogProvider.js.map +1 -1
- package/dist/providers/index.d.ts +3 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/providers/index.js +3 -0
- package/dist/providers/index.js.map +1 -0
- package/dist/types/domain.d.ts +73 -0
- package/dist/types/domain.d.ts.map +1 -0
- package/dist/types/domain.js +2 -0
- package/dist/types/domain.js.map +1 -0
- package/dist/types/gallery.d.ts +1 -0
- package/dist/types/gallery.d.ts.map +1 -1
- package/dist/types/gallery.js +2 -0
- package/dist/types/gallery.js.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +4 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/plugin.d.ts +94 -0
- package/dist/types/plugin.d.ts.map +1 -0
- package/dist/types/plugin.js +2 -0
- package/dist/types/plugin.js.map +1 -0
- package/dist/ui/accordion.js +15 -62
- package/dist/ui/accordion.js.map +1 -1
- package/dist/ui/aspect-ratio.d.ts.map +1 -1
- package/dist/ui/aspect-ratio.js +8 -0
- package/dist/ui/aspect-ratio.js.map +1 -0
- package/dist/ui/avatar.js +12 -49
- package/dist/ui/avatar.js.map +1 -1
- package/dist/ui/badge.d.ts +3 -3
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/badge.js +20 -37
- package/dist/ui/badge.js.map +1 -1
- package/dist/ui/breadcrumb.js +29 -0
- package/dist/ui/breadcrumb.js.map +1 -0
- package/dist/ui/button.d.ts +4 -4
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/button.js +33 -53
- package/dist/ui/button.js.map +1 -1
- package/dist/ui/card.js +19 -96
- package/dist/ui/card.js.map +1 -1
- package/dist/ui/checkbox.js +10 -0
- package/dist/ui/checkbox.js.map +1 -0
- package/dist/ui/context-menu.d.ts +28 -0
- package/dist/ui/context-menu.d.ts.map +1 -0
- package/dist/ui/context-menu.js +34 -0
- package/dist/ui/context-menu.js.map +1 -0
- package/dist/ui/dialog.d.ts.map +1 -1
- package/dist/ui/dialog.js +27 -128
- package/dist/ui/dialog.js.map +1 -1
- package/dist/ui/draggable-panel.d.ts +47 -0
- package/dist/ui/draggable-panel.d.ts.map +1 -0
- package/dist/ui/draggable-panel.js +178 -0
- package/dist/ui/draggable-panel.js.map +1 -0
- package/dist/ui/dropdown-menu.js +37 -220
- package/dist/ui/dropdown-menu.js.map +1 -1
- package/dist/ui/index.d.ts +31 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/ui/index.js +31 -0
- package/dist/ui/index.js.map +1 -0
- package/dist/ui/input-group.d.ts +6 -6
- package/dist/ui/input-group.d.ts.map +1 -1
- package/dist/ui/input-group.js +49 -138
- package/dist/ui/input-group.js.map +1 -1
- package/dist/ui/input.js +7 -22
- package/dist/ui/input.js.map +1 -1
- package/dist/ui/label.js +8 -23
- package/dist/ui/label.js.map +1 -1
- package/dist/ui/lightbox/ComparisonSlider.d.ts +7 -0
- package/dist/ui/lightbox/ComparisonSlider.d.ts.map +1 -0
- package/dist/ui/lightbox/ComparisonSlider.js +62 -0
- package/dist/ui/lightbox/ComparisonSlider.js.map +1 -0
- package/dist/ui/lightbox/GalleryPicker.js +15 -61
- package/dist/ui/lightbox/GalleryPicker.js.map +1 -1
- package/dist/ui/lightbox/ImageThumbnailStrip.d.ts.map +1 -1
- package/dist/ui/lightbox/ImageThumbnailStrip.js +24 -94
- package/dist/ui/lightbox/ImageThumbnailStrip.js.map +1 -1
- package/dist/ui/lightbox/LightboxViewer.d.ts.map +1 -1
- package/dist/ui/lightbox/LightboxViewer.js +50 -112
- package/dist/ui/lightbox/LightboxViewer.js.map +1 -1
- package/dist/ui/lightbox/MediaCanvas.d.ts +13 -0
- package/dist/ui/lightbox/MediaCanvas.d.ts.map +1 -0
- package/dist/ui/lightbox/MediaCanvas.js +18 -0
- package/dist/ui/lightbox/MediaCanvas.js.map +1 -0
- package/dist/ui/lightbox/PannableImage.d.ts +3 -2
- package/dist/ui/lightbox/PannableImage.d.ts.map +1 -1
- package/dist/ui/lightbox/PannableImage.js +327 -222
- package/dist/ui/lightbox/PannableImage.js.map +1 -1
- package/dist/ui/lightbox/PannableVideo.d.ts +9 -0
- package/dist/ui/lightbox/PannableVideo.d.ts.map +1 -0
- package/dist/ui/lightbox/PannableVideo.js +183 -0
- package/dist/ui/lightbox/PannableVideo.js.map +1 -0
- package/dist/ui/lightbox/index.d.ts +8 -0
- package/dist/ui/lightbox/index.d.ts.map +1 -0
- package/dist/ui/lightbox/index.js +8 -0
- package/dist/ui/lightbox/index.js.map +1 -0
- package/dist/ui/menubar.js +55 -0
- package/dist/ui/menubar.js.map +1 -0
- package/dist/ui/progress.js +8 -32
- package/dist/ui/progress.js.map +1 -1
- package/dist/ui/resizable.js +13 -47
- package/dist/ui/resizable.js.map +1 -1
- package/dist/ui/scroll-area.js +11 -65
- package/dist/ui/scroll-area.js.map +1 -1
- package/dist/ui/select.js +29 -172
- package/dist/ui/select.js.map +1 -1
- package/dist/ui/separator.js +8 -27
- package/dist/ui/separator.js.map +1 -1
- package/dist/ui/skeleton.js +6 -17
- package/dist/ui/skeleton.js.map +1 -1
- package/dist/ui/slider.js +13 -63
- package/dist/ui/slider.js.map +1 -1
- package/dist/ui/sonner.d.ts.map +1 -1
- package/dist/ui/sonner.js +24 -40
- package/dist/ui/sonner.js.map +1 -1
- package/dist/ui/spinner.d.ts.map +1 -1
- package/dist/ui/spinner.js +7 -20
- package/dist/ui/spinner.js.map +1 -1
- package/dist/ui/switch.js +8 -32
- package/dist/ui/switch.js.map +1 -1
- package/dist/ui/table.js +29 -0
- package/dist/ui/table.js.map +1 -0
- package/dist/ui/tabs.js +15 -68
- package/dist/ui/tabs.js.map +1 -1
- package/dist/ui/textarea.js +7 -19
- package/dist/ui/textarea.js.map +1 -1
- package/dist/ui/tooltip.js +14 -53
- package/dist/ui/tooltip.js.map +1 -1
- package/package.json +29 -12
- package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -528
- package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -403
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.6_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -209
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.6_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -137
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -131
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.js +0 -10
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.7__@types_react@19.2.7__mszl4mxerbyoklygdzmmz7z344/node_modules/@radix-ui/react-arrow/dist/index.js +0 -25
- package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.7__@types_react@19.2.7__mszl4mxerbyoklygdzmmz7z344/node_modules/@radix-ui/react-arrow/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -30
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.2_@types_react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-context/dist/index.js +0 -54
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.2_@types_react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-context/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.7__@types__3rf2o2lqjhudzepmewjxnjpij4/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -128
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.7__@types__3rf2o2lqjhudzepmewjxnjpij4/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-id/dist/index.js +0 -14
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-id/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.7__@types_react@19.2.7_khjb2df42vo4osw72fyixnkybq/node_modules/@radix-ui/react-popper/dist/index.js +0 -220
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.7__@types_react@19.2.7_khjb2df42vo4osw72fyixnkybq/node_modules/@radix-ui/react-popper/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@19.2.3_@types_react@19.2.7__@types_react@19.2.7_wazm3ifinqzsamvsqllqreat3m/node_modules/@radix-ui/react-portal/dist/index.js +0 -16
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@19.2.3_@types_react@19.2.7__@types_react@19.2.7_wazm3ifinqzsamvsqllqreat3m/node_modules/@radix-ui/react-portal/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.5_@types_react-dom@19.2.3_@types_react@19.2.7__@types_react@19.2_g7nvzcflnhogkdp32witcuayfy/node_modules/@radix-ui/react-presence/dist/index.js +0 -71
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.5_@types_react-dom@19.2.3_@types_react@19.2.7__@types_react@19.2_g7nvzcflnhogkdp32witcuayfy/node_modules/@radix-ui/react-presence/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.7__@types_react@19._vrijsupjqixawruberrfb56pbm/node_modules/@radix-ui/react-primitive/dist/index.js +0 -37
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.7__@types_react@19._vrijsupjqixawruberrfb56pbm/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.4_@types_react-dom@19.2.3_@types_react@19.2.7__@types_react@19._4sfldbbhvd3xapj4euqmtg5wga/node_modules/@radix-ui/react-primitive/dist/index.js +0 -33
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.4_@types_react-dom@19.2.3_@types_react@19.2.7__@types_react@19._4sfldbbhvd3xapj4euqmtg5wga/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.7__@types_react@19.2._lz7pdiyrbpqbbsap76pucwgg5i/node_modules/@radix-ui/react-tooltip/dist/index.js +0 -339
- package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.7__@types_react@19.2._lz7pdiyrbpqbbsap76pucwgg5i/node_modules/@radix-ui/react-tooltip/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -11
- package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -53
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -15
- package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -7
- package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.1_@types_react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-use-size/dist/index.js +0 -28
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.1_@types_react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-use-size/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.3_@types_react-dom@19.2.3_@types_react@19.2.7__@types_rea_xyyq4kaffb3s2ucmc374detnx4/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -33
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.3_@types_react-dom@19.2.3_@types_react@19.2.7__@types_rea_xyyq4kaffb3s2ucmc374detnx4/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.4_@types_react-dom@19.2.3_@types_react@19.2.7__@types_rea_uxirz2wej36zwyzefmreqngy74/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -31
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.4_@types_react-dom@19.2.3_@types_react@19.2.7__@types_rea_uxirz2wej36zwyzefmreqngy74/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js +0 -36
- package/dist/node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +0 -18
- package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +0 -1
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/Icon.js +0 -36
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/Icon.js.map +0 -1
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/createLucideIcon.js +0 -22
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/createLucideIcon.js.map +0 -1
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/defaultAttributes.js +0 -15
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/defaultAttributes.js.map +0 -1
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/check.js +0 -7
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/check.js.map +0 -1
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/chevron-down.js +0 -7
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/chevron-down.js.map +0 -1
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/chevron-right.js +0 -7
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/chevron-right.js.map +0 -1
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/chevron-up.js +0 -7
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/chevron-up.js.map +0 -1
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/circle-check.js +0 -10
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/circle-check.js.map +0 -1
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/circle.js +0 -7
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/circle.js.map +0 -1
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/grip-vertical.js +0 -14
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/grip-vertical.js.map +0 -1
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/info.js +0 -11
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/info.js.map +0 -1
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/loader-circle.js +0 -7
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/loader-circle.js.map +0 -1
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/octagon-x.js +0 -17
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/octagon-x.js.map +0 -1
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/pause.js +0 -10
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/pause.js.map +0 -1
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/play.js +0 -15
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/play.js.map +0 -1
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/rotate-ccw.js +0 -10
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/rotate-ccw.js.map +0 -1
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/rotate-cw.js +0 -10
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/rotate-cw.js.map +0 -1
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/triangle-alert.js +0 -17
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/triangle-alert.js.map +0 -1
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/x.js +0 -10
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/x.js.map +0 -1
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/shared/src/utils.js +0 -19
- package/dist/node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/shared/src/utils.js.map +0 -1
- package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -2766
- package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
- package/dist/providers/ExternalNav.d.ts.map +0 -1
- package/dist/providers/ExternalNav.js +0 -55
- package/dist/providers/ExternalNav.js.map +0 -1
- package/dist/providers/ImageDialog.d.ts +0 -2
- package/dist/providers/ImageDialog.d.ts.map +0 -1
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
import { computePosition as I, offset as J, shift as K, flip as N, size as Q, hide as T, limitShift as X, arrow as z } from "../../../../../@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
|
|
2
|
-
import { autoUpdate as pe, platform as ge } from "../../../../../@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
|
|
3
|
-
import * as o from "react";
|
|
4
|
-
import { useLayoutEffect as Y } from "react";
|
|
5
|
-
import * as Z from "react-dom";
|
|
6
|
-
var b = typeof document < "u", ee = function() {
|
|
7
|
-
}, w = b ? Y : ee;
|
|
8
|
-
function R(e, t) {
|
|
9
|
-
if (e === t)
|
|
10
|
-
return !0;
|
|
11
|
-
if (typeof e != typeof t)
|
|
12
|
-
return !1;
|
|
13
|
-
if (typeof e == "function" && e.toString() === t.toString())
|
|
14
|
-
return !0;
|
|
15
|
-
let n, r, i;
|
|
16
|
-
if (e && t && typeof e == "object") {
|
|
17
|
-
if (Array.isArray(e)) {
|
|
18
|
-
if (n = e.length, n !== t.length) return !1;
|
|
19
|
-
for (r = n; r-- !== 0; )
|
|
20
|
-
if (!R(e[r], t[r]))
|
|
21
|
-
return !1;
|
|
22
|
-
return !0;
|
|
23
|
-
}
|
|
24
|
-
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length)
|
|
25
|
-
return !1;
|
|
26
|
-
for (r = n; r-- !== 0; )
|
|
27
|
-
if (!{}.hasOwnProperty.call(t, i[r]))
|
|
28
|
-
return !1;
|
|
29
|
-
for (r = n; r-- !== 0; ) {
|
|
30
|
-
const p = i[r];
|
|
31
|
-
if (!(p === "_owner" && e.$$typeof) && !R(e[p], t[p]))
|
|
32
|
-
return !1;
|
|
33
|
-
}
|
|
34
|
-
return !0;
|
|
35
|
-
}
|
|
36
|
-
return e !== e && t !== t;
|
|
37
|
-
}
|
|
38
|
-
function A(e) {
|
|
39
|
-
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
40
|
-
}
|
|
41
|
-
function L(e, t) {
|
|
42
|
-
const n = A(e);
|
|
43
|
-
return Math.round(t * n) / n;
|
|
44
|
-
}
|
|
45
|
-
function k(e) {
|
|
46
|
-
const t = o.useRef(e);
|
|
47
|
-
return w(() => {
|
|
48
|
-
t.current = e;
|
|
49
|
-
}), t;
|
|
50
|
-
}
|
|
51
|
-
function oe(e) {
|
|
52
|
-
e === void 0 && (e = {});
|
|
53
|
-
const {
|
|
54
|
-
placement: t = "bottom",
|
|
55
|
-
strategy: n = "absolute",
|
|
56
|
-
middleware: r = [],
|
|
57
|
-
platform: i,
|
|
58
|
-
elements: {
|
|
59
|
-
reference: p,
|
|
60
|
-
floating: q
|
|
61
|
-
} = {},
|
|
62
|
-
transform: D = !0,
|
|
63
|
-
whileElementsMounted: E,
|
|
64
|
-
open: x
|
|
65
|
-
} = e, [s, C] = o.useState({
|
|
66
|
-
x: 0,
|
|
67
|
-
y: 0,
|
|
68
|
-
strategy: n,
|
|
69
|
-
placement: t,
|
|
70
|
-
middlewareData: {},
|
|
71
|
-
isPositioned: !1
|
|
72
|
-
}), [M, B] = o.useState(r);
|
|
73
|
-
R(M, r) || B(r);
|
|
74
|
-
const [U, V] = o.useState(null), [W, G] = o.useState(null), O = o.useCallback((f) => {
|
|
75
|
-
f !== a.current && (a.current = f, V(f));
|
|
76
|
-
}, []), _ = o.useCallback((f) => {
|
|
77
|
-
f !== d.current && (d.current = f, G(f));
|
|
78
|
-
}, []), u = p || U, l = q || W, a = o.useRef(null), d = o.useRef(null), y = o.useRef(s), H = E != null, S = k(E), P = k(i), v = k(x), g = o.useCallback(() => {
|
|
79
|
-
if (!a.current || !d.current)
|
|
80
|
-
return;
|
|
81
|
-
const f = {
|
|
82
|
-
placement: t,
|
|
83
|
-
strategy: n,
|
|
84
|
-
middleware: M
|
|
85
|
-
};
|
|
86
|
-
P.current && (f.platform = P.current), I(a.current, d.current, f).then((h) => {
|
|
87
|
-
const m = {
|
|
88
|
-
...h,
|
|
89
|
-
// The floating element's position may be recomputed while it's closed
|
|
90
|
-
// but still mounted (such as when transitioning out). To ensure
|
|
91
|
-
// `isPositioned` will be `false` initially on the next open, avoid
|
|
92
|
-
// setting it to `true` when `open === false` (must be specified).
|
|
93
|
-
isPositioned: v.current !== !1
|
|
94
|
-
};
|
|
95
|
-
$.current && !R(y.current, m) && (y.current = m, Z.flushSync(() => {
|
|
96
|
-
C(m);
|
|
97
|
-
}));
|
|
98
|
-
});
|
|
99
|
-
}, [M, t, n, P, v]);
|
|
100
|
-
w(() => {
|
|
101
|
-
x === !1 && y.current.isPositioned && (y.current.isPositioned = !1, C((f) => ({
|
|
102
|
-
...f,
|
|
103
|
-
isPositioned: !1
|
|
104
|
-
})));
|
|
105
|
-
}, [x]);
|
|
106
|
-
const $ = o.useRef(!1);
|
|
107
|
-
w(() => ($.current = !0, () => {
|
|
108
|
-
$.current = !1;
|
|
109
|
-
}), []), w(() => {
|
|
110
|
-
if (u && (a.current = u), l && (d.current = l), u && l) {
|
|
111
|
-
if (S.current)
|
|
112
|
-
return S.current(u, l, g);
|
|
113
|
-
g();
|
|
114
|
-
}
|
|
115
|
-
}, [u, l, g, S, H]);
|
|
116
|
-
const F = o.useMemo(() => ({
|
|
117
|
-
reference: a,
|
|
118
|
-
floating: d,
|
|
119
|
-
setReference: O,
|
|
120
|
-
setFloating: _
|
|
121
|
-
}), [O, _]), c = o.useMemo(() => ({
|
|
122
|
-
reference: u,
|
|
123
|
-
floating: l
|
|
124
|
-
}), [u, l]), j = o.useMemo(() => {
|
|
125
|
-
const f = {
|
|
126
|
-
position: n,
|
|
127
|
-
left: 0,
|
|
128
|
-
top: 0
|
|
129
|
-
};
|
|
130
|
-
if (!c.floating)
|
|
131
|
-
return f;
|
|
132
|
-
const h = L(c.floating, s.x), m = L(c.floating, s.y);
|
|
133
|
-
return D ? {
|
|
134
|
-
...f,
|
|
135
|
-
transform: "translate(" + h + "px, " + m + "px)",
|
|
136
|
-
...A(c.floating) >= 1.5 && {
|
|
137
|
-
willChange: "transform"
|
|
138
|
-
}
|
|
139
|
-
} : {
|
|
140
|
-
position: n,
|
|
141
|
-
left: h,
|
|
142
|
-
top: m
|
|
143
|
-
};
|
|
144
|
-
}, [n, D, c.floating, s.x, s.y]);
|
|
145
|
-
return o.useMemo(() => ({
|
|
146
|
-
...s,
|
|
147
|
-
update: g,
|
|
148
|
-
refs: F,
|
|
149
|
-
elements: c,
|
|
150
|
-
floatingStyles: j
|
|
151
|
-
}), [s, g, F, c, j]);
|
|
152
|
-
}
|
|
153
|
-
const te = (e) => {
|
|
154
|
-
function t(n) {
|
|
155
|
-
return {}.hasOwnProperty.call(n, "current");
|
|
156
|
-
}
|
|
157
|
-
return {
|
|
158
|
-
name: "arrow",
|
|
159
|
-
options: e,
|
|
160
|
-
fn(n) {
|
|
161
|
-
const {
|
|
162
|
-
element: r,
|
|
163
|
-
padding: i
|
|
164
|
-
} = typeof e == "function" ? e(n) : e;
|
|
165
|
-
return r && t(r) ? r.current != null ? z({
|
|
166
|
-
element: r.current,
|
|
167
|
-
padding: i
|
|
168
|
-
}).fn(n) : {} : r ? z({
|
|
169
|
-
element: r,
|
|
170
|
-
padding: i
|
|
171
|
-
}).fn(n) : {};
|
|
172
|
-
}
|
|
173
|
-
};
|
|
174
|
-
}, fe = (e, t) => ({
|
|
175
|
-
...J(e),
|
|
176
|
-
options: [e, t]
|
|
177
|
-
}), ie = (e, t) => ({
|
|
178
|
-
...K(e),
|
|
179
|
-
options: [e, t]
|
|
180
|
-
}), se = (e, t) => ({
|
|
181
|
-
...X(e),
|
|
182
|
-
options: [e, t]
|
|
183
|
-
}), ue = (e, t) => ({
|
|
184
|
-
...N(e),
|
|
185
|
-
options: [e, t]
|
|
186
|
-
}), le = (e, t) => ({
|
|
187
|
-
...Q(e),
|
|
188
|
-
options: [e, t]
|
|
189
|
-
}), ce = (e, t) => ({
|
|
190
|
-
...T(e),
|
|
191
|
-
options: [e, t]
|
|
192
|
-
}), ae = (e, t) => ({
|
|
193
|
-
...te(e),
|
|
194
|
-
options: [e, t]
|
|
195
|
-
});
|
|
196
|
-
export {
|
|
197
|
-
ae as arrow,
|
|
198
|
-
pe as autoUpdate,
|
|
199
|
-
I as computePosition,
|
|
200
|
-
ue as flip,
|
|
201
|
-
ce as hide,
|
|
202
|
-
se as limitShift,
|
|
203
|
-
fe as offset,
|
|
204
|
-
ge as platform,
|
|
205
|
-
ie as shift,
|
|
206
|
-
le as size,
|
|
207
|
-
oe as useFloating
|
|
208
|
-
};
|
|
209
|
-
//# sourceMappingURL=floating-ui.react-dom.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"floating-ui.react-dom.js","sources":["../../../../../../../../node_modules/.pnpm/@floating-ui+react-dom@2.1.6_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs"],"sourcesContent":["import { computePosition, arrow as arrow$2, autoPlacement as autoPlacement$1, flip as flip$1, hide as hide$1, inline as inline$1, limitShift as limitShift$1, offset as offset$1, shift as shift$1, size as size$1 } from '@floating-ui/dom';\nexport { autoUpdate, computePosition, detectOverflow, getOverflowAncestors, platform } from '@floating-ui/dom';\nimport * as React from 'react';\nimport { useLayoutEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\n\nvar isClient = typeof document !== 'undefined';\n\nvar noop = function noop() {};\nvar index = isClient ? useLayoutEffect : noop;\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":["isClient","noop","index","useLayoutEffect","deepEqual","a","b","length","i","keys","key","getDPR","element","roundByDPR","value","dpr","useLatestRef","ref","React","useFloating","options","placement","strategy","middleware","platform","externalReference","externalFloating","transform","whileElementsMounted","open","data","setData","latestMiddleware","setLatestMiddleware","_reference","_setReference","_floating","_setFloating","setReference","node","referenceRef","setFloating","floatingRef","referenceEl","floatingEl","dataRef","hasWhileElementsMounted","whileElementsMountedRef","platformRef","openRef","update","config","computePosition","fullData","isMountedRef","ReactDOM","refs","elements","floatingStyles","initialStyles","x","y","arrow$1","isRef","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":";;;;;AAMA,IAAIA,IAAW,OAAO,WAAa,KAE/BC,KAAO,WAAgB;AAAC,GACxBC,IAAQF,IAAWG,IAAkBF;AAIzC,SAASG,EAAUC,GAAGC,GAAG;AACvB,MAAID,MAAMC;AACR,WAAO;AA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,CAACA,GAASgD,CAAI;AACzB,IAkBMY,KAAQ,CAAC5D,GAASgD,OAAU;AAAA,EAChC,GAAGN,GAAQ1C,CAAO;AAAA,EAClB,SAAS,CAACA,GAASgD,CAAI;AACzB;","x_google_ignoreList":[0]}
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
function c() {
|
|
2
|
-
return typeof window < "u";
|
|
3
|
-
}
|
|
4
|
-
function u(t) {
|
|
5
|
-
return p(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
6
|
-
}
|
|
7
|
-
function i(t) {
|
|
8
|
-
var e;
|
|
9
|
-
return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
10
|
-
}
|
|
11
|
-
function N(t) {
|
|
12
|
-
var e;
|
|
13
|
-
return (e = (p(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
14
|
-
}
|
|
15
|
-
function p(t) {
|
|
16
|
-
return c() ? t instanceof Node || t instanceof i(t).Node : !1;
|
|
17
|
-
}
|
|
18
|
-
function m(t) {
|
|
19
|
-
return c() ? t instanceof Element || t instanceof i(t).Element : !1;
|
|
20
|
-
}
|
|
21
|
-
function w(t) {
|
|
22
|
-
return c() ? t instanceof HTMLElement || t instanceof i(t).HTMLElement : !1;
|
|
23
|
-
}
|
|
24
|
-
function f(t) {
|
|
25
|
-
return !c() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof i(t).ShadowRoot;
|
|
26
|
-
}
|
|
27
|
-
const E = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
28
|
-
function y(t) {
|
|
29
|
-
const {
|
|
30
|
-
overflow: e,
|
|
31
|
-
overflowX: n,
|
|
32
|
-
overflowY: o,
|
|
33
|
-
display: r
|
|
34
|
-
} = S(t);
|
|
35
|
-
return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !E.has(r);
|
|
36
|
-
}
|
|
37
|
-
const T = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
38
|
-
function A(t) {
|
|
39
|
-
return T.has(u(t));
|
|
40
|
-
}
|
|
41
|
-
const v = [":popover-open", ":modal"];
|
|
42
|
-
function L(t) {
|
|
43
|
-
return v.some((e) => {
|
|
44
|
-
try {
|
|
45
|
-
return t.matches(e);
|
|
46
|
-
} catch {
|
|
47
|
-
return !1;
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
const D = ["transform", "translate", "scale", "rotate", "perspective"], C = ["transform", "translate", "scale", "rotate", "perspective", "filter"], k = ["paint", "layout", "strict", "content"];
|
|
52
|
-
function V(t) {
|
|
53
|
-
const e = O(), n = m(t) ? S(t) : t;
|
|
54
|
-
return D.some((o) => n[o] ? n[o] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || C.some((o) => (n.willChange || "").includes(o)) || k.some((o) => (n.contain || "").includes(o));
|
|
55
|
-
}
|
|
56
|
-
function B(t) {
|
|
57
|
-
let e = s(t);
|
|
58
|
-
for (; w(e) && !h(e); ) {
|
|
59
|
-
if (V(e))
|
|
60
|
-
return e;
|
|
61
|
-
if (L(e))
|
|
62
|
-
return null;
|
|
63
|
-
e = s(e);
|
|
64
|
-
}
|
|
65
|
-
return null;
|
|
66
|
-
}
|
|
67
|
-
function O() {
|
|
68
|
-
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
69
|
-
}
|
|
70
|
-
const R = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
71
|
-
function h(t) {
|
|
72
|
-
return R.has(u(t));
|
|
73
|
-
}
|
|
74
|
-
function S(t) {
|
|
75
|
-
return i(t).getComputedStyle(t);
|
|
76
|
-
}
|
|
77
|
-
function F(t) {
|
|
78
|
-
return m(t) ? {
|
|
79
|
-
scrollLeft: t.scrollLeft,
|
|
80
|
-
scrollTop: t.scrollTop
|
|
81
|
-
} : {
|
|
82
|
-
scrollLeft: t.scrollX,
|
|
83
|
-
scrollTop: t.scrollY
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
function s(t) {
|
|
87
|
-
if (u(t) === "html")
|
|
88
|
-
return t;
|
|
89
|
-
const e = (
|
|
90
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
91
|
-
t.assignedSlot || // DOM Element detected.
|
|
92
|
-
t.parentNode || // ShadowRoot detected.
|
|
93
|
-
f(t) && t.host || // Fallback.
|
|
94
|
-
N(t)
|
|
95
|
-
);
|
|
96
|
-
return f(e) ? e.host : e;
|
|
97
|
-
}
|
|
98
|
-
function b(t) {
|
|
99
|
-
const e = s(t);
|
|
100
|
-
return h(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : w(e) && y(e) ? e : b(e);
|
|
101
|
-
}
|
|
102
|
-
function d(t, e, n) {
|
|
103
|
-
var o;
|
|
104
|
-
e === void 0 && (e = []), n === void 0 && (n = !0);
|
|
105
|
-
const r = b(t), g = r === ((o = t.ownerDocument) == null ? void 0 : o.body), l = i(r);
|
|
106
|
-
if (g) {
|
|
107
|
-
const a = _(l);
|
|
108
|
-
return e.concat(l, l.visualViewport || [], y(r) ? r : [], a && n ? d(a) : []);
|
|
109
|
-
}
|
|
110
|
-
return e.concat(r, d(r, [], n));
|
|
111
|
-
}
|
|
112
|
-
function _(t) {
|
|
113
|
-
return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
|
|
114
|
-
}
|
|
115
|
-
export {
|
|
116
|
-
S as getComputedStyle,
|
|
117
|
-
B as getContainingBlock,
|
|
118
|
-
N as getDocumentElement,
|
|
119
|
-
_ as getFrameElement,
|
|
120
|
-
b as getNearestOverflowAncestor,
|
|
121
|
-
u as getNodeName,
|
|
122
|
-
F as getNodeScroll,
|
|
123
|
-
d as getOverflowAncestors,
|
|
124
|
-
s as getParentNode,
|
|
125
|
-
i as getWindow,
|
|
126
|
-
V as isContainingBlock,
|
|
127
|
-
m as isElement,
|
|
128
|
-
w as isHTMLElement,
|
|
129
|
-
h as isLastTraversableNode,
|
|
130
|
-
p as isNode,
|
|
131
|
-
y as isOverflowElement,
|
|
132
|
-
f as isShadowRoot,
|
|
133
|
-
A as isTableElement,
|
|
134
|
-
L as isTopLayer,
|
|
135
|
-
O as isWebKit
|
|
136
|
-
};
|
|
137
|
-
//# sourceMappingURL=floating-ui.utils.dom.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"floating-ui.utils.dom.js","sources":["../../../../../../../../node_modules/.pnpm/@floating-ui+utils@0.2.10/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}\nconst invalidOverflowDisplayValues = /*#__PURE__*/new Set(['inline', 'contents']);\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) && !invalidOverflowDisplayValues.has(display);\n}\nconst tableElements = /*#__PURE__*/new Set(['table', 'td', 'th']);\nfunction isTableElement(element) {\n return tableElements.has(getNodeName(element));\n}\nconst topLayerSelectors = [':popover-open', ':modal'];\nfunction isTopLayer(element) {\n return topLayerSelectors.some(selector => {\n try {\n return element.matches(selector);\n } catch (_e) {\n return false;\n }\n });\n}\nconst transformProperties = ['transform', 'translate', 'scale', 'rotate', 'perspective'];\nconst willChangeValues = ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'];\nconst containValues = ['paint', 'layout', 'strict', 'content'];\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 transformProperties.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) || willChangeValues.some(value => (css.willChange || '').includes(value)) || containValues.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}\nconst lastTraversableNodeNames = /*#__PURE__*/new Set(['html', 'body', '#document']);\nfunction isLastTraversableNode(node) {\n return lastTraversableNodeNames.has(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","getNodeName","node","isNode","getWindow","_node$ownerDocument","getDocumentElement","_ref","value","isElement","isHTMLElement","isShadowRoot","invalidOverflowDisplayValues","isOverflowElement","element","overflow","overflowX","overflowY","display","getComputedStyle","tableElements","isTableElement","topLayerSelectors","isTopLayer","selector","transformProperties","willChangeValues","containValues","isContainingBlock","elementOrCss","webkit","isWebKit","css","getContainingBlock","currentNode","getParentNode","isLastTraversableNode","lastTraversableNodeNames","getNodeScroll","result","getNearestOverflowAncestor","parentNode","getOverflowAncestors","list","traverseIframes","_node$ownerDocument2","scrollableAncestor","isBody","win","frameElement","getFrameElement"],"mappings":"AAAA,SAASA,IAAY;AACnB,SAAO,OAAO,SAAW;AAC3B;AACA,SAASC,EAAYC,GAAM;AACzB,SAAIC,EAAOD,CAAI,KACLA,EAAK,YAAY,IAAI,YAAW,IAKnC;AACT;AACA,SAASE,EAAUF,GAAM;AACvB,MAAIG;AACJ,UAAQH,KAAQ,SAASG,IAAsBH,EAAK,kBAAkB,OAAO,SAASG,EAAoB,gBAAgB;AAC5H;AACA,SAASC,EAAmBJ,GAAM;AAChC,MAAIK;AACJ,UAAQA,KAAQJ,EAAOD,CAAI,IAAIA,EAAK,gBAAgBA,EAAK,aAAa,OAAO,aAAa,OAAO,SAASK,EAAK;AACjH;AACA,SAASJ,EAAOK,GAAO;AACrB,SAAKR,EAAS,IAGPQ,aAAiB,QAAQA,aAAiBJ,EAAUI,CAAK,EAAE,OAFzD;AAGX;AACA,SAASC,EAAUD,GAAO;AACxB,SAAKR,EAAS,IAGPQ,aAAiB,WAAWA,aAAiBJ,EAAUI,CAAK,EAAE,UAF5D;AAGX;AACA,SAASE,EAAcF,GAAO;AAC5B,SAAKR,EAAS,IAGPQ,aAAiB,eAAeA,aAAiBJ,EAAUI,CAAK,EAAE,cAFhE;AAGX;AACA,SAASG,EAAaH,GAAO;AAC3B,SAAI,CAACR,EAAS,KAAM,OAAO,aAAe,MACjC,KAEFQ,aAAiB,c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AAaN,EAAcjC,CAAI;AACrC,SAAIkC,EAAsBK,CAAU,IAC3BvC,EAAK,gBAAgBA,EAAK,cAAc,OAAOA,EAAK,OAEzDQ,EAAc+B,CAAU,KAAK5B,EAAkB4B,CAAU,IACpDA,IAEFD,EAA2BC,CAAU;AAC9C;AACA,SAASC,EAAqBxC,GAAMyC,GAAMC,GAAiB;AACzD,MAAIC;AACJ,EAAIF,MAAS,WACXA,IAAO,CAAA,IAELC,MAAoB,WACtBA,IAAkB;AAEpB,QAAME,IAAqBN,EAA2BtC,CAAI,GACpD6C,IAASD,QAAyBD,IAAuB3C,EAAK,kBAAkB,OAAO,SAAS2C,EAAqB,OACrHG,IAAM5C,EAAU0C,CAAkB;AACxC,MAAIC,GAAQ;AACV,UAAME,IAAeC,EAAgBF,CAAG;AACxC,WAAOL,EAAK,OAAOK,GAAKA,EAAI,kBAAkB,CAAA,GAAInC,EAAkBiC,CAAkB,IAAIA,IAAqB,CAAA,GAAIG,KAAgBL,IAAkBF,EAAqBO,CAAY,IAAI,EAAE;AAAA,EAC9L;AACA,SAAON,EAAK,OAAOG,GAAoBJ,EAAqBI,GAAoB,CAAA,GAAIF,CAAe,CAAC;AACtG;AACA,SAASM,EAAgBF,GAAK;AAC5B,SAAOA,EAAI,UAAU,OAAO,eAAeA,EAAI,MAAM,IAAIA,EAAI,eAAe;AAC9E;","x_google_ignoreList":[0]}
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
const j = ["top", "right", "bottom", "left"], m = Math.min, p = Math.max, C = Math.round, L = Math.floor, E = (t) => ({
|
|
2
|
-
x: t,
|
|
3
|
-
y: t
|
|
4
|
-
}), h = {
|
|
5
|
-
left: "right",
|
|
6
|
-
right: "left",
|
|
7
|
-
bottom: "top",
|
|
8
|
-
top: "bottom"
|
|
9
|
-
}, x = {
|
|
10
|
-
start: "end",
|
|
11
|
-
end: "start"
|
|
12
|
-
};
|
|
13
|
-
function R(t, e, n) {
|
|
14
|
-
return p(t, m(e, n));
|
|
15
|
-
}
|
|
16
|
-
function T(t, e) {
|
|
17
|
-
return typeof t == "function" ? t(e) : t;
|
|
18
|
-
}
|
|
19
|
-
function g(t) {
|
|
20
|
-
return t.split("-")[0];
|
|
21
|
-
}
|
|
22
|
-
function a(t) {
|
|
23
|
-
return t.split("-")[1];
|
|
24
|
-
}
|
|
25
|
-
function b(t) {
|
|
26
|
-
return t === "x" ? "y" : "x";
|
|
27
|
-
}
|
|
28
|
-
function d(t) {
|
|
29
|
-
return t === "y" ? "height" : "width";
|
|
30
|
-
}
|
|
31
|
-
const A = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
32
|
-
function P(t) {
|
|
33
|
-
return A.has(g(t)) ? "y" : "x";
|
|
34
|
-
}
|
|
35
|
-
function y(t) {
|
|
36
|
-
return b(P(t));
|
|
37
|
-
}
|
|
38
|
-
function k(t, e, n) {
|
|
39
|
-
n === void 0 && (n = !1);
|
|
40
|
-
const r = a(t), i = y(t), o = d(i);
|
|
41
|
-
let c = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
42
|
-
return e.reference[o] > e.floating[o] && (c = f(c)), [c, f(c)];
|
|
43
|
-
}
|
|
44
|
-
function q(t) {
|
|
45
|
-
const e = f(t);
|
|
46
|
-
return [s(t), e, s(e)];
|
|
47
|
-
}
|
|
48
|
-
function s(t) {
|
|
49
|
-
return t.replace(/start|end/g, (e) => x[e]);
|
|
50
|
-
}
|
|
51
|
-
const u = ["left", "right"], l = ["right", "left"], M = ["top", "bottom"], O = ["bottom", "top"];
|
|
52
|
-
function S(t, e, n) {
|
|
53
|
-
switch (t) {
|
|
54
|
-
case "top":
|
|
55
|
-
case "bottom":
|
|
56
|
-
return n ? e ? l : u : e ? u : l;
|
|
57
|
-
case "left":
|
|
58
|
-
case "right":
|
|
59
|
-
return e ? M : O;
|
|
60
|
-
default:
|
|
61
|
-
return [];
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
function z(t, e, n, r) {
|
|
65
|
-
const i = a(t);
|
|
66
|
-
let o = S(g(t), n === "start", r);
|
|
67
|
-
return i && (o = o.map((c) => c + "-" + i), e && (o = o.concat(o.map(s)))), o;
|
|
68
|
-
}
|
|
69
|
-
function f(t) {
|
|
70
|
-
return t.replace(/left|right|bottom|top/g, (e) => h[e]);
|
|
71
|
-
}
|
|
72
|
-
function w(t) {
|
|
73
|
-
return {
|
|
74
|
-
top: 0,
|
|
75
|
-
right: 0,
|
|
76
|
-
bottom: 0,
|
|
77
|
-
left: 0,
|
|
78
|
-
...t
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
function B(t) {
|
|
82
|
-
return typeof t != "number" ? w(t) : {
|
|
83
|
-
top: t,
|
|
84
|
-
right: t,
|
|
85
|
-
bottom: t,
|
|
86
|
-
left: t
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
function D(t) {
|
|
90
|
-
const {
|
|
91
|
-
x: e,
|
|
92
|
-
y: n,
|
|
93
|
-
width: r,
|
|
94
|
-
height: i
|
|
95
|
-
} = t;
|
|
96
|
-
return {
|
|
97
|
-
width: r,
|
|
98
|
-
height: i,
|
|
99
|
-
top: n,
|
|
100
|
-
left: e,
|
|
101
|
-
right: e + r,
|
|
102
|
-
bottom: n + i,
|
|
103
|
-
x: e,
|
|
104
|
-
y: n
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
export {
|
|
108
|
-
R as clamp,
|
|
109
|
-
E as createCoords,
|
|
110
|
-
T as evaluate,
|
|
111
|
-
w as expandPaddingObject,
|
|
112
|
-
L as floor,
|
|
113
|
-
a as getAlignment,
|
|
114
|
-
y as getAlignmentAxis,
|
|
115
|
-
k as getAlignmentSides,
|
|
116
|
-
d as getAxisLength,
|
|
117
|
-
q as getExpandedPlacements,
|
|
118
|
-
s as getOppositeAlignmentPlacement,
|
|
119
|
-
b as getOppositeAxis,
|
|
120
|
-
z as getOppositeAxisPlacements,
|
|
121
|
-
f as getOppositePlacement,
|
|
122
|
-
B as getPaddingObject,
|
|
123
|
-
g as getSide,
|
|
124
|
-
P as getSideAxis,
|
|
125
|
-
p as max,
|
|
126
|
-
m as min,
|
|
127
|
-
D as rectToClientRect,
|
|
128
|
-
C as round,
|
|
129
|
-
j as sides
|
|
130
|
-
};
|
|
131
|
-
//# sourceMappingURL=floating-ui.utils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"floating-ui.utils.js","sources":["../../../../../../../../node_modules/.pnpm/@floating-ui+utils@0.2.10/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}\nconst yAxisSides = /*#__PURE__*/new Set(['top', 'bottom']);\nfunction getSideAxis(placement) {\n return yAxisSides.has(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}\nconst lrPlacement = ['left', 'right'];\nconst rlPlacement = ['right', 'left'];\nconst tbPlacement = ['top', 'bottom'];\nconst btPlacement = ['bottom', 'top'];\nfunction getSideList(side, isStart, rtl) {\n switch (side) {\n case 'top':\n case 'bottom':\n if (rtl) return isStart ? rlPlacement : lrPlacement;\n return isStart ? lrPlacement : rlPlacement;\n case 'left':\n case 'right':\n return isStart ? tbPlacement : btPlacement;\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","max","round","floor","createCoords","v","oppositeSideMap","oppositeAlignmentMap","clamp","start","value","end","evaluate","param","getSide","placement","getAlignment","getOppositeAxis","axis","getAxisLength","yAxisSides","getSideAxis","getAlignmentAxis","getAlignmentSides","rects","rtl","alignment","alignmentAxis","length","mainAlignmentSide","getOppositePlacement","getExpandedPlacements","oppositePlacement","getOppositeAlignmentPlacement","lrPlacement","rlPlacement","tbPlacement","btPlacement","getSideList","side","isStart","getOppositeAxisPlacements","flipAlignment","direction","list","expandPaddingObject","padding","getPaddingObject","rectToClientRect","rect","x","y","width","height"],"mappings":"AAKK,MAACA,IAAQ,CAAC,OAAO,SAAS,UAAU,MAAM,GAGzCC,IAAM,KAAK,KACXC,IAAM,KAAK,KACXC,IAAQ,KAAK,OACbC,IAAQ,KAAK,OACbC,IAAe,CAAAC,OAAM;AAAA,EACzB,GAAGA;AAAA,EACH,GAAGA;AACL,IACMC,IAAkB;AAAA,EACtB,MAAM;AAAA,EACN,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,KAAK;AACP,GACMC,IAAuB;AAAA,EAC3B,OAAO;AAAA,EACP,KAAK;AACP;AACA,SAASC,EAAMC,GAAOC,GAAOC,GAAK;AAChC,SAAOV,EAAIQ,GAAOT,EAAIU,GAAOC,CAAG,CAAC;AACnC;AACA,SAASC,EAASF,GAAOG,GAAO;AAC9B,SAAO,OAAOH,KAAU,aAAaA,EAAMG,CAAK,IAAIH;AACtD;AACA,SAASI,EAAQC,GAAW;AAC1B,SAAOA,EAAU,MAAM,GAAG,EAAE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,GAAAH;AAAA,IACA,GAAAC;AAAA,EACJ;AACA;","x_google_ignoreList":[0]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../../../node_modules/.pnpm/@radix-ui+primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.mjs"],"sourcesContent":["// src/primitive.tsx\nvar canUseDOM = !!(typeof window !== \"undefined\" && window.document && window.document.createElement);\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}\nfunction getOwnerWindow(element) {\n if (!canUseDOM) {\n throw new Error(\"Cannot access window outside of the DOM\");\n }\n return element?.ownerDocument?.defaultView ?? window;\n}\nfunction getOwnerDocument(element) {\n if (!canUseDOM) {\n throw new Error(\"Cannot access document outside of the DOM\");\n }\n return element?.ownerDocument ?? document;\n}\nfunction getActiveElement(node, activeDescendant = false) {\n const { activeElement } = getOwnerDocument(node);\n if (!activeElement?.nodeName) {\n return null;\n }\n if (isFrame(activeElement) && activeElement.contentDocument) {\n return getActiveElement(activeElement.contentDocument.body, activeDescendant);\n }\n if (activeDescendant) {\n const id = activeElement.getAttribute(\"aria-activedescendant\");\n if (id) {\n const element = getOwnerDocument(activeElement).getElementById(id);\n if (element) {\n return element;\n }\n }\n }\n return activeElement;\n}\nfunction isFrame(element) {\n return element.tagName === \"IFRAME\";\n}\nexport {\n canUseDOM,\n composeEventHandlers,\n getActiveElement,\n getOwnerDocument,\n getOwnerWindow,\n isFrame\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["composeEventHandlers","originalEventHandler","ourEventHandler","checkForDefaultPrevented","event"],"mappings":"AAEA,SAASA,EAAqBC,GAAsBC,GAAiB,EAAE,0BAAAC,IAA2B,GAAI,IAAK,IAAI;AAC7G,SAAO,SAAqBC,GAAO;AAEjC,QADAH,IAAuBG,CAAK,GACxBD,MAA6B,MAAS,CAACC,EAAM;AAC/C,aAAOF,IAAkBE,CAAK;AAAA,EAElC;AACF;","x_google_ignoreList":[0]}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as n from "react";
|
|
2
|
-
import { Primitive as p } from "../../../../../@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.7__@types_react@19._vrijsupjqixawruberrfb56pbm/node_modules/@radix-ui/react-primitive/dist/index.js";
|
|
3
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
4
|
-
var v = "Arrow", e = n.forwardRef((r, i) => {
|
|
5
|
-
const { children: t, width: a = 10, height: s = 5, ...m } = r;
|
|
6
|
-
return /* @__PURE__ */ o(
|
|
7
|
-
p.svg,
|
|
8
|
-
{
|
|
9
|
-
...m,
|
|
10
|
-
ref: i,
|
|
11
|
-
width: a,
|
|
12
|
-
height: s,
|
|
13
|
-
viewBox: "0 0 30 10",
|
|
14
|
-
preserveAspectRatio: "none",
|
|
15
|
-
children: r.asChild ? t : /* @__PURE__ */ o("polygon", { points: "0,0 30,0 15,10" })
|
|
16
|
-
}
|
|
17
|
-
);
|
|
18
|
-
});
|
|
19
|
-
e.displayName = v;
|
|
20
|
-
var h = e;
|
|
21
|
-
export {
|
|
22
|
-
e as Arrow,
|
|
23
|
-
h as Root
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../../../node_modules/.pnpm/@radix-ui+react-arrow@1.1.7_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19.2.7__mszl4mxerbyoklygdzmmz7z344/node_modules/@radix-ui/react-arrow/dist/index.mjs"],"sourcesContent":["// 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":["NAME","Arrow","React","props","forwardedRef","children","width","height","arrowProps","jsx","Primitive","Root"],"mappings":";;;AAIA,IAAIA,IAAO,SACPC,IAAQC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACpD,QAAM,EAAE,UAAAC,GAAU,OAAAC,IAAQ,IAAI,QAAAC,IAAS,GAAG,GAAGC,EAAU,IAAKL;AAC5D,SAAuB,gBAAAM;AAAA,IACrBC,EAAU;AAAA,IACV;AAAA,MACE,GAAGF;AAAA,MACH,KAAKJ;AAAA,MACL,OAAAE;AAAA,MACA,QAAAC;AAAA,MACA,SAAS;AAAA,MACT,qBAAqB;AAAA,MACrB,UAAUJ,EAAM,UAAUE,IAA2B,gBAAAI,EAAI,WAAW,EAAE,QAAQ,iBAAgB,CAAE;AAAA,IACtG;AAAA,EACA;AACA,CAAC;AACDR,EAAM,cAAcD;AACjB,IAACW,IAAOV;","x_google_ignoreList":[0]}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as f from "react";
|
|
2
|
-
function l(n, o) {
|
|
3
|
-
if (typeof n == "function")
|
|
4
|
-
return n(o);
|
|
5
|
-
n != null && (n.current = o);
|
|
6
|
-
}
|
|
7
|
-
function i(...n) {
|
|
8
|
-
return (o) => {
|
|
9
|
-
let u = !1;
|
|
10
|
-
const c = n.map((t) => {
|
|
11
|
-
const e = l(t, o);
|
|
12
|
-
return !u && typeof e == "function" && (u = !0), e;
|
|
13
|
-
});
|
|
14
|
-
if (u)
|
|
15
|
-
return () => {
|
|
16
|
-
for (let t = 0; t < c.length; t++) {
|
|
17
|
-
const e = c[t];
|
|
18
|
-
typeof e == "function" ? e() : l(n[t], null);
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
function s(...n) {
|
|
24
|
-
return f.useCallback(i(...n), n);
|
|
25
|
-
}
|
|
26
|
-
export {
|
|
27
|
-
i as composeRefs,
|
|
28
|
-
s as useComposedRefs
|
|
29
|
-
};
|
|
30
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../../../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.2_@types+react@19.2.7_react@19.2.3/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","composeRefs","refs","node","hasCleanup","cleanups","cleanup","i","useComposedRefs","React"],"mappings":";AAEA,SAASA,EAAOC,GAAKC,GAAO;AAC1B,MAAI,OAAOD,KAAQ;AACjB,WAAOA,EAAIC,CAAK;AACX,EAAID,KAAQ,SACjBA,EAAI,UAAUC;AAElB;AACA,SAASC,KAAeC,GAAM;AAC5B,SAAO,CAACC,MAAS;AACf,QAAIC,IAAa;AACjB,UAAMC,IAAWH,EAAK,IAAI,CAACH,MAAQ;AACjC,YAAMO,IAAUR,EAAOC,GAAKI,CAAI;AAChC,aAAI,CAACC,KAAc,OAAOE,KAAW,eACnCF,IAAa,KAERE;AAAA,IACT,CAAC;AACD,QAAIF;AACF,aAAO,MAAM;AACX,iBAASG,IAAI,GAAGA,IAAIF,EAAS,QAAQE,KAAK;AACxC,gBAAMD,IAAUD,EAASE,CAAC;AAC1B,UAAI,OAAOD,KAAW,aACpBA,EAAO,IAEPR,EAAOI,EAAKK,CAAC,GAAG,IAAI;AAAA,QAExB;AAAA,MACF;AAAA,EAEJ;AACF;AACA,SAASC,KAAmBN,GAAM;AAChC,SAAOO,EAAM,YAAYR,EAAY,GAAGC,CAAI,GAAGA,CAAI;AACrD;","x_google_ignoreList":[0]}
|