@povio/ui 3.4.0-rc.20 → 3.4.0-rc.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -6
- package/dist/{Accordion-DT1wcBFP.js → Accordion-BLPm2118.js} +4 -4
- package/dist/{Accordion-CgNQw-pZ.d.ts → Accordion-KHMSEFyK.d.ts} +1 -1
- package/dist/{ActionModal-DLeVinly.d.ts → ActionModal-C4lfhfPx.d.ts} +1 -1
- package/dist/{Autocomplete-CYT1Vk1F.d.ts → Autocomplete-BRiZVKsN.d.ts} +2 -2
- package/dist/{BottomSheet-Cwci3M8j.js → BottomSheet-DNnVqMw9.js} +4 -4
- package/dist/{Breadcrumbs-DrmLNtmQ.js → Breadcrumbs-DentRJc_.js} +7 -7
- package/dist/{Breadcrumbs-pSLRyeOe.d.ts → Breadcrumbs-JQIFk783.d.ts} +2 -2
- package/dist/{Button-C_FOjIn-.d.ts → Button-B5WLIURl.d.ts} +2 -2
- package/dist/{Button-Dlm1NyTJ.js → Button-B8T7AjGP.js} +3 -3
- package/dist/{Button-Cq7t4Xxl.js → Button-oSE-CM83.js} +4 -4
- package/dist/{Calendar-C9Dbdkkl.js → Calendar-B7OLjVV9.js} +15 -15
- package/dist/{Checkbox-DyEipBjR.js → Checkbox-B7f8NgnO.js} +12 -11
- package/dist/{Checkbox-Ee9K3u2J.d.ts → Checkbox-Di3VlWJj.d.ts} +1 -1
- package/dist/{CheckboxGroup-D-sNgUMN.d.ts → CheckboxGroup-CXHpOl0X.d.ts} +2 -2
- package/dist/{DatePicker-DclmenVd.d.ts → DatePicker-Dt9BkJEl.d.ts} +3 -3
- package/dist/{DatePicker-DM_tCN-6.js → DatePicker-p5zEtFfc.js} +9 -9
- package/dist/{DatePickerInput-C2z1kgaC.js → DatePickerInput-BLL4-Sqj.js} +11 -10
- package/dist/{DatePickerInput-BC-q8HcY.d.ts → DatePickerInput-D2A2afXI.d.ts} +3 -3
- package/dist/{DateRangePicker-BmScgvEH.js → DateRangePicker-BELkyFZ3.js} +16 -16
- package/dist/{DateRangePicker-DjkIlnMl.d.ts → DateRangePicker-N6S_yIpq.d.ts} +3 -3
- package/dist/{DateTimePicker-aDvcYnVk.d.ts → DateTimePicker-B83y2Skm.d.ts} +3 -3
- package/dist/{DateTimePicker-CAFB33ih.js → DateTimePicker-YxEZH7Kk.js} +9 -9
- package/dist/{Dialog-BQN4Z3bO.js → Dialog-DpLXaUXz.js} +40 -134
- package/dist/{FileTrigger-eHfAkdXd.js → FileTrigger-BSzrj50r.js} +17 -13
- package/dist/{FileUpload-CHgnF4Nm.d.ts → FileUpload-CKYDqroD.d.ts} +1 -1
- package/dist/{FileUpload-Cb--_Mbk.js → FileUpload-uqaBcMUE.js} +5 -5
- package/dist/{FileUploadContainer-Co33mh7x.d.ts → FileUploadContainer-CKBzJJx9.d.ts} +1 -1
- package/dist/{Form-B4Sbjn__.d.ts → Form-55145o25.d.ts} +1 -1
- package/dist/{FormField-DoGaUqFm.js → FormField-ChDNTHr4.js} +4 -4
- package/dist/{FormField-FvutosEE.d.ts → FormField-DYbqlEZ_.d.ts} +3 -2
- package/dist/{IconButton-uO0Mjcqw.d.ts → IconButton-Dv45TT1w.d.ts} +2 -2
- package/dist/{InlineIconButton-CLiZzTVJ.d.ts → InlineIconButton-DIpku0ob.d.ts} +2 -2
- package/dist/{Input-TO1R-KsB.js → Input-B4FVIWxn.js} +3 -3
- package/dist/{InputItem-DYNprOmw.js → InputItem-C_njDXaE.js} +11 -11
- package/dist/{InputUpload-k_RRfoeF.js → InputUpload-BEda9AO8.js} +5 -5
- package/dist/{InputUpload-BqKQcew0.d.ts → InputUpload-DzYsyCaU.d.ts} +2 -2
- package/dist/{Inputs-BapBcBa7.js → Inputs-CTywD5sa.js} +1 -1
- package/dist/{Inputs-DncFwdP2.d.ts → Inputs-P0htzZNM.d.ts} +1 -1
- package/dist/{Label-C0MdchIz.js → Label-a10cLlQM.js} +1 -1
- package/dist/{Link-DwUGkr9s.d.ts → Link-Bz8vOksk.d.ts} +1 -1
- package/dist/{Link-BBMgG7TX.js → Link-iPOFlrxY.js} +7 -7
- package/dist/{Link-BvAKCJcB.js → Link-vPV4s0c3.js} +1 -1
- package/dist/{ListBox-HE5uFtiS.js → ListBox-BCW74bzR.js} +17 -14
- package/dist/{Menu-CLA3gTYc.d.ts → Menu-CVgRPAB3.d.ts} +1 -1
- package/dist/{Menu-Db_stvqw.js → Menu-DTiZS3t_.js} +4 -4
- package/dist/{MenuDesktop-BjK3K8gs.js → MenuDesktop-CEftscnb.js} +1 -1
- package/dist/{MenuItem-ChgmtbQw.d.ts → MenuItem-xJq_qdIf.d.ts} +1 -1
- package/dist/{Modal-BVL1P0ls.d.ts → Modal-9GwkBJOj.d.ts} +1 -1
- package/dist/{Modal-CkSO1C1n.js → Modal-DdKOgTpG.js} +2 -2
- package/dist/{Modal-CYvIKx5Z.js → Modal-HBOqpsZ3.js} +3 -3
- package/dist/{NumberInput-mTYSZkqH.d.ts → NumberInput-BGDecs-_.d.ts} +2 -2
- package/dist/{NumberRangeInput-DS6_DIEc.d.ts → NumberRangeInput-CSCG3XbX.d.ts} +2 -2
- package/dist/{NumberRangeInput-BsATw2M1.js → NumberRangeInput-vrceL7KX.js} +12 -12
- package/dist/{OverlayArrow-BrSp26z2.js → OverlayArrow-Bz_8bYjT.js} +4 -3
- package/dist/{Pagination-YrWwwM_f.d.ts → Pagination-faMGUGlG.d.ts} +1 -1
- package/dist/{PaginationList-71pjqcQ0.d.ts → PaginationList-BLN4DD1o.d.ts} +1 -1
- package/dist/{PaginationList-DJfUpGY9.js → PaginationList-DwPkbMEh.js} +1 -1
- package/dist/{PasswordInput-XI0n5I1s.d.ts → PasswordInput-C7V5Z07E.d.ts} +1 -1
- package/dist/{Pill-DSt6f4Eq.d.ts → Pill-C0Ubkm_y.d.ts} +1 -1
- package/dist/{PillButton-NdrR6uVR.d.ts → PillButton-MeVkDMKW.d.ts} +1 -1
- package/dist/{QuerySelect-W0euIrkL.d.ts → QuerySelect-Dg25c9cy.d.ts} +3 -3
- package/dist/{RadioGroup-D6-jU_Hb.d.ts → RadioGroup-165j_xj8.d.ts} +2 -2
- package/dist/{RadioGroup-CNSTNHYN.js → RadioGroup-DopLBNzi.js} +18 -18
- package/dist/{ResponsivePopover-CokwzUr4.d.ts → ResponsivePopover-C8IriWcI.d.ts} +1 -1
- package/dist/{Segment-Cndlojxv.js → Segment--coTx1BD.js} +3 -3
- package/dist/{Segment-IpdajE4h.d.ts → Segment-D6zpeIiW.d.ts} +2 -2
- package/dist/{Select-CNTaUjfL.d.ts → Select-BSMtgqFl.d.ts} +2 -2
- package/dist/{Select-CCNQ4Bso.js → Select-T4am7u5p.js} +3 -3
- package/dist/{SelectBase-C4lPY7Hc.d.ts → SelectBase-hXagPi6y.d.ts} +2 -2
- package/dist/{SelectionIndicator-qJF4qfyY.js → SelectionIndicator-BiAHPBz2.js} +64 -5
- package/dist/{Slider-HF31GF1t.d.ts → Slider-DiZoEoc9.d.ts} +2 -2
- package/dist/{Slider-C2VnHdQq.js → Slider-RhB5Rcwv.js} +22 -169
- package/dist/{SplitButton-CnyLnCrQ.d.ts → SplitButton-Cv9ej6Or.d.ts} +3 -3
- package/dist/{Stepper-yN3fNyGt.js → Stepper-Cc7qNjch.js} +1 -1
- package/dist/{Tag-DCo_fVLl.js → Tag-BspEXTbs.js} +1 -1
- package/dist/{Tag-CXfTBg6q.d.ts → Tag-DkTx1S7H.d.ts} +1 -1
- package/dist/{TextArea-CS-2txl7.js → TextArea-Dqg717Gx.js} +7 -7
- package/dist/{TextArea-8_TYSixS.d.ts → TextArea-hh7u5SkK.d.ts} +3 -2
- package/dist/{TextButton-BdefN7SL.d.ts → TextButton-C3yYAnFb.d.ts} +3 -3
- package/dist/{TextEditor-p0CqH_71.js → TextEditor-DXFlGnkW.js} +16 -16
- package/dist/{TextEditor-CXDFpX_q.d.ts → TextEditor-JtwIcBUz.d.ts} +1 -1
- package/dist/{TimePicker-DLzbOPrC.js → TimePicker-lAn8yzYJ.js} +12 -12
- package/dist/{TimePicker-Bspfhoo_.d.ts → TimePicker-lCAqdE3t.d.ts} +2 -2
- package/dist/{Toast-4Q3O7cKx.js → Toast-DycxJVq5.js} +1 -1
- package/dist/{Toggle-CgD4ykP4.js → Toggle-BZCEmMGO.js} +5 -5
- package/dist/{Toggle-TDp5YtaQ.d.ts → Toggle-vHKDihtx.d.ts} +1 -1
- package/dist/{ToggleButton-BuEhb8eu.d.ts → ToggleButton-C92_q8xJ.d.ts} +2 -2
- package/dist/{ToggleButton-D94yRla8.js → ToggleButton-DYVFkuEk.js} +6 -6
- package/dist/{Tooltip-zaZ0d1jz.d.ts → Tooltip-BIoJ7tNr.d.ts} +1 -1
- package/dist/{Tooltip-KfGHmXdx.js → Tooltip-CVBOnHy-.js} +10 -9
- package/dist/{TooltipWrapper-CLMp_zj4.js → TooltipWrapper-D8gfa-pC.js} +1 -1
- package/dist/{VisuallyHidden-DjaDVPQT.js → VisuallyHidden-src7PN5r.js} +3 -3
- package/dist/{autocomplete-B2Ol8qjV.d.ts → autocomplete-D5MUSo1k.d.ts} +3 -3
- package/dist/{checkbox-CGea408G.d.ts → checkbox-BYnCRnOf.d.ts} +1 -1
- package/dist/{checkbox-group-BdjjQ24I.d.ts → checkbox-group-bqKwkkMw.d.ts} +1 -1
- package/dist/components/accordion.d.ts +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/action-modal.d.ts +1 -1
- package/dist/components/action-modal.js +2 -2
- package/dist/components/autocomplete/react-aria.d.ts +1 -0
- package/dist/components/autocomplete/react-aria.js +1 -0
- package/dist/components/autocomplete.d.ts +1 -1
- package/dist/components/autocomplete.js +3 -3
- package/dist/components/bottom-sheet.js +1 -1
- package/dist/components/breadcrumb/react-aria.d.ts +1 -0
- package/dist/components/breadcrumb/react-aria.js +11 -0
- package/dist/components/breadcrumbs/react-aria.d.ts +1 -0
- package/dist/components/breadcrumbs/react-aria.js +11 -0
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button/react-aria.d.ts +1 -0
- package/dist/components/button/react-aria.js +1 -0
- package/dist/components/button.d.ts +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calendar/react-aria.d.ts +1 -0
- package/dist/components/calendar/react-aria.js +1 -0
- package/dist/components/calendar-cell/react-aria.d.ts +1 -0
- package/dist/components/calendar-cell/react-aria.js +1 -0
- package/dist/components/calendar-grid/react-aria.d.ts +1 -0
- package/dist/components/calendar-grid/react-aria.js +1 -0
- package/dist/components/calendar-grid-body/react-aria.d.ts +1 -0
- package/dist/components/calendar-grid-body/react-aria.js +1 -0
- package/dist/components/calendar-grid-header/react-aria.d.ts +1 -0
- package/dist/components/calendar-grid-header/react-aria.js +1 -0
- package/dist/components/calendar-header-cell/react-aria.d.ts +1 -0
- package/dist/components/calendar-header-cell/react-aria.js +1 -0
- package/dist/components/cell/react-aria.d.ts +1 -0
- package/dist/components/cell/react-aria.js +11 -0
- package/dist/components/checkbox/react-aria.d.ts +1 -0
- package/dist/components/checkbox/react-aria.js +1 -0
- package/dist/components/checkbox-group/react-aria.d.ts +1 -0
- package/dist/components/checkbox-group/react-aria.js +1 -0
- package/dist/components/checkbox-group.d.ts +1 -1
- package/dist/components/checkbox-group.js +5 -5
- package/dist/components/checkbox.d.ts +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/collection/react-aria.d.ts +1 -0
- package/dist/components/collection/react-aria.js +11 -0
- package/dist/components/color-area/react-aria.d.ts +1 -0
- package/dist/components/color-area/react-aria.js +1 -0
- package/dist/components/color-field/react-aria.d.ts +1 -0
- package/dist/components/color-field/react-aria.js +1 -0
- package/dist/components/color-picker/react-aria.d.ts +1 -0
- package/dist/components/color-picker/react-aria.js +1 -0
- package/dist/components/color-slider/react-aria.d.ts +1 -0
- package/dist/components/color-slider/react-aria.js +1 -0
- package/dist/components/color-swatch/react-aria.d.ts +1 -0
- package/dist/components/color-swatch/react-aria.js +1 -0
- package/dist/components/color-swatch-picker/react-aria.d.ts +5 -0
- package/dist/components/color-swatch-picker/react-aria.js +11 -0
- package/dist/components/color-swatch-picker-item/react-aria.d.ts +5 -0
- package/dist/components/color-swatch-picker-item/react-aria.js +11 -0
- package/dist/components/color-thumb/react-aria.d.ts +1 -0
- package/dist/components/color-thumb/react-aria.js +1 -0
- package/dist/components/color-wheel/react-aria.d.ts +1 -0
- package/dist/components/color-wheel/react-aria.js +1 -0
- package/dist/components/color-wheel-track/react-aria.d.ts +1 -0
- package/dist/components/color-wheel-track/react-aria.js +1 -0
- package/dist/components/column/react-aria.d.ts +1 -0
- package/dist/components/column/react-aria.js +11 -0
- package/dist/components/column-resizer/react-aria.d.ts +1 -0
- package/dist/components/column-resizer/react-aria.js +11 -0
- package/dist/components/combo-box/react-aria.d.ts +1 -0
- package/dist/components/combo-box/react-aria.js +11 -0
- package/dist/components/date-field/react-aria.d.ts +1 -0
- package/dist/components/date-field/react-aria.js +1 -0
- package/dist/components/date-input/react-aria.d.ts +1 -0
- package/dist/components/date-input/react-aria.js +1 -0
- package/dist/components/date-picker/react-aria.d.ts +1 -0
- package/dist/components/date-picker/react-aria.js +1 -0
- package/dist/components/date-picker.d.ts +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker/react-aria.d.ts +1 -0
- package/dist/components/date-range-picker/react-aria.js +1 -0
- package/dist/components/date-range-picker.d.ts +1 -1
- package/dist/components/date-range-picker.js +1 -1
- package/dist/components/date-segment/react-aria.d.ts +1 -0
- package/dist/components/date-segment/react-aria.js +1 -0
- package/dist/components/date-time-picker.d.ts +1 -1
- package/dist/components/date-time-picker.js +1 -1
- package/dist/components/default-collection-renderer/react-aria.d.ts +1 -0
- package/dist/components/default-collection-renderer/react-aria.js +1 -0
- package/dist/components/dialog/react-aria.d.ts +1 -0
- package/dist/components/dialog/react-aria.js +1 -0
- package/dist/components/dialog-trigger/react-aria.d.ts +1 -0
- package/dist/components/dialog-trigger/react-aria.js +1 -0
- package/dist/components/disclosure/react-aria.d.ts +1 -0
- package/dist/components/disclosure/react-aria.js +1 -0
- package/dist/components/disclosure-group/react-aria.d.ts +1 -0
- package/dist/components/disclosure-group/react-aria.js +1 -0
- package/dist/components/disclosure-panel/react-aria.d.ts +1 -0
- package/dist/components/disclosure-panel/react-aria.js +1 -0
- package/dist/components/dom-attributes/react-aria.d.ts +1 -0
- package/dist/components/drawer.js +2 -2
- package/dist/components/drop-indicator/react-aria.d.ts +1 -0
- package/dist/components/drop-indicator/react-aria.js +1 -0
- package/dist/components/drop-zone/react-aria.d.ts +1 -0
- package/dist/components/drop-zone/react-aria.js +1 -0
- package/dist/components/field-error/react-aria.d.ts +1 -0
- package/dist/components/field-error/react-aria.js +1 -0
- package/dist/components/file-trigger/react-aria.d.ts +1 -0
- package/dist/components/file-trigger/react-aria.js +1 -0
- package/dist/components/file-upload-container.d.ts +2 -2
- package/dist/components/file-upload-container.js +1 -1
- package/dist/components/file-upload.d.ts +2 -2
- package/dist/components/file-upload.js +1 -1
- package/dist/components/focusable/react-aria.d.ts +1 -0
- package/dist/components/focusable/react-aria.js +1 -0
- package/dist/components/form/react-aria.d.ts +1 -0
- package/dist/components/form/react-aria.js +1 -0
- package/dist/components/form-field.d.ts +1 -1
- package/dist/components/form-field.js +1 -1
- package/dist/components/grid-list/react-aria.d.ts +1 -0
- package/dist/components/grid-list/react-aria.js +11 -0
- package/dist/components/grid-list-header/react-aria.d.ts +1 -0
- package/dist/components/grid-list-header/react-aria.js +11 -0
- package/dist/components/grid-list-item/react-aria.d.ts +1 -0
- package/dist/components/grid-list-item/react-aria.js +11 -0
- package/dist/components/grid-list-load-more-item/react-aria.d.ts +1 -0
- package/dist/components/grid-list-load-more-item/react-aria.js +11 -0
- package/dist/components/grid-list-section/react-aria.d.ts +1 -0
- package/dist/components/grid-list-section/react-aria.js +11 -0
- package/dist/components/group/react-aria.d.ts +1 -0
- package/dist/components/group/react-aria.js +1 -0
- package/dist/components/header/react-aria.d.ts +1 -0
- package/dist/components/header/react-aria.js +11 -0
- package/dist/components/heading/react-aria.d.ts +1 -0
- package/dist/components/heading/react-aria.js +1 -0
- package/dist/components/i18n-provider/react-aria.d.ts +1 -0
- package/dist/components/i18n-provider/react-aria.js +1 -0
- package/dist/components/icon-button.d.ts +1 -1
- package/dist/components/icon-button.js +2 -2
- package/dist/components/inline-icon-button.d.ts +1 -1
- package/dist/components/inline-icon-button.js +1 -1
- package/dist/components/input/react-aria.d.ts +1 -0
- package/dist/components/input/react-aria.js +1 -0
- package/dist/components/input-upload.d.ts +1 -1
- package/dist/components/input-upload.js +1 -1
- package/dist/components/key/react-aria.d.ts +1 -0
- package/dist/components/key/react-aria.js +0 -0
- package/dist/components/keyboard/react-aria.d.ts +1 -0
- package/dist/components/keyboard/react-aria.js +1 -0
- package/dist/components/label/react-aria.d.ts +1 -0
- package/dist/components/label/react-aria.js +1 -0
- package/dist/components/link/react-aria.d.ts +1 -0
- package/dist/components/link/react-aria.js +1 -0
- package/dist/components/link.d.ts +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/list-box/react-aria.d.ts +1 -0
- package/dist/components/list-box/react-aria.js +11 -0
- package/dist/components/list-box-item/react-aria.d.ts +1 -0
- package/dist/components/list-box-item/react-aria.js +11 -0
- package/dist/components/list-box-load-more-item/react-aria.d.ts +1 -0
- package/dist/components/list-box-load-more-item/react-aria.js +11 -0
- package/dist/components/list-box-section/react-aria.d.ts +1 -0
- package/dist/components/list-box-section/react-aria.js +11 -0
- package/dist/components/menu/react-aria.d.ts +1 -0
- package/dist/components/menu/react-aria.js +11 -0
- package/dist/components/menu-item/react-aria.d.ts +1 -0
- package/dist/components/menu-item/react-aria.js +11 -0
- package/dist/components/menu-section/react-aria.d.ts +1 -0
- package/dist/components/menu-section/react-aria.js +11 -0
- package/dist/components/menu-trigger/react-aria.d.ts +1 -0
- package/dist/components/menu-trigger/react-aria.js +1 -0
- package/dist/components/menu.d.ts +2 -2
- package/dist/components/menu.js +2 -2
- package/dist/components/meter/react-aria.d.ts +1 -0
- package/dist/components/meter/react-aria.js +1 -0
- package/dist/components/modal/react-aria.d.ts +1 -0
- package/dist/components/modal/react-aria.js +1 -0
- package/dist/components/modal-overlay/react-aria.d.ts +1 -0
- package/dist/components/modal-overlay/react-aria.js +1 -0
- package/dist/components/modal.d.ts +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/number-field/react-aria.d.ts +1 -0
- package/dist/components/number-field/react-aria.js +1 -0
- package/dist/components/number-input.d.ts +1 -1
- package/dist/components/number-input.js +10 -9
- package/dist/components/number-range-input.d.ts +1 -1
- package/dist/components/number-range-input.js +1 -1
- package/dist/components/overlay-arrow/react-aria.d.ts +1 -0
- package/dist/components/overlay-arrow/react-aria.js +1 -0
- package/dist/components/pagination-list.d.ts +1 -1
- package/dist/components/pagination-list.js +1 -1
- package/dist/components/pagination.d.ts +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/password-input.d.ts +1 -1
- package/dist/components/pill-button.d.ts +1 -1
- package/dist/components/pill-button.js +2 -2
- package/dist/components/pill.d.ts +1 -1
- package/dist/components/pill.js +1 -1
- package/dist/components/popover/react-aria.d.ts +1 -0
- package/dist/components/popover/react-aria.js +1 -0
- package/dist/components/pressable/react-aria.d.ts +1 -0
- package/dist/components/pressable/react-aria.js +1 -0
- package/dist/components/progress-bar/react-aria.d.ts +1 -0
- package/dist/components/progress-bar/react-aria.js +1 -0
- package/dist/components/provider/react-aria.d.ts +1 -0
- package/dist/components/provider/react-aria.js +1 -0
- package/dist/components/query-autocomplete.d.ts +2 -2
- package/dist/components/query-autocomplete.js +1 -1
- package/dist/components/query-select.d.ts +1 -1
- package/dist/components/query-select.js +2 -2
- package/dist/components/radio/react-aria.d.ts +1 -0
- package/dist/components/radio/react-aria.js +1 -0
- package/dist/components/radio-group/react-aria.d.ts +1 -0
- package/dist/components/radio-group/react-aria.js +1 -0
- package/dist/components/radio-group.d.ts +1 -1
- package/dist/components/radio-group.js +1 -1
- package/dist/components/range-calendar/react-aria.d.ts +1 -0
- package/dist/components/range-calendar/react-aria.js +1 -0
- package/dist/components/resizable-table-container/react-aria.d.ts +1 -0
- package/dist/components/resizable-table-container/react-aria.js +11 -0
- package/dist/components/responsive-popover.d.ts +1 -1
- package/dist/components/responsive-popover.js +2 -2
- package/dist/components/router-provider/react-aria.d.ts +1 -0
- package/dist/components/router-provider/react-aria.js +1 -0
- package/dist/components/row/react-aria.d.ts +1 -0
- package/dist/components/row/react-aria.js +11 -0
- package/dist/components/search-field/react-aria.d.ts +1 -0
- package/dist/components/search-field/react-aria.js +1 -0
- package/dist/components/section/react-aria.d.ts +1 -0
- package/dist/components/section/react-aria.js +11 -0
- package/dist/components/segment.d.ts +2 -2
- package/dist/components/segment.js +1 -1
- package/dist/components/select/react-aria.d.ts +1 -0
- package/dist/components/select/react-aria.js +11 -0
- package/dist/components/select-value/react-aria.d.ts +1 -0
- package/dist/components/select-value/react-aria.js +1 -0
- package/dist/components/select.d.ts +2 -2
- package/dist/components/select.js +1 -1
- package/dist/components/selection/react-aria.d.ts +1 -0
- package/dist/components/selection/react-aria.js +0 -0
- package/dist/components/selection-indicator/react-aria.d.ts +1 -0
- package/dist/components/selection-indicator/react-aria.js +1 -0
- package/dist/components/separator/react-aria.d.ts +1 -0
- package/dist/components/separator/react-aria.js +11 -0
- package/dist/components/shared-element/react-aria.d.ts +1 -0
- package/dist/components/shared-element/react-aria.js +1 -0
- package/dist/components/shared-element-transition/react-aria.d.ts +1 -0
- package/dist/components/shared-element-transition/react-aria.js +1 -0
- package/dist/components/slider/react-aria.d.ts +1 -0
- package/dist/components/slider/react-aria.js +1 -0
- package/dist/components/slider-output/react-aria.d.ts +1 -0
- package/dist/components/slider-output/react-aria.js +1 -0
- package/dist/components/slider-thumb/react-aria.d.ts +1 -0
- package/dist/components/slider-thumb/react-aria.js +1 -0
- package/dist/components/slider-track/react-aria.d.ts +1 -0
- package/dist/components/slider-track/react-aria.js +1 -0
- package/dist/components/slider.d.ts +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/split-button.d.ts +1 -1
- package/dist/components/split-button.js +2 -2
- package/dist/components/ssr-provider/react-aria.d.ts +1 -0
- package/dist/components/ssr-provider/react-aria.js +1 -0
- package/dist/components/stepper.js +1 -1
- package/dist/components/submenu-trigger/react-aria.d.ts +1 -0
- package/dist/components/submenu-trigger/react-aria.js +11 -0
- package/dist/components/switch/react-aria.d.ts +1 -0
- package/dist/components/switch/react-aria.js +1 -0
- package/dist/components/tab/react-aria.d.ts +1 -0
- package/dist/components/tab/react-aria.js +11 -0
- package/dist/components/tab-list/react-aria.d.ts +1 -0
- package/dist/components/tab-list/react-aria.js +11 -0
- package/dist/components/tab-panel/react-aria.d.ts +1 -0
- package/dist/components/tab-panel/react-aria.js +1 -0
- package/dist/components/tab-panels/react-aria.d.ts +1 -0
- package/dist/components/tab-panels/react-aria.js +11 -0
- package/dist/components/table/react-aria.d.ts +1 -0
- package/dist/components/table/react-aria.js +11 -0
- package/dist/components/table-body/react-aria.d.ts +1 -0
- package/dist/components/table-body/react-aria.js +11 -0
- package/dist/components/table-header/react-aria.d.ts +1 -0
- package/dist/components/table-header/react-aria.js +11 -0
- package/dist/components/table-load-more-item/react-aria.d.ts +1 -0
- package/dist/components/table-load-more-item/react-aria.js +11 -0
- package/dist/components/tabs/react-aria.d.ts +1 -0
- package/dist/components/tabs/react-aria.js +11 -0
- package/dist/components/tag/react-aria.d.ts +1 -0
- package/dist/components/tag/react-aria.js +11 -0
- package/dist/components/tag-group/react-aria.d.ts +1 -0
- package/dist/components/tag-group/react-aria.js +11 -0
- package/dist/components/tag-list/react-aria.d.ts +1 -0
- package/dist/components/tag-list/react-aria.js +11 -0
- package/dist/components/tag.d.ts +1 -1
- package/dist/components/tag.js +1 -1
- package/dist/components/text/react-aria.d.ts +1 -0
- package/dist/components/text/react-aria.js +1 -0
- package/dist/components/text-area/react-aria.d.ts +1 -0
- package/dist/components/text-area/react-aria.js +1 -0
- package/dist/components/text-area.d.ts +1 -1
- package/dist/components/text-area.js +1 -1
- package/dist/components/text-button.d.ts +1 -1
- package/dist/components/text-button.js +1 -1
- package/dist/components/text-field/react-aria.d.ts +1 -0
- package/dist/components/text-field/react-aria.js +1 -0
- package/dist/components/text-input.d.ts +1 -1
- package/dist/components/text-input.js +10 -9
- package/dist/components/time-field/react-aria.d.ts +1 -0
- package/dist/components/time-field/react-aria.js +1 -0
- package/dist/components/time-picker.d.ts +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/toast/react-aria.d.ts +1 -0
- package/dist/components/toast/react-aria.js +1 -0
- package/dist/components/toast-content/react-aria.d.ts +1 -0
- package/dist/components/toast-content/react-aria.js +1 -0
- package/dist/components/toast-list/react-aria.d.ts +1 -0
- package/dist/components/toast-list/react-aria.js +1 -0
- package/dist/components/toast-region/react-aria.d.ts +1 -0
- package/dist/components/toast-region/react-aria.js +1 -0
- package/dist/components/toast.js +1 -1
- package/dist/components/toggle-button/react-aria.d.ts +1 -0
- package/dist/components/toggle-button/react-aria.js +1 -0
- package/dist/components/toggle-button-group/react-aria.d.ts +5 -0
- package/dist/components/toggle-button-group/react-aria.js +1 -0
- package/dist/components/toggle-button.d.ts +1 -1
- package/dist/components/toggle-button.js +1 -1
- package/dist/components/toggle.d.ts +1 -1
- package/dist/components/toggle.js +1 -1
- package/dist/components/toolbar/react-aria.d.ts +1 -0
- package/dist/components/toolbar/react-aria.js +1 -0
- package/dist/components/tooltip/react-aria.d.ts +1 -0
- package/dist/components/tooltip/react-aria.js +1 -0
- package/dist/components/tooltip-ellipsis.js +1 -1
- package/dist/components/tooltip-trigger/react-aria.d.ts +1 -0
- package/dist/components/tooltip-trigger/react-aria.js +1 -0
- package/dist/components/tooltip.d.ts +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/tree/react-aria.d.ts +1 -0
- package/dist/components/tree/react-aria.js +11 -0
- package/dist/components/tree-item/react-aria.d.ts +1 -0
- package/dist/components/tree-item/react-aria.js +11 -0
- package/dist/components/tree-item-content/react-aria.d.ts +1 -0
- package/dist/components/tree-item-content/react-aria.js +11 -0
- package/dist/components/tree-load-more-item/react-aria.d.ts +1 -0
- package/dist/components/tree-load-more-item/react-aria.js +11 -0
- package/dist/components/use-focus-visible/react-aria.d.ts +1 -0
- package/dist/components/use-focus-visible/react-aria.js +1 -0
- package/dist/components/use-focus-within/react-aria.d.ts +1 -0
- package/dist/components/use-focus-within/react-aria.js +1 -0
- package/dist/components/use-hover/react-aria.d.ts +1 -0
- package/dist/components/use-hover/react-aria.js +1 -0
- package/dist/components/use-label/react-aria.d.ts +1 -0
- package/dist/components/use-label/react-aria.js +1 -0
- package/dist/components/use-text-field/react-aria.d.ts +1 -0
- package/dist/components/use-text-field/react-aria.js +1 -0
- package/dist/components/use-toast.js +1 -1
- package/dist/components/virtualizer/react-aria.d.ts +1 -0
- package/dist/components/virtualizer/react-aria.js +1 -0
- package/dist/components/visually-hidden/react-aria.d.ts +1 -0
- package/dist/components/visually-hidden/react-aria.js +1 -0
- package/dist/config/confirmation.d.ts +1 -1
- package/dist/config/link-context.d.ts +2 -2
- package/dist/config/ui-config.d.ts +1 -1
- package/dist/config/ui-router.js +1 -1
- package/dist/{confirmation.context-BJ8gTx7U.d.ts → confirmation.context-CLV-kSkd.d.ts} +1 -1
- package/dist/{context-CLFkoJMP.js → context-HV79Qf_F.js} +53 -2
- package/dist/{date-picker-BpSowet-.d.ts → date-picker-CY46qOil.d.ts} +1 -1
- package/dist/{date-range-picker-aO65H4wV.d.ts → date-range-picker-A1VtIz5Z.d.ts} +1 -1
- package/dist/{date-time-picker-DWo2GFg7.d.ts → date-time-picker-BDzUGiya.d.ts} +1 -1
- package/dist/{datePickerValue.utils-Dh-nA1Yv.js → datePickerValue.utils-BqdbvGFL.js} +2 -2
- package/dist/{dynamicInputs-BekIlDGf.d.ts → dynamicInputs-DeFYIOxM.d.ts} +70 -70
- package/dist/{file-upload-DDIJKLW8.d.ts → file-upload-kMbxPcv0.d.ts} +2 -2
- package/dist/{fileUpload.types-CQkPqELk.d.ts → fileUpload.types-DR6QkhLW.d.ts} +3 -3
- package/dist/focusWithoutScrolling-DEPiLwKq.js +49 -0
- package/dist/hooks/use-filters.js +1 -1
- package/dist/import-CuNJ25EP.js +447 -0
- package/dist/index.d.ts +66 -66
- package/dist/index.js +28 -28
- package/dist/{input-upload-Apyx1Mvy.d.ts → input-upload-DCnJJiD2.d.ts} +1 -1
- package/dist/{link.context-BFXwgVLP.d.ts → link.context-BUgF4OQ8.d.ts} +1 -1
- package/dist/{number-input-D0YwMCGh.d.ts → number-input-C5ZJQL-0.d.ts} +1 -1
- package/dist/{number-range-input-BtPXUX0k.d.ts → number-range-input-BzMmIbTa.d.ts} +1 -1
- package/dist/{numberStatic.utils-C9_kWMXJ.js → numberStatic.utils-CWkou4ca.js} +20 -108
- package/dist/openLink-CIHtr0U7.js +95 -0
- package/dist/{password-input-euv4tHdl.d.ts → password-input-nDjkqRLq.d.ts} +1 -1
- package/dist/platform-df1ZXSJE.js +47 -0
- package/dist/{query-autocomplete-BwU-94pi.d.ts → query-autocomplete-DtwzrlPJ.d.ts} +2 -2
- package/dist/{query-select-CBgR2Tua.d.ts → query-select-uBNkp-hb.d.ts} +3 -3
- package/dist/{queryAutocomplete.types-3ezR8y7k.d.ts → queryAutocomplete.types-Wj7KW6fv.d.ts} +3 -3
- package/dist/{radio-group-DVGKZRnt.d.ts → radio-group-Cb7bw47V.d.ts} +1 -1
- package/dist/rhf/autocomplete.d.ts +2 -2
- package/dist/rhf/checkbox-group.d.ts +2 -2
- package/dist/rhf/checkbox.d.ts +2 -2
- package/dist/rhf/checkbox.js +1 -1
- package/dist/rhf/date-picker.d.ts +2 -2
- package/dist/rhf/date-picker.js +1 -1
- package/dist/rhf/date-range-picker.d.ts +2 -2
- package/dist/rhf/date-range-picker.js +1 -1
- package/dist/rhf/date-time-picker.d.ts +2 -2
- package/dist/rhf/date-time-picker.js +1 -1
- package/dist/rhf/file-upload.d.ts +2 -2
- package/dist/rhf/file-upload.js +1 -1
- package/dist/rhf/input-upload.d.ts +2 -2
- package/dist/rhf/input-upload.js +1 -1
- package/dist/rhf/inputs.d.ts +1 -1
- package/dist/rhf/number-input.d.ts +2 -2
- package/dist/rhf/number-range-input.d.ts +2 -2
- package/dist/rhf/number-range-input.js +1 -1
- package/dist/rhf/password-input.d.ts +2 -2
- package/dist/rhf/query-autocomplete.d.ts +1 -1
- package/dist/rhf/query-select.d.ts +1 -1
- package/dist/rhf/radio-group.d.ts +2 -2
- package/dist/rhf/radio-group.js +1 -1
- package/dist/rhf/segment.d.ts +2 -2
- package/dist/rhf/segment.js +1 -1
- package/dist/rhf/select.d.ts +2 -2
- package/dist/rhf/select.js +1 -1
- package/dist/rhf/slider.d.ts +2 -2
- package/dist/rhf/slider.js +1 -1
- package/dist/rhf/text-area.d.ts +2 -2
- package/dist/rhf/text-area.js +1 -1
- package/dist/rhf/text-editor.d.ts +2 -2
- package/dist/rhf/text-editor.js +1 -1
- package/dist/rhf/text-input.d.ts +2 -2
- package/dist/rhf/time-picker.d.ts +2 -2
- package/dist/rhf/time-picker.js +1 -1
- package/dist/rhf/toggle.d.ts +2 -2
- package/dist/rhf/toggle.js +1 -1
- package/dist/rhf.d.ts +66 -66
- package/dist/rhf.js +28 -28
- package/dist/{router.context-DSE1y7gW.js → router.context-VhvhlIvV.js} +1 -1
- package/dist/{segment-CSZWTNMz.d.ts → segment-CK9gjZ8s.d.ts} +2 -2
- package/dist/{segment.types-POFeFf4n.d.ts → segment.types-CCpnAbOH.d.ts} +1 -1
- package/dist/{select-ZL6iOiG0.d.ts → select-jVSUkInu.d.ts} +3 -3
- package/dist/{slider--ZPodYa6.d.ts → slider-BsZQs47F.d.ts} +1 -1
- package/dist/{staticDateTimeSegments-CKL9PuGV.js → staticDateTimeSegments-C8AOKnEO.js} +19 -19
- package/dist/{staticSelect.utils-DkiDwfGr.js → staticSelect.utils-CYV-eubF.js} +30 -28
- package/dist/tanstack/autocomplete.d.ts +1 -1
- package/dist/tanstack/checkbox-group.d.ts +1 -1
- package/dist/tanstack/checkbox.d.ts +1 -1
- package/dist/tanstack/checkbox.js +1 -1
- package/dist/tanstack/date-picker.d.ts +1 -1
- package/dist/tanstack/date-picker.js +1 -1
- package/dist/tanstack/date-range-picker.d.ts +1 -1
- package/dist/tanstack/date-range-picker.js +1 -1
- package/dist/tanstack/date-time-picker.d.ts +1 -1
- package/dist/tanstack/date-time-picker.js +1 -1
- package/dist/tanstack/file-upload.d.ts +2 -2
- package/dist/tanstack/file-upload.js +1 -1
- package/dist/tanstack/form.d.ts +1 -1
- package/dist/tanstack/form.js +1 -1
- package/dist/tanstack/input-upload.d.ts +1 -1
- package/dist/tanstack/input-upload.js +1 -1
- package/dist/tanstack/inputs.d.ts +2 -2
- package/dist/tanstack/inputs.js +1 -1
- package/dist/tanstack/number-input.d.ts +1 -1
- package/dist/tanstack/number-range-input.d.ts +1 -1
- package/dist/tanstack/number-range-input.js +1 -1
- package/dist/tanstack/password-input.d.ts +1 -1
- package/dist/tanstack/query-select.d.ts +1 -1
- package/dist/tanstack/radio-group.d.ts +1 -1
- package/dist/tanstack/radio-group.js +1 -1
- package/dist/tanstack/segment.d.ts +2 -2
- package/dist/tanstack/segment.js +1 -1
- package/dist/tanstack/select.d.ts +1 -1
- package/dist/tanstack/select.js +1 -1
- package/dist/tanstack/slider.d.ts +1 -1
- package/dist/tanstack/slider.js +1 -1
- package/dist/tanstack/table.js +1 -1
- package/dist/tanstack/text-area.d.ts +1 -1
- package/dist/tanstack/text-area.js +1 -1
- package/dist/tanstack/text-editor.d.ts +1 -1
- package/dist/tanstack/text-editor.js +1 -1
- package/dist/tanstack/text-input.d.ts +1 -1
- package/dist/tanstack/time-picker.d.ts +1 -1
- package/dist/tanstack/time-picker.js +1 -1
- package/dist/tanstack/toggle.d.ts +1 -1
- package/dist/tanstack/toggle.js +1 -1
- package/dist/tanstack.d.ts +50 -50
- package/dist/tanstack.js +38 -38
- package/dist/{text-area-BhZAEqfI.d.ts → text-area-CileGHpH.d.ts} +1 -1
- package/dist/{text-editor-Dq-YYIuF.d.ts → text-editor-BWRMclN2.d.ts} +1 -1
- package/dist/text-editor.d.ts +1 -1
- package/dist/text-editor.js +1 -1
- package/dist/{text-input-F-mBSHby.d.ts → text-input-DQsdAirN.d.ts} +1 -1
- package/dist/{time-picker-5w_eDDNn.d.ts → time-picker-CZPPvSId.d.ts} +1 -1
- package/dist/{toggle-D-Dg5YGf.d.ts → toggle-IhObgudF.d.ts} +1 -1
- package/dist/{types-BV15_DBT.d.ts → types-BSiv-Igp.d.ts} +4 -4
- package/dist/{uiConfig.context-pJj1iUnQ.d.ts → uiConfig.context-CQubjEvX.d.ts} +11 -11
- package/dist/{useButton-iUReggbG.js → useButton-STC3gJBt.js} +4 -4
- package/dist/useDescription-D8raJPFb.js +36 -0
- package/dist/useEffectEvent-DAMDuWzz.js +17 -0
- package/dist/{useEvent-BROAXUSg.js → useEvent-5X8yPLOx.js} +1 -1
- package/dist/{useFieldAccessibility-CmbhtqBy.js → useFieldAccessibility-Bdt6GY7h.js} +2 -2
- package/dist/{useFilter-BOG2VldJ.js → useFilter-BQRb0JpC.js} +1 -1
- package/dist/{useFilters-AA70NuXo.js → useFilters-Cc_lW3jH.js} +1 -1
- package/dist/useFocusRing-Cd0lBvKO.js +41 -0
- package/dist/{useFormAutosave-BXqu0xAQ.js → useFormAutosave-CyuAM0Mh.js} +1 -1
- package/dist/{useFormReset-BhJH8XnS.js → useFormReset-CFgV1v57.js} +1 -1
- package/dist/{useFormValidation-DLZqyNVp.js → useFormValidation-DWqb1ZeB.js} +5 -33
- package/dist/useGlobalListeners-DuENtiaD.js +39 -0
- package/dist/{useLabels-B3G1H2cw.js → useLabels-CUjKpeKj.js} +1 -1
- package/dist/{useLocalizedStringFormatter-C2M9mXF2.js → useLocalizedStringFormatter-D9TmTRN_.js} +1 -1
- package/dist/{useNumberFormatter-CTdFIKV_.js → useNumberFormatter-BiWwqIo9.js} +1 -1
- package/dist/{useSpinButton-C3wyKHU7.js → useSpinButton-BxGKzVHd.js} +4 -3
- package/dist/{useStaticInputHandoff-COJdSrME.js → useStaticInputHandoff-pnEcfX_d.js} +2 -2
- package/dist/{useTableColumnConfig-_XJr8Cor.js → useTableColumnConfig-BZ4H6gha.js} +3 -3
- package/dist/{useToggle-DDay--cY.js → useToggle-ingqhLIQ.js} +6 -6
- package/package.json +673 -25
- package/dist/PressResponder-q8UTUsf0.js +0 -63
- package/dist/openLink-BFEMFlhB.js +0 -187
- package/dist/react-aria/components.d.ts +0 -1
- package/dist/react-aria/components.js +0 -1
- package/dist/react-aria/hooks.d.ts +0 -1
- package/dist/react-aria/hooks.js +0 -1
- package/dist/react-aria/index.d.ts +0 -1
- package/dist/react-aria/index.js +0 -1
- package/dist/react-aria/state.d.ts +0 -1
- package/dist/react-aria/state.js +0 -1
- package/dist/react-aria/types.d.ts +0 -1
- package/dist/useFocusRing-DuXtCnJj.js +0 -141
- package/dist/useHover-DwfnacVy.js +0 -1210
- package/dist/useLabel-BFvzYK5u.js +0 -27
- package/dist/usePress-CANxCO5-.js +0 -491
- package/dist/useTextField-De01RThI.js +0 -77
- /package/dist/{react-aria/types.js → components/dom-attributes/react-aria.js} +0 -0
|
@@ -1,1210 +0,0 @@
|
|
|
1
|
-
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
2
|
-
import { d as $c87311424ea30a05$export$a11b0059900ceec8, h as $7215afc6de606d6b$export$de79e2c695e052f3, i as $ea8dcbcb9ea1b556$export$95185d699e05d4d7, u as $c87311424ea30a05$export$9ac100e40613ea10 } from "./openLink-BFEMFlhB.js";
|
|
3
|
-
import $HgANd$react, { forwardRef, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
4
|
-
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/useLayoutEffect.mjs
|
|
5
|
-
const $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c = typeof document !== "undefined" ? $HgANd$react.useLayoutEffect : () => {};
|
|
6
|
-
//#endregion
|
|
7
|
-
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/useValueEffect.mjs
|
|
8
|
-
function $1dbecbe27a04f9af$export$14d238f342723f25(defaultValue) {
|
|
9
|
-
let [value, setValue] = useState(defaultValue);
|
|
10
|
-
let currValue = useRef(value);
|
|
11
|
-
let effect = useRef(null);
|
|
12
|
-
let nextRef = useRef(() => {
|
|
13
|
-
if (!effect.current) return;
|
|
14
|
-
let newValue = effect.current.next();
|
|
15
|
-
if (newValue.done) {
|
|
16
|
-
effect.current = null;
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
|
-
if (currValue.current === newValue.value) nextRef.current();
|
|
20
|
-
else setValue(newValue.value);
|
|
21
|
-
});
|
|
22
|
-
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
23
|
-
currValue.current = value;
|
|
24
|
-
if (effect.current) nextRef.current();
|
|
25
|
-
});
|
|
26
|
-
return [value, useCallback((fn) => {
|
|
27
|
-
effect.current = fn(currValue.current);
|
|
28
|
-
nextRef.current();
|
|
29
|
-
}, [nextRef])];
|
|
30
|
-
}
|
|
31
|
-
//#endregion
|
|
32
|
-
//#region ../../node_modules/.bun/@react-aria+ssr@3.9.10+83d5fd7b249dbeef/node_modules/@react-aria/ssr/dist/SSRProvider.mjs
|
|
33
|
-
const $b5e257d569688ac6$var$defaultContext = {
|
|
34
|
-
prefix: String(Math.round(Math.random() * 1e10)),
|
|
35
|
-
current: 0
|
|
36
|
-
};
|
|
37
|
-
const $b5e257d569688ac6$var$SSRContext = /*#__PURE__*/ $HgANd$react.createContext($b5e257d569688ac6$var$defaultContext);
|
|
38
|
-
const $b5e257d569688ac6$var$IsSSRContext = /*#__PURE__*/ $HgANd$react.createContext(false);
|
|
39
|
-
let $b5e257d569688ac6$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
40
|
-
let $b5e257d569688ac6$var$componentIds = /* @__PURE__ */ new WeakMap();
|
|
41
|
-
function $b5e257d569688ac6$var$useCounter(isDisabled = false) {
|
|
42
|
-
let ctx = useContext($b5e257d569688ac6$var$SSRContext);
|
|
43
|
-
let ref = useRef(null);
|
|
44
|
-
if (ref.current === null && !isDisabled) {
|
|
45
|
-
var _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner, _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
46
|
-
let currentOwner = (_React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = $HgANd$react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === null || _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED === void 0 ? void 0 : (_React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner = _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner) === null || _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner === void 0 ? void 0 : _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner.current;
|
|
47
|
-
if (currentOwner) {
|
|
48
|
-
let prevComponentValue = $b5e257d569688ac6$var$componentIds.get(currentOwner);
|
|
49
|
-
if (prevComponentValue == null) $b5e257d569688ac6$var$componentIds.set(currentOwner, {
|
|
50
|
-
id: ctx.current,
|
|
51
|
-
state: currentOwner.memoizedState
|
|
52
|
-
});
|
|
53
|
-
else if (currentOwner.memoizedState !== prevComponentValue.state) {
|
|
54
|
-
ctx.current = prevComponentValue.id;
|
|
55
|
-
$b5e257d569688ac6$var$componentIds.delete(currentOwner);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
ref.current = ++ctx.current;
|
|
59
|
-
}
|
|
60
|
-
return ref.current;
|
|
61
|
-
}
|
|
62
|
-
function $b5e257d569688ac6$var$useLegacySSRSafeId(defaultId) {
|
|
63
|
-
let ctx = useContext($b5e257d569688ac6$var$SSRContext);
|
|
64
|
-
if (ctx === $b5e257d569688ac6$var$defaultContext && !$b5e257d569688ac6$var$canUseDOM && true) console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
|
|
65
|
-
let counter = $b5e257d569688ac6$var$useCounter(!!defaultId);
|
|
66
|
-
let prefix = `react-aria${ctx.prefix}`;
|
|
67
|
-
return defaultId || `${prefix}-${counter}`;
|
|
68
|
-
}
|
|
69
|
-
function $b5e257d569688ac6$var$useModernSSRSafeId(defaultId) {
|
|
70
|
-
let id = $HgANd$react.useId();
|
|
71
|
-
let [didSSR] = useState($b5e257d569688ac6$export$535bd6ca7f90a273());
|
|
72
|
-
let prefix = didSSR || false ? "react-aria" : `react-aria${$b5e257d569688ac6$var$defaultContext.prefix}`;
|
|
73
|
-
return defaultId || `${prefix}-${id}`;
|
|
74
|
-
}
|
|
75
|
-
const $b5e257d569688ac6$export$619500959fc48b26 = typeof $HgANd$react["useId"] === "function" ? $b5e257d569688ac6$var$useModernSSRSafeId : $b5e257d569688ac6$var$useLegacySSRSafeId;
|
|
76
|
-
function $b5e257d569688ac6$var$getSnapshot() {
|
|
77
|
-
return false;
|
|
78
|
-
}
|
|
79
|
-
function $b5e257d569688ac6$var$getServerSnapshot() {
|
|
80
|
-
return true;
|
|
81
|
-
}
|
|
82
|
-
function $b5e257d569688ac6$var$subscribe(onStoreChange) {
|
|
83
|
-
return () => {};
|
|
84
|
-
}
|
|
85
|
-
function $b5e257d569688ac6$export$535bd6ca7f90a273() {
|
|
86
|
-
if (typeof $HgANd$react["useSyncExternalStore"] === "function") return $HgANd$react["useSyncExternalStore"]($b5e257d569688ac6$var$subscribe, $b5e257d569688ac6$var$getSnapshot, $b5e257d569688ac6$var$getServerSnapshot);
|
|
87
|
-
return useContext($b5e257d569688ac6$var$IsSSRContext);
|
|
88
|
-
}
|
|
89
|
-
//#endregion
|
|
90
|
-
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/useId.mjs
|
|
91
|
-
let $bdb11010cef70236$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
92
|
-
let $bdb11010cef70236$export$d41a04c74483c6ef = /* @__PURE__ */ new Map();
|
|
93
|
-
let $bdb11010cef70236$var$registry;
|
|
94
|
-
if (typeof FinalizationRegistry !== "undefined") $bdb11010cef70236$var$registry = new FinalizationRegistry((heldValue) => {
|
|
95
|
-
$bdb11010cef70236$export$d41a04c74483c6ef.delete(heldValue);
|
|
96
|
-
});
|
|
97
|
-
function $bdb11010cef70236$export$f680877a34711e37(defaultId) {
|
|
98
|
-
let [value, setValue] = useState(defaultId);
|
|
99
|
-
let nextId = useRef(null);
|
|
100
|
-
let res = $b5e257d569688ac6$export$619500959fc48b26(value);
|
|
101
|
-
let cleanupRef = useRef(null);
|
|
102
|
-
if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.register(cleanupRef, res);
|
|
103
|
-
if ($bdb11010cef70236$var$canUseDOM) {
|
|
104
|
-
const cacheIdRef = $bdb11010cef70236$export$d41a04c74483c6ef.get(res);
|
|
105
|
-
if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);
|
|
106
|
-
else $bdb11010cef70236$export$d41a04c74483c6ef.set(res, [nextId]);
|
|
107
|
-
}
|
|
108
|
-
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
109
|
-
let r = res;
|
|
110
|
-
return () => {
|
|
111
|
-
if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.unregister(cleanupRef);
|
|
112
|
-
$bdb11010cef70236$export$d41a04c74483c6ef.delete(r);
|
|
113
|
-
};
|
|
114
|
-
}, [res]);
|
|
115
|
-
useEffect(() => {
|
|
116
|
-
let newId = nextId.current;
|
|
117
|
-
if (newId) setValue(newId);
|
|
118
|
-
return () => {
|
|
119
|
-
if (newId) nextId.current = null;
|
|
120
|
-
};
|
|
121
|
-
});
|
|
122
|
-
return res;
|
|
123
|
-
}
|
|
124
|
-
function $bdb11010cef70236$export$cd8c9cb68f842629(idA, idB) {
|
|
125
|
-
if (idA === idB) return idA;
|
|
126
|
-
let setIdsA = $bdb11010cef70236$export$d41a04c74483c6ef.get(idA);
|
|
127
|
-
if (setIdsA) {
|
|
128
|
-
setIdsA.forEach((ref) => ref.current = idB);
|
|
129
|
-
return idB;
|
|
130
|
-
}
|
|
131
|
-
let setIdsB = $bdb11010cef70236$export$d41a04c74483c6ef.get(idB);
|
|
132
|
-
if (setIdsB) {
|
|
133
|
-
setIdsB.forEach((ref) => ref.current = idA);
|
|
134
|
-
return idA;
|
|
135
|
-
}
|
|
136
|
-
return idB;
|
|
137
|
-
}
|
|
138
|
-
function $bdb11010cef70236$export$b4cc09c592e8fdb8(depArray = []) {
|
|
139
|
-
let id = $bdb11010cef70236$export$f680877a34711e37();
|
|
140
|
-
let [resolvedId, setResolvedId] = $1dbecbe27a04f9af$export$14d238f342723f25(id);
|
|
141
|
-
let updateId = useCallback(() => {
|
|
142
|
-
setResolvedId(function* () {
|
|
143
|
-
yield id;
|
|
144
|
-
yield document.getElementById(id) ? id : void 0;
|
|
145
|
-
});
|
|
146
|
-
}, [id, setResolvedId]);
|
|
147
|
-
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(updateId, [
|
|
148
|
-
id,
|
|
149
|
-
updateId,
|
|
150
|
-
...depArray
|
|
151
|
-
]);
|
|
152
|
-
return resolvedId;
|
|
153
|
-
}
|
|
154
|
-
//#endregion
|
|
155
|
-
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/chain.mjs
|
|
156
|
-
/**
|
|
157
|
-
* Calls all functions in the order they were chained with the same arguments.
|
|
158
|
-
*/ function $ff5963eb1fccf552$export$e08e3b67e392101e(...callbacks) {
|
|
159
|
-
return (...args) => {
|
|
160
|
-
for (let callback of callbacks) if (typeof callback === "function") callback(...args);
|
|
161
|
-
};
|
|
162
|
-
}
|
|
163
|
-
//#endregion
|
|
164
|
-
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/domHelpers.mjs
|
|
165
|
-
const $431fbd86ca7dc216$export$b204af158042fbac = (el) => {
|
|
166
|
-
var _el_ownerDocument;
|
|
167
|
-
return (_el_ownerDocument = el === null || el === void 0 ? void 0 : el.ownerDocument) !== null && _el_ownerDocument !== void 0 ? _el_ownerDocument : document;
|
|
168
|
-
};
|
|
169
|
-
const $431fbd86ca7dc216$export$f21a1ffae260145a = (el) => {
|
|
170
|
-
if (el && "window" in el && el.window === el) return el;
|
|
171
|
-
return $431fbd86ca7dc216$export$b204af158042fbac(el).defaultView || window;
|
|
172
|
-
};
|
|
173
|
-
/**
|
|
174
|
-
* Type guard that checks if a value is a Node. Verifies the presence and type of the nodeType property.
|
|
175
|
-
*/ function $431fbd86ca7dc216$var$isNode(value) {
|
|
176
|
-
return value !== null && typeof value === "object" && "nodeType" in value && typeof value.nodeType === "number";
|
|
177
|
-
}
|
|
178
|
-
function $431fbd86ca7dc216$export$af51f0f06c0f328a(node) {
|
|
179
|
-
return $431fbd86ca7dc216$var$isNode(node) && node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && "host" in node;
|
|
180
|
-
}
|
|
181
|
-
//#endregion
|
|
182
|
-
//#region ../../node_modules/.bun/@react-stately+flags@3.1.2/node_modules/@react-stately/flags/dist/import.mjs
|
|
183
|
-
let $f4e2df6bd15f8569$var$_shadowDOM = false;
|
|
184
|
-
function $f4e2df6bd15f8569$export$98658e8c59125e6a() {
|
|
185
|
-
return $f4e2df6bd15f8569$var$_shadowDOM;
|
|
186
|
-
}
|
|
187
|
-
//#endregion
|
|
188
|
-
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/DOMFunctions.mjs
|
|
189
|
-
function $d4ee10de306f2510$export$4282f70798064fe0(node, otherNode) {
|
|
190
|
-
if (!$f4e2df6bd15f8569$export$98658e8c59125e6a()) return otherNode && node ? node.contains(otherNode) : false;
|
|
191
|
-
if (!node || !otherNode) return false;
|
|
192
|
-
let currentNode = otherNode;
|
|
193
|
-
while (currentNode !== null) {
|
|
194
|
-
if (currentNode === node) return true;
|
|
195
|
-
if (currentNode.tagName === "SLOT" && currentNode.assignedSlot) currentNode = currentNode.assignedSlot.parentNode;
|
|
196
|
-
else if ($431fbd86ca7dc216$export$af51f0f06c0f328a(currentNode)) currentNode = currentNode.host;
|
|
197
|
-
else currentNode = currentNode.parentNode;
|
|
198
|
-
}
|
|
199
|
-
return false;
|
|
200
|
-
}
|
|
201
|
-
const $d4ee10de306f2510$export$cd4e5573fbe2b576 = (doc = document) => {
|
|
202
|
-
var _activeElement_shadowRoot;
|
|
203
|
-
if (!$f4e2df6bd15f8569$export$98658e8c59125e6a()) return doc.activeElement;
|
|
204
|
-
let activeElement = doc.activeElement;
|
|
205
|
-
while (activeElement && "shadowRoot" in activeElement && ((_activeElement_shadowRoot = activeElement.shadowRoot) === null || _activeElement_shadowRoot === void 0 ? void 0 : _activeElement_shadowRoot.activeElement)) activeElement = activeElement.shadowRoot.activeElement;
|
|
206
|
-
return activeElement;
|
|
207
|
-
};
|
|
208
|
-
function $d4ee10de306f2510$export$e58f029f0fbfdb29(event) {
|
|
209
|
-
if ($f4e2df6bd15f8569$export$98658e8c59125e6a() && event.target.shadowRoot) {
|
|
210
|
-
if (event.composedPath) return event.composedPath()[0];
|
|
211
|
-
}
|
|
212
|
-
return event.target;
|
|
213
|
-
}
|
|
214
|
-
//#endregion
|
|
215
|
-
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/mergeRefs.mjs
|
|
216
|
-
function $5dc95899b306f630$export$c9058316764c140e(...refs) {
|
|
217
|
-
if (refs.length === 1 && refs[0]) return refs[0];
|
|
218
|
-
return (value) => {
|
|
219
|
-
let hasCleanup = false;
|
|
220
|
-
const cleanups = refs.map((ref) => {
|
|
221
|
-
const cleanup = $5dc95899b306f630$var$setRef(ref, value);
|
|
222
|
-
hasCleanup || (hasCleanup = typeof cleanup == "function");
|
|
223
|
-
return cleanup;
|
|
224
|
-
});
|
|
225
|
-
if (hasCleanup) return () => {
|
|
226
|
-
cleanups.forEach((cleanup, i) => {
|
|
227
|
-
if (typeof cleanup === "function") cleanup();
|
|
228
|
-
else $5dc95899b306f630$var$setRef(refs[i], null);
|
|
229
|
-
});
|
|
230
|
-
};
|
|
231
|
-
};
|
|
232
|
-
}
|
|
233
|
-
function $5dc95899b306f630$var$setRef(ref, value) {
|
|
234
|
-
if (typeof ref === "function") return ref(value);
|
|
235
|
-
else if (ref != null) ref.current = value;
|
|
236
|
-
}
|
|
237
|
-
//#endregion
|
|
238
|
-
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/mergeProps.mjs
|
|
239
|
-
function $3ef42575df84b30b$export$9d1611c77c2fe928(...args) {
|
|
240
|
-
let result = { ...args[0] };
|
|
241
|
-
for (let i = 1; i < args.length; i++) {
|
|
242
|
-
let props = args[i];
|
|
243
|
-
for (let key in props) {
|
|
244
|
-
let a = result[key];
|
|
245
|
-
let b = props[key];
|
|
246
|
-
if (typeof a === "function" && typeof b === "function" && key[0] === "o" && key[1] === "n" && key.charCodeAt(2) >= 65 && key.charCodeAt(2) <= 90) result[key] = $ff5963eb1fccf552$export$e08e3b67e392101e(a, b);
|
|
247
|
-
else if ((key === "className" || key === "UNSAFE_className") && typeof a === "string" && typeof b === "string") result[key] = clsx(a, b);
|
|
248
|
-
else if (key === "id" && a && b) result.id = $bdb11010cef70236$export$cd8c9cb68f842629(a, b);
|
|
249
|
-
else if (key === "ref" && a && b) result.ref = $5dc95899b306f630$export$c9058316764c140e(a, b);
|
|
250
|
-
else result[key] = b !== void 0 ? b : a;
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
return result;
|
|
254
|
-
}
|
|
255
|
-
//#endregion
|
|
256
|
-
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/filterDOMProps.mjs
|
|
257
|
-
const $65484d02dcb7eb3e$var$DOMPropNames = /* @__PURE__ */ new Set(["id"]);
|
|
258
|
-
const $65484d02dcb7eb3e$var$labelablePropNames = /* @__PURE__ */ new Set([
|
|
259
|
-
"aria-label",
|
|
260
|
-
"aria-labelledby",
|
|
261
|
-
"aria-describedby",
|
|
262
|
-
"aria-details"
|
|
263
|
-
]);
|
|
264
|
-
const $65484d02dcb7eb3e$var$linkPropNames = /* @__PURE__ */ new Set([
|
|
265
|
-
"href",
|
|
266
|
-
"hrefLang",
|
|
267
|
-
"target",
|
|
268
|
-
"rel",
|
|
269
|
-
"download",
|
|
270
|
-
"ping",
|
|
271
|
-
"referrerPolicy"
|
|
272
|
-
]);
|
|
273
|
-
const $65484d02dcb7eb3e$var$globalAttrs = /* @__PURE__ */ new Set([
|
|
274
|
-
"dir",
|
|
275
|
-
"lang",
|
|
276
|
-
"hidden",
|
|
277
|
-
"inert",
|
|
278
|
-
"translate"
|
|
279
|
-
]);
|
|
280
|
-
const $65484d02dcb7eb3e$var$globalEvents = /* @__PURE__ */ new Set([
|
|
281
|
-
"onClick",
|
|
282
|
-
"onAuxClick",
|
|
283
|
-
"onContextMenu",
|
|
284
|
-
"onDoubleClick",
|
|
285
|
-
"onMouseDown",
|
|
286
|
-
"onMouseEnter",
|
|
287
|
-
"onMouseLeave",
|
|
288
|
-
"onMouseMove",
|
|
289
|
-
"onMouseOut",
|
|
290
|
-
"onMouseOver",
|
|
291
|
-
"onMouseUp",
|
|
292
|
-
"onTouchCancel",
|
|
293
|
-
"onTouchEnd",
|
|
294
|
-
"onTouchMove",
|
|
295
|
-
"onTouchStart",
|
|
296
|
-
"onPointerDown",
|
|
297
|
-
"onPointerMove",
|
|
298
|
-
"onPointerUp",
|
|
299
|
-
"onPointerCancel",
|
|
300
|
-
"onPointerEnter",
|
|
301
|
-
"onPointerLeave",
|
|
302
|
-
"onPointerOver",
|
|
303
|
-
"onPointerOut",
|
|
304
|
-
"onGotPointerCapture",
|
|
305
|
-
"onLostPointerCapture",
|
|
306
|
-
"onScroll",
|
|
307
|
-
"onWheel",
|
|
308
|
-
"onAnimationStart",
|
|
309
|
-
"onAnimationEnd",
|
|
310
|
-
"onAnimationIteration",
|
|
311
|
-
"onTransitionCancel",
|
|
312
|
-
"onTransitionEnd",
|
|
313
|
-
"onTransitionRun",
|
|
314
|
-
"onTransitionStart"
|
|
315
|
-
]);
|
|
316
|
-
const $65484d02dcb7eb3e$var$propRe = /^(data-.*)$/;
|
|
317
|
-
function $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, opts = {}) {
|
|
318
|
-
let { labelable, isLink, global, events = global, propNames } = opts;
|
|
319
|
-
let filteredProps = {};
|
|
320
|
-
for (const prop in props) if (Object.prototype.hasOwnProperty.call(props, prop) && ($65484d02dcb7eb3e$var$DOMPropNames.has(prop) || labelable && $65484d02dcb7eb3e$var$labelablePropNames.has(prop) || isLink && $65484d02dcb7eb3e$var$linkPropNames.has(prop) || global && $65484d02dcb7eb3e$var$globalAttrs.has(prop) || events && ($65484d02dcb7eb3e$var$globalEvents.has(prop) || prop.endsWith("Capture") && $65484d02dcb7eb3e$var$globalEvents.has(prop.slice(0, -7))) || (propNames === null || propNames === void 0 ? void 0 : propNames.has(prop)) || $65484d02dcb7eb3e$var$propRe.test(prop))) filteredProps[prop] = props[prop];
|
|
321
|
-
return filteredProps;
|
|
322
|
-
}
|
|
323
|
-
//#endregion
|
|
324
|
-
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/runAfterTransition.mjs
|
|
325
|
-
let $bbed8b41f857bcc0$var$transitionsByElement = /* @__PURE__ */ new Map();
|
|
326
|
-
let $bbed8b41f857bcc0$var$transitionCallbacks = /* @__PURE__ */ new Set();
|
|
327
|
-
function $bbed8b41f857bcc0$var$setupGlobalEvents() {
|
|
328
|
-
if (typeof window === "undefined") return;
|
|
329
|
-
function isTransitionEvent(event) {
|
|
330
|
-
return "propertyName" in event;
|
|
331
|
-
}
|
|
332
|
-
let onTransitionStart = (e) => {
|
|
333
|
-
if (!isTransitionEvent(e) || !e.target) return;
|
|
334
|
-
let transitions = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);
|
|
335
|
-
if (!transitions) {
|
|
336
|
-
transitions = /* @__PURE__ */ new Set();
|
|
337
|
-
$bbed8b41f857bcc0$var$transitionsByElement.set(e.target, transitions);
|
|
338
|
-
e.target.addEventListener("transitioncancel", onTransitionEnd, { once: true });
|
|
339
|
-
}
|
|
340
|
-
transitions.add(e.propertyName);
|
|
341
|
-
};
|
|
342
|
-
let onTransitionEnd = (e) => {
|
|
343
|
-
if (!isTransitionEvent(e) || !e.target) return;
|
|
344
|
-
let properties = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);
|
|
345
|
-
if (!properties) return;
|
|
346
|
-
properties.delete(e.propertyName);
|
|
347
|
-
if (properties.size === 0) {
|
|
348
|
-
e.target.removeEventListener("transitioncancel", onTransitionEnd);
|
|
349
|
-
$bbed8b41f857bcc0$var$transitionsByElement.delete(e.target);
|
|
350
|
-
}
|
|
351
|
-
if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) {
|
|
352
|
-
for (let cb of $bbed8b41f857bcc0$var$transitionCallbacks) cb();
|
|
353
|
-
$bbed8b41f857bcc0$var$transitionCallbacks.clear();
|
|
354
|
-
}
|
|
355
|
-
};
|
|
356
|
-
document.body.addEventListener("transitionrun", onTransitionStart);
|
|
357
|
-
document.body.addEventListener("transitionend", onTransitionEnd);
|
|
358
|
-
}
|
|
359
|
-
if (typeof document !== "undefined") if (document.readyState !== "loading") $bbed8b41f857bcc0$var$setupGlobalEvents();
|
|
360
|
-
else document.addEventListener("DOMContentLoaded", $bbed8b41f857bcc0$var$setupGlobalEvents);
|
|
361
|
-
/**
|
|
362
|
-
* Cleans up any elements that are no longer in the document.
|
|
363
|
-
* This is necessary because we can't rely on transitionend events to fire
|
|
364
|
-
* for elements that are removed from the document while transitioning.
|
|
365
|
-
*/ function $bbed8b41f857bcc0$var$cleanupDetachedElements() {
|
|
366
|
-
for (const [eventTarget] of $bbed8b41f857bcc0$var$transitionsByElement) if ("isConnected" in eventTarget && !eventTarget.isConnected) $bbed8b41f857bcc0$var$transitionsByElement.delete(eventTarget);
|
|
367
|
-
}
|
|
368
|
-
function $bbed8b41f857bcc0$export$24490316f764c430(fn) {
|
|
369
|
-
requestAnimationFrame(() => {
|
|
370
|
-
$bbed8b41f857bcc0$var$cleanupDetachedElements();
|
|
371
|
-
if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) fn();
|
|
372
|
-
else $bbed8b41f857bcc0$var$transitionCallbacks.add(fn);
|
|
373
|
-
});
|
|
374
|
-
}
|
|
375
|
-
//#endregion
|
|
376
|
-
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/useGlobalListeners.mjs
|
|
377
|
-
function $03deb23ff14920c4$export$4eaf04e54aa8eed6() {
|
|
378
|
-
let globalListeners = useRef(/* @__PURE__ */ new Map());
|
|
379
|
-
let addGlobalListener = useCallback((eventTarget, type, listener, options) => {
|
|
380
|
-
let fn = (options === null || options === void 0 ? void 0 : options.once) ? (...args) => {
|
|
381
|
-
globalListeners.current.delete(listener);
|
|
382
|
-
listener(...args);
|
|
383
|
-
} : listener;
|
|
384
|
-
globalListeners.current.set(listener, {
|
|
385
|
-
type,
|
|
386
|
-
eventTarget,
|
|
387
|
-
fn,
|
|
388
|
-
options
|
|
389
|
-
});
|
|
390
|
-
eventTarget.addEventListener(type, fn, options);
|
|
391
|
-
}, []);
|
|
392
|
-
let removeGlobalListener = useCallback((eventTarget, type, listener, options) => {
|
|
393
|
-
var _globalListeners_current_get;
|
|
394
|
-
let fn = ((_globalListeners_current_get = globalListeners.current.get(listener)) === null || _globalListeners_current_get === void 0 ? void 0 : _globalListeners_current_get.fn) || listener;
|
|
395
|
-
eventTarget.removeEventListener(type, fn, options);
|
|
396
|
-
globalListeners.current.delete(listener);
|
|
397
|
-
}, []);
|
|
398
|
-
let removeAllGlobalListeners = useCallback(() => {
|
|
399
|
-
globalListeners.current.forEach((value, key) => {
|
|
400
|
-
removeGlobalListener(value.eventTarget, value.type, key, value.options);
|
|
401
|
-
});
|
|
402
|
-
}, [removeGlobalListener]);
|
|
403
|
-
useEffect(() => {
|
|
404
|
-
return removeAllGlobalListeners;
|
|
405
|
-
}, [removeAllGlobalListeners]);
|
|
406
|
-
return {
|
|
407
|
-
addGlobalListener,
|
|
408
|
-
removeGlobalListener,
|
|
409
|
-
removeAllGlobalListeners
|
|
410
|
-
};
|
|
411
|
-
}
|
|
412
|
-
//#endregion
|
|
413
|
-
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/useObjectRef.mjs
|
|
414
|
-
function $df56164dff5785e2$export$4338b53315abf666(ref) {
|
|
415
|
-
const objRef = useRef(null);
|
|
416
|
-
const cleanupRef = useRef(void 0);
|
|
417
|
-
const refEffect = useCallback((instance) => {
|
|
418
|
-
if (typeof ref === "function") {
|
|
419
|
-
const refCallback = ref;
|
|
420
|
-
const refCleanup = refCallback(instance);
|
|
421
|
-
return () => {
|
|
422
|
-
if (typeof refCleanup === "function") refCleanup();
|
|
423
|
-
else refCallback(null);
|
|
424
|
-
};
|
|
425
|
-
} else if (ref) {
|
|
426
|
-
ref.current = instance;
|
|
427
|
-
return () => {
|
|
428
|
-
ref.current = null;
|
|
429
|
-
};
|
|
430
|
-
}
|
|
431
|
-
}, [ref]);
|
|
432
|
-
return useMemo(() => ({
|
|
433
|
-
get current() {
|
|
434
|
-
return objRef.current;
|
|
435
|
-
},
|
|
436
|
-
set current(value) {
|
|
437
|
-
objRef.current = value;
|
|
438
|
-
if (cleanupRef.current) {
|
|
439
|
-
cleanupRef.current();
|
|
440
|
-
cleanupRef.current = void 0;
|
|
441
|
-
}
|
|
442
|
-
if (value != null) cleanupRef.current = refEffect(value);
|
|
443
|
-
}
|
|
444
|
-
}), [refEffect]);
|
|
445
|
-
}
|
|
446
|
-
//#endregion
|
|
447
|
-
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/useEffectEvent.mjs
|
|
448
|
-
var $8ae05eaa5c114e9c$var$_React_useInsertionEffect;
|
|
449
|
-
const $8ae05eaa5c114e9c$var$useEarlyEffect = ($8ae05eaa5c114e9c$var$_React_useInsertionEffect = $HgANd$react["useInsertionEffect"]) !== null && $8ae05eaa5c114e9c$var$_React_useInsertionEffect !== void 0 ? $8ae05eaa5c114e9c$var$_React_useInsertionEffect : $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c;
|
|
450
|
-
function $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {
|
|
451
|
-
const ref = useRef(null);
|
|
452
|
-
$8ae05eaa5c114e9c$var$useEarlyEffect(() => {
|
|
453
|
-
ref.current = fn;
|
|
454
|
-
}, [fn]);
|
|
455
|
-
return useCallback((...args) => {
|
|
456
|
-
const f = ref.current;
|
|
457
|
-
return f === null || f === void 0 ? void 0 : f(...args);
|
|
458
|
-
}, []);
|
|
459
|
-
}
|
|
460
|
-
//#endregion
|
|
461
|
-
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/useSyncRef.mjs
|
|
462
|
-
function $e7801be82b4b2a53$export$4debdb1a3f0fa79e(context, ref) {
|
|
463
|
-
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
464
|
-
if (context && context.ref && ref) {
|
|
465
|
-
context.ref.current = ref.current;
|
|
466
|
-
return () => {
|
|
467
|
-
if (context.ref) context.ref.current = null;
|
|
468
|
-
};
|
|
469
|
-
}
|
|
470
|
-
});
|
|
471
|
-
}
|
|
472
|
-
//#endregion
|
|
473
|
-
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/isVirtualEvent.mjs
|
|
474
|
-
function $6a7db85432448f7f$export$60278871457622de(event) {
|
|
475
|
-
if (event.pointerType === "" && event.isTrusted) return true;
|
|
476
|
-
if ($c87311424ea30a05$export$a11b0059900ceec8() && event.pointerType) return event.type === "click" && event.buttons === 1;
|
|
477
|
-
return event.detail === 0 && !event.pointerType;
|
|
478
|
-
}
|
|
479
|
-
function $6a7db85432448f7f$export$29bf1b5f2c56cf63(event) {
|
|
480
|
-
return !$c87311424ea30a05$export$a11b0059900ceec8() && event.width === 0 && event.height === 0 || event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === "mouse";
|
|
481
|
-
}
|
|
482
|
-
//#endregion
|
|
483
|
-
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/isElementVisible.mjs
|
|
484
|
-
const $7d2416ea0959daaa$var$supportsCheckVisibility = typeof Element !== "undefined" && "checkVisibility" in Element.prototype;
|
|
485
|
-
function $7d2416ea0959daaa$var$isStyleVisible(element) {
|
|
486
|
-
const windowObject = $431fbd86ca7dc216$export$f21a1ffae260145a(element);
|
|
487
|
-
if (!(element instanceof windowObject.HTMLElement) && !(element instanceof windowObject.SVGElement)) return false;
|
|
488
|
-
let { display, visibility } = element.style;
|
|
489
|
-
let isVisible = display !== "none" && visibility !== "hidden" && visibility !== "collapse";
|
|
490
|
-
if (isVisible) {
|
|
491
|
-
const { getComputedStyle } = element.ownerDocument.defaultView;
|
|
492
|
-
let { display: computedDisplay, visibility: computedVisibility } = getComputedStyle(element);
|
|
493
|
-
isVisible = computedDisplay !== "none" && computedVisibility !== "hidden" && computedVisibility !== "collapse";
|
|
494
|
-
}
|
|
495
|
-
return isVisible;
|
|
496
|
-
}
|
|
497
|
-
function $7d2416ea0959daaa$var$isAttributeVisible(element, childElement) {
|
|
498
|
-
return !element.hasAttribute("hidden") && !element.hasAttribute("data-react-aria-prevent-focus") && (element.nodeName === "DETAILS" && childElement && childElement.nodeName !== "SUMMARY" ? element.hasAttribute("open") : true);
|
|
499
|
-
}
|
|
500
|
-
function $7d2416ea0959daaa$export$e989c0fffaa6b27a(element, childElement) {
|
|
501
|
-
if ($7d2416ea0959daaa$var$supportsCheckVisibility) return element.checkVisibility({ visibilityProperty: true }) && !element.closest("[data-react-aria-prevent-focus]");
|
|
502
|
-
return element.nodeName !== "#comment" && $7d2416ea0959daaa$var$isStyleVisible(element) && $7d2416ea0959daaa$var$isAttributeVisible(element, childElement) && (!element.parentElement || $7d2416ea0959daaa$export$e989c0fffaa6b27a(element.parentElement, element));
|
|
503
|
-
}
|
|
504
|
-
//#endregion
|
|
505
|
-
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/isFocusable.mjs
|
|
506
|
-
const $b4b717babfbb907b$var$focusableElements = [
|
|
507
|
-
"input:not([disabled]):not([type=hidden])",
|
|
508
|
-
"select:not([disabled])",
|
|
509
|
-
"textarea:not([disabled])",
|
|
510
|
-
"button:not([disabled])",
|
|
511
|
-
"a[href]",
|
|
512
|
-
"area[href]",
|
|
513
|
-
"summary",
|
|
514
|
-
"iframe",
|
|
515
|
-
"object",
|
|
516
|
-
"embed",
|
|
517
|
-
"audio[controls]",
|
|
518
|
-
"video[controls]",
|
|
519
|
-
"[contenteditable]:not([contenteditable^=\"false\"])",
|
|
520
|
-
"permission"
|
|
521
|
-
];
|
|
522
|
-
const $b4b717babfbb907b$var$FOCUSABLE_ELEMENT_SELECTOR = $b4b717babfbb907b$var$focusableElements.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
|
|
523
|
-
$b4b717babfbb907b$var$focusableElements.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
|
|
524
|
-
const $b4b717babfbb907b$var$TABBABLE_ELEMENT_SELECTOR = $b4b717babfbb907b$var$focusableElements.join(":not([hidden]):not([tabindex=\"-1\"]),");
|
|
525
|
-
function $b4b717babfbb907b$export$4c063cf1350e6fed(element) {
|
|
526
|
-
return element.matches($b4b717babfbb907b$var$FOCUSABLE_ELEMENT_SELECTOR) && $7d2416ea0959daaa$export$e989c0fffaa6b27a(element) && !$b4b717babfbb907b$var$isInert(element);
|
|
527
|
-
}
|
|
528
|
-
function $b4b717babfbb907b$export$bebd5a1431fec25d(element) {
|
|
529
|
-
return element.matches($b4b717babfbb907b$var$TABBABLE_ELEMENT_SELECTOR) && $7d2416ea0959daaa$export$e989c0fffaa6b27a(element) && !$b4b717babfbb907b$var$isInert(element);
|
|
530
|
-
}
|
|
531
|
-
function $b4b717babfbb907b$var$isInert(element) {
|
|
532
|
-
let node = element;
|
|
533
|
-
while (node != null) {
|
|
534
|
-
if (node instanceof node.ownerDocument.defaultView.HTMLElement && node.inert) return true;
|
|
535
|
-
node = node.parentElement;
|
|
536
|
-
}
|
|
537
|
-
return false;
|
|
538
|
-
}
|
|
539
|
-
//#endregion
|
|
540
|
-
//#region ../../node_modules/.bun/react-aria-components@1.15.1+67f6792bdf102c28/node_modules/react-aria-components/dist/utils.mjs
|
|
541
|
-
const $64fa3d84918910a7$export$c62b8e45d58ddad9 = Symbol("default");
|
|
542
|
-
function $64fa3d84918910a7$export$2881499e37b75b9a({ values, children }) {
|
|
543
|
-
for (let [Context, value] of values) children = /*#__PURE__*/ $HgANd$react.createElement(Context.Provider, { value }, children);
|
|
544
|
-
return children;
|
|
545
|
-
}
|
|
546
|
-
function $64fa3d84918910a7$export$4d86445c2cf5e3(props) {
|
|
547
|
-
let { className, style, children, defaultClassName, defaultChildren, defaultStyle, values, render } = props;
|
|
548
|
-
return useMemo(() => {
|
|
549
|
-
let computedClassName;
|
|
550
|
-
let computedStyle;
|
|
551
|
-
let computedChildren;
|
|
552
|
-
if (typeof className === "function") computedClassName = className({
|
|
553
|
-
...values,
|
|
554
|
-
defaultClassName
|
|
555
|
-
});
|
|
556
|
-
else computedClassName = className;
|
|
557
|
-
if (typeof style === "function") computedStyle = style({
|
|
558
|
-
...values,
|
|
559
|
-
defaultStyle: defaultStyle || {}
|
|
560
|
-
});
|
|
561
|
-
else computedStyle = style;
|
|
562
|
-
if (typeof children === "function") computedChildren = children({
|
|
563
|
-
...values,
|
|
564
|
-
defaultChildren
|
|
565
|
-
});
|
|
566
|
-
else if (children == null) computedChildren = defaultChildren;
|
|
567
|
-
else computedChildren = children;
|
|
568
|
-
return {
|
|
569
|
-
className: computedClassName !== null && computedClassName !== void 0 ? computedClassName : defaultClassName,
|
|
570
|
-
style: computedStyle || defaultStyle ? {
|
|
571
|
-
...defaultStyle,
|
|
572
|
-
...computedStyle
|
|
573
|
-
} : void 0,
|
|
574
|
-
children: computedChildren !== null && computedChildren !== void 0 ? computedChildren : defaultChildren,
|
|
575
|
-
"data-rac": "",
|
|
576
|
-
render: render ? (props) => render(props, values) : void 0
|
|
577
|
-
};
|
|
578
|
-
}, [
|
|
579
|
-
className,
|
|
580
|
-
style,
|
|
581
|
-
children,
|
|
582
|
-
defaultClassName,
|
|
583
|
-
defaultChildren,
|
|
584
|
-
defaultStyle,
|
|
585
|
-
values,
|
|
586
|
-
render
|
|
587
|
-
]);
|
|
588
|
-
}
|
|
589
|
-
function $64fa3d84918910a7$export$c245e6201fed2f75(value, wrap) {
|
|
590
|
-
return (renderProps) => wrap(typeof value === "function" ? value(renderProps) : value, renderProps);
|
|
591
|
-
}
|
|
592
|
-
function $64fa3d84918910a7$export$fabf2dc03a41866e(context, slot) {
|
|
593
|
-
let ctx = useContext(context);
|
|
594
|
-
if (slot === null) return null;
|
|
595
|
-
if (ctx && typeof ctx === "object" && "slots" in ctx && ctx.slots) {
|
|
596
|
-
let slotKey = slot || $64fa3d84918910a7$export$c62b8e45d58ddad9;
|
|
597
|
-
if (!ctx.slots[slotKey]) {
|
|
598
|
-
let availableSlots = new Intl.ListFormat().format(Object.keys(ctx.slots).map((p) => `"${p}"`));
|
|
599
|
-
let errorMessage = slot ? `Invalid slot "${slot}".` : "A slot prop is required.";
|
|
600
|
-
throw new Error(`${errorMessage} Valid slot names are ${availableSlots}.`);
|
|
601
|
-
}
|
|
602
|
-
return ctx.slots[slotKey];
|
|
603
|
-
}
|
|
604
|
-
return ctx;
|
|
605
|
-
}
|
|
606
|
-
function $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, context) {
|
|
607
|
-
let { ref: contextRef, ...contextProps } = $64fa3d84918910a7$export$fabf2dc03a41866e(context, props.slot) || {};
|
|
608
|
-
let mergedRef = $df56164dff5785e2$export$4338b53315abf666(useMemo(() => $5dc95899b306f630$export$c9058316764c140e(ref, contextRef), [ref, contextRef]));
|
|
609
|
-
let mergedProps = $3ef42575df84b30b$export$9d1611c77c2fe928(contextProps, props);
|
|
610
|
-
if ("style" in contextProps && contextProps.style && "style" in props && props.style) if (typeof contextProps.style === "function" || typeof props.style === "function") mergedProps.style = (renderProps) => {
|
|
611
|
-
let contextStyle = typeof contextProps.style === "function" ? contextProps.style(renderProps) : contextProps.style;
|
|
612
|
-
let defaultStyle = {
|
|
613
|
-
...renderProps.defaultStyle,
|
|
614
|
-
...contextStyle
|
|
615
|
-
};
|
|
616
|
-
let style = typeof props.style === "function" ? props.style({
|
|
617
|
-
...renderProps,
|
|
618
|
-
defaultStyle
|
|
619
|
-
}) : props.style;
|
|
620
|
-
return {
|
|
621
|
-
...defaultStyle,
|
|
622
|
-
...style
|
|
623
|
-
};
|
|
624
|
-
};
|
|
625
|
-
else mergedProps.style = {
|
|
626
|
-
...contextProps.style,
|
|
627
|
-
...props.style
|
|
628
|
-
};
|
|
629
|
-
return [mergedProps, mergedRef];
|
|
630
|
-
}
|
|
631
|
-
function $64fa3d84918910a7$export$9d4c57ee4c6ffdd8(initialState = true) {
|
|
632
|
-
let [hasSlot, setHasSlot] = useState(initialState);
|
|
633
|
-
let hasRun = useRef(false);
|
|
634
|
-
let ref = useCallback((el) => {
|
|
635
|
-
hasRun.current = true;
|
|
636
|
-
setHasSlot(!!el);
|
|
637
|
-
}, []);
|
|
638
|
-
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
639
|
-
if (!hasRun.current) setHasSlot(false);
|
|
640
|
-
}, []);
|
|
641
|
-
return [ref, hasSlot];
|
|
642
|
-
}
|
|
643
|
-
function $64fa3d84918910a7$export$ef03459518577ad4(props) {
|
|
644
|
-
const prefix = /^(data-.*)$/;
|
|
645
|
-
let filteredProps = {};
|
|
646
|
-
for (const prop in props) if (!prefix.test(prop)) filteredProps[prop] = props[prop];
|
|
647
|
-
return filteredProps;
|
|
648
|
-
}
|
|
649
|
-
function $64fa3d84918910a7$var$DOMElement(ElementType, props, forwardedRef) {
|
|
650
|
-
let { render, ...otherProps } = props;
|
|
651
|
-
let elementRef = useRef(null);
|
|
652
|
-
let ref = useMemo(() => $5dc95899b306f630$export$c9058316764c140e(forwardedRef, elementRef), [forwardedRef, elementRef]);
|
|
653
|
-
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
654
|
-
if (render) {
|
|
655
|
-
if (!elementRef.current) console.warn("Ref was not connected to DOM element returned by custom `render` function. Did you forget to pass through or merge the `ref`?");
|
|
656
|
-
else if (elementRef.current.localName !== ElementType) console.warn(`Unexpected DOM element returned by custom \`render\` function. Expected <${ElementType}>, got <${elementRef.current.localName}>. This may break the component behavior and accessibility.`);
|
|
657
|
-
}
|
|
658
|
-
}, [ElementType, render]);
|
|
659
|
-
let domProps = {
|
|
660
|
-
...otherProps,
|
|
661
|
-
ref
|
|
662
|
-
};
|
|
663
|
-
if (render) return render(domProps, void 0);
|
|
664
|
-
return /*#__PURE__*/ $HgANd$react.createElement(ElementType, domProps);
|
|
665
|
-
}
|
|
666
|
-
const $64fa3d84918910a7$var$domComponentCache = {};
|
|
667
|
-
const $64fa3d84918910a7$export$df3a06d6289f983e = new Proxy({}, { get(target, elementType) {
|
|
668
|
-
if (typeof elementType !== "string") return void 0;
|
|
669
|
-
let res = $64fa3d84918910a7$var$domComponentCache[elementType];
|
|
670
|
-
if (!res) {
|
|
671
|
-
res = /*#__PURE__*/ forwardRef($64fa3d84918910a7$var$DOMElement.bind(null, elementType));
|
|
672
|
-
$64fa3d84918910a7$var$domComponentCache[elementType] = res;
|
|
673
|
-
}
|
|
674
|
-
return res;
|
|
675
|
-
} });
|
|
676
|
-
//#endregion
|
|
677
|
-
//#region ../../node_modules/.bun/@react-aria+interactions@3.27.0+67f6792bdf102c28/node_modules/@react-aria/interactions/dist/utils.mjs
|
|
678
|
-
function $8a9cb279dc87e130$export$525bc4921d56d4a(nativeEvent) {
|
|
679
|
-
let event = nativeEvent;
|
|
680
|
-
event.nativeEvent = nativeEvent;
|
|
681
|
-
event.isDefaultPrevented = () => event.defaultPrevented;
|
|
682
|
-
event.isPropagationStopped = () => event.cancelBubble;
|
|
683
|
-
event.persist = () => {};
|
|
684
|
-
return event;
|
|
685
|
-
}
|
|
686
|
-
function $8a9cb279dc87e130$export$c2b7abe5d61ec696(event, target) {
|
|
687
|
-
Object.defineProperty(event, "target", { value: target });
|
|
688
|
-
Object.defineProperty(event, "currentTarget", { value: target });
|
|
689
|
-
}
|
|
690
|
-
function $8a9cb279dc87e130$export$715c682d09d639cc(onBlur) {
|
|
691
|
-
let stateRef = useRef({
|
|
692
|
-
isFocused: false,
|
|
693
|
-
observer: null
|
|
694
|
-
});
|
|
695
|
-
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
696
|
-
const state = stateRef.current;
|
|
697
|
-
return () => {
|
|
698
|
-
if (state.observer) {
|
|
699
|
-
state.observer.disconnect();
|
|
700
|
-
state.observer = null;
|
|
701
|
-
}
|
|
702
|
-
};
|
|
703
|
-
}, []);
|
|
704
|
-
return useCallback((e) => {
|
|
705
|
-
if (e.target instanceof HTMLButtonElement || e.target instanceof HTMLInputElement || e.target instanceof HTMLTextAreaElement || e.target instanceof HTMLSelectElement) {
|
|
706
|
-
stateRef.current.isFocused = true;
|
|
707
|
-
let target = e.target;
|
|
708
|
-
let onBlurHandler = (e) => {
|
|
709
|
-
stateRef.current.isFocused = false;
|
|
710
|
-
if (target.disabled) {
|
|
711
|
-
let event = $8a9cb279dc87e130$export$525bc4921d56d4a(e);
|
|
712
|
-
onBlur === null || onBlur === void 0 || onBlur(event);
|
|
713
|
-
}
|
|
714
|
-
if (stateRef.current.observer) {
|
|
715
|
-
stateRef.current.observer.disconnect();
|
|
716
|
-
stateRef.current.observer = null;
|
|
717
|
-
}
|
|
718
|
-
};
|
|
719
|
-
target.addEventListener("focusout", onBlurHandler, { once: true });
|
|
720
|
-
stateRef.current.observer = new MutationObserver(() => {
|
|
721
|
-
if (stateRef.current.isFocused && target.disabled) {
|
|
722
|
-
var _stateRef_current_observer;
|
|
723
|
-
(_stateRef_current_observer = stateRef.current.observer) === null || _stateRef_current_observer === void 0 || _stateRef_current_observer.disconnect();
|
|
724
|
-
let relatedTargetEl = target === document.activeElement ? null : document.activeElement;
|
|
725
|
-
target.dispatchEvent(new FocusEvent("blur", { relatedTarget: relatedTargetEl }));
|
|
726
|
-
target.dispatchEvent(new FocusEvent("focusout", {
|
|
727
|
-
bubbles: true,
|
|
728
|
-
relatedTarget: relatedTargetEl
|
|
729
|
-
}));
|
|
730
|
-
}
|
|
731
|
-
});
|
|
732
|
-
stateRef.current.observer.observe(target, {
|
|
733
|
-
attributes: true,
|
|
734
|
-
attributeFilter: ["disabled"]
|
|
735
|
-
});
|
|
736
|
-
}
|
|
737
|
-
}, [onBlur]);
|
|
738
|
-
}
|
|
739
|
-
let $8a9cb279dc87e130$export$fda7da73ab5d4c48 = false;
|
|
740
|
-
function $8a9cb279dc87e130$export$cabe61c495ee3649(target) {
|
|
741
|
-
while (target && !$b4b717babfbb907b$export$4c063cf1350e6fed(target)) target = target.parentElement;
|
|
742
|
-
let window = $431fbd86ca7dc216$export$f21a1ffae260145a(target);
|
|
743
|
-
let activeElement = window.document.activeElement;
|
|
744
|
-
if (!activeElement || activeElement === target) return;
|
|
745
|
-
$8a9cb279dc87e130$export$fda7da73ab5d4c48 = true;
|
|
746
|
-
let isRefocusing = false;
|
|
747
|
-
let onBlur = (e) => {
|
|
748
|
-
if (e.target === activeElement || isRefocusing) e.stopImmediatePropagation();
|
|
749
|
-
};
|
|
750
|
-
let onFocusOut = (e) => {
|
|
751
|
-
if (e.target === activeElement || isRefocusing) {
|
|
752
|
-
e.stopImmediatePropagation();
|
|
753
|
-
if (!target && !isRefocusing) {
|
|
754
|
-
isRefocusing = true;
|
|
755
|
-
$7215afc6de606d6b$export$de79e2c695e052f3(activeElement);
|
|
756
|
-
cleanup();
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
};
|
|
760
|
-
let onFocus = (e) => {
|
|
761
|
-
if (e.target === target || isRefocusing) e.stopImmediatePropagation();
|
|
762
|
-
};
|
|
763
|
-
let onFocusIn = (e) => {
|
|
764
|
-
if (e.target === target || isRefocusing) {
|
|
765
|
-
e.stopImmediatePropagation();
|
|
766
|
-
if (!isRefocusing) {
|
|
767
|
-
isRefocusing = true;
|
|
768
|
-
$7215afc6de606d6b$export$de79e2c695e052f3(activeElement);
|
|
769
|
-
cleanup();
|
|
770
|
-
}
|
|
771
|
-
}
|
|
772
|
-
};
|
|
773
|
-
window.addEventListener("blur", onBlur, true);
|
|
774
|
-
window.addEventListener("focusout", onFocusOut, true);
|
|
775
|
-
window.addEventListener("focusin", onFocusIn, true);
|
|
776
|
-
window.addEventListener("focus", onFocus, true);
|
|
777
|
-
let cleanup = () => {
|
|
778
|
-
cancelAnimationFrame(raf);
|
|
779
|
-
window.removeEventListener("blur", onBlur, true);
|
|
780
|
-
window.removeEventListener("focusout", onFocusOut, true);
|
|
781
|
-
window.removeEventListener("focusin", onFocusIn, true);
|
|
782
|
-
window.removeEventListener("focus", onFocus, true);
|
|
783
|
-
$8a9cb279dc87e130$export$fda7da73ab5d4c48 = false;
|
|
784
|
-
isRefocusing = false;
|
|
785
|
-
};
|
|
786
|
-
let raf = requestAnimationFrame(cleanup);
|
|
787
|
-
return cleanup;
|
|
788
|
-
}
|
|
789
|
-
//#endregion
|
|
790
|
-
//#region ../../node_modules/.bun/@react-aria+interactions@3.27.0+67f6792bdf102c28/node_modules/@react-aria/interactions/dist/useFocusVisible.mjs
|
|
791
|
-
let $507fabe10e71c6fb$var$currentModality = null;
|
|
792
|
-
const $507fabe10e71c6fb$export$901e90a13c50a14e = /* @__PURE__ */ new Set();
|
|
793
|
-
let $507fabe10e71c6fb$export$d90243b58daecda7 = /* @__PURE__ */ new Map();
|
|
794
|
-
let $507fabe10e71c6fb$var$hasEventBeforeFocus = false;
|
|
795
|
-
let $507fabe10e71c6fb$var$hasBlurredWindowRecently = false;
|
|
796
|
-
const $507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS = {
|
|
797
|
-
Tab: true,
|
|
798
|
-
Escape: true
|
|
799
|
-
};
|
|
800
|
-
function $507fabe10e71c6fb$var$triggerChangeHandlers(modality, e) {
|
|
801
|
-
for (let handler of $507fabe10e71c6fb$export$901e90a13c50a14e) handler(modality, e);
|
|
802
|
-
}
|
|
803
|
-
/**
|
|
804
|
-
* Helper function to determine if a KeyboardEvent is unmodified and could make keyboard focus styles visible.
|
|
805
|
-
*/ function $507fabe10e71c6fb$var$isValidKey(e) {
|
|
806
|
-
return !(e.metaKey || !$c87311424ea30a05$export$9ac100e40613ea10() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
|
|
807
|
-
}
|
|
808
|
-
function $507fabe10e71c6fb$var$handleKeyboardEvent(e) {
|
|
809
|
-
$507fabe10e71c6fb$var$hasEventBeforeFocus = true;
|
|
810
|
-
if (!$ea8dcbcb9ea1b556$export$95185d699e05d4d7.isOpening && $507fabe10e71c6fb$var$isValidKey(e)) {
|
|
811
|
-
$507fabe10e71c6fb$var$currentModality = "keyboard";
|
|
812
|
-
$507fabe10e71c6fb$var$triggerChangeHandlers("keyboard", e);
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
function $507fabe10e71c6fb$var$handlePointerEvent(e) {
|
|
816
|
-
$507fabe10e71c6fb$var$currentModality = "pointer";
|
|
817
|
-
"pointerType" in e && e.pointerType;
|
|
818
|
-
if (e.type === "mousedown" || e.type === "pointerdown") {
|
|
819
|
-
$507fabe10e71c6fb$var$hasEventBeforeFocus = true;
|
|
820
|
-
$507fabe10e71c6fb$var$triggerChangeHandlers("pointer", e);
|
|
821
|
-
}
|
|
822
|
-
}
|
|
823
|
-
function $507fabe10e71c6fb$var$handleClickEvent(e) {
|
|
824
|
-
if (!$ea8dcbcb9ea1b556$export$95185d699e05d4d7.isOpening && $6a7db85432448f7f$export$60278871457622de(e)) {
|
|
825
|
-
$507fabe10e71c6fb$var$hasEventBeforeFocus = true;
|
|
826
|
-
$507fabe10e71c6fb$var$currentModality = "virtual";
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
function $507fabe10e71c6fb$var$handleFocusEvent(e) {
|
|
830
|
-
if (e.target === window || e.target === document || $8a9cb279dc87e130$export$fda7da73ab5d4c48 || !e.isTrusted) return;
|
|
831
|
-
if (!$507fabe10e71c6fb$var$hasEventBeforeFocus && !$507fabe10e71c6fb$var$hasBlurredWindowRecently) {
|
|
832
|
-
$507fabe10e71c6fb$var$currentModality = "virtual";
|
|
833
|
-
$507fabe10e71c6fb$var$triggerChangeHandlers("virtual", e);
|
|
834
|
-
}
|
|
835
|
-
$507fabe10e71c6fb$var$hasEventBeforeFocus = false;
|
|
836
|
-
$507fabe10e71c6fb$var$hasBlurredWindowRecently = false;
|
|
837
|
-
}
|
|
838
|
-
function $507fabe10e71c6fb$var$handleWindowBlur() {
|
|
839
|
-
if ($8a9cb279dc87e130$export$fda7da73ab5d4c48) return;
|
|
840
|
-
$507fabe10e71c6fb$var$hasEventBeforeFocus = false;
|
|
841
|
-
$507fabe10e71c6fb$var$hasBlurredWindowRecently = true;
|
|
842
|
-
}
|
|
843
|
-
/**
|
|
844
|
-
* Setup global event listeners to control when keyboard focus style should be visible.
|
|
845
|
-
*/ function $507fabe10e71c6fb$var$setupGlobalFocusEvents(element) {
|
|
846
|
-
if (typeof window === "undefined" || typeof document === "undefined" || $507fabe10e71c6fb$export$d90243b58daecda7.get($431fbd86ca7dc216$export$f21a1ffae260145a(element))) return;
|
|
847
|
-
const windowObject = $431fbd86ca7dc216$export$f21a1ffae260145a(element);
|
|
848
|
-
const documentObject = $431fbd86ca7dc216$export$b204af158042fbac(element);
|
|
849
|
-
let focus = windowObject.HTMLElement.prototype.focus;
|
|
850
|
-
windowObject.HTMLElement.prototype.focus = function() {
|
|
851
|
-
$507fabe10e71c6fb$var$hasEventBeforeFocus = true;
|
|
852
|
-
focus.apply(this, arguments);
|
|
853
|
-
};
|
|
854
|
-
documentObject.addEventListener("keydown", $507fabe10e71c6fb$var$handleKeyboardEvent, true);
|
|
855
|
-
documentObject.addEventListener("keyup", $507fabe10e71c6fb$var$handleKeyboardEvent, true);
|
|
856
|
-
documentObject.addEventListener("click", $507fabe10e71c6fb$var$handleClickEvent, true);
|
|
857
|
-
windowObject.addEventListener("focus", $507fabe10e71c6fb$var$handleFocusEvent, true);
|
|
858
|
-
windowObject.addEventListener("blur", $507fabe10e71c6fb$var$handleWindowBlur, false);
|
|
859
|
-
if (typeof PointerEvent !== "undefined") {
|
|
860
|
-
documentObject.addEventListener("pointerdown", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
861
|
-
documentObject.addEventListener("pointermove", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
862
|
-
documentObject.addEventListener("pointerup", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
863
|
-
}
|
|
864
|
-
windowObject.addEventListener("beforeunload", () => {
|
|
865
|
-
$507fabe10e71c6fb$var$tearDownWindowFocusTracking(element);
|
|
866
|
-
}, { once: true });
|
|
867
|
-
$507fabe10e71c6fb$export$d90243b58daecda7.set(windowObject, { focus });
|
|
868
|
-
}
|
|
869
|
-
const $507fabe10e71c6fb$var$tearDownWindowFocusTracking = (element, loadListener) => {
|
|
870
|
-
const windowObject = $431fbd86ca7dc216$export$f21a1ffae260145a(element);
|
|
871
|
-
const documentObject = $431fbd86ca7dc216$export$b204af158042fbac(element);
|
|
872
|
-
if (loadListener) documentObject.removeEventListener("DOMContentLoaded", loadListener);
|
|
873
|
-
if (!$507fabe10e71c6fb$export$d90243b58daecda7.has(windowObject)) return;
|
|
874
|
-
windowObject.HTMLElement.prototype.focus = $507fabe10e71c6fb$export$d90243b58daecda7.get(windowObject).focus;
|
|
875
|
-
documentObject.removeEventListener("keydown", $507fabe10e71c6fb$var$handleKeyboardEvent, true);
|
|
876
|
-
documentObject.removeEventListener("keyup", $507fabe10e71c6fb$var$handleKeyboardEvent, true);
|
|
877
|
-
documentObject.removeEventListener("click", $507fabe10e71c6fb$var$handleClickEvent, true);
|
|
878
|
-
windowObject.removeEventListener("focus", $507fabe10e71c6fb$var$handleFocusEvent, true);
|
|
879
|
-
windowObject.removeEventListener("blur", $507fabe10e71c6fb$var$handleWindowBlur, false);
|
|
880
|
-
if (typeof PointerEvent !== "undefined") {
|
|
881
|
-
documentObject.removeEventListener("pointerdown", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
882
|
-
documentObject.removeEventListener("pointermove", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
883
|
-
documentObject.removeEventListener("pointerup", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
884
|
-
}
|
|
885
|
-
$507fabe10e71c6fb$export$d90243b58daecda7.delete(windowObject);
|
|
886
|
-
};
|
|
887
|
-
function $507fabe10e71c6fb$export$2f1888112f558a7d(element) {
|
|
888
|
-
const documentObject = $431fbd86ca7dc216$export$b204af158042fbac(element);
|
|
889
|
-
let loadListener;
|
|
890
|
-
if (documentObject.readyState !== "loading") $507fabe10e71c6fb$var$setupGlobalFocusEvents(element);
|
|
891
|
-
else {
|
|
892
|
-
loadListener = () => {
|
|
893
|
-
$507fabe10e71c6fb$var$setupGlobalFocusEvents(element);
|
|
894
|
-
};
|
|
895
|
-
documentObject.addEventListener("DOMContentLoaded", loadListener);
|
|
896
|
-
}
|
|
897
|
-
return () => $507fabe10e71c6fb$var$tearDownWindowFocusTracking(element, loadListener);
|
|
898
|
-
}
|
|
899
|
-
if (typeof document !== "undefined") $507fabe10e71c6fb$export$2f1888112f558a7d();
|
|
900
|
-
function $507fabe10e71c6fb$export$b9b3dfddab17db27() {
|
|
901
|
-
return $507fabe10e71c6fb$var$currentModality !== "pointer";
|
|
902
|
-
}
|
|
903
|
-
function $507fabe10e71c6fb$export$630ff653c5ada6a9() {
|
|
904
|
-
return $507fabe10e71c6fb$var$currentModality;
|
|
905
|
-
}
|
|
906
|
-
function $507fabe10e71c6fb$export$8397ddfc504fdb9a(modality) {
|
|
907
|
-
$507fabe10e71c6fb$var$currentModality = modality;
|
|
908
|
-
$507fabe10e71c6fb$var$triggerChangeHandlers(modality, null);
|
|
909
|
-
}
|
|
910
|
-
function $507fabe10e71c6fb$export$98e20ec92f614cfe() {
|
|
911
|
-
$507fabe10e71c6fb$var$setupGlobalFocusEvents();
|
|
912
|
-
let [modality, setModality] = useState($507fabe10e71c6fb$var$currentModality);
|
|
913
|
-
useEffect(() => {
|
|
914
|
-
let handler = () => {
|
|
915
|
-
setModality($507fabe10e71c6fb$var$currentModality);
|
|
916
|
-
};
|
|
917
|
-
$507fabe10e71c6fb$export$901e90a13c50a14e.add(handler);
|
|
918
|
-
return () => {
|
|
919
|
-
$507fabe10e71c6fb$export$901e90a13c50a14e.delete(handler);
|
|
920
|
-
};
|
|
921
|
-
}, []);
|
|
922
|
-
return $b5e257d569688ac6$export$535bd6ca7f90a273() ? null : modality;
|
|
923
|
-
}
|
|
924
|
-
const $507fabe10e71c6fb$var$nonTextInputTypes = /* @__PURE__ */ new Set([
|
|
925
|
-
"checkbox",
|
|
926
|
-
"radio",
|
|
927
|
-
"range",
|
|
928
|
-
"color",
|
|
929
|
-
"file",
|
|
930
|
-
"image",
|
|
931
|
-
"button",
|
|
932
|
-
"submit",
|
|
933
|
-
"reset"
|
|
934
|
-
]);
|
|
935
|
-
/**
|
|
936
|
-
* If this is attached to text input component, return if the event is a focus event (Tab/Escape keys pressed) so that
|
|
937
|
-
* focus visible style can be properly set.
|
|
938
|
-
*/ function $507fabe10e71c6fb$var$isKeyboardFocusEvent(isTextInput, modality, e) {
|
|
939
|
-
let document1 = $431fbd86ca7dc216$export$b204af158042fbac(e === null || e === void 0 ? void 0 : e.target);
|
|
940
|
-
const IHTMLInputElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).HTMLInputElement : HTMLInputElement;
|
|
941
|
-
const IHTMLTextAreaElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).HTMLTextAreaElement : HTMLTextAreaElement;
|
|
942
|
-
const IHTMLElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).HTMLElement : HTMLElement;
|
|
943
|
-
const IKeyboardEvent = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).KeyboardEvent : KeyboardEvent;
|
|
944
|
-
isTextInput = isTextInput || document1.activeElement instanceof IHTMLInputElement && !$507fabe10e71c6fb$var$nonTextInputTypes.has(document1.activeElement.type) || document1.activeElement instanceof IHTMLTextAreaElement || document1.activeElement instanceof IHTMLElement && document1.activeElement.isContentEditable;
|
|
945
|
-
return !(isTextInput && modality === "keyboard" && e instanceof IKeyboardEvent && !$507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS[e.key]);
|
|
946
|
-
}
|
|
947
|
-
function $507fabe10e71c6fb$export$ffd9e5021c1fb2d6(props = {}) {
|
|
948
|
-
let { isTextInput, autoFocus } = props;
|
|
949
|
-
let [isFocusVisibleState, setFocusVisible] = useState(autoFocus || $507fabe10e71c6fb$export$b9b3dfddab17db27());
|
|
950
|
-
$507fabe10e71c6fb$export$ec71b4b83ac08ec3((isFocusVisible) => {
|
|
951
|
-
setFocusVisible(isFocusVisible);
|
|
952
|
-
}, [isTextInput], { isTextInput });
|
|
953
|
-
return { isFocusVisible: isFocusVisibleState };
|
|
954
|
-
}
|
|
955
|
-
function $507fabe10e71c6fb$export$ec71b4b83ac08ec3(fn, deps, opts) {
|
|
956
|
-
$507fabe10e71c6fb$var$setupGlobalFocusEvents();
|
|
957
|
-
useEffect(() => {
|
|
958
|
-
if ((opts === null || opts === void 0 ? void 0 : opts.enabled) === false) return;
|
|
959
|
-
let handler = (modality, e) => {
|
|
960
|
-
if (!$507fabe10e71c6fb$var$isKeyboardFocusEvent(!!(opts === null || opts === void 0 ? void 0 : opts.isTextInput), modality, e)) return;
|
|
961
|
-
fn($507fabe10e71c6fb$export$b9b3dfddab17db27());
|
|
962
|
-
};
|
|
963
|
-
$507fabe10e71c6fb$export$901e90a13c50a14e.add(handler);
|
|
964
|
-
return () => {
|
|
965
|
-
$507fabe10e71c6fb$export$901e90a13c50a14e.delete(handler);
|
|
966
|
-
};
|
|
967
|
-
}, deps);
|
|
968
|
-
}
|
|
969
|
-
//#endregion
|
|
970
|
-
//#region ../../node_modules/.bun/@react-aria+interactions@3.27.0+67f6792bdf102c28/node_modules/@react-aria/interactions/dist/focusSafely.mjs
|
|
971
|
-
function $3ad3f6e1647bc98d$export$80f3e147d781571c(element) {
|
|
972
|
-
const ownerDocument = $431fbd86ca7dc216$export$b204af158042fbac(element);
|
|
973
|
-
if ($507fabe10e71c6fb$export$630ff653c5ada6a9() === "virtual") {
|
|
974
|
-
let lastFocusedElement = $d4ee10de306f2510$export$cd4e5573fbe2b576(ownerDocument);
|
|
975
|
-
$bbed8b41f857bcc0$export$24490316f764c430(() => {
|
|
976
|
-
const activeElement = $d4ee10de306f2510$export$cd4e5573fbe2b576(ownerDocument);
|
|
977
|
-
if ((activeElement === lastFocusedElement || activeElement === ownerDocument.body) && element.isConnected) $7215afc6de606d6b$export$de79e2c695e052f3(element);
|
|
978
|
-
});
|
|
979
|
-
} else $7215afc6de606d6b$export$de79e2c695e052f3(element);
|
|
980
|
-
}
|
|
981
|
-
//#endregion
|
|
982
|
-
//#region ../../node_modules/.bun/@react-aria+interactions@3.27.0+67f6792bdf102c28/node_modules/@react-aria/interactions/dist/useFocus.mjs
|
|
983
|
-
function $a1ea59d68270f0dd$export$f8168d8dd8fd66e6(props) {
|
|
984
|
-
let { isDisabled, onFocus: onFocusProp, onBlur: onBlurProp, onFocusChange } = props;
|
|
985
|
-
const onBlur = useCallback((e) => {
|
|
986
|
-
if (e.target === e.currentTarget) {
|
|
987
|
-
if (onBlurProp) onBlurProp(e);
|
|
988
|
-
if (onFocusChange) onFocusChange(false);
|
|
989
|
-
return true;
|
|
990
|
-
}
|
|
991
|
-
}, [onBlurProp, onFocusChange]);
|
|
992
|
-
const onSyntheticFocus = $8a9cb279dc87e130$export$715c682d09d639cc(onBlur);
|
|
993
|
-
const onFocus = useCallback((e) => {
|
|
994
|
-
const ownerDocument = $431fbd86ca7dc216$export$b204af158042fbac(e.target);
|
|
995
|
-
const activeElement = ownerDocument ? $d4ee10de306f2510$export$cd4e5573fbe2b576(ownerDocument) : $d4ee10de306f2510$export$cd4e5573fbe2b576();
|
|
996
|
-
if (e.target === e.currentTarget && activeElement === $d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent)) {
|
|
997
|
-
if (onFocusProp) onFocusProp(e);
|
|
998
|
-
if (onFocusChange) onFocusChange(true);
|
|
999
|
-
onSyntheticFocus(e);
|
|
1000
|
-
}
|
|
1001
|
-
}, [
|
|
1002
|
-
onFocusChange,
|
|
1003
|
-
onFocusProp,
|
|
1004
|
-
onSyntheticFocus
|
|
1005
|
-
]);
|
|
1006
|
-
return { focusProps: {
|
|
1007
|
-
onFocus: !isDisabled && (onFocusProp || onFocusChange || onBlurProp) ? onFocus : void 0,
|
|
1008
|
-
onBlur: !isDisabled && (onBlurProp || onFocusChange) ? onBlur : void 0
|
|
1009
|
-
} };
|
|
1010
|
-
}
|
|
1011
|
-
//#endregion
|
|
1012
|
-
//#region ../../node_modules/.bun/@react-aria+interactions@3.27.0+67f6792bdf102c28/node_modules/@react-aria/interactions/dist/createEventHandler.mjs
|
|
1013
|
-
function $93925083ecbb358c$export$48d1ea6320830260(handler) {
|
|
1014
|
-
if (!handler) return void 0;
|
|
1015
|
-
let shouldStopPropagation = true;
|
|
1016
|
-
return (e) => {
|
|
1017
|
-
handler({
|
|
1018
|
-
...e,
|
|
1019
|
-
preventDefault() {
|
|
1020
|
-
e.preventDefault();
|
|
1021
|
-
},
|
|
1022
|
-
isDefaultPrevented() {
|
|
1023
|
-
return e.isDefaultPrevented();
|
|
1024
|
-
},
|
|
1025
|
-
stopPropagation() {
|
|
1026
|
-
if (shouldStopPropagation && true) console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.");
|
|
1027
|
-
else shouldStopPropagation = true;
|
|
1028
|
-
},
|
|
1029
|
-
continuePropagation() {
|
|
1030
|
-
shouldStopPropagation = false;
|
|
1031
|
-
},
|
|
1032
|
-
isPropagationStopped() {
|
|
1033
|
-
return shouldStopPropagation;
|
|
1034
|
-
}
|
|
1035
|
-
});
|
|
1036
|
-
if (shouldStopPropagation) e.stopPropagation();
|
|
1037
|
-
};
|
|
1038
|
-
}
|
|
1039
|
-
//#endregion
|
|
1040
|
-
//#region ../../node_modules/.bun/@react-aria+interactions@3.27.0+67f6792bdf102c28/node_modules/@react-aria/interactions/dist/useKeyboard.mjs
|
|
1041
|
-
function $46d819fcbaf35654$export$8f71654801c2f7cd(props) {
|
|
1042
|
-
return { keyboardProps: props.isDisabled ? {} : {
|
|
1043
|
-
onKeyDown: $93925083ecbb358c$export$48d1ea6320830260(props.onKeyDown),
|
|
1044
|
-
onKeyUp: $93925083ecbb358c$export$48d1ea6320830260(props.onKeyUp)
|
|
1045
|
-
} };
|
|
1046
|
-
}
|
|
1047
|
-
//#endregion
|
|
1048
|
-
//#region ../../node_modules/.bun/@react-aria+interactions@3.27.0+67f6792bdf102c28/node_modules/@react-aria/interactions/dist/useFocusable.mjs
|
|
1049
|
-
let $f645667febf57a63$export$f9762fab77588ecb = /*#__PURE__*/ $HgANd$react.createContext(null);
|
|
1050
|
-
function $f645667febf57a63$var$useFocusableContext(ref) {
|
|
1051
|
-
let context = useContext($f645667febf57a63$export$f9762fab77588ecb) || {};
|
|
1052
|
-
$e7801be82b4b2a53$export$4debdb1a3f0fa79e(context, ref);
|
|
1053
|
-
let { ref: _, ...otherProps } = context;
|
|
1054
|
-
return otherProps;
|
|
1055
|
-
}
|
|
1056
|
-
const $f645667febf57a63$export$13f3202a3e5ddd5 = /*#__PURE__*/ $HgANd$react.forwardRef(function FocusableProvider(props, ref) {
|
|
1057
|
-
let { children, ...otherProps } = props;
|
|
1058
|
-
let objRef = $df56164dff5785e2$export$4338b53315abf666(ref);
|
|
1059
|
-
let context = {
|
|
1060
|
-
...otherProps,
|
|
1061
|
-
ref: objRef
|
|
1062
|
-
};
|
|
1063
|
-
return /*#__PURE__*/ $HgANd$react.createElement($f645667febf57a63$export$f9762fab77588ecb.Provider, { value: context }, children);
|
|
1064
|
-
});
|
|
1065
|
-
function $f645667febf57a63$export$4c014de7c8940b4c(props, domRef) {
|
|
1066
|
-
let { focusProps } = $a1ea59d68270f0dd$export$f8168d8dd8fd66e6(props);
|
|
1067
|
-
let { keyboardProps } = $46d819fcbaf35654$export$8f71654801c2f7cd(props);
|
|
1068
|
-
let interactions = $3ef42575df84b30b$export$9d1611c77c2fe928(focusProps, keyboardProps);
|
|
1069
|
-
let domProps = $f645667febf57a63$var$useFocusableContext(domRef);
|
|
1070
|
-
let interactionProps = props.isDisabled ? {} : domProps;
|
|
1071
|
-
let autoFocusRef = useRef(props.autoFocus);
|
|
1072
|
-
useEffect(() => {
|
|
1073
|
-
if (autoFocusRef.current && domRef.current) $3ad3f6e1647bc98d$export$80f3e147d781571c(domRef.current);
|
|
1074
|
-
autoFocusRef.current = false;
|
|
1075
|
-
}, [domRef]);
|
|
1076
|
-
let tabIndex = props.excludeFromTabOrder ? -1 : 0;
|
|
1077
|
-
if (props.isDisabled) tabIndex = void 0;
|
|
1078
|
-
return { focusableProps: $3ef42575df84b30b$export$9d1611c77c2fe928({
|
|
1079
|
-
...interactions,
|
|
1080
|
-
tabIndex
|
|
1081
|
-
}, interactionProps) };
|
|
1082
|
-
}
|
|
1083
|
-
const $f645667febf57a63$export$35a3bebf7ef2d934 = /*#__PURE__*/ forwardRef(({ children, ...props }, ref) => {
|
|
1084
|
-
ref = $df56164dff5785e2$export$4338b53315abf666(ref);
|
|
1085
|
-
let { focusableProps } = $f645667febf57a63$export$4c014de7c8940b4c(props, ref);
|
|
1086
|
-
let child = $HgANd$react.Children.only(children);
|
|
1087
|
-
useEffect(() => {
|
|
1088
|
-
let el = ref.current;
|
|
1089
|
-
if (!el || !(el instanceof $431fbd86ca7dc216$export$f21a1ffae260145a(el).Element)) {
|
|
1090
|
-
console.error("<Focusable> child must forward its ref to a DOM element.");
|
|
1091
|
-
return;
|
|
1092
|
-
}
|
|
1093
|
-
if (!props.isDisabled && !$b4b717babfbb907b$export$4c063cf1350e6fed(el)) {
|
|
1094
|
-
console.warn("<Focusable> child must be focusable. Please ensure the tabIndex prop is passed through.");
|
|
1095
|
-
return;
|
|
1096
|
-
}
|
|
1097
|
-
if (el.localName !== "button" && el.localName !== "input" && el.localName !== "select" && el.localName !== "textarea" && el.localName !== "a" && el.localName !== "area" && el.localName !== "summary" && el.localName !== "img" && el.localName !== "svg") {
|
|
1098
|
-
let role = el.getAttribute("role");
|
|
1099
|
-
if (!role) console.warn("<Focusable> child must have an interactive ARIA role.");
|
|
1100
|
-
else if (role !== "application" && role !== "button" && role !== "checkbox" && role !== "combobox" && role !== "gridcell" && role !== "link" && role !== "menuitem" && role !== "menuitemcheckbox" && role !== "menuitemradio" && role !== "option" && role !== "radio" && role !== "searchbox" && role !== "separator" && role !== "slider" && role !== "spinbutton" && role !== "switch" && role !== "tab" && role !== "tabpanel" && role !== "textbox" && role !== "treeitem" && role !== "img" && role !== "meter" && role !== "progressbar") console.warn(`<Focusable> child must have an interactive ARIA role. Got "${role}".`);
|
|
1101
|
-
}
|
|
1102
|
-
}, [ref, props.isDisabled]);
|
|
1103
|
-
let childRef = parseInt($HgANd$react.version, 10) < 19 ? child.ref : child.props.ref;
|
|
1104
|
-
return /*#__PURE__*/ $HgANd$react.cloneElement(child, {
|
|
1105
|
-
...$3ef42575df84b30b$export$9d1611c77c2fe928(focusableProps, child.props),
|
|
1106
|
-
ref: $5dc95899b306f630$export$c9058316764c140e(childRef, ref)
|
|
1107
|
-
});
|
|
1108
|
-
});
|
|
1109
|
-
//#endregion
|
|
1110
|
-
//#region ../../node_modules/.bun/@react-aria+interactions@3.27.0+67f6792bdf102c28/node_modules/@react-aria/interactions/dist/useHover.mjs
|
|
1111
|
-
let $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;
|
|
1112
|
-
let $6179b936705e76d3$var$hoverCount = 0;
|
|
1113
|
-
function $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents() {
|
|
1114
|
-
$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = true;
|
|
1115
|
-
setTimeout(() => {
|
|
1116
|
-
$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;
|
|
1117
|
-
}, 50);
|
|
1118
|
-
}
|
|
1119
|
-
function $6179b936705e76d3$var$handleGlobalPointerEvent(e) {
|
|
1120
|
-
if (e.pointerType === "touch") $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents();
|
|
1121
|
-
}
|
|
1122
|
-
function $6179b936705e76d3$var$setupGlobalTouchEvents() {
|
|
1123
|
-
if (typeof document === "undefined") return;
|
|
1124
|
-
if ($6179b936705e76d3$var$hoverCount === 0) {
|
|
1125
|
-
if (typeof PointerEvent !== "undefined") document.addEventListener("pointerup", $6179b936705e76d3$var$handleGlobalPointerEvent);
|
|
1126
|
-
}
|
|
1127
|
-
$6179b936705e76d3$var$hoverCount++;
|
|
1128
|
-
return () => {
|
|
1129
|
-
$6179b936705e76d3$var$hoverCount--;
|
|
1130
|
-
if ($6179b936705e76d3$var$hoverCount > 0) return;
|
|
1131
|
-
if (typeof PointerEvent !== "undefined") document.removeEventListener("pointerup", $6179b936705e76d3$var$handleGlobalPointerEvent);
|
|
1132
|
-
};
|
|
1133
|
-
}
|
|
1134
|
-
function $6179b936705e76d3$export$ae780daf29e6d456(props) {
|
|
1135
|
-
let { onHoverStart, onHoverChange, onHoverEnd, isDisabled } = props;
|
|
1136
|
-
let [isHovered, setHovered] = useState(false);
|
|
1137
|
-
let state = useRef({
|
|
1138
|
-
isHovered: false,
|
|
1139
|
-
ignoreEmulatedMouseEvents: false,
|
|
1140
|
-
pointerType: "",
|
|
1141
|
-
target: null
|
|
1142
|
-
}).current;
|
|
1143
|
-
useEffect($6179b936705e76d3$var$setupGlobalTouchEvents, []);
|
|
1144
|
-
let { addGlobalListener, removeAllGlobalListeners } = $03deb23ff14920c4$export$4eaf04e54aa8eed6();
|
|
1145
|
-
let { hoverProps, triggerHoverEnd } = useMemo(() => {
|
|
1146
|
-
let triggerHoverStart = (event, pointerType) => {
|
|
1147
|
-
state.pointerType = pointerType;
|
|
1148
|
-
if (isDisabled || pointerType === "touch" || state.isHovered || !$d4ee10de306f2510$export$4282f70798064fe0(event.currentTarget, event.target)) return;
|
|
1149
|
-
state.isHovered = true;
|
|
1150
|
-
let target = event.currentTarget;
|
|
1151
|
-
state.target = target;
|
|
1152
|
-
addGlobalListener($431fbd86ca7dc216$export$b204af158042fbac(event.target), "pointerover", (e) => {
|
|
1153
|
-
if (state.isHovered && state.target && !$d4ee10de306f2510$export$4282f70798064fe0(state.target, e.target)) triggerHoverEnd(e, e.pointerType);
|
|
1154
|
-
}, { capture: true });
|
|
1155
|
-
if (onHoverStart) onHoverStart({
|
|
1156
|
-
type: "hoverstart",
|
|
1157
|
-
target,
|
|
1158
|
-
pointerType
|
|
1159
|
-
});
|
|
1160
|
-
if (onHoverChange) onHoverChange(true);
|
|
1161
|
-
setHovered(true);
|
|
1162
|
-
};
|
|
1163
|
-
let triggerHoverEnd = (event, pointerType) => {
|
|
1164
|
-
let target = state.target;
|
|
1165
|
-
state.pointerType = "";
|
|
1166
|
-
state.target = null;
|
|
1167
|
-
if (pointerType === "touch" || !state.isHovered || !target) return;
|
|
1168
|
-
state.isHovered = false;
|
|
1169
|
-
removeAllGlobalListeners();
|
|
1170
|
-
if (onHoverEnd) onHoverEnd({
|
|
1171
|
-
type: "hoverend",
|
|
1172
|
-
target,
|
|
1173
|
-
pointerType
|
|
1174
|
-
});
|
|
1175
|
-
if (onHoverChange) onHoverChange(false);
|
|
1176
|
-
setHovered(false);
|
|
1177
|
-
};
|
|
1178
|
-
let hoverProps = {};
|
|
1179
|
-
if (typeof PointerEvent !== "undefined") {
|
|
1180
|
-
hoverProps.onPointerEnter = (e) => {
|
|
1181
|
-
if ($6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents && e.pointerType === "mouse") return;
|
|
1182
|
-
triggerHoverStart(e, e.pointerType);
|
|
1183
|
-
};
|
|
1184
|
-
hoverProps.onPointerLeave = (e) => {
|
|
1185
|
-
if (!isDisabled && $d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, e.target)) triggerHoverEnd(e, e.pointerType);
|
|
1186
|
-
};
|
|
1187
|
-
}
|
|
1188
|
-
return {
|
|
1189
|
-
hoverProps,
|
|
1190
|
-
triggerHoverEnd
|
|
1191
|
-
};
|
|
1192
|
-
}, [
|
|
1193
|
-
onHoverStart,
|
|
1194
|
-
onHoverChange,
|
|
1195
|
-
onHoverEnd,
|
|
1196
|
-
isDisabled,
|
|
1197
|
-
state,
|
|
1198
|
-
addGlobalListener,
|
|
1199
|
-
removeAllGlobalListeners
|
|
1200
|
-
]);
|
|
1201
|
-
useEffect(() => {
|
|
1202
|
-
if (isDisabled) triggerHoverEnd({ currentTarget: state.target }, state.pointerType);
|
|
1203
|
-
}, [isDisabled]);
|
|
1204
|
-
return {
|
|
1205
|
-
hoverProps,
|
|
1206
|
-
isHovered
|
|
1207
|
-
};
|
|
1208
|
-
}
|
|
1209
|
-
//#endregion
|
|
1210
|
-
export { $6a7db85432448f7f$export$29bf1b5f2c56cf63 as A, $d4ee10de306f2510$export$4282f70798064fe0 as B, $64fa3d84918910a7$export$c245e6201fed2f75 as C, $64fa3d84918910a7$export$fabf2dc03a41866e as D, $64fa3d84918910a7$export$ef03459518577ad4 as E, $03deb23ff14920c4$export$4eaf04e54aa8eed6 as F, $431fbd86ca7dc216$export$f21a1ffae260145a as G, $d4ee10de306f2510$export$e58f029f0fbfdb29 as H, $bbed8b41f857bcc0$export$24490316f764c430 as I, $bdb11010cef70236$export$f680877a34711e37 as J, $ff5963eb1fccf552$export$e08e3b67e392101e as K, $65484d02dcb7eb3e$export$457c3d6518dd4c6f as L, $e7801be82b4b2a53$export$4debdb1a3f0fa79e as M, $8ae05eaa5c114e9c$export$7f54fc3180508a52 as N, $b4b717babfbb907b$export$4c063cf1350e6fed as O, $df56164dff5785e2$export$4338b53315abf666 as P, $3ef42575df84b30b$export$9d1611c77c2fe928 as R, $64fa3d84918910a7$export$9d4c57ee4c6ffdd8 as S, $64fa3d84918910a7$export$df3a06d6289f983e as T, $f4e2df6bd15f8569$export$98658e8c59125e6a as U, $d4ee10de306f2510$export$cd4e5573fbe2b576 as V, $431fbd86ca7dc216$export$b204af158042fbac as W, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c as X, $b5e257d569688ac6$export$535bd6ca7f90a273 as Y, $8a9cb279dc87e130$export$c2b7abe5d61ec696 as _, $f645667febf57a63$export$f9762fab77588ecb as a, $64fa3d84918910a7$export$29f1550f4b0d4415 as b, $3ad3f6e1647bc98d$export$80f3e147d781571c as c, $507fabe10e71c6fb$export$98e20ec92f614cfe as d, $507fabe10e71c6fb$export$b9b3dfddab17db27 as f, $8a9cb279dc87e130$export$715c682d09d639cc as g, $8a9cb279dc87e130$export$525bc4921d56d4a as h, $f645667febf57a63$export$4c014de7c8940b4c as i, $6a7db85432448f7f$export$60278871457622de as j, $b4b717babfbb907b$export$bebd5a1431fec25d as k, $507fabe10e71c6fb$export$630ff653c5ada6a9 as l, $507fabe10e71c6fb$export$ffd9e5021c1fb2d6 as m, $f645667febf57a63$export$13f3202a3e5ddd5 as n, $46d819fcbaf35654$export$8f71654801c2f7cd as o, $507fabe10e71c6fb$export$ec71b4b83ac08ec3 as p, $bdb11010cef70236$export$b4cc09c592e8fdb8 as q, $f645667febf57a63$export$35a3bebf7ef2d934 as r, $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 as s, $6179b936705e76d3$export$ae780daf29e6d456 as t, $507fabe10e71c6fb$export$8397ddfc504fdb9a as u, $8a9cb279dc87e130$export$cabe61c495ee3649 as v, $64fa3d84918910a7$export$c62b8e45d58ddad9 as w, $64fa3d84918910a7$export$4d86445c2cf5e3 as x, $64fa3d84918910a7$export$2881499e37b75b9a as y, $5dc95899b306f630$export$c9058316764c140e as z };
|