@povio/ui 3.4.0-rc.22 → 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 +5 -0
- 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.js +1 -1
- 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.js +2 -2
- package/dist/components/breadcrumbs/react-aria.js +1 -1
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button.d.ts +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/cell/react-aria.js +2 -2
- 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.js +1 -1
- package/dist/components/color-swatch-picker/react-aria.js +2 -2
- package/dist/components/color-swatch-picker-item/react-aria.js +2 -2
- package/dist/components/column/react-aria.js +2 -2
- package/dist/components/column-resizer/react-aria.js +2 -2
- package/dist/components/combo-box/react-aria.js +2 -2
- package/dist/components/date-picker/react-aria.js +1 -1
- 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.js +1 -1
- package/dist/components/date-range-picker.d.ts +1 -1
- package/dist/components/date-range-picker.js +1 -1
- package/dist/components/date-time-picker.d.ts +1 -1
- package/dist/components/date-time-picker.js +1 -1
- package/dist/components/dialog/react-aria.js +1 -1
- package/dist/components/dialog-trigger/react-aria.js +1 -1
- package/dist/components/dom-attributes/react-aria.d.ts +1 -0
- package/dist/components/dom-attributes/react-aria.js +0 -0
- package/dist/components/drawer.js +2 -2
- package/dist/components/file-trigger/react-aria.js +1 -1
- 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/form-field.d.ts +1 -1
- package/dist/components/form-field.js +1 -1
- package/dist/components/grid-list/react-aria.js +2 -2
- package/dist/components/grid-list-header/react-aria.js +2 -2
- package/dist/components/grid-list-item/react-aria.js +2 -2
- package/dist/components/grid-list-load-more-item/react-aria.js +2 -2
- package/dist/components/grid-list-section/react-aria.js +2 -2
- package/dist/components/header/react-aria.js +2 -2
- 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-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/link.d.ts +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/list-box/react-aria.js +2 -2
- package/dist/components/list-box-item/react-aria.js +2 -2
- package/dist/components/list-box-load-more-item/react-aria.js +2 -2
- package/dist/components/list-box-section/react-aria.js +2 -2
- package/dist/components/menu/react-aria.js +1 -1
- package/dist/components/menu-item/react-aria.js +2 -2
- package/dist/components/menu-section/react-aria.js +1 -1
- package/dist/components/menu-trigger/react-aria.js +1 -1
- package/dist/components/menu.d.ts +2 -2
- package/dist/components/menu.js +2 -2
- package/dist/components/modal/react-aria.js +1 -1
- package/dist/components/modal-overlay/react-aria.js +1 -1
- package/dist/components/modal.d.ts +1 -1
- package/dist/components/modal.js +1 -1
- 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/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.js +1 -1
- 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-group.d.ts +1 -1
- package/dist/components/radio-group.js +1 -1
- package/dist/components/resizable-table-container/react-aria.js +2 -2
- package/dist/components/responsive-popover.d.ts +1 -1
- package/dist/components/responsive-popover.js +2 -2
- package/dist/components/row/react-aria.js +2 -2
- package/dist/components/section/react-aria.js +1 -1
- package/dist/components/segment.d.ts +2 -2
- package/dist/components/segment.js +1 -1
- package/dist/components/select/react-aria.js +2 -2
- 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/separator/react-aria.js +2 -2
- 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/stepper.js +1 -1
- package/dist/components/submenu-trigger/react-aria.js +1 -1
- package/dist/components/tab/react-aria.js +2 -2
- package/dist/components/tab-list/react-aria.js +1 -1
- package/dist/components/tab-panels/react-aria.js +1 -1
- package/dist/components/table/react-aria.js +2 -2
- package/dist/components/table-body/react-aria.js +2 -2
- package/dist/components/table-header/react-aria.js +2 -2
- package/dist/components/table-load-more-item/react-aria.js +2 -2
- package/dist/components/tabs/react-aria.js +1 -1
- package/dist/components/tag/react-aria.js +2 -2
- package/dist/components/tag-group/react-aria.js +2 -2
- package/dist/components/tag-list/react-aria.js +2 -2
- package/dist/components/tag.d.ts +1 -1
- package/dist/components/tag.js +1 -1
- 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-input.d.ts +1 -1
- package/dist/components/text-input.js +10 -9
- package/dist/components/time-picker.d.ts +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/toast-region/react-aria.js +1 -1
- package/dist/components/toast.js +1 -1
- 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/tooltip-ellipsis.js +1 -1
- package/dist/components/tooltip.d.ts +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/tree/react-aria.js +2 -2
- package/dist/components/tree-item/react-aria.js +2 -2
- package/dist/components/tree-item-content/react-aria.js +2 -2
- package/dist/components/tree-load-more-item/react-aria.js +2 -2
- 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/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 +44 -1
- package/dist/PressResponder-q8UTUsf0.js +0 -63
- package/dist/openLink-BFEMFlhB.js +0 -187
- 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
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PaginationListProps, t as PaginationList } from "../PaginationList-
|
|
1
|
+
import { n as PaginationListProps, t as PaginationList } from "../PaginationList-BLN4DD1o.js";
|
|
2
2
|
export { PaginationList, PaginationListProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as PaginationList } from "../PaginationList-
|
|
1
|
+
import { t as PaginationList } from "../PaginationList-DwPkbMEh.js";
|
|
2
2
|
export { PaginationList };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PaginationProps, t as Pagination } from "../Pagination-
|
|
1
|
+
import { n as PaginationProps, t as Pagination } from "../Pagination-faMGUGlG.js";
|
|
2
2
|
export { Pagination, PaginationProps };
|
|
@@ -2,7 +2,7 @@ import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
|
2
2
|
import { t as Typography } from "../Typography-AcUd9df8.js";
|
|
3
3
|
import "../i18n-C2TBJvnh.js";
|
|
4
4
|
import { NumberInput } from "./number-input.js";
|
|
5
|
-
import { t as PaginationList } from "../PaginationList-
|
|
5
|
+
import { t as PaginationList } from "../PaginationList-DwPkbMEh.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { useTranslation } from "react-i18next";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PasswordInput, r as PasswordInputProps, t as ControlledPasswordInputProps } from "../PasswordInput-
|
|
1
|
+
import { n as PasswordInput, r as PasswordInputProps, t as ControlledPasswordInputProps } from "../PasswordInput-C7V5Z07E.js";
|
|
2
2
|
export { ControlledPasswordInputProps, PasswordInput, PasswordInputProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PillButtonProps, t as PillButton } from "../PillButton-
|
|
1
|
+
import { n as PillButtonProps, t as PillButton } from "../PillButton-MeVkDMKW.js";
|
|
2
2
|
export { PillButton, PillButtonProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as X } from "../x-BYOEO0gW.js";
|
|
2
2
|
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
3
|
-
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../Button-
|
|
4
|
-
import { t as $efde0372d7a700fe$export$d2b052e7b4be1756 } from "../ToggleButton-
|
|
3
|
+
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../Button-oSE-CM83.js";
|
|
4
|
+
import { t as $efde0372d7a700fe$export$d2b052e7b4be1756 } from "../ToggleButton-DYVFkuEk.js";
|
|
5
5
|
import { t as UIOverrides } from "../uiOverrides.context-Bfm2n-n8.js";
|
|
6
6
|
import { t as ButtonContent } from "../ButtonContent-17xvQXod.js";
|
|
7
7
|
import { a as pillButtonTypography, i as pillButtonIconSize, r as pillButtonDefinition, t as pillButtonContent } from "../pillButton.cva-DbwzixcK.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PillProps, t as Pill } from "../Pill-
|
|
1
|
+
import { n as PillProps, t as Pill } from "../Pill-C0Ubkm_y.js";
|
|
2
2
|
export { Pill, PillProps };
|
package/dist/components/pill.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as UIConfig } from "../uiConfig.context-SBtRegKv.js";
|
|
2
2
|
import { t as X } from "../x-BYOEO0gW.js";
|
|
3
3
|
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
4
|
-
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../Button-
|
|
4
|
+
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../Button-oSE-CM83.js";
|
|
5
5
|
import { t as UIOverrides } from "../uiOverrides.context-Bfm2n-n8.js";
|
|
6
6
|
import { t as Typography } from "../Typography-AcUd9df8.js";
|
|
7
7
|
import { r as pillButtonDefinition } from "../pillButton.cva-DbwzixcK.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e,{createContext as t,forwardRef as n,useContext as r,useEffect as i,useMemo as a,useRef as o,useState as s}from"react";import{filterDOMProps as c,
|
|
1
|
+
import e,{createContext as t,forwardRef as n,useContext as r,useEffect as i,useMemo as a,useRef as o,useState as s}from"react";import{filterDOMProps as c,mergeProps as l,mergeRefs as u,nodeContains as d,useEnterAnimation as f,useExitAnimation as p,useLayoutEffect as m,useObjectRef as h}from"@react-aria/utils";import{focusSafely as g}from"@react-aria/interactions";import{DismissButton as _,Overlay as v,useLocale as y,usePopover as b}from"react-aria";import{useOverlayTriggerState as x}from"react-stately";const S=Symbol(`default`);function C(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:o,defaultStyle:s,values:c,render:l}=e;return a(()=>{let e,a,u;return e=typeof t==`function`?t({...c,defaultClassName:i}):t,a=typeof n==`function`?n({...c,defaultStyle:s||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:o}):r??o,{className:e??i,style:a||s?{...s,...a}:void 0,children:u??o,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,i,o,s,c,l])}function w(e,t){let n=r(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||S;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function T(e,t,n){let{ref:r,...i}=w(n,e.slot)||{},o=h(a(()=>u(t,r),[t,r])),s=l(i,e);return`style`in i&&i.style&&`style`in e&&e.style&&(s.style=typeof i.style==`function`||typeof e.style==`function`?t=>{let n=typeof i.style==`function`?i.style(t):i.style,r={...t.defaultStyle,...n},a=typeof e.style==`function`?e.style({...t,defaultStyle:r}):e.style;return{...r,...a}}:{...i.style,...e.style}),[s,o]}function E(t,n,r){let{render:i,...s}=n,c=o(null),l=a(()=>u(r,c),[r,c]);m(()=>{},[t,i]);let d={...s,ref:l};return i?i(d,void 0):e.createElement(t,d)}const D={},O=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let r=D[t];return r||(r=n(E.bind(null,t)),D[t]=r),r}});if(typeof HTMLTemplateElement<`u`){let e=Object.getOwnPropertyDescriptor(Node.prototype,`firstChild`).get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}})}const k=t(!1);function A(){return r(k)}const j=t({placement:`bottom`}),M=t(null),N=t(null),P=n(function(t,n){[t,n]=T(t,n,M);let i=r(I),a=x(t),o=t.isOpen!=null||t.defaultOpen!=null||!i?a:i,s=p(n,o.isOpen)||t.isExiting||!1,c=A(),{direction:l}=y();if(c){let n=t.children;return typeof n==`function`&&(n=n({trigger:t.trigger||null,placement:`bottom`,isEntering:!1,isExiting:!1,defaultChildren:null})),e.createElement(e.Fragment,null,n)}return o&&!o.isOpen&&!s?null:e.createElement(F,{...t,triggerRef:t.triggerRef,state:o,popoverRef:n,isExiting:s,dir:l})});function F({state:t,isExiting:n,UNSTABLE_portalContainer:u,clearContexts:p,...h}){let y=o(null),x=o(null),S=r(N),w=S&&h.trigger===`SubmenuTrigger`,{popoverProps:T,underlayProps:E,arrowProps:D,placement:k,triggerAnchorPoint:A}=b({...h,offset:h.offset??8,arrowRef:y,groupRef:w?S:x},t),M=h.popoverRef,P=f(M,!!k)||h.isEntering||!1,F=C({...h,defaultClassName:`react-aria-Popover`,values:{trigger:h.trigger||null,placement:k,isEntering:P,isExiting:n}}),I=!h.isNonModal||h.trigger===`SubmenuTrigger`,[L,R]=s(!1);m(()=>{M.current&&R(I&&!M.current.querySelector(`[role=dialog]`))},[M,I]),i(()=>{L&&h.trigger!==`SubmenuTrigger`&&M.current&&!d(M.current,document.activeElement)&&g(M.current)},[L,M,h.trigger]);let z=a(()=>{let t=F.children;if(p)for(let n of p)t=e.createElement(n.Provider,{value:null},t);return t},[F.children,p]),B={...T.style,"--trigger-anchor-point":A?`${A.x}px ${A.y}px`:void 0,...F.style},V=e.createElement(O.div,{...l(c(h,{global:!0}),T),...F,role:L?`dialog`:void 0,tabIndex:L?-1:void 0,"aria-label":h[`aria-label`],"aria-labelledby":h[`aria-labelledby`],ref:M,slot:h.slot||void 0,style:B,dir:h.dir,"data-trigger":h.trigger,"data-placement":k,"data-entering":P||void 0,"data-exiting":n||void 0},!h.isNonModal&&e.createElement(_,{onDismiss:t.close}),e.createElement(j.Provider,{value:{...D,placement:k,ref:y}},z),e.createElement(_,{onDismiss:t.close}));return w?e.createElement(v,{...h,shouldContainFocus:L,isExiting:n,portalContainer:u??S?.current??void 0},V):e.createElement(v,{...h,shouldContainFocus:L,isExiting:n,portalContainer:u},!h.isNonModal&&t.isOpen&&e.createElement(`div`,{"data-testid":`underlay`,...E,style:{position:`fixed`,inset:0}}),e.createElement(`div`,{ref:x,style:{display:`contents`}},e.createElement(N.Provider,{value:x},V)))}const I=t(null);export{P as Popover};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as FieldValues } from "../form.binding-DWlFTecs.js";
|
|
2
|
-
import { s as SelectItem } from "../SelectBase-
|
|
3
|
-
import { n as QueryFn, t as QueryAutocompleteProps } from "../queryAutocomplete.types-
|
|
2
|
+
import { s as SelectItem } from "../SelectBase-hXagPi6y.js";
|
|
3
|
+
import { n as QueryFn, t as QueryAutocompleteProps } from "../queryAutocomplete.types-Wj7KW6fv.js";
|
|
4
4
|
//#region src/components/inputs/Selection/Autocomplete/QueryAutocomplete.d.ts
|
|
5
5
|
declare const QueryAutocompleteComponent: <TFieldValues extends FieldValues, TSelectItem extends SelectItem<any>, TQueryFn extends QueryFn>(props: QueryAutocompleteProps<TFieldValues, TSelectItem, TQueryFn>) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
declare const QueryAutocomplete: typeof QueryAutocompleteComponent;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as UIConfig } from "../uiConfig.context-SBtRegKv.js";
|
|
2
|
-
import {
|
|
2
|
+
import { _ as $5dc95899b306f630$export$c9058316764c140e } from "../import-CuNJ25EP.js";
|
|
3
3
|
import { t as FieldController } from "../form.binding-DyZ4fH8l.js";
|
|
4
4
|
import { Autocomplete } from "./autocomplete.js";
|
|
5
5
|
import { n as getQueryItems, r as getSelectionIdsToResolve, t as useQueryAutocomplete } from "../useQueryAutocomplete-CraXvRm_.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as QuerySelectProps, t as QuerySelect } from "../QuerySelect-
|
|
1
|
+
import { n as QuerySelectProps, t as QuerySelect } from "../QuerySelect-Dg25c9cy.js";
|
|
2
2
|
export { QuerySelect, QuerySelectProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as UIConfig } from "../uiConfig.context-SBtRegKv.js";
|
|
2
|
-
import {
|
|
2
|
+
import { _ as $5dc95899b306f630$export$c9058316764c140e } from "../import-CuNJ25EP.js";
|
|
3
3
|
import { t as FieldController } from "../form.binding-DyZ4fH8l.js";
|
|
4
|
-
import { t as Select } from "../Select-
|
|
4
|
+
import { t as Select } from "../Select-T4am7u5p.js";
|
|
5
5
|
import { n as getQueryItems, r as getSelectionIdsToResolve, t as useQueryAutocomplete } from "../useQueryAutocomplete-CraXvRm_.js";
|
|
6
6
|
import { memo, useCallback, useMemo, useState } from "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as RadioGroup, r as RadioGroupProps, t as ControlledRadioGroupProps } from "../RadioGroup-
|
|
1
|
+
import { n as RadioGroup, r as RadioGroupProps, t as ControlledRadioGroupProps } from "../RadioGroup-165j_xj8.js";
|
|
2
2
|
export { ControlledRadioGroupProps, RadioGroup, RadioGroupProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as RadioGroup } from "../RadioGroup-
|
|
1
|
+
import { t as RadioGroup } from "../RadioGroup-DopLBNzi.js";
|
|
2
2
|
export { RadioGroup };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{cloneElement as t,createContext as n,forwardRef as r,isValidElement as i,useCallback as a,useContext as o,useMemo as s,useRef as c,useState as l}from"react";import{filterDOMProps as u,inertValue as d,isScrollable as f,mergeRefs as p,useLayoutEffect as m,useLoadMoreSentinel as h,useObjectRef as g,useResizeObserver as _}from"@react-aria/utils";import"react-dom";import{mergeProps as
|
|
1
|
+
import e,{cloneElement as t,createContext as n,forwardRef as r,isValidElement as i,useCallback as a,useContext as o,useMemo as s,useRef as c,useState as l}from"react";import{filterDOMProps as u,inertValue as d,isScrollable as f,mergeRefs as p,useLayoutEffect as m,useLoadMoreSentinel as h,useObjectRef as g,useResizeObserver as _}from"@react-aria/utils";import{FocusableContext as v}from"@react-aria/interactions";import"react-dom";import{mergeProps as y}from"react-aria";import{useTableColumnResizeState as b}from"react-stately";var x=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),S=(e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});function C(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:c,render:l}=e;return s(()=>{let e,s,u;return e=typeof t==`function`?t({...c,defaultClassName:i}):t,s=typeof n==`function`?n({...c,defaultStyle:o||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:a}):r??a,{className:e??i,style:s||o?{...o,...s}:void 0,children:u??a,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,i,a,o,c,l])}function w(t,n,r){let{render:i,...a}=n,o=c(null),l=s(()=>p(r,o),[r,o]);m(()=>{},[t,i]);let u={...a,ref:l};return i?i(u,void 0):e.createElement(t,u)}const T={},E=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=T[t];return n||(n=r(w.bind(null,t)),T[t]=n),n}});String(Math.round(Math.random()*1e10)),typeof window<`u`&&window.document&&window.document.createElement,e.useId;var D=class{get childNodes(){throw Error(`childNodes is not supported`)}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e[`aria-label`]=this[`aria-label`],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,n){let r=this.clone();return t.addDescendants(r,e),r}constructor(e){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue=``,this[`aria-label`]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=e}},O=class extends D{filter(e,t,n){let[r,i]=M(e,t,this.firstChildKey,n),a=this.clone();return a.firstChildKey=r,a.lastChildKey=i,a}},k=class extends D{};k.type=`header`;var A=class extends D{};A.type=`loader`;var j=class extends O{filter(e,t,n){if(n(this.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}};j.type=`item`;var ee=class extends O{filter(e,t,n){let r=super.filter(e,t,n);if(r&&r.lastChildKey!==null){let t=e.getItem(r.lastChildKey);if(t&&t.type!==`header`)return r}return null}};ee.type=`section`;function M(e,t,n,r){if(n==null)return[null,null];let i=null,a=null,o=e.getItem(n);for(;o!=null;){let n=o.filter(e,t,r);n!=null&&(n.nextKey=null,a&&(n.prevKey=a.key,a.nextKey=n.key),i??=n,t.addNode(n),a=n),o=o.nextKey?e.getItem(o.nextKey):null}if(a&&a.type===`separator`){let e=a.prevKey;t.removeNode(a.key),e?(a=t.getItem(e),a.nextKey=null):a=null}return[i?.key??null,a?.key??null]}function N(e){let{children:n,items:r,idScope:i,addIdAndValue:a,dependencies:o=[]}=e,c=s(()=>new WeakMap,o);return s(()=>{if(r&&typeof n==`function`){let e=[];for(let o of r){let r=c.get(o);if(!r){r=n(o);let e=r.props.id??o.key??o.id;if(e==null)throw Error(`Could not determine key for item`);i!=null&&(e=i+`:`+e),r=t(r,a?{key:e,id:e,value:o}:{key:e}),c.set(o,r)}e.push(r)}return e}if(typeof n!=`function`)return n},[n,r,c,i,a])}
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* use-sync-external-store-shim.production.js
|
|
@@ -8,4 +8,4 @@ import e,{cloneElement as t,createContext as n,forwardRef as r,isValidElement as
|
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
10
|
*/
|
|
11
|
-
var P=
|
|
11
|
+
var P=x((e=>{var t=S(`react`);function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore}));x(((e,t)=>{t.exports=P()}))();const F=n(!1);typeof e.useSyncExternalStore==`function`&&e.useSyncExternalStore;const I=n(null);function L(e){var t;return t=class extends D{},t.type=e,t}function R(t,n,r,i,s,c){typeof t==`string`&&(t=L(t));let l=a(e=>{e?.setProps(n,r,t,i,c)},[n,r,i,c,t]),u=o(I);if(u){let a=u.ownerDocument.nodesByProps.get(n);return a||(a=u.ownerDocument.createElement(t.type),a.setProps(n,r,t,i,c),u.appendChild(a),u.ownerDocument.updateCollection(),u.ownerDocument.nodesByProps.set(n,a)),s?e.createElement(I.Provider,{value:a},s):null}return e.createElement(t.type,{ref:l},s)}function z(t,n){let i=({node:e})=>n(e.props,e.props.ref,e),a=r((r,a)=>{let s=o(v);if(!o(F)){if(n.length>=3)throw Error(n.name+` cannot be rendered outside a collection.`);return n(r,a)}return R(t,r,a,`children`in r?r.children:null,null,t=>e.createElement(v.Provider,{value:s},e.createElement(i,{node:t})))});return a.displayName=n.name,a}const B={CollectionRoot({collection:e,renderDropIndicator:t}){return V(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return V(e,t,n)}};function V(t,n,r){return N({items:n?t.getChildren(n.key):t,dependencies:[r],children(n){let i=n.render(n);return!r||n.type!==`item`?i:e.createElement(e.Fragment,null,r({type:`item`,key:n.key,dropPosition:`before`}),i,H(t,n,r))}})}function H(e,n,r){let a=n.key,o=e.getKeyAfter(a),s=o==null?null:e.getItem(o);for(;s!=null&&s.type!==`item`;)o=e.getKeyAfter(s.key),s=o==null?null:e.getItem(o);let c=n.nextKey==null?null:e.getItem(n.nextKey);for(;c!=null&&c.type!==`item`;)c=c.nextKey==null?null:e.getItem(c.nextKey);let l=[];if(c==null){let a=n;for(;a?.type===`item`&&(!s||a.parentKey!==s.parentKey&&s.level<a.level);){let n=r({type:`item`,key:a.key,dropPosition:`after`});i(n)&&l.push(t(n,{key:`${a.key}-after`})),a=a.parentKey==null?null:e.getItem(a.parentKey)}}return l}const U=n(B),W=n(null),G=r(function(t,n){let r=g(n),i=c(null),a=c(null),[o,d]=l(0);m(()=>{let e=i.current;for(;e&&e!==r.current&&!f(e);)e=e.parentElement;a.current=e},[r]),_({ref:a,box:`border-box`,onResize(){d(a.current?.clientWidth??0)}}),m(()=>{d(a.current?.clientWidth??0)},[]);let p=s(()=>({tableRef:i,scrollRef:a,tableWidth:o,useTableColumnResizeState:b,onResizeStart:t.onResizeStart,onResize:t.onResize,onResizeEnd:t.onResizeEnd}),[i,o,t.onResizeStart,t.onResize,t.onResizeEnd]);return e.createElement(E.div,{render:t.render,...u(t,{global:!0}),ref:r,className:t.className||`react-aria-ResizableTableContainer`,style:t.style,onScroll:t.onScroll},e.createElement(W.Provider,{value:p},t.children))}),K=n(null);var q=class extends D{};q.type=`tableheader`;var J=class extends D{};J.type=`column`;var Y=class extends O{};Y.type=`tablebody`;var X=class extends D{filter(e,t,n){let r=e.getChildren(this.key);for(let i of r)if(n(i.textValue,i)){let n=this.clone();return t.addDescendants(n,e),n}return null}};X.type=`item`;let Z=r(function(t,n){let{isVirtualized:r}=o(U);return r?e.createElement(E.div,{...t,ref:n}):e.createElement(E.tr,{...t,ref:n})});var Q=class extends D{};Q.type=`cell`;let $=r(function(t,n){let{isVirtualized:r}=o(U);return r?e.createElement(E.div,{...t,ref:n}):e.createElement(E.td,{...t,ref:n})});z(A,function(t,n,r){let i=o(K),{isVirtualized:a}=o(U),{isLoading:l,onLoadMore:f,scrollOffset:p,...m}=t,g=i.collection.columns.length,_=c(null),v=s(()=>({onLoadMore:f,collection:i?.collection,sentinelRef:_,scrollOffset:p}),[f,p,i?.collection]);h(v,_);let b=C({...m,id:void 0,children:r.rendered,defaultClassName:`react-aria-TableLoadingIndicator`,values:void 0}),x={},S={},w={};return a?(S[`aria-colspan`]=g,w={display:`contents`}):S.colSpan=g,e.createElement(e.Fragment,null,e.createElement(Z,{style:{height:0},inert:d(!0)},e.createElement($,{style:{padding:0,border:0}},e.createElement(`div`,{"data-testid":`loadMoreSentinel`,ref:_,style:{position:`relative`,height:1,width:1}}))),l&&b.children&&e.createElement(Z,{...y(u(t,{global:!0}),x),...b,role:`row`,ref:n},e.createElement($,{role:`rowheader`,...S,style:w},b.children)))});export{G as ResizableTableContainer};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ResponsivePopoverProps, t as ResponsivePopover } from "../ResponsivePopover-
|
|
1
|
+
import { n as ResponsivePopoverProps, t as ResponsivePopover } from "../ResponsivePopover-C8IriWcI.js";
|
|
2
2
|
export { ResponsivePopover, ResponsivePopoverProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
2
|
-
import { c as $07b14b47974efb58$export$5b6b19405a83ff9d, n as $de32f1b87079253c$export$3ddf2d174ce01153, t as $de32f1b87079253c$export$2e1e1122cf0cba88 } from "../Dialog-
|
|
2
|
+
import { c as $07b14b47974efb58$export$5b6b19405a83ff9d, n as $de32f1b87079253c$export$3ddf2d174ce01153, t as $de32f1b87079253c$export$2e1e1122cf0cba88 } from "../Dialog-DpLXaUXz.js";
|
|
3
3
|
import { t as UIOverrides } from "../uiOverrides.context-Bfm2n-n8.js";
|
|
4
|
-
import { t as BottomSheet } from "../BottomSheet-
|
|
4
|
+
import { t as BottomSheet } from "../BottomSheet-DNnVqMw9.js";
|
|
5
5
|
import { t as useBreakpoint } from "../useBreakpoint-D0s71F97.js";
|
|
6
6
|
import { t as popoverDefinition } from "../popover.cva-CXha_UMQ.js";
|
|
7
7
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{cloneElement as t,createContext as n,forwardRef as r,isValidElement as i,useCallback as a,useContext as o,useEffect as s,useMemo as c,useRef as l}from"react";import{filterDOMProps as u,inertValue as d,mergeRefs as f,useLayoutEffect as p,useLoadMoreSentinel as m,useObjectRef as h}from"@react-aria/utils";import{
|
|
1
|
+
import e,{cloneElement as t,createContext as n,forwardRef as r,isValidElement as i,useCallback as a,useContext as o,useEffect as s,useMemo as c,useRef as l}from"react";import{filterDOMProps as u,inertValue as d,mergeRefs as f,useLayoutEffect as p,useLoadMoreSentinel as m,useObjectRef as h}from"@react-aria/utils";import{FocusableContext as g}from"@react-aria/interactions";import{createPortal as _}from"react-dom";import{mergeProps as v,useFocusRing as y,useHover as b,useTableRow as x,useTableSelectionCheckbox as S,useVisuallyHidden as C}from"react-aria";import"react-stately";var w=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),T=(e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});const ee=n(null);n(null),n(null),n(null),n(null),n({}),n(null),n(null);const E=Symbol(`default`);function te({values:t,children:n}){for(let[r,i]of t)n=e.createElement(r.Provider,{value:i},n);return n}function D(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:s,render:l}=e;return c(()=>{let e,c,u;return e=typeof t==`function`?t({...s,defaultClassName:i}):t,c=typeof n==`function`?n({...s,defaultStyle:o||{}}):n,u=typeof r==`function`?r({...s,defaultChildren:a}):r??a,{className:e??i,style:c||o?{...o,...c}:void 0,children:u??a,"data-rac":``,render:l?e=>l(e,s):void 0}},[t,n,r,i,a,o,s,l])}function ne(t,n,r){let{render:i,...a}=n,o=l(null),s=c(()=>f(r,o),[r,o]);p(()=>{},[t,i]);let u={...a,ref:s};return i?i(u,void 0):e.createElement(t,u)}const O={},k=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=O[t];return n||(n=r(ne.bind(null,t)),O[t]=n),n}});String(Math.round(Math.random()*1e10));const A=e.createContext(!1);typeof window<`u`&&window.document&&window.document.createElement,e.useId;function j(){return!1}function M(){return!0}function N(e){return()=>{}}function P(){return typeof e.useSyncExternalStore==`function`?e.useSyncExternalStore(N,j,M):o(A)}var F=class{get childNodes(){throw Error(`childNodes is not supported`)}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e[`aria-label`]=this[`aria-label`],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,n){let r=this.clone();return t.addDescendants(r,e),r}constructor(e){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue=``,this[`aria-label`]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=e}},I=class extends F{filter(e,t,n){let[r,i]=B(e,t,this.firstChildKey,n),a=this.clone();return a.firstChildKey=r,a.lastChildKey=i,a}},L=class extends F{};L.type=`header`;var R=class extends F{};R.type=`loader`;var re=class extends I{filter(e,t,n){if(n(this.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}};re.type=`item`;var z=class extends I{filter(e,t,n){let r=super.filter(e,t,n);if(r&&r.lastChildKey!==null){let t=e.getItem(r.lastChildKey);if(t&&t.type!==`header`)return r}return null}};z.type=`section`;function B(e,t,n,r){if(n==null)return[null,null];let i=null,a=null,o=e.getItem(n);for(;o!=null;){let n=o.filter(e,t,r);n!=null&&(n.nextKey=null,a&&(n.prevKey=a.key,a.nextKey=n.key),i??=n,t.addNode(n),a=n),o=o.nextKey?e.getItem(o.nextKey):null}if(a&&a.type===`separator`){let e=a.prevKey;t.removeNode(a.key),e?(a=t.getItem(e),a.nextKey=null):a=null}return[i?.key??null,a?.key??null]}function V(e){let{children:n,items:r,idScope:i,addIdAndValue:a,dependencies:o=[]}=e,s=c(()=>new WeakMap,o);return c(()=>{if(r&&typeof n==`function`){let e=[];for(let o of r){let r=s.get(o);if(!r){r=n(o);let e=r.props.id??o.key??o.id;if(e==null)throw Error(`Could not determine key for item`);i!=null&&(e=i+`:`+e),r=t(r,a?{key:e,id:e,value:o}:{key:e}),s.set(o,r)}e.push(r)}return e}if(typeof n!=`function`)return n},[n,r,s,i,a])}
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* use-sync-external-store-shim.production.js
|
|
@@ -8,4 +8,4 @@ import e,{cloneElement as t,createContext as n,forwardRef as r,isValidElement as
|
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
10
|
*/
|
|
11
|
-
var ie=
|
|
11
|
+
var ie=w((e=>{var t=T(`react`);function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore}));w(((e,t)=>{t.exports=ie()}))();const H=n(!1),U=n(null);typeof e.useSyncExternalStore==`function`&&e.useSyncExternalStore;const W=n(null);function ae(e){var t;return t=class extends F{},t.type=e,t}function G(t,n,r,i,s,c){typeof t==`string`&&(t=ae(t));let l=a(e=>{e?.setProps(n,r,t,i,c)},[n,r,i,c,t]),u=o(W);if(u){let a=u.ownerDocument.nodesByProps.get(n);return a||(a=u.ownerDocument.createElement(t.type),a.setProps(n,r,t,i,c),u.appendChild(a),u.ownerDocument.updateCollection(),u.ownerDocument.nodesByProps.set(n,a)),s?e.createElement(W.Provider,{value:a},s):null}return e.createElement(t.type,{ref:l},s)}function oe(t,n){let i=({node:e})=>n(e.props,e.props.ref,e),a=r((r,a)=>{let s=o(g);if(!o(H)){if(n.length>=3)throw Error(n.name+` cannot be rendered outside a collection.`);return n(r,a)}return G(t,r,a,`children`in r?r.children:null,null,t=>e.createElement(g.Provider,{value:s},e.createElement(i,{node:t})))});return a.displayName=n.name,a}function se(t,n,i=K){let a=({node:e})=>n(e.props,e.props.ref,e),o=r((n,r)=>G(t,n,r,null,i(n),t=>e.createElement(a,{node:t}))??e.createElement(e.Fragment,null));return o.displayName=n.name,o}function K(e){return V({...e,addIdAndValue:!0})}const q=n(null);function ce(t){let n=o(q),r=(n?.dependencies||[]).concat(t.dependencies),i=t.idScope??n?.idScope,a=K({...t,idScope:i,dependencies:r});return o(U)&&(a=e.createElement(le,null,a)),n=c(()=>({dependencies:r,idScope:i}),[i,...r]),e.createElement(q.Provider,{value:n},a)}function le({children:t}){let n=o(U),r=c(()=>e.createElement(U.Provider,{value:null},e.createElement(H.Provider,{value:!0},t)),[t]);return P()?e.createElement(W.Provider,{value:n},r):_(r,n)}const ue={CollectionRoot({collection:e,renderDropIndicator:t}){return J(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return J(e,t,n)}};function J(t,n,r){return V({items:n?t.getChildren(n.key):t,dependencies:[r],children(n){let i=n.render(n);return!r||n.type!==`item`?i:e.createElement(e.Fragment,null,r({type:`item`,key:n.key,dropPosition:`before`}),i,de(t,n,r))}})}function de(e,n,r){let a=n.key,o=e.getKeyAfter(a),s=o==null?null:e.getItem(o);for(;s!=null&&s.type!==`item`;)o=e.getKeyAfter(s.key),s=o==null?null:e.getItem(o);let c=n.nextKey==null?null:e.getItem(n.nextKey);for(;c!=null&&c.type!==`item`;)c=c.nextKey==null?null:e.getItem(c.nextKey);let l=[];if(c==null){let a=n;for(;a?.type===`item`&&(!s||a.parentKey!==s.parentKey&&s.level<a.level);){let n=r({type:`item`,key:a.key,dropPosition:`after`});i(n)&&l.push(t(n,{key:`${a.key}-after`})),a=a.parentKey==null?null:e.getItem(a.parentKey)}}return l}const Y=n(ue),fe=n({}),pe=n({}),me=n({isSelected:!1}),X=n(null);var he=class extends F{};he.type=`tableheader`;var ge=class extends F{};ge.type=`column`;var _e=class extends I{};_e.type=`tablebody`;var Z=class extends F{filter(e,t,n){let r=e.getChildren(this.key);for(let i of r)if(n(i.textValue,i)){let n=this.clone();return t.addDescendants(n,e),n}return null}};Z.type=`item`;let Q=r(function(t,n){let{isVirtualized:r}=o(Y);return r?e.createElement(k.div,{...t,ref:n}):e.createElement(k.tr,{...t,ref:n})});const ve=se(Z,(t,n,r)=>{let i=h(n),a=o(X),{dragAndDropHooks:c,dragState:d,dropState:f}=o(pe),{isVirtualized:p,CollectionBranch:m}=o(Y),{rowProps:g,..._}=x({node:r,shouldSelectOnPressUp:!!d,isVirtualized:p},a,i),{isFocused:w,isFocusVisible:T,focusProps:ne}=y(),{isFocusVisible:O,focusProps:k}=y({within:!0}),{hoverProps:A,isHovered:j}=b({isDisabled:!_.allowsSelection&&!_.hasAction,onHoverStart:t.onHoverStart,onHoverChange:t.onHoverChange,onHoverEnd:t.onHoverEnd}),{checkboxProps:M}=S({key:r.key},a),N;d&&c&&(N=c.useDraggableItem({key:r.key,hasDragButton:!0},d));let P,F=l(null),{visuallyHiddenProps:I}=C();f&&c&&(P=c.useDropIndicator({target:{type:`item`,key:r.key,dropPosition:`on`}},f,F));let L=l(null);s(()=>{d&&L.current},[]);let R=d&&d.isDragging(r.key),{children:re,...z}=t,B=D({...z,id:void 0,defaultClassName:`react-aria-Row`,values:{..._,isHovered:j,isFocused:w,isFocusVisible:T,selectionMode:a.selectionManager.selectionMode,selectionBehavior:a.selectionManager.selectionBehavior,isDragging:R,isDropTarget:P?.isDropTarget,isFocusVisibleWithin:O,id:r.key}}),V=u(t,{global:!0});return delete V.id,delete V.onClick,e.createElement(e.Fragment,null,P&&!P.isHidden&&e.createElement(Q,{role:`row`,style:{height:0}},e.createElement($,{role:`gridcell`,colSpan:a.collection.columnCount,style:{padding:0}},e.createElement(`div`,{role:`button`,...I,...P.dropIndicatorProps,ref:F}))),e.createElement(Q,{...v(V,B,g,ne,A,N?.dragProps,k),ref:i,"data-disabled":_.isDisabled||void 0,"data-selected":_.isSelected||void 0,"data-hovered":j||void 0,"data-focused":_.isFocused||void 0,"data-focus-visible":T||void 0,"data-pressed":_.isPressed||void 0,"data-dragging":R||void 0,"data-drop-target":P?.isDropTarget||void 0,"data-selection-mode":a.selectionManager.selectionMode===`none`?void 0:a.selectionManager.selectionMode,"data-focus-visible-within":O||void 0},e.createElement(te,{values:[[ee,{slots:{[E]:{},selection:M}}],[fe,{slots:{[E]:{},drag:{...N?.dragButtonProps,ref:L,style:{pointerEvents:`none`}}}}],[me,{isSelected:_.isSelected}]]},e.createElement(m,{collection:a.collection,parent:r}))))},t=>{if(t.id==null&&typeof t.children==`function`)throw Error(`No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.`);let n=[t.value].concat(t.dependencies);return e.createElement(ce,{dependencies:n,items:t.columns,idScope:t.id},t.children)});var ye=class extends F{};ye.type=`cell`;let $=r(function(t,n){let{isVirtualized:r}=o(Y);return r?e.createElement(k.div,{...t,ref:n}):e.createElement(k.td,{...t,ref:n})});oe(R,function(t,n,r){let i=o(X),{isVirtualized:a}=o(Y),{isLoading:s,onLoadMore:f,scrollOffset:p,...h}=t,g=i.collection.columns.length,_=l(null),y=c(()=>({onLoadMore:f,collection:i?.collection,sentinelRef:_,scrollOffset:p}),[f,p,i?.collection]);m(y,_);let b=D({...h,id:void 0,children:r.rendered,defaultClassName:`react-aria-TableLoadingIndicator`,values:void 0}),x={},S={},C={};return a?(S[`aria-colspan`]=g,C={display:`contents`}):S.colSpan=g,e.createElement(e.Fragment,null,e.createElement(Q,{style:{height:0},inert:d(!0)},e.createElement($,{style:{padding:0,border:0}},e.createElement(`div`,{"data-testid":`loadMoreSentinel`,ref:_,style:{position:`relative`,height:1,width:1}}))),s&&b.children&&e.createElement(Q,{...v(u(t,{global:!0}),x),...b,role:`row`,ref:n},e.createElement($,{role:`rowheader`,...S,style:C},b.children)))});export{ve as Row};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{cloneElement as t,createContext as n,forwardRef as r,useCallback as i,useContext as a,useMemo as o}from"react";import"react-dom";var s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),c=(e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});String(Math.round(Math.random()*1e10)),typeof window<`u`&&window.document&&window.document.createElement,e.useId;var l=class{get childNodes(){throw Error(`childNodes is not supported`)}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e[`aria-label`]=this[`aria-label`],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,n){let r=this.clone();return t.addDescendants(r,e),r}constructor(e){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue=``,this[`aria-label`]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=e}},u=class extends l{filter(e,t,n){let[r,i]=h(e,t,this.firstChildKey,n),a=this.clone();return a.firstChildKey=r,a.lastChildKey=i,a}},d=class extends l{};d.type=`header`;var f=class extends l{};f.type=`loader`;var p=class extends u{filter(e,t,n){if(n(this.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}};p.type=`item`;var m=class extends u{filter(e,t,n){let r=super.filter(e,t,n);if(r&&r.lastChildKey!==null){let t=e.getItem(r.lastChildKey);if(t&&t.type!==`header`)return r}return null}};m.type=`section`;function h(e,t,n,r){if(n==null)return[null,null];let i=null,a=null,o=e.getItem(n);for(;o!=null;){let n=o.filter(e,t,r);n!=null&&(n.nextKey=null,a&&(n.prevKey=a.key,a.nextKey=n.key),i??=n,t.addNode(n),a=n),o=o.nextKey?e.getItem(o.nextKey):null}if(a&&a.type===`separator`){let e=a.prevKey;t.removeNode(a.key),e?(a=t.getItem(e),a.nextKey=null):a=null}return[i?.key??null,a?.key??null]}function g(e){let{children:n,items:r,idScope:i,addIdAndValue:a,dependencies:s=[]}=e,c=o(()=>new WeakMap,s);return o(()=>{if(r&&typeof n==`function`){let e=[];for(let o of r){let r=c.get(o);if(!r){r=n(o);let e=r.props.id??o.key??o.id;if(e==null)throw Error(`Could not determine key for item`);i!=null&&(e=i+`:`+e),r=t(r,a?{key:e,id:e,value:o}:{key:e}),c.set(o,r)}e.push(r)}return e}if(typeof n!=`function`)return n},[n,r,c,i,a])}
|
|
1
|
+
import e,{cloneElement as t,createContext as n,forwardRef as r,useCallback as i,useContext as a,useMemo as o}from"react";import"@react-aria/interactions";import"react-dom";var s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),c=(e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});String(Math.round(Math.random()*1e10)),typeof window<`u`&&window.document&&window.document.createElement,e.useId;var l=class{get childNodes(){throw Error(`childNodes is not supported`)}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e[`aria-label`]=this[`aria-label`],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,n){let r=this.clone();return t.addDescendants(r,e),r}constructor(e){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue=``,this[`aria-label`]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=e}},u=class extends l{filter(e,t,n){let[r,i]=h(e,t,this.firstChildKey,n),a=this.clone();return a.firstChildKey=r,a.lastChildKey=i,a}},d=class extends l{};d.type=`header`;var f=class extends l{};f.type=`loader`;var p=class extends u{filter(e,t,n){if(n(this.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}};p.type=`item`;var m=class extends u{filter(e,t,n){let r=super.filter(e,t,n);if(r&&r.lastChildKey!==null){let t=e.getItem(r.lastChildKey);if(t&&t.type!==`header`)return r}return null}};m.type=`section`;function h(e,t,n,r){if(n==null)return[null,null];let i=null,a=null,o=e.getItem(n);for(;o!=null;){let n=o.filter(e,t,r);n!=null&&(n.nextKey=null,a&&(n.prevKey=a.key,a.nextKey=n.key),i??=n,t.addNode(n),a=n),o=o.nextKey?e.getItem(o.nextKey):null}if(a&&a.type===`separator`){let e=a.prevKey;t.removeNode(a.key),e?(a=t.getItem(e),a.nextKey=null):a=null}return[i?.key??null,a?.key??null]}function g(e){let{children:n,items:r,idScope:i,addIdAndValue:a,dependencies:s=[]}=e,c=o(()=>new WeakMap,s);return o(()=>{if(r&&typeof n==`function`){let e=[];for(let o of r){let r=c.get(o);if(!r){r=n(o);let e=r.props.id??o.key??o.id;if(e==null)throw Error(`Could not determine key for item`);i!=null&&(e=i+`:`+e),r=t(r,a?{key:e,id:e,value:o}:{key:e}),c.set(o,r)}e.push(r)}return e}if(typeof n!=`function`)return n},[n,r,c,i,a])}
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* use-sync-external-store-shim.production.js
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { o as SegmentProps, t as ControlledSegmentProps } from "../segment.types-
|
|
2
|
-
import { t as Segment } from "../Segment-
|
|
1
|
+
import { o as SegmentProps, t as ControlledSegmentProps } from "../segment.types-CCpnAbOH.js";
|
|
2
|
+
import { t as Segment } from "../Segment-D6zpeIiW.js";
|
|
3
3
|
export { type ControlledSegmentProps, Segment, type SegmentProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Segment } from "../Segment
|
|
1
|
+
import { t as Segment } from "../Segment--coTx1BD.js";
|
|
2
2
|
export { Segment };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{createContext as t,forwardRef as n,useCallback as r,useContext as i,useMemo as a,useRef as o,useState as s}from"react";import{filterDOMProps as c,inertValue as l,mergeProps as u,mergeRefs as d,useLayoutEffect as f,useLoadMoreSentinel as p,useObjectRef as m,useResizeObserver as h}from"@react-aria/utils";import"react-dom";import{HiddenSelect as g,mergeProps as _,useFocusRing as v,useSelect as ee}from"react-aria";import{useSelectState as te}from"react-stately";var y=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),b=(e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});const x=Symbol(`default`);function ne({values:t,children:n}){for(let[r,i]of t)n=e.createElement(r.Provider,{value:i},n);return n}function S(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:o,defaultStyle:s,values:c,render:l}=e;return a(()=>{let e,a,u;return e=typeof t==`function`?t({...c,defaultClassName:i}):t,a=typeof n==`function`?n({...c,defaultStyle:s||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:o}):r??o,{className:e??i,style:a||s?{...s,...a}:void 0,children:u??o,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,i,o,s,c,l])}function C(e,t){let n=i(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||x;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function w(e,t,n){let{ref:r,...i}=C(n,e.slot)||{},o=m(a(()=>d(t,r),[t,r])),s=u(i,e);return`style`in i&&i.style&&`style`in e&&e.style&&(s.style=typeof i.style==`function`||typeof e.style==`function`?t=>{let n=typeof i.style==`function`?i.style(t):i.style,r={...t.defaultStyle,...n},a=typeof e.style==`function`?e.style({...t,defaultStyle:r}):e.style;return{...r,...a}}:{...i.style,...e.style}),[s,o]}function re(e=!0){let[t,n]=s(e),i=o(!1),a=r(e=>{i.current=!0,n(!!e)},[]);return f(()=>{i.current||n(!1)},[]),[a,t]}function T(e){let t=/^(data-.*)$/,n={};for(let r in e)t.test(r)||(n[r]=e[r]);return n}function E(t,n,r){let{render:i,...s}=n,c=o(null),l=a(()=>d(r,c),[r,c]);f(()=>{},[t,i]);let u={...s,ref:l};return i?i(u,void 0):e.createElement(t,u)}const D={},O=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let r=D[t];return r||(r=n(E.bind(null,t)),D[t]=r),r}});String(Math.round(Math.random()*1e10));const k=e.createContext(!1);typeof window<`u`&&window.document&&window.document.createElement,e.useId;function A(){return!1}function j(){return!0}function M(e){return()=>{}}function N(){return typeof e.useSyncExternalStore==`function`?e.useSyncExternalStore(M,A,j):i(k)}let P=e.createContext(null);var F=class{get childNodes(){throw Error(`childNodes is not supported`)}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e[`aria-label`]=this[`aria-label`],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,n){let r=this.clone();return t.addDescendants(r,e),r}constructor(e){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue=``,this[`aria-label`]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=e}},I=class extends F{filter(e,t,n){let[r,i]=B(e,t,this.firstChildKey,n),a=this.clone();return a.firstChildKey=r,a.lastChildKey=i,a}},L=class extends F{};L.type=`header`;var R=class extends F{};R.type=`loader`;var z=class extends I{filter(e,t,n){if(n(this.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}};z.type=`item`;var ie=class extends I{filter(e,t,n){let r=super.filter(e,t,n);if(r&&r.lastChildKey!==null){let t=e.getItem(r.lastChildKey);if(t&&t.type!==`header`)return r}return null}};ie.type=`section`;var ae=class{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let e=this.firstKey==null?void 0:this.keyMap.get(this.firstKey);for(;e;)yield e,e=e.nextKey==null?void 0:this.keyMap.get(e.nextKey)}getChildren(e){let t=this.keyMap;return{*[Symbol.iterator](){let n=t.get(e),r=n?.firstChildKey==null?null:t.get(n.firstChildKey);for(;r;)yield r,r=r.nextKey==null?void 0:t.get(r.nextKey)}}}getKeyBefore(e){let t=this.keyMap.get(e);if(!t)return null;if(t.prevKey!=null){for(t=this.keyMap.get(t.prevKey);t&&t.type!==`item`&&t.lastChildKey!=null;)t=this.keyMap.get(t.lastChildKey);return t?.key??null}return t.parentKey}getKeyAfter(e){let t=this.keyMap.get(e);if(!t)return null;if(t.type!==`item`&&t.firstChildKey!=null)return t.firstChildKey;for(;t;){if(t.nextKey!=null)return t.nextKey;if(t.parentKey!=null)t=this.keyMap.get(t.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let e=this.lastKey==null?null:this.keyMap.get(this.lastKey);for(;e?.lastChildKey!=null;)e=this.keyMap.get(e.lastChildKey);return e?.key??null}getItem(e){return this.keyMap.get(e)??null}at(){throw Error(`Not implemented`)}clone(){let e=this.constructor,t=new e;return t.keyMap=new Map(this.keyMap),t.firstKey=this.firstKey,t.lastKey=this.lastKey,t.itemCount=this.itemCount,t}addNode(e){if(this.frozen)throw Error(`Cannot add a node to a frozen collection`);e.type===`item`&&this.keyMap.get(e.key)==null&&this.itemCount++,this.keyMap.set(e.key,e)}addDescendants(e,t){this.addNode(e);let n=t.getChildren(e.key);for(let e of n)this.addDescendants(e,t)}removeNode(e){if(this.frozen)throw Error(`Cannot remove a node to a frozen collection`);let t=this.keyMap.get(e);t!=null&&t.type===`item`&&this.itemCount--,this.keyMap.delete(e)}commit(e,t,n=!1){if(this.frozen)throw Error(`Cannot commit a frozen collection`);this.firstKey=e,this.lastKey=t,this.frozen=!n}filter(e){let t=new this.constructor,[n,r]=B(this,t,this.firstKey,e);return t?.commit(n,r),t}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}};function B(e,t,n,r){if(n==null)return[null,null];let i=null,a=null,o=e.getItem(n);for(;o!=null;){let n=o.filter(e,t,r);n!=null&&(n.nextKey=null,a&&(n.prevKey=a.key,a.nextKey=n.key),i??=n,t.addNode(n),a=n),o=o.nextKey?e.getItem(o.nextKey):null}if(a&&a.type===`separator`){let e=a.prevKey;t.removeNode(a.key),e?(a=t.getItem(e),a.nextKey=null):a=null}return[i?.key??null,a?.key??null]}var V=class{*[Symbol.iterator](){let e=this.firstChild;for(;e;)yield e,e=e.nextSibling}get firstChild(){return this._firstChild}set firstChild(e){this._firstChild=e,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(e){this._lastChild=e,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(e){this._previousSibling=e,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(e){this._nextSibling=e,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(e){this._parentNode=e,this.ownerDocument.markDirty(this)}get isConnected(){return this.parentNode?.isConnected||!1}invalidateChildIndices(e){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||e.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=e,this.ownerDocument.markDirty(this))}updateChildIndices(){let e=this._minInvalidChildIndex;for(;e;)e.index=e.previousSibling?e.previousSibling.index+1:0,e=e.nextSibling;this._minInvalidChildIndex=null}appendChild(e){e.parentNode&&e.parentNode.removeChild(e),this.firstChild??=e,this.lastChild?(this.lastChild.nextSibling=e,e.index=this.lastChild.index+1,e.previousSibling=this.lastChild):(e.previousSibling=null,e.index=0),e.parentNode=this,e.nextSibling=null,this.lastChild=e,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(e,t){if(t==null)return this.appendChild(e);e.parentNode&&e.parentNode.removeChild(e),e.nextSibling=t,e.previousSibling=t.previousSibling,e.index=t.index-1,this.firstChild===t?this.firstChild=e:t.previousSibling&&(t.previousSibling.nextSibling=e),t.previousSibling=e,e.parentNode=t.parentNode,this.invalidateChildIndices(e),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(e){e.parentNode===this&&(this._minInvalidChildIndex===e&&(this._minInvalidChildIndex=null),e.nextSibling&&(this.invalidateChildIndices(e.nextSibling),e.nextSibling.previousSibling=e.previousSibling),e.previousSibling&&(e.previousSibling.nextSibling=e.nextSibling),this.firstChild===e&&(this.firstChild=e.nextSibling),this.lastChild===e&&(this.lastChild=e.previousSibling),e.parentNode=null,e.nextSibling=null,e.previousSibling=null,e.index=0,this.ownerDocument.markDirty(e),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let e=this.previousSibling;for(;e&&e.isHidden;)e=e.previousSibling;return e}get nextVisibleSibling(){let e=this.nextSibling;for(;e&&e.isHidden;)e=e.nextSibling;return e}get firstVisibleChild(){let e=this.firstChild;for(;e&&e.isHidden;)e=e.nextSibling;return e}get lastVisibleChild(){let e=this.lastChild;for(;e&&e.isHidden;)e=e.previousSibling;return e}constructor(e){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=e}},H=class e extends V{get index(){return this._index}set index(e){this._index=e,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof e?this.parentNode.level+ +(this.node?.type===`item`):0}getMutableNode(){return this.node==null?null:(this.isMutated||=(this.node=this.node.clone(),!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){let t=this.nextVisibleSibling,n=this.getMutableNode();if(n!=null&&(n.index=this.index,n.level=this.level,n.parentKey=this.parentNode instanceof e?this.parentNode.node?.key??null:null,n.prevKey=this.previousVisibleSibling?.node?.key??null,n.nextKey=t?.node?.key??null,n.hasChildNodes=!!this.firstChild,n.firstChildKey=this.firstVisibleChild?.node?.key??null,n.lastChildKey=this.lastVisibleChild?.node?.key??null,(n.colSpan!=null||n.colIndex!=null)&&t)){let e=(n.colIndex??n.index)+(n.colSpan??1);if(t.node!=null&&e!==t.node.colIndex){let n=t.getMutableNode();n.colIndex=e}}}setProps(e,t,n,r,i){let a,{value:o,textValue:s,id:c,...l}=e;if(this.node==null?(a=new n(c??`react-aria-${++this.ownerDocument.nodeId}`),this.node=a):a=this.getMutableNode(),l.ref=t,a.props=l,a.rendered=r,a.render=i,a.value=o,e[`aria-label`]&&(a[`aria-label`]=e[`aria-label`]),a.textValue=s||(typeof l.children==`string`?l.children:``)||e[`aria-label`]||``,c!=null&&c!==a.key)throw Error(`Cannot change the id of an item`);l.colSpan!=null&&(a.colSpan=l.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let e=this;return{get display(){return e.isHidden?`none`:``},set display(t){let n=t===`none`;if(e.isHidden!==n){(e.parentNode?.firstVisibleChild===e||e.parentNode?.lastVisibleChild===e)&&e.ownerDocument.markDirty(e.parentNode);let t=e.previousVisibleSibling,r=e.nextVisibleSibling;t&&e.ownerDocument.markDirty(t),r&&e.ownerDocument.markDirty(r),e.isHidden=n,e.ownerDocument.markDirty(e)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(e,t){super(t),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}},oe=class extends V{get isConnected(){return!0}createElement(e){return new H(e,this)}getMutableCollection(){return this.nextCollection||=this.collection.clone(),this.nextCollection}markDirty(e){this.dirtyNodes.add(e)}addNode(e){if(e.isHidden||e.node==null)return;let t=this.getMutableCollection();if(!t.getItem(e.node.key))for(let t of e)this.addNode(t);t.addNode(e.node)}removeNode(e){for(let t of e)this.removeNode(t);e.node&&this.getMutableCollection().removeNode(e.node.key)}getCollection(){return this.inSubscription?this.collection.clone():(this.queuedRender=!1,this.updateCollection(),this.collection)}updateCollection(){for(let e of this.dirtyNodes)e instanceof H&&(!e.isConnected||e.isHidden)?this.removeNode(e):e.updateChildIndices();for(let e of this.dirtyNodes)e instanceof H?(e.isConnected&&!e.isHidden&&(e.updateNode(),this.addNode(e)),e.node&&this.dirtyNodes.delete(e),e.isMutated=!1):this.dirtyNodes.delete(e);this.nextCollection&&(this.nextCollection.commit(this.firstVisibleChild?.node?.key??null,this.lastVisibleChild?.node?.key??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null))}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0;for(let e of this.subscriptions)e();this.inSubscription=!1}}subscribe(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}constructor(e){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=e,this.nextCollection=e}};if(typeof HTMLTemplateElement<`u`){let e=Object.getOwnPropertyDescriptor(Node.prototype,`firstChild`).get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}})}const U=t(!1);function W(t){if(i(U))return e.createElement(e.Fragment,null,t.children);let n=e.createElement(U.Provider,{value:!0},t.children);return e.createElement(`template`,{"data-react-aria-hidden":!0},n)}
|
|
1
|
+
import e,{createContext as t,forwardRef as n,useCallback as r,useContext as i,useMemo as a,useRef as o,useState as s}from"react";import{filterDOMProps as c,inertValue as l,mergeProps as u,mergeRefs as d,useLayoutEffect as f,useLoadMoreSentinel as p,useObjectRef as m,useResizeObserver as h}from"@react-aria/utils";import{FocusableContext as g}from"@react-aria/interactions";import"react-dom";import{HiddenSelect as _,mergeProps as v,useFocusRing as ee,useSelect as te}from"react-aria";import{useSelectState as ne}from"react-stately";var y=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),b=(e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});const x=Symbol(`default`);function re({values:t,children:n}){for(let[r,i]of t)n=e.createElement(r.Provider,{value:i},n);return n}function S(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:o,defaultStyle:s,values:c,render:l}=e;return a(()=>{let e,a,u;return e=typeof t==`function`?t({...c,defaultClassName:i}):t,a=typeof n==`function`?n({...c,defaultStyle:s||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:o}):r??o,{className:e??i,style:a||s?{...s,...a}:void 0,children:u??o,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,i,o,s,c,l])}function C(e,t){let n=i(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||x;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function w(e,t,n){let{ref:r,...i}=C(n,e.slot)||{},o=m(a(()=>d(t,r),[t,r])),s=u(i,e);return`style`in i&&i.style&&`style`in e&&e.style&&(s.style=typeof i.style==`function`||typeof e.style==`function`?t=>{let n=typeof i.style==`function`?i.style(t):i.style,r={...t.defaultStyle,...n},a=typeof e.style==`function`?e.style({...t,defaultStyle:r}):e.style;return{...r,...a}}:{...i.style,...e.style}),[s,o]}function T(e=!0){let[t,n]=s(e),i=o(!1),a=r(e=>{i.current=!0,n(!!e)},[]);return f(()=>{i.current||n(!1)},[]),[a,t]}function E(e){let t=/^(data-.*)$/,n={};for(let r in e)t.test(r)||(n[r]=e[r]);return n}function D(t,n,r){let{render:i,...s}=n,c=o(null),l=a(()=>d(r,c),[r,c]);f(()=>{},[t,i]);let u={...s,ref:l};return i?i(u,void 0):e.createElement(t,u)}const O={},k=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let r=O[t];return r||(r=n(D.bind(null,t)),O[t]=r),r}});String(Math.round(Math.random()*1e10));const A=e.createContext(!1);typeof window<`u`&&window.document&&window.document.createElement,e.useId;function j(){return!1}function M(){return!0}function N(e){return()=>{}}function P(){return typeof e.useSyncExternalStore==`function`?e.useSyncExternalStore(N,j,M):i(A)}var F=class{get childNodes(){throw Error(`childNodes is not supported`)}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e[`aria-label`]=this[`aria-label`],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,n){let r=this.clone();return t.addDescendants(r,e),r}constructor(e){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue=``,this[`aria-label`]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=e}},I=class extends F{filter(e,t,n){let[r,i]=B(e,t,this.firstChildKey,n),a=this.clone();return a.firstChildKey=r,a.lastChildKey=i,a}},L=class extends F{};L.type=`header`;var R=class extends F{};R.type=`loader`;var z=class extends I{filter(e,t,n){if(n(this.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}};z.type=`item`;var ie=class extends I{filter(e,t,n){let r=super.filter(e,t,n);if(r&&r.lastChildKey!==null){let t=e.getItem(r.lastChildKey);if(t&&t.type!==`header`)return r}return null}};ie.type=`section`;var ae=class{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let e=this.firstKey==null?void 0:this.keyMap.get(this.firstKey);for(;e;)yield e,e=e.nextKey==null?void 0:this.keyMap.get(e.nextKey)}getChildren(e){let t=this.keyMap;return{*[Symbol.iterator](){let n=t.get(e),r=n?.firstChildKey==null?null:t.get(n.firstChildKey);for(;r;)yield r,r=r.nextKey==null?void 0:t.get(r.nextKey)}}}getKeyBefore(e){let t=this.keyMap.get(e);if(!t)return null;if(t.prevKey!=null){for(t=this.keyMap.get(t.prevKey);t&&t.type!==`item`&&t.lastChildKey!=null;)t=this.keyMap.get(t.lastChildKey);return t?.key??null}return t.parentKey}getKeyAfter(e){let t=this.keyMap.get(e);if(!t)return null;if(t.type!==`item`&&t.firstChildKey!=null)return t.firstChildKey;for(;t;){if(t.nextKey!=null)return t.nextKey;if(t.parentKey!=null)t=this.keyMap.get(t.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let e=this.lastKey==null?null:this.keyMap.get(this.lastKey);for(;e?.lastChildKey!=null;)e=this.keyMap.get(e.lastChildKey);return e?.key??null}getItem(e){return this.keyMap.get(e)??null}at(){throw Error(`Not implemented`)}clone(){let e=this.constructor,t=new e;return t.keyMap=new Map(this.keyMap),t.firstKey=this.firstKey,t.lastKey=this.lastKey,t.itemCount=this.itemCount,t}addNode(e){if(this.frozen)throw Error(`Cannot add a node to a frozen collection`);e.type===`item`&&this.keyMap.get(e.key)==null&&this.itemCount++,this.keyMap.set(e.key,e)}addDescendants(e,t){this.addNode(e);let n=t.getChildren(e.key);for(let e of n)this.addDescendants(e,t)}removeNode(e){if(this.frozen)throw Error(`Cannot remove a node to a frozen collection`);let t=this.keyMap.get(e);t!=null&&t.type===`item`&&this.itemCount--,this.keyMap.delete(e)}commit(e,t,n=!1){if(this.frozen)throw Error(`Cannot commit a frozen collection`);this.firstKey=e,this.lastKey=t,this.frozen=!n}filter(e){let t=new this.constructor,[n,r]=B(this,t,this.firstKey,e);return t?.commit(n,r),t}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}};function B(e,t,n,r){if(n==null)return[null,null];let i=null,a=null,o=e.getItem(n);for(;o!=null;){let n=o.filter(e,t,r);n!=null&&(n.nextKey=null,a&&(n.prevKey=a.key,a.nextKey=n.key),i??=n,t.addNode(n),a=n),o=o.nextKey?e.getItem(o.nextKey):null}if(a&&a.type===`separator`){let e=a.prevKey;t.removeNode(a.key),e?(a=t.getItem(e),a.nextKey=null):a=null}return[i?.key??null,a?.key??null]}var V=class{*[Symbol.iterator](){let e=this.firstChild;for(;e;)yield e,e=e.nextSibling}get firstChild(){return this._firstChild}set firstChild(e){this._firstChild=e,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(e){this._lastChild=e,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(e){this._previousSibling=e,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(e){this._nextSibling=e,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(e){this._parentNode=e,this.ownerDocument.markDirty(this)}get isConnected(){return this.parentNode?.isConnected||!1}invalidateChildIndices(e){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||e.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=e,this.ownerDocument.markDirty(this))}updateChildIndices(){let e=this._minInvalidChildIndex;for(;e;)e.index=e.previousSibling?e.previousSibling.index+1:0,e=e.nextSibling;this._minInvalidChildIndex=null}appendChild(e){e.parentNode&&e.parentNode.removeChild(e),this.firstChild??=e,this.lastChild?(this.lastChild.nextSibling=e,e.index=this.lastChild.index+1,e.previousSibling=this.lastChild):(e.previousSibling=null,e.index=0),e.parentNode=this,e.nextSibling=null,this.lastChild=e,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(e,t){if(t==null)return this.appendChild(e);e.parentNode&&e.parentNode.removeChild(e),e.nextSibling=t,e.previousSibling=t.previousSibling,e.index=t.index-1,this.firstChild===t?this.firstChild=e:t.previousSibling&&(t.previousSibling.nextSibling=e),t.previousSibling=e,e.parentNode=t.parentNode,this.invalidateChildIndices(e),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(e){e.parentNode===this&&(this._minInvalidChildIndex===e&&(this._minInvalidChildIndex=null),e.nextSibling&&(this.invalidateChildIndices(e.nextSibling),e.nextSibling.previousSibling=e.previousSibling),e.previousSibling&&(e.previousSibling.nextSibling=e.nextSibling),this.firstChild===e&&(this.firstChild=e.nextSibling),this.lastChild===e&&(this.lastChild=e.previousSibling),e.parentNode=null,e.nextSibling=null,e.previousSibling=null,e.index=0,this.ownerDocument.markDirty(e),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let e=this.previousSibling;for(;e&&e.isHidden;)e=e.previousSibling;return e}get nextVisibleSibling(){let e=this.nextSibling;for(;e&&e.isHidden;)e=e.nextSibling;return e}get firstVisibleChild(){let e=this.firstChild;for(;e&&e.isHidden;)e=e.nextSibling;return e}get lastVisibleChild(){let e=this.lastChild;for(;e&&e.isHidden;)e=e.previousSibling;return e}constructor(e){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=e}},H=class e extends V{get index(){return this._index}set index(e){this._index=e,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof e?this.parentNode.level+ +(this.node?.type===`item`):0}getMutableNode(){return this.node==null?null:(this.isMutated||=(this.node=this.node.clone(),!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){let t=this.nextVisibleSibling,n=this.getMutableNode();if(n!=null&&(n.index=this.index,n.level=this.level,n.parentKey=this.parentNode instanceof e?this.parentNode.node?.key??null:null,n.prevKey=this.previousVisibleSibling?.node?.key??null,n.nextKey=t?.node?.key??null,n.hasChildNodes=!!this.firstChild,n.firstChildKey=this.firstVisibleChild?.node?.key??null,n.lastChildKey=this.lastVisibleChild?.node?.key??null,(n.colSpan!=null||n.colIndex!=null)&&t)){let e=(n.colIndex??n.index)+(n.colSpan??1);if(t.node!=null&&e!==t.node.colIndex){let n=t.getMutableNode();n.colIndex=e}}}setProps(e,t,n,r,i){let a,{value:o,textValue:s,id:c,...l}=e;if(this.node==null?(a=new n(c??`react-aria-${++this.ownerDocument.nodeId}`),this.node=a):a=this.getMutableNode(),l.ref=t,a.props=l,a.rendered=r,a.render=i,a.value=o,e[`aria-label`]&&(a[`aria-label`]=e[`aria-label`]),a.textValue=s||(typeof l.children==`string`?l.children:``)||e[`aria-label`]||``,c!=null&&c!==a.key)throw Error(`Cannot change the id of an item`);l.colSpan!=null&&(a.colSpan=l.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let e=this;return{get display(){return e.isHidden?`none`:``},set display(t){let n=t===`none`;if(e.isHidden!==n){(e.parentNode?.firstVisibleChild===e||e.parentNode?.lastVisibleChild===e)&&e.ownerDocument.markDirty(e.parentNode);let t=e.previousVisibleSibling,r=e.nextVisibleSibling;t&&e.ownerDocument.markDirty(t),r&&e.ownerDocument.markDirty(r),e.isHidden=n,e.ownerDocument.markDirty(e)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(e,t){super(t),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}},oe=class extends V{get isConnected(){return!0}createElement(e){return new H(e,this)}getMutableCollection(){return this.nextCollection||=this.collection.clone(),this.nextCollection}markDirty(e){this.dirtyNodes.add(e)}addNode(e){if(e.isHidden||e.node==null)return;let t=this.getMutableCollection();if(!t.getItem(e.node.key))for(let t of e)this.addNode(t);t.addNode(e.node)}removeNode(e){for(let t of e)this.removeNode(t);e.node&&this.getMutableCollection().removeNode(e.node.key)}getCollection(){return this.inSubscription?this.collection.clone():(this.queuedRender=!1,this.updateCollection(),this.collection)}updateCollection(){for(let e of this.dirtyNodes)e instanceof H&&(!e.isConnected||e.isHidden)?this.removeNode(e):e.updateChildIndices();for(let e of this.dirtyNodes)e instanceof H?(e.isConnected&&!e.isHidden&&(e.updateNode(),this.addNode(e)),e.node&&this.dirtyNodes.delete(e),e.isMutated=!1):this.dirtyNodes.delete(e);this.nextCollection&&(this.nextCollection.commit(this.firstVisibleChild?.node?.key??null,this.lastVisibleChild?.node?.key??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null))}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0;for(let e of this.subscriptions)e();this.inSubscription=!1}}subscribe(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}constructor(e){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=e,this.nextCollection=e}};if(typeof HTMLTemplateElement<`u`){let e=Object.getOwnPropertyDescriptor(Node.prototype,`firstChild`).get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}})}const U=t(!1);function W(t){if(i(U))return e.createElement(e.Fragment,null,t.children);let n=e.createElement(U.Provider,{value:!0},t.children);return e.createElement(`template`,{"data-react-aria-hidden":!0},n)}
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* use-sync-external-store-shim.production.js
|
|
@@ -8,4 +8,4 @@ import e,{createContext as t,forwardRef as n,useCallback as r,useContext as i,us
|
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
10
|
*/
|
|
11
|
-
var G=y((e=>{var t=b(`react`);function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore})),K=y(((e,t)=>{t.exports=G()}))();const se=t(!1),q=t(null);function ce(t){if(i(q))return t.content;let{collection:n,document:r}=fe(t.createCollection);return e.createElement(e.Fragment,null,e.createElement(W,null,e.createElement(q.Provider,{value:r},t.content)),e.createElement(le,{render:t.children,collection:n}))}function le({collection:e,render:t}){return t(e)}function ue(e,t,n){let i=
|
|
11
|
+
var G=y((e=>{var t=b(`react`);function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore})),K=y(((e,t)=>{t.exports=G()}))();const se=t(!1),q=t(null);function ce(t){if(i(q))return t.content;let{collection:n,document:r}=fe(t.createCollection);return e.createElement(e.Fragment,null,e.createElement(W,null,e.createElement(q.Provider,{value:r},t.content)),e.createElement(le,{render:t.children,collection:n}))}function le({collection:e,render:t}){return t(e)}function ue(e,t,n){let i=P(),a=o(i);a.current=i;let s=r(()=>a.current?n():t(),[t,n]);return(0,K.useSyncExternalStore)(e,s)}const de=typeof e.useSyncExternalStore==`function`?e.useSyncExternalStore:ue;function fe(e){let[t]=s(()=>new oe(e?.()||new ae)),n=r(e=>t.subscribe(e),[t]),i=r(()=>{let e=t.getCollection();return t.isSSR&&t.resetAfterSSR(),e},[t]),a=r(()=>(t.isSSR=!0,t.getCollection()),[t]);return{collection:de(n,i,a),document:t}}const J=t(null);function pe(e){var t;return t=class extends F{},t.type=e,t}function me(t,n,a,o,s,c){typeof t==`string`&&(t=pe(t));let l=r(e=>{e?.setProps(n,a,t,o,c)},[n,a,o,c,t]),u=i(J);if(u){let r=u.ownerDocument.nodesByProps.get(n);return r||(r=u.ownerDocument.createElement(t.type),r.setProps(n,a,t,o,c),u.appendChild(r),u.ownerDocument.updateCollection(),u.ownerDocument.nodesByProps.set(n,r)),s?e.createElement(J.Provider,{value:r},s):null}return e.createElement(t.type,{ref:l},s)}function he(t,r){let a=({node:e})=>r(e.props,e.props.ref,e),o=n((n,o)=>{let s=i(g);if(!i(se)){if(r.length>=3)throw Error(r.name+` cannot be rendered outside a collection.`);return r(n,o)}return me(t,n,o,`children`in n?n.children:null,null,t=>e.createElement(g.Provider,{value:s},e.createElement(a,{node:t})))});return o.displayName=r.name,o}const Y=t({}),X=t({}),Z=t({}),ge=t(null),_e=t(null),ve=t(null),Q=t(null);he(R,function(t,n,r){let s=i(Q),{isLoading:u,onLoadMore:d,scrollOffset:f,...m}=t,h=o(null),g=a(()=>({onLoadMore:d,collection:s?.collection,sentinelRef:h,scrollOffset:f}),[d,f,s?.collection]);p(g,h);let _=S({...m,id:void 0,children:r.rendered,defaultClassName:`react-aria-ListBoxLoadingIndicator`,values:void 0});return e.createElement(e.Fragment,null,e.createElement(`div`,{style:{position:`relative`,width:0,height:0},inert:l(!0)},e.createElement(`div`,{"data-testid":`loadMoreSentinel`,ref:h,style:{position:`absolute`,height:1,width:1}})),u&&_.children&&e.createElement(k.div,{...v(c(t,{global:!0}),{tabIndex:-1}),..._,role:`option`,ref:n},_.children))});const ye=t(null),be=t(null),$=t(null),xe=t(null),Se=n(function(t,n){[t,n]=w(t,n,$);let{children:r,isDisabled:i=!1,isInvalid:o=!1,isRequired:s=!1}=t,c=a(()=>typeof r==`function`?r({isOpen:!1,isDisabled:i,isInvalid:o,isRequired:s,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):r,[r,i,o,s]);return e.createElement(ce,{content:c},r=>e.createElement(we,{props:t,collection:r,selectRef:n}))}),Ce=[Y,X,Z];function we({props:t,selectRef:n,collection:i}){let{validationBehavior:l}=C(_e)||{},d=t.validationBehavior??l??`native`,f=ne({...t,collection:i,children:void 0,validationBehavior:d}),{isFocusVisible:p,focusProps:m}=ee({within:!0}),g=o(null),[v,y]=T(!t[`aria-label`]&&!t[`aria-labelledby`]),{labelProps:b,triggerProps:x,valueProps:w,menuProps:D,descriptionProps:O,errorMessageProps:A,hiddenSelectProps:j,...M}=te({...E(t),label:y,validationBehavior:d},f,g),[N,P]=s(null),F=r(()=>{g.current&&P(g.current.offsetWidth+`px`)},[g]);h({ref:g,onResize:F});let I=a(()=>({isOpen:f.isOpen,isFocused:f.isFocused,isFocusVisible:p,isDisabled:t.isDisabled||!1,isInvalid:M.isInvalid||!1,isRequired:t.isRequired||!1}),[f.isOpen,f.isFocused,p,t.isDisabled,M.isInvalid,t.isRequired]),L=S({...t,values:I,defaultClassName:`react-aria-Select`}),R=c(t,{global:!0});delete R.id;let z=o(null);return e.createElement(re,{values:[[$,t],[xe,f],[Te,w],[Y,{...b,ref:v,elementType:`span`}],[X,{...x,ref:g,isPressed:f.isOpen,autoFocus:t.autoFocus}],[be,f],[ye,{trigger:`Select`,triggerRef:g,scrollRef:z,placement:`bottom start`,style:{"--trigger-width":N},"aria-labelledby":D[`aria-labelledby`],clearContexts:Ce}],[ve,{...D,ref:z}],[Q,f],[Z,{slots:{description:O,errorMessage:A}}],[ge,M]]},e.createElement(k.div,{...u(R,L,m),ref:n,slot:t.slot||void 0,"data-focused":f.isFocused||void 0,"data-focus-visible":p||void 0,"data-open":f.isOpen||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":M.isInvalid||void 0,"data-required":t.isRequired||void 0},L.children,e.createElement(_,{...j,autoComplete:t.autoComplete})))}const Te=t(null);export{Se as Select};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as DefaultInitialSelectItem, o as SelectAsyncProps, s as SelectItem, t as SelectBaseProps } from "../SelectBase-
|
|
2
|
-
import { n as Select, r as SelectProps, t as ControlledSelectProps } from "../Select-
|
|
1
|
+
import { n as DefaultInitialSelectItem, o as SelectAsyncProps, s as SelectItem, t as SelectBaseProps } from "../SelectBase-hXagPi6y.js";
|
|
2
|
+
import { n as Select, r as SelectProps, t as ControlledSelectProps } from "../Select-BSMtgqFl.js";
|
|
3
3
|
export { type ControlledSelectProps, type DefaultInitialSelectItem, Select, type SelectAsyncProps, type SelectBaseProps, type SelectItem, type SelectProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Select } from "../Select-
|
|
1
|
+
import { t as Select } from "../Select-T4am7u5p.js";
|
|
2
2
|
export { Select };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type Selection } from "@react-types/shared";
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{createContext as t,forwardRef as n,useCallback as r,useContext as i,useMemo as a,useRef as o}from"react";import{filterDOMProps as s,mergeProps as c,mergeRefs as l,useLayoutEffect as u,useObjectRef as d}from"@react-aria/utils";import"react-dom";import{useSeparator as
|
|
1
|
+
import e,{createContext as t,forwardRef as n,useCallback as r,useContext as i,useMemo as a,useRef as o}from"react";import{filterDOMProps as s,mergeProps as c,mergeRefs as l,useLayoutEffect as u,useObjectRef as d}from"@react-aria/utils";import{FocusableContext as f}from"@react-aria/interactions";import"react-dom";import{useSeparator as p}from"react-aria";var m=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),h=(e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});const g=Symbol(`default`);function _(e,t){let n=i(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||g;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function v(e,t,n){let{ref:r,...i}=_(n,e.slot)||{},o=d(a(()=>l(t,r),[t,r])),s=c(i,e);return`style`in i&&i.style&&`style`in e&&e.style&&(s.style=typeof i.style==`function`||typeof e.style==`function`?t=>{let n=typeof i.style==`function`?i.style(t):i.style,r={...t.defaultStyle,...n},a=typeof e.style==`function`?e.style({...t,defaultStyle:r}):e.style;return{...r,...a}}:{...i.style,...e.style}),[s,o]}function y(t,n,r){let{render:i,...s}=n,c=o(null),d=a(()=>l(r,c),[r,c]);u(()=>{},[t,i]);let f={...s,ref:d};return i?i(f,void 0):e.createElement(t,f)}const b={},x=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let r=b[t];return r||(r=n(y.bind(null,t)),b[t]=r),r}});String(Math.round(Math.random()*1e10)),typeof window<`u`&&window.document&&window.document.createElement,e.useId;var S=class{get childNodes(){throw Error(`childNodes is not supported`)}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e[`aria-label`]=this[`aria-label`],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,n){let r=this.clone();return t.addDescendants(r,e),r}constructor(e){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue=``,this[`aria-label`]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=e}},C=class extends S{filter(e,t,n){let[r,i]=O(e,t,this.firstChildKey,n),a=this.clone();return a.firstChildKey=r,a.lastChildKey=i,a}},w=class extends S{};w.type=`header`;var T=class extends S{};T.type=`loader`;var E=class extends C{filter(e,t,n){if(n(this.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}};E.type=`item`;var D=class extends C{filter(e,t,n){let r=super.filter(e,t,n);if(r&&r.lastChildKey!==null){let t=e.getItem(r.lastChildKey);if(t&&t.type!==`header`)return r}return null}};D.type=`section`;function O(e,t,n,r){if(n==null)return[null,null];let i=null,a=null,o=e.getItem(n);for(;o!=null;){let n=o.filter(e,t,r);n!=null&&(n.nextKey=null,a&&(n.prevKey=a.key,a.nextKey=n.key),i??=n,t.addNode(n),a=n),o=o.nextKey?e.getItem(o.nextKey):null}if(a&&a.type===`separator`){let e=a.prevKey;t.removeNode(a.key),e?(a=t.getItem(e),a.nextKey=null):a=null}return[i?.key??null,a?.key??null]}
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* use-sync-external-store-shim.production.js
|
|
@@ -8,4 +8,4 @@ import e,{createContext as t,forwardRef as n,useCallback as r,useContext as i,us
|
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
10
|
*/
|
|
11
|
-
var k=
|
|
11
|
+
var k=m((e=>{var t=h(`react`);function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore}));m(((e,t)=>{t.exports=k()}))();const A=t(!1);typeof e.useSyncExternalStore==`function`&&e.useSyncExternalStore;const j=t(null);function M(e){var t;return t=class extends S{},t.type=e,t}function N(t,n,a,o,s,c){typeof t==`string`&&(t=M(t));let l=r(e=>{e?.setProps(n,a,t,o,c)},[n,a,o,c,t]),u=i(j);if(u){let r=u.ownerDocument.nodesByProps.get(n);return r||(r=u.ownerDocument.createElement(t.type),r.setProps(n,a,t,o,c),u.appendChild(r),u.ownerDocument.updateCollection(),u.ownerDocument.nodesByProps.set(n,r)),s?e.createElement(j.Provider,{value:r},s):null}return e.createElement(t.type,{ref:l},s)}function P(t,r){let a=({node:e})=>r(e.props,e.props.ref,e),o=n((n,o)=>{let s=i(f);if(!i(A)){if(r.length>=3)throw Error(r.name+` cannot be rendered outside a collection.`);return r(n,o)}return N(t,n,o,`children`in n?n.children:null,null,t=>e.createElement(f.Provider,{value:s},e.createElement(a,{node:t})))});return o.displayName=r.name,o}const F=t({});var I=class extends S{filter(e,t){let n=t.getItem(this.prevKey);if(n&&n.type!==`separator`){let n=this.clone();return t.addDescendants(n,e),n}return null}};I.type=`separator`;const L=P(I,function(t,n){[t,n]=v(t,n,F);let{elementType:r,orientation:i,style:a,className:o,slot:l,...u}=t,d=r||`hr`;d===`hr`&&i===`vertical`&&(d=`div`);let f=x[d],{separatorProps:m}=p({...u,elementType:r,orientation:i}),h=s(t,{global:!0});return e.createElement(f,{render:t.render,...c(h,m),style:a,className:o??`react-aria-Separator`,ref:n,slot:l||void 0})});export{L as Separator};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as Slider, r as SliderProps, t as ControlledSliderProps } from "../Slider-
|
|
1
|
+
import { n as Slider, r as SliderProps, t as ControlledSliderProps } from "../Slider-DiZoEoc9.js";
|
|
2
2
|
export { ControlledSliderProps, Slider, SliderProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Slider } from "../Slider-
|
|
1
|
+
import { t as Slider } from "../Slider-RhB5Rcwv.js";
|
|
2
2
|
export { Slider };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SplitButtonProps, t as SplitButton } from "../SplitButton-
|
|
1
|
+
import { n as SplitButtonProps, t as SplitButton } from "../SplitButton-Cv9ej6Or.js";
|
|
2
2
|
export { SplitButton, SplitButtonProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as Menu } from "../Menu-
|
|
1
|
+
import { t as Menu } from "../Menu-DTiZS3t_.js";
|
|
2
2
|
import { t as ChevronDown } from "../chevron-down-Ciz9yP9R.js";
|
|
3
3
|
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
4
|
-
import { t as Button } from "../Button-
|
|
4
|
+
import { t as Button } from "../Button-B8T7AjGP.js";
|
|
5
5
|
import { IconButton } from "./icon-button.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Stepper } from "../Stepper-
|
|
1
|
+
import { t as Stepper } from "../Stepper-Cc7qNjch.js";
|
|
2
2
|
export { Stepper };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{cloneElement as t,createContext as n,forwardRef as r,isValidElement as i,useCallback as a,useContext as o,useMemo as s,useRef as c}from"react";import{mergeRefs as l,useLayoutEffect as u,useObjectRef as d}from"@react-aria/utils";import"react-dom";import{useSubmenuTrigger as f}from"react-aria";import{useSubmenuTriggerState as p}from"react-stately";var m=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),h=(e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});function g({values:t,children:n}){for(let[r,i]of t)n=e.createElement(r.Provider,{value:i},n);return n}function _(t,n,r){let{render:i,...a}=n,o=c(null),d=s(()=>l(r,o),[r,o]);u(()=>{},[t,i]);let f={...a,ref:d};return i?i(f,void 0):e.createElement(t,f)}const v={};new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=v[t];return n||(n=r(_.bind(null,t)),v[t]=n),n}}),String(Math.round(Math.random()*1e10)),typeof window<`u`&&window.document&&window.document.createElement,e.useId;var y=class{get childNodes(){throw Error(`childNodes is not supported`)}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e[`aria-label`]=this[`aria-label`],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,n){let r=this.clone();return t.addDescendants(r,e),r}constructor(e){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue=``,this[`aria-label`]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=e}},b=class extends y{filter(e,t,n){let[r,i]=T(e,t,this.firstChildKey,n),a=this.clone();return a.firstChildKey=r,a.lastChildKey=i,a}},x=class extends y{};x.type=`header`;var S=class extends y{};S.type=`loader`;var C=class extends b{filter(e,t,n){if(n(this.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}};C.type=`item`;var w=class extends b{filter(e,t,n){let r=super.filter(e,t,n);if(r&&r.lastChildKey!==null){let t=e.getItem(r.lastChildKey);if(t&&t.type!==`header`)return r}return null}};w.type=`section`;function T(e,t,n,r){if(n==null)return[null,null];let i=null,a=null,o=e.getItem(n);for(;o!=null;){let n=o.filter(e,t,r);n!=null&&(n.nextKey=null,a&&(n.prevKey=a.key,a.nextKey=n.key),i??=n,t.addNode(n),a=n),o=o.nextKey?e.getItem(o.nextKey):null}if(a&&a.type===`separator`){let e=a.prevKey;t.removeNode(a.key),e?(a=t.getItem(e),a.nextKey=null):a=null}return[i?.key??null,a?.key??null]}function E(e){let{children:n,items:r,idScope:i,addIdAndValue:a,dependencies:o=[]}=e,c=s(()=>new WeakMap,o);return s(()=>{if(r&&typeof n==`function`){let e=[];for(let o of r){let r=c.get(o);if(!r){r=n(o);let e=r.props.id??o.key??o.id;if(e==null)throw Error(`Could not determine key for item`);i!=null&&(e=i+`:`+e),r=t(r,a?{key:e,id:e,value:o}:{key:e}),c.set(o,r)}e.push(r)}return e}if(typeof n!=`function`)return n},[n,r,c,i,a])}
|
|
1
|
+
import e,{cloneElement as t,createContext as n,forwardRef as r,isValidElement as i,useCallback as a,useContext as o,useMemo as s,useRef as c}from"react";import{mergeRefs as l,useLayoutEffect as u,useObjectRef as d}from"@react-aria/utils";import"@react-aria/interactions";import"react-dom";import{useSubmenuTrigger as f}from"react-aria";import{useSubmenuTriggerState as p}from"react-stately";var m=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),h=(e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});function g({values:t,children:n}){for(let[r,i]of t)n=e.createElement(r.Provider,{value:i},n);return n}function _(t,n,r){let{render:i,...a}=n,o=c(null),d=s(()=>l(r,o),[r,o]);u(()=>{},[t,i]);let f={...a,ref:d};return i?i(f,void 0):e.createElement(t,f)}const v={};new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=v[t];return n||(n=r(_.bind(null,t)),v[t]=n),n}}),String(Math.round(Math.random()*1e10)),typeof window<`u`&&window.document&&window.document.createElement,e.useId;var y=class{get childNodes(){throw Error(`childNodes is not supported`)}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e[`aria-label`]=this[`aria-label`],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,n){let r=this.clone();return t.addDescendants(r,e),r}constructor(e){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue=``,this[`aria-label`]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=e}},b=class extends y{filter(e,t,n){let[r,i]=T(e,t,this.firstChildKey,n),a=this.clone();return a.firstChildKey=r,a.lastChildKey=i,a}},x=class extends y{};x.type=`header`;var S=class extends y{};S.type=`loader`;var C=class extends b{filter(e,t,n){if(n(this.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}};C.type=`item`;var w=class extends b{filter(e,t,n){let r=super.filter(e,t,n);if(r&&r.lastChildKey!==null){let t=e.getItem(r.lastChildKey);if(t&&t.type!==`header`)return r}return null}};w.type=`section`;function T(e,t,n,r){if(n==null)return[null,null];let i=null,a=null,o=e.getItem(n);for(;o!=null;){let n=o.filter(e,t,r);n!=null&&(n.nextKey=null,a&&(n.prevKey=a.key,a.nextKey=n.key),i??=n,t.addNode(n),a=n),o=o.nextKey?e.getItem(o.nextKey):null}if(a&&a.type===`separator`){let e=a.prevKey;t.removeNode(a.key),e?(a=t.getItem(e),a.nextKey=null):a=null}return[i?.key??null,a?.key??null]}function E(e){let{children:n,items:r,idScope:i,addIdAndValue:a,dependencies:o=[]}=e,c=s(()=>new WeakMap,o);return s(()=>{if(r&&typeof n==`function`){let e=[];for(let o of r){let r=c.get(o);if(!r){r=n(o);let e=r.props.id??o.key??o.id;if(e==null)throw Error(`Could not determine key for item`);i!=null&&(e=i+`:`+e),r=t(r,a?{key:e,id:e,value:o}:{key:e}),c.set(o,r)}e.push(r)}return e}if(typeof n!=`function`)return n},[n,r,c,i,a])}
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* use-sync-external-store-shim.production.js
|