@gv-tech/ui-web 2.29.1 → 2.29.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion-Bd0-CZQn.js +1 -0
- package/dist/{accordion-D5QXSsCK.mjs → accordion-Cf6DNbLH.mjs} +47 -51
- package/dist/accordion.cjs +1 -1
- package/dist/accordion.mjs +1 -2
- package/dist/{alert-dialog-B-a0Wa1M.mjs → alert-dialog-BxFH0Lwn.mjs} +43 -45
- package/dist/alert-dialog-C6vNmGBL.js +1 -0
- package/dist/alert-dialog.cjs +1 -1
- package/dist/alert-dialog.mjs +1 -2
- package/dist/alert.cjs +1 -1
- package/dist/alert.mjs +2 -3
- package/dist/{aspect-ratio-s7Ji1MSr.mjs → aspect-ratio-CdQevcDV.mjs} +4 -6
- package/dist/aspect-ratio-Z4Nkc56X.js +1 -0
- package/dist/aspect-ratio.cjs +1 -1
- package/dist/aspect-ratio.mjs +1 -2
- package/dist/attachment.cjs +1 -1
- package/dist/attachment.mjs +3 -4
- package/dist/{avatar-d8Di248f.mjs → avatar-B5PWwGhY.mjs} +50 -52
- package/dist/avatar-CFhYRM52.js +1 -0
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.mjs +1 -2
- package/dist/badge.cjs +1 -1
- package/dist/badge.mjs +5 -6
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.mjs +3 -4
- package/dist/bubble.cjs +1 -1
- package/dist/bubble.mjs +3 -4
- package/dist/button-group.cjs +1 -1
- package/dist/button-group.mjs +4 -5
- package/dist/button.cjs +1 -1
- package/dist/button.mjs +3 -4
- package/dist/calendar-D5qgt2o2.js +1 -0
- package/dist/{calendar-UW8h9dfh.mjs → calendar-DIqXNjOR.mjs} +687 -840
- package/dist/calendar.cjs +1 -1
- package/dist/calendar.mjs +1 -2
- package/dist/card.cjs +1 -1
- package/dist/card.mjs +2 -3
- package/dist/carousel-D-xEqRCX.js +1 -0
- package/dist/{carousel-DG9xGJns.mjs → carousel-DPjWmM_A.mjs} +13 -15
- package/dist/carousel.cjs +1 -1
- package/dist/carousel.mjs +1 -2
- package/dist/chart.cjs +2 -2
- package/dist/chart.mjs +14 -15
- package/dist/{checkbox-Dq8VHKDH.mjs → checkbox-DEPm1BBc.mjs} +36 -38
- package/dist/checkbox-DI9Hn_e_.js +1 -0
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.mjs +1 -2
- package/dist/chunk-HBS6WEDP-D2-yWzIN.js +1 -0
- package/dist/{chunk-HBS6WEDP-aK8IuEX9.mjs → chunk-HBS6WEDP-DD8ZmxRM.mjs} +3 -4
- package/dist/collapsible.cjs +1 -1
- package/dist/collapsible.mjs +2 -3
- package/dist/{combobox-b4OmCNw1.mjs → combobox-C4y8AbZX.mjs} +348 -591
- package/dist/combobox-boXp-mix.js +3 -0
- package/dist/combobox.cjs +1 -1
- package/dist/combobox.mjs +1 -2
- package/dist/command-BnW6UIVk.js +1 -0
- package/dist/{command-5hobOyGG.mjs → command-Cbsp7PBx.mjs} +121 -124
- package/dist/command.cjs +1 -1
- package/dist/command.mjs +1 -2
- package/dist/context-menu-CwsdFpx1.js +1 -0
- package/dist/{context-menu-DzzU-_v8.mjs → context-menu-FNgV55ZV.mjs} +117 -119
- package/dist/context-menu.cjs +1 -1
- package/dist/context-menu.mjs +1 -2
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.mjs +3 -4
- package/dist/direction.cjs +1 -1
- package/dist/direction.mjs +2 -3
- package/dist/{dist-Bb5W_J2F.mjs → dist-7YyzJonC.mjs} +4 -4
- package/dist/{dist-BPL7gUpg.mjs → dist-AlmToDtO.mjs} +2 -3
- package/dist/{dist-BB78QQyQ.mjs → dist-B76UOZbx.mjs} +1 -2
- package/dist/{dist-BEbV0Hal.mjs → dist-B7Ph9-T6.mjs} +2 -3
- package/dist/dist-B7jnFMko.js +1 -0
- package/dist/{dist-CS572Be42.mjs → dist-BOiFyvyS.mjs} +1 -2
- package/dist/dist-BQkDLAY7.js +1 -0
- package/dist/dist-Bal96K8t.js +1 -0
- package/dist/dist-Blgp9lfa.js +1 -0
- package/dist/{dist-CpKLY_uZ.mjs → dist-BnlI08Je.mjs} +4 -4
- package/dist/{dist-BexAB6yo.mjs → dist-Bu-uFV1C.mjs} +33 -34
- package/dist/{dist-OqDzLHTa.mjs → dist-C2BHd5i1.mjs} +31 -31
- package/dist/{dist-Dq-h6VAy.mjs → dist-C516Vwxy.mjs} +4 -6
- package/dist/dist-CBlqVBTk.js +1 -0
- package/dist/dist-CDcZ8WMF.js +1 -0
- package/dist/{dist-E8ieJTBC.mjs → dist-CDksSmTD.mjs} +5 -6
- package/dist/dist-CF-qVmmV.js +1 -0
- package/dist/dist-CIgGRTmJ.js +1 -0
- package/dist/dist-CJqVmdrU.js +1 -0
- package/dist/{dist-CPAF050o.mjs → dist-COqM3IM6.mjs} +3 -4
- package/dist/{dist-s7ibhASj.mjs → dist-CbWpCWog.mjs} +12 -13
- package/dist/{dist-DI1vapnL.mjs → dist-CcGLWbPa.mjs} +3 -4
- package/dist/{dist-Dt6m-kwU.mjs → dist-Cn4F8XlY.mjs} +50 -51
- package/dist/dist-CoTs6T03.js +1 -0
- package/dist/dist-Co_xSt6d.js +1 -0
- package/dist/{dist-UkWa-Arh.mjs → dist-Cu0GG-3j.mjs} +2 -3
- package/dist/{dist-Bvfb4y_L.mjs → dist-DKI-XYwI.mjs} +3 -5
- package/dist/{dist-DatgTWLz.mjs → dist-DQeXXRYL.mjs} +81 -82
- package/dist/dist-DW2ltK5-.js +1 -0
- package/dist/dist-DWcKY_sJ.js +1 -0
- package/dist/dist-DdAeWIwf.js +1 -0
- package/dist/dist-DhubV_gU.mjs +4 -0
- package/dist/dist-DmY7elIQ.js +1 -0
- package/dist/{dist-Dm3IQk5b.mjs → dist-DoWtzxYc.mjs} +234 -235
- package/dist/dist-DuQlxGyN.js +1 -0
- package/dist/dist-KFF7QKuL.js +1 -0
- package/dist/dist-RXrZgzkO.js +1 -0
- package/dist/dist-R_G5UQRm.js +1 -0
- package/dist/{dist-BbI6NHqR.mjs → dist-dwRwxUPt.mjs} +1 -2
- package/dist/dist-fzmUl3YX.mjs +553 -0
- package/dist/{dist-vu20fMUK.mjs → dist-hBsne-A2.mjs} +22 -23
- package/dist/{dist-B057I8ju.mjs → dist-ljiGYyay.mjs} +2 -3
- package/dist/dist-pqMcQ1Nk.js +1 -0
- package/dist/dist-zmnQp5Xf.js +1 -0
- package/dist/drawer.cjs +1 -1
- package/dist/drawer.mjs +2 -3
- package/dist/dropdown-menu-ChuqZeix.js +1 -0
- package/dist/{dropdown-menu-BqAhn64y.mjs → dropdown-menu-DU7KNoXP.mjs} +75 -77
- package/dist/dropdown-menu.cjs +1 -1
- package/dist/dropdown-menu.mjs +1 -2
- package/dist/empty.cjs +1 -1
- package/dist/empty.mjs +2 -3
- package/dist/{es2015-DbsmTzuc.mjs → es2015-BooeZGhO.mjs} +94 -111
- package/dist/es2015-Dggv0vx3.js +41 -0
- package/dist/field.cjs +1 -1
- package/dist/field.mjs +4 -5
- package/dist/{floating-ui.react-dom-CyupHsR6.mjs → floating-ui.react-dom-2hihjuTL.mjs} +12 -17
- package/dist/floating-ui.react-dom-BtFIezY4.js +1 -0
- package/dist/form.cjs +1 -1
- package/dist/form.mjs +19 -20
- package/dist/hooks/use-theme.d.ts +52 -52
- package/dist/hover-card-BeqCs_2R.js +1 -0
- package/dist/{hover-card-DMsxpR9G.mjs → hover-card-w8PmCyw2.mjs} +62 -64
- package/dist/hover-card.cjs +1 -1
- package/dist/hover-card.mjs +1 -2
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +66 -66
- package/dist/input-group.cjs +1 -1
- package/dist/input-group.mjs +2 -3
- package/dist/{input-otp-D49Y9VcH.mjs → input-otp-Bn_Uy1mR.mjs} +6 -17
- package/dist/input-otp-CTRB_0Xp.js +20 -0
- package/dist/input-otp.cjs +1 -1
- package/dist/input-otp.mjs +1 -2
- package/dist/input.cjs +1 -1
- package/dist/input.mjs +2 -3
- package/dist/item.cjs +1 -1
- package/dist/item.mjs +4 -5
- package/dist/kbd.cjs +1 -1
- package/dist/kbd.mjs +2 -3
- package/dist/{label-DsSICLPc.mjs → label-Da0kELfR.mjs} +4 -6
- package/dist/label-JMa1tFfC.js +1 -0
- package/dist/label.cjs +1 -1
- package/dist/label.mjs +1 -2
- package/dist/marker.cjs +1 -1
- package/dist/marker.mjs +3 -4
- package/dist/{menubar-DZqEj6S1.mjs → menubar-B7sRxpE4.mjs} +179 -181
- package/dist/menubar-Bd-QKMcw.js +1 -0
- package/dist/menubar.cjs +1 -1
- package/dist/menubar.mjs +1 -2
- package/dist/{message-scroller-CS4t7Ypn.mjs → message-scroller-B8AU0v3Y.mjs} +83 -102
- package/dist/message-scroller-BJb4Mh_I.js +1 -0
- package/dist/message-scroller.cjs +1 -1
- package/dist/message-scroller.mjs +1 -2
- package/dist/message.cjs +1 -1
- package/dist/message.mjs +2 -3
- package/dist/native-select.cjs +1 -1
- package/dist/native-select.mjs +2 -3
- package/dist/{navigation-menu-RO6thDOF.mjs → navigation-menu-B-RwfscB.mjs} +161 -159
- package/dist/navigation-menu-kPwxYZCR.js +1 -0
- package/dist/navigation-menu.cjs +1 -1
- package/dist/navigation-menu.mjs +1 -2
- package/dist/pagination.cjs +1 -1
- package/dist/pagination.mjs +2 -3
- package/dist/popover-Cq5cTNtC.js +1 -0
- package/dist/{popover-DSBkc70V.mjs → popover-T6Ra737i.mjs} +79 -81
- package/dist/popover.cjs +1 -1
- package/dist/popover.mjs +1 -2
- package/dist/{progress-CQ4nQ85t.mjs → progress-e9YzxvRo.mjs} +11 -13
- package/dist/progress-iUSEI7J9.js +6 -0
- package/dist/progress.cjs +1 -1
- package/dist/progress.mjs +1 -2
- package/dist/{questionnaire-CVED7G7R.mjs → questionnaire-BLCvUX1C.mjs} +153 -175
- package/dist/questionnaire-CcymIPae.js +1 -0
- package/dist/questionnaire.cjs +1 -1
- package/dist/questionnaire.mjs +1 -2
- package/dist/{radio-group-TRiAhMZB.mjs → radio-group-BKpiDcIb.mjs} +58 -60
- package/dist/radio-group-DPEzCmxe.js +1 -0
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.mjs +1 -2
- package/dist/resizable-ByF0NmN9.mjs +2153 -0
- package/dist/resizable-oL3v42zT.js +1 -0
- package/dist/resizable.cjs +1 -1
- package/dist/resizable.mjs +1 -2
- package/dist/{chunk-BmowowmI.mjs → rolldown-runtime-D7yIeQp2.mjs} +2 -3
- package/dist/rolldown-runtime-DbbDpzbe.js +1 -0
- package/dist/{scroll-area-D6MiNHnJ.mjs → scroll-area-BzNeOQ6C.mjs} +109 -105
- package/dist/scroll-area-s4_ZJK59.js +1 -0
- package/dist/scroll-area.cjs +1 -1
- package/dist/scroll-area.mjs +1 -2
- package/dist/scroll-to-top.cjs +1 -1
- package/dist/scroll-to-top.mjs +6 -11
- package/dist/search.cjs +1 -1
- package/dist/search.mjs +12 -13
- package/dist/{select-BFJUmjvX.mjs → select-B_nRxX2Y.mjs} +280 -279
- package/dist/select-j5_dph9S.js +1 -0
- package/dist/select.cjs +1 -1
- package/dist/select.mjs +1 -2
- package/dist/separator-Bn-3XUSJ.js +1 -0
- package/dist/{separator-2kr96SyF.mjs → separator-CCcMNS78.mjs} +4 -6
- package/dist/separator.cjs +1 -1
- package/dist/separator.mjs +1 -2
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.mjs +3 -4
- package/dist/{sidebar-DM9ee9wf.mjs → sidebar-C2ax_A0G.mjs} +47 -49
- package/dist/sidebar-Cnem2n5A.js +1 -0
- package/dist/sidebar.cjs +1 -1
- package/dist/sidebar.mjs +1 -2
- package/dist/skeleton.cjs +1 -1
- package/dist/skeleton.mjs +2 -3
- package/dist/{slider-CdTCoQu1.mjs → slider-B2PUTc7W.mjs} +103 -104
- package/dist/slider-wZuXwuib.js +1 -0
- package/dist/slider.cjs +1 -1
- package/dist/slider.mjs +1 -2
- package/dist/sonner.mjs +1 -2
- package/dist/spinner.cjs +1 -1
- package/dist/spinner.mjs +2 -3
- package/dist/support-fab.cjs +1 -1
- package/dist/support-fab.mjs +21 -22
- package/dist/switch-CD675xU7.js +1 -0
- package/dist/{switch-zUBdj7jK.mjs → switch-ikzIzrme.mjs} +29 -31
- package/dist/switch.cjs +1 -1
- package/dist/switch.mjs +1 -2
- package/dist/table-of-contents.cjs +1 -1
- package/dist/table-of-contents.mjs +5 -6
- package/dist/table.cjs +1 -1
- package/dist/table.mjs +2 -3
- package/dist/{tabs-DaE9pEbo.mjs → tabs-DCm5zOYB.mjs} +45 -47
- package/dist/tabs-fcahDQDp.js +1 -0
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.mjs +1 -2
- package/dist/text.cjs +1 -1
- package/dist/text.mjs +14 -12
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.mjs +2 -3
- package/dist/theme-provider.mjs +1 -2
- package/dist/{theme-toggle-DKh8WFLT.js → theme-toggle-BGTJsIA-.js} +1 -1
- package/dist/{theme-toggle-3RStptYf.mjs → theme-toggle-BSMwXb8o.mjs} +13 -15
- package/dist/theme-toggle.cjs +1 -1
- package/dist/theme-toggle.mjs +1 -2
- package/dist/toast-C31v9P1K.js +1 -0
- package/dist/{toast-D0Yb-K84.mjs → toast-vU5ISM03.mjs} +181 -181
- package/dist/toast.cjs +1 -1
- package/dist/toast.mjs +1 -2
- package/dist/toaster-CaJyOCyC.js +1 -0
- package/dist/{toaster-gT2b7mfE.mjs → toaster-D2BV6jez.mjs} +3 -5
- package/dist/toaster.cjs +1 -1
- package/dist/toaster.mjs +1 -2
- package/dist/toggle-CSZdCCwX.js +1 -0
- package/dist/{toggle-BAeKd2N0.mjs → toggle-Cv9YYwLI.mjs} +8 -9
- package/dist/toggle-group-RT8wyBwK.js +1 -0
- package/dist/{toggle-group-CEKhUozD.mjs → toggle-group-qvjasXS-.mjs} +44 -45
- package/dist/toggle-group.cjs +1 -1
- package/dist/toggle-group.mjs +1 -2
- package/dist/toggle.cjs +1 -1
- package/dist/toggle.mjs +1 -2
- package/dist/{tooltip-R_nK_Qh5.mjs → tooltip-7ERoN5mV.mjs} +97 -101
- package/dist/tooltip-CC9_spXT.js +1 -0
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.mjs +1 -2
- package/dist/{utils-A_oVsYw5.mjs → utils-DQKc9joa.mjs} +1 -2
- package/package.json +3 -3
- package/dist/accordion-DjyDOX-h.js +0 -1
- package/dist/alert-dialog-DYQAhGBC.js +0 -1
- package/dist/aspect-ratio-C-KOOyGP.js +0 -1
- package/dist/avatar-4K3XjhP8.js +0 -1
- package/dist/calendar-DFj14O6r.js +0 -1
- package/dist/carousel-CNGpg5df.js +0 -1
- package/dist/checkbox-BCgbTAdU.js +0 -1
- package/dist/chunk-HBS6WEDP-CQNaACTf.js +0 -1
- package/dist/chunk-mLOUI7ql.js +0 -1
- package/dist/combobox-CpPIGtPJ.js +0 -4
- package/dist/command-Dbqnm9kI.js +0 -1
- package/dist/context-menu-DyTUismw.js +0 -1
- package/dist/dist-1zUKVGvf.js +0 -1
- package/dist/dist-BBvidwzC.js +0 -1
- package/dist/dist-BTUvBzOm.js +0 -1
- package/dist/dist-BU-TFzJf.js +0 -1
- package/dist/dist-BgXIqHHq.js +0 -1
- package/dist/dist-C8Pm6LRc.js +0 -1
- package/dist/dist-CGgemr2V.js +0 -1
- package/dist/dist-CUvxOuXM.mjs +0 -551
- package/dist/dist-C_iFkwIX.js +0 -1
- package/dist/dist-ClYM7l1t.js +0 -1
- package/dist/dist-D1qkELLT.js +0 -1
- package/dist/dist-D7-Fky36.js +0 -1
- package/dist/dist-DEpkkABT.js +0 -1
- package/dist/dist-DKXojpVG.js +0 -1
- package/dist/dist-DYUvPCPC.js +0 -1
- package/dist/dist-DoivLw3t.js +0 -1
- package/dist/dist-GazS1kfR.mjs +0 -5
- package/dist/dist-N97cIp0_.js +0 -1
- package/dist/dist-Qm9hFvM1.js +0 -1
- package/dist/dist-UnTrOmPV.js +0 -1
- package/dist/dist-YAADIsyo.js +0 -1
- package/dist/dist-Zs2sjYhL.js +0 -1
- package/dist/dist-hFLuJoMi.js +0 -1
- package/dist/dropdown-menu-BtKOr--r.js +0 -1
- package/dist/es2015-DbAsWDbs.js +0 -41
- package/dist/floating-ui.react-dom-BwFRxNGc.js +0 -1
- package/dist/hover-card-DWXusgiI.js +0 -1
- package/dist/input-otp-u3obpt-Q.js +0 -20
- package/dist/label-Dacwh21G.js +0 -1
- package/dist/menubar-BYNeRuzx.js +0 -1
- package/dist/message-scroller-DqLu0YI6.js +0 -1
- package/dist/navigation-menu-B36G3O83.js +0 -1
- package/dist/popover-DUHbvKB8.js +0 -1
- package/dist/progress-B9z08UXf.js +0 -6
- package/dist/questionnaire-PWClWvST.js +0 -1
- package/dist/radio-group-Bd3WbH5I.js +0 -1
- package/dist/resizable-Cq60hEWB.js +0 -1
- package/dist/resizable-Qc8cVUKd.mjs +0 -2857
- package/dist/scroll-area-DFUdJeSZ.js +0 -1
- package/dist/select-iQFoKU1s.js +0 -1
- package/dist/separator-Bo49G2aj.js +0 -1
- package/dist/sidebar-C6O8hLkz.js +0 -1
- package/dist/slider-CagVxozY.js +0 -1
- package/dist/switch-CoeAC1Wk.js +0 -1
- package/dist/tabs-TMhXe20x.js +0 -1
- package/dist/toast-B0S3F09s.js +0 -1
- package/dist/toaster-CX9im8R_.js +0 -1
- package/dist/toggle-B0hXPsi7.js +0 -1
- package/dist/toggle-group-htyug3G7.js +0 -1
- package/dist/tooltip-BZazhXDZ.js +0 -1
- /package/dist/{dist-DJqkhIXb2.js → dist-DJqkhIXb.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "./dist-
|
|
3
|
-
import {
|
|
4
|
-
import { t as r } from "./dist-
|
|
5
|
-
import { t as i } from "./dist-
|
|
6
|
-
import { t as a } from "./dist-
|
|
7
|
-
import { t as o } from "./dist-
|
|
8
|
-
import { t as s } from "./dist-
|
|
9
|
-
import { n as c } from "./dist-
|
|
10
|
-
import { t as l } from "./dist-
|
|
1
|
+
import { t as e } from "./dist-B76UOZbx.mjs";
|
|
2
|
+
import { t } from "./dist-C2BHd5i1.mjs";
|
|
3
|
+
import { a as n } from "./dist-C516Vwxy.mjs";
|
|
4
|
+
import { t as r } from "./dist-COqM3IM6.mjs";
|
|
5
|
+
import { t as i } from "./dist-Cu0GG-3j.mjs";
|
|
6
|
+
import { t as a } from "./dist-B7Ph9-T6.mjs";
|
|
7
|
+
import { t as o } from "./dist-AlmToDtO.mjs";
|
|
8
|
+
import { t as s } from "./dist-DKI-XYwI.mjs";
|
|
9
|
+
import { n as c } from "./dist-dwRwxUPt.mjs";
|
|
10
|
+
import { t as l } from "./dist-DhubV_gU.mjs";
|
|
11
11
|
import * as u from "react";
|
|
12
12
|
import { jsx as d } from "react/jsx-runtime";
|
|
13
|
-
|
|
13
|
+
// ../../node_modules/.bun/@radix-ui+react-use-is-hydrated@0.1.3+0ac650c021fb1b59/node_modules/@radix-ui/react-use-is-hydrated/dist/index.mjs
|
|
14
14
|
var f = Object.defineProperty, p = (e, t) => f(e, "name", {
|
|
15
15
|
value: t,
|
|
16
16
|
configurable: !0
|
|
@@ -37,7 +37,7 @@ var y = typeof g == "function" ? v : h, b = Object.defineProperty, x = (e, t) =>
|
|
|
37
37
|
}), S = "rovingFocusGroup.onEntryFocus", C = {
|
|
38
38
|
bubbles: !1,
|
|
39
39
|
cancelable: !0
|
|
40
|
-
}, w = "RovingFocusGroup", [T, E, D] =
|
|
40
|
+
}, w = "RovingFocusGroup", [T, E, D] = t(w), [O, k] = r(w, [D]), A = {
|
|
41
41
|
Vertical: "vertical",
|
|
42
42
|
Horizontal: "horizontal"
|
|
43
43
|
}, j = {
|
|
@@ -54,19 +54,19 @@ var y = typeof g == "function" ? v : h, b = Object.defineProperty, x = (e, t) =>
|
|
|
54
54
|
})
|
|
55
55
|
})
|
|
56
56
|
});
|
|
57
|
-
}, "RovingFocusGroup")), F = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ x(function(
|
|
58
|
-
let { __scopeRovingFocusGroup: i, orientation:
|
|
57
|
+
}, "RovingFocusGroup")), F = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ x(function(t, r) {
|
|
58
|
+
let { __scopeRovingFocusGroup: i, orientation: l, loop: f = !1, dir: p, currentTabStopId: m, defaultCurrentTabStopId: h, onCurrentTabStopIdChange: g, onEntryFocus: _, preventScrollOnEntryFocus: v = !1, ...y } = t, b = u.useRef(null), x = n(r, b), T = c(p), [D, O] = s({
|
|
59
59
|
prop: m,
|
|
60
60
|
defaultProp: h ?? null,
|
|
61
61
|
onChange: g,
|
|
62
62
|
caller: w
|
|
63
|
-
}), [k, A] = u.useState(!1), j =
|
|
63
|
+
}), [k, A] = u.useState(!1), j = o(_), N = E(i), P = u.useRef(!1), [F, I] = u.useState(0);
|
|
64
64
|
return u.useEffect(() => {
|
|
65
65
|
let e = b.current;
|
|
66
66
|
if (e) return e.addEventListener(S, j), () => e.removeEventListener(S, j);
|
|
67
67
|
}, [j]), /* @__PURE__ */ d(M, {
|
|
68
68
|
scope: i,
|
|
69
|
-
orientation:
|
|
69
|
+
orientation: l,
|
|
70
70
|
dir: T,
|
|
71
71
|
loop: f,
|
|
72
72
|
currentTabStopId: D,
|
|
@@ -74,19 +74,19 @@ var y = typeof g == "function" ? v : h, b = Object.defineProperty, x = (e, t) =>
|
|
|
74
74
|
onItemShiftTab: u.useCallback(() => A(!0), []),
|
|
75
75
|
onFocusableItemAdd: u.useCallback(() => I((e) => e + 1), []),
|
|
76
76
|
onFocusableItemRemove: u.useCallback(() => I((e) => e - 1), []),
|
|
77
|
-
children: /* @__PURE__ */ d(
|
|
77
|
+
children: /* @__PURE__ */ d(a.div, {
|
|
78
78
|
tabIndex: k || F === 0 ? -1 : 0,
|
|
79
|
-
"data-orientation":
|
|
79
|
+
"data-orientation": l,
|
|
80
80
|
...y,
|
|
81
81
|
ref: x,
|
|
82
82
|
style: {
|
|
83
83
|
outline: "none",
|
|
84
|
-
...
|
|
84
|
+
...t.style
|
|
85
85
|
},
|
|
86
|
-
onMouseDown:
|
|
86
|
+
onMouseDown: e(t.onMouseDown, () => {
|
|
87
87
|
P.current = !0;
|
|
88
88
|
}),
|
|
89
|
-
onFocus:
|
|
89
|
+
onFocus: e(t.onFocus, (e) => {
|
|
90
90
|
let t = !P.current;
|
|
91
91
|
if (e.target === e.currentTarget && t && !k) {
|
|
92
92
|
let t = new CustomEvent(S, C);
|
|
@@ -101,40 +101,40 @@ var y = typeof g == "function" ? v : h, b = Object.defineProperty, x = (e, t) =>
|
|
|
101
101
|
}
|
|
102
102
|
P.current = !1;
|
|
103
103
|
}),
|
|
104
|
-
onBlur:
|
|
104
|
+
onBlur: e(t.onBlur, () => A(!1))
|
|
105
105
|
})
|
|
106
106
|
});
|
|
107
|
-
}, "RovingFocusGroupImpl")), I = "RovingFocusGroupItem", L = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ x(function(
|
|
108
|
-
let { __scopeRovingFocusGroup:
|
|
109
|
-
return
|
|
110
|
-
if (
|
|
107
|
+
}, "RovingFocusGroupImpl")), I = "RovingFocusGroupItem", L = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ x(function(t, n) {
|
|
108
|
+
let { __scopeRovingFocusGroup: r, focusable: o = !0, active: s = !1, tabStopId: c, children: f, ...p } = t, m = i(), h = c || m, g = N(I, r), _ = g.currentTabStopId === h, v = E(r), { onFocusableItemAdd: b, onFocusableItemRemove: x, currentTabStopId: S } = g, C = y();
|
|
109
|
+
return l(() => {
|
|
110
|
+
if (C && o) return b(), () => x();
|
|
111
111
|
}, [
|
|
112
112
|
C,
|
|
113
113
|
o,
|
|
114
114
|
b,
|
|
115
115
|
x
|
|
116
116
|
]), u.useEffect(() => {
|
|
117
|
-
if (!
|
|
117
|
+
if (!C && o) return b(), () => x();
|
|
118
118
|
}, [
|
|
119
119
|
C,
|
|
120
120
|
o,
|
|
121
121
|
b,
|
|
122
122
|
x
|
|
123
123
|
]), /* @__PURE__ */ d(T.ItemSlot, {
|
|
124
|
-
scope:
|
|
124
|
+
scope: r,
|
|
125
125
|
id: h,
|
|
126
126
|
focusable: o,
|
|
127
|
-
active:
|
|
128
|
-
children: /* @__PURE__ */ d(
|
|
127
|
+
active: s,
|
|
128
|
+
children: /* @__PURE__ */ d(a.span, {
|
|
129
129
|
tabIndex: _ ? 0 : -1,
|
|
130
130
|
"data-orientation": g.orientation,
|
|
131
131
|
...p,
|
|
132
132
|
ref: n,
|
|
133
|
-
onMouseDown:
|
|
133
|
+
onMouseDown: e(t.onMouseDown, (e) => {
|
|
134
134
|
o ? g.onItemFocus(h) : e.preventDefault();
|
|
135
135
|
}),
|
|
136
|
-
onFocus:
|
|
137
|
-
onKeyDown:
|
|
136
|
+
onFocus: e(t.onFocus, () => g.onItemFocus(h)),
|
|
137
|
+
onKeyDown: e(t.onKeyDown, (e) => {
|
|
138
138
|
if (e.key === "Tab" && e.shiftKey) {
|
|
139
139
|
g.onItemShiftTab();
|
|
140
140
|
return;
|
|
@@ -188,5 +188,4 @@ function H(e, t) {
|
|
|
188
188
|
return e.map((n, r) => e[(t + r) % e.length]);
|
|
189
189
|
}
|
|
190
190
|
x(H, "wrapArray");
|
|
191
|
-
//#endregion
|
|
192
191
|
export { L as n, k as r, P as t };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { t as r } from "./dist-
|
|
1
|
+
import { t as e } from "./dist-COqM3IM6.mjs";
|
|
2
|
+
import { a as t, n } from "./dist-C516Vwxy.mjs";
|
|
3
|
+
import { t as r } from "./dist-DhubV_gU.mjs";
|
|
4
4
|
import * as i from "react";
|
|
5
5
|
import { jsx as a } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// ../../node_modules/.bun/@radix-ui+react-collection@1.2.0+2b23df507bdda662/node_modules/@radix-ui/react-collection/dist/index.mjs
|
|
7
7
|
var o = Object.defineProperty, s = (e, t) => o(e, "name", {
|
|
8
8
|
value: t,
|
|
9
9
|
configurable: !0
|
|
10
10
|
});
|
|
11
|
-
|
|
11
|
+
// @__NO_SIDE_EFFECTS__
|
|
12
12
|
function c(r) {
|
|
13
|
-
let o = r + "CollectionProvider", [c, l] =
|
|
13
|
+
let o = r + "CollectionProvider", [c, l] = e(o), [u, d] = c(o, {
|
|
14
14
|
collectionRef: { current: null },
|
|
15
15
|
itemMap: /* @__PURE__ */ new Map()
|
|
16
16
|
}), f = /* @__PURE__ */ s((e) => {
|
|
@@ -23,16 +23,16 @@ function c(r) {
|
|
|
23
23
|
});
|
|
24
24
|
}, "CollectionProvider");
|
|
25
25
|
f.displayName = o;
|
|
26
|
-
let p = r + "CollectionSlot", m =
|
|
27
|
-
let { scope: r, children: i } = t;
|
|
26
|
+
let p = r + "CollectionSlot", m = n(p), h = i.forwardRef((e, n) => {
|
|
27
|
+
let { scope: r, children: i } = e, o = d(p, r), s = t(n, o.collectionRef);
|
|
28
28
|
return /* @__PURE__ */ a(m, {
|
|
29
|
-
ref:
|
|
29
|
+
ref: s,
|
|
30
30
|
children: i
|
|
31
31
|
});
|
|
32
32
|
});
|
|
33
33
|
h.displayName = p;
|
|
34
|
-
let g = r + "CollectionItemSlot", _ = "data-radix-collection-item", v =
|
|
35
|
-
let { scope: r, children: o, ...s } =
|
|
34
|
+
let g = r + "CollectionItemSlot", _ = "data-radix-collection-item", v = n(g), y = i.forwardRef((e, n) => {
|
|
35
|
+
let { scope: r, children: o, ...s } = e, c = i.useRef(null), l = t(n, c), u = d(g, r);
|
|
36
36
|
return i.useEffect(() => (u.itemMap.set(c, {
|
|
37
37
|
ref: c,
|
|
38
38
|
...s
|
|
@@ -123,7 +123,7 @@ var l = /* @__PURE__ */ new WeakMap(), u = class e extends Map {
|
|
|
123
123
|
}
|
|
124
124
|
deleteAt(e) {
|
|
125
125
|
let t = this.keyAt(e);
|
|
126
|
-
return t
|
|
126
|
+
return t !== void 0 && this.delete(t);
|
|
127
127
|
}
|
|
128
128
|
at(e) {
|
|
129
129
|
let t = d(this.#e, e);
|
|
@@ -228,7 +228,8 @@ var l = /* @__PURE__ */ new WeakMap(), u = class e extends Map {
|
|
|
228
228
|
}
|
|
229
229
|
toSorted(t) {
|
|
230
230
|
if (typeof t != "function") throw TypeError("OrderedDict.toSorted requires a compare function");
|
|
231
|
-
|
|
231
|
+
let n = [...this.entries()].sort(t);
|
|
232
|
+
return new e(n);
|
|
232
233
|
}
|
|
233
234
|
toReversed() {
|
|
234
235
|
let t = new e();
|
|
@@ -287,9 +288,9 @@ function p(e) {
|
|
|
287
288
|
return e !== e || e === 0 ? 0 : Math.trunc(e);
|
|
288
289
|
}
|
|
289
290
|
s(p, "toSafeInteger");
|
|
290
|
-
|
|
291
|
+
// @__NO_SIDE_EFFECTS__
|
|
291
292
|
function m(o) {
|
|
292
|
-
let c = o + "CollectionProvider", [l, d] =
|
|
293
|
+
let c = o + "CollectionProvider", [l, d] = e(c), [f, p] = l(c);
|
|
293
294
|
f.displayName = o + "CollectionStableContextProvider";
|
|
294
295
|
let [m, g] = l(c);
|
|
295
296
|
m.displayName = o + "CollectionStatefulContextProvider";
|
|
@@ -306,8 +307,8 @@ function m(o) {
|
|
|
306
307
|
});
|
|
307
308
|
}, "CollectionInit");
|
|
308
309
|
x.displayName = o + "CollectionInit";
|
|
309
|
-
let S = /* @__PURE__ */ s((
|
|
310
|
-
let { scope: n, children: r, state: o } =
|
|
310
|
+
let S = /* @__PURE__ */ s((e) => {
|
|
311
|
+
let { scope: n, children: r, state: o } = e, s = i.useRef(null), [c, l] = i.useState(null), d = t(s, l), [p, h] = o, g = i.useRef(new u()), b = i.useCallback(() => {
|
|
311
312
|
let e = g.current;
|
|
312
313
|
return _(e) || e.sort(v), e;
|
|
313
314
|
}, []);
|
|
@@ -341,24 +342,24 @@ function m(o) {
|
|
|
341
342
|
});
|
|
342
343
|
}, "CollectionProviderImpl");
|
|
343
344
|
S.displayName = o + "CollectionProviderImpl";
|
|
344
|
-
let C = o + "CollectionSlot", w =
|
|
345
|
-
let { scope: r, children: i } = t;
|
|
345
|
+
let C = o + "CollectionSlot", w = n(C), T = i.forwardRef((e, n) => {
|
|
346
|
+
let { scope: r, children: i } = e, o = p(C, r), s = t(n, o.collectionElementRef);
|
|
346
347
|
return /* @__PURE__ */ a(w, {
|
|
347
|
-
ref:
|
|
348
|
+
ref: s,
|
|
348
349
|
children: i
|
|
349
350
|
});
|
|
350
351
|
});
|
|
351
352
|
T.displayName = C;
|
|
352
|
-
let E = o + "CollectionItemSlot", D =
|
|
353
|
-
let { scope: o, children: s, ...c } =
|
|
353
|
+
let E = o + "CollectionItemSlot", D = n(E), O = i.forwardRef((e, n) => {
|
|
354
|
+
let { scope: o, children: s, ...c } = e, l = i.useRef(null), { setCollection: d, registryRef: f } = p(E, o), m = i.useRef(c);
|
|
354
355
|
h(m.current, c) || (m.current = c);
|
|
355
|
-
let g = m.current, _ =
|
|
356
|
+
let g = m.current, _ = i.useCallback((e) => {
|
|
356
357
|
let t = f.current;
|
|
357
358
|
e ? t.set(e, {
|
|
358
359
|
...m.current,
|
|
359
360
|
element: e
|
|
360
361
|
}) : l.current && t.delete(l.current);
|
|
361
|
-
}, [f]), l);
|
|
362
|
+
}, [f]), y = t(n, _, l);
|
|
362
363
|
r(() => {
|
|
363
364
|
let e = l.current, t = f.current;
|
|
364
365
|
e && t.has(e) && t.set(e, {
|
|
@@ -366,10 +367,10 @@ function m(o) {
|
|
|
366
367
|
element: e
|
|
367
368
|
});
|
|
368
369
|
}, [g, f]);
|
|
369
|
-
let
|
|
370
|
+
let b = i.useRef(null);
|
|
370
371
|
return i.useEffect(() => {
|
|
371
|
-
let e = l.current, t =
|
|
372
|
-
(t?.element ?? null)
|
|
372
|
+
let e = l.current, t = b.current;
|
|
373
|
+
((t?.element ?? null) !== e || e && t?.itemData !== g) && (b.current = e ? {
|
|
373
374
|
element: e,
|
|
374
375
|
itemData: g
|
|
375
376
|
} : null, d((n) => {
|
|
@@ -380,15 +381,15 @@ function m(o) {
|
|
|
380
381
|
}), r.sort(v);
|
|
381
382
|
}));
|
|
382
383
|
}), i.useEffect(() => () => {
|
|
383
|
-
let e =
|
|
384
|
-
|
|
384
|
+
let e = b.current;
|
|
385
|
+
b.current = null, e && d((t) => {
|
|
385
386
|
if (!t.has(e.element)) return t;
|
|
386
387
|
let n = new u(t);
|
|
387
388
|
return n.delete(e.element), n;
|
|
388
389
|
});
|
|
389
390
|
}, [d]), /* @__PURE__ */ a(D, {
|
|
390
391
|
"data-radix-collection-item": "",
|
|
391
|
-
ref:
|
|
392
|
+
ref: y,
|
|
392
393
|
children: s
|
|
393
394
|
});
|
|
394
395
|
});
|
|
@@ -456,5 +457,4 @@ function y(e) {
|
|
|
456
457
|
});
|
|
457
458
|
}
|
|
458
459
|
s(y, "getChildListObserver");
|
|
459
|
-
//#endregion
|
|
460
460
|
export { m as n, c as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
|
|
2
|
+
// ../../node_modules/.bun/@radix-ui+react-compose-refs@1.1.5+0ac650c021fb1b59/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
3
3
|
var t = Object.defineProperty, n = (e, n) => t(e, "name", {
|
|
4
4
|
value: n,
|
|
5
5
|
configurable: !0
|
|
@@ -28,13 +28,12 @@ function a(...t) {
|
|
|
28
28
|
return e.useCallback(i(...t), t);
|
|
29
29
|
}
|
|
30
30
|
n(a, "useComposedRefs");
|
|
31
|
-
|
|
32
|
-
//#region ../../node_modules/.bun/@radix-ui+react-slot@1.5.0+c841d34b494ec30a/node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
31
|
+
// ../../node_modules/.bun/@radix-ui+react-slot@1.5.0+0ac650c021fb1b59/node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
33
32
|
var o = Object.defineProperty, s = (e, t) => o(e, "name", {
|
|
34
33
|
value: t,
|
|
35
34
|
configurable: !0
|
|
36
35
|
});
|
|
37
|
-
|
|
36
|
+
// @__NO_SIDE_EFFECTS__
|
|
38
37
|
function c(t) {
|
|
39
38
|
let n = e.forwardRef((n, r) => {
|
|
40
39
|
let { children: i, ...o } = n, s = null, c = !1, l = [];
|
|
@@ -58,7 +57,7 @@ function c(t) {
|
|
|
58
57
|
}
|
|
59
58
|
s(c, "createSlot");
|
|
60
59
|
var l = /* @__PURE__ */ c("Slot"), u = Symbol.for("radix.slottable");
|
|
61
|
-
|
|
60
|
+
// @__NO_SIDE_EFFECTS__
|
|
62
61
|
function d(e) {
|
|
63
62
|
let t = /* @__PURE__ */ s((e) => "child" in e ? e.children(e.child) : e.children, "Slottable");
|
|
64
63
|
return t.displayName = `${e}.Slottable`, t.__radixId = u, t;
|
|
@@ -114,5 +113,4 @@ function b(...e) {
|
|
|
114
113
|
}
|
|
115
114
|
s(b, "concatAriaDescribedby");
|
|
116
115
|
var x = /* @__PURE__ */ s((e) => `${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, "createSlotError"), S = /* @__PURE__ */ s((e) => `${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`, "createSlottableError"), C = e.use;
|
|
117
|
-
//#endregion
|
|
118
116
|
export { a, i, c as n, d as r, l as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./rolldown-runtime-DbbDpzbe.js"),t=require("./dist-CJqVmdrU.js");let n=require("react"),r=e.r(n,1);n=e.r(n);let i=require("react-dom");i=e.r(i,1);let a=require("react/jsx-runtime");var o=Object.defineProperty,s=(e,t)=>o(e,`name`,{value:t,configurable:!0}),c=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,n)=>{let i=t.n(`Primitive.${n}`),o=r.forwardRef((e,t)=>{let{asChild:r,...o}=e,s=r?i:n;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,a.jsx)(s,{...o,ref:t})});return o.displayName=`Primitive.${n}`,{...e,[n]:o}},{});function l(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}s(l,`dispatchDiscreteCustomEvent`),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return c}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./rolldown-runtime-DbbDpzbe.js"),t=require("./dist-CBlqVBTk.js"),n=require("./dist-B7jnFMko.js");let r=require("react"),i=e.r(r,1);r=e.r(r);let a=require("react-dom");a=e.r(a,1);let o=require("react/jsx-runtime");var s=Object.defineProperty,c=i.forwardRef(((e,t)=>s(e,`name`,{value:t,configurable:!0}))(function(e,r){let{container:s,...c}=e,[l,u]=i.useState(!1);n.t(()=>u(!0),[]);let d=s||l&&globalThis?.document?.body;return d?a.createPortal((0,o.jsx)(t.t.div,{...c,ref:r}),d):null},`Portal`));Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return c}});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as e } from "./dist-
|
|
2
|
-
import { t } from "./dist-
|
|
3
|
-
import { t as n } from "./dist-
|
|
1
|
+
import { a as e } from "./dist-C516Vwxy.mjs";
|
|
2
|
+
import { t } from "./dist-B7Ph9-T6.mjs";
|
|
3
|
+
import { t as n } from "./dist-AlmToDtO.mjs";
|
|
4
4
|
import * as r from "react";
|
|
5
5
|
import { jsx as i } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// ../../node_modules/.bun/@radix-ui+react-focus-scope@1.3.1+2b23df507bdda662/node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
7
7
|
var a = Object.defineProperty, o = (e, t) => a(e, "name", {
|
|
8
8
|
value: t,
|
|
9
9
|
configurable: !0
|
|
@@ -114,7 +114,7 @@ o(p, "useFocusScopeBranchRegistry");
|
|
|
114
114
|
function m(e) {
|
|
115
115
|
let t = r.useContext(d);
|
|
116
116
|
r.useEffect(() => {
|
|
117
|
-
if (
|
|
117
|
+
if (e && t) return t.add(e), () => t.remove(e);
|
|
118
118
|
}, [e, t]);
|
|
119
119
|
}
|
|
120
120
|
o(m, "useFocusScopeBranch");
|
|
@@ -186,5 +186,4 @@ function T(e) {
|
|
|
186
186
|
return e.filter((e) => e.tagName !== "A");
|
|
187
187
|
}
|
|
188
188
|
o(T, "removeLinks");
|
|
189
|
-
//#endregion
|
|
190
189
|
export { p as i, f as n, m as r, u as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./rolldown-runtime-DbbDpzbe.js"),t=require("./dist-DZiOPWLp.js"),n=require("./dist-Co_xSt6d.js"),r=require("./dist-CJqVmdrU.js"),i=require("./dist-DW2ltK5-.js"),a=require("./dist-DdAeWIwf.js"),o=require("./dist-R_G5UQRm.js"),s=require("./es2015-Dggv0vx3.js"),c=require("./dist-DmY7elIQ.js"),l=require("./dist-RXrZgzkO.js"),u=require("./dist-CIgGRTmJ.js"),d=require("./dist-CDcZ8WMF.js"),f=require("./dist-Blgp9lfa.js"),p=require("./dist-CBlqVBTk.js"),m=require("./dist-BQkDLAY7.js"),h=require("./dist-pqMcQ1Nk.js");let g=require("react"),_=e.r(g,1);g=e.r(g);let v=require("react/jsx-runtime");var y=Object.defineProperty,b=(e,t)=>y(e,`name`,{value:t,configurable:!0}),ee={LTR:`ltr`,RTL:`rtl`},x=[`Enter`,` `],te=[`ArrowDown`,`PageUp`,`Home`],ne=[`ArrowUp`,`PageDown`,`End`],re=[...te,...ne],S={ltr:[...x,`ArrowRight`],rtl:[...x,`ArrowLeft`]},C={ltr:[`ArrowLeft`],rtl:[`ArrowRight`]},w=`Menu`,[T,ie,ae]=n.t(w),[E,D]=i.t(w,[ae,u.a,m.r]),O=u.a(),oe=m.r(),[k,A]=E(w),[j,M]=E(w),N=b(e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:o,modal:s=!0}=e,c=O(t),[l,d]=_.useState(null),f=_.useRef(!1),p=h.t(o),m=a.n(i);return _.useEffect(()=>{let e=b(()=>{f.current=!0,document.addEventListener(`pointerdown`,t,{capture:!0,once:!0}),document.addEventListener(`pointermove`,t,{capture:!0,once:!0})},`handleKeyDown`),t=b(()=>f.current=!1,`handlePointer`);return document.addEventListener(`keydown`,e,{capture:!0}),()=>{document.removeEventListener(`keydown`,e,{capture:!0}),document.removeEventListener(`pointerdown`,t,{capture:!0}),document.removeEventListener(`pointermove`,t,{capture:!0})}},[]),_.useEffect(()=>{if(!n)return;let e=b(()=>p(!1),`handleBlur`);return window.addEventListener(`blur`,e),()=>window.removeEventListener(`blur`,e)},[n,p]),(0,v.jsx)(u.t,{...c,children:(0,v.jsx)(k,{scope:t,open:n,onOpenChange:p,content:l,onContentChange:d,children:(0,v.jsx)(j,{scope:t,onClose:_.useCallback(()=>p(!1),[p]),isUsingKeyboardRef:f,dir:m,modal:s,children:r})})})},`Menu`),P=_.forwardRef(b(function(e,t){let{__scopeMenu:n,...r}=e,i=O(n);return(0,v.jsx)(u.n,{...i,...r,ref:t})},`MenuAnchor`)),se=`MenuPortal`,[F,I]=E(se,{forceMount:void 0}),ce=b(e=>{let{__scopeMenu:t,forceMount:n,children:r,container:i}=e,a=A(se,t);return(0,v.jsx)(F,{scope:t,forceMount:n,children:(0,v.jsx)(f.t,{present:n||a.open,children:(0,v.jsx)(d.t,{asChild:!0,container:i,children:r})})})},`MenuPortal`),L=`MenuContent`,[le,R]=E(L),z=_.forwardRef(b(function(e,t){let n=I(L,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=A(L,e.__scopeMenu),o=M(L,e.__scopeMenu);return(0,v.jsx)(T.Provider,{scope:e.__scopeMenu,children:(0,v.jsx)(f.t,{present:r||a.open,children:(0,v.jsx)(T.Slot,{scope:e.__scopeMenu,children:o.modal?(0,v.jsx)(B,{...i,ref:t}):(0,v.jsx)(ue,{...i,ref:t})})})})},`MenuContent`)),B=_.forwardRef(b(function(e,n){let i=A(L,e.__scopeMenu),a=_.useRef(null),o=r.a(n,a);return _.useEffect(()=>{let e=a.current;if(e)return s.t(e)},[]),(0,v.jsx)(V,{...e,ref:o,trapFocus:i.open,disableOutsidePointerEvents:i.open,disableOutsideScroll:!0,onFocusOutside:t.t(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>i.onOpenChange(!1)})},`MenuRootContentModal`)),ue=_.forwardRef(b(function(e,t){let n=A(L,e.__scopeMenu);return(0,v.jsx)(V,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})},`MenuRootContentNonModal`)),de=r.n(`MenuContent.ScrollLock`),V=_.forwardRef(b(function(e,n){let{__scopeMenu:i,loop:a=!1,trapFocus:l,onOpenAutoFocus:d,onCloseAutoFocus:f,disableOutsidePointerEvents:p,onEntryFocus:h,onEscapeKeyDown:g,onPointerDownOutside:y,onFocusOutside:ee,onInteractOutside:x,onDismiss:te,disableOutsideScroll:S,...C}=e,w=A(L,i),T=M(L,i),ae=O(i),E=oe(i),D=ie(i),[k,j]=_.useState(null),N=_.useRef(null),[P,se]=_.useState(null);c.r(P);let{nodes:F,registry:I}=c.i(),ce=!!(l||S),R=r.a(n,N,w.onContentChange,se),z=_.useRef(0),B=_.useRef(``),ue=_.useRef(0),V=_.useRef(null),H=_.useRef(`right`),U=_.useRef(0),W=_.useMemo(()=>S?[N,...F.map(e=>({current:e}))]:[],[N,F,S]),G=S?s.n:_.Fragment,K=S?{as:de,allowPinchZoom:!0,shards:W}:void 0,q=b(e=>{let t=B.current+e,n=D().filter(e=>!e.disabled),r=document.activeElement,i=n.find(e=>e.ref.current===r)?.textValue,a=je(n.map(e=>e.textValue),t,i),o=n.find(e=>e.textValue===a)?.ref.current;function s(e){B.current=e,window.clearTimeout(z.current),e!==``&&(z.current=window.setTimeout(()=>s(``),1e3))}b(s,`updateSearch`),s(t),o&&setTimeout(()=>o.focus())},`handleTypeaheadSearch`);_.useEffect(()=>()=>window.clearTimeout(z.current),[]),s.r();let J=_.useCallback(e=>H.current===V.current?.side&&Ne(e,V.current?.area),[]);return(0,v.jsx)(le,{scope:i,searchRef:B,onItemEnter:_.useCallback(e=>{J(e)&&e.preventDefault()},[J]),onItemLeave:_.useCallback(e=>{J(e)||(N.current?.focus(),j(null))},[J]),onTriggerLeave:_.useCallback(e=>{J(e)&&e.preventDefault()},[J]),pointerGraceTimerRef:ue,onPointerGraceIntentChange:_.useCallback(e=>{V.current=e},[]),children:(0,v.jsx)(c.n,{registry:ce?I:null,children:(0,v.jsx)(G,{...K,children:(0,v.jsx)(c.t,{asChild:!0,trapped:l,branches:F,onMountAutoFocus:t.t(d,e=>{e.preventDefault(),N.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:f,children:(0,v.jsx)(o.t,{asChild:!0,disableOutsidePointerEvents:p,onEscapeKeyDown:g,onPointerDownOutside:y,onFocusOutside:ee,onInteractOutside:x,onDismiss:te,children:(0,v.jsx)(m.t,{asChild:!0,...E,dir:T.dir,orientation:`vertical`,loop:a,currentTabStopId:k,onCurrentTabStopIdChange:j,onEntryFocus:t.t(h,e=>{T.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,v.jsx)(u.i,{role:`menu`,"aria-orientation":`vertical`,"data-state":X(w.open),"data-radix-menu-content":``,dir:T.dir,...ae,...C,ref:R,style:{outline:`none`,...C.style},onKeyDown:t.t(C.onKeyDown,e=>{let t=e.target.closest(`[data-radix-menu-content]`)===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=e.key.length===1;t&&(e.key===`Tab`&&e.preventDefault(),!n&&r&&q(e.key));let i=N.current;if(e.target!==i||!re.includes(e.key))return;e.preventDefault();let a=D().filter(e=>!e.disabled).map(e=>e.ref.current);ne.includes(e.key)&&a.reverse(),ke(a)}),onBlur:t.t(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(z.current),B.current=``)}),onPointerMove:t.t(e.onPointerMove,$(e=>{let t=e.target,n=U.current!==e.clientX;if(e.currentTarget.contains(t)&&n){let t=e.clientX>U.current?`right`:`left`;H.current=t,U.current=e.clientX}}))})})})})})})})},`MenuContentImpl`)),H=_.forwardRef(b(function(e,t){let{__scopeMenu:n,...r}=e;return(0,v.jsx)(p.t.div,{role:`group`,...r,ref:t})},`MenuGroup`)),U=_.forwardRef(b(function(e,t){let{__scopeMenu:n,...r}=e;return(0,v.jsx)(p.t.div,{...r,ref:t})},`MenuLabel`)),W=`MenuItem`,G=`menu.itemSelect`,K=_.forwardRef(b(function(e,n){let{disabled:i=!1,onSelect:a,...o}=e,s=_.useRef(null),c=M(W,e.__scopeMenu),l=R(W,e.__scopeMenu),u=r.a(n,s),d=_.useRef(!1),f=b(()=>{let e=s.current;if(!i&&e){let t=new CustomEvent(G,{bubbles:!0,cancelable:!0});e.addEventListener(G,e=>a?.(e),{once:!0}),p.n(e,t),t.defaultPrevented?d.current=!1:c.onClose()}},`handleSelect`);return(0,v.jsx)(q,{...o,ref:u,disabled:i,onClick:t.t(e.onClick,f),onPointerDown:t=>{e.onPointerDown?.(t),d.current=!0},onPointerUp:t.t(e.onPointerUp,e=>{d.current||e.currentTarget?.click()}),onKeyDown:t.t(e.onKeyDown,e=>{i||e.target!==e.currentTarget||(l.searchRef.current===``||e.key!==` `)&&x.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})},`MenuItem`)),q=_.forwardRef(b(function(e,n){let{__scopeMenu:i,disabled:a=!1,textValue:o,...s}=e,c=R(W,i),l=oe(i),u=_.useRef(null),d=r.a(n,u),[f,h]=_.useState(!1),[g,y]=_.useState(``);return _.useEffect(()=>{let e=u.current;e&&y((e.textContent??``).trim())},[s.children]),(0,v.jsx)(T.ItemSlot,{scope:i,disabled:a,textValue:o??g,children:(0,v.jsx)(m.n,{asChild:!0,...l,focusable:!a,children:(0,v.jsx)(p.t.div,{role:`menuitem`,"data-highlighted":f?``:void 0,"aria-disabled":a||void 0,"data-disabled":a?``:void 0,...s,ref:d,onPointerMove:t.t(e.onPointerMove,$(e=>{a?c.onItemLeave(e):(c.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:t.t(e.onPointerLeave,$(e=>c.onItemLeave(e))),onFocus:t.t(e.onFocus,()=>h(!0)),onBlur:t.t(e.onBlur,()=>h(!1))})})})},`MenuItemImpl`)),J=_.forwardRef(b(function(e,n){let{checked:r=!1,onCheckedChange:i,...a}=e;return(0,v.jsx)(ve,{scope:e.__scopeMenu,checked:r,children:(0,v.jsx)(K,{role:`menuitemcheckbox`,"aria-checked":Z(r)?`mixed`:r,...a,ref:n,"data-state":Q(r),onSelect:t.t(a.onSelect,()=>i?.(Z(r)?!0:!r),{checkForDefaultPrevented:!1})})})},`MenuCheckboxItem`)),[fe,pe]=E(`MenuRadioGroup`,{value:void 0,onValueChange:b(()=>{},`onValueChange`)}),me=_.forwardRef(b(function(e,t){let{value:n,onValueChange:r,...i}=e,a=h.t(r);return(0,v.jsx)(fe,{scope:e.__scopeMenu,value:n,onValueChange:a,children:(0,v.jsx)(H,{...i,ref:t})})},`MenuRadioGroup`)),he=`MenuRadioItem`,ge=_.forwardRef(b(function(e,n){let{value:r,...i}=e,a=pe(he,e.__scopeMenu),o=r===a.value;return(0,v.jsx)(ve,{scope:e.__scopeMenu,checked:o,children:(0,v.jsx)(K,{role:`menuitemradio`,"aria-checked":o,...i,ref:n,"data-state":Q(o),onSelect:t.t(i.onSelect,()=>a.onValueChange?.(r),{checkForDefaultPrevented:!1})})})},`MenuRadioItem`)),_e=`MenuItemIndicator`,[ve,ye]=E(_e,{checked:!1}),be=_.forwardRef(b(function(e,t){let{__scopeMenu:n,forceMount:r,...i}=e,a=ye(_e,n);return(0,v.jsx)(f.t,{present:r||Z(a.checked)||a.checked===!0,children:(0,v.jsx)(p.t.span,{...i,ref:t,"data-state":Q(a.checked)})})},`MenuItemIndicator`)),xe=_.forwardRef(b(function(e,t){let{__scopeMenu:n,...r}=e;return(0,v.jsx)(p.t.div,{role:`separator`,"aria-orientation":`horizontal`,...r,ref:t})},`MenuSeparator`)),Se=`MenuSub`,[Ce,we]=E(Se),Te=b(e=>{let{__scopeMenu:t,children:n,open:r=!1,onOpenChange:i}=e,a=A(Se,t),o=O(t),[s,c]=_.useState(null),[d,f]=_.useState(null),p=h.t(i);return _.useEffect(()=>(a.open===!1&&p(!1),()=>p(!1)),[a.open,p]),(0,v.jsx)(u.t,{...o,children:(0,v.jsx)(k,{scope:t,open:r,onOpenChange:p,content:d,onContentChange:f,children:(0,v.jsx)(Ce,{scope:t,contentId:l.t(),triggerId:l.t(),trigger:s,onTriggerChange:c,children:n})})})},`MenuSub`),Y=`MenuSubTrigger`,Ee=_.forwardRef(b(function(e,n){let i=A(Y,e.__scopeMenu),a=M(Y,e.__scopeMenu),o=we(Y,e.__scopeMenu),s=R(Y,e.__scopeMenu),c=_.useRef(null),{pointerGraceTimerRef:l,onPointerGraceIntentChange:u}=s,d={__scopeMenu:e.__scopeMenu},f=_.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);_.useEffect(()=>f,[f]),_.useEffect(()=>{let e=l.current;return()=>{window.clearTimeout(e),u(null)}},[l,u]);let p=r.a(n,o.onTriggerChange);return(0,v.jsx)(P,{asChild:!0,...d,children:(0,v.jsx)(q,{id:o.triggerId,"aria-haspopup":`menu`,"aria-expanded":i.open,"aria-controls":i.open?o.contentId:void 0,"data-state":X(i.open),...e,ref:p,onClick:t=>{e.onClick?.(t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),i.open||i.onOpenChange(!0))},onPointerMove:t.t(e.onPointerMove,$(t=>{s.onItemEnter(t),t.defaultPrevented||e.disabled||i.open||c.current||(s.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{i.onOpenChange(!0),f()},100))})),onPointerLeave:t.t(e.onPointerLeave,$(e=>{f();let t=i.content?.getBoundingClientRect();if(t){let n=i.content?.dataset.side,r=n===`right`,a=r?-5:5,o=t[r?`left`:`right`],c=t[r?`right`:`left`];s.onPointerGraceIntentChange({area:[{x:e.clientX+a,y:e.clientY},{x:o,y:t.top},{x:c,y:t.top},{x:c,y:t.bottom},{x:o,y:t.bottom}],side:n}),window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(e),e.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:t.t(e.onKeyDown,t=>{e.disabled||t.target!==t.currentTarget||(s.searchRef.current===``||t.key!==` `)&&S[a.dir].includes(t.key)&&(i.onOpenChange(!0),i.content?.focus(),t.preventDefault())})})})},`MenuSubTrigger`)),De=`MenuSubContent`,Oe=_.forwardRef(b(function(e,n){let i=I(L,e.__scopeMenu),{forceMount:a=i.forceMount,align:o=`start`,...s}=e,c=A(L,e.__scopeMenu),l=M(L,e.__scopeMenu),u=we(De,e.__scopeMenu),d=_.useRef(null),p=r.a(n,d);return(0,v.jsx)(T.Provider,{scope:e.__scopeMenu,children:(0,v.jsx)(f.t,{present:a||c.open,children:(0,v.jsx)(T.Slot,{scope:e.__scopeMenu,children:(0,v.jsx)(V,{id:u.contentId,"aria-labelledby":u.triggerId,...s,ref:p,align:o,side:l.dir===ee.RTL?`left`:`right`,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{l.isUsingKeyboardRef.current&&d.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:t.t(e.onFocusOutside,e=>{e.target!==u.trigger&&c.onOpenChange(!1)}),onEscapeKeyDown:t.t(e.onEscapeKeyDown,e=>{l.onClose(),e.preventDefault()}),onKeyDown:t.t(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=C[l.dir].includes(e.key);t&&n&&(c.onOpenChange(!1),u.trigger?.focus(),e.preventDefault())})})})})})},`MenuSubContent`));function X(e){return e?`open`:`closed`}b(X,`getOpenState`);function Z(e){return e===`indeterminate`}b(Z,`isIndeterminate`);function Q(e){return Z(e)?`indeterminate`:e?`checked`:`unchecked`}b(Q,`getCheckedState`);function ke(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}b(ke,`focusFirst`);function Ae(e,t){return e.map((n,r)=>e[(t+r)%e.length])}b(Ae,`wrapArray`);function je(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=Ae(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}b(je,`getNextMatch`);function Me(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e],s=t[a],c=o.x,l=o.y,u=s.x,d=s.y;l>r!=d>r&&n<(u-c)*(r-l)/(d-l)+c&&(i=!i)}return i}b(Me,`isPointInPolygon`);function Ne(e,t){return t?Me({x:e.clientX,y:e.clientY},t):!1}b(Ne,`isPointerInGraceArea`);function $(e){return t=>t.pointerType===`mouse`?e(t):void 0}b($,`whenMouse`),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return H}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return U}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return ge}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return xe}}),Object.defineProperty(exports,"g",{enumerable:!0,get:function(){return D}}),Object.defineProperty(exports,"h",{enumerable:!0,get:function(){return Ee}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return z}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return ce}}),Object.defineProperty(exports,"m",{enumerable:!0,get:function(){return Oe}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return P}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return K}}),Object.defineProperty(exports,"p",{enumerable:!0,get:function(){return Te}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return J}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return be}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return N}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return me}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./rolldown-runtime-DbbDpzbe.js"),t=require("./floating-ui.react-dom-BtFIezY4.js"),n=require("./dist-CBlqVBTk.js"),r=require("./dist-CJqVmdrU.js"),i=require("./dist-DW2ltK5-.js"),a=require("./dist-pqMcQ1Nk.js"),o=require("./dist-B7jnFMko.js"),s=require("./dist-Bal96K8t.js");let c=require("react"),l=e.r(c,1);c=e.r(c);let u=require("react/jsx-runtime");var d=Object.defineProperty,f=l.forwardRef(((e,t)=>d(e,`name`,{value:t,configurable:!0}))(function(e,t){let{children:r,width:i=10,height:a=5,...o}=e;return(0,u.jsx)(n.t.svg,{...o,ref:t,width:i,height:a,viewBox:`0 0 30 10`,preserveAspectRatio:`none`,children:e.asChild?r:(0,u.jsx)(`polygon`,{points:`0,0 30,0 15,10`})})},`Arrow`)),p=Object.defineProperty,m=(e,t)=>p(e,`name`,{value:t,configurable:!0}),h={Partial:`partial`,Always:`always`},g={Optimized:`optimized`,Always:`always`},_=`Popper`,[v,y]=i.t(_),[b,x]=v(_),S=m(e=>{let{__scopePopper:t,children:n}=e,[r,i]=l.useState(null),[a,o]=l.useState(void 0);return(0,u.jsx)(b,{scope:t,anchor:r,onAnchorChange:i,placementState:a,setPlacementState:o,children:n})},`Popper`),C=`PopperAnchor`,w=l.forwardRef(m(function(e,t){let{__scopePopper:i,virtualRef:a,...o}=e,s=x(C,i),c=l.useRef(null),d=s.onAnchorChange,f=l.useCallback(e=>{c.current=e,e&&d(e)},[d]),p=r.a(t,f),m=l.useRef(null);l.useEffect(()=>{if(!a)return;let e=m.current;m.current=a.current,e!==m.current&&d(m.current)});let h=s.placementState&&P(s.placementState),g=h?.[0],_=h?.[1];return a?null:(0,u.jsx)(n.t.div,{"data-radix-popper-side":g,"data-radix-popper-align":_,...o,ref:p})},`PopperAnchor`)),T=`PopperContent`,[E,D]=v(T),O=l.forwardRef(m(function(e,i){let{__scopePopper:c,side:d=`bottom`,sideOffset:f=0,align:p=`center`,alignOffset:_=0,arrowPadding:v=0,avoidCollisions:y=!0,collisionBoundary:b=[],collisionPadding:S=0,sticky:C=h.Partial,hideWhenDetached:w=!1,updatePositionStrategy:D=g.Optimized,onPlaced:O,...k}=e,A=x(T,c),[j,ee]=l.useState(null),F=r.a(i,ee),[I,L]=l.useState(null),R=s.t(I),z=R?.width??0,B=R?.height??0,V=d+(p===`center`?``:`-`+p),H=typeof S==`number`?S:{top:0,right:0,bottom:0,left:0,...S},U=Array.isArray(b)?b:[b],W=U.length>0,G={padding:H,boundary:U.filter(M),altBoundary:W},{refs:te,floatingStyles:K,placement:q,isPositioned:J,middlewareData:Y}=t.c({strategy:`fixed`,placement:V,whileElementsMounted:m((...e)=>t.l(...e,{animationFrame:D===g.Always}),`whileElementsMounted`),elements:{reference:A.anchor},middleware:[t.a({mainAxis:f+B,alignmentAxis:_}),y&&t.o({mainAxis:!0,crossAxis:!1,...C===h.Partial?{limiter:t.i()}:{},...G}),y&&t.n({...G}),t.s({...G,apply:m(({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--radix-popper-available-width`,`${n}px`),o.setProperty(`--radix-popper-available-height`,`${r}px`),o.setProperty(`--radix-popper-anchor-width`,`${i}px`),o.setProperty(`--radix-popper-anchor-height`,`${a}px`)},`apply`)}),I&&t.t({element:I,padding:v}),N({arrowWidth:z,arrowHeight:B}),w&&t.r(W?{strategy:`referenceHidden`,...G}:{strategy:`referenceHidden`,padding:G.padding,altBoundary:G.altBoundary})]}),X=A.setPlacementState;o.t(()=>(X(q),()=>{X(void 0)}),[q,X]);let[Z,Q]=P(q),$=a.t(O);o.t(()=>{J&&$?.()},[J,$]);let ne=Y.arrow?.x,re=Y.arrow?.y,ie=Y.arrow?.centerOffset!==0,[ae,oe]=l.useState();return o.t(()=>{j&&oe(window.getComputedStyle(j).zIndex)},[j]),(0,u.jsx)(`div`,{ref:te.setFloating,"data-radix-popper-content-wrapper":``,style:{...K,transform:J?K.transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:ae,"--radix-popper-transform-origin":[Y.transformOrigin?.x,Y.transformOrigin?.y].join(` `),...Y.hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}},dir:e.dir,children:(0,u.jsx)(E,{scope:c,placedSide:Z,placedAlign:Q,onArrowChange:L,arrowX:ne,arrowY:re,shouldHideArrow:ie,children:(0,u.jsx)(n.t.div,{"data-side":Z,"data-align":Q,...k,ref:F,style:{...k.style,animation:J?k.style?.animation:`none`}})})})},`PopperContent`)),k=`PopperArrow`,A={top:`bottom`,right:`left`,bottom:`top`,left:`right`},j=l.forwardRef(m(function(e,t){let{__scopePopper:n,...r}=e,i=D(k,n),a=A[i.placedSide];return(0,u.jsx)(`span`,{ref:i.onArrowChange,style:{position:`absolute`,left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:``,right:`0 0`,bottom:`center 0`,left:`100% 0`}[i.placedSide],transform:{top:`translateY(100%)`,right:`translateY(50%) rotate(90deg) translateX(-50%)`,bottom:`rotate(180deg)`,left:`translateY(50%) rotate(-90deg) translateX(50%)`}[i.placedSide],visibility:i.shouldHideArrow?`hidden`:void 0},children:(0,u.jsx)(f,{...r,ref:t,style:{...r.style,display:`block`}})})},`PopperArrow`));function M(e){return e!==null}m(M,`isNotNull`);var N=m(e=>({name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=P(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}}),`transformOrigin`);function P(e){let[t,n=`center`]=e.split(`-`);return[t,n]}m(P,`getSideAndAlignFromPlacement`),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return O}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return w}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return j}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return S}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./rolldown-runtime-DbbDpzbe.js");let t=require("react"),n=e.r(t,1);t=e.r(t);var r=Object.defineProperty,i=(e,t)=>r(e,`name`,{value:t,configurable:!0});function a(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}i(a,`setRef`);function o(...e){return t=>{let n=!1,r=e.map(e=>{let r=a(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():a(e[t],null)}}}}i(o,`composeRefs`);function s(...e){return n.useCallback(o(...e),e)}i(s,`useComposedRefs`);var c=Object.defineProperty,l=(e,t)=>c(e,`name`,{value:t,configurable:!0});function u(e){let t=n.forwardRef((t,r)=>{let{children:i,...a}=t,o=null,c=!1,l=[];i=x(i),n.Children.forEach(i,e=>{if(_(e)){c=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;for(;y(n)&&typeof T==`function`;)n=T(n._payload);o=m(t,n),l.push(o?.props?.children)}else l.push(e)}),o?o=n.cloneElement(o,void 0,l):!c&&n.Children.count(i)===1&&n.isValidElement(i)&&(o=i);let u=o?g(o):void 0,d=s(r,u);if(!o){if(i||i===0)throw Error(c?w(e):C(e));return i}let f=h(a,o.props??{});return o.type!==n.Fragment&&(f.ref=r?d:u),n.cloneElement(o,f)});return t.displayName=`${e}.Slot`,t}l(u,`createSlot`);var d=u(`Slot`),f=Symbol.for(`radix.slottable`);function p(e){let t=l(e=>`child`in e?e.children(e.child):e.children,`Slottable`);return t.displayName=`${e}.Slottable`,t.__radixId=f,t}l(p,`createSlottable`);var m=l((e,t)=>`child`in e.props?n.isValidElement(t)?n.cloneElement(t,void 0,e.props.children(t.props.children)):null:n.isValidElement(t)?t:null,`getSlottableElementFromSlottable`);function h(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`?n[r]=[i,a].filter(Boolean).join(` `):r===`aria-describedby`&&(n[r]=S(a,i))}return{...e,...n}}l(h,`mergeProps`);function g(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}l(g,`getElementRef`);function _(e){return n.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===f}l(_,`isSlottable`);var v=Symbol.for(`react.lazy`);function y(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===v&&`_payload`in e&&b(e._payload)}l(y,`isLazyComponent`);function b(e){return typeof e==`object`&&!!e&&`then`in e}l(b,`isPromiseLike`);function x(e){let t=e;for(;y(t)&&typeof T==`function`;)t=T(t._payload);return t}l(x,`useUnwrappedLazy`);function S(...e){let t=new Set;for(let n of e)if(typeof n==`string`)for(let e of String(n).trim().split(/\s+/))e&&t.add(e);return t.size>0?Array.from(t).join(` `):void 0}l(S,`concatAriaDescribedby`);var C=l(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,`createSlotError`),w=l(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,`createSlottableError`),T=n.use;Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return p}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return d}});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// ../../node_modules/.bun/@radix-ui+react-context@1.3.0+0ac650c021fb1b59/node_modules/@radix-ui/react-context/dist/index.mjs
|
|
4
4
|
var n = Object.defineProperty, r = (e, t) => n(e, "name", {
|
|
5
5
|
value: t,
|
|
6
6
|
configurable: !0
|
|
7
7
|
});
|
|
8
|
-
|
|
8
|
+
// @__NO_SIDE_EFFECTS__
|
|
9
9
|
function i(n, i) {
|
|
10
10
|
let a = e.createContext(i);
|
|
11
11
|
a.displayName = n + "Context";
|
|
@@ -26,7 +26,7 @@ function i(n, i) {
|
|
|
26
26
|
return r(s, "useContext"), [o, s];
|
|
27
27
|
}
|
|
28
28
|
r(i, "createContext");
|
|
29
|
-
|
|
29
|
+
// @__NO_SIDE_EFFECTS__
|
|
30
30
|
function a(n, i = []) {
|
|
31
31
|
let a = [];
|
|
32
32
|
function s(i, o) {
|
|
@@ -86,5 +86,4 @@ function o(...t) {
|
|
|
86
86
|
return i.scopeName = n.scopeName, i;
|
|
87
87
|
}
|
|
88
88
|
r(o, "composeContextScopes");
|
|
89
|
-
//#endregion
|
|
90
89
|
export { a as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as t, t as n } from "./dist-
|
|
3
|
-
import {
|
|
4
|
-
import { t as i } from "./dist-
|
|
1
|
+
import { t as e } from "./dist-B76UOZbx.mjs";
|
|
2
|
+
import { n as t, t as n } from "./dist-B7Ph9-T6.mjs";
|
|
3
|
+
import { a as r } from "./dist-C516Vwxy.mjs";
|
|
4
|
+
import { t as i } from "./dist-AlmToDtO.mjs";
|
|
5
5
|
import * as a from "react";
|
|
6
6
|
import { jsx as o } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// ../../node_modules/.bun/@radix-ui+react-dismissable-layer@1.2.1+2b23df507bdda662/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
8
8
|
var s = Object.defineProperty, c = (e, t) => s(e, "name", {
|
|
9
9
|
value: t,
|
|
10
10
|
configurable: !0
|
|
@@ -14,7 +14,7 @@ var s = Object.defineProperty, c = (e, t) => s(e, "name", {
|
|
|
14
14
|
branches: /* @__PURE__ */ new Set(),
|
|
15
15
|
dismissableSurfaces: /* @__PURE__ */ new Set()
|
|
16
16
|
}), m = /* @__PURE__ */ a.forwardRef(/* @__PURE__ */ c(function(t, s) {
|
|
17
|
-
let { disableOutsidePointerEvents: u = !1, deferPointerDownOutside: d = !1, onEscapeKeyDown: m, onPointerDownOutside: h, onFocusOutside: g, onInteractOutside: _, onDismiss: x, ...S } = t, C = a.useContext(p), [w, T] = a.useState(null), E = w?.ownerDocument ?? globalThis?.document, [, D] = a.useState({}), O =
|
|
17
|
+
let { disableOutsidePointerEvents: u = !1, deferPointerDownOutside: d = !1, onEscapeKeyDown: m, onPointerDownOutside: h, onFocusOutside: g, onInteractOutside: _, onDismiss: x, ...S } = t, C = a.useContext(p), [w, T] = a.useState(null), E = w?.ownerDocument ?? globalThis?.document, [, D] = a.useState({}), O = r(s, T), k = Array.from(C.layers), [A] = [...C.layersWithOutsidePointerEventsDisabled].slice(-1), j = A ? k.indexOf(A) : -1, M = w ? k.indexOf(w) : -1, N = C.layersWithOutsidePointerEventsDisabled.size > 0, P = M >= j, F = a.useRef(!1), I = v((e) => {
|
|
18
18
|
h?.(e), _?.(e), e.defaultPrevented || x?.();
|
|
19
19
|
}, {
|
|
20
20
|
ownerDocument: E,
|
|
@@ -60,19 +60,19 @@ var s = Object.defineProperty, c = (e, t) => s(e, "name", {
|
|
|
60
60
|
pointerEvents: N ? P ? "auto" : "none" : void 0,
|
|
61
61
|
...t.style
|
|
62
62
|
},
|
|
63
|
-
onFocusCapture:
|
|
64
|
-
onBlurCapture:
|
|
65
|
-
onPointerDownCapture:
|
|
63
|
+
onFocusCapture: e(t.onFocusCapture, L.onFocusCapture),
|
|
64
|
+
onBlurCapture: e(t.onBlurCapture, L.onBlurCapture),
|
|
65
|
+
onPointerDownCapture: e(t.onPointerDownCapture, I.onPointerDownCapture)
|
|
66
66
|
});
|
|
67
|
-
}, "DismissableLayer")), h = /* @__PURE__ */ a.forwardRef(/* @__PURE__ */ c(function(
|
|
68
|
-
let i = a.useContext(p), s = a.useRef(null), c =
|
|
67
|
+
}, "DismissableLayer")), h = /* @__PURE__ */ a.forwardRef(/* @__PURE__ */ c(function(e, t) {
|
|
68
|
+
let i = a.useContext(p), s = a.useRef(null), c = r(t, s);
|
|
69
69
|
return a.useEffect(() => {
|
|
70
70
|
let e = s.current;
|
|
71
71
|
if (e) return i.branches.add(e), () => {
|
|
72
72
|
i.branches.delete(e);
|
|
73
73
|
};
|
|
74
74
|
}, [i.branches]), /* @__PURE__ */ o(n.div, {
|
|
75
|
-
...
|
|
75
|
+
...e,
|
|
76
76
|
ref: c
|
|
77
77
|
});
|
|
78
78
|
}, "DismissableLayerBranch"));
|
|
@@ -177,5 +177,4 @@ function x(e, n, r, { discrete: i }) {
|
|
|
177
177
|
n && a.addEventListener(e, n, { once: !0 }), i ? t(a, o) : a.dispatchEvent(o);
|
|
178
178
|
}
|
|
179
179
|
c(x, "handleAndDispatchCustomEvent");
|
|
180
|
-
//#endregion
|
|
181
180
|
export { h as n, g as r, m as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as e } from "./dist-
|
|
2
|
-
import { t } from "./dist-
|
|
1
|
+
import { t as e } from "./dist-B7Ph9-T6.mjs";
|
|
2
|
+
import { t } from "./dist-DhubV_gU.mjs";
|
|
3
3
|
import * as n from "react";
|
|
4
4
|
import * as r from "react-dom";
|
|
5
5
|
import { jsx as i } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// ../../node_modules/.bun/@radix-ui+react-portal@1.2.0+2b23df507bdda662/node_modules/@radix-ui/react-portal/dist/index.mjs
|
|
7
7
|
var a = Object.defineProperty, o = /* @__PURE__ */ n.forwardRef(/* @__PURE__ */ ((e, t) => a(e, "name", {
|
|
8
8
|
value: t,
|
|
9
9
|
configurable: !0
|
|
@@ -16,5 +16,4 @@ var a = Object.defineProperty, o = /* @__PURE__ */ n.forwardRef(/* @__PURE__ */
|
|
|
16
16
|
ref: o
|
|
17
17
|
}), d) : null;
|
|
18
18
|
}, "Portal"));
|
|
19
|
-
//#endregion
|
|
20
19
|
export { o as t };
|