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
|
@@ -298,7 +298,6 @@ const _sfc_main$3 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
298
298
|
}),
|
|
299
299
|
emits: /* @__PURE__ */ mergeModels(["change"], ["update:modelValue"]),
|
|
300
300
|
setup(__props, { emit: __emit }) {
|
|
301
|
-
var _a;
|
|
302
301
|
const props = __props;
|
|
303
302
|
const slots = useSlots();
|
|
304
303
|
const emits = __emit;
|
|
@@ -306,18 +305,15 @@ const _sfc_main$3 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
306
305
|
const appConfig = useAppConfig();
|
|
307
306
|
const rootProps = useForwardProps(reactivePick(props, "required", "value", "defaultValue"));
|
|
308
307
|
const { id: _id, emitFormChange, emitFormInput, size, color, name, disabled, ariaAttrs } = useFormField(props);
|
|
309
|
-
const id =
|
|
310
|
-
const ui = computed(() => {
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
disabled: disabled.value
|
|
319
|
-
});
|
|
320
|
-
});
|
|
308
|
+
const id = _id.value ?? useId();
|
|
309
|
+
const ui = computed(() => tv({ extend: tv(theme$2), ...appConfig.ui?.checkbox || {} })({
|
|
310
|
+
size: size.value,
|
|
311
|
+
color: color.value,
|
|
312
|
+
variant: props.variant,
|
|
313
|
+
indicator: props.indicator,
|
|
314
|
+
required: props.required,
|
|
315
|
+
disabled: disabled.value
|
|
316
|
+
}));
|
|
321
317
|
function onUpdate(value) {
|
|
322
318
|
const event = new Event("change", { target: { value } });
|
|
323
319
|
emits("change", event);
|
|
@@ -325,45 +321,41 @@ const _sfc_main$3 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
325
321
|
emitFormInput();
|
|
326
322
|
}
|
|
327
323
|
return (_ctx, _push, _parent, _attrs) => {
|
|
328
|
-
var _a2;
|
|
329
324
|
_push(ssrRenderComponent(unref(Primitive), mergeProps({
|
|
330
325
|
as: !__props.variant || __props.variant === "list" ? __props.as : unref(Label),
|
|
331
326
|
"data-slot": "root",
|
|
332
|
-
class: ui.value.root({ class: [
|
|
327
|
+
class: ui.value.root({ class: [props.ui?.root, props.class] })
|
|
333
328
|
}, _attrs), {
|
|
334
329
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
335
|
-
var _a3, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
336
330
|
if (_push2) {
|
|
337
|
-
_push2(`<div data-slot="container" class="${ssrRenderClass(ui.value.container({ class:
|
|
331
|
+
_push2(`<div data-slot="container" class="${ssrRenderClass(ui.value.container({ class: props.ui?.container }))}"${_scopeId}>`);
|
|
338
332
|
_push2(ssrRenderComponent(unref(CheckboxRoot), mergeProps({ id: unref(id) }, { ...unref(rootProps), ..._ctx.$attrs, ...unref(ariaAttrs) }, {
|
|
339
333
|
modelValue: modelValue.value,
|
|
340
334
|
"onUpdate:modelValue": [($event) => modelValue.value = $event, onUpdate],
|
|
341
335
|
name: unref(name),
|
|
342
336
|
disabled: unref(disabled),
|
|
343
337
|
"data-slot": "base",
|
|
344
|
-
class: ui.value.base({ class:
|
|
338
|
+
class: ui.value.base({ class: props.ui?.base })
|
|
345
339
|
}), {
|
|
346
340
|
default: withCtx(({ modelValue: modelValue2 }, _push3, _parent3, _scopeId2) => {
|
|
347
|
-
var _a4, _b2;
|
|
348
341
|
if (_push3) {
|
|
349
342
|
_push3(ssrRenderComponent(unref(CheckboxIndicator), {
|
|
350
343
|
"data-slot": "indicator",
|
|
351
|
-
class: ui.value.indicator({ class:
|
|
344
|
+
class: ui.value.indicator({ class: props.ui?.indicator })
|
|
352
345
|
}, {
|
|
353
346
|
default: withCtx((_2, _push4, _parent4, _scopeId3) => {
|
|
354
|
-
var _a5, _b3, _c2, _d2;
|
|
355
347
|
if (_push4) {
|
|
356
348
|
if (modelValue2 === "indeterminate") {
|
|
357
349
|
_push4(ssrRenderComponent(_sfc_main$d, {
|
|
358
350
|
name: __props.indeterminateIcon || unref(appConfig).ui.icons.minus,
|
|
359
351
|
"data-slot": "icon",
|
|
360
|
-
class: ui.value.icon({ class:
|
|
352
|
+
class: ui.value.icon({ class: props.ui?.icon })
|
|
361
353
|
}, null, _parent4, _scopeId3));
|
|
362
354
|
} else {
|
|
363
355
|
_push4(ssrRenderComponent(_sfc_main$d, {
|
|
364
356
|
name: __props.icon || unref(appConfig).ui.icons.check,
|
|
365
357
|
"data-slot": "icon",
|
|
366
|
-
class: ui.value.icon({ class:
|
|
358
|
+
class: ui.value.icon({ class: props.ui?.icon })
|
|
367
359
|
}, null, _parent4, _scopeId3));
|
|
368
360
|
}
|
|
369
361
|
} else {
|
|
@@ -372,12 +364,12 @@ const _sfc_main$3 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
372
364
|
key: 0,
|
|
373
365
|
name: __props.indeterminateIcon || unref(appConfig).ui.icons.minus,
|
|
374
366
|
"data-slot": "icon",
|
|
375
|
-
class: ui.value.icon({ class:
|
|
367
|
+
class: ui.value.icon({ class: props.ui?.icon })
|
|
376
368
|
}, null, 8, ["name", "class"])) : (openBlock(), createBlock(_sfc_main$d, {
|
|
377
369
|
key: 1,
|
|
378
370
|
name: __props.icon || unref(appConfig).ui.icons.check,
|
|
379
371
|
"data-slot": "icon",
|
|
380
|
-
class: ui.value.icon({ class:
|
|
372
|
+
class: ui.value.icon({ class: props.ui?.icon })
|
|
381
373
|
}, null, 8, ["name", "class"]))
|
|
382
374
|
];
|
|
383
375
|
}
|
|
@@ -388,24 +380,21 @@ const _sfc_main$3 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
388
380
|
return [
|
|
389
381
|
createVNode(unref(CheckboxIndicator), {
|
|
390
382
|
"data-slot": "indicator",
|
|
391
|
-
class: ui.value.indicator({ class:
|
|
383
|
+
class: ui.value.indicator({ class: props.ui?.indicator })
|
|
392
384
|
}, {
|
|
393
|
-
default: withCtx(() =>
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
}, null, 8, ["name", "class"]))
|
|
407
|
-
];
|
|
408
|
-
}),
|
|
385
|
+
default: withCtx(() => [
|
|
386
|
+
modelValue2 === "indeterminate" ? (openBlock(), createBlock(_sfc_main$d, {
|
|
387
|
+
key: 0,
|
|
388
|
+
name: __props.indeterminateIcon || unref(appConfig).ui.icons.minus,
|
|
389
|
+
"data-slot": "icon",
|
|
390
|
+
class: ui.value.icon({ class: props.ui?.icon })
|
|
391
|
+
}, null, 8, ["name", "class"])) : (openBlock(), createBlock(_sfc_main$d, {
|
|
392
|
+
key: 1,
|
|
393
|
+
name: __props.icon || unref(appConfig).ui.icons.check,
|
|
394
|
+
"data-slot": "icon",
|
|
395
|
+
class: ui.value.icon({ class: props.ui?.icon })
|
|
396
|
+
}, null, 8, ["name", "class"]))
|
|
397
|
+
]),
|
|
409
398
|
_: 2
|
|
410
399
|
}, 1032, ["class"])
|
|
411
400
|
];
|
|
@@ -415,12 +404,12 @@ const _sfc_main$3 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
415
404
|
}, _parent2, _scopeId));
|
|
416
405
|
_push2(`</div>`);
|
|
417
406
|
if (__props.label || !!slots.label || (__props.description || !!slots.description)) {
|
|
418
|
-
_push2(`<div data-slot="wrapper" class="${ssrRenderClass(ui.value.wrapper({ class:
|
|
407
|
+
_push2(`<div data-slot="wrapper" class="${ssrRenderClass(ui.value.wrapper({ class: props.ui?.wrapper }))}"${_scopeId}>`);
|
|
419
408
|
if (__props.label || !!slots.label) {
|
|
420
409
|
ssrRenderVNode(_push2, createVNode(resolveDynamicComponent(!__props.variant || __props.variant === "list" ? unref(Label) : "p"), {
|
|
421
410
|
for: unref(id),
|
|
422
411
|
"data-slot": "label",
|
|
423
|
-
class: ui.value.label({ class:
|
|
412
|
+
class: ui.value.label({ class: props.ui?.label })
|
|
424
413
|
}, {
|
|
425
414
|
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
426
415
|
if (_push3) {
|
|
@@ -441,7 +430,7 @@ const _sfc_main$3 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
441
430
|
_push2(`<!---->`);
|
|
442
431
|
}
|
|
443
432
|
if (__props.description || !!slots.description) {
|
|
444
|
-
_push2(`<p data-slot="description" class="${ssrRenderClass(ui.value.description({ class:
|
|
433
|
+
_push2(`<p data-slot="description" class="${ssrRenderClass(ui.value.description({ class: props.ui?.description }))}"${_scopeId}>`);
|
|
445
434
|
ssrRenderSlot(_ctx.$slots, "description", { description: __props.description }, () => {
|
|
446
435
|
_push2(`${ssrInterpolate(__props.description)}`);
|
|
447
436
|
}, _push2, _parent2, _scopeId);
|
|
@@ -457,7 +446,7 @@ const _sfc_main$3 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
457
446
|
return [
|
|
458
447
|
createVNode("div", {
|
|
459
448
|
"data-slot": "container",
|
|
460
|
-
class: ui.value.container({ class:
|
|
449
|
+
class: ui.value.container({ class: props.ui?.container })
|
|
461
450
|
}, [
|
|
462
451
|
createVNode(unref(CheckboxRoot), mergeProps({ id: unref(id) }, { ...unref(rootProps), ..._ctx.$attrs, ...unref(ariaAttrs) }, {
|
|
463
452
|
modelValue: modelValue.value,
|
|
@@ -465,48 +454,42 @@ const _sfc_main$3 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
465
454
|
name: unref(name),
|
|
466
455
|
disabled: unref(disabled),
|
|
467
456
|
"data-slot": "base",
|
|
468
|
-
class: ui.value.base({ class:
|
|
457
|
+
class: ui.value.base({ class: props.ui?.base })
|
|
469
458
|
}), {
|
|
470
|
-
default: withCtx(({ modelValue: modelValue2 }) =>
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
];
|
|
492
|
-
}),
|
|
493
|
-
_: 2
|
|
494
|
-
}, 1032, ["class"])
|
|
495
|
-
];
|
|
496
|
-
}),
|
|
459
|
+
default: withCtx(({ modelValue: modelValue2 }) => [
|
|
460
|
+
createVNode(unref(CheckboxIndicator), {
|
|
461
|
+
"data-slot": "indicator",
|
|
462
|
+
class: ui.value.indicator({ class: props.ui?.indicator })
|
|
463
|
+
}, {
|
|
464
|
+
default: withCtx(() => [
|
|
465
|
+
modelValue2 === "indeterminate" ? (openBlock(), createBlock(_sfc_main$d, {
|
|
466
|
+
key: 0,
|
|
467
|
+
name: __props.indeterminateIcon || unref(appConfig).ui.icons.minus,
|
|
468
|
+
"data-slot": "icon",
|
|
469
|
+
class: ui.value.icon({ class: props.ui?.icon })
|
|
470
|
+
}, null, 8, ["name", "class"])) : (openBlock(), createBlock(_sfc_main$d, {
|
|
471
|
+
key: 1,
|
|
472
|
+
name: __props.icon || unref(appConfig).ui.icons.check,
|
|
473
|
+
"data-slot": "icon",
|
|
474
|
+
class: ui.value.icon({ class: props.ui?.icon })
|
|
475
|
+
}, null, 8, ["name", "class"]))
|
|
476
|
+
]),
|
|
477
|
+
_: 2
|
|
478
|
+
}, 1032, ["class"])
|
|
479
|
+
]),
|
|
497
480
|
_: 1
|
|
498
481
|
}, 16, ["id", "modelValue", "onUpdate:modelValue", "name", "disabled", "class"])
|
|
499
482
|
], 2),
|
|
500
483
|
__props.label || !!slots.label || (__props.description || !!slots.description) ? (openBlock(), createBlock("div", {
|
|
501
484
|
key: 0,
|
|
502
485
|
"data-slot": "wrapper",
|
|
503
|
-
class: ui.value.wrapper({ class:
|
|
486
|
+
class: ui.value.wrapper({ class: props.ui?.wrapper })
|
|
504
487
|
}, [
|
|
505
488
|
__props.label || !!slots.label ? (openBlock(), createBlock(resolveDynamicComponent(!__props.variant || __props.variant === "list" ? unref(Label) : "p"), {
|
|
506
489
|
key: 0,
|
|
507
490
|
for: unref(id),
|
|
508
491
|
"data-slot": "label",
|
|
509
|
-
class: ui.value.label({ class:
|
|
492
|
+
class: ui.value.label({ class: props.ui?.label })
|
|
510
493
|
}, {
|
|
511
494
|
default: withCtx(() => [
|
|
512
495
|
renderSlot(_ctx.$slots, "label", { label: __props.label }, () => [
|
|
@@ -518,7 +501,7 @@ const _sfc_main$3 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
518
501
|
__props.description || !!slots.description ? (openBlock(), createBlock("p", {
|
|
519
502
|
key: 1,
|
|
520
503
|
"data-slot": "description",
|
|
521
|
-
class: ui.value.description({ class:
|
|
504
|
+
class: ui.value.description({ class: props.ui?.description })
|
|
522
505
|
}, [
|
|
523
506
|
renderSlot(_ctx.$slots, "description", { description: __props.description }, () => [
|
|
524
507
|
createTextVNode(toDisplayString(__props.description), 1)
|
|
@@ -716,15 +699,12 @@ const _sfc_main$2 = {
|
|
|
716
699
|
const appConfig = useAppConfig();
|
|
717
700
|
const rootProps = useForwardPropsEmits(reactivePick(props, "disabled", "id", "mask", "name", "otp", "required", "type"), emits);
|
|
718
701
|
const { emitFormInput, emitFormFocus, emitFormChange, emitFormBlur, size, color, id, name, highlight, disabled, ariaAttrs } = useFormField(props);
|
|
719
|
-
const ui = computed(() => {
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
highlight: highlight.value
|
|
726
|
-
});
|
|
727
|
-
});
|
|
702
|
+
const ui = computed(() => tv({ extend: tv(theme$1), ...appConfig.ui?.pinInput || {} })({
|
|
703
|
+
color: color.value,
|
|
704
|
+
variant: props.variant,
|
|
705
|
+
size: size.value,
|
|
706
|
+
highlight: highlight.value
|
|
707
|
+
}));
|
|
728
708
|
const inputsRef = ref([]);
|
|
729
709
|
const completed = ref(false);
|
|
730
710
|
function onComplete(value) {
|
|
@@ -742,7 +722,6 @@ const _sfc_main$2 = {
|
|
|
742
722
|
inputsRef
|
|
743
723
|
});
|
|
744
724
|
return (_ctx, _push, _parent, _attrs) => {
|
|
745
|
-
var _a;
|
|
746
725
|
_push(ssrRenderComponent(unref(PinInputRoot), mergeProps({ ...unref(rootProps), ...unref(ariaAttrs) }, {
|
|
747
726
|
id: unref(id),
|
|
748
727
|
name: unref(name),
|
|
@@ -750,7 +729,7 @@ const _sfc_main$2 = {
|
|
|
750
729
|
"model-value": __props.modelValue,
|
|
751
730
|
"default-value": __props.defaultValue,
|
|
752
731
|
"data-slot": "root",
|
|
753
|
-
class: ui.value.root({ class: [
|
|
732
|
+
class: ui.value.root({ class: [props.ui?.root, props.class] }),
|
|
754
733
|
"onUpdate:modelValue": ($event) => unref(emitFormInput)(),
|
|
755
734
|
onComplete
|
|
756
735
|
}, _attrs), {
|
|
@@ -758,14 +737,13 @@ const _sfc_main$2 = {
|
|
|
758
737
|
if (_push2) {
|
|
759
738
|
_push2(`<!--[-->`);
|
|
760
739
|
ssrRenderList(unref(looseToNumber)(props.length), (ids, index) => {
|
|
761
|
-
var _a2;
|
|
762
740
|
_push2(ssrRenderComponent(unref(PinInputInput), {
|
|
763
741
|
key: ids,
|
|
764
742
|
ref_for: true,
|
|
765
743
|
ref: (el) => inputsRef.value[index] = el,
|
|
766
744
|
index,
|
|
767
745
|
"data-slot": "base",
|
|
768
|
-
class: ui.value.base({ class:
|
|
746
|
+
class: ui.value.base({ class: props.ui?.base }),
|
|
769
747
|
disabled: unref(disabled),
|
|
770
748
|
onBlur,
|
|
771
749
|
onFocus: unref(emitFormFocus)
|
|
@@ -775,14 +753,13 @@ const _sfc_main$2 = {
|
|
|
775
753
|
} else {
|
|
776
754
|
return [
|
|
777
755
|
(openBlock(true), createBlock(Fragment, null, renderList(unref(looseToNumber)(props.length), (ids, index) => {
|
|
778
|
-
var _a2;
|
|
779
756
|
return openBlock(), createBlock(unref(PinInputInput), {
|
|
780
757
|
key: ids,
|
|
781
758
|
ref_for: true,
|
|
782
759
|
ref: (el) => inputsRef.value[index] = el,
|
|
783
760
|
index,
|
|
784
761
|
"data-slot": "base",
|
|
785
|
-
class: ui.value.base({ class:
|
|
762
|
+
class: ui.value.base({ class: props.ui?.base }),
|
|
786
763
|
disabled: unref(disabled),
|
|
787
764
|
onBlur,
|
|
788
765
|
onFocus: unref(emitFormFocus)
|
|
@@ -857,10 +834,7 @@ const _sfc_main$1 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
857
834
|
const slots = useSlots();
|
|
858
835
|
const { t } = useLocale();
|
|
859
836
|
const appConfig = useAppConfig();
|
|
860
|
-
const ui = computed(() => {
|
|
861
|
-
var _a;
|
|
862
|
-
return tv({ extend: tv(theme), ...((_a = appConfig.ui) == null ? void 0 : _a.authForm) || {} })();
|
|
863
|
-
});
|
|
837
|
+
const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.authForm || {} })());
|
|
864
838
|
const formRef = useTemplateRef("formRef");
|
|
865
839
|
const passwordVisibility = ref(false);
|
|
866
840
|
const passwordRef = useTemplateRef("passwordRef");
|
|
@@ -886,28 +860,24 @@ const _sfc_main$1 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
886
860
|
state
|
|
887
861
|
});
|
|
888
862
|
return (_ctx, _push, _parent, _attrs) => {
|
|
889
|
-
var _a;
|
|
890
863
|
_push(ssrRenderComponent(unref(Primitive), mergeProps({
|
|
891
864
|
as: __props.as,
|
|
892
865
|
"data-slot": "root",
|
|
893
|
-
class: ui.value.root({ class: [
|
|
866
|
+
class: ui.value.root({ class: [props.ui?.root, props.class] })
|
|
894
867
|
}, _attrs), {
|
|
895
868
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
896
|
-
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
|
|
897
869
|
if (_push2) {
|
|
898
870
|
if (__props.icon || !!slots.leading || (__props.title || !!slots.title) || (__props.description || !!slots.description) || !!slots.header) {
|
|
899
|
-
_push2(`<div data-slot="header" class="${ssrRenderClass(ui.value.header({ class:
|
|
871
|
+
_push2(`<div data-slot="header" class="${ssrRenderClass(ui.value.header({ class: props.ui?.header }))}"${_scopeId}>`);
|
|
900
872
|
ssrRenderSlot(_ctx.$slots, "header", {}, () => {
|
|
901
|
-
var _a3, _b2, _c2;
|
|
902
873
|
if (__props.icon || !!slots.leading) {
|
|
903
|
-
_push2(`<div data-slot="leading" class="${ssrRenderClass(ui.value.leading({ class:
|
|
874
|
+
_push2(`<div data-slot="leading" class="${ssrRenderClass(ui.value.leading({ class: props.ui?.leading }))}"${_scopeId}>`);
|
|
904
875
|
ssrRenderSlot(_ctx.$slots, "leading", { ui: ui.value }, () => {
|
|
905
|
-
var _a4;
|
|
906
876
|
if (__props.icon) {
|
|
907
877
|
_push2(ssrRenderComponent(_sfc_main$d, {
|
|
908
878
|
name: __props.icon,
|
|
909
879
|
"data-slot": "leadingIcon",
|
|
910
|
-
class: ui.value.leadingIcon({ class:
|
|
880
|
+
class: ui.value.leadingIcon({ class: props.ui?.leadingIcon })
|
|
911
881
|
}, null, _parent2, _scopeId));
|
|
912
882
|
} else {
|
|
913
883
|
_push2(`<!---->`);
|
|
@@ -918,7 +888,7 @@ const _sfc_main$1 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
918
888
|
_push2(`<!---->`);
|
|
919
889
|
}
|
|
920
890
|
if (__props.title || !!slots.title) {
|
|
921
|
-
_push2(`<div data-slot="title" class="${ssrRenderClass(ui.value.title({ class:
|
|
891
|
+
_push2(`<div data-slot="title" class="${ssrRenderClass(ui.value.title({ class: props.ui?.title }))}"${_scopeId}>`);
|
|
922
892
|
ssrRenderSlot(_ctx.$slots, "title", {}, () => {
|
|
923
893
|
_push2(`${ssrInterpolate(__props.title)}`);
|
|
924
894
|
}, _push2, _parent2, _scopeId);
|
|
@@ -927,7 +897,7 @@ const _sfc_main$1 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
927
897
|
_push2(`<!---->`);
|
|
928
898
|
}
|
|
929
899
|
if (__props.description || !!slots.description) {
|
|
930
|
-
_push2(`<div data-slot="description" class="${ssrRenderClass(ui.value.description({ class:
|
|
900
|
+
_push2(`<div data-slot="description" class="${ssrRenderClass(ui.value.description({ class: props.ui?.description }))}"${_scopeId}>`);
|
|
931
901
|
ssrRenderSlot(_ctx.$slots, "description", {}, () => {
|
|
932
902
|
_push2(`${ssrInterpolate(__props.description)}`);
|
|
933
903
|
}, _push2, _parent2, _scopeId);
|
|
@@ -940,9 +910,9 @@ const _sfc_main$1 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
940
910
|
} else {
|
|
941
911
|
_push2(`<!---->`);
|
|
942
912
|
}
|
|
943
|
-
_push2(`<div data-slot="body" class="${ssrRenderClass(ui.value.body({ class:
|
|
944
|
-
if (
|
|
945
|
-
_push2(`<div data-slot="providers" class="${ssrRenderClass(ui.value.providers({ class:
|
|
913
|
+
_push2(`<div data-slot="body" class="${ssrRenderClass(ui.value.body({ class: props.ui?.body }))}"${_scopeId}>`);
|
|
914
|
+
if (__props.providers?.length || !!slots.providers) {
|
|
915
|
+
_push2(`<div data-slot="providers" class="${ssrRenderClass(ui.value.providers({ class: props.ui?.providers }))}"${_scopeId}>`);
|
|
946
916
|
ssrRenderSlot(_ctx.$slots, "providers", {}, () => {
|
|
947
917
|
_push2(`<!--[-->`);
|
|
948
918
|
ssrRenderList(__props.providers, (provider, index) => {
|
|
@@ -959,15 +929,15 @@ const _sfc_main$1 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
959
929
|
} else {
|
|
960
930
|
_push2(`<!---->`);
|
|
961
931
|
}
|
|
962
|
-
if (
|
|
932
|
+
if (__props.providers?.length && __props.fields?.length) {
|
|
963
933
|
_push2(ssrRenderComponent(_sfc_main$4, mergeProps(typeof __props.separator === "object" ? __props.separator : { label: __props.separator }, {
|
|
964
934
|
"data-slot": "separator",
|
|
965
|
-
class: ui.value.separator({ class:
|
|
935
|
+
class: ui.value.separator({ class: props.ui?.separator })
|
|
966
936
|
}), null, _parent2, _scopeId));
|
|
967
937
|
} else {
|
|
968
938
|
_push2(`<!---->`);
|
|
969
939
|
}
|
|
970
|
-
if (
|
|
940
|
+
if (__props.fields?.length) {
|
|
971
941
|
_push2(ssrRenderComponent(_sfc_main$5, mergeProps({
|
|
972
942
|
ref_key: "formRef",
|
|
973
943
|
ref: formRef,
|
|
@@ -978,7 +948,7 @@ const _sfc_main$1 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
978
948
|
disabled: __props.disabled,
|
|
979
949
|
"loading-auto": __props.loadingAuto,
|
|
980
950
|
"data-slot": "form",
|
|
981
|
-
class: ui.value.form({ class:
|
|
951
|
+
class: ui.value.form({ class: props.ui?.form })
|
|
982
952
|
}, _ctx.$attrs, { onSubmit: __props.onSubmit }), {
|
|
983
953
|
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
984
954
|
if (_push3) {
|
|
@@ -990,20 +960,19 @@ const _sfc_main$1 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
990
960
|
default: withCtx((_3, _push4, _parent4, _scopeId3) => {
|
|
991
961
|
if (_push4) {
|
|
992
962
|
ssrRenderSlot(_ctx.$slots, `${field.name}-field`, mergeProps({ ref_for: true }, { state, field }), () => {
|
|
993
|
-
var _a3, _b2, _c2, _d2, _e2;
|
|
994
963
|
if (field.type === "checkbox") {
|
|
995
964
|
_push4(ssrRenderComponent(_sfc_main$3, mergeProps({
|
|
996
965
|
modelValue: state[field.name],
|
|
997
966
|
"onUpdate:modelValue": ($event) => state[field.name] = $event,
|
|
998
967
|
"data-slot": "checkbox",
|
|
999
|
-
class: ui.value.checkbox({ class:
|
|
968
|
+
class: ui.value.checkbox({ class: props.ui?.checkbox })
|
|
1000
969
|
}, { ref_for: true }, omitFieldProps(field)), null, _parent4, _scopeId3));
|
|
1001
970
|
} else if (field.type === "select") {
|
|
1002
971
|
_push4(ssrRenderComponent(_sfc_main$7, mergeProps({
|
|
1003
972
|
modelValue: state[field.name],
|
|
1004
973
|
"onUpdate:modelValue": ($event) => state[field.name] = $event,
|
|
1005
974
|
"data-slot": "select",
|
|
1006
|
-
class: ui.value.select({ class:
|
|
975
|
+
class: ui.value.select({ class: props.ui?.select })
|
|
1007
976
|
}, { ref_for: true }, omitFieldProps(field)), null, _parent4, _scopeId3));
|
|
1008
977
|
} else if (field.type === "otp") {
|
|
1009
978
|
_push4(ssrRenderComponent(_sfc_main$2, mergeProps({
|
|
@@ -1011,7 +980,7 @@ const _sfc_main$1 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1011
980
|
modelValue: state[field.name],
|
|
1012
981
|
"onUpdate:modelValue": ($event) => state[field.name] = $event,
|
|
1013
982
|
"data-slot": "otp",
|
|
1014
|
-
class: ui.value.otp({ class:
|
|
983
|
+
class: ui.value.otp({ class: props.ui?.otp })
|
|
1015
984
|
}, { ref_for: true }, Object.assign({}, omitFieldProps(field), typeof field.otp === "object" ? field.otp : {}), { otp: "" }), null, _parent4, _scopeId3));
|
|
1016
985
|
} else if (field.type === "password") {
|
|
1017
986
|
_push4(ssrRenderComponent(_sfc_main$9, mergeProps({
|
|
@@ -1021,12 +990,11 @@ const _sfc_main$1 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1021
990
|
modelValue: state[field.name],
|
|
1022
991
|
"onUpdate:modelValue": ($event) => state[field.name] = $event,
|
|
1023
992
|
"data-slot": "password",
|
|
1024
|
-
class: ui.value.password({ class:
|
|
993
|
+
class: ui.value.password({ class: props.ui?.password })
|
|
1025
994
|
}, { ref_for: true }, omitFieldProps(field), {
|
|
1026
995
|
type: passwordVisibility.value ? "text" : "password"
|
|
1027
996
|
}), {
|
|
1028
997
|
trailing: withCtx((_4, _push5, _parent5, _scopeId4) => {
|
|
1029
|
-
var _a4, _b3, _c3, _d3, _e3, _f2;
|
|
1030
998
|
if (_push5) {
|
|
1031
999
|
_push5(ssrRenderComponent(_sfc_main$8, {
|
|
1032
1000
|
color: "neutral",
|
|
@@ -1035,7 +1003,7 @@ const _sfc_main$1 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1035
1003
|
icon: passwordVisibility.value ? unref(appConfig).ui.icons.eyeOff : unref(appConfig).ui.icons.eye,
|
|
1036
1004
|
"aria-label": passwordVisibility.value ? unref(t)("authForm.hidePassword") : unref(t)("authForm.showPassword"),
|
|
1037
1005
|
"aria-pressed": passwordVisibility.value,
|
|
1038
|
-
"aria-controls":
|
|
1006
|
+
"aria-controls": passwordRef.value?.[0]?.inputRef?.id,
|
|
1039
1007
|
onClick: ($event) => passwordVisibility.value = !passwordVisibility.value
|
|
1040
1008
|
}, null, _parent5, _scopeId4));
|
|
1041
1009
|
} else {
|
|
@@ -1047,7 +1015,7 @@ const _sfc_main$1 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1047
1015
|
icon: passwordVisibility.value ? unref(appConfig).ui.icons.eyeOff : unref(appConfig).ui.icons.eye,
|
|
1048
1016
|
"aria-label": passwordVisibility.value ? unref(t)("authForm.hidePassword") : unref(t)("authForm.showPassword"),
|
|
1049
1017
|
"aria-pressed": passwordVisibility.value,
|
|
1050
|
-
"aria-controls":
|
|
1018
|
+
"aria-controls": passwordRef.value?.[0]?.inputRef?.id,
|
|
1051
1019
|
onClick: ($event) => passwordVisibility.value = !passwordVisibility.value
|
|
1052
1020
|
}, null, 8, ["icon", "aria-label", "aria-pressed", "aria-controls", "onClick"])
|
|
1053
1021
|
];
|
|
@@ -1060,71 +1028,65 @@ const _sfc_main$1 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1060
1028
|
modelValue: state[field.name],
|
|
1061
1029
|
"onUpdate:modelValue": ($event) => state[field.name] = $event,
|
|
1062
1030
|
"data-slot": "input",
|
|
1063
|
-
class: ui.value.input({ class:
|
|
1031
|
+
class: ui.value.input({ class: props.ui?.input })
|
|
1064
1032
|
}, { ref_for: true }, omitFieldProps(field)), null, _parent4, _scopeId3));
|
|
1065
1033
|
}
|
|
1066
1034
|
}, _push4, _parent4, _scopeId3);
|
|
1067
1035
|
} else {
|
|
1068
1036
|
return [
|
|
1069
|
-
renderSlot(_ctx.$slots, `${field.name}-field`, mergeProps({ ref_for: true }, { state, field }), () =>
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
field.
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
"onUpdate:modelValue": ($event) => state[field.name] = $event,
|
|
1123
|
-
"data-slot": "input",
|
|
1124
|
-
class: ui.value.input({ class: (_e2 = props.ui) == null ? void 0 : _e2.input })
|
|
1125
|
-
}, { ref_for: true }, omitFieldProps(field)), null, 16, ["modelValue", "onUpdate:modelValue", "class"]))
|
|
1126
|
-
];
|
|
1127
|
-
})
|
|
1037
|
+
renderSlot(_ctx.$slots, `${field.name}-field`, mergeProps({ ref_for: true }, { state, field }), () => [
|
|
1038
|
+
field.type === "checkbox" ? (openBlock(), createBlock(_sfc_main$3, mergeProps({
|
|
1039
|
+
key: 0,
|
|
1040
|
+
modelValue: state[field.name],
|
|
1041
|
+
"onUpdate:modelValue": ($event) => state[field.name] = $event,
|
|
1042
|
+
"data-slot": "checkbox",
|
|
1043
|
+
class: ui.value.checkbox({ class: props.ui?.checkbox })
|
|
1044
|
+
}, { ref_for: true }, omitFieldProps(field)), null, 16, ["modelValue", "onUpdate:modelValue", "class"])) : field.type === "select" ? (openBlock(), createBlock(_sfc_main$7, mergeProps({
|
|
1045
|
+
key: 1,
|
|
1046
|
+
modelValue: state[field.name],
|
|
1047
|
+
"onUpdate:modelValue": ($event) => state[field.name] = $event,
|
|
1048
|
+
"data-slot": "select",
|
|
1049
|
+
class: ui.value.select({ class: props.ui?.select })
|
|
1050
|
+
}, { ref_for: true }, omitFieldProps(field)), null, 16, ["modelValue", "onUpdate:modelValue", "class"])) : field.type === "otp" ? (openBlock(), createBlock(_sfc_main$2, mergeProps({
|
|
1051
|
+
key: 2,
|
|
1052
|
+
id: field.name,
|
|
1053
|
+
modelValue: state[field.name],
|
|
1054
|
+
"onUpdate:modelValue": ($event) => state[field.name] = $event,
|
|
1055
|
+
"data-slot": "otp",
|
|
1056
|
+
class: ui.value.otp({ class: props.ui?.otp })
|
|
1057
|
+
}, { ref_for: true }, Object.assign({}, omitFieldProps(field), typeof field.otp === "object" ? field.otp : {}), { otp: "" }), null, 16, ["id", "modelValue", "onUpdate:modelValue", "class"])) : field.type === "password" ? (openBlock(), createBlock(_sfc_main$9, mergeProps({
|
|
1058
|
+
key: 3,
|
|
1059
|
+
ref_for: true,
|
|
1060
|
+
ref_key: "passwordRef",
|
|
1061
|
+
ref: passwordRef,
|
|
1062
|
+
modelValue: state[field.name],
|
|
1063
|
+
"onUpdate:modelValue": ($event) => state[field.name] = $event,
|
|
1064
|
+
"data-slot": "password",
|
|
1065
|
+
class: ui.value.password({ class: props.ui?.password })
|
|
1066
|
+
}, { ref_for: true }, omitFieldProps(field), {
|
|
1067
|
+
type: passwordVisibility.value ? "text" : "password"
|
|
1068
|
+
}), {
|
|
1069
|
+
trailing: withCtx(() => [
|
|
1070
|
+
createVNode(_sfc_main$8, {
|
|
1071
|
+
color: "neutral",
|
|
1072
|
+
variant: "link",
|
|
1073
|
+
size: "sm",
|
|
1074
|
+
icon: passwordVisibility.value ? unref(appConfig).ui.icons.eyeOff : unref(appConfig).ui.icons.eye,
|
|
1075
|
+
"aria-label": passwordVisibility.value ? unref(t)("authForm.hidePassword") : unref(t)("authForm.showPassword"),
|
|
1076
|
+
"aria-pressed": passwordVisibility.value,
|
|
1077
|
+
"aria-controls": passwordRef.value?.[0]?.inputRef?.id,
|
|
1078
|
+
onClick: ($event) => passwordVisibility.value = !passwordVisibility.value
|
|
1079
|
+
}, null, 8, ["icon", "aria-label", "aria-pressed", "aria-controls", "onClick"])
|
|
1080
|
+
]),
|
|
1081
|
+
_: 1
|
|
1082
|
+
}, 16, ["modelValue", "onUpdate:modelValue", "class", "type"])) : (openBlock(), createBlock(_sfc_main$9, mergeProps({
|
|
1083
|
+
key: 4,
|
|
1084
|
+
modelValue: state[field.name],
|
|
1085
|
+
"onUpdate:modelValue": ($event) => state[field.name] = $event,
|
|
1086
|
+
"data-slot": "input",
|
|
1087
|
+
class: ui.value.input({ class: props.ui?.input })
|
|
1088
|
+
}, { ref_for: true }, omitFieldProps(field)), null, 16, ["modelValue", "onUpdate:modelValue", "class"]))
|
|
1089
|
+
])
|
|
1128
1090
|
];
|
|
1129
1091
|
}
|
|
1130
1092
|
}),
|
|
@@ -1219,65 +1181,59 @@ const _sfc_main$1 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1219
1181
|
key: field.name
|
|
1220
1182
|
}, { ref_for: true }, pickFieldProps(field)), createSlots({
|
|
1221
1183
|
default: withCtx(() => [
|
|
1222
|
-
renderSlot(_ctx.$slots, `${field.name}-field`, mergeProps({ ref_for: true }, { state, field }), () =>
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
field.
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
"onUpdate:modelValue": ($event) => state[field.name] = $event,
|
|
1276
|
-
"data-slot": "input",
|
|
1277
|
-
class: ui.value.input({ class: (_e2 = props.ui) == null ? void 0 : _e2.input })
|
|
1278
|
-
}, { ref_for: true }, omitFieldProps(field)), null, 16, ["modelValue", "onUpdate:modelValue", "class"]))
|
|
1279
|
-
];
|
|
1280
|
-
})
|
|
1184
|
+
renderSlot(_ctx.$slots, `${field.name}-field`, mergeProps({ ref_for: true }, { state, field }), () => [
|
|
1185
|
+
field.type === "checkbox" ? (openBlock(), createBlock(_sfc_main$3, mergeProps({
|
|
1186
|
+
key: 0,
|
|
1187
|
+
modelValue: state[field.name],
|
|
1188
|
+
"onUpdate:modelValue": ($event) => state[field.name] = $event,
|
|
1189
|
+
"data-slot": "checkbox",
|
|
1190
|
+
class: ui.value.checkbox({ class: props.ui?.checkbox })
|
|
1191
|
+
}, { ref_for: true }, omitFieldProps(field)), null, 16, ["modelValue", "onUpdate:modelValue", "class"])) : field.type === "select" ? (openBlock(), createBlock(_sfc_main$7, mergeProps({
|
|
1192
|
+
key: 1,
|
|
1193
|
+
modelValue: state[field.name],
|
|
1194
|
+
"onUpdate:modelValue": ($event) => state[field.name] = $event,
|
|
1195
|
+
"data-slot": "select",
|
|
1196
|
+
class: ui.value.select({ class: props.ui?.select })
|
|
1197
|
+
}, { ref_for: true }, omitFieldProps(field)), null, 16, ["modelValue", "onUpdate:modelValue", "class"])) : field.type === "otp" ? (openBlock(), createBlock(_sfc_main$2, mergeProps({
|
|
1198
|
+
key: 2,
|
|
1199
|
+
id: field.name,
|
|
1200
|
+
modelValue: state[field.name],
|
|
1201
|
+
"onUpdate:modelValue": ($event) => state[field.name] = $event,
|
|
1202
|
+
"data-slot": "otp",
|
|
1203
|
+
class: ui.value.otp({ class: props.ui?.otp })
|
|
1204
|
+
}, { ref_for: true }, Object.assign({}, omitFieldProps(field), typeof field.otp === "object" ? field.otp : {}), { otp: "" }), null, 16, ["id", "modelValue", "onUpdate:modelValue", "class"])) : field.type === "password" ? (openBlock(), createBlock(_sfc_main$9, mergeProps({
|
|
1205
|
+
key: 3,
|
|
1206
|
+
ref_for: true,
|
|
1207
|
+
ref_key: "passwordRef",
|
|
1208
|
+
ref: passwordRef,
|
|
1209
|
+
modelValue: state[field.name],
|
|
1210
|
+
"onUpdate:modelValue": ($event) => state[field.name] = $event,
|
|
1211
|
+
"data-slot": "password",
|
|
1212
|
+
class: ui.value.password({ class: props.ui?.password })
|
|
1213
|
+
}, { ref_for: true }, omitFieldProps(field), {
|
|
1214
|
+
type: passwordVisibility.value ? "text" : "password"
|
|
1215
|
+
}), {
|
|
1216
|
+
trailing: withCtx(() => [
|
|
1217
|
+
createVNode(_sfc_main$8, {
|
|
1218
|
+
color: "neutral",
|
|
1219
|
+
variant: "link",
|
|
1220
|
+
size: "sm",
|
|
1221
|
+
icon: passwordVisibility.value ? unref(appConfig).ui.icons.eyeOff : unref(appConfig).ui.icons.eye,
|
|
1222
|
+
"aria-label": passwordVisibility.value ? unref(t)("authForm.hidePassword") : unref(t)("authForm.showPassword"),
|
|
1223
|
+
"aria-pressed": passwordVisibility.value,
|
|
1224
|
+
"aria-controls": passwordRef.value?.[0]?.inputRef?.id,
|
|
1225
|
+
onClick: ($event) => passwordVisibility.value = !passwordVisibility.value
|
|
1226
|
+
}, null, 8, ["icon", "aria-label", "aria-pressed", "aria-controls", "onClick"])
|
|
1227
|
+
]),
|
|
1228
|
+
_: 1
|
|
1229
|
+
}, 16, ["modelValue", "onUpdate:modelValue", "class", "type"])) : (openBlock(), createBlock(_sfc_main$9, mergeProps({
|
|
1230
|
+
key: 4,
|
|
1231
|
+
modelValue: state[field.name],
|
|
1232
|
+
"onUpdate:modelValue": ($event) => state[field.name] = $event,
|
|
1233
|
+
"data-slot": "input",
|
|
1234
|
+
class: ui.value.input({ class: props.ui?.input })
|
|
1235
|
+
}, { ref_for: true }, omitFieldProps(field)), null, 16, ["modelValue", "onUpdate:modelValue", "class"]))
|
|
1236
|
+
])
|
|
1281
1237
|
]),
|
|
1282
1238
|
_: 2
|
|
1283
1239
|
}, [
|
|
@@ -1338,7 +1294,7 @@ const _sfc_main$1 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1338
1294
|
}
|
|
1339
1295
|
_push2(`</div>`);
|
|
1340
1296
|
if (!!slots.footer) {
|
|
1341
|
-
_push2(`<div data-slot="footer" class="${ssrRenderClass(ui.value.footer({ class:
|
|
1297
|
+
_push2(`<div data-slot="footer" class="${ssrRenderClass(ui.value.footer({ class: props.ui?.footer }))}"${_scopeId}>`);
|
|
1342
1298
|
ssrRenderSlot(_ctx.$slots, "footer", {}, null, _push2, _parent2, _scopeId);
|
|
1343
1299
|
_push2(`</div>`);
|
|
1344
1300
|
} else {
|
|
@@ -1349,57 +1305,51 @@ const _sfc_main$1 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1349
1305
|
__props.icon || !!slots.leading || (__props.title || !!slots.title) || (__props.description || !!slots.description) || !!slots.header ? (openBlock(), createBlock("div", {
|
|
1350
1306
|
key: 0,
|
|
1351
1307
|
"data-slot": "header",
|
|
1352
|
-
class: ui.value.header({ class:
|
|
1308
|
+
class: ui.value.header({ class: props.ui?.header })
|
|
1353
1309
|
}, [
|
|
1354
|
-
renderSlot(_ctx.$slots, "header", {}, () =>
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
1389
|
-
createTextVNode(toDisplayString(__props.description), 1)
|
|
1390
|
-
])
|
|
1391
|
-
], 2)) : createCommentVNode("", true)
|
|
1392
|
-
];
|
|
1393
|
-
})
|
|
1310
|
+
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
1311
|
+
__props.icon || !!slots.leading ? (openBlock(), createBlock("div", {
|
|
1312
|
+
key: 0,
|
|
1313
|
+
"data-slot": "leading",
|
|
1314
|
+
class: ui.value.leading({ class: props.ui?.leading })
|
|
1315
|
+
}, [
|
|
1316
|
+
renderSlot(_ctx.$slots, "leading", { ui: ui.value }, () => [
|
|
1317
|
+
__props.icon ? (openBlock(), createBlock(_sfc_main$d, {
|
|
1318
|
+
key: 0,
|
|
1319
|
+
name: __props.icon,
|
|
1320
|
+
"data-slot": "leadingIcon",
|
|
1321
|
+
class: ui.value.leadingIcon({ class: props.ui?.leadingIcon })
|
|
1322
|
+
}, null, 8, ["name", "class"])) : createCommentVNode("", true)
|
|
1323
|
+
])
|
|
1324
|
+
], 2)) : createCommentVNode("", true),
|
|
1325
|
+
__props.title || !!slots.title ? (openBlock(), createBlock("div", {
|
|
1326
|
+
key: 1,
|
|
1327
|
+
"data-slot": "title",
|
|
1328
|
+
class: ui.value.title({ class: props.ui?.title })
|
|
1329
|
+
}, [
|
|
1330
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
1331
|
+
createTextVNode(toDisplayString(__props.title), 1)
|
|
1332
|
+
])
|
|
1333
|
+
], 2)) : createCommentVNode("", true),
|
|
1334
|
+
__props.description || !!slots.description ? (openBlock(), createBlock("div", {
|
|
1335
|
+
key: 2,
|
|
1336
|
+
"data-slot": "description",
|
|
1337
|
+
class: ui.value.description({ class: props.ui?.description })
|
|
1338
|
+
}, [
|
|
1339
|
+
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
1340
|
+
createTextVNode(toDisplayString(__props.description), 1)
|
|
1341
|
+
])
|
|
1342
|
+
], 2)) : createCommentVNode("", true)
|
|
1343
|
+
])
|
|
1394
1344
|
], 2)) : createCommentVNode("", true),
|
|
1395
1345
|
createVNode("div", {
|
|
1396
1346
|
"data-slot": "body",
|
|
1397
|
-
class: ui.value.body({ class:
|
|
1347
|
+
class: ui.value.body({ class: props.ui?.body })
|
|
1398
1348
|
}, [
|
|
1399
|
-
|
|
1349
|
+
__props.providers?.length || !!slots.providers ? (openBlock(), createBlock("div", {
|
|
1400
1350
|
key: 0,
|
|
1401
1351
|
"data-slot": "providers",
|
|
1402
|
-
class: ui.value.providers({ class:
|
|
1352
|
+
class: ui.value.providers({ class: props.ui?.providers })
|
|
1403
1353
|
}, [
|
|
1404
1354
|
renderSlot(_ctx.$slots, "providers", {}, () => [
|
|
1405
1355
|
(openBlock(true), createBlock(Fragment, null, renderList(__props.providers, (provider, index) => {
|
|
@@ -1412,11 +1362,11 @@ const _sfc_main$1 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1412
1362
|
}), 128))
|
|
1413
1363
|
])
|
|
1414
1364
|
], 2)) : createCommentVNode("", true),
|
|
1415
|
-
|
|
1365
|
+
__props.providers?.length && __props.fields?.length ? (openBlock(), createBlock(_sfc_main$4, mergeProps({ key: 1 }, typeof __props.separator === "object" ? __props.separator : { label: __props.separator }, {
|
|
1416
1366
|
"data-slot": "separator",
|
|
1417
|
-
class: ui.value.separator({ class:
|
|
1367
|
+
class: ui.value.separator({ class: props.ui?.separator })
|
|
1418
1368
|
}), null, 16, ["class"])) : createCommentVNode("", true),
|
|
1419
|
-
|
|
1369
|
+
__props.fields?.length ? (openBlock(), createBlock(_sfc_main$5, mergeProps({
|
|
1420
1370
|
key: 2,
|
|
1421
1371
|
ref_key: "formRef",
|
|
1422
1372
|
ref: formRef,
|
|
@@ -1427,7 +1377,7 @@ const _sfc_main$1 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1427
1377
|
disabled: __props.disabled,
|
|
1428
1378
|
"loading-auto": __props.loadingAuto,
|
|
1429
1379
|
"data-slot": "form",
|
|
1430
|
-
class: ui.value.form({ class:
|
|
1380
|
+
class: ui.value.form({ class: props.ui?.form })
|
|
1431
1381
|
}, _ctx.$attrs, { onSubmit: __props.onSubmit }), {
|
|
1432
1382
|
default: withCtx(() => [
|
|
1433
1383
|
(openBlock(true), createBlock(Fragment, null, renderList(__props.fields, (field) => {
|
|
@@ -1435,65 +1385,59 @@ const _sfc_main$1 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1435
1385
|
key: field.name
|
|
1436
1386
|
}, { ref_for: true }, pickFieldProps(field)), createSlots({
|
|
1437
1387
|
default: withCtx(() => [
|
|
1438
|
-
renderSlot(_ctx.$slots, `${field.name}-field`, mergeProps({ ref_for: true }, { state, field }), () =>
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
field.
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
"onUpdate:modelValue": ($event) => state[field.name] = $event,
|
|
1492
|
-
"data-slot": "input",
|
|
1493
|
-
class: ui.value.input({ class: (_e2 = props.ui) == null ? void 0 : _e2.input })
|
|
1494
|
-
}, { ref_for: true }, omitFieldProps(field)), null, 16, ["modelValue", "onUpdate:modelValue", "class"]))
|
|
1495
|
-
];
|
|
1496
|
-
})
|
|
1388
|
+
renderSlot(_ctx.$slots, `${field.name}-field`, mergeProps({ ref_for: true }, { state, field }), () => [
|
|
1389
|
+
field.type === "checkbox" ? (openBlock(), createBlock(_sfc_main$3, mergeProps({
|
|
1390
|
+
key: 0,
|
|
1391
|
+
modelValue: state[field.name],
|
|
1392
|
+
"onUpdate:modelValue": ($event) => state[field.name] = $event,
|
|
1393
|
+
"data-slot": "checkbox",
|
|
1394
|
+
class: ui.value.checkbox({ class: props.ui?.checkbox })
|
|
1395
|
+
}, { ref_for: true }, omitFieldProps(field)), null, 16, ["modelValue", "onUpdate:modelValue", "class"])) : field.type === "select" ? (openBlock(), createBlock(_sfc_main$7, mergeProps({
|
|
1396
|
+
key: 1,
|
|
1397
|
+
modelValue: state[field.name],
|
|
1398
|
+
"onUpdate:modelValue": ($event) => state[field.name] = $event,
|
|
1399
|
+
"data-slot": "select",
|
|
1400
|
+
class: ui.value.select({ class: props.ui?.select })
|
|
1401
|
+
}, { ref_for: true }, omitFieldProps(field)), null, 16, ["modelValue", "onUpdate:modelValue", "class"])) : field.type === "otp" ? (openBlock(), createBlock(_sfc_main$2, mergeProps({
|
|
1402
|
+
key: 2,
|
|
1403
|
+
id: field.name,
|
|
1404
|
+
modelValue: state[field.name],
|
|
1405
|
+
"onUpdate:modelValue": ($event) => state[field.name] = $event,
|
|
1406
|
+
"data-slot": "otp",
|
|
1407
|
+
class: ui.value.otp({ class: props.ui?.otp })
|
|
1408
|
+
}, { ref_for: true }, Object.assign({}, omitFieldProps(field), typeof field.otp === "object" ? field.otp : {}), { otp: "" }), null, 16, ["id", "modelValue", "onUpdate:modelValue", "class"])) : field.type === "password" ? (openBlock(), createBlock(_sfc_main$9, mergeProps({
|
|
1409
|
+
key: 3,
|
|
1410
|
+
ref_for: true,
|
|
1411
|
+
ref_key: "passwordRef",
|
|
1412
|
+
ref: passwordRef,
|
|
1413
|
+
modelValue: state[field.name],
|
|
1414
|
+
"onUpdate:modelValue": ($event) => state[field.name] = $event,
|
|
1415
|
+
"data-slot": "password",
|
|
1416
|
+
class: ui.value.password({ class: props.ui?.password })
|
|
1417
|
+
}, { ref_for: true }, omitFieldProps(field), {
|
|
1418
|
+
type: passwordVisibility.value ? "text" : "password"
|
|
1419
|
+
}), {
|
|
1420
|
+
trailing: withCtx(() => [
|
|
1421
|
+
createVNode(_sfc_main$8, {
|
|
1422
|
+
color: "neutral",
|
|
1423
|
+
variant: "link",
|
|
1424
|
+
size: "sm",
|
|
1425
|
+
icon: passwordVisibility.value ? unref(appConfig).ui.icons.eyeOff : unref(appConfig).ui.icons.eye,
|
|
1426
|
+
"aria-label": passwordVisibility.value ? unref(t)("authForm.hidePassword") : unref(t)("authForm.showPassword"),
|
|
1427
|
+
"aria-pressed": passwordVisibility.value,
|
|
1428
|
+
"aria-controls": passwordRef.value?.[0]?.inputRef?.id,
|
|
1429
|
+
onClick: ($event) => passwordVisibility.value = !passwordVisibility.value
|
|
1430
|
+
}, null, 8, ["icon", "aria-label", "aria-pressed", "aria-controls", "onClick"])
|
|
1431
|
+
]),
|
|
1432
|
+
_: 1
|
|
1433
|
+
}, 16, ["modelValue", "onUpdate:modelValue", "class", "type"])) : (openBlock(), createBlock(_sfc_main$9, mergeProps({
|
|
1434
|
+
key: 4,
|
|
1435
|
+
modelValue: state[field.name],
|
|
1436
|
+
"onUpdate:modelValue": ($event) => state[field.name] = $event,
|
|
1437
|
+
"data-slot": "input",
|
|
1438
|
+
class: ui.value.input({ class: props.ui?.input })
|
|
1439
|
+
}, { ref_for: true }, omitFieldProps(field)), null, 16, ["modelValue", "onUpdate:modelValue", "class"]))
|
|
1440
|
+
])
|
|
1497
1441
|
]),
|
|
1498
1442
|
_: 2
|
|
1499
1443
|
}, [
|
|
@@ -1551,7 +1495,7 @@ const _sfc_main$1 = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1551
1495
|
!!slots.footer ? (openBlock(), createBlock("div", {
|
|
1552
1496
|
key: 1,
|
|
1553
1497
|
"data-slot": "footer",
|
|
1554
|
-
class: ui.value.footer({ class:
|
|
1498
|
+
class: ui.value.footer({ class: props.ui?.footer })
|
|
1555
1499
|
}, [
|
|
1556
1500
|
renderSlot(_ctx.$slots, "footer")
|
|
1557
1501
|
], 2)) : createCommentVNode("", true)
|