cognova 0.2.19 → 0.2.21
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/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{D9xw8uE_.js → -O86rjFZ.js} +1 -1
- package/.output/public/_nuxt/{DOHxCkGP.js → -Q9J9PRu.js} +1 -1
- package/.output/public/_nuxt/{D7Wh0rDY.js → 0DkCurh5.js} +1 -1
- package/.output/public/_nuxt/{pBQdXg6-.js → 49whOfsW.js} +1 -1
- package/.output/public/_nuxt/{Ctk8prsJ.js → 4Vi9hKJC.js} +1 -1
- package/.output/public/_nuxt/{Ck27MWrT.js → 66GNa6MU.js} +1 -1
- package/.output/public/_nuxt/9dGxQN-2.js +1 -0
- package/.output/public/_nuxt/{D8mRVRI0.js → 9wWq016N.js} +1 -1
- package/.output/public/_nuxt/{GVe-4Ph3.js → B04GYyxD.js} +1 -1
- package/.output/public/_nuxt/{CZc2yEa4.js → B0KPvVav.js} +1 -1
- package/.output/public/_nuxt/{BU3iKy5X.js → B1meh0Ci.js} +1 -1
- package/.output/public/_nuxt/{BpyLpp2u.js → B53zbEPa.js} +1 -1
- package/.output/public/_nuxt/{lA4dCLQU.js → B6-aFDg7.js} +1 -1
- package/.output/public/_nuxt/{DkfpcEOx.js → B6lgiDn1.js} +1 -1
- package/.output/public/_nuxt/{BAHFbKQX.js → B7uuK82m.js} +1 -1
- package/.output/public/_nuxt/{CGU5SCtz.js → B9OPrqTh.js} +1 -1
- package/.output/public/_nuxt/{Jnpoujml.js → BA646MN4.js} +1 -1
- package/.output/public/_nuxt/{T9GHjrNI.js → BDhTzPPo.js} +1 -1
- package/.output/public/_nuxt/{C1adFeD7.js → BDzVzzBM.js} +1 -1
- package/.output/public/_nuxt/{DlI0WiRW.js → BEkFNtxw.js} +3 -3
- package/.output/public/_nuxt/{2esUefJW.js → BI7-RNYV.js} +1 -1
- package/.output/public/_nuxt/{CLemJ5rV.js → BN8XazaH.js} +3 -3
- package/.output/public/_nuxt/{CxeiZXxL.js → BNP0kT7B.js} +1 -1
- package/.output/public/_nuxt/{DaiuS8Oa.js → BPfVf7kt.js} +1 -1
- package/.output/public/_nuxt/{C83foXIS.js → BQGDi8tM.js} +1 -1
- package/.output/public/_nuxt/{BqcLcVqS.js → BUXewbUG.js} +1 -1
- package/.output/public/_nuxt/{DGW-6lPv.js → BW0FZi7D.js} +1 -1
- package/.output/public/_nuxt/{CANguo9i.js → BXmijQzM.js} +1 -1
- package/.output/public/_nuxt/{D5eZOtxz.js → BZFf3mr_.js} +1 -1
- package/.output/public/_nuxt/{L-wDsWD2.js → BZx0xqxG.js} +1 -1
- package/.output/public/_nuxt/{DaHtDNa_.js → BbElT9yG.js} +1 -1
- package/.output/public/_nuxt/{Cd_NSs1m.js → BjyHtuwq.js} +1 -1
- package/.output/public/_nuxt/{BgWDR6Lw.js → BnfOmQBX.js} +1 -1
- package/.output/public/_nuxt/BoqEl-F1.js +1 -0
- package/.output/public/_nuxt/{BdcvMuE5.js → Bq2pktu_.js} +2 -2
- package/.output/public/_nuxt/{Cmgjw0Gq.js → Br712gOY.js} +1 -1
- package/.output/public/_nuxt/{5wtsMO-L.js → Bs4sk8vv.js} +1 -1
- package/.output/public/_nuxt/{BU2cb1WW.js → Bt87rSlM.js} +1 -1
- package/.output/public/_nuxt/{CYTJ1RUE.js → BtOA13zl.js} +1 -1
- package/.output/public/_nuxt/{Da7TeqHg.js → Bti4Nb4c.js} +1 -1
- package/.output/public/_nuxt/{CinAAQCA.js → Bu0HhyZq.js} +1 -1
- package/.output/public/_nuxt/{B3GkYra-.js → Bv25Wgb9.js} +1 -1
- package/.output/public/_nuxt/{DzCd4XVJ.js → BwMPB_Mu.js} +1 -1
- package/.output/public/_nuxt/{CRDPv2IF.js → BzkqPhn-.js} +1 -1
- package/.output/public/_nuxt/{DHw1eO-H.js → C35LJkds.js} +1 -1
- package/.output/public/_nuxt/{0I_ByKAf.js → C4VW2EjN.js} +1 -1
- package/.output/public/_nuxt/{CB1bsj7q.js → C6FzuEFH.js} +1 -1
- package/.output/public/_nuxt/C866FgGj.js +1 -0
- package/.output/public/_nuxt/{BC8KsQEf.js → CBqC92gC.js} +7 -7
- package/.output/public/_nuxt/{BsjzqOSI.js → CD2Wt775.js} +1 -1
- package/.output/public/_nuxt/{CJFWEUF1.js → CE491BHV.js} +1 -1
- package/.output/public/_nuxt/{C2L_Po9T.js → CF8ziKf1.js} +1 -1
- package/.output/public/_nuxt/{uRnVeYSZ.js → CFE6wnRK.js} +1 -1
- package/.output/public/_nuxt/{Bt7k30rZ.js → CFjVdIUR.js} +1 -1
- package/.output/public/_nuxt/{BdwdSTTv.js → CGPn0bIO.js} +1 -1
- package/.output/public/_nuxt/{Dc7JcEzN.js → CKSWEIag.js} +1 -1
- package/.output/public/_nuxt/{DS0R5f-u.js → CL9cB3YW.js} +1 -1
- package/.output/public/_nuxt/{DBNKZ2lD.js → CLUsxCN7.js} +1 -1
- package/.output/public/_nuxt/{CRwLFCah.js → CM5aLXsq.js} +1 -1
- package/.output/public/_nuxt/{DLCiFGhh.js → CN_jZBEh.js} +1 -1
- package/.output/public/_nuxt/{CrvCHahl.js → CNgf0D2d.js} +1 -1
- package/.output/public/_nuxt/{Brn3KJ4F.js → CPYFvNZ2.js} +1 -1
- package/.output/public/_nuxt/{CGYcIC6i.js → CQTD64un.js} +1 -1
- package/.output/public/_nuxt/{Ce8HCJf2.js → CRLO8tx3.js} +1 -1
- package/.output/public/_nuxt/{BTXVr2qS.js → CTIUqf4N.js} +1 -1
- package/.output/public/_nuxt/{CqkDUH4g.js → CUDpi0L3.js} +1 -1
- package/.output/public/_nuxt/{eaWTN9Xx.js → CY4SEsrB.js} +1 -1
- package/.output/public/_nuxt/{DP_btl92.js → CYAPNNGW.js} +1 -1
- package/.output/public/_nuxt/{Bn6U1R03.js → CZV2u8Xx.js} +1 -1
- package/.output/public/_nuxt/{D-iqXq71.js → C_TYqFbT.js} +1 -1
- package/.output/public/_nuxt/{DcSBMY1N.js → CdIGoC9r.js} +1 -1
- package/.output/public/_nuxt/{Bub0AycX.js → CiPQXVBy.js} +1 -1
- package/.output/public/_nuxt/{B6b5WBUt.js → Cif20myG.js} +1 -1
- package/.output/public/_nuxt/{dh14EFai.js → Ck1KJ2HV.js} +1 -1
- package/.output/public/_nuxt/{DeGeWkgm.js → CkSyHzm-.js} +1 -1
- package/.output/public/_nuxt/{BFvHK_cM.js → ClKTC8bU.js} +1 -1
- package/.output/public/_nuxt/CltqyXO5.js +1 -0
- package/.output/public/_nuxt/{C4GJPeiI.js → CmuSeGko.js} +1 -1
- package/.output/public/_nuxt/{DWOW-Cdy.js → Cn_NBSuo.js} +1 -1
- package/.output/public/_nuxt/{ZaPXfv7F.js → CvUov1Ey.js} +1 -1
- package/.output/public/_nuxt/{BlZVX3pn.js → CwY5tLRb.js} +1 -1
- package/.output/public/_nuxt/{QYD2FF-Y.js → CwoQ23uO.js} +1 -1
- package/.output/public/_nuxt/{xD0dE8wS.js → Cwoe6TAi.js} +1 -1
- package/.output/public/_nuxt/{CRCPfQS-.js → CxTuME0Z.js} +2 -2
- package/.output/public/_nuxt/{CDFqHGd6.js → Cyjm1APH.js} +1 -1
- package/.output/public/_nuxt/{Q0XJORJf.js → Cyo4VJ6S.js} +1 -1
- package/.output/public/_nuxt/{BevO_JgG.js → D-WxGaym.js} +1 -1
- package/.output/public/_nuxt/{Bn-WtsyL.js → D0SYimTY.js} +1 -1
- package/.output/public/_nuxt/{C2VzD5v7.js → D82AhPdI.js} +1 -1
- package/.output/public/_nuxt/{Cd6yPoTw.js → D9dLxr1_.js} +1 -1
- package/.output/public/_nuxt/{CSzgREhd.js → D9jU4ocP.js} +1 -1
- package/.output/public/_nuxt/{BSZs06C7.js → DAQeLqQw.js} +1 -1
- package/.output/public/_nuxt/{k4gD2Q1e.js → DDg2H-HK.js} +1 -1
- package/.output/public/_nuxt/{C3LqKYMv.js → DESvLlSI.js} +1 -1
- package/.output/public/_nuxt/{CTpEHLzQ.js → DFSB3QxC.js} +1 -1
- package/.output/public/_nuxt/{BoRhj5eh.js → DFqzAgzP.js} +1 -1
- package/.output/public/_nuxt/{1xdJYr3g.js → DJuYHeIc.js} +1 -1
- package/.output/public/_nuxt/{BhICtOVw.js → DK0AJoGL.js} +1 -1
- package/.output/public/_nuxt/{DbdpgOQc.js → DQdWxVax.js} +1 -1
- package/.output/public/_nuxt/{U6oBvom5.js → DRF-DnQg.js} +1 -1
- package/.output/public/_nuxt/{BoyaE2WK.js → DUf0f355.js} +1 -1
- package/.output/public/_nuxt/{C2iUvu7Y.js → DWnLv2oh.js} +1 -1
- package/.output/public/_nuxt/{Dj92zOuJ.js → DXkvGTEB.js} +1 -1
- package/.output/public/_nuxt/{DJXhwj4b.js → DZncVjYt.js} +1 -1
- package/.output/public/_nuxt/{CRam5D7c.js → DaAG12aj.js} +1 -1
- package/.output/public/_nuxt/{D4s3pp8O.js → Db66Rsfj.js} +1 -1
- package/.output/public/_nuxt/{CmZjhT0Y.js → DbLjznUU.js} +1 -1
- package/.output/public/_nuxt/{BN8oBViB.js → Dfzca1IN.js} +1 -1
- package/.output/public/_nuxt/{DBLItvFs.js → DhvuBruY.js} +1 -1
- package/.output/public/_nuxt/{BOb2nBTe.js → Dj9yr6QC.js} +1 -1
- package/.output/public/_nuxt/{DiNFXBiC.js → DjJn4g73.js} +1 -1
- package/.output/public/_nuxt/{CPv7vm5a.js → DkAUrkyD.js} +1 -1
- package/.output/public/_nuxt/{BvaI39gO.js → DkybthvX.js} +1 -1
- package/.output/public/_nuxt/{BPuUmv9c.js → DlNwSYeM.js} +1 -1
- package/.output/public/_nuxt/{DFELG0yq.js → Dm5HyQgM.js} +1 -1
- package/.output/public/_nuxt/{Dvz3E9oI.js → Dn7zgQZh.js} +1 -1
- package/.output/public/_nuxt/{2GiGgeXh.js → DoIqoxBH.js} +1 -1
- package/.output/public/_nuxt/{Dn78Aa2V.js → Dqx39Omg.js} +1 -1
- package/.output/public/_nuxt/{DvClFXmZ.js → DrQVjmDX.js} +1 -1
- package/.output/public/_nuxt/{CwNlDU9U.js → DuYzdzqK.js} +1 -1
- package/.output/public/_nuxt/{SY-uB-M7.js → DvZW6QuM.js} +1 -1
- package/.output/public/_nuxt/{DKiTNmSv.js → DxztGg8Y.js} +1 -1
- package/.output/public/_nuxt/{DUws3F7Z.js → EPFrlLUV.js} +1 -1
- package/.output/public/_nuxt/{DJcB285V.js → JsQhjNzl.js} +1 -1
- package/.output/public/_nuxt/{CiB_saWz.js → NApXVVQD.js} +1 -1
- package/.output/public/_nuxt/{QLVAu0lw.js → OwiFxd0L.js} +1 -1
- package/.output/public/_nuxt/{CLz02Wwh.js → QAfF68DH.js} +1 -1
- package/.output/public/_nuxt/{BFdl5SgW.js → QDt0Bhze.js} +1 -1
- package/.output/public/_nuxt/{BRW_vpqh.js → RF9kzKHY.js} +1 -1
- package/.output/public/_nuxt/{Cudrwb04.js → RzJhlhBq.js} +1 -1
- package/.output/public/_nuxt/{DiMhvSOf.js → SHHFgixe.js} +1 -1
- package/.output/public/_nuxt/V5ro_Ide.js +1 -0
- package/.output/public/_nuxt/{Bu2PklVX.js → Zge3ScOQ.js} +1 -1
- package/.output/public/_nuxt/{CZ3rgvtp.js → Zj8SE5Ja.js} +1 -1
- package/.output/public/_nuxt/{edY2TeMa.js → ZjXNlFkb.js} +1 -1
- package/.output/public/_nuxt/{DS-fOYWT.js → _5GQc09B.js} +1 -1
- package/.output/public/_nuxt/{u3fzHugO.js → aK4BeJQk.js} +1 -1
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/36770554-14f7-4f3a-add8-2f51436e3d25.json +1 -0
- package/.output/public/_nuxt/{CuhzX4Km.js → cQU5gXxh.js} +1 -1
- package/.output/public/_nuxt/{B8GQk9Pq.js → cq8AG_FV.js} +1 -1
- package/.output/public/_nuxt/{BrAACupN.js → d2FXPfMj.js} +1 -1
- package/.output/public/_nuxt/{r-hA7E7a.js → dD3g22lS.js} +1 -1
- package/.output/public/_nuxt/{rdjgsK-s.js → f35n4CdE.js} +1 -1
- package/.output/public/_nuxt/{5bb2zRmX.js → gWMUdeHB.js} +1 -1
- package/.output/public/_nuxt/{B6oh5cW5.js → i2HesToX.js} +1 -1
- package/.output/public/_nuxt/{Bw60ICyV.js → iIxC-lNx.js} +1 -1
- package/.output/public/_nuxt/{Dw6GDP1h.js → nRp8uM7H.js} +1 -1
- package/.output/public/_nuxt/{DNqEe3aR.js → oBlsjU0k.js} +1 -1
- package/.output/public/_nuxt/{oD8wGmeX.js → rH7JJqZQ.js} +1 -1
- package/.output/public/_nuxt/{DX7Ul07b.js → tak9pMy9.js} +1 -1
- package/.output/public/_nuxt/{FTxQ_eC3.js → vebhRA6y.js} +1 -1
- package/.output/server/chunks/build/A-BWukSPjS.mjs +1 -4
- package/.output/server/chunks/build/A-BWukSPjS.mjs.map +1 -1
- package/.output/server/chunks/build/Accordion-BaJYea6e.mjs +239 -307
- package/.output/server/chunks/build/Accordion-BaJYea6e.mjs.map +1 -1
- package/.output/server/chunks/build/AccordionItem-DdG2zgcN.mjs +1 -4
- package/.output/server/chunks/build/AccordionItem-DdG2zgcN.mjs.map +1 -1
- package/.output/server/chunks/build/AgentForm-styles.DCUnzu4-.mjs.map +1 -1
- package/.output/server/chunks/build/Badge-BrU9UkCv.mjs +1 -4
- package/.output/server/chunks/build/Badge-BrU9UkCv.mjs.map +1 -1
- package/.output/server/chunks/build/Badge-C1RKkIgG.mjs +42 -58
- package/.output/server/chunks/build/Badge-C1RKkIgG.mjs.map +1 -1
- package/.output/server/chunks/build/Blockquote-DND8wTkU.mjs +1 -4
- package/.output/server/chunks/build/Blockquote-DND8wTkU.mjs.map +1 -1
- package/.output/server/chunks/build/Callout-1halpaEg.mjs +6 -10
- package/.output/server/chunks/build/Callout-1halpaEg.mjs.map +1 -1
- package/.output/server/chunks/build/Card-BHCSDKDt.mjs +9 -13
- package/.output/server/chunks/build/Card-BHCSDKDt.mjs.map +1 -1
- package/.output/server/chunks/build/Card-G40WAFiH.mjs +10 -15
- package/.output/server/chunks/build/Card-G40WAFiH.mjs.map +1 -1
- package/.output/server/chunks/build/CardGroup-BOuJcNGp.mjs +1 -4
- package/.output/server/chunks/build/CardGroup-BOuJcNGp.mjs.map +1 -1
- package/.output/server/chunks/build/Code-B1xkAS5a.mjs +1 -4
- package/.output/server/chunks/build/Code-B1xkAS5a.mjs.map +1 -1
- package/.output/server/chunks/build/CodeCollapse-BIhaNa22.mjs +7 -11
- package/.output/server/chunks/build/CodeCollapse-BIhaNa22.mjs.map +1 -1
- package/.output/server/chunks/build/CodeGroup-BviYyCuo.mjs +50 -71
- package/.output/server/chunks/build/CodeGroup-BviYyCuo.mjs.map +1 -1
- package/.output/server/chunks/build/CodeIcon-CWD5HcV7.mjs +2 -6
- package/.output/server/chunks/build/CodeIcon-CWD5HcV7.mjs.map +1 -1
- package/.output/server/chunks/build/CodePreview-D8PsCQ6m.mjs +4 -8
- package/.output/server/chunks/build/CodePreview-D8PsCQ6m.mjs.map +1 -1
- package/.output/server/chunks/build/CodeTree-BUTLupmL.mjs +74 -89
- package/.output/server/chunks/build/CodeTree-BUTLupmL.mjs.map +1 -1
- package/.output/server/chunks/build/Collapsible-BIvXNaSq.mjs +11 -20
- package/.output/server/chunks/build/Collapsible-BIvXNaSq.mjs.map +1 -1
- package/.output/server/chunks/build/ColorModeButton-CiS8E1tc.mjs +4 -5
- package/.output/server/chunks/build/ConfirmModal-DuQXeyic.mjs.map +1 -1
- package/.output/server/chunks/build/Container-DYkNsgEA.mjs +1 -4
- package/.output/server/chunks/build/Container-DYkNsgEA.mjs.map +1 -1
- package/.output/server/chunks/build/DashboardNavbar-Cpq8yKA0.mjs +43 -66
- package/.output/server/chunks/build/DashboardNavbar-Cpq8yKA0.mjs.map +1 -1
- package/.output/server/chunks/build/DashboardSidebarToggle-Chnqv04k.mjs +6 -15
- package/.output/server/chunks/build/DashboardSidebarToggle-Chnqv04k.mjs.map +1 -1
- package/.output/server/chunks/build/DashboardToolbar-66a616OO.mjs +18 -26
- package/.output/server/chunks/build/DashboardToolbar-66a616OO.mjs.map +1 -1
- package/.output/server/chunks/build/DocumentEditor-styles.CHRLgdKS.mjs.map +1 -1
- package/.output/server/chunks/build/Drawer-zOHju6ul.mjs +229 -263
- package/.output/server/chunks/build/Drawer-zOHju6ul.mjs.map +1 -1
- package/.output/server/chunks/build/DropdownMenu-BBrV9nXz.mjs +419 -483
- package/.output/server/chunks/build/DropdownMenu-BBrV9nXz.mjs.map +1 -1
- package/.output/server/chunks/build/EditorToolbar-B9OwSI5e.mjs +148 -179
- package/.output/server/chunks/build/EditorToolbar-B9OwSI5e.mjs.map +1 -1
- package/.output/server/chunks/build/Em-DsIz_BnD.mjs +1 -4
- package/.output/server/chunks/build/Em-DsIz_BnD.mjs.map +1 -1
- package/.output/server/chunks/build/Field-cwwmSQDT.mjs +14 -19
- package/.output/server/chunks/build/Field-cwwmSQDT.mjs.map +1 -1
- package/.output/server/chunks/build/FieldGroup-CAIpQv8s.mjs +1 -4
- package/.output/server/chunks/build/FieldGroup-CAIpQv8s.mjs.map +1 -1
- package/.output/server/chunks/build/FieldGroup-KzsWn_XG.mjs +1 -4
- package/.output/server/chunks/build/FieldGroup-KzsWn_XG.mjs.map +1 -1
- package/.output/server/chunks/build/Form-X6hlUv6q.mjs +20 -44
- package/.output/server/chunks/build/Form-X6hlUv6q.mjs.map +1 -1
- package/.output/server/chunks/build/FormField-Caux_FCv.mjs +23 -34
- package/.output/server/chunks/build/FormField-Caux_FCv.mjs.map +1 -1
- package/.output/server/chunks/build/H1-BbFNsPyP.mjs +4 -9
- package/.output/server/chunks/build/H1-BbFNsPyP.mjs.map +1 -1
- package/.output/server/chunks/build/H2-vHTl_pWr.mjs +5 -10
- package/.output/server/chunks/build/H2-vHTl_pWr.mjs.map +1 -1
- package/.output/server/chunks/build/H3-7eTcfO3s.mjs +5 -10
- package/.output/server/chunks/build/H3-7eTcfO3s.mjs.map +1 -1
- package/.output/server/chunks/build/H4-C89p_PKO.mjs +4 -9
- package/.output/server/chunks/build/H4-C89p_PKO.mjs.map +1 -1
- package/.output/server/chunks/build/Hr-Bm8RlL3O.mjs +1 -4
- package/.output/server/chunks/build/Hr-Bm8RlL3O.mjs.map +1 -1
- package/.output/server/chunks/build/Icon-Dp9iy0BI.mjs +1 -4
- package/.output/server/chunks/build/Icon-Dp9iy0BI.mjs.map +1 -1
- package/.output/server/chunks/build/Img-CWLmvN1t.mjs +63 -76
- package/.output/server/chunks/build/Img-CWLmvN1t.mjs.map +1 -1
- package/.output/server/chunks/build/Input-CV2hlBHo.mjs +54 -70
- package/.output/server/chunks/build/Input-CV2hlBHo.mjs.map +1 -1
- package/.output/server/chunks/build/InputTags-VS4G6txn.mjs +101 -133
- package/.output/server/chunks/build/InputTags-VS4G6txn.mjs.map +1 -1
- package/.output/server/chunks/build/Kbd-CQG6I_Ch.mjs +1 -4
- package/.output/server/chunks/build/Kbd-CQG6I_Ch.mjs.map +1 -1
- package/.output/server/chunks/build/Kbd-Daq7k0fm.mjs +19 -22
- package/.output/server/chunks/build/Kbd-Daq7k0fm.mjs.map +1 -1
- package/.output/server/chunks/build/Li-Bw1QUaGv.mjs +1 -4
- package/.output/server/chunks/build/Li-Bw1QUaGv.mjs.map +1 -1
- package/.output/server/chunks/build/{MDC-CBPIDFRQ.mjs → MDC-Dx0YPDhe.mjs} +38 -58
- package/.output/server/chunks/build/{MDC-CBPIDFRQ.mjs.map → MDC-Dx0YPDhe.mjs.map} +1 -1
- package/.output/server/chunks/build/Modal-Z_SoWhh-.mjs +299 -343
- package/.output/server/chunks/build/Modal-Z_SoWhh-.mjs.map +1 -1
- package/.output/server/chunks/build/Ol-D-fPnfFM.mjs +1 -4
- package/.output/server/chunks/build/Ol-D-fPnfFM.mjs.map +1 -1
- package/.output/server/chunks/build/P-B5YI1V9y.mjs +1 -4
- package/.output/server/chunks/build/P-B5YI1V9y.mjs.map +1 -1
- package/.output/server/chunks/build/Pre-ChiJcf3C.mjs +7 -11
- package/.output/server/chunks/build/Pre-ChiJcf3C.mjs.map +1 -1
- package/.output/server/chunks/build/Pre-styles.Ddy5_gRD.mjs.map +1 -1
- package/.output/server/chunks/build/ProseH5-DahJyv8h.mjs +1 -4
- package/.output/server/chunks/build/ProseH6-C4Is5h6c.mjs +1 -4
- package/.output/server/chunks/build/Select-BB1oLrCD.mjs +643 -758
- package/.output/server/chunks/build/Select-BB1oLrCD.mjs.map +1 -1
- package/.output/server/chunks/build/SelectMenu-DPssg6zD.mjs +702 -814
- package/.output/server/chunks/build/SelectMenu-DPssg6zD.mjs.map +1 -1
- package/.output/server/chunks/build/Separator-CYbxFNTe.mjs +35 -44
- package/.output/server/chunks/build/Separator-CYbxFNTe.mjs.map +1 -1
- package/.output/server/chunks/build/Skeleton-DZqsQzFi.mjs +1 -4
- package/.output/server/chunks/build/Skeleton-DZqsQzFi.mjs.map +1 -1
- package/.output/server/chunks/build/Slideover-DJNgcnZ2.mjs +282 -322
- package/.output/server/chunks/build/Slideover-DJNgcnZ2.mjs.map +1 -1
- package/.output/server/chunks/build/Steps-BZpvXfzb.mjs +1 -4
- package/.output/server/chunks/build/Steps-BZpvXfzb.mjs.map +1 -1
- package/.output/server/chunks/build/Strong-DXJqOWL3.mjs +1 -4
- package/.output/server/chunks/build/Strong-DXJqOWL3.mjs.map +1 -1
- package/.output/server/chunks/build/Switch-GWdksmY6.mjs +75 -92
- package/.output/server/chunks/build/Switch-GWdksmY6.mjs.map +1 -1
- package/.output/server/chunks/build/Table-BSrLZ7dt.mjs +3 -7
- package/.output/server/chunks/build/Table-BSrLZ7dt.mjs.map +1 -1
- package/.output/server/chunks/build/Table-DCwTlhCj.mjs +67 -95
- package/.output/server/chunks/build/Table-DCwTlhCj.mjs.map +1 -1
- package/.output/server/chunks/build/Tabs-B6vgKDY9.mjs +164 -205
- package/.output/server/chunks/build/Tabs-B6vgKDY9.mjs.map +1 -1
- package/.output/server/chunks/build/Tabs-Dk3nvOFF.mjs +7 -13
- package/.output/server/chunks/build/Tabs-Dk3nvOFF.mjs.map +1 -1
- package/.output/server/chunks/build/TabsItem-CDhyuBtJ.mjs +1 -4
- package/.output/server/chunks/build/TabsItem-CDhyuBtJ.mjs.map +1 -1
- package/.output/server/chunks/build/TaskForm-styles.DRSLq_mo.mjs.map +1 -1
- package/.output/server/chunks/build/Tbody-CjMT5oH-.mjs +1 -4
- package/.output/server/chunks/build/Tbody-CjMT5oH-.mjs.map +1 -1
- package/.output/server/chunks/build/Td-ZBVaEjFN.mjs +1 -4
- package/.output/server/chunks/build/Td-ZBVaEjFN.mjs.map +1 -1
- package/.output/server/chunks/build/Th-D317icbd.mjs +1 -4
- package/.output/server/chunks/build/Th-D317icbd.mjs.map +1 -1
- package/.output/server/chunks/build/Thead-Ca_ZESTK.mjs +1 -4
- package/.output/server/chunks/build/Thead-Ca_ZESTK.mjs.map +1 -1
- package/.output/server/chunks/build/Tooltip-TRyl6dje.mjs +90 -119
- package/.output/server/chunks/build/Tooltip-TRyl6dje.mjs.map +1 -1
- package/.output/server/chunks/build/Tr-6jI8j9gD.mjs +1 -4
- package/.output/server/chunks/build/Tr-6jI8j9gD.mjs.map +1 -1
- package/.output/server/chunks/build/Tree-DUhXKd8y.mjs +600 -724
- package/.output/server/chunks/build/Tree-DUhXKd8y.mjs.map +1 -1
- package/.output/server/chunks/build/Ul-BUGj_CPb.mjs +1 -4
- package/.output/server/chunks/build/Ul-BUGj_CPb.mjs.map +1 -1
- package/.output/server/chunks/build/_id_-CwBeklIM.mjs +6 -11
- package/.output/server/chunks/build/_id_-CwBeklIM.mjs.map +1 -1
- package/.output/server/chunks/build/_name_-D7MtW4Vu.mjs +80 -95
- package/.output/server/chunks/build/_name_-D7MtW4Vu.mjs.map +1 -1
- package/.output/server/chunks/build/{_uuid_-22DWyyT2.mjs → _uuid_-lvG92ein.mjs} +47 -90
- package/.output/server/chunks/build/_uuid_-lvG92ein.mjs.map +1 -0
- package/.output/server/chunks/build/account-LDZ4TL6x.mjs.map +1 -1
- package/.output/server/chunks/build/app-CGhRZPNT.mjs +4 -6
- package/.output/server/chunks/build/app-CGhRZPNT.mjs.map +1 -1
- package/.output/server/chunks/build/auth-BGPNH2QJ.mjs.map +1 -1
- package/.output/server/chunks/build/{chat-marxFgC2.mjs → chat-BphuYhvA.mjs} +15 -24
- package/.output/server/chunks/build/chat-BphuYhvA.mjs.map +1 -0
- package/.output/server/chunks/build/client.precomputed.mjs +1 -1
- package/.output/server/chunks/build/client.precomputed.mjs.map +1 -1
- package/.output/server/chunks/build/cookie-C_iulBi6.mjs +3 -4
- package/.output/server/chunks/build/dashboard-CLk1NlbR.mjs +10 -11
- package/.output/server/chunks/build/dashboard-CLk1NlbR.mjs.map +1 -1
- package/.output/server/chunks/build/dashboard-nDujDyOg.mjs +2196 -2613
- package/.output/server/chunks/build/dashboard-nDujDyOg.mjs.map +1 -1
- package/.output/server/chunks/build/docs-Bwucwp0r.mjs +57 -79
- package/.output/server/chunks/build/docs-Bwucwp0r.mjs.map +1 -1
- package/.output/server/chunks/build/error-404-styles.AYNYglVn.mjs.map +1 -1
- package/.output/server/chunks/build/error-500-styles.CQugGB96.mjs.map +1 -1
- package/.output/server/chunks/build/fetch-BB7Qzkwe.mjs +1 -2
- package/.output/server/chunks/build/hooks-D6PmTth8.mjs +4 -5
- package/.output/server/chunks/build/hooks-D6PmTth8.mjs.map +1 -1
- package/.output/server/chunks/build/{index-B3B162Ta.mjs → index-Byt-3Yq6.mjs} +607 -742
- package/.output/server/chunks/build/index-Byt-3Yq6.mjs.map +1 -0
- package/.output/server/chunks/build/index-CJkn2jiM.mjs +58 -84
- package/.output/server/chunks/build/index-CJkn2jiM.mjs.map +1 -1
- package/.output/server/chunks/build/{index-jLKAA7pL.mjs → index-CxDxc9fm.mjs} +39 -53
- package/.output/server/chunks/build/{index-jLKAA7pL.mjs.map → index-CxDxc9fm.mjs.map} +1 -1
- package/.output/server/chunks/build/index-Cz9Y6NwN.mjs +1 -2
- package/.output/server/chunks/build/index-Cz9Y6NwN.mjs.map +1 -1
- package/.output/server/chunks/build/{index-Cl87bx3X.mjs → index-DzdvIi8V.mjs} +6 -8
- package/.output/server/chunks/build/{index-Cl87bx3X.mjs.map → index-DzdvIi8V.mjs.map} +1 -1
- package/.output/server/chunks/build/{integrations-D5JWURiJ.mjs → integrations-Hf4O1jkW.mjs} +46 -111
- package/.output/server/chunks/build/integrations-Hf4O1jkW.mjs.map +1 -0
- package/.output/server/chunks/build/library-DxRdgP6X.mjs.map +1 -1
- package/.output/server/chunks/build/login-BmER_VoU.mjs +293 -349
- package/.output/server/chunks/build/login-BmER_VoU.mjs.map +1 -1
- package/.output/server/chunks/build/manage-secrets-BWzqc_-f.mjs +9 -11
- package/.output/server/chunks/build/manage-secrets-BWzqc_-f.mjs.map +1 -1
- package/.output/server/chunks/build/mdc-highlighter.mjs.map +1 -1
- package/.output/server/chunks/build/memories-BqA719O1.mjs.map +1 -1
- package/.output/server/chunks/build/node-D32ZN4X1.mjs +1 -2
- package/.output/server/chunks/build/server.mjs +7 -7
- package/.output/server/chunks/build/server.mjs.map +1 -1
- package/.output/server/chunks/build/settings-neokAVE5.mjs.map +1 -1
- package/.output/server/chunks/build/slot-BA0jpvfd.mjs +1 -1
- package/.output/server/chunks/build/ssr-Bqnw2a-w.mjs +3 -5
- package/.output/server/chunks/build/ssrSlot-FUxZcI57.mjs +1 -1
- package/.output/server/chunks/build/styles.mjs +2 -2
- package/.output/server/chunks/build/styles.mjs.map +1 -1
- package/.output/server/chunks/build/{tasks-DLUNgLwE.mjs → tasks-CnpIQNpS.mjs} +7 -18
- package/.output/server/chunks/build/tasks-CnpIQNpS.mjs.map +1 -0
- package/.output/server/chunks/build/usage-BHdQZbfI.mjs +231 -293
- package/.output/server/chunks/build/usage-BHdQZbfI.mjs.map +1 -1
- package/.output/server/chunks/build/useAgents-nmbkB9-_.mjs +2 -3
- package/.output/server/chunks/build/useAgents-nmbkB9-_.mjs.map +1 -1
- package/.output/server/chunks/build/useAuth-rW9toE_m.mjs +4 -14
- package/.output/server/chunks/build/useAuth-rW9toE_m.mjs.map +1 -1
- package/.output/server/chunks/build/useCopyToClipboard-vi6FYyyZ.mjs +1 -2
- package/.output/server/chunks/build/useCopyToClipboard-vi6FYyyZ.mjs.map +1 -1
- package/.output/server/chunks/build/useNotificationBus-BG5JNQf1.mjs.map +1 -1
- package/.output/server/chunks/build/usePreferences-DH1QjxOj.mjs +1 -2
- package/.output/server/chunks/build/usePreferences-DH1QjxOj.mjs.map +1 -1
- package/.output/server/chunks/build/view-mb0ISqfM.mjs +105 -140
- package/.output/server/chunks/build/view-mb0ISqfM.mjs.map +1 -1
- package/.output/server/chunks/build/{virtual_nuxt__Users_tony_Documents_GitHub_second-brain_.nuxt_mdc-configs-D-mPnyQ5.mjs → virtual_nuxt__Users_tony_Documents_GitHub_second-brain_node_modules_.cache_nuxt_.nuxt_mdc-configs-D-mPnyQ5.mjs} +1 -1
- package/.output/server/chunks/build/virtual_nuxt__Users_tony_Documents_GitHub_second-brain_node_modules_.cache_nuxt_.nuxt_mdc-configs-D-mPnyQ5.mjs.map +1 -0
- package/.output/server/chunks/build/{virtual_nuxt__Users_tony_Documents_GitHub_second-brain_.nuxt_mdc-imports-PtwWlZ2H.mjs → virtual_nuxt__Users_tony_Documents_GitHub_second-brain_node_modules_.cache_nuxt_.nuxt_mdc-imports-PtwWlZ2H.mjs} +4 -4
- package/.output/server/chunks/build/virtual_nuxt__Users_tony_Documents_GitHub_second-brain_node_modules_.cache_nuxt_.nuxt_mdc-imports-PtwWlZ2H.mjs.map +1 -0
- package/.output/server/chunks/nitro/nitro.mjs +905 -996
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/package.json +1 -1
- package/Claude/skills/_lib/api.py +4 -4
- package/Claude/skills/project/project.py +2 -1
- package/Claude/skills/skill-creator/SKILL.md +7 -0
- package/Claude/skills/task/task.py +4 -3
- package/app/pages/settings/integrations.vue +2 -23
- package/dist/cli/index.js +372 -170
- package/package.json +1 -1
- package/server/bridge/adapters/imessage.ts +12 -136
- package/shared/types/index.ts +0 -2
- package/.output/public/_nuxt/BV9LrrQq.js +0 -1
- package/.output/public/_nuxt/CdcXA9zv.js +0 -1
- package/.output/public/_nuxt/Cv2DAUoN.js +0 -1
- package/.output/public/_nuxt/DEgm6J7X.js +0 -1
- package/.output/public/_nuxt/DL1RFS0w.js +0 -1
- package/.output/public/_nuxt/builds/meta/cb5185ae-c87f-4b13-8998-00a627da9237.json +0 -1
- package/.output/server/chunks/build/_uuid_-22DWyyT2.mjs.map +0 -1
- package/.output/server/chunks/build/chat-marxFgC2.mjs.map +0 -1
- package/.output/server/chunks/build/index-B3B162Ta.mjs.map +0 -1
- package/.output/server/chunks/build/integrations-D5JWURiJ.mjs.map +0 -1
- package/.output/server/chunks/build/tasks-DLUNgLwE.mjs.map +0 -1
- package/.output/server/chunks/build/virtual_nuxt__Users_tony_Documents_GitHub_second-brain_.nuxt_mdc-configs-D-mPnyQ5.mjs.map +0 -1
- package/.output/server/chunks/build/virtual_nuxt__Users_tony_Documents_GitHub_second-brain_.nuxt_mdc-imports-PtwWlZ2H.mjs.map +0 -1
|
@@ -430,20 +430,17 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
432
|
});
|
|
433
|
-
const ui = computed(() => {
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
virtualize: !!props.virtualize
|
|
445
|
-
});
|
|
446
|
-
});
|
|
433
|
+
const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.selectMenu || {} })({
|
|
434
|
+
color: color.value,
|
|
435
|
+
variant: props.variant,
|
|
436
|
+
size: selectSize?.value,
|
|
437
|
+
loading: props.loading,
|
|
438
|
+
highlight: highlight.value,
|
|
439
|
+
leading: isLeading.value || !!props.avatar || !!slots.leading,
|
|
440
|
+
trailing: isTrailing.value || !!slots.trailing,
|
|
441
|
+
fieldGroup: orientation.value,
|
|
442
|
+
virtualize: !!props.virtualize
|
|
443
|
+
}));
|
|
447
444
|
function displayValue(value) {
|
|
448
445
|
if (props.multiple && Array.isArray(value)) {
|
|
449
446
|
const displayedValues = value.map((item) => getDisplayValue(items.value, item, {
|
|
@@ -458,10 +455,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
458
455
|
});
|
|
459
456
|
}
|
|
460
457
|
const groups = computed(
|
|
461
|
-
() =>
|
|
462
|
-
var _a;
|
|
463
|
-
return ((_a = props.items) == null ? void 0 : _a.length) ? isArrayOfArray(props.items) ? props.items : [props.items] : [];
|
|
464
|
-
}
|
|
458
|
+
() => props.items?.length ? isArrayOfArray(props.items) ? props.items : [props.items] : []
|
|
465
459
|
);
|
|
466
460
|
const items = computed(() => groups.value.flatMap((group) => group));
|
|
467
461
|
const filteredGroups = computed(() => {
|
|
@@ -501,21 +495,20 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
501
495
|
const createItemPosition = computed(() => typeof props.createItem === "object" ? props.createItem.position : "bottom");
|
|
502
496
|
const triggerRef = useTemplateRef("triggerRef");
|
|
503
497
|
function onUpdate(value) {
|
|
504
|
-
var _a, _b, _c, _d, _e;
|
|
505
498
|
if (toRaw(props.modelValue) === value) {
|
|
506
499
|
return;
|
|
507
500
|
}
|
|
508
|
-
if (
|
|
509
|
-
value =
|
|
501
|
+
if (props.modelModifiers?.trim) {
|
|
502
|
+
value = value?.trim() ?? null;
|
|
510
503
|
}
|
|
511
|
-
if (
|
|
504
|
+
if (props.modelModifiers?.number) {
|
|
512
505
|
value = looseToNumber(value);
|
|
513
506
|
}
|
|
514
|
-
if (
|
|
515
|
-
value
|
|
507
|
+
if (props.modelModifiers?.nullable) {
|
|
508
|
+
value ??= null;
|
|
516
509
|
}
|
|
517
|
-
if (
|
|
518
|
-
value
|
|
510
|
+
if (props.modelModifiers?.optional) {
|
|
511
|
+
value ??= void 0;
|
|
519
512
|
}
|
|
520
513
|
const event = new Event("change", { target: { value } });
|
|
521
514
|
emits("change", event);
|
|
@@ -550,7 +543,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
550
543
|
emits("create", searchTerm.value);
|
|
551
544
|
}
|
|
552
545
|
function onSelect(e, item) {
|
|
553
|
-
var _a;
|
|
554
546
|
if (!isSelectItem(item)) {
|
|
555
547
|
return;
|
|
556
548
|
}
|
|
@@ -558,33 +550,28 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
558
550
|
e.preventDefault();
|
|
559
551
|
return;
|
|
560
552
|
}
|
|
561
|
-
|
|
553
|
+
item.onSelect?.(e);
|
|
562
554
|
}
|
|
563
555
|
function isSelectItem(item) {
|
|
564
556
|
return typeof item === "object" && item !== null;
|
|
565
557
|
}
|
|
566
558
|
__expose({
|
|
567
|
-
triggerRef: toRef(() =>
|
|
568
|
-
var _a;
|
|
569
|
-
return (_a = triggerRef.value) == null ? void 0 : _a.$el;
|
|
570
|
-
})
|
|
559
|
+
triggerRef: toRef(() => triggerRef.value?.$el)
|
|
571
560
|
});
|
|
572
561
|
return (_ctx, _push, _parent, _attrs) => {
|
|
573
562
|
_push(`<!--[-->`);
|
|
574
563
|
_push(ssrRenderComponent(unref(DefineCreateItemTemplate), null, {
|
|
575
564
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
576
|
-
var _a, _b;
|
|
577
565
|
if (_push2) {
|
|
578
566
|
_push2(ssrRenderComponent(unref(ComboboxItem), {
|
|
579
567
|
"data-slot": "item",
|
|
580
|
-
class: ui.value.item({ class:
|
|
568
|
+
class: ui.value.item({ class: props.ui?.item }),
|
|
581
569
|
value: searchTerm.value,
|
|
582
570
|
onSelect: onCreate
|
|
583
571
|
}, {
|
|
584
572
|
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
585
|
-
var _a2, _b2;
|
|
586
573
|
if (_push3) {
|
|
587
|
-
_push3(`<span data-slot="itemLabel" class="${ssrRenderClass(ui.value.itemLabel({ class:
|
|
574
|
+
_push3(`<span data-slot="itemLabel" class="${ssrRenderClass(ui.value.itemLabel({ class: props.ui?.itemLabel }))}"${_scopeId2}>`);
|
|
588
575
|
ssrRenderSlot(_ctx.$slots, "create-item-label", { item: searchTerm.value }, () => {
|
|
589
576
|
_push3(`${ssrInterpolate(unref(t)("selectMenu.create", { label: searchTerm.value }))}`);
|
|
590
577
|
}, _push3, _parent3, _scopeId2);
|
|
@@ -593,7 +580,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
593
580
|
return [
|
|
594
581
|
createVNode("span", {
|
|
595
582
|
"data-slot": "itemLabel",
|
|
596
|
-
class: ui.value.itemLabel({ class:
|
|
583
|
+
class: ui.value.itemLabel({ class: props.ui?.itemLabel })
|
|
597
584
|
}, [
|
|
598
585
|
renderSlot(_ctx.$slots, "create-item-label", { item: searchTerm.value }, () => [
|
|
599
586
|
createTextVNode(toDisplayString(unref(t)("selectMenu.create", { label: searchTerm.value })), 1)
|
|
@@ -608,23 +595,20 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
608
595
|
return [
|
|
609
596
|
createVNode(unref(ComboboxItem), {
|
|
610
597
|
"data-slot": "item",
|
|
611
|
-
class: ui.value.item({ class:
|
|
598
|
+
class: ui.value.item({ class: props.ui?.item }),
|
|
612
599
|
value: searchTerm.value,
|
|
613
600
|
onSelect: onCreate
|
|
614
601
|
}, {
|
|
615
|
-
default: withCtx(() =>
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
], 2)
|
|
626
|
-
];
|
|
627
|
-
}),
|
|
602
|
+
default: withCtx(() => [
|
|
603
|
+
createVNode("span", {
|
|
604
|
+
"data-slot": "itemLabel",
|
|
605
|
+
class: ui.value.itemLabel({ class: props.ui?.itemLabel })
|
|
606
|
+
}, [
|
|
607
|
+
renderSlot(_ctx.$slots, "create-item-label", { item: searchTerm.value }, () => [
|
|
608
|
+
createTextVNode(toDisplayString(unref(t)("selectMenu.create", { label: searchTerm.value })), 1)
|
|
609
|
+
])
|
|
610
|
+
], 2)
|
|
611
|
+
]),
|
|
628
612
|
_: 3
|
|
629
613
|
}, 8, ["class", "value"])
|
|
630
614
|
];
|
|
@@ -634,12 +618,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
634
618
|
}, _parent));
|
|
635
619
|
_push(ssrRenderComponent(unref(DefineItemTemplate), null, {
|
|
636
620
|
default: withCtx(({ item, index }, _push2, _parent2, _scopeId) => {
|
|
637
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
638
621
|
if (_push2) {
|
|
639
622
|
if (isSelectItem(item) && item.type === "label") {
|
|
640
623
|
_push2(ssrRenderComponent(unref(ComboboxLabel), {
|
|
641
624
|
"data-slot": "label",
|
|
642
|
-
class: ui.value.label({ class: [
|
|
625
|
+
class: ui.value.label({ class: [props.ui?.label, item.ui?.label, item.class] })
|
|
643
626
|
}, {
|
|
644
627
|
default: withCtx((_, _push3, _parent3, _scopeId2) => {
|
|
645
628
|
if (_push3) {
|
|
@@ -655,12 +638,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
655
638
|
} else if (isSelectItem(item) && item.type === "separator") {
|
|
656
639
|
_push2(ssrRenderComponent(unref(ComboboxSeparator), {
|
|
657
640
|
"data-slot": "separator",
|
|
658
|
-
class: ui.value.separator({ class: [
|
|
641
|
+
class: ui.value.separator({ class: [props.ui?.separator, item.ui?.separator, item.class] })
|
|
659
642
|
}, null, _parent2, _scopeId));
|
|
660
643
|
} else {
|
|
661
644
|
_push2(ssrRenderComponent(unref(ComboboxItem), {
|
|
662
645
|
"data-slot": "item",
|
|
663
|
-
class: ui.value.item({ class: [
|
|
646
|
+
class: ui.value.item({ class: [props.ui?.item, isSelectItem(item) && item.ui?.item, isSelectItem(item) && item.class] }),
|
|
664
647
|
disabled: isSelectItem(item) && item.disabled,
|
|
665
648
|
value: props.valueKey && isSelectItem(item) ? unref(get)(item, props.valueKey) : item,
|
|
666
649
|
onSelect: ($event) => onSelect($event, item)
|
|
@@ -672,40 +655,38 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
672
655
|
index,
|
|
673
656
|
ui: ui.value
|
|
674
657
|
}, () => {
|
|
675
|
-
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2;
|
|
676
658
|
ssrRenderSlot(_ctx.$slots, "item-leading", {
|
|
677
659
|
item,
|
|
678
660
|
index,
|
|
679
661
|
ui: ui.value
|
|
680
662
|
}, () => {
|
|
681
|
-
var _a3, _b3, _c3, _d3, _e3, _f3, _g3, _h3, _i2;
|
|
682
663
|
if (isSelectItem(item) && item.icon) {
|
|
683
664
|
_push3(ssrRenderComponent(_sfc_main$d, {
|
|
684
665
|
name: item.icon,
|
|
685
666
|
"data-slot": "itemLeadingIcon",
|
|
686
|
-
class: ui.value.itemLeadingIcon({ class: [
|
|
667
|
+
class: ui.value.itemLeadingIcon({ class: [props.ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
687
668
|
}, null, _parent3, _scopeId2));
|
|
688
669
|
} else if (isSelectItem(item) && item.avatar) {
|
|
689
670
|
_push3(ssrRenderComponent(_sfc_main$b, mergeProps({
|
|
690
|
-
size:
|
|
671
|
+
size: item.ui?.itemLeadingAvatarSize || props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
691
672
|
}, item.avatar, {
|
|
692
673
|
"data-slot": "itemLeadingAvatar",
|
|
693
|
-
class: ui.value.itemLeadingAvatar({ class: [
|
|
674
|
+
class: ui.value.itemLeadingAvatar({ class: [props.ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
694
675
|
}), null, _parent3, _scopeId2));
|
|
695
676
|
} else if (isSelectItem(item) && item.chip) {
|
|
696
677
|
_push3(ssrRenderComponent(_sfc_main$c, mergeProps({
|
|
697
|
-
size:
|
|
678
|
+
size: props.ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
698
679
|
inset: "",
|
|
699
680
|
standalone: ""
|
|
700
681
|
}, item.chip, {
|
|
701
682
|
"data-slot": "itemLeadingChip",
|
|
702
|
-
class: ui.value.itemLeadingChip({ class: [
|
|
683
|
+
class: ui.value.itemLeadingChip({ class: [props.ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
703
684
|
}), null, _parent3, _scopeId2));
|
|
704
685
|
} else {
|
|
705
686
|
_push3(`<!---->`);
|
|
706
687
|
}
|
|
707
688
|
}, _push3, _parent3, _scopeId2);
|
|
708
|
-
_push3(`<span data-slot="itemWrapper" class="${ssrRenderClass(ui.value.itemWrapper({ class: [
|
|
689
|
+
_push3(`<span data-slot="itemWrapper" class="${ssrRenderClass(ui.value.itemWrapper({ class: [props.ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] }))}"${_scopeId2}><span data-slot="itemLabel" class="${ssrRenderClass(ui.value.itemLabel({ class: [props.ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] }))}"${_scopeId2}>`);
|
|
709
690
|
ssrRenderSlot(_ctx.$slots, "item-label", {
|
|
710
691
|
item,
|
|
711
692
|
index
|
|
@@ -714,7 +695,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
714
695
|
}, _push3, _parent3, _scopeId2);
|
|
715
696
|
_push3(`</span>`);
|
|
716
697
|
if (isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"])) {
|
|
717
|
-
_push3(`<span data-slot="itemDescription" class="${ssrRenderClass(ui.value.itemDescription({ class: [
|
|
698
|
+
_push3(`<span data-slot="itemDescription" class="${ssrRenderClass(ui.value.itemDescription({ class: [props.ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] }))}"${_scopeId2}>`);
|
|
718
699
|
ssrRenderSlot(_ctx.$slots, "item-description", {
|
|
719
700
|
item,
|
|
720
701
|
index
|
|
@@ -725,7 +706,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
725
706
|
} else {
|
|
726
707
|
_push3(`<!---->`);
|
|
727
708
|
}
|
|
728
|
-
_push3(`</span><span data-slot="itemTrailing" class="${ssrRenderClass(ui.value.itemTrailing({ class: [
|
|
709
|
+
_push3(`</span><span data-slot="itemTrailing" class="${ssrRenderClass(ui.value.itemTrailing({ class: [props.ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] }))}"${_scopeId2}>`);
|
|
729
710
|
ssrRenderSlot(_ctx.$slots, "item-trailing", {
|
|
730
711
|
item,
|
|
731
712
|
index,
|
|
@@ -733,19 +714,18 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
733
714
|
}, null, _push3, _parent3, _scopeId2);
|
|
734
715
|
_push3(ssrRenderComponent(unref(ComboboxItemIndicator), { "as-child": "" }, {
|
|
735
716
|
default: withCtx((_2, _push4, _parent4, _scopeId3) => {
|
|
736
|
-
var _a3, _b3, _c3, _d3;
|
|
737
717
|
if (_push4) {
|
|
738
718
|
_push4(ssrRenderComponent(_sfc_main$d, {
|
|
739
719
|
name: __props.selectedIcon || unref(appConfig).ui.icons.check,
|
|
740
720
|
"data-slot": "itemTrailingIcon",
|
|
741
|
-
class: ui.value.itemTrailingIcon({ class: [
|
|
721
|
+
class: ui.value.itemTrailingIcon({ class: [props.ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
742
722
|
}, null, _parent4, _scopeId3));
|
|
743
723
|
} else {
|
|
744
724
|
return [
|
|
745
725
|
createVNode(_sfc_main$d, {
|
|
746
726
|
name: __props.selectedIcon || unref(appConfig).ui.icons.check,
|
|
747
727
|
"data-slot": "itemTrailingIcon",
|
|
748
|
-
class: ui.value.itemTrailingIcon({ class: [
|
|
728
|
+
class: ui.value.itemTrailingIcon({ class: [props.ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
749
729
|
}, null, 8, ["name", "class"])
|
|
750
730
|
];
|
|
751
731
|
}
|
|
@@ -760,91 +740,82 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
760
740
|
item,
|
|
761
741
|
index,
|
|
762
742
|
ui: ui.value
|
|
763
|
-
}, () =>
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
}),
|
|
743
|
+
}, () => [
|
|
744
|
+
renderSlot(_ctx.$slots, "item-leading", {
|
|
745
|
+
item,
|
|
746
|
+
index,
|
|
747
|
+
ui: ui.value
|
|
748
|
+
}, () => [
|
|
749
|
+
isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$d, {
|
|
750
|
+
key: 0,
|
|
751
|
+
name: item.icon,
|
|
752
|
+
"data-slot": "itemLeadingIcon",
|
|
753
|
+
class: ui.value.itemLeadingIcon({ class: [props.ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
754
|
+
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
755
|
+
key: 1,
|
|
756
|
+
size: item.ui?.itemLeadingAvatarSize || props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
757
|
+
}, item.avatar, {
|
|
758
|
+
"data-slot": "itemLeadingAvatar",
|
|
759
|
+
class: ui.value.itemLeadingAvatar({ class: [props.ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
760
|
+
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
|
|
761
|
+
key: 2,
|
|
762
|
+
size: props.ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
763
|
+
inset: "",
|
|
764
|
+
standalone: ""
|
|
765
|
+
}, item.chip, {
|
|
766
|
+
"data-slot": "itemLeadingChip",
|
|
767
|
+
class: ui.value.itemLeadingChip({ class: [props.ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
768
|
+
}), null, 16, ["size", "class"])) : createCommentVNode("", true)
|
|
769
|
+
]),
|
|
770
|
+
createVNode("span", {
|
|
771
|
+
"data-slot": "itemWrapper",
|
|
772
|
+
class: ui.value.itemWrapper({ class: [props.ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
773
|
+
}, [
|
|
795
774
|
createVNode("span", {
|
|
796
|
-
"data-slot": "
|
|
797
|
-
class: ui.value.
|
|
775
|
+
"data-slot": "itemLabel",
|
|
776
|
+
class: ui.value.itemLabel({ class: [props.ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
798
777
|
}, [
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
}, [
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
index
|
|
806
|
-
}, () => [
|
|
807
|
-
createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
|
|
808
|
-
])
|
|
809
|
-
], 2),
|
|
810
|
-
isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
|
|
811
|
-
key: 0,
|
|
812
|
-
"data-slot": "itemDescription",
|
|
813
|
-
class: ui.value.itemDescription({ class: [(_e2 = props.ui) == null ? void 0 : _e2.itemDescription, isSelectItem(item) && ((_f2 = item.ui) == null ? void 0 : _f2.itemDescription)] })
|
|
814
|
-
}, [
|
|
815
|
-
renderSlot(_ctx.$slots, "item-description", {
|
|
816
|
-
item,
|
|
817
|
-
index
|
|
818
|
-
}, () => [
|
|
819
|
-
createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
|
|
820
|
-
])
|
|
821
|
-
], 2)) : createCommentVNode("", true)
|
|
778
|
+
renderSlot(_ctx.$slots, "item-label", {
|
|
779
|
+
item,
|
|
780
|
+
index
|
|
781
|
+
}, () => [
|
|
782
|
+
createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
|
|
783
|
+
])
|
|
822
784
|
], 2),
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
785
|
+
isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
|
|
786
|
+
key: 0,
|
|
787
|
+
"data-slot": "itemDescription",
|
|
788
|
+
class: ui.value.itemDescription({ class: [props.ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
826
789
|
}, [
|
|
827
|
-
renderSlot(_ctx.$slots, "item-
|
|
790
|
+
renderSlot(_ctx.$slots, "item-description", {
|
|
828
791
|
item,
|
|
829
|
-
index
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
792
|
+
index
|
|
793
|
+
}, () => [
|
|
794
|
+
createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
|
|
795
|
+
])
|
|
796
|
+
], 2)) : createCommentVNode("", true)
|
|
797
|
+
], 2),
|
|
798
|
+
createVNode("span", {
|
|
799
|
+
"data-slot": "itemTrailing",
|
|
800
|
+
class: ui.value.itemTrailing({ class: [props.ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
801
|
+
}, [
|
|
802
|
+
renderSlot(_ctx.$slots, "item-trailing", {
|
|
803
|
+
item,
|
|
804
|
+
index,
|
|
805
|
+
ui: ui.value
|
|
806
|
+
}),
|
|
807
|
+
createVNode(unref(ComboboxItemIndicator), { "as-child": "" }, {
|
|
808
|
+
default: withCtx(() => [
|
|
809
|
+
createVNode(_sfc_main$d, {
|
|
810
|
+
name: __props.selectedIcon || unref(appConfig).ui.icons.check,
|
|
811
|
+
"data-slot": "itemTrailingIcon",
|
|
812
|
+
class: ui.value.itemTrailingIcon({ class: [props.ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
813
|
+
}, null, 8, ["name", "class"])
|
|
814
|
+
]),
|
|
815
|
+
_: 2
|
|
816
|
+
}, 1024)
|
|
817
|
+
], 2)
|
|
818
|
+
])
|
|
848
819
|
];
|
|
849
820
|
}
|
|
850
821
|
}),
|
|
@@ -856,7 +827,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
856
827
|
isSelectItem(item) && item.type === "label" ? (openBlock(), createBlock(unref(ComboboxLabel), {
|
|
857
828
|
key: 0,
|
|
858
829
|
"data-slot": "label",
|
|
859
|
-
class: ui.value.label({ class: [
|
|
830
|
+
class: ui.value.label({ class: [props.ui?.label, item.ui?.label, item.class] })
|
|
860
831
|
}, {
|
|
861
832
|
default: withCtx(() => [
|
|
862
833
|
createTextVNode(toDisplayString(unref(get)(item, props.labelKey)), 1)
|
|
@@ -865,11 +836,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
865
836
|
}, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (openBlock(), createBlock(unref(ComboboxSeparator), {
|
|
866
837
|
key: 1,
|
|
867
838
|
"data-slot": "separator",
|
|
868
|
-
class: ui.value.separator({ class: [
|
|
839
|
+
class: ui.value.separator({ class: [props.ui?.separator, item.ui?.separator, item.class] })
|
|
869
840
|
}, null, 8, ["class"])) : (openBlock(), createBlock(unref(ComboboxItem), {
|
|
870
841
|
key: 2,
|
|
871
842
|
"data-slot": "item",
|
|
872
|
-
class: ui.value.item({ class: [
|
|
843
|
+
class: ui.value.item({ class: [props.ui?.item, isSelectItem(item) && item.ui?.item, isSelectItem(item) && item.class] }),
|
|
873
844
|
disabled: isSelectItem(item) && item.disabled,
|
|
874
845
|
value: props.valueKey && isSelectItem(item) ? unref(get)(item, props.valueKey) : item,
|
|
875
846
|
onSelect: ($event) => onSelect($event, item)
|
|
@@ -879,91 +850,82 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
879
850
|
item,
|
|
880
851
|
index,
|
|
881
852
|
ui: ui.value
|
|
882
|
-
}, () =>
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
}),
|
|
853
|
+
}, () => [
|
|
854
|
+
renderSlot(_ctx.$slots, "item-leading", {
|
|
855
|
+
item,
|
|
856
|
+
index,
|
|
857
|
+
ui: ui.value
|
|
858
|
+
}, () => [
|
|
859
|
+
isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$d, {
|
|
860
|
+
key: 0,
|
|
861
|
+
name: item.icon,
|
|
862
|
+
"data-slot": "itemLeadingIcon",
|
|
863
|
+
class: ui.value.itemLeadingIcon({ class: [props.ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
864
|
+
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
865
|
+
key: 1,
|
|
866
|
+
size: item.ui?.itemLeadingAvatarSize || props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
867
|
+
}, item.avatar, {
|
|
868
|
+
"data-slot": "itemLeadingAvatar",
|
|
869
|
+
class: ui.value.itemLeadingAvatar({ class: [props.ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
870
|
+
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
|
|
871
|
+
key: 2,
|
|
872
|
+
size: props.ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
873
|
+
inset: "",
|
|
874
|
+
standalone: ""
|
|
875
|
+
}, item.chip, {
|
|
876
|
+
"data-slot": "itemLeadingChip",
|
|
877
|
+
class: ui.value.itemLeadingChip({ class: [props.ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
878
|
+
}), null, 16, ["size", "class"])) : createCommentVNode("", true)
|
|
879
|
+
]),
|
|
880
|
+
createVNode("span", {
|
|
881
|
+
"data-slot": "itemWrapper",
|
|
882
|
+
class: ui.value.itemWrapper({ class: [props.ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
883
|
+
}, [
|
|
914
884
|
createVNode("span", {
|
|
915
|
-
"data-slot": "
|
|
916
|
-
class: ui.value.
|
|
885
|
+
"data-slot": "itemLabel",
|
|
886
|
+
class: ui.value.itemLabel({ class: [props.ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
917
887
|
}, [
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
}, [
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
index
|
|
925
|
-
}, () => [
|
|
926
|
-
createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
|
|
927
|
-
])
|
|
928
|
-
], 2),
|
|
929
|
-
isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
|
|
930
|
-
key: 0,
|
|
931
|
-
"data-slot": "itemDescription",
|
|
932
|
-
class: ui.value.itemDescription({ class: [(_e2 = props.ui) == null ? void 0 : _e2.itemDescription, isSelectItem(item) && ((_f2 = item.ui) == null ? void 0 : _f2.itemDescription)] })
|
|
933
|
-
}, [
|
|
934
|
-
renderSlot(_ctx.$slots, "item-description", {
|
|
935
|
-
item,
|
|
936
|
-
index
|
|
937
|
-
}, () => [
|
|
938
|
-
createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
|
|
939
|
-
])
|
|
940
|
-
], 2)) : createCommentVNode("", true)
|
|
888
|
+
renderSlot(_ctx.$slots, "item-label", {
|
|
889
|
+
item,
|
|
890
|
+
index
|
|
891
|
+
}, () => [
|
|
892
|
+
createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
|
|
893
|
+
])
|
|
941
894
|
], 2),
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
895
|
+
isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
|
|
896
|
+
key: 0,
|
|
897
|
+
"data-slot": "itemDescription",
|
|
898
|
+
class: ui.value.itemDescription({ class: [props.ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
945
899
|
}, [
|
|
946
|
-
renderSlot(_ctx.$slots, "item-
|
|
900
|
+
renderSlot(_ctx.$slots, "item-description", {
|
|
947
901
|
item,
|
|
948
|
-
index
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
902
|
+
index
|
|
903
|
+
}, () => [
|
|
904
|
+
createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
|
|
905
|
+
])
|
|
906
|
+
], 2)) : createCommentVNode("", true)
|
|
907
|
+
], 2),
|
|
908
|
+
createVNode("span", {
|
|
909
|
+
"data-slot": "itemTrailing",
|
|
910
|
+
class: ui.value.itemTrailing({ class: [props.ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
911
|
+
}, [
|
|
912
|
+
renderSlot(_ctx.$slots, "item-trailing", {
|
|
913
|
+
item,
|
|
914
|
+
index,
|
|
915
|
+
ui: ui.value
|
|
916
|
+
}),
|
|
917
|
+
createVNode(unref(ComboboxItemIndicator), { "as-child": "" }, {
|
|
918
|
+
default: withCtx(() => [
|
|
919
|
+
createVNode(_sfc_main$d, {
|
|
920
|
+
name: __props.selectedIcon || unref(appConfig).ui.icons.check,
|
|
921
|
+
"data-slot": "itemTrailingIcon",
|
|
922
|
+
class: ui.value.itemTrailingIcon({ class: [props.ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
923
|
+
}, null, 8, ["name", "class"])
|
|
924
|
+
]),
|
|
925
|
+
_: 2
|
|
926
|
+
}, 1024)
|
|
927
|
+
], 2)
|
|
928
|
+
])
|
|
967
929
|
]),
|
|
968
930
|
_: 2
|
|
969
931
|
}, 1032, ["class", "disabled", "value", "onSelect"]))
|
|
@@ -984,38 +946,35 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
984
946
|
if (_push2) {
|
|
985
947
|
_push2(ssrRenderComponent(unref(ComboboxAnchor), { "as-child": "" }, {
|
|
986
948
|
default: withCtx((_, _push3, _parent3, _scopeId2) => {
|
|
987
|
-
var _a, _b;
|
|
988
949
|
if (_push3) {
|
|
989
950
|
_push3(ssrRenderComponent(unref(ComboboxTrigger), {
|
|
990
951
|
ref_key: "triggerRef",
|
|
991
952
|
ref: triggerRef,
|
|
992
953
|
"data-slot": "base",
|
|
993
|
-
class: ui.value.base({ class: [
|
|
954
|
+
class: ui.value.base({ class: [props.ui?.base, props.class] }),
|
|
994
955
|
tabindex: "0"
|
|
995
956
|
}, {
|
|
996
957
|
default: withCtx((_2, _push4, _parent4, _scopeId3) => {
|
|
997
|
-
var _a2, _b2, _c, _d;
|
|
998
958
|
if (_push4) {
|
|
999
959
|
if (unref(isLeading) || !!__props.avatar || !!slots.leading) {
|
|
1000
|
-
_push4(`<span data-slot="leading" class="${ssrRenderClass(ui.value.leading({ class:
|
|
960
|
+
_push4(`<span data-slot="leading" class="${ssrRenderClass(ui.value.leading({ class: props.ui?.leading }))}"${_scopeId3}>`);
|
|
1001
961
|
ssrRenderSlot(_ctx.$slots, "leading", {
|
|
1002
962
|
modelValue,
|
|
1003
963
|
open,
|
|
1004
964
|
ui: ui.value
|
|
1005
965
|
}, () => {
|
|
1006
|
-
var _a3, _b3, _c2;
|
|
1007
966
|
if (unref(isLeading) && unref(leadingIconName)) {
|
|
1008
967
|
_push4(ssrRenderComponent(_sfc_main$d, {
|
|
1009
968
|
name: unref(leadingIconName),
|
|
1010
969
|
"data-slot": "leadingIcon",
|
|
1011
|
-
class: ui.value.leadingIcon({ class:
|
|
970
|
+
class: ui.value.leadingIcon({ class: props.ui?.leadingIcon })
|
|
1012
971
|
}, null, _parent4, _scopeId3));
|
|
1013
972
|
} else if (!!__props.avatar) {
|
|
1014
973
|
_push4(ssrRenderComponent(_sfc_main$b, mergeProps({
|
|
1015
|
-
size:
|
|
974
|
+
size: props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
1016
975
|
}, __props.avatar, {
|
|
1017
976
|
"data-slot": "itemLeadingAvatar",
|
|
1018
|
-
class: ui.value.itemLeadingAvatar({ class:
|
|
977
|
+
class: ui.value.itemLeadingAvatar({ class: props.ui?.itemLeadingAvatar })
|
|
1019
978
|
}), null, _parent4, _scopeId3));
|
|
1020
979
|
} else {
|
|
1021
980
|
_push4(`<!---->`);
|
|
@@ -1032,30 +991,28 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1032
991
|
}, () => {
|
|
1033
992
|
_push4(`<!--[-->`);
|
|
1034
993
|
ssrRenderList([displayValue(modelValue)], (displayedModelValue) => {
|
|
1035
|
-
var _a3, _b3, _c2;
|
|
1036
994
|
_push4(`<!--[-->`);
|
|
1037
995
|
if (displayedModelValue !== void 0 && displayedModelValue !== null) {
|
|
1038
|
-
_push4(`<span data-slot="value" class="${ssrRenderClass(ui.value.value({ class:
|
|
996
|
+
_push4(`<span data-slot="value" class="${ssrRenderClass(ui.value.value({ class: props.ui?.value }))}"${_scopeId3}>${ssrInterpolate(displayedModelValue)}</span>`);
|
|
1039
997
|
} else {
|
|
1040
|
-
_push4(`<span data-slot="placeholder" class="${ssrRenderClass(ui.value.placeholder({ class:
|
|
998
|
+
_push4(`<span data-slot="placeholder" class="${ssrRenderClass(ui.value.placeholder({ class: props.ui?.placeholder }))}"${_scopeId3}>${ssrInterpolate(__props.placeholder ?? " ")}</span>`);
|
|
1041
999
|
}
|
|
1042
1000
|
_push4(`<!--]-->`);
|
|
1043
1001
|
});
|
|
1044
1002
|
_push4(`<!--]-->`);
|
|
1045
1003
|
}, _push4, _parent4, _scopeId3);
|
|
1046
1004
|
if (unref(isTrailing) || !!slots.trailing) {
|
|
1047
|
-
_push4(`<span data-slot="trailing" class="${ssrRenderClass(ui.value.trailing({ class:
|
|
1005
|
+
_push4(`<span data-slot="trailing" class="${ssrRenderClass(ui.value.trailing({ class: props.ui?.trailing }))}"${_scopeId3}>`);
|
|
1048
1006
|
ssrRenderSlot(_ctx.$slots, "trailing", {
|
|
1049
1007
|
modelValue,
|
|
1050
1008
|
open,
|
|
1051
1009
|
ui: ui.value
|
|
1052
1010
|
}, () => {
|
|
1053
|
-
var _a3;
|
|
1054
1011
|
if (unref(trailingIconName)) {
|
|
1055
1012
|
_push4(ssrRenderComponent(_sfc_main$d, {
|
|
1056
1013
|
name: unref(trailingIconName),
|
|
1057
1014
|
"data-slot": "trailingIcon",
|
|
1058
|
-
class: ui.value.trailingIcon({ class:
|
|
1015
|
+
class: ui.value.trailingIcon({ class: props.ui?.trailingIcon })
|
|
1059
1016
|
}, null, _parent4, _scopeId3));
|
|
1060
1017
|
} else {
|
|
1061
1018
|
_push4(`<!---->`);
|
|
@@ -1070,29 +1027,26 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1070
1027
|
unref(isLeading) || !!__props.avatar || !!slots.leading ? (openBlock(), createBlock("span", {
|
|
1071
1028
|
key: 0,
|
|
1072
1029
|
"data-slot": "leading",
|
|
1073
|
-
class: ui.value.leading({ class:
|
|
1030
|
+
class: ui.value.leading({ class: props.ui?.leading })
|
|
1074
1031
|
}, [
|
|
1075
1032
|
renderSlot(_ctx.$slots, "leading", {
|
|
1076
1033
|
modelValue,
|
|
1077
1034
|
open,
|
|
1078
1035
|
ui: ui.value
|
|
1079
|
-
}, () =>
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)
|
|
1094
|
-
];
|
|
1095
|
-
})
|
|
1036
|
+
}, () => [
|
|
1037
|
+
unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
|
|
1038
|
+
key: 0,
|
|
1039
|
+
name: unref(leadingIconName),
|
|
1040
|
+
"data-slot": "leadingIcon",
|
|
1041
|
+
class: ui.value.leadingIcon({ class: props.ui?.leadingIcon })
|
|
1042
|
+
}, null, 8, ["name", "class"])) : !!__props.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
1043
|
+
key: 1,
|
|
1044
|
+
size: props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
1045
|
+
}, __props.avatar, {
|
|
1046
|
+
"data-slot": "itemLeadingAvatar",
|
|
1047
|
+
class: ui.value.itemLeadingAvatar({ class: props.ui?.itemLeadingAvatar })
|
|
1048
|
+
}), null, 16, ["size", "class"])) : createCommentVNode("", true)
|
|
1049
|
+
])
|
|
1096
1050
|
], 2)) : createCommentVNode("", true),
|
|
1097
1051
|
renderSlot(_ctx.$slots, "default", {
|
|
1098
1052
|
modelValue,
|
|
@@ -1100,40 +1054,36 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1100
1054
|
ui: ui.value
|
|
1101
1055
|
}, () => [
|
|
1102
1056
|
(openBlock(true), createBlock(Fragment, null, renderList([displayValue(modelValue)], (displayedModelValue) => {
|
|
1103
|
-
var _a3, _b3, _c2;
|
|
1104
1057
|
return openBlock(), createBlock(Fragment, { key: displayedModelValue }, [
|
|
1105
1058
|
displayedModelValue !== void 0 && displayedModelValue !== null ? (openBlock(), createBlock("span", {
|
|
1106
1059
|
key: 0,
|
|
1107
1060
|
"data-slot": "value",
|
|
1108
|
-
class: ui.value.value({ class:
|
|
1061
|
+
class: ui.value.value({ class: props.ui?.value })
|
|
1109
1062
|
}, toDisplayString(displayedModelValue), 3)) : (openBlock(), createBlock("span", {
|
|
1110
1063
|
key: 1,
|
|
1111
1064
|
"data-slot": "placeholder",
|
|
1112
|
-
class: ui.value.placeholder({ class:
|
|
1113
|
-
}, toDisplayString(
|
|
1065
|
+
class: ui.value.placeholder({ class: props.ui?.placeholder })
|
|
1066
|
+
}, toDisplayString(__props.placeholder ?? " "), 3))
|
|
1114
1067
|
], 64);
|
|
1115
1068
|
}), 128))
|
|
1116
1069
|
]),
|
|
1117
1070
|
unref(isTrailing) || !!slots.trailing ? (openBlock(), createBlock("span", {
|
|
1118
1071
|
key: 1,
|
|
1119
1072
|
"data-slot": "trailing",
|
|
1120
|
-
class: ui.value.trailing({ class:
|
|
1073
|
+
class: ui.value.trailing({ class: props.ui?.trailing })
|
|
1121
1074
|
}, [
|
|
1122
1075
|
renderSlot(_ctx.$slots, "trailing", {
|
|
1123
1076
|
modelValue,
|
|
1124
1077
|
open,
|
|
1125
1078
|
ui: ui.value
|
|
1126
|
-
}, () =>
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
unref(trailingIconName)
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
}, null, 8, ["name", "class"])) : createCommentVNode("", true)
|
|
1135
|
-
];
|
|
1136
|
-
})
|
|
1079
|
+
}, () => [
|
|
1080
|
+
unref(trailingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
|
|
1081
|
+
key: 0,
|
|
1082
|
+
name: unref(trailingIconName),
|
|
1083
|
+
"data-slot": "trailingIcon",
|
|
1084
|
+
class: ui.value.trailingIcon({ class: props.ui?.trailingIcon })
|
|
1085
|
+
}, null, 8, ["name", "class"])) : createCommentVNode("", true)
|
|
1086
|
+
])
|
|
1137
1087
|
], 2)) : createCommentVNode("", true)
|
|
1138
1088
|
];
|
|
1139
1089
|
}
|
|
@@ -1146,82 +1096,72 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1146
1096
|
ref_key: "triggerRef",
|
|
1147
1097
|
ref: triggerRef,
|
|
1148
1098
|
"data-slot": "base",
|
|
1149
|
-
class: ui.value.base({ class: [
|
|
1099
|
+
class: ui.value.base({ class: [props.ui?.base, props.class] }),
|
|
1150
1100
|
tabindex: "0"
|
|
1151
1101
|
}, {
|
|
1152
|
-
default: withCtx(() =>
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
}, [
|
|
1160
|
-
renderSlot(_ctx.$slots, "leading", {
|
|
1161
|
-
modelValue,
|
|
1162
|
-
open,
|
|
1163
|
-
ui: ui.value
|
|
1164
|
-
}, () => {
|
|
1165
|
-
var _a3, _b3, _c;
|
|
1166
|
-
return [
|
|
1167
|
-
unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
|
|
1168
|
-
key: 0,
|
|
1169
|
-
name: unref(leadingIconName),
|
|
1170
|
-
"data-slot": "leadingIcon",
|
|
1171
|
-
class: ui.value.leadingIcon({ class: (_a3 = props.ui) == null ? void 0 : _a3.leadingIcon })
|
|
1172
|
-
}, null, 8, ["name", "class"])) : !!__props.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
1173
|
-
key: 1,
|
|
1174
|
-
size: ((_b3 = props.ui) == null ? void 0 : _b3.itemLeadingAvatarSize) || ui.value.itemLeadingAvatarSize()
|
|
1175
|
-
}, __props.avatar, {
|
|
1176
|
-
"data-slot": "itemLeadingAvatar",
|
|
1177
|
-
class: ui.value.itemLeadingAvatar({ class: (_c = props.ui) == null ? void 0 : _c.itemLeadingAvatar })
|
|
1178
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)
|
|
1179
|
-
];
|
|
1180
|
-
})
|
|
1181
|
-
], 2)) : createCommentVNode("", true),
|
|
1182
|
-
renderSlot(_ctx.$slots, "default", {
|
|
1102
|
+
default: withCtx(() => [
|
|
1103
|
+
unref(isLeading) || !!__props.avatar || !!slots.leading ? (openBlock(), createBlock("span", {
|
|
1104
|
+
key: 0,
|
|
1105
|
+
"data-slot": "leading",
|
|
1106
|
+
class: ui.value.leading({ class: props.ui?.leading })
|
|
1107
|
+
}, [
|
|
1108
|
+
renderSlot(_ctx.$slots, "leading", {
|
|
1183
1109
|
modelValue,
|
|
1184
1110
|
open,
|
|
1185
1111
|
ui: ui.value
|
|
1186
1112
|
}, () => [
|
|
1187
|
-
(
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1113
|
+
unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
|
|
1114
|
+
key: 0,
|
|
1115
|
+
name: unref(leadingIconName),
|
|
1116
|
+
"data-slot": "leadingIcon",
|
|
1117
|
+
class: ui.value.leadingIcon({ class: props.ui?.leadingIcon })
|
|
1118
|
+
}, null, 8, ["name", "class"])) : !!__props.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
1119
|
+
key: 1,
|
|
1120
|
+
size: props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
1121
|
+
}, __props.avatar, {
|
|
1122
|
+
"data-slot": "itemLeadingAvatar",
|
|
1123
|
+
class: ui.value.itemLeadingAvatar({ class: props.ui?.itemLeadingAvatar })
|
|
1124
|
+
}), null, 16, ["size", "class"])) : createCommentVNode("", true)
|
|
1125
|
+
])
|
|
1126
|
+
], 2)) : createCommentVNode("", true),
|
|
1127
|
+
renderSlot(_ctx.$slots, "default", {
|
|
1128
|
+
modelValue,
|
|
1129
|
+
open,
|
|
1130
|
+
ui: ui.value
|
|
1131
|
+
}, () => [
|
|
1132
|
+
(openBlock(true), createBlock(Fragment, null, renderList([displayValue(modelValue)], (displayedModelValue) => {
|
|
1133
|
+
return openBlock(), createBlock(Fragment, { key: displayedModelValue }, [
|
|
1134
|
+
displayedModelValue !== void 0 && displayedModelValue !== null ? (openBlock(), createBlock("span", {
|
|
1135
|
+
key: 0,
|
|
1136
|
+
"data-slot": "value",
|
|
1137
|
+
class: ui.value.value({ class: props.ui?.value })
|
|
1138
|
+
}, toDisplayString(displayedModelValue), 3)) : (openBlock(), createBlock("span", {
|
|
1139
|
+
key: 1,
|
|
1140
|
+
"data-slot": "placeholder",
|
|
1141
|
+
class: ui.value.placeholder({ class: props.ui?.placeholder })
|
|
1142
|
+
}, toDisplayString(__props.placeholder ?? " "), 3))
|
|
1143
|
+
], 64);
|
|
1144
|
+
}), 128))
|
|
1145
|
+
]),
|
|
1146
|
+
unref(isTrailing) || !!slots.trailing ? (openBlock(), createBlock("span", {
|
|
1147
|
+
key: 1,
|
|
1148
|
+
"data-slot": "trailing",
|
|
1149
|
+
class: ui.value.trailing({ class: props.ui?.trailing })
|
|
1150
|
+
}, [
|
|
1151
|
+
renderSlot(_ctx.$slots, "trailing", {
|
|
1152
|
+
modelValue,
|
|
1153
|
+
open,
|
|
1154
|
+
ui: ui.value
|
|
1155
|
+
}, () => [
|
|
1156
|
+
unref(trailingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
|
|
1157
|
+
key: 0,
|
|
1158
|
+
name: unref(trailingIconName),
|
|
1159
|
+
"data-slot": "trailingIcon",
|
|
1160
|
+
class: ui.value.trailingIcon({ class: props.ui?.trailingIcon })
|
|
1161
|
+
}, null, 8, ["name", "class"])) : createCommentVNode("", true)
|
|
1162
|
+
])
|
|
1163
|
+
], 2)) : createCommentVNode("", true)
|
|
1164
|
+
]),
|
|
1225
1165
|
_: 2
|
|
1226
1166
|
}, 1032, ["class"])
|
|
1227
1167
|
];
|
|
@@ -1231,22 +1171,19 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1231
1171
|
}, _parent2, _scopeId));
|
|
1232
1172
|
_push2(ssrRenderComponent(unref(ComboboxPortal), unref(portalProps), {
|
|
1233
1173
|
default: withCtx((_, _push3, _parent3, _scopeId2) => {
|
|
1234
|
-
var _a, _b;
|
|
1235
1174
|
if (_push3) {
|
|
1236
1175
|
_push3(ssrRenderComponent(unref(ComboboxContent), mergeProps({
|
|
1237
1176
|
"data-slot": "content",
|
|
1238
|
-
class: ui.value.content({ class:
|
|
1177
|
+
class: ui.value.content({ class: props.ui?.content })
|
|
1239
1178
|
}, contentProps.value), {
|
|
1240
1179
|
default: withCtx((_2, _push4, _parent4, _scopeId3) => {
|
|
1241
|
-
var _a2, _b2, _c, _d;
|
|
1242
1180
|
if (_push4) {
|
|
1243
1181
|
_push4(ssrRenderComponent(unref(FocusScope), {
|
|
1244
1182
|
trapped: "",
|
|
1245
1183
|
"data-slot": "focusScope",
|
|
1246
|
-
class: ui.value.focusScope({ class:
|
|
1184
|
+
class: ui.value.focusScope({ class: props.ui?.focusScope })
|
|
1247
1185
|
}, {
|
|
1248
1186
|
default: withCtx((_3, _push5, _parent5, _scopeId4) => {
|
|
1249
|
-
var _a3, _b3, _c2, _d2, _e, _f, _g, _h;
|
|
1250
1187
|
if (_push5) {
|
|
1251
1188
|
ssrRenderSlot(_ctx.$slots, "content-top", {}, null, _push5, _parent5, _scopeId4);
|
|
1252
1189
|
if (!!__props.searchInput) {
|
|
@@ -1257,7 +1194,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1257
1194
|
"as-child": ""
|
|
1258
1195
|
}, {
|
|
1259
1196
|
default: withCtx((_4, _push6, _parent6, _scopeId5) => {
|
|
1260
|
-
var _a4, _b4;
|
|
1261
1197
|
if (_push6) {
|
|
1262
1198
|
_push6(ssrRenderComponent(_sfc_main$1, mergeProps({
|
|
1263
1199
|
autofocus: "",
|
|
@@ -1265,7 +1201,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1265
1201
|
size: __props.size
|
|
1266
1202
|
}, searchInputProps.value, {
|
|
1267
1203
|
"data-slot": "input",
|
|
1268
|
-
class: ui.value.input({ class:
|
|
1204
|
+
class: ui.value.input({ class: props.ui?.input }),
|
|
1269
1205
|
onChange: () => {
|
|
1270
1206
|
}
|
|
1271
1207
|
}), null, _parent6, _scopeId5));
|
|
@@ -1277,7 +1213,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1277
1213
|
size: __props.size
|
|
1278
1214
|
}, searchInputProps.value, {
|
|
1279
1215
|
"data-slot": "input",
|
|
1280
|
-
class: ui.value.input({ class:
|
|
1216
|
+
class: ui.value.input({ class: props.ui?.input }),
|
|
1281
1217
|
onChange: withModifiers(() => {
|
|
1282
1218
|
}, ["stop"])
|
|
1283
1219
|
}), null, 16, ["size", "class", "onChange"])
|
|
@@ -1291,7 +1227,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1291
1227
|
}
|
|
1292
1228
|
_push5(ssrRenderComponent(unref(ComboboxEmpty), {
|
|
1293
1229
|
"data-slot": "empty",
|
|
1294
|
-
class: ui.value.empty({ class:
|
|
1230
|
+
class: ui.value.empty({ class: props.ui?.empty })
|
|
1295
1231
|
}, {
|
|
1296
1232
|
default: withCtx((_4, _push6, _parent6, _scopeId5) => {
|
|
1297
1233
|
if (_push6) {
|
|
@@ -1308,7 +1244,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1308
1244
|
}),
|
|
1309
1245
|
_: 2
|
|
1310
1246
|
}, _parent5, _scopeId4));
|
|
1311
|
-
_push5(`<div role="presentation" data-slot="viewport" class="${ssrRenderClass(ui.value.viewport({ class:
|
|
1247
|
+
_push5(`<div role="presentation" data-slot="viewport" class="${ssrRenderClass(ui.value.viewport({ class: props.ui?.viewport }))}"${_scopeId4}>`);
|
|
1312
1248
|
if (!!__props.virtualize) {
|
|
1313
1249
|
_push5(`<!--[-->`);
|
|
1314
1250
|
if (createItem.value && createItemPosition.value === "top") {
|
|
@@ -1348,7 +1284,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1348
1284
|
if (createItem.value && createItemPosition.value === "top") {
|
|
1349
1285
|
_push5(ssrRenderComponent(unref(ComboboxGroup), {
|
|
1350
1286
|
"data-slot": "group",
|
|
1351
|
-
class: ui.value.group({ class:
|
|
1287
|
+
class: ui.value.group({ class: props.ui?.group })
|
|
1352
1288
|
}, {
|
|
1353
1289
|
default: withCtx((_4, _push6, _parent6, _scopeId5) => {
|
|
1354
1290
|
if (_push6) {
|
|
@@ -1366,11 +1302,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1366
1302
|
}
|
|
1367
1303
|
_push5(`<!--[-->`);
|
|
1368
1304
|
ssrRenderList(filteredGroups.value, (group, groupIndex) => {
|
|
1369
|
-
var _a4;
|
|
1370
1305
|
_push5(ssrRenderComponent(unref(ComboboxGroup), {
|
|
1371
1306
|
key: `group-${groupIndex}`,
|
|
1372
1307
|
"data-slot": "group",
|
|
1373
|
-
class: ui.value.group({ class:
|
|
1308
|
+
class: ui.value.group({ class: props.ui?.group })
|
|
1374
1309
|
}, {
|
|
1375
1310
|
default: withCtx((_4, _push6, _parent6, _scopeId5) => {
|
|
1376
1311
|
if (_push6) {
|
|
@@ -1402,7 +1337,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1402
1337
|
if (createItem.value && createItemPosition.value === "bottom") {
|
|
1403
1338
|
_push5(ssrRenderComponent(unref(ComboboxGroup), {
|
|
1404
1339
|
"data-slot": "group",
|
|
1405
|
-
class: ui.value.group({ class:
|
|
1340
|
+
class: ui.value.group({ class: props.ui?.group })
|
|
1406
1341
|
}, {
|
|
1407
1342
|
default: withCtx((_4, _push6, _parent6, _scopeId5) => {
|
|
1408
1343
|
if (_push6) {
|
|
@@ -1432,26 +1367,23 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1432
1367
|
"display-value": () => searchTerm.value,
|
|
1433
1368
|
"as-child": ""
|
|
1434
1369
|
}, {
|
|
1435
|
-
default: withCtx(() =>
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
}), null, 16, ["size", "class", "onChange"])
|
|
1448
|
-
];
|
|
1449
|
-
}),
|
|
1370
|
+
default: withCtx(() => [
|
|
1371
|
+
createVNode(_sfc_main$1, mergeProps({
|
|
1372
|
+
autofocus: "",
|
|
1373
|
+
autocomplete: "off",
|
|
1374
|
+
size: __props.size
|
|
1375
|
+
}, searchInputProps.value, {
|
|
1376
|
+
"data-slot": "input",
|
|
1377
|
+
class: ui.value.input({ class: props.ui?.input }),
|
|
1378
|
+
onChange: withModifiers(() => {
|
|
1379
|
+
}, ["stop"])
|
|
1380
|
+
}), null, 16, ["size", "class", "onChange"])
|
|
1381
|
+
]),
|
|
1450
1382
|
_: 1
|
|
1451
1383
|
}, 8, ["modelValue", "onUpdate:modelValue", "display-value"])) : createCommentVNode("", true),
|
|
1452
1384
|
createVNode(unref(ComboboxEmpty), {
|
|
1453
1385
|
"data-slot": "empty",
|
|
1454
|
-
class: ui.value.empty({ class:
|
|
1386
|
+
class: ui.value.empty({ class: props.ui?.empty })
|
|
1455
1387
|
}, {
|
|
1456
1388
|
default: withCtx(() => [
|
|
1457
1389
|
renderSlot(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => [
|
|
@@ -1463,7 +1395,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1463
1395
|
createVNode("div", {
|
|
1464
1396
|
role: "presentation",
|
|
1465
1397
|
"data-slot": "viewport",
|
|
1466
|
-
class: ui.value.viewport({ class:
|
|
1398
|
+
class: ui.value.viewport({ class: props.ui?.viewport })
|
|
1467
1399
|
}, [
|
|
1468
1400
|
!!__props.virtualize ? (openBlock(), createBlock(Fragment, { key: 0 }, [
|
|
1469
1401
|
createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 0 })) : createCommentVNode("", true),
|
|
@@ -1484,7 +1416,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1484
1416
|
createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ComboboxGroup), {
|
|
1485
1417
|
key: 0,
|
|
1486
1418
|
"data-slot": "group",
|
|
1487
|
-
class: ui.value.group({ class:
|
|
1419
|
+
class: ui.value.group({ class: props.ui?.group })
|
|
1488
1420
|
}, {
|
|
1489
1421
|
default: withCtx(() => [
|
|
1490
1422
|
createVNode(unref(ReuseCreateItemTemplate))
|
|
@@ -1492,11 +1424,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1492
1424
|
_: 1
|
|
1493
1425
|
}, 8, ["class"])) : createCommentVNode("", true),
|
|
1494
1426
|
(openBlock(true), createBlock(Fragment, null, renderList(filteredGroups.value, (group, groupIndex) => {
|
|
1495
|
-
var _a4;
|
|
1496
1427
|
return openBlock(), createBlock(unref(ComboboxGroup), {
|
|
1497
1428
|
key: `group-${groupIndex}`,
|
|
1498
1429
|
"data-slot": "group",
|
|
1499
|
-
class: ui.value.group({ class:
|
|
1430
|
+
class: ui.value.group({ class: props.ui?.group })
|
|
1500
1431
|
}, {
|
|
1501
1432
|
default: withCtx(() => [
|
|
1502
1433
|
(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
|
|
@@ -1513,7 +1444,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1513
1444
|
createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ComboboxGroup), {
|
|
1514
1445
|
key: 1,
|
|
1515
1446
|
"data-slot": "group",
|
|
1516
|
-
class: ui.value.group({ class:
|
|
1447
|
+
class: ui.value.group({ class: props.ui?.group })
|
|
1517
1448
|
}, {
|
|
1518
1449
|
default: withCtx(() => [
|
|
1519
1450
|
createVNode(unref(ReuseCreateItemTemplate))
|
|
@@ -1531,7 +1462,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1531
1462
|
if (!!__props.arrow) {
|
|
1532
1463
|
_push4(ssrRenderComponent(unref(ComboboxArrow), mergeProps(arrowProps.value, {
|
|
1533
1464
|
"data-slot": "arrow",
|
|
1534
|
-
class: ui.value.arrow({ class:
|
|
1465
|
+
class: ui.value.arrow({ class: props.ui?.arrow })
|
|
1535
1466
|
}), null, _parent4, _scopeId3));
|
|
1536
1467
|
} else {
|
|
1537
1468
|
_push4(`<!---->`);
|
|
@@ -1541,117 +1472,110 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1541
1472
|
createVNode(unref(FocusScope), {
|
|
1542
1473
|
trapped: "",
|
|
1543
1474
|
"data-slot": "focusScope",
|
|
1544
|
-
class: ui.value.focusScope({ class:
|
|
1475
|
+
class: ui.value.focusScope({ class: props.ui?.focusScope })
|
|
1545
1476
|
}, {
|
|
1546
|
-
default: withCtx(() =>
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
_: 1
|
|
1615
|
-
}, 8, ["class"])) : createCommentVNode("", true),
|
|
1616
|
-
(openBlock(true), createBlock(Fragment, null, renderList(filteredGroups.value, (group, groupIndex) => {
|
|
1617
|
-
var _a4;
|
|
1618
|
-
return openBlock(), createBlock(unref(ComboboxGroup), {
|
|
1619
|
-
key: `group-${groupIndex}`,
|
|
1620
|
-
"data-slot": "group",
|
|
1621
|
-
class: ui.value.group({ class: (_a4 = props.ui) == null ? void 0 : _a4.group })
|
|
1622
|
-
}, {
|
|
1623
|
-
default: withCtx(() => [
|
|
1624
|
-
(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
|
|
1625
|
-
return openBlock(), createBlock(unref(ReuseItemTemplate), {
|
|
1626
|
-
key: `group-${groupIndex}-${index}`,
|
|
1627
|
-
item,
|
|
1628
|
-
index
|
|
1629
|
-
}, null, 8, ["item", "index"]);
|
|
1630
|
-
}), 128))
|
|
1631
|
-
]),
|
|
1632
|
-
_: 2
|
|
1633
|
-
}, 1032, ["class"]);
|
|
1634
|
-
}), 128)),
|
|
1635
|
-
createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ComboboxGroup), {
|
|
1636
|
-
key: 1,
|
|
1477
|
+
default: withCtx(() => [
|
|
1478
|
+
renderSlot(_ctx.$slots, "content-top"),
|
|
1479
|
+
!!__props.searchInput ? (openBlock(), createBlock(unref(ComboboxInput), {
|
|
1480
|
+
key: 0,
|
|
1481
|
+
modelValue: searchTerm.value,
|
|
1482
|
+
"onUpdate:modelValue": ($event) => searchTerm.value = $event,
|
|
1483
|
+
"display-value": () => searchTerm.value,
|
|
1484
|
+
"as-child": ""
|
|
1485
|
+
}, {
|
|
1486
|
+
default: withCtx(() => [
|
|
1487
|
+
createVNode(_sfc_main$1, mergeProps({
|
|
1488
|
+
autofocus: "",
|
|
1489
|
+
autocomplete: "off",
|
|
1490
|
+
size: __props.size
|
|
1491
|
+
}, searchInputProps.value, {
|
|
1492
|
+
"data-slot": "input",
|
|
1493
|
+
class: ui.value.input({ class: props.ui?.input }),
|
|
1494
|
+
onChange: withModifiers(() => {
|
|
1495
|
+
}, ["stop"])
|
|
1496
|
+
}), null, 16, ["size", "class", "onChange"])
|
|
1497
|
+
]),
|
|
1498
|
+
_: 1
|
|
1499
|
+
}, 8, ["modelValue", "onUpdate:modelValue", "display-value"])) : createCommentVNode("", true),
|
|
1500
|
+
createVNode(unref(ComboboxEmpty), {
|
|
1501
|
+
"data-slot": "empty",
|
|
1502
|
+
class: ui.value.empty({ class: props.ui?.empty })
|
|
1503
|
+
}, {
|
|
1504
|
+
default: withCtx(() => [
|
|
1505
|
+
renderSlot(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => [
|
|
1506
|
+
createTextVNode(toDisplayString(searchTerm.value ? unref(t)("selectMenu.noMatch", { searchTerm: searchTerm.value }) : unref(t)("selectMenu.noData")), 1)
|
|
1507
|
+
])
|
|
1508
|
+
]),
|
|
1509
|
+
_: 3
|
|
1510
|
+
}, 8, ["class"]),
|
|
1511
|
+
createVNode("div", {
|
|
1512
|
+
role: "presentation",
|
|
1513
|
+
"data-slot": "viewport",
|
|
1514
|
+
class: ui.value.viewport({ class: props.ui?.viewport })
|
|
1515
|
+
}, [
|
|
1516
|
+
!!__props.virtualize ? (openBlock(), createBlock(Fragment, { key: 0 }, [
|
|
1517
|
+
createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 0 })) : createCommentVNode("", true),
|
|
1518
|
+
createVNode(unref(ComboboxVirtualizer), mergeProps({
|
|
1519
|
+
options: filteredItems.value,
|
|
1520
|
+
"text-content": (item2) => isSelectItem(item2) ? unref(get)(item2, props.labelKey) : String(item2)
|
|
1521
|
+
}, virtualizerProps.value), {
|
|
1522
|
+
default: withCtx(({ option: item, virtualItem }) => [
|
|
1523
|
+
createVNode(unref(ReuseItemTemplate), {
|
|
1524
|
+
item,
|
|
1525
|
+
index: virtualItem.index
|
|
1526
|
+
}, null, 8, ["item", "index"])
|
|
1527
|
+
]),
|
|
1528
|
+
_: 1
|
|
1529
|
+
}, 16, ["options", "text-content"]),
|
|
1530
|
+
createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 1 })) : createCommentVNode("", true)
|
|
1531
|
+
], 64)) : (openBlock(), createBlock(Fragment, { key: 1 }, [
|
|
1532
|
+
createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ComboboxGroup), {
|
|
1533
|
+
key: 0,
|
|
1534
|
+
"data-slot": "group",
|
|
1535
|
+
class: ui.value.group({ class: props.ui?.group })
|
|
1536
|
+
}, {
|
|
1537
|
+
default: withCtx(() => [
|
|
1538
|
+
createVNode(unref(ReuseCreateItemTemplate))
|
|
1539
|
+
]),
|
|
1540
|
+
_: 1
|
|
1541
|
+
}, 8, ["class"])) : createCommentVNode("", true),
|
|
1542
|
+
(openBlock(true), createBlock(Fragment, null, renderList(filteredGroups.value, (group, groupIndex) => {
|
|
1543
|
+
return openBlock(), createBlock(unref(ComboboxGroup), {
|
|
1544
|
+
key: `group-${groupIndex}`,
|
|
1637
1545
|
"data-slot": "group",
|
|
1638
|
-
class: ui.value.group({ class:
|
|
1546
|
+
class: ui.value.group({ class: props.ui?.group })
|
|
1639
1547
|
}, {
|
|
1640
1548
|
default: withCtx(() => [
|
|
1641
|
-
|
|
1549
|
+
(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
|
|
1550
|
+
return openBlock(), createBlock(unref(ReuseItemTemplate), {
|
|
1551
|
+
key: `group-${groupIndex}-${index}`,
|
|
1552
|
+
item,
|
|
1553
|
+
index
|
|
1554
|
+
}, null, 8, ["item", "index"]);
|
|
1555
|
+
}), 128))
|
|
1642
1556
|
]),
|
|
1643
|
-
_:
|
|
1644
|
-
},
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1557
|
+
_: 2
|
|
1558
|
+
}, 1032, ["class"]);
|
|
1559
|
+
}), 128)),
|
|
1560
|
+
createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ComboboxGroup), {
|
|
1561
|
+
key: 1,
|
|
1562
|
+
"data-slot": "group",
|
|
1563
|
+
class: ui.value.group({ class: props.ui?.group })
|
|
1564
|
+
}, {
|
|
1565
|
+
default: withCtx(() => [
|
|
1566
|
+
createVNode(unref(ReuseCreateItemTemplate))
|
|
1567
|
+
]),
|
|
1568
|
+
_: 1
|
|
1569
|
+
}, 8, ["class"])) : createCommentVNode("", true)
|
|
1570
|
+
], 64))
|
|
1571
|
+
], 2),
|
|
1572
|
+
renderSlot(_ctx.$slots, "content-bottom")
|
|
1573
|
+
]),
|
|
1650
1574
|
_: 3
|
|
1651
1575
|
}, 8, ["class"]),
|
|
1652
1576
|
!!__props.arrow ? (openBlock(), createBlock(unref(ComboboxArrow), mergeProps({ key: 0 }, arrowProps.value, {
|
|
1653
1577
|
"data-slot": "arrow",
|
|
1654
|
-
class: ui.value.arrow({ class:
|
|
1578
|
+
class: ui.value.arrow({ class: props.ui?.arrow })
|
|
1655
1579
|
}), null, 16, ["class"])) : createCommentVNode("", true)
|
|
1656
1580
|
];
|
|
1657
1581
|
}
|
|
@@ -1662,128 +1586,118 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1662
1586
|
return [
|
|
1663
1587
|
createVNode(unref(ComboboxContent), mergeProps({
|
|
1664
1588
|
"data-slot": "content",
|
|
1665
|
-
class: ui.value.content({ class:
|
|
1589
|
+
class: ui.value.content({ class: props.ui?.content })
|
|
1666
1590
|
}, contentProps.value), {
|
|
1667
|
-
default: withCtx(() =>
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1591
|
+
default: withCtx(() => [
|
|
1592
|
+
createVNode(unref(FocusScope), {
|
|
1593
|
+
trapped: "",
|
|
1594
|
+
"data-slot": "focusScope",
|
|
1595
|
+
class: ui.value.focusScope({ class: props.ui?.focusScope })
|
|
1596
|
+
}, {
|
|
1597
|
+
default: withCtx(() => [
|
|
1598
|
+
renderSlot(_ctx.$slots, "content-top"),
|
|
1599
|
+
!!__props.searchInput ? (openBlock(), createBlock(unref(ComboboxInput), {
|
|
1600
|
+
key: 0,
|
|
1601
|
+
modelValue: searchTerm.value,
|
|
1602
|
+
"onUpdate:modelValue": ($event) => searchTerm.value = $event,
|
|
1603
|
+
"display-value": () => searchTerm.value,
|
|
1604
|
+
"as-child": ""
|
|
1605
|
+
}, {
|
|
1606
|
+
default: withCtx(() => [
|
|
1607
|
+
createVNode(_sfc_main$1, mergeProps({
|
|
1608
|
+
autofocus: "",
|
|
1609
|
+
autocomplete: "off",
|
|
1610
|
+
size: __props.size
|
|
1611
|
+
}, searchInputProps.value, {
|
|
1612
|
+
"data-slot": "input",
|
|
1613
|
+
class: ui.value.input({ class: props.ui?.input }),
|
|
1614
|
+
onChange: withModifiers(() => {
|
|
1615
|
+
}, ["stop"])
|
|
1616
|
+
}), null, 16, ["size", "class", "onChange"])
|
|
1617
|
+
]),
|
|
1618
|
+
_: 1
|
|
1619
|
+
}, 8, ["modelValue", "onUpdate:modelValue", "display-value"])) : createCommentVNode("", true),
|
|
1620
|
+
createVNode(unref(ComboboxEmpty), {
|
|
1621
|
+
"data-slot": "empty",
|
|
1622
|
+
class: ui.value.empty({ class: props.ui?.empty })
|
|
1623
|
+
}, {
|
|
1624
|
+
default: withCtx(() => [
|
|
1625
|
+
renderSlot(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => [
|
|
1626
|
+
createTextVNode(toDisplayString(searchTerm.value ? unref(t)("selectMenu.noMatch", { searchTerm: searchTerm.value }) : unref(t)("selectMenu.noData")), 1)
|
|
1627
|
+
])
|
|
1628
|
+
]),
|
|
1629
|
+
_: 3
|
|
1630
|
+
}, 8, ["class"]),
|
|
1631
|
+
createVNode("div", {
|
|
1632
|
+
role: "presentation",
|
|
1633
|
+
"data-slot": "viewport",
|
|
1634
|
+
class: ui.value.viewport({ class: props.ui?.viewport })
|
|
1635
|
+
}, [
|
|
1636
|
+
!!__props.virtualize ? (openBlock(), createBlock(Fragment, { key: 0 }, [
|
|
1637
|
+
createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 0 })) : createCommentVNode("", true),
|
|
1638
|
+
createVNode(unref(ComboboxVirtualizer), mergeProps({
|
|
1639
|
+
options: filteredItems.value,
|
|
1640
|
+
"text-content": (item2) => isSelectItem(item2) ? unref(get)(item2, props.labelKey) : String(item2)
|
|
1641
|
+
}, virtualizerProps.value), {
|
|
1642
|
+
default: withCtx(({ option: item, virtualItem }) => [
|
|
1643
|
+
createVNode(unref(ReuseItemTemplate), {
|
|
1644
|
+
item,
|
|
1645
|
+
index: virtualItem.index
|
|
1646
|
+
}, null, 8, ["item", "index"])
|
|
1647
|
+
]),
|
|
1648
|
+
_: 1
|
|
1649
|
+
}, 16, ["options", "text-content"]),
|
|
1650
|
+
createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 1 })) : createCommentVNode("", true)
|
|
1651
|
+
], 64)) : (openBlock(), createBlock(Fragment, { key: 1 }, [
|
|
1652
|
+
createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ComboboxGroup), {
|
|
1680
1653
|
key: 0,
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
"display-value": () => searchTerm.value,
|
|
1684
|
-
"as-child": ""
|
|
1654
|
+
"data-slot": "group",
|
|
1655
|
+
class: ui.value.group({ class: props.ui?.group })
|
|
1685
1656
|
}, {
|
|
1686
|
-
default: withCtx(() =>
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
createVNode(_sfc_main$1, mergeProps({
|
|
1690
|
-
autofocus: "",
|
|
1691
|
-
autocomplete: "off",
|
|
1692
|
-
size: __props.size
|
|
1693
|
-
}, searchInputProps.value, {
|
|
1694
|
-
"data-slot": "input",
|
|
1695
|
-
class: ui.value.input({ class: (_a4 = props.ui) == null ? void 0 : _a4.input }),
|
|
1696
|
-
onChange: withModifiers(() => {
|
|
1697
|
-
}, ["stop"])
|
|
1698
|
-
}), null, 16, ["size", "class", "onChange"])
|
|
1699
|
-
];
|
|
1700
|
-
}),
|
|
1657
|
+
default: withCtx(() => [
|
|
1658
|
+
createVNode(unref(ReuseCreateItemTemplate))
|
|
1659
|
+
]),
|
|
1701
1660
|
_: 1
|
|
1702
|
-
}, 8, ["
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1661
|
+
}, 8, ["class"])) : createCommentVNode("", true),
|
|
1662
|
+
(openBlock(true), createBlock(Fragment, null, renderList(filteredGroups.value, (group, groupIndex) => {
|
|
1663
|
+
return openBlock(), createBlock(unref(ComboboxGroup), {
|
|
1664
|
+
key: `group-${groupIndex}`,
|
|
1665
|
+
"data-slot": "group",
|
|
1666
|
+
class: ui.value.group({ class: props.ui?.group })
|
|
1667
|
+
}, {
|
|
1668
|
+
default: withCtx(() => [
|
|
1669
|
+
(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
|
|
1670
|
+
return openBlock(), createBlock(unref(ReuseItemTemplate), {
|
|
1671
|
+
key: `group-${groupIndex}-${index}`,
|
|
1672
|
+
item,
|
|
1673
|
+
index
|
|
1674
|
+
}, null, 8, ["item", "index"]);
|
|
1675
|
+
}), 128))
|
|
1676
|
+
]),
|
|
1677
|
+
_: 2
|
|
1678
|
+
}, 1032, ["class"]);
|
|
1679
|
+
}), 128)),
|
|
1680
|
+
createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ComboboxGroup), {
|
|
1681
|
+
key: 1,
|
|
1682
|
+
"data-slot": "group",
|
|
1683
|
+
class: ui.value.group({ class: props.ui?.group })
|
|
1706
1684
|
}, {
|
|
1707
1685
|
default: withCtx(() => [
|
|
1708
|
-
|
|
1709
|
-
createTextVNode(toDisplayString(searchTerm.value ? unref(t)("selectMenu.noMatch", { searchTerm: searchTerm.value }) : unref(t)("selectMenu.noData")), 1)
|
|
1710
|
-
])
|
|
1686
|
+
createVNode(unref(ReuseCreateItemTemplate))
|
|
1711
1687
|
]),
|
|
1712
|
-
_:
|
|
1713
|
-
}, 8, ["class"]),
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
default: withCtx(({ option: item, virtualItem }) => [
|
|
1726
|
-
createVNode(unref(ReuseItemTemplate), {
|
|
1727
|
-
item,
|
|
1728
|
-
index: virtualItem.index
|
|
1729
|
-
}, null, 8, ["item", "index"])
|
|
1730
|
-
]),
|
|
1731
|
-
_: 1
|
|
1732
|
-
}, 16, ["options", "text-content"]),
|
|
1733
|
-
createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 1 })) : createCommentVNode("", true)
|
|
1734
|
-
], 64)) : (openBlock(), createBlock(Fragment, { key: 1 }, [
|
|
1735
|
-
createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ComboboxGroup), {
|
|
1736
|
-
key: 0,
|
|
1737
|
-
"data-slot": "group",
|
|
1738
|
-
class: ui.value.group({ class: (_c = props.ui) == null ? void 0 : _c.group })
|
|
1739
|
-
}, {
|
|
1740
|
-
default: withCtx(() => [
|
|
1741
|
-
createVNode(unref(ReuseCreateItemTemplate))
|
|
1742
|
-
]),
|
|
1743
|
-
_: 1
|
|
1744
|
-
}, 8, ["class"])) : createCommentVNode("", true),
|
|
1745
|
-
(openBlock(true), createBlock(Fragment, null, renderList(filteredGroups.value, (group, groupIndex) => {
|
|
1746
|
-
var _a4;
|
|
1747
|
-
return openBlock(), createBlock(unref(ComboboxGroup), {
|
|
1748
|
-
key: `group-${groupIndex}`,
|
|
1749
|
-
"data-slot": "group",
|
|
1750
|
-
class: ui.value.group({ class: (_a4 = props.ui) == null ? void 0 : _a4.group })
|
|
1751
|
-
}, {
|
|
1752
|
-
default: withCtx(() => [
|
|
1753
|
-
(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
|
|
1754
|
-
return openBlock(), createBlock(unref(ReuseItemTemplate), {
|
|
1755
|
-
key: `group-${groupIndex}-${index}`,
|
|
1756
|
-
item,
|
|
1757
|
-
index
|
|
1758
|
-
}, null, 8, ["item", "index"]);
|
|
1759
|
-
}), 128))
|
|
1760
|
-
]),
|
|
1761
|
-
_: 2
|
|
1762
|
-
}, 1032, ["class"]);
|
|
1763
|
-
}), 128)),
|
|
1764
|
-
createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ComboboxGroup), {
|
|
1765
|
-
key: 1,
|
|
1766
|
-
"data-slot": "group",
|
|
1767
|
-
class: ui.value.group({ class: (_d = props.ui) == null ? void 0 : _d.group })
|
|
1768
|
-
}, {
|
|
1769
|
-
default: withCtx(() => [
|
|
1770
|
-
createVNode(unref(ReuseCreateItemTemplate))
|
|
1771
|
-
]),
|
|
1772
|
-
_: 1
|
|
1773
|
-
}, 8, ["class"])) : createCommentVNode("", true)
|
|
1774
|
-
], 64))
|
|
1775
|
-
], 2),
|
|
1776
|
-
renderSlot(_ctx.$slots, "content-bottom")
|
|
1777
|
-
];
|
|
1778
|
-
}),
|
|
1779
|
-
_: 3
|
|
1780
|
-
}, 8, ["class"]),
|
|
1781
|
-
!!__props.arrow ? (openBlock(), createBlock(unref(ComboboxArrow), mergeProps({ key: 0 }, arrowProps.value, {
|
|
1782
|
-
"data-slot": "arrow",
|
|
1783
|
-
class: ui.value.arrow({ class: (_b2 = props.ui) == null ? void 0 : _b2.arrow })
|
|
1784
|
-
}), null, 16, ["class"])) : createCommentVNode("", true)
|
|
1785
|
-
];
|
|
1786
|
-
}),
|
|
1688
|
+
_: 1
|
|
1689
|
+
}, 8, ["class"])) : createCommentVNode("", true)
|
|
1690
|
+
], 64))
|
|
1691
|
+
], 2),
|
|
1692
|
+
renderSlot(_ctx.$slots, "content-bottom")
|
|
1693
|
+
]),
|
|
1694
|
+
_: 3
|
|
1695
|
+
}, 8, ["class"]),
|
|
1696
|
+
!!__props.arrow ? (openBlock(), createBlock(unref(ComboboxArrow), mergeProps({ key: 0 }, arrowProps.value, {
|
|
1697
|
+
"data-slot": "arrow",
|
|
1698
|
+
class: ui.value.arrow({ class: props.ui?.arrow })
|
|
1699
|
+
}), null, 16, ["class"])) : createCommentVNode("", true)
|
|
1700
|
+
]),
|
|
1787
1701
|
_: 3
|
|
1788
1702
|
}, 16, ["class"])
|
|
1789
1703
|
];
|
|
@@ -1794,227 +1708,201 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1794
1708
|
} else {
|
|
1795
1709
|
return [
|
|
1796
1710
|
createVNode(unref(ComboboxAnchor), { "as-child": "" }, {
|
|
1797
|
-
default: withCtx(() =>
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1711
|
+
default: withCtx(() => [
|
|
1712
|
+
createVNode(unref(ComboboxTrigger), {
|
|
1713
|
+
ref_key: "triggerRef",
|
|
1714
|
+
ref: triggerRef,
|
|
1715
|
+
"data-slot": "base",
|
|
1716
|
+
class: ui.value.base({ class: [props.ui?.base, props.class] }),
|
|
1717
|
+
tabindex: "0"
|
|
1718
|
+
}, {
|
|
1719
|
+
default: withCtx(() => [
|
|
1720
|
+
unref(isLeading) || !!__props.avatar || !!slots.leading ? (openBlock(), createBlock("span", {
|
|
1721
|
+
key: 0,
|
|
1722
|
+
"data-slot": "leading",
|
|
1723
|
+
class: ui.value.leading({ class: props.ui?.leading })
|
|
1724
|
+
}, [
|
|
1725
|
+
renderSlot(_ctx.$slots, "leading", {
|
|
1726
|
+
modelValue,
|
|
1727
|
+
open,
|
|
1728
|
+
ui: ui.value
|
|
1729
|
+
}, () => [
|
|
1730
|
+
unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
|
|
1811
1731
|
key: 0,
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
modelValue,
|
|
1817
|
-
open,
|
|
1818
|
-
ui: ui.value
|
|
1819
|
-
}, () => {
|
|
1820
|
-
var _a3, _b2, _c;
|
|
1821
|
-
return [
|
|
1822
|
-
unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
|
|
1823
|
-
key: 0,
|
|
1824
|
-
name: unref(leadingIconName),
|
|
1825
|
-
"data-slot": "leadingIcon",
|
|
1826
|
-
class: ui.value.leadingIcon({ class: (_a3 = props.ui) == null ? void 0 : _a3.leadingIcon })
|
|
1827
|
-
}, null, 8, ["name", "class"])) : !!__props.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
1828
|
-
key: 1,
|
|
1829
|
-
size: ((_b2 = props.ui) == null ? void 0 : _b2.itemLeadingAvatarSize) || ui.value.itemLeadingAvatarSize()
|
|
1830
|
-
}, __props.avatar, {
|
|
1831
|
-
"data-slot": "itemLeadingAvatar",
|
|
1832
|
-
class: ui.value.itemLeadingAvatar({ class: (_c = props.ui) == null ? void 0 : _c.itemLeadingAvatar })
|
|
1833
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)
|
|
1834
|
-
];
|
|
1835
|
-
})
|
|
1836
|
-
], 2)) : createCommentVNode("", true),
|
|
1837
|
-
renderSlot(_ctx.$slots, "default", {
|
|
1838
|
-
modelValue,
|
|
1839
|
-
open,
|
|
1840
|
-
ui: ui.value
|
|
1841
|
-
}, () => [
|
|
1842
|
-
(openBlock(true), createBlock(Fragment, null, renderList([displayValue(modelValue)], (displayedModelValue) => {
|
|
1843
|
-
var _a3, _b2, _c;
|
|
1844
|
-
return openBlock(), createBlock(Fragment, { key: displayedModelValue }, [
|
|
1845
|
-
displayedModelValue !== void 0 && displayedModelValue !== null ? (openBlock(), createBlock("span", {
|
|
1846
|
-
key: 0,
|
|
1847
|
-
"data-slot": "value",
|
|
1848
|
-
class: ui.value.value({ class: (_a3 = props.ui) == null ? void 0 : _a3.value })
|
|
1849
|
-
}, toDisplayString(displayedModelValue), 3)) : (openBlock(), createBlock("span", {
|
|
1850
|
-
key: 1,
|
|
1851
|
-
"data-slot": "placeholder",
|
|
1852
|
-
class: ui.value.placeholder({ class: (_b2 = props.ui) == null ? void 0 : _b2.placeholder })
|
|
1853
|
-
}, toDisplayString((_c = __props.placeholder) != null ? _c : "\xA0"), 3))
|
|
1854
|
-
], 64);
|
|
1855
|
-
}), 128))
|
|
1856
|
-
]),
|
|
1857
|
-
unref(isTrailing) || !!slots.trailing ? (openBlock(), createBlock("span", {
|
|
1732
|
+
name: unref(leadingIconName),
|
|
1733
|
+
"data-slot": "leadingIcon",
|
|
1734
|
+
class: ui.value.leadingIcon({ class: props.ui?.leadingIcon })
|
|
1735
|
+
}, null, 8, ["name", "class"])) : !!__props.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
1858
1736
|
key: 1,
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1737
|
+
size: props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
1738
|
+
}, __props.avatar, {
|
|
1739
|
+
"data-slot": "itemLeadingAvatar",
|
|
1740
|
+
class: ui.value.itemLeadingAvatar({ class: props.ui?.itemLeadingAvatar })
|
|
1741
|
+
}), null, 16, ["size", "class"])) : createCommentVNode("", true)
|
|
1742
|
+
])
|
|
1743
|
+
], 2)) : createCommentVNode("", true),
|
|
1744
|
+
renderSlot(_ctx.$slots, "default", {
|
|
1745
|
+
modelValue,
|
|
1746
|
+
open,
|
|
1747
|
+
ui: ui.value
|
|
1748
|
+
}, () => [
|
|
1749
|
+
(openBlock(true), createBlock(Fragment, null, renderList([displayValue(modelValue)], (displayedModelValue) => {
|
|
1750
|
+
return openBlock(), createBlock(Fragment, { key: displayedModelValue }, [
|
|
1751
|
+
displayedModelValue !== void 0 && displayedModelValue !== null ? (openBlock(), createBlock("span", {
|
|
1752
|
+
key: 0,
|
|
1753
|
+
"data-slot": "value",
|
|
1754
|
+
class: ui.value.value({ class: props.ui?.value })
|
|
1755
|
+
}, toDisplayString(displayedModelValue), 3)) : (openBlock(), createBlock("span", {
|
|
1756
|
+
key: 1,
|
|
1757
|
+
"data-slot": "placeholder",
|
|
1758
|
+
class: ui.value.placeholder({ class: props.ui?.placeholder })
|
|
1759
|
+
}, toDisplayString(__props.placeholder ?? " "), 3))
|
|
1760
|
+
], 64);
|
|
1761
|
+
}), 128))
|
|
1762
|
+
]),
|
|
1763
|
+
unref(isTrailing) || !!slots.trailing ? (openBlock(), createBlock("span", {
|
|
1764
|
+
key: 1,
|
|
1765
|
+
"data-slot": "trailing",
|
|
1766
|
+
class: ui.value.trailing({ class: props.ui?.trailing })
|
|
1767
|
+
}, [
|
|
1768
|
+
renderSlot(_ctx.$slots, "trailing", {
|
|
1769
|
+
modelValue,
|
|
1770
|
+
open,
|
|
1771
|
+
ui: ui.value
|
|
1772
|
+
}, () => [
|
|
1773
|
+
unref(trailingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
|
|
1774
|
+
key: 0,
|
|
1775
|
+
name: unref(trailingIconName),
|
|
1776
|
+
"data-slot": "trailingIcon",
|
|
1777
|
+
class: ui.value.trailingIcon({ class: props.ui?.trailingIcon })
|
|
1778
|
+
}, null, 8, ["name", "class"])) : createCommentVNode("", true)
|
|
1779
|
+
])
|
|
1780
|
+
], 2)) : createCommentVNode("", true)
|
|
1781
|
+
]),
|
|
1782
|
+
_: 2
|
|
1783
|
+
}, 1032, ["class"])
|
|
1784
|
+
]),
|
|
1884
1785
|
_: 2
|
|
1885
1786
|
}, 1024),
|
|
1886
1787
|
createVNode(unref(ComboboxPortal), unref(portalProps), {
|
|
1887
|
-
default: withCtx(() =>
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1788
|
+
default: withCtx(() => [
|
|
1789
|
+
createVNode(unref(ComboboxContent), mergeProps({
|
|
1790
|
+
"data-slot": "content",
|
|
1791
|
+
class: ui.value.content({ class: props.ui?.content })
|
|
1792
|
+
}, contentProps.value), {
|
|
1793
|
+
default: withCtx(() => [
|
|
1794
|
+
createVNode(unref(FocusScope), {
|
|
1795
|
+
trapped: "",
|
|
1796
|
+
"data-slot": "focusScope",
|
|
1797
|
+
class: ui.value.focusScope({ class: props.ui?.focusScope })
|
|
1798
|
+
}, {
|
|
1799
|
+
default: withCtx(() => [
|
|
1800
|
+
renderSlot(_ctx.$slots, "content-top"),
|
|
1801
|
+
!!__props.searchInput ? (openBlock(), createBlock(unref(ComboboxInput), {
|
|
1802
|
+
key: 0,
|
|
1803
|
+
modelValue: searchTerm.value,
|
|
1804
|
+
"onUpdate:modelValue": ($event) => searchTerm.value = $event,
|
|
1805
|
+
"display-value": () => searchTerm.value,
|
|
1806
|
+
"as-child": ""
|
|
1901
1807
|
}, {
|
|
1902
|
-
default: withCtx(() =>
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1808
|
+
default: withCtx(() => [
|
|
1809
|
+
createVNode(_sfc_main$1, mergeProps({
|
|
1810
|
+
autofocus: "",
|
|
1811
|
+
autocomplete: "off",
|
|
1812
|
+
size: __props.size
|
|
1813
|
+
}, searchInputProps.value, {
|
|
1814
|
+
"data-slot": "input",
|
|
1815
|
+
class: ui.value.input({ class: props.ui?.input }),
|
|
1816
|
+
onChange: withModifiers(() => {
|
|
1817
|
+
}, ["stop"])
|
|
1818
|
+
}), null, 16, ["size", "class", "onChange"])
|
|
1819
|
+
]),
|
|
1820
|
+
_: 1
|
|
1821
|
+
}, 8, ["modelValue", "onUpdate:modelValue", "display-value"])) : createCommentVNode("", true),
|
|
1822
|
+
createVNode(unref(ComboboxEmpty), {
|
|
1823
|
+
"data-slot": "empty",
|
|
1824
|
+
class: ui.value.empty({ class: props.ui?.empty })
|
|
1825
|
+
}, {
|
|
1826
|
+
default: withCtx(() => [
|
|
1827
|
+
renderSlot(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => [
|
|
1828
|
+
createTextVNode(toDisplayString(searchTerm.value ? unref(t)("selectMenu.noMatch", { searchTerm: searchTerm.value }) : unref(t)("selectMenu.noData")), 1)
|
|
1829
|
+
])
|
|
1830
|
+
]),
|
|
1831
|
+
_: 3
|
|
1832
|
+
}, 8, ["class"]),
|
|
1833
|
+
createVNode("div", {
|
|
1834
|
+
role: "presentation",
|
|
1835
|
+
"data-slot": "viewport",
|
|
1836
|
+
class: ui.value.viewport({ class: props.ui?.viewport })
|
|
1837
|
+
}, [
|
|
1838
|
+
!!__props.virtualize ? (openBlock(), createBlock(Fragment, { key: 0 }, [
|
|
1839
|
+
createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 0 })) : createCommentVNode("", true),
|
|
1840
|
+
createVNode(unref(ComboboxVirtualizer), mergeProps({
|
|
1841
|
+
options: filteredItems.value,
|
|
1842
|
+
"text-content": (item2) => isSelectItem(item2) ? unref(get)(item2, props.labelKey) : String(item2)
|
|
1843
|
+
}, virtualizerProps.value), {
|
|
1844
|
+
default: withCtx(({ option: item, virtualItem }) => [
|
|
1845
|
+
createVNode(unref(ReuseItemTemplate), {
|
|
1846
|
+
item,
|
|
1847
|
+
index: virtualItem.index
|
|
1848
|
+
}, null, 8, ["item", "index"])
|
|
1849
|
+
]),
|
|
1850
|
+
_: 1
|
|
1851
|
+
}, 16, ["options", "text-content"]),
|
|
1852
|
+
createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 1 })) : createCommentVNode("", true)
|
|
1853
|
+
], 64)) : (openBlock(), createBlock(Fragment, { key: 1 }, [
|
|
1854
|
+
createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ComboboxGroup), {
|
|
1855
|
+
key: 0,
|
|
1856
|
+
"data-slot": "group",
|
|
1857
|
+
class: ui.value.group({ class: props.ui?.group })
|
|
1858
|
+
}, {
|
|
1859
|
+
default: withCtx(() => [
|
|
1860
|
+
createVNode(unref(ReuseCreateItemTemplate))
|
|
1861
|
+
]),
|
|
1862
|
+
_: 1
|
|
1863
|
+
}, 8, ["class"])) : createCommentVNode("", true),
|
|
1864
|
+
(openBlock(true), createBlock(Fragment, null, renderList(filteredGroups.value, (group, groupIndex) => {
|
|
1865
|
+
return openBlock(), createBlock(unref(ComboboxGroup), {
|
|
1866
|
+
key: `group-${groupIndex}`,
|
|
1867
|
+
"data-slot": "group",
|
|
1868
|
+
class: ui.value.group({ class: props.ui?.group })
|
|
1933
1869
|
}, {
|
|
1934
1870
|
default: withCtx(() => [
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1871
|
+
(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
|
|
1872
|
+
return openBlock(), createBlock(unref(ReuseItemTemplate), {
|
|
1873
|
+
key: `group-${groupIndex}-${index}`,
|
|
1874
|
+
item,
|
|
1875
|
+
index
|
|
1876
|
+
}, null, 8, ["item", "index"]);
|
|
1877
|
+
}), 128))
|
|
1938
1878
|
]),
|
|
1939
|
-
_:
|
|
1940
|
-
},
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
}
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
}, {
|
|
1967
|
-
default: withCtx(() => [
|
|
1968
|
-
createVNode(unref(ReuseCreateItemTemplate))
|
|
1969
|
-
]),
|
|
1970
|
-
_: 1
|
|
1971
|
-
}, 8, ["class"])) : createCommentVNode("", true),
|
|
1972
|
-
(openBlock(true), createBlock(Fragment, null, renderList(filteredGroups.value, (group, groupIndex) => {
|
|
1973
|
-
var _a4;
|
|
1974
|
-
return openBlock(), createBlock(unref(ComboboxGroup), {
|
|
1975
|
-
key: `group-${groupIndex}`,
|
|
1976
|
-
"data-slot": "group",
|
|
1977
|
-
class: ui.value.group({ class: (_a4 = props.ui) == null ? void 0 : _a4.group })
|
|
1978
|
-
}, {
|
|
1979
|
-
default: withCtx(() => [
|
|
1980
|
-
(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
|
|
1981
|
-
return openBlock(), createBlock(unref(ReuseItemTemplate), {
|
|
1982
|
-
key: `group-${groupIndex}-${index}`,
|
|
1983
|
-
item,
|
|
1984
|
-
index
|
|
1985
|
-
}, null, 8, ["item", "index"]);
|
|
1986
|
-
}), 128))
|
|
1987
|
-
]),
|
|
1988
|
-
_: 2
|
|
1989
|
-
}, 1032, ["class"]);
|
|
1990
|
-
}), 128)),
|
|
1991
|
-
createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ComboboxGroup), {
|
|
1992
|
-
key: 1,
|
|
1993
|
-
"data-slot": "group",
|
|
1994
|
-
class: ui.value.group({ class: (_d = props.ui) == null ? void 0 : _d.group })
|
|
1995
|
-
}, {
|
|
1996
|
-
default: withCtx(() => [
|
|
1997
|
-
createVNode(unref(ReuseCreateItemTemplate))
|
|
1998
|
-
]),
|
|
1999
|
-
_: 1
|
|
2000
|
-
}, 8, ["class"])) : createCommentVNode("", true)
|
|
2001
|
-
], 64))
|
|
2002
|
-
], 2),
|
|
2003
|
-
renderSlot(_ctx.$slots, "content-bottom")
|
|
2004
|
-
];
|
|
2005
|
-
}),
|
|
2006
|
-
_: 3
|
|
2007
|
-
}, 8, ["class"]),
|
|
2008
|
-
!!__props.arrow ? (openBlock(), createBlock(unref(ComboboxArrow), mergeProps({ key: 0 }, arrowProps.value, {
|
|
2009
|
-
"data-slot": "arrow",
|
|
2010
|
-
class: ui.value.arrow({ class: (_b = props.ui) == null ? void 0 : _b.arrow })
|
|
2011
|
-
}), null, 16, ["class"])) : createCommentVNode("", true)
|
|
2012
|
-
];
|
|
2013
|
-
}),
|
|
2014
|
-
_: 3
|
|
2015
|
-
}, 16, ["class"])
|
|
2016
|
-
];
|
|
2017
|
-
}),
|
|
1879
|
+
_: 2
|
|
1880
|
+
}, 1032, ["class"]);
|
|
1881
|
+
}), 128)),
|
|
1882
|
+
createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ComboboxGroup), {
|
|
1883
|
+
key: 1,
|
|
1884
|
+
"data-slot": "group",
|
|
1885
|
+
class: ui.value.group({ class: props.ui?.group })
|
|
1886
|
+
}, {
|
|
1887
|
+
default: withCtx(() => [
|
|
1888
|
+
createVNode(unref(ReuseCreateItemTemplate))
|
|
1889
|
+
]),
|
|
1890
|
+
_: 1
|
|
1891
|
+
}, 8, ["class"])) : createCommentVNode("", true)
|
|
1892
|
+
], 64))
|
|
1893
|
+
], 2),
|
|
1894
|
+
renderSlot(_ctx.$slots, "content-bottom")
|
|
1895
|
+
]),
|
|
1896
|
+
_: 3
|
|
1897
|
+
}, 8, ["class"]),
|
|
1898
|
+
!!__props.arrow ? (openBlock(), createBlock(unref(ComboboxArrow), mergeProps({ key: 0 }, arrowProps.value, {
|
|
1899
|
+
"data-slot": "arrow",
|
|
1900
|
+
class: ui.value.arrow({ class: props.ui?.arrow })
|
|
1901
|
+
}), null, 16, ["class"])) : createCommentVNode("", true)
|
|
1902
|
+
]),
|
|
1903
|
+
_: 3
|
|
1904
|
+
}, 16, ["class"])
|
|
1905
|
+
]),
|
|
2018
1906
|
_: 3
|
|
2019
1907
|
}, 16)
|
|
2020
1908
|
];
|