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.
Files changed (395) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/{D9xw8uE_.js → -O86rjFZ.js} +1 -1
  3. package/.output/public/_nuxt/{DOHxCkGP.js → -Q9J9PRu.js} +1 -1
  4. package/.output/public/_nuxt/{D7Wh0rDY.js → 0DkCurh5.js} +1 -1
  5. package/.output/public/_nuxt/{pBQdXg6-.js → 49whOfsW.js} +1 -1
  6. package/.output/public/_nuxt/{Ctk8prsJ.js → 4Vi9hKJC.js} +1 -1
  7. package/.output/public/_nuxt/{Ck27MWrT.js → 66GNa6MU.js} +1 -1
  8. package/.output/public/_nuxt/9dGxQN-2.js +1 -0
  9. package/.output/public/_nuxt/{D8mRVRI0.js → 9wWq016N.js} +1 -1
  10. package/.output/public/_nuxt/{GVe-4Ph3.js → B04GYyxD.js} +1 -1
  11. package/.output/public/_nuxt/{CZc2yEa4.js → B0KPvVav.js} +1 -1
  12. package/.output/public/_nuxt/{BU3iKy5X.js → B1meh0Ci.js} +1 -1
  13. package/.output/public/_nuxt/{BpyLpp2u.js → B53zbEPa.js} +1 -1
  14. package/.output/public/_nuxt/{lA4dCLQU.js → B6-aFDg7.js} +1 -1
  15. package/.output/public/_nuxt/{DkfpcEOx.js → B6lgiDn1.js} +1 -1
  16. package/.output/public/_nuxt/{BAHFbKQX.js → B7uuK82m.js} +1 -1
  17. package/.output/public/_nuxt/{CGU5SCtz.js → B9OPrqTh.js} +1 -1
  18. package/.output/public/_nuxt/{Jnpoujml.js → BA646MN4.js} +1 -1
  19. package/.output/public/_nuxt/{T9GHjrNI.js → BDhTzPPo.js} +1 -1
  20. package/.output/public/_nuxt/{C1adFeD7.js → BDzVzzBM.js} +1 -1
  21. package/.output/public/_nuxt/{DlI0WiRW.js → BEkFNtxw.js} +3 -3
  22. package/.output/public/_nuxt/{2esUefJW.js → BI7-RNYV.js} +1 -1
  23. package/.output/public/_nuxt/{CLemJ5rV.js → BN8XazaH.js} +3 -3
  24. package/.output/public/_nuxt/{CxeiZXxL.js → BNP0kT7B.js} +1 -1
  25. package/.output/public/_nuxt/{DaiuS8Oa.js → BPfVf7kt.js} +1 -1
  26. package/.output/public/_nuxt/{C83foXIS.js → BQGDi8tM.js} +1 -1
  27. package/.output/public/_nuxt/{BqcLcVqS.js → BUXewbUG.js} +1 -1
  28. package/.output/public/_nuxt/{DGW-6lPv.js → BW0FZi7D.js} +1 -1
  29. package/.output/public/_nuxt/{CANguo9i.js → BXmijQzM.js} +1 -1
  30. package/.output/public/_nuxt/{D5eZOtxz.js → BZFf3mr_.js} +1 -1
  31. package/.output/public/_nuxt/{L-wDsWD2.js → BZx0xqxG.js} +1 -1
  32. package/.output/public/_nuxt/{DaHtDNa_.js → BbElT9yG.js} +1 -1
  33. package/.output/public/_nuxt/{Cd_NSs1m.js → BjyHtuwq.js} +1 -1
  34. package/.output/public/_nuxt/{BgWDR6Lw.js → BnfOmQBX.js} +1 -1
  35. package/.output/public/_nuxt/BoqEl-F1.js +1 -0
  36. package/.output/public/_nuxt/{BdcvMuE5.js → Bq2pktu_.js} +2 -2
  37. package/.output/public/_nuxt/{Cmgjw0Gq.js → Br712gOY.js} +1 -1
  38. package/.output/public/_nuxt/{5wtsMO-L.js → Bs4sk8vv.js} +1 -1
  39. package/.output/public/_nuxt/{BU2cb1WW.js → Bt87rSlM.js} +1 -1
  40. package/.output/public/_nuxt/{CYTJ1RUE.js → BtOA13zl.js} +1 -1
  41. package/.output/public/_nuxt/{Da7TeqHg.js → Bti4Nb4c.js} +1 -1
  42. package/.output/public/_nuxt/{CinAAQCA.js → Bu0HhyZq.js} +1 -1
  43. package/.output/public/_nuxt/{B3GkYra-.js → Bv25Wgb9.js} +1 -1
  44. package/.output/public/_nuxt/{DzCd4XVJ.js → BwMPB_Mu.js} +1 -1
  45. package/.output/public/_nuxt/{CRDPv2IF.js → BzkqPhn-.js} +1 -1
  46. package/.output/public/_nuxt/{DHw1eO-H.js → C35LJkds.js} +1 -1
  47. package/.output/public/_nuxt/{0I_ByKAf.js → C4VW2EjN.js} +1 -1
  48. package/.output/public/_nuxt/{CB1bsj7q.js → C6FzuEFH.js} +1 -1
  49. package/.output/public/_nuxt/C866FgGj.js +1 -0
  50. package/.output/public/_nuxt/{BC8KsQEf.js → CBqC92gC.js} +7 -7
  51. package/.output/public/_nuxt/{BsjzqOSI.js → CD2Wt775.js} +1 -1
  52. package/.output/public/_nuxt/{CJFWEUF1.js → CE491BHV.js} +1 -1
  53. package/.output/public/_nuxt/{C2L_Po9T.js → CF8ziKf1.js} +1 -1
  54. package/.output/public/_nuxt/{uRnVeYSZ.js → CFE6wnRK.js} +1 -1
  55. package/.output/public/_nuxt/{Bt7k30rZ.js → CFjVdIUR.js} +1 -1
  56. package/.output/public/_nuxt/{BdwdSTTv.js → CGPn0bIO.js} +1 -1
  57. package/.output/public/_nuxt/{Dc7JcEzN.js → CKSWEIag.js} +1 -1
  58. package/.output/public/_nuxt/{DS0R5f-u.js → CL9cB3YW.js} +1 -1
  59. package/.output/public/_nuxt/{DBNKZ2lD.js → CLUsxCN7.js} +1 -1
  60. package/.output/public/_nuxt/{CRwLFCah.js → CM5aLXsq.js} +1 -1
  61. package/.output/public/_nuxt/{DLCiFGhh.js → CN_jZBEh.js} +1 -1
  62. package/.output/public/_nuxt/{CrvCHahl.js → CNgf0D2d.js} +1 -1
  63. package/.output/public/_nuxt/{Brn3KJ4F.js → CPYFvNZ2.js} +1 -1
  64. package/.output/public/_nuxt/{CGYcIC6i.js → CQTD64un.js} +1 -1
  65. package/.output/public/_nuxt/{Ce8HCJf2.js → CRLO8tx3.js} +1 -1
  66. package/.output/public/_nuxt/{BTXVr2qS.js → CTIUqf4N.js} +1 -1
  67. package/.output/public/_nuxt/{CqkDUH4g.js → CUDpi0L3.js} +1 -1
  68. package/.output/public/_nuxt/{eaWTN9Xx.js → CY4SEsrB.js} +1 -1
  69. package/.output/public/_nuxt/{DP_btl92.js → CYAPNNGW.js} +1 -1
  70. package/.output/public/_nuxt/{Bn6U1R03.js → CZV2u8Xx.js} +1 -1
  71. package/.output/public/_nuxt/{D-iqXq71.js → C_TYqFbT.js} +1 -1
  72. package/.output/public/_nuxt/{DcSBMY1N.js → CdIGoC9r.js} +1 -1
  73. package/.output/public/_nuxt/{Bub0AycX.js → CiPQXVBy.js} +1 -1
  74. package/.output/public/_nuxt/{B6b5WBUt.js → Cif20myG.js} +1 -1
  75. package/.output/public/_nuxt/{dh14EFai.js → Ck1KJ2HV.js} +1 -1
  76. package/.output/public/_nuxt/{DeGeWkgm.js → CkSyHzm-.js} +1 -1
  77. package/.output/public/_nuxt/{BFvHK_cM.js → ClKTC8bU.js} +1 -1
  78. package/.output/public/_nuxt/CltqyXO5.js +1 -0
  79. package/.output/public/_nuxt/{C4GJPeiI.js → CmuSeGko.js} +1 -1
  80. package/.output/public/_nuxt/{DWOW-Cdy.js → Cn_NBSuo.js} +1 -1
  81. package/.output/public/_nuxt/{ZaPXfv7F.js → CvUov1Ey.js} +1 -1
  82. package/.output/public/_nuxt/{BlZVX3pn.js → CwY5tLRb.js} +1 -1
  83. package/.output/public/_nuxt/{QYD2FF-Y.js → CwoQ23uO.js} +1 -1
  84. package/.output/public/_nuxt/{xD0dE8wS.js → Cwoe6TAi.js} +1 -1
  85. package/.output/public/_nuxt/{CRCPfQS-.js → CxTuME0Z.js} +2 -2
  86. package/.output/public/_nuxt/{CDFqHGd6.js → Cyjm1APH.js} +1 -1
  87. package/.output/public/_nuxt/{Q0XJORJf.js → Cyo4VJ6S.js} +1 -1
  88. package/.output/public/_nuxt/{BevO_JgG.js → D-WxGaym.js} +1 -1
  89. package/.output/public/_nuxt/{Bn-WtsyL.js → D0SYimTY.js} +1 -1
  90. package/.output/public/_nuxt/{C2VzD5v7.js → D82AhPdI.js} +1 -1
  91. package/.output/public/_nuxt/{Cd6yPoTw.js → D9dLxr1_.js} +1 -1
  92. package/.output/public/_nuxt/{CSzgREhd.js → D9jU4ocP.js} +1 -1
  93. package/.output/public/_nuxt/{BSZs06C7.js → DAQeLqQw.js} +1 -1
  94. package/.output/public/_nuxt/{k4gD2Q1e.js → DDg2H-HK.js} +1 -1
  95. package/.output/public/_nuxt/{C3LqKYMv.js → DESvLlSI.js} +1 -1
  96. package/.output/public/_nuxt/{CTpEHLzQ.js → DFSB3QxC.js} +1 -1
  97. package/.output/public/_nuxt/{BoRhj5eh.js → DFqzAgzP.js} +1 -1
  98. package/.output/public/_nuxt/{1xdJYr3g.js → DJuYHeIc.js} +1 -1
  99. package/.output/public/_nuxt/{BhICtOVw.js → DK0AJoGL.js} +1 -1
  100. package/.output/public/_nuxt/{DbdpgOQc.js → DQdWxVax.js} +1 -1
  101. package/.output/public/_nuxt/{U6oBvom5.js → DRF-DnQg.js} +1 -1
  102. package/.output/public/_nuxt/{BoyaE2WK.js → DUf0f355.js} +1 -1
  103. package/.output/public/_nuxt/{C2iUvu7Y.js → DWnLv2oh.js} +1 -1
  104. package/.output/public/_nuxt/{Dj92zOuJ.js → DXkvGTEB.js} +1 -1
  105. package/.output/public/_nuxt/{DJXhwj4b.js → DZncVjYt.js} +1 -1
  106. package/.output/public/_nuxt/{CRam5D7c.js → DaAG12aj.js} +1 -1
  107. package/.output/public/_nuxt/{D4s3pp8O.js → Db66Rsfj.js} +1 -1
  108. package/.output/public/_nuxt/{CmZjhT0Y.js → DbLjznUU.js} +1 -1
  109. package/.output/public/_nuxt/{BN8oBViB.js → Dfzca1IN.js} +1 -1
  110. package/.output/public/_nuxt/{DBLItvFs.js → DhvuBruY.js} +1 -1
  111. package/.output/public/_nuxt/{BOb2nBTe.js → Dj9yr6QC.js} +1 -1
  112. package/.output/public/_nuxt/{DiNFXBiC.js → DjJn4g73.js} +1 -1
  113. package/.output/public/_nuxt/{CPv7vm5a.js → DkAUrkyD.js} +1 -1
  114. package/.output/public/_nuxt/{BvaI39gO.js → DkybthvX.js} +1 -1
  115. package/.output/public/_nuxt/{BPuUmv9c.js → DlNwSYeM.js} +1 -1
  116. package/.output/public/_nuxt/{DFELG0yq.js → Dm5HyQgM.js} +1 -1
  117. package/.output/public/_nuxt/{Dvz3E9oI.js → Dn7zgQZh.js} +1 -1
  118. package/.output/public/_nuxt/{2GiGgeXh.js → DoIqoxBH.js} +1 -1
  119. package/.output/public/_nuxt/{Dn78Aa2V.js → Dqx39Omg.js} +1 -1
  120. package/.output/public/_nuxt/{DvClFXmZ.js → DrQVjmDX.js} +1 -1
  121. package/.output/public/_nuxt/{CwNlDU9U.js → DuYzdzqK.js} +1 -1
  122. package/.output/public/_nuxt/{SY-uB-M7.js → DvZW6QuM.js} +1 -1
  123. package/.output/public/_nuxt/{DKiTNmSv.js → DxztGg8Y.js} +1 -1
  124. package/.output/public/_nuxt/{DUws3F7Z.js → EPFrlLUV.js} +1 -1
  125. package/.output/public/_nuxt/{DJcB285V.js → JsQhjNzl.js} +1 -1
  126. package/.output/public/_nuxt/{CiB_saWz.js → NApXVVQD.js} +1 -1
  127. package/.output/public/_nuxt/{QLVAu0lw.js → OwiFxd0L.js} +1 -1
  128. package/.output/public/_nuxt/{CLz02Wwh.js → QAfF68DH.js} +1 -1
  129. package/.output/public/_nuxt/{BFdl5SgW.js → QDt0Bhze.js} +1 -1
  130. package/.output/public/_nuxt/{BRW_vpqh.js → RF9kzKHY.js} +1 -1
  131. package/.output/public/_nuxt/{Cudrwb04.js → RzJhlhBq.js} +1 -1
  132. package/.output/public/_nuxt/{DiMhvSOf.js → SHHFgixe.js} +1 -1
  133. package/.output/public/_nuxt/V5ro_Ide.js +1 -0
  134. package/.output/public/_nuxt/{Bu2PklVX.js → Zge3ScOQ.js} +1 -1
  135. package/.output/public/_nuxt/{CZ3rgvtp.js → Zj8SE5Ja.js} +1 -1
  136. package/.output/public/_nuxt/{edY2TeMa.js → ZjXNlFkb.js} +1 -1
  137. package/.output/public/_nuxt/{DS-fOYWT.js → _5GQc09B.js} +1 -1
  138. package/.output/public/_nuxt/{u3fzHugO.js → aK4BeJQk.js} +1 -1
  139. package/.output/public/_nuxt/builds/latest.json +1 -1
  140. package/.output/public/_nuxt/builds/meta/36770554-14f7-4f3a-add8-2f51436e3d25.json +1 -0
  141. package/.output/public/_nuxt/{CuhzX4Km.js → cQU5gXxh.js} +1 -1
  142. package/.output/public/_nuxt/{B8GQk9Pq.js → cq8AG_FV.js} +1 -1
  143. package/.output/public/_nuxt/{BrAACupN.js → d2FXPfMj.js} +1 -1
  144. package/.output/public/_nuxt/{r-hA7E7a.js → dD3g22lS.js} +1 -1
  145. package/.output/public/_nuxt/{rdjgsK-s.js → f35n4CdE.js} +1 -1
  146. package/.output/public/_nuxt/{5bb2zRmX.js → gWMUdeHB.js} +1 -1
  147. package/.output/public/_nuxt/{B6oh5cW5.js → i2HesToX.js} +1 -1
  148. package/.output/public/_nuxt/{Bw60ICyV.js → iIxC-lNx.js} +1 -1
  149. package/.output/public/_nuxt/{Dw6GDP1h.js → nRp8uM7H.js} +1 -1
  150. package/.output/public/_nuxt/{DNqEe3aR.js → oBlsjU0k.js} +1 -1
  151. package/.output/public/_nuxt/{oD8wGmeX.js → rH7JJqZQ.js} +1 -1
  152. package/.output/public/_nuxt/{DX7Ul07b.js → tak9pMy9.js} +1 -1
  153. package/.output/public/_nuxt/{FTxQ_eC3.js → vebhRA6y.js} +1 -1
  154. package/.output/server/chunks/build/A-BWukSPjS.mjs +1 -4
  155. package/.output/server/chunks/build/A-BWukSPjS.mjs.map +1 -1
  156. package/.output/server/chunks/build/Accordion-BaJYea6e.mjs +239 -307
  157. package/.output/server/chunks/build/Accordion-BaJYea6e.mjs.map +1 -1
  158. package/.output/server/chunks/build/AccordionItem-DdG2zgcN.mjs +1 -4
  159. package/.output/server/chunks/build/AccordionItem-DdG2zgcN.mjs.map +1 -1
  160. package/.output/server/chunks/build/AgentForm-styles.DCUnzu4-.mjs.map +1 -1
  161. package/.output/server/chunks/build/Badge-BrU9UkCv.mjs +1 -4
  162. package/.output/server/chunks/build/Badge-BrU9UkCv.mjs.map +1 -1
  163. package/.output/server/chunks/build/Badge-C1RKkIgG.mjs +42 -58
  164. package/.output/server/chunks/build/Badge-C1RKkIgG.mjs.map +1 -1
  165. package/.output/server/chunks/build/Blockquote-DND8wTkU.mjs +1 -4
  166. package/.output/server/chunks/build/Blockquote-DND8wTkU.mjs.map +1 -1
  167. package/.output/server/chunks/build/Callout-1halpaEg.mjs +6 -10
  168. package/.output/server/chunks/build/Callout-1halpaEg.mjs.map +1 -1
  169. package/.output/server/chunks/build/Card-BHCSDKDt.mjs +9 -13
  170. package/.output/server/chunks/build/Card-BHCSDKDt.mjs.map +1 -1
  171. package/.output/server/chunks/build/Card-G40WAFiH.mjs +10 -15
  172. package/.output/server/chunks/build/Card-G40WAFiH.mjs.map +1 -1
  173. package/.output/server/chunks/build/CardGroup-BOuJcNGp.mjs +1 -4
  174. package/.output/server/chunks/build/CardGroup-BOuJcNGp.mjs.map +1 -1
  175. package/.output/server/chunks/build/Code-B1xkAS5a.mjs +1 -4
  176. package/.output/server/chunks/build/Code-B1xkAS5a.mjs.map +1 -1
  177. package/.output/server/chunks/build/CodeCollapse-BIhaNa22.mjs +7 -11
  178. package/.output/server/chunks/build/CodeCollapse-BIhaNa22.mjs.map +1 -1
  179. package/.output/server/chunks/build/CodeGroup-BviYyCuo.mjs +50 -71
  180. package/.output/server/chunks/build/CodeGroup-BviYyCuo.mjs.map +1 -1
  181. package/.output/server/chunks/build/CodeIcon-CWD5HcV7.mjs +2 -6
  182. package/.output/server/chunks/build/CodeIcon-CWD5HcV7.mjs.map +1 -1
  183. package/.output/server/chunks/build/CodePreview-D8PsCQ6m.mjs +4 -8
  184. package/.output/server/chunks/build/CodePreview-D8PsCQ6m.mjs.map +1 -1
  185. package/.output/server/chunks/build/CodeTree-BUTLupmL.mjs +74 -89
  186. package/.output/server/chunks/build/CodeTree-BUTLupmL.mjs.map +1 -1
  187. package/.output/server/chunks/build/Collapsible-BIvXNaSq.mjs +11 -20
  188. package/.output/server/chunks/build/Collapsible-BIvXNaSq.mjs.map +1 -1
  189. package/.output/server/chunks/build/ColorModeButton-CiS8E1tc.mjs +4 -5
  190. package/.output/server/chunks/build/ConfirmModal-DuQXeyic.mjs.map +1 -1
  191. package/.output/server/chunks/build/Container-DYkNsgEA.mjs +1 -4
  192. package/.output/server/chunks/build/Container-DYkNsgEA.mjs.map +1 -1
  193. package/.output/server/chunks/build/DashboardNavbar-Cpq8yKA0.mjs +43 -66
  194. package/.output/server/chunks/build/DashboardNavbar-Cpq8yKA0.mjs.map +1 -1
  195. package/.output/server/chunks/build/DashboardSidebarToggle-Chnqv04k.mjs +6 -15
  196. package/.output/server/chunks/build/DashboardSidebarToggle-Chnqv04k.mjs.map +1 -1
  197. package/.output/server/chunks/build/DashboardToolbar-66a616OO.mjs +18 -26
  198. package/.output/server/chunks/build/DashboardToolbar-66a616OO.mjs.map +1 -1
  199. package/.output/server/chunks/build/DocumentEditor-styles.CHRLgdKS.mjs.map +1 -1
  200. package/.output/server/chunks/build/Drawer-zOHju6ul.mjs +229 -263
  201. package/.output/server/chunks/build/Drawer-zOHju6ul.mjs.map +1 -1
  202. package/.output/server/chunks/build/DropdownMenu-BBrV9nXz.mjs +419 -483
  203. package/.output/server/chunks/build/DropdownMenu-BBrV9nXz.mjs.map +1 -1
  204. package/.output/server/chunks/build/EditorToolbar-B9OwSI5e.mjs +148 -179
  205. package/.output/server/chunks/build/EditorToolbar-B9OwSI5e.mjs.map +1 -1
  206. package/.output/server/chunks/build/Em-DsIz_BnD.mjs +1 -4
  207. package/.output/server/chunks/build/Em-DsIz_BnD.mjs.map +1 -1
  208. package/.output/server/chunks/build/Field-cwwmSQDT.mjs +14 -19
  209. package/.output/server/chunks/build/Field-cwwmSQDT.mjs.map +1 -1
  210. package/.output/server/chunks/build/FieldGroup-CAIpQv8s.mjs +1 -4
  211. package/.output/server/chunks/build/FieldGroup-CAIpQv8s.mjs.map +1 -1
  212. package/.output/server/chunks/build/FieldGroup-KzsWn_XG.mjs +1 -4
  213. package/.output/server/chunks/build/FieldGroup-KzsWn_XG.mjs.map +1 -1
  214. package/.output/server/chunks/build/Form-X6hlUv6q.mjs +20 -44
  215. package/.output/server/chunks/build/Form-X6hlUv6q.mjs.map +1 -1
  216. package/.output/server/chunks/build/FormField-Caux_FCv.mjs +23 -34
  217. package/.output/server/chunks/build/FormField-Caux_FCv.mjs.map +1 -1
  218. package/.output/server/chunks/build/H1-BbFNsPyP.mjs +4 -9
  219. package/.output/server/chunks/build/H1-BbFNsPyP.mjs.map +1 -1
  220. package/.output/server/chunks/build/H2-vHTl_pWr.mjs +5 -10
  221. package/.output/server/chunks/build/H2-vHTl_pWr.mjs.map +1 -1
  222. package/.output/server/chunks/build/H3-7eTcfO3s.mjs +5 -10
  223. package/.output/server/chunks/build/H3-7eTcfO3s.mjs.map +1 -1
  224. package/.output/server/chunks/build/H4-C89p_PKO.mjs +4 -9
  225. package/.output/server/chunks/build/H4-C89p_PKO.mjs.map +1 -1
  226. package/.output/server/chunks/build/Hr-Bm8RlL3O.mjs +1 -4
  227. package/.output/server/chunks/build/Hr-Bm8RlL3O.mjs.map +1 -1
  228. package/.output/server/chunks/build/Icon-Dp9iy0BI.mjs +1 -4
  229. package/.output/server/chunks/build/Icon-Dp9iy0BI.mjs.map +1 -1
  230. package/.output/server/chunks/build/Img-CWLmvN1t.mjs +63 -76
  231. package/.output/server/chunks/build/Img-CWLmvN1t.mjs.map +1 -1
  232. package/.output/server/chunks/build/Input-CV2hlBHo.mjs +54 -70
  233. package/.output/server/chunks/build/Input-CV2hlBHo.mjs.map +1 -1
  234. package/.output/server/chunks/build/InputTags-VS4G6txn.mjs +101 -133
  235. package/.output/server/chunks/build/InputTags-VS4G6txn.mjs.map +1 -1
  236. package/.output/server/chunks/build/Kbd-CQG6I_Ch.mjs +1 -4
  237. package/.output/server/chunks/build/Kbd-CQG6I_Ch.mjs.map +1 -1
  238. package/.output/server/chunks/build/Kbd-Daq7k0fm.mjs +19 -22
  239. package/.output/server/chunks/build/Kbd-Daq7k0fm.mjs.map +1 -1
  240. package/.output/server/chunks/build/Li-Bw1QUaGv.mjs +1 -4
  241. package/.output/server/chunks/build/Li-Bw1QUaGv.mjs.map +1 -1
  242. package/.output/server/chunks/build/{MDC-CBPIDFRQ.mjs → MDC-Dx0YPDhe.mjs} +38 -58
  243. package/.output/server/chunks/build/{MDC-CBPIDFRQ.mjs.map → MDC-Dx0YPDhe.mjs.map} +1 -1
  244. package/.output/server/chunks/build/Modal-Z_SoWhh-.mjs +299 -343
  245. package/.output/server/chunks/build/Modal-Z_SoWhh-.mjs.map +1 -1
  246. package/.output/server/chunks/build/Ol-D-fPnfFM.mjs +1 -4
  247. package/.output/server/chunks/build/Ol-D-fPnfFM.mjs.map +1 -1
  248. package/.output/server/chunks/build/P-B5YI1V9y.mjs +1 -4
  249. package/.output/server/chunks/build/P-B5YI1V9y.mjs.map +1 -1
  250. package/.output/server/chunks/build/Pre-ChiJcf3C.mjs +7 -11
  251. package/.output/server/chunks/build/Pre-ChiJcf3C.mjs.map +1 -1
  252. package/.output/server/chunks/build/Pre-styles.Ddy5_gRD.mjs.map +1 -1
  253. package/.output/server/chunks/build/ProseH5-DahJyv8h.mjs +1 -4
  254. package/.output/server/chunks/build/ProseH6-C4Is5h6c.mjs +1 -4
  255. package/.output/server/chunks/build/Select-BB1oLrCD.mjs +643 -758
  256. package/.output/server/chunks/build/Select-BB1oLrCD.mjs.map +1 -1
  257. package/.output/server/chunks/build/SelectMenu-DPssg6zD.mjs +702 -814
  258. package/.output/server/chunks/build/SelectMenu-DPssg6zD.mjs.map +1 -1
  259. package/.output/server/chunks/build/Separator-CYbxFNTe.mjs +35 -44
  260. package/.output/server/chunks/build/Separator-CYbxFNTe.mjs.map +1 -1
  261. package/.output/server/chunks/build/Skeleton-DZqsQzFi.mjs +1 -4
  262. package/.output/server/chunks/build/Skeleton-DZqsQzFi.mjs.map +1 -1
  263. package/.output/server/chunks/build/Slideover-DJNgcnZ2.mjs +282 -322
  264. package/.output/server/chunks/build/Slideover-DJNgcnZ2.mjs.map +1 -1
  265. package/.output/server/chunks/build/Steps-BZpvXfzb.mjs +1 -4
  266. package/.output/server/chunks/build/Steps-BZpvXfzb.mjs.map +1 -1
  267. package/.output/server/chunks/build/Strong-DXJqOWL3.mjs +1 -4
  268. package/.output/server/chunks/build/Strong-DXJqOWL3.mjs.map +1 -1
  269. package/.output/server/chunks/build/Switch-GWdksmY6.mjs +75 -92
  270. package/.output/server/chunks/build/Switch-GWdksmY6.mjs.map +1 -1
  271. package/.output/server/chunks/build/Table-BSrLZ7dt.mjs +3 -7
  272. package/.output/server/chunks/build/Table-BSrLZ7dt.mjs.map +1 -1
  273. package/.output/server/chunks/build/Table-DCwTlhCj.mjs +67 -95
  274. package/.output/server/chunks/build/Table-DCwTlhCj.mjs.map +1 -1
  275. package/.output/server/chunks/build/Tabs-B6vgKDY9.mjs +164 -205
  276. package/.output/server/chunks/build/Tabs-B6vgKDY9.mjs.map +1 -1
  277. package/.output/server/chunks/build/Tabs-Dk3nvOFF.mjs +7 -13
  278. package/.output/server/chunks/build/Tabs-Dk3nvOFF.mjs.map +1 -1
  279. package/.output/server/chunks/build/TabsItem-CDhyuBtJ.mjs +1 -4
  280. package/.output/server/chunks/build/TabsItem-CDhyuBtJ.mjs.map +1 -1
  281. package/.output/server/chunks/build/TaskForm-styles.DRSLq_mo.mjs.map +1 -1
  282. package/.output/server/chunks/build/Tbody-CjMT5oH-.mjs +1 -4
  283. package/.output/server/chunks/build/Tbody-CjMT5oH-.mjs.map +1 -1
  284. package/.output/server/chunks/build/Td-ZBVaEjFN.mjs +1 -4
  285. package/.output/server/chunks/build/Td-ZBVaEjFN.mjs.map +1 -1
  286. package/.output/server/chunks/build/Th-D317icbd.mjs +1 -4
  287. package/.output/server/chunks/build/Th-D317icbd.mjs.map +1 -1
  288. package/.output/server/chunks/build/Thead-Ca_ZESTK.mjs +1 -4
  289. package/.output/server/chunks/build/Thead-Ca_ZESTK.mjs.map +1 -1
  290. package/.output/server/chunks/build/Tooltip-TRyl6dje.mjs +90 -119
  291. package/.output/server/chunks/build/Tooltip-TRyl6dje.mjs.map +1 -1
  292. package/.output/server/chunks/build/Tr-6jI8j9gD.mjs +1 -4
  293. package/.output/server/chunks/build/Tr-6jI8j9gD.mjs.map +1 -1
  294. package/.output/server/chunks/build/Tree-DUhXKd8y.mjs +600 -724
  295. package/.output/server/chunks/build/Tree-DUhXKd8y.mjs.map +1 -1
  296. package/.output/server/chunks/build/Ul-BUGj_CPb.mjs +1 -4
  297. package/.output/server/chunks/build/Ul-BUGj_CPb.mjs.map +1 -1
  298. package/.output/server/chunks/build/_id_-CwBeklIM.mjs +6 -11
  299. package/.output/server/chunks/build/_id_-CwBeklIM.mjs.map +1 -1
  300. package/.output/server/chunks/build/_name_-D7MtW4Vu.mjs +80 -95
  301. package/.output/server/chunks/build/_name_-D7MtW4Vu.mjs.map +1 -1
  302. package/.output/server/chunks/build/{_uuid_-22DWyyT2.mjs → _uuid_-lvG92ein.mjs} +47 -90
  303. package/.output/server/chunks/build/_uuid_-lvG92ein.mjs.map +1 -0
  304. package/.output/server/chunks/build/account-LDZ4TL6x.mjs.map +1 -1
  305. package/.output/server/chunks/build/app-CGhRZPNT.mjs +4 -6
  306. package/.output/server/chunks/build/app-CGhRZPNT.mjs.map +1 -1
  307. package/.output/server/chunks/build/auth-BGPNH2QJ.mjs.map +1 -1
  308. package/.output/server/chunks/build/{chat-marxFgC2.mjs → chat-BphuYhvA.mjs} +15 -24
  309. package/.output/server/chunks/build/chat-BphuYhvA.mjs.map +1 -0
  310. package/.output/server/chunks/build/client.precomputed.mjs +1 -1
  311. package/.output/server/chunks/build/client.precomputed.mjs.map +1 -1
  312. package/.output/server/chunks/build/cookie-C_iulBi6.mjs +3 -4
  313. package/.output/server/chunks/build/dashboard-CLk1NlbR.mjs +10 -11
  314. package/.output/server/chunks/build/dashboard-CLk1NlbR.mjs.map +1 -1
  315. package/.output/server/chunks/build/dashboard-nDujDyOg.mjs +2196 -2613
  316. package/.output/server/chunks/build/dashboard-nDujDyOg.mjs.map +1 -1
  317. package/.output/server/chunks/build/docs-Bwucwp0r.mjs +57 -79
  318. package/.output/server/chunks/build/docs-Bwucwp0r.mjs.map +1 -1
  319. package/.output/server/chunks/build/error-404-styles.AYNYglVn.mjs.map +1 -1
  320. package/.output/server/chunks/build/error-500-styles.CQugGB96.mjs.map +1 -1
  321. package/.output/server/chunks/build/fetch-BB7Qzkwe.mjs +1 -2
  322. package/.output/server/chunks/build/hooks-D6PmTth8.mjs +4 -5
  323. package/.output/server/chunks/build/hooks-D6PmTth8.mjs.map +1 -1
  324. package/.output/server/chunks/build/{index-B3B162Ta.mjs → index-Byt-3Yq6.mjs} +607 -742
  325. package/.output/server/chunks/build/index-Byt-3Yq6.mjs.map +1 -0
  326. package/.output/server/chunks/build/index-CJkn2jiM.mjs +58 -84
  327. package/.output/server/chunks/build/index-CJkn2jiM.mjs.map +1 -1
  328. package/.output/server/chunks/build/{index-jLKAA7pL.mjs → index-CxDxc9fm.mjs} +39 -53
  329. package/.output/server/chunks/build/{index-jLKAA7pL.mjs.map → index-CxDxc9fm.mjs.map} +1 -1
  330. package/.output/server/chunks/build/index-Cz9Y6NwN.mjs +1 -2
  331. package/.output/server/chunks/build/index-Cz9Y6NwN.mjs.map +1 -1
  332. package/.output/server/chunks/build/{index-Cl87bx3X.mjs → index-DzdvIi8V.mjs} +6 -8
  333. package/.output/server/chunks/build/{index-Cl87bx3X.mjs.map → index-DzdvIi8V.mjs.map} +1 -1
  334. package/.output/server/chunks/build/{integrations-D5JWURiJ.mjs → integrations-Hf4O1jkW.mjs} +46 -111
  335. package/.output/server/chunks/build/integrations-Hf4O1jkW.mjs.map +1 -0
  336. package/.output/server/chunks/build/library-DxRdgP6X.mjs.map +1 -1
  337. package/.output/server/chunks/build/login-BmER_VoU.mjs +293 -349
  338. package/.output/server/chunks/build/login-BmER_VoU.mjs.map +1 -1
  339. package/.output/server/chunks/build/manage-secrets-BWzqc_-f.mjs +9 -11
  340. package/.output/server/chunks/build/manage-secrets-BWzqc_-f.mjs.map +1 -1
  341. package/.output/server/chunks/build/mdc-highlighter.mjs.map +1 -1
  342. package/.output/server/chunks/build/memories-BqA719O1.mjs.map +1 -1
  343. package/.output/server/chunks/build/node-D32ZN4X1.mjs +1 -2
  344. package/.output/server/chunks/build/server.mjs +7 -7
  345. package/.output/server/chunks/build/server.mjs.map +1 -1
  346. package/.output/server/chunks/build/settings-neokAVE5.mjs.map +1 -1
  347. package/.output/server/chunks/build/slot-BA0jpvfd.mjs +1 -1
  348. package/.output/server/chunks/build/ssr-Bqnw2a-w.mjs +3 -5
  349. package/.output/server/chunks/build/ssrSlot-FUxZcI57.mjs +1 -1
  350. package/.output/server/chunks/build/styles.mjs +2 -2
  351. package/.output/server/chunks/build/styles.mjs.map +1 -1
  352. package/.output/server/chunks/build/{tasks-DLUNgLwE.mjs → tasks-CnpIQNpS.mjs} +7 -18
  353. package/.output/server/chunks/build/tasks-CnpIQNpS.mjs.map +1 -0
  354. package/.output/server/chunks/build/usage-BHdQZbfI.mjs +231 -293
  355. package/.output/server/chunks/build/usage-BHdQZbfI.mjs.map +1 -1
  356. package/.output/server/chunks/build/useAgents-nmbkB9-_.mjs +2 -3
  357. package/.output/server/chunks/build/useAgents-nmbkB9-_.mjs.map +1 -1
  358. package/.output/server/chunks/build/useAuth-rW9toE_m.mjs +4 -14
  359. package/.output/server/chunks/build/useAuth-rW9toE_m.mjs.map +1 -1
  360. package/.output/server/chunks/build/useCopyToClipboard-vi6FYyyZ.mjs +1 -2
  361. package/.output/server/chunks/build/useCopyToClipboard-vi6FYyyZ.mjs.map +1 -1
  362. package/.output/server/chunks/build/useNotificationBus-BG5JNQf1.mjs.map +1 -1
  363. package/.output/server/chunks/build/usePreferences-DH1QjxOj.mjs +1 -2
  364. package/.output/server/chunks/build/usePreferences-DH1QjxOj.mjs.map +1 -1
  365. package/.output/server/chunks/build/view-mb0ISqfM.mjs +105 -140
  366. package/.output/server/chunks/build/view-mb0ISqfM.mjs.map +1 -1
  367. 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
  368. 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
  369. 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
  370. 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
  371. package/.output/server/chunks/nitro/nitro.mjs +905 -996
  372. package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
  373. package/.output/server/package.json +1 -1
  374. package/Claude/skills/_lib/api.py +4 -4
  375. package/Claude/skills/project/project.py +2 -1
  376. package/Claude/skills/skill-creator/SKILL.md +7 -0
  377. package/Claude/skills/task/task.py +4 -3
  378. package/app/pages/settings/integrations.vue +2 -23
  379. package/dist/cli/index.js +372 -170
  380. package/package.json +1 -1
  381. package/server/bridge/adapters/imessage.ts +12 -136
  382. package/shared/types/index.ts +0 -2
  383. package/.output/public/_nuxt/BV9LrrQq.js +0 -1
  384. package/.output/public/_nuxt/CdcXA9zv.js +0 -1
  385. package/.output/public/_nuxt/Cv2DAUoN.js +0 -1
  386. package/.output/public/_nuxt/DEgm6J7X.js +0 -1
  387. package/.output/public/_nuxt/DL1RFS0w.js +0 -1
  388. package/.output/public/_nuxt/builds/meta/cb5185ae-c87f-4b13-8998-00a627da9237.json +0 -1
  389. package/.output/server/chunks/build/_uuid_-22DWyyT2.mjs.map +0 -1
  390. package/.output/server/chunks/build/chat-marxFgC2.mjs.map +0 -1
  391. package/.output/server/chunks/build/index-B3B162Ta.mjs.map +0 -1
  392. package/.output/server/chunks/build/integrations-D5JWURiJ.mjs.map +0 -1
  393. package/.output/server/chunks/build/tasks-DLUNgLwE.mjs.map +0 -1
  394. package/.output/server/chunks/build/virtual_nuxt__Users_tony_Documents_GitHub_second-brain_.nuxt_mdc-configs-D-mPnyQ5.mjs.map +0 -1
  395. 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 = (_a = _id.value) != null ? _a : useId();
310
- const ui = computed(() => {
311
- var _a2;
312
- return tv({ extend: tv(theme$2), ...((_a2 = appConfig.ui) == null ? void 0 : _a2.checkbox) || {} })({
313
- size: size.value,
314
- color: color.value,
315
- variant: props.variant,
316
- indicator: props.indicator,
317
- required: props.required,
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: [(_a2 = props.ui) == null ? void 0 : _a2.root, props.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: (_a3 = props.ui) == null ? void 0 : _a3.container }))}"${_scopeId}>`);
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: (_b = props.ui) == null ? void 0 : _b.base })
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: (_a4 = props.ui) == null ? void 0 : _a4.indicator })
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: (_a5 = props.ui) == null ? void 0 : _a5.icon })
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: (_b3 = props.ui) == null ? void 0 : _b3.icon })
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: (_c2 = props.ui) == null ? void 0 : _c2.icon })
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: (_d2 = props.ui) == null ? void 0 : _d2.icon })
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: (_b2 = props.ui) == null ? void 0 : _b2.indicator })
383
+ class: ui.value.indicator({ class: props.ui?.indicator })
392
384
  }, {
393
- default: withCtx(() => {
394
- var _a5, _b3;
395
- return [
396
- modelValue2 === "indeterminate" ? (openBlock(), createBlock(_sfc_main$d, {
397
- key: 0,
398
- name: __props.indeterminateIcon || unref(appConfig).ui.icons.minus,
399
- "data-slot": "icon",
400
- class: ui.value.icon({ class: (_a5 = props.ui) == null ? void 0 : _a5.icon })
401
- }, null, 8, ["name", "class"])) : (openBlock(), createBlock(_sfc_main$d, {
402
- key: 1,
403
- name: __props.icon || unref(appConfig).ui.icons.check,
404
- "data-slot": "icon",
405
- class: ui.value.icon({ class: (_b3 = props.ui) == null ? void 0 : _b3.icon })
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: (_c = props.ui) == null ? void 0 : _c.wrapper }))}"${_scopeId}>`);
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: (_d = props.ui) == null ? void 0 : _d.label })
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: (_e = props.ui) == null ? void 0 : _e.description }))}"${_scopeId}>`);
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: (_f = props.ui) == null ? void 0 : _f.container })
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: (_g = props.ui) == null ? void 0 : _g.base })
457
+ class: ui.value.base({ class: props.ui?.base })
469
458
  }), {
470
- default: withCtx(({ modelValue: modelValue2 }) => {
471
- var _a4;
472
- return [
473
- createVNode(unref(CheckboxIndicator), {
474
- "data-slot": "indicator",
475
- class: ui.value.indicator({ class: (_a4 = props.ui) == null ? void 0 : _a4.indicator })
476
- }, {
477
- default: withCtx(() => {
478
- var _a5, _b2;
479
- return [
480
- modelValue2 === "indeterminate" ? (openBlock(), createBlock(_sfc_main$d, {
481
- key: 0,
482
- name: __props.indeterminateIcon || unref(appConfig).ui.icons.minus,
483
- "data-slot": "icon",
484
- class: ui.value.icon({ class: (_a5 = props.ui) == null ? void 0 : _a5.icon })
485
- }, null, 8, ["name", "class"])) : (openBlock(), createBlock(_sfc_main$d, {
486
- key: 1,
487
- name: __props.icon || unref(appConfig).ui.icons.check,
488
- "data-slot": "icon",
489
- class: ui.value.icon({ class: (_b2 = props.ui) == null ? void 0 : _b2.icon })
490
- }, null, 8, ["name", "class"]))
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: (_h = props.ui) == null ? void 0 : _h.wrapper })
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: (_i = props.ui) == null ? void 0 : _i.label })
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: (_j = props.ui) == null ? void 0 : _j.description })
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
- var _a;
721
- return tv({ extend: tv(theme$1), ...((_a = appConfig.ui) == null ? void 0 : _a.pinInput) || {} })({
722
- color: color.value,
723
- variant: props.variant,
724
- size: size.value,
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: [(_a = props.ui) == null ? void 0 : _a.root, props.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: (_a2 = props.ui) == null ? void 0 : _a2.base }),
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: (_a2 = props.ui) == null ? void 0 : _a2.base }),
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: [(_a = props.ui) == null ? void 0 : _a.root, props.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: (_a2 = props.ui) == null ? void 0 : _a2.header }))}"${_scopeId}>`);
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: (_a3 = props.ui) == null ? void 0 : _a3.leading }))}"${_scopeId}>`);
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: (_a4 = props.ui) == null ? void 0 : _a4.leadingIcon })
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: (_b2 = props.ui) == null ? void 0 : _b2.title }))}"${_scopeId}>`);
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: (_c2 = props.ui) == null ? void 0 : _c2.description }))}"${_scopeId}>`);
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: (_b = props.ui) == null ? void 0 : _b.body }))}"${_scopeId}>`);
944
- if (((_c = __props.providers) == null ? void 0 : _c.length) || !!slots.providers) {
945
- _push2(`<div data-slot="providers" class="${ssrRenderClass(ui.value.providers({ class: (_d = props.ui) == null ? void 0 : _d.providers }))}"${_scopeId}>`);
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 (((_e = __props.providers) == null ? void 0 : _e.length) && ((_f = __props.fields) == null ? void 0 : _f.length)) {
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: (_g = props.ui) == null ? void 0 : _g.separator })
935
+ class: ui.value.separator({ class: props.ui?.separator })
966
936
  }), null, _parent2, _scopeId));
967
937
  } else {
968
938
  _push2(`<!---->`);
969
939
  }
970
- if ((_h = __props.fields) == null ? void 0 : _h.length) {
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: (_i = props.ui) == null ? void 0 : _i.form })
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: (_a3 = props.ui) == null ? void 0 : _a3.checkbox })
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: (_b2 = props.ui) == null ? void 0 : _b2.select })
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: (_c2 = props.ui) == null ? void 0 : _c2.otp })
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: (_d2 = props.ui) == null ? void 0 : _d2.password })
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": (_c3 = (_b3 = (_a4 = passwordRef.value) == null ? void 0 : _a4[0]) == null ? void 0 : _b3.inputRef) == null ? void 0 : _c3.id,
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": (_f2 = (_e3 = (_d3 = passwordRef.value) == null ? void 0 : _d3[0]) == null ? void 0 : _e3.inputRef) == null ? void 0 : _f2.id,
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: (_e2 = props.ui) == null ? void 0 : _e2.input })
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
- var _a3, _b2, _c2, _d2, _e2;
1071
- return [
1072
- field.type === "checkbox" ? (openBlock(), createBlock(_sfc_main$3, mergeProps({
1073
- key: 0,
1074
- modelValue: state[field.name],
1075
- "onUpdate:modelValue": ($event) => state[field.name] = $event,
1076
- "data-slot": "checkbox",
1077
- class: ui.value.checkbox({ class: (_a3 = props.ui) == null ? void 0 : _a3.checkbox })
1078
- }, { ref_for: true }, omitFieldProps(field)), null, 16, ["modelValue", "onUpdate:modelValue", "class"])) : field.type === "select" ? (openBlock(), createBlock(_sfc_main$7, mergeProps({
1079
- key: 1,
1080
- modelValue: state[field.name],
1081
- "onUpdate:modelValue": ($event) => state[field.name] = $event,
1082
- "data-slot": "select",
1083
- class: ui.value.select({ class: (_b2 = props.ui) == null ? void 0 : _b2.select })
1084
- }, { ref_for: true }, omitFieldProps(field)), null, 16, ["modelValue", "onUpdate:modelValue", "class"])) : field.type === "otp" ? (openBlock(), createBlock(_sfc_main$2, mergeProps({
1085
- key: 2,
1086
- id: field.name,
1087
- modelValue: state[field.name],
1088
- "onUpdate:modelValue": ($event) => state[field.name] = $event,
1089
- "data-slot": "otp",
1090
- class: ui.value.otp({ class: (_c2 = props.ui) == null ? void 0 : _c2.otp })
1091
- }, { 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({
1092
- key: 3,
1093
- ref_for: true,
1094
- ref_key: "passwordRef",
1095
- ref: passwordRef,
1096
- modelValue: state[field.name],
1097
- "onUpdate:modelValue": ($event) => state[field.name] = $event,
1098
- "data-slot": "password",
1099
- class: ui.value.password({ class: (_d2 = props.ui) == null ? void 0 : _d2.password })
1100
- }, { ref_for: true }, omitFieldProps(field), {
1101
- type: passwordVisibility.value ? "text" : "password"
1102
- }), {
1103
- trailing: withCtx(() => {
1104
- var _a4, _b3, _c3;
1105
- return [
1106
- createVNode(_sfc_main$8, {
1107
- color: "neutral",
1108
- variant: "link",
1109
- size: "sm",
1110
- icon: passwordVisibility.value ? unref(appConfig).ui.icons.eyeOff : unref(appConfig).ui.icons.eye,
1111
- "aria-label": passwordVisibility.value ? unref(t)("authForm.hidePassword") : unref(t)("authForm.showPassword"),
1112
- "aria-pressed": passwordVisibility.value,
1113
- "aria-controls": (_c3 = (_b3 = (_a4 = passwordRef.value) == null ? void 0 : _a4[0]) == null ? void 0 : _b3.inputRef) == null ? void 0 : _c3.id,
1114
- onClick: ($event) => passwordVisibility.value = !passwordVisibility.value
1115
- }, null, 8, ["icon", "aria-label", "aria-pressed", "aria-controls", "onClick"])
1116
- ];
1117
- }),
1118
- _: 1
1119
- }, 16, ["modelValue", "onUpdate:modelValue", "class", "type"])) : (openBlock(), createBlock(_sfc_main$9, mergeProps({
1120
- key: 4,
1121
- modelValue: state[field.name],
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
- var _a3, _b2, _c2, _d2, _e2;
1224
- return [
1225
- field.type === "checkbox" ? (openBlock(), createBlock(_sfc_main$3, mergeProps({
1226
- key: 0,
1227
- modelValue: state[field.name],
1228
- "onUpdate:modelValue": ($event) => state[field.name] = $event,
1229
- "data-slot": "checkbox",
1230
- class: ui.value.checkbox({ class: (_a3 = props.ui) == null ? void 0 : _a3.checkbox })
1231
- }, { ref_for: true }, omitFieldProps(field)), null, 16, ["modelValue", "onUpdate:modelValue", "class"])) : field.type === "select" ? (openBlock(), createBlock(_sfc_main$7, mergeProps({
1232
- key: 1,
1233
- modelValue: state[field.name],
1234
- "onUpdate:modelValue": ($event) => state[field.name] = $event,
1235
- "data-slot": "select",
1236
- class: ui.value.select({ class: (_b2 = props.ui) == null ? void 0 : _b2.select })
1237
- }, { ref_for: true }, omitFieldProps(field)), null, 16, ["modelValue", "onUpdate:modelValue", "class"])) : field.type === "otp" ? (openBlock(), createBlock(_sfc_main$2, mergeProps({
1238
- key: 2,
1239
- id: field.name,
1240
- modelValue: state[field.name],
1241
- "onUpdate:modelValue": ($event) => state[field.name] = $event,
1242
- "data-slot": "otp",
1243
- class: ui.value.otp({ class: (_c2 = props.ui) == null ? void 0 : _c2.otp })
1244
- }, { 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({
1245
- key: 3,
1246
- ref_for: true,
1247
- ref_key: "passwordRef",
1248
- ref: passwordRef,
1249
- modelValue: state[field.name],
1250
- "onUpdate:modelValue": ($event) => state[field.name] = $event,
1251
- "data-slot": "password",
1252
- class: ui.value.password({ class: (_d2 = props.ui) == null ? void 0 : _d2.password })
1253
- }, { ref_for: true }, omitFieldProps(field), {
1254
- type: passwordVisibility.value ? "text" : "password"
1255
- }), {
1256
- trailing: withCtx(() => {
1257
- var _a4, _b3, _c3;
1258
- return [
1259
- createVNode(_sfc_main$8, {
1260
- color: "neutral",
1261
- variant: "link",
1262
- size: "sm",
1263
- icon: passwordVisibility.value ? unref(appConfig).ui.icons.eyeOff : unref(appConfig).ui.icons.eye,
1264
- "aria-label": passwordVisibility.value ? unref(t)("authForm.hidePassword") : unref(t)("authForm.showPassword"),
1265
- "aria-pressed": passwordVisibility.value,
1266
- "aria-controls": (_c3 = (_b3 = (_a4 = passwordRef.value) == null ? void 0 : _a4[0]) == null ? void 0 : _b3.inputRef) == null ? void 0 : _c3.id,
1267
- onClick: ($event) => passwordVisibility.value = !passwordVisibility.value
1268
- }, null, 8, ["icon", "aria-label", "aria-pressed", "aria-controls", "onClick"])
1269
- ];
1270
- }),
1271
- _: 1
1272
- }, 16, ["modelValue", "onUpdate:modelValue", "class", "type"])) : (openBlock(), createBlock(_sfc_main$9, mergeProps({
1273
- key: 4,
1274
- modelValue: state[field.name],
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: (_j = props.ui) == null ? void 0 : _j.footer }))}"${_scopeId}>`);
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: (_k = props.ui) == null ? void 0 : _k.header })
1308
+ class: ui.value.header({ class: props.ui?.header })
1353
1309
  }, [
1354
- renderSlot(_ctx.$slots, "header", {}, () => {
1355
- var _a3, _b2, _c2;
1356
- return [
1357
- __props.icon || !!slots.leading ? (openBlock(), createBlock("div", {
1358
- key: 0,
1359
- "data-slot": "leading",
1360
- class: ui.value.leading({ class: (_a3 = props.ui) == null ? void 0 : _a3.leading })
1361
- }, [
1362
- renderSlot(_ctx.$slots, "leading", { ui: ui.value }, () => {
1363
- var _a4;
1364
- return [
1365
- __props.icon ? (openBlock(), createBlock(_sfc_main$d, {
1366
- key: 0,
1367
- name: __props.icon,
1368
- "data-slot": "leadingIcon",
1369
- class: ui.value.leadingIcon({ class: (_a4 = props.ui) == null ? void 0 : _a4.leadingIcon })
1370
- }, null, 8, ["name", "class"])) : createCommentVNode("", true)
1371
- ];
1372
- })
1373
- ], 2)) : createCommentVNode("", true),
1374
- __props.title || !!slots.title ? (openBlock(), createBlock("div", {
1375
- key: 1,
1376
- "data-slot": "title",
1377
- class: ui.value.title({ class: (_b2 = props.ui) == null ? void 0 : _b2.title })
1378
- }, [
1379
- renderSlot(_ctx.$slots, "title", {}, () => [
1380
- createTextVNode(toDisplayString(__props.title), 1)
1381
- ])
1382
- ], 2)) : createCommentVNode("", true),
1383
- __props.description || !!slots.description ? (openBlock(), createBlock("div", {
1384
- key: 2,
1385
- "data-slot": "description",
1386
- class: ui.value.description({ class: (_c2 = props.ui) == null ? void 0 : _c2.description })
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: (_l = props.ui) == null ? void 0 : _l.body })
1347
+ class: ui.value.body({ class: props.ui?.body })
1398
1348
  }, [
1399
- ((_m = __props.providers) == null ? void 0 : _m.length) || !!slots.providers ? (openBlock(), createBlock("div", {
1349
+ __props.providers?.length || !!slots.providers ? (openBlock(), createBlock("div", {
1400
1350
  key: 0,
1401
1351
  "data-slot": "providers",
1402
- class: ui.value.providers({ class: (_n = props.ui) == null ? void 0 : _n.providers })
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
- ((_o = __props.providers) == null ? void 0 : _o.length) && ((_p = __props.fields) == null ? void 0 : _p.length) ? (openBlock(), createBlock(_sfc_main$4, mergeProps({ key: 1 }, typeof __props.separator === "object" ? __props.separator : { label: __props.separator }, {
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: (_q = props.ui) == null ? void 0 : _q.separator })
1367
+ class: ui.value.separator({ class: props.ui?.separator })
1418
1368
  }), null, 16, ["class"])) : createCommentVNode("", true),
1419
- ((_r = __props.fields) == null ? void 0 : _r.length) ? (openBlock(), createBlock(_sfc_main$5, mergeProps({
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: (_s = props.ui) == null ? void 0 : _s.form })
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
- var _a3, _b2, _c2, _d2, _e2;
1440
- return [
1441
- field.type === "checkbox" ? (openBlock(), createBlock(_sfc_main$3, mergeProps({
1442
- key: 0,
1443
- modelValue: state[field.name],
1444
- "onUpdate:modelValue": ($event) => state[field.name] = $event,
1445
- "data-slot": "checkbox",
1446
- class: ui.value.checkbox({ class: (_a3 = props.ui) == null ? void 0 : _a3.checkbox })
1447
- }, { ref_for: true }, omitFieldProps(field)), null, 16, ["modelValue", "onUpdate:modelValue", "class"])) : field.type === "select" ? (openBlock(), createBlock(_sfc_main$7, mergeProps({
1448
- key: 1,
1449
- modelValue: state[field.name],
1450
- "onUpdate:modelValue": ($event) => state[field.name] = $event,
1451
- "data-slot": "select",
1452
- class: ui.value.select({ class: (_b2 = props.ui) == null ? void 0 : _b2.select })
1453
- }, { ref_for: true }, omitFieldProps(field)), null, 16, ["modelValue", "onUpdate:modelValue", "class"])) : field.type === "otp" ? (openBlock(), createBlock(_sfc_main$2, mergeProps({
1454
- key: 2,
1455
- id: field.name,
1456
- modelValue: state[field.name],
1457
- "onUpdate:modelValue": ($event) => state[field.name] = $event,
1458
- "data-slot": "otp",
1459
- class: ui.value.otp({ class: (_c2 = props.ui) == null ? void 0 : _c2.otp })
1460
- }, { 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({
1461
- key: 3,
1462
- ref_for: true,
1463
- ref_key: "passwordRef",
1464
- ref: passwordRef,
1465
- modelValue: state[field.name],
1466
- "onUpdate:modelValue": ($event) => state[field.name] = $event,
1467
- "data-slot": "password",
1468
- class: ui.value.password({ class: (_d2 = props.ui) == null ? void 0 : _d2.password })
1469
- }, { ref_for: true }, omitFieldProps(field), {
1470
- type: passwordVisibility.value ? "text" : "password"
1471
- }), {
1472
- trailing: withCtx(() => {
1473
- var _a4, _b3, _c3;
1474
- return [
1475
- createVNode(_sfc_main$8, {
1476
- color: "neutral",
1477
- variant: "link",
1478
- size: "sm",
1479
- icon: passwordVisibility.value ? unref(appConfig).ui.icons.eyeOff : unref(appConfig).ui.icons.eye,
1480
- "aria-label": passwordVisibility.value ? unref(t)("authForm.hidePassword") : unref(t)("authForm.showPassword"),
1481
- "aria-pressed": passwordVisibility.value,
1482
- "aria-controls": (_c3 = (_b3 = (_a4 = passwordRef.value) == null ? void 0 : _a4[0]) == null ? void 0 : _b3.inputRef) == null ? void 0 : _c3.id,
1483
- onClick: ($event) => passwordVisibility.value = !passwordVisibility.value
1484
- }, null, 8, ["icon", "aria-label", "aria-pressed", "aria-controls", "onClick"])
1485
- ];
1486
- }),
1487
- _: 1
1488
- }, 16, ["modelValue", "onUpdate:modelValue", "class", "type"])) : (openBlock(), createBlock(_sfc_main$9, mergeProps({
1489
- key: 4,
1490
- modelValue: state[field.name],
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: (_t = props.ui) == null ? void 0 : _t.footer })
1498
+ class: ui.value.footer({ class: props.ui?.footer })
1555
1499
  }, [
1556
1500
  renderSlot(_ctx.$slots, "footer")
1557
1501
  ], 2)) : createCommentVNode("", true)