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
@@ -54,10 +54,7 @@ const _sfc_main$1 = {
54
54
  const [DefineItemTemplate, ReuseItemTemplate] = createReusableTemplate();
55
55
  const childrenIcon = computed(() => dir.value === "rtl" ? appConfig.ui.icons.chevronLeft : appConfig.ui.icons.chevronRight);
56
56
  const groups = computed(
57
- () => {
58
- var _a;
59
- return ((_a = props.items) == null ? void 0 : _a.length) ? isArrayOfArray(props.items) ? props.items : [props.items] : [];
60
- }
57
+ () => props.items?.length ? isArrayOfArray(props.items) ? props.items : [props.items] : []
61
58
  );
62
59
  return (_ctx, _push, _parent, _attrs) => {
63
60
  _push(`<!--[-->`);
@@ -69,39 +66,37 @@ const _sfc_main$1 = {
69
66
  index,
70
67
  ui: __props.ui
71
68
  }, () => {
72
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
73
69
  ssrRenderSlot(_ctx.$slots, item.slot ? `${item.slot}-leading` : "item-leading", {
74
70
  item,
75
71
  active,
76
72
  index,
77
73
  ui: __props.ui
78
74
  }, () => {
79
- var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2;
80
75
  if (item.loading) {
81
76
  _push2(ssrRenderComponent(_sfc_main$d, {
82
77
  name: __props.loadingIcon || unref(appConfig).ui.icons.loading,
83
78
  "data-slot": "itemLeadingIcon",
84
- class: __props.ui.itemLeadingIcon({ class: [(_a2 = __props.uiOverride) == null ? void 0 : _a2.itemLeadingIcon, (_b2 = item.ui) == null ? void 0 : _b2.itemLeadingIcon], color: item == null ? void 0 : item.color, loading: true })
79
+ class: __props.ui.itemLeadingIcon({ class: [__props.uiOverride?.itemLeadingIcon, item.ui?.itemLeadingIcon], color: item?.color, loading: true })
85
80
  }, null, _parent2, _scopeId));
86
81
  } else if (item.icon) {
87
82
  _push2(ssrRenderComponent(_sfc_main$d, {
88
83
  name: item.icon,
89
84
  "data-slot": "itemLeadingIcon",
90
- class: __props.ui.itemLeadingIcon({ class: [(_c2 = __props.uiOverride) == null ? void 0 : _c2.itemLeadingIcon, (_d2 = item.ui) == null ? void 0 : _d2.itemLeadingIcon], color: item == null ? void 0 : item.color, active })
85
+ class: __props.ui.itemLeadingIcon({ class: [__props.uiOverride?.itemLeadingIcon, item.ui?.itemLeadingIcon], color: item?.color, active })
91
86
  }, null, _parent2, _scopeId));
92
87
  } else if (item.avatar) {
93
88
  _push2(ssrRenderComponent(_sfc_main$b, mergeProps({
94
- size: ((_e2 = item.ui) == null ? void 0 : _e2.itemLeadingAvatarSize) || ((_f2 = __props.uiOverride) == null ? void 0 : _f2.itemLeadingAvatarSize) || __props.ui.itemLeadingAvatarSize()
89
+ size: item.ui?.itemLeadingAvatarSize || __props.uiOverride?.itemLeadingAvatarSize || __props.ui.itemLeadingAvatarSize()
95
90
  }, item.avatar, {
96
91
  "data-slot": "itemLeadingAvatar",
97
- class: __props.ui.itemLeadingAvatar({ class: [(_g2 = __props.uiOverride) == null ? void 0 : _g2.itemLeadingAvatar, (_h2 = item.ui) == null ? void 0 : _h2.itemLeadingAvatar], active })
92
+ class: __props.ui.itemLeadingAvatar({ class: [__props.uiOverride?.itemLeadingAvatar, item.ui?.itemLeadingAvatar], active })
98
93
  }), null, _parent2, _scopeId));
99
94
  } else {
100
95
  _push2(`<!---->`);
101
96
  }
102
97
  }, _push2, _parent2, _scopeId);
103
98
  if (unref(get)(item, props.labelKey) || !!slots[item.slot ? `${item.slot}-label` : "item-label"] || (unref(get)(item, props.descriptionKey) || !!slots[item.slot ? `${item.slot}-description` : "item-description"])) {
104
- _push2(`<span data-slot="itemWrapper" class="${ssrRenderClass(__props.ui.itemWrapper({ class: [(_a = __props.uiOverride) == null ? void 0 : _a.itemWrapper, (_b = item.ui) == null ? void 0 : _b.itemWrapper] }))}"${_scopeId}><span data-slot="itemLabel" class="${ssrRenderClass(__props.ui.itemLabel({ class: [(_c = __props.uiOverride) == null ? void 0 : _c.itemLabel, (_d = item.ui) == null ? void 0 : _d.itemLabel], active }))}"${_scopeId}>`);
99
+ _push2(`<span data-slot="itemWrapper" class="${ssrRenderClass(__props.ui.itemWrapper({ class: [__props.uiOverride?.itemWrapper, item.ui?.itemWrapper] }))}"${_scopeId}><span data-slot="itemLabel" class="${ssrRenderClass(__props.ui.itemLabel({ class: [__props.uiOverride?.itemLabel, item.ui?.itemLabel], active }))}"${_scopeId}>`);
105
100
  ssrRenderSlot(_ctx.$slots, item.slot ? `${item.slot}-label` : "item-label", {
106
101
  item,
107
102
  active,
@@ -113,14 +108,14 @@ const _sfc_main$1 = {
113
108
  _push2(ssrRenderComponent(_sfc_main$d, {
114
109
  name: typeof __props.externalIcon === "string" ? __props.externalIcon : unref(appConfig).ui.icons.external,
115
110
  "data-slot": "itemLabelExternalIcon",
116
- class: __props.ui.itemLabelExternalIcon({ class: [(_e = __props.uiOverride) == null ? void 0 : _e.itemLabelExternalIcon, (_f = item.ui) == null ? void 0 : _f.itemLabelExternalIcon], color: item == null ? void 0 : item.color, active })
111
+ class: __props.ui.itemLabelExternalIcon({ class: [__props.uiOverride?.itemLabelExternalIcon, item.ui?.itemLabelExternalIcon], color: item?.color, active })
117
112
  }, null, _parent2, _scopeId));
118
113
  } else {
119
114
  _push2(`<!---->`);
120
115
  }
121
116
  _push2(`</span>`);
122
117
  if (unref(get)(item, props.descriptionKey)) {
123
- _push2(`<span data-slot="itemDescription" class="${ssrRenderClass(__props.ui.itemDescription({ class: [(_g = __props.uiOverride) == null ? void 0 : _g.itemDescription, (_h = item.ui) == null ? void 0 : _h.itemDescription] }))}"${_scopeId}>`);
118
+ _push2(`<span data-slot="itemDescription" class="${ssrRenderClass(__props.ui.itemDescription({ class: [__props.uiOverride?.itemDescription, item.ui?.itemDescription] }))}"${_scopeId}>`);
124
119
  ssrRenderSlot(_ctx.$slots, item.slot ? `${item.slot}-description` : "item-description", {
125
120
  item,
126
121
  active,
@@ -136,27 +131,25 @@ const _sfc_main$1 = {
136
131
  } else {
137
132
  _push2(`<!---->`);
138
133
  }
139
- _push2(`<span data-slot="itemTrailing" class="${ssrRenderClass(__props.ui.itemTrailing({ class: [(_i = __props.uiOverride) == null ? void 0 : _i.itemTrailing, (_j = item.ui) == null ? void 0 : _j.itemTrailing] }))}"${_scopeId}>`);
134
+ _push2(`<span data-slot="itemTrailing" class="${ssrRenderClass(__props.ui.itemTrailing({ class: [__props.uiOverride?.itemTrailing, item.ui?.itemTrailing] }))}"${_scopeId}>`);
140
135
  ssrRenderSlot(_ctx.$slots, item.slot ? `${item.slot}-trailing` : "item-trailing", {
141
136
  item,
142
137
  active,
143
138
  index,
144
139
  ui: __props.ui
145
140
  }, () => {
146
- var _a2, _b2, _c2, _d2, _e2, _f2;
147
- if ((_a2 = item.children) == null ? void 0 : _a2.length) {
141
+ if (item.children?.length) {
148
142
  _push2(ssrRenderComponent(_sfc_main$d, {
149
143
  name: childrenIcon.value,
150
144
  "data-slot": "itemTrailingIcon",
151
- class: __props.ui.itemTrailingIcon({ class: [(_b2 = __props.uiOverride) == null ? void 0 : _b2.itemTrailingIcon, (_c2 = item.ui) == null ? void 0 : _c2.itemTrailingIcon], color: item == null ? void 0 : item.color, active })
145
+ class: __props.ui.itemTrailingIcon({ class: [__props.uiOverride?.itemTrailingIcon, item.ui?.itemTrailingIcon], color: item?.color, active })
152
146
  }, null, _parent2, _scopeId));
153
- } else if ((_d2 = item.kbds) == null ? void 0 : _d2.length) {
154
- _push2(`<span data-slot="itemTrailingKbds" class="${ssrRenderClass(__props.ui.itemTrailingKbds({ class: [(_e2 = __props.uiOverride) == null ? void 0 : _e2.itemTrailingKbds, (_f2 = item.ui) == null ? void 0 : _f2.itemTrailingKbds] }))}"${_scopeId}><!--[-->`);
147
+ } else if (item.kbds?.length) {
148
+ _push2(`<span data-slot="itemTrailingKbds" class="${ssrRenderClass(__props.ui.itemTrailingKbds({ class: [__props.uiOverride?.itemTrailingKbds, item.ui?.itemTrailingKbds] }))}"${_scopeId}><!--[-->`);
155
149
  ssrRenderList(item.kbds, (kbd, kbdIndex) => {
156
- var _a3, _b3;
157
150
  _push2(ssrRenderComponent(_sfc_main$2, mergeProps({
158
151
  key: kbdIndex,
159
- size: ((_a3 = item.ui) == null ? void 0 : _a3.itemTrailingKbdsSize) || ((_b3 = __props.uiOverride) == null ? void 0 : _b3.itemTrailingKbdsSize) || __props.ui.itemTrailingKbdsSize()
152
+ size: item.ui?.itemTrailingKbdsSize || __props.uiOverride?.itemTrailingKbdsSize || __props.ui.itemTrailingKbdsSize()
160
153
  }, { ref_for: true }, typeof kbd === "string" ? { value: kbd } : kbd), null, _parent2, _scopeId));
161
154
  });
162
155
  _push2(`<!--]--></span>`);
@@ -166,19 +159,18 @@ const _sfc_main$1 = {
166
159
  }, _push2, _parent2, _scopeId);
167
160
  _push2(ssrRenderComponent(unref(DropdownMenu).ItemIndicator, { "as-child": "" }, {
168
161
  default: withCtx((_, _push3, _parent3, _scopeId2) => {
169
- var _a2, _b2, _c2, _d2;
170
162
  if (_push3) {
171
163
  _push3(ssrRenderComponent(_sfc_main$d, {
172
164
  name: __props.checkedIcon || unref(appConfig).ui.icons.check,
173
165
  "data-slot": "itemTrailingIcon",
174
- class: __props.ui.itemTrailingIcon({ class: [(_a2 = __props.uiOverride) == null ? void 0 : _a2.itemTrailingIcon, (_b2 = item.ui) == null ? void 0 : _b2.itemTrailingIcon], color: item == null ? void 0 : item.color })
166
+ class: __props.ui.itemTrailingIcon({ class: [__props.uiOverride?.itemTrailingIcon, item.ui?.itemTrailingIcon], color: item?.color })
175
167
  }, null, _parent3, _scopeId2));
176
168
  } else {
177
169
  return [
178
170
  createVNode(_sfc_main$d, {
179
171
  name: __props.checkedIcon || unref(appConfig).ui.icons.check,
180
172
  "data-slot": "itemTrailingIcon",
181
- class: __props.ui.itemTrailingIcon({ class: [(_c2 = __props.uiOverride) == null ? void 0 : _c2.itemTrailingIcon, (_d2 = item.ui) == null ? void 0 : _d2.itemTrailingIcon], color: item == null ? void 0 : item.color })
173
+ class: __props.ui.itemTrailingIcon({ class: [__props.uiOverride?.itemTrailingIcon, item.ui?.itemTrailingIcon], color: item?.color })
182
174
  }, null, 8, ["name", "class"])
183
175
  ];
184
176
  }
@@ -193,121 +185,108 @@ const _sfc_main$1 = {
193
185
  item,
194
186
  index,
195
187
  ui: __props.ui
196
- }, () => {
197
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
198
- return [
199
- renderSlot(_ctx.$slots, item.slot ? `${item.slot}-leading` : "item-leading", {
188
+ }, () => [
189
+ renderSlot(_ctx.$slots, item.slot ? `${item.slot}-leading` : "item-leading", {
190
+ item,
191
+ active,
192
+ index,
193
+ ui: __props.ui
194
+ }, () => [
195
+ item.loading ? (openBlock(), createBlock(_sfc_main$d, {
196
+ key: 0,
197
+ name: __props.loadingIcon || unref(appConfig).ui.icons.loading,
198
+ "data-slot": "itemLeadingIcon",
199
+ class: __props.ui.itemLeadingIcon({ class: [__props.uiOverride?.itemLeadingIcon, item.ui?.itemLeadingIcon], color: item?.color, loading: true })
200
+ }, null, 8, ["name", "class"])) : item.icon ? (openBlock(), createBlock(_sfc_main$d, {
201
+ key: 1,
202
+ name: item.icon,
203
+ "data-slot": "itemLeadingIcon",
204
+ class: __props.ui.itemLeadingIcon({ class: [__props.uiOverride?.itemLeadingIcon, item.ui?.itemLeadingIcon], color: item?.color, active })
205
+ }, null, 8, ["name", "class"])) : item.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
206
+ key: 2,
207
+ size: item.ui?.itemLeadingAvatarSize || __props.uiOverride?.itemLeadingAvatarSize || __props.ui.itemLeadingAvatarSize()
208
+ }, item.avatar, {
209
+ "data-slot": "itemLeadingAvatar",
210
+ class: __props.ui.itemLeadingAvatar({ class: [__props.uiOverride?.itemLeadingAvatar, item.ui?.itemLeadingAvatar], active })
211
+ }), null, 16, ["size", "class"])) : createCommentVNode("", true)
212
+ ]),
213
+ unref(get)(item, props.labelKey) || !!slots[item.slot ? `${item.slot}-label` : "item-label"] || (unref(get)(item, props.descriptionKey) || !!slots[item.slot ? `${item.slot}-description` : "item-description"]) ? (openBlock(), createBlock("span", {
214
+ key: 0,
215
+ "data-slot": "itemWrapper",
216
+ class: __props.ui.itemWrapper({ class: [__props.uiOverride?.itemWrapper, item.ui?.itemWrapper] })
217
+ }, [
218
+ createVNode("span", {
219
+ "data-slot": "itemLabel",
220
+ class: __props.ui.itemLabel({ class: [__props.uiOverride?.itemLabel, item.ui?.itemLabel], active })
221
+ }, [
222
+ renderSlot(_ctx.$slots, item.slot ? `${item.slot}-label` : "item-label", {
223
+ item,
224
+ active,
225
+ index
226
+ }, () => [
227
+ createTextVNode(toDisplayString(unref(get)(item, props.labelKey)), 1)
228
+ ]),
229
+ item.target === "_blank" && __props.externalIcon !== false ? (openBlock(), createBlock(_sfc_main$d, {
230
+ key: 0,
231
+ name: typeof __props.externalIcon === "string" ? __props.externalIcon : unref(appConfig).ui.icons.external,
232
+ "data-slot": "itemLabelExternalIcon",
233
+ class: __props.ui.itemLabelExternalIcon({ class: [__props.uiOverride?.itemLabelExternalIcon, item.ui?.itemLabelExternalIcon], color: item?.color, active })
234
+ }, null, 8, ["name", "class"])) : createCommentVNode("", true)
235
+ ], 2),
236
+ unref(get)(item, props.descriptionKey) ? (openBlock(), createBlock("span", {
237
+ key: 0,
238
+ "data-slot": "itemDescription",
239
+ class: __props.ui.itemDescription({ class: [__props.uiOverride?.itemDescription, item.ui?.itemDescription] })
240
+ }, [
241
+ renderSlot(_ctx.$slots, item.slot ? `${item.slot}-description` : "item-description", {
242
+ item,
243
+ active,
244
+ index
245
+ }, () => [
246
+ createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
247
+ ])
248
+ ], 2)) : createCommentVNode("", true)
249
+ ], 2)) : createCommentVNode("", true),
250
+ createVNode("span", {
251
+ "data-slot": "itemTrailing",
252
+ class: __props.ui.itemTrailing({ class: [__props.uiOverride?.itemTrailing, item.ui?.itemTrailing] })
253
+ }, [
254
+ renderSlot(_ctx.$slots, item.slot ? `${item.slot}-trailing` : "item-trailing", {
200
255
  item,
201
256
  active,
202
257
  index,
203
258
  ui: __props.ui
204
- }, () => {
205
- var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2;
206
- return [
207
- item.loading ? (openBlock(), createBlock(_sfc_main$d, {
208
- key: 0,
209
- name: __props.loadingIcon || unref(appConfig).ui.icons.loading,
210
- "data-slot": "itemLeadingIcon",
211
- class: __props.ui.itemLeadingIcon({ class: [(_a2 = __props.uiOverride) == null ? void 0 : _a2.itemLeadingIcon, (_b2 = item.ui) == null ? void 0 : _b2.itemLeadingIcon], color: item == null ? void 0 : item.color, loading: true })
212
- }, null, 8, ["name", "class"])) : item.icon ? (openBlock(), createBlock(_sfc_main$d, {
213
- key: 1,
214
- name: item.icon,
215
- "data-slot": "itemLeadingIcon",
216
- class: __props.ui.itemLeadingIcon({ class: [(_c2 = __props.uiOverride) == null ? void 0 : _c2.itemLeadingIcon, (_d2 = item.ui) == null ? void 0 : _d2.itemLeadingIcon], color: item == null ? void 0 : item.color, active })
217
- }, null, 8, ["name", "class"])) : item.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
218
- key: 2,
219
- size: ((_e2 = item.ui) == null ? void 0 : _e2.itemLeadingAvatarSize) || ((_f2 = __props.uiOverride) == null ? void 0 : _f2.itemLeadingAvatarSize) || __props.ui.itemLeadingAvatarSize()
220
- }, item.avatar, {
221
- "data-slot": "itemLeadingAvatar",
222
- class: __props.ui.itemLeadingAvatar({ class: [(_g2 = __props.uiOverride) == null ? void 0 : _g2.itemLeadingAvatar, (_h2 = item.ui) == null ? void 0 : _h2.itemLeadingAvatar], active })
223
- }), null, 16, ["size", "class"])) : createCommentVNode("", true)
224
- ];
225
- }),
226
- unref(get)(item, props.labelKey) || !!slots[item.slot ? `${item.slot}-label` : "item-label"] || (unref(get)(item, props.descriptionKey) || !!slots[item.slot ? `${item.slot}-description` : "item-description"]) ? (openBlock(), createBlock("span", {
227
- key: 0,
228
- "data-slot": "itemWrapper",
229
- class: __props.ui.itemWrapper({ class: [(_a = __props.uiOverride) == null ? void 0 : _a.itemWrapper, (_b = item.ui) == null ? void 0 : _b.itemWrapper] })
230
- }, [
231
- createVNode("span", {
232
- "data-slot": "itemLabel",
233
- class: __props.ui.itemLabel({ class: [(_c = __props.uiOverride) == null ? void 0 : _c.itemLabel, (_d = item.ui) == null ? void 0 : _d.itemLabel], active })
234
- }, [
235
- renderSlot(_ctx.$slots, item.slot ? `${item.slot}-label` : "item-label", {
236
- item,
237
- active,
238
- index
239
- }, () => [
240
- createTextVNode(toDisplayString(unref(get)(item, props.labelKey)), 1)
241
- ]),
242
- item.target === "_blank" && __props.externalIcon !== false ? (openBlock(), createBlock(_sfc_main$d, {
243
- key: 0,
244
- name: typeof __props.externalIcon === "string" ? __props.externalIcon : unref(appConfig).ui.icons.external,
245
- "data-slot": "itemLabelExternalIcon",
246
- class: __props.ui.itemLabelExternalIcon({ class: [(_e = __props.uiOverride) == null ? void 0 : _e.itemLabelExternalIcon, (_f = item.ui) == null ? void 0 : _f.itemLabelExternalIcon], color: item == null ? void 0 : item.color, active })
247
- }, null, 8, ["name", "class"])) : createCommentVNode("", true)
248
- ], 2),
249
- unref(get)(item, props.descriptionKey) ? (openBlock(), createBlock("span", {
259
+ }, () => [
260
+ item.children?.length ? (openBlock(), createBlock(_sfc_main$d, {
250
261
  key: 0,
251
- "data-slot": "itemDescription",
252
- class: __props.ui.itemDescription({ class: [(_g = __props.uiOverride) == null ? void 0 : _g.itemDescription, (_h = item.ui) == null ? void 0 : _h.itemDescription] })
262
+ name: childrenIcon.value,
263
+ "data-slot": "itemTrailingIcon",
264
+ class: __props.ui.itemTrailingIcon({ class: [__props.uiOverride?.itemTrailingIcon, item.ui?.itemTrailingIcon], color: item?.color, active })
265
+ }, null, 8, ["name", "class"])) : item.kbds?.length ? (openBlock(), createBlock("span", {
266
+ key: 1,
267
+ "data-slot": "itemTrailingKbds",
268
+ class: __props.ui.itemTrailingKbds({ class: [__props.uiOverride?.itemTrailingKbds, item.ui?.itemTrailingKbds] })
253
269
  }, [
254
- renderSlot(_ctx.$slots, item.slot ? `${item.slot}-description` : "item-description", {
255
- item,
256
- active,
257
- index
258
- }, () => [
259
- createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
260
- ])
270
+ (openBlock(true), createBlock(Fragment, null, renderList(item.kbds, (kbd, kbdIndex) => {
271
+ return openBlock(), createBlock(_sfc_main$2, mergeProps({
272
+ key: kbdIndex,
273
+ size: item.ui?.itemTrailingKbdsSize || __props.uiOverride?.itemTrailingKbdsSize || __props.ui.itemTrailingKbdsSize()
274
+ }, { ref_for: true }, typeof kbd === "string" ? { value: kbd } : kbd), null, 16, ["size"]);
275
+ }), 128))
261
276
  ], 2)) : createCommentVNode("", true)
262
- ], 2)) : createCommentVNode("", true),
263
- createVNode("span", {
264
- "data-slot": "itemTrailing",
265
- class: __props.ui.itemTrailing({ class: [(_i = __props.uiOverride) == null ? void 0 : _i.itemTrailing, (_j = item.ui) == null ? void 0 : _j.itemTrailing] })
266
- }, [
267
- renderSlot(_ctx.$slots, item.slot ? `${item.slot}-trailing` : "item-trailing", {
268
- item,
269
- active,
270
- index,
271
- ui: __props.ui
272
- }, () => {
273
- var _a2, _b2, _c2, _d2, _e2, _f2;
274
- return [
275
- ((_a2 = item.children) == null ? void 0 : _a2.length) ? (openBlock(), createBlock(_sfc_main$d, {
276
- key: 0,
277
- name: childrenIcon.value,
278
- "data-slot": "itemTrailingIcon",
279
- class: __props.ui.itemTrailingIcon({ class: [(_b2 = __props.uiOverride) == null ? void 0 : _b2.itemTrailingIcon, (_c2 = item.ui) == null ? void 0 : _c2.itemTrailingIcon], color: item == null ? void 0 : item.color, active })
280
- }, null, 8, ["name", "class"])) : ((_d2 = item.kbds) == null ? void 0 : _d2.length) ? (openBlock(), createBlock("span", {
281
- key: 1,
282
- "data-slot": "itemTrailingKbds",
283
- class: __props.ui.itemTrailingKbds({ class: [(_e2 = __props.uiOverride) == null ? void 0 : _e2.itemTrailingKbds, (_f2 = item.ui) == null ? void 0 : _f2.itemTrailingKbds] })
284
- }, [
285
- (openBlock(true), createBlock(Fragment, null, renderList(item.kbds, (kbd, kbdIndex) => {
286
- var _a3, _b3;
287
- return openBlock(), createBlock(_sfc_main$2, mergeProps({
288
- key: kbdIndex,
289
- size: ((_a3 = item.ui) == null ? void 0 : _a3.itemTrailingKbdsSize) || ((_b3 = __props.uiOverride) == null ? void 0 : _b3.itemTrailingKbdsSize) || __props.ui.itemTrailingKbdsSize()
290
- }, { ref_for: true }, typeof kbd === "string" ? { value: kbd } : kbd), null, 16, ["size"]);
291
- }), 128))
292
- ], 2)) : createCommentVNode("", true)
293
- ];
294
- }),
295
- createVNode(unref(DropdownMenu).ItemIndicator, { "as-child": "" }, {
296
- default: withCtx(() => {
297
- var _a2, _b2;
298
- return [
299
- createVNode(_sfc_main$d, {
300
- name: __props.checkedIcon || unref(appConfig).ui.icons.check,
301
- "data-slot": "itemTrailingIcon",
302
- class: __props.ui.itemTrailingIcon({ class: [(_a2 = __props.uiOverride) == null ? void 0 : _a2.itemTrailingIcon, (_b2 = item.ui) == null ? void 0 : _b2.itemTrailingIcon], color: item == null ? void 0 : item.color })
303
- }, null, 8, ["name", "class"])
304
- ];
305
- }),
306
- _: 2
307
- }, 1024)
308
- ], 2)
309
- ];
310
- })
277
+ ]),
278
+ createVNode(unref(DropdownMenu).ItemIndicator, { "as-child": "" }, {
279
+ default: withCtx(() => [
280
+ createVNode(_sfc_main$d, {
281
+ name: __props.checkedIcon || unref(appConfig).ui.icons.check,
282
+ "data-slot": "itemTrailingIcon",
283
+ class: __props.ui.itemTrailingIcon({ class: [__props.uiOverride?.itemTrailingIcon, item.ui?.itemTrailingIcon], color: item?.color })
284
+ }, null, 8, ["name", "class"])
285
+ ]),
286
+ _: 2
287
+ }, 1024)
288
+ ], 2)
289
+ ])
311
290
  ];
312
291
  }
313
292
  }),
@@ -315,36 +294,32 @@ const _sfc_main$1 = {
315
294
  }, _parent));
316
295
  _push(ssrRenderComponent(unref(DropdownMenu).Portal, unref(portalProps), {
317
296
  default: withCtx((_, _push2, _parent2, _scopeId) => {
318
- var _a, _b;
319
297
  if (_push2) {
320
298
  ssrRenderVNode(_push2, createVNode(resolveDynamicComponent(__props.sub ? unref(DropdownMenu).SubContent : unref(DropdownMenu).Content), mergeProps({
321
299
  "data-slot": "content",
322
- class: __props.ui.content({ class: [(_a = __props.uiOverride) == null ? void 0 : _a.content, props.class] })
300
+ class: __props.ui.content({ class: [__props.uiOverride?.content, props.class] })
323
301
  }, unref(contentProps)), {
324
302
  default: withCtx((_2, _push3, _parent3, _scopeId2) => {
325
- var _a2, _b2, _c, _d, _e, _f;
326
303
  if (_push3) {
327
304
  ssrRenderSlot(_ctx.$slots, "content-top", {
328
- sub: (_a2 = __props.sub) != null ? _a2 : false
305
+ sub: __props.sub ?? false
329
306
  }, null, _push3, _parent3, _scopeId2);
330
- _push3(`<div role="presentation" data-slot="viewport" class="${ssrRenderClass(__props.ui.viewport({ class: (_b2 = __props.uiOverride) == null ? void 0 : _b2.viewport }))}"${_scopeId2}><!--[-->`);
307
+ _push3(`<div role="presentation" data-slot="viewport" class="${ssrRenderClass(__props.ui.viewport({ class: __props.uiOverride?.viewport }))}"${_scopeId2}><!--[-->`);
331
308
  ssrRenderList(groups.value, (group, groupIndex) => {
332
- var _a3;
333
309
  _push3(ssrRenderComponent(unref(DropdownMenu).Group, {
334
310
  key: `group-${groupIndex}`,
335
311
  "data-slot": "group",
336
- class: __props.ui.group({ class: (_a3 = __props.uiOverride) == null ? void 0 : _a3.group })
312
+ class: __props.ui.group({ class: __props.uiOverride?.group })
337
313
  }, {
338
314
  default: withCtx((_3, _push4, _parent4, _scopeId3) => {
339
315
  if (_push4) {
340
316
  _push4(`<!--[-->`);
341
317
  ssrRenderList(group, (item, index) => {
342
- var _a4, _b3, _c2, _d2, _e2, _f2, _g;
343
318
  _push4(`<!--[-->`);
344
319
  if (item.type === "label") {
345
320
  _push4(ssrRenderComponent(unref(DropdownMenu).Label, {
346
321
  "data-slot": "label",
347
- class: __props.ui.label({ class: [(_a4 = __props.uiOverride) == null ? void 0 : _a4.label, (_b3 = item.ui) == null ? void 0 : _b3.label, item.class] })
322
+ class: __props.ui.label({ class: [__props.uiOverride?.label, item.ui?.label, item.class] })
348
323
  }, {
349
324
  default: withCtx((_4, _push5, _parent5, _scopeId4) => {
350
325
  if (_push5) {
@@ -366,15 +341,14 @@ const _sfc_main$1 = {
366
341
  } else if (item.type === "separator") {
367
342
  _push4(ssrRenderComponent(unref(DropdownMenu).Separator, {
368
343
  "data-slot": "separator",
369
- class: __props.ui.separator({ class: [(_c2 = __props.uiOverride) == null ? void 0 : _c2.separator, (_d2 = item.ui) == null ? void 0 : _d2.separator, item.class] })
344
+ class: __props.ui.separator({ class: [__props.uiOverride?.separator, item.ui?.separator, item.class] })
370
345
  }, null, _parent4, _scopeId3));
371
- } else if ((_e2 = item == null ? void 0 : item.children) == null ? void 0 : _e2.length) {
346
+ } else if (item?.children?.length) {
372
347
  _push4(ssrRenderComponent(unref(DropdownMenu).Sub, {
373
348
  open: item.open,
374
349
  "default-open": item.defaultOpen
375
350
  }, {
376
351
  default: withCtx((_4, _push5, _parent5, _scopeId4) => {
377
- var _a5, _b4, _c3, _d3, _e3, _f3;
378
352
  if (_push5) {
379
353
  _push5(ssrRenderComponent(unref(DropdownMenu).SubTrigger, {
380
354
  as: "button",
@@ -382,7 +356,7 @@ const _sfc_main$1 = {
382
356
  disabled: item.disabled,
383
357
  "text-value": unref(get)(item, props.labelKey),
384
358
  "data-slot": "item",
385
- class: __props.ui.item({ class: [(_a5 = __props.uiOverride) == null ? void 0 : _a5.item, (_b4 = item.ui) == null ? void 0 : _b4.item, item.class], color: item == null ? void 0 : item.color })
359
+ class: __props.ui.item({ class: [__props.uiOverride?.item, item.ui?.item, item.class], color: item?.color })
386
360
  }, {
387
361
  default: withCtx((_5, _push6, _parent6, _scopeId5) => {
388
362
  if (_push6) {
@@ -403,7 +377,7 @@ const _sfc_main$1 = {
403
377
  }, _parent5, _scopeId4));
404
378
  _push5(ssrRenderComponent(_sfc_main$1, mergeProps({
405
379
  sub: "",
406
- class: (_c3 = item.ui) == null ? void 0 : _c3.content,
380
+ class: item.ui?.content,
407
381
  ui: __props.ui,
408
382
  "ui-override": __props.uiOverride,
409
383
  portal: __props.portal,
@@ -440,7 +414,7 @@ const _sfc_main$1 = {
440
414
  disabled: item.disabled,
441
415
  "text-value": unref(get)(item, props.labelKey),
442
416
  "data-slot": "item",
443
- class: __props.ui.item({ class: [(_d3 = __props.uiOverride) == null ? void 0 : _d3.item, (_e3 = item.ui) == null ? void 0 : _e3.item, item.class], color: item == null ? void 0 : item.color })
417
+ class: __props.ui.item({ class: [__props.uiOverride?.item, item.ui?.item, item.class], color: item?.color })
444
418
  }, {
445
419
  default: withCtx(() => [
446
420
  createVNode(unref(ReuseItemTemplate), {
@@ -452,7 +426,7 @@ const _sfc_main$1 = {
452
426
  }, 1032, ["disabled", "text-value", "class"]),
453
427
  createVNode(_sfc_main$1, mergeProps({
454
428
  sub: "",
455
- class: (_f3 = item.ui) == null ? void 0 : _f3.content,
429
+ class: item.ui?.content,
456
430
  ui: __props.ui,
457
431
  "ui-override": __props.uiOverride,
458
432
  portal: __props.portal,
@@ -486,7 +460,7 @@ const _sfc_main$1 = {
486
460
  disabled: item.disabled,
487
461
  "text-value": unref(get)(item, props.labelKey),
488
462
  "data-slot": "item",
489
- class: __props.ui.item({ class: [(_f2 = __props.uiOverride) == null ? void 0 : _f2.item, (_g = item.ui) == null ? void 0 : _g.item, item.class], color: item == null ? void 0 : item.color }),
463
+ class: __props.ui.item({ class: [__props.uiOverride?.item, item.ui?.item, item.class], color: item?.color }),
490
464
  "onUpdate:modelValue": item.onUpdateChecked,
491
465
  onSelect: item.onSelect
492
466
  }, {
@@ -518,11 +492,10 @@ const _sfc_main$1 = {
518
492
  if (_push5) {
519
493
  _push5(ssrRenderComponent(_sfc_main$9, mergeProps({ ref_for: true }, unref(pickLinkProps)(item), { custom: "" }), {
520
494
  default: withCtx(({ active, ...slotProps }, _push6, _parent6, _scopeId5) => {
521
- var _a5, _b4, _c3, _d3;
522
495
  if (_push6) {
523
496
  _push6(ssrRenderComponent(_sfc_main$a, mergeProps({ ref_for: true }, slotProps, {
524
497
  "data-slot": "item",
525
- class: __props.ui.item({ class: [(_a5 = __props.uiOverride) == null ? void 0 : _a5.item, (_b4 = item.ui) == null ? void 0 : _b4.item, item.class], color: item == null ? void 0 : item.color, active })
498
+ class: __props.ui.item({ class: [__props.uiOverride?.item, item.ui?.item, item.class], color: item?.color, active })
526
499
  }), {
527
500
  default: withCtx((_5, _push7, _parent7, _scopeId6) => {
528
501
  if (_push7) {
@@ -547,7 +520,7 @@ const _sfc_main$1 = {
547
520
  return [
548
521
  createVNode(_sfc_main$a, mergeProps({ ref_for: true }, slotProps, {
549
522
  "data-slot": "item",
550
- class: __props.ui.item({ class: [(_c3 = __props.uiOverride) == null ? void 0 : _c3.item, (_d3 = item.ui) == null ? void 0 : _d3.item, item.class], color: item == null ? void 0 : item.color, active })
523
+ class: __props.ui.item({ class: [__props.uiOverride?.item, item.ui?.item, item.class], color: item?.color, active })
551
524
  }), {
552
525
  default: withCtx(() => [
553
526
  createVNode(unref(ReuseItemTemplate), {
@@ -566,24 +539,21 @@ const _sfc_main$1 = {
566
539
  } else {
567
540
  return [
568
541
  createVNode(_sfc_main$9, mergeProps({ ref_for: true }, unref(pickLinkProps)(item), { custom: "" }), {
569
- default: withCtx(({ active, ...slotProps }) => {
570
- var _a5, _b4;
571
- return [
572
- createVNode(_sfc_main$a, mergeProps({ ref_for: true }, slotProps, {
573
- "data-slot": "item",
574
- class: __props.ui.item({ class: [(_a5 = __props.uiOverride) == null ? void 0 : _a5.item, (_b4 = item.ui) == null ? void 0 : _b4.item, item.class], color: item == null ? void 0 : item.color, active })
575
- }), {
576
- default: withCtx(() => [
577
- createVNode(unref(ReuseItemTemplate), {
578
- item,
579
- active,
580
- index
581
- }, null, 8, ["item", "active", "index"])
582
- ]),
583
- _: 2
584
- }, 1040, ["class"])
585
- ];
586
- }),
542
+ default: withCtx(({ active, ...slotProps }) => [
543
+ createVNode(_sfc_main$a, mergeProps({ ref_for: true }, slotProps, {
544
+ "data-slot": "item",
545
+ class: __props.ui.item({ class: [__props.uiOverride?.item, item.ui?.item, item.class], color: item?.color, active })
546
+ }), {
547
+ default: withCtx(() => [
548
+ createVNode(unref(ReuseItemTemplate), {
549
+ item,
550
+ active,
551
+ index
552
+ }, null, 8, ["item", "active", "index"])
553
+ ]),
554
+ _: 2
555
+ }, 1040, ["class"])
556
+ ]),
587
557
  _: 2
588
558
  }, 1040)
589
559
  ];
@@ -598,14 +568,13 @@ const _sfc_main$1 = {
598
568
  } else {
599
569
  return [
600
570
  (openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
601
- var _a4, _b3, _c2, _d2, _e2, _f2, _g;
602
571
  return openBlock(), createBlock(Fragment, {
603
572
  key: `group-${groupIndex}-${index}`
604
573
  }, [
605
574
  item.type === "label" ? (openBlock(), createBlock(unref(DropdownMenu).Label, {
606
575
  key: 0,
607
576
  "data-slot": "label",
608
- class: __props.ui.label({ class: [(_a4 = __props.uiOverride) == null ? void 0 : _a4.label, (_b3 = item.ui) == null ? void 0 : _b3.label, item.class] })
577
+ class: __props.ui.label({ class: [__props.uiOverride?.label, item.ui?.label, item.class] })
609
578
  }, {
610
579
  default: withCtx(() => [
611
580
  createVNode(unref(ReuseItemTemplate), {
@@ -617,58 +586,55 @@ const _sfc_main$1 = {
617
586
  }, 1032, ["class"])) : item.type === "separator" ? (openBlock(), createBlock(unref(DropdownMenu).Separator, {
618
587
  key: 1,
619
588
  "data-slot": "separator",
620
- class: __props.ui.separator({ class: [(_c2 = __props.uiOverride) == null ? void 0 : _c2.separator, (_d2 = item.ui) == null ? void 0 : _d2.separator, item.class] })
621
- }, null, 8, ["class"])) : ((_e2 = item == null ? void 0 : item.children) == null ? void 0 : _e2.length) ? (openBlock(), createBlock(unref(DropdownMenu).Sub, {
589
+ class: __props.ui.separator({ class: [__props.uiOverride?.separator, item.ui?.separator, item.class] })
590
+ }, null, 8, ["class"])) : item?.children?.length ? (openBlock(), createBlock(unref(DropdownMenu).Sub, {
622
591
  key: 2,
623
592
  open: item.open,
624
593
  "default-open": item.defaultOpen
625
594
  }, {
626
- default: withCtx(() => {
627
- var _a5, _b4, _c3;
628
- return [
629
- createVNode(unref(DropdownMenu).SubTrigger, {
630
- as: "button",
631
- type: "button",
632
- disabled: item.disabled,
633
- "text-value": unref(get)(item, props.labelKey),
634
- "data-slot": "item",
635
- class: __props.ui.item({ class: [(_a5 = __props.uiOverride) == null ? void 0 : _a5.item, (_b4 = item.ui) == null ? void 0 : _b4.item, item.class], color: item == null ? void 0 : item.color })
636
- }, {
637
- default: withCtx(() => [
638
- createVNode(unref(ReuseItemTemplate), {
639
- item,
640
- index
641
- }, null, 8, ["item", "index"])
642
- ]),
643
- _: 2
644
- }, 1032, ["disabled", "text-value", "class"]),
645
- createVNode(_sfc_main$1, mergeProps({
646
- sub: "",
647
- class: (_c3 = item.ui) == null ? void 0 : _c3.content,
648
- ui: __props.ui,
649
- "ui-override": __props.uiOverride,
650
- portal: __props.portal,
651
- items: item.children,
652
- align: "start",
653
- "align-offset": -4,
654
- "side-offset": 3,
655
- "label-key": __props.labelKey,
656
- "description-key": __props.descriptionKey,
657
- "checked-icon": __props.checkedIcon,
658
- "loading-icon": __props.loadingIcon,
659
- "external-icon": __props.externalIcon
660
- }, { ref_for: true }, item.content), createSlots({ _: 2 }, [
661
- renderList(getProxySlots(), (_4, name) => {
662
- return {
663
- name,
664
- fn: withCtx((slotData) => [
665
- renderSlot(_ctx.$slots, name, mergeProps({ ref_for: true }, slotData))
666
- ])
667
- };
668
- })
669
- ]), 1040, ["class", "ui", "ui-override", "portal", "items", "label-key", "description-key", "checked-icon", "loading-icon", "external-icon"])
670
- ];
671
- }),
595
+ default: withCtx(() => [
596
+ createVNode(unref(DropdownMenu).SubTrigger, {
597
+ as: "button",
598
+ type: "button",
599
+ disabled: item.disabled,
600
+ "text-value": unref(get)(item, props.labelKey),
601
+ "data-slot": "item",
602
+ class: __props.ui.item({ class: [__props.uiOverride?.item, item.ui?.item, item.class], color: item?.color })
603
+ }, {
604
+ default: withCtx(() => [
605
+ createVNode(unref(ReuseItemTemplate), {
606
+ item,
607
+ index
608
+ }, null, 8, ["item", "index"])
609
+ ]),
610
+ _: 2
611
+ }, 1032, ["disabled", "text-value", "class"]),
612
+ createVNode(_sfc_main$1, mergeProps({
613
+ sub: "",
614
+ class: item.ui?.content,
615
+ ui: __props.ui,
616
+ "ui-override": __props.uiOverride,
617
+ portal: __props.portal,
618
+ items: item.children,
619
+ align: "start",
620
+ "align-offset": -4,
621
+ "side-offset": 3,
622
+ "label-key": __props.labelKey,
623
+ "description-key": __props.descriptionKey,
624
+ "checked-icon": __props.checkedIcon,
625
+ "loading-icon": __props.loadingIcon,
626
+ "external-icon": __props.externalIcon
627
+ }, { ref_for: true }, item.content), createSlots({ _: 2 }, [
628
+ renderList(getProxySlots(), (_4, name) => {
629
+ return {
630
+ name,
631
+ fn: withCtx((slotData) => [
632
+ renderSlot(_ctx.$slots, name, mergeProps({ ref_for: true }, slotData))
633
+ ])
634
+ };
635
+ })
636
+ ]), 1040, ["class", "ui", "ui-override", "portal", "items", "label-key", "description-key", "checked-icon", "loading-icon", "external-icon"])
637
+ ]),
672
638
  _: 2
673
639
  }, 1032, ["open", "default-open"])) : item.type === "checkbox" ? (openBlock(), createBlock(unref(DropdownMenu).CheckboxItem, {
674
640
  key: 3,
@@ -676,7 +642,7 @@ const _sfc_main$1 = {
676
642
  disabled: item.disabled,
677
643
  "text-value": unref(get)(item, props.labelKey),
678
644
  "data-slot": "item",
679
- class: __props.ui.item({ class: [(_f2 = __props.uiOverride) == null ? void 0 : _f2.item, (_g = item.ui) == null ? void 0 : _g.item, item.class], color: item == null ? void 0 : item.color }),
645
+ class: __props.ui.item({ class: [__props.uiOverride?.item, item.ui?.item, item.class], color: item?.color }),
680
646
  "onUpdate:modelValue": item.onUpdateChecked,
681
647
  onSelect: item.onSelect
682
648
  }, {
@@ -696,24 +662,21 @@ const _sfc_main$1 = {
696
662
  }, {
697
663
  default: withCtx(() => [
698
664
  createVNode(_sfc_main$9, mergeProps({ ref_for: true }, unref(pickLinkProps)(item), { custom: "" }), {
699
- default: withCtx(({ active, ...slotProps }) => {
700
- var _a5, _b4;
701
- return [
702
- createVNode(_sfc_main$a, mergeProps({ ref_for: true }, slotProps, {
703
- "data-slot": "item",
704
- class: __props.ui.item({ class: [(_a5 = __props.uiOverride) == null ? void 0 : _a5.item, (_b4 = item.ui) == null ? void 0 : _b4.item, item.class], color: item == null ? void 0 : item.color, active })
705
- }), {
706
- default: withCtx(() => [
707
- createVNode(unref(ReuseItemTemplate), {
708
- item,
709
- active,
710
- index
711
- }, null, 8, ["item", "active", "index"])
712
- ]),
713
- _: 2
714
- }, 1040, ["class"])
715
- ];
716
- }),
665
+ default: withCtx(({ active, ...slotProps }) => [
666
+ createVNode(_sfc_main$a, mergeProps({ ref_for: true }, slotProps, {
667
+ "data-slot": "item",
668
+ class: __props.ui.item({ class: [__props.uiOverride?.item, item.ui?.item, item.class], color: item?.color, active })
669
+ }), {
670
+ default: withCtx(() => [
671
+ createVNode(unref(ReuseItemTemplate), {
672
+ item,
673
+ active,
674
+ index
675
+ }, null, 8, ["item", "active", "index"])
676
+ ]),
677
+ _: 2
678
+ }, 1040, ["class"])
679
+ ]),
717
680
  _: 2
718
681
  }, 1040)
719
682
  ]),
@@ -730,35 +693,33 @@ const _sfc_main$1 = {
730
693
  _push3(`<!--]--></div>`);
731
694
  ssrRenderSlot(_ctx.$slots, "default", {}, null, _push3, _parent3, _scopeId2);
732
695
  ssrRenderSlot(_ctx.$slots, "content-bottom", {
733
- sub: (_c = __props.sub) != null ? _c : false
696
+ sub: __props.sub ?? false
734
697
  }, null, _push3, _parent3, _scopeId2);
735
698
  } else {
736
699
  return [
737
700
  renderSlot(_ctx.$slots, "content-top", {
738
- sub: (_d = __props.sub) != null ? _d : false
701
+ sub: __props.sub ?? false
739
702
  }),
740
703
  createVNode("div", {
741
704
  role: "presentation",
742
705
  "data-slot": "viewport",
743
- class: __props.ui.viewport({ class: (_e = __props.uiOverride) == null ? void 0 : _e.viewport })
706
+ class: __props.ui.viewport({ class: __props.uiOverride?.viewport })
744
707
  }, [
745
708
  (openBlock(true), createBlock(Fragment, null, renderList(groups.value, (group, groupIndex) => {
746
- var _a3;
747
709
  return openBlock(), createBlock(unref(DropdownMenu).Group, {
748
710
  key: `group-${groupIndex}`,
749
711
  "data-slot": "group",
750
- class: __props.ui.group({ class: (_a3 = __props.uiOverride) == null ? void 0 : _a3.group })
712
+ class: __props.ui.group({ class: __props.uiOverride?.group })
751
713
  }, {
752
714
  default: withCtx(() => [
753
715
  (openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
754
- var _a4, _b3, _c2, _d2, _e2, _f2, _g;
755
716
  return openBlock(), createBlock(Fragment, {
756
717
  key: `group-${groupIndex}-${index}`
757
718
  }, [
758
719
  item.type === "label" ? (openBlock(), createBlock(unref(DropdownMenu).Label, {
759
720
  key: 0,
760
721
  "data-slot": "label",
761
- class: __props.ui.label({ class: [(_a4 = __props.uiOverride) == null ? void 0 : _a4.label, (_b3 = item.ui) == null ? void 0 : _b3.label, item.class] })
722
+ class: __props.ui.label({ class: [__props.uiOverride?.label, item.ui?.label, item.class] })
762
723
  }, {
763
724
  default: withCtx(() => [
764
725
  createVNode(unref(ReuseItemTemplate), {
@@ -770,58 +731,55 @@ const _sfc_main$1 = {
770
731
  }, 1032, ["class"])) : item.type === "separator" ? (openBlock(), createBlock(unref(DropdownMenu).Separator, {
771
732
  key: 1,
772
733
  "data-slot": "separator",
773
- class: __props.ui.separator({ class: [(_c2 = __props.uiOverride) == null ? void 0 : _c2.separator, (_d2 = item.ui) == null ? void 0 : _d2.separator, item.class] })
774
- }, null, 8, ["class"])) : ((_e2 = item == null ? void 0 : item.children) == null ? void 0 : _e2.length) ? (openBlock(), createBlock(unref(DropdownMenu).Sub, {
734
+ class: __props.ui.separator({ class: [__props.uiOverride?.separator, item.ui?.separator, item.class] })
735
+ }, null, 8, ["class"])) : item?.children?.length ? (openBlock(), createBlock(unref(DropdownMenu).Sub, {
775
736
  key: 2,
776
737
  open: item.open,
777
738
  "default-open": item.defaultOpen
778
739
  }, {
779
- default: withCtx(() => {
780
- var _a5, _b4, _c3;
781
- return [
782
- createVNode(unref(DropdownMenu).SubTrigger, {
783
- as: "button",
784
- type: "button",
785
- disabled: item.disabled,
786
- "text-value": unref(get)(item, props.labelKey),
787
- "data-slot": "item",
788
- class: __props.ui.item({ class: [(_a5 = __props.uiOverride) == null ? void 0 : _a5.item, (_b4 = item.ui) == null ? void 0 : _b4.item, item.class], color: item == null ? void 0 : item.color })
789
- }, {
790
- default: withCtx(() => [
791
- createVNode(unref(ReuseItemTemplate), {
792
- item,
793
- index
794
- }, null, 8, ["item", "index"])
795
- ]),
796
- _: 2
797
- }, 1032, ["disabled", "text-value", "class"]),
798
- createVNode(_sfc_main$1, mergeProps({
799
- sub: "",
800
- class: (_c3 = item.ui) == null ? void 0 : _c3.content,
801
- ui: __props.ui,
802
- "ui-override": __props.uiOverride,
803
- portal: __props.portal,
804
- items: item.children,
805
- align: "start",
806
- "align-offset": -4,
807
- "side-offset": 3,
808
- "label-key": __props.labelKey,
809
- "description-key": __props.descriptionKey,
810
- "checked-icon": __props.checkedIcon,
811
- "loading-icon": __props.loadingIcon,
812
- "external-icon": __props.externalIcon
813
- }, { ref_for: true }, item.content), createSlots({ _: 2 }, [
814
- renderList(getProxySlots(), (_3, name) => {
815
- return {
816
- name,
817
- fn: withCtx((slotData) => [
818
- renderSlot(_ctx.$slots, name, mergeProps({ ref_for: true }, slotData))
819
- ])
820
- };
821
- })
822
- ]), 1040, ["class", "ui", "ui-override", "portal", "items", "label-key", "description-key", "checked-icon", "loading-icon", "external-icon"])
823
- ];
824
- }),
740
+ default: withCtx(() => [
741
+ createVNode(unref(DropdownMenu).SubTrigger, {
742
+ as: "button",
743
+ type: "button",
744
+ disabled: item.disabled,
745
+ "text-value": unref(get)(item, props.labelKey),
746
+ "data-slot": "item",
747
+ class: __props.ui.item({ class: [__props.uiOverride?.item, item.ui?.item, item.class], color: item?.color })
748
+ }, {
749
+ default: withCtx(() => [
750
+ createVNode(unref(ReuseItemTemplate), {
751
+ item,
752
+ index
753
+ }, null, 8, ["item", "index"])
754
+ ]),
755
+ _: 2
756
+ }, 1032, ["disabled", "text-value", "class"]),
757
+ createVNode(_sfc_main$1, mergeProps({
758
+ sub: "",
759
+ class: item.ui?.content,
760
+ ui: __props.ui,
761
+ "ui-override": __props.uiOverride,
762
+ portal: __props.portal,
763
+ items: item.children,
764
+ align: "start",
765
+ "align-offset": -4,
766
+ "side-offset": 3,
767
+ "label-key": __props.labelKey,
768
+ "description-key": __props.descriptionKey,
769
+ "checked-icon": __props.checkedIcon,
770
+ "loading-icon": __props.loadingIcon,
771
+ "external-icon": __props.externalIcon
772
+ }, { ref_for: true }, item.content), createSlots({ _: 2 }, [
773
+ renderList(getProxySlots(), (_3, name) => {
774
+ return {
775
+ name,
776
+ fn: withCtx((slotData) => [
777
+ renderSlot(_ctx.$slots, name, mergeProps({ ref_for: true }, slotData))
778
+ ])
779
+ };
780
+ })
781
+ ]), 1040, ["class", "ui", "ui-override", "portal", "items", "label-key", "description-key", "checked-icon", "loading-icon", "external-icon"])
782
+ ]),
825
783
  _: 2
826
784
  }, 1032, ["open", "default-open"])) : item.type === "checkbox" ? (openBlock(), createBlock(unref(DropdownMenu).CheckboxItem, {
827
785
  key: 3,
@@ -829,7 +787,7 @@ const _sfc_main$1 = {
829
787
  disabled: item.disabled,
830
788
  "text-value": unref(get)(item, props.labelKey),
831
789
  "data-slot": "item",
832
- class: __props.ui.item({ class: [(_f2 = __props.uiOverride) == null ? void 0 : _f2.item, (_g = item.ui) == null ? void 0 : _g.item, item.class], color: item == null ? void 0 : item.color }),
790
+ class: __props.ui.item({ class: [__props.uiOverride?.item, item.ui?.item, item.class], color: item?.color }),
833
791
  "onUpdate:modelValue": item.onUpdateChecked,
834
792
  onSelect: item.onSelect
835
793
  }, {
@@ -849,24 +807,21 @@ const _sfc_main$1 = {
849
807
  }, {
850
808
  default: withCtx(() => [
851
809
  createVNode(_sfc_main$9, mergeProps({ ref_for: true }, unref(pickLinkProps)(item), { custom: "" }), {
852
- default: withCtx(({ active, ...slotProps }) => {
853
- var _a5, _b4;
854
- return [
855
- createVNode(_sfc_main$a, mergeProps({ ref_for: true }, slotProps, {
856
- "data-slot": "item",
857
- class: __props.ui.item({ class: [(_a5 = __props.uiOverride) == null ? void 0 : _a5.item, (_b4 = item.ui) == null ? void 0 : _b4.item, item.class], color: item == null ? void 0 : item.color, active })
858
- }), {
859
- default: withCtx(() => [
860
- createVNode(unref(ReuseItemTemplate), {
861
- item,
862
- active,
863
- index
864
- }, null, 8, ["item", "active", "index"])
865
- ]),
866
- _: 2
867
- }, 1040, ["class"])
868
- ];
869
- }),
810
+ default: withCtx(({ active, ...slotProps }) => [
811
+ createVNode(_sfc_main$a, mergeProps({ ref_for: true }, slotProps, {
812
+ "data-slot": "item",
813
+ class: __props.ui.item({ class: [__props.uiOverride?.item, item.ui?.item, item.class], color: item?.color, active })
814
+ }), {
815
+ default: withCtx(() => [
816
+ createVNode(unref(ReuseItemTemplate), {
817
+ item,
818
+ active,
819
+ index
820
+ }, null, 8, ["item", "active", "index"])
821
+ ]),
822
+ _: 2
823
+ }, 1040, ["class"])
824
+ ]),
870
825
  _: 2
871
826
  }, 1040)
872
827
  ]),
@@ -881,7 +836,7 @@ const _sfc_main$1 = {
881
836
  ], 2),
882
837
  renderSlot(_ctx.$slots, "default"),
883
838
  renderSlot(_ctx.$slots, "content-bottom", {
884
- sub: (_f = __props.sub) != null ? _f : false
839
+ sub: __props.sub ?? false
885
840
  })
886
841
  ];
887
842
  }
@@ -892,162 +847,151 @@ const _sfc_main$1 = {
892
847
  return [
893
848
  (openBlock(), createBlock(resolveDynamicComponent(__props.sub ? unref(DropdownMenu).SubContent : unref(DropdownMenu).Content), mergeProps({
894
849
  "data-slot": "content",
895
- class: __props.ui.content({ class: [(_b = __props.uiOverride) == null ? void 0 : _b.content, props.class] })
850
+ class: __props.ui.content({ class: [__props.uiOverride?.content, props.class] })
896
851
  }, unref(contentProps)), {
897
- default: withCtx(() => {
898
- var _a2, _b2, _c;
899
- return [
900
- renderSlot(_ctx.$slots, "content-top", {
901
- sub: (_a2 = __props.sub) != null ? _a2 : false
902
- }),
903
- createVNode("div", {
904
- role: "presentation",
905
- "data-slot": "viewport",
906
- class: __props.ui.viewport({ class: (_b2 = __props.uiOverride) == null ? void 0 : _b2.viewport })
907
- }, [
908
- (openBlock(true), createBlock(Fragment, null, renderList(groups.value, (group, groupIndex) => {
909
- var _a3;
910
- return openBlock(), createBlock(unref(DropdownMenu).Group, {
911
- key: `group-${groupIndex}`,
912
- "data-slot": "group",
913
- class: __props.ui.group({ class: (_a3 = __props.uiOverride) == null ? void 0 : _a3.group })
914
- }, {
915
- default: withCtx(() => [
916
- (openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
917
- var _a4, _b3, _c2, _d, _e, _f, _g;
918
- return openBlock(), createBlock(Fragment, {
919
- key: `group-${groupIndex}-${index}`
920
- }, [
921
- item.type === "label" ? (openBlock(), createBlock(unref(DropdownMenu).Label, {
922
- key: 0,
923
- "data-slot": "label",
924
- class: __props.ui.label({ class: [(_a4 = __props.uiOverride) == null ? void 0 : _a4.label, (_b3 = item.ui) == null ? void 0 : _b3.label, item.class] })
925
- }, {
926
- default: withCtx(() => [
927
- createVNode(unref(ReuseItemTemplate), {
928
- item,
929
- index
930
- }, null, 8, ["item", "index"])
931
- ]),
932
- _: 2
933
- }, 1032, ["class"])) : item.type === "separator" ? (openBlock(), createBlock(unref(DropdownMenu).Separator, {
934
- key: 1,
935
- "data-slot": "separator",
936
- class: __props.ui.separator({ class: [(_c2 = __props.uiOverride) == null ? void 0 : _c2.separator, (_d = item.ui) == null ? void 0 : _d.separator, item.class] })
937
- }, null, 8, ["class"])) : ((_e = item == null ? void 0 : item.children) == null ? void 0 : _e.length) ? (openBlock(), createBlock(unref(DropdownMenu).Sub, {
938
- key: 2,
939
- open: item.open,
940
- "default-open": item.defaultOpen
941
- }, {
942
- default: withCtx(() => {
943
- var _a5, _b4, _c3;
944
- return [
945
- createVNode(unref(DropdownMenu).SubTrigger, {
946
- as: "button",
947
- type: "button",
948
- disabled: item.disabled,
949
- "text-value": unref(get)(item, props.labelKey),
852
+ default: withCtx(() => [
853
+ renderSlot(_ctx.$slots, "content-top", {
854
+ sub: __props.sub ?? false
855
+ }),
856
+ createVNode("div", {
857
+ role: "presentation",
858
+ "data-slot": "viewport",
859
+ class: __props.ui.viewport({ class: __props.uiOverride?.viewport })
860
+ }, [
861
+ (openBlock(true), createBlock(Fragment, null, renderList(groups.value, (group, groupIndex) => {
862
+ return openBlock(), createBlock(unref(DropdownMenu).Group, {
863
+ key: `group-${groupIndex}`,
864
+ "data-slot": "group",
865
+ class: __props.ui.group({ class: __props.uiOverride?.group })
866
+ }, {
867
+ default: withCtx(() => [
868
+ (openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
869
+ return openBlock(), createBlock(Fragment, {
870
+ key: `group-${groupIndex}-${index}`
871
+ }, [
872
+ item.type === "label" ? (openBlock(), createBlock(unref(DropdownMenu).Label, {
873
+ key: 0,
874
+ "data-slot": "label",
875
+ class: __props.ui.label({ class: [__props.uiOverride?.label, item.ui?.label, item.class] })
876
+ }, {
877
+ default: withCtx(() => [
878
+ createVNode(unref(ReuseItemTemplate), {
879
+ item,
880
+ index
881
+ }, null, 8, ["item", "index"])
882
+ ]),
883
+ _: 2
884
+ }, 1032, ["class"])) : item.type === "separator" ? (openBlock(), createBlock(unref(DropdownMenu).Separator, {
885
+ key: 1,
886
+ "data-slot": "separator",
887
+ class: __props.ui.separator({ class: [__props.uiOverride?.separator, item.ui?.separator, item.class] })
888
+ }, null, 8, ["class"])) : item?.children?.length ? (openBlock(), createBlock(unref(DropdownMenu).Sub, {
889
+ key: 2,
890
+ open: item.open,
891
+ "default-open": item.defaultOpen
892
+ }, {
893
+ default: withCtx(() => [
894
+ createVNode(unref(DropdownMenu).SubTrigger, {
895
+ as: "button",
896
+ type: "button",
897
+ disabled: item.disabled,
898
+ "text-value": unref(get)(item, props.labelKey),
899
+ "data-slot": "item",
900
+ class: __props.ui.item({ class: [__props.uiOverride?.item, item.ui?.item, item.class], color: item?.color })
901
+ }, {
902
+ default: withCtx(() => [
903
+ createVNode(unref(ReuseItemTemplate), {
904
+ item,
905
+ index
906
+ }, null, 8, ["item", "index"])
907
+ ]),
908
+ _: 2
909
+ }, 1032, ["disabled", "text-value", "class"]),
910
+ createVNode(_sfc_main$1, mergeProps({
911
+ sub: "",
912
+ class: item.ui?.content,
913
+ ui: __props.ui,
914
+ "ui-override": __props.uiOverride,
915
+ portal: __props.portal,
916
+ items: item.children,
917
+ align: "start",
918
+ "align-offset": -4,
919
+ "side-offset": 3,
920
+ "label-key": __props.labelKey,
921
+ "description-key": __props.descriptionKey,
922
+ "checked-icon": __props.checkedIcon,
923
+ "loading-icon": __props.loadingIcon,
924
+ "external-icon": __props.externalIcon
925
+ }, { ref_for: true }, item.content), createSlots({ _: 2 }, [
926
+ renderList(getProxySlots(), (_2, name) => {
927
+ return {
928
+ name,
929
+ fn: withCtx((slotData) => [
930
+ renderSlot(_ctx.$slots, name, mergeProps({ ref_for: true }, slotData))
931
+ ])
932
+ };
933
+ })
934
+ ]), 1040, ["class", "ui", "ui-override", "portal", "items", "label-key", "description-key", "checked-icon", "loading-icon", "external-icon"])
935
+ ]),
936
+ _: 2
937
+ }, 1032, ["open", "default-open"])) : item.type === "checkbox" ? (openBlock(), createBlock(unref(DropdownMenu).CheckboxItem, {
938
+ key: 3,
939
+ "model-value": item.checked,
940
+ disabled: item.disabled,
941
+ "text-value": unref(get)(item, props.labelKey),
942
+ "data-slot": "item",
943
+ class: __props.ui.item({ class: [__props.uiOverride?.item, item.ui?.item, item.class], color: item?.color }),
944
+ "onUpdate:modelValue": item.onUpdateChecked,
945
+ onSelect: item.onSelect
946
+ }, {
947
+ default: withCtx(() => [
948
+ createVNode(unref(ReuseItemTemplate), {
949
+ item,
950
+ index
951
+ }, null, 8, ["item", "index"])
952
+ ]),
953
+ _: 2
954
+ }, 1032, ["model-value", "disabled", "text-value", "class", "onUpdate:modelValue", "onSelect"])) : (openBlock(), createBlock(unref(DropdownMenu).Item, {
955
+ key: 4,
956
+ "as-child": "",
957
+ disabled: item.disabled,
958
+ "text-value": unref(get)(item, props.labelKey),
959
+ onSelect: item.onSelect
960
+ }, {
961
+ default: withCtx(() => [
962
+ createVNode(_sfc_main$9, mergeProps({ ref_for: true }, unref(pickLinkProps)(item), { custom: "" }), {
963
+ default: withCtx(({ active, ...slotProps }) => [
964
+ createVNode(_sfc_main$a, mergeProps({ ref_for: true }, slotProps, {
950
965
  "data-slot": "item",
951
- class: __props.ui.item({ class: [(_a5 = __props.uiOverride) == null ? void 0 : _a5.item, (_b4 = item.ui) == null ? void 0 : _b4.item, item.class], color: item == null ? void 0 : item.color })
952
- }, {
966
+ class: __props.ui.item({ class: [__props.uiOverride?.item, item.ui?.item, item.class], color: item?.color, active })
967
+ }), {
953
968
  default: withCtx(() => [
954
969
  createVNode(unref(ReuseItemTemplate), {
955
970
  item,
971
+ active,
956
972
  index
957
- }, null, 8, ["item", "index"])
973
+ }, null, 8, ["item", "active", "index"])
958
974
  ]),
959
975
  _: 2
960
- }, 1032, ["disabled", "text-value", "class"]),
961
- createVNode(_sfc_main$1, mergeProps({
962
- sub: "",
963
- class: (_c3 = item.ui) == null ? void 0 : _c3.content,
964
- ui: __props.ui,
965
- "ui-override": __props.uiOverride,
966
- portal: __props.portal,
967
- items: item.children,
968
- align: "start",
969
- "align-offset": -4,
970
- "side-offset": 3,
971
- "label-key": __props.labelKey,
972
- "description-key": __props.descriptionKey,
973
- "checked-icon": __props.checkedIcon,
974
- "loading-icon": __props.loadingIcon,
975
- "external-icon": __props.externalIcon
976
- }, { ref_for: true }, item.content), createSlots({ _: 2 }, [
977
- renderList(getProxySlots(), (_2, name) => {
978
- return {
979
- name,
980
- fn: withCtx((slotData) => [
981
- renderSlot(_ctx.$slots, name, mergeProps({ ref_for: true }, slotData))
982
- ])
983
- };
984
- })
985
- ]), 1040, ["class", "ui", "ui-override", "portal", "items", "label-key", "description-key", "checked-icon", "loading-icon", "external-icon"])
986
- ];
987
- }),
988
- _: 2
989
- }, 1032, ["open", "default-open"])) : item.type === "checkbox" ? (openBlock(), createBlock(unref(DropdownMenu).CheckboxItem, {
990
- key: 3,
991
- "model-value": item.checked,
992
- disabled: item.disabled,
993
- "text-value": unref(get)(item, props.labelKey),
994
- "data-slot": "item",
995
- class: __props.ui.item({ class: [(_f = __props.uiOverride) == null ? void 0 : _f.item, (_g = item.ui) == null ? void 0 : _g.item, item.class], color: item == null ? void 0 : item.color }),
996
- "onUpdate:modelValue": item.onUpdateChecked,
997
- onSelect: item.onSelect
998
- }, {
999
- default: withCtx(() => [
1000
- createVNode(unref(ReuseItemTemplate), {
1001
- item,
1002
- index
1003
- }, null, 8, ["item", "index"])
1004
- ]),
1005
- _: 2
1006
- }, 1032, ["model-value", "disabled", "text-value", "class", "onUpdate:modelValue", "onSelect"])) : (openBlock(), createBlock(unref(DropdownMenu).Item, {
1007
- key: 4,
1008
- "as-child": "",
1009
- disabled: item.disabled,
1010
- "text-value": unref(get)(item, props.labelKey),
1011
- onSelect: item.onSelect
1012
- }, {
1013
- default: withCtx(() => [
1014
- createVNode(_sfc_main$9, mergeProps({ ref_for: true }, unref(pickLinkProps)(item), { custom: "" }), {
1015
- default: withCtx(({ active, ...slotProps }) => {
1016
- var _a5, _b4;
1017
- return [
1018
- createVNode(_sfc_main$a, mergeProps({ ref_for: true }, slotProps, {
1019
- "data-slot": "item",
1020
- class: __props.ui.item({ class: [(_a5 = __props.uiOverride) == null ? void 0 : _a5.item, (_b4 = item.ui) == null ? void 0 : _b4.item, item.class], color: item == null ? void 0 : item.color, active })
1021
- }), {
1022
- default: withCtx(() => [
1023
- createVNode(unref(ReuseItemTemplate), {
1024
- item,
1025
- active,
1026
- index
1027
- }, null, 8, ["item", "active", "index"])
1028
- ]),
1029
- _: 2
1030
- }, 1040, ["class"])
1031
- ];
1032
- }),
1033
- _: 2
1034
- }, 1040)
1035
- ]),
1036
- _: 2
1037
- }, 1032, ["disabled", "text-value", "onSelect"]))
1038
- ], 64);
1039
- }), 128))
1040
- ]),
1041
- _: 2
1042
- }, 1032, ["class"]);
1043
- }), 128))
1044
- ], 2),
1045
- renderSlot(_ctx.$slots, "default"),
1046
- renderSlot(_ctx.$slots, "content-bottom", {
1047
- sub: (_c = __props.sub) != null ? _c : false
1048
- })
1049
- ];
1050
- }),
976
+ }, 1040, ["class"])
977
+ ]),
978
+ _: 2
979
+ }, 1040)
980
+ ]),
981
+ _: 2
982
+ }, 1032, ["disabled", "text-value", "onSelect"]))
983
+ ], 64);
984
+ }), 128))
985
+ ]),
986
+ _: 2
987
+ }, 1032, ["class"]);
988
+ }), 128))
989
+ ], 2),
990
+ renderSlot(_ctx.$slots, "default"),
991
+ renderSlot(_ctx.$slots, "content-bottom", {
992
+ sub: __props.sub ?? false
993
+ })
994
+ ]),
1051
995
  _: 3
1052
996
  }, 16, ["class"]))
1053
997
  ];
@@ -1298,16 +1242,12 @@ const _sfc_main = {
1298
1242
  const contentProps = toRef(() => defu(props.content, { side: "bottom", sideOffset: 8, collisionPadding: 8 }));
1299
1243
  const arrowProps = toRef(() => props.arrow);
1300
1244
  const getProxySlots = () => omit(slots, ["default"]);
1301
- const ui = computed(() => {
1302
- var _a;
1303
- return tv({ extend: tv(theme), ...((_a = appConfig.ui) == null ? void 0 : _a.dropdownMenu) || {} })({
1304
- size: props.size
1305
- });
1306
- });
1245
+ const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.dropdownMenu || {} })({
1246
+ size: props.size
1247
+ }));
1307
1248
  return (_ctx, _push, _parent, _attrs) => {
1308
1249
  _push(ssrRenderComponent(unref(DropdownMenuRoot), mergeProps(unref(rootProps), _attrs), {
1309
1250
  default: withCtx(({ open }, _push2, _parent2, _scopeId) => {
1310
- var _a, _b;
1311
1251
  if (_push2) {
1312
1252
  if (!!slots.default) {
1313
1253
  _push2(ssrRenderComponent(unref(DropdownMenuTrigger), {
@@ -1330,7 +1270,7 @@ const _sfc_main = {
1330
1270
  _push2(`<!---->`);
1331
1271
  }
1332
1272
  _push2(ssrRenderComponent(_sfc_main$1, mergeProps({
1333
- class: ui.value.content({ class: [!slots.default && props.class, (_a = props.ui) == null ? void 0 : _a.content] }),
1273
+ class: ui.value.content({ class: [!slots.default && props.class, props.ui?.content] }),
1334
1274
  ui: ui.value,
1335
1275
  "ui-override": props.ui
1336
1276
  }, contentProps.value, {
@@ -1343,12 +1283,11 @@ const _sfc_main = {
1343
1283
  "external-icon": __props.externalIcon
1344
1284
  }), createSlots({
1345
1285
  default: withCtx((_, _push3, _parent3, _scopeId2) => {
1346
- var _a2, _b2;
1347
1286
  if (_push3) {
1348
1287
  if (!!__props.arrow) {
1349
1288
  _push3(ssrRenderComponent(unref(DropdownMenuArrow), mergeProps(arrowProps.value, {
1350
1289
  "data-slot": "arrow",
1351
- class: ui.value.arrow({ class: (_a2 = props.ui) == null ? void 0 : _a2.arrow })
1290
+ class: ui.value.arrow({ class: props.ui?.arrow })
1352
1291
  }), null, _parent3, _scopeId2));
1353
1292
  } else {
1354
1293
  _push3(`<!---->`);
@@ -1357,7 +1296,7 @@ const _sfc_main = {
1357
1296
  return [
1358
1297
  !!__props.arrow ? (openBlock(), createBlock(unref(DropdownMenuArrow), mergeProps({ key: 0 }, arrowProps.value, {
1359
1298
  "data-slot": "arrow",
1360
- class: ui.value.arrow({ class: (_b2 = props.ui) == null ? void 0 : _b2.arrow })
1299
+ class: ui.value.arrow({ class: props.ui?.arrow })
1361
1300
  }), null, 16, ["class"])) : createCommentVNode("", true)
1362
1301
  ];
1363
1302
  }
@@ -1393,7 +1332,7 @@ const _sfc_main = {
1393
1332
  _: 2
1394
1333
  }, 1032, ["class", "disabled"])) : createCommentVNode("", true),
1395
1334
  createVNode(_sfc_main$1, mergeProps({
1396
- class: ui.value.content({ class: [!slots.default && props.class, (_b = props.ui) == null ? void 0 : _b.content] }),
1335
+ class: ui.value.content({ class: [!slots.default && props.class, props.ui?.content] }),
1397
1336
  ui: ui.value,
1398
1337
  "ui-override": props.ui
1399
1338
  }, contentProps.value, {
@@ -1405,15 +1344,12 @@ const _sfc_main = {
1405
1344
  "loading-icon": __props.loadingIcon,
1406
1345
  "external-icon": __props.externalIcon
1407
1346
  }), createSlots({
1408
- default: withCtx(() => {
1409
- var _a2;
1410
- return [
1411
- !!__props.arrow ? (openBlock(), createBlock(unref(DropdownMenuArrow), mergeProps({ key: 0 }, arrowProps.value, {
1412
- "data-slot": "arrow",
1413
- class: ui.value.arrow({ class: (_a2 = props.ui) == null ? void 0 : _a2.arrow })
1414
- }), null, 16, ["class"])) : createCommentVNode("", true)
1415
- ];
1416
- }),
1347
+ default: withCtx(() => [
1348
+ !!__props.arrow ? (openBlock(), createBlock(unref(DropdownMenuArrow), mergeProps({ key: 0 }, arrowProps.value, {
1349
+ "data-slot": "arrow",
1350
+ class: ui.value.arrow({ class: props.ui?.arrow })
1351
+ }), null, 16, ["class"])) : createCommentVNode("", true)
1352
+ ]),
1417
1353
  _: 2
1418
1354
  }, [
1419
1355
  renderList(getProxySlots(), (_, name) => {