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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _sfc_main$8 } from './Container-DYkNsgEA.mjs';
|
|
2
|
-
import { _ as _sfc_main$9 } from './MDC-
|
|
2
|
+
import { _ as _sfc_main$9 } from './MDC-Dx0YPDhe.mjs';
|
|
3
3
|
import { defineComponent, withAsyncContext, computed, unref, mergeProps, withCtx, createVNode, createBlock, openBlock, Fragment, renderList, toDisplayString, useSlots, createCommentVNode, renderSlot, createTextVNode, ref, watch, useSSRContext } from 'vue';
|
|
4
4
|
import { ssrRenderComponent, ssrRenderAttrs, ssrRenderList, ssrInterpolate, ssrRenderSlot, ssrRenderClass, ssrRenderAttr } from 'vue/server-renderer';
|
|
5
5
|
import { Primitive, useForwardProps } from 'reka-ui';
|
|
@@ -128,41 +128,34 @@ const _sfc_main$7 = {
|
|
|
128
128
|
const props = __props;
|
|
129
129
|
const slots = useSlots();
|
|
130
130
|
const appConfig = useAppConfig();
|
|
131
|
-
const ui = computed(() => {
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
title: !!props.title || !!slots.title
|
|
137
|
-
});
|
|
138
|
-
});
|
|
131
|
+
const ui = computed(() => tv({ extend: tv(theme$6), ...appConfig.ui?.pageHero || {} })({
|
|
132
|
+
orientation: props.orientation,
|
|
133
|
+
reverse: props.reverse,
|
|
134
|
+
title: !!props.title || !!slots.title
|
|
135
|
+
}));
|
|
139
136
|
return (_ctx, _push, _parent, _attrs) => {
|
|
140
|
-
var _a;
|
|
141
137
|
_push(ssrRenderComponent(unref(Primitive), mergeProps({
|
|
142
138
|
as: __props.as,
|
|
143
139
|
"data-orientation": __props.orientation,
|
|
144
140
|
"data-slot": "root",
|
|
145
|
-
class: ui.value.root({ class: [
|
|
141
|
+
class: ui.value.root({ class: [props.ui?.root, props.class] })
|
|
146
142
|
}, _attrs), {
|
|
147
143
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
148
|
-
var _a2, _b;
|
|
149
144
|
if (_push2) {
|
|
150
145
|
ssrRenderSlot(_ctx.$slots, "top", {}, null, _push2, _parent2, _scopeId);
|
|
151
146
|
_push2(ssrRenderComponent(_sfc_main$8, {
|
|
152
147
|
"data-slot": "container",
|
|
153
|
-
class: ui.value.container({ class:
|
|
148
|
+
class: ui.value.container({ class: props.ui?.container })
|
|
154
149
|
}, {
|
|
155
150
|
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
156
|
-
var _a3, _b2, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
157
151
|
if (_push3) {
|
|
158
|
-
if (!!slots.header || (__props.headline || !!slots.headline) || (__props.title || !!slots.title) || (__props.description || !!slots.description) || !!slots.body || !!slots.footer || (
|
|
159
|
-
_push3(`<div data-slot="wrapper" class="${ssrRenderClass(ui.value.wrapper({ class:
|
|
152
|
+
if (!!slots.header || (__props.headline || !!slots.headline) || (__props.title || !!slots.title) || (__props.description || !!slots.description) || !!slots.body || !!slots.footer || (__props.links?.length || !!slots.links)) {
|
|
153
|
+
_push3(`<div data-slot="wrapper" class="${ssrRenderClass(ui.value.wrapper({ class: props.ui?.wrapper }))}"${_scopeId2}>`);
|
|
160
154
|
if (!!slots.header || (__props.headline || !!slots.headline) || (__props.title || !!slots.title) || (__props.description || !!slots.description)) {
|
|
161
|
-
_push3(`<div data-slot="header" class="${ssrRenderClass(ui.value.header({ class:
|
|
155
|
+
_push3(`<div data-slot="header" class="${ssrRenderClass(ui.value.header({ class: props.ui?.header }))}"${_scopeId2}>`);
|
|
162
156
|
ssrRenderSlot(_ctx.$slots, "header", {}, () => {
|
|
163
|
-
var _a4, _b3, _c2;
|
|
164
157
|
if (__props.headline || !!slots.headline) {
|
|
165
|
-
_push3(`<div data-slot="headline" class="${ssrRenderClass(ui.value.headline({ class:
|
|
158
|
+
_push3(`<div data-slot="headline" class="${ssrRenderClass(ui.value.headline({ class: props.ui?.headline, headline: !slots.headline }))}"${_scopeId2}>`);
|
|
166
159
|
ssrRenderSlot(_ctx.$slots, "headline", {}, () => {
|
|
167
160
|
_push3(`${ssrInterpolate(__props.headline)}`);
|
|
168
161
|
}, _push3, _parent3, _scopeId2);
|
|
@@ -171,7 +164,7 @@ const _sfc_main$7 = {
|
|
|
171
164
|
_push3(`<!---->`);
|
|
172
165
|
}
|
|
173
166
|
if (__props.title || !!slots.title) {
|
|
174
|
-
_push3(`<h1 data-slot="title" class="${ssrRenderClass(ui.value.title({ class:
|
|
167
|
+
_push3(`<h1 data-slot="title" class="${ssrRenderClass(ui.value.title({ class: props.ui?.title }))}"${_scopeId2}>`);
|
|
175
168
|
ssrRenderSlot(_ctx.$slots, "title", {}, () => {
|
|
176
169
|
_push3(`${ssrInterpolate(__props.title)}`);
|
|
177
170
|
}, _push3, _parent3, _scopeId2);
|
|
@@ -180,7 +173,7 @@ const _sfc_main$7 = {
|
|
|
180
173
|
_push3(`<!---->`);
|
|
181
174
|
}
|
|
182
175
|
if (__props.description || !!slots.description) {
|
|
183
|
-
_push3(`<div data-slot="description" class="${ssrRenderClass(ui.value.description({ class:
|
|
176
|
+
_push3(`<div data-slot="description" class="${ssrRenderClass(ui.value.description({ class: props.ui?.description }))}"${_scopeId2}>`);
|
|
184
177
|
ssrRenderSlot(_ctx.$slots, "description", {}, () => {
|
|
185
178
|
_push3(`${ssrInterpolate(__props.description)}`);
|
|
186
179
|
}, _push3, _parent3, _scopeId2);
|
|
@@ -194,18 +187,17 @@ const _sfc_main$7 = {
|
|
|
194
187
|
_push3(`<!---->`);
|
|
195
188
|
}
|
|
196
189
|
if (!!slots.body) {
|
|
197
|
-
_push3(`<div data-slot="body" class="${ssrRenderClass(ui.value.body({ class:
|
|
190
|
+
_push3(`<div data-slot="body" class="${ssrRenderClass(ui.value.body({ class: props.ui?.body }))}"${_scopeId2}>`);
|
|
198
191
|
ssrRenderSlot(_ctx.$slots, "body", {}, null, _push3, _parent3, _scopeId2);
|
|
199
192
|
_push3(`</div>`);
|
|
200
193
|
} else {
|
|
201
194
|
_push3(`<!---->`);
|
|
202
195
|
}
|
|
203
|
-
if (!!slots.footer || (
|
|
204
|
-
_push3(`<div data-slot="footer" class="${ssrRenderClass(ui.value.footer({ class:
|
|
196
|
+
if (!!slots.footer || (__props.links?.length || !!slots.links)) {
|
|
197
|
+
_push3(`<div data-slot="footer" class="${ssrRenderClass(ui.value.footer({ class: props.ui?.footer }))}"${_scopeId2}>`);
|
|
205
198
|
ssrRenderSlot(_ctx.$slots, "footer", {}, () => {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
_push3(`<div data-slot="links" class="${ssrRenderClass(ui.value.links({ class: (_b3 = props.ui) == null ? void 0 : _b3.links }))}"${_scopeId2}>`);
|
|
199
|
+
if (__props.links?.length || !!slots.links) {
|
|
200
|
+
_push3(`<div data-slot="links" class="${ssrRenderClass(ui.value.links({ class: props.ui?.links }))}"${_scopeId2}>`);
|
|
209
201
|
ssrRenderSlot(_ctx.$slots, "links", {}, () => {
|
|
210
202
|
_push3(`<!--[-->`);
|
|
211
203
|
ssrRenderList(__props.links, (link, index) => {
|
|
@@ -238,80 +230,74 @@ const _sfc_main$7 = {
|
|
|
238
230
|
}
|
|
239
231
|
} else {
|
|
240
232
|
return [
|
|
241
|
-
!!slots.header || (__props.headline || !!slots.headline) || (__props.title || !!slots.title) || (__props.description || !!slots.description) || !!slots.body || !!slots.footer || (
|
|
233
|
+
!!slots.header || (__props.headline || !!slots.headline) || (__props.title || !!slots.title) || (__props.description || !!slots.description) || !!slots.body || !!slots.footer || (__props.links?.length || !!slots.links) ? (openBlock(), createBlock("div", {
|
|
242
234
|
key: 0,
|
|
243
235
|
"data-slot": "wrapper",
|
|
244
|
-
class: ui.value.wrapper({ class:
|
|
236
|
+
class: ui.value.wrapper({ class: props.ui?.wrapper })
|
|
245
237
|
}, [
|
|
246
238
|
!!slots.header || (__props.headline || !!slots.headline) || (__props.title || !!slots.title) || (__props.description || !!slots.description) ? (openBlock(), createBlock("div", {
|
|
247
239
|
key: 0,
|
|
248
240
|
"data-slot": "header",
|
|
249
|
-
class: ui.value.header({ class:
|
|
241
|
+
class: ui.value.header({ class: props.ui?.header })
|
|
250
242
|
}, [
|
|
251
|
-
renderSlot(_ctx.$slots, "header", {}, () =>
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
], 2)) : createCommentVNode("", true)
|
|
281
|
-
];
|
|
282
|
-
})
|
|
243
|
+
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
244
|
+
__props.headline || !!slots.headline ? (openBlock(), createBlock("div", {
|
|
245
|
+
key: 0,
|
|
246
|
+
"data-slot": "headline",
|
|
247
|
+
class: ui.value.headline({ class: props.ui?.headline, headline: !slots.headline })
|
|
248
|
+
}, [
|
|
249
|
+
renderSlot(_ctx.$slots, "headline", {}, () => [
|
|
250
|
+
createTextVNode(toDisplayString(__props.headline), 1)
|
|
251
|
+
])
|
|
252
|
+
], 2)) : createCommentVNode("", true),
|
|
253
|
+
__props.title || !!slots.title ? (openBlock(), createBlock("h1", {
|
|
254
|
+
key: 1,
|
|
255
|
+
"data-slot": "title",
|
|
256
|
+
class: ui.value.title({ class: props.ui?.title })
|
|
257
|
+
}, [
|
|
258
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
259
|
+
createTextVNode(toDisplayString(__props.title), 1)
|
|
260
|
+
])
|
|
261
|
+
], 2)) : createCommentVNode("", true),
|
|
262
|
+
__props.description || !!slots.description ? (openBlock(), createBlock("div", {
|
|
263
|
+
key: 2,
|
|
264
|
+
"data-slot": "description",
|
|
265
|
+
class: ui.value.description({ class: props.ui?.description })
|
|
266
|
+
}, [
|
|
267
|
+
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
268
|
+
createTextVNode(toDisplayString(__props.description), 1)
|
|
269
|
+
])
|
|
270
|
+
], 2)) : createCommentVNode("", true)
|
|
271
|
+
])
|
|
283
272
|
], 2)) : createCommentVNode("", true),
|
|
284
273
|
!!slots.body ? (openBlock(), createBlock("div", {
|
|
285
274
|
key: 1,
|
|
286
275
|
"data-slot": "body",
|
|
287
|
-
class: ui.value.body({ class:
|
|
276
|
+
class: ui.value.body({ class: props.ui?.body })
|
|
288
277
|
}, [
|
|
289
278
|
renderSlot(_ctx.$slots, "body")
|
|
290
279
|
], 2)) : createCommentVNode("", true),
|
|
291
|
-
!!slots.footer || (
|
|
280
|
+
!!slots.footer || (__props.links?.length || !!slots.links) ? (openBlock(), createBlock("div", {
|
|
292
281
|
key: 2,
|
|
293
282
|
"data-slot": "footer",
|
|
294
|
-
class: ui.value.footer({ class:
|
|
283
|
+
class: ui.value.footer({ class: props.ui?.footer })
|
|
295
284
|
}, [
|
|
296
|
-
renderSlot(_ctx.$slots, "footer", {}, () =>
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
], 2)) : createCommentVNode("", true)
|
|
313
|
-
];
|
|
314
|
-
})
|
|
285
|
+
renderSlot(_ctx.$slots, "footer", {}, () => [
|
|
286
|
+
__props.links?.length || !!slots.links ? (openBlock(), createBlock("div", {
|
|
287
|
+
key: 0,
|
|
288
|
+
"data-slot": "links",
|
|
289
|
+
class: ui.value.links({ class: props.ui?.links })
|
|
290
|
+
}, [
|
|
291
|
+
renderSlot(_ctx.$slots, "links", {}, () => [
|
|
292
|
+
(openBlock(true), createBlock(Fragment, null, renderList(__props.links, (link, index) => {
|
|
293
|
+
return openBlock(), createBlock(_sfc_main$8$1, mergeProps({
|
|
294
|
+
key: index,
|
|
295
|
+
size: "xl"
|
|
296
|
+
}, { ref_for: true }, link), null, 16);
|
|
297
|
+
}), 128))
|
|
298
|
+
])
|
|
299
|
+
], 2)) : createCommentVNode("", true)
|
|
300
|
+
])
|
|
315
301
|
], 2)) : createCommentVNode("", true)
|
|
316
302
|
], 2)) : createCommentVNode("", true),
|
|
317
303
|
!!slots.default ? renderSlot(_ctx.$slots, "default", { key: 1 }) : __props.orientation === "horizontal" ? (openBlock(), createBlock("div", {
|
|
@@ -329,93 +315,84 @@ const _sfc_main$7 = {
|
|
|
329
315
|
renderSlot(_ctx.$slots, "top"),
|
|
330
316
|
createVNode(_sfc_main$8, {
|
|
331
317
|
"data-slot": "container",
|
|
332
|
-
class: ui.value.container({ class:
|
|
318
|
+
class: ui.value.container({ class: props.ui?.container })
|
|
333
319
|
}, {
|
|
334
|
-
default: withCtx(() =>
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
320
|
+
default: withCtx(() => [
|
|
321
|
+
!!slots.header || (__props.headline || !!slots.headline) || (__props.title || !!slots.title) || (__props.description || !!slots.description) || !!slots.body || !!slots.footer || (__props.links?.length || !!slots.links) ? (openBlock(), createBlock("div", {
|
|
322
|
+
key: 0,
|
|
323
|
+
"data-slot": "wrapper",
|
|
324
|
+
class: ui.value.wrapper({ class: props.ui?.wrapper })
|
|
325
|
+
}, [
|
|
326
|
+
!!slots.header || (__props.headline || !!slots.headline) || (__props.title || !!slots.title) || (__props.description || !!slots.description) ? (openBlock(), createBlock("div", {
|
|
338
327
|
key: 0,
|
|
339
|
-
"data-slot": "
|
|
340
|
-
class: ui.value.
|
|
328
|
+
"data-slot": "header",
|
|
329
|
+
class: ui.value.header({ class: props.ui?.header })
|
|
341
330
|
}, [
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
class: ui.value.description({ class: (_c2 = props.ui) == null ? void 0 : _c2.description })
|
|
372
|
-
}, [
|
|
373
|
-
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
374
|
-
createTextVNode(toDisplayString(__props.description), 1)
|
|
375
|
-
])
|
|
376
|
-
], 2)) : createCommentVNode("", true)
|
|
377
|
-
];
|
|
378
|
-
})
|
|
379
|
-
], 2)) : createCommentVNode("", true),
|
|
380
|
-
!!slots.body ? (openBlock(), createBlock("div", {
|
|
381
|
-
key: 1,
|
|
382
|
-
"data-slot": "body",
|
|
383
|
-
class: ui.value.body({ class: (_d = props.ui) == null ? void 0 : _d.body })
|
|
384
|
-
}, [
|
|
385
|
-
renderSlot(_ctx.$slots, "body")
|
|
386
|
-
], 2)) : createCommentVNode("", true),
|
|
387
|
-
!!slots.footer || (((_e = __props.links) == null ? void 0 : _e.length) || !!slots.links) ? (openBlock(), createBlock("div", {
|
|
388
|
-
key: 2,
|
|
389
|
-
"data-slot": "footer",
|
|
390
|
-
class: ui.value.footer({ class: (_f = props.ui) == null ? void 0 : _f.footer })
|
|
391
|
-
}, [
|
|
392
|
-
renderSlot(_ctx.$slots, "footer", {}, () => {
|
|
393
|
-
var _a4, _b3;
|
|
394
|
-
return [
|
|
395
|
-
((_a4 = __props.links) == null ? void 0 : _a4.length) || !!slots.links ? (openBlock(), createBlock("div", {
|
|
396
|
-
key: 0,
|
|
397
|
-
"data-slot": "links",
|
|
398
|
-
class: ui.value.links({ class: (_b3 = props.ui) == null ? void 0 : _b3.links })
|
|
399
|
-
}, [
|
|
400
|
-
renderSlot(_ctx.$slots, "links", {}, () => [
|
|
401
|
-
(openBlock(true), createBlock(Fragment, null, renderList(__props.links, (link, index) => {
|
|
402
|
-
return openBlock(), createBlock(_sfc_main$8$1, mergeProps({
|
|
403
|
-
key: index,
|
|
404
|
-
size: "xl"
|
|
405
|
-
}, { ref_for: true }, link), null, 16);
|
|
406
|
-
}), 128))
|
|
407
|
-
])
|
|
408
|
-
], 2)) : createCommentVNode("", true)
|
|
409
|
-
];
|
|
410
|
-
})
|
|
411
|
-
], 2)) : createCommentVNode("", true)
|
|
331
|
+
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
332
|
+
__props.headline || !!slots.headline ? (openBlock(), createBlock("div", {
|
|
333
|
+
key: 0,
|
|
334
|
+
"data-slot": "headline",
|
|
335
|
+
class: ui.value.headline({ class: props.ui?.headline, headline: !slots.headline })
|
|
336
|
+
}, [
|
|
337
|
+
renderSlot(_ctx.$slots, "headline", {}, () => [
|
|
338
|
+
createTextVNode(toDisplayString(__props.headline), 1)
|
|
339
|
+
])
|
|
340
|
+
], 2)) : createCommentVNode("", true),
|
|
341
|
+
__props.title || !!slots.title ? (openBlock(), createBlock("h1", {
|
|
342
|
+
key: 1,
|
|
343
|
+
"data-slot": "title",
|
|
344
|
+
class: ui.value.title({ class: props.ui?.title })
|
|
345
|
+
}, [
|
|
346
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
347
|
+
createTextVNode(toDisplayString(__props.title), 1)
|
|
348
|
+
])
|
|
349
|
+
], 2)) : createCommentVNode("", true),
|
|
350
|
+
__props.description || !!slots.description ? (openBlock(), createBlock("div", {
|
|
351
|
+
key: 2,
|
|
352
|
+
"data-slot": "description",
|
|
353
|
+
class: ui.value.description({ class: props.ui?.description })
|
|
354
|
+
}, [
|
|
355
|
+
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
356
|
+
createTextVNode(toDisplayString(__props.description), 1)
|
|
357
|
+
])
|
|
358
|
+
], 2)) : createCommentVNode("", true)
|
|
359
|
+
])
|
|
412
360
|
], 2)) : createCommentVNode("", true),
|
|
413
|
-
!!slots.
|
|
361
|
+
!!slots.body ? (openBlock(), createBlock("div", {
|
|
362
|
+
key: 1,
|
|
363
|
+
"data-slot": "body",
|
|
364
|
+
class: ui.value.body({ class: props.ui?.body })
|
|
365
|
+
}, [
|
|
366
|
+
renderSlot(_ctx.$slots, "body")
|
|
367
|
+
], 2)) : createCommentVNode("", true),
|
|
368
|
+
!!slots.footer || (__props.links?.length || !!slots.links) ? (openBlock(), createBlock("div", {
|
|
414
369
|
key: 2,
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
370
|
+
"data-slot": "footer",
|
|
371
|
+
class: ui.value.footer({ class: props.ui?.footer })
|
|
372
|
+
}, [
|
|
373
|
+
renderSlot(_ctx.$slots, "footer", {}, () => [
|
|
374
|
+
__props.links?.length || !!slots.links ? (openBlock(), createBlock("div", {
|
|
375
|
+
key: 0,
|
|
376
|
+
"data-slot": "links",
|
|
377
|
+
class: ui.value.links({ class: props.ui?.links })
|
|
378
|
+
}, [
|
|
379
|
+
renderSlot(_ctx.$slots, "links", {}, () => [
|
|
380
|
+
(openBlock(true), createBlock(Fragment, null, renderList(__props.links, (link, index) => {
|
|
381
|
+
return openBlock(), createBlock(_sfc_main$8$1, mergeProps({
|
|
382
|
+
key: index,
|
|
383
|
+
size: "xl"
|
|
384
|
+
}, { ref_for: true }, link), null, 16);
|
|
385
|
+
}), 128))
|
|
386
|
+
])
|
|
387
|
+
], 2)) : createCommentVNode("", true)
|
|
388
|
+
])
|
|
389
|
+
], 2)) : createCommentVNode("", true)
|
|
390
|
+
], 2)) : createCommentVNode("", true),
|
|
391
|
+
!!slots.default ? renderSlot(_ctx.$slots, "default", { key: 1 }) : __props.orientation === "horizontal" ? (openBlock(), createBlock("div", {
|
|
392
|
+
key: 2,
|
|
393
|
+
class: "hidden lg:block"
|
|
394
|
+
})) : createCommentVNode("", true)
|
|
395
|
+
]),
|
|
419
396
|
_: 3
|
|
420
397
|
}, 8, ["class"]),
|
|
421
398
|
renderSlot(_ctx.$slots, "bottom")
|
|
@@ -486,39 +463,33 @@ const _sfc_main$6 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
486
463
|
const props = __props;
|
|
487
464
|
const slots = useSlots();
|
|
488
465
|
const appConfig = useAppConfig();
|
|
489
|
-
const ui = computed(() => {
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
to: !!props.to || !!props.onClick
|
|
495
|
-
});
|
|
496
|
-
});
|
|
466
|
+
const ui = computed(() => tv({ extend: tv(theme$5), ...appConfig.ui?.pageFeature || {} })({
|
|
467
|
+
orientation: props.orientation,
|
|
468
|
+
title: !!props.title || !!slots.title,
|
|
469
|
+
to: !!props.to || !!props.onClick
|
|
470
|
+
}));
|
|
497
471
|
const ariaLabel = computed(() => {
|
|
498
472
|
const slotText = slots.title && getSlotChildrenText(slots.title());
|
|
499
473
|
return (slotText || props.title || "Feature link").trim();
|
|
500
474
|
});
|
|
501
475
|
return (_ctx, _push, _parent, _attrs) => {
|
|
502
|
-
var _a;
|
|
503
476
|
_push(ssrRenderComponent(unref(Primitive), mergeProps({
|
|
504
477
|
as: __props.as,
|
|
505
478
|
"data-orientation": __props.orientation,
|
|
506
479
|
"data-slot": "root",
|
|
507
|
-
class: ui.value.root({ class: [
|
|
480
|
+
class: ui.value.root({ class: [props.ui?.root, props.class] }),
|
|
508
481
|
onClick: __props.onClick
|
|
509
482
|
}, _attrs), {
|
|
510
483
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
511
|
-
var _a2, _b, _c, _d;
|
|
512
484
|
if (_push2) {
|
|
513
485
|
if (__props.icon || !!slots.leading) {
|
|
514
|
-
_push2(`<div data-slot="leading" class="${ssrRenderClass(ui.value.leading({ class:
|
|
486
|
+
_push2(`<div data-slot="leading" class="${ssrRenderClass(ui.value.leading({ class: props.ui?.leading }))}"${_scopeId}>`);
|
|
515
487
|
ssrRenderSlot(_ctx.$slots, "leading", { ui: ui.value }, () => {
|
|
516
|
-
var _a3;
|
|
517
488
|
if (__props.icon) {
|
|
518
489
|
_push2(ssrRenderComponent(_sfc_main$d, {
|
|
519
490
|
name: __props.icon,
|
|
520
491
|
"data-slot": "leadingIcon",
|
|
521
|
-
class: ui.value.leadingIcon({ class:
|
|
492
|
+
class: ui.value.leadingIcon({ class: props.ui?.leadingIcon })
|
|
522
493
|
}, null, _parent2, _scopeId));
|
|
523
494
|
} else {
|
|
524
495
|
_push2(`<!---->`);
|
|
@@ -528,7 +499,7 @@ const _sfc_main$6 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
528
499
|
} else {
|
|
529
500
|
_push2(`<!---->`);
|
|
530
501
|
}
|
|
531
|
-
_push2(`<div data-slot="wrapper" class="${ssrRenderClass(ui.value.wrapper({ class:
|
|
502
|
+
_push2(`<div data-slot="wrapper" class="${ssrRenderClass(ui.value.wrapper({ class: props.ui?.wrapper }))}"${_scopeId}>`);
|
|
532
503
|
if (__props.to) {
|
|
533
504
|
_push2(ssrRenderComponent(_sfc_main$9$1, mergeProps({ "aria-label": ariaLabel.value }, { to: __props.to, target: __props.target, ..._ctx.$attrs }, {
|
|
534
505
|
class: "focus:outline-none peer",
|
|
@@ -552,9 +523,8 @@ const _sfc_main$6 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
552
523
|
_push2(`<!---->`);
|
|
553
524
|
}
|
|
554
525
|
ssrRenderSlot(_ctx.$slots, "default", {}, () => {
|
|
555
|
-
var _a3, _b2;
|
|
556
526
|
if (__props.title || !!slots.title) {
|
|
557
|
-
_push2(`<div data-slot="title" class="${ssrRenderClass(ui.value.title({ class:
|
|
527
|
+
_push2(`<div data-slot="title" class="${ssrRenderClass(ui.value.title({ class: props.ui?.title }))}"${_scopeId}>`);
|
|
558
528
|
ssrRenderSlot(_ctx.$slots, "title", {}, () => {
|
|
559
529
|
_push2(`${ssrInterpolate(__props.title)}`);
|
|
560
530
|
}, _push2, _parent2, _scopeId);
|
|
@@ -563,7 +533,7 @@ const _sfc_main$6 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
563
533
|
_push2(`<!---->`);
|
|
564
534
|
}
|
|
565
535
|
if (__props.description || !!slots.description) {
|
|
566
|
-
_push2(`<div data-slot="description" class="${ssrRenderClass(ui.value.description({ class:
|
|
536
|
+
_push2(`<div data-slot="description" class="${ssrRenderClass(ui.value.description({ class: props.ui?.description }))}"${_scopeId}>`);
|
|
567
537
|
ssrRenderSlot(_ctx.$slots, "description", {}, () => {
|
|
568
538
|
_push2(`${ssrInterpolate(__props.description)}`);
|
|
569
539
|
}, _push2, _parent2, _scopeId);
|
|
@@ -578,23 +548,20 @@ const _sfc_main$6 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
578
548
|
__props.icon || !!slots.leading ? (openBlock(), createBlock("div", {
|
|
579
549
|
key: 0,
|
|
580
550
|
"data-slot": "leading",
|
|
581
|
-
class: ui.value.leading({ class:
|
|
551
|
+
class: ui.value.leading({ class: props.ui?.leading })
|
|
582
552
|
}, [
|
|
583
|
-
renderSlot(_ctx.$slots, "leading", { ui: ui.value }, () =>
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
__props.icon
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
}, null, 8, ["name", "class"])) : createCommentVNode("", true)
|
|
592
|
-
];
|
|
593
|
-
})
|
|
553
|
+
renderSlot(_ctx.$slots, "leading", { ui: ui.value }, () => [
|
|
554
|
+
__props.icon ? (openBlock(), createBlock(_sfc_main$d, {
|
|
555
|
+
key: 0,
|
|
556
|
+
name: __props.icon,
|
|
557
|
+
"data-slot": "leadingIcon",
|
|
558
|
+
class: ui.value.leadingIcon({ class: props.ui?.leadingIcon })
|
|
559
|
+
}, null, 8, ["name", "class"])) : createCommentVNode("", true)
|
|
560
|
+
])
|
|
594
561
|
], 2)) : createCommentVNode("", true),
|
|
595
562
|
createVNode("div", {
|
|
596
563
|
"data-slot": "wrapper",
|
|
597
|
-
class: ui.value.wrapper({ class:
|
|
564
|
+
class: ui.value.wrapper({ class: props.ui?.wrapper })
|
|
598
565
|
}, [
|
|
599
566
|
__props.to ? (openBlock(), createBlock(_sfc_main$9$1, mergeProps({
|
|
600
567
|
key: 0,
|
|
@@ -611,29 +578,26 @@ const _sfc_main$6 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
611
578
|
]),
|
|
612
579
|
_: 1
|
|
613
580
|
}, 16, ["aria-label"])) : createCommentVNode("", true),
|
|
614
|
-
renderSlot(_ctx.$slots, "default", {}, () =>
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
], 2)) : createCommentVNode("", true)
|
|
635
|
-
];
|
|
636
|
-
})
|
|
581
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
582
|
+
__props.title || !!slots.title ? (openBlock(), createBlock("div", {
|
|
583
|
+
key: 0,
|
|
584
|
+
"data-slot": "title",
|
|
585
|
+
class: ui.value.title({ class: props.ui?.title })
|
|
586
|
+
}, [
|
|
587
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
588
|
+
createTextVNode(toDisplayString(__props.title), 1)
|
|
589
|
+
])
|
|
590
|
+
], 2)) : createCommentVNode("", true),
|
|
591
|
+
__props.description || !!slots.description ? (openBlock(), createBlock("div", {
|
|
592
|
+
key: 1,
|
|
593
|
+
"data-slot": "description",
|
|
594
|
+
class: ui.value.description({ class: props.ui?.description })
|
|
595
|
+
}, [
|
|
596
|
+
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
597
|
+
createTextVNode(toDisplayString(__props.description), 1)
|
|
598
|
+
])
|
|
599
|
+
], 2)) : createCommentVNode("", true)
|
|
600
|
+
])
|
|
637
601
|
], 2)
|
|
638
602
|
];
|
|
639
603
|
}
|
|
@@ -748,50 +712,42 @@ const _sfc_main$5 = {
|
|
|
748
712
|
const props = __props;
|
|
749
713
|
const slots = useSlots();
|
|
750
714
|
const appConfig = useAppConfig();
|
|
751
|
-
const ui = computed(() => {
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
body: !!slots.body || (!!((_b = props.features) == null ? void 0 : _b.length) || !!slots.features)
|
|
759
|
-
});
|
|
760
|
-
});
|
|
715
|
+
const ui = computed(() => tv({ extend: tv(theme$4), ...appConfig.ui?.pageSection || {} })({
|
|
716
|
+
orientation: props.orientation,
|
|
717
|
+
reverse: props.reverse,
|
|
718
|
+
title: !!props.title || !!slots.title,
|
|
719
|
+
description: !!props.description || !!slots.description,
|
|
720
|
+
body: !!slots.body || (!!props.features?.length || !!slots.features)
|
|
721
|
+
}));
|
|
761
722
|
return (_ctx, _push, _parent, _attrs) => {
|
|
762
|
-
var _a;
|
|
763
723
|
_push(ssrRenderComponent(unref(Primitive), mergeProps({
|
|
764
724
|
as: __props.as,
|
|
765
725
|
"data-orientation": __props.orientation,
|
|
766
726
|
"data-slot": "root",
|
|
767
|
-
class: ui.value.root({ class: [
|
|
727
|
+
class: ui.value.root({ class: [props.ui?.root, props.class] })
|
|
768
728
|
}, _attrs), {
|
|
769
729
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
770
|
-
var _a2, _b;
|
|
771
730
|
if (_push2) {
|
|
772
731
|
ssrRenderSlot(_ctx.$slots, "top", {}, null, _push2, _parent2, _scopeId);
|
|
773
732
|
_push2(ssrRenderComponent(_sfc_main$8, {
|
|
774
733
|
"data-slot": "container",
|
|
775
|
-
class: ui.value.container({ class:
|
|
734
|
+
class: ui.value.container({ class: props.ui?.container })
|
|
776
735
|
}, {
|
|
777
736
|
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
778
|
-
var _a3, _b2, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
|
|
779
737
|
if (_push3) {
|
|
780
|
-
if (!!slots.header || (__props.icon || !!slots.leading) || (__props.headline || !!slots.headline) || (__props.title || !!slots.title) || (__props.description || !!slots.description) || !!slots.body || (
|
|
781
|
-
_push3(`<div data-slot="wrapper" class="${ssrRenderClass(ui.value.wrapper({ class:
|
|
738
|
+
if (!!slots.header || (__props.icon || !!slots.leading) || (__props.headline || !!slots.headline) || (__props.title || !!slots.title) || (__props.description || !!slots.description) || !!slots.body || (__props.features?.length || !!slots.features) || !!slots.footer || (__props.links?.length || !!slots.links)) {
|
|
739
|
+
_push3(`<div data-slot="wrapper" class="${ssrRenderClass(ui.value.wrapper({ class: props.ui?.wrapper }))}"${_scopeId2}>`);
|
|
782
740
|
if (!!slots.header || (__props.icon || !!slots.leading) || (__props.headline || !!slots.headline) || (__props.title || !!slots.title) || (__props.description || !!slots.description)) {
|
|
783
|
-
_push3(`<div data-slot="header" class="${ssrRenderClass(ui.value.header({ class:
|
|
741
|
+
_push3(`<div data-slot="header" class="${ssrRenderClass(ui.value.header({ class: props.ui?.header }))}"${_scopeId2}>`);
|
|
784
742
|
ssrRenderSlot(_ctx.$slots, "header", {}, () => {
|
|
785
|
-
var _a4, _b3, _c2, _d2;
|
|
786
743
|
if (__props.icon || !!slots.leading) {
|
|
787
|
-
_push3(`<div data-slot="leading" class="${ssrRenderClass(ui.value.leading({ class:
|
|
744
|
+
_push3(`<div data-slot="leading" class="${ssrRenderClass(ui.value.leading({ class: props.ui?.leading }))}"${_scopeId2}>`);
|
|
788
745
|
ssrRenderSlot(_ctx.$slots, "leading", { ui: ui.value }, () => {
|
|
789
|
-
var _a5;
|
|
790
746
|
if (__props.icon) {
|
|
791
747
|
_push3(ssrRenderComponent(_sfc_main$d, {
|
|
792
748
|
name: __props.icon,
|
|
793
749
|
"data-slot": "leadingIcon",
|
|
794
|
-
class: ui.value.leadingIcon({ class:
|
|
750
|
+
class: ui.value.leadingIcon({ class: props.ui?.leadingIcon })
|
|
795
751
|
}, null, _parent3, _scopeId2));
|
|
796
752
|
} else {
|
|
797
753
|
_push3(`<!---->`);
|
|
@@ -802,7 +758,7 @@ const _sfc_main$5 = {
|
|
|
802
758
|
_push3(`<!---->`);
|
|
803
759
|
}
|
|
804
760
|
if (__props.headline || !!slots.headline) {
|
|
805
|
-
_push3(`<div data-slot="headline" class="${ssrRenderClass(ui.value.headline({ class:
|
|
761
|
+
_push3(`<div data-slot="headline" class="${ssrRenderClass(ui.value.headline({ class: props.ui?.headline, headline: !slots.headline }))}"${_scopeId2}>`);
|
|
806
762
|
ssrRenderSlot(_ctx.$slots, "headline", {}, () => {
|
|
807
763
|
_push3(`${ssrInterpolate(__props.headline)}`);
|
|
808
764
|
}, _push3, _parent3, _scopeId2);
|
|
@@ -811,7 +767,7 @@ const _sfc_main$5 = {
|
|
|
811
767
|
_push3(`<!---->`);
|
|
812
768
|
}
|
|
813
769
|
if (__props.title || !!slots.title) {
|
|
814
|
-
_push3(`<h2 data-slot="title" class="${ssrRenderClass(ui.value.title({ class:
|
|
770
|
+
_push3(`<h2 data-slot="title" class="${ssrRenderClass(ui.value.title({ class: props.ui?.title }))}"${_scopeId2}>`);
|
|
815
771
|
ssrRenderSlot(_ctx.$slots, "title", {}, () => {
|
|
816
772
|
_push3(`${ssrInterpolate(__props.title)}`);
|
|
817
773
|
}, _push3, _parent3, _scopeId2);
|
|
@@ -820,7 +776,7 @@ const _sfc_main$5 = {
|
|
|
820
776
|
_push3(`<!---->`);
|
|
821
777
|
}
|
|
822
778
|
if (__props.description || !!slots.description) {
|
|
823
|
-
_push3(`<div data-slot="description" class="${ssrRenderClass(ui.value.description({ class:
|
|
779
|
+
_push3(`<div data-slot="description" class="${ssrRenderClass(ui.value.description({ class: props.ui?.description }))}"${_scopeId2}>`);
|
|
824
780
|
ssrRenderSlot(_ctx.$slots, "description", {}, () => {
|
|
825
781
|
_push3(`${ssrInterpolate(__props.description)}`);
|
|
826
782
|
}, _push3, _parent3, _scopeId2);
|
|
@@ -833,12 +789,11 @@ const _sfc_main$5 = {
|
|
|
833
789
|
} else {
|
|
834
790
|
_push3(`<!---->`);
|
|
835
791
|
}
|
|
836
|
-
if (!!slots.body || (
|
|
837
|
-
_push3(`<div data-slot="body" class="${ssrRenderClass(ui.value.body({ class:
|
|
792
|
+
if (!!slots.body || (__props.features?.length || !!slots.features)) {
|
|
793
|
+
_push3(`<div data-slot="body" class="${ssrRenderClass(ui.value.body({ class: props.ui?.body }))}"${_scopeId2}>`);
|
|
838
794
|
ssrRenderSlot(_ctx.$slots, "body", {}, () => {
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
_push3(`<ul data-slot="features" class="${ssrRenderClass(ui.value.features({ class: (_b3 = props.ui) == null ? void 0 : _b3.features }))}"${_scopeId2}>`);
|
|
795
|
+
if (__props.features?.length || !!slots.features) {
|
|
796
|
+
_push3(`<ul data-slot="features" class="${ssrRenderClass(ui.value.features({ class: props.ui?.features }))}"${_scopeId2}>`);
|
|
842
797
|
ssrRenderSlot(_ctx.$slots, "features", {}, () => {
|
|
843
798
|
_push3(`<!--[-->`);
|
|
844
799
|
ssrRenderList(__props.features, (feature, index) => {
|
|
@@ -858,12 +813,11 @@ const _sfc_main$5 = {
|
|
|
858
813
|
} else {
|
|
859
814
|
_push3(`<!---->`);
|
|
860
815
|
}
|
|
861
|
-
if (!!slots.footer || (
|
|
862
|
-
_push3(`<div data-slot="footer" class="${ssrRenderClass(ui.value.footer({ class:
|
|
816
|
+
if (!!slots.footer || (__props.links?.length || !!slots.links)) {
|
|
817
|
+
_push3(`<div data-slot="footer" class="${ssrRenderClass(ui.value.footer({ class: props.ui?.footer }))}"${_scopeId2}>`);
|
|
863
818
|
ssrRenderSlot(_ctx.$slots, "footer", {}, () => {
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
_push3(`<div data-slot="links" class="${ssrRenderClass(ui.value.links({ class: (_b3 = props.ui) == null ? void 0 : _b3.links }))}"${_scopeId2}>`);
|
|
819
|
+
if (__props.links?.length || !!slots.links) {
|
|
820
|
+
_push3(`<div data-slot="links" class="${ssrRenderClass(ui.value.links({ class: props.ui?.links }))}"${_scopeId2}>`);
|
|
867
821
|
ssrRenderSlot(_ctx.$slots, "links", {}, () => {
|
|
868
822
|
_push3(`<!--[-->`);
|
|
869
823
|
ssrRenderList(__props.links, (link, index) => {
|
|
@@ -896,115 +850,103 @@ const _sfc_main$5 = {
|
|
|
896
850
|
}
|
|
897
851
|
} else {
|
|
898
852
|
return [
|
|
899
|
-
!!slots.header || (__props.icon || !!slots.leading) || (__props.headline || !!slots.headline) || (__props.title || !!slots.title) || (__props.description || !!slots.description) || !!slots.body || (
|
|
853
|
+
!!slots.header || (__props.icon || !!slots.leading) || (__props.headline || !!slots.headline) || (__props.title || !!slots.title) || (__props.description || !!slots.description) || !!slots.body || (__props.features?.length || !!slots.features) || !!slots.footer || (__props.links?.length || !!slots.links) ? (openBlock(), createBlock("div", {
|
|
900
854
|
key: 0,
|
|
901
855
|
"data-slot": "wrapper",
|
|
902
|
-
class: ui.value.wrapper({ class:
|
|
856
|
+
class: ui.value.wrapper({ class: props.ui?.wrapper })
|
|
903
857
|
}, [
|
|
904
858
|
!!slots.header || (__props.icon || !!slots.leading) || (__props.headline || !!slots.headline) || (__props.title || !!slots.title) || (__props.description || !!slots.description) ? (openBlock(), createBlock("div", {
|
|
905
859
|
key: 0,
|
|
906
860
|
"data-slot": "header",
|
|
907
|
-
class: ui.value.header({ class:
|
|
861
|
+
class: ui.value.header({ class: props.ui?.header })
|
|
908
862
|
}, [
|
|
909
|
-
renderSlot(_ctx.$slots, "header", {}, () =>
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
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
|
-
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
953
|
-
createTextVNode(toDisplayString(__props.description), 1)
|
|
954
|
-
])
|
|
955
|
-
], 2)) : createCommentVNode("", true)
|
|
956
|
-
];
|
|
957
|
-
})
|
|
863
|
+
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
864
|
+
__props.icon || !!slots.leading ? (openBlock(), createBlock("div", {
|
|
865
|
+
key: 0,
|
|
866
|
+
"data-slot": "leading",
|
|
867
|
+
class: ui.value.leading({ class: props.ui?.leading })
|
|
868
|
+
}, [
|
|
869
|
+
renderSlot(_ctx.$slots, "leading", { ui: ui.value }, () => [
|
|
870
|
+
__props.icon ? (openBlock(), createBlock(_sfc_main$d, {
|
|
871
|
+
key: 0,
|
|
872
|
+
name: __props.icon,
|
|
873
|
+
"data-slot": "leadingIcon",
|
|
874
|
+
class: ui.value.leadingIcon({ class: props.ui?.leadingIcon })
|
|
875
|
+
}, null, 8, ["name", "class"])) : createCommentVNode("", true)
|
|
876
|
+
])
|
|
877
|
+
], 2)) : createCommentVNode("", true),
|
|
878
|
+
__props.headline || !!slots.headline ? (openBlock(), createBlock("div", {
|
|
879
|
+
key: 1,
|
|
880
|
+
"data-slot": "headline",
|
|
881
|
+
class: ui.value.headline({ class: props.ui?.headline, headline: !slots.headline })
|
|
882
|
+
}, [
|
|
883
|
+
renderSlot(_ctx.$slots, "headline", {}, () => [
|
|
884
|
+
createTextVNode(toDisplayString(__props.headline), 1)
|
|
885
|
+
])
|
|
886
|
+
], 2)) : createCommentVNode("", true),
|
|
887
|
+
__props.title || !!slots.title ? (openBlock(), createBlock("h2", {
|
|
888
|
+
key: 2,
|
|
889
|
+
"data-slot": "title",
|
|
890
|
+
class: ui.value.title({ class: props.ui?.title })
|
|
891
|
+
}, [
|
|
892
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
893
|
+
createTextVNode(toDisplayString(__props.title), 1)
|
|
894
|
+
])
|
|
895
|
+
], 2)) : createCommentVNode("", true),
|
|
896
|
+
__props.description || !!slots.description ? (openBlock(), createBlock("div", {
|
|
897
|
+
key: 3,
|
|
898
|
+
"data-slot": "description",
|
|
899
|
+
class: ui.value.description({ class: props.ui?.description })
|
|
900
|
+
}, [
|
|
901
|
+
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
902
|
+
createTextVNode(toDisplayString(__props.description), 1)
|
|
903
|
+
])
|
|
904
|
+
], 2)) : createCommentVNode("", true)
|
|
905
|
+
])
|
|
958
906
|
], 2)) : createCommentVNode("", true),
|
|
959
|
-
!!slots.body || (
|
|
907
|
+
!!slots.body || (__props.features?.length || !!slots.features) ? (openBlock(), createBlock("div", {
|
|
960
908
|
key: 1,
|
|
961
909
|
"data-slot": "body",
|
|
962
|
-
class: ui.value.body({ class:
|
|
910
|
+
class: ui.value.body({ class: props.ui?.body })
|
|
963
911
|
}, [
|
|
964
|
-
renderSlot(_ctx.$slots, "body", {}, () =>
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
], 2)) : createCommentVNode("", true)
|
|
981
|
-
];
|
|
982
|
-
})
|
|
912
|
+
renderSlot(_ctx.$slots, "body", {}, () => [
|
|
913
|
+
__props.features?.length || !!slots.features ? (openBlock(), createBlock("ul", {
|
|
914
|
+
key: 0,
|
|
915
|
+
"data-slot": "features",
|
|
916
|
+
class: ui.value.features({ class: props.ui?.features })
|
|
917
|
+
}, [
|
|
918
|
+
renderSlot(_ctx.$slots, "features", {}, () => [
|
|
919
|
+
(openBlock(true), createBlock(Fragment, null, renderList(__props.features, (feature, index) => {
|
|
920
|
+
return openBlock(), createBlock(_sfc_main$6, mergeProps({
|
|
921
|
+
key: index,
|
|
922
|
+
as: "li"
|
|
923
|
+
}, { ref_for: true }, feature), null, 16);
|
|
924
|
+
}), 128))
|
|
925
|
+
])
|
|
926
|
+
], 2)) : createCommentVNode("", true)
|
|
927
|
+
])
|
|
983
928
|
], 2)) : createCommentVNode("", true),
|
|
984
|
-
!!slots.footer || (
|
|
929
|
+
!!slots.footer || (__props.links?.length || !!slots.links) ? (openBlock(), createBlock("div", {
|
|
985
930
|
key: 2,
|
|
986
931
|
"data-slot": "footer",
|
|
987
|
-
class: ui.value.footer({ class:
|
|
932
|
+
class: ui.value.footer({ class: props.ui?.footer })
|
|
988
933
|
}, [
|
|
989
|
-
renderSlot(_ctx.$slots, "footer", {}, () =>
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
], 2)) : createCommentVNode("", true)
|
|
1006
|
-
];
|
|
1007
|
-
})
|
|
934
|
+
renderSlot(_ctx.$slots, "footer", {}, () => [
|
|
935
|
+
__props.links?.length || !!slots.links ? (openBlock(), createBlock("div", {
|
|
936
|
+
key: 0,
|
|
937
|
+
"data-slot": "links",
|
|
938
|
+
class: ui.value.links({ class: props.ui?.links })
|
|
939
|
+
}, [
|
|
940
|
+
renderSlot(_ctx.$slots, "links", {}, () => [
|
|
941
|
+
(openBlock(true), createBlock(Fragment, null, renderList(__props.links, (link, index) => {
|
|
942
|
+
return openBlock(), createBlock(_sfc_main$8$1, mergeProps({
|
|
943
|
+
key: index,
|
|
944
|
+
size: "lg"
|
|
945
|
+
}, { ref_for: true }, link), null, 16);
|
|
946
|
+
}), 128))
|
|
947
|
+
])
|
|
948
|
+
], 2)) : createCommentVNode("", true)
|
|
949
|
+
])
|
|
1008
950
|
], 2)) : createCommentVNode("", true)
|
|
1009
951
|
], 2)) : createCommentVNode("", true),
|
|
1010
952
|
!!slots.default ? renderSlot(_ctx.$slots, "default", { key: 1 }) : __props.orientation === "horizontal" ? (openBlock(), createBlock("div", {
|
|
@@ -1022,128 +964,113 @@ const _sfc_main$5 = {
|
|
|
1022
964
|
renderSlot(_ctx.$slots, "top"),
|
|
1023
965
|
createVNode(_sfc_main$8, {
|
|
1024
966
|
"data-slot": "container",
|
|
1025
|
-
class: ui.value.container({ class:
|
|
967
|
+
class: ui.value.container({ class: props.ui?.container })
|
|
1026
968
|
}, {
|
|
1027
|
-
default: withCtx(() =>
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
969
|
+
default: withCtx(() => [
|
|
970
|
+
!!slots.header || (__props.icon || !!slots.leading) || (__props.headline || !!slots.headline) || (__props.title || !!slots.title) || (__props.description || !!slots.description) || !!slots.body || (__props.features?.length || !!slots.features) || !!slots.footer || (__props.links?.length || !!slots.links) ? (openBlock(), createBlock("div", {
|
|
971
|
+
key: 0,
|
|
972
|
+
"data-slot": "wrapper",
|
|
973
|
+
class: ui.value.wrapper({ class: props.ui?.wrapper })
|
|
974
|
+
}, [
|
|
975
|
+
!!slots.header || (__props.icon || !!slots.leading) || (__props.headline || !!slots.headline) || (__props.title || !!slots.title) || (__props.description || !!slots.description) ? (openBlock(), createBlock("div", {
|
|
1031
976
|
key: 0,
|
|
1032
|
-
"data-slot": "
|
|
1033
|
-
class: ui.value.
|
|
977
|
+
"data-slot": "header",
|
|
978
|
+
class: ui.value.header({ class: props.ui?.header })
|
|
1034
979
|
}, [
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
__props.icon || !!slots.leading ? (openBlock(), createBlock("div", {
|
|
1044
|
-
key: 0,
|
|
1045
|
-
"data-slot": "leading",
|
|
1046
|
-
class: ui.value.leading({ class: (_a4 = props.ui) == null ? void 0 : _a4.leading })
|
|
1047
|
-
}, [
|
|
1048
|
-
renderSlot(_ctx.$slots, "leading", { ui: ui.value }, () => {
|
|
1049
|
-
var _a5;
|
|
1050
|
-
return [
|
|
1051
|
-
__props.icon ? (openBlock(), createBlock(_sfc_main$d, {
|
|
1052
|
-
key: 0,
|
|
1053
|
-
name: __props.icon,
|
|
1054
|
-
"data-slot": "leadingIcon",
|
|
1055
|
-
class: ui.value.leadingIcon({ class: (_a5 = props.ui) == null ? void 0 : _a5.leadingIcon })
|
|
1056
|
-
}, null, 8, ["name", "class"])) : createCommentVNode("", true)
|
|
1057
|
-
];
|
|
1058
|
-
})
|
|
1059
|
-
], 2)) : createCommentVNode("", true),
|
|
1060
|
-
__props.headline || !!slots.headline ? (openBlock(), createBlock("div", {
|
|
1061
|
-
key: 1,
|
|
1062
|
-
"data-slot": "headline",
|
|
1063
|
-
class: ui.value.headline({ class: (_b3 = props.ui) == null ? void 0 : _b3.headline, headline: !slots.headline })
|
|
1064
|
-
}, [
|
|
1065
|
-
renderSlot(_ctx.$slots, "headline", {}, () => [
|
|
1066
|
-
createTextVNode(toDisplayString(__props.headline), 1)
|
|
1067
|
-
])
|
|
1068
|
-
], 2)) : createCommentVNode("", true),
|
|
1069
|
-
__props.title || !!slots.title ? (openBlock(), createBlock("h2", {
|
|
1070
|
-
key: 2,
|
|
1071
|
-
"data-slot": "title",
|
|
1072
|
-
class: ui.value.title({ class: (_c2 = props.ui) == null ? void 0 : _c2.title })
|
|
1073
|
-
}, [
|
|
1074
|
-
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
1075
|
-
createTextVNode(toDisplayString(__props.title), 1)
|
|
1076
|
-
])
|
|
1077
|
-
], 2)) : createCommentVNode("", true),
|
|
1078
|
-
__props.description || !!slots.description ? (openBlock(), createBlock("div", {
|
|
1079
|
-
key: 3,
|
|
1080
|
-
"data-slot": "description",
|
|
1081
|
-
class: ui.value.description({ class: (_d2 = props.ui) == null ? void 0 : _d2.description })
|
|
1082
|
-
}, [
|
|
1083
|
-
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
1084
|
-
createTextVNode(toDisplayString(__props.description), 1)
|
|
1085
|
-
])
|
|
1086
|
-
], 2)) : createCommentVNode("", true)
|
|
1087
|
-
];
|
|
1088
|
-
})
|
|
1089
|
-
], 2)) : createCommentVNode("", true),
|
|
1090
|
-
!!slots.body || (((_e = __props.features) == null ? void 0 : _e.length) || !!slots.features) ? (openBlock(), createBlock("div", {
|
|
1091
|
-
key: 1,
|
|
1092
|
-
"data-slot": "body",
|
|
1093
|
-
class: ui.value.body({ class: (_f = props.ui) == null ? void 0 : _f.body })
|
|
1094
|
-
}, [
|
|
1095
|
-
renderSlot(_ctx.$slots, "body", {}, () => {
|
|
1096
|
-
var _a4, _b3;
|
|
1097
|
-
return [
|
|
1098
|
-
((_a4 = __props.features) == null ? void 0 : _a4.length) || !!slots.features ? (openBlock(), createBlock("ul", {
|
|
1099
|
-
key: 0,
|
|
1100
|
-
"data-slot": "features",
|
|
1101
|
-
class: ui.value.features({ class: (_b3 = props.ui) == null ? void 0 : _b3.features })
|
|
1102
|
-
}, [
|
|
1103
|
-
renderSlot(_ctx.$slots, "features", {}, () => [
|
|
1104
|
-
(openBlock(true), createBlock(Fragment, null, renderList(__props.features, (feature, index) => {
|
|
1105
|
-
return openBlock(), createBlock(_sfc_main$6, mergeProps({
|
|
1106
|
-
key: index,
|
|
1107
|
-
as: "li"
|
|
1108
|
-
}, { ref_for: true }, feature), null, 16);
|
|
1109
|
-
}), 128))
|
|
1110
|
-
])
|
|
1111
|
-
], 2)) : createCommentVNode("", true)
|
|
1112
|
-
];
|
|
1113
|
-
})
|
|
1114
|
-
], 2)) : createCommentVNode("", true),
|
|
1115
|
-
!!slots.footer || (((_g = __props.links) == null ? void 0 : _g.length) || !!slots.links) ? (openBlock(), createBlock("div", {
|
|
1116
|
-
key: 2,
|
|
1117
|
-
"data-slot": "footer",
|
|
1118
|
-
class: ui.value.footer({ class: (_h = props.ui) == null ? void 0 : _h.footer })
|
|
1119
|
-
}, [
|
|
1120
|
-
renderSlot(_ctx.$slots, "footer", {}, () => {
|
|
1121
|
-
var _a4, _b3;
|
|
1122
|
-
return [
|
|
1123
|
-
((_a4 = __props.links) == null ? void 0 : _a4.length) || !!slots.links ? (openBlock(), createBlock("div", {
|
|
980
|
+
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
981
|
+
__props.icon || !!slots.leading ? (openBlock(), createBlock("div", {
|
|
982
|
+
key: 0,
|
|
983
|
+
"data-slot": "leading",
|
|
984
|
+
class: ui.value.leading({ class: props.ui?.leading })
|
|
985
|
+
}, [
|
|
986
|
+
renderSlot(_ctx.$slots, "leading", { ui: ui.value }, () => [
|
|
987
|
+
__props.icon ? (openBlock(), createBlock(_sfc_main$d, {
|
|
1124
988
|
key: 0,
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
989
|
+
name: __props.icon,
|
|
990
|
+
"data-slot": "leadingIcon",
|
|
991
|
+
class: ui.value.leadingIcon({ class: props.ui?.leadingIcon })
|
|
992
|
+
}, null, 8, ["name", "class"])) : createCommentVNode("", true)
|
|
993
|
+
])
|
|
994
|
+
], 2)) : createCommentVNode("", true),
|
|
995
|
+
__props.headline || !!slots.headline ? (openBlock(), createBlock("div", {
|
|
996
|
+
key: 1,
|
|
997
|
+
"data-slot": "headline",
|
|
998
|
+
class: ui.value.headline({ class: props.ui?.headline, headline: !slots.headline })
|
|
999
|
+
}, [
|
|
1000
|
+
renderSlot(_ctx.$slots, "headline", {}, () => [
|
|
1001
|
+
createTextVNode(toDisplayString(__props.headline), 1)
|
|
1002
|
+
])
|
|
1003
|
+
], 2)) : createCommentVNode("", true),
|
|
1004
|
+
__props.title || !!slots.title ? (openBlock(), createBlock("h2", {
|
|
1005
|
+
key: 2,
|
|
1006
|
+
"data-slot": "title",
|
|
1007
|
+
class: ui.value.title({ class: props.ui?.title })
|
|
1008
|
+
}, [
|
|
1009
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
1010
|
+
createTextVNode(toDisplayString(__props.title), 1)
|
|
1011
|
+
])
|
|
1012
|
+
], 2)) : createCommentVNode("", true),
|
|
1013
|
+
__props.description || !!slots.description ? (openBlock(), createBlock("div", {
|
|
1014
|
+
key: 3,
|
|
1015
|
+
"data-slot": "description",
|
|
1016
|
+
class: ui.value.description({ class: props.ui?.description })
|
|
1017
|
+
}, [
|
|
1018
|
+
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
1019
|
+
createTextVNode(toDisplayString(__props.description), 1)
|
|
1020
|
+
])
|
|
1021
|
+
], 2)) : createCommentVNode("", true)
|
|
1022
|
+
])
|
|
1140
1023
|
], 2)) : createCommentVNode("", true),
|
|
1141
|
-
!!slots.
|
|
1024
|
+
!!slots.body || (__props.features?.length || !!slots.features) ? (openBlock(), createBlock("div", {
|
|
1025
|
+
key: 1,
|
|
1026
|
+
"data-slot": "body",
|
|
1027
|
+
class: ui.value.body({ class: props.ui?.body })
|
|
1028
|
+
}, [
|
|
1029
|
+
renderSlot(_ctx.$slots, "body", {}, () => [
|
|
1030
|
+
__props.features?.length || !!slots.features ? (openBlock(), createBlock("ul", {
|
|
1031
|
+
key: 0,
|
|
1032
|
+
"data-slot": "features",
|
|
1033
|
+
class: ui.value.features({ class: props.ui?.features })
|
|
1034
|
+
}, [
|
|
1035
|
+
renderSlot(_ctx.$slots, "features", {}, () => [
|
|
1036
|
+
(openBlock(true), createBlock(Fragment, null, renderList(__props.features, (feature, index) => {
|
|
1037
|
+
return openBlock(), createBlock(_sfc_main$6, mergeProps({
|
|
1038
|
+
key: index,
|
|
1039
|
+
as: "li"
|
|
1040
|
+
}, { ref_for: true }, feature), null, 16);
|
|
1041
|
+
}), 128))
|
|
1042
|
+
])
|
|
1043
|
+
], 2)) : createCommentVNode("", true)
|
|
1044
|
+
])
|
|
1045
|
+
], 2)) : createCommentVNode("", true),
|
|
1046
|
+
!!slots.footer || (__props.links?.length || !!slots.links) ? (openBlock(), createBlock("div", {
|
|
1142
1047
|
key: 2,
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1048
|
+
"data-slot": "footer",
|
|
1049
|
+
class: ui.value.footer({ class: props.ui?.footer })
|
|
1050
|
+
}, [
|
|
1051
|
+
renderSlot(_ctx.$slots, "footer", {}, () => [
|
|
1052
|
+
__props.links?.length || !!slots.links ? (openBlock(), createBlock("div", {
|
|
1053
|
+
key: 0,
|
|
1054
|
+
"data-slot": "links",
|
|
1055
|
+
class: ui.value.links({ class: props.ui?.links })
|
|
1056
|
+
}, [
|
|
1057
|
+
renderSlot(_ctx.$slots, "links", {}, () => [
|
|
1058
|
+
(openBlock(true), createBlock(Fragment, null, renderList(__props.links, (link, index) => {
|
|
1059
|
+
return openBlock(), createBlock(_sfc_main$8$1, mergeProps({
|
|
1060
|
+
key: index,
|
|
1061
|
+
size: "lg"
|
|
1062
|
+
}, { ref_for: true }, link), null, 16);
|
|
1063
|
+
}), 128))
|
|
1064
|
+
])
|
|
1065
|
+
], 2)) : createCommentVNode("", true)
|
|
1066
|
+
])
|
|
1067
|
+
], 2)) : createCommentVNode("", true)
|
|
1068
|
+
], 2)) : createCommentVNode("", true),
|
|
1069
|
+
!!slots.default ? renderSlot(_ctx.$slots, "default", { key: 1 }) : __props.orientation === "horizontal" ? (openBlock(), createBlock("div", {
|
|
1070
|
+
key: 2,
|
|
1071
|
+
class: "hidden lg:block"
|
|
1072
|
+
})) : createCommentVNode("", true)
|
|
1073
|
+
]),
|
|
1147
1074
|
_: 3
|
|
1148
1075
|
}, 8, ["class"]),
|
|
1149
1076
|
renderSlot(_ctx.$slots, "bottom")
|
|
@@ -1174,10 +1101,7 @@ const _sfc_main$4 = {
|
|
|
1174
1101
|
setup(__props) {
|
|
1175
1102
|
const props = __props;
|
|
1176
1103
|
const appConfig = useAppConfig();
|
|
1177
|
-
const ui = computed(() => {
|
|
1178
|
-
var _a;
|
|
1179
|
-
return tv({ extend: tv(theme$3), ...((_a = appConfig.ui) == null ? void 0 : _a.pageGrid) || {} });
|
|
1180
|
-
});
|
|
1104
|
+
const ui = computed(() => tv({ extend: tv(theme$3), ...appConfig.ui?.pageGrid || {} }));
|
|
1181
1105
|
return (_ctx, _push, _parent, _attrs) => {
|
|
1182
1106
|
_push(ssrRenderComponent(unref(Primitive), mergeProps({
|
|
1183
1107
|
as: __props.as,
|
|
@@ -1486,63 +1410,57 @@ const _sfc_main$3 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1486
1410
|
motionControl.pause();
|
|
1487
1411
|
}
|
|
1488
1412
|
}, { immediate: true });
|
|
1489
|
-
const ui = computed(() => {
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
spotlightColor: props.spotlightColor
|
|
1501
|
-
});
|
|
1502
|
-
});
|
|
1413
|
+
const ui = computed(() => tv({ extend: tv(theme$2), ...appConfig.ui?.pageCard || {} })({
|
|
1414
|
+
orientation: props.orientation,
|
|
1415
|
+
reverse: props.reverse,
|
|
1416
|
+
variant: props.variant,
|
|
1417
|
+
to: !!props.to || !!props.onClick,
|
|
1418
|
+
title: !!props.title || !!slots.title,
|
|
1419
|
+
highlight: props.highlight,
|
|
1420
|
+
highlightColor: props.highlightColor,
|
|
1421
|
+
spotlight: spotlight.value,
|
|
1422
|
+
spotlightColor: props.spotlightColor
|
|
1423
|
+
}));
|
|
1503
1424
|
const ariaLabel = computed(() => {
|
|
1504
1425
|
const slotText = slots.title && getSlotChildrenText(slots.title());
|
|
1505
1426
|
return (slotText || props.title || "Card link").trim();
|
|
1506
1427
|
});
|
|
1507
1428
|
return (_ctx, _push, _parent, _attrs) => {
|
|
1508
|
-
var _a;
|
|
1509
1429
|
_push(ssrRenderComponent(unref(Primitive), mergeProps({
|
|
1510
1430
|
ref_key: "cardRef",
|
|
1511
1431
|
ref: cardRef,
|
|
1512
1432
|
as: __props.as,
|
|
1513
1433
|
"data-orientation": __props.orientation,
|
|
1514
1434
|
"data-slot": "root",
|
|
1515
|
-
class: ui.value.root({ class: [
|
|
1435
|
+
class: ui.value.root({ class: [props.ui?.root, props.class] }),
|
|
1516
1436
|
style: spotlight.value && { "--spotlight-x": `${unref(elementX)}px`, "--spotlight-y": `${unref(elementY)}px` },
|
|
1517
1437
|
onClick: __props.onClick
|
|
1518
1438
|
}, _attrs), {
|
|
1519
1439
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
1520
|
-
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
|
1521
1440
|
if (_push2) {
|
|
1522
1441
|
if (props.spotlight) {
|
|
1523
|
-
_push2(`<div data-slot="spotlight" class="${ssrRenderClass(ui.value.spotlight({ class:
|
|
1442
|
+
_push2(`<div data-slot="spotlight" class="${ssrRenderClass(ui.value.spotlight({ class: props.ui?.spotlight }))}"${_scopeId}></div>`);
|
|
1524
1443
|
} else {
|
|
1525
1444
|
_push2(`<!---->`);
|
|
1526
1445
|
}
|
|
1527
|
-
_push2(`<div data-slot="container" class="${ssrRenderClass(ui.value.container({ class:
|
|
1446
|
+
_push2(`<div data-slot="container" class="${ssrRenderClass(ui.value.container({ class: props.ui?.container }))}"${_scopeId}>`);
|
|
1528
1447
|
if (!!slots.header || (__props.icon || !!slots.leading) || !!slots.body || (__props.title || !!slots.title) || (__props.description || !!slots.description) || !!slots.footer) {
|
|
1529
|
-
_push2(`<div data-slot="wrapper" class="${ssrRenderClass(ui.value.wrapper({ class:
|
|
1448
|
+
_push2(`<div data-slot="wrapper" class="${ssrRenderClass(ui.value.wrapper({ class: props.ui?.wrapper }))}"${_scopeId}>`);
|
|
1530
1449
|
if (!!slots.header) {
|
|
1531
|
-
_push2(`<div data-slot="header" class="${ssrRenderClass(ui.value.header({ class:
|
|
1450
|
+
_push2(`<div data-slot="header" class="${ssrRenderClass(ui.value.header({ class: props.ui?.header }))}"${_scopeId}>`);
|
|
1532
1451
|
ssrRenderSlot(_ctx.$slots, "header", {}, null, _push2, _parent2, _scopeId);
|
|
1533
1452
|
_push2(`</div>`);
|
|
1534
1453
|
} else {
|
|
1535
1454
|
_push2(`<!---->`);
|
|
1536
1455
|
}
|
|
1537
1456
|
if (__props.icon || !!slots.leading) {
|
|
1538
|
-
_push2(`<div data-slot="leading" class="${ssrRenderClass(ui.value.leading({ class:
|
|
1457
|
+
_push2(`<div data-slot="leading" class="${ssrRenderClass(ui.value.leading({ class: props.ui?.leading }))}"${_scopeId}>`);
|
|
1539
1458
|
ssrRenderSlot(_ctx.$slots, "leading", { ui: ui.value }, () => {
|
|
1540
|
-
var _a3;
|
|
1541
1459
|
if (__props.icon) {
|
|
1542
1460
|
_push2(ssrRenderComponent(_sfc_main$d, {
|
|
1543
1461
|
name: __props.icon,
|
|
1544
1462
|
"data-slot": "leadingIcon",
|
|
1545
|
-
class: ui.value.leadingIcon({ class:
|
|
1463
|
+
class: ui.value.leadingIcon({ class: props.ui?.leadingIcon })
|
|
1546
1464
|
}, null, _parent2, _scopeId));
|
|
1547
1465
|
} else {
|
|
1548
1466
|
_push2(`<!---->`);
|
|
@@ -1553,11 +1471,10 @@ const _sfc_main$3 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1553
1471
|
_push2(`<!---->`);
|
|
1554
1472
|
}
|
|
1555
1473
|
if (!!slots.body || (__props.title || !!slots.title) || (__props.description || !!slots.description)) {
|
|
1556
|
-
_push2(`<div data-slot="body" class="${ssrRenderClass(ui.value.body({ class:
|
|
1474
|
+
_push2(`<div data-slot="body" class="${ssrRenderClass(ui.value.body({ class: props.ui?.body }))}"${_scopeId}>`);
|
|
1557
1475
|
ssrRenderSlot(_ctx.$slots, "body", {}, () => {
|
|
1558
|
-
var _a3, _b2;
|
|
1559
1476
|
if (__props.title || !!slots.title) {
|
|
1560
|
-
_push2(`<div data-slot="title" class="${ssrRenderClass(ui.value.title({ class:
|
|
1477
|
+
_push2(`<div data-slot="title" class="${ssrRenderClass(ui.value.title({ class: props.ui?.title }))}"${_scopeId}>`);
|
|
1561
1478
|
ssrRenderSlot(_ctx.$slots, "title", {}, () => {
|
|
1562
1479
|
_push2(`${ssrInterpolate(__props.title)}`);
|
|
1563
1480
|
}, _push2, _parent2, _scopeId);
|
|
@@ -1566,7 +1483,7 @@ const _sfc_main$3 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1566
1483
|
_push2(`<!---->`);
|
|
1567
1484
|
}
|
|
1568
1485
|
if (__props.description || !!slots.description) {
|
|
1569
|
-
_push2(`<div data-slot="description" class="${ssrRenderClass(ui.value.description({ class:
|
|
1486
|
+
_push2(`<div data-slot="description" class="${ssrRenderClass(ui.value.description({ class: props.ui?.description }))}"${_scopeId}>`);
|
|
1570
1487
|
ssrRenderSlot(_ctx.$slots, "description", {}, () => {
|
|
1571
1488
|
_push2(`${ssrInterpolate(__props.description)}`);
|
|
1572
1489
|
}, _push2, _parent2, _scopeId);
|
|
@@ -1580,7 +1497,7 @@ const _sfc_main$3 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1580
1497
|
_push2(`<!---->`);
|
|
1581
1498
|
}
|
|
1582
1499
|
if (!!slots.footer) {
|
|
1583
|
-
_push2(`<div data-slot="footer" class="${ssrRenderClass(ui.value.footer({ class:
|
|
1500
|
+
_push2(`<div data-slot="footer" class="${ssrRenderClass(ui.value.footer({ class: props.ui?.footer }))}"${_scopeId}>`);
|
|
1584
1501
|
ssrRenderSlot(_ctx.$slots, "footer", {}, null, _push2, _parent2, _scopeId);
|
|
1585
1502
|
_push2(`</div>`);
|
|
1586
1503
|
} else {
|
|
@@ -1619,74 +1536,68 @@ const _sfc_main$3 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1619
1536
|
props.spotlight ? (openBlock(), createBlock("div", {
|
|
1620
1537
|
key: 0,
|
|
1621
1538
|
"data-slot": "spotlight",
|
|
1622
|
-
class: ui.value.spotlight({ class:
|
|
1539
|
+
class: ui.value.spotlight({ class: props.ui?.spotlight })
|
|
1623
1540
|
}, null, 2)) : createCommentVNode("", true),
|
|
1624
1541
|
createVNode("div", {
|
|
1625
1542
|
"data-slot": "container",
|
|
1626
|
-
class: ui.value.container({ class:
|
|
1543
|
+
class: ui.value.container({ class: props.ui?.container })
|
|
1627
1544
|
}, [
|
|
1628
1545
|
!!slots.header || (__props.icon || !!slots.leading) || !!slots.body || (__props.title || !!slots.title) || (__props.description || !!slots.description) || !!slots.footer ? (openBlock(), createBlock("div", {
|
|
1629
1546
|
key: 0,
|
|
1630
1547
|
"data-slot": "wrapper",
|
|
1631
|
-
class: ui.value.wrapper({ class:
|
|
1548
|
+
class: ui.value.wrapper({ class: props.ui?.wrapper })
|
|
1632
1549
|
}, [
|
|
1633
1550
|
!!slots.header ? (openBlock(), createBlock("div", {
|
|
1634
1551
|
key: 0,
|
|
1635
1552
|
"data-slot": "header",
|
|
1636
|
-
class: ui.value.header({ class:
|
|
1553
|
+
class: ui.value.header({ class: props.ui?.header })
|
|
1637
1554
|
}, [
|
|
1638
1555
|
renderSlot(_ctx.$slots, "header")
|
|
1639
1556
|
], 2)) : createCommentVNode("", true),
|
|
1640
1557
|
__props.icon || !!slots.leading ? (openBlock(), createBlock("div", {
|
|
1641
1558
|
key: 1,
|
|
1642
1559
|
"data-slot": "leading",
|
|
1643
|
-
class: ui.value.leading({ class:
|
|
1560
|
+
class: ui.value.leading({ class: props.ui?.leading })
|
|
1644
1561
|
}, [
|
|
1645
|
-
renderSlot(_ctx.$slots, "leading", { ui: ui.value }, () =>
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
__props.icon
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
}, null, 8, ["name", "class"])) : createCommentVNode("", true)
|
|
1654
|
-
];
|
|
1655
|
-
})
|
|
1562
|
+
renderSlot(_ctx.$slots, "leading", { ui: ui.value }, () => [
|
|
1563
|
+
__props.icon ? (openBlock(), createBlock(_sfc_main$d, {
|
|
1564
|
+
key: 0,
|
|
1565
|
+
name: __props.icon,
|
|
1566
|
+
"data-slot": "leadingIcon",
|
|
1567
|
+
class: ui.value.leadingIcon({ class: props.ui?.leadingIcon })
|
|
1568
|
+
}, null, 8, ["name", "class"])) : createCommentVNode("", true)
|
|
1569
|
+
])
|
|
1656
1570
|
], 2)) : createCommentVNode("", true),
|
|
1657
1571
|
!!slots.body || (__props.title || !!slots.title) || (__props.description || !!slots.description) ? (openBlock(), createBlock("div", {
|
|
1658
1572
|
key: 2,
|
|
1659
1573
|
"data-slot": "body",
|
|
1660
|
-
class: ui.value.body({ class:
|
|
1574
|
+
class: ui.value.body({ class: props.ui?.body })
|
|
1661
1575
|
}, [
|
|
1662
|
-
renderSlot(_ctx.$slots, "body", {}, () =>
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
], 2)) : createCommentVNode("", true)
|
|
1683
|
-
];
|
|
1684
|
-
})
|
|
1576
|
+
renderSlot(_ctx.$slots, "body", {}, () => [
|
|
1577
|
+
__props.title || !!slots.title ? (openBlock(), createBlock("div", {
|
|
1578
|
+
key: 0,
|
|
1579
|
+
"data-slot": "title",
|
|
1580
|
+
class: ui.value.title({ class: props.ui?.title })
|
|
1581
|
+
}, [
|
|
1582
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
1583
|
+
createTextVNode(toDisplayString(__props.title), 1)
|
|
1584
|
+
])
|
|
1585
|
+
], 2)) : createCommentVNode("", true),
|
|
1586
|
+
__props.description || !!slots.description ? (openBlock(), createBlock("div", {
|
|
1587
|
+
key: 1,
|
|
1588
|
+
"data-slot": "description",
|
|
1589
|
+
class: ui.value.description({ class: props.ui?.description })
|
|
1590
|
+
}, [
|
|
1591
|
+
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
1592
|
+
createTextVNode(toDisplayString(__props.description), 1)
|
|
1593
|
+
])
|
|
1594
|
+
], 2)) : createCommentVNode("", true)
|
|
1595
|
+
])
|
|
1685
1596
|
], 2)) : createCommentVNode("", true),
|
|
1686
1597
|
!!slots.footer ? (openBlock(), createBlock("div", {
|
|
1687
1598
|
key: 3,
|
|
1688
1599
|
"data-slot": "footer",
|
|
1689
|
-
class: ui.value.footer({ class:
|
|
1600
|
+
class: ui.value.footer({ class: props.ui?.footer })
|
|
1690
1601
|
}, [
|
|
1691
1602
|
renderSlot(_ctx.$slots, "footer")
|
|
1692
1603
|
], 2)) : createCommentVNode("", true)
|
|
@@ -1807,25 +1718,20 @@ const _sfc_main$2 = {
|
|
|
1807
1718
|
const prevIcon = computed(() => props.prevIcon || (dir.value === "rtl" ? appConfig.ui.icons.arrowRight : appConfig.ui.icons.arrowLeft));
|
|
1808
1719
|
const nextIcon = computed(() => props.nextIcon || (dir.value === "rtl" ? appConfig.ui.icons.arrowLeft : appConfig.ui.icons.arrowRight));
|
|
1809
1720
|
const stopAutoplayOnInteraction = computed(() => {
|
|
1810
|
-
var _a;
|
|
1811
1721
|
if (typeof props.autoplay === "boolean") {
|
|
1812
1722
|
return true;
|
|
1813
1723
|
}
|
|
1814
|
-
return
|
|
1724
|
+
return props.autoplay.stopOnInteraction ?? true;
|
|
1815
1725
|
});
|
|
1816
1726
|
const stopAutoScrollOnInteraction = computed(() => {
|
|
1817
|
-
var _a;
|
|
1818
1727
|
if (typeof props.autoScroll === "boolean") {
|
|
1819
1728
|
return true;
|
|
1820
1729
|
}
|
|
1821
|
-
return
|
|
1822
|
-
});
|
|
1823
|
-
const ui = computed(() => {
|
|
1824
|
-
var _a;
|
|
1825
|
-
return tv({ extend: tv(theme$1), ...((_a = appConfig.ui) == null ? void 0 : _a.carousel) || {} })({
|
|
1826
|
-
orientation: props.orientation
|
|
1827
|
-
});
|
|
1730
|
+
return props.autoScroll.stopOnInteraction ?? true;
|
|
1828
1731
|
});
|
|
1732
|
+
const ui = computed(() => tv({ extend: tv(theme$1), ...appConfig.ui?.carousel || {} })({
|
|
1733
|
+
orientation: props.orientation
|
|
1734
|
+
}));
|
|
1829
1735
|
const options = computed(() => ({
|
|
1830
1736
|
...props.fade ? { align: "center", containScroll: false } : {},
|
|
1831
1737
|
...rootProps.value,
|
|
@@ -1862,37 +1768,31 @@ const _sfc_main$2 = {
|
|
|
1862
1768
|
plugins.value = emblaPlugins;
|
|
1863
1769
|
}
|
|
1864
1770
|
watch(() => [props.autoplay, props.autoScroll, props.autoHeight, props.classNames, props.fade, props.wheelGestures], async () => {
|
|
1865
|
-
var _a;
|
|
1866
1771
|
await loadPlugins();
|
|
1867
|
-
|
|
1772
|
+
emblaApi.value?.reInit(options.value, plugins.value);
|
|
1868
1773
|
}, { immediate: true });
|
|
1869
1774
|
const [emblaRef, emblaApi] = useEmblaCarousel(options, plugins);
|
|
1870
1775
|
watch(options, () => {
|
|
1871
|
-
|
|
1872
|
-
(_a = emblaApi.value) == null ? void 0 : _a.reInit(options.value, plugins.value);
|
|
1776
|
+
emblaApi.value?.reInit(options.value, plugins.value);
|
|
1873
1777
|
}, { flush: "post" });
|
|
1874
1778
|
function stopOnInteraction() {
|
|
1875
|
-
var _a, _b, _c, _d;
|
|
1876
1779
|
if (stopAutoplayOnInteraction.value) {
|
|
1877
|
-
|
|
1780
|
+
emblaApi.value?.plugins().autoplay?.stop();
|
|
1878
1781
|
}
|
|
1879
1782
|
if (stopAutoScrollOnInteraction.value) {
|
|
1880
|
-
|
|
1783
|
+
emblaApi.value?.plugins().autoScroll?.stop();
|
|
1881
1784
|
}
|
|
1882
1785
|
}
|
|
1883
1786
|
function scrollPrev() {
|
|
1884
|
-
|
|
1885
|
-
(_a = emblaApi.value) == null ? void 0 : _a.scrollPrev();
|
|
1787
|
+
emblaApi.value?.scrollPrev();
|
|
1886
1788
|
stopOnInteraction();
|
|
1887
1789
|
}
|
|
1888
1790
|
function scrollNext() {
|
|
1889
|
-
|
|
1890
|
-
(_a = emblaApi.value) == null ? void 0 : _a.scrollNext();
|
|
1791
|
+
emblaApi.value?.scrollNext();
|
|
1891
1792
|
stopOnInteraction();
|
|
1892
1793
|
}
|
|
1893
1794
|
function scrollTo(index) {
|
|
1894
|
-
|
|
1895
|
-
(_a = emblaApi.value) == null ? void 0 : _a.scrollTo(index);
|
|
1795
|
+
emblaApi.value?.scrollTo(index);
|
|
1896
1796
|
}
|
|
1897
1797
|
function onKeyDown(event) {
|
|
1898
1798
|
let prevKey;
|
|
@@ -1926,7 +1826,6 @@ const _sfc_main$2 = {
|
|
|
1926
1826
|
emblaApi
|
|
1927
1827
|
});
|
|
1928
1828
|
return (_ctx, _push, _parent, _attrs) => {
|
|
1929
|
-
var _a;
|
|
1930
1829
|
_push(ssrRenderComponent(unref(Primitive), mergeProps({
|
|
1931
1830
|
as: __props.as,
|
|
1932
1831
|
role: "region",
|
|
@@ -1934,18 +1833,16 @@ const _sfc_main$2 = {
|
|
|
1934
1833
|
"data-orientation": __props.orientation,
|
|
1935
1834
|
tabindex: "0",
|
|
1936
1835
|
"data-slot": "root",
|
|
1937
|
-
class: ui.value.root({ class: [
|
|
1836
|
+
class: ui.value.root({ class: [props.ui?.root, props.class] }),
|
|
1938
1837
|
onKeydown: onKeyDown
|
|
1939
1838
|
}, _attrs), {
|
|
1940
1839
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
1941
|
-
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
|
1942
1840
|
if (_push2) {
|
|
1943
|
-
_push2(`<div data-slot="viewport" class="${ssrRenderClass(ui.value.viewport({ class:
|
|
1841
|
+
_push2(`<div data-slot="viewport" class="${ssrRenderClass(ui.value.viewport({ class: props.ui?.viewport }))}"${_scopeId}><div data-slot="container" class="${ssrRenderClass(ui.value.container({ class: props.ui?.container }))}"${_scopeId}><!--[-->`);
|
|
1944
1842
|
ssrRenderList(__props.items, (item, index) => {
|
|
1945
|
-
var _a3, _b2;
|
|
1946
1843
|
_push2(`<div${ssrRenderAttrs(mergeProps({ key: index }, { ref_for: true }, __props.dots ? { role: "tabpanel" } : { "role": "group", "aria-roledescription": "slide" }, {
|
|
1947
1844
|
"data-slot": "item",
|
|
1948
|
-
class: ui.value.item({ class: [
|
|
1845
|
+
class: ui.value.item({ class: [props.ui?.item, isCarouselItem(item) && item.ui?.item, isCarouselItem(item) && item.class] })
|
|
1949
1846
|
}))}${_scopeId}>`);
|
|
1950
1847
|
ssrRenderSlot(_ctx.$slots, "default", {
|
|
1951
1848
|
item,
|
|
@@ -1955,9 +1852,9 @@ const _sfc_main$2 = {
|
|
|
1955
1852
|
});
|
|
1956
1853
|
_push2(`<!--]--></div></div>`);
|
|
1957
1854
|
if (__props.arrows || __props.dots) {
|
|
1958
|
-
_push2(`<div data-slot="controls" class="${ssrRenderClass(ui.value.controls({ class:
|
|
1855
|
+
_push2(`<div data-slot="controls" class="${ssrRenderClass(ui.value.controls({ class: props.ui?.controls }))}"${_scopeId}>`);
|
|
1959
1856
|
if (__props.arrows) {
|
|
1960
|
-
_push2(`<div data-slot="arrows" class="${ssrRenderClass(ui.value.arrows({ class:
|
|
1857
|
+
_push2(`<div data-slot="arrows" class="${ssrRenderClass(ui.value.arrows({ class: props.ui?.arrows }))}"${_scopeId}>`);
|
|
1961
1858
|
_push2(ssrRenderComponent(_sfc_main$8$1, mergeProps({
|
|
1962
1859
|
disabled: !canScrollPrev.value,
|
|
1963
1860
|
icon: prevIcon.value,
|
|
@@ -1966,7 +1863,7 @@ const _sfc_main$2 = {
|
|
|
1966
1863
|
"aria-label": unref(t)("carousel.prev")
|
|
1967
1864
|
}, typeof __props.prev === "object" ? __props.prev : void 0, {
|
|
1968
1865
|
"data-slot": "prev",
|
|
1969
|
-
class: ui.value.prev({ class:
|
|
1866
|
+
class: ui.value.prev({ class: props.ui?.prev }),
|
|
1970
1867
|
onClick: scrollPrev
|
|
1971
1868
|
}), null, _parent2, _scopeId));
|
|
1972
1869
|
_push2(ssrRenderComponent(_sfc_main$8$1, mergeProps({
|
|
@@ -1977,7 +1874,7 @@ const _sfc_main$2 = {
|
|
|
1977
1874
|
"aria-label": unref(t)("carousel.next")
|
|
1978
1875
|
}, typeof __props.next === "object" ? __props.next : void 0, {
|
|
1979
1876
|
"data-slot": "next",
|
|
1980
|
-
class: ui.value.next({ class:
|
|
1877
|
+
class: ui.value.next({ class: props.ui?.next }),
|
|
1981
1878
|
onClick: scrollNext
|
|
1982
1879
|
}), null, _parent2, _scopeId));
|
|
1983
1880
|
_push2(`</div>`);
|
|
@@ -1985,10 +1882,9 @@ const _sfc_main$2 = {
|
|
|
1985
1882
|
_push2(`<!---->`);
|
|
1986
1883
|
}
|
|
1987
1884
|
if (__props.dots) {
|
|
1988
|
-
_push2(`<div role="tablist"${ssrRenderAttr("aria-label", unref(t)("carousel.dots"))} data-slot="dots" class="${ssrRenderClass(ui.value.dots({ class:
|
|
1885
|
+
_push2(`<div role="tablist"${ssrRenderAttr("aria-label", unref(t)("carousel.dots"))} data-slot="dots" class="${ssrRenderClass(ui.value.dots({ class: props.ui?.dots }))}"${_scopeId}><!--[-->`);
|
|
1989
1886
|
ssrRenderList(scrollSnaps.value, (_2, index) => {
|
|
1990
|
-
|
|
1991
|
-
_push2(`<button type="button" role="tab"${ssrRenderAttr("aria-label", unref(t)("carousel.goto", { slide: index + 1 }))}${ssrRenderAttr("aria-selected", selectedIndex.value === index)} data-slot="dot" class="${ssrRenderClass(ui.value.dot({ class: (_a3 = props.ui) == null ? void 0 : _a3.dot, active: selectedIndex.value === index }))}"${ssrRenderAttr("data-state", selectedIndex.value === index ? "active" : void 0)}${_scopeId}></button>`);
|
|
1887
|
+
_push2(`<button type="button" role="tab"${ssrRenderAttr("aria-label", unref(t)("carousel.goto", { slide: index + 1 }))}${ssrRenderAttr("aria-selected", selectedIndex.value === index)} data-slot="dot" class="${ssrRenderClass(ui.value.dot({ class: props.ui?.dot, active: selectedIndex.value === index }))}"${ssrRenderAttr("data-state", selectedIndex.value === index ? "active" : void 0)}${_scopeId}></button>`);
|
|
1992
1888
|
});
|
|
1993
1889
|
_push2(`<!--]--></div>`);
|
|
1994
1890
|
} else {
|
|
@@ -2004,17 +1900,16 @@ const _sfc_main$2 = {
|
|
|
2004
1900
|
ref_key: "emblaRef",
|
|
2005
1901
|
ref: emblaRef,
|
|
2006
1902
|
"data-slot": "viewport",
|
|
2007
|
-
class: ui.value.viewport({ class:
|
|
1903
|
+
class: ui.value.viewport({ class: props.ui?.viewport })
|
|
2008
1904
|
}, [
|
|
2009
1905
|
createVNode("div", {
|
|
2010
1906
|
"data-slot": "container",
|
|
2011
|
-
class: ui.value.container({ class:
|
|
1907
|
+
class: ui.value.container({ class: props.ui?.container })
|
|
2012
1908
|
}, [
|
|
2013
1909
|
(openBlock(true), createBlock(Fragment, null, renderList(__props.items, (item, index) => {
|
|
2014
|
-
var _a3, _b2;
|
|
2015
1910
|
return openBlock(), createBlock("div", mergeProps({ key: index }, { ref_for: true }, __props.dots ? { role: "tabpanel" } : { "role": "group", "aria-roledescription": "slide" }, {
|
|
2016
1911
|
"data-slot": "item",
|
|
2017
|
-
class: ui.value.item({ class: [
|
|
1912
|
+
class: ui.value.item({ class: [props.ui?.item, isCarouselItem(item) && item.ui?.item, isCarouselItem(item) && item.class] })
|
|
2018
1913
|
}), [
|
|
2019
1914
|
renderSlot(_ctx.$slots, "default", {
|
|
2020
1915
|
item,
|
|
@@ -2027,12 +1922,12 @@ const _sfc_main$2 = {
|
|
|
2027
1922
|
__props.arrows || __props.dots ? (openBlock(), createBlock("div", {
|
|
2028
1923
|
key: 0,
|
|
2029
1924
|
"data-slot": "controls",
|
|
2030
|
-
class: ui.value.controls({ class:
|
|
1925
|
+
class: ui.value.controls({ class: props.ui?.controls })
|
|
2031
1926
|
}, [
|
|
2032
1927
|
__props.arrows ? (openBlock(), createBlock("div", {
|
|
2033
1928
|
key: 0,
|
|
2034
1929
|
"data-slot": "arrows",
|
|
2035
|
-
class: ui.value.arrows({ class:
|
|
1930
|
+
class: ui.value.arrows({ class: props.ui?.arrows })
|
|
2036
1931
|
}, [
|
|
2037
1932
|
createVNode(_sfc_main$8$1, mergeProps({
|
|
2038
1933
|
disabled: !canScrollPrev.value,
|
|
@@ -2042,7 +1937,7 @@ const _sfc_main$2 = {
|
|
|
2042
1937
|
"aria-label": unref(t)("carousel.prev")
|
|
2043
1938
|
}, typeof __props.prev === "object" ? __props.prev : void 0, {
|
|
2044
1939
|
"data-slot": "prev",
|
|
2045
|
-
class: ui.value.prev({ class:
|
|
1940
|
+
class: ui.value.prev({ class: props.ui?.prev }),
|
|
2046
1941
|
onClick: scrollPrev
|
|
2047
1942
|
}), null, 16, ["disabled", "icon", "aria-label", "class"]),
|
|
2048
1943
|
createVNode(_sfc_main$8$1, mergeProps({
|
|
@@ -2053,7 +1948,7 @@ const _sfc_main$2 = {
|
|
|
2053
1948
|
"aria-label": unref(t)("carousel.next")
|
|
2054
1949
|
}, typeof __props.next === "object" ? __props.next : void 0, {
|
|
2055
1950
|
"data-slot": "next",
|
|
2056
|
-
class: ui.value.next({ class:
|
|
1951
|
+
class: ui.value.next({ class: props.ui?.next }),
|
|
2057
1952
|
onClick: scrollNext
|
|
2058
1953
|
}), null, 16, ["disabled", "icon", "aria-label", "class"])
|
|
2059
1954
|
], 2)) : createCommentVNode("", true),
|
|
@@ -2062,10 +1957,9 @@ const _sfc_main$2 = {
|
|
|
2062
1957
|
role: "tablist",
|
|
2063
1958
|
"aria-label": unref(t)("carousel.dots"),
|
|
2064
1959
|
"data-slot": "dots",
|
|
2065
|
-
class: ui.value.dots({ class:
|
|
1960
|
+
class: ui.value.dots({ class: props.ui?.dots })
|
|
2066
1961
|
}, [
|
|
2067
1962
|
(openBlock(true), createBlock(Fragment, null, renderList(scrollSnaps.value, (_2, index) => {
|
|
2068
|
-
var _a3;
|
|
2069
1963
|
return openBlock(), createBlock("button", {
|
|
2070
1964
|
key: index,
|
|
2071
1965
|
type: "button",
|
|
@@ -2073,7 +1967,7 @@ const _sfc_main$2 = {
|
|
|
2073
1967
|
"aria-label": unref(t)("carousel.goto", { slide: index + 1 }),
|
|
2074
1968
|
"aria-selected": selectedIndex.value === index,
|
|
2075
1969
|
"data-slot": "dot",
|
|
2076
|
-
class: ui.value.dot({ class:
|
|
1970
|
+
class: ui.value.dot({ class: props.ui?.dot, active: selectedIndex.value === index }),
|
|
2077
1971
|
"data-state": selectedIndex.value === index ? "active" : void 0,
|
|
2078
1972
|
onClick: ($event) => scrollTo(index)
|
|
2079
1973
|
}, null, 10, ["aria-label", "aria-selected", "data-state", "onClick"]);
|
|
@@ -2174,42 +2068,35 @@ const _sfc_main$1 = {
|
|
|
2174
2068
|
const props = __props;
|
|
2175
2069
|
const slots = useSlots();
|
|
2176
2070
|
const appConfig = useAppConfig();
|
|
2177
|
-
const ui = computed(() => {
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
title: !!props.title || !!slots.title
|
|
2184
|
-
});
|
|
2185
|
-
});
|
|
2071
|
+
const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.pageCTA || {} })({
|
|
2072
|
+
variant: props.variant,
|
|
2073
|
+
orientation: props.orientation,
|
|
2074
|
+
reverse: props.reverse,
|
|
2075
|
+
title: !!props.title || !!slots.title
|
|
2076
|
+
}));
|
|
2186
2077
|
return (_ctx, _push, _parent, _attrs) => {
|
|
2187
|
-
var _a;
|
|
2188
2078
|
_push(ssrRenderComponent(unref(Primitive), mergeProps({
|
|
2189
2079
|
as: __props.as,
|
|
2190
2080
|
"data-orientation": __props.orientation,
|
|
2191
2081
|
"data-slot": "root",
|
|
2192
|
-
class: ui.value.root({ class: [
|
|
2082
|
+
class: ui.value.root({ class: [props.ui?.root, props.class] })
|
|
2193
2083
|
}, _attrs), {
|
|
2194
2084
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
2195
|
-
var _a2, _b;
|
|
2196
2085
|
if (_push2) {
|
|
2197
2086
|
ssrRenderSlot(_ctx.$slots, "top", {}, null, _push2, _parent2, _scopeId);
|
|
2198
2087
|
_push2(ssrRenderComponent(_sfc_main$8, {
|
|
2199
2088
|
"data-slot": "container",
|
|
2200
|
-
class: ui.value.container({ class:
|
|
2089
|
+
class: ui.value.container({ class: props.ui?.container })
|
|
2201
2090
|
}, {
|
|
2202
2091
|
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
2203
|
-
var _a3, _b2, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
2204
2092
|
if (_push3) {
|
|
2205
|
-
if (!!slots.header || (__props.title || !!slots.title) || (__props.description || !!slots.description) || !!slots.body || !!slots.footer || (
|
|
2206
|
-
_push3(`<div data-slot="wrapper" class="${ssrRenderClass(ui.value.wrapper({ class:
|
|
2093
|
+
if (!!slots.header || (__props.title || !!slots.title) || (__props.description || !!slots.description) || !!slots.body || !!slots.footer || (__props.links?.length || !!slots.links)) {
|
|
2094
|
+
_push3(`<div data-slot="wrapper" class="${ssrRenderClass(ui.value.wrapper({ class: props.ui?.wrapper }))}"${_scopeId2}>`);
|
|
2207
2095
|
if (!!slots.header || (__props.title || !!slots.title) || (__props.description || !!slots.description)) {
|
|
2208
|
-
_push3(`<div data-slot="header" class="${ssrRenderClass(ui.value.header({ class:
|
|
2096
|
+
_push3(`<div data-slot="header" class="${ssrRenderClass(ui.value.header({ class: props.ui?.header }))}"${_scopeId2}>`);
|
|
2209
2097
|
ssrRenderSlot(_ctx.$slots, "header", {}, () => {
|
|
2210
|
-
var _a4, _b3;
|
|
2211
2098
|
if (__props.title || !!slots.title) {
|
|
2212
|
-
_push3(`<h2 data-slot="title" class="${ssrRenderClass(ui.value.title({ class:
|
|
2099
|
+
_push3(`<h2 data-slot="title" class="${ssrRenderClass(ui.value.title({ class: props.ui?.title }))}"${_scopeId2}>`);
|
|
2213
2100
|
ssrRenderSlot(_ctx.$slots, "title", {}, () => {
|
|
2214
2101
|
_push3(`${ssrInterpolate(__props.title)}`);
|
|
2215
2102
|
}, _push3, _parent3, _scopeId2);
|
|
@@ -2218,7 +2105,7 @@ const _sfc_main$1 = {
|
|
|
2218
2105
|
_push3(`<!---->`);
|
|
2219
2106
|
}
|
|
2220
2107
|
if (__props.description || !!slots.description) {
|
|
2221
|
-
_push3(`<div data-slot="description" class="${ssrRenderClass(ui.value.description({ class:
|
|
2108
|
+
_push3(`<div data-slot="description" class="${ssrRenderClass(ui.value.description({ class: props.ui?.description }))}"${_scopeId2}>`);
|
|
2222
2109
|
ssrRenderSlot(_ctx.$slots, "description", {}, () => {
|
|
2223
2110
|
_push3(`${ssrInterpolate(__props.description)}`);
|
|
2224
2111
|
}, _push3, _parent3, _scopeId2);
|
|
@@ -2232,18 +2119,17 @@ const _sfc_main$1 = {
|
|
|
2232
2119
|
_push3(`<!---->`);
|
|
2233
2120
|
}
|
|
2234
2121
|
if (!!slots.body) {
|
|
2235
|
-
_push3(`<div data-slot="body" class="${ssrRenderClass(ui.value.body({ class:
|
|
2122
|
+
_push3(`<div data-slot="body" class="${ssrRenderClass(ui.value.body({ class: props.ui?.body }))}"${_scopeId2}>`);
|
|
2236
2123
|
ssrRenderSlot(_ctx.$slots, "body", {}, null, _push3, _parent3, _scopeId2);
|
|
2237
2124
|
_push3(`</div>`);
|
|
2238
2125
|
} else {
|
|
2239
2126
|
_push3(`<!---->`);
|
|
2240
2127
|
}
|
|
2241
|
-
if (!!slots.footer || (
|
|
2242
|
-
_push3(`<div data-slot="footer" class="${ssrRenderClass(ui.value.footer({ class:
|
|
2128
|
+
if (!!slots.footer || (__props.links?.length || !!slots.links)) {
|
|
2129
|
+
_push3(`<div data-slot="footer" class="${ssrRenderClass(ui.value.footer({ class: props.ui?.footer }))}"${_scopeId2}>`);
|
|
2243
2130
|
ssrRenderSlot(_ctx.$slots, "footer", {}, () => {
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
_push3(`<div data-slot="links" class="${ssrRenderClass(ui.value.links({ class: (_b3 = props.ui) == null ? void 0 : _b3.links }))}"${_scopeId2}>`);
|
|
2131
|
+
if (__props.links?.length || !!slots.links) {
|
|
2132
|
+
_push3(`<div data-slot="links" class="${ssrRenderClass(ui.value.links({ class: props.ui?.links }))}"${_scopeId2}>`);
|
|
2247
2133
|
ssrRenderSlot(_ctx.$slots, "links", {}, () => {
|
|
2248
2134
|
_push3(`<!--[-->`);
|
|
2249
2135
|
ssrRenderList(__props.links, (link, index) => {
|
|
@@ -2276,71 +2162,65 @@ const _sfc_main$1 = {
|
|
|
2276
2162
|
}
|
|
2277
2163
|
} else {
|
|
2278
2164
|
return [
|
|
2279
|
-
!!slots.header || (__props.title || !!slots.title) || (__props.description || !!slots.description) || !!slots.body || !!slots.footer || (
|
|
2165
|
+
!!slots.header || (__props.title || !!slots.title) || (__props.description || !!slots.description) || !!slots.body || !!slots.footer || (__props.links?.length || !!slots.links) ? (openBlock(), createBlock("div", {
|
|
2280
2166
|
key: 0,
|
|
2281
2167
|
"data-slot": "wrapper",
|
|
2282
|
-
class: ui.value.wrapper({ class:
|
|
2168
|
+
class: ui.value.wrapper({ class: props.ui?.wrapper })
|
|
2283
2169
|
}, [
|
|
2284
2170
|
!!slots.header || (__props.title || !!slots.title) || (__props.description || !!slots.description) ? (openBlock(), createBlock("div", {
|
|
2285
2171
|
key: 0,
|
|
2286
2172
|
"data-slot": "header",
|
|
2287
|
-
class: ui.value.header({ class:
|
|
2173
|
+
class: ui.value.header({ class: props.ui?.header })
|
|
2288
2174
|
}, [
|
|
2289
|
-
renderSlot(_ctx.$slots, "header", {}, () =>
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
], 2)) : createCommentVNode("", true)
|
|
2310
|
-
];
|
|
2311
|
-
})
|
|
2175
|
+
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
2176
|
+
__props.title || !!slots.title ? (openBlock(), createBlock("h2", {
|
|
2177
|
+
key: 0,
|
|
2178
|
+
"data-slot": "title",
|
|
2179
|
+
class: ui.value.title({ class: props.ui?.title })
|
|
2180
|
+
}, [
|
|
2181
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
2182
|
+
createTextVNode(toDisplayString(__props.title), 1)
|
|
2183
|
+
])
|
|
2184
|
+
], 2)) : createCommentVNode("", true),
|
|
2185
|
+
__props.description || !!slots.description ? (openBlock(), createBlock("div", {
|
|
2186
|
+
key: 1,
|
|
2187
|
+
"data-slot": "description",
|
|
2188
|
+
class: ui.value.description({ class: props.ui?.description })
|
|
2189
|
+
}, [
|
|
2190
|
+
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
2191
|
+
createTextVNode(toDisplayString(__props.description), 1)
|
|
2192
|
+
])
|
|
2193
|
+
], 2)) : createCommentVNode("", true)
|
|
2194
|
+
])
|
|
2312
2195
|
], 2)) : createCommentVNode("", true),
|
|
2313
2196
|
!!slots.body ? (openBlock(), createBlock("div", {
|
|
2314
2197
|
key: 1,
|
|
2315
2198
|
"data-slot": "body",
|
|
2316
|
-
class: ui.value.body({ class:
|
|
2199
|
+
class: ui.value.body({ class: props.ui?.body })
|
|
2317
2200
|
}, [
|
|
2318
2201
|
renderSlot(_ctx.$slots, "body")
|
|
2319
2202
|
], 2)) : createCommentVNode("", true),
|
|
2320
|
-
!!slots.footer || (
|
|
2203
|
+
!!slots.footer || (__props.links?.length || !!slots.links) ? (openBlock(), createBlock("div", {
|
|
2321
2204
|
key: 2,
|
|
2322
2205
|
"data-slot": "footer",
|
|
2323
|
-
class: ui.value.footer({ class:
|
|
2206
|
+
class: ui.value.footer({ class: props.ui?.footer })
|
|
2324
2207
|
}, [
|
|
2325
|
-
renderSlot(_ctx.$slots, "footer", {}, () =>
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
], 2)) : createCommentVNode("", true)
|
|
2342
|
-
];
|
|
2343
|
-
})
|
|
2208
|
+
renderSlot(_ctx.$slots, "footer", {}, () => [
|
|
2209
|
+
__props.links?.length || !!slots.links ? (openBlock(), createBlock("div", {
|
|
2210
|
+
key: 0,
|
|
2211
|
+
"data-slot": "links",
|
|
2212
|
+
class: ui.value.links({ class: props.ui?.links })
|
|
2213
|
+
}, [
|
|
2214
|
+
renderSlot(_ctx.$slots, "links", {}, () => [
|
|
2215
|
+
(openBlock(true), createBlock(Fragment, null, renderList(__props.links, (link, index) => {
|
|
2216
|
+
return openBlock(), createBlock(_sfc_main$8$1, mergeProps({
|
|
2217
|
+
key: index,
|
|
2218
|
+
size: "lg"
|
|
2219
|
+
}, { ref_for: true }, link), null, 16);
|
|
2220
|
+
}), 128))
|
|
2221
|
+
])
|
|
2222
|
+
], 2)) : createCommentVNode("", true)
|
|
2223
|
+
])
|
|
2344
2224
|
], 2)) : createCommentVNode("", true)
|
|
2345
2225
|
], 2)) : createCommentVNode("", true),
|
|
2346
2226
|
!!slots.default ? renderSlot(_ctx.$slots, "default", { key: 1 }) : __props.orientation === "horizontal" ? (openBlock(), createBlock("div", {
|
|
@@ -2358,84 +2238,75 @@ const _sfc_main$1 = {
|
|
|
2358
2238
|
renderSlot(_ctx.$slots, "top"),
|
|
2359
2239
|
createVNode(_sfc_main$8, {
|
|
2360
2240
|
"data-slot": "container",
|
|
2361
|
-
class: ui.value.container({ class:
|
|
2241
|
+
class: ui.value.container({ class: props.ui?.container })
|
|
2362
2242
|
}, {
|
|
2363
|
-
default: withCtx(() =>
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2243
|
+
default: withCtx(() => [
|
|
2244
|
+
!!slots.header || (__props.title || !!slots.title) || (__props.description || !!slots.description) || !!slots.body || !!slots.footer || (__props.links?.length || !!slots.links) ? (openBlock(), createBlock("div", {
|
|
2245
|
+
key: 0,
|
|
2246
|
+
"data-slot": "wrapper",
|
|
2247
|
+
class: ui.value.wrapper({ class: props.ui?.wrapper })
|
|
2248
|
+
}, [
|
|
2249
|
+
!!slots.header || (__props.title || !!slots.title) || (__props.description || !!slots.description) ? (openBlock(), createBlock("div", {
|
|
2367
2250
|
key: 0,
|
|
2368
|
-
"data-slot": "
|
|
2369
|
-
class: ui.value.
|
|
2251
|
+
"data-slot": "header",
|
|
2252
|
+
class: ui.value.header({ class: props.ui?.header })
|
|
2370
2253
|
}, [
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
class: ui.value.description({ class: (_b3 = props.ui) == null ? void 0 : _b3.description })
|
|
2392
|
-
}, [
|
|
2393
|
-
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
2394
|
-
createTextVNode(toDisplayString(__props.description), 1)
|
|
2395
|
-
])
|
|
2396
|
-
], 2)) : createCommentVNode("", true)
|
|
2397
|
-
];
|
|
2398
|
-
})
|
|
2399
|
-
], 2)) : createCommentVNode("", true),
|
|
2400
|
-
!!slots.body ? (openBlock(), createBlock("div", {
|
|
2401
|
-
key: 1,
|
|
2402
|
-
"data-slot": "body",
|
|
2403
|
-
class: ui.value.body({ class: (_d = props.ui) == null ? void 0 : _d.body })
|
|
2404
|
-
}, [
|
|
2405
|
-
renderSlot(_ctx.$slots, "body")
|
|
2406
|
-
], 2)) : createCommentVNode("", true),
|
|
2407
|
-
!!slots.footer || (((_e = __props.links) == null ? void 0 : _e.length) || !!slots.links) ? (openBlock(), createBlock("div", {
|
|
2408
|
-
key: 2,
|
|
2409
|
-
"data-slot": "footer",
|
|
2410
|
-
class: ui.value.footer({ class: (_f = props.ui) == null ? void 0 : _f.footer })
|
|
2411
|
-
}, [
|
|
2412
|
-
renderSlot(_ctx.$slots, "footer", {}, () => {
|
|
2413
|
-
var _a4, _b3;
|
|
2414
|
-
return [
|
|
2415
|
-
((_a4 = __props.links) == null ? void 0 : _a4.length) || !!slots.links ? (openBlock(), createBlock("div", {
|
|
2416
|
-
key: 0,
|
|
2417
|
-
"data-slot": "links",
|
|
2418
|
-
class: ui.value.links({ class: (_b3 = props.ui) == null ? void 0 : _b3.links })
|
|
2419
|
-
}, [
|
|
2420
|
-
renderSlot(_ctx.$slots, "links", {}, () => [
|
|
2421
|
-
(openBlock(true), createBlock(Fragment, null, renderList(__props.links, (link, index) => {
|
|
2422
|
-
return openBlock(), createBlock(_sfc_main$8$1, mergeProps({
|
|
2423
|
-
key: index,
|
|
2424
|
-
size: "lg"
|
|
2425
|
-
}, { ref_for: true }, link), null, 16);
|
|
2426
|
-
}), 128))
|
|
2427
|
-
])
|
|
2428
|
-
], 2)) : createCommentVNode("", true)
|
|
2429
|
-
];
|
|
2430
|
-
})
|
|
2431
|
-
], 2)) : createCommentVNode("", true)
|
|
2254
|
+
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
2255
|
+
__props.title || !!slots.title ? (openBlock(), createBlock("h2", {
|
|
2256
|
+
key: 0,
|
|
2257
|
+
"data-slot": "title",
|
|
2258
|
+
class: ui.value.title({ class: props.ui?.title })
|
|
2259
|
+
}, [
|
|
2260
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
2261
|
+
createTextVNode(toDisplayString(__props.title), 1)
|
|
2262
|
+
])
|
|
2263
|
+
], 2)) : createCommentVNode("", true),
|
|
2264
|
+
__props.description || !!slots.description ? (openBlock(), createBlock("div", {
|
|
2265
|
+
key: 1,
|
|
2266
|
+
"data-slot": "description",
|
|
2267
|
+
class: ui.value.description({ class: props.ui?.description })
|
|
2268
|
+
}, [
|
|
2269
|
+
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
2270
|
+
createTextVNode(toDisplayString(__props.description), 1)
|
|
2271
|
+
])
|
|
2272
|
+
], 2)) : createCommentVNode("", true)
|
|
2273
|
+
])
|
|
2432
2274
|
], 2)) : createCommentVNode("", true),
|
|
2433
|
-
!!slots.
|
|
2275
|
+
!!slots.body ? (openBlock(), createBlock("div", {
|
|
2276
|
+
key: 1,
|
|
2277
|
+
"data-slot": "body",
|
|
2278
|
+
class: ui.value.body({ class: props.ui?.body })
|
|
2279
|
+
}, [
|
|
2280
|
+
renderSlot(_ctx.$slots, "body")
|
|
2281
|
+
], 2)) : createCommentVNode("", true),
|
|
2282
|
+
!!slots.footer || (__props.links?.length || !!slots.links) ? (openBlock(), createBlock("div", {
|
|
2434
2283
|
key: 2,
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2284
|
+
"data-slot": "footer",
|
|
2285
|
+
class: ui.value.footer({ class: props.ui?.footer })
|
|
2286
|
+
}, [
|
|
2287
|
+
renderSlot(_ctx.$slots, "footer", {}, () => [
|
|
2288
|
+
__props.links?.length || !!slots.links ? (openBlock(), createBlock("div", {
|
|
2289
|
+
key: 0,
|
|
2290
|
+
"data-slot": "links",
|
|
2291
|
+
class: ui.value.links({ class: props.ui?.links })
|
|
2292
|
+
}, [
|
|
2293
|
+
renderSlot(_ctx.$slots, "links", {}, () => [
|
|
2294
|
+
(openBlock(true), createBlock(Fragment, null, renderList(__props.links, (link, index) => {
|
|
2295
|
+
return openBlock(), createBlock(_sfc_main$8$1, mergeProps({
|
|
2296
|
+
key: index,
|
|
2297
|
+
size: "lg"
|
|
2298
|
+
}, { ref_for: true }, link), null, 16);
|
|
2299
|
+
}), 128))
|
|
2300
|
+
])
|
|
2301
|
+
], 2)) : createCommentVNode("", true)
|
|
2302
|
+
])
|
|
2303
|
+
], 2)) : createCommentVNode("", true)
|
|
2304
|
+
], 2)) : createCommentVNode("", true),
|
|
2305
|
+
!!slots.default ? renderSlot(_ctx.$slots, "default", { key: 1 }) : __props.orientation === "horizontal" ? (openBlock(), createBlock("div", {
|
|
2306
|
+
key: 2,
|
|
2307
|
+
class: "hidden lg:block"
|
|
2308
|
+
})) : createCommentVNode("", true)
|
|
2309
|
+
]),
|
|
2439
2310
|
_: 3
|
|
2440
2311
|
}, 8, ["class"]),
|
|
2441
2312
|
renderSlot(_ctx.$slots, "bottom")
|
|
@@ -2460,14 +2331,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2460
2331
|
let __temp, __restore;
|
|
2461
2332
|
const { isAuthenticated } = useAuth();
|
|
2462
2333
|
const { data } = ([__temp, __restore] = withAsyncContext(() => useFetch("/api/home", "$QD8d9NkvSp")), __temp = await __temp, __restore(), __temp);
|
|
2463
|
-
const hasCustomContent = computed(() =>
|
|
2464
|
-
|
|
2465
|
-
return (_c = (_b = (_a = data.value) == null ? void 0 : _a.data) == null ? void 0 : _b.hasCustomHome) != null ? _c : false;
|
|
2466
|
-
});
|
|
2467
|
-
const customContent = computed(() => {
|
|
2468
|
-
var _a, _b, _c;
|
|
2469
|
-
return (_c = (_b = (_a = data.value) == null ? void 0 : _a.data) == null ? void 0 : _b.content) != null ? _c : "";
|
|
2470
|
-
});
|
|
2334
|
+
const hasCustomContent = computed(() => data.value?.data?.hasCustomHome ?? false);
|
|
2335
|
+
const customContent = computed(() => data.value?.data?.content ?? "");
|
|
2471
2336
|
const heroLinks = computed(() => {
|
|
2472
2337
|
const links = [
|
|
2473
2338
|
{
|
|
@@ -2802,4 +2667,4 @@ _sfc_main.setup = (props, ctx) => {
|
|
|
2802
2667
|
};
|
|
2803
2668
|
|
|
2804
2669
|
export { _sfc_main as default };
|
|
2805
|
-
//# sourceMappingURL=index-
|
|
2670
|
+
//# sourceMappingURL=index-Byt-3Yq6.mjs.map
|