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
|
@@ -382,24 +382,18 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
382
382
|
const { orientation, size: fieldGroupSize } = useFieldGroup(props);
|
|
383
383
|
const { isLeading, isTrailing, leadingIconName, trailingIconName } = useComponentIcons(toRef(() => defu(props, { trailingIcon: appConfig.ui.icons.chevronDown })));
|
|
384
384
|
const selectSize = computed(() => fieldGroupSize.value || formGroupSize.value);
|
|
385
|
-
const ui = computed(() => {
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
fieldGroup: orientation.value
|
|
396
|
-
});
|
|
397
|
-
});
|
|
385
|
+
const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.select || {} })({
|
|
386
|
+
color: color.value,
|
|
387
|
+
variant: props.variant,
|
|
388
|
+
size: selectSize?.value,
|
|
389
|
+
loading: props.loading,
|
|
390
|
+
highlight: highlight.value,
|
|
391
|
+
leading: isLeading.value || !!props.avatar || !!slots.leading,
|
|
392
|
+
trailing: isTrailing.value || !!slots.trailing,
|
|
393
|
+
fieldGroup: orientation.value
|
|
394
|
+
}));
|
|
398
395
|
const groups = computed(
|
|
399
|
-
() =>
|
|
400
|
-
var _a;
|
|
401
|
-
return ((_a = props.items) == null ? void 0 : _a.length) ? isArrayOfArray(props.items) ? props.items : [props.items] : [];
|
|
402
|
-
}
|
|
396
|
+
() => props.items?.length ? isArrayOfArray(props.items) ? props.items : [props.items] : []
|
|
403
397
|
);
|
|
404
398
|
const items = computed(() => groups.value.flatMap((group) => group));
|
|
405
399
|
function displayValue(value) {
|
|
@@ -417,18 +411,17 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
417
411
|
}
|
|
418
412
|
const triggerRef = useTemplateRef("triggerRef");
|
|
419
413
|
function onUpdate(value) {
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
value = (_b = value == null ? void 0 : value.trim()) != null ? _b : null;
|
|
414
|
+
if (props.modelModifiers?.trim) {
|
|
415
|
+
value = value?.trim() ?? null;
|
|
423
416
|
}
|
|
424
|
-
if (
|
|
417
|
+
if (props.modelModifiers?.number) {
|
|
425
418
|
value = looseToNumber(value);
|
|
426
419
|
}
|
|
427
|
-
if (
|
|
428
|
-
value
|
|
420
|
+
if (props.modelModifiers?.nullable) {
|
|
421
|
+
value ??= null;
|
|
429
422
|
}
|
|
430
|
-
if (
|
|
431
|
-
value
|
|
423
|
+
if (props.modelModifiers?.optional) {
|
|
424
|
+
value ??= void 0;
|
|
432
425
|
}
|
|
433
426
|
const event = new Event("change", { target: { value } });
|
|
434
427
|
emits("change", event);
|
|
@@ -450,10 +443,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
450
443
|
return typeof item === "object" && item !== null;
|
|
451
444
|
}
|
|
452
445
|
__expose({
|
|
453
|
-
triggerRef: toRef(() =>
|
|
454
|
-
var _a;
|
|
455
|
-
return (_a = triggerRef.value) == null ? void 0 : _a.$el;
|
|
456
|
-
})
|
|
446
|
+
triggerRef: toRef(() => triggerRef.value?.$el)
|
|
457
447
|
});
|
|
458
448
|
return (_ctx, _push, _parent, _attrs) => {
|
|
459
449
|
_push(ssrRenderComponent(unref(SelectRoot), mergeProps({ name: unref(name) }, unref(rootProps), {
|
|
@@ -465,38 +455,35 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
465
455
|
"onUpdate:open": onUpdateOpen
|
|
466
456
|
}, _attrs), {
|
|
467
457
|
default: withCtx(({ modelValue, open }, _push2, _parent2, _scopeId) => {
|
|
468
|
-
var _a, _b;
|
|
469
458
|
if (_push2) {
|
|
470
459
|
_push2(ssrRenderComponent(unref(SelectTrigger), mergeProps({
|
|
471
460
|
id: unref(id),
|
|
472
461
|
ref_key: "triggerRef",
|
|
473
462
|
ref: triggerRef,
|
|
474
463
|
"data-slot": "base",
|
|
475
|
-
class: ui.value.base({ class: [
|
|
464
|
+
class: ui.value.base({ class: [props.ui?.base, props.class] })
|
|
476
465
|
}, { ..._ctx.$attrs, ...unref(ariaAttrs) }), {
|
|
477
466
|
default: withCtx((_, _push3, _parent3, _scopeId2) => {
|
|
478
|
-
var _a2, _b2, _c, _d;
|
|
479
467
|
if (_push3) {
|
|
480
468
|
if (unref(isLeading) || !!__props.avatar || !!slots.leading) {
|
|
481
|
-
_push3(`<span data-slot="leading" class="${ssrRenderClass(ui.value.leading({ class:
|
|
469
|
+
_push3(`<span data-slot="leading" class="${ssrRenderClass(ui.value.leading({ class: props.ui?.leading }))}"${_scopeId2}>`);
|
|
482
470
|
ssrRenderSlot(_ctx.$slots, "leading", {
|
|
483
471
|
modelValue,
|
|
484
472
|
open,
|
|
485
473
|
ui: ui.value
|
|
486
474
|
}, () => {
|
|
487
|
-
var _a3, _b3, _c2;
|
|
488
475
|
if (unref(isLeading) && unref(leadingIconName)) {
|
|
489
476
|
_push3(ssrRenderComponent(_sfc_main$d, {
|
|
490
477
|
name: unref(leadingIconName),
|
|
491
478
|
"data-slot": "leadingIcon",
|
|
492
|
-
class: ui.value.leadingIcon({ class:
|
|
479
|
+
class: ui.value.leadingIcon({ class: props.ui?.leadingIcon })
|
|
493
480
|
}, null, _parent3, _scopeId2));
|
|
494
481
|
} else if (!!__props.avatar) {
|
|
495
482
|
_push3(ssrRenderComponent(_sfc_main$b, mergeProps({
|
|
496
|
-
size:
|
|
483
|
+
size: props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
497
484
|
}, __props.avatar, {
|
|
498
485
|
"data-slot": "itemLeadingAvatar",
|
|
499
|
-
class: ui.value.itemLeadingAvatar({ class:
|
|
486
|
+
class: ui.value.itemLeadingAvatar({ class: props.ui?.itemLeadingAvatar })
|
|
500
487
|
}), null, _parent3, _scopeId2));
|
|
501
488
|
} else {
|
|
502
489
|
_push3(`<!---->`);
|
|
@@ -513,30 +500,28 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
513
500
|
}, () => {
|
|
514
501
|
_push3(`<!--[-->`);
|
|
515
502
|
ssrRenderList([displayValue(modelValue)], (displayedModelValue) => {
|
|
516
|
-
var _a3, _b3, _c2;
|
|
517
503
|
_push3(`<!--[-->`);
|
|
518
504
|
if (displayedModelValue !== void 0 && displayedModelValue !== null) {
|
|
519
|
-
_push3(`<span data-slot="value" class="${ssrRenderClass(ui.value.value({ class:
|
|
505
|
+
_push3(`<span data-slot="value" class="${ssrRenderClass(ui.value.value({ class: props.ui?.value }))}"${_scopeId2}>${ssrInterpolate(displayedModelValue)}</span>`);
|
|
520
506
|
} else {
|
|
521
|
-
_push3(`<span data-slot="placeholder" class="${ssrRenderClass(ui.value.placeholder({ class:
|
|
507
|
+
_push3(`<span data-slot="placeholder" class="${ssrRenderClass(ui.value.placeholder({ class: props.ui?.placeholder }))}"${_scopeId2}>${ssrInterpolate(__props.placeholder ?? " ")}</span>`);
|
|
522
508
|
}
|
|
523
509
|
_push3(`<!--]-->`);
|
|
524
510
|
});
|
|
525
511
|
_push3(`<!--]-->`);
|
|
526
512
|
}, _push3, _parent3, _scopeId2);
|
|
527
513
|
if (unref(isTrailing) || !!slots.trailing) {
|
|
528
|
-
_push3(`<span data-slot="trailing" class="${ssrRenderClass(ui.value.trailing({ class:
|
|
514
|
+
_push3(`<span data-slot="trailing" class="${ssrRenderClass(ui.value.trailing({ class: props.ui?.trailing }))}"${_scopeId2}>`);
|
|
529
515
|
ssrRenderSlot(_ctx.$slots, "trailing", {
|
|
530
516
|
modelValue,
|
|
531
517
|
open,
|
|
532
518
|
ui: ui.value
|
|
533
519
|
}, () => {
|
|
534
|
-
var _a3;
|
|
535
520
|
if (unref(trailingIconName)) {
|
|
536
521
|
_push3(ssrRenderComponent(_sfc_main$d, {
|
|
537
522
|
name: unref(trailingIconName),
|
|
538
523
|
"data-slot": "trailingIcon",
|
|
539
|
-
class: ui.value.trailingIcon({ class:
|
|
524
|
+
class: ui.value.trailingIcon({ class: props.ui?.trailingIcon })
|
|
540
525
|
}, null, _parent3, _scopeId2));
|
|
541
526
|
} else {
|
|
542
527
|
_push3(`<!---->`);
|
|
@@ -551,29 +536,26 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
551
536
|
unref(isLeading) || !!__props.avatar || !!slots.leading ? (openBlock(), createBlock("span", {
|
|
552
537
|
key: 0,
|
|
553
538
|
"data-slot": "leading",
|
|
554
|
-
class: ui.value.leading({ class:
|
|
539
|
+
class: ui.value.leading({ class: props.ui?.leading })
|
|
555
540
|
}, [
|
|
556
541
|
renderSlot(_ctx.$slots, "leading", {
|
|
557
542
|
modelValue,
|
|
558
543
|
open,
|
|
559
544
|
ui: ui.value
|
|
560
|
-
}, () =>
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)
|
|
575
|
-
];
|
|
576
|
-
})
|
|
545
|
+
}, () => [
|
|
546
|
+
unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
|
|
547
|
+
key: 0,
|
|
548
|
+
name: unref(leadingIconName),
|
|
549
|
+
"data-slot": "leadingIcon",
|
|
550
|
+
class: ui.value.leadingIcon({ class: props.ui?.leadingIcon })
|
|
551
|
+
}, null, 8, ["name", "class"])) : !!__props.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
552
|
+
key: 1,
|
|
553
|
+
size: props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
554
|
+
}, __props.avatar, {
|
|
555
|
+
"data-slot": "itemLeadingAvatar",
|
|
556
|
+
class: ui.value.itemLeadingAvatar({ class: props.ui?.itemLeadingAvatar })
|
|
557
|
+
}), null, 16, ["size", "class"])) : createCommentVNode("", true)
|
|
558
|
+
])
|
|
577
559
|
], 2)) : createCommentVNode("", true),
|
|
578
560
|
renderSlot(_ctx.$slots, "default", {
|
|
579
561
|
modelValue,
|
|
@@ -581,40 +563,36 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
581
563
|
ui: ui.value
|
|
582
564
|
}, () => [
|
|
583
565
|
(openBlock(true), createBlock(Fragment, null, renderList([displayValue(modelValue)], (displayedModelValue) => {
|
|
584
|
-
var _a3, _b3, _c2;
|
|
585
566
|
return openBlock(), createBlock(Fragment, { key: displayedModelValue }, [
|
|
586
567
|
displayedModelValue !== void 0 && displayedModelValue !== null ? (openBlock(), createBlock("span", {
|
|
587
568
|
key: 0,
|
|
588
569
|
"data-slot": "value",
|
|
589
|
-
class: ui.value.value({ class:
|
|
570
|
+
class: ui.value.value({ class: props.ui?.value })
|
|
590
571
|
}, toDisplayString(displayedModelValue), 3)) : (openBlock(), createBlock("span", {
|
|
591
572
|
key: 1,
|
|
592
573
|
"data-slot": "placeholder",
|
|
593
|
-
class: ui.value.placeholder({ class:
|
|
594
|
-
}, toDisplayString(
|
|
574
|
+
class: ui.value.placeholder({ class: props.ui?.placeholder })
|
|
575
|
+
}, toDisplayString(__props.placeholder ?? " "), 3))
|
|
595
576
|
], 64);
|
|
596
577
|
}), 128))
|
|
597
578
|
]),
|
|
598
579
|
unref(isTrailing) || !!slots.trailing ? (openBlock(), createBlock("span", {
|
|
599
580
|
key: 1,
|
|
600
581
|
"data-slot": "trailing",
|
|
601
|
-
class: ui.value.trailing({ class:
|
|
582
|
+
class: ui.value.trailing({ class: props.ui?.trailing })
|
|
602
583
|
}, [
|
|
603
584
|
renderSlot(_ctx.$slots, "trailing", {
|
|
604
585
|
modelValue,
|
|
605
586
|
open,
|
|
606
587
|
ui: ui.value
|
|
607
|
-
}, () =>
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
unref(trailingIconName)
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
}, null, 8, ["name", "class"])) : createCommentVNode("", true)
|
|
616
|
-
];
|
|
617
|
-
})
|
|
588
|
+
}, () => [
|
|
589
|
+
unref(trailingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
|
|
590
|
+
key: 0,
|
|
591
|
+
name: unref(trailingIconName),
|
|
592
|
+
"data-slot": "trailingIcon",
|
|
593
|
+
class: ui.value.trailingIcon({ class: props.ui?.trailingIcon })
|
|
594
|
+
}, null, 8, ["name", "class"])) : createCommentVNode("", true)
|
|
595
|
+
])
|
|
618
596
|
], 2)) : createCommentVNode("", true)
|
|
619
597
|
];
|
|
620
598
|
}
|
|
@@ -623,34 +601,30 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
623
601
|
}, _parent2, _scopeId));
|
|
624
602
|
_push2(ssrRenderComponent(unref(SelectPortal), unref(portalProps), {
|
|
625
603
|
default: withCtx((_, _push3, _parent3, _scopeId2) => {
|
|
626
|
-
var _a2, _b2;
|
|
627
604
|
if (_push3) {
|
|
628
605
|
_push3(ssrRenderComponent(unref(SelectContent), mergeProps({
|
|
629
606
|
"data-slot": "content",
|
|
630
|
-
class: ui.value.content({ class:
|
|
607
|
+
class: ui.value.content({ class: props.ui?.content })
|
|
631
608
|
}, contentProps.value), {
|
|
632
609
|
default: withCtx((_2, _push4, _parent4, _scopeId3) => {
|
|
633
|
-
var _a3, _b3, _c, _d;
|
|
634
610
|
if (_push4) {
|
|
635
611
|
ssrRenderSlot(_ctx.$slots, "content-top", {}, null, _push4, _parent4, _scopeId3);
|
|
636
|
-
_push4(`<div role="presentation" data-slot="viewport" class="${ssrRenderClass(ui.value.viewport({ class:
|
|
612
|
+
_push4(`<div role="presentation" data-slot="viewport" class="${ssrRenderClass(ui.value.viewport({ class: props.ui?.viewport }))}"${_scopeId3}><!--[-->`);
|
|
637
613
|
ssrRenderList(groups.value, (group, groupIndex) => {
|
|
638
|
-
var _a4;
|
|
639
614
|
_push4(ssrRenderComponent(unref(SelectGroup), {
|
|
640
615
|
key: `group-${groupIndex}`,
|
|
641
616
|
"data-slot": "group",
|
|
642
|
-
class: ui.value.group({ class:
|
|
617
|
+
class: ui.value.group({ class: props.ui?.group })
|
|
643
618
|
}, {
|
|
644
619
|
default: withCtx((_3, _push5, _parent5, _scopeId4) => {
|
|
645
620
|
if (_push5) {
|
|
646
621
|
_push5(`<!--[-->`);
|
|
647
622
|
ssrRenderList(group, (item, index) => {
|
|
648
|
-
var _a5, _b4, _c2, _d2, _e, _f;
|
|
649
623
|
_push5(`<!--[-->`);
|
|
650
624
|
if (isSelectItem(item) && item.type === "label") {
|
|
651
625
|
_push5(ssrRenderComponent(unref(SelectLabel), {
|
|
652
626
|
"data-slot": "label",
|
|
653
|
-
class: ui.value.label({ class: [
|
|
627
|
+
class: ui.value.label({ class: [props.ui?.label, item.ui?.label, item.class] })
|
|
654
628
|
}, {
|
|
655
629
|
default: withCtx((_4, _push6, _parent6, _scopeId5) => {
|
|
656
630
|
if (_push6) {
|
|
@@ -666,18 +640,15 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
666
640
|
} else if (isSelectItem(item) && item.type === "separator") {
|
|
667
641
|
_push5(ssrRenderComponent(unref(SelectSeparator), {
|
|
668
642
|
"data-slot": "separator",
|
|
669
|
-
class: ui.value.separator({ class: [
|
|
643
|
+
class: ui.value.separator({ class: [props.ui?.separator, item.ui?.separator, item.class] })
|
|
670
644
|
}, null, _parent5, _scopeId4));
|
|
671
645
|
} else {
|
|
672
646
|
_push5(ssrRenderComponent(unref(SelectItem), {
|
|
673
647
|
"data-slot": "item",
|
|
674
|
-
class: ui.value.item({ class: [
|
|
648
|
+
class: ui.value.item({ class: [props.ui?.item, isSelectItem(item) && item.ui?.item, isSelectItem(item) && item.class] }),
|
|
675
649
|
disabled: isSelectItem(item) && item.disabled,
|
|
676
650
|
value: isSelectItem(item) ? unref(get)(item, props.valueKey) : item,
|
|
677
|
-
onSelect: ($event) =>
|
|
678
|
-
var _a6;
|
|
679
|
-
return isSelectItem(item) && ((_a6 = item.onSelect) == null ? void 0 : _a6.call(item, $event));
|
|
680
|
-
}
|
|
651
|
+
onSelect: ($event) => isSelectItem(item) && item.onSelect?.($event)
|
|
681
652
|
}, {
|
|
682
653
|
default: withCtx((_4, _push6, _parent6, _scopeId5) => {
|
|
683
654
|
if (_push6) {
|
|
@@ -686,43 +657,41 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
686
657
|
index,
|
|
687
658
|
ui: ui.value
|
|
688
659
|
}, () => {
|
|
689
|
-
var _a6, _b5, _c3, _d3, _e2, _f2, _g, _h;
|
|
690
660
|
ssrRenderSlot(_ctx.$slots, "item-leading", {
|
|
691
661
|
item,
|
|
692
662
|
index,
|
|
693
663
|
ui: ui.value
|
|
694
664
|
}, () => {
|
|
695
|
-
var _a7, _b6, _c4, _d4, _e3, _f3, _g2, _h2, _i, _j;
|
|
696
665
|
if (isSelectItem(item) && item.icon) {
|
|
697
666
|
_push6(ssrRenderComponent(_sfc_main$d, {
|
|
698
667
|
name: item.icon,
|
|
699
668
|
"data-slot": "itemLeadingIcon",
|
|
700
|
-
class: ui.value.itemLeadingIcon({ class: [
|
|
669
|
+
class: ui.value.itemLeadingIcon({ class: [props.ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
701
670
|
}, null, _parent6, _scopeId5));
|
|
702
671
|
} else if (isSelectItem(item) && item.avatar) {
|
|
703
672
|
_push6(ssrRenderComponent(_sfc_main$b, mergeProps({
|
|
704
|
-
size:
|
|
673
|
+
size: item.ui?.itemLeadingAvatarSize || props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
705
674
|
}, { ref_for: true }, item.avatar, {
|
|
706
675
|
"data-slot": "itemLeadingAvatar",
|
|
707
|
-
class: ui.value.itemLeadingAvatar({ class: [
|
|
676
|
+
class: ui.value.itemLeadingAvatar({ class: [props.ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
708
677
|
}), null, _parent6, _scopeId5));
|
|
709
678
|
} else if (isSelectItem(item) && item.chip) {
|
|
710
679
|
_push6(ssrRenderComponent(_sfc_main$c, mergeProps({
|
|
711
|
-
size:
|
|
680
|
+
size: item.ui?.itemLeadingChipSize || props.ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
712
681
|
inset: "",
|
|
713
682
|
standalone: ""
|
|
714
683
|
}, { ref_for: true }, item.chip, {
|
|
715
684
|
"data-slot": "itemLeadingChip",
|
|
716
|
-
class: ui.value.itemLeadingChip({ class: [
|
|
685
|
+
class: ui.value.itemLeadingChip({ class: [props.ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
717
686
|
}), null, _parent6, _scopeId5));
|
|
718
687
|
} else {
|
|
719
688
|
_push6(`<!---->`);
|
|
720
689
|
}
|
|
721
690
|
}, _push6, _parent6, _scopeId5);
|
|
722
|
-
_push6(`<span data-slot="itemWrapper" class="${ssrRenderClass(ui.value.itemWrapper({ class: [
|
|
691
|
+
_push6(`<span data-slot="itemWrapper" class="${ssrRenderClass(ui.value.itemWrapper({ class: [props.ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] }))}"${_scopeId5}>`);
|
|
723
692
|
_push6(ssrRenderComponent(unref(SelectItemText), {
|
|
724
693
|
"data-slot": "itemLabel",
|
|
725
|
-
class: ui.value.itemLabel({ class: [
|
|
694
|
+
class: ui.value.itemLabel({ class: [props.ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
726
695
|
}, {
|
|
727
696
|
default: withCtx((_5, _push7, _parent7, _scopeId6) => {
|
|
728
697
|
if (_push7) {
|
|
@@ -746,7 +715,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
746
715
|
_: 2
|
|
747
716
|
}, _parent6, _scopeId5));
|
|
748
717
|
if (isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"])) {
|
|
749
|
-
_push6(`<span data-slot="itemDescription" class="${ssrRenderClass(ui.value.itemDescription({ class: [
|
|
718
|
+
_push6(`<span data-slot="itemDescription" class="${ssrRenderClass(ui.value.itemDescription({ class: [props.ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] }))}"${_scopeId5}>`);
|
|
750
719
|
ssrRenderSlot(_ctx.$slots, "item-description", {
|
|
751
720
|
item,
|
|
752
721
|
index
|
|
@@ -757,7 +726,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
757
726
|
} else {
|
|
758
727
|
_push6(`<!---->`);
|
|
759
728
|
}
|
|
760
|
-
_push6(`</span><span data-slot="itemTrailing" class="${ssrRenderClass(ui.value.itemTrailing({ class: [
|
|
729
|
+
_push6(`</span><span data-slot="itemTrailing" class="${ssrRenderClass(ui.value.itemTrailing({ class: [props.ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] }))}"${_scopeId5}>`);
|
|
761
730
|
ssrRenderSlot(_ctx.$slots, "item-trailing", {
|
|
762
731
|
item,
|
|
763
732
|
index,
|
|
@@ -765,19 +734,18 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
765
734
|
}, null, _push6, _parent6, _scopeId5);
|
|
766
735
|
_push6(ssrRenderComponent(unref(SelectItemIndicator), { "as-child": "" }, {
|
|
767
736
|
default: withCtx((_5, _push7, _parent7, _scopeId6) => {
|
|
768
|
-
var _a7, _b6, _c4, _d4;
|
|
769
737
|
if (_push7) {
|
|
770
738
|
_push7(ssrRenderComponent(_sfc_main$d, {
|
|
771
739
|
name: __props.selectedIcon || unref(appConfig).ui.icons.check,
|
|
772
740
|
"data-slot": "itemTrailingIcon",
|
|
773
|
-
class: ui.value.itemTrailingIcon({ class: [
|
|
741
|
+
class: ui.value.itemTrailingIcon({ class: [props.ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
774
742
|
}, null, _parent7, _scopeId6));
|
|
775
743
|
} else {
|
|
776
744
|
return [
|
|
777
745
|
createVNode(_sfc_main$d, {
|
|
778
746
|
name: __props.selectedIcon || unref(appConfig).ui.icons.check,
|
|
779
747
|
"data-slot": "itemTrailingIcon",
|
|
780
|
-
class: ui.value.itemTrailingIcon({ class: [
|
|
748
|
+
class: ui.value.itemTrailingIcon({ class: [props.ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
781
749
|
}, null, 8, ["name", "class"])
|
|
782
750
|
];
|
|
783
751
|
}
|
|
@@ -792,94 +760,85 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
792
760
|
item,
|
|
793
761
|
index,
|
|
794
762
|
ui: ui.value
|
|
795
|
-
}, () =>
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
"data-slot": "itemLabel",
|
|
833
|
-
class: ui.value.itemLabel({ class: [(_c3 = props.ui) == null ? void 0 : _c3.itemLabel, isSelectItem(item) && ((_d3 = item.ui) == null ? void 0 : _d3.itemLabel)] })
|
|
834
|
-
}, {
|
|
835
|
-
default: withCtx(() => [
|
|
836
|
-
renderSlot(_ctx.$slots, "item-label", {
|
|
837
|
-
item,
|
|
838
|
-
index
|
|
839
|
-
}, () => [
|
|
840
|
-
createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
|
|
841
|
-
])
|
|
842
|
-
]),
|
|
843
|
-
_: 2
|
|
844
|
-
}, 1032, ["class"]),
|
|
845
|
-
isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
|
|
846
|
-
key: 0,
|
|
847
|
-
"data-slot": "itemDescription",
|
|
848
|
-
class: ui.value.itemDescription({ class: [(_e2 = props.ui) == null ? void 0 : _e2.itemDescription, isSelectItem(item) && ((_f2 = item.ui) == null ? void 0 : _f2.itemDescription)] })
|
|
849
|
-
}, [
|
|
850
|
-
renderSlot(_ctx.$slots, "item-description", {
|
|
763
|
+
}, () => [
|
|
764
|
+
renderSlot(_ctx.$slots, "item-leading", {
|
|
765
|
+
item,
|
|
766
|
+
index,
|
|
767
|
+
ui: ui.value
|
|
768
|
+
}, () => [
|
|
769
|
+
isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$d, {
|
|
770
|
+
key: 0,
|
|
771
|
+
name: item.icon,
|
|
772
|
+
"data-slot": "itemLeadingIcon",
|
|
773
|
+
class: ui.value.itemLeadingIcon({ class: [props.ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
774
|
+
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
775
|
+
key: 1,
|
|
776
|
+
size: item.ui?.itemLeadingAvatarSize || props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
777
|
+
}, { ref_for: true }, item.avatar, {
|
|
778
|
+
"data-slot": "itemLeadingAvatar",
|
|
779
|
+
class: ui.value.itemLeadingAvatar({ class: [props.ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
780
|
+
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
|
|
781
|
+
key: 2,
|
|
782
|
+
size: item.ui?.itemLeadingChipSize || props.ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
783
|
+
inset: "",
|
|
784
|
+
standalone: ""
|
|
785
|
+
}, { ref_for: true }, item.chip, {
|
|
786
|
+
"data-slot": "itemLeadingChip",
|
|
787
|
+
class: ui.value.itemLeadingChip({ class: [props.ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
788
|
+
}), null, 16, ["size", "class"])) : createCommentVNode("", true)
|
|
789
|
+
]),
|
|
790
|
+
createVNode("span", {
|
|
791
|
+
"data-slot": "itemWrapper",
|
|
792
|
+
class: ui.value.itemWrapper({ class: [props.ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
793
|
+
}, [
|
|
794
|
+
createVNode(unref(SelectItemText), {
|
|
795
|
+
"data-slot": "itemLabel",
|
|
796
|
+
class: ui.value.itemLabel({ class: [props.ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
797
|
+
}, {
|
|
798
|
+
default: withCtx(() => [
|
|
799
|
+
renderSlot(_ctx.$slots, "item-label", {
|
|
851
800
|
item,
|
|
852
801
|
index
|
|
853
802
|
}, () => [
|
|
854
|
-
createTextVNode(toDisplayString(unref(get)(item, props.
|
|
803
|
+
createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
|
|
855
804
|
])
|
|
856
|
-
]
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
805
|
+
]),
|
|
806
|
+
_: 2
|
|
807
|
+
}, 1032, ["class"]),
|
|
808
|
+
isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
|
|
809
|
+
key: 0,
|
|
810
|
+
"data-slot": "itemDescription",
|
|
811
|
+
class: ui.value.itemDescription({ class: [props.ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
861
812
|
}, [
|
|
862
|
-
renderSlot(_ctx.$slots, "item-
|
|
813
|
+
renderSlot(_ctx.$slots, "item-description", {
|
|
863
814
|
item,
|
|
864
|
-
index
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
815
|
+
index
|
|
816
|
+
}, () => [
|
|
817
|
+
createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
|
|
818
|
+
])
|
|
819
|
+
], 2)) : createCommentVNode("", true)
|
|
820
|
+
], 2),
|
|
821
|
+
createVNode("span", {
|
|
822
|
+
"data-slot": "itemTrailing",
|
|
823
|
+
class: ui.value.itemTrailing({ class: [props.ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
824
|
+
}, [
|
|
825
|
+
renderSlot(_ctx.$slots, "item-trailing", {
|
|
826
|
+
item,
|
|
827
|
+
index,
|
|
828
|
+
ui: ui.value
|
|
829
|
+
}),
|
|
830
|
+
createVNode(unref(SelectItemIndicator), { "as-child": "" }, {
|
|
831
|
+
default: withCtx(() => [
|
|
832
|
+
createVNode(_sfc_main$d, {
|
|
833
|
+
name: __props.selectedIcon || unref(appConfig).ui.icons.check,
|
|
834
|
+
"data-slot": "itemTrailingIcon",
|
|
835
|
+
class: ui.value.itemTrailingIcon({ class: [props.ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
836
|
+
}, null, 8, ["name", "class"])
|
|
837
|
+
]),
|
|
838
|
+
_: 2
|
|
839
|
+
}, 1024)
|
|
840
|
+
], 2)
|
|
841
|
+
])
|
|
883
842
|
];
|
|
884
843
|
}
|
|
885
844
|
}),
|
|
@@ -892,14 +851,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
892
851
|
} else {
|
|
893
852
|
return [
|
|
894
853
|
(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
|
|
895
|
-
var _a5, _b4, _c2, _d2, _e, _f;
|
|
896
854
|
return openBlock(), createBlock(Fragment, {
|
|
897
855
|
key: `group-${groupIndex}-${index}`
|
|
898
856
|
}, [
|
|
899
857
|
isSelectItem(item) && item.type === "label" ? (openBlock(), createBlock(unref(SelectLabel), {
|
|
900
858
|
key: 0,
|
|
901
859
|
"data-slot": "label",
|
|
902
|
-
class: ui.value.label({ class: [
|
|
860
|
+
class: ui.value.label({ class: [props.ui?.label, item.ui?.label, item.class] })
|
|
903
861
|
}, {
|
|
904
862
|
default: withCtx(() => [
|
|
905
863
|
createTextVNode(toDisplayString(unref(get)(item, props.labelKey)), 1)
|
|
@@ -908,111 +866,99 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
908
866
|
}, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (openBlock(), createBlock(unref(SelectSeparator), {
|
|
909
867
|
key: 1,
|
|
910
868
|
"data-slot": "separator",
|
|
911
|
-
class: ui.value.separator({ class: [
|
|
869
|
+
class: ui.value.separator({ class: [props.ui?.separator, item.ui?.separator, item.class] })
|
|
912
870
|
}, null, 8, ["class"])) : (openBlock(), createBlock(unref(SelectItem), {
|
|
913
871
|
key: 2,
|
|
914
872
|
"data-slot": "item",
|
|
915
|
-
class: ui.value.item({ class: [
|
|
873
|
+
class: ui.value.item({ class: [props.ui?.item, isSelectItem(item) && item.ui?.item, isSelectItem(item) && item.class] }),
|
|
916
874
|
disabled: isSelectItem(item) && item.disabled,
|
|
917
875
|
value: isSelectItem(item) ? unref(get)(item, props.valueKey) : item,
|
|
918
|
-
onSelect: ($event) =>
|
|
919
|
-
var _a6;
|
|
920
|
-
return isSelectItem(item) && ((_a6 = item.onSelect) == null ? void 0 : _a6.call(item, $event));
|
|
921
|
-
}
|
|
876
|
+
onSelect: ($event) => isSelectItem(item) && item.onSelect?.($event)
|
|
922
877
|
}, {
|
|
923
878
|
default: withCtx(() => [
|
|
924
879
|
renderSlot(_ctx.$slots, "item", {
|
|
925
880
|
item,
|
|
926
881
|
index,
|
|
927
882
|
ui: ui.value
|
|
928
|
-
}, () =>
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
"data-slot": "itemLabel",
|
|
966
|
-
class: ui.value.itemLabel({ class: [(_c3 = props.ui) == null ? void 0 : _c3.itemLabel, isSelectItem(item) && ((_d3 = item.ui) == null ? void 0 : _d3.itemLabel)] })
|
|
967
|
-
}, {
|
|
968
|
-
default: withCtx(() => [
|
|
969
|
-
renderSlot(_ctx.$slots, "item-label", {
|
|
970
|
-
item,
|
|
971
|
-
index
|
|
972
|
-
}, () => [
|
|
973
|
-
createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
|
|
974
|
-
])
|
|
975
|
-
]),
|
|
976
|
-
_: 2
|
|
977
|
-
}, 1032, ["class"]),
|
|
978
|
-
isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
|
|
979
|
-
key: 0,
|
|
980
|
-
"data-slot": "itemDescription",
|
|
981
|
-
class: ui.value.itemDescription({ class: [(_e2 = props.ui) == null ? void 0 : _e2.itemDescription, isSelectItem(item) && ((_f2 = item.ui) == null ? void 0 : _f2.itemDescription)] })
|
|
982
|
-
}, [
|
|
983
|
-
renderSlot(_ctx.$slots, "item-description", {
|
|
883
|
+
}, () => [
|
|
884
|
+
renderSlot(_ctx.$slots, "item-leading", {
|
|
885
|
+
item,
|
|
886
|
+
index,
|
|
887
|
+
ui: ui.value
|
|
888
|
+
}, () => [
|
|
889
|
+
isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$d, {
|
|
890
|
+
key: 0,
|
|
891
|
+
name: item.icon,
|
|
892
|
+
"data-slot": "itemLeadingIcon",
|
|
893
|
+
class: ui.value.itemLeadingIcon({ class: [props.ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
894
|
+
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
895
|
+
key: 1,
|
|
896
|
+
size: item.ui?.itemLeadingAvatarSize || props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
897
|
+
}, { ref_for: true }, item.avatar, {
|
|
898
|
+
"data-slot": "itemLeadingAvatar",
|
|
899
|
+
class: ui.value.itemLeadingAvatar({ class: [props.ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
900
|
+
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
|
|
901
|
+
key: 2,
|
|
902
|
+
size: item.ui?.itemLeadingChipSize || props.ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
903
|
+
inset: "",
|
|
904
|
+
standalone: ""
|
|
905
|
+
}, { ref_for: true }, item.chip, {
|
|
906
|
+
"data-slot": "itemLeadingChip",
|
|
907
|
+
class: ui.value.itemLeadingChip({ class: [props.ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
908
|
+
}), null, 16, ["size", "class"])) : createCommentVNode("", true)
|
|
909
|
+
]),
|
|
910
|
+
createVNode("span", {
|
|
911
|
+
"data-slot": "itemWrapper",
|
|
912
|
+
class: ui.value.itemWrapper({ class: [props.ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
913
|
+
}, [
|
|
914
|
+
createVNode(unref(SelectItemText), {
|
|
915
|
+
"data-slot": "itemLabel",
|
|
916
|
+
class: ui.value.itemLabel({ class: [props.ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
917
|
+
}, {
|
|
918
|
+
default: withCtx(() => [
|
|
919
|
+
renderSlot(_ctx.$slots, "item-label", {
|
|
984
920
|
item,
|
|
985
921
|
index
|
|
986
922
|
}, () => [
|
|
987
|
-
createTextVNode(toDisplayString(unref(get)(item, props.
|
|
923
|
+
createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
|
|
988
924
|
])
|
|
989
|
-
]
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
925
|
+
]),
|
|
926
|
+
_: 2
|
|
927
|
+
}, 1032, ["class"]),
|
|
928
|
+
isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
|
|
929
|
+
key: 0,
|
|
930
|
+
"data-slot": "itemDescription",
|
|
931
|
+
class: ui.value.itemDescription({ class: [props.ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
994
932
|
}, [
|
|
995
|
-
renderSlot(_ctx.$slots, "item-
|
|
933
|
+
renderSlot(_ctx.$slots, "item-description", {
|
|
996
934
|
item,
|
|
997
|
-
index
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
935
|
+
index
|
|
936
|
+
}, () => [
|
|
937
|
+
createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
|
|
938
|
+
])
|
|
939
|
+
], 2)) : createCommentVNode("", true)
|
|
940
|
+
], 2),
|
|
941
|
+
createVNode("span", {
|
|
942
|
+
"data-slot": "itemTrailing",
|
|
943
|
+
class: ui.value.itemTrailing({ class: [props.ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
944
|
+
}, [
|
|
945
|
+
renderSlot(_ctx.$slots, "item-trailing", {
|
|
946
|
+
item,
|
|
947
|
+
index,
|
|
948
|
+
ui: ui.value
|
|
949
|
+
}),
|
|
950
|
+
createVNode(unref(SelectItemIndicator), { "as-child": "" }, {
|
|
951
|
+
default: withCtx(() => [
|
|
952
|
+
createVNode(_sfc_main$d, {
|
|
953
|
+
name: __props.selectedIcon || unref(appConfig).ui.icons.check,
|
|
954
|
+
"data-slot": "itemTrailingIcon",
|
|
955
|
+
class: ui.value.itemTrailingIcon({ class: [props.ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
956
|
+
}, null, 8, ["name", "class"])
|
|
957
|
+
]),
|
|
958
|
+
_: 2
|
|
959
|
+
}, 1024)
|
|
960
|
+
], 2)
|
|
961
|
+
])
|
|
1016
962
|
]),
|
|
1017
963
|
_: 2
|
|
1018
964
|
}, 1032, ["class", "disabled", "value", "onSelect"]))
|
|
@@ -1029,7 +975,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1029
975
|
if (!!__props.arrow) {
|
|
1030
976
|
_push4(ssrRenderComponent(unref(SelectArrow), mergeProps(arrowProps.value, {
|
|
1031
977
|
"data-slot": "arrow",
|
|
1032
|
-
class: ui.value.arrow({ class:
|
|
978
|
+
class: ui.value.arrow({ class: props.ui?.arrow })
|
|
1033
979
|
}), null, _parent4, _scopeId3));
|
|
1034
980
|
} else {
|
|
1035
981
|
_push4(`<!---->`);
|
|
@@ -1040,25 +986,23 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1040
986
|
createVNode("div", {
|
|
1041
987
|
role: "presentation",
|
|
1042
988
|
"data-slot": "viewport",
|
|
1043
|
-
class: ui.value.viewport({ class:
|
|
989
|
+
class: ui.value.viewport({ class: props.ui?.viewport })
|
|
1044
990
|
}, [
|
|
1045
991
|
(openBlock(true), createBlock(Fragment, null, renderList(groups.value, (group, groupIndex) => {
|
|
1046
|
-
var _a4;
|
|
1047
992
|
return openBlock(), createBlock(unref(SelectGroup), {
|
|
1048
993
|
key: `group-${groupIndex}`,
|
|
1049
994
|
"data-slot": "group",
|
|
1050
|
-
class: ui.value.group({ class:
|
|
995
|
+
class: ui.value.group({ class: props.ui?.group })
|
|
1051
996
|
}, {
|
|
1052
997
|
default: withCtx(() => [
|
|
1053
998
|
(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
|
|
1054
|
-
var _a5, _b4, _c2, _d2, _e, _f;
|
|
1055
999
|
return openBlock(), createBlock(Fragment, {
|
|
1056
1000
|
key: `group-${groupIndex}-${index}`
|
|
1057
1001
|
}, [
|
|
1058
1002
|
isSelectItem(item) && item.type === "label" ? (openBlock(), createBlock(unref(SelectLabel), {
|
|
1059
1003
|
key: 0,
|
|
1060
1004
|
"data-slot": "label",
|
|
1061
|
-
class: ui.value.label({ class: [
|
|
1005
|
+
class: ui.value.label({ class: [props.ui?.label, item.ui?.label, item.class] })
|
|
1062
1006
|
}, {
|
|
1063
1007
|
default: withCtx(() => [
|
|
1064
1008
|
createTextVNode(toDisplayString(unref(get)(item, props.labelKey)), 1)
|
|
@@ -1067,111 +1011,99 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1067
1011
|
}, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (openBlock(), createBlock(unref(SelectSeparator), {
|
|
1068
1012
|
key: 1,
|
|
1069
1013
|
"data-slot": "separator",
|
|
1070
|
-
class: ui.value.separator({ class: [
|
|
1014
|
+
class: ui.value.separator({ class: [props.ui?.separator, item.ui?.separator, item.class] })
|
|
1071
1015
|
}, null, 8, ["class"])) : (openBlock(), createBlock(unref(SelectItem), {
|
|
1072
1016
|
key: 2,
|
|
1073
1017
|
"data-slot": "item",
|
|
1074
|
-
class: ui.value.item({ class: [
|
|
1018
|
+
class: ui.value.item({ class: [props.ui?.item, isSelectItem(item) && item.ui?.item, isSelectItem(item) && item.class] }),
|
|
1075
1019
|
disabled: isSelectItem(item) && item.disabled,
|
|
1076
1020
|
value: isSelectItem(item) ? unref(get)(item, props.valueKey) : item,
|
|
1077
|
-
onSelect: ($event) =>
|
|
1078
|
-
var _a6;
|
|
1079
|
-
return isSelectItem(item) && ((_a6 = item.onSelect) == null ? void 0 : _a6.call(item, $event));
|
|
1080
|
-
}
|
|
1021
|
+
onSelect: ($event) => isSelectItem(item) && item.onSelect?.($event)
|
|
1081
1022
|
}, {
|
|
1082
1023
|
default: withCtx(() => [
|
|
1083
1024
|
renderSlot(_ctx.$slots, "item", {
|
|
1084
1025
|
item,
|
|
1085
1026
|
index,
|
|
1086
1027
|
ui: ui.value
|
|
1087
|
-
}, () =>
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
"data-slot": "itemLabel",
|
|
1125
|
-
class: ui.value.itemLabel({ class: [(_c3 = props.ui) == null ? void 0 : _c3.itemLabel, isSelectItem(item) && ((_d3 = item.ui) == null ? void 0 : _d3.itemLabel)] })
|
|
1126
|
-
}, {
|
|
1127
|
-
default: withCtx(() => [
|
|
1128
|
-
renderSlot(_ctx.$slots, "item-label", {
|
|
1129
|
-
item,
|
|
1130
|
-
index
|
|
1131
|
-
}, () => [
|
|
1132
|
-
createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
|
|
1133
|
-
])
|
|
1134
|
-
]),
|
|
1135
|
-
_: 2
|
|
1136
|
-
}, 1032, ["class"]),
|
|
1137
|
-
isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
|
|
1138
|
-
key: 0,
|
|
1139
|
-
"data-slot": "itemDescription",
|
|
1140
|
-
class: ui.value.itemDescription({ class: [(_e2 = props.ui) == null ? void 0 : _e2.itemDescription, isSelectItem(item) && ((_f2 = item.ui) == null ? void 0 : _f2.itemDescription)] })
|
|
1141
|
-
}, [
|
|
1142
|
-
renderSlot(_ctx.$slots, "item-description", {
|
|
1028
|
+
}, () => [
|
|
1029
|
+
renderSlot(_ctx.$slots, "item-leading", {
|
|
1030
|
+
item,
|
|
1031
|
+
index,
|
|
1032
|
+
ui: ui.value
|
|
1033
|
+
}, () => [
|
|
1034
|
+
isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$d, {
|
|
1035
|
+
key: 0,
|
|
1036
|
+
name: item.icon,
|
|
1037
|
+
"data-slot": "itemLeadingIcon",
|
|
1038
|
+
class: ui.value.itemLeadingIcon({ class: [props.ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
1039
|
+
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
1040
|
+
key: 1,
|
|
1041
|
+
size: item.ui?.itemLeadingAvatarSize || props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
1042
|
+
}, { ref_for: true }, item.avatar, {
|
|
1043
|
+
"data-slot": "itemLeadingAvatar",
|
|
1044
|
+
class: ui.value.itemLeadingAvatar({ class: [props.ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
1045
|
+
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
|
|
1046
|
+
key: 2,
|
|
1047
|
+
size: item.ui?.itemLeadingChipSize || props.ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
1048
|
+
inset: "",
|
|
1049
|
+
standalone: ""
|
|
1050
|
+
}, { ref_for: true }, item.chip, {
|
|
1051
|
+
"data-slot": "itemLeadingChip",
|
|
1052
|
+
class: ui.value.itemLeadingChip({ class: [props.ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
1053
|
+
}), null, 16, ["size", "class"])) : createCommentVNode("", true)
|
|
1054
|
+
]),
|
|
1055
|
+
createVNode("span", {
|
|
1056
|
+
"data-slot": "itemWrapper",
|
|
1057
|
+
class: ui.value.itemWrapper({ class: [props.ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
1058
|
+
}, [
|
|
1059
|
+
createVNode(unref(SelectItemText), {
|
|
1060
|
+
"data-slot": "itemLabel",
|
|
1061
|
+
class: ui.value.itemLabel({ class: [props.ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
1062
|
+
}, {
|
|
1063
|
+
default: withCtx(() => [
|
|
1064
|
+
renderSlot(_ctx.$slots, "item-label", {
|
|
1143
1065
|
item,
|
|
1144
1066
|
index
|
|
1145
1067
|
}, () => [
|
|
1146
|
-
createTextVNode(toDisplayString(unref(get)(item, props.
|
|
1068
|
+
createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
|
|
1147
1069
|
])
|
|
1148
|
-
]
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1070
|
+
]),
|
|
1071
|
+
_: 2
|
|
1072
|
+
}, 1032, ["class"]),
|
|
1073
|
+
isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
|
|
1074
|
+
key: 0,
|
|
1075
|
+
"data-slot": "itemDescription",
|
|
1076
|
+
class: ui.value.itemDescription({ class: [props.ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
1153
1077
|
}, [
|
|
1154
|
-
renderSlot(_ctx.$slots, "item-
|
|
1078
|
+
renderSlot(_ctx.$slots, "item-description", {
|
|
1155
1079
|
item,
|
|
1156
|
-
index
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1080
|
+
index
|
|
1081
|
+
}, () => [
|
|
1082
|
+
createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
|
|
1083
|
+
])
|
|
1084
|
+
], 2)) : createCommentVNode("", true)
|
|
1085
|
+
], 2),
|
|
1086
|
+
createVNode("span", {
|
|
1087
|
+
"data-slot": "itemTrailing",
|
|
1088
|
+
class: ui.value.itemTrailing({ class: [props.ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
1089
|
+
}, [
|
|
1090
|
+
renderSlot(_ctx.$slots, "item-trailing", {
|
|
1091
|
+
item,
|
|
1092
|
+
index,
|
|
1093
|
+
ui: ui.value
|
|
1094
|
+
}),
|
|
1095
|
+
createVNode(unref(SelectItemIndicator), { "as-child": "" }, {
|
|
1096
|
+
default: withCtx(() => [
|
|
1097
|
+
createVNode(_sfc_main$d, {
|
|
1098
|
+
name: __props.selectedIcon || unref(appConfig).ui.icons.check,
|
|
1099
|
+
"data-slot": "itemTrailingIcon",
|
|
1100
|
+
class: ui.value.itemTrailingIcon({ class: [props.ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
1101
|
+
}, null, 8, ["name", "class"])
|
|
1102
|
+
]),
|
|
1103
|
+
_: 2
|
|
1104
|
+
}, 1024)
|
|
1105
|
+
], 2)
|
|
1106
|
+
])
|
|
1175
1107
|
]),
|
|
1176
1108
|
_: 2
|
|
1177
1109
|
}, 1032, ["class", "disabled", "value", "onSelect"]))
|
|
@@ -1185,7 +1117,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1185
1117
|
renderSlot(_ctx.$slots, "content-bottom"),
|
|
1186
1118
|
!!__props.arrow ? (openBlock(), createBlock(unref(SelectArrow), mergeProps({ key: 0 }, arrowProps.value, {
|
|
1187
1119
|
"data-slot": "arrow",
|
|
1188
|
-
class: ui.value.arrow({ class:
|
|
1120
|
+
class: ui.value.arrow({ class: props.ui?.arrow })
|
|
1189
1121
|
}), null, 16, ["class"])) : createCommentVNode("", true)
|
|
1190
1122
|
];
|
|
1191
1123
|
}
|
|
@@ -1196,164 +1128,147 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1196
1128
|
return [
|
|
1197
1129
|
createVNode(unref(SelectContent), mergeProps({
|
|
1198
1130
|
"data-slot": "content",
|
|
1199
|
-
class: ui.value.content({ class:
|
|
1131
|
+
class: ui.value.content({ class: props.ui?.content })
|
|
1200
1132
|
}, contentProps.value), {
|
|
1201
|
-
default: withCtx(() =>
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
}
|
|
1246
|
-
|
|
1247
|
-
default: withCtx(() => [
|
|
1248
|
-
renderSlot(_ctx.$slots, "item", {
|
|
1133
|
+
default: withCtx(() => [
|
|
1134
|
+
renderSlot(_ctx.$slots, "content-top"),
|
|
1135
|
+
createVNode("div", {
|
|
1136
|
+
role: "presentation",
|
|
1137
|
+
"data-slot": "viewport",
|
|
1138
|
+
class: ui.value.viewport({ class: props.ui?.viewport })
|
|
1139
|
+
}, [
|
|
1140
|
+
(openBlock(true), createBlock(Fragment, null, renderList(groups.value, (group, groupIndex) => {
|
|
1141
|
+
return openBlock(), createBlock(unref(SelectGroup), {
|
|
1142
|
+
key: `group-${groupIndex}`,
|
|
1143
|
+
"data-slot": "group",
|
|
1144
|
+
class: ui.value.group({ class: props.ui?.group })
|
|
1145
|
+
}, {
|
|
1146
|
+
default: withCtx(() => [
|
|
1147
|
+
(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
|
|
1148
|
+
return openBlock(), createBlock(Fragment, {
|
|
1149
|
+
key: `group-${groupIndex}-${index}`
|
|
1150
|
+
}, [
|
|
1151
|
+
isSelectItem(item) && item.type === "label" ? (openBlock(), createBlock(unref(SelectLabel), {
|
|
1152
|
+
key: 0,
|
|
1153
|
+
"data-slot": "label",
|
|
1154
|
+
class: ui.value.label({ class: [props.ui?.label, item.ui?.label, item.class] })
|
|
1155
|
+
}, {
|
|
1156
|
+
default: withCtx(() => [
|
|
1157
|
+
createTextVNode(toDisplayString(unref(get)(item, props.labelKey)), 1)
|
|
1158
|
+
]),
|
|
1159
|
+
_: 2
|
|
1160
|
+
}, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (openBlock(), createBlock(unref(SelectSeparator), {
|
|
1161
|
+
key: 1,
|
|
1162
|
+
"data-slot": "separator",
|
|
1163
|
+
class: ui.value.separator({ class: [props.ui?.separator, item.ui?.separator, item.class] })
|
|
1164
|
+
}, null, 8, ["class"])) : (openBlock(), createBlock(unref(SelectItem), {
|
|
1165
|
+
key: 2,
|
|
1166
|
+
"data-slot": "item",
|
|
1167
|
+
class: ui.value.item({ class: [props.ui?.item, isSelectItem(item) && item.ui?.item, isSelectItem(item) && item.class] }),
|
|
1168
|
+
disabled: isSelectItem(item) && item.disabled,
|
|
1169
|
+
value: isSelectItem(item) ? unref(get)(item, props.valueKey) : item,
|
|
1170
|
+
onSelect: ($event) => isSelectItem(item) && item.onSelect?.($event)
|
|
1171
|
+
}, {
|
|
1172
|
+
default: withCtx(() => [
|
|
1173
|
+
renderSlot(_ctx.$slots, "item", {
|
|
1174
|
+
item,
|
|
1175
|
+
index,
|
|
1176
|
+
ui: ui.value
|
|
1177
|
+
}, () => [
|
|
1178
|
+
renderSlot(_ctx.$slots, "item-leading", {
|
|
1249
1179
|
item,
|
|
1250
1180
|
index,
|
|
1251
1181
|
ui: ui.value
|
|
1252
|
-
}, () =>
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
createVNode("span", {
|
|
1285
|
-
"data-slot": "itemWrapper",
|
|
1286
|
-
class: ui.value.itemWrapper({ class: [(_a6 = props.ui) == null ? void 0 : _a6.itemWrapper, isSelectItem(item) && ((_b5 = item.ui) == null ? void 0 : _b5.itemWrapper)] })
|
|
1287
|
-
}, [
|
|
1288
|
-
createVNode(unref(SelectItemText), {
|
|
1289
|
-
"data-slot": "itemLabel",
|
|
1290
|
-
class: ui.value.itemLabel({ class: [(_c2 = props.ui) == null ? void 0 : _c2.itemLabel, isSelectItem(item) && ((_d2 = item.ui) == null ? void 0 : _d2.itemLabel)] })
|
|
1291
|
-
}, {
|
|
1292
|
-
default: withCtx(() => [
|
|
1293
|
-
renderSlot(_ctx.$slots, "item-label", {
|
|
1294
|
-
item,
|
|
1295
|
-
index
|
|
1296
|
-
}, () => [
|
|
1297
|
-
createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
|
|
1298
|
-
])
|
|
1299
|
-
]),
|
|
1300
|
-
_: 2
|
|
1301
|
-
}, 1032, ["class"]),
|
|
1302
|
-
isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
|
|
1303
|
-
key: 0,
|
|
1304
|
-
"data-slot": "itemDescription",
|
|
1305
|
-
class: ui.value.itemDescription({ class: [(_e2 = props.ui) == null ? void 0 : _e2.itemDescription, isSelectItem(item) && ((_f2 = item.ui) == null ? void 0 : _f2.itemDescription)] })
|
|
1306
|
-
}, [
|
|
1307
|
-
renderSlot(_ctx.$slots, "item-description", {
|
|
1308
|
-
item,
|
|
1309
|
-
index
|
|
1310
|
-
}, () => [
|
|
1311
|
-
createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
|
|
1312
|
-
])
|
|
1313
|
-
], 2)) : createCommentVNode("", true)
|
|
1314
|
-
], 2),
|
|
1315
|
-
createVNode("span", {
|
|
1316
|
-
"data-slot": "itemTrailing",
|
|
1317
|
-
class: ui.value.itemTrailing({ class: [(_g = props.ui) == null ? void 0 : _g.itemTrailing, isSelectItem(item) && ((_h = item.ui) == null ? void 0 : _h.itemTrailing)] })
|
|
1318
|
-
}, [
|
|
1319
|
-
renderSlot(_ctx.$slots, "item-trailing", {
|
|
1182
|
+
}, () => [
|
|
1183
|
+
isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$d, {
|
|
1184
|
+
key: 0,
|
|
1185
|
+
name: item.icon,
|
|
1186
|
+
"data-slot": "itemLeadingIcon",
|
|
1187
|
+
class: ui.value.itemLeadingIcon({ class: [props.ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
1188
|
+
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
1189
|
+
key: 1,
|
|
1190
|
+
size: item.ui?.itemLeadingAvatarSize || props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
1191
|
+
}, { ref_for: true }, item.avatar, {
|
|
1192
|
+
"data-slot": "itemLeadingAvatar",
|
|
1193
|
+
class: ui.value.itemLeadingAvatar({ class: [props.ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
1194
|
+
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
|
|
1195
|
+
key: 2,
|
|
1196
|
+
size: item.ui?.itemLeadingChipSize || props.ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
1197
|
+
inset: "",
|
|
1198
|
+
standalone: ""
|
|
1199
|
+
}, { ref_for: true }, item.chip, {
|
|
1200
|
+
"data-slot": "itemLeadingChip",
|
|
1201
|
+
class: ui.value.itemLeadingChip({ class: [props.ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
1202
|
+
}), null, 16, ["size", "class"])) : createCommentVNode("", true)
|
|
1203
|
+
]),
|
|
1204
|
+
createVNode("span", {
|
|
1205
|
+
"data-slot": "itemWrapper",
|
|
1206
|
+
class: ui.value.itemWrapper({ class: [props.ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
1207
|
+
}, [
|
|
1208
|
+
createVNode(unref(SelectItemText), {
|
|
1209
|
+
"data-slot": "itemLabel",
|
|
1210
|
+
class: ui.value.itemLabel({ class: [props.ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
1211
|
+
}, {
|
|
1212
|
+
default: withCtx(() => [
|
|
1213
|
+
renderSlot(_ctx.$slots, "item-label", {
|
|
1320
1214
|
item,
|
|
1321
|
-
index
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1215
|
+
index
|
|
1216
|
+
}, () => [
|
|
1217
|
+
createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
|
|
1218
|
+
])
|
|
1219
|
+
]),
|
|
1220
|
+
_: 2
|
|
1221
|
+
}, 1032, ["class"]),
|
|
1222
|
+
isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
|
|
1223
|
+
key: 0,
|
|
1224
|
+
"data-slot": "itemDescription",
|
|
1225
|
+
class: ui.value.itemDescription({ class: [props.ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
1226
|
+
}, [
|
|
1227
|
+
renderSlot(_ctx.$slots, "item-description", {
|
|
1228
|
+
item,
|
|
1229
|
+
index
|
|
1230
|
+
}, () => [
|
|
1231
|
+
createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
|
|
1232
|
+
])
|
|
1233
|
+
], 2)) : createCommentVNode("", true)
|
|
1234
|
+
], 2),
|
|
1235
|
+
createVNode("span", {
|
|
1236
|
+
"data-slot": "itemTrailing",
|
|
1237
|
+
class: ui.value.itemTrailing({ class: [props.ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
1238
|
+
}, [
|
|
1239
|
+
renderSlot(_ctx.$slots, "item-trailing", {
|
|
1240
|
+
item,
|
|
1241
|
+
index,
|
|
1242
|
+
ui: ui.value
|
|
1243
|
+
}),
|
|
1244
|
+
createVNode(unref(SelectItemIndicator), { "as-child": "" }, {
|
|
1245
|
+
default: withCtx(() => [
|
|
1246
|
+
createVNode(_sfc_main$d, {
|
|
1247
|
+
name: __props.selectedIcon || unref(appConfig).ui.icons.check,
|
|
1248
|
+
"data-slot": "itemTrailingIcon",
|
|
1249
|
+
class: ui.value.itemTrailingIcon({ class: [props.ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
1250
|
+
}, null, 8, ["name", "class"])
|
|
1251
|
+
]),
|
|
1252
|
+
_: 2
|
|
1253
|
+
}, 1024)
|
|
1254
|
+
], 2)
|
|
1255
|
+
])
|
|
1256
|
+
]),
|
|
1257
|
+
_: 2
|
|
1258
|
+
}, 1032, ["class", "disabled", "value", "onSelect"]))
|
|
1259
|
+
], 64);
|
|
1260
|
+
}), 128))
|
|
1261
|
+
]),
|
|
1262
|
+
_: 2
|
|
1263
|
+
}, 1032, ["class"]);
|
|
1264
|
+
}), 128))
|
|
1265
|
+
], 2),
|
|
1266
|
+
renderSlot(_ctx.$slots, "content-bottom"),
|
|
1267
|
+
!!__props.arrow ? (openBlock(), createBlock(unref(SelectArrow), mergeProps({ key: 0 }, arrowProps.value, {
|
|
1268
|
+
"data-slot": "arrow",
|
|
1269
|
+
class: ui.value.arrow({ class: props.ui?.arrow })
|
|
1270
|
+
}), null, 16, ["class"])) : createCommentVNode("", true)
|
|
1271
|
+
]),
|
|
1357
1272
|
_: 3
|
|
1358
1273
|
}, 16, ["class"])
|
|
1359
1274
|
];
|
|
@@ -1368,251 +1283,221 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1368
1283
|
ref_key: "triggerRef",
|
|
1369
1284
|
ref: triggerRef,
|
|
1370
1285
|
"data-slot": "base",
|
|
1371
|
-
class: ui.value.base({ class: [
|
|
1286
|
+
class: ui.value.base({ class: [props.ui?.base, props.class] })
|
|
1372
1287
|
}, { ..._ctx.$attrs, ...unref(ariaAttrs) }), {
|
|
1373
|
-
default: withCtx(() =>
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
}, [
|
|
1381
|
-
renderSlot(_ctx.$slots, "leading", {
|
|
1382
|
-
modelValue,
|
|
1383
|
-
open,
|
|
1384
|
-
ui: ui.value
|
|
1385
|
-
}, () => {
|
|
1386
|
-
var _a3, _b3, _c;
|
|
1387
|
-
return [
|
|
1388
|
-
unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
|
|
1389
|
-
key: 0,
|
|
1390
|
-
name: unref(leadingIconName),
|
|
1391
|
-
"data-slot": "leadingIcon",
|
|
1392
|
-
class: ui.value.leadingIcon({ class: (_a3 = props.ui) == null ? void 0 : _a3.leadingIcon })
|
|
1393
|
-
}, null, 8, ["name", "class"])) : !!__props.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
1394
|
-
key: 1,
|
|
1395
|
-
size: ((_b3 = props.ui) == null ? void 0 : _b3.itemLeadingAvatarSize) || ui.value.itemLeadingAvatarSize()
|
|
1396
|
-
}, __props.avatar, {
|
|
1397
|
-
"data-slot": "itemLeadingAvatar",
|
|
1398
|
-
class: ui.value.itemLeadingAvatar({ class: (_c = props.ui) == null ? void 0 : _c.itemLeadingAvatar })
|
|
1399
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)
|
|
1400
|
-
];
|
|
1401
|
-
})
|
|
1402
|
-
], 2)) : createCommentVNode("", true),
|
|
1403
|
-
renderSlot(_ctx.$slots, "default", {
|
|
1288
|
+
default: withCtx(() => [
|
|
1289
|
+
unref(isLeading) || !!__props.avatar || !!slots.leading ? (openBlock(), createBlock("span", {
|
|
1290
|
+
key: 0,
|
|
1291
|
+
"data-slot": "leading",
|
|
1292
|
+
class: ui.value.leading({ class: props.ui?.leading })
|
|
1293
|
+
}, [
|
|
1294
|
+
renderSlot(_ctx.$slots, "leading", {
|
|
1404
1295
|
modelValue,
|
|
1405
1296
|
open,
|
|
1406
1297
|
ui: ui.value
|
|
1407
1298
|
}, () => [
|
|
1408
|
-
(
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1299
|
+
unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
|
|
1300
|
+
key: 0,
|
|
1301
|
+
name: unref(leadingIconName),
|
|
1302
|
+
"data-slot": "leadingIcon",
|
|
1303
|
+
class: ui.value.leadingIcon({ class: props.ui?.leadingIcon })
|
|
1304
|
+
}, null, 8, ["name", "class"])) : !!__props.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
1305
|
+
key: 1,
|
|
1306
|
+
size: props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
1307
|
+
}, __props.avatar, {
|
|
1308
|
+
"data-slot": "itemLeadingAvatar",
|
|
1309
|
+
class: ui.value.itemLeadingAvatar({ class: props.ui?.itemLeadingAvatar })
|
|
1310
|
+
}), null, 16, ["size", "class"])) : createCommentVNode("", true)
|
|
1311
|
+
])
|
|
1312
|
+
], 2)) : createCommentVNode("", true),
|
|
1313
|
+
renderSlot(_ctx.$slots, "default", {
|
|
1314
|
+
modelValue,
|
|
1315
|
+
open,
|
|
1316
|
+
ui: ui.value
|
|
1317
|
+
}, () => [
|
|
1318
|
+
(openBlock(true), createBlock(Fragment, null, renderList([displayValue(modelValue)], (displayedModelValue) => {
|
|
1319
|
+
return openBlock(), createBlock(Fragment, { key: displayedModelValue }, [
|
|
1320
|
+
displayedModelValue !== void 0 && displayedModelValue !== null ? (openBlock(), createBlock("span", {
|
|
1321
|
+
key: 0,
|
|
1322
|
+
"data-slot": "value",
|
|
1323
|
+
class: ui.value.value({ class: props.ui?.value })
|
|
1324
|
+
}, toDisplayString(displayedModelValue), 3)) : (openBlock(), createBlock("span", {
|
|
1325
|
+
key: 1,
|
|
1326
|
+
"data-slot": "placeholder",
|
|
1327
|
+
class: ui.value.placeholder({ class: props.ui?.placeholder })
|
|
1328
|
+
}, toDisplayString(__props.placeholder ?? " "), 3))
|
|
1329
|
+
], 64);
|
|
1330
|
+
}), 128))
|
|
1331
|
+
]),
|
|
1332
|
+
unref(isTrailing) || !!slots.trailing ? (openBlock(), createBlock("span", {
|
|
1333
|
+
key: 1,
|
|
1334
|
+
"data-slot": "trailing",
|
|
1335
|
+
class: ui.value.trailing({ class: props.ui?.trailing })
|
|
1336
|
+
}, [
|
|
1337
|
+
renderSlot(_ctx.$slots, "trailing", {
|
|
1338
|
+
modelValue,
|
|
1339
|
+
open,
|
|
1340
|
+
ui: ui.value
|
|
1341
|
+
}, () => [
|
|
1342
|
+
unref(trailingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
|
|
1343
|
+
key: 0,
|
|
1344
|
+
name: unref(trailingIconName),
|
|
1345
|
+
"data-slot": "trailingIcon",
|
|
1346
|
+
class: ui.value.trailingIcon({ class: props.ui?.trailingIcon })
|
|
1347
|
+
}, null, 8, ["name", "class"])) : createCommentVNode("", true)
|
|
1348
|
+
])
|
|
1349
|
+
], 2)) : createCommentVNode("", true)
|
|
1350
|
+
]),
|
|
1446
1351
|
_: 2
|
|
1447
1352
|
}, 1040, ["id", "class"]),
|
|
1448
1353
|
createVNode(unref(SelectPortal), unref(portalProps), {
|
|
1449
|
-
default: withCtx(() =>
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1354
|
+
default: withCtx(() => [
|
|
1355
|
+
createVNode(unref(SelectContent), mergeProps({
|
|
1356
|
+
"data-slot": "content",
|
|
1357
|
+
class: ui.value.content({ class: props.ui?.content })
|
|
1358
|
+
}, contentProps.value), {
|
|
1359
|
+
default: withCtx(() => [
|
|
1360
|
+
renderSlot(_ctx.$slots, "content-top"),
|
|
1361
|
+
createVNode("div", {
|
|
1362
|
+
role: "presentation",
|
|
1363
|
+
"data-slot": "viewport",
|
|
1364
|
+
class: ui.value.viewport({ class: props.ui?.viewport })
|
|
1365
|
+
}, [
|
|
1366
|
+
(openBlock(true), createBlock(Fragment, null, renderList(groups.value, (group, groupIndex) => {
|
|
1367
|
+
return openBlock(), createBlock(unref(SelectGroup), {
|
|
1368
|
+
key: `group-${groupIndex}`,
|
|
1369
|
+
"data-slot": "group",
|
|
1370
|
+
class: ui.value.group({ class: props.ui?.group })
|
|
1371
|
+
}, {
|
|
1372
|
+
default: withCtx(() => [
|
|
1373
|
+
(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
|
|
1374
|
+
return openBlock(), createBlock(Fragment, {
|
|
1375
|
+
key: `group-${groupIndex}-${index}`
|
|
1376
|
+
}, [
|
|
1377
|
+
isSelectItem(item) && item.type === "label" ? (openBlock(), createBlock(unref(SelectLabel), {
|
|
1378
|
+
key: 0,
|
|
1379
|
+
"data-slot": "label",
|
|
1380
|
+
class: ui.value.label({ class: [props.ui?.label, item.ui?.label, item.class] })
|
|
1381
|
+
}, {
|
|
1382
|
+
default: withCtx(() => [
|
|
1383
|
+
createTextVNode(toDisplayString(unref(get)(item, props.labelKey)), 1)
|
|
1384
|
+
]),
|
|
1385
|
+
_: 2
|
|
1386
|
+
}, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (openBlock(), createBlock(unref(SelectSeparator), {
|
|
1387
|
+
key: 1,
|
|
1388
|
+
"data-slot": "separator",
|
|
1389
|
+
class: ui.value.separator({ class: [props.ui?.separator, item.ui?.separator, item.class] })
|
|
1390
|
+
}, null, 8, ["class"])) : (openBlock(), createBlock(unref(SelectItem), {
|
|
1391
|
+
key: 2,
|
|
1392
|
+
"data-slot": "item",
|
|
1393
|
+
class: ui.value.item({ class: [props.ui?.item, isSelectItem(item) && item.ui?.item, isSelectItem(item) && item.class] }),
|
|
1394
|
+
disabled: isSelectItem(item) && item.disabled,
|
|
1395
|
+
value: isSelectItem(item) ? unref(get)(item, props.valueKey) : item,
|
|
1396
|
+
onSelect: ($event) => isSelectItem(item) && item.onSelect?.($event)
|
|
1397
|
+
}, {
|
|
1398
|
+
default: withCtx(() => [
|
|
1399
|
+
renderSlot(_ctx.$slots, "item", {
|
|
1400
|
+
item,
|
|
1401
|
+
index,
|
|
1402
|
+
ui: ui.value
|
|
1403
|
+
}, () => [
|
|
1404
|
+
renderSlot(_ctx.$slots, "item-leading", {
|
|
1405
|
+
item,
|
|
1406
|
+
index,
|
|
1407
|
+
ui: ui.value
|
|
1408
|
+
}, () => [
|
|
1409
|
+
isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$d, {
|
|
1410
|
+
key: 0,
|
|
1411
|
+
name: item.icon,
|
|
1412
|
+
"data-slot": "itemLeadingIcon",
|
|
1413
|
+
class: ui.value.itemLeadingIcon({ class: [props.ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
1414
|
+
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
1415
|
+
key: 1,
|
|
1416
|
+
size: item.ui?.itemLeadingAvatarSize || props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
1417
|
+
}, { ref_for: true }, item.avatar, {
|
|
1418
|
+
"data-slot": "itemLeadingAvatar",
|
|
1419
|
+
class: ui.value.itemLeadingAvatar({ class: [props.ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
1420
|
+
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
|
|
1421
|
+
key: 2,
|
|
1422
|
+
size: item.ui?.itemLeadingChipSize || props.ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
1423
|
+
inset: "",
|
|
1424
|
+
standalone: ""
|
|
1425
|
+
}, { ref_for: true }, item.chip, {
|
|
1426
|
+
"data-slot": "itemLeadingChip",
|
|
1427
|
+
class: ui.value.itemLeadingChip({ class: [props.ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
1428
|
+
}), null, 16, ["size", "class"])) : createCommentVNode("", true)
|
|
1485
1429
|
]),
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1430
|
+
createVNode("span", {
|
|
1431
|
+
"data-slot": "itemWrapper",
|
|
1432
|
+
class: ui.value.itemWrapper({ class: [props.ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
1433
|
+
}, [
|
|
1434
|
+
createVNode(unref(SelectItemText), {
|
|
1435
|
+
"data-slot": "itemLabel",
|
|
1436
|
+
class: ui.value.itemLabel({ class: [props.ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
1437
|
+
}, {
|
|
1438
|
+
default: withCtx(() => [
|
|
1439
|
+
renderSlot(_ctx.$slots, "item-label", {
|
|
1440
|
+
item,
|
|
1441
|
+
index
|
|
1442
|
+
}, () => [
|
|
1443
|
+
createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
|
|
1444
|
+
])
|
|
1445
|
+
]),
|
|
1446
|
+
_: 2
|
|
1447
|
+
}, 1032, ["class"]),
|
|
1448
|
+
isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
|
|
1449
|
+
key: 0,
|
|
1450
|
+
"data-slot": "itemDescription",
|
|
1451
|
+
class: ui.value.itemDescription({ class: [props.ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
1452
|
+
}, [
|
|
1453
|
+
renderSlot(_ctx.$slots, "item-description", {
|
|
1454
|
+
item,
|
|
1455
|
+
index
|
|
1456
|
+
}, () => [
|
|
1457
|
+
createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
|
|
1458
|
+
])
|
|
1459
|
+
], 2)) : createCommentVNode("", true)
|
|
1460
|
+
], 2),
|
|
1461
|
+
createVNode("span", {
|
|
1462
|
+
"data-slot": "itemTrailing",
|
|
1463
|
+
class: ui.value.itemTrailing({ class: [props.ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
1464
|
+
}, [
|
|
1465
|
+
renderSlot(_ctx.$slots, "item-trailing", {
|
|
1504
1466
|
item,
|
|
1505
1467
|
index,
|
|
1506
1468
|
ui: ui.value
|
|
1507
|
-
},
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
ui: ui.
|
|
1514
|
-
},
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
createVNode("span", {
|
|
1540
|
-
"data-slot": "itemWrapper",
|
|
1541
|
-
class: ui.value.itemWrapper({ class: [(_a6 = props.ui) == null ? void 0 : _a6.itemWrapper, isSelectItem(item) && ((_b4 = item.ui) == null ? void 0 : _b4.itemWrapper)] })
|
|
1542
|
-
}, [
|
|
1543
|
-
createVNode(unref(SelectItemText), {
|
|
1544
|
-
"data-slot": "itemLabel",
|
|
1545
|
-
class: ui.value.itemLabel({ class: [(_c2 = props.ui) == null ? void 0 : _c2.itemLabel, isSelectItem(item) && ((_d2 = item.ui) == null ? void 0 : _d2.itemLabel)] })
|
|
1546
|
-
}, {
|
|
1547
|
-
default: withCtx(() => [
|
|
1548
|
-
renderSlot(_ctx.$slots, "item-label", {
|
|
1549
|
-
item,
|
|
1550
|
-
index
|
|
1551
|
-
}, () => [
|
|
1552
|
-
createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
|
|
1553
|
-
])
|
|
1554
|
-
]),
|
|
1555
|
-
_: 2
|
|
1556
|
-
}, 1032, ["class"]),
|
|
1557
|
-
isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
|
|
1558
|
-
key: 0,
|
|
1559
|
-
"data-slot": "itemDescription",
|
|
1560
|
-
class: ui.value.itemDescription({ class: [(_e2 = props.ui) == null ? void 0 : _e2.itemDescription, isSelectItem(item) && ((_f2 = item.ui) == null ? void 0 : _f2.itemDescription)] })
|
|
1561
|
-
}, [
|
|
1562
|
-
renderSlot(_ctx.$slots, "item-description", {
|
|
1563
|
-
item,
|
|
1564
|
-
index
|
|
1565
|
-
}, () => [
|
|
1566
|
-
createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
|
|
1567
|
-
])
|
|
1568
|
-
], 2)) : createCommentVNode("", true)
|
|
1569
|
-
], 2),
|
|
1570
|
-
createVNode("span", {
|
|
1571
|
-
"data-slot": "itemTrailing",
|
|
1572
|
-
class: ui.value.itemTrailing({ class: [(_g = props.ui) == null ? void 0 : _g.itemTrailing, isSelectItem(item) && ((_h = item.ui) == null ? void 0 : _h.itemTrailing)] })
|
|
1573
|
-
}, [
|
|
1574
|
-
renderSlot(_ctx.$slots, "item-trailing", {
|
|
1575
|
-
item,
|
|
1576
|
-
index,
|
|
1577
|
-
ui: ui.value
|
|
1578
|
-
}),
|
|
1579
|
-
createVNode(unref(SelectItemIndicator), { "as-child": "" }, {
|
|
1580
|
-
default: withCtx(() => {
|
|
1581
|
-
var _a7, _b5;
|
|
1582
|
-
return [
|
|
1583
|
-
createVNode(_sfc_main$d, {
|
|
1584
|
-
name: __props.selectedIcon || unref(appConfig).ui.icons.check,
|
|
1585
|
-
"data-slot": "itemTrailingIcon",
|
|
1586
|
-
class: ui.value.itemTrailingIcon({ class: [(_a7 = props.ui) == null ? void 0 : _a7.itemTrailingIcon, isSelectItem(item) && ((_b5 = item.ui) == null ? void 0 : _b5.itemTrailingIcon)] })
|
|
1587
|
-
}, null, 8, ["name", "class"])
|
|
1588
|
-
];
|
|
1589
|
-
}),
|
|
1590
|
-
_: 2
|
|
1591
|
-
}, 1024)
|
|
1592
|
-
], 2)
|
|
1593
|
-
];
|
|
1594
|
-
})
|
|
1595
|
-
]),
|
|
1596
|
-
_: 2
|
|
1597
|
-
}, 1032, ["class", "disabled", "value", "onSelect"]))
|
|
1598
|
-
], 64);
|
|
1599
|
-
}), 128))
|
|
1600
|
-
]),
|
|
1601
|
-
_: 2
|
|
1602
|
-
}, 1032, ["class"]);
|
|
1603
|
-
}), 128))
|
|
1604
|
-
], 2),
|
|
1605
|
-
renderSlot(_ctx.$slots, "content-bottom"),
|
|
1606
|
-
!!__props.arrow ? (openBlock(), createBlock(unref(SelectArrow), mergeProps({ key: 0 }, arrowProps.value, {
|
|
1607
|
-
"data-slot": "arrow",
|
|
1608
|
-
class: ui.value.arrow({ class: (_b2 = props.ui) == null ? void 0 : _b2.arrow })
|
|
1609
|
-
}), null, 16, ["class"])) : createCommentVNode("", true)
|
|
1610
|
-
];
|
|
1611
|
-
}),
|
|
1612
|
-
_: 3
|
|
1613
|
-
}, 16, ["class"])
|
|
1614
|
-
];
|
|
1615
|
-
}),
|
|
1469
|
+
}),
|
|
1470
|
+
createVNode(unref(SelectItemIndicator), { "as-child": "" }, {
|
|
1471
|
+
default: withCtx(() => [
|
|
1472
|
+
createVNode(_sfc_main$d, {
|
|
1473
|
+
name: __props.selectedIcon || unref(appConfig).ui.icons.check,
|
|
1474
|
+
"data-slot": "itemTrailingIcon",
|
|
1475
|
+
class: ui.value.itemTrailingIcon({ class: [props.ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
1476
|
+
}, null, 8, ["name", "class"])
|
|
1477
|
+
]),
|
|
1478
|
+
_: 2
|
|
1479
|
+
}, 1024)
|
|
1480
|
+
], 2)
|
|
1481
|
+
])
|
|
1482
|
+
]),
|
|
1483
|
+
_: 2
|
|
1484
|
+
}, 1032, ["class", "disabled", "value", "onSelect"]))
|
|
1485
|
+
], 64);
|
|
1486
|
+
}), 128))
|
|
1487
|
+
]),
|
|
1488
|
+
_: 2
|
|
1489
|
+
}, 1032, ["class"]);
|
|
1490
|
+
}), 128))
|
|
1491
|
+
], 2),
|
|
1492
|
+
renderSlot(_ctx.$slots, "content-bottom"),
|
|
1493
|
+
!!__props.arrow ? (openBlock(), createBlock(unref(SelectArrow), mergeProps({ key: 0 }, arrowProps.value, {
|
|
1494
|
+
"data-slot": "arrow",
|
|
1495
|
+
class: ui.value.arrow({ class: props.ui?.arrow })
|
|
1496
|
+
}), null, 16, ["class"])) : createCommentVNode("", true)
|
|
1497
|
+
]),
|
|
1498
|
+
_: 3
|
|
1499
|
+
}, 16, ["class"])
|
|
1500
|
+
]),
|
|
1616
1501
|
_: 3
|
|
1617
1502
|
}, 16)
|
|
1618
1503
|
];
|