bootstrap-vue-next 0.44.7 → 0.45.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/dist/{BAlert-BnT7fF6B.js → BAlert-CHbgLTZH.js} +2 -2
- package/dist/{BAlert-BnT7fF6B.js.map → BAlert-CHbgLTZH.js.map} +1 -1
- package/dist/{BAlert-Qiyqq4rE.mjs → BAlert-CRRUJXYi.mjs} +2 -2
- package/dist/{BAlert-Qiyqq4rE.mjs.map → BAlert-CRRUJXYi.mjs.map} +1 -1
- package/dist/{BAutocomplete-jAlZC6_t.js → BAutocomplete-4CFl6XQR.js} +3 -3
- package/dist/{BAutocomplete-jAlZC6_t.js.map → BAutocomplete-4CFl6XQR.js.map} +1 -1
- package/dist/{BAutocomplete-QBIaWPY1.mjs → BAutocomplete-B7yzKPIp.mjs} +3 -3
- package/dist/{BAutocomplete-QBIaWPY1.mjs.map → BAutocomplete-B7yzKPIp.mjs.map} +1 -1
- package/dist/{BAvatar-lefHkDuG.js → BAvatar-BHqTW5Ll.js} +1 -2
- package/dist/BAvatar-BHqTW5Ll.js.map +1 -0
- package/dist/{BAvatar-D7aFEXLH.mjs → BAvatar-BSLk69M0.mjs} +1 -2
- package/dist/BAvatar-BSLk69M0.mjs.map +1 -0
- package/dist/{BButton-kykTWnBy.js → BButton-BUYwco3v.js} +4 -4
- package/dist/BButton-BUYwco3v.js.map +1 -0
- package/dist/{BButton-DBRs8Pz_.js → BButton-Bw4HgpsF.js} +10 -13
- package/dist/BButton-Bw4HgpsF.js.map +1 -0
- package/dist/{BButton-BRvIFnRm.mjs → BButton-CDo9SRvU.mjs} +10 -13
- package/dist/BButton-CDo9SRvU.mjs.map +1 -0
- package/dist/{BButton-DNmtqoqR.mjs → BButton-DgequxLk.mjs} +4 -4
- package/dist/BButton-DgequxLk.mjs.map +1 -0
- package/dist/{BDropdown-C1AxRj81.js → BDropdown-BxciLgyt.js} +15 -16
- package/dist/BDropdown-BxciLgyt.js.map +1 -0
- package/dist/{BDropdown-BW_O8vPQ.mjs → BDropdown-CRIh9xqy.mjs} +2 -2
- package/dist/{BDropdown-BW_O8vPQ.mjs.map → BDropdown-CRIh9xqy.mjs.map} +1 -1
- package/dist/{BDropdown-DAHnN54Z.mjs → BDropdown-D2pBrZsG.mjs} +15 -16
- package/dist/BDropdown-D2pBrZsG.mjs.map +1 -0
- package/dist/{BDropdown-CuVOxCzu.js → BDropdown-DgbFCKfP.js} +2 -2
- package/dist/{BDropdown-CuVOxCzu.js.map → BDropdown-DgbFCKfP.js.map} +1 -1
- package/dist/{BFormCheckbox-Bdk2rgVe.js → BFormCheckbox-BPQxUDQG.js} +5 -5
- package/dist/BFormCheckbox-BPQxUDQG.js.map +1 -0
- package/dist/{BFormCheckbox-CcDK-lh1.mjs → BFormCheckbox-DPNPjRKN.mjs} +5 -5
- package/dist/BFormCheckbox-DPNPjRKN.mjs.map +1 -0
- package/dist/{BFormRadio-DuVYw-Vs.js → BFormRadio-BZ0etDxl.js} +5 -5
- package/dist/BFormRadio-BZ0etDxl.js.map +1 -0
- package/dist/{BFormRadio-CRDbgMiR.mjs → BFormRadio-CqYd0bLV.mjs} +5 -5
- package/dist/BFormRadio-CqYd0bLV.mjs.map +1 -0
- package/dist/{BFormSelect-DIKVsG--.js → BFormSelect-B_mbfTMC.js} +5 -5
- package/dist/BFormSelect-B_mbfTMC.js.map +1 -0
- package/dist/{BFormSelect-Bb8yE8vz.mjs → BFormSelect-CpkJ1haI.mjs} +5 -5
- package/dist/BFormSelect-CpkJ1haI.mjs.map +1 -0
- package/dist/{BFormTags-BFA6xbr3.js → BFormTags-DJzXJp7d.js} +3 -3
- package/dist/BFormTags-DJzXJp7d.js.map +1 -0
- package/dist/{BFormTags-CJb4H67g.mjs → BFormTags-DWAWX2av.mjs} +3 -3
- package/dist/BFormTags-DWAWX2av.mjs.map +1 -0
- package/dist/{BInputGroup-BScMw6Zr.js → BInputGroup-Bfcs5h_Q.js} +2 -2
- package/dist/{BInputGroup-BScMw6Zr.js.map → BInputGroup-Bfcs5h_Q.js.map} +1 -1
- package/dist/{BInputGroup-DpX10xwR.mjs → BInputGroup-C5sxenhE.mjs} +3 -3
- package/dist/BInputGroup-C5sxenhE.mjs.map +1 -0
- package/dist/{BInputGroup-Duk6Jk0v.js → BInputGroup-DTP5Vf1f.js} +3 -3
- package/dist/BInputGroup-DTP5Vf1f.js.map +1 -0
- package/dist/{BInputGroup-C7k0tS9j.mjs → BInputGroup-Dl9AgpAx.mjs} +2 -2
- package/dist/{BInputGroup-C7k0tS9j.mjs.map → BInputGroup-Dl9AgpAx.mjs.map} +1 -1
- package/dist/{BModal-D0LB339D.js → BModal-BnHYbFuj.js} +5 -5
- package/dist/BModal-BnHYbFuj.js.map +1 -0
- package/dist/{BModal-Br5xLT0-.mjs → BModal-CAjLrkBp.mjs} +5 -5
- package/dist/BModal-CAjLrkBp.mjs.map +1 -0
- package/dist/{BNav-BRjdHsjC.mjs → BNav-BdO2N7G0.mjs} +4 -3
- package/dist/{BNav-BRjdHsjC.mjs.map → BNav-BdO2N7G0.mjs.map} +1 -1
- package/dist/{BNav-tYBwz1wU.js → BNav-MjroX-Jl.js} +4 -3
- package/dist/{BNav-tYBwz1wU.js.map → BNav-MjroX-Jl.js.map} +1 -1
- package/dist/{BOffcanvas-D33pEfZe.js → BOffcanvas-ColOuYdV.js} +2 -2
- package/dist/{BOffcanvas-D33pEfZe.js.map → BOffcanvas-ColOuYdV.js.map} +1 -1
- package/dist/{BOffcanvas-jETHbtC3.mjs → BOffcanvas-DmkJSSFy.mjs} +2 -2
- package/dist/{BOffcanvas-jETHbtC3.mjs.map → BOffcanvas-DmkJSSFy.mjs.map} +1 -1
- package/dist/{BPlaceholder-C4AOg29f.mjs → BPlaceholder-DKDtjMjy.mjs} +9 -9
- package/dist/BPlaceholder-DKDtjMjy.mjs.map +1 -0
- package/dist/{BPlaceholder-DYYYuNgR.js → BPlaceholder-n447tOzJ.js} +9 -9
- package/dist/BPlaceholder-n447tOzJ.js.map +1 -0
- package/dist/{BToast-DCSZYXIi.js → BToast-BFcT76M1.js} +2 -2
- package/dist/{BToast-DCSZYXIi.js.map → BToast-BFcT76M1.js.map} +1 -1
- package/dist/{BToast-B2rFKhLD.mjs → BToast-D5XkJqF4.mjs} +2 -2
- package/dist/{BToast-B2rFKhLD.mjs.map → BToast-D5XkJqF4.mjs.map} +1 -1
- package/dist/{BTooltip-CryTO-SM.js → BTooltip-BwiqjqX-.js} +2 -2
- package/dist/{BTooltip-CryTO-SM.js.map → BTooltip-BwiqjqX-.js.map} +1 -1
- package/dist/{BTooltip-DtpjIEBu.mjs → BTooltip-DohT1Q3C.mjs} +2 -2
- package/dist/{BTooltip-DtpjIEBu.mjs.map → BTooltip-DohT1Q3C.mjs.map} +1 -1
- package/dist/bootstrap-vue-next.mjs +20 -20
- package/dist/bootstrap-vue-next.umd.js +20 -20
- package/dist/components/BContainer/BCol.vue.d.mts +1 -1
- package/dist/components/BContainer/BCol.vue.d.ts +1 -1
- package/dist/components/BDropdown/BDropdown.vue.d.mts +1 -0
- package/dist/components/BDropdown/BDropdown.vue.d.ts +1 -0
- package/dist/components/BNav/BNavItemDropdown.vue.d.mts +13 -2
- package/dist/components/BNav/BNavItemDropdown.vue.d.ts +13 -2
- package/dist/{floatingUi-DHMrP__c.mjs → floatingUi-BAUk171g.mjs} +10 -2
- package/dist/{floatingUi-DHMrP__c.mjs.map → floatingUi-BAUk171g.mjs.map} +1 -1
- package/dist/{floatingUi-Cs4rDXmO.js → floatingUi-DBLN9xLH.js} +15 -1
- package/dist/{floatingUi-Cs4rDXmO.js.map → floatingUi-DBLN9xLH.js.map} +1 -1
- package/dist/keys-CQKrwmvN.mjs.map +1 -1
- package/dist/keys-durSVUrO.js.map +1 -1
- package/dist/src/components/BAlert/index.mjs +1 -1
- package/dist/src/components/BAlert/index.umd.js +1 -1
- package/dist/src/components/BAutocomplete/index.mjs +1 -1
- package/dist/src/components/BAutocomplete/index.umd.js +1 -1
- package/dist/src/components/BAvatar/index.mjs +1 -1
- package/dist/src/components/BAvatar/index.umd.js +1 -1
- package/dist/src/components/BButton/index.mjs +2 -2
- package/dist/src/components/BButton/index.umd.js +2 -2
- package/dist/src/components/BDropdown/index.mjs +2 -2
- package/dist/src/components/BDropdown/index.umd.js +2 -2
- package/dist/src/components/BFormCheckbox/index.mjs +1 -1
- package/dist/src/components/BFormCheckbox/index.umd.js +1 -1
- package/dist/src/components/BFormRadio/index.mjs +1 -1
- package/dist/src/components/BFormRadio/index.umd.js +1 -1
- package/dist/src/components/BFormSelect/index.mjs +1 -1
- package/dist/src/components/BFormSelect/index.umd.js +1 -1
- package/dist/src/components/BFormTags/index.mjs +1 -1
- package/dist/src/components/BFormTags/index.umd.js +1 -1
- package/dist/src/components/BInputGroup/index.mjs +2 -2
- package/dist/src/components/BInputGroup/index.umd.js +2 -2
- package/dist/src/components/BModal/index.mjs +1 -1
- package/dist/src/components/BModal/index.umd.js +1 -1
- package/dist/src/components/BNav/index.mjs +1 -1
- package/dist/src/components/BNav/index.umd.js +1 -1
- package/dist/src/components/BOffcanvas/index.mjs +1 -1
- package/dist/src/components/BOffcanvas/index.umd.js +1 -1
- package/dist/src/components/BPlaceholder/index.mjs +1 -1
- package/dist/src/components/BPlaceholder/index.umd.js +1 -1
- package/dist/src/components/BPopover/index.mjs +1 -1
- package/dist/src/components/BPopover/index.umd.js +1 -1
- package/dist/src/components/BToast/index.mjs +1 -1
- package/dist/src/components/BToast/index.umd.js +1 -1
- package/dist/src/components/BTooltip/index.mjs +1 -1
- package/dist/src/components/BTooltip/index.umd.js +1 -1
- package/dist/src/components/index.mjs +20 -20
- package/dist/src/components/index.umd.js +20 -20
- package/dist/src/composables/useModal/index.mjs +1 -1
- package/dist/src/composables/useModal/index.umd.js +1 -1
- package/dist/src/composables/usePopover/index.mjs +2 -2
- package/dist/src/composables/usePopover/index.umd.js +2 -2
- package/dist/src/composables/useToast/index.mjs +1 -1
- package/dist/src/composables/useToast/index.umd.js +1 -1
- package/dist/src/directives/BPopover/index.mjs +2 -2
- package/dist/src/directives/BPopover/index.umd.js +2 -2
- package/dist/src/directives/BScrollspy/index.mjs +1 -1
- package/dist/src/directives/BScrollspy/index.umd.js +1 -1
- package/dist/src/directives/BToggle/index.mjs +1 -1
- package/dist/src/directives/BToggle/index.umd.js +1 -1
- package/dist/src/directives/BTooltip/index.mjs +2 -2
- package/dist/src/directives/BTooltip/index.umd.js +2 -2
- package/dist/types/ComponentProps.d.mts +1 -0
- package/dist/types/ComponentProps.d.ts +1 -0
- package/dist/types/ComponentSlots.d.mts +2 -1
- package/dist/types/ComponentSlots.d.ts +2 -1
- package/dist/types/Size.d.mts +0 -1
- package/dist/types/Size.d.ts +0 -1
- package/dist/{useFormCheck-CJvIDxcO.mjs → useFormCheck-CbRHduFK.mjs} +3 -3
- package/dist/useFormCheck-CbRHduFK.mjs.map +1 -0
- package/dist/{useFormCheck-UHNy_iZ0.js → useFormCheck-Cj5K6pk-.js} +3 -3
- package/dist/useFormCheck-Cj5K6pk-.js.map +1 -0
- package/dist/utils/floatingUi.d.mts +1 -0
- package/dist/utils/floatingUi.d.ts +1 -0
- package/dist/utils/keys.d.mts +2 -2
- package/dist/utils/keys.d.ts +2 -2
- package/dist/{utils-CgwCsk6U.mjs → utils-D30CwVm-.mjs} +3 -4
- package/dist/utils-D30CwVm-.mjs.map +1 -0
- package/dist/{utils-CaC78Zdk.js → utils-DtPi91ue.js} +3 -4
- package/dist/utils-DtPi91ue.js.map +1 -0
- package/package.json +1 -1
- package/dist/BAvatar-D7aFEXLH.mjs.map +0 -1
- package/dist/BAvatar-lefHkDuG.js.map +0 -1
- package/dist/BButton-BRvIFnRm.mjs.map +0 -1
- package/dist/BButton-DBRs8Pz_.js.map +0 -1
- package/dist/BButton-DNmtqoqR.mjs.map +0 -1
- package/dist/BButton-kykTWnBy.js.map +0 -1
- package/dist/BDropdown-C1AxRj81.js.map +0 -1
- package/dist/BDropdown-DAHnN54Z.mjs.map +0 -1
- package/dist/BFormCheckbox-Bdk2rgVe.js.map +0 -1
- package/dist/BFormCheckbox-CcDK-lh1.mjs.map +0 -1
- package/dist/BFormRadio-CRDbgMiR.mjs.map +0 -1
- package/dist/BFormRadio-DuVYw-Vs.js.map +0 -1
- package/dist/BFormSelect-Bb8yE8vz.mjs.map +0 -1
- package/dist/BFormSelect-DIKVsG--.js.map +0 -1
- package/dist/BFormTags-BFA6xbr3.js.map +0 -1
- package/dist/BFormTags-CJb4H67g.mjs.map +0 -1
- package/dist/BInputGroup-DpX10xwR.mjs.map +0 -1
- package/dist/BInputGroup-Duk6Jk0v.js.map +0 -1
- package/dist/BModal-Br5xLT0-.mjs.map +0 -1
- package/dist/BModal-D0LB339D.js.map +0 -1
- package/dist/BPlaceholder-C4AOg29f.mjs.map +0 -1
- package/dist/BPlaceholder-DYYYuNgR.js.map +0 -1
- package/dist/useFormCheck-CJvIDxcO.mjs.map +0 -1
- package/dist/useFormCheck-UHNy_iZ0.js.map +0 -1
- package/dist/utils-CaC78Zdk.js.map +0 -1
- package/dist/utils-CgwCsk6U.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BAutocomplete-jAlZC6_t.js","names":["#t","unrefElement","refAutoReset","getActiveElement","usePrimitiveElement","Slot","createContext","usePrimitiveElement","useKbd","useDirection","useVModel","createEventHook","Primitive","VisuallyHiddenInput_default","refAutoReset","Primitive","useVModel","usePrimitiveElement","Primitive","createContext","useId","useForwardExpose","Primitive","Primitive","createContext","usePrimitiveElement","useDirection","useVModel","createEventHook","PopperRoot_default","useForwardExpose","PopperAnchor_default","Primitive","createContext","useForwardExpose","useForwardProps","getActiveElement","FocusScope_default","DismissableLayer_default","PopperContent_default","Primitive","useForwardPropsEmits","useForwardExpose","useId","Presence_default","Primitive","createContext","usePrimitiveElement","useVModel","useId","usePrimitiveElement","Teleport_default","useForwardExpose","Primitive","injectConfigProviderContext","useForwardExpose","Fragment","Primitive"],"sources":["../../../node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/shared/ohash.D__AXeF1.mjs","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/arrays.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useFilter.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useFormControl.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useTypeahead.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Collection/Collection.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Listbox/utils.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/RovingFocus/utils.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Listbox/ListboxRoot.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Listbox/ListboxContent.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Listbox/ListboxFilter.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Listbox/ListboxItem.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Listbox/ListboxItemIndicator.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxRoot.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxAnchor.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxContentImpl.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxContent.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxEmpty.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxGroup.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxInput.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxItem.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxItemIndicator.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxPortal.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxTrigger.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useNonce.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxViewport.js","../src/components/BAutocomplete/BAutocomplete.vue","../src/components/BAutocomplete/BAutocomplete.vue"],"sourcesContent":["function serialize(o){return typeof o==\"string\"?`'${o}'`:new c().serialize(o)}const c=/*@__PURE__*/function(){class o{#t=new Map;compare(t,r){const e=typeof t,n=typeof r;return e===\"string\"&&n===\"string\"?t.localeCompare(r):e===\"number\"&&n===\"number\"?t-r:String.prototype.localeCompare.call(this.serialize(t,true),this.serialize(r,true))}serialize(t,r){if(t===null)return \"null\";switch(typeof t){case \"string\":return r?t:`'${t}'`;case \"bigint\":return `${t}n`;case \"object\":return this.$object(t);case \"function\":return this.$function(t)}return String(t)}serializeObject(t){const r=Object.prototype.toString.call(t);if(r!==\"[object Object]\")return this.serializeBuiltInType(r.length<10?`unknown:${r}`:r.slice(8,-1),t);const e=t.constructor,n=e===Object||e===void 0?\"\":e.name;if(n!==\"\"&&globalThis[n]===e)return this.serializeBuiltInType(n,t);if(typeof t.toJSON==\"function\"){const i=t.toJSON();return n+(i!==null&&typeof i==\"object\"?this.$object(i):`(${this.serialize(i)})`)}return this.serializeObjectEntries(n,Object.entries(t))}serializeBuiltInType(t,r){const e=this[\"$\"+t];if(e)return e.call(this,r);if(typeof r?.entries==\"function\")return this.serializeObjectEntries(t,r.entries());throw new Error(`Cannot serialize ${t}`)}serializeObjectEntries(t,r){const e=Array.from(r).sort((i,a)=>this.compare(i[0],a[0]));let n=`${t}{`;for(let i=0;i<e.length;i++){const[a,l]=e[i];n+=`${this.serialize(a,true)}:${this.serialize(l)}`,i<e.length-1&&(n+=\",\");}return n+\"}\"}$object(t){let r=this.#t.get(t);return r===void 0&&(this.#t.set(t,`#${this.#t.size}`),r=this.serializeObject(t),this.#t.set(t,r)),r}$function(t){const r=Function.prototype.toString.call(t);return r.slice(-15)===\"[native code] }\"?`${t.name||\"\"}()[native]`:`${t.name}(${t.length})${r.replace(/\\s*\\n\\s*/g,\"\")}`}$Array(t){let r=\"[\";for(let e=0;e<t.length;e++)r+=this.serialize(t[e]),e<t.length-1&&(r+=\",\");return r+\"]\"}$Date(t){try{return `Date(${t.toISOString()})`}catch{return \"Date(null)\"}}$ArrayBuffer(t){return `ArrayBuffer[${new Uint8Array(t).join(\",\")}]`}$Set(t){return `Set${this.$Array(Array.from(t).sort((r,e)=>this.compare(r,e)))}`}$Map(t){return this.serializeObjectEntries(\"Map\",t.entries())}}for(const s of [\"Error\",\"RegExp\",\"URL\"])o.prototype[\"$\"+s]=function(t){return `${s}(${t})`};for(const s of [\"Int8Array\",\"Uint8Array\",\"Uint8ClampedArray\",\"Int16Array\",\"Uint16Array\",\"Int32Array\",\"Uint32Array\",\"Float32Array\",\"Float64Array\"])o.prototype[\"$\"+s]=function(t){return `${s}[${t.join(\",\")}]`};for(const s of [\"BigInt64Array\",\"BigUint64Array\"])o.prototype[\"$\"+s]=function(t){return `${s}[${t.join(\"n,\")}${t.length>0?\"n\":\"\"}]`};return o}();\n\nfunction isEqual(object1, object2) {\n if (object1 === object2) {\n return true;\n }\n if (serialize(object1) === serialize(object2)) {\n return true;\n }\n return false;\n}\n\nexport { isEqual as i, serialize as s };\n","import { isEqual } from \"ohash\";\n\n//#region src/shared/arrays.ts\n/**\n* The function `areEqual` compares two arrays and returns true if they are equal in length and have\n* the same elements at corresponding indexes.\n* @param {any[]} arrayA - An array of any type of elements.\n* @param {any[]} arrayB - It looks like you haven't provided the value for `arrayB`. Could you please\n* provide the arrayB value so that I can assist you further?\n* @returns The function `areEqual` is returning a boolean value, either `true` if the two input arrays\n* `arrayA` and `arrayB` are equal, or `false` if they are not equal.\n*/\nfunction areEqual(arrayA, arrayB) {\n\tif (arrayA.length !== arrayB.length) return false;\n\tfor (let index = 0; index < arrayA.length; index++) if (arrayA[index] !== arrayB[index]) return false;\n\treturn true;\n}\n/**\n* The function `findValuesBetween` takes an array and two values, then returns a subarray containing\n* elements between the first occurrence of the start value and the first occurrence of the end value\n* in the array.\n* @param {T[]} array - The `array` parameter is an array of values of type `T`.\n* @param {T} start - The `start` parameter is the value that marks the beginning of the range you want\n* to find in the array.\n* @param {T} end - The `end` parameter in the `findValuesBetween` function represents the end value\n* that you want to find in the array. This function will return a subarray of values that are between\n* the `start` and `end` values in the original array.\n* @returns The `findValuesBetween` function returns an array of values from the input array that are\n* between the `start` and `end` values (inclusive). If either the `start` or `end` values are not\n* found in the input array, an empty array is returned.\n*/\nfunction findValuesBetween(array, start, end) {\n\tconst startIndex = array.findIndex((i) => isEqual(i, start));\n\tconst endIndex = array.findIndex((i) => isEqual(i, end));\n\tif (startIndex === -1 || endIndex === -1) return [];\n\tconst [minIndex, maxIndex] = [startIndex, endIndex].sort((a, b) => a - b);\n\treturn array.slice(minIndex, maxIndex + 1);\n}\n\n//#endregion\nexport { areEqual, findValuesBetween };\n//# sourceMappingURL=arrays.js.map","import { computed, unref } from \"vue\";\n\n//#region src/shared/useFilter.ts\n/**\n* Provides locale-aware string filtering functions.\n* Uses `Intl.Collator` for comparison to ensure proper Unicode handling.\n*\n* @param options - Optional collator options to customize comparison behavior.\n* See [Intl.CollatorOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Collator/Collator#options) for details.\n* @returns An object with methods to check if a string starts with, ends with, or contains a substring.\n*\n* @example\n* const { startsWith, endsWith, contains } = useFilter();\n*\n* startsWith('hello', 'he'); // true\n* endsWith('hello', 'lo'); // true\n* contains('hello', 'ell'); // true\n*/\nfunction useFilter(options) {\n\tconst computedOptions = computed(() => unref(options));\n\tconst collator = computed(() => new Intl.Collator(\"en\", {\n\t\tusage: \"search\",\n\t\t...computedOptions.value\n\t}));\n\tconst startsWith = (string, substring) => {\n\t\tif (substring.length === 0) return true;\n\t\tstring = string.normalize(\"NFC\");\n\t\tsubstring = substring.normalize(\"NFC\");\n\t\treturn collator.value.compare(string.slice(0, substring.length), substring) === 0;\n\t};\n\tconst endsWith = (string, substring) => {\n\t\tif (substring.length === 0) return true;\n\t\tstring = string.normalize(\"NFC\");\n\t\tsubstring = substring.normalize(\"NFC\");\n\t\treturn collator.value.compare(string.slice(-substring.length), substring) === 0;\n\t};\n\tconst contains = (string, substring) => {\n\t\tif (substring.length === 0) return true;\n\t\tstring = string.normalize(\"NFC\");\n\t\tsubstring = substring.normalize(\"NFC\");\n\t\tlet scan = 0;\n\t\tconst sliceLen = substring.length;\n\t\tfor (; scan + sliceLen <= string.length; scan++) {\n\t\t\tconst slice = string.slice(scan, scan + sliceLen);\n\t\t\tif (collator.value.compare(substring, slice) === 0) return true;\n\t\t}\n\t\treturn false;\n\t};\n\treturn {\n\t\tstartsWith,\n\t\tendsWith,\n\t\tcontains\n\t};\n}\n\n//#endregion\nexport { useFilter };\n//# sourceMappingURL=useFilter.js.map","import { computed, toValue } from \"vue\";\nimport { unrefElement } from \"@vueuse/core\";\n\n//#region src/shared/useFormControl.ts\nfunction useFormControl(el) {\n\treturn computed(() => toValue(el) ? Boolean(unrefElement(el)?.closest(\"form\")) : true);\n}\n\n//#endregion\nexport { useFormControl };\n//# sourceMappingURL=useFormControl.js.map","import { getActiveElement } from \"./getActiveElement.js\";\nimport { refAutoReset } from \"@vueuse/shared\";\n\n//#region src/shared/useTypeahead.ts\nfunction useTypeahead(callback) {\n\tconst search = refAutoReset(\"\", 1e3);\n\tconst handleTypeaheadSearch = (key, items) => {\n\t\tsearch.value = search.value + key;\n\t\tif (callback) callback(key);\n\t\telse {\n\t\t\tconst currentItem = getActiveElement();\n\t\t\tconst itemsWithTextValue = items.map((item) => ({\n\t\t\t\t...item,\n\t\t\t\ttextValue: item.value?.textValue ?? item.ref.textContent?.trim() ?? \"\"\n\t\t\t}));\n\t\t\tconst currentMatch = itemsWithTextValue.find((item) => item.ref === currentItem);\n\t\t\tconst values = itemsWithTextValue.map((item) => item.textValue);\n\t\t\tconst nextMatch = getNextMatch(values, search.value, currentMatch?.textValue);\n\t\t\tconst newItem = itemsWithTextValue.find((item) => item.textValue === nextMatch);\n\t\t\tif (newItem) newItem.ref.focus();\n\t\t\treturn newItem?.ref;\n\t\t}\n\t};\n\tconst resetTypeahead = () => {\n\t\tsearch.value = \"\";\n\t};\n\treturn {\n\t\tsearch,\n\t\thandleTypeaheadSearch,\n\t\tresetTypeahead\n\t};\n}\n/**\n* Wraps an array around itself at a given start index\n* Example: `wrapArray(['a', 'b', 'c', 'd'], 2) === ['c', 'd', 'a', 'b']`\n*/\nfunction wrapArray(array, startIndex) {\n\treturn array.map((_, index) => array[(startIndex + index) % array.length]);\n}\n/**\n* This is the \"meat\" of the typeahead matching logic. It takes in all the values,\n* the search and the current match, and returns the next match (or `undefined`).\n*\n* We normalize the search because if a user has repeatedly pressed a character,\n* we want the exact same behavior as if we only had that one character\n* (ie. cycle through options starting with that character)\n*\n* We also reorder the values by wrapping the array around the current match.\n* This is so we always look forward from the current match, and picking the first\n* match will always be the correct one.\n*\n* Finally, if the normalized search is exactly one character, we exclude the\n* current match from the values because otherwise it would be the first to match always\n* and focus would never move. This is as opposed to the regular case, where we\n* don't want focus to move if the current match still matches.\n*/\nfunction getNextMatch(values, search, currentMatch) {\n\tconst isRepeated = search.length > 1 && Array.from(search).every((char) => char === search[0]);\n\tconst normalizedSearch = isRepeated ? search[0] : search;\n\tconst currentMatchIndex = currentMatch ? values.indexOf(currentMatch) : -1;\n\tlet wrappedValues = wrapArray(values, Math.max(currentMatchIndex, 0));\n\tconst excludeCurrentMatch = normalizedSearch.length === 1;\n\tif (excludeCurrentMatch) wrappedValues = wrappedValues.filter((v) => v !== currentMatch);\n\tconst nextMatch = wrappedValues.find((value) => value.toLowerCase().startsWith(normalizedSearch.toLowerCase()));\n\treturn nextMatch !== currentMatch ? nextMatch : void 0;\n}\n\n//#endregion\nexport { getNextMatch, useTypeahead, wrapArray };\n//# sourceMappingURL=useTypeahead.js.map","import { Slot } from \"../Primitive/Slot.js\";\nimport { usePrimitiveElement } from \"../Primitive/usePrimitiveElement.js\";\nimport { computed, defineComponent, h, inject, markRaw, provide, ref, watch, watchEffect } from \"vue\";\n\n//#region src/Collection/Collection.ts\nconst ITEM_DATA_ATTR = \"data-reka-collection-item\";\nfunction useCollection(options = {}) {\n\tconst { key = \"\", isProvider = false } = options;\n\tconst injectionKey = `${key}CollectionProvider`;\n\tlet context;\n\tif (isProvider) {\n\t\tconst itemMap = ref(/* @__PURE__ */ new Map());\n\t\tconst collectionRef = ref();\n\t\tcontext = {\n\t\t\tcollectionRef,\n\t\t\titemMap\n\t\t};\n\t\tprovide(injectionKey, context);\n\t} else context = inject(injectionKey);\n\tconst getItems = (includeDisabledItem = false) => {\n\t\tconst collectionNode = context.collectionRef.value;\n\t\tif (!collectionNode) return [];\n\t\tconst orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n\t\tconst items = Array.from(context.itemMap.value.values());\n\t\tconst orderedItems = items.sort((a, b) => orderedNodes.indexOf(a.ref) - orderedNodes.indexOf(b.ref));\n\t\tif (includeDisabledItem) return orderedItems;\n\t\telse return orderedItems.filter((i) => i.ref.dataset.disabled !== \"\");\n\t};\n\tconst CollectionSlot = defineComponent({\n\t\tname: \"CollectionSlot\",\n\t\tinheritAttrs: false,\n\t\tsetup(_, { slots, attrs }) {\n\t\t\tconst { primitiveElement, currentElement } = usePrimitiveElement();\n\t\t\twatch(currentElement, () => {\n\t\t\t\tcontext.collectionRef.value = currentElement.value;\n\t\t\t});\n\t\t\treturn () => h(Slot, {\n\t\t\t\tref: primitiveElement,\n\t\t\t\t...attrs\n\t\t\t}, slots);\n\t\t}\n\t});\n\tconst CollectionItem = defineComponent({\n\t\tname: \"CollectionItem\",\n\t\tinheritAttrs: false,\n\t\tprops: { value: { validator: () => true } },\n\t\tsetup(props, { slots, attrs }) {\n\t\t\tconst { primitiveElement, currentElement } = usePrimitiveElement();\n\t\t\twatchEffect((cleanupFn) => {\n\t\t\t\tif (currentElement.value) {\n\t\t\t\t\tconst key$1 = markRaw(currentElement.value);\n\t\t\t\t\tcontext.itemMap.value.set(key$1, {\n\t\t\t\t\t\tref: currentElement.value,\n\t\t\t\t\t\tvalue: props.value\n\t\t\t\t\t});\n\t\t\t\t\tcleanupFn(() => context.itemMap.value.delete(key$1));\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn () => h(Slot, {\n\t\t\t\t...attrs,\n\t\t\t\t[ITEM_DATA_ATTR]: \"\",\n\t\t\t\tref: primitiveElement\n\t\t\t}, slots);\n\t\t}\n\t});\n\tconst reactiveItems = computed(() => Array.from(context.itemMap.value.values()));\n\tconst itemMapSize = computed(() => context.itemMap.value.size);\n\treturn {\n\t\tgetItems,\n\t\treactiveItems,\n\t\titemMapSize,\n\t\tCollectionSlot,\n\t\tCollectionItem\n\t};\n}\n\n//#endregion\nexport { useCollection };\n//# sourceMappingURL=Collection.js.map","import { isEqual } from \"ohash\";\n\n//#region src/Listbox/utils.ts\nfunction queryCheckedElement(parentEl) {\n\treturn parentEl?.querySelector(\"[data-state=checked]\");\n}\nfunction valueComparator(value, currentValue, comparator) {\n\tif (value === void 0) return false;\n\telse if (Array.isArray(value)) return value.some((val) => compare(val, currentValue, comparator));\n\telse return compare(value, currentValue, comparator);\n}\nfunction compare(value, currentValue, comparator) {\n\tif (value === void 0 || currentValue === void 0) return false;\n\tif (typeof value === \"string\") return value === currentValue;\n\tif (typeof comparator === \"function\") return comparator(value, currentValue);\n\tif (typeof comparator === \"string\") return value?.[comparator] === currentValue?.[comparator];\n\treturn isEqual(value, currentValue);\n}\n\n//#endregion\nexport { compare, queryCheckedElement, valueComparator };\n//# sourceMappingURL=utils.js.map","import { getActiveElement } from \"../shared/getActiveElement.js\";\n\n//#region src/RovingFocus/utils.ts\nconst ENTRY_FOCUS = \"rovingFocusGroup.onEntryFocus\";\nconst EVENT_OPTIONS = {\n\tbubbles: false,\n\tcancelable: true\n};\nconst MAP_KEY_TO_FOCUS_INTENT = {\n\tArrowLeft: \"prev\",\n\tArrowUp: \"prev\",\n\tArrowRight: \"next\",\n\tArrowDown: \"next\",\n\tPageUp: \"first\",\n\tHome: \"first\",\n\tPageDown: \"last\",\n\tEnd: \"last\"\n};\nfunction getDirectionAwareKey(key, dir) {\n\tif (dir !== \"rtl\") return key;\n\treturn key === \"ArrowLeft\" ? \"ArrowRight\" : key === \"ArrowRight\" ? \"ArrowLeft\" : key;\n}\nfunction getFocusIntent(event, orientation, dir) {\n\tconst key = getDirectionAwareKey(event.key, dir);\n\tif (orientation === \"vertical\" && [\"ArrowLeft\", \"ArrowRight\"].includes(key)) return void 0;\n\tif (orientation === \"horizontal\" && [\"ArrowUp\", \"ArrowDown\"].includes(key)) return void 0;\n\treturn MAP_KEY_TO_FOCUS_INTENT[key];\n}\nfunction focusFirst(candidates, preventScroll = false) {\n\tconst PREVIOUSLY_FOCUSED_ELEMENT = getActiveElement();\n\tfor (const candidate of candidates) {\n\t\tif (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n\t\tcandidate.focus({ preventScroll });\n\t\tif (getActiveElement() !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n\t}\n}\n/**\n* Wraps an array around itself at a given start index\n* Example: `wrapArray(['a', 'b', 'c', 'd'], 2) === ['c', 'd', 'a', 'b']`\n*/\nfunction wrapArray(array, startIndex) {\n\treturn array.map((_, index) => array[(startIndex + index) % array.length]);\n}\n\n//#endregion\nexport { ENTRY_FOCUS, EVENT_OPTIONS, MAP_KEY_TO_FOCUS_INTENT, focusFirst, getFocusIntent, wrapArray };\n//# sourceMappingURL=utils.js.map","import { findValuesBetween } from \"../shared/arrays.js\";\nimport { createContext } from \"../shared/createContext.js\";\nimport { useDirection } from \"../shared/useDirection.js\";\nimport { useFormControl } from \"../shared/useFormControl.js\";\nimport { useKbd } from \"../shared/useKbd.js\";\nimport { useTypeahead } from \"../shared/useTypeahead.js\";\nimport { Primitive } from \"../Primitive/Primitive.js\";\nimport { usePrimitiveElement } from \"../Primitive/usePrimitiveElement.js\";\nimport { useCollection } from \"../Collection/Collection.js\";\nimport { VisuallyHiddenInput_default } from \"../VisuallyHidden/VisuallyHiddenInput.js\";\nimport { compare } from \"./utils.js\";\nimport { getFocusIntent } from \"../RovingFocus/utils.js\";\nimport { createBlock, createCommentVNode, defineComponent, nextTick, openBlock, ref, renderSlot, toRefs, unref, watch, withCtx } from \"vue\";\nimport { createEventHook, useVModel } from \"@vueuse/core\";\n\n//#region src/Listbox/ListboxRoot.vue?vue&type=script&setup=true&lang.ts\nconst [injectListboxRootContext, provideListboxRootContext] = createContext(\"ListboxRoot\");\nvar ListboxRoot_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ListboxRoot\",\n\tprops: {\n\t\tmodelValue: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tdefaultValue: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tmultiple: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\torientation: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t\tdefault: \"vertical\"\n\t\t},\n\t\tdir: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tselectionBehavior: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t\tdefault: \"toggle\"\n\t\t},\n\t\thighlightOnHover: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tby: {\n\t\t\ttype: [String, Function],\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tname: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\trequired: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t}\n\t},\n\temits: [\n\t\t\"update:modelValue\",\n\t\t\"highlight\",\n\t\t\"entryFocus\",\n\t\t\"leave\"\n\t],\n\tsetup(__props, { expose: __expose, emit: __emit }) {\n\t\tconst props = __props;\n\t\tconst emits = __emit;\n\t\tconst { multiple, highlightOnHover, orientation, disabled, selectionBehavior, dir: propDir } = toRefs(props);\n\t\tconst { getItems } = useCollection({ isProvider: true });\n\t\tconst { handleTypeaheadSearch } = useTypeahead();\n\t\tconst { primitiveElement, currentElement } = usePrimitiveElement();\n\t\tconst kbd = useKbd();\n\t\tconst dir = useDirection(propDir);\n\t\tconst isFormControl = useFormControl(currentElement);\n\t\tconst firstValue = ref();\n\t\tconst isUserAction = ref(false);\n\t\tconst focusable = ref(true);\n\t\tconst modelValue = useVModel(props, \"modelValue\", emits, {\n\t\t\tdefaultValue: props.defaultValue ?? (multiple.value ? [] : void 0),\n\t\t\tpassive: props.modelValue === void 0,\n\t\t\tdeep: true\n\t\t});\n\t\tfunction onValueChange(val) {\n\t\t\tisUserAction.value = true;\n\t\t\tif (props.multiple) {\n\t\t\t\tconst modelArray = Array.isArray(modelValue.value) ? [...modelValue.value] : [];\n\t\t\t\tconst index = modelArray.findIndex((i) => compare(i, val, props.by));\n\t\t\t\tif (props.selectionBehavior === \"toggle\") {\n\t\t\t\t\tindex === -1 ? modelArray.push(val) : modelArray.splice(index, 1);\n\t\t\t\t\tmodelValue.value = modelArray;\n\t\t\t\t} else {\n\t\t\t\t\tmodelValue.value = [val];\n\t\t\t\t\tfirstValue.value = val;\n\t\t\t\t}\n\t\t\t} else if (props.selectionBehavior === \"toggle\") if (compare(modelValue.value, val, props.by)) modelValue.value = void 0;\n\t\t\telse modelValue.value = val;\n\t\t\telse modelValue.value = val;\n\t\t\tsetTimeout(() => {\n\t\t\t\tisUserAction.value = false;\n\t\t\t}, 1);\n\t\t}\n\t\tconst highlightedElement = ref(null);\n\t\tconst previousElement = ref(null);\n\t\tconst isVirtual = ref(false);\n\t\tconst isComposing = ref(false);\n\t\tconst virtualFocusHook = createEventHook();\n\t\tconst virtualKeydownHook = createEventHook();\n\t\tconst virtualHighlightHook = createEventHook();\n\t\tfunction getCollectionItem() {\n\t\t\treturn getItems().map((i) => i.ref).filter((i) => i.dataset.disabled !== \"\");\n\t\t}\n\t\tfunction changeHighlight(el, scrollIntoView = true) {\n\t\t\tif (!el) return;\n\t\t\thighlightedElement.value = el;\n\t\t\tif (focusable.value) highlightedElement.value.focus();\n\t\t\tif (scrollIntoView) highlightedElement.value.scrollIntoView({ block: \"nearest\" });\n\t\t\tconst highlightedItem = getItems().find((i) => i.ref === el);\n\t\t\temits(\"highlight\", highlightedItem);\n\t\t}\n\t\tfunction highlightItem(value) {\n\t\t\tif (isVirtual.value) virtualHighlightHook.trigger(value);\n\t\t\telse {\n\t\t\t\tconst item = getItems().find((i) => compare(i.value, value, props.by));\n\t\t\t\tif (item) {\n\t\t\t\t\thighlightedElement.value = item.ref;\n\t\t\t\t\tchangeHighlight(item.ref);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfunction onKeydownEnter(event) {\n\t\t\tif (highlightedElement.value && highlightedElement.value.isConnected) {\n\t\t\t\tevent.preventDefault();\n\t\t\t\tevent.stopPropagation();\n\t\t\t\tif (!isComposing.value) highlightedElement.value.click();\n\t\t\t}\n\t\t}\n\t\tfunction onKeydownTypeAhead(event) {\n\t\t\tif (!focusable.value) return;\n\t\t\tisUserAction.value = true;\n\t\t\tif (isVirtual.value) virtualKeydownHook.trigger(event);\n\t\t\telse {\n\t\t\t\tconst isMetaKey = event.altKey || event.ctrlKey || event.metaKey;\n\t\t\t\tif (isMetaKey && event.key === \"a\" && multiple.value) {\n\t\t\t\t\tconst collection = getItems();\n\t\t\t\t\tconst values = collection.map((i) => i.value);\n\t\t\t\t\tmodelValue.value = [...values];\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\tchangeHighlight(collection[collection.length - 1].ref);\n\t\t\t\t} else if (!isMetaKey) {\n\t\t\t\t\tconst el = handleTypeaheadSearch(event.key, getItems());\n\t\t\t\t\tif (el) changeHighlight(el);\n\t\t\t\t}\n\t\t\t}\n\t\t\tsetTimeout(() => {\n\t\t\t\tisUserAction.value = false;\n\t\t\t}, 1);\n\t\t}\n\t\tfunction onCompositionStart() {\n\t\t\tisComposing.value = true;\n\t\t}\n\t\tfunction onCompositionEnd() {\n\t\t\tnextTick(() => {\n\t\t\t\tisComposing.value = false;\n\t\t\t});\n\t\t}\n\t\tfunction highlightFirstItem() {\n\t\t\tnextTick(() => {\n\t\t\t\tconst event = new KeyboardEvent(\"keydown\", { key: \"PageUp\" });\n\t\t\t\tonKeydownNavigation(event);\n\t\t\t});\n\t\t}\n\t\tfunction onLeave(event) {\n\t\t\tconst el = highlightedElement.value;\n\t\t\tif (el?.isConnected) previousElement.value = el;\n\t\t\thighlightedElement.value = null;\n\t\t\temits(\"leave\", event);\n\t\t}\n\t\tfunction onEnter(event) {\n\t\t\tconst entryFocusEvent = new CustomEvent(\"listbox.entryFocus\", {\n\t\t\t\tbubbles: false,\n\t\t\t\tcancelable: true\n\t\t\t});\n\t\t\tevent.currentTarget?.dispatchEvent(entryFocusEvent);\n\t\t\temits(\"entryFocus\", entryFocusEvent);\n\t\t\tif (entryFocusEvent.defaultPrevented) return;\n\t\t\tif (previousElement.value) changeHighlight(previousElement.value);\n\t\t\telse {\n\t\t\t\tconst el = getCollectionItem()?.[0];\n\t\t\t\tchangeHighlight(el);\n\t\t\t}\n\t\t}\n\t\tfunction onKeydownNavigation(event) {\n\t\t\tconst intent = getFocusIntent(event, orientation.value, dir.value);\n\t\t\tif (!intent) return;\n\t\t\tlet collection = getCollectionItem();\n\t\t\tif (highlightedElement.value) {\n\t\t\t\tif (intent === \"last\") collection.reverse();\n\t\t\t\telse if (intent === \"prev\" || intent === \"next\") {\n\t\t\t\t\tif (intent === \"prev\") collection.reverse();\n\t\t\t\t\tconst currentIndex = collection.indexOf(highlightedElement.value);\n\t\t\t\t\tcollection = collection.slice(currentIndex + 1);\n\t\t\t\t}\n\t\t\t\thandleMultipleReplace(event, collection[0]);\n\t\t\t}\n\t\t\tif (collection.length) {\n\t\t\t\tconst index = !highlightedElement.value && intent === \"prev\" ? collection.length - 1 : 0;\n\t\t\t\tchangeHighlight(collection[index]);\n\t\t\t}\n\t\t\tif (isVirtual.value) return virtualKeydownHook.trigger(event);\n\t\t}\n\t\tfunction handleMultipleReplace(event, targetEl) {\n\t\t\tif (isVirtual.value || props.selectionBehavior !== \"replace\" || !multiple.value || !Array.isArray(modelValue.value)) return;\n\t\t\tconst isMetaKey = event.altKey || event.ctrlKey || event.metaKey;\n\t\t\tif (isMetaKey && !event.shiftKey) return;\n\t\t\tif (event.shiftKey) {\n\t\t\t\tconst collection = getItems().filter((i) => i.ref.dataset.disabled !== \"\");\n\t\t\t\tlet lastValue = collection.find((i) => i.ref === targetEl)?.value;\n\t\t\t\tif (event.key === kbd.END) lastValue = collection[collection.length - 1].value;\n\t\t\t\telse if (event.key === kbd.HOME) lastValue = collection[0].value;\n\t\t\t\tif (!lastValue || !firstValue.value) return;\n\t\t\t\tconst values = findValuesBetween(collection.map((i) => i.value), firstValue.value, lastValue);\n\t\t\t\tmodelValue.value = values;\n\t\t\t}\n\t\t}\n\t\tasync function highlightSelected(event) {\n\t\t\tawait nextTick();\n\t\t\tif (isVirtual.value) virtualFocusHook.trigger(event);\n\t\t\telse {\n\t\t\t\tconst collection = getCollectionItem();\n\t\t\t\tconst item = collection.find((i) => i.dataset.state === \"checked\");\n\t\t\t\tif (item) changeHighlight(item);\n\t\t\t\telse if (collection.length) changeHighlight(collection[0]);\n\t\t\t}\n\t\t}\n\t\twatch(modelValue, () => {\n\t\t\tif (!isUserAction.value) nextTick(() => {\n\t\t\t\thighlightSelected();\n\t\t\t});\n\t\t}, {\n\t\t\timmediate: true,\n\t\t\tdeep: true\n\t\t});\n\t\t__expose({\n\t\t\thighlightedElement,\n\t\t\thighlightItem,\n\t\t\thighlightFirstItem,\n\t\t\thighlightSelected,\n\t\t\tgetItems\n\t\t});\n\t\tprovideListboxRootContext({\n\t\t\tmodelValue,\n\t\t\tonValueChange,\n\t\t\tmultiple,\n\t\t\torientation,\n\t\t\tdir,\n\t\t\tdisabled,\n\t\t\thighlightOnHover,\n\t\t\thighlightedElement,\n\t\t\tisVirtual,\n\t\t\tvirtualFocusHook,\n\t\t\tvirtualKeydownHook,\n\t\t\tvirtualHighlightHook,\n\t\t\tby: props.by,\n\t\t\tfirstValue,\n\t\t\tselectionBehavior,\n\t\t\tfocusable,\n\t\t\tonLeave,\n\t\t\tonEnter,\n\t\t\tchangeHighlight,\n\t\t\tonKeydownEnter,\n\t\t\tonKeydownNavigation,\n\t\t\tonKeydownTypeAhead,\n\t\t\tonCompositionStart,\n\t\t\tonCompositionEnd,\n\t\t\thighlightFirstItem\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(Primitive), {\n\t\t\t\tref_key: \"primitiveElement\",\n\t\t\t\tref: primitiveElement,\n\t\t\t\tas: _ctx.as,\n\t\t\t\t\"as-child\": _ctx.asChild,\n\t\t\t\tdir: unref(dir),\n\t\t\t\t\"data-disabled\": unref(disabled) ? \"\" : void 0,\n\t\t\t\tonPointerleave: onLeave,\n\t\t\t\tonFocusout: _cache[0] || (_cache[0] = async (event) => {\n\t\t\t\t\tconst target = event.relatedTarget || event.target;\n\t\t\t\t\tawait nextTick();\n\t\t\t\t\tif (highlightedElement.value && unref(currentElement) && !unref(currentElement).contains(target)) onLeave(event);\n\t\t\t\t})\n\t\t\t}, {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\", { modelValue: unref(modelValue) }), unref(isFormControl) && _ctx.name ? (openBlock(), createBlock(unref(VisuallyHiddenInput_default), {\n\t\t\t\t\tkey: 0,\n\t\t\t\t\tname: _ctx.name,\n\t\t\t\t\tvalue: unref(modelValue),\n\t\t\t\t\tdisabled: unref(disabled),\n\t\t\t\t\trequired: _ctx.required\n\t\t\t\t}, null, 8, [\n\t\t\t\t\t\"name\",\n\t\t\t\t\t\"value\",\n\t\t\t\t\t\"disabled\",\n\t\t\t\t\t\"required\"\n\t\t\t\t])) : createCommentVNode(\"v-if\", true)]),\n\t\t\t\t_: 3\n\t\t\t}, 8, [\n\t\t\t\t\"as\",\n\t\t\t\t\"as-child\",\n\t\t\t\t\"dir\",\n\t\t\t\t\"data-disabled\"\n\t\t\t]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Listbox/ListboxRoot.vue\nvar ListboxRoot_default = ListboxRoot_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ListboxRoot_default, injectListboxRootContext };\n//# sourceMappingURL=ListboxRoot.js.map","import { Primitive } from \"../Primitive/Primitive.js\";\nimport { useCollection } from \"../Collection/Collection.js\";\nimport { injectListboxRootContext } from \"./ListboxRoot.js\";\nimport { createBlock, createVNode, defineComponent, openBlock, renderSlot, unref, withCtx, withKeys, withModifiers } from \"vue\";\nimport { refAutoReset } from \"@vueuse/shared\";\n\n//#region src/Listbox/ListboxContent.vue?vue&type=script&setup=true&lang.ts\nvar ListboxContent_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ListboxContent\",\n\tprops: {\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst { CollectionSlot } = useCollection();\n\t\tconst rootContext = injectListboxRootContext();\n\t\tconst isClickFocus = refAutoReset(false, 10);\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(CollectionSlot), null, {\n\t\t\t\tdefault: withCtx(() => [createVNode(unref(Primitive), {\n\t\t\t\t\trole: \"listbox\",\n\t\t\t\t\tas: _ctx.as,\n\t\t\t\t\t\"as-child\": _ctx.asChild,\n\t\t\t\t\ttabindex: unref(rootContext).focusable.value ? unref(rootContext).highlightedElement.value ? \"-1\" : \"0\" : \"-1\",\n\t\t\t\t\t\"aria-orientation\": unref(rootContext).orientation.value,\n\t\t\t\t\t\"aria-multiselectable\": !!unref(rootContext).multiple.value,\n\t\t\t\t\t\"data-orientation\": unref(rootContext).orientation.value,\n\t\t\t\t\tonMousedown: _cache[0] || (_cache[0] = withModifiers(($event) => isClickFocus.value = true, [\"left\"])),\n\t\t\t\t\tonFocus: _cache[1] || (_cache[1] = (ev) => {\n\t\t\t\t\t\tif (unref(isClickFocus)) return;\n\t\t\t\t\t\tunref(rootContext).onEnter(ev);\n\t\t\t\t\t}),\n\t\t\t\t\tonKeydown: [\n\t\t\t\t\t\t_cache[2] || (_cache[2] = withKeys((event) => {\n\t\t\t\t\t\t\tif (unref(rootContext).orientation.value === \"vertical\" && (event.key === \"ArrowLeft\" || event.key === \"ArrowRight\") || unref(rootContext).orientation.value === \"horizontal\" && (event.key === \"ArrowUp\" || event.key === \"ArrowDown\")) return;\n\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\tunref(rootContext).focusable.value && unref(rootContext).onKeydownNavigation(event);\n\t\t\t\t\t\t}, [\n\t\t\t\t\t\t\t\"down\",\n\t\t\t\t\t\t\t\"up\",\n\t\t\t\t\t\t\t\"left\",\n\t\t\t\t\t\t\t\"right\",\n\t\t\t\t\t\t\t\"home\",\n\t\t\t\t\t\t\t\"end\"\n\t\t\t\t\t\t])),\n\t\t\t\t\t\twithKeys(unref(rootContext).onKeydownEnter, [\"enter\"]),\n\t\t\t\t\t\tunref(rootContext).onKeydownTypeAhead\n\t\t\t\t\t]\n\t\t\t\t}, {\n\t\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t\t_: 3\n\t\t\t\t}, 8, [\n\t\t\t\t\t\"as\",\n\t\t\t\t\t\"as-child\",\n\t\t\t\t\t\"tabindex\",\n\t\t\t\t\t\"aria-orientation\",\n\t\t\t\t\t\"aria-multiselectable\",\n\t\t\t\t\t\"data-orientation\",\n\t\t\t\t\t\"onKeydown\"\n\t\t\t\t])]),\n\t\t\t\t_: 3\n\t\t\t});\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Listbox/ListboxContent.vue\nvar ListboxContent_default = ListboxContent_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ListboxContent_default };\n//# sourceMappingURL=ListboxContent.js.map","import { Primitive } from \"../Primitive/Primitive.js\";\nimport { usePrimitiveElement } from \"../Primitive/usePrimitiveElement.js\";\nimport { injectListboxRootContext } from \"./ListboxRoot.js\";\nimport { computed, createBlock, defineComponent, onMounted, onUnmounted, openBlock, ref, renderSlot, unref, watchSyncEffect, withCtx, withKeys, withModifiers } from \"vue\";\nimport { useVModel } from \"@vueuse/core\";\n\n//#region src/Listbox/ListboxFilter.vue?vue&type=script&setup=true&lang.ts\nvar ListboxFilter_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ListboxFilter\",\n\tprops: {\n\t\tmodelValue: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tautoFocus: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false,\n\t\t\tdefault: \"input\"\n\t\t}\n\t},\n\temits: [\"update:modelValue\"],\n\tsetup(__props, { emit: __emit }) {\n\t\tconst props = __props;\n\t\tconst emits = __emit;\n\t\tconst modelValue = useVModel(props, \"modelValue\", emits, {\n\t\t\tdefaultValue: \"\",\n\t\t\tpassive: props.modelValue === void 0\n\t\t});\n\t\tconst rootContext = injectListboxRootContext();\n\t\tconst { primitiveElement, currentElement } = usePrimitiveElement();\n\t\tconst disabled = computed(() => props.disabled || rootContext.disabled.value || false);\n\t\tconst activedescendant = ref();\n\t\twatchSyncEffect(() => activedescendant.value = rootContext.highlightedElement.value?.id);\n\t\tonMounted(() => {\n\t\t\trootContext.focusable.value = false;\n\t\t\tsetTimeout(() => {\n\t\t\t\tif (props.autoFocus) currentElement.value?.focus();\n\t\t\t}, 1);\n\t\t});\n\t\tonUnmounted(() => {\n\t\t\trootContext.focusable.value = true;\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(Primitive), {\n\t\t\t\tref_key: \"primitiveElement\",\n\t\t\t\tref: primitiveElement,\n\t\t\t\tas: _ctx.as,\n\t\t\t\t\"as-child\": _ctx.asChild,\n\t\t\t\tvalue: unref(modelValue),\n\t\t\t\tdisabled: disabled.value ? \"\" : void 0,\n\t\t\t\t\"data-disabled\": disabled.value ? \"\" : void 0,\n\t\t\t\t\"aria-disabled\": disabled.value ?? void 0,\n\t\t\t\t\"aria-activedescendant\": activedescendant.value,\n\t\t\t\ttype: \"text\",\n\t\t\t\tonKeydown: [withKeys(withModifiers(unref(rootContext).onKeydownNavigation, [\"prevent\"]), [\n\t\t\t\t\t\"down\",\n\t\t\t\t\t\"up\",\n\t\t\t\t\t\"home\",\n\t\t\t\t\t\"end\"\n\t\t\t\t]), withKeys(unref(rootContext).onKeydownEnter, [\"enter\"])],\n\t\t\t\tonInput: _cache[0] || (_cache[0] = (event) => {\n\t\t\t\t\tmodelValue.value = event.target.value;\n\t\t\t\t\tunref(rootContext).highlightFirstItem();\n\t\t\t\t}),\n\t\t\t\tonCompositionstart: unref(rootContext).onCompositionStart,\n\t\t\t\tonCompositionend: unref(rootContext).onCompositionEnd\n\t\t\t}, {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\", { modelValue: unref(modelValue) })]),\n\t\t\t\t_: 3\n\t\t\t}, 8, [\n\t\t\t\t\"as\",\n\t\t\t\t\"as-child\",\n\t\t\t\t\"value\",\n\t\t\t\t\"disabled\",\n\t\t\t\t\"data-disabled\",\n\t\t\t\t\"aria-disabled\",\n\t\t\t\t\"aria-activedescendant\",\n\t\t\t\t\"onKeydown\",\n\t\t\t\t\"onCompositionstart\",\n\t\t\t\t\"onCompositionend\"\n\t\t\t]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Listbox/ListboxFilter.vue\nvar ListboxFilter_default = ListboxFilter_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ListboxFilter_default };\n//# sourceMappingURL=ListboxFilter.js.map","import { createContext } from \"../shared/createContext.js\";\nimport { handleAndDispatchCustomEvent } from \"../shared/handleAndDispatchCustomEvent.js\";\nimport { useForwardExpose } from \"../shared/useForwardExpose.js\";\nimport { useId } from \"../shared/useId.js\";\nimport { Primitive } from \"../Primitive/Primitive.js\";\nimport { useCollection } from \"../Collection/Collection.js\";\nimport { valueComparator } from \"./utils.js\";\nimport { injectListboxRootContext } from \"./ListboxRoot.js\";\nimport { computed, createBlock, createVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx, withKeys, withMemo, withModifiers } from \"vue\";\n\n//#region src/Listbox/ListboxItem.vue?vue&type=script&setup=true&lang.ts\nconst LISTBOX_SELECT = \"listbox.select\";\nconst [injectListboxItemContext, provideListboxItemContext] = createContext(\"ListboxItem\");\nvar ListboxItem_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ListboxItem\",\n\tprops: {\n\t\tvalue: {\n\t\t\ttype: null,\n\t\t\trequired: true\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false,\n\t\t\tdefault: \"div\"\n\t\t}\n\t},\n\temits: [\"select\"],\n\tsetup(__props, { emit: __emit }) {\n\t\tconst props = __props;\n\t\tconst emits = __emit;\n\t\tconst id = useId(void 0, \"reka-listbox-item\");\n\t\tconst { CollectionItem } = useCollection();\n\t\tconst { forwardRef, currentElement } = useForwardExpose();\n\t\tconst rootContext = injectListboxRootContext();\n\t\tconst isHighlighted = computed(() => currentElement.value === rootContext.highlightedElement.value);\n\t\tconst isSelected = computed(() => valueComparator(rootContext.modelValue.value, props.value, rootContext.by));\n\t\tconst disabled = computed(() => rootContext.disabled.value || props.disabled);\n\t\tasync function handleSelect(ev) {\n\t\t\temits(\"select\", ev);\n\t\t\tif (ev?.defaultPrevented) return;\n\t\t\tif (!disabled.value && ev) {\n\t\t\t\trootContext.onValueChange(props.value);\n\t\t\t\trootContext.changeHighlight(currentElement.value);\n\t\t\t}\n\t\t}\n\t\tfunction handleSelectCustomEvent(ev) {\n\t\t\tconst eventDetail = {\n\t\t\t\toriginalEvent: ev,\n\t\t\t\tvalue: props.value\n\t\t\t};\n\t\t\thandleAndDispatchCustomEvent(LISTBOX_SELECT, handleSelect, eventDetail);\n\t\t}\n\t\tprovideListboxItemContext({ isSelected });\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(CollectionItem), { value: _ctx.value }, {\n\t\t\t\tdefault: withCtx(() => [withMemo([isHighlighted.value, isSelected.value], () => createVNode(unref(Primitive), mergeProps({ id: unref(id) }, _ctx.$attrs, {\n\t\t\t\t\tref: unref(forwardRef),\n\t\t\t\t\trole: \"option\",\n\t\t\t\t\ttabindex: unref(rootContext).focusable.value ? isHighlighted.value ? \"0\" : \"-1\" : -1,\n\t\t\t\t\t\"aria-selected\": isSelected.value,\n\t\t\t\t\tas: _ctx.as,\n\t\t\t\t\t\"as-child\": _ctx.asChild,\n\t\t\t\t\tdisabled: disabled.value ? \"\" : void 0,\n\t\t\t\t\t\"data-disabled\": disabled.value ? \"\" : void 0,\n\t\t\t\t\t\"data-highlighted\": isHighlighted.value ? \"\" : void 0,\n\t\t\t\t\t\"data-state\": isSelected.value ? \"checked\" : \"unchecked\",\n\t\t\t\t\tonClick: handleSelectCustomEvent,\n\t\t\t\t\tonKeydown: withKeys(withModifiers(handleSelectCustomEvent, [\"prevent\"]), [\"space\"]),\n\t\t\t\t\tonPointermove: _cache[0] || (_cache[0] = () => {\n\t\t\t\t\t\tif (unref(rootContext).highlightedElement.value === unref(currentElement)) return;\n\t\t\t\t\t\tif (unref(rootContext).highlightOnHover.value && !unref(rootContext).focusable.value) unref(rootContext).changeHighlight(unref(currentElement), false);\n\t\t\t\t\t})\n\t\t\t\t}), {\n\t\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t\t_: 3\n\t\t\t\t}, 16, [\n\t\t\t\t\t\"id\",\n\t\t\t\t\t\"tabindex\",\n\t\t\t\t\t\"aria-selected\",\n\t\t\t\t\t\"as\",\n\t\t\t\t\t\"as-child\",\n\t\t\t\t\t\"disabled\",\n\t\t\t\t\t\"data-disabled\",\n\t\t\t\t\t\"data-highlighted\",\n\t\t\t\t\t\"data-state\",\n\t\t\t\t\t\"onKeydown\"\n\t\t\t\t]), _cache, 1)]),\n\t\t\t\t_: 3\n\t\t\t}, 8, [\"value\"]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Listbox/ListboxItem.vue\nvar ListboxItem_default = ListboxItem_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ListboxItem_default, injectListboxItemContext };\n//# sourceMappingURL=ListboxItem.js.map","import { useForwardExpose } from \"../shared/useForwardExpose.js\";\nimport { Primitive } from \"../Primitive/Primitive.js\";\nimport { injectListboxItemContext } from \"./ListboxItem.js\";\nimport { createBlock, createCommentVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from \"vue\";\n\n//#region src/Listbox/ListboxItemIndicator.vue?vue&type=script&setup=true&lang.ts\nvar ListboxItemIndicator_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ListboxItemIndicator\",\n\tprops: {\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false,\n\t\t\tdefault: \"span\"\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst props = __props;\n\t\tuseForwardExpose();\n\t\tconst itemContext = injectListboxItemContext();\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn unref(itemContext).isSelected.value ? (openBlock(), createBlock(unref(Primitive), mergeProps({\n\t\t\t\tkey: 0,\n\t\t\t\t\"aria-hidden\": \"true\"\n\t\t\t}, props), {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t_: 3\n\t\t\t}, 16)) : createCommentVNode(\"v-if\", true);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Listbox/ListboxItemIndicator.vue\nvar ListboxItemIndicator_default = ListboxItemIndicator_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ListboxItemIndicator_default };\n//# sourceMappingURL=ListboxItemIndicator.js.map","import { createContext } from \"../shared/createContext.js\";\nimport { useDirection } from \"../shared/useDirection.js\";\nimport { useFilter } from \"../shared/useFilter.js\";\nimport { usePrimitiveElement } from \"../Primitive/usePrimitiveElement.js\";\nimport { ListboxRoot_default } from \"../Listbox/ListboxRoot.js\";\nimport { PopperRoot_default } from \"../Popper/PopperRoot.js\";\nimport { computed, createBlock, createVNode, defineComponent, getCurrentInstance, isRef, mergeProps, nextTick, onMounted, openBlock, ref, renderSlot, toRefs, unref, withCtx } from \"vue\";\nimport { createEventHook, useVModel } from \"@vueuse/core\";\n\n//#region src/Combobox/ComboboxRoot.vue?vue&type=script&setup=true&lang.ts\nconst [injectComboboxRootContext, provideComboboxRootContext] = createContext(\"ComboboxRoot\");\nvar ComboboxRoot_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxRoot\",\n\tprops: {\n\t\topen: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false,\n\t\t\tdefault: void 0\n\t\t},\n\t\tdefaultOpen: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tresetSearchTermOnBlur: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false,\n\t\t\tdefault: true\n\t\t},\n\t\tresetSearchTermOnSelect: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false,\n\t\t\tdefault: true\n\t\t},\n\t\topenOnFocus: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false,\n\t\t\tdefault: false\n\t\t},\n\t\topenOnClick: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false,\n\t\t\tdefault: false\n\t\t},\n\t\tignoreFilter: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tresetModelValueOnClear: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false,\n\t\t\tdefault: false\n\t\t},\n\t\tmodelValue: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tdefaultValue: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tmultiple: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tdir: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\thighlightOnHover: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false,\n\t\t\tdefault: true\n\t\t},\n\t\tby: {\n\t\t\ttype: [String, Function],\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tname: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\trequired: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t}\n\t},\n\temits: [\n\t\t\"update:modelValue\",\n\t\t\"highlight\",\n\t\t\"update:open\"\n\t],\n\tsetup(__props, { expose: __expose, emit: __emit }) {\n\t\tconst props = __props;\n\t\tconst emits = __emit;\n\t\tconst { primitiveElement, currentElement: parentElement } = usePrimitiveElement();\n\t\tconst { multiple, disabled, ignoreFilter, resetSearchTermOnSelect, openOnFocus, openOnClick, dir: propDir, resetModelValueOnClear, highlightOnHover } = toRefs(props);\n\t\tconst dir = useDirection(propDir);\n\t\tconst modelValue = useVModel(props, \"modelValue\", emits, {\n\t\t\tdefaultValue: props.defaultValue ?? (multiple.value ? [] : void 0),\n\t\t\tpassive: props.modelValue === void 0,\n\t\t\tdeep: true\n\t\t});\n\t\tconst open = useVModel(props, \"open\", emits, {\n\t\t\tdefaultValue: props.defaultOpen,\n\t\t\tpassive: props.open === void 0\n\t\t});\n\t\tasync function onOpenChange(val) {\n\t\t\topen.value = val;\n\t\t\tfilterSearch.value = \"\";\n\t\t\tif (val) {\n\t\t\t\tawait nextTick();\n\t\t\t\tprimitiveElement.value?.highlightSelected();\n\t\t\t\tisUserInputted.value = true;\n\t\t\t\tinputElement.value?.focus();\n\t\t\t} else {\n\t\t\t\tisUserInputted.value = false;\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tif (!val && props.resetSearchTermOnBlur) resetSearchTerm.trigger();\n\t\t\t\t}, 1);\n\t\t\t}\n\t\t}\n\t\tconst resetSearchTerm = createEventHook();\n\t\tconst isUserInputted = ref(false);\n\t\tconst isVirtual = ref(false);\n\t\tconst inputElement = ref();\n\t\tconst triggerElement = ref();\n\t\tconst highlightedElement = computed(() => primitiveElement.value?.highlightedElement ?? void 0);\n\t\tconst allItems = ref(/* @__PURE__ */ new Map());\n\t\tconst allGroups = ref(/* @__PURE__ */ new Map());\n\t\tconst { contains } = useFilter({ sensitivity: \"base\" });\n\t\tconst filterSearch = ref(\"\");\n\t\tconst filterState = computed((oldValue) => {\n\t\t\tif (!filterSearch.value || props.ignoreFilter || isVirtual.value) return {\n\t\t\t\tcount: allItems.value.size,\n\t\t\t\titems: oldValue?.items ?? /* @__PURE__ */ new Map(),\n\t\t\t\tgroups: oldValue?.groups ?? new Set(allGroups.value.keys())\n\t\t\t};\n\t\t\tlet itemCount = 0;\n\t\t\tconst filteredItems = /* @__PURE__ */ new Map();\n\t\t\tconst filteredGroups = /* @__PURE__ */ new Set();\n\t\t\tfor (const [id, value] of allItems.value) {\n\t\t\t\tconst score = contains(value, filterSearch.value);\n\t\t\t\tfilteredItems.set(id, score ? 1 : 0);\n\t\t\t\tif (score) itemCount++;\n\t\t\t}\n\t\t\tfor (const [groupId, group] of allGroups.value) for (const itemId of group) if (filteredItems.get(itemId) > 0) {\n\t\t\t\tfilteredGroups.add(groupId);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\treturn {\n\t\t\t\tcount: itemCount,\n\t\t\t\titems: filteredItems,\n\t\t\t\tgroups: filteredGroups\n\t\t\t};\n\t\t});\n\t\tconst inst = getCurrentInstance();\n\t\tonMounted(() => {\n\t\t\tif (inst?.exposed) {\n\t\t\t\tinst.exposed.highlightItem = primitiveElement.value?.highlightItem;\n\t\t\t\tinst.exposed.highlightFirstItem = primitiveElement.value?.highlightFirstItem;\n\t\t\t\tinst.exposed.highlightSelected = primitiveElement.value?.highlightSelected;\n\t\t\t}\n\t\t});\n\t\t__expose({\n\t\t\tfiltered: filterState,\n\t\t\thighlightedElement,\n\t\t\thighlightItem: primitiveElement.value?.highlightItem,\n\t\t\thighlightFirstItem: primitiveElement.value?.highlightFirstItem,\n\t\t\thighlightSelected: primitiveElement.value?.highlightSelected\n\t\t});\n\t\tprovideComboboxRootContext({\n\t\t\tmodelValue,\n\t\t\tmultiple,\n\t\t\tdisabled,\n\t\t\topen,\n\t\t\tonOpenChange,\n\t\t\tcontentId: \"\",\n\t\t\tisUserInputted,\n\t\t\tisVirtual,\n\t\t\tinputElement,\n\t\t\thighlightedElement,\n\t\t\tonInputElementChange: (val) => inputElement.value = val,\n\t\t\ttriggerElement,\n\t\t\tonTriggerElementChange: (val) => triggerElement.value = val,\n\t\t\tparentElement,\n\t\t\tresetSearchTermOnSelect,\n\t\t\tonResetSearchTerm: resetSearchTerm.on,\n\t\t\tallItems,\n\t\t\tallGroups,\n\t\t\tfilterSearch,\n\t\t\tfilterState,\n\t\t\tignoreFilter,\n\t\t\topenOnFocus,\n\t\t\topenOnClick,\n\t\t\tresetModelValueOnClear\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(PopperRoot_default), null, {\n\t\t\t\tdefault: withCtx(() => [createVNode(unref(ListboxRoot_default), mergeProps({\n\t\t\t\t\tref_key: \"primitiveElement\",\n\t\t\t\t\tref: primitiveElement\n\t\t\t\t}, _ctx.$attrs, {\n\t\t\t\t\tmodelValue: unref(modelValue),\n\t\t\t\t\t\"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),\n\t\t\t\t\tstyle: { pointerEvents: unref(open) ? \"auto\" : void 0 },\n\t\t\t\t\tas: _ctx.as,\n\t\t\t\t\t\"as-child\": _ctx.asChild,\n\t\t\t\t\tdir: unref(dir),\n\t\t\t\t\tmultiple: unref(multiple),\n\t\t\t\t\tname: _ctx.name,\n\t\t\t\t\trequired: _ctx.required,\n\t\t\t\t\tdisabled: unref(disabled),\n\t\t\t\t\t\"highlight-on-hover\": unref(highlightOnHover),\n\t\t\t\t\tby: props.by,\n\t\t\t\t\tonHighlight: _cache[1] || (_cache[1] = ($event) => emits(\"highlight\", $event))\n\t\t\t\t}), {\n\t\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\", {\n\t\t\t\t\t\topen: unref(open),\n\t\t\t\t\t\tmodelValue: unref(modelValue)\n\t\t\t\t\t})]),\n\t\t\t\t\t_: 3\n\t\t\t\t}, 16, [\n\t\t\t\t\t\"modelValue\",\n\t\t\t\t\t\"style\",\n\t\t\t\t\t\"as\",\n\t\t\t\t\t\"as-child\",\n\t\t\t\t\t\"dir\",\n\t\t\t\t\t\"multiple\",\n\t\t\t\t\t\"name\",\n\t\t\t\t\t\"required\",\n\t\t\t\t\t\"disabled\",\n\t\t\t\t\t\"highlight-on-hover\",\n\t\t\t\t\t\"by\"\n\t\t\t\t])]),\n\t\t\t\t_: 3\n\t\t\t});\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxRoot.vue\nvar ComboboxRoot_default = ComboboxRoot_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxRoot_default, injectComboboxRootContext, provideComboboxRootContext };\n//# sourceMappingURL=ComboboxRoot.js.map","import { useForwardExpose } from \"../shared/useForwardExpose.js\";\nimport { Primitive } from \"../Primitive/Primitive.js\";\nimport { PopperAnchor_default } from \"../Popper/PopperAnchor.js\";\nimport { createBlock, createVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from \"vue\";\n\n//#region src/Combobox/ComboboxAnchor.vue?vue&type=script&setup=true&lang.ts\nvar ComboboxAnchor_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxAnchor\",\n\tprops: {\n\t\treference: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst { forwardRef } = useForwardExpose();\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(PopperAnchor_default), {\n\t\t\t\t\"as-child\": \"\",\n\t\t\t\treference: _ctx.reference\n\t\t\t}, {\n\t\t\t\tdefault: withCtx(() => [createVNode(unref(Primitive), mergeProps({\n\t\t\t\t\tref: unref(forwardRef),\n\t\t\t\t\t\"as-child\": _ctx.asChild,\n\t\t\t\t\tas: _ctx.as\n\t\t\t\t}, _ctx.$attrs), {\n\t\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t\t_: 3\n\t\t\t\t}, 16, [\"as-child\", \"as\"])]),\n\t\t\t\t_: 3\n\t\t\t}, 8, [\"reference\"]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxAnchor.vue\nvar ComboboxAnchor_default = ComboboxAnchor_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxAnchor_default };\n//# sourceMappingURL=ComboboxAnchor.js.map","import { createContext } from \"../shared/createContext.js\";\nimport { getActiveElement } from \"../shared/getActiveElement.js\";\nimport { useBodyScrollLock } from \"../shared/useBodyScrollLock.js\";\nimport { useFocusGuards } from \"../shared/useFocusGuards.js\";\nimport { useForwardExpose } from \"../shared/useForwardExpose.js\";\nimport { useForwardProps } from \"../shared/useForwardProps.js\";\nimport { useHideOthers } from \"../shared/useHideOthers.js\";\nimport { Primitive } from \"../Primitive/Primitive.js\";\nimport { DismissableLayer_default } from \"../DismissableLayer/DismissableLayer.js\";\nimport { FocusScope_default } from \"../FocusScope/FocusScope.js\";\nimport { ListboxContent_default } from \"../Listbox/ListboxContent.js\";\nimport { PopperContent_default } from \"../Popper/PopperContent.js\";\nimport { injectComboboxRootContext } from \"./ComboboxRoot.js\";\nimport { computed, createBlock, createVNode, defineComponent, mergeProps, onMounted, onUnmounted, openBlock, ref, renderSlot, resolveDynamicComponent, toRefs, unref, withCtx, withModifiers } from \"vue\";\n\n//#region src/Combobox/ComboboxContentImpl.vue?vue&type=script&setup=true&lang.ts\nconst [injectComboboxContentContext, provideComboboxContentContext] = createContext(\"ComboboxContent\");\nvar ComboboxContentImpl_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxContentImpl\",\n\tprops: {\n\t\tposition: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t\tdefault: \"inline\"\n\t\t},\n\t\tbodyLock: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\thideWhenEmpty: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tside: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tsideOffset: {\n\t\t\ttype: Number,\n\t\t\trequired: false\n\t\t},\n\t\tsideFlip: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\talign: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\talignOffset: {\n\t\t\ttype: Number,\n\t\t\trequired: false\n\t\t},\n\t\talignFlip: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tavoidCollisions: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tcollisionBoundary: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tcollisionPadding: {\n\t\t\ttype: [Number, Object],\n\t\t\trequired: false\n\t\t},\n\t\tarrowPadding: {\n\t\t\ttype: Number,\n\t\t\trequired: false\n\t\t},\n\t\thideShiftedArrow: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tsticky: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\thideWhenDetached: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tpositionStrategy: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tupdatePositionStrategy: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tdisableUpdateOnLayoutShift: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tprioritizePosition: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\treference: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tdisableOutsidePointerEvents: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t}\n\t},\n\temits: [\n\t\t\"escapeKeyDown\",\n\t\t\"pointerDownOutside\",\n\t\t\"focusOutside\",\n\t\t\"interactOutside\"\n\t],\n\tsetup(__props, { emit: __emit }) {\n\t\tconst props = __props;\n\t\tconst emits = __emit;\n\t\tconst { position } = toRefs(props);\n\t\tconst rootContext = injectComboboxRootContext();\n\t\tconst isEmpty = computed(() => rootContext.ignoreFilter.value ? rootContext.allItems.value.size === 0 : rootContext.filterState.value.count === 0);\n\t\tconst { forwardRef, currentElement } = useForwardExpose();\n\t\tuseBodyScrollLock(props.bodyLock);\n\t\tuseFocusGuards();\n\t\tuseHideOthers(rootContext.parentElement);\n\t\tconst pickedProps = computed(() => {\n\t\t\tif (props.position === \"popper\") return props;\n\t\t\telse return {};\n\t\t});\n\t\tconst forwardedProps = useForwardProps(pickedProps.value);\n\t\tconst popperStyle = {\n\t\t\t\"boxSizing\": \"border-box\",\n\t\t\t\"--reka-combobox-content-transform-origin\": \"var(--reka-popper-transform-origin)\",\n\t\t\t\"--reka-combobox-content-available-width\": \"var(--reka-popper-available-width)\",\n\t\t\t\"--reka-combobox-content-available-height\": \"var(--reka-popper-available-height)\",\n\t\t\t\"--reka-combobox-trigger-width\": \"var(--reka-popper-anchor-width)\",\n\t\t\t\"--reka-combobox-trigger-height\": \"var(--reka-popper-anchor-height)\"\n\t\t};\n\t\tprovideComboboxContentContext({ position });\n\t\tconst isInputWithinContent = ref(false);\n\t\tonMounted(() => {\n\t\t\tif (rootContext.inputElement.value) {\n\t\t\t\tisInputWithinContent.value = currentElement.value.contains(rootContext.inputElement.value);\n\t\t\t\tif (isInputWithinContent.value) rootContext.inputElement.value.focus();\n\t\t\t}\n\t\t});\n\t\tonUnmounted(() => {\n\t\t\tconst activeElement = getActiveElement();\n\t\t\tif (isInputWithinContent.value && (!activeElement || activeElement === document.body)) rootContext.triggerElement.value?.focus();\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(ListboxContent_default), { \"as-child\": \"\" }, {\n\t\t\t\tdefault: withCtx(() => [createVNode(unref(FocusScope_default), {\n\t\t\t\t\t\"as-child\": \"\",\n\t\t\t\t\tonMountAutoFocus: _cache[5] || (_cache[5] = withModifiers(() => {}, [\"prevent\"])),\n\t\t\t\t\tonUnmountAutoFocus: _cache[6] || (_cache[6] = withModifiers(() => {}, [\"prevent\"]))\n\t\t\t\t}, {\n\t\t\t\t\tdefault: withCtx(() => [createVNode(unref(DismissableLayer_default), {\n\t\t\t\t\t\t\"as-child\": \"\",\n\t\t\t\t\t\t\"disable-outside-pointer-events\": _ctx.disableOutsidePointerEvents,\n\t\t\t\t\t\tonDismiss: _cache[0] || (_cache[0] = ($event) => unref(rootContext).onOpenChange(false)),\n\t\t\t\t\t\tonFocusOutside: _cache[1] || (_cache[1] = (ev) => {\n\t\t\t\t\t\t\tif (unref(rootContext).parentElement.value?.contains(ev.target)) ev.preventDefault();\n\t\t\t\t\t\t\temits(\"focusOutside\", ev);\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tonInteractOutside: _cache[2] || (_cache[2] = ($event) => emits(\"interactOutside\", $event)),\n\t\t\t\t\t\tonEscapeKeyDown: _cache[3] || (_cache[3] = ($event) => emits(\"escapeKeyDown\", $event)),\n\t\t\t\t\t\tonPointerDownOutside: _cache[4] || (_cache[4] = (ev) => {\n\t\t\t\t\t\t\tif (unref(rootContext).parentElement.value?.contains(ev.target)) ev.preventDefault();\n\t\t\t\t\t\t\temits(\"pointerDownOutside\", ev);\n\t\t\t\t\t\t})\n\t\t\t\t\t}, {\n\t\t\t\t\t\tdefault: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(unref(position) === \"popper\" ? unref(PopperContent_default) : unref(Primitive)), mergeProps({\n\t\t\t\t\t\t\t..._ctx.$attrs,\n\t\t\t\t\t\t\t...unref(forwardedProps)\n\t\t\t\t\t\t}, {\n\t\t\t\t\t\t\tid: unref(rootContext).contentId,\n\t\t\t\t\t\t\tref: unref(forwardRef),\n\t\t\t\t\t\t\t\"data-state\": unref(rootContext).open.value ? \"open\" : \"closed\",\n\t\t\t\t\t\t\t\"data-empty\": isEmpty.value ? \"\" : void 0,\n\t\t\t\t\t\t\tstyle: {\n\t\t\t\t\t\t\t\tdisplay: props.hideWhenEmpty && isEmpty.value ? \"none\" : \"flex\",\n\t\t\t\t\t\t\t\tflexDirection: \"column\",\n\t\t\t\t\t\t\t\toutline: \"none\",\n\t\t\t\t\t\t\t\t...unref(position) === \"popper\" ? popperStyle : {}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}), {\n\t\t\t\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t\t\t\t_: 3\n\t\t\t\t\t\t}, 16, [\n\t\t\t\t\t\t\t\"id\",\n\t\t\t\t\t\t\t\"data-state\",\n\t\t\t\t\t\t\t\"data-empty\",\n\t\t\t\t\t\t\t\"style\"\n\t\t\t\t\t\t]))]),\n\t\t\t\t\t\t_: 3\n\t\t\t\t\t}, 8, [\"disable-outside-pointer-events\"])]),\n\t\t\t\t\t_: 3\n\t\t\t\t})]),\n\t\t\t\t_: 3\n\t\t\t});\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxContentImpl.vue\nvar ComboboxContentImpl_default = ComboboxContentImpl_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxContentImpl_default, injectComboboxContentContext };\n//# sourceMappingURL=ComboboxContentImpl.js.map","import { useForwardExpose } from \"../shared/useForwardExpose.js\";\nimport { useForwardPropsEmits } from \"../shared/useForwardPropsEmits.js\";\nimport { useId } from \"../shared/useId.js\";\nimport { Presence_default } from \"../Presence/Presence.js\";\nimport { injectComboboxRootContext } from \"./ComboboxRoot.js\";\nimport { ComboboxContentImpl_default } from \"./ComboboxContentImpl.js\";\nimport { createBlock, createVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from \"vue\";\n\n//#region src/Combobox/ComboboxContent.vue?vue&type=script&setup=true&lang.ts\nvar ComboboxContent_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxContent\",\n\tprops: {\n\t\tforceMount: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tposition: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tbodyLock: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\thideWhenEmpty: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tside: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tsideOffset: {\n\t\t\ttype: Number,\n\t\t\trequired: false\n\t\t},\n\t\tsideFlip: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\talign: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\talignOffset: {\n\t\t\ttype: Number,\n\t\t\trequired: false\n\t\t},\n\t\talignFlip: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tavoidCollisions: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tcollisionBoundary: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tcollisionPadding: {\n\t\t\ttype: [Number, Object],\n\t\t\trequired: false\n\t\t},\n\t\tarrowPadding: {\n\t\t\ttype: Number,\n\t\t\trequired: false\n\t\t},\n\t\thideShiftedArrow: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tsticky: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\thideWhenDetached: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tpositionStrategy: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tupdatePositionStrategy: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tdisableUpdateOnLayoutShift: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tprioritizePosition: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\treference: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tdisableOutsidePointerEvents: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t}\n\t},\n\temits: [\n\t\t\"escapeKeyDown\",\n\t\t\"pointerDownOutside\",\n\t\t\"focusOutside\",\n\t\t\"interactOutside\"\n\t],\n\tsetup(__props, { emit: __emit }) {\n\t\tconst props = __props;\n\t\tconst emits = __emit;\n\t\tconst forwarded = useForwardPropsEmits(props, emits);\n\t\tconst { forwardRef } = useForwardExpose();\n\t\tconst rootContext = injectComboboxRootContext();\n\t\trootContext.contentId ||= useId(void 0, \"reka-combobox-content\");\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(Presence_default), { present: _ctx.forceMount || unref(rootContext).open.value }, {\n\t\t\t\tdefault: withCtx(() => [createVNode(ComboboxContentImpl_default, mergeProps({\n\t\t\t\t\t...unref(forwarded),\n\t\t\t\t\t..._ctx.$attrs\n\t\t\t\t}, { ref: unref(forwardRef) }), {\n\t\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t\t_: 3\n\t\t\t\t}, 16)]),\n\t\t\t\t_: 3\n\t\t\t}, 8, [\"present\"]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxContent.vue\nvar ComboboxContent_default = ComboboxContent_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxContent_default };\n//# sourceMappingURL=ComboboxContent.js.map","import { Primitive } from \"../Primitive/Primitive.js\";\nimport { injectComboboxRootContext } from \"./ComboboxRoot.js\";\nimport { computed, createBlock, createCommentVNode, createTextVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, unref, withCtx } from \"vue\";\n\n//#region src/Combobox/ComboboxEmpty.vue?vue&type=script&setup=true&lang.ts\nvar ComboboxEmpty_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxEmpty\",\n\tprops: {\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst props = __props;\n\t\tconst rootContext = injectComboboxRootContext();\n\t\tconst isRender = computed(() => rootContext.ignoreFilter.value ? rootContext.allItems.value.size === 0 : rootContext.filterState.value.count === 0);\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn isRender.value ? (openBlock(), createBlock(unref(Primitive), normalizeProps(mergeProps({ key: 0 }, props)), {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\", {}, () => [_cache[0] || (_cache[0] = createTextVNode(\"No options\"))])]),\n\t\t\t\t_: 3\n\t\t\t}, 16)) : createCommentVNode(\"v-if\", true);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxEmpty.vue\nvar ComboboxEmpty_default = ComboboxEmpty_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxEmpty_default };\n//# sourceMappingURL=ComboboxEmpty.js.map","import { createContext } from \"../shared/createContext.js\";\nimport { useId } from \"../shared/useId.js\";\nimport { ListboxGroup_default } from \"../Listbox/ListboxGroup.js\";\nimport { injectComboboxRootContext } from \"./ComboboxRoot.js\";\nimport { computed, createBlock, defineComponent, mergeProps, onMounted, onUnmounted, openBlock, renderSlot, unref, withCtx } from \"vue\";\n\n//#region src/Combobox/ComboboxGroup.vue?vue&type=script&setup=true&lang.ts\nconst [injectComboboxGroupContext, provideComboboxGroupContext] = createContext(\"ComboboxGroup\");\nvar ComboboxGroup_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxGroup\",\n\tprops: {\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst props = __props;\n\t\tconst id = useId(void 0, \"reka-combobox-group\");\n\t\tconst rootContext = injectComboboxRootContext();\n\t\tconst isRender = computed(() => rootContext.ignoreFilter.value ? true : !rootContext.filterSearch.value ? true : rootContext.filterState.value.groups.has(id));\n\t\tconst context = provideComboboxGroupContext({\n\t\t\tid,\n\t\t\tlabelId: \"\"\n\t\t});\n\t\tonMounted(() => {\n\t\t\tif (!rootContext.allGroups.value.has(id)) rootContext.allGroups.value.set(id, /* @__PURE__ */ new Set());\n\t\t});\n\t\tonUnmounted(() => {\n\t\t\trootContext.allGroups.value.delete(id);\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(ListboxGroup_default), mergeProps({\n\t\t\t\tid: unref(id),\n\t\t\t\t\"aria-labelledby\": unref(context).labelId\n\t\t\t}, props, { hidden: isRender.value ? void 0 : true }), {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t_: 3\n\t\t\t}, 16, [\n\t\t\t\t\"id\",\n\t\t\t\t\"aria-labelledby\",\n\t\t\t\t\"hidden\"\n\t\t\t]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxGroup.vue\nvar ComboboxGroup_default = ComboboxGroup_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxGroup_default, injectComboboxGroupContext };\n//# sourceMappingURL=ComboboxGroup.js.map","import { usePrimitiveElement } from \"../Primitive/usePrimitiveElement.js\";\nimport { injectListboxRootContext } from \"../Listbox/ListboxRoot.js\";\nimport { ListboxFilter_default } from \"../Listbox/ListboxFilter.js\";\nimport { injectComboboxRootContext } from \"./ComboboxRoot.js\";\nimport { createBlock, defineComponent, isRef, nextTick, onMounted, openBlock, renderSlot, unref, watch, withCtx, withKeys, withModifiers } from \"vue\";\nimport { useVModel } from \"@vueuse/core\";\n\n//#region src/Combobox/ComboboxInput.vue?vue&type=script&setup=true&lang.ts\nvar ComboboxInput_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxInput\",\n\tprops: {\n\t\tdisplayValue: {\n\t\t\ttype: Function,\n\t\t\trequired: false\n\t\t},\n\t\tmodelValue: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tautoFocus: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false,\n\t\t\tdefault: \"input\"\n\t\t}\n\t},\n\temits: [\"update:modelValue\"],\n\tsetup(__props, { emit: __emit }) {\n\t\tconst props = __props;\n\t\tconst emits = __emit;\n\t\tconst rootContext = injectComboboxRootContext();\n\t\tconst listboxContext = injectListboxRootContext();\n\t\tconst { primitiveElement, currentElement } = usePrimitiveElement();\n\t\tconst modelValue = useVModel(props, \"modelValue\", emits, { passive: props.modelValue === void 0 });\n\t\tonMounted(() => {\n\t\t\tif (currentElement.value) rootContext.onInputElementChange(currentElement.value);\n\t\t});\n\t\tfunction handleKeyDown(ev) {\n\t\t\tif (!rootContext.open.value) rootContext.onOpenChange(true);\n\t\t}\n\t\tfunction handleInput(event) {\n\t\t\tconst target = event.target;\n\t\t\tif (!rootContext.open.value) {\n\t\t\t\trootContext.onOpenChange(true);\n\t\t\t\tnextTick(() => {\n\t\t\t\t\tif (target.value) {\n\t\t\t\t\t\trootContext.filterSearch.value = target.value;\n\t\t\t\t\t\tlistboxContext.highlightFirstItem();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else rootContext.filterSearch.value = target.value;\n\t\t}\n\t\tfunction handleFocus() {\n\t\t\tif (rootContext.openOnFocus.value && !rootContext.open.value) rootContext.onOpenChange(true);\n\t\t}\n\t\tfunction handleBlur(ev) {\n\t\t\tif (!rootContext.open.value) return;\n\t\t\tconst nextFocus = ev.relatedTarget;\n\t\t\tif (!nextFocus) return;\n\t\t\tconst isInsideRoot = rootContext.parentElement.value?.contains(nextFocus);\n\t\t\tconst isInsideContent = document.getElementById(rootContext.contentId)?.contains(nextFocus);\n\t\t\tif (!isInsideRoot && !isInsideContent) rootContext.onOpenChange(false);\n\t\t}\n\t\tfunction handleClick() {\n\t\t\tif (rootContext.openOnClick.value && !rootContext.open.value) rootContext.onOpenChange(true);\n\t\t}\n\t\tfunction resetSearchTerm() {\n\t\t\tconst rootModelValue = rootContext.modelValue.value;\n\t\t\tif (props.displayValue) modelValue.value = props.displayValue(rootModelValue);\n\t\t\telse if (!rootContext.multiple.value && rootModelValue && !Array.isArray(rootModelValue)) if (typeof rootModelValue !== \"object\") modelValue.value = rootModelValue.toString();\n\t\t\telse modelValue.value = \"\";\n\t\t\telse modelValue.value = \"\";\n\t\t\tnextTick(() => {\n\t\t\t\tmodelValue.value = modelValue.value;\n\t\t\t});\n\t\t}\n\t\trootContext.onResetSearchTerm(() => {\n\t\t\tresetSearchTerm();\n\t\t});\n\t\twatch(rootContext.modelValue, async () => {\n\t\t\tif (!rootContext.isUserInputted.value && rootContext.resetSearchTermOnSelect.value) resetSearchTerm();\n\t\t}, {\n\t\t\timmediate: true,\n\t\t\tdeep: true\n\t\t});\n\t\twatch(rootContext.filterState, (_newValue, oldValue) => {\n\t\t\tif (!rootContext.isVirtual.value && oldValue.count === 0) listboxContext.highlightFirstItem();\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(ListboxFilter_default), {\n\t\t\t\tref_key: \"primitiveElement\",\n\t\t\t\tref: primitiveElement,\n\t\t\t\tmodelValue: unref(modelValue),\n\t\t\t\t\"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),\n\t\t\t\tas: _ctx.as,\n\t\t\t\t\"as-child\": _ctx.asChild,\n\t\t\t\t\"auto-focus\": _ctx.autoFocus,\n\t\t\t\tdisabled: _ctx.disabled,\n\t\t\t\t\"aria-expanded\": unref(rootContext).open.value,\n\t\t\t\t\"aria-controls\": unref(rootContext).contentId,\n\t\t\t\t\"aria-autocomplete\": \"list\",\n\t\t\t\trole: \"combobox\",\n\t\t\t\tautocomplete: \"off\",\n\t\t\t\tonClick: handleClick,\n\t\t\t\tonInput: handleInput,\n\t\t\t\tonKeydown: withKeys(withModifiers(handleKeyDown, [\"prevent\"]), [\"down\", \"up\"]),\n\t\t\t\tonFocus: handleFocus,\n\t\t\t\tonBlur: handleBlur\n\t\t\t}, {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t_: 3\n\t\t\t}, 8, [\n\t\t\t\t\"modelValue\",\n\t\t\t\t\"as\",\n\t\t\t\t\"as-child\",\n\t\t\t\t\"auto-focus\",\n\t\t\t\t\"disabled\",\n\t\t\t\t\"aria-expanded\",\n\t\t\t\t\"aria-controls\",\n\t\t\t\t\"onKeydown\"\n\t\t\t]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxInput.vue\nvar ComboboxInput_default = ComboboxInput_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxInput_default };\n//# sourceMappingURL=ComboboxInput.js.map","import { useId } from \"../shared/useId.js\";\nimport { usePrimitiveElement } from \"../Primitive/usePrimitiveElement.js\";\nimport { ListboxItem_default } from \"../Listbox/ListboxItem.js\";\nimport { injectComboboxRootContext } from \"./ComboboxRoot.js\";\nimport { injectComboboxGroupContext } from \"./ComboboxGroup.js\";\nimport { computed, createBlock, createCommentVNode, createTextVNode, defineComponent, mergeProps, onMounted, onUnmounted, openBlock, renderSlot, toDisplayString, unref, withCtx } from \"vue\";\n\n//#region src/Combobox/ComboboxItem.vue?vue&type=script&setup=true&lang.ts\nvar ComboboxItem_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxItem\",\n\tprops: {\n\t\ttextValue: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tvalue: {\n\t\t\ttype: null,\n\t\t\trequired: true\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t}\n\t},\n\temits: [\"select\"],\n\tsetup(__props, { emit: __emit }) {\n\t\tconst props = __props;\n\t\tconst emits = __emit;\n\t\tconst id = useId(void 0, \"reka-combobox-item\");\n\t\tconst rootContext = injectComboboxRootContext();\n\t\tconst groupContext = injectComboboxGroupContext(null);\n\t\tconst { primitiveElement, currentElement } = usePrimitiveElement();\n\t\tif (props.value === \"\") throw new Error(\"A <ComboboxItem /> must have a value prop that is not an empty string. This is because the Combobox value can be set to an empty string to clear the selection and show the placeholder.\");\n\t\tconst isRender = computed(() => {\n\t\t\tif (rootContext.isVirtual.value || rootContext.ignoreFilter.value || !rootContext.filterSearch.value) return true;\n\t\t\telse {\n\t\t\t\tconst filteredCurrentItem = rootContext.filterState.value.items.get(id);\n\t\t\t\tif (filteredCurrentItem === void 0) return true;\n\t\t\t\treturn filteredCurrentItem > 0;\n\t\t\t}\n\t\t});\n\t\tonMounted(() => {\n\t\t\trootContext.allItems.value.set(id, props.textValue || currentElement.value.textContent || currentElement.value.innerText);\n\t\t\tconst groupId = groupContext?.id;\n\t\t\tif (groupId) if (!rootContext.allGroups.value.has(groupId)) rootContext.allGroups.value.set(groupId, new Set([id]));\n\t\t\telse rootContext.allGroups.value.get(groupId)?.add(id);\n\t\t});\n\t\tonUnmounted(() => {\n\t\t\trootContext.allItems.value.delete(id);\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn isRender.value ? (openBlock(), createBlock(unref(ListboxItem_default), mergeProps({ key: 0 }, props, {\n\t\t\t\tid: unref(id),\n\t\t\t\tref_key: \"primitiveElement\",\n\t\t\t\tref: primitiveElement,\n\t\t\t\tdisabled: unref(rootContext).disabled.value || _ctx.disabled,\n\t\t\t\tonSelect: _cache[0] || (_cache[0] = (event) => {\n\t\t\t\t\temits(\"select\", event);\n\t\t\t\t\tif (event.defaultPrevented) return;\n\t\t\t\t\tif (!unref(rootContext).multiple.value && !_ctx.disabled && !unref(rootContext).disabled.value) {\n\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\tunref(rootContext).onOpenChange(false);\n\t\t\t\t\t\tunref(rootContext).modelValue.value = props.value;\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t}), {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\", {}, () => [createTextVNode(toDisplayString(_ctx.value), 1)])]),\n\t\t\t\t_: 3\n\t\t\t}, 16, [\"id\", \"disabled\"])) : createCommentVNode(\"v-if\", true);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxItem.vue\nvar ComboboxItem_default = ComboboxItem_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxItem_default };\n//# sourceMappingURL=ComboboxItem.js.map","import { ListboxItemIndicator_default } from \"../Listbox/ListboxItemIndicator.js\";\nimport { createBlock, defineComponent, guardReactiveProps, normalizeProps, openBlock, renderSlot, unref, withCtx } from \"vue\";\n\n//#region src/Combobox/ComboboxItemIndicator.vue?vue&type=script&setup=true&lang.ts\nvar ComboboxItemIndicator_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxItemIndicator\",\n\tprops: {\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false,\n\t\t\tdefault: \"span\"\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst props = __props;\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(ListboxItemIndicator_default), normalizeProps(guardReactiveProps(props)), {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t_: 3\n\t\t\t}, 16);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxItemIndicator.vue\nvar ComboboxItemIndicator_default = ComboboxItemIndicator_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxItemIndicator_default };\n//# sourceMappingURL=ComboboxItemIndicator.js.map","import { Teleport_default } from \"../Teleport/Teleport.js\";\nimport { createBlock, defineComponent, guardReactiveProps, normalizeProps, openBlock, renderSlot, unref, withCtx } from \"vue\";\n\n//#region src/Combobox/ComboboxPortal.vue?vue&type=script&setup=true&lang.ts\nvar ComboboxPortal_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxPortal\",\n\tprops: {\n\t\tto: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tdefer: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tforceMount: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst props = __props;\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(Teleport_default), normalizeProps(guardReactiveProps(props)), {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t_: 3\n\t\t\t}, 16);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxPortal.vue\nvar ComboboxPortal_default = ComboboxPortal_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxPortal_default };\n//# sourceMappingURL=ComboboxPortal.js.map","import { useForwardExpose } from \"../shared/useForwardExpose.js\";\nimport { Primitive } from \"../Primitive/Primitive.js\";\nimport { injectComboboxRootContext } from \"./ComboboxRoot.js\";\nimport { computed, createBlock, defineComponent, mergeProps, onMounted, openBlock, renderSlot, unref, withCtx } from \"vue\";\n\n//#region src/Combobox/ComboboxTrigger.vue?vue&type=script&setup=true&lang.ts\nvar ComboboxTrigger_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxTrigger\",\n\tprops: {\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false,\n\t\t\tdefault: \"button\"\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst props = __props;\n\t\tconst { forwardRef, currentElement } = useForwardExpose();\n\t\tconst rootContext = injectComboboxRootContext();\n\t\tconst disabled = computed(() => props.disabled || rootContext.disabled.value || false);\n\t\tonMounted(() => {\n\t\t\tif (currentElement.value) rootContext.onTriggerElementChange(currentElement.value);\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(Primitive), mergeProps(props, {\n\t\t\t\tref: unref(forwardRef),\n\t\t\t\ttype: _ctx.as === \"button\" ? \"button\" : void 0,\n\t\t\t\ttabindex: \"-1\",\n\t\t\t\t\"aria-label\": \"Show popup\",\n\t\t\t\t\"aria-haspopup\": \"listbox\",\n\t\t\t\t\"aria-expanded\": unref(rootContext).open.value,\n\t\t\t\t\"aria-controls\": unref(rootContext).contentId,\n\t\t\t\t\"data-state\": unref(rootContext).open.value ? \"open\" : \"closed\",\n\t\t\t\tdisabled: disabled.value,\n\t\t\t\t\"data-disabled\": disabled.value ? \"\" : void 0,\n\t\t\t\t\"aria-disabled\": disabled.value ?? void 0,\n\t\t\t\tonClick: _cache[0] || (_cache[0] = ($event) => unref(rootContext).onOpenChange(!unref(rootContext).open.value))\n\t\t\t}), {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t_: 3\n\t\t\t}, 16, [\n\t\t\t\t\"type\",\n\t\t\t\t\"aria-expanded\",\n\t\t\t\t\"aria-controls\",\n\t\t\t\t\"data-state\",\n\t\t\t\t\"disabled\",\n\t\t\t\t\"data-disabled\",\n\t\t\t\t\"aria-disabled\"\n\t\t\t]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxTrigger.vue\nvar ComboboxTrigger_default = ComboboxTrigger_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxTrigger_default };\n//# sourceMappingURL=ComboboxTrigger.js.map","import { injectConfigProviderContext } from \"../ConfigProvider/ConfigProvider.js\";\nimport { computed, ref } from \"vue\";\n\n//#region src/shared/useNonce.ts\nfunction useNonce(nonce) {\n\tconst context = injectConfigProviderContext({ nonce: ref() });\n\treturn computed(() => nonce?.value || context.nonce?.value);\n}\n\n//#endregion\nexport { useNonce };\n//# sourceMappingURL=useNonce.js.map","import { useForwardExpose } from \"../shared/useForwardExpose.js\";\nimport { Primitive } from \"../Primitive/Primitive.js\";\nimport { injectComboboxRootContext } from \"./ComboboxRoot.js\";\nimport { useNonce } from \"../shared/useNonce.js\";\nimport { Fragment, createElementBlock, createTextVNode, createVNode, defineComponent, mergeProps, openBlock, renderSlot, toRefs, unref, withCtx } from \"vue\";\n\n//#region src/Combobox/ComboboxViewport.vue?vue&type=script&setup=true&lang.ts\nvar ComboboxViewport_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxViewport\",\n\tprops: {\n\t\tnonce: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst props = __props;\n\t\tconst { forwardRef } = useForwardExpose();\n\t\tconst { nonce: propNonce } = toRefs(props);\n\t\tconst nonce = useNonce(propNonce);\n\t\tconst rootContext = injectComboboxRootContext();\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createElementBlock(Fragment, null, [createVNode(unref(Primitive), mergeProps({\n\t\t\t\t..._ctx.$attrs,\n\t\t\t\t...props\n\t\t\t}, {\n\t\t\t\tref: unref(forwardRef),\n\t\t\t\t\"data-reka-combobox-viewport\": \"\",\n\t\t\t\trole: \"presentation\",\n\t\t\t\tstyle: {\n\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\tflex: unref(rootContext).isVirtual.value ? void 0 : 1,\n\t\t\t\t\toverflow: \"auto\"\n\t\t\t\t}\n\t\t\t}), {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t_: 3\n\t\t\t}, 16, [\"style\"]), createVNode(unref(Primitive), {\n\t\t\t\tas: \"style\",\n\t\t\t\tnonce: unref(nonce)\n\t\t\t}, {\n\t\t\t\tdefault: withCtx(() => _cache[0] || (_cache[0] = [createTextVNode(\" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-reka-combobox-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-reka-combobox-viewport]::-webkit-scrollbar { display: none; } \")])),\n\t\t\t\t_: 1,\n\t\t\t\t__: [0]\n\t\t\t}, 8, [\"nonce\"])], 64);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxViewport.vue\nvar ComboboxViewport_default = ComboboxViewport_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxViewport_default };\n//# sourceMappingURL=ComboboxViewport.js.map","<template>\n <ComboboxRoot\n v-model=\"modelValue\"\n v-model:open=\"isOpen\"\n :multiple=\"props.multiple\"\n :disabled=\"props.disabled\"\n :name=\"props.name\"\n :required=\"props.required\"\n :ignore-filter=\"props.multiple || !!props.filterFunction\"\n :reset-search-term-on-select=\"props.resetSearchTermOnSelect\"\n :reset-search-term-on-blur=\"props.resetSearchTermOnBlur\"\n :by=\"props.by\"\n :dir=\"props.dir\"\n :open-on-focus=\"props.openOnFocus\"\n class=\"b-autocomplete\"\n >\n <ComboboxAnchor as-child>\n <BInputGroup :size=\"props.size\">\n <!-- Selected values display (multiple mode only, hidden when empty) -->\n <div\n v-if=\"props.multiple && hasSelection\"\n class=\"b-autocomplete-selection\"\n :class=\"{\n 'b-autocomplete-selection-tags': props.tags,\n 'b-autocomplete-selection-pending-delete': pendingDelete,\n }\"\n >\n <slot\n v-if=\"props.tags\"\n name=\"tags\"\n :pending-delete\n :selected=\"selectedOptions\"\n :remove=\"removeSelected\"\n >\n <BFormTag\n v-for=\"(opt, i) in selectedOptions\"\n :key=\"optionKey(opt, i)\"\n :title=\"String(opt.text)\"\n :disabled=\"props.disabled\"\n :variant=\"'secondary'\"\n :class=\"{\n 'b-autocomplete-tag-muted': pendingDelete && !isLastSelectedOption(opt, i),\n 'b-autocomplete-tag-pending-delete': pendingDelete && isLastSelectedOption(opt, i),\n }\"\n @remove=\"removeSelected(opt)\"\n >\n {{ opt.text }}\n </BFormTag>\n </slot>\n <template v-else>\n <span\n v-for=\"(opt, i) in selectedOptions\"\n :key=\"optionKey(opt, i)\"\n :class=\"{\n 'text-body-tertiary': pendingDelete && !isLastSelectedOption(opt, i),\n }\"\n >{{ opt.text }}<span v-if=\"i < selectedOptions.length - 1\">, </span></span\n >\n </template>\n </div>\n\n <!-- Search input (always present) -->\n <ComboboxInput v-model=\"searchTerm\" as-child :display-value=\"displayValueFn\">\n <input\n :id=\"computedId\"\n :class=\"inputClasses\"\n :disabled=\"props.disabled\"\n :form=\"props.form || undefined\"\n :placeholder=\"props.placeholder\"\n :readonly=\"props.readonly || props.plaintext\"\n :required=\"props.required || undefined\"\n :autocomplete=\"props.autocomplete || undefined\"\n :aria-invalid=\"computedAriaInvalid\"\n :aria-required=\"props.required || undefined\"\n @blur=\"emit('blur', $event)\"\n @focus=\"emit('focus', $event)\"\n @keydown.passive=\"onInputKeydown\"\n />\n </ComboboxInput>\n\n <template #append>\n <ComboboxTrigger v-if=\"!props.noToggle\" as-child :disabled=\"props.disabled\">\n <BButton class=\"b-autocomplete-trigger\" :disabled=\"props.disabled\">\n <slot name=\"toggle-icon\" :is-open>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n viewBox=\"0 0 16 16\"\n class=\"b-autocomplete-chevron\"\n :class=\"{'b-autocomplete-chevron-open': isOpen}\"\n >\n <path\n fill-rule=\"evenodd\"\n d=\"M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z\"\n />\n </svg>\n </slot>\n </BButton>\n </ComboboxTrigger>\n </template>\n </BInputGroup>\n </ComboboxAnchor>\n\n <ComboboxPortal :disabled=\"!props.teleportTo\" :to=\"props.teleportTo\">\n <ComboboxContent\n position=\"popper\"\n :side-offset=\"4\"\n :align=\"'start'\"\n :class=\"['b-autocomplete-content', 'dropdown-menu', 'show']\"\n :body-lock=\"false\"\n :style=\"{width: 'var(--reka-combobox-trigger-width)'}\"\n >\n <ComboboxViewport class=\"b-autocomplete-viewport\">\n <ComboboxEmpty class=\"b-autocomplete-empty\">\n <slot name=\"empty\"> No results found </slot>\n </ComboboxEmpty>\n\n <ComboboxItem\n v-for=\"(option, index) in filteredOptions\"\n :key=\"optionKey(option, index)\"\n :value=\"option.value as AcceptableValue\"\n :disabled=\"option.disabled\"\n :class=\"['b-autocomplete-item', 'dropdown-item']\"\n >\n <slot name=\"option\" v-bind=\"option\">\n {{ option.text }}\n </slot>\n <ComboboxItemIndicator class=\"b-autocomplete-item-indicator\">\n <slot name=\"option-indicator\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"\n />\n </svg>\n </slot>\n </ComboboxItemIndicator>\n </ComboboxItem>\n </ComboboxViewport>\n </ComboboxContent>\n </ComboboxPortal>\n </ComboboxRoot>\n</template>\n\n<script setup lang=\"ts\">\nimport {computed, type ComputedRef, ref} from 'vue'\nimport type {AcceptableValue} from 'reka-ui'\nimport {\n ComboboxAnchor,\n ComboboxContent,\n ComboboxEmpty,\n ComboboxInput,\n ComboboxItem,\n ComboboxItemIndicator,\n ComboboxPortal,\n ComboboxRoot,\n ComboboxTrigger,\n ComboboxViewport,\n} from 'reka-ui'\nimport {useDefaults} from '../../composables/useDefaults'\nimport type {BAutocompleteProps, BAutocompleteSlots, SelectOption} from '../../types'\nimport {useId} from '../../composables/useId'\nimport {useStateClass} from '../../composables/useStateClass'\nimport {useAriaInvalid} from '../../composables/useAriaInvalid'\nimport BInputGroup from '../BInputGroup/BInputGroup.vue'\nimport BButton from '../BButton/BButton.vue'\nimport BFormTag from '../BFormTags/BFormTag.vue'\nimport {useFormSelect} from '../../composables/useFormSelect.ts'\n\nconst _props = withDefaults(defineProps<Omit<BAutocompleteProps, 'modelValue' | 'search'>>(), {\n ariaInvalid: undefined,\n autocomplete: undefined,\n autofocus: false,\n disabled: false,\n form: undefined,\n formatter: undefined,\n id: undefined,\n lazyFormatter: false,\n placeholder: undefined,\n plaintext: false,\n readonly: false,\n required: false,\n size: undefined,\n state: undefined,\n by: undefined,\n dir: undefined,\n disabledField: 'disabled',\n filterFunction: undefined,\n multiple: false,\n name: undefined,\n noToggle: false,\n openOnFocus: false,\n options: () => [],\n resetSearchTermOnBlur: true,\n resetSearchTermOnSelect: true,\n tags: false,\n teleportTo: undefined,\n textField: 'text',\n valueField: 'value',\n})\nconst props = useDefaults(_props, 'BAutocomplete')\nconst emit = defineEmits<{\n blur: [event: FocusEvent]\n focus: [event: FocusEvent]\n}>()\ndefineSlots<BAutocompleteSlots>()\n\nconst modelValue = defineModel<BAutocompleteProps['modelValue']>({\n default: undefined,\n})\nconst isOpen = defineModel<Exclude<BAutocompleteProps['open'], undefined>>('open', {default: false})\nconst searchTerm = defineModel<Exclude<BAutocompleteProps['search'], undefined>>('search', {\n default: '',\n})\n\n// Backspace-to-delete state for multiple mode\nconst pendingDelete = ref(false)\n\nconst computedId = useId(() => props.id)\nconst stateClass = useStateClass(() => props.state ?? null)\nconst computedAriaInvalid = useAriaInvalid(\n () => props.ariaInvalid,\n () => props.state ?? null\n)\n\nconst inputClasses = computed(() => [\n stateClass.value,\n {\n 'form-control': !props.plaintext,\n 'form-control-plaintext': props.plaintext,\n [`form-control-${props.size}`]: !!props.size,\n },\n])\n\nconst {normalizedOptions} = useFormSelect(() => props.options, props) as {\n normalizedOptions: ComputedRef<SelectOption[]>\n}\n\nconst findOptionText = (val: AcceptableValue): string => {\n const match = normalizedOptions.value.find((opt) => {\n if (props.by && typeof props.by === 'string') {\n return (\n (opt.value as Record<string, unknown>)?.[props.by] ===\n (val as Record<string, unknown>)?.[props.by]\n )\n }\n return opt.value === val\n })\n return match ? String(match.text) : String(val)\n}\n\n// Filter options — for multiple mode, always uses searchTerm which is purely a search query\nconst filteredOptions = computed(() => {\n const filterText = searchTerm.value\n if (props.filterFunction) {\n return props.filterFunction(normalizedOptions.value, filterText)\n }\n if (!filterText) return normalizedOptions.value\n const term = filterText.toLowerCase()\n return normalizedOptions.value.filter((opt) => String(opt.text).toLowerCase().includes(term))\n})\n\n// Display value for single select mode (reka-ui calls this on selection)\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst displayValueFn = (val: any) => {\n if (val === null || val === undefined) return ''\n if (props.multiple) return '' // Multiple mode uses the separate display element\n return findOptionText(val)\n}\n\n// Whether there are selected values in multiple mode\nconst hasSelection = computed(() => {\n if (!modelValue.value) return false\n return Array.isArray(modelValue.value) ? modelValue.value.length > 0 : true\n})\n\n// Resolved option objects for tags mode\nconst selectedOptions = computed<SelectOption[]>(() => {\n if (!props.multiple || !modelValue.value) return []\n const selected = Array.isArray(modelValue.value) ? modelValue.value : [modelValue.value]\n return selected\n .map((val) =>\n normalizedOptions.value.find((opt) => {\n if (props.by && typeof props.by === 'string') {\n return (\n (opt.value as Record<string, unknown>)?.[props.by] ===\n (val as Record<string, unknown>)?.[props.by]\n )\n }\n return opt.value === val\n })\n )\n .filter((opt): opt is SelectOption => !!opt)\n})\n\nconst removeSelected = (option: SelectOption) => {\n if (!Array.isArray(modelValue.value)) return\n modelValue.value = modelValue.value.filter((val) => {\n if (props.by && typeof props.by === 'string') {\n return (\n (val as Record<string, unknown>)?.[props.by] !==\n (option.value as Record<string, unknown>)?.[props.by]\n )\n }\n return val !== option.value\n })\n}\n\nconst optionKey = (option: SelectOption, index: number) => {\n const val = option.value\n if (val !== null && val !== undefined && typeof val !== 'object') return String(val)\n return index\n}\n\nconst isLastSelectedOption = (_opt: SelectOption, index: number): boolean => {\n return index === selectedOptions.value.length - 1\n}\n\nconst resetPendingDelete = () => {\n pendingDelete.value = false\n}\nconst onInputKeydown = (event: KeyboardEvent) => {\n if (!props.multiple || !hasSelection.value) {\n resetPendingDelete()\n return\n }\n\n if (event.key === 'Backspace' && searchTerm.value === '') {\n if (pendingDelete.value) {\n // Second backspace — delete the last selected item\n const lastOpt = selectedOptions.value[selectedOptions.value.length - 1]\n if (lastOpt) {\n removeSelected(lastOpt)\n }\n pendingDelete.value = false\n } else {\n // First backspace — prime for deletion\n pendingDelete.value = true\n }\n return\n }\n\n // Any other key resets the pending delete state\n if (pendingDelete.value) {\n resetPendingDelete()\n }\n}\n</script>\n","<template>\n <ComboboxRoot\n v-model=\"modelValue\"\n v-model:open=\"isOpen\"\n :multiple=\"props.multiple\"\n :disabled=\"props.disabled\"\n :name=\"props.name\"\n :required=\"props.required\"\n :ignore-filter=\"props.multiple || !!props.filterFunction\"\n :reset-search-term-on-select=\"props.resetSearchTermOnSelect\"\n :reset-search-term-on-blur=\"props.resetSearchTermOnBlur\"\n :by=\"props.by\"\n :dir=\"props.dir\"\n :open-on-focus=\"props.openOnFocus\"\n class=\"b-autocomplete\"\n >\n <ComboboxAnchor as-child>\n <BInputGroup :size=\"props.size\">\n <!-- Selected values display (multiple mode only, hidden when empty) -->\n <div\n v-if=\"props.multiple && hasSelection\"\n class=\"b-autocomplete-selection\"\n :class=\"{\n 'b-autocomplete-selection-tags': props.tags,\n 'b-autocomplete-selection-pending-delete': pendingDelete,\n }\"\n >\n <slot\n v-if=\"props.tags\"\n name=\"tags\"\n :pending-delete\n :selected=\"selectedOptions\"\n :remove=\"removeSelected\"\n >\n <BFormTag\n v-for=\"(opt, i) in selectedOptions\"\n :key=\"optionKey(opt, i)\"\n :title=\"String(opt.text)\"\n :disabled=\"props.disabled\"\n :variant=\"'secondary'\"\n :class=\"{\n 'b-autocomplete-tag-muted': pendingDelete && !isLastSelectedOption(opt, i),\n 'b-autocomplete-tag-pending-delete': pendingDelete && isLastSelectedOption(opt, i),\n }\"\n @remove=\"removeSelected(opt)\"\n >\n {{ opt.text }}\n </BFormTag>\n </slot>\n <template v-else>\n <span\n v-for=\"(opt, i) in selectedOptions\"\n :key=\"optionKey(opt, i)\"\n :class=\"{\n 'text-body-tertiary': pendingDelete && !isLastSelectedOption(opt, i),\n }\"\n >{{ opt.text }}<span v-if=\"i < selectedOptions.length - 1\">, </span></span\n >\n </template>\n </div>\n\n <!-- Search input (always present) -->\n <ComboboxInput v-model=\"searchTerm\" as-child :display-value=\"displayValueFn\">\n <input\n :id=\"computedId\"\n :class=\"inputClasses\"\n :disabled=\"props.disabled\"\n :form=\"props.form || undefined\"\n :placeholder=\"props.placeholder\"\n :readonly=\"props.readonly || props.plaintext\"\n :required=\"props.required || undefined\"\n :autocomplete=\"props.autocomplete || undefined\"\n :aria-invalid=\"computedAriaInvalid\"\n :aria-required=\"props.required || undefined\"\n @blur=\"emit('blur', $event)\"\n @focus=\"emit('focus', $event)\"\n @keydown.passive=\"onInputKeydown\"\n />\n </ComboboxInput>\n\n <template #append>\n <ComboboxTrigger v-if=\"!props.noToggle\" as-child :disabled=\"props.disabled\">\n <BButton class=\"b-autocomplete-trigger\" :disabled=\"props.disabled\">\n <slot name=\"toggle-icon\" :is-open>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n viewBox=\"0 0 16 16\"\n class=\"b-autocomplete-chevron\"\n :class=\"{'b-autocomplete-chevron-open': isOpen}\"\n >\n <path\n fill-rule=\"evenodd\"\n d=\"M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z\"\n />\n </svg>\n </slot>\n </BButton>\n </ComboboxTrigger>\n </template>\n </BInputGroup>\n </ComboboxAnchor>\n\n <ComboboxPortal :disabled=\"!props.teleportTo\" :to=\"props.teleportTo\">\n <ComboboxContent\n position=\"popper\"\n :side-offset=\"4\"\n :align=\"'start'\"\n :class=\"['b-autocomplete-content', 'dropdown-menu', 'show']\"\n :body-lock=\"false\"\n :style=\"{width: 'var(--reka-combobox-trigger-width)'}\"\n >\n <ComboboxViewport class=\"b-autocomplete-viewport\">\n <ComboboxEmpty class=\"b-autocomplete-empty\">\n <slot name=\"empty\"> No results found </slot>\n </ComboboxEmpty>\n\n <ComboboxItem\n v-for=\"(option, index) in filteredOptions\"\n :key=\"optionKey(option, index)\"\n :value=\"option.value as AcceptableValue\"\n :disabled=\"option.disabled\"\n :class=\"['b-autocomplete-item', 'dropdown-item']\"\n >\n <slot name=\"option\" v-bind=\"option\">\n {{ option.text }}\n </slot>\n <ComboboxItemIndicator class=\"b-autocomplete-item-indicator\">\n <slot name=\"option-indicator\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"\n />\n </svg>\n </slot>\n </ComboboxItemIndicator>\n </ComboboxItem>\n </ComboboxViewport>\n </ComboboxContent>\n </ComboboxPortal>\n </ComboboxRoot>\n</template>\n\n<script setup lang=\"ts\">\nimport {computed, type ComputedRef, ref} from 'vue'\nimport type {AcceptableValue} from 'reka-ui'\nimport {\n ComboboxAnchor,\n ComboboxContent,\n ComboboxEmpty,\n ComboboxInput,\n ComboboxItem,\n ComboboxItemIndicator,\n ComboboxPortal,\n ComboboxRoot,\n ComboboxTrigger,\n ComboboxViewport,\n} from 'reka-ui'\nimport {useDefaults} from '../../composables/useDefaults'\nimport type {BAutocompleteProps, BAutocompleteSlots, SelectOption} from '../../types'\nimport {useId} from '../../composables/useId'\nimport {useStateClass} from '../../composables/useStateClass'\nimport {useAriaInvalid} from '../../composables/useAriaInvalid'\nimport BInputGroup from '../BInputGroup/BInputGroup.vue'\nimport BButton from '../BButton/BButton.vue'\nimport BFormTag from '../BFormTags/BFormTag.vue'\nimport {useFormSelect} from '../../composables/useFormSelect.ts'\n\nconst _props = withDefaults(defineProps<Omit<BAutocompleteProps, 'modelValue' | 'search'>>(), {\n ariaInvalid: undefined,\n autocomplete: undefined,\n autofocus: false,\n disabled: false,\n form: undefined,\n formatter: undefined,\n id: undefined,\n lazyFormatter: false,\n placeholder: undefined,\n plaintext: false,\n readonly: false,\n required: false,\n size: undefined,\n state: undefined,\n by: undefined,\n dir: undefined,\n disabledField: 'disabled',\n filterFunction: undefined,\n multiple: false,\n name: undefined,\n noToggle: false,\n openOnFocus: false,\n options: () => [],\n resetSearchTermOnBlur: true,\n resetSearchTermOnSelect: true,\n tags: false,\n teleportTo: undefined,\n textField: 'text',\n valueField: 'value',\n})\nconst props = useDefaults(_props, 'BAutocomplete')\nconst emit = defineEmits<{\n blur: [event: FocusEvent]\n focus: [event: FocusEvent]\n}>()\ndefineSlots<BAutocompleteSlots>()\n\nconst modelValue = defineModel<BAutocompleteProps['modelValue']>({\n default: undefined,\n})\nconst isOpen = defineModel<Exclude<BAutocompleteProps['open'], undefined>>('open', {default: false})\nconst searchTerm = defineModel<Exclude<BAutocompleteProps['search'], undefined>>('search', {\n default: '',\n})\n\n// Backspace-to-delete state for multiple mode\nconst pendingDelete = ref(false)\n\nconst computedId = useId(() => props.id)\nconst stateClass = useStateClass(() => props.state ?? null)\nconst computedAriaInvalid = useAriaInvalid(\n () => props.ariaInvalid,\n () => props.state ?? null\n)\n\nconst inputClasses = computed(() => [\n stateClass.value,\n {\n 'form-control': !props.plaintext,\n 'form-control-plaintext': props.plaintext,\n [`form-control-${props.size}`]: !!props.size,\n },\n])\n\nconst {normalizedOptions} = useFormSelect(() => props.options, props) as {\n normalizedOptions: ComputedRef<SelectOption[]>\n}\n\nconst findOptionText = (val: AcceptableValue): string => {\n const match = normalizedOptions.value.find((opt) => {\n if (props.by && typeof props.by === 'string') {\n return (\n (opt.value as Record<string, unknown>)?.[props.by] ===\n (val as Record<string, unknown>)?.[props.by]\n )\n }\n return opt.value === val\n })\n return match ? String(match.text) : String(val)\n}\n\n// Filter options — for multiple mode, always uses searchTerm which is purely a search query\nconst filteredOptions = computed(() => {\n const filterText = searchTerm.value\n if (props.filterFunction) {\n return props.filterFunction(normalizedOptions.value, filterText)\n }\n if (!filterText) return normalizedOptions.value\n const term = filterText.toLowerCase()\n return normalizedOptions.value.filter((opt) => String(opt.text).toLowerCase().includes(term))\n})\n\n// Display value for single select mode (reka-ui calls this on selection)\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst displayValueFn = (val: any) => {\n if (val === null || val === undefined) return ''\n if (props.multiple) return '' // Multiple mode uses the separate display element\n return findOptionText(val)\n}\n\n// Whether there are selected values in multiple mode\nconst hasSelection = computed(() => {\n if (!modelValue.value) return false\n return Array.isArray(modelValue.value) ? modelValue.value.length > 0 : true\n})\n\n// Resolved option objects for tags mode\nconst selectedOptions = computed<SelectOption[]>(() => {\n if (!props.multiple || !modelValue.value) return []\n const selected = Array.isArray(modelValue.value) ? modelValue.value : [modelValue.value]\n return selected\n .map((val) =>\n normalizedOptions.value.find((opt) => {\n if (props.by && typeof props.by === 'string') {\n return (\n (opt.value as Record<string, unknown>)?.[props.by] ===\n (val as Record<string, unknown>)?.[props.by]\n )\n }\n return opt.value === val\n })\n )\n .filter((opt): opt is SelectOption => !!opt)\n})\n\nconst removeSelected = (option: SelectOption) => {\n if (!Array.isArray(modelValue.value)) return\n modelValue.value = modelValue.value.filter((val) => {\n if (props.by && typeof props.by === 'string') {\n return (\n (val as Record<string, unknown>)?.[props.by] !==\n (option.value as Record<string, unknown>)?.[props.by]\n )\n }\n return val !== option.value\n })\n}\n\nconst optionKey = (option: SelectOption, index: number) => {\n const val = option.value\n if (val !== null && val !== undefined && typeof val !== 'object') return String(val)\n return index\n}\n\nconst isLastSelectedOption = (_opt: SelectOption, index: number): boolean => {\n return index === selectedOptions.value.length - 1\n}\n\nconst resetPendingDelete = () => {\n pendingDelete.value = false\n}\nconst onInputKeydown = (event: KeyboardEvent) => {\n if (!props.multiple || !hasSelection.value) {\n resetPendingDelete()\n return\n }\n\n if (event.key === 'Backspace' && searchTerm.value === '') {\n if (pendingDelete.value) {\n // Second backspace — delete the last selected item\n const lastOpt = selectedOptions.value[selectedOptions.value.length - 1]\n if (lastOpt) {\n removeSelected(lastOpt)\n }\n pendingDelete.value = false\n } else {\n // First backspace — prime for deletion\n pendingDelete.value = true\n }\n return\n }\n\n // Any other key resets the pending delete state\n if (pendingDelete.value) {\n resetPendingDelete()\n }\n}\n</script>\n"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],"mappings":";;;;;;;;;;;;;;;;;AAAA,SAAS,UAAU,GAAE;AAAC,QAAO,OAAO,KAAG,WAAS,IAAI,EAAE,KAAG,IAAI,GAAG,CAAC,UAAU,EAAE;;AAAC,IAAM,IAAe,2BAAU;CAAC,MAAM,EAAC;EAAC,qBAAG,IAAI,KAAG;EAAC,QAAQ,GAAE,GAAE;GAAC,MAAM,IAAE,OAAO,GAAE,IAAE,OAAO;AAAE,UAAO,MAAI,YAAU,MAAI,WAAS,EAAE,cAAc,EAAE,GAAC,MAAI,YAAU,MAAI,WAAS,IAAE,IAAE,OAAO,UAAU,cAAc,KAAK,KAAK,UAAU,GAAE,KAAK,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AA,gBAAwC,CAAA;;yCAIzC,EAAA,GAAA,IAAA,YAAA,KAAA,QAAA,WAAA,GAAA,IAAA,YAAA,EAAA,SAAA,MAAA,EAFqB,OAAM,QAE3B,EAAA,GAAA,IAAA,kBAAA,GAAA,IAAA,iBADF,OAAO,KAAI,EAAA,EAAA,CAAA,CAAA,GAAA,GAAA,IAAA,cAAA,GAAA,IAAA,OAgBQ,8BAAA,EAAA,EAdD,OAAM,iCAA+B,EAAA;0CAanD,EAAA,GAAA,IAAA,YAAA,KAAA,QAAA,oBAAA,EAAA,QAAA,CAAA,OAAA,OAAA,OAAA,MAAA,GAAA,IAAA,oBADC,OAAA;WATJ,OAAM;WACN,OAAM;WACN,QAAO;WACP,MAAK;WACL,SAAQ;0CAIN,QAAA,EADA,GAAE,kIAAgI,CAAA,CAAA,EAAA,GAAA,EAAA,CAAA,CAAA,CAAA"}
|
|
1
|
+
{"version":3,"file":"BAutocomplete-4CFl6XQR.js","names":["#t","unrefElement","refAutoReset","getActiveElement","usePrimitiveElement","Slot","createContext","usePrimitiveElement","useKbd","useDirection","useVModel","createEventHook","Primitive","VisuallyHiddenInput_default","refAutoReset","Primitive","useVModel","usePrimitiveElement","Primitive","createContext","useId","useForwardExpose","Primitive","Primitive","createContext","usePrimitiveElement","useDirection","useVModel","createEventHook","PopperRoot_default","useForwardExpose","PopperAnchor_default","Primitive","createContext","useForwardExpose","useForwardProps","getActiveElement","FocusScope_default","DismissableLayer_default","PopperContent_default","Primitive","useForwardPropsEmits","useForwardExpose","useId","Presence_default","Primitive","createContext","usePrimitiveElement","useVModel","useId","usePrimitiveElement","Teleport_default","useForwardExpose","Primitive","injectConfigProviderContext","useForwardExpose","Fragment","Primitive"],"sources":["../../../node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/shared/ohash.D__AXeF1.mjs","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/arrays.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useFilter.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useFormControl.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useTypeahead.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Collection/Collection.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Listbox/utils.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/RovingFocus/utils.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Listbox/ListboxRoot.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Listbox/ListboxContent.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Listbox/ListboxFilter.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Listbox/ListboxItem.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Listbox/ListboxItemIndicator.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxRoot.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxAnchor.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxContentImpl.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxContent.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxEmpty.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxGroup.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxInput.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxItem.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxItemIndicator.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxPortal.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxTrigger.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useNonce.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxViewport.js","../src/components/BAutocomplete/BAutocomplete.vue","../src/components/BAutocomplete/BAutocomplete.vue"],"sourcesContent":["function serialize(o){return typeof o==\"string\"?`'${o}'`:new c().serialize(o)}const c=/*@__PURE__*/function(){class o{#t=new Map;compare(t,r){const e=typeof t,n=typeof r;return e===\"string\"&&n===\"string\"?t.localeCompare(r):e===\"number\"&&n===\"number\"?t-r:String.prototype.localeCompare.call(this.serialize(t,true),this.serialize(r,true))}serialize(t,r){if(t===null)return \"null\";switch(typeof t){case \"string\":return r?t:`'${t}'`;case \"bigint\":return `${t}n`;case \"object\":return this.$object(t);case \"function\":return this.$function(t)}return String(t)}serializeObject(t){const r=Object.prototype.toString.call(t);if(r!==\"[object Object]\")return this.serializeBuiltInType(r.length<10?`unknown:${r}`:r.slice(8,-1),t);const e=t.constructor,n=e===Object||e===void 0?\"\":e.name;if(n!==\"\"&&globalThis[n]===e)return this.serializeBuiltInType(n,t);if(typeof t.toJSON==\"function\"){const i=t.toJSON();return n+(i!==null&&typeof i==\"object\"?this.$object(i):`(${this.serialize(i)})`)}return this.serializeObjectEntries(n,Object.entries(t))}serializeBuiltInType(t,r){const e=this[\"$\"+t];if(e)return e.call(this,r);if(typeof r?.entries==\"function\")return this.serializeObjectEntries(t,r.entries());throw new Error(`Cannot serialize ${t}`)}serializeObjectEntries(t,r){const e=Array.from(r).sort((i,a)=>this.compare(i[0],a[0]));let n=`${t}{`;for(let i=0;i<e.length;i++){const[a,l]=e[i];n+=`${this.serialize(a,true)}:${this.serialize(l)}`,i<e.length-1&&(n+=\",\");}return n+\"}\"}$object(t){let r=this.#t.get(t);return r===void 0&&(this.#t.set(t,`#${this.#t.size}`),r=this.serializeObject(t),this.#t.set(t,r)),r}$function(t){const r=Function.prototype.toString.call(t);return r.slice(-15)===\"[native code] }\"?`${t.name||\"\"}()[native]`:`${t.name}(${t.length})${r.replace(/\\s*\\n\\s*/g,\"\")}`}$Array(t){let r=\"[\";for(let e=0;e<t.length;e++)r+=this.serialize(t[e]),e<t.length-1&&(r+=\",\");return r+\"]\"}$Date(t){try{return `Date(${t.toISOString()})`}catch{return \"Date(null)\"}}$ArrayBuffer(t){return `ArrayBuffer[${new Uint8Array(t).join(\",\")}]`}$Set(t){return `Set${this.$Array(Array.from(t).sort((r,e)=>this.compare(r,e)))}`}$Map(t){return this.serializeObjectEntries(\"Map\",t.entries())}}for(const s of [\"Error\",\"RegExp\",\"URL\"])o.prototype[\"$\"+s]=function(t){return `${s}(${t})`};for(const s of [\"Int8Array\",\"Uint8Array\",\"Uint8ClampedArray\",\"Int16Array\",\"Uint16Array\",\"Int32Array\",\"Uint32Array\",\"Float32Array\",\"Float64Array\"])o.prototype[\"$\"+s]=function(t){return `${s}[${t.join(\",\")}]`};for(const s of [\"BigInt64Array\",\"BigUint64Array\"])o.prototype[\"$\"+s]=function(t){return `${s}[${t.join(\"n,\")}${t.length>0?\"n\":\"\"}]`};return o}();\n\nfunction isEqual(object1, object2) {\n if (object1 === object2) {\n return true;\n }\n if (serialize(object1) === serialize(object2)) {\n return true;\n }\n return false;\n}\n\nexport { isEqual as i, serialize as s };\n","import { isEqual } from \"ohash\";\n\n//#region src/shared/arrays.ts\n/**\n* The function `areEqual` compares two arrays and returns true if they are equal in length and have\n* the same elements at corresponding indexes.\n* @param {any[]} arrayA - An array of any type of elements.\n* @param {any[]} arrayB - It looks like you haven't provided the value for `arrayB`. Could you please\n* provide the arrayB value so that I can assist you further?\n* @returns The function `areEqual` is returning a boolean value, either `true` if the two input arrays\n* `arrayA` and `arrayB` are equal, or `false` if they are not equal.\n*/\nfunction areEqual(arrayA, arrayB) {\n\tif (arrayA.length !== arrayB.length) return false;\n\tfor (let index = 0; index < arrayA.length; index++) if (arrayA[index] !== arrayB[index]) return false;\n\treturn true;\n}\n/**\n* The function `findValuesBetween` takes an array and two values, then returns a subarray containing\n* elements between the first occurrence of the start value and the first occurrence of the end value\n* in the array.\n* @param {T[]} array - The `array` parameter is an array of values of type `T`.\n* @param {T} start - The `start` parameter is the value that marks the beginning of the range you want\n* to find in the array.\n* @param {T} end - The `end` parameter in the `findValuesBetween` function represents the end value\n* that you want to find in the array. This function will return a subarray of values that are between\n* the `start` and `end` values in the original array.\n* @returns The `findValuesBetween` function returns an array of values from the input array that are\n* between the `start` and `end` values (inclusive). If either the `start` or `end` values are not\n* found in the input array, an empty array is returned.\n*/\nfunction findValuesBetween(array, start, end) {\n\tconst startIndex = array.findIndex((i) => isEqual(i, start));\n\tconst endIndex = array.findIndex((i) => isEqual(i, end));\n\tif (startIndex === -1 || endIndex === -1) return [];\n\tconst [minIndex, maxIndex] = [startIndex, endIndex].sort((a, b) => a - b);\n\treturn array.slice(minIndex, maxIndex + 1);\n}\n\n//#endregion\nexport { areEqual, findValuesBetween };\n//# sourceMappingURL=arrays.js.map","import { computed, unref } from \"vue\";\n\n//#region src/shared/useFilter.ts\n/**\n* Provides locale-aware string filtering functions.\n* Uses `Intl.Collator` for comparison to ensure proper Unicode handling.\n*\n* @param options - Optional collator options to customize comparison behavior.\n* See [Intl.CollatorOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Collator/Collator#options) for details.\n* @returns An object with methods to check if a string starts with, ends with, or contains a substring.\n*\n* @example\n* const { startsWith, endsWith, contains } = useFilter();\n*\n* startsWith('hello', 'he'); // true\n* endsWith('hello', 'lo'); // true\n* contains('hello', 'ell'); // true\n*/\nfunction useFilter(options) {\n\tconst computedOptions = computed(() => unref(options));\n\tconst collator = computed(() => new Intl.Collator(\"en\", {\n\t\tusage: \"search\",\n\t\t...computedOptions.value\n\t}));\n\tconst startsWith = (string, substring) => {\n\t\tif (substring.length === 0) return true;\n\t\tstring = string.normalize(\"NFC\");\n\t\tsubstring = substring.normalize(\"NFC\");\n\t\treturn collator.value.compare(string.slice(0, substring.length), substring) === 0;\n\t};\n\tconst endsWith = (string, substring) => {\n\t\tif (substring.length === 0) return true;\n\t\tstring = string.normalize(\"NFC\");\n\t\tsubstring = substring.normalize(\"NFC\");\n\t\treturn collator.value.compare(string.slice(-substring.length), substring) === 0;\n\t};\n\tconst contains = (string, substring) => {\n\t\tif (substring.length === 0) return true;\n\t\tstring = string.normalize(\"NFC\");\n\t\tsubstring = substring.normalize(\"NFC\");\n\t\tlet scan = 0;\n\t\tconst sliceLen = substring.length;\n\t\tfor (; scan + sliceLen <= string.length; scan++) {\n\t\t\tconst slice = string.slice(scan, scan + sliceLen);\n\t\t\tif (collator.value.compare(substring, slice) === 0) return true;\n\t\t}\n\t\treturn false;\n\t};\n\treturn {\n\t\tstartsWith,\n\t\tendsWith,\n\t\tcontains\n\t};\n}\n\n//#endregion\nexport { useFilter };\n//# sourceMappingURL=useFilter.js.map","import { computed, toValue } from \"vue\";\nimport { unrefElement } from \"@vueuse/core\";\n\n//#region src/shared/useFormControl.ts\nfunction useFormControl(el) {\n\treturn computed(() => toValue(el) ? Boolean(unrefElement(el)?.closest(\"form\")) : true);\n}\n\n//#endregion\nexport { useFormControl };\n//# sourceMappingURL=useFormControl.js.map","import { getActiveElement } from \"./getActiveElement.js\";\nimport { refAutoReset } from \"@vueuse/shared\";\n\n//#region src/shared/useTypeahead.ts\nfunction useTypeahead(callback) {\n\tconst search = refAutoReset(\"\", 1e3);\n\tconst handleTypeaheadSearch = (key, items) => {\n\t\tsearch.value = search.value + key;\n\t\tif (callback) callback(key);\n\t\telse {\n\t\t\tconst currentItem = getActiveElement();\n\t\t\tconst itemsWithTextValue = items.map((item) => ({\n\t\t\t\t...item,\n\t\t\t\ttextValue: item.value?.textValue ?? item.ref.textContent?.trim() ?? \"\"\n\t\t\t}));\n\t\t\tconst currentMatch = itemsWithTextValue.find((item) => item.ref === currentItem);\n\t\t\tconst values = itemsWithTextValue.map((item) => item.textValue);\n\t\t\tconst nextMatch = getNextMatch(values, search.value, currentMatch?.textValue);\n\t\t\tconst newItem = itemsWithTextValue.find((item) => item.textValue === nextMatch);\n\t\t\tif (newItem) newItem.ref.focus();\n\t\t\treturn newItem?.ref;\n\t\t}\n\t};\n\tconst resetTypeahead = () => {\n\t\tsearch.value = \"\";\n\t};\n\treturn {\n\t\tsearch,\n\t\thandleTypeaheadSearch,\n\t\tresetTypeahead\n\t};\n}\n/**\n* Wraps an array around itself at a given start index\n* Example: `wrapArray(['a', 'b', 'c', 'd'], 2) === ['c', 'd', 'a', 'b']`\n*/\nfunction wrapArray(array, startIndex) {\n\treturn array.map((_, index) => array[(startIndex + index) % array.length]);\n}\n/**\n* This is the \"meat\" of the typeahead matching logic. It takes in all the values,\n* the search and the current match, and returns the next match (or `undefined`).\n*\n* We normalize the search because if a user has repeatedly pressed a character,\n* we want the exact same behavior as if we only had that one character\n* (ie. cycle through options starting with that character)\n*\n* We also reorder the values by wrapping the array around the current match.\n* This is so we always look forward from the current match, and picking the first\n* match will always be the correct one.\n*\n* Finally, if the normalized search is exactly one character, we exclude the\n* current match from the values because otherwise it would be the first to match always\n* and focus would never move. This is as opposed to the regular case, where we\n* don't want focus to move if the current match still matches.\n*/\nfunction getNextMatch(values, search, currentMatch) {\n\tconst isRepeated = search.length > 1 && Array.from(search).every((char) => char === search[0]);\n\tconst normalizedSearch = isRepeated ? search[0] : search;\n\tconst currentMatchIndex = currentMatch ? values.indexOf(currentMatch) : -1;\n\tlet wrappedValues = wrapArray(values, Math.max(currentMatchIndex, 0));\n\tconst excludeCurrentMatch = normalizedSearch.length === 1;\n\tif (excludeCurrentMatch) wrappedValues = wrappedValues.filter((v) => v !== currentMatch);\n\tconst nextMatch = wrappedValues.find((value) => value.toLowerCase().startsWith(normalizedSearch.toLowerCase()));\n\treturn nextMatch !== currentMatch ? nextMatch : void 0;\n}\n\n//#endregion\nexport { getNextMatch, useTypeahead, wrapArray };\n//# sourceMappingURL=useTypeahead.js.map","import { Slot } from \"../Primitive/Slot.js\";\nimport { usePrimitiveElement } from \"../Primitive/usePrimitiveElement.js\";\nimport { computed, defineComponent, h, inject, markRaw, provide, ref, watch, watchEffect } from \"vue\";\n\n//#region src/Collection/Collection.ts\nconst ITEM_DATA_ATTR = \"data-reka-collection-item\";\nfunction useCollection(options = {}) {\n\tconst { key = \"\", isProvider = false } = options;\n\tconst injectionKey = `${key}CollectionProvider`;\n\tlet context;\n\tif (isProvider) {\n\t\tconst itemMap = ref(/* @__PURE__ */ new Map());\n\t\tconst collectionRef = ref();\n\t\tcontext = {\n\t\t\tcollectionRef,\n\t\t\titemMap\n\t\t};\n\t\tprovide(injectionKey, context);\n\t} else context = inject(injectionKey);\n\tconst getItems = (includeDisabledItem = false) => {\n\t\tconst collectionNode = context.collectionRef.value;\n\t\tif (!collectionNode) return [];\n\t\tconst orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n\t\tconst items = Array.from(context.itemMap.value.values());\n\t\tconst orderedItems = items.sort((a, b) => orderedNodes.indexOf(a.ref) - orderedNodes.indexOf(b.ref));\n\t\tif (includeDisabledItem) return orderedItems;\n\t\telse return orderedItems.filter((i) => i.ref.dataset.disabled !== \"\");\n\t};\n\tconst CollectionSlot = defineComponent({\n\t\tname: \"CollectionSlot\",\n\t\tinheritAttrs: false,\n\t\tsetup(_, { slots, attrs }) {\n\t\t\tconst { primitiveElement, currentElement } = usePrimitiveElement();\n\t\t\twatch(currentElement, () => {\n\t\t\t\tcontext.collectionRef.value = currentElement.value;\n\t\t\t});\n\t\t\treturn () => h(Slot, {\n\t\t\t\tref: primitiveElement,\n\t\t\t\t...attrs\n\t\t\t}, slots);\n\t\t}\n\t});\n\tconst CollectionItem = defineComponent({\n\t\tname: \"CollectionItem\",\n\t\tinheritAttrs: false,\n\t\tprops: { value: { validator: () => true } },\n\t\tsetup(props, { slots, attrs }) {\n\t\t\tconst { primitiveElement, currentElement } = usePrimitiveElement();\n\t\t\twatchEffect((cleanupFn) => {\n\t\t\t\tif (currentElement.value) {\n\t\t\t\t\tconst key$1 = markRaw(currentElement.value);\n\t\t\t\t\tcontext.itemMap.value.set(key$1, {\n\t\t\t\t\t\tref: currentElement.value,\n\t\t\t\t\t\tvalue: props.value\n\t\t\t\t\t});\n\t\t\t\t\tcleanupFn(() => context.itemMap.value.delete(key$1));\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn () => h(Slot, {\n\t\t\t\t...attrs,\n\t\t\t\t[ITEM_DATA_ATTR]: \"\",\n\t\t\t\tref: primitiveElement\n\t\t\t}, slots);\n\t\t}\n\t});\n\tconst reactiveItems = computed(() => Array.from(context.itemMap.value.values()));\n\tconst itemMapSize = computed(() => context.itemMap.value.size);\n\treturn {\n\t\tgetItems,\n\t\treactiveItems,\n\t\titemMapSize,\n\t\tCollectionSlot,\n\t\tCollectionItem\n\t};\n}\n\n//#endregion\nexport { useCollection };\n//# sourceMappingURL=Collection.js.map","import { isEqual } from \"ohash\";\n\n//#region src/Listbox/utils.ts\nfunction queryCheckedElement(parentEl) {\n\treturn parentEl?.querySelector(\"[data-state=checked]\");\n}\nfunction valueComparator(value, currentValue, comparator) {\n\tif (value === void 0) return false;\n\telse if (Array.isArray(value)) return value.some((val) => compare(val, currentValue, comparator));\n\telse return compare(value, currentValue, comparator);\n}\nfunction compare(value, currentValue, comparator) {\n\tif (value === void 0 || currentValue === void 0) return false;\n\tif (typeof value === \"string\") return value === currentValue;\n\tif (typeof comparator === \"function\") return comparator(value, currentValue);\n\tif (typeof comparator === \"string\") return value?.[comparator] === currentValue?.[comparator];\n\treturn isEqual(value, currentValue);\n}\n\n//#endregion\nexport { compare, queryCheckedElement, valueComparator };\n//# sourceMappingURL=utils.js.map","import { getActiveElement } from \"../shared/getActiveElement.js\";\n\n//#region src/RovingFocus/utils.ts\nconst ENTRY_FOCUS = \"rovingFocusGroup.onEntryFocus\";\nconst EVENT_OPTIONS = {\n\tbubbles: false,\n\tcancelable: true\n};\nconst MAP_KEY_TO_FOCUS_INTENT = {\n\tArrowLeft: \"prev\",\n\tArrowUp: \"prev\",\n\tArrowRight: \"next\",\n\tArrowDown: \"next\",\n\tPageUp: \"first\",\n\tHome: \"first\",\n\tPageDown: \"last\",\n\tEnd: \"last\"\n};\nfunction getDirectionAwareKey(key, dir) {\n\tif (dir !== \"rtl\") return key;\n\treturn key === \"ArrowLeft\" ? \"ArrowRight\" : key === \"ArrowRight\" ? \"ArrowLeft\" : key;\n}\nfunction getFocusIntent(event, orientation, dir) {\n\tconst key = getDirectionAwareKey(event.key, dir);\n\tif (orientation === \"vertical\" && [\"ArrowLeft\", \"ArrowRight\"].includes(key)) return void 0;\n\tif (orientation === \"horizontal\" && [\"ArrowUp\", \"ArrowDown\"].includes(key)) return void 0;\n\treturn MAP_KEY_TO_FOCUS_INTENT[key];\n}\nfunction focusFirst(candidates, preventScroll = false) {\n\tconst PREVIOUSLY_FOCUSED_ELEMENT = getActiveElement();\n\tfor (const candidate of candidates) {\n\t\tif (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n\t\tcandidate.focus({ preventScroll });\n\t\tif (getActiveElement() !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n\t}\n}\n/**\n* Wraps an array around itself at a given start index\n* Example: `wrapArray(['a', 'b', 'c', 'd'], 2) === ['c', 'd', 'a', 'b']`\n*/\nfunction wrapArray(array, startIndex) {\n\treturn array.map((_, index) => array[(startIndex + index) % array.length]);\n}\n\n//#endregion\nexport { ENTRY_FOCUS, EVENT_OPTIONS, MAP_KEY_TO_FOCUS_INTENT, focusFirst, getFocusIntent, wrapArray };\n//# sourceMappingURL=utils.js.map","import { findValuesBetween } from \"../shared/arrays.js\";\nimport { createContext } from \"../shared/createContext.js\";\nimport { useDirection } from \"../shared/useDirection.js\";\nimport { useFormControl } from \"../shared/useFormControl.js\";\nimport { useKbd } from \"../shared/useKbd.js\";\nimport { useTypeahead } from \"../shared/useTypeahead.js\";\nimport { Primitive } from \"../Primitive/Primitive.js\";\nimport { usePrimitiveElement } from \"../Primitive/usePrimitiveElement.js\";\nimport { useCollection } from \"../Collection/Collection.js\";\nimport { VisuallyHiddenInput_default } from \"../VisuallyHidden/VisuallyHiddenInput.js\";\nimport { compare } from \"./utils.js\";\nimport { getFocusIntent } from \"../RovingFocus/utils.js\";\nimport { createBlock, createCommentVNode, defineComponent, nextTick, openBlock, ref, renderSlot, toRefs, unref, watch, withCtx } from \"vue\";\nimport { createEventHook, useVModel } from \"@vueuse/core\";\n\n//#region src/Listbox/ListboxRoot.vue?vue&type=script&setup=true&lang.ts\nconst [injectListboxRootContext, provideListboxRootContext] = createContext(\"ListboxRoot\");\nvar ListboxRoot_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ListboxRoot\",\n\tprops: {\n\t\tmodelValue: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tdefaultValue: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tmultiple: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\torientation: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t\tdefault: \"vertical\"\n\t\t},\n\t\tdir: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tselectionBehavior: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t\tdefault: \"toggle\"\n\t\t},\n\t\thighlightOnHover: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tby: {\n\t\t\ttype: [String, Function],\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tname: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\trequired: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t}\n\t},\n\temits: [\n\t\t\"update:modelValue\",\n\t\t\"highlight\",\n\t\t\"entryFocus\",\n\t\t\"leave\"\n\t],\n\tsetup(__props, { expose: __expose, emit: __emit }) {\n\t\tconst props = __props;\n\t\tconst emits = __emit;\n\t\tconst { multiple, highlightOnHover, orientation, disabled, selectionBehavior, dir: propDir } = toRefs(props);\n\t\tconst { getItems } = useCollection({ isProvider: true });\n\t\tconst { handleTypeaheadSearch } = useTypeahead();\n\t\tconst { primitiveElement, currentElement } = usePrimitiveElement();\n\t\tconst kbd = useKbd();\n\t\tconst dir = useDirection(propDir);\n\t\tconst isFormControl = useFormControl(currentElement);\n\t\tconst firstValue = ref();\n\t\tconst isUserAction = ref(false);\n\t\tconst focusable = ref(true);\n\t\tconst modelValue = useVModel(props, \"modelValue\", emits, {\n\t\t\tdefaultValue: props.defaultValue ?? (multiple.value ? [] : void 0),\n\t\t\tpassive: props.modelValue === void 0,\n\t\t\tdeep: true\n\t\t});\n\t\tfunction onValueChange(val) {\n\t\t\tisUserAction.value = true;\n\t\t\tif (props.multiple) {\n\t\t\t\tconst modelArray = Array.isArray(modelValue.value) ? [...modelValue.value] : [];\n\t\t\t\tconst index = modelArray.findIndex((i) => compare(i, val, props.by));\n\t\t\t\tif (props.selectionBehavior === \"toggle\") {\n\t\t\t\t\tindex === -1 ? modelArray.push(val) : modelArray.splice(index, 1);\n\t\t\t\t\tmodelValue.value = modelArray;\n\t\t\t\t} else {\n\t\t\t\t\tmodelValue.value = [val];\n\t\t\t\t\tfirstValue.value = val;\n\t\t\t\t}\n\t\t\t} else if (props.selectionBehavior === \"toggle\") if (compare(modelValue.value, val, props.by)) modelValue.value = void 0;\n\t\t\telse modelValue.value = val;\n\t\t\telse modelValue.value = val;\n\t\t\tsetTimeout(() => {\n\t\t\t\tisUserAction.value = false;\n\t\t\t}, 1);\n\t\t}\n\t\tconst highlightedElement = ref(null);\n\t\tconst previousElement = ref(null);\n\t\tconst isVirtual = ref(false);\n\t\tconst isComposing = ref(false);\n\t\tconst virtualFocusHook = createEventHook();\n\t\tconst virtualKeydownHook = createEventHook();\n\t\tconst virtualHighlightHook = createEventHook();\n\t\tfunction getCollectionItem() {\n\t\t\treturn getItems().map((i) => i.ref).filter((i) => i.dataset.disabled !== \"\");\n\t\t}\n\t\tfunction changeHighlight(el, scrollIntoView = true) {\n\t\t\tif (!el) return;\n\t\t\thighlightedElement.value = el;\n\t\t\tif (focusable.value) highlightedElement.value.focus();\n\t\t\tif (scrollIntoView) highlightedElement.value.scrollIntoView({ block: \"nearest\" });\n\t\t\tconst highlightedItem = getItems().find((i) => i.ref === el);\n\t\t\temits(\"highlight\", highlightedItem);\n\t\t}\n\t\tfunction highlightItem(value) {\n\t\t\tif (isVirtual.value) virtualHighlightHook.trigger(value);\n\t\t\telse {\n\t\t\t\tconst item = getItems().find((i) => compare(i.value, value, props.by));\n\t\t\t\tif (item) {\n\t\t\t\t\thighlightedElement.value = item.ref;\n\t\t\t\t\tchangeHighlight(item.ref);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfunction onKeydownEnter(event) {\n\t\t\tif (highlightedElement.value && highlightedElement.value.isConnected) {\n\t\t\t\tevent.preventDefault();\n\t\t\t\tevent.stopPropagation();\n\t\t\t\tif (!isComposing.value) highlightedElement.value.click();\n\t\t\t}\n\t\t}\n\t\tfunction onKeydownTypeAhead(event) {\n\t\t\tif (!focusable.value) return;\n\t\t\tisUserAction.value = true;\n\t\t\tif (isVirtual.value) virtualKeydownHook.trigger(event);\n\t\t\telse {\n\t\t\t\tconst isMetaKey = event.altKey || event.ctrlKey || event.metaKey;\n\t\t\t\tif (isMetaKey && event.key === \"a\" && multiple.value) {\n\t\t\t\t\tconst collection = getItems();\n\t\t\t\t\tconst values = collection.map((i) => i.value);\n\t\t\t\t\tmodelValue.value = [...values];\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\tchangeHighlight(collection[collection.length - 1].ref);\n\t\t\t\t} else if (!isMetaKey) {\n\t\t\t\t\tconst el = handleTypeaheadSearch(event.key, getItems());\n\t\t\t\t\tif (el) changeHighlight(el);\n\t\t\t\t}\n\t\t\t}\n\t\t\tsetTimeout(() => {\n\t\t\t\tisUserAction.value = false;\n\t\t\t}, 1);\n\t\t}\n\t\tfunction onCompositionStart() {\n\t\t\tisComposing.value = true;\n\t\t}\n\t\tfunction onCompositionEnd() {\n\t\t\tnextTick(() => {\n\t\t\t\tisComposing.value = false;\n\t\t\t});\n\t\t}\n\t\tfunction highlightFirstItem() {\n\t\t\tnextTick(() => {\n\t\t\t\tconst event = new KeyboardEvent(\"keydown\", { key: \"PageUp\" });\n\t\t\t\tonKeydownNavigation(event);\n\t\t\t});\n\t\t}\n\t\tfunction onLeave(event) {\n\t\t\tconst el = highlightedElement.value;\n\t\t\tif (el?.isConnected) previousElement.value = el;\n\t\t\thighlightedElement.value = null;\n\t\t\temits(\"leave\", event);\n\t\t}\n\t\tfunction onEnter(event) {\n\t\t\tconst entryFocusEvent = new CustomEvent(\"listbox.entryFocus\", {\n\t\t\t\tbubbles: false,\n\t\t\t\tcancelable: true\n\t\t\t});\n\t\t\tevent.currentTarget?.dispatchEvent(entryFocusEvent);\n\t\t\temits(\"entryFocus\", entryFocusEvent);\n\t\t\tif (entryFocusEvent.defaultPrevented) return;\n\t\t\tif (previousElement.value) changeHighlight(previousElement.value);\n\t\t\telse {\n\t\t\t\tconst el = getCollectionItem()?.[0];\n\t\t\t\tchangeHighlight(el);\n\t\t\t}\n\t\t}\n\t\tfunction onKeydownNavigation(event) {\n\t\t\tconst intent = getFocusIntent(event, orientation.value, dir.value);\n\t\t\tif (!intent) return;\n\t\t\tlet collection = getCollectionItem();\n\t\t\tif (highlightedElement.value) {\n\t\t\t\tif (intent === \"last\") collection.reverse();\n\t\t\t\telse if (intent === \"prev\" || intent === \"next\") {\n\t\t\t\t\tif (intent === \"prev\") collection.reverse();\n\t\t\t\t\tconst currentIndex = collection.indexOf(highlightedElement.value);\n\t\t\t\t\tcollection = collection.slice(currentIndex + 1);\n\t\t\t\t}\n\t\t\t\thandleMultipleReplace(event, collection[0]);\n\t\t\t}\n\t\t\tif (collection.length) {\n\t\t\t\tconst index = !highlightedElement.value && intent === \"prev\" ? collection.length - 1 : 0;\n\t\t\t\tchangeHighlight(collection[index]);\n\t\t\t}\n\t\t\tif (isVirtual.value) return virtualKeydownHook.trigger(event);\n\t\t}\n\t\tfunction handleMultipleReplace(event, targetEl) {\n\t\t\tif (isVirtual.value || props.selectionBehavior !== \"replace\" || !multiple.value || !Array.isArray(modelValue.value)) return;\n\t\t\tconst isMetaKey = event.altKey || event.ctrlKey || event.metaKey;\n\t\t\tif (isMetaKey && !event.shiftKey) return;\n\t\t\tif (event.shiftKey) {\n\t\t\t\tconst collection = getItems().filter((i) => i.ref.dataset.disabled !== \"\");\n\t\t\t\tlet lastValue = collection.find((i) => i.ref === targetEl)?.value;\n\t\t\t\tif (event.key === kbd.END) lastValue = collection[collection.length - 1].value;\n\t\t\t\telse if (event.key === kbd.HOME) lastValue = collection[0].value;\n\t\t\t\tif (!lastValue || !firstValue.value) return;\n\t\t\t\tconst values = findValuesBetween(collection.map((i) => i.value), firstValue.value, lastValue);\n\t\t\t\tmodelValue.value = values;\n\t\t\t}\n\t\t}\n\t\tasync function highlightSelected(event) {\n\t\t\tawait nextTick();\n\t\t\tif (isVirtual.value) virtualFocusHook.trigger(event);\n\t\t\telse {\n\t\t\t\tconst collection = getCollectionItem();\n\t\t\t\tconst item = collection.find((i) => i.dataset.state === \"checked\");\n\t\t\t\tif (item) changeHighlight(item);\n\t\t\t\telse if (collection.length) changeHighlight(collection[0]);\n\t\t\t}\n\t\t}\n\t\twatch(modelValue, () => {\n\t\t\tif (!isUserAction.value) nextTick(() => {\n\t\t\t\thighlightSelected();\n\t\t\t});\n\t\t}, {\n\t\t\timmediate: true,\n\t\t\tdeep: true\n\t\t});\n\t\t__expose({\n\t\t\thighlightedElement,\n\t\t\thighlightItem,\n\t\t\thighlightFirstItem,\n\t\t\thighlightSelected,\n\t\t\tgetItems\n\t\t});\n\t\tprovideListboxRootContext({\n\t\t\tmodelValue,\n\t\t\tonValueChange,\n\t\t\tmultiple,\n\t\t\torientation,\n\t\t\tdir,\n\t\t\tdisabled,\n\t\t\thighlightOnHover,\n\t\t\thighlightedElement,\n\t\t\tisVirtual,\n\t\t\tvirtualFocusHook,\n\t\t\tvirtualKeydownHook,\n\t\t\tvirtualHighlightHook,\n\t\t\tby: props.by,\n\t\t\tfirstValue,\n\t\t\tselectionBehavior,\n\t\t\tfocusable,\n\t\t\tonLeave,\n\t\t\tonEnter,\n\t\t\tchangeHighlight,\n\t\t\tonKeydownEnter,\n\t\t\tonKeydownNavigation,\n\t\t\tonKeydownTypeAhead,\n\t\t\tonCompositionStart,\n\t\t\tonCompositionEnd,\n\t\t\thighlightFirstItem\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(Primitive), {\n\t\t\t\tref_key: \"primitiveElement\",\n\t\t\t\tref: primitiveElement,\n\t\t\t\tas: _ctx.as,\n\t\t\t\t\"as-child\": _ctx.asChild,\n\t\t\t\tdir: unref(dir),\n\t\t\t\t\"data-disabled\": unref(disabled) ? \"\" : void 0,\n\t\t\t\tonPointerleave: onLeave,\n\t\t\t\tonFocusout: _cache[0] || (_cache[0] = async (event) => {\n\t\t\t\t\tconst target = event.relatedTarget || event.target;\n\t\t\t\t\tawait nextTick();\n\t\t\t\t\tif (highlightedElement.value && unref(currentElement) && !unref(currentElement).contains(target)) onLeave(event);\n\t\t\t\t})\n\t\t\t}, {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\", { modelValue: unref(modelValue) }), unref(isFormControl) && _ctx.name ? (openBlock(), createBlock(unref(VisuallyHiddenInput_default), {\n\t\t\t\t\tkey: 0,\n\t\t\t\t\tname: _ctx.name,\n\t\t\t\t\tvalue: unref(modelValue),\n\t\t\t\t\tdisabled: unref(disabled),\n\t\t\t\t\trequired: _ctx.required\n\t\t\t\t}, null, 8, [\n\t\t\t\t\t\"name\",\n\t\t\t\t\t\"value\",\n\t\t\t\t\t\"disabled\",\n\t\t\t\t\t\"required\"\n\t\t\t\t])) : createCommentVNode(\"v-if\", true)]),\n\t\t\t\t_: 3\n\t\t\t}, 8, [\n\t\t\t\t\"as\",\n\t\t\t\t\"as-child\",\n\t\t\t\t\"dir\",\n\t\t\t\t\"data-disabled\"\n\t\t\t]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Listbox/ListboxRoot.vue\nvar ListboxRoot_default = ListboxRoot_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ListboxRoot_default, injectListboxRootContext };\n//# sourceMappingURL=ListboxRoot.js.map","import { Primitive } from \"../Primitive/Primitive.js\";\nimport { useCollection } from \"../Collection/Collection.js\";\nimport { injectListboxRootContext } from \"./ListboxRoot.js\";\nimport { createBlock, createVNode, defineComponent, openBlock, renderSlot, unref, withCtx, withKeys, withModifiers } from \"vue\";\nimport { refAutoReset } from \"@vueuse/shared\";\n\n//#region src/Listbox/ListboxContent.vue?vue&type=script&setup=true&lang.ts\nvar ListboxContent_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ListboxContent\",\n\tprops: {\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst { CollectionSlot } = useCollection();\n\t\tconst rootContext = injectListboxRootContext();\n\t\tconst isClickFocus = refAutoReset(false, 10);\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(CollectionSlot), null, {\n\t\t\t\tdefault: withCtx(() => [createVNode(unref(Primitive), {\n\t\t\t\t\trole: \"listbox\",\n\t\t\t\t\tas: _ctx.as,\n\t\t\t\t\t\"as-child\": _ctx.asChild,\n\t\t\t\t\ttabindex: unref(rootContext).focusable.value ? unref(rootContext).highlightedElement.value ? \"-1\" : \"0\" : \"-1\",\n\t\t\t\t\t\"aria-orientation\": unref(rootContext).orientation.value,\n\t\t\t\t\t\"aria-multiselectable\": !!unref(rootContext).multiple.value,\n\t\t\t\t\t\"data-orientation\": unref(rootContext).orientation.value,\n\t\t\t\t\tonMousedown: _cache[0] || (_cache[0] = withModifiers(($event) => isClickFocus.value = true, [\"left\"])),\n\t\t\t\t\tonFocus: _cache[1] || (_cache[1] = (ev) => {\n\t\t\t\t\t\tif (unref(isClickFocus)) return;\n\t\t\t\t\t\tunref(rootContext).onEnter(ev);\n\t\t\t\t\t}),\n\t\t\t\t\tonKeydown: [\n\t\t\t\t\t\t_cache[2] || (_cache[2] = withKeys((event) => {\n\t\t\t\t\t\t\tif (unref(rootContext).orientation.value === \"vertical\" && (event.key === \"ArrowLeft\" || event.key === \"ArrowRight\") || unref(rootContext).orientation.value === \"horizontal\" && (event.key === \"ArrowUp\" || event.key === \"ArrowDown\")) return;\n\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\tunref(rootContext).focusable.value && unref(rootContext).onKeydownNavigation(event);\n\t\t\t\t\t\t}, [\n\t\t\t\t\t\t\t\"down\",\n\t\t\t\t\t\t\t\"up\",\n\t\t\t\t\t\t\t\"left\",\n\t\t\t\t\t\t\t\"right\",\n\t\t\t\t\t\t\t\"home\",\n\t\t\t\t\t\t\t\"end\"\n\t\t\t\t\t\t])),\n\t\t\t\t\t\twithKeys(unref(rootContext).onKeydownEnter, [\"enter\"]),\n\t\t\t\t\t\tunref(rootContext).onKeydownTypeAhead\n\t\t\t\t\t]\n\t\t\t\t}, {\n\t\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t\t_: 3\n\t\t\t\t}, 8, [\n\t\t\t\t\t\"as\",\n\t\t\t\t\t\"as-child\",\n\t\t\t\t\t\"tabindex\",\n\t\t\t\t\t\"aria-orientation\",\n\t\t\t\t\t\"aria-multiselectable\",\n\t\t\t\t\t\"data-orientation\",\n\t\t\t\t\t\"onKeydown\"\n\t\t\t\t])]),\n\t\t\t\t_: 3\n\t\t\t});\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Listbox/ListboxContent.vue\nvar ListboxContent_default = ListboxContent_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ListboxContent_default };\n//# sourceMappingURL=ListboxContent.js.map","import { Primitive } from \"../Primitive/Primitive.js\";\nimport { usePrimitiveElement } from \"../Primitive/usePrimitiveElement.js\";\nimport { injectListboxRootContext } from \"./ListboxRoot.js\";\nimport { computed, createBlock, defineComponent, onMounted, onUnmounted, openBlock, ref, renderSlot, unref, watchSyncEffect, withCtx, withKeys, withModifiers } from \"vue\";\nimport { useVModel } from \"@vueuse/core\";\n\n//#region src/Listbox/ListboxFilter.vue?vue&type=script&setup=true&lang.ts\nvar ListboxFilter_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ListboxFilter\",\n\tprops: {\n\t\tmodelValue: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tautoFocus: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false,\n\t\t\tdefault: \"input\"\n\t\t}\n\t},\n\temits: [\"update:modelValue\"],\n\tsetup(__props, { emit: __emit }) {\n\t\tconst props = __props;\n\t\tconst emits = __emit;\n\t\tconst modelValue = useVModel(props, \"modelValue\", emits, {\n\t\t\tdefaultValue: \"\",\n\t\t\tpassive: props.modelValue === void 0\n\t\t});\n\t\tconst rootContext = injectListboxRootContext();\n\t\tconst { primitiveElement, currentElement } = usePrimitiveElement();\n\t\tconst disabled = computed(() => props.disabled || rootContext.disabled.value || false);\n\t\tconst activedescendant = ref();\n\t\twatchSyncEffect(() => activedescendant.value = rootContext.highlightedElement.value?.id);\n\t\tonMounted(() => {\n\t\t\trootContext.focusable.value = false;\n\t\t\tsetTimeout(() => {\n\t\t\t\tif (props.autoFocus) currentElement.value?.focus();\n\t\t\t}, 1);\n\t\t});\n\t\tonUnmounted(() => {\n\t\t\trootContext.focusable.value = true;\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(Primitive), {\n\t\t\t\tref_key: \"primitiveElement\",\n\t\t\t\tref: primitiveElement,\n\t\t\t\tas: _ctx.as,\n\t\t\t\t\"as-child\": _ctx.asChild,\n\t\t\t\tvalue: unref(modelValue),\n\t\t\t\tdisabled: disabled.value ? \"\" : void 0,\n\t\t\t\t\"data-disabled\": disabled.value ? \"\" : void 0,\n\t\t\t\t\"aria-disabled\": disabled.value ?? void 0,\n\t\t\t\t\"aria-activedescendant\": activedescendant.value,\n\t\t\t\ttype: \"text\",\n\t\t\t\tonKeydown: [withKeys(withModifiers(unref(rootContext).onKeydownNavigation, [\"prevent\"]), [\n\t\t\t\t\t\"down\",\n\t\t\t\t\t\"up\",\n\t\t\t\t\t\"home\",\n\t\t\t\t\t\"end\"\n\t\t\t\t]), withKeys(unref(rootContext).onKeydownEnter, [\"enter\"])],\n\t\t\t\tonInput: _cache[0] || (_cache[0] = (event) => {\n\t\t\t\t\tmodelValue.value = event.target.value;\n\t\t\t\t\tunref(rootContext).highlightFirstItem();\n\t\t\t\t}),\n\t\t\t\tonCompositionstart: unref(rootContext).onCompositionStart,\n\t\t\t\tonCompositionend: unref(rootContext).onCompositionEnd\n\t\t\t}, {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\", { modelValue: unref(modelValue) })]),\n\t\t\t\t_: 3\n\t\t\t}, 8, [\n\t\t\t\t\"as\",\n\t\t\t\t\"as-child\",\n\t\t\t\t\"value\",\n\t\t\t\t\"disabled\",\n\t\t\t\t\"data-disabled\",\n\t\t\t\t\"aria-disabled\",\n\t\t\t\t\"aria-activedescendant\",\n\t\t\t\t\"onKeydown\",\n\t\t\t\t\"onCompositionstart\",\n\t\t\t\t\"onCompositionend\"\n\t\t\t]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Listbox/ListboxFilter.vue\nvar ListboxFilter_default = ListboxFilter_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ListboxFilter_default };\n//# sourceMappingURL=ListboxFilter.js.map","import { createContext } from \"../shared/createContext.js\";\nimport { handleAndDispatchCustomEvent } from \"../shared/handleAndDispatchCustomEvent.js\";\nimport { useForwardExpose } from \"../shared/useForwardExpose.js\";\nimport { useId } from \"../shared/useId.js\";\nimport { Primitive } from \"../Primitive/Primitive.js\";\nimport { useCollection } from \"../Collection/Collection.js\";\nimport { valueComparator } from \"./utils.js\";\nimport { injectListboxRootContext } from \"./ListboxRoot.js\";\nimport { computed, createBlock, createVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx, withKeys, withMemo, withModifiers } from \"vue\";\n\n//#region src/Listbox/ListboxItem.vue?vue&type=script&setup=true&lang.ts\nconst LISTBOX_SELECT = \"listbox.select\";\nconst [injectListboxItemContext, provideListboxItemContext] = createContext(\"ListboxItem\");\nvar ListboxItem_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ListboxItem\",\n\tprops: {\n\t\tvalue: {\n\t\t\ttype: null,\n\t\t\trequired: true\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false,\n\t\t\tdefault: \"div\"\n\t\t}\n\t},\n\temits: [\"select\"],\n\tsetup(__props, { emit: __emit }) {\n\t\tconst props = __props;\n\t\tconst emits = __emit;\n\t\tconst id = useId(void 0, \"reka-listbox-item\");\n\t\tconst { CollectionItem } = useCollection();\n\t\tconst { forwardRef, currentElement } = useForwardExpose();\n\t\tconst rootContext = injectListboxRootContext();\n\t\tconst isHighlighted = computed(() => currentElement.value === rootContext.highlightedElement.value);\n\t\tconst isSelected = computed(() => valueComparator(rootContext.modelValue.value, props.value, rootContext.by));\n\t\tconst disabled = computed(() => rootContext.disabled.value || props.disabled);\n\t\tasync function handleSelect(ev) {\n\t\t\temits(\"select\", ev);\n\t\t\tif (ev?.defaultPrevented) return;\n\t\t\tif (!disabled.value && ev) {\n\t\t\t\trootContext.onValueChange(props.value);\n\t\t\t\trootContext.changeHighlight(currentElement.value);\n\t\t\t}\n\t\t}\n\t\tfunction handleSelectCustomEvent(ev) {\n\t\t\tconst eventDetail = {\n\t\t\t\toriginalEvent: ev,\n\t\t\t\tvalue: props.value\n\t\t\t};\n\t\t\thandleAndDispatchCustomEvent(LISTBOX_SELECT, handleSelect, eventDetail);\n\t\t}\n\t\tprovideListboxItemContext({ isSelected });\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(CollectionItem), { value: _ctx.value }, {\n\t\t\t\tdefault: withCtx(() => [withMemo([isHighlighted.value, isSelected.value], () => createVNode(unref(Primitive), mergeProps({ id: unref(id) }, _ctx.$attrs, {\n\t\t\t\t\tref: unref(forwardRef),\n\t\t\t\t\trole: \"option\",\n\t\t\t\t\ttabindex: unref(rootContext).focusable.value ? isHighlighted.value ? \"0\" : \"-1\" : -1,\n\t\t\t\t\t\"aria-selected\": isSelected.value,\n\t\t\t\t\tas: _ctx.as,\n\t\t\t\t\t\"as-child\": _ctx.asChild,\n\t\t\t\t\tdisabled: disabled.value ? \"\" : void 0,\n\t\t\t\t\t\"data-disabled\": disabled.value ? \"\" : void 0,\n\t\t\t\t\t\"data-highlighted\": isHighlighted.value ? \"\" : void 0,\n\t\t\t\t\t\"data-state\": isSelected.value ? \"checked\" : \"unchecked\",\n\t\t\t\t\tonClick: handleSelectCustomEvent,\n\t\t\t\t\tonKeydown: withKeys(withModifiers(handleSelectCustomEvent, [\"prevent\"]), [\"space\"]),\n\t\t\t\t\tonPointermove: _cache[0] || (_cache[0] = () => {\n\t\t\t\t\t\tif (unref(rootContext).highlightedElement.value === unref(currentElement)) return;\n\t\t\t\t\t\tif (unref(rootContext).highlightOnHover.value && !unref(rootContext).focusable.value) unref(rootContext).changeHighlight(unref(currentElement), false);\n\t\t\t\t\t})\n\t\t\t\t}), {\n\t\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t\t_: 3\n\t\t\t\t}, 16, [\n\t\t\t\t\t\"id\",\n\t\t\t\t\t\"tabindex\",\n\t\t\t\t\t\"aria-selected\",\n\t\t\t\t\t\"as\",\n\t\t\t\t\t\"as-child\",\n\t\t\t\t\t\"disabled\",\n\t\t\t\t\t\"data-disabled\",\n\t\t\t\t\t\"data-highlighted\",\n\t\t\t\t\t\"data-state\",\n\t\t\t\t\t\"onKeydown\"\n\t\t\t\t]), _cache, 1)]),\n\t\t\t\t_: 3\n\t\t\t}, 8, [\"value\"]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Listbox/ListboxItem.vue\nvar ListboxItem_default = ListboxItem_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ListboxItem_default, injectListboxItemContext };\n//# sourceMappingURL=ListboxItem.js.map","import { useForwardExpose } from \"../shared/useForwardExpose.js\";\nimport { Primitive } from \"../Primitive/Primitive.js\";\nimport { injectListboxItemContext } from \"./ListboxItem.js\";\nimport { createBlock, createCommentVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from \"vue\";\n\n//#region src/Listbox/ListboxItemIndicator.vue?vue&type=script&setup=true&lang.ts\nvar ListboxItemIndicator_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ListboxItemIndicator\",\n\tprops: {\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false,\n\t\t\tdefault: \"span\"\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst props = __props;\n\t\tuseForwardExpose();\n\t\tconst itemContext = injectListboxItemContext();\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn unref(itemContext).isSelected.value ? (openBlock(), createBlock(unref(Primitive), mergeProps({\n\t\t\t\tkey: 0,\n\t\t\t\t\"aria-hidden\": \"true\"\n\t\t\t}, props), {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t_: 3\n\t\t\t}, 16)) : createCommentVNode(\"v-if\", true);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Listbox/ListboxItemIndicator.vue\nvar ListboxItemIndicator_default = ListboxItemIndicator_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ListboxItemIndicator_default };\n//# sourceMappingURL=ListboxItemIndicator.js.map","import { createContext } from \"../shared/createContext.js\";\nimport { useDirection } from \"../shared/useDirection.js\";\nimport { useFilter } from \"../shared/useFilter.js\";\nimport { usePrimitiveElement } from \"../Primitive/usePrimitiveElement.js\";\nimport { ListboxRoot_default } from \"../Listbox/ListboxRoot.js\";\nimport { PopperRoot_default } from \"../Popper/PopperRoot.js\";\nimport { computed, createBlock, createVNode, defineComponent, getCurrentInstance, isRef, mergeProps, nextTick, onMounted, openBlock, ref, renderSlot, toRefs, unref, withCtx } from \"vue\";\nimport { createEventHook, useVModel } from \"@vueuse/core\";\n\n//#region src/Combobox/ComboboxRoot.vue?vue&type=script&setup=true&lang.ts\nconst [injectComboboxRootContext, provideComboboxRootContext] = createContext(\"ComboboxRoot\");\nvar ComboboxRoot_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxRoot\",\n\tprops: {\n\t\topen: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false,\n\t\t\tdefault: void 0\n\t\t},\n\t\tdefaultOpen: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tresetSearchTermOnBlur: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false,\n\t\t\tdefault: true\n\t\t},\n\t\tresetSearchTermOnSelect: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false,\n\t\t\tdefault: true\n\t\t},\n\t\topenOnFocus: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false,\n\t\t\tdefault: false\n\t\t},\n\t\topenOnClick: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false,\n\t\t\tdefault: false\n\t\t},\n\t\tignoreFilter: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tresetModelValueOnClear: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false,\n\t\t\tdefault: false\n\t\t},\n\t\tmodelValue: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tdefaultValue: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tmultiple: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tdir: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\thighlightOnHover: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false,\n\t\t\tdefault: true\n\t\t},\n\t\tby: {\n\t\t\ttype: [String, Function],\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tname: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\trequired: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t}\n\t},\n\temits: [\n\t\t\"update:modelValue\",\n\t\t\"highlight\",\n\t\t\"update:open\"\n\t],\n\tsetup(__props, { expose: __expose, emit: __emit }) {\n\t\tconst props = __props;\n\t\tconst emits = __emit;\n\t\tconst { primitiveElement, currentElement: parentElement } = usePrimitiveElement();\n\t\tconst { multiple, disabled, ignoreFilter, resetSearchTermOnSelect, openOnFocus, openOnClick, dir: propDir, resetModelValueOnClear, highlightOnHover } = toRefs(props);\n\t\tconst dir = useDirection(propDir);\n\t\tconst modelValue = useVModel(props, \"modelValue\", emits, {\n\t\t\tdefaultValue: props.defaultValue ?? (multiple.value ? [] : void 0),\n\t\t\tpassive: props.modelValue === void 0,\n\t\t\tdeep: true\n\t\t});\n\t\tconst open = useVModel(props, \"open\", emits, {\n\t\t\tdefaultValue: props.defaultOpen,\n\t\t\tpassive: props.open === void 0\n\t\t});\n\t\tasync function onOpenChange(val) {\n\t\t\topen.value = val;\n\t\t\tfilterSearch.value = \"\";\n\t\t\tif (val) {\n\t\t\t\tawait nextTick();\n\t\t\t\tprimitiveElement.value?.highlightSelected();\n\t\t\t\tisUserInputted.value = true;\n\t\t\t\tinputElement.value?.focus();\n\t\t\t} else {\n\t\t\t\tisUserInputted.value = false;\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tif (!val && props.resetSearchTermOnBlur) resetSearchTerm.trigger();\n\t\t\t\t}, 1);\n\t\t\t}\n\t\t}\n\t\tconst resetSearchTerm = createEventHook();\n\t\tconst isUserInputted = ref(false);\n\t\tconst isVirtual = ref(false);\n\t\tconst inputElement = ref();\n\t\tconst triggerElement = ref();\n\t\tconst highlightedElement = computed(() => primitiveElement.value?.highlightedElement ?? void 0);\n\t\tconst allItems = ref(/* @__PURE__ */ new Map());\n\t\tconst allGroups = ref(/* @__PURE__ */ new Map());\n\t\tconst { contains } = useFilter({ sensitivity: \"base\" });\n\t\tconst filterSearch = ref(\"\");\n\t\tconst filterState = computed((oldValue) => {\n\t\t\tif (!filterSearch.value || props.ignoreFilter || isVirtual.value) return {\n\t\t\t\tcount: allItems.value.size,\n\t\t\t\titems: oldValue?.items ?? /* @__PURE__ */ new Map(),\n\t\t\t\tgroups: oldValue?.groups ?? new Set(allGroups.value.keys())\n\t\t\t};\n\t\t\tlet itemCount = 0;\n\t\t\tconst filteredItems = /* @__PURE__ */ new Map();\n\t\t\tconst filteredGroups = /* @__PURE__ */ new Set();\n\t\t\tfor (const [id, value] of allItems.value) {\n\t\t\t\tconst score = contains(value, filterSearch.value);\n\t\t\t\tfilteredItems.set(id, score ? 1 : 0);\n\t\t\t\tif (score) itemCount++;\n\t\t\t}\n\t\t\tfor (const [groupId, group] of allGroups.value) for (const itemId of group) if (filteredItems.get(itemId) > 0) {\n\t\t\t\tfilteredGroups.add(groupId);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\treturn {\n\t\t\t\tcount: itemCount,\n\t\t\t\titems: filteredItems,\n\t\t\t\tgroups: filteredGroups\n\t\t\t};\n\t\t});\n\t\tconst inst = getCurrentInstance();\n\t\tonMounted(() => {\n\t\t\tif (inst?.exposed) {\n\t\t\t\tinst.exposed.highlightItem = primitiveElement.value?.highlightItem;\n\t\t\t\tinst.exposed.highlightFirstItem = primitiveElement.value?.highlightFirstItem;\n\t\t\t\tinst.exposed.highlightSelected = primitiveElement.value?.highlightSelected;\n\t\t\t}\n\t\t});\n\t\t__expose({\n\t\t\tfiltered: filterState,\n\t\t\thighlightedElement,\n\t\t\thighlightItem: primitiveElement.value?.highlightItem,\n\t\t\thighlightFirstItem: primitiveElement.value?.highlightFirstItem,\n\t\t\thighlightSelected: primitiveElement.value?.highlightSelected\n\t\t});\n\t\tprovideComboboxRootContext({\n\t\t\tmodelValue,\n\t\t\tmultiple,\n\t\t\tdisabled,\n\t\t\topen,\n\t\t\tonOpenChange,\n\t\t\tcontentId: \"\",\n\t\t\tisUserInputted,\n\t\t\tisVirtual,\n\t\t\tinputElement,\n\t\t\thighlightedElement,\n\t\t\tonInputElementChange: (val) => inputElement.value = val,\n\t\t\ttriggerElement,\n\t\t\tonTriggerElementChange: (val) => triggerElement.value = val,\n\t\t\tparentElement,\n\t\t\tresetSearchTermOnSelect,\n\t\t\tonResetSearchTerm: resetSearchTerm.on,\n\t\t\tallItems,\n\t\t\tallGroups,\n\t\t\tfilterSearch,\n\t\t\tfilterState,\n\t\t\tignoreFilter,\n\t\t\topenOnFocus,\n\t\t\topenOnClick,\n\t\t\tresetModelValueOnClear\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(PopperRoot_default), null, {\n\t\t\t\tdefault: withCtx(() => [createVNode(unref(ListboxRoot_default), mergeProps({\n\t\t\t\t\tref_key: \"primitiveElement\",\n\t\t\t\t\tref: primitiveElement\n\t\t\t\t}, _ctx.$attrs, {\n\t\t\t\t\tmodelValue: unref(modelValue),\n\t\t\t\t\t\"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),\n\t\t\t\t\tstyle: { pointerEvents: unref(open) ? \"auto\" : void 0 },\n\t\t\t\t\tas: _ctx.as,\n\t\t\t\t\t\"as-child\": _ctx.asChild,\n\t\t\t\t\tdir: unref(dir),\n\t\t\t\t\tmultiple: unref(multiple),\n\t\t\t\t\tname: _ctx.name,\n\t\t\t\t\trequired: _ctx.required,\n\t\t\t\t\tdisabled: unref(disabled),\n\t\t\t\t\t\"highlight-on-hover\": unref(highlightOnHover),\n\t\t\t\t\tby: props.by,\n\t\t\t\t\tonHighlight: _cache[1] || (_cache[1] = ($event) => emits(\"highlight\", $event))\n\t\t\t\t}), {\n\t\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\", {\n\t\t\t\t\t\topen: unref(open),\n\t\t\t\t\t\tmodelValue: unref(modelValue)\n\t\t\t\t\t})]),\n\t\t\t\t\t_: 3\n\t\t\t\t}, 16, [\n\t\t\t\t\t\"modelValue\",\n\t\t\t\t\t\"style\",\n\t\t\t\t\t\"as\",\n\t\t\t\t\t\"as-child\",\n\t\t\t\t\t\"dir\",\n\t\t\t\t\t\"multiple\",\n\t\t\t\t\t\"name\",\n\t\t\t\t\t\"required\",\n\t\t\t\t\t\"disabled\",\n\t\t\t\t\t\"highlight-on-hover\",\n\t\t\t\t\t\"by\"\n\t\t\t\t])]),\n\t\t\t\t_: 3\n\t\t\t});\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxRoot.vue\nvar ComboboxRoot_default = ComboboxRoot_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxRoot_default, injectComboboxRootContext, provideComboboxRootContext };\n//# sourceMappingURL=ComboboxRoot.js.map","import { useForwardExpose } from \"../shared/useForwardExpose.js\";\nimport { Primitive } from \"../Primitive/Primitive.js\";\nimport { PopperAnchor_default } from \"../Popper/PopperAnchor.js\";\nimport { createBlock, createVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from \"vue\";\n\n//#region src/Combobox/ComboboxAnchor.vue?vue&type=script&setup=true&lang.ts\nvar ComboboxAnchor_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxAnchor\",\n\tprops: {\n\t\treference: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst { forwardRef } = useForwardExpose();\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(PopperAnchor_default), {\n\t\t\t\t\"as-child\": \"\",\n\t\t\t\treference: _ctx.reference\n\t\t\t}, {\n\t\t\t\tdefault: withCtx(() => [createVNode(unref(Primitive), mergeProps({\n\t\t\t\t\tref: unref(forwardRef),\n\t\t\t\t\t\"as-child\": _ctx.asChild,\n\t\t\t\t\tas: _ctx.as\n\t\t\t\t}, _ctx.$attrs), {\n\t\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t\t_: 3\n\t\t\t\t}, 16, [\"as-child\", \"as\"])]),\n\t\t\t\t_: 3\n\t\t\t}, 8, [\"reference\"]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxAnchor.vue\nvar ComboboxAnchor_default = ComboboxAnchor_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxAnchor_default };\n//# sourceMappingURL=ComboboxAnchor.js.map","import { createContext } from \"../shared/createContext.js\";\nimport { getActiveElement } from \"../shared/getActiveElement.js\";\nimport { useBodyScrollLock } from \"../shared/useBodyScrollLock.js\";\nimport { useFocusGuards } from \"../shared/useFocusGuards.js\";\nimport { useForwardExpose } from \"../shared/useForwardExpose.js\";\nimport { useForwardProps } from \"../shared/useForwardProps.js\";\nimport { useHideOthers } from \"../shared/useHideOthers.js\";\nimport { Primitive } from \"../Primitive/Primitive.js\";\nimport { DismissableLayer_default } from \"../DismissableLayer/DismissableLayer.js\";\nimport { FocusScope_default } from \"../FocusScope/FocusScope.js\";\nimport { ListboxContent_default } from \"../Listbox/ListboxContent.js\";\nimport { PopperContent_default } from \"../Popper/PopperContent.js\";\nimport { injectComboboxRootContext } from \"./ComboboxRoot.js\";\nimport { computed, createBlock, createVNode, defineComponent, mergeProps, onMounted, onUnmounted, openBlock, ref, renderSlot, resolveDynamicComponent, toRefs, unref, withCtx, withModifiers } from \"vue\";\n\n//#region src/Combobox/ComboboxContentImpl.vue?vue&type=script&setup=true&lang.ts\nconst [injectComboboxContentContext, provideComboboxContentContext] = createContext(\"ComboboxContent\");\nvar ComboboxContentImpl_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxContentImpl\",\n\tprops: {\n\t\tposition: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t\tdefault: \"inline\"\n\t\t},\n\t\tbodyLock: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\thideWhenEmpty: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tside: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tsideOffset: {\n\t\t\ttype: Number,\n\t\t\trequired: false\n\t\t},\n\t\tsideFlip: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\talign: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\talignOffset: {\n\t\t\ttype: Number,\n\t\t\trequired: false\n\t\t},\n\t\talignFlip: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tavoidCollisions: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tcollisionBoundary: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tcollisionPadding: {\n\t\t\ttype: [Number, Object],\n\t\t\trequired: false\n\t\t},\n\t\tarrowPadding: {\n\t\t\ttype: Number,\n\t\t\trequired: false\n\t\t},\n\t\thideShiftedArrow: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tsticky: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\thideWhenDetached: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tpositionStrategy: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tupdatePositionStrategy: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tdisableUpdateOnLayoutShift: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tprioritizePosition: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\treference: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tdisableOutsidePointerEvents: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t}\n\t},\n\temits: [\n\t\t\"escapeKeyDown\",\n\t\t\"pointerDownOutside\",\n\t\t\"focusOutside\",\n\t\t\"interactOutside\"\n\t],\n\tsetup(__props, { emit: __emit }) {\n\t\tconst props = __props;\n\t\tconst emits = __emit;\n\t\tconst { position } = toRefs(props);\n\t\tconst rootContext = injectComboboxRootContext();\n\t\tconst isEmpty = computed(() => rootContext.ignoreFilter.value ? rootContext.allItems.value.size === 0 : rootContext.filterState.value.count === 0);\n\t\tconst { forwardRef, currentElement } = useForwardExpose();\n\t\tuseBodyScrollLock(props.bodyLock);\n\t\tuseFocusGuards();\n\t\tuseHideOthers(rootContext.parentElement);\n\t\tconst pickedProps = computed(() => {\n\t\t\tif (props.position === \"popper\") return props;\n\t\t\telse return {};\n\t\t});\n\t\tconst forwardedProps = useForwardProps(pickedProps.value);\n\t\tconst popperStyle = {\n\t\t\t\"boxSizing\": \"border-box\",\n\t\t\t\"--reka-combobox-content-transform-origin\": \"var(--reka-popper-transform-origin)\",\n\t\t\t\"--reka-combobox-content-available-width\": \"var(--reka-popper-available-width)\",\n\t\t\t\"--reka-combobox-content-available-height\": \"var(--reka-popper-available-height)\",\n\t\t\t\"--reka-combobox-trigger-width\": \"var(--reka-popper-anchor-width)\",\n\t\t\t\"--reka-combobox-trigger-height\": \"var(--reka-popper-anchor-height)\"\n\t\t};\n\t\tprovideComboboxContentContext({ position });\n\t\tconst isInputWithinContent = ref(false);\n\t\tonMounted(() => {\n\t\t\tif (rootContext.inputElement.value) {\n\t\t\t\tisInputWithinContent.value = currentElement.value.contains(rootContext.inputElement.value);\n\t\t\t\tif (isInputWithinContent.value) rootContext.inputElement.value.focus();\n\t\t\t}\n\t\t});\n\t\tonUnmounted(() => {\n\t\t\tconst activeElement = getActiveElement();\n\t\t\tif (isInputWithinContent.value && (!activeElement || activeElement === document.body)) rootContext.triggerElement.value?.focus();\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(ListboxContent_default), { \"as-child\": \"\" }, {\n\t\t\t\tdefault: withCtx(() => [createVNode(unref(FocusScope_default), {\n\t\t\t\t\t\"as-child\": \"\",\n\t\t\t\t\tonMountAutoFocus: _cache[5] || (_cache[5] = withModifiers(() => {}, [\"prevent\"])),\n\t\t\t\t\tonUnmountAutoFocus: _cache[6] || (_cache[6] = withModifiers(() => {}, [\"prevent\"]))\n\t\t\t\t}, {\n\t\t\t\t\tdefault: withCtx(() => [createVNode(unref(DismissableLayer_default), {\n\t\t\t\t\t\t\"as-child\": \"\",\n\t\t\t\t\t\t\"disable-outside-pointer-events\": _ctx.disableOutsidePointerEvents,\n\t\t\t\t\t\tonDismiss: _cache[0] || (_cache[0] = ($event) => unref(rootContext).onOpenChange(false)),\n\t\t\t\t\t\tonFocusOutside: _cache[1] || (_cache[1] = (ev) => {\n\t\t\t\t\t\t\tif (unref(rootContext).parentElement.value?.contains(ev.target)) ev.preventDefault();\n\t\t\t\t\t\t\temits(\"focusOutside\", ev);\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tonInteractOutside: _cache[2] || (_cache[2] = ($event) => emits(\"interactOutside\", $event)),\n\t\t\t\t\t\tonEscapeKeyDown: _cache[3] || (_cache[3] = ($event) => emits(\"escapeKeyDown\", $event)),\n\t\t\t\t\t\tonPointerDownOutside: _cache[4] || (_cache[4] = (ev) => {\n\t\t\t\t\t\t\tif (unref(rootContext).parentElement.value?.contains(ev.target)) ev.preventDefault();\n\t\t\t\t\t\t\temits(\"pointerDownOutside\", ev);\n\t\t\t\t\t\t})\n\t\t\t\t\t}, {\n\t\t\t\t\t\tdefault: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(unref(position) === \"popper\" ? unref(PopperContent_default) : unref(Primitive)), mergeProps({\n\t\t\t\t\t\t\t..._ctx.$attrs,\n\t\t\t\t\t\t\t...unref(forwardedProps)\n\t\t\t\t\t\t}, {\n\t\t\t\t\t\t\tid: unref(rootContext).contentId,\n\t\t\t\t\t\t\tref: unref(forwardRef),\n\t\t\t\t\t\t\t\"data-state\": unref(rootContext).open.value ? \"open\" : \"closed\",\n\t\t\t\t\t\t\t\"data-empty\": isEmpty.value ? \"\" : void 0,\n\t\t\t\t\t\t\tstyle: {\n\t\t\t\t\t\t\t\tdisplay: props.hideWhenEmpty && isEmpty.value ? \"none\" : \"flex\",\n\t\t\t\t\t\t\t\tflexDirection: \"column\",\n\t\t\t\t\t\t\t\toutline: \"none\",\n\t\t\t\t\t\t\t\t...unref(position) === \"popper\" ? popperStyle : {}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}), {\n\t\t\t\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t\t\t\t_: 3\n\t\t\t\t\t\t}, 16, [\n\t\t\t\t\t\t\t\"id\",\n\t\t\t\t\t\t\t\"data-state\",\n\t\t\t\t\t\t\t\"data-empty\",\n\t\t\t\t\t\t\t\"style\"\n\t\t\t\t\t\t]))]),\n\t\t\t\t\t\t_: 3\n\t\t\t\t\t}, 8, [\"disable-outside-pointer-events\"])]),\n\t\t\t\t\t_: 3\n\t\t\t\t})]),\n\t\t\t\t_: 3\n\t\t\t});\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxContentImpl.vue\nvar ComboboxContentImpl_default = ComboboxContentImpl_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxContentImpl_default, injectComboboxContentContext };\n//# sourceMappingURL=ComboboxContentImpl.js.map","import { useForwardExpose } from \"../shared/useForwardExpose.js\";\nimport { useForwardPropsEmits } from \"../shared/useForwardPropsEmits.js\";\nimport { useId } from \"../shared/useId.js\";\nimport { Presence_default } from \"../Presence/Presence.js\";\nimport { injectComboboxRootContext } from \"./ComboboxRoot.js\";\nimport { ComboboxContentImpl_default } from \"./ComboboxContentImpl.js\";\nimport { createBlock, createVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from \"vue\";\n\n//#region src/Combobox/ComboboxContent.vue?vue&type=script&setup=true&lang.ts\nvar ComboboxContent_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxContent\",\n\tprops: {\n\t\tforceMount: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tposition: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tbodyLock: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\thideWhenEmpty: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tside: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tsideOffset: {\n\t\t\ttype: Number,\n\t\t\trequired: false\n\t\t},\n\t\tsideFlip: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\talign: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\talignOffset: {\n\t\t\ttype: Number,\n\t\t\trequired: false\n\t\t},\n\t\talignFlip: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tavoidCollisions: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tcollisionBoundary: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tcollisionPadding: {\n\t\t\ttype: [Number, Object],\n\t\t\trequired: false\n\t\t},\n\t\tarrowPadding: {\n\t\t\ttype: Number,\n\t\t\trequired: false\n\t\t},\n\t\thideShiftedArrow: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tsticky: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\thideWhenDetached: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tpositionStrategy: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tupdatePositionStrategy: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tdisableUpdateOnLayoutShift: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tprioritizePosition: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\treference: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tdisableOutsidePointerEvents: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t}\n\t},\n\temits: [\n\t\t\"escapeKeyDown\",\n\t\t\"pointerDownOutside\",\n\t\t\"focusOutside\",\n\t\t\"interactOutside\"\n\t],\n\tsetup(__props, { emit: __emit }) {\n\t\tconst props = __props;\n\t\tconst emits = __emit;\n\t\tconst forwarded = useForwardPropsEmits(props, emits);\n\t\tconst { forwardRef } = useForwardExpose();\n\t\tconst rootContext = injectComboboxRootContext();\n\t\trootContext.contentId ||= useId(void 0, \"reka-combobox-content\");\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(Presence_default), { present: _ctx.forceMount || unref(rootContext).open.value }, {\n\t\t\t\tdefault: withCtx(() => [createVNode(ComboboxContentImpl_default, mergeProps({\n\t\t\t\t\t...unref(forwarded),\n\t\t\t\t\t..._ctx.$attrs\n\t\t\t\t}, { ref: unref(forwardRef) }), {\n\t\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t\t_: 3\n\t\t\t\t}, 16)]),\n\t\t\t\t_: 3\n\t\t\t}, 8, [\"present\"]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxContent.vue\nvar ComboboxContent_default = ComboboxContent_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxContent_default };\n//# sourceMappingURL=ComboboxContent.js.map","import { Primitive } from \"../Primitive/Primitive.js\";\nimport { injectComboboxRootContext } from \"./ComboboxRoot.js\";\nimport { computed, createBlock, createCommentVNode, createTextVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, unref, withCtx } from \"vue\";\n\n//#region src/Combobox/ComboboxEmpty.vue?vue&type=script&setup=true&lang.ts\nvar ComboboxEmpty_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxEmpty\",\n\tprops: {\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst props = __props;\n\t\tconst rootContext = injectComboboxRootContext();\n\t\tconst isRender = computed(() => rootContext.ignoreFilter.value ? rootContext.allItems.value.size === 0 : rootContext.filterState.value.count === 0);\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn isRender.value ? (openBlock(), createBlock(unref(Primitive), normalizeProps(mergeProps({ key: 0 }, props)), {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\", {}, () => [_cache[0] || (_cache[0] = createTextVNode(\"No options\"))])]),\n\t\t\t\t_: 3\n\t\t\t}, 16)) : createCommentVNode(\"v-if\", true);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxEmpty.vue\nvar ComboboxEmpty_default = ComboboxEmpty_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxEmpty_default };\n//# sourceMappingURL=ComboboxEmpty.js.map","import { createContext } from \"../shared/createContext.js\";\nimport { useId } from \"../shared/useId.js\";\nimport { ListboxGroup_default } from \"../Listbox/ListboxGroup.js\";\nimport { injectComboboxRootContext } from \"./ComboboxRoot.js\";\nimport { computed, createBlock, defineComponent, mergeProps, onMounted, onUnmounted, openBlock, renderSlot, unref, withCtx } from \"vue\";\n\n//#region src/Combobox/ComboboxGroup.vue?vue&type=script&setup=true&lang.ts\nconst [injectComboboxGroupContext, provideComboboxGroupContext] = createContext(\"ComboboxGroup\");\nvar ComboboxGroup_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxGroup\",\n\tprops: {\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst props = __props;\n\t\tconst id = useId(void 0, \"reka-combobox-group\");\n\t\tconst rootContext = injectComboboxRootContext();\n\t\tconst isRender = computed(() => rootContext.ignoreFilter.value ? true : !rootContext.filterSearch.value ? true : rootContext.filterState.value.groups.has(id));\n\t\tconst context = provideComboboxGroupContext({\n\t\t\tid,\n\t\t\tlabelId: \"\"\n\t\t});\n\t\tonMounted(() => {\n\t\t\tif (!rootContext.allGroups.value.has(id)) rootContext.allGroups.value.set(id, /* @__PURE__ */ new Set());\n\t\t});\n\t\tonUnmounted(() => {\n\t\t\trootContext.allGroups.value.delete(id);\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(ListboxGroup_default), mergeProps({\n\t\t\t\tid: unref(id),\n\t\t\t\t\"aria-labelledby\": unref(context).labelId\n\t\t\t}, props, { hidden: isRender.value ? void 0 : true }), {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t_: 3\n\t\t\t}, 16, [\n\t\t\t\t\"id\",\n\t\t\t\t\"aria-labelledby\",\n\t\t\t\t\"hidden\"\n\t\t\t]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxGroup.vue\nvar ComboboxGroup_default = ComboboxGroup_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxGroup_default, injectComboboxGroupContext };\n//# sourceMappingURL=ComboboxGroup.js.map","import { usePrimitiveElement } from \"../Primitive/usePrimitiveElement.js\";\nimport { injectListboxRootContext } from \"../Listbox/ListboxRoot.js\";\nimport { ListboxFilter_default } from \"../Listbox/ListboxFilter.js\";\nimport { injectComboboxRootContext } from \"./ComboboxRoot.js\";\nimport { createBlock, defineComponent, isRef, nextTick, onMounted, openBlock, renderSlot, unref, watch, withCtx, withKeys, withModifiers } from \"vue\";\nimport { useVModel } from \"@vueuse/core\";\n\n//#region src/Combobox/ComboboxInput.vue?vue&type=script&setup=true&lang.ts\nvar ComboboxInput_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxInput\",\n\tprops: {\n\t\tdisplayValue: {\n\t\t\ttype: Function,\n\t\t\trequired: false\n\t\t},\n\t\tmodelValue: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tautoFocus: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false,\n\t\t\tdefault: \"input\"\n\t\t}\n\t},\n\temits: [\"update:modelValue\"],\n\tsetup(__props, { emit: __emit }) {\n\t\tconst props = __props;\n\t\tconst emits = __emit;\n\t\tconst rootContext = injectComboboxRootContext();\n\t\tconst listboxContext = injectListboxRootContext();\n\t\tconst { primitiveElement, currentElement } = usePrimitiveElement();\n\t\tconst modelValue = useVModel(props, \"modelValue\", emits, { passive: props.modelValue === void 0 });\n\t\tonMounted(() => {\n\t\t\tif (currentElement.value) rootContext.onInputElementChange(currentElement.value);\n\t\t});\n\t\tfunction handleKeyDown(ev) {\n\t\t\tif (!rootContext.open.value) rootContext.onOpenChange(true);\n\t\t}\n\t\tfunction handleInput(event) {\n\t\t\tconst target = event.target;\n\t\t\tif (!rootContext.open.value) {\n\t\t\t\trootContext.onOpenChange(true);\n\t\t\t\tnextTick(() => {\n\t\t\t\t\tif (target.value) {\n\t\t\t\t\t\trootContext.filterSearch.value = target.value;\n\t\t\t\t\t\tlistboxContext.highlightFirstItem();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else rootContext.filterSearch.value = target.value;\n\t\t}\n\t\tfunction handleFocus() {\n\t\t\tif (rootContext.openOnFocus.value && !rootContext.open.value) rootContext.onOpenChange(true);\n\t\t}\n\t\tfunction handleBlur(ev) {\n\t\t\tif (!rootContext.open.value) return;\n\t\t\tconst nextFocus = ev.relatedTarget;\n\t\t\tif (!nextFocus) return;\n\t\t\tconst isInsideRoot = rootContext.parentElement.value?.contains(nextFocus);\n\t\t\tconst isInsideContent = document.getElementById(rootContext.contentId)?.contains(nextFocus);\n\t\t\tif (!isInsideRoot && !isInsideContent) rootContext.onOpenChange(false);\n\t\t}\n\t\tfunction handleClick() {\n\t\t\tif (rootContext.openOnClick.value && !rootContext.open.value) rootContext.onOpenChange(true);\n\t\t}\n\t\tfunction resetSearchTerm() {\n\t\t\tconst rootModelValue = rootContext.modelValue.value;\n\t\t\tif (props.displayValue) modelValue.value = props.displayValue(rootModelValue);\n\t\t\telse if (!rootContext.multiple.value && rootModelValue && !Array.isArray(rootModelValue)) if (typeof rootModelValue !== \"object\") modelValue.value = rootModelValue.toString();\n\t\t\telse modelValue.value = \"\";\n\t\t\telse modelValue.value = \"\";\n\t\t\tnextTick(() => {\n\t\t\t\tmodelValue.value = modelValue.value;\n\t\t\t});\n\t\t}\n\t\trootContext.onResetSearchTerm(() => {\n\t\t\tresetSearchTerm();\n\t\t});\n\t\twatch(rootContext.modelValue, async () => {\n\t\t\tif (!rootContext.isUserInputted.value && rootContext.resetSearchTermOnSelect.value) resetSearchTerm();\n\t\t}, {\n\t\t\timmediate: true,\n\t\t\tdeep: true\n\t\t});\n\t\twatch(rootContext.filterState, (_newValue, oldValue) => {\n\t\t\tif (!rootContext.isVirtual.value && oldValue.count === 0) listboxContext.highlightFirstItem();\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(ListboxFilter_default), {\n\t\t\t\tref_key: \"primitiveElement\",\n\t\t\t\tref: primitiveElement,\n\t\t\t\tmodelValue: unref(modelValue),\n\t\t\t\t\"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),\n\t\t\t\tas: _ctx.as,\n\t\t\t\t\"as-child\": _ctx.asChild,\n\t\t\t\t\"auto-focus\": _ctx.autoFocus,\n\t\t\t\tdisabled: _ctx.disabled,\n\t\t\t\t\"aria-expanded\": unref(rootContext).open.value,\n\t\t\t\t\"aria-controls\": unref(rootContext).contentId,\n\t\t\t\t\"aria-autocomplete\": \"list\",\n\t\t\t\trole: \"combobox\",\n\t\t\t\tautocomplete: \"off\",\n\t\t\t\tonClick: handleClick,\n\t\t\t\tonInput: handleInput,\n\t\t\t\tonKeydown: withKeys(withModifiers(handleKeyDown, [\"prevent\"]), [\"down\", \"up\"]),\n\t\t\t\tonFocus: handleFocus,\n\t\t\t\tonBlur: handleBlur\n\t\t\t}, {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t_: 3\n\t\t\t}, 8, [\n\t\t\t\t\"modelValue\",\n\t\t\t\t\"as\",\n\t\t\t\t\"as-child\",\n\t\t\t\t\"auto-focus\",\n\t\t\t\t\"disabled\",\n\t\t\t\t\"aria-expanded\",\n\t\t\t\t\"aria-controls\",\n\t\t\t\t\"onKeydown\"\n\t\t\t]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxInput.vue\nvar ComboboxInput_default = ComboboxInput_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxInput_default };\n//# sourceMappingURL=ComboboxInput.js.map","import { useId } from \"../shared/useId.js\";\nimport { usePrimitiveElement } from \"../Primitive/usePrimitiveElement.js\";\nimport { ListboxItem_default } from \"../Listbox/ListboxItem.js\";\nimport { injectComboboxRootContext } from \"./ComboboxRoot.js\";\nimport { injectComboboxGroupContext } from \"./ComboboxGroup.js\";\nimport { computed, createBlock, createCommentVNode, createTextVNode, defineComponent, mergeProps, onMounted, onUnmounted, openBlock, renderSlot, toDisplayString, unref, withCtx } from \"vue\";\n\n//#region src/Combobox/ComboboxItem.vue?vue&type=script&setup=true&lang.ts\nvar ComboboxItem_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxItem\",\n\tprops: {\n\t\ttextValue: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tvalue: {\n\t\t\ttype: null,\n\t\t\trequired: true\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t}\n\t},\n\temits: [\"select\"],\n\tsetup(__props, { emit: __emit }) {\n\t\tconst props = __props;\n\t\tconst emits = __emit;\n\t\tconst id = useId(void 0, \"reka-combobox-item\");\n\t\tconst rootContext = injectComboboxRootContext();\n\t\tconst groupContext = injectComboboxGroupContext(null);\n\t\tconst { primitiveElement, currentElement } = usePrimitiveElement();\n\t\tif (props.value === \"\") throw new Error(\"A <ComboboxItem /> must have a value prop that is not an empty string. This is because the Combobox value can be set to an empty string to clear the selection and show the placeholder.\");\n\t\tconst isRender = computed(() => {\n\t\t\tif (rootContext.isVirtual.value || rootContext.ignoreFilter.value || !rootContext.filterSearch.value) return true;\n\t\t\telse {\n\t\t\t\tconst filteredCurrentItem = rootContext.filterState.value.items.get(id);\n\t\t\t\tif (filteredCurrentItem === void 0) return true;\n\t\t\t\treturn filteredCurrentItem > 0;\n\t\t\t}\n\t\t});\n\t\tonMounted(() => {\n\t\t\trootContext.allItems.value.set(id, props.textValue || currentElement.value.textContent || currentElement.value.innerText);\n\t\t\tconst groupId = groupContext?.id;\n\t\t\tif (groupId) if (!rootContext.allGroups.value.has(groupId)) rootContext.allGroups.value.set(groupId, new Set([id]));\n\t\t\telse rootContext.allGroups.value.get(groupId)?.add(id);\n\t\t});\n\t\tonUnmounted(() => {\n\t\t\trootContext.allItems.value.delete(id);\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn isRender.value ? (openBlock(), createBlock(unref(ListboxItem_default), mergeProps({ key: 0 }, props, {\n\t\t\t\tid: unref(id),\n\t\t\t\tref_key: \"primitiveElement\",\n\t\t\t\tref: primitiveElement,\n\t\t\t\tdisabled: unref(rootContext).disabled.value || _ctx.disabled,\n\t\t\t\tonSelect: _cache[0] || (_cache[0] = (event) => {\n\t\t\t\t\temits(\"select\", event);\n\t\t\t\t\tif (event.defaultPrevented) return;\n\t\t\t\t\tif (!unref(rootContext).multiple.value && !_ctx.disabled && !unref(rootContext).disabled.value) {\n\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\tunref(rootContext).onOpenChange(false);\n\t\t\t\t\t\tunref(rootContext).modelValue.value = props.value;\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t}), {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\", {}, () => [createTextVNode(toDisplayString(_ctx.value), 1)])]),\n\t\t\t\t_: 3\n\t\t\t}, 16, [\"id\", \"disabled\"])) : createCommentVNode(\"v-if\", true);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxItem.vue\nvar ComboboxItem_default = ComboboxItem_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxItem_default };\n//# sourceMappingURL=ComboboxItem.js.map","import { ListboxItemIndicator_default } from \"../Listbox/ListboxItemIndicator.js\";\nimport { createBlock, defineComponent, guardReactiveProps, normalizeProps, openBlock, renderSlot, unref, withCtx } from \"vue\";\n\n//#region src/Combobox/ComboboxItemIndicator.vue?vue&type=script&setup=true&lang.ts\nvar ComboboxItemIndicator_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxItemIndicator\",\n\tprops: {\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false,\n\t\t\tdefault: \"span\"\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst props = __props;\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(ListboxItemIndicator_default), normalizeProps(guardReactiveProps(props)), {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t_: 3\n\t\t\t}, 16);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxItemIndicator.vue\nvar ComboboxItemIndicator_default = ComboboxItemIndicator_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxItemIndicator_default };\n//# sourceMappingURL=ComboboxItemIndicator.js.map","import { Teleport_default } from \"../Teleport/Teleport.js\";\nimport { createBlock, defineComponent, guardReactiveProps, normalizeProps, openBlock, renderSlot, unref, withCtx } from \"vue\";\n\n//#region src/Combobox/ComboboxPortal.vue?vue&type=script&setup=true&lang.ts\nvar ComboboxPortal_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxPortal\",\n\tprops: {\n\t\tto: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tdefer: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tforceMount: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst props = __props;\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(Teleport_default), normalizeProps(guardReactiveProps(props)), {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t_: 3\n\t\t\t}, 16);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxPortal.vue\nvar ComboboxPortal_default = ComboboxPortal_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxPortal_default };\n//# sourceMappingURL=ComboboxPortal.js.map","import { useForwardExpose } from \"../shared/useForwardExpose.js\";\nimport { Primitive } from \"../Primitive/Primitive.js\";\nimport { injectComboboxRootContext } from \"./ComboboxRoot.js\";\nimport { computed, createBlock, defineComponent, mergeProps, onMounted, openBlock, renderSlot, unref, withCtx } from \"vue\";\n\n//#region src/Combobox/ComboboxTrigger.vue?vue&type=script&setup=true&lang.ts\nvar ComboboxTrigger_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxTrigger\",\n\tprops: {\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false,\n\t\t\tdefault: \"button\"\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst props = __props;\n\t\tconst { forwardRef, currentElement } = useForwardExpose();\n\t\tconst rootContext = injectComboboxRootContext();\n\t\tconst disabled = computed(() => props.disabled || rootContext.disabled.value || false);\n\t\tonMounted(() => {\n\t\t\tif (currentElement.value) rootContext.onTriggerElementChange(currentElement.value);\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(Primitive), mergeProps(props, {\n\t\t\t\tref: unref(forwardRef),\n\t\t\t\ttype: _ctx.as === \"button\" ? \"button\" : void 0,\n\t\t\t\ttabindex: \"-1\",\n\t\t\t\t\"aria-label\": \"Show popup\",\n\t\t\t\t\"aria-haspopup\": \"listbox\",\n\t\t\t\t\"aria-expanded\": unref(rootContext).open.value,\n\t\t\t\t\"aria-controls\": unref(rootContext).contentId,\n\t\t\t\t\"data-state\": unref(rootContext).open.value ? \"open\" : \"closed\",\n\t\t\t\tdisabled: disabled.value,\n\t\t\t\t\"data-disabled\": disabled.value ? \"\" : void 0,\n\t\t\t\t\"aria-disabled\": disabled.value ?? void 0,\n\t\t\t\tonClick: _cache[0] || (_cache[0] = ($event) => unref(rootContext).onOpenChange(!unref(rootContext).open.value))\n\t\t\t}), {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t_: 3\n\t\t\t}, 16, [\n\t\t\t\t\"type\",\n\t\t\t\t\"aria-expanded\",\n\t\t\t\t\"aria-controls\",\n\t\t\t\t\"data-state\",\n\t\t\t\t\"disabled\",\n\t\t\t\t\"data-disabled\",\n\t\t\t\t\"aria-disabled\"\n\t\t\t]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxTrigger.vue\nvar ComboboxTrigger_default = ComboboxTrigger_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxTrigger_default };\n//# sourceMappingURL=ComboboxTrigger.js.map","import { injectConfigProviderContext } from \"../ConfigProvider/ConfigProvider.js\";\nimport { computed, ref } from \"vue\";\n\n//#region src/shared/useNonce.ts\nfunction useNonce(nonce) {\n\tconst context = injectConfigProviderContext({ nonce: ref() });\n\treturn computed(() => nonce?.value || context.nonce?.value);\n}\n\n//#endregion\nexport { useNonce };\n//# sourceMappingURL=useNonce.js.map","import { useForwardExpose } from \"../shared/useForwardExpose.js\";\nimport { Primitive } from \"../Primitive/Primitive.js\";\nimport { injectComboboxRootContext } from \"./ComboboxRoot.js\";\nimport { useNonce } from \"../shared/useNonce.js\";\nimport { Fragment, createElementBlock, createTextVNode, createVNode, defineComponent, mergeProps, openBlock, renderSlot, toRefs, unref, withCtx } from \"vue\";\n\n//#region src/Combobox/ComboboxViewport.vue?vue&type=script&setup=true&lang.ts\nvar ComboboxViewport_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"ComboboxViewport\",\n\tprops: {\n\t\tnonce: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst props = __props;\n\t\tconst { forwardRef } = useForwardExpose();\n\t\tconst { nonce: propNonce } = toRefs(props);\n\t\tconst nonce = useNonce(propNonce);\n\t\tconst rootContext = injectComboboxRootContext();\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createElementBlock(Fragment, null, [createVNode(unref(Primitive), mergeProps({\n\t\t\t\t..._ctx.$attrs,\n\t\t\t\t...props\n\t\t\t}, {\n\t\t\t\tref: unref(forwardRef),\n\t\t\t\t\"data-reka-combobox-viewport\": \"\",\n\t\t\t\trole: \"presentation\",\n\t\t\t\tstyle: {\n\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\tflex: unref(rootContext).isVirtual.value ? void 0 : 1,\n\t\t\t\t\toverflow: \"auto\"\n\t\t\t\t}\n\t\t\t}), {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t_: 3\n\t\t\t}, 16, [\"style\"]), createVNode(unref(Primitive), {\n\t\t\t\tas: \"style\",\n\t\t\t\tnonce: unref(nonce)\n\t\t\t}, {\n\t\t\t\tdefault: withCtx(() => _cache[0] || (_cache[0] = [createTextVNode(\" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-reka-combobox-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-reka-combobox-viewport]::-webkit-scrollbar { display: none; } \")])),\n\t\t\t\t_: 1,\n\t\t\t\t__: [0]\n\t\t\t}, 8, [\"nonce\"])], 64);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/Combobox/ComboboxViewport.vue\nvar ComboboxViewport_default = ComboboxViewport_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { ComboboxViewport_default };\n//# sourceMappingURL=ComboboxViewport.js.map","<template>\n <ComboboxRoot\n v-model=\"modelValue\"\n v-model:open=\"isOpen\"\n :multiple=\"props.multiple\"\n :disabled=\"props.disabled\"\n :name=\"props.name\"\n :required=\"props.required\"\n :ignore-filter=\"props.multiple || !!props.filterFunction\"\n :reset-search-term-on-select=\"props.resetSearchTermOnSelect\"\n :reset-search-term-on-blur=\"props.resetSearchTermOnBlur\"\n :by=\"props.by\"\n :dir=\"props.dir\"\n :open-on-focus=\"props.openOnFocus\"\n class=\"b-autocomplete\"\n >\n <ComboboxAnchor as-child>\n <BInputGroup :size=\"props.size\">\n <!-- Selected values display (multiple mode only, hidden when empty) -->\n <div\n v-if=\"props.multiple && hasSelection\"\n class=\"b-autocomplete-selection\"\n :class=\"{\n 'b-autocomplete-selection-tags': props.tags,\n 'b-autocomplete-selection-pending-delete': pendingDelete,\n }\"\n >\n <slot\n v-if=\"props.tags\"\n name=\"tags\"\n :pending-delete\n :selected=\"selectedOptions\"\n :remove=\"removeSelected\"\n >\n <BFormTag\n v-for=\"(opt, i) in selectedOptions\"\n :key=\"optionKey(opt, i)\"\n :title=\"String(opt.text)\"\n :disabled=\"props.disabled\"\n :variant=\"'secondary'\"\n :class=\"{\n 'b-autocomplete-tag-muted': pendingDelete && !isLastSelectedOption(opt, i),\n 'b-autocomplete-tag-pending-delete': pendingDelete && isLastSelectedOption(opt, i),\n }\"\n @remove=\"removeSelected(opt)\"\n >\n {{ opt.text }}\n </BFormTag>\n </slot>\n <template v-else>\n <span\n v-for=\"(opt, i) in selectedOptions\"\n :key=\"optionKey(opt, i)\"\n :class=\"{\n 'text-body-tertiary': pendingDelete && !isLastSelectedOption(opt, i),\n }\"\n >{{ opt.text }}<span v-if=\"i < selectedOptions.length - 1\">, </span></span\n >\n </template>\n </div>\n\n <!-- Search input (always present) -->\n <ComboboxInput v-model=\"searchTerm\" as-child :display-value=\"displayValueFn\">\n <input\n :id=\"computedId\"\n :class=\"inputClasses\"\n :disabled=\"props.disabled\"\n :form=\"props.form || undefined\"\n :placeholder=\"props.placeholder\"\n :readonly=\"props.readonly || props.plaintext\"\n :required=\"props.required || undefined\"\n :autocomplete=\"props.autocomplete || undefined\"\n :aria-invalid=\"computedAriaInvalid\"\n :aria-required=\"props.required || undefined\"\n @blur=\"emit('blur', $event)\"\n @focus=\"emit('focus', $event)\"\n @keydown.passive=\"onInputKeydown\"\n />\n </ComboboxInput>\n\n <template #append>\n <ComboboxTrigger v-if=\"!props.noToggle\" as-child :disabled=\"props.disabled\">\n <BButton class=\"b-autocomplete-trigger\" :disabled=\"props.disabled\">\n <slot name=\"toggle-icon\" :is-open>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n viewBox=\"0 0 16 16\"\n class=\"b-autocomplete-chevron\"\n :class=\"{'b-autocomplete-chevron-open': isOpen}\"\n >\n <path\n fill-rule=\"evenodd\"\n d=\"M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z\"\n />\n </svg>\n </slot>\n </BButton>\n </ComboboxTrigger>\n </template>\n </BInputGroup>\n </ComboboxAnchor>\n\n <ComboboxPortal :disabled=\"!props.teleportTo\" :to=\"props.teleportTo\">\n <ComboboxContent\n position=\"popper\"\n :side-offset=\"4\"\n :align=\"'start'\"\n :class=\"['b-autocomplete-content', 'dropdown-menu', 'show']\"\n :body-lock=\"false\"\n :style=\"{width: 'var(--reka-combobox-trigger-width)'}\"\n >\n <ComboboxViewport class=\"b-autocomplete-viewport\">\n <ComboboxEmpty class=\"b-autocomplete-empty\">\n <slot name=\"empty\"> No results found </slot>\n </ComboboxEmpty>\n\n <ComboboxItem\n v-for=\"(option, index) in filteredOptions\"\n :key=\"optionKey(option, index)\"\n :value=\"option.value as AcceptableValue\"\n :disabled=\"option.disabled\"\n :class=\"['b-autocomplete-item', 'dropdown-item']\"\n >\n <slot name=\"option\" v-bind=\"option\">\n {{ option.text }}\n </slot>\n <ComboboxItemIndicator class=\"b-autocomplete-item-indicator\">\n <slot name=\"option-indicator\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"\n />\n </svg>\n </slot>\n </ComboboxItemIndicator>\n </ComboboxItem>\n </ComboboxViewport>\n </ComboboxContent>\n </ComboboxPortal>\n </ComboboxRoot>\n</template>\n\n<script setup lang=\"ts\">\nimport {computed, type ComputedRef, ref} from 'vue'\nimport type {AcceptableValue} from 'reka-ui'\nimport {\n ComboboxAnchor,\n ComboboxContent,\n ComboboxEmpty,\n ComboboxInput,\n ComboboxItem,\n ComboboxItemIndicator,\n ComboboxPortal,\n ComboboxRoot,\n ComboboxTrigger,\n ComboboxViewport,\n} from 'reka-ui'\nimport {useDefaults} from '../../composables/useDefaults'\nimport type {BAutocompleteProps, BAutocompleteSlots, SelectOption} from '../../types'\nimport {useId} from '../../composables/useId'\nimport {useStateClass} from '../../composables/useStateClass'\nimport {useAriaInvalid} from '../../composables/useAriaInvalid'\nimport BInputGroup from '../BInputGroup/BInputGroup.vue'\nimport BButton from '../BButton/BButton.vue'\nimport BFormTag from '../BFormTags/BFormTag.vue'\nimport {useFormSelect} from '../../composables/useFormSelect.ts'\n\nconst _props = withDefaults(defineProps<Omit<BAutocompleteProps, 'modelValue' | 'search'>>(), {\n ariaInvalid: undefined,\n autocomplete: undefined,\n autofocus: false,\n disabled: false,\n form: undefined,\n formatter: undefined,\n id: undefined,\n lazyFormatter: false,\n placeholder: undefined,\n plaintext: false,\n readonly: false,\n required: false,\n size: undefined,\n state: undefined,\n by: undefined,\n dir: undefined,\n disabledField: 'disabled',\n filterFunction: undefined,\n multiple: false,\n name: undefined,\n noToggle: false,\n openOnFocus: false,\n options: () => [],\n resetSearchTermOnBlur: true,\n resetSearchTermOnSelect: true,\n tags: false,\n teleportTo: undefined,\n textField: 'text',\n valueField: 'value',\n})\nconst props = useDefaults(_props, 'BAutocomplete')\nconst emit = defineEmits<{\n blur: [event: FocusEvent]\n focus: [event: FocusEvent]\n}>()\ndefineSlots<BAutocompleteSlots>()\n\nconst modelValue = defineModel<BAutocompleteProps['modelValue']>({\n default: undefined,\n})\nconst isOpen = defineModel<Exclude<BAutocompleteProps['open'], undefined>>('open', {default: false})\nconst searchTerm = defineModel<Exclude<BAutocompleteProps['search'], undefined>>('search', {\n default: '',\n})\n\n// Backspace-to-delete state for multiple mode\nconst pendingDelete = ref(false)\n\nconst computedId = useId(() => props.id)\nconst stateClass = useStateClass(() => props.state ?? null)\nconst computedAriaInvalid = useAriaInvalid(\n () => props.ariaInvalid,\n () => props.state ?? null\n)\n\nconst inputClasses = computed(() => [\n stateClass.value,\n {\n 'form-control': !props.plaintext,\n 'form-control-plaintext': props.plaintext,\n [`form-control-${props.size}`]: !!props.size,\n },\n])\n\nconst {normalizedOptions} = useFormSelect(() => props.options, props) as {\n normalizedOptions: ComputedRef<SelectOption[]>\n}\n\nconst findOptionText = (val: AcceptableValue): string => {\n const match = normalizedOptions.value.find((opt) => {\n if (props.by && typeof props.by === 'string') {\n return (\n (opt.value as Record<string, unknown>)?.[props.by] ===\n (val as Record<string, unknown>)?.[props.by]\n )\n }\n return opt.value === val\n })\n return match ? String(match.text) : String(val)\n}\n\n// Filter options — for multiple mode, always uses searchTerm which is purely a search query\nconst filteredOptions = computed(() => {\n const filterText = searchTerm.value\n if (props.filterFunction) {\n return props.filterFunction(normalizedOptions.value, filterText)\n }\n if (!filterText) return normalizedOptions.value\n const term = filterText.toLowerCase()\n return normalizedOptions.value.filter((opt) => String(opt.text).toLowerCase().includes(term))\n})\n\n// Display value for single select mode (reka-ui calls this on selection)\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst displayValueFn = (val: any) => {\n if (val === null || val === undefined) return ''\n if (props.multiple) return '' // Multiple mode uses the separate display element\n return findOptionText(val)\n}\n\n// Whether there are selected values in multiple mode\nconst hasSelection = computed(() => {\n if (!modelValue.value) return false\n return Array.isArray(modelValue.value) ? modelValue.value.length > 0 : true\n})\n\n// Resolved option objects for tags mode\nconst selectedOptions = computed<SelectOption[]>(() => {\n if (!props.multiple || !modelValue.value) return []\n const selected = Array.isArray(modelValue.value) ? modelValue.value : [modelValue.value]\n return selected\n .map((val) =>\n normalizedOptions.value.find((opt) => {\n if (props.by && typeof props.by === 'string') {\n return (\n (opt.value as Record<string, unknown>)?.[props.by] ===\n (val as Record<string, unknown>)?.[props.by]\n )\n }\n return opt.value === val\n })\n )\n .filter((opt): opt is SelectOption => !!opt)\n})\n\nconst removeSelected = (option: SelectOption) => {\n if (!Array.isArray(modelValue.value)) return\n modelValue.value = modelValue.value.filter((val) => {\n if (props.by && typeof props.by === 'string') {\n return (\n (val as Record<string, unknown>)?.[props.by] !==\n (option.value as Record<string, unknown>)?.[props.by]\n )\n }\n return val !== option.value\n })\n}\n\nconst optionKey = (option: SelectOption, index: number) => {\n const val = option.value\n if (val !== null && val !== undefined && typeof val !== 'object') return String(val)\n return index\n}\n\nconst isLastSelectedOption = (_opt: SelectOption, index: number): boolean => {\n return index === selectedOptions.value.length - 1\n}\n\nconst resetPendingDelete = () => {\n pendingDelete.value = false\n}\nconst onInputKeydown = (event: KeyboardEvent) => {\n if (!props.multiple || !hasSelection.value) {\n resetPendingDelete()\n return\n }\n\n if (event.key === 'Backspace' && searchTerm.value === '') {\n if (pendingDelete.value) {\n // Second backspace — delete the last selected item\n const lastOpt = selectedOptions.value[selectedOptions.value.length - 1]\n if (lastOpt) {\n removeSelected(lastOpt)\n }\n pendingDelete.value = false\n } else {\n // First backspace — prime for deletion\n pendingDelete.value = true\n }\n return\n }\n\n // Any other key resets the pending delete state\n if (pendingDelete.value) {\n resetPendingDelete()\n }\n}\n</script>\n","<template>\n <ComboboxRoot\n v-model=\"modelValue\"\n v-model:open=\"isOpen\"\n :multiple=\"props.multiple\"\n :disabled=\"props.disabled\"\n :name=\"props.name\"\n :required=\"props.required\"\n :ignore-filter=\"props.multiple || !!props.filterFunction\"\n :reset-search-term-on-select=\"props.resetSearchTermOnSelect\"\n :reset-search-term-on-blur=\"props.resetSearchTermOnBlur\"\n :by=\"props.by\"\n :dir=\"props.dir\"\n :open-on-focus=\"props.openOnFocus\"\n class=\"b-autocomplete\"\n >\n <ComboboxAnchor as-child>\n <BInputGroup :size=\"props.size\">\n <!-- Selected values display (multiple mode only, hidden when empty) -->\n <div\n v-if=\"props.multiple && hasSelection\"\n class=\"b-autocomplete-selection\"\n :class=\"{\n 'b-autocomplete-selection-tags': props.tags,\n 'b-autocomplete-selection-pending-delete': pendingDelete,\n }\"\n >\n <slot\n v-if=\"props.tags\"\n name=\"tags\"\n :pending-delete\n :selected=\"selectedOptions\"\n :remove=\"removeSelected\"\n >\n <BFormTag\n v-for=\"(opt, i) in selectedOptions\"\n :key=\"optionKey(opt, i)\"\n :title=\"String(opt.text)\"\n :disabled=\"props.disabled\"\n :variant=\"'secondary'\"\n :class=\"{\n 'b-autocomplete-tag-muted': pendingDelete && !isLastSelectedOption(opt, i),\n 'b-autocomplete-tag-pending-delete': pendingDelete && isLastSelectedOption(opt, i),\n }\"\n @remove=\"removeSelected(opt)\"\n >\n {{ opt.text }}\n </BFormTag>\n </slot>\n <template v-else>\n <span\n v-for=\"(opt, i) in selectedOptions\"\n :key=\"optionKey(opt, i)\"\n :class=\"{\n 'text-body-tertiary': pendingDelete && !isLastSelectedOption(opt, i),\n }\"\n >{{ opt.text }}<span v-if=\"i < selectedOptions.length - 1\">, </span></span\n >\n </template>\n </div>\n\n <!-- Search input (always present) -->\n <ComboboxInput v-model=\"searchTerm\" as-child :display-value=\"displayValueFn\">\n <input\n :id=\"computedId\"\n :class=\"inputClasses\"\n :disabled=\"props.disabled\"\n :form=\"props.form || undefined\"\n :placeholder=\"props.placeholder\"\n :readonly=\"props.readonly || props.plaintext\"\n :required=\"props.required || undefined\"\n :autocomplete=\"props.autocomplete || undefined\"\n :aria-invalid=\"computedAriaInvalid\"\n :aria-required=\"props.required || undefined\"\n @blur=\"emit('blur', $event)\"\n @focus=\"emit('focus', $event)\"\n @keydown.passive=\"onInputKeydown\"\n />\n </ComboboxInput>\n\n <template #append>\n <ComboboxTrigger v-if=\"!props.noToggle\" as-child :disabled=\"props.disabled\">\n <BButton class=\"b-autocomplete-trigger\" :disabled=\"props.disabled\">\n <slot name=\"toggle-icon\" :is-open>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n viewBox=\"0 0 16 16\"\n class=\"b-autocomplete-chevron\"\n :class=\"{'b-autocomplete-chevron-open': isOpen}\"\n >\n <path\n fill-rule=\"evenodd\"\n d=\"M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z\"\n />\n </svg>\n </slot>\n </BButton>\n </ComboboxTrigger>\n </template>\n </BInputGroup>\n </ComboboxAnchor>\n\n <ComboboxPortal :disabled=\"!props.teleportTo\" :to=\"props.teleportTo\">\n <ComboboxContent\n position=\"popper\"\n :side-offset=\"4\"\n :align=\"'start'\"\n :class=\"['b-autocomplete-content', 'dropdown-menu', 'show']\"\n :body-lock=\"false\"\n :style=\"{width: 'var(--reka-combobox-trigger-width)'}\"\n >\n <ComboboxViewport class=\"b-autocomplete-viewport\">\n <ComboboxEmpty class=\"b-autocomplete-empty\">\n <slot name=\"empty\"> No results found </slot>\n </ComboboxEmpty>\n\n <ComboboxItem\n v-for=\"(option, index) in filteredOptions\"\n :key=\"optionKey(option, index)\"\n :value=\"option.value as AcceptableValue\"\n :disabled=\"option.disabled\"\n :class=\"['b-autocomplete-item', 'dropdown-item']\"\n >\n <slot name=\"option\" v-bind=\"option\">\n {{ option.text }}\n </slot>\n <ComboboxItemIndicator class=\"b-autocomplete-item-indicator\">\n <slot name=\"option-indicator\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z\"\n />\n </svg>\n </slot>\n </ComboboxItemIndicator>\n </ComboboxItem>\n </ComboboxViewport>\n </ComboboxContent>\n </ComboboxPortal>\n </ComboboxRoot>\n</template>\n\n<script setup lang=\"ts\">\nimport {computed, type ComputedRef, ref} from 'vue'\nimport type {AcceptableValue} from 'reka-ui'\nimport {\n ComboboxAnchor,\n ComboboxContent,\n ComboboxEmpty,\n ComboboxInput,\n ComboboxItem,\n ComboboxItemIndicator,\n ComboboxPortal,\n ComboboxRoot,\n ComboboxTrigger,\n ComboboxViewport,\n} from 'reka-ui'\nimport {useDefaults} from '../../composables/useDefaults'\nimport type {BAutocompleteProps, BAutocompleteSlots, SelectOption} from '../../types'\nimport {useId} from '../../composables/useId'\nimport {useStateClass} from '../../composables/useStateClass'\nimport {useAriaInvalid} from '../../composables/useAriaInvalid'\nimport BInputGroup from '../BInputGroup/BInputGroup.vue'\nimport BButton from '../BButton/BButton.vue'\nimport BFormTag from '../BFormTags/BFormTag.vue'\nimport {useFormSelect} from '../../composables/useFormSelect.ts'\n\nconst _props = withDefaults(defineProps<Omit<BAutocompleteProps, 'modelValue' | 'search'>>(), {\n ariaInvalid: undefined,\n autocomplete: undefined,\n autofocus: false,\n disabled: false,\n form: undefined,\n formatter: undefined,\n id: undefined,\n lazyFormatter: false,\n placeholder: undefined,\n plaintext: false,\n readonly: false,\n required: false,\n size: undefined,\n state: undefined,\n by: undefined,\n dir: undefined,\n disabledField: 'disabled',\n filterFunction: undefined,\n multiple: false,\n name: undefined,\n noToggle: false,\n openOnFocus: false,\n options: () => [],\n resetSearchTermOnBlur: true,\n resetSearchTermOnSelect: true,\n tags: false,\n teleportTo: undefined,\n textField: 'text',\n valueField: 'value',\n})\nconst props = useDefaults(_props, 'BAutocomplete')\nconst emit = defineEmits<{\n blur: [event: FocusEvent]\n focus: [event: FocusEvent]\n}>()\ndefineSlots<BAutocompleteSlots>()\n\nconst modelValue = defineModel<BAutocompleteProps['modelValue']>({\n default: undefined,\n})\nconst isOpen = defineModel<Exclude<BAutocompleteProps['open'], undefined>>('open', {default: false})\nconst searchTerm = defineModel<Exclude<BAutocompleteProps['search'], undefined>>('search', {\n default: '',\n})\n\n// Backspace-to-delete state for multiple mode\nconst pendingDelete = ref(false)\n\nconst computedId = useId(() => props.id)\nconst stateClass = useStateClass(() => props.state ?? null)\nconst computedAriaInvalid = useAriaInvalid(\n () => props.ariaInvalid,\n () => props.state ?? null\n)\n\nconst inputClasses = computed(() => [\n stateClass.value,\n {\n 'form-control': !props.plaintext,\n 'form-control-plaintext': props.plaintext,\n [`form-control-${props.size}`]: !!props.size,\n },\n])\n\nconst {normalizedOptions} = useFormSelect(() => props.options, props) as {\n normalizedOptions: ComputedRef<SelectOption[]>\n}\n\nconst findOptionText = (val: AcceptableValue): string => {\n const match = normalizedOptions.value.find((opt) => {\n if (props.by && typeof props.by === 'string') {\n return (\n (opt.value as Record<string, unknown>)?.[props.by] ===\n (val as Record<string, unknown>)?.[props.by]\n )\n }\n return opt.value === val\n })\n return match ? String(match.text) : String(val)\n}\n\n// Filter options — for multiple mode, always uses searchTerm which is purely a search query\nconst filteredOptions = computed(() => {\n const filterText = searchTerm.value\n if (props.filterFunction) {\n return props.filterFunction(normalizedOptions.value, filterText)\n }\n if (!filterText) return normalizedOptions.value\n const term = filterText.toLowerCase()\n return normalizedOptions.value.filter((opt) => String(opt.text).toLowerCase().includes(term))\n})\n\n// Display value for single select mode (reka-ui calls this on selection)\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst displayValueFn = (val: any) => {\n if (val === null || val === undefined) return ''\n if (props.multiple) return '' // Multiple mode uses the separate display element\n return findOptionText(val)\n}\n\n// Whether there are selected values in multiple mode\nconst hasSelection = computed(() => {\n if (!modelValue.value) return false\n return Array.isArray(modelValue.value) ? modelValue.value.length > 0 : true\n})\n\n// Resolved option objects for tags mode\nconst selectedOptions = computed<SelectOption[]>(() => {\n if (!props.multiple || !modelValue.value) return []\n const selected = Array.isArray(modelValue.value) ? modelValue.value : [modelValue.value]\n return selected\n .map((val) =>\n normalizedOptions.value.find((opt) => {\n if (props.by && typeof props.by === 'string') {\n return (\n (opt.value as Record<string, unknown>)?.[props.by] ===\n (val as Record<string, unknown>)?.[props.by]\n )\n }\n return opt.value === val\n })\n )\n .filter((opt): opt is SelectOption => !!opt)\n})\n\nconst removeSelected = (option: SelectOption) => {\n if (!Array.isArray(modelValue.value)) return\n modelValue.value = modelValue.value.filter((val) => {\n if (props.by && typeof props.by === 'string') {\n return (\n (val as Record<string, unknown>)?.[props.by] !==\n (option.value as Record<string, unknown>)?.[props.by]\n )\n }\n return val !== option.value\n })\n}\n\nconst optionKey = (option: SelectOption, index: number) => {\n const val = option.value\n if (val !== null && val !== undefined && typeof val !== 'object') return String(val)\n return index\n}\n\nconst isLastSelectedOption = (_opt: SelectOption, index: number): boolean => {\n return index === selectedOptions.value.length - 1\n}\n\nconst resetPendingDelete = () => {\n pendingDelete.value = false\n}\nconst onInputKeydown = (event: KeyboardEvent) => {\n if (!props.multiple || !hasSelection.value) {\n resetPendingDelete()\n return\n }\n\n if (event.key === 'Backspace' && searchTerm.value === '') {\n if (pendingDelete.value) {\n // Second backspace — delete the last selected item\n const lastOpt = selectedOptions.value[selectedOptions.value.length - 1]\n if (lastOpt) {\n removeSelected(lastOpt)\n }\n pendingDelete.value = false\n } else {\n // First backspace — prime for deletion\n pendingDelete.value = true\n }\n return\n }\n\n // Any other key resets the pending delete state\n if (pendingDelete.value) {\n resetPendingDelete()\n }\n}\n</script>\n"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],"mappings":";;;;;;;;;;;;;;;;;AAAA,SAAS,UAAU,GAAE;AAAC,QAAO,OAAO,KAAG,WAAS,IAAI,EAAE,KAAG,IAAI,GAAG,CAAC,UAAU,EAAE;;AAAC,IAAM,IAAe,2BAAU;CAAC,MAAM,EAAC;EAAC,qBAAG,IAAI,KAAG;EAAC,QAAQ,GAAE,GAAE;GAAC,MAAM,IAAE,OAAO,GAAE,IAAE,OAAO;AAAE,UAAO,MAAI,YAAU,MAAI,WAAS,EAAE,cAAc,EAAE,GAAC,MAAI,YAAU,MAAI,WAAS,IAAE,IAAE,OAAO,UAAU,cAAc,KAAK,KAAK,UAAU,GAAE,KAAK,EAAC,KAAK,UAAU,GAAE,KAAK,CAAC;;EAAC,UAAU,GAAE,GAAE;AAAC,OAAG,MAAI,KAAK,QAAO;AAAO,WAAO,OAAO,GAAd;IAAiB,KAAK,SAAS,QAAO,IAAE,IAAE,IAAI,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