@fragiola/primitives-vue 0.0.0-stage → 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +41 -2
- package/dist/accordion-CmKuKHkK.js +278 -0
- package/dist/accordion-CmKuKHkK.js.map +1 -0
- package/dist/accordion.d.ts +4 -0
- package/dist/accordion.js +1 -0
- package/dist/alert-dialog-CPG51QOk.js +38 -0
- package/dist/alert-dialog-CPG51QOk.js.map +1 -0
- package/dist/alert-dialog.d.ts +9 -0
- package/dist/alert-dialog.js +1 -0
- package/dist/aspect-ratio-Ba7GaRnV.js +37 -0
- package/dist/aspect-ratio-Ba7GaRnV.js.map +1 -0
- package/dist/aspect-ratio.d.ts +3 -0
- package/dist/aspect-ratio.js +1 -0
- package/dist/async-list-Dc8wqcxe.js +39 -0
- package/dist/async-list-Dc8wqcxe.js.map +1 -0
- package/dist/async-list.d.ts +2 -0
- package/dist/async-list.js +1 -0
- package/dist/autocomplete-virtual-D_2Wuih7.js +55 -0
- package/dist/autocomplete-virtual-D_2Wuih7.js.map +1 -0
- package/dist/autocomplete-virtual.d.ts +2 -0
- package/dist/autocomplete-virtual.js +3 -0
- package/dist/autocomplete.d.ts +6 -0
- package/dist/autocomplete.js +1 -0
- package/dist/avatar-DdDGa6x7.js +166 -0
- package/dist/avatar-DdDGa6x7.js.map +1 -0
- package/dist/avatar.d.ts +3 -0
- package/dist/avatar.js +1 -0
- package/dist/breadcrumbs-BFAjlnC_.js +131 -0
- package/dist/breadcrumbs-BFAjlnC_.js.map +1 -0
- package/dist/breadcrumbs.d.ts +3 -0
- package/dist/breadcrumbs.js +1 -0
- package/dist/button-DVUcUCXc.js +56 -0
- package/dist/button-DVUcUCXc.js.map +1 -0
- package/dist/button-attributes-Ue6sUse5.js +83 -0
- package/dist/button-attributes-Ue6sUse5.js.map +1 -0
- package/dist/button.d.ts +3 -0
- package/dist/button.js +1 -0
- package/dist/calendar-preset-Bjc7rcNX.js +84 -0
- package/dist/calendar-preset-Bjc7rcNX.js.map +1 -0
- package/dist/calendar-preset.d.ts +3 -0
- package/dist/calendar-preset.js +3 -0
- package/dist/calendar-prev-button-jluYmM-3.js +307 -0
- package/dist/calendar-prev-button-jluYmM-3.js.map +1 -0
- package/dist/calendar-root-base-C9dfkl55.js +310 -0
- package/dist/calendar-root-base-C9dfkl55.js.map +1 -0
- package/dist/calendar-view-Djy5iHGK.js +160 -0
- package/dist/calendar-view-Djy5iHGK.js.map +1 -0
- package/dist/calendar-view.d.ts +4 -0
- package/dist/calendar-view.js +4 -0
- package/dist/calendar.d.ts +5 -0
- package/dist/calendar.js +1 -0
- package/dist/carousel-BOacnCmz.js +553 -0
- package/dist/carousel-BOacnCmz.js.map +1 -0
- package/dist/carousel.d.ts +4 -0
- package/dist/carousel.js +1 -0
- package/dist/cascade-select-B-Nf6eOA.js +697 -0
- package/dist/cascade-select-B-Nf6eOA.js.map +1 -0
- package/dist/cascade-select.d.ts +6 -0
- package/dist/cascade-select.js +1 -0
- package/dist/change-details-Bc4-Xzdm.d.ts +37 -0
- package/dist/checkbox-D5NvqFgS.js +230 -0
- package/dist/checkbox-D5NvqFgS.js.map +1 -0
- package/dist/checkbox-group-C3XftlZd.js +104 -0
- package/dist/checkbox-group-C3XftlZd.js.map +1 -0
- package/dist/checkbox-group-context-C0Z5sWM1.js +5 -0
- package/dist/checkbox-group-context-C0Z5sWM1.js.map +1 -0
- package/dist/checkbox-group.d.ts +4 -0
- package/dist/checkbox-group.js +1 -0
- package/dist/checkbox.d.ts +4 -0
- package/dist/checkbox.js +1 -0
- package/dist/clipboard-BM-4-lTv.js +195 -0
- package/dist/clipboard-BM-4-lTv.js.map +1 -0
- package/dist/clipboard.d.ts +4 -0
- package/dist/clipboard.js +1 -0
- package/dist/collapsible-DSCxhlQN.js +158 -0
- package/dist/collapsible-DSCxhlQN.js.map +1 -0
- package/dist/collapsible.d.ts +4 -0
- package/dist/collapsible.js +1 -0
- package/dist/color-area-uEHPo-Nq.js +350 -0
- package/dist/color-area-uEHPo-Nq.js.map +1 -0
- package/dist/color-area.d.ts +4 -0
- package/dist/color-area.js +1 -0
- package/dist/color-field-Di2IbTa3.js +384 -0
- package/dist/color-field-Di2IbTa3.js.map +1 -0
- package/dist/color-field.d.ts +4 -0
- package/dist/color-field.js +1 -0
- package/dist/color-picker-BgFgq5R0.js +311 -0
- package/dist/color-picker-BgFgq5R0.js.map +1 -0
- package/dist/color-picker-binding-CJ-Cbxbj.js +5 -0
- package/dist/color-picker-binding-CJ-Cbxbj.js.map +1 -0
- package/dist/color-picker-popover-Dx6LX0V3.js +233 -0
- package/dist/color-picker-popover-Dx6LX0V3.js.map +1 -0
- package/dist/color-picker-popover.d.ts +6 -0
- package/dist/color-picker-popover.js +1 -0
- package/dist/color-picker.d.ts +4 -0
- package/dist/color-picker.js +1 -0
- package/dist/color-slider-BCqoolnY.js +410 -0
- package/dist/color-slider-BCqoolnY.js.map +1 -0
- package/dist/color-slider.d.ts +4 -0
- package/dist/color-slider.js +1 -0
- package/dist/color-swatch-C-8IN28V.js +54 -0
- package/dist/color-swatch-C-8IN28V.js.map +1 -0
- package/dist/color-swatch-picker-CU1wrhjX.js +312 -0
- package/dist/color-swatch-picker-CU1wrhjX.js.map +1 -0
- package/dist/color-swatch-picker.d.ts +4 -0
- package/dist/color-swatch-picker.js +1 -0
- package/dist/color-swatch.d.ts +3 -0
- package/dist/color-swatch.js +1 -0
- package/dist/color-wheel-F_BoXKON.js +284 -0
- package/dist/color-wheel-F_BoXKON.js.map +1 -0
- package/dist/color-wheel.d.ts +4 -0
- package/dist/color-wheel.js +1 -0
- package/dist/combobox-virtual-DTRTVq5N.js +56 -0
- package/dist/combobox-virtual-DTRTVq5N.js.map +1 -0
- package/dist/combobox-virtual.d.ts +2 -0
- package/dist/combobox-virtual.js +3 -0
- package/dist/combobox.d.ts +6 -0
- package/dist/combobox.js +1 -0
- package/dist/command-virtual-LoTBDEY5.js +59 -0
- package/dist/command-virtual-LoTBDEY5.js.map +1 -0
- package/dist/command-virtual.d.ts +3 -0
- package/dist/command-virtual.js +3 -0
- package/dist/command.d.ts +4 -0
- package/dist/command.js +1 -0
- package/dist/context-menu-zdHIGS9E.js +151 -0
- package/dist/context-menu-zdHIGS9E.js.map +1 -0
- package/dist/context-menu.d.ts +7 -0
- package/dist/context-menu.js +1 -0
- package/dist/date-field-pgSTZiPb.js +78 -0
- package/dist/date-field-pgSTZiPb.js.map +1 -0
- package/dist/date-field-root-base-CYLuAykm.js +212 -0
- package/dist/date-field-root-base-CYLuAykm.js.map +1 -0
- package/dist/date-field.d.ts +4 -0
- package/dist/date-field.js +1 -0
- package/dist/date-picker-input-CiuuRiWZ.js +16 -0
- package/dist/date-picker-input-CiuuRiWZ.js.map +1 -0
- package/dist/date-picker-input-root-base-ExPSLeKw.js +318 -0
- package/dist/date-picker-input-root-base-ExPSLeKw.js.map +1 -0
- package/dist/date-picker-input.d.ts +4 -0
- package/dist/date-picker-input.js +3 -0
- package/dist/date-picker-trigger-C2BlzvfR.js +349 -0
- package/dist/date-picker-trigger-C2BlzvfR.js.map +1 -0
- package/dist/date-picker.d.ts +6 -0
- package/dist/date-picker.js +1 -0
- package/dist/date-range-field-Bygmkl5c.js +80 -0
- package/dist/date-range-field-Bygmkl5c.js.map +1 -0
- package/dist/date-range-field-input-CivpQMYd.js +69 -0
- package/dist/date-range-field-input-CivpQMYd.js.map +1 -0
- package/dist/date-range-field-root-base-BP26TSWz.js +267 -0
- package/dist/date-range-field-root-base-BP26TSWz.js.map +1 -0
- package/dist/date-range-field.d.ts +4 -0
- package/dist/date-range-field.js +1 -0
- package/dist/date-range-picker-input-BUNCCXUY.js +17 -0
- package/dist/date-range-picker-input-BUNCCXUY.js.map +1 -0
- package/dist/date-range-picker-input.d.ts +4 -0
- package/dist/date-range-picker-input.js +3 -0
- package/dist/date-range-picker.d.ts +7 -0
- package/dist/date-range-picker.js +1 -0
- package/dist/dialog-MNjIMCfA.js +38 -0
- package/dist/dialog-MNjIMCfA.js.map +1 -0
- package/dist/dialog-root-base-jbZipaoQ.js +329 -0
- package/dist/dialog-root-base-jbZipaoQ.js.map +1 -0
- package/dist/dialog-viewport-tYqWTs9Q.d.ts +54 -0
- package/dist/dialog.d.ts +9 -0
- package/dist/dialog.js +1 -0
- package/dist/direction-CN_deiZU.js +30 -0
- package/dist/direction-CN_deiZU.js.map +1 -0
- package/dist/direction-context-D-C_P6Lm.js +19 -0
- package/dist/direction-context-D-C_P6Lm.js.map +1 -0
- package/dist/direction.d.ts +2 -0
- package/dist/direction.js +1 -0
- package/dist/drawer-BcnuGtEt.js +357 -0
- package/dist/drawer-BcnuGtEt.js.map +1 -0
- package/dist/drawer.d.ts +9 -0
- package/dist/drawer.js +1 -0
- package/dist/drop-zone-vFJ5Kvsy.js +98 -0
- package/dist/drop-zone-vFJ5Kvsy.js.map +1 -0
- package/dist/drop-zone.d.ts +4 -0
- package/dist/drop-zone.js +1 -0
- package/dist/editable-CabzXgiN.js +436 -0
- package/dist/editable-CabzXgiN.js.map +1 -0
- package/dist/editable.d.ts +4 -0
- package/dist/editable.js +1 -0
- package/dist/field-DQ2d5nhC.js +397 -0
- package/dist/field-DQ2d5nhC.js.map +1 -0
- package/dist/field.d.ts +4 -0
- package/dist/field.js +1 -0
- package/dist/fieldset-CmmDzOPs.js +80 -0
- package/dist/fieldset-CmmDzOPs.js.map +1 -0
- package/dist/fieldset-context-DtEOoG6M.js +5 -0
- package/dist/fieldset-context-DtEOoG6M.js.map +1 -0
- package/dist/fieldset.d.ts +3 -0
- package/dist/fieldset.js +1 -0
- package/dist/file-upload-_Hh-STdv.js +644 -0
- package/dist/file-upload-_Hh-STdv.js.map +1 -0
- package/dist/file-upload.d.ts +4 -0
- package/dist/file-upload.js +1 -0
- package/dist/form-context-DBnVT1lw.js +5 -0
- package/dist/form-context-DBnVT1lw.js.map +1 -0
- package/dist/form-s9HijjTL.js +92 -0
- package/dist/form-s9HijjTL.js.map +1 -0
- package/dist/form.d.ts +3 -0
- package/dist/form.js +1 -0
- package/dist/hover-card-rmd0fD17.js +355 -0
- package/dist/hover-card-rmd0fD17.js.map +1 -0
- package/dist/hover-card.d.ts +9 -0
- package/dist/hover-card.js +1 -0
- package/dist/index-5WtjXdX9.d.ts +63 -0
- package/dist/index-5eBkkEtv.d.ts +36 -0
- package/dist/index-B-vqAG6g.d.ts +33 -0
- package/dist/index-B1uYYVtV.d.ts +18 -0
- package/dist/index-B8E3X1CK.d.ts +66 -0
- package/dist/index-B8Ufhgzu.d.ts +36 -0
- package/dist/index-BJz7OWbi.d.ts +88 -0
- package/dist/index-BMjRueuv.d.ts +40 -0
- package/dist/index-BP7Tmb0E.d.ts +95 -0
- package/dist/index-Bbb1Zgwo.d.ts +50 -0
- package/dist/index-BdJFU5tH.d.ts +28 -0
- package/dist/index-BdfnRo-h.d.ts +55 -0
- package/dist/index-BniQvFN-.d.ts +38 -0
- package/dist/index-Bt0B-8RV.d.ts +14 -0
- package/dist/index-BuWJcRPC.d.ts +18 -0
- package/dist/index-Byf0GNd9.d.ts +41 -0
- package/dist/index-BzHLkAWU.d.ts +35 -0
- package/dist/index-C-QYKtWy.d.ts +28 -0
- package/dist/index-C7nh2Oil.d.ts +40 -0
- package/dist/index-CDKebSlA.d.ts +41 -0
- package/dist/index-CFPqV6qJ.d.ts +72 -0
- package/dist/index-CRJv_zWm.d.ts +37 -0
- package/dist/index-CTzUalDO.d.ts +76 -0
- package/dist/index-CZHLD5cJ.d.ts +17 -0
- package/dist/index-Cgwn5qgy.d.ts +88 -0
- package/dist/index-Ch4h1DFC.d.ts +55 -0
- package/dist/index-Cj3B9gY_.d.ts +50 -0
- package/dist/index-Cj6NwCBD.d.ts +44 -0
- package/dist/index-CkDThwop.d.ts +21 -0
- package/dist/index-Cn-D14iz.d.ts +13 -0
- package/dist/index-CpTiLSql.d.ts +53 -0
- package/dist/index-CqP363e5.d.ts +118 -0
- package/dist/index-Cv4dRdEa.d.ts +72 -0
- package/dist/index-CyI637MF.d.ts +37 -0
- package/dist/index-D11YCkvR.d.ts +42 -0
- package/dist/index-D3yyJGzf.d.ts +74 -0
- package/dist/index-D5PbKxcs.d.ts +26 -0
- package/dist/index-DAYklR-H.d.ts +18 -0
- package/dist/index-DIZSgXHM.d.ts +79 -0
- package/dist/index-DZckp3H0.d.ts +37 -0
- package/dist/index-DaqoBvQf.d.ts +56 -0
- package/dist/index-Df9i45Gr.d.ts +65 -0
- package/dist/index-DqI6n06W.d.ts +59 -0
- package/dist/index-Drp7svmT.d.ts +30 -0
- package/dist/index-DxsUcSGT.d.ts +99 -0
- package/dist/index-Dyyi-1mv.d.ts +35 -0
- package/dist/index-I2ewgOGz.d.ts +76 -0
- package/dist/index-JGhlANKo.d.ts +24 -0
- package/dist/index-KASc7z5u.d.ts +38 -0
- package/dist/index-LTcmDERY.d.ts +65 -0
- package/dist/index-Mf2RPgmw.d.ts +38 -0
- package/dist/index-NdY27G_d.d.ts +58 -0
- package/dist/index-QO79pDtI.d.ts +70 -0
- package/dist/index-S0FIwOSw.d.ts +59 -0
- package/dist/index-UxsyZS_A.d.ts +23 -0
- package/dist/index-W8aOtVIu.d.ts +40 -0
- package/dist/index-WC9xwMaX.d.ts +34 -0
- package/dist/index-Xwb9OtVU.d.ts +7 -0
- package/dist/index-ZWJJ2V_J.d.ts +49 -0
- package/dist/index-_Q_N8ZbU.d.ts +35 -0
- package/dist/index-bC3hHzam.d.ts +101 -0
- package/dist/index-baY49J-s.d.ts +15 -0
- package/dist/index-dCTvA7uS.d.ts +20 -0
- package/dist/index-mhpoLESL.d.ts +77 -0
- package/dist/index-p3t0BKd4.d.ts +22 -0
- package/dist/index-sgaMj_3p.d.ts +69 -0
- package/dist/index-tSLNRqTo.d.ts +33 -0
- package/dist/index-t_lSQgLA.d.ts +1346 -0
- package/dist/index-uL1dEAhG.d.ts +28 -0
- package/dist/index.d.ts +79 -0
- package/dist/index.js +106 -0
- package/dist/label-Ce-gIayi.js +35 -0
- package/dist/label-Ce-gIayi.js.map +1 -0
- package/dist/label.d.ts +3 -0
- package/dist/label.js +1 -0
- package/dist/labelled-part-DB2rXJFG.js +56 -0
- package/dist/labelled-part-DB2rXJFG.js.map +1 -0
- package/dist/link-CZ3ISaPX.js +42 -0
- package/dist/link-CZ3ISaPX.js.map +1 -0
- package/dist/link-attributes-D9UusWws.js +29 -0
- package/dist/link-attributes-D9UusWws.js.map +1 -0
- package/dist/link.d.ts +3 -0
- package/dist/link.js +1 -0
- package/dist/listbox-virtual-He6BWlPj.js +291 -0
- package/dist/listbox-virtual-He6BWlPj.js.map +1 -0
- package/dist/listbox-virtual.d.ts +5 -0
- package/dist/listbox-virtual.js +3 -0
- package/dist/listbox.d.ts +4 -0
- package/dist/listbox.js +1 -0
- package/dist/live-region-style-9ofmajhO.js +46 -0
- package/dist/live-region-style-9ofmajhO.js.map +1 -0
- package/dist/menu-D7TVxPdb.js +144 -0
- package/dist/menu-D7TVxPdb.js.map +1 -0
- package/dist/menu-bar-context-k5vMlwmW.js +13 -0
- package/dist/menu-bar-context-k5vMlwmW.js.map +1 -0
- package/dist/menu-submenu-trigger-ClI2Pm4X.js +885 -0
- package/dist/menu-submenu-trigger-ClI2Pm4X.js.map +1 -0
- package/dist/menu-submenu-trigger-DNH8_uUB.d.ts +127 -0
- package/dist/menu.d.ts +10 -0
- package/dist/menu.js +1 -0
- package/dist/menubar-CQn3AOiQ.js +212 -0
- package/dist/menubar-CQn3AOiQ.js.map +1 -0
- package/dist/menubar.d.ts +3 -0
- package/dist/menubar.js +1 -0
- package/dist/meter-7Qd_WaUY.js +202 -0
- package/dist/meter-7Qd_WaUY.js.map +1 -0
- package/dist/meter.d.ts +3 -0
- package/dist/meter.js +1 -0
- package/dist/month-calendar-root-base-VcD8ZNW5.js +354 -0
- package/dist/month-calendar-root-base-VcD8ZNW5.js.map +1 -0
- package/dist/month-calendar.d.ts +5 -0
- package/dist/month-calendar.js +1 -0
- package/dist/month-picker-DzOYqW1S.js +15 -0
- package/dist/month-picker-DzOYqW1S.js.map +1 -0
- package/dist/month-picker-root-base-ByMK_Mfq.js +158 -0
- package/dist/month-picker-root-base-ByMK_Mfq.js.map +1 -0
- package/dist/month-picker.d.ts +7 -0
- package/dist/month-picker.js +3 -0
- package/dist/month-range-calendar-CJAWu1-Z.js +18 -0
- package/dist/month-range-calendar-CJAWu1-Z.js.map +1 -0
- package/dist/month-range-calendar.d.ts +5 -0
- package/dist/month-range-calendar.js +3 -0
- package/dist/month-range-picker-CRJDG2HG.js +15 -0
- package/dist/month-range-picker-CRJDG2HG.js.map +1 -0
- package/dist/month-range-picker.d.ts +8 -0
- package/dist/month-range-picker.js +3 -0
- package/dist/multiple-calendar-BIb2zfBH.js +176 -0
- package/dist/multiple-calendar-BIb2zfBH.js.map +1 -0
- package/dist/multiple-calendar.d.ts +5 -0
- package/dist/multiple-calendar.js +3 -0
- package/dist/navigation-menu-COTxGol_.js +727 -0
- package/dist/navigation-menu-COTxGol_.js.map +1 -0
- package/dist/navigation-menu.d.ts +5 -0
- package/dist/navigation-menu.js +1 -0
- package/dist/number-field-CqxEnwiS.js +581 -0
- package/dist/number-field-CqxEnwiS.js.map +1 -0
- package/dist/number-field.d.ts +4 -0
- package/dist/number-field.js +1 -0
- package/dist/otp-field-DIDuypLU.js +420 -0
- package/dist/otp-field-DIDuypLU.js.map +1 -0
- package/dist/otp-field.d.ts +4 -0
- package/dist/otp-field.js +1 -0
- package/dist/overlay-handle-DUptsQOb.js +42 -0
- package/dist/overlay-handle-DUptsQOb.js.map +1 -0
- package/dist/overlay-handle-DzC9LJQo.d.ts +16 -0
- package/dist/overlay-portal-Cmn7Dt7E.d.ts +30 -0
- package/dist/overlay-portal-ZNtXmoFd.js +32 -0
- package/dist/overlay-portal-ZNtXmoFd.js.map +1 -0
- package/dist/pagination-BNUjFYxK.js +264 -0
- package/dist/pagination-BNUjFYxK.js.map +1 -0
- package/dist/pagination.d.ts +4 -0
- package/dist/pagination.js +1 -0
- package/dist/parts--mC44S1N.js +1023 -0
- package/dist/parts--mC44S1N.js.map +1 -0
- package/dist/parts-BP00C3Q5.js +874 -0
- package/dist/parts-BP00C3Q5.js.map +1 -0
- package/dist/parts-CMh29O5y.js +14 -0
- package/dist/parts-CMh29O5y.js.map +1 -0
- package/dist/parts-CZqNGRqe.js +20 -0
- package/dist/parts-CZqNGRqe.js.map +1 -0
- package/dist/parts-DMy2yQZs.js +254 -0
- package/dist/parts-DMy2yQZs.js.map +1 -0
- package/dist/parts-DVv0aov9.js +14 -0
- package/dist/parts-DVv0aov9.js.map +1 -0
- package/dist/parts-M3ThgZzl.js +489 -0
- package/dist/parts-M3ThgZzl.js.map +1 -0
- package/dist/parts-stPOp8dr.js +451 -0
- package/dist/parts-stPOp8dr.js.map +1 -0
- package/dist/parts-uxRkRrFr.js +668 -0
- package/dist/parts-uxRkRrFr.js.map +1 -0
- package/dist/password-input-DC39W-do.js +231 -0
- package/dist/password-input-DC39W-do.js.map +1 -0
- package/dist/password-input.d.ts +4 -0
- package/dist/password-input.js +1 -0
- package/dist/popover-BaQTGAYJ.js +328 -0
- package/dist/popover-BaQTGAYJ.js.map +1 -0
- package/dist/popover.d.ts +9 -0
- package/dist/popover.js +1 -0
- package/dist/progress-DH1Xrj73.js +219 -0
- package/dist/progress-DH1Xrj73.js.map +1 -0
- package/dist/progress.d.ts +3 -0
- package/dist/progress.js +1 -0
- package/dist/public-component-AV8E7mGp.js +8 -0
- package/dist/public-component-AV8E7mGp.js.map +1 -0
- package/dist/public-component-DYpU9aDh.d.ts +33 -0
- package/dist/radio-B9YCSnFs.js +159 -0
- package/dist/radio-B9YCSnFs.js.map +1 -0
- package/dist/radio-group-CmSF4FTc.js +173 -0
- package/dist/radio-group-CmSF4FTc.js.map +1 -0
- package/dist/radio-group-context-C196JZ9D.js +5 -0
- package/dist/radio-group-context-C196JZ9D.js.map +1 -0
- package/dist/radio-group.d.ts +4 -0
- package/dist/radio-group.js +1 -0
- package/dist/radio.d.ts +3 -0
- package/dist/radio.js +1 -0
- package/dist/range-calendar-BDbNdL75.js +20 -0
- package/dist/range-calendar-BDbNdL75.js.map +1 -0
- package/dist/range-calendar.d.ts +5 -0
- package/dist/range-calendar.js +1 -0
- package/dist/rating-oC2t52av.js +351 -0
- package/dist/rating-oC2t52av.js.map +1 -0
- package/dist/rating.d.ts +4 -0
- package/dist/rating.js +1 -0
- package/dist/render-part-B5XVbHaS.js +36 -0
- package/dist/render-part-B5XVbHaS.js.map +1 -0
- package/dist/render-part-BaTKiWBp.d.ts +28 -0
- package/dist/render.d.ts +3 -0
- package/dist/render.js +3 -0
- package/dist/roving-context-LyHQFJqZ.js +32 -0
- package/dist/roving-context-LyHQFJqZ.js.map +1 -0
- package/dist/scroll-area-_EApTP33.js +328 -0
- package/dist/scroll-area-_EApTP33.js.map +1 -0
- package/dist/scroll-area.d.ts +3 -0
- package/dist/scroll-area.js +1 -0
- package/dist/search-field-DJIr926A.js +221 -0
- package/dist/search-field-DJIr926A.js.map +1 -0
- package/dist/search-field.d.ts +4 -0
- package/dist/search-field.js +1 -0
- package/dist/segmented-control-BMvmqBpR.js +389 -0
- package/dist/segmented-control-BMvmqBpR.js.map +1 -0
- package/dist/segmented-control.d.ts +4 -0
- package/dist/segmented-control.js +1 -0
- package/dist/select-virtual-BwZrX4bh.js +53 -0
- package/dist/select-virtual-BwZrX4bh.js.map +1 -0
- package/dist/select-virtual.d.ts +3 -0
- package/dist/select-virtual.js +3 -0
- package/dist/select.d.ts +6 -0
- package/dist/select.js +1 -0
- package/dist/separator-SgHyzEHB.js +42 -0
- package/dist/separator-SgHyzEHB.js.map +1 -0
- package/dist/separator.d.ts +3 -0
- package/dist/separator.js +1 -0
- package/dist/slider-DU5Cx7yj.js +539 -0
- package/dist/slider-DU5Cx7yj.js.map +1 -0
- package/dist/slider.d.ts +4 -0
- package/dist/slider.js +1 -0
- package/dist/state-attributes-DhboDeMS.js +14 -0
- package/dist/state-attributes-DhboDeMS.js.map +1 -0
- package/dist/steps-Dl_mMqRB.js +363 -0
- package/dist/steps-Dl_mMqRB.js.map +1 -0
- package/dist/steps.d.ts +4 -0
- package/dist/steps.js +1 -0
- package/dist/switch-CT9QBKOs.js +183 -0
- package/dist/switch-CT9QBKOs.js.map +1 -0
- package/dist/switch.d.ts +4 -0
- package/dist/switch.js +1 -0
- package/dist/tabs-BhVbQ7AV.js +369 -0
- package/dist/tabs-BhVbQ7AV.js.map +1 -0
- package/dist/tabs.d.ts +4 -0
- package/dist/tabs.js +1 -0
- package/dist/tag-group-DdpjWmzb.js +422 -0
- package/dist/tag-group-DdpjWmzb.js.map +1 -0
- package/dist/tag-group.d.ts +4 -0
- package/dist/tag-group.js +1 -0
- package/dist/tags-input-Iw3mST3A.js +627 -0
- package/dist/tags-input-Iw3mST3A.js.map +1 -0
- package/dist/tags-input.d.ts +4 -0
- package/dist/tags-input.js +1 -0
- package/dist/time-field-5Ghk_4SZ.js +76 -0
- package/dist/time-field-5Ghk_4SZ.js.map +1 -0
- package/dist/time-field.d.ts +4 -0
- package/dist/time-field.js +1 -0
- package/dist/time-range-field-DNOZQK4F.js +77 -0
- package/dist/time-range-field-DNOZQK4F.js.map +1 -0
- package/dist/time-range-field.d.ts +4 -0
- package/dist/time-range-field.js +1 -0
- package/dist/toast-DBKxX79M.js +426 -0
- package/dist/toast-DBKxX79M.js.map +1 -0
- package/dist/toast.d.ts +3 -0
- package/dist/toast.js +1 -0
- package/dist/toggle-Cca0PFQv.js +101 -0
- package/dist/toggle-Cca0PFQv.js.map +1 -0
- package/dist/toggle-group-DTUrLX_H.js +102 -0
- package/dist/toggle-group-DTUrLX_H.js.map +1 -0
- package/dist/toggle-group-context-gMEC8r-Z.js +5 -0
- package/dist/toggle-group-context-gMEC8r-Z.js.map +1 -0
- package/dist/toggle-group.d.ts +4 -0
- package/dist/toggle-group.js +1 -0
- package/dist/toggle.d.ts +4 -0
- package/dist/toggle.js +1 -0
- package/dist/toolbar-WU8JwFd0.js +272 -0
- package/dist/toolbar-WU8JwFd0.js.map +1 -0
- package/dist/toolbar.d.ts +3 -0
- package/dist/toolbar.js +1 -0
- package/dist/tooltip-C1kKsTSh.js +358 -0
- package/dist/tooltip-C1kKsTSh.js.map +1 -0
- package/dist/tooltip.d.ts +9 -0
- package/dist/tooltip.js +1 -0
- package/dist/use-color-picker-binding-BrG-whys.js +32 -0
- package/dist/use-color-picker-binding-BrG-whys.js.map +1 -0
- package/dist/use-controllable-B46G4v0A.js +30 -0
- package/dist/use-controllable-B46G4v0A.js.map +1 -0
- package/dist/use-field-control-CdYqr0dK.js +109 -0
- package/dist/use-field-control-CdYqr0dK.js.map +1 -0
- package/dist/use-overlay-root-BkyTQIsX.js +296 -0
- package/dist/use-overlay-root-BkyTQIsX.js.map +1 -0
- package/dist/use-overlay-trigger-D9OXZ_6K.d.ts +12 -0
- package/dist/use-overlay-trigger-KM35pX0a.js +61 -0
- package/dist/use-overlay-trigger-KM35pX0a.js.map +1 -0
- package/dist/use-panel-transition-DF7f1nmF.js +112 -0
- package/dist/use-panel-transition-DF7f1nmF.js.map +1 -0
- package/dist/use-panel-transition-r_BlVRob.d.ts +2 -0
- package/dist/use-positioner-BD24G6q1.js +73 -0
- package/dist/use-positioner-BD24G6q1.js.map +1 -0
- package/dist/use-positioner-D98pYl_K.d.ts +12 -0
- package/dist/use-presence-BcvBOTDI.d.ts +3 -0
- package/dist/use-required-context-CPpEkr4Q.js +11 -0
- package/dist/use-required-context-CPpEkr4Q.js.map +1 -0
- package/dist/use-roving-composite-CW0mE_VU.js +71 -0
- package/dist/use-roving-composite-CW0mE_VU.js.map +1 -0
- package/dist/use-roving-item-B9Cil5Rq.js +42 -0
- package/dist/use-roving-item-B9Cil5Rq.js.map +1 -0
- package/dist/use-segment-group-CAlwM3KP.js +304 -0
- package/dist/use-segment-group-CAlwM3KP.js.map +1 -0
- package/dist/use-virtual-rows-DesBexmk.js +142 -0
- package/dist/use-virtual-rows-DesBexmk.js.map +1 -0
- package/dist/virtual-list-BNvYqnFf.js +49 -0
- package/dist/virtual-list-BNvYqnFf.js.map +1 -0
- package/dist/year-calendar-cYl3WHEM.js +18 -0
- package/dist/year-calendar-cYl3WHEM.js.map +1 -0
- package/dist/year-calendar.d.ts +5 -0
- package/dist/year-calendar.js +3 -0
- package/dist/year-picker-DYQZbF1h.js +15 -0
- package/dist/year-picker-DYQZbF1h.js.map +1 -0
- package/dist/year-picker.d.ts +8 -0
- package/dist/year-picker.js +3 -0
- package/dist/year-range-calendar-ODgfmdiv.js +18 -0
- package/dist/year-range-calendar-ODgfmdiv.js.map +1 -0
- package/dist/year-range-calendar.d.ts +5 -0
- package/dist/year-range-calendar.js +3 -0
- package/dist/year-range-picker-DKXlcy7I.js +15 -0
- package/dist/year-range-picker-DKXlcy7I.js.map +1 -0
- package/dist/year-range-picker.d.ts +8 -0
- package/dist/year-range-picker.js +3 -0
- package/package.json +548 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parts--mC44S1N.js","names":[],"sources":["../src/components/combobox/combobox-context.ts","../src/components/combobox/combobox-chip.ts","../src/components/combobox/combobox-chip-remove.ts","../src/components/combobox/combobox-chips.ts","../src/components/combobox/combobox-clear.ts","../src/components/combobox/combobox-empty.ts","../src/components/combobox/combobox-group.ts","../src/components/combobox/combobox-group-label.ts","../src/components/combobox/combobox-input.ts","../src/components/combobox/combobox-input-group.ts","../src/components/combobox/combobox-item.ts","../src/components/combobox/combobox-item-indicator.ts","../src/components/combobox/combobox-list.ts","../src/components/combobox/combobox-popup.ts","../src/components/combobox/combobox-portal.ts","../src/components/combobox/combobox-positioner.ts","../src/components/combobox/combobox-root.ts","../src/components/combobox/combobox-separator.ts","../src/components/combobox/combobox-status.ts","../src/components/combobox/combobox-trigger.ts","../src/components/combobox/combobox-value.ts","../src/components/combobox/parts.ts"],"sourcesContent":["import type { Align, Side } from \"@fragiola/primitives/positioning\";\nimport type { ComputedRef, InjectionKey, Ref, ShallowRef } from \"vue\";\nimport type { FieldControlBinding } from \"../../composables/use-field-control.ts\";\nimport type { OverlayRoot } from \"../../composables/use-overlay-root.ts\";\nimport type { ChangeReason } from \"../../utils/change-details.ts\";\n\n/** A rendered Item, as the Root knows it. */\nexport interface ComboboxItemInfo {\n value: unknown;\n disabled: boolean;\n id: string;\n}\n\n/** What the keyboard highlights once the list renders: the first, the last or the selected item. */\nexport type PendingHighlight = \"first\" | \"last\" | \"selected\" | null;\n\nexport interface ComboboxContext extends OverlayRoot {\n /** The enclosing field's binding, for the input (spec/field.md). */\n field: FieldControlBinding;\n multiple: () => boolean;\n /** The selected item (or `null`), or the selected items with `multiple`. */\n value: ComputedRef<unknown>;\n /** The selected items, as a list in both modes. */\n values: ComputedRef<readonly unknown[]>;\n inputValue: ComputedRef<string>;\n setInputValue: (value: string, reason: ChangeReason) => void;\n /** Opens or closes; closing without a choice resets the text. */\n setOpen: (open: boolean, reason: ChangeReason, event?: Event) => boolean;\n disabled: () => boolean;\n /** The highlighted item's id. */\n highlighted: Ref<string | null>;\n isSelected: (item: unknown) => boolean;\n /** Chooses an item (spec/combobox.md, \"Choosing an item\"). */\n choose: (item: unknown) => void;\n /** Clears the text and the value. */\n clear: (reason: ChangeReason) => void;\n /** Removes the value at `index` (`multiple`). */\n removeAt: (index: number, reason: ChangeReason) => void;\n /** An item's text (`itemToStringLabel`). */\n label: (item: unknown) => string;\n /** Whether the Root has `items` (it filters them). */\n hasItems: () => boolean;\n /** The matching entries: items, or groups with their matching items. */\n entries: ComputedRef<readonly unknown[]>;\n /** The input's text changed by typing since the list opened. */\n markTyped: () => void;\n items: Map<HTMLElement, ComboboxItemInfo>;\n list: ShallowRef<HTMLElement | null>;\n /** The Trigger button (the overlay root's `trigger` is the input). */\n button: ShallowRef<HTMLElement | null>;\n inputGroup: ShallowRef<HTMLElement | null>;\n chips: ShallowRef<HTMLElement | null>;\n clearButton: ShallowRef<HTMLElement | null>;\n listId: string;\n pendingHighlight: { current: PendingHighlight };\n placed: Ref<{ side: Side; align: Align }>;\n /** Bumped when items register, so `data-empty` and the pending highlight follow. */\n itemCount: Ref<number>;\n}\n\nexport const ComboboxKey: InjectionKey<ComboboxContext> = Symbol(\"Combobox\");\n\nexport interface ComboboxItemState {\n highlighted: boolean;\n selected: boolean;\n disabled: boolean;\n}\n\nexport const ComboboxItemKey: InjectionKey<ComputedRef<ComboboxItemState>> =\n Symbol(\"ComboboxItem\");\n\nexport const ComboboxGroupKey: InjectionKey<{ labelId: string }> =\n Symbol(\"ComboboxGroup\");\n\n/** The chip's element, read when a key or a press removes it. */\nexport const ComboboxChipKey: InjectionKey<() => HTMLElement | null> =\n Symbol(\"ComboboxChip\");\n\n/** Whether the list holds no item: no matching entry, or no rendered Item. */\nexport function isEmpty(context: ComboboxContext): boolean {\n return context.hasItems()\n ? context.entries.value.length === 0\n : context.itemCount.value === 0;\n}\n\n/** The rendered items of the list, in order. */\nexport function orderedItems(context: ComboboxContext): ComboboxItemInfo[] {\n const list = context.list.value;\n if (list === null) {\n return [];\n }\n return [...list.querySelectorAll<HTMLElement>('[role=\"option\"]')]\n .map((element) => context.items.get(element))\n .filter((item): item is ComboboxItemInfo => item !== undefined);\n}\n\n/** The highlighted item, as registered. */\nexport function highlightedItem(\n context: ComboboxContext,\n): ComboboxItemInfo | undefined {\n const id = context.highlighted.value;\n if (id === null) {\n return undefined;\n }\n for (const item of context.items.values()) {\n if (item.id === id) {\n return item;\n }\n }\n return undefined;\n}\n\n/** The rendered chips, in value order. */\nexport function chipElements(context: ComboboxContext): HTMLElement[] {\n const chips = context.chips.value;\n if (chips === null) {\n return [];\n }\n return [\n ...chips.querySelectorAll<HTMLElement>(\n '[data-primitives-part=\"combobox-chip\"]',\n ),\n ];\n}\n\n/**\n * A press on the InputGroup or the Chips, outside their buttons, chips and input: focuses the\n * input and opens the list (spec/combobox.md, \"Pointer\").\n */\nexport function pressToOpen(context: ComboboxContext, event: MouseEvent): void {\n const target = event.target as Element | null;\n if (\n target === null ||\n target === context.trigger.value ||\n target.closest('button, [data-primitives-part=\"combobox-chip\"]') !==\n null\n ) {\n return;\n }\n event.preventDefault();\n if (context.disabled()) {\n return;\n }\n context.trigger.value?.focus();\n openOnPress(context);\n}\n\n/** A press on the input opens the list, on the selected item in single mode. */\nexport function openOnPress(context: ComboboxContext): void {\n if (context.open.value || context.disabled()) {\n return;\n }\n context.pendingHighlight.current = context.multiple() ? null : \"selected\";\n context.setOpen(true, \"input-press\");\n}\n","import { chipKeyTarget } from \"@fragiola/primitives/collection\";\nimport { getDirection } from \"@fragiola/primitives/direction\";\nimport { defineComponent, nextTick, provide, shallowRef } from \"vue\";\nimport { elementSetter } from \"../../composables/use-overlay-root.ts\";\nimport { useRequiredContext } from \"../../composables/use-required-context.ts\";\nimport { useProvidedDirection } from \"../../direction/direction-context.ts\";\nimport {\n type PartComponent,\n publicComponent,\n} from \"../../utils/public-component.ts\";\nimport { asProp, renderPart } from \"../../utils/render-part.ts\";\nimport { stateAttributes } from \"../../utils/state-attributes.ts\";\nimport type { ComboboxDisabledState } from \"./combobox-clear.ts\";\nimport {\n ComboboxChipKey,\n ComboboxKey,\n chipElements,\n} from \"./combobox-context.ts\";\n\n/** One value of a `multiple` combobox; the arrows move between chips (spec/combobox.md). */\nexport const ComboboxChip: PartComponent<\n Record<never, never>,\n ComboboxDisabledState\n> = publicComponent(\n defineComponent({\n name: \"ComboboxChip\",\n inheritAttrs: false,\n props: asProp,\n setup(props, { attrs, slots }) {\n const direction = useProvidedDirection();\n const context = useRequiredContext(ComboboxKey, \"Combobox.Chip\");\n const element = shallowRef<HTMLElement | null>(null);\n const setElement = elementSetter(element);\n provide(ComboboxChipKey, () => element.value);\n\n const onKeydown = (event: KeyboardEvent) => {\n if (\n context.disabled() ||\n event.ctrlKey ||\n event.metaKey ||\n event.altKey\n ) {\n return;\n }\n const current = event.currentTarget as HTMLElement;\n const chips = chipElements(context);\n const index = chips.indexOf(current);\n const action = chipKeyTarget(\n event.key,\n index,\n chips.length,\n getDirection(current, direction()) === \"rtl\",\n );\n if (action === null) {\n return;\n }\n // a printable character goes on to the input, focused below\n if (event.key.length !== 1 || event.key === \" \") {\n event.preventDefault();\n }\n if (action.open) {\n context.setOpen(true, \"list-navigation\");\n }\n const focus = () => {\n const target =\n action.focus === \"input\"\n ? context.trigger.value\n : chipElements(context)[action.focus];\n target?.focus();\n };\n if (!action.remove) {\n focus();\n return;\n }\n context.removeAt(index, \"none\");\n // the chip's index is in the chips that are left: once they render\n void nextTick().then(focus);\n };\n\n return () => {\n const disabled = context.disabled();\n return renderPart(\n \"div\",\n { attrs, slots },\n props.as,\n { disabled },\n {\n tabindex: -1,\n \"aria-disabled\": disabled ? \"true\" : undefined,\n \"data-primitives-part\": \"combobox-chip\",\n ...stateAttributes({ disabled }),\n onKeydown,\n ref: setElement,\n },\n );\n };\n },\n }),\n);\n","import { defineComponent } from \"vue\";\nimport { useRequiredContext } from \"../../composables/use-required-context.ts\";\nimport {\n type PartComponent,\n publicComponent,\n} from \"../../utils/public-component.ts\";\nimport { asProp, renderPart } from \"../../utils/render-part.ts\";\nimport { stateAttributes } from \"../../utils/state-attributes.ts\";\nimport type { ComboboxDisabledState } from \"./combobox-clear.ts\";\nimport {\n ComboboxChipKey,\n ComboboxKey,\n chipElements,\n} from \"./combobox-context.ts\";\n\n/** Removes its chip's value and returns focus to the input. */\nexport const ComboboxChipRemove: PartComponent<\n Record<never, never>,\n ComboboxDisabledState\n> = publicComponent(\n defineComponent({\n name: \"ComboboxChipRemove\",\n inheritAttrs: false,\n props: asProp,\n setup(props, { attrs, slots }) {\n const context = useRequiredContext(\n ComboboxKey,\n \"Combobox.ChipRemove\",\n );\n const chip = useRequiredContext(\n ComboboxChipKey,\n \"Combobox.ChipRemove\",\n );\n return () => {\n const disabled = context.disabled();\n return renderPart(\n \"button\",\n { attrs, slots },\n props.as,\n { disabled },\n {\n type: \"button\",\n tabindex: -1,\n disabled,\n \"data-primitives-part\": \"combobox-chip-remove\",\n ...stateAttributes({ disabled }),\n onPointerdown: (event: PointerEvent) =>\n event.preventDefault(),\n onClick: () => {\n const element = chip();\n const index =\n element === null\n ? -1\n : chipElements(context).indexOf(element);\n if (index >= 0) {\n context.removeAt(index, \"chip-remove-press\");\n }\n context.trigger.value?.focus();\n },\n },\n );\n };\n },\n }),\n);\n","import { defineComponent } from \"vue\";\nimport { elementSetter } from \"../../composables/use-overlay-root.ts\";\nimport { useRequiredContext } from \"../../composables/use-required-context.ts\";\nimport {\n type PartComponent,\n publicComponent,\n} from \"../../utils/public-component.ts\";\nimport { asProp, renderPart } from \"../../utils/render-part.ts\";\nimport { ComboboxKey, pressToOpen } from \"./combobox-context.ts\";\n\n/** `multiple`: holds the chips and the Input; a `toolbar` while it holds a chip. */\nexport const ComboboxChips: PartComponent<\n Record<never, never>,\n Record<never, never>\n> = publicComponent(\n defineComponent({\n name: \"ComboboxChips\",\n inheritAttrs: false,\n props: asProp,\n setup(props, { attrs, slots }) {\n const context = useRequiredContext(ComboboxKey, \"Combobox.Chips\");\n const setChips = elementSetter(context.chips);\n return () =>\n renderPart(\n \"div\",\n { attrs, slots },\n props.as,\n {},\n {\n role:\n context.values.value.length > 0\n ? \"toolbar\"\n : undefined,\n \"data-primitives-part\": \"combobox-chips\",\n onMousedown: (event: MouseEvent) =>\n pressToOpen(context, event),\n ref: setChips,\n },\n );\n },\n }),\n);\n","import { defineComponent } from \"vue\";\nimport { elementSetter } from \"../../composables/use-overlay-root.ts\";\nimport { useRequiredContext } from \"../../composables/use-required-context.ts\";\nimport {\n type PartComponent,\n publicComponent,\n} from \"../../utils/public-component.ts\";\nimport { asProp, renderPart } from \"../../utils/render-part.ts\";\nimport { stateAttributes } from \"../../utils/state-attributes.ts\";\nimport { ComboboxKey } from \"./combobox-context.ts\";\n\nexport interface ComboboxDisabledState {\n disabled: boolean;\n}\n\n/** Clears the text and the value; rendered only while there is a value (spec/combobox.md). */\nexport const ComboboxClear: PartComponent<\n Record<never, never>,\n ComboboxDisabledState\n> = publicComponent(\n defineComponent({\n name: \"ComboboxClear\",\n inheritAttrs: false,\n props: asProp,\n setup(props, { attrs, slots }) {\n const context = useRequiredContext(ComboboxKey, \"Combobox.Clear\");\n const setClearButton = elementSetter(context.clearButton);\n return () => {\n if (context.values.value.length === 0) {\n return null;\n }\n const disabled = context.disabled();\n return renderPart(\n \"button\",\n { attrs, slots },\n props.as,\n { disabled },\n {\n type: \"button\",\n tabindex: -1,\n disabled,\n \"data-primitives-part\": \"combobox-clear\",\n ...stateAttributes({ disabled }),\n onPointerdown: (event: PointerEvent) =>\n event.preventDefault(),\n onClick: () => {\n context.clear(\"clear-press\");\n context.trigger.value?.focus();\n },\n ref: setClearButton,\n },\n );\n };\n },\n }),\n);\n","import { defineComponent } from \"vue\";\nimport { useRequiredContext } from \"../../composables/use-required-context.ts\";\nimport {\n type PartComponent,\n publicComponent,\n} from \"../../utils/public-component.ts\";\nimport { asProp, renderPart } from \"../../utils/render-part.ts\";\nimport { ComboboxKey, isEmpty } from \"./combobox-context.ts\";\n\n/**\n * A polite live region, always rendered; its children are shown only while the list is empty\n * (spec/combobox.md).\n */\nexport const ComboboxEmpty: PartComponent<\n Record<never, never>,\n Record<never, never>\n> = publicComponent(\n defineComponent({\n name: \"ComboboxEmpty\",\n inheritAttrs: false,\n props: asProp,\n setup(props, { attrs, slots }) {\n const context = useRequiredContext(ComboboxKey, \"Combobox.Empty\");\n return () => {\n const empty = isEmpty(context);\n return renderPart(\n \"div\",\n { attrs, slots },\n props.as,\n {},\n {\n role: \"status\",\n \"aria-live\": \"polite\",\n \"aria-atomic\": \"true\",\n \"data-primitives-part\": \"combobox-empty\",\n },\n () => (empty ? slots.default?.({ state: {} }) : []),\n );\n };\n },\n }),\n);\n","import { defineComponent, provide, useId } from \"vue\";\nimport {\n type PartComponent,\n publicComponent,\n} from \"../../utils/public-component.ts\";\nimport { asProp, renderPart } from \"../../utils/render-part.ts\";\nimport { ComboboxGroupKey } from \"./combobox-context.ts\";\n\n/** A `group` of items, named by its GroupLabel (spec/combobox.md). */\nexport const ComboboxGroup: PartComponent<\n Record<never, never>,\n Record<never, never>\n> = publicComponent(\n defineComponent({\n name: \"ComboboxGroup\",\n inheritAttrs: false,\n props: asProp,\n setup(props, { attrs, slots }) {\n const labelId = `${useId()}-label`;\n provide(ComboboxGroupKey, { labelId });\n return () =>\n renderPart(\n \"div\",\n { attrs, slots },\n props.as,\n {},\n {\n role: \"group\",\n \"aria-labelledby\": labelId,\n \"data-primitives-part\": \"combobox-group\",\n },\n );\n },\n }),\n);\n","import { defineComponent } from \"vue\";\nimport { useRequiredContext } from \"../../composables/use-required-context.ts\";\nimport {\n type PartComponent,\n publicComponent,\n} from \"../../utils/public-component.ts\";\nimport { asProp, renderPart } from \"../../utils/render-part.ts\";\nimport { ComboboxGroupKey } from \"./combobox-context.ts\";\n\n/** Names its Group. */\nexport const ComboboxGroupLabel: PartComponent<\n Record<never, never>,\n Record<never, never>\n> = publicComponent(\n defineComponent({\n name: \"ComboboxGroupLabel\",\n inheritAttrs: false,\n props: asProp,\n setup(props, { attrs, slots }) {\n const group = useRequiredContext(\n ComboboxGroupKey,\n \"Combobox.GroupLabel\",\n );\n return () =>\n renderPart(\n \"div\",\n { attrs, slots },\n props.as,\n {},\n {\n id: group.labelId,\n \"data-primitives-part\": \"combobox-group-label\",\n },\n );\n },\n }),\n);\n","import { chipArrows, stepThroughNone } from \"@fragiola/primitives/collection\";\nimport { getDirection } from \"@fragiola/primitives/direction\";\nimport { defineComponent, nextTick } from \"vue\";\nimport { elementSetter } from \"../../composables/use-overlay-root.ts\";\nimport { useRequiredContext } from \"../../composables/use-required-context.ts\";\nimport { useProvidedDirection } from \"../../direction/direction-context.ts\";\nimport {\n type PartComponent,\n publicComponent,\n} from \"../../utils/public-component.ts\";\nimport { asProp, renderPart } from \"../../utils/render-part.ts\";\nimport { stateAttributes } from \"../../utils/state-attributes.ts\";\nimport {\n ComboboxKey,\n chipElements,\n highlightedItem,\n openOnPress,\n orderedItems,\n type PendingHighlight,\n} from \"./combobox-context.ts\";\n\nexport interface ComboboxOpenState {\n open: boolean;\n disabled: boolean;\n}\n\n/**\n * The `combobox`: keeps DOM focus while the list is open; the highlighted item is announced with\n * `aria-activedescendant` (spec/combobox.md, \"Keyboard\").\n */\nexport const ComboboxInput: PartComponent<\n Record<never, never>,\n ComboboxOpenState\n> = publicComponent(\n defineComponent({\n name: \"ComboboxInput\",\n inheritAttrs: false,\n props: asProp,\n setup(props, { attrs, slots }) {\n const direction = useProvidedDirection();\n const context = useRequiredContext(ComboboxKey, \"Combobox.Input\");\n const setInput = elementSetter(context.trigger);\n const openWith = (highlight: PendingHighlight, event?: Event) => {\n context.pendingHighlight.current = highlight;\n context.setOpen(true, \"list-navigation\", event);\n };\n const move = (delta: 1 | -1) => {\n // past an end, the visual focus goes back to the input; from the input, to the near end\n const items = orderedItems(context);\n const index = items.findIndex(\n (item) => item.id === context.highlighted.value,\n );\n context.highlighted.value =\n items[stepThroughNone(items.length, index, delta)]?.id ??\n null;\n };\n\n const onKeydown = (event: KeyboardEvent) => {\n const input = event.currentTarget as HTMLInputElement;\n const open = context.open.value;\n switch (event.key) {\n case \"ArrowDown\":\n case \"ArrowUp\": {\n event.preventDefault();\n if (event.altKey) {\n if (event.key === \"ArrowDown\" && !open) {\n openWith(null, event);\n } else if (event.key === \"ArrowUp\" && open) {\n context.setOpen(\n false,\n \"list-navigation\",\n event,\n );\n }\n return;\n }\n if (!open) {\n openWith(\n event.key === \"ArrowDown\" ? \"first\" : \"last\",\n event,\n );\n return;\n }\n move(event.key === \"ArrowDown\" ? 1 : -1);\n return;\n }\n case \"Enter\":\n if (open) {\n event.preventDefault();\n const active = highlightedItem(context);\n if (active !== undefined && !active.disabled) {\n context.choose(active.value);\n }\n }\n return;\n case \"Escape\":\n // the open list's layer takes Escape first; here the list is closed\n if (\n !open &&\n (context.inputValue.value !== \"\" ||\n context.values.value.length > 0)\n ) {\n event.preventDefault();\n context.clear(\"escape-key\");\n }\n return;\n case \"Tab\":\n if (open) {\n context.setOpen(false, \"focus-out\", event);\n }\n return;\n case \"Backspace\":\n if (\n context.multiple() &&\n input.value === \"\" &&\n context.values.value.length > 0\n ) {\n context.removeAt(\n context.values.value.length - 1,\n \"none\",\n );\n }\n return;\n default: {\n const chips = chipElements(context);\n if (\n context.multiple() &&\n event.key ===\n chipArrows(\n getDirection(input, direction()) === \"rtl\",\n ).previous &&\n input.selectionStart === 0 &&\n input.selectionEnd === 0 &&\n chips.length > 0\n ) {\n event.preventDefault();\n chips.at(-1)?.focus();\n }\n }\n }\n };\n\n const onInput = (event: Event) => {\n const element = event.target as HTMLInputElement;\n context.setInputValue(element.value, \"input-change\");\n // a controlled inputValue the consumer kept does not re-render the input:\n // re-assert it once the consumer's update has rendered\n // (spec/README.md, \"A controlled value the consumer rejects\")\n void nextTick().then(() => {\n if (element.value !== context.inputValue.value) {\n element.value = context.inputValue.value;\n }\n });\n context.highlighted.value = null;\n context.markTyped();\n context.pendingHighlight.current = null;\n if (!context.open.value) {\n context.setOpen(true, \"input-change\", event);\n }\n };\n\n return () => {\n const open = context.open.value;\n const disabled = context.disabled();\n const highlighted = context.highlighted.value;\n // a rendered option's id only, never a stale one (the item count tracks the options)\n void context.itemCount.value;\n const active =\n highlighted === null\n ? undefined\n : orderedItems(context).find(\n (item) => item.id === highlighted,\n );\n const { field } = context;\n return renderPart(\n \"input\",\n { attrs, slots },\n props.as,\n { open, disabled },\n {\n type: \"text\",\n id: context.triggerId,\n role: \"combobox\",\n autocomplete: \"off\",\n disabled,\n value: context.inputValue.value,\n \"aria-autocomplete\": \"list\",\n \"aria-expanded\": open ? \"true\" : \"false\",\n \"aria-controls\": context.listId,\n \"aria-activedescendant\":\n open && active ? active.id : undefined,\n ...field.aria(),\n \"data-primitives-part\": \"combobox-input\",\n ...field.attributes(),\n ...stateAttributes({ \"popup-open\": open, disabled }),\n onInput,\n onClick: () => openOnPress(context),\n onKeydown,\n onFocus: field.onFocus,\n onBlur: field.onBlur,\n ref: setInput,\n },\n );\n };\n },\n }),\n);\n","import { defineComponent } from \"vue\";\nimport { elementSetter } from \"../../composables/use-overlay-root.ts\";\nimport { useRequiredContext } from \"../../composables/use-required-context.ts\";\nimport {\n type PartComponent,\n publicComponent,\n} from \"../../utils/public-component.ts\";\nimport { asProp, renderPart } from \"../../utils/render-part.ts\";\nimport { stateAttributes } from \"../../utils/state-attributes.ts\";\nimport { ComboboxKey, pressToOpen } from \"./combobox-context.ts\";\nimport type { ComboboxOpenState } from \"./combobox-input.ts\";\n\n/** Holds the Input and its buttons; anchors the list (spec/combobox.md). */\nexport const ComboboxInputGroup: PartComponent<\n Record<never, never>,\n ComboboxOpenState\n> = publicComponent(\n defineComponent({\n name: \"ComboboxInputGroup\",\n inheritAttrs: false,\n props: asProp,\n setup(props, { attrs, slots }) {\n const context = useRequiredContext(\n ComboboxKey,\n \"Combobox.InputGroup\",\n );\n const setInputGroup = elementSetter(context.inputGroup);\n return () => {\n const open = context.open.value;\n const disabled = context.disabled();\n return renderPart(\n \"div\",\n { attrs, slots },\n props.as,\n { open, disabled },\n {\n role: \"group\",\n \"data-primitives-part\": \"combobox-input-group\",\n ...stateAttributes({ \"popup-open\": open, disabled }),\n onMousedown: (event: MouseEvent) =>\n pressToOpen(context, event),\n ref: setInputGroup,\n },\n );\n };\n },\n }),\n);\n","import { scrollIntoViewWithin } from \"@fragiola/primitives/collection\";\nimport {\n computed,\n defineComponent,\n provide,\n shallowRef,\n useId,\n watch,\n} from \"vue\";\nimport { elementSetter } from \"../../composables/use-overlay-root.ts\";\nimport { useRequiredContext } from \"../../composables/use-required-context.ts\";\nimport {\n type PartComponent,\n publicComponent,\n} from \"../../utils/public-component.ts\";\nimport { asProp, renderPart } from \"../../utils/render-part.ts\";\nimport { stateAttributes } from \"../../utils/state-attributes.ts\";\nimport type { ComboboxItemState } from \"./combobox-context.ts\";\nimport { ComboboxItemKey, ComboboxKey } from \"./combobox-context.ts\";\n\nexport interface ComboboxItemProps {\n /** The item: written into the input as `itemToStringLabel(value)` when chosen. */\n value: unknown;\n /** Can be highlighted, never chosen. */\n disabled?: boolean;\n}\n\n/** An `option` (spec/combobox.md). */\nexport const ComboboxItem: PartComponent<ComboboxItemProps, ComboboxItemState> =\n publicComponent(\n defineComponent({\n name: \"ComboboxItem\",\n inheritAttrs: false,\n props: {\n ...asProp,\n /** The item: written into the input as `itemToStringLabel(value)` when chosen. */\n value: { type: null, required: true },\n /** Can be highlighted, never chosen. */\n disabled: { type: Boolean, default: false },\n },\n setup(props, { attrs, slots }) {\n const context = useRequiredContext(\n ComboboxKey,\n \"Combobox.Item\",\n );\n const element = shallowRef<HTMLElement | null>(null);\n const setElement = elementSetter(element);\n const id = useId();\n const { items, itemCount } = context;\n watch(\n () => [element.value, props.value, props.disabled] as const,\n ([node, value, disabled], _, onCleanup) => {\n if (node === null) {\n return;\n }\n items.set(node, { value, disabled, id });\n itemCount.value = items.size;\n onCleanup(() => {\n items.delete(node);\n itemCount.value = items.size;\n });\n },\n { flush: \"post\", immediate: true },\n );\n const state = computed(() => ({\n highlighted: context.highlighted.value === id,\n selected: context.isSelected(props.value),\n disabled: props.disabled,\n }));\n provide(ComboboxItemKey, state);\n watch(\n () =>\n [\n state.value.highlighted,\n element.value,\n context.positioner.value,\n ] as const,\n ([highlighted]) => {\n // within the popup only (a list that mounts before it is placed never\n // scrolls the page), and on mount: an item can mount already highlighted\n if (highlighted && element.value) {\n scrollIntoViewWithin(\n element.value,\n context.positioner.value,\n );\n }\n },\n { flush: \"post\", immediate: true },\n );\n return () => {\n const { highlighted, selected, disabled } = state.value;\n return renderPart(\n \"div\",\n { attrs, slots },\n props.as,\n state.value,\n {\n role: \"option\",\n id,\n \"aria-selected\": selected ? \"true\" : undefined,\n \"aria-disabled\": disabled ? \"true\" : undefined,\n \"data-primitives-part\": \"combobox-item\",\n ...stateAttributes({\n highlighted,\n selected,\n disabled,\n }),\n onPointermove: () => {\n if (!state.value.highlighted) {\n context.highlighted.value = id;\n }\n },\n // the input keeps DOM focus\n onPointerdown: (event: PointerEvent) =>\n event.preventDefault(),\n onClick: () => {\n if (!props.disabled) {\n context.choose(props.value);\n }\n },\n ref: setElement,\n },\n );\n };\n },\n }),\n );\n","import { defineComponent } from \"vue\";\nimport { useRequiredContext } from \"../../composables/use-required-context.ts\";\nimport {\n type PartComponent,\n publicComponent,\n} from \"../../utils/public-component.ts\";\nimport { asProp, renderPart } from \"../../utils/render-part.ts\";\nimport { ComboboxItemKey } from \"./combobox-context.ts\";\n\nexport interface ComboboxItemIndicatorState {\n selected: boolean;\n}\n\nexport interface ComboboxItemIndicatorProps {\n /** Rendered while the item is not selected too. */\n keepMounted?: boolean;\n}\n\n/** Marks a selected item; hidden from assistive technologies (spec/combobox.md). */\nexport const ComboboxItemIndicator: PartComponent<\n ComboboxItemIndicatorProps,\n ComboboxItemIndicatorState\n> = publicComponent(\n defineComponent({\n name: \"ComboboxItemIndicator\",\n inheritAttrs: false,\n props: {\n ...asProp,\n /** Rendered while the item is not selected too. */\n keepMounted: { type: Boolean, default: false },\n },\n setup(props, { attrs, slots }) {\n const item = useRequiredContext(\n ComboboxItemKey,\n \"Combobox.ItemIndicator\",\n );\n return () => {\n const selected = item.value.selected;\n if (!selected && !props.keepMounted) {\n return null;\n }\n return renderPart(\n \"span\",\n { attrs, slots },\n props.as,\n { selected },\n {\n \"aria-hidden\": \"true\",\n \"data-primitives-part\": \"combobox-item-indicator\",\n },\n );\n };\n },\n }),\n);\n","import type { VNode } from \"vue\";\nimport { defineComponent, watch } from \"vue\";\nimport { elementSetter } from \"../../composables/use-overlay-root.ts\";\nimport { useRequiredContext } from \"../../composables/use-required-context.ts\";\nimport {\n type PublicComponent,\n publicComponent,\n} from \"../../utils/public-component.ts\";\nimport type { AsProp, RenderSlotProps } from \"../../utils/render-part.ts\";\nimport { asProp, renderPart } from \"../../utils/render-part.ts\";\nimport { stateAttributes } from \"../../utils/state-attributes.ts\";\nimport { ComboboxKey, isEmpty, orderedItems } from \"./combobox-context.ts\";\n\nexport interface ComboboxListState {\n empty: boolean;\n}\n\n/**\n * With the Root's `items`, the default slot renders each matching entry (an item, or a group whose\n * `items` are its matching items); without them, it renders once with the state. `entry` is the\n * consumer's own type, named by the slot's annotation\n * (`v-slot=\"{ entry }: { entry: Country }\"`), as React's render function infers it from its\n * parameter: `never` until annotated, so any annotation binds with no cast.\n */\nexport interface ComboboxListSlots {\n default?: (scope: {\n entry: never;\n index: number;\n state: ComboboxListState;\n }) => VNode[];\n render?: (scope: RenderSlotProps<ComboboxListState>) => VNode[];\n}\n\n/**\n * The `listbox`. With the Root's `items`, its default scoped slot renders each matching entry\n * (`v-slot=\"{ entry, index }\"`: an item, or a group); without them, its content as is. Applies\n * the highlight the keyboard asked for once its items render.\n */\nexport const ComboboxList: PublicComponent<{ as?: AsProp }, ComboboxListSlots> =\n publicComponent(\n defineComponent({\n name: \"ComboboxList\",\n inheritAttrs: false,\n props: asProp,\n setup(props, { attrs, slots }) {\n const context = useRequiredContext(\n ComboboxKey,\n \"Combobox.List\",\n );\n const setList = elementSetter(context.list);\n watch(\n // runs when the list opens (a list reopened while it closes keeps its element), or its\n // items change\n () =>\n [\n context.list.value,\n context.itemCount.value,\n context.open.value,\n ] as const,\n ([list]) => {\n const pending = context.pendingHighlight.current;\n if (list === null || pending === null) {\n return;\n }\n const items = orderedItems(context);\n // the items register after the list renders them: wait for every one\n if (\n items.length <\n list.querySelectorAll('[role=\"option\"]').length\n ) {\n return;\n }\n context.pendingHighlight.current = null;\n const selected = context.multiple()\n ? undefined\n : items.find((item) =>\n context.isSelected(item.value),\n );\n const edge =\n pending === \"first\" ? items[0] : items.at(-1);\n const target =\n selected ??\n (pending === \"selected\" ? undefined : edge);\n context.highlighted.value = target?.id ?? null;\n },\n { flush: \"post\", immediate: true },\n );\n return () => {\n const empty = isEmpty(context);\n return renderPart(\n \"div\",\n { attrs, slots },\n props.as,\n { empty },\n {\n role: \"listbox\",\n id: context.listId,\n \"aria-multiselectable\": context.multiple()\n ? \"true\"\n : undefined,\n \"data-primitives-part\": \"combobox-list\",\n ...stateAttributes({ empty }),\n ref: setList,\n },\n () =>\n context.hasItems()\n ? context.entries.value.flatMap(\n (entry, index) =>\n slots.default?.({\n entry,\n index,\n state: { empty },\n }) ?? [],\n )\n : slots.default?.({ state: { empty } }),\n );\n };\n },\n }),\n );\n","import type { Align, Side } from \"@fragiola/primitives/positioning\";\nimport { defineComponent } from \"vue\";\nimport { elementSetter } from \"../../composables/use-overlay-root.ts\";\nimport { useRequiredContext } from \"../../composables/use-required-context.ts\";\nimport {\n type PartComponent,\n publicComponent,\n} from \"../../utils/public-component.ts\";\nimport { asProp, renderPart } from \"../../utils/render-part.ts\";\nimport { stateAttributes } from \"../../utils/state-attributes.ts\";\nimport { ComboboxKey } from \"./combobox-context.ts\";\n\nexport interface ComboboxPopupState {\n open: boolean;\n side: Side;\n align: Align;\n}\n\n/** The floating container of the list (no role of its own). */\nexport const ComboboxPopup: PartComponent<\n Record<never, never>,\n ComboboxPopupState\n> = publicComponent(\n defineComponent({\n name: \"ComboboxPopup\",\n inheritAttrs: false,\n props: asProp,\n setup(props, { attrs, slots }) {\n const context = useRequiredContext(ComboboxKey, \"Combobox.Popup\");\n const setPopup = elementSetter(context.popup);\n return () => {\n const open = context.open.value;\n const status = context.presence.status.value;\n const placed = context.placed.value;\n return renderPart(\n \"div\",\n { attrs, slots },\n props.as,\n { open, ...placed },\n {\n \"data-primitives-part\": \"combobox-popup\",\n ...stateAttributes({\n open,\n closed: !open,\n side: placed.side,\n align: placed.align,\n \"starting-style\": status === \"starting\",\n \"ending-style\": status === \"ending\",\n }),\n ref: setPopup,\n },\n );\n };\n },\n }),\n);\n","import { defineComponent } from \"vue\";\nimport { useRequiredContext } from \"../../composables/use-required-context.ts\";\nimport {\n type OverlayPortalProps,\n overlayPortalProps,\n useOverlayPortal,\n} from \"../../utils/overlay-portal.ts\";\nimport {\n type ContentSlots,\n type PublicComponent,\n publicComponent,\n} from \"../../utils/public-component.ts\";\nimport { ComboboxKey } from \"./combobox-context.ts\";\n\nexport interface ComboboxPortalProps extends OverlayPortalProps {}\n\n/** Moves the content to `container` (default: the body) while mounted, or always with `keep-mounted`. */\nexport const ComboboxPortal: PublicComponent<\n ComboboxPortalProps,\n ContentSlots\n> = publicComponent(\n defineComponent({\n name: \"ComboboxPortal\",\n props: overlayPortalProps,\n setup(props, { slots }) {\n const context = useRequiredContext(ComboboxKey, \"Combobox.Portal\");\n return useOverlayPortal(context.presence.mounted, props, slots);\n },\n }),\n);\n","import { openOverlaySession } from \"@fragiola/primitives/overlay\";\nimport type { Align, Side } from \"@fragiola/primitives/positioning\";\nimport { computed, defineComponent, watch } from \"vue\";\nimport { elementSetter } from \"../../composables/use-overlay-root.ts\";\nimport type { PositionerProps } from \"../../composables/use-positioner.ts\";\nimport {\n positionerProps,\n usePositioner,\n} from \"../../composables/use-positioner.ts\";\nimport { useRequiredContext } from \"../../composables/use-required-context.ts\";\nimport {\n type PartComponent,\n publicComponent,\n} from \"../../utils/public-component.ts\";\nimport { asProp, renderPart } from \"../../utils/render-part.ts\";\nimport { stateAttributes } from \"../../utils/state-attributes.ts\";\nimport { ComboboxKey } from \"./combobox-context.ts\";\n\nexport interface ComboboxPositionerState {\n open: boolean;\n side: Side;\n align: Align;\n}\n\n/**\n * Places the list under the InputGroup (else the Chips, else the Input); the open list is a layer\n * (Escape, outside press).\n */\nexport const ComboboxPositioner: PartComponent<\n PositionerProps,\n ComboboxPositionerState\n> = publicComponent(\n defineComponent({\n name: \"ComboboxPositioner\",\n inheritAttrs: false,\n props: { ...asProp, ...positionerProps },\n setup(props, { attrs, slots }) {\n const context = useRequiredContext(\n ComboboxKey,\n \"Combobox.Positioner\",\n );\n const setPositioner = elementSetter(context.positioner);\n const anchor = computed(\n () =>\n context.inputGroup.value ??\n context.chips.value ??\n context.trigger.value,\n );\n const placed = usePositioner(\n props,\n { side: \"bottom\", align: \"start\" },\n anchor,\n context.positioner,\n null,\n context.presence.mounted,\n );\n watch(placed, (value) => (context.placed.value = value), {\n immediate: true,\n });\n watch(\n () => [context.open.value, context.positioner.value] as const,\n ([open, positioner], _, onCleanup) => {\n if (!open || positioner === null) {\n return;\n }\n const session = openOverlaySession(\n positioner.ownerDocument,\n {\n elements: () => [positioner],\n ignore: () => [\n context.trigger.value,\n context.button.value,\n context.inputGroup.value,\n context.chips.value,\n context.clearButton.value,\n ],\n dismiss: (reason, event) =>\n context.setOpen(false, reason, event),\n },\n );\n onCleanup(session.end);\n },\n { flush: \"post\", immediate: true },\n );\n return () => {\n const open = context.open.value;\n return renderPart(\n \"div\",\n { attrs, slots },\n props.as,\n { open, ...placed.value },\n {\n role: \"presentation\",\n hidden: context.presence.mounted.value\n ? undefined\n : true,\n \"data-primitives-part\": \"combobox-positioner\",\n ...stateAttributes({\n open,\n closed: !open,\n side: placed.value.side,\n align: placed.value.align,\n }),\n ref: setPositioner,\n },\n );\n };\n },\n }),\n);\n","import {\n containsFilter,\n filterItems,\n type ItemEquality,\n type ItemFilter,\n type ItemGroup,\n includesItem,\n itemFormValue,\n itemLabel,\n queryIsLabel,\n toggleItem,\n} from \"@fragiola/primitives/collection\";\nimport {\n bridgeForm,\n VISUALLY_HIDDEN_INPUT_STYLE,\n} from \"@fragiola/primitives/form\";\nimport type { Align, Side } from \"@fragiola/primitives/positioning\";\nimport {\n computed,\n defineComponent,\n Fragment,\n h,\n nextTick,\n type PropType,\n provide,\n ref,\n shallowRef,\n toRaw,\n useId,\n watch,\n} from \"vue\";\nimport { useControllable } from \"../../composables/use-controllable.ts\";\nimport { useFieldControl } from \"../../composables/use-field-control.ts\";\nimport {\n overlayRootEmits,\n overlayRootProps,\n useOverlayRoot,\n} from \"../../composables/use-overlay-root.ts\";\nimport type {\n ChangeDetails,\n ChangeReason,\n OpenChangeDetails,\n} from \"../../utils/change-details.ts\";\nimport {\n type ContentSlots,\n type PublicComponent,\n publicComponent,\n} from \"../../utils/public-component.ts\";\nimport {\n type ComboboxContext,\n type ComboboxItemInfo,\n ComboboxKey,\n} from \"./combobox-context.ts\";\n\nconst NONE: readonly unknown[] = [];\n\n/**\n * `filter` over the consumer's own items: `never` for the item and `unknown` for what\n * `itemToString` takes, so a filter typed for them (`ItemFilter<Country>`, the toolkit's\n * `containsFilter<Country>()`) binds with no cast and no `any`, as Angular's (Epic #22).\n */\nexport type ComboboxFilter = (\n item: never,\n query: string,\n itemToString: (item: unknown) => string,\n) => boolean;\n\n/** `isItemEqualToValue` over the consumer's own items (typed `(a: Country, b: Country)`). */\nexport type ComboboxItemEquality = (item: never, value: never) => boolean;\n\n/** `itemToStringLabel` / `itemToStringValue` over the consumer's own items. */\nexport type ComboboxItemToString = (item: never) => string;\n\nexport interface ComboboxRootProps {\n open?: boolean;\n defaultOpen?: boolean;\n /** The items, or groups of items: the combobox filters them (spec/combobox.md). */\n items?: readonly unknown[];\n /** Whether an item matches the query; `null` turns filtering off. */\n filter?: ComboboxFilter | null;\n /** The most items the list renders; `-1` for no limit. */\n limit?: number;\n locale?: string;\n multiple?: boolean;\n /** The selected item (or `null`), or the selected items with `multiple`. */\n value?: unknown;\n defaultValue?: unknown;\n inputValue?: string;\n defaultInputValue?: string;\n isItemEqualToValue?: ComboboxItemEquality;\n itemToStringLabel?: ComboboxItemToString;\n itemToStringValue?: ComboboxItemToString;\n name?: string;\n required?: boolean;\n disabled?: boolean;\n}\n\nexport type ComboboxRootEmits = {\n \"update:open\": (open: boolean) => true;\n openChange: (open: boolean, details: OpenChangeDetails) => true;\n openChangeComplete: (open: boolean) => true;\n \"update:value\": (value: unknown) => true;\n valueChange: (value: unknown, details: ChangeDetails) => true;\n \"update:inputValue\": (value: string) => true;\n inputValueChange: (value: string, details: ChangeDetails) => true;\n};\n\n/**\n * Holds the combobox's state (`v-model:value`, `v-model:input-value`, `v-model:open`); renders\n * its hidden form inputs (spec/combobox.md).\n */\nexport const ComboboxRoot: PublicComponent<\n ComboboxRootProps,\n ContentSlots,\n ComboboxRootEmits\n> = publicComponent(\n defineComponent({\n name: \"ComboboxRoot\",\n props: {\n ...overlayRootProps,\n /** The items, or groups of items: the combobox filters them (spec/combobox.md). */\n items: {\n type: Array as PropType<\n readonly (unknown | ItemGroup<unknown>)[]\n >,\n default: undefined,\n },\n /** Whether an item matches the query; `null` turns filtering off. */\n filter: {\n type: Function as PropType<ComboboxFilter | null>,\n default: undefined,\n },\n /** The most items the list renders; `-1` for no limit. */\n limit: { type: Number, default: -1 },\n locale: { type: String, default: undefined },\n multiple: { type: Boolean, default: false },\n /** The selected item (or `null`), or the selected items with `multiple`. */\n value: { type: null, default: undefined },\n defaultValue: {\n type: null,\n default: undefined,\n },\n inputValue: { type: String, default: undefined },\n defaultInputValue: { type: String, default: undefined },\n isItemEqualToValue: {\n type: Function as PropType<ComboboxItemEquality>,\n default: undefined,\n },\n itemToStringLabel: {\n type: Function as PropType<ComboboxItemToString>,\n default: undefined,\n },\n itemToStringValue: {\n type: Function as PropType<ComboboxItemToString>,\n default: undefined,\n },\n name: { type: String, default: undefined },\n required: { type: Boolean, default: false },\n disabled: { type: Boolean, default: false },\n },\n emits: {\n ...overlayRootEmits,\n \"update:value\": (_value: unknown) => true,\n valueChange: (_value: unknown, _details: ChangeDetails) => true,\n \"update:inputValue\": (_value: string) => true,\n inputValueChange: (_value: string, _details: ChangeDetails) => true,\n },\n setup(props, { emit, slots, expose }) {\n const root = useOverlayRoot(props, emit);\n // a template ref on the Root: `close()` and `unmount()` (spec/README.md, \"Lifecycle\")\n expose(root.actions);\n const multiple = () => props.multiple;\n // read at reset time too: the form reset takes the current default (as React does)\n const defaultValue = (): unknown =>\n props.defaultValue ?? (props.multiple ? NONE : null);\n // the consumer's callbacks take its own items, which are the items given here\n const label = (item: unknown) =>\n itemLabel(\n item,\n props.itemToStringLabel as\n | ((item: unknown) => string)\n | undefined,\n );\n const formValue = (item: unknown) =>\n itemFormValue(\n item,\n props.itemToStringValue as\n | ((item: unknown) => string)\n | undefined,\n );\n const valueState = useControllable<unknown, ChangeDetails>(\n () => props.value,\n defaultValue(),\n (next, details) => {\n emit(\"update:value\", next);\n emit(\"valueChange\", next, details);\n },\n );\n const value = computed(() => valueState.value.value);\n const values = computed<readonly unknown[]>(() => {\n const current = value.value;\n if (props.multiple) {\n return (current as readonly unknown[] | null) ?? NONE;\n }\n return current === null || current === undefined\n ? NONE\n : [current];\n });\n const inputState = useControllable<string, ChangeDetails>(\n () => props.inputValue,\n props.defaultInputValue ??\n (props.multiple\n ? \"\"\n : label(props.value ?? defaultValue())),\n (next, details) => {\n emit(\"update:inputValue\", next);\n emit(\"inputValueChange\", next, details);\n },\n );\n const inputValue = computed(() => inputState.value.value);\n\n const hidden = shallowRef<HTMLInputElement | null>(null);\n const field = useFieldControl({\n // the input's rendered id: the consumer's, else the generated one\n id: () => root.trigger.value?.id || root.triggerId,\n labelable: true,\n value: () => value.value,\n filled: () => values.value.length > 0,\n input: () => hidden.value,\n focusTarget: () => root.trigger.value,\n });\n const disabled = () => props.disabled || field.disabled();\n const highlighted = ref<string | null>(null);\n const typed = ref(false);\n const pendingHighlight: ComboboxContext[\"pendingHighlight\"] = {\n current: null,\n };\n\n const setOpen = (\n next: boolean,\n reason: ChangeReason,\n event?: Event,\n ): boolean => {\n // a close the consumer cancels leaves the list, its text and highlight as they are\n const changed = root.setOpen(next, reason, event);\n if ((!next || reason !== \"input-change\") && (changed || next)) {\n typed.value = false;\n }\n if (next || !changed) {\n return changed;\n }\n // a list reopened during its exit animation starts with no highlight\n highlighted.value = null;\n pendingHighlight.current = null;\n if (reason === \"item-press\") {\n return changed;\n }\n // closing without a choice resets the text (spec/combobox.md, \"Choosing an item\")\n const text = props.multiple ? \"\" : label(value.value);\n if (inputValue.value !== text) {\n inputState.set(text, {\n reason: text === \"\" ? \"input-clear\" : \"none\",\n });\n }\n return changed;\n };\n // a value held in the consumer's `ref` is its reactive proxy: compare the raw objects\n const isEqual = (item: unknown, other: unknown) =>\n props.isItemEqualToValue\n ? (props.isItemEqualToValue as ItemEquality<unknown>)(\n item,\n other,\n )\n : Object.is(toRaw(item), toRaw(other));\n\n const filter = computed<ItemFilter<unknown> | null>(() =>\n props.filter === undefined\n ? containsFilter<unknown>(props.locale)\n : (props.filter as ItemFilter<unknown> | null),\n );\n const entries = computed<readonly unknown[]>(() => {\n const items = props.items;\n if (items === undefined) {\n return NONE;\n }\n const query = inputValue.value.trim();\n // a single combobox that opened on its selected item's label shows every item\n const whole =\n !props.multiple &&\n !typed.value &&\n values.value.length > 0 &&\n queryIsLabel(label(values.value[0]), query, props.locale);\n return filterItems(items, whole ? \"\" : query, {\n filter: filter.value,\n limit: props.limit,\n itemToString: label,\n });\n });\n\n const context: ComboboxContext = {\n ...root,\n setOpen,\n field,\n multiple,\n value,\n values,\n inputValue,\n setInputValue: (next, reason) =>\n inputState.set(next, { reason }),\n disabled,\n highlighted,\n isSelected: (item) => includesItem(values.value, item, isEqual),\n choose(item) {\n highlighted.value = null;\n if (!props.multiple) {\n valueState.set(item, { reason: \"item-press\" });\n inputState.set(label(item), { reason: \"item-press\" });\n setOpen(false, \"item-press\");\n return;\n }\n valueState.set(toggleItem(values.value, item, isEqual), {\n reason: \"item-press\",\n });\n if (inputValue.value.trim() !== \"\") {\n inputState.set(\"\", { reason: \"input-clear\" });\n setOpen(false, \"item-press\");\n }\n },\n clear(reason) {\n inputState.set(\"\", { reason });\n valueState.set(props.multiple ? [] : null, { reason });\n highlighted.value = null;\n },\n removeAt(index, reason) {\n valueState.set(\n values.value.filter((_, at) => at !== index),\n { reason },\n );\n },\n label,\n hasItems: () => props.items !== undefined,\n entries,\n markTyped: () => {\n typed.value = true;\n },\n items: new Map<HTMLElement, ComboboxItemInfo>(),\n list: shallowRef(null),\n button: shallowRef(null),\n inputGroup: shallowRef(null),\n chips: shallowRef(null),\n clearButton: shallowRef(null),\n listId: `${useId()}-list`,\n pendingHighlight,\n placed: ref<{ side: Side; align: Align }>({\n side: \"bottom\",\n align: \"start\",\n }),\n itemCount: ref(0),\n };\n provide(ComboboxKey, context);\n\n watch(\n hidden,\n (element, _, onCleanup) => {\n if (element === null) {\n return;\n }\n onCleanup(\n bridgeForm(element, {\n reset: () => {\n const initial = defaultValue();\n field.reset();\n valueState.set(initial, { reason: \"none\" });\n inputState.set(\n props.multiple ? \"\" : label(initial),\n { reason: \"none\" },\n );\n // the browser reset the elements: write the state back once rendered\n void nextTick().then(() => {\n const input = root.trigger.value;\n if (\n input instanceof HTMLInputElement &&\n input.value !== inputValue.value\n ) {\n input.value = inputValue.value;\n }\n if (!props.multiple) {\n element.value = formValue(value.value);\n }\n });\n },\n invalid: () => root.trigger.value,\n }),\n );\n },\n { flush: \"post\" },\n );\n\n return () => {\n const fieldName = field.name() ?? props.name;\n const isMultiple = props.multiple;\n const count = values.value.length;\n return h(Fragment, [\n slots.default?.(),\n h(\"input\", {\n ref: (element: unknown) => {\n hidden.value = element as HTMLInputElement | null;\n },\n \"aria-hidden\": \"true\",\n tabindex: -1,\n name: isMultiple ? undefined : fieldName,\n value: isMultiple ? \"\" : formValue(value.value),\n required: isMultiple\n ? props.required && count === 0\n : props.required,\n disabled: disabled(),\n style: VISUALLY_HIDDEN_INPUT_STYLE,\n \"data-primitives-part\": \"combobox-hidden-input\",\n }),\n ...(isMultiple && fieldName !== undefined\n ? values.value.map((item, index) =>\n h(\"input\", {\n // two values may share a form value\n key: index,\n type: \"hidden\",\n name: fieldName,\n value: formValue(item),\n disabled: disabled(),\n \"data-primitives-part\":\n \"combobox-hidden-input\",\n }),\n )\n : []),\n ]);\n };\n },\n }),\n);\n","import { defineComponent } from \"vue\";\nimport {\n type PartComponent,\n publicComponent,\n} from \"../../utils/public-component.ts\";\nimport { asProp, renderPart } from \"../../utils/render-part.ts\";\n\n/** Between groups; no role of its own (a `listbox` owns only groups and options). */\nexport const ComboboxSeparator: PartComponent<\n Record<never, never>,\n Record<never, never>\n> = publicComponent(\n defineComponent({\n name: \"ComboboxSeparator\",\n inheritAttrs: false,\n props: asProp,\n setup(props, { attrs, slots }) {\n return () =>\n renderPart(\n \"div\",\n { attrs, slots },\n props.as,\n {},\n {\n role: \"presentation\",\n \"data-orientation\": \"horizontal\",\n \"data-primitives-part\": \"combobox-separator\",\n },\n );\n },\n }),\n);\n","import { defineComponent } from \"vue\";\nimport {\n type PartComponent,\n publicComponent,\n} from \"../../utils/public-component.ts\";\nimport { asProp, renderPart } from \"../../utils/render-part.ts\";\n\n/** A polite live region for the consumer's text (spec/combobox.md). */\nexport const ComboboxStatus: PartComponent<\n Record<never, never>,\n Record<never, never>\n> = publicComponent(\n defineComponent({\n name: \"ComboboxStatus\",\n inheritAttrs: false,\n props: asProp,\n setup(props, { attrs, slots }) {\n return () =>\n renderPart(\n \"div\",\n { attrs, slots },\n props.as,\n {},\n {\n role: \"status\",\n \"aria-live\": \"polite\",\n \"aria-atomic\": \"true\",\n \"data-primitives-part\": \"combobox-status\",\n },\n );\n },\n }),\n);\n","import { defineComponent } from \"vue\";\nimport { elementSetter } from \"../../composables/use-overlay-root.ts\";\nimport { useRequiredContext } from \"../../composables/use-required-context.ts\";\nimport {\n type PartComponent,\n publicComponent,\n} from \"../../utils/public-component.ts\";\nimport { asProp, renderPart } from \"../../utils/render-part.ts\";\nimport { stateAttributes } from \"../../utils/state-attributes.ts\";\nimport { ComboboxKey } from \"./combobox-context.ts\";\nimport type { ComboboxOpenState } from \"./combobox-input.ts\";\n\n/** Toggles the list; not in the tab order, keeps focus in the input. */\nexport const ComboboxTrigger: PartComponent<\n Record<never, never>,\n ComboboxOpenState\n> = publicComponent(\n defineComponent({\n name: \"ComboboxTrigger\",\n inheritAttrs: false,\n props: asProp,\n setup(props, { attrs, slots }) {\n const context = useRequiredContext(ComboboxKey, \"Combobox.Trigger\");\n const setButton = elementSetter(context.button);\n return () => {\n const open = context.open.value;\n const disabled = context.disabled();\n return renderPart(\n \"button\",\n { attrs, slots },\n props.as,\n { open, disabled },\n {\n type: \"button\",\n tabindex: -1,\n disabled,\n \"aria-expanded\": open ? \"true\" : \"false\",\n \"aria-controls\": context.listId,\n \"data-primitives-part\": \"combobox-trigger\",\n ...stateAttributes({ \"popup-open\": open, disabled }),\n onPointerdown: (event: PointerEvent) =>\n event.preventDefault(),\n onClick: (event: MouseEvent) => {\n context.pendingHighlight.current = null;\n context.setOpen(\n !context.open.value,\n \"trigger-press\",\n event,\n );\n context.trigger.value?.focus();\n },\n ref: setButton,\n },\n );\n };\n },\n }),\n);\n","import type { VNode } from \"vue\";\nimport { defineComponent } from \"vue\";\nimport { useRequiredContext } from \"../../composables/use-required-context.ts\";\nimport {\n type PublicComponent,\n publicComponent,\n} from \"../../utils/public-component.ts\";\nimport { ComboboxKey } from \"./combobox-context.ts\";\n\n/**\n * The default slot renders the value: an item or `null`, or the list of items with `multiple`.\n * `value` is the consumer's own type, named by the slot's annotation\n * (`v-slot=\"{ value }: { value: Country[] }\"`), as React's render function infers it from its\n * parameter: `never` until annotated, so any annotation binds with no cast.\n */\nexport interface ComboboxValueSlots {\n default?: (scope: { value: never }) => VNode[];\n}\n\n/**\n * Renders the value: its label (labels joined with \", \"), or the default scoped slot\n * (`v-slot=\"{ value }\"`: an item or `null`, or the list of items).\n */\nexport const ComboboxValue: PublicComponent<\n Record<never, never>,\n ComboboxValueSlots\n> = publicComponent(\n defineComponent({\n name: \"ComboboxValue\",\n setup(_, { slots }) {\n const context = useRequiredContext(ComboboxKey, \"Combobox.Value\");\n return () =>\n slots.default?.({ value: context.value.value }) ??\n context.values.value.map(context.label).join(\", \");\n },\n }),\n);\n","import { ComboboxChip } from \"./combobox-chip.ts\";\nimport { ComboboxChipRemove } from \"./combobox-chip-remove.ts\";\nimport { ComboboxChips } from \"./combobox-chips.ts\";\nimport { ComboboxClear } from \"./combobox-clear.ts\";\nimport { ComboboxEmpty } from \"./combobox-empty.ts\";\nimport { ComboboxGroup } from \"./combobox-group.ts\";\nimport { ComboboxGroupLabel } from \"./combobox-group-label.ts\";\nimport { ComboboxInput } from \"./combobox-input.ts\";\nimport { ComboboxInputGroup } from \"./combobox-input-group.ts\";\nimport { ComboboxItem } from \"./combobox-item.ts\";\nimport { ComboboxItemIndicator } from \"./combobox-item-indicator.ts\";\nimport { ComboboxList } from \"./combobox-list.ts\";\nimport { ComboboxPopup } from \"./combobox-popup.ts\";\nimport { ComboboxPortal } from \"./combobox-portal.ts\";\nimport { ComboboxPositioner } from \"./combobox-positioner.ts\";\nimport { ComboboxRoot } from \"./combobox-root.ts\";\nimport { ComboboxSeparator } from \"./combobox-separator.ts\";\nimport { ComboboxStatus } from \"./combobox-status.ts\";\nimport { ComboboxTrigger } from \"./combobox-trigger.ts\";\nimport { ComboboxValue } from \"./combobox-value.ts\";\n\n/** spec/combobox.md */\nexport const Combobox = {\n Root: ComboboxRoot,\n InputGroup: ComboboxInputGroup,\n Input: ComboboxInput,\n Trigger: ComboboxTrigger,\n Clear: ComboboxClear,\n Chips: ComboboxChips,\n Chip: ComboboxChip,\n ChipRemove: ComboboxChipRemove,\n Value: ComboboxValue,\n Status: ComboboxStatus,\n Portal: ComboboxPortal,\n Positioner: ComboboxPositioner,\n Popup: ComboboxPopup,\n Empty: ComboboxEmpty,\n List: ComboboxList,\n Group: ComboboxGroup,\n GroupLabel: ComboboxGroupLabel,\n Separator: ComboboxSeparator,\n Item: ComboboxItem,\n ItemIndicator: ComboboxItemIndicator,\n};\n"],"mappings":";;;;;;;;;;;;;;;;AA4DA,MAAa,cAA6C,OAAO,UAAU;AAQ3E,MAAa,kBACT,OAAO,cAAc;AAEzB,MAAa,mBACT,OAAO,eAAe;;AAG1B,MAAa,kBACT,OAAO,cAAc;;AAGzB,SAAgB,QAAQ,SAAmC;CACvD,OAAO,QAAQ,SAAS,IAClB,QAAQ,QAAQ,MAAM,WAAW,IACjC,QAAQ,UAAU,UAAU;AACtC;;AAGA,SAAgB,aAAa,SAA8C;CACvE,MAAM,OAAO,QAAQ,KAAK;CAC1B,IAAI,SAAS,MACT,OAAO,CAAC;CAEZ,OAAO,CAAC,GAAG,KAAK,iBAA8B,mBAAiB,CAAC,CAAC,CAC5D,KAAK,YAAY,QAAQ,MAAM,IAAI,OAAO,CAAC,CAAC,CAC5C,QAAQ,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