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
@@ -430,20 +430,17 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
430
430
  }
431
431
  }
432
432
  });
433
- const ui = computed(() => {
434
- var _a;
435
- return tv({ extend: tv(theme), ...((_a = appConfig.ui) == null ? void 0 : _a.selectMenu) || {} })({
436
- color: color.value,
437
- variant: props.variant,
438
- size: selectSize == null ? void 0 : selectSize.value,
439
- loading: props.loading,
440
- highlight: highlight.value,
441
- leading: isLeading.value || !!props.avatar || !!slots.leading,
442
- trailing: isTrailing.value || !!slots.trailing,
443
- fieldGroup: orientation.value,
444
- virtualize: !!props.virtualize
445
- });
446
- });
433
+ const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.selectMenu || {} })({
434
+ color: color.value,
435
+ variant: props.variant,
436
+ size: selectSize?.value,
437
+ loading: props.loading,
438
+ highlight: highlight.value,
439
+ leading: isLeading.value || !!props.avatar || !!slots.leading,
440
+ trailing: isTrailing.value || !!slots.trailing,
441
+ fieldGroup: orientation.value,
442
+ virtualize: !!props.virtualize
443
+ }));
447
444
  function displayValue(value) {
448
445
  if (props.multiple && Array.isArray(value)) {
449
446
  const displayedValues = value.map((item) => getDisplayValue(items.value, item, {
@@ -458,10 +455,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
458
455
  });
459
456
  }
460
457
  const groups = computed(
461
- () => {
462
- var _a;
463
- return ((_a = props.items) == null ? void 0 : _a.length) ? isArrayOfArray(props.items) ? props.items : [props.items] : [];
464
- }
458
+ () => props.items?.length ? isArrayOfArray(props.items) ? props.items : [props.items] : []
465
459
  );
466
460
  const items = computed(() => groups.value.flatMap((group) => group));
467
461
  const filteredGroups = computed(() => {
@@ -501,21 +495,20 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
501
495
  const createItemPosition = computed(() => typeof props.createItem === "object" ? props.createItem.position : "bottom");
502
496
  const triggerRef = useTemplateRef("triggerRef");
503
497
  function onUpdate(value) {
504
- var _a, _b, _c, _d, _e;
505
498
  if (toRaw(props.modelValue) === value) {
506
499
  return;
507
500
  }
508
- if ((_a = props.modelModifiers) == null ? void 0 : _a.trim) {
509
- value = (_b = value == null ? void 0 : value.trim()) != null ? _b : null;
501
+ if (props.modelModifiers?.trim) {
502
+ value = value?.trim() ?? null;
510
503
  }
511
- if ((_c = props.modelModifiers) == null ? void 0 : _c.number) {
504
+ if (props.modelModifiers?.number) {
512
505
  value = looseToNumber(value);
513
506
  }
514
- if ((_d = props.modelModifiers) == null ? void 0 : _d.nullable) {
515
- value != null ? value : value = null;
507
+ if (props.modelModifiers?.nullable) {
508
+ value ??= null;
516
509
  }
517
- if ((_e = props.modelModifiers) == null ? void 0 : _e.optional) {
518
- value != null ? value : value = void 0;
510
+ if (props.modelModifiers?.optional) {
511
+ value ??= void 0;
519
512
  }
520
513
  const event = new Event("change", { target: { value } });
521
514
  emits("change", event);
@@ -550,7 +543,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
550
543
  emits("create", searchTerm.value);
551
544
  }
552
545
  function onSelect(e, item) {
553
- var _a;
554
546
  if (!isSelectItem(item)) {
555
547
  return;
556
548
  }
@@ -558,33 +550,28 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
558
550
  e.preventDefault();
559
551
  return;
560
552
  }
561
- (_a = item.onSelect) == null ? void 0 : _a.call(item, e);
553
+ item.onSelect?.(e);
562
554
  }
563
555
  function isSelectItem(item) {
564
556
  return typeof item === "object" && item !== null;
565
557
  }
566
558
  __expose({
567
- triggerRef: toRef(() => {
568
- var _a;
569
- return (_a = triggerRef.value) == null ? void 0 : _a.$el;
570
- })
559
+ triggerRef: toRef(() => triggerRef.value?.$el)
571
560
  });
572
561
  return (_ctx, _push, _parent, _attrs) => {
573
562
  _push(`<!--[-->`);
574
563
  _push(ssrRenderComponent(unref(DefineCreateItemTemplate), null, {
575
564
  default: withCtx((_, _push2, _parent2, _scopeId) => {
576
- var _a, _b;
577
565
  if (_push2) {
578
566
  _push2(ssrRenderComponent(unref(ComboboxItem), {
579
567
  "data-slot": "item",
580
- class: ui.value.item({ class: (_a = props.ui) == null ? void 0 : _a.item }),
568
+ class: ui.value.item({ class: props.ui?.item }),
581
569
  value: searchTerm.value,
582
570
  onSelect: onCreate
583
571
  }, {
584
572
  default: withCtx((_2, _push3, _parent3, _scopeId2) => {
585
- var _a2, _b2;
586
573
  if (_push3) {
587
- _push3(`<span data-slot="itemLabel" class="${ssrRenderClass(ui.value.itemLabel({ class: (_a2 = props.ui) == null ? void 0 : _a2.itemLabel }))}"${_scopeId2}>`);
574
+ _push3(`<span data-slot="itemLabel" class="${ssrRenderClass(ui.value.itemLabel({ class: props.ui?.itemLabel }))}"${_scopeId2}>`);
588
575
  ssrRenderSlot(_ctx.$slots, "create-item-label", { item: searchTerm.value }, () => {
589
576
  _push3(`${ssrInterpolate(unref(t)("selectMenu.create", { label: searchTerm.value }))}`);
590
577
  }, _push3, _parent3, _scopeId2);
@@ -593,7 +580,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
593
580
  return [
594
581
  createVNode("span", {
595
582
  "data-slot": "itemLabel",
596
- class: ui.value.itemLabel({ class: (_b2 = props.ui) == null ? void 0 : _b2.itemLabel })
583
+ class: ui.value.itemLabel({ class: props.ui?.itemLabel })
597
584
  }, [
598
585
  renderSlot(_ctx.$slots, "create-item-label", { item: searchTerm.value }, () => [
599
586
  createTextVNode(toDisplayString(unref(t)("selectMenu.create", { label: searchTerm.value })), 1)
@@ -608,23 +595,20 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
608
595
  return [
609
596
  createVNode(unref(ComboboxItem), {
610
597
  "data-slot": "item",
611
- class: ui.value.item({ class: (_b = props.ui) == null ? void 0 : _b.item }),
598
+ class: ui.value.item({ class: props.ui?.item }),
612
599
  value: searchTerm.value,
613
600
  onSelect: onCreate
614
601
  }, {
615
- default: withCtx(() => {
616
- var _a2;
617
- return [
618
- createVNode("span", {
619
- "data-slot": "itemLabel",
620
- class: ui.value.itemLabel({ class: (_a2 = props.ui) == null ? void 0 : _a2.itemLabel })
621
- }, [
622
- renderSlot(_ctx.$slots, "create-item-label", { item: searchTerm.value }, () => [
623
- createTextVNode(toDisplayString(unref(t)("selectMenu.create", { label: searchTerm.value })), 1)
624
- ])
625
- ], 2)
626
- ];
627
- }),
602
+ default: withCtx(() => [
603
+ createVNode("span", {
604
+ "data-slot": "itemLabel",
605
+ class: ui.value.itemLabel({ class: props.ui?.itemLabel })
606
+ }, [
607
+ renderSlot(_ctx.$slots, "create-item-label", { item: searchTerm.value }, () => [
608
+ createTextVNode(toDisplayString(unref(t)("selectMenu.create", { label: searchTerm.value })), 1)
609
+ ])
610
+ ], 2)
611
+ ]),
628
612
  _: 3
629
613
  }, 8, ["class", "value"])
630
614
  ];
@@ -634,12 +618,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
634
618
  }, _parent));
635
619
  _push(ssrRenderComponent(unref(DefineItemTemplate), null, {
636
620
  default: withCtx(({ item, index }, _push2, _parent2, _scopeId) => {
637
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
638
621
  if (_push2) {
639
622
  if (isSelectItem(item) && item.type === "label") {
640
623
  _push2(ssrRenderComponent(unref(ComboboxLabel), {
641
624
  "data-slot": "label",
642
- class: ui.value.label({ class: [(_a = props.ui) == null ? void 0 : _a.label, (_b = item.ui) == null ? void 0 : _b.label, item.class] })
625
+ class: ui.value.label({ class: [props.ui?.label, item.ui?.label, item.class] })
643
626
  }, {
644
627
  default: withCtx((_, _push3, _parent3, _scopeId2) => {
645
628
  if (_push3) {
@@ -655,12 +638,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
655
638
  } else if (isSelectItem(item) && item.type === "separator") {
656
639
  _push2(ssrRenderComponent(unref(ComboboxSeparator), {
657
640
  "data-slot": "separator",
658
- class: ui.value.separator({ class: [(_c = props.ui) == null ? void 0 : _c.separator, (_d = item.ui) == null ? void 0 : _d.separator, item.class] })
641
+ class: ui.value.separator({ class: [props.ui?.separator, item.ui?.separator, item.class] })
659
642
  }, null, _parent2, _scopeId));
660
643
  } else {
661
644
  _push2(ssrRenderComponent(unref(ComboboxItem), {
662
645
  "data-slot": "item",
663
- class: ui.value.item({ class: [(_e = props.ui) == null ? void 0 : _e.item, isSelectItem(item) && ((_f = item.ui) == null ? void 0 : _f.item), isSelectItem(item) && item.class] }),
646
+ class: ui.value.item({ class: [props.ui?.item, isSelectItem(item) && item.ui?.item, isSelectItem(item) && item.class] }),
664
647
  disabled: isSelectItem(item) && item.disabled,
665
648
  value: props.valueKey && isSelectItem(item) ? unref(get)(item, props.valueKey) : item,
666
649
  onSelect: ($event) => onSelect($event, item)
@@ -672,40 +655,38 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
672
655
  index,
673
656
  ui: ui.value
674
657
  }, () => {
675
- var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2;
676
658
  ssrRenderSlot(_ctx.$slots, "item-leading", {
677
659
  item,
678
660
  index,
679
661
  ui: ui.value
680
662
  }, () => {
681
- var _a3, _b3, _c3, _d3, _e3, _f3, _g3, _h3, _i2;
682
663
  if (isSelectItem(item) && item.icon) {
683
664
  _push3(ssrRenderComponent(_sfc_main$d, {
684
665
  name: item.icon,
685
666
  "data-slot": "itemLeadingIcon",
686
- class: ui.value.itemLeadingIcon({ class: [(_a3 = props.ui) == null ? void 0 : _a3.itemLeadingIcon, (_b3 = item.ui) == null ? void 0 : _b3.itemLeadingIcon] })
667
+ class: ui.value.itemLeadingIcon({ class: [props.ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
687
668
  }, null, _parent3, _scopeId2));
688
669
  } else if (isSelectItem(item) && item.avatar) {
689
670
  _push3(ssrRenderComponent(_sfc_main$b, mergeProps({
690
- size: ((_c3 = item.ui) == null ? void 0 : _c3.itemLeadingAvatarSize) || ((_d3 = props.ui) == null ? void 0 : _d3.itemLeadingAvatarSize) || ui.value.itemLeadingAvatarSize()
671
+ size: item.ui?.itemLeadingAvatarSize || props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
691
672
  }, item.avatar, {
692
673
  "data-slot": "itemLeadingAvatar",
693
- class: ui.value.itemLeadingAvatar({ class: [(_e3 = props.ui) == null ? void 0 : _e3.itemLeadingAvatar, (_f3 = item.ui) == null ? void 0 : _f3.itemLeadingAvatar] })
674
+ class: ui.value.itemLeadingAvatar({ class: [props.ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
694
675
  }), null, _parent3, _scopeId2));
695
676
  } else if (isSelectItem(item) && item.chip) {
696
677
  _push3(ssrRenderComponent(_sfc_main$c, mergeProps({
697
- size: ((_g3 = props.ui) == null ? void 0 : _g3.itemLeadingChipSize) || ui.value.itemLeadingChipSize(),
678
+ size: props.ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
698
679
  inset: "",
699
680
  standalone: ""
700
681
  }, item.chip, {
701
682
  "data-slot": "itemLeadingChip",
702
- class: ui.value.itemLeadingChip({ class: [(_h3 = props.ui) == null ? void 0 : _h3.itemLeadingChip, (_i2 = item.ui) == null ? void 0 : _i2.itemLeadingChip] })
683
+ class: ui.value.itemLeadingChip({ class: [props.ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
703
684
  }), null, _parent3, _scopeId2));
704
685
  } else {
705
686
  _push3(`<!---->`);
706
687
  }
707
688
  }, _push3, _parent3, _scopeId2);
708
- _push3(`<span data-slot="itemWrapper" class="${ssrRenderClass(ui.value.itemWrapper({ class: [(_a2 = props.ui) == null ? void 0 : _a2.itemWrapper, isSelectItem(item) && ((_b2 = item.ui) == null ? void 0 : _b2.itemWrapper)] }))}"${_scopeId2}><span data-slot="itemLabel" class="${ssrRenderClass(ui.value.itemLabel({ class: [(_c2 = props.ui) == null ? void 0 : _c2.itemLabel, isSelectItem(item) && ((_d2 = item.ui) == null ? void 0 : _d2.itemLabel)] }))}"${_scopeId2}>`);
689
+ _push3(`<span data-slot="itemWrapper" class="${ssrRenderClass(ui.value.itemWrapper({ class: [props.ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] }))}"${_scopeId2}><span data-slot="itemLabel" class="${ssrRenderClass(ui.value.itemLabel({ class: [props.ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] }))}"${_scopeId2}>`);
709
690
  ssrRenderSlot(_ctx.$slots, "item-label", {
710
691
  item,
711
692
  index
@@ -714,7 +695,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
714
695
  }, _push3, _parent3, _scopeId2);
715
696
  _push3(`</span>`);
716
697
  if (isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"])) {
717
- _push3(`<span data-slot="itemDescription" class="${ssrRenderClass(ui.value.itemDescription({ class: [(_e2 = props.ui) == null ? void 0 : _e2.itemDescription, isSelectItem(item) && ((_f2 = item.ui) == null ? void 0 : _f2.itemDescription)] }))}"${_scopeId2}>`);
698
+ _push3(`<span data-slot="itemDescription" class="${ssrRenderClass(ui.value.itemDescription({ class: [props.ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] }))}"${_scopeId2}>`);
718
699
  ssrRenderSlot(_ctx.$slots, "item-description", {
719
700
  item,
720
701
  index
@@ -725,7 +706,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
725
706
  } else {
726
707
  _push3(`<!---->`);
727
708
  }
728
- _push3(`</span><span data-slot="itemTrailing" class="${ssrRenderClass(ui.value.itemTrailing({ class: [(_g2 = props.ui) == null ? void 0 : _g2.itemTrailing, isSelectItem(item) && ((_h2 = item.ui) == null ? void 0 : _h2.itemTrailing)] }))}"${_scopeId2}>`);
709
+ _push3(`</span><span data-slot="itemTrailing" class="${ssrRenderClass(ui.value.itemTrailing({ class: [props.ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] }))}"${_scopeId2}>`);
729
710
  ssrRenderSlot(_ctx.$slots, "item-trailing", {
730
711
  item,
731
712
  index,
@@ -733,19 +714,18 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
733
714
  }, null, _push3, _parent3, _scopeId2);
734
715
  _push3(ssrRenderComponent(unref(ComboboxItemIndicator), { "as-child": "" }, {
735
716
  default: withCtx((_2, _push4, _parent4, _scopeId3) => {
736
- var _a3, _b3, _c3, _d3;
737
717
  if (_push4) {
738
718
  _push4(ssrRenderComponent(_sfc_main$d, {
739
719
  name: __props.selectedIcon || unref(appConfig).ui.icons.check,
740
720
  "data-slot": "itemTrailingIcon",
741
- class: ui.value.itemTrailingIcon({ class: [(_a3 = props.ui) == null ? void 0 : _a3.itemTrailingIcon, isSelectItem(item) && ((_b3 = item.ui) == null ? void 0 : _b3.itemTrailingIcon)] })
721
+ class: ui.value.itemTrailingIcon({ class: [props.ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
742
722
  }, null, _parent4, _scopeId3));
743
723
  } else {
744
724
  return [
745
725
  createVNode(_sfc_main$d, {
746
726
  name: __props.selectedIcon || unref(appConfig).ui.icons.check,
747
727
  "data-slot": "itemTrailingIcon",
748
- class: ui.value.itemTrailingIcon({ class: [(_c3 = props.ui) == null ? void 0 : _c3.itemTrailingIcon, isSelectItem(item) && ((_d3 = item.ui) == null ? void 0 : _d3.itemTrailingIcon)] })
728
+ class: ui.value.itemTrailingIcon({ class: [props.ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
749
729
  }, null, 8, ["name", "class"])
750
730
  ];
751
731
  }
@@ -760,91 +740,82 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
760
740
  item,
761
741
  index,
762
742
  ui: ui.value
763
- }, () => {
764
- var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2;
765
- return [
766
- renderSlot(_ctx.$slots, "item-leading", {
767
- item,
768
- index,
769
- ui: ui.value
770
- }, () => {
771
- var _a3, _b3, _c3, _d3, _e3, _f3, _g3, _h3, _i2;
772
- return [
773
- isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$d, {
774
- key: 0,
775
- name: item.icon,
776
- "data-slot": "itemLeadingIcon",
777
- class: ui.value.itemLeadingIcon({ class: [(_a3 = props.ui) == null ? void 0 : _a3.itemLeadingIcon, (_b3 = item.ui) == null ? void 0 : _b3.itemLeadingIcon] })
778
- }, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
779
- key: 1,
780
- size: ((_c3 = item.ui) == null ? void 0 : _c3.itemLeadingAvatarSize) || ((_d3 = props.ui) == null ? void 0 : _d3.itemLeadingAvatarSize) || ui.value.itemLeadingAvatarSize()
781
- }, item.avatar, {
782
- "data-slot": "itemLeadingAvatar",
783
- class: ui.value.itemLeadingAvatar({ class: [(_e3 = props.ui) == null ? void 0 : _e3.itemLeadingAvatar, (_f3 = item.ui) == null ? void 0 : _f3.itemLeadingAvatar] })
784
- }), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
785
- key: 2,
786
- size: ((_g3 = props.ui) == null ? void 0 : _g3.itemLeadingChipSize) || ui.value.itemLeadingChipSize(),
787
- inset: "",
788
- standalone: ""
789
- }, item.chip, {
790
- "data-slot": "itemLeadingChip",
791
- class: ui.value.itemLeadingChip({ class: [(_h3 = props.ui) == null ? void 0 : _h3.itemLeadingChip, (_i2 = item.ui) == null ? void 0 : _i2.itemLeadingChip] })
792
- }), null, 16, ["size", "class"])) : createCommentVNode("", true)
793
- ];
794
- }),
743
+ }, () => [
744
+ renderSlot(_ctx.$slots, "item-leading", {
745
+ item,
746
+ index,
747
+ ui: ui.value
748
+ }, () => [
749
+ isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$d, {
750
+ key: 0,
751
+ name: item.icon,
752
+ "data-slot": "itemLeadingIcon",
753
+ class: ui.value.itemLeadingIcon({ class: [props.ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
754
+ }, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
755
+ key: 1,
756
+ size: item.ui?.itemLeadingAvatarSize || props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
757
+ }, item.avatar, {
758
+ "data-slot": "itemLeadingAvatar",
759
+ class: ui.value.itemLeadingAvatar({ class: [props.ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
760
+ }), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
761
+ key: 2,
762
+ size: props.ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
763
+ inset: "",
764
+ standalone: ""
765
+ }, item.chip, {
766
+ "data-slot": "itemLeadingChip",
767
+ class: ui.value.itemLeadingChip({ class: [props.ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
768
+ }), null, 16, ["size", "class"])) : createCommentVNode("", true)
769
+ ]),
770
+ createVNode("span", {
771
+ "data-slot": "itemWrapper",
772
+ class: ui.value.itemWrapper({ class: [props.ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
773
+ }, [
795
774
  createVNode("span", {
796
- "data-slot": "itemWrapper",
797
- class: ui.value.itemWrapper({ class: [(_a2 = props.ui) == null ? void 0 : _a2.itemWrapper, isSelectItem(item) && ((_b2 = item.ui) == null ? void 0 : _b2.itemWrapper)] })
775
+ "data-slot": "itemLabel",
776
+ class: ui.value.itemLabel({ class: [props.ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
798
777
  }, [
799
- createVNode("span", {
800
- "data-slot": "itemLabel",
801
- class: ui.value.itemLabel({ class: [(_c2 = props.ui) == null ? void 0 : _c2.itemLabel, isSelectItem(item) && ((_d2 = item.ui) == null ? void 0 : _d2.itemLabel)] })
802
- }, [
803
- renderSlot(_ctx.$slots, "item-label", {
804
- item,
805
- index
806
- }, () => [
807
- createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
808
- ])
809
- ], 2),
810
- isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
811
- key: 0,
812
- "data-slot": "itemDescription",
813
- class: ui.value.itemDescription({ class: [(_e2 = props.ui) == null ? void 0 : _e2.itemDescription, isSelectItem(item) && ((_f2 = item.ui) == null ? void 0 : _f2.itemDescription)] })
814
- }, [
815
- renderSlot(_ctx.$slots, "item-description", {
816
- item,
817
- index
818
- }, () => [
819
- createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
820
- ])
821
- ], 2)) : createCommentVNode("", true)
778
+ renderSlot(_ctx.$slots, "item-label", {
779
+ item,
780
+ index
781
+ }, () => [
782
+ createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
783
+ ])
822
784
  ], 2),
823
- createVNode("span", {
824
- "data-slot": "itemTrailing",
825
- class: ui.value.itemTrailing({ class: [(_g2 = props.ui) == null ? void 0 : _g2.itemTrailing, isSelectItem(item) && ((_h2 = item.ui) == null ? void 0 : _h2.itemTrailing)] })
785
+ isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
786
+ key: 0,
787
+ "data-slot": "itemDescription",
788
+ class: ui.value.itemDescription({ class: [props.ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
826
789
  }, [
827
- renderSlot(_ctx.$slots, "item-trailing", {
790
+ renderSlot(_ctx.$slots, "item-description", {
828
791
  item,
829
- index,
830
- ui: ui.value
831
- }),
832
- createVNode(unref(ComboboxItemIndicator), { "as-child": "" }, {
833
- default: withCtx(() => {
834
- var _a3, _b3;
835
- return [
836
- createVNode(_sfc_main$d, {
837
- name: __props.selectedIcon || unref(appConfig).ui.icons.check,
838
- "data-slot": "itemTrailingIcon",
839
- class: ui.value.itemTrailingIcon({ class: [(_a3 = props.ui) == null ? void 0 : _a3.itemTrailingIcon, isSelectItem(item) && ((_b3 = item.ui) == null ? void 0 : _b3.itemTrailingIcon)] })
840
- }, null, 8, ["name", "class"])
841
- ];
842
- }),
843
- _: 2
844
- }, 1024)
845
- ], 2)
846
- ];
847
- })
792
+ index
793
+ }, () => [
794
+ createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
795
+ ])
796
+ ], 2)) : createCommentVNode("", true)
797
+ ], 2),
798
+ createVNode("span", {
799
+ "data-slot": "itemTrailing",
800
+ class: ui.value.itemTrailing({ class: [props.ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
801
+ }, [
802
+ renderSlot(_ctx.$slots, "item-trailing", {
803
+ item,
804
+ index,
805
+ ui: ui.value
806
+ }),
807
+ createVNode(unref(ComboboxItemIndicator), { "as-child": "" }, {
808
+ default: withCtx(() => [
809
+ createVNode(_sfc_main$d, {
810
+ name: __props.selectedIcon || unref(appConfig).ui.icons.check,
811
+ "data-slot": "itemTrailingIcon",
812
+ class: ui.value.itemTrailingIcon({ class: [props.ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
813
+ }, null, 8, ["name", "class"])
814
+ ]),
815
+ _: 2
816
+ }, 1024)
817
+ ], 2)
818
+ ])
848
819
  ];
849
820
  }
850
821
  }),
@@ -856,7 +827,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
856
827
  isSelectItem(item) && item.type === "label" ? (openBlock(), createBlock(unref(ComboboxLabel), {
857
828
  key: 0,
858
829
  "data-slot": "label",
859
- class: ui.value.label({ class: [(_g = props.ui) == null ? void 0 : _g.label, (_h = item.ui) == null ? void 0 : _h.label, item.class] })
830
+ class: ui.value.label({ class: [props.ui?.label, item.ui?.label, item.class] })
860
831
  }, {
861
832
  default: withCtx(() => [
862
833
  createTextVNode(toDisplayString(unref(get)(item, props.labelKey)), 1)
@@ -865,11 +836,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
865
836
  }, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (openBlock(), createBlock(unref(ComboboxSeparator), {
866
837
  key: 1,
867
838
  "data-slot": "separator",
868
- class: ui.value.separator({ class: [(_i = props.ui) == null ? void 0 : _i.separator, (_j = item.ui) == null ? void 0 : _j.separator, item.class] })
839
+ class: ui.value.separator({ class: [props.ui?.separator, item.ui?.separator, item.class] })
869
840
  }, null, 8, ["class"])) : (openBlock(), createBlock(unref(ComboboxItem), {
870
841
  key: 2,
871
842
  "data-slot": "item",
872
- class: ui.value.item({ class: [(_k = props.ui) == null ? void 0 : _k.item, isSelectItem(item) && ((_l = item.ui) == null ? void 0 : _l.item), isSelectItem(item) && item.class] }),
843
+ class: ui.value.item({ class: [props.ui?.item, isSelectItem(item) && item.ui?.item, isSelectItem(item) && item.class] }),
873
844
  disabled: isSelectItem(item) && item.disabled,
874
845
  value: props.valueKey && isSelectItem(item) ? unref(get)(item, props.valueKey) : item,
875
846
  onSelect: ($event) => onSelect($event, item)
@@ -879,91 +850,82 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
879
850
  item,
880
851
  index,
881
852
  ui: ui.value
882
- }, () => {
883
- var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2;
884
- return [
885
- renderSlot(_ctx.$slots, "item-leading", {
886
- item,
887
- index,
888
- ui: ui.value
889
- }, () => {
890
- var _a3, _b3, _c3, _d3, _e3, _f3, _g3, _h3, _i2;
891
- return [
892
- isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$d, {
893
- key: 0,
894
- name: item.icon,
895
- "data-slot": "itemLeadingIcon",
896
- class: ui.value.itemLeadingIcon({ class: [(_a3 = props.ui) == null ? void 0 : _a3.itemLeadingIcon, (_b3 = item.ui) == null ? void 0 : _b3.itemLeadingIcon] })
897
- }, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
898
- key: 1,
899
- size: ((_c3 = item.ui) == null ? void 0 : _c3.itemLeadingAvatarSize) || ((_d3 = props.ui) == null ? void 0 : _d3.itemLeadingAvatarSize) || ui.value.itemLeadingAvatarSize()
900
- }, item.avatar, {
901
- "data-slot": "itemLeadingAvatar",
902
- class: ui.value.itemLeadingAvatar({ class: [(_e3 = props.ui) == null ? void 0 : _e3.itemLeadingAvatar, (_f3 = item.ui) == null ? void 0 : _f3.itemLeadingAvatar] })
903
- }), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
904
- key: 2,
905
- size: ((_g3 = props.ui) == null ? void 0 : _g3.itemLeadingChipSize) || ui.value.itemLeadingChipSize(),
906
- inset: "",
907
- standalone: ""
908
- }, item.chip, {
909
- "data-slot": "itemLeadingChip",
910
- class: ui.value.itemLeadingChip({ class: [(_h3 = props.ui) == null ? void 0 : _h3.itemLeadingChip, (_i2 = item.ui) == null ? void 0 : _i2.itemLeadingChip] })
911
- }), null, 16, ["size", "class"])) : createCommentVNode("", true)
912
- ];
913
- }),
853
+ }, () => [
854
+ renderSlot(_ctx.$slots, "item-leading", {
855
+ item,
856
+ index,
857
+ ui: ui.value
858
+ }, () => [
859
+ isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$d, {
860
+ key: 0,
861
+ name: item.icon,
862
+ "data-slot": "itemLeadingIcon",
863
+ class: ui.value.itemLeadingIcon({ class: [props.ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
864
+ }, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
865
+ key: 1,
866
+ size: item.ui?.itemLeadingAvatarSize || props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
867
+ }, item.avatar, {
868
+ "data-slot": "itemLeadingAvatar",
869
+ class: ui.value.itemLeadingAvatar({ class: [props.ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
870
+ }), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
871
+ key: 2,
872
+ size: props.ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
873
+ inset: "",
874
+ standalone: ""
875
+ }, item.chip, {
876
+ "data-slot": "itemLeadingChip",
877
+ class: ui.value.itemLeadingChip({ class: [props.ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
878
+ }), null, 16, ["size", "class"])) : createCommentVNode("", true)
879
+ ]),
880
+ createVNode("span", {
881
+ "data-slot": "itemWrapper",
882
+ class: ui.value.itemWrapper({ class: [props.ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
883
+ }, [
914
884
  createVNode("span", {
915
- "data-slot": "itemWrapper",
916
- class: ui.value.itemWrapper({ class: [(_a2 = props.ui) == null ? void 0 : _a2.itemWrapper, isSelectItem(item) && ((_b2 = item.ui) == null ? void 0 : _b2.itemWrapper)] })
885
+ "data-slot": "itemLabel",
886
+ class: ui.value.itemLabel({ class: [props.ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
917
887
  }, [
918
- createVNode("span", {
919
- "data-slot": "itemLabel",
920
- class: ui.value.itemLabel({ class: [(_c2 = props.ui) == null ? void 0 : _c2.itemLabel, isSelectItem(item) && ((_d2 = item.ui) == null ? void 0 : _d2.itemLabel)] })
921
- }, [
922
- renderSlot(_ctx.$slots, "item-label", {
923
- item,
924
- index
925
- }, () => [
926
- createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
927
- ])
928
- ], 2),
929
- isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
930
- key: 0,
931
- "data-slot": "itemDescription",
932
- class: ui.value.itemDescription({ class: [(_e2 = props.ui) == null ? void 0 : _e2.itemDescription, isSelectItem(item) && ((_f2 = item.ui) == null ? void 0 : _f2.itemDescription)] })
933
- }, [
934
- renderSlot(_ctx.$slots, "item-description", {
935
- item,
936
- index
937
- }, () => [
938
- createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
939
- ])
940
- ], 2)) : createCommentVNode("", true)
888
+ renderSlot(_ctx.$slots, "item-label", {
889
+ item,
890
+ index
891
+ }, () => [
892
+ createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
893
+ ])
941
894
  ], 2),
942
- createVNode("span", {
943
- "data-slot": "itemTrailing",
944
- class: ui.value.itemTrailing({ class: [(_g2 = props.ui) == null ? void 0 : _g2.itemTrailing, isSelectItem(item) && ((_h2 = item.ui) == null ? void 0 : _h2.itemTrailing)] })
895
+ isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
896
+ key: 0,
897
+ "data-slot": "itemDescription",
898
+ class: ui.value.itemDescription({ class: [props.ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
945
899
  }, [
946
- renderSlot(_ctx.$slots, "item-trailing", {
900
+ renderSlot(_ctx.$slots, "item-description", {
947
901
  item,
948
- index,
949
- ui: ui.value
950
- }),
951
- createVNode(unref(ComboboxItemIndicator), { "as-child": "" }, {
952
- default: withCtx(() => {
953
- var _a3, _b3;
954
- return [
955
- createVNode(_sfc_main$d, {
956
- name: __props.selectedIcon || unref(appConfig).ui.icons.check,
957
- "data-slot": "itemTrailingIcon",
958
- class: ui.value.itemTrailingIcon({ class: [(_a3 = props.ui) == null ? void 0 : _a3.itemTrailingIcon, isSelectItem(item) && ((_b3 = item.ui) == null ? void 0 : _b3.itemTrailingIcon)] })
959
- }, null, 8, ["name", "class"])
960
- ];
961
- }),
962
- _: 2
963
- }, 1024)
964
- ], 2)
965
- ];
966
- })
902
+ index
903
+ }, () => [
904
+ createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
905
+ ])
906
+ ], 2)) : createCommentVNode("", true)
907
+ ], 2),
908
+ createVNode("span", {
909
+ "data-slot": "itemTrailing",
910
+ class: ui.value.itemTrailing({ class: [props.ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
911
+ }, [
912
+ renderSlot(_ctx.$slots, "item-trailing", {
913
+ item,
914
+ index,
915
+ ui: ui.value
916
+ }),
917
+ createVNode(unref(ComboboxItemIndicator), { "as-child": "" }, {
918
+ default: withCtx(() => [
919
+ createVNode(_sfc_main$d, {
920
+ name: __props.selectedIcon || unref(appConfig).ui.icons.check,
921
+ "data-slot": "itemTrailingIcon",
922
+ class: ui.value.itemTrailingIcon({ class: [props.ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
923
+ }, null, 8, ["name", "class"])
924
+ ]),
925
+ _: 2
926
+ }, 1024)
927
+ ], 2)
928
+ ])
967
929
  ]),
968
930
  _: 2
969
931
  }, 1032, ["class", "disabled", "value", "onSelect"]))
@@ -984,38 +946,35 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
984
946
  if (_push2) {
985
947
  _push2(ssrRenderComponent(unref(ComboboxAnchor), { "as-child": "" }, {
986
948
  default: withCtx((_, _push3, _parent3, _scopeId2) => {
987
- var _a, _b;
988
949
  if (_push3) {
989
950
  _push3(ssrRenderComponent(unref(ComboboxTrigger), {
990
951
  ref_key: "triggerRef",
991
952
  ref: triggerRef,
992
953
  "data-slot": "base",
993
- class: ui.value.base({ class: [(_a = props.ui) == null ? void 0 : _a.base, props.class] }),
954
+ class: ui.value.base({ class: [props.ui?.base, props.class] }),
994
955
  tabindex: "0"
995
956
  }, {
996
957
  default: withCtx((_2, _push4, _parent4, _scopeId3) => {
997
- var _a2, _b2, _c, _d;
998
958
  if (_push4) {
999
959
  if (unref(isLeading) || !!__props.avatar || !!slots.leading) {
1000
- _push4(`<span data-slot="leading" class="${ssrRenderClass(ui.value.leading({ class: (_a2 = props.ui) == null ? void 0 : _a2.leading }))}"${_scopeId3}>`);
960
+ _push4(`<span data-slot="leading" class="${ssrRenderClass(ui.value.leading({ class: props.ui?.leading }))}"${_scopeId3}>`);
1001
961
  ssrRenderSlot(_ctx.$slots, "leading", {
1002
962
  modelValue,
1003
963
  open,
1004
964
  ui: ui.value
1005
965
  }, () => {
1006
- var _a3, _b3, _c2;
1007
966
  if (unref(isLeading) && unref(leadingIconName)) {
1008
967
  _push4(ssrRenderComponent(_sfc_main$d, {
1009
968
  name: unref(leadingIconName),
1010
969
  "data-slot": "leadingIcon",
1011
- class: ui.value.leadingIcon({ class: (_a3 = props.ui) == null ? void 0 : _a3.leadingIcon })
970
+ class: ui.value.leadingIcon({ class: props.ui?.leadingIcon })
1012
971
  }, null, _parent4, _scopeId3));
1013
972
  } else if (!!__props.avatar) {
1014
973
  _push4(ssrRenderComponent(_sfc_main$b, mergeProps({
1015
- size: ((_b3 = props.ui) == null ? void 0 : _b3.itemLeadingAvatarSize) || ui.value.itemLeadingAvatarSize()
974
+ size: props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
1016
975
  }, __props.avatar, {
1017
976
  "data-slot": "itemLeadingAvatar",
1018
- class: ui.value.itemLeadingAvatar({ class: (_c2 = props.ui) == null ? void 0 : _c2.itemLeadingAvatar })
977
+ class: ui.value.itemLeadingAvatar({ class: props.ui?.itemLeadingAvatar })
1019
978
  }), null, _parent4, _scopeId3));
1020
979
  } else {
1021
980
  _push4(`<!---->`);
@@ -1032,30 +991,28 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1032
991
  }, () => {
1033
992
  _push4(`<!--[-->`);
1034
993
  ssrRenderList([displayValue(modelValue)], (displayedModelValue) => {
1035
- var _a3, _b3, _c2;
1036
994
  _push4(`<!--[-->`);
1037
995
  if (displayedModelValue !== void 0 && displayedModelValue !== null) {
1038
- _push4(`<span data-slot="value" class="${ssrRenderClass(ui.value.value({ class: (_a3 = props.ui) == null ? void 0 : _a3.value }))}"${_scopeId3}>${ssrInterpolate(displayedModelValue)}</span>`);
996
+ _push4(`<span data-slot="value" class="${ssrRenderClass(ui.value.value({ class: props.ui?.value }))}"${_scopeId3}>${ssrInterpolate(displayedModelValue)}</span>`);
1039
997
  } else {
1040
- _push4(`<span data-slot="placeholder" class="${ssrRenderClass(ui.value.placeholder({ class: (_b3 = props.ui) == null ? void 0 : _b3.placeholder }))}"${_scopeId3}>${ssrInterpolate((_c2 = __props.placeholder) != null ? _c2 : "\xA0")}</span>`);
998
+ _push4(`<span data-slot="placeholder" class="${ssrRenderClass(ui.value.placeholder({ class: props.ui?.placeholder }))}"${_scopeId3}>${ssrInterpolate(__props.placeholder ?? " ")}</span>`);
1041
999
  }
1042
1000
  _push4(`<!--]-->`);
1043
1001
  });
1044
1002
  _push4(`<!--]-->`);
1045
1003
  }, _push4, _parent4, _scopeId3);
1046
1004
  if (unref(isTrailing) || !!slots.trailing) {
1047
- _push4(`<span data-slot="trailing" class="${ssrRenderClass(ui.value.trailing({ class: (_b2 = props.ui) == null ? void 0 : _b2.trailing }))}"${_scopeId3}>`);
1005
+ _push4(`<span data-slot="trailing" class="${ssrRenderClass(ui.value.trailing({ class: props.ui?.trailing }))}"${_scopeId3}>`);
1048
1006
  ssrRenderSlot(_ctx.$slots, "trailing", {
1049
1007
  modelValue,
1050
1008
  open,
1051
1009
  ui: ui.value
1052
1010
  }, () => {
1053
- var _a3;
1054
1011
  if (unref(trailingIconName)) {
1055
1012
  _push4(ssrRenderComponent(_sfc_main$d, {
1056
1013
  name: unref(trailingIconName),
1057
1014
  "data-slot": "trailingIcon",
1058
- class: ui.value.trailingIcon({ class: (_a3 = props.ui) == null ? void 0 : _a3.trailingIcon })
1015
+ class: ui.value.trailingIcon({ class: props.ui?.trailingIcon })
1059
1016
  }, null, _parent4, _scopeId3));
1060
1017
  } else {
1061
1018
  _push4(`<!---->`);
@@ -1070,29 +1027,26 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1070
1027
  unref(isLeading) || !!__props.avatar || !!slots.leading ? (openBlock(), createBlock("span", {
1071
1028
  key: 0,
1072
1029
  "data-slot": "leading",
1073
- class: ui.value.leading({ class: (_c = props.ui) == null ? void 0 : _c.leading })
1030
+ class: ui.value.leading({ class: props.ui?.leading })
1074
1031
  }, [
1075
1032
  renderSlot(_ctx.$slots, "leading", {
1076
1033
  modelValue,
1077
1034
  open,
1078
1035
  ui: ui.value
1079
- }, () => {
1080
- var _a3, _b3, _c2;
1081
- return [
1082
- unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
1083
- key: 0,
1084
- name: unref(leadingIconName),
1085
- "data-slot": "leadingIcon",
1086
- class: ui.value.leadingIcon({ class: (_a3 = props.ui) == null ? void 0 : _a3.leadingIcon })
1087
- }, null, 8, ["name", "class"])) : !!__props.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
1088
- key: 1,
1089
- size: ((_b3 = props.ui) == null ? void 0 : _b3.itemLeadingAvatarSize) || ui.value.itemLeadingAvatarSize()
1090
- }, __props.avatar, {
1091
- "data-slot": "itemLeadingAvatar",
1092
- class: ui.value.itemLeadingAvatar({ class: (_c2 = props.ui) == null ? void 0 : _c2.itemLeadingAvatar })
1093
- }), null, 16, ["size", "class"])) : createCommentVNode("", true)
1094
- ];
1095
- })
1036
+ }, () => [
1037
+ unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
1038
+ key: 0,
1039
+ name: unref(leadingIconName),
1040
+ "data-slot": "leadingIcon",
1041
+ class: ui.value.leadingIcon({ class: props.ui?.leadingIcon })
1042
+ }, null, 8, ["name", "class"])) : !!__props.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
1043
+ key: 1,
1044
+ size: props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
1045
+ }, __props.avatar, {
1046
+ "data-slot": "itemLeadingAvatar",
1047
+ class: ui.value.itemLeadingAvatar({ class: props.ui?.itemLeadingAvatar })
1048
+ }), null, 16, ["size", "class"])) : createCommentVNode("", true)
1049
+ ])
1096
1050
  ], 2)) : createCommentVNode("", true),
1097
1051
  renderSlot(_ctx.$slots, "default", {
1098
1052
  modelValue,
@@ -1100,40 +1054,36 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1100
1054
  ui: ui.value
1101
1055
  }, () => [
1102
1056
  (openBlock(true), createBlock(Fragment, null, renderList([displayValue(modelValue)], (displayedModelValue) => {
1103
- var _a3, _b3, _c2;
1104
1057
  return openBlock(), createBlock(Fragment, { key: displayedModelValue }, [
1105
1058
  displayedModelValue !== void 0 && displayedModelValue !== null ? (openBlock(), createBlock("span", {
1106
1059
  key: 0,
1107
1060
  "data-slot": "value",
1108
- class: ui.value.value({ class: (_a3 = props.ui) == null ? void 0 : _a3.value })
1061
+ class: ui.value.value({ class: props.ui?.value })
1109
1062
  }, toDisplayString(displayedModelValue), 3)) : (openBlock(), createBlock("span", {
1110
1063
  key: 1,
1111
1064
  "data-slot": "placeholder",
1112
- class: ui.value.placeholder({ class: (_b3 = props.ui) == null ? void 0 : _b3.placeholder })
1113
- }, toDisplayString((_c2 = __props.placeholder) != null ? _c2 : "\xA0"), 3))
1065
+ class: ui.value.placeholder({ class: props.ui?.placeholder })
1066
+ }, toDisplayString(__props.placeholder ?? " "), 3))
1114
1067
  ], 64);
1115
1068
  }), 128))
1116
1069
  ]),
1117
1070
  unref(isTrailing) || !!slots.trailing ? (openBlock(), createBlock("span", {
1118
1071
  key: 1,
1119
1072
  "data-slot": "trailing",
1120
- class: ui.value.trailing({ class: (_d = props.ui) == null ? void 0 : _d.trailing })
1073
+ class: ui.value.trailing({ class: props.ui?.trailing })
1121
1074
  }, [
1122
1075
  renderSlot(_ctx.$slots, "trailing", {
1123
1076
  modelValue,
1124
1077
  open,
1125
1078
  ui: ui.value
1126
- }, () => {
1127
- var _a3;
1128
- return [
1129
- unref(trailingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
1130
- key: 0,
1131
- name: unref(trailingIconName),
1132
- "data-slot": "trailingIcon",
1133
- class: ui.value.trailingIcon({ class: (_a3 = props.ui) == null ? void 0 : _a3.trailingIcon })
1134
- }, null, 8, ["name", "class"])) : createCommentVNode("", true)
1135
- ];
1136
- })
1079
+ }, () => [
1080
+ unref(trailingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
1081
+ key: 0,
1082
+ name: unref(trailingIconName),
1083
+ "data-slot": "trailingIcon",
1084
+ class: ui.value.trailingIcon({ class: props.ui?.trailingIcon })
1085
+ }, null, 8, ["name", "class"])) : createCommentVNode("", true)
1086
+ ])
1137
1087
  ], 2)) : createCommentVNode("", true)
1138
1088
  ];
1139
1089
  }
@@ -1146,82 +1096,72 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1146
1096
  ref_key: "triggerRef",
1147
1097
  ref: triggerRef,
1148
1098
  "data-slot": "base",
1149
- class: ui.value.base({ class: [(_b = props.ui) == null ? void 0 : _b.base, props.class] }),
1099
+ class: ui.value.base({ class: [props.ui?.base, props.class] }),
1150
1100
  tabindex: "0"
1151
1101
  }, {
1152
- default: withCtx(() => {
1153
- var _a2, _b2;
1154
- return [
1155
- unref(isLeading) || !!__props.avatar || !!slots.leading ? (openBlock(), createBlock("span", {
1156
- key: 0,
1157
- "data-slot": "leading",
1158
- class: ui.value.leading({ class: (_a2 = props.ui) == null ? void 0 : _a2.leading })
1159
- }, [
1160
- renderSlot(_ctx.$slots, "leading", {
1161
- modelValue,
1162
- open,
1163
- ui: ui.value
1164
- }, () => {
1165
- var _a3, _b3, _c;
1166
- return [
1167
- unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
1168
- key: 0,
1169
- name: unref(leadingIconName),
1170
- "data-slot": "leadingIcon",
1171
- class: ui.value.leadingIcon({ class: (_a3 = props.ui) == null ? void 0 : _a3.leadingIcon })
1172
- }, null, 8, ["name", "class"])) : !!__props.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
1173
- key: 1,
1174
- size: ((_b3 = props.ui) == null ? void 0 : _b3.itemLeadingAvatarSize) || ui.value.itemLeadingAvatarSize()
1175
- }, __props.avatar, {
1176
- "data-slot": "itemLeadingAvatar",
1177
- class: ui.value.itemLeadingAvatar({ class: (_c = props.ui) == null ? void 0 : _c.itemLeadingAvatar })
1178
- }), null, 16, ["size", "class"])) : createCommentVNode("", true)
1179
- ];
1180
- })
1181
- ], 2)) : createCommentVNode("", true),
1182
- renderSlot(_ctx.$slots, "default", {
1102
+ default: withCtx(() => [
1103
+ unref(isLeading) || !!__props.avatar || !!slots.leading ? (openBlock(), createBlock("span", {
1104
+ key: 0,
1105
+ "data-slot": "leading",
1106
+ class: ui.value.leading({ class: props.ui?.leading })
1107
+ }, [
1108
+ renderSlot(_ctx.$slots, "leading", {
1183
1109
  modelValue,
1184
1110
  open,
1185
1111
  ui: ui.value
1186
1112
  }, () => [
1187
- (openBlock(true), createBlock(Fragment, null, renderList([displayValue(modelValue)], (displayedModelValue) => {
1188
- var _a3, _b3, _c;
1189
- return openBlock(), createBlock(Fragment, { key: displayedModelValue }, [
1190
- displayedModelValue !== void 0 && displayedModelValue !== null ? (openBlock(), createBlock("span", {
1191
- key: 0,
1192
- "data-slot": "value",
1193
- class: ui.value.value({ class: (_a3 = props.ui) == null ? void 0 : _a3.value })
1194
- }, toDisplayString(displayedModelValue), 3)) : (openBlock(), createBlock("span", {
1195
- key: 1,
1196
- "data-slot": "placeholder",
1197
- class: ui.value.placeholder({ class: (_b3 = props.ui) == null ? void 0 : _b3.placeholder })
1198
- }, toDisplayString((_c = __props.placeholder) != null ? _c : "\xA0"), 3))
1199
- ], 64);
1200
- }), 128))
1201
- ]),
1202
- unref(isTrailing) || !!slots.trailing ? (openBlock(), createBlock("span", {
1203
- key: 1,
1204
- "data-slot": "trailing",
1205
- class: ui.value.trailing({ class: (_b2 = props.ui) == null ? void 0 : _b2.trailing })
1206
- }, [
1207
- renderSlot(_ctx.$slots, "trailing", {
1208
- modelValue,
1209
- open,
1210
- ui: ui.value
1211
- }, () => {
1212
- var _a3;
1213
- return [
1214
- unref(trailingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
1215
- key: 0,
1216
- name: unref(trailingIconName),
1217
- "data-slot": "trailingIcon",
1218
- class: ui.value.trailingIcon({ class: (_a3 = props.ui) == null ? void 0 : _a3.trailingIcon })
1219
- }, null, 8, ["name", "class"])) : createCommentVNode("", true)
1220
- ];
1221
- })
1222
- ], 2)) : createCommentVNode("", true)
1223
- ];
1224
- }),
1113
+ unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
1114
+ key: 0,
1115
+ name: unref(leadingIconName),
1116
+ "data-slot": "leadingIcon",
1117
+ class: ui.value.leadingIcon({ class: props.ui?.leadingIcon })
1118
+ }, null, 8, ["name", "class"])) : !!__props.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
1119
+ key: 1,
1120
+ size: props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
1121
+ }, __props.avatar, {
1122
+ "data-slot": "itemLeadingAvatar",
1123
+ class: ui.value.itemLeadingAvatar({ class: props.ui?.itemLeadingAvatar })
1124
+ }), null, 16, ["size", "class"])) : createCommentVNode("", true)
1125
+ ])
1126
+ ], 2)) : createCommentVNode("", true),
1127
+ renderSlot(_ctx.$slots, "default", {
1128
+ modelValue,
1129
+ open,
1130
+ ui: ui.value
1131
+ }, () => [
1132
+ (openBlock(true), createBlock(Fragment, null, renderList([displayValue(modelValue)], (displayedModelValue) => {
1133
+ return openBlock(), createBlock(Fragment, { key: displayedModelValue }, [
1134
+ displayedModelValue !== void 0 && displayedModelValue !== null ? (openBlock(), createBlock("span", {
1135
+ key: 0,
1136
+ "data-slot": "value",
1137
+ class: ui.value.value({ class: props.ui?.value })
1138
+ }, toDisplayString(displayedModelValue), 3)) : (openBlock(), createBlock("span", {
1139
+ key: 1,
1140
+ "data-slot": "placeholder",
1141
+ class: ui.value.placeholder({ class: props.ui?.placeholder })
1142
+ }, toDisplayString(__props.placeholder ?? " "), 3))
1143
+ ], 64);
1144
+ }), 128))
1145
+ ]),
1146
+ unref(isTrailing) || !!slots.trailing ? (openBlock(), createBlock("span", {
1147
+ key: 1,
1148
+ "data-slot": "trailing",
1149
+ class: ui.value.trailing({ class: props.ui?.trailing })
1150
+ }, [
1151
+ renderSlot(_ctx.$slots, "trailing", {
1152
+ modelValue,
1153
+ open,
1154
+ ui: ui.value
1155
+ }, () => [
1156
+ unref(trailingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
1157
+ key: 0,
1158
+ name: unref(trailingIconName),
1159
+ "data-slot": "trailingIcon",
1160
+ class: ui.value.trailingIcon({ class: props.ui?.trailingIcon })
1161
+ }, null, 8, ["name", "class"])) : createCommentVNode("", true)
1162
+ ])
1163
+ ], 2)) : createCommentVNode("", true)
1164
+ ]),
1225
1165
  _: 2
1226
1166
  }, 1032, ["class"])
1227
1167
  ];
@@ -1231,22 +1171,19 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1231
1171
  }, _parent2, _scopeId));
1232
1172
  _push2(ssrRenderComponent(unref(ComboboxPortal), unref(portalProps), {
1233
1173
  default: withCtx((_, _push3, _parent3, _scopeId2) => {
1234
- var _a, _b;
1235
1174
  if (_push3) {
1236
1175
  _push3(ssrRenderComponent(unref(ComboboxContent), mergeProps({
1237
1176
  "data-slot": "content",
1238
- class: ui.value.content({ class: (_a = props.ui) == null ? void 0 : _a.content })
1177
+ class: ui.value.content({ class: props.ui?.content })
1239
1178
  }, contentProps.value), {
1240
1179
  default: withCtx((_2, _push4, _parent4, _scopeId3) => {
1241
- var _a2, _b2, _c, _d;
1242
1180
  if (_push4) {
1243
1181
  _push4(ssrRenderComponent(unref(FocusScope), {
1244
1182
  trapped: "",
1245
1183
  "data-slot": "focusScope",
1246
- class: ui.value.focusScope({ class: (_a2 = props.ui) == null ? void 0 : _a2.focusScope })
1184
+ class: ui.value.focusScope({ class: props.ui?.focusScope })
1247
1185
  }, {
1248
1186
  default: withCtx((_3, _push5, _parent5, _scopeId4) => {
1249
- var _a3, _b3, _c2, _d2, _e, _f, _g, _h;
1250
1187
  if (_push5) {
1251
1188
  ssrRenderSlot(_ctx.$slots, "content-top", {}, null, _push5, _parent5, _scopeId4);
1252
1189
  if (!!__props.searchInput) {
@@ -1257,7 +1194,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1257
1194
  "as-child": ""
1258
1195
  }, {
1259
1196
  default: withCtx((_4, _push6, _parent6, _scopeId5) => {
1260
- var _a4, _b4;
1261
1197
  if (_push6) {
1262
1198
  _push6(ssrRenderComponent(_sfc_main$1, mergeProps({
1263
1199
  autofocus: "",
@@ -1265,7 +1201,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1265
1201
  size: __props.size
1266
1202
  }, searchInputProps.value, {
1267
1203
  "data-slot": "input",
1268
- class: ui.value.input({ class: (_a4 = props.ui) == null ? void 0 : _a4.input }),
1204
+ class: ui.value.input({ class: props.ui?.input }),
1269
1205
  onChange: () => {
1270
1206
  }
1271
1207
  }), null, _parent6, _scopeId5));
@@ -1277,7 +1213,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1277
1213
  size: __props.size
1278
1214
  }, searchInputProps.value, {
1279
1215
  "data-slot": "input",
1280
- class: ui.value.input({ class: (_b4 = props.ui) == null ? void 0 : _b4.input }),
1216
+ class: ui.value.input({ class: props.ui?.input }),
1281
1217
  onChange: withModifiers(() => {
1282
1218
  }, ["stop"])
1283
1219
  }), null, 16, ["size", "class", "onChange"])
@@ -1291,7 +1227,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1291
1227
  }
1292
1228
  _push5(ssrRenderComponent(unref(ComboboxEmpty), {
1293
1229
  "data-slot": "empty",
1294
- class: ui.value.empty({ class: (_a3 = props.ui) == null ? void 0 : _a3.empty })
1230
+ class: ui.value.empty({ class: props.ui?.empty })
1295
1231
  }, {
1296
1232
  default: withCtx((_4, _push6, _parent6, _scopeId5) => {
1297
1233
  if (_push6) {
@@ -1308,7 +1244,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1308
1244
  }),
1309
1245
  _: 2
1310
1246
  }, _parent5, _scopeId4));
1311
- _push5(`<div role="presentation" data-slot="viewport" class="${ssrRenderClass(ui.value.viewport({ class: (_b3 = props.ui) == null ? void 0 : _b3.viewport }))}"${_scopeId4}>`);
1247
+ _push5(`<div role="presentation" data-slot="viewport" class="${ssrRenderClass(ui.value.viewport({ class: props.ui?.viewport }))}"${_scopeId4}>`);
1312
1248
  if (!!__props.virtualize) {
1313
1249
  _push5(`<!--[-->`);
1314
1250
  if (createItem.value && createItemPosition.value === "top") {
@@ -1348,7 +1284,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1348
1284
  if (createItem.value && createItemPosition.value === "top") {
1349
1285
  _push5(ssrRenderComponent(unref(ComboboxGroup), {
1350
1286
  "data-slot": "group",
1351
- class: ui.value.group({ class: (_c2 = props.ui) == null ? void 0 : _c2.group })
1287
+ class: ui.value.group({ class: props.ui?.group })
1352
1288
  }, {
1353
1289
  default: withCtx((_4, _push6, _parent6, _scopeId5) => {
1354
1290
  if (_push6) {
@@ -1366,11 +1302,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1366
1302
  }
1367
1303
  _push5(`<!--[-->`);
1368
1304
  ssrRenderList(filteredGroups.value, (group, groupIndex) => {
1369
- var _a4;
1370
1305
  _push5(ssrRenderComponent(unref(ComboboxGroup), {
1371
1306
  key: `group-${groupIndex}`,
1372
1307
  "data-slot": "group",
1373
- class: ui.value.group({ class: (_a4 = props.ui) == null ? void 0 : _a4.group })
1308
+ class: ui.value.group({ class: props.ui?.group })
1374
1309
  }, {
1375
1310
  default: withCtx((_4, _push6, _parent6, _scopeId5) => {
1376
1311
  if (_push6) {
@@ -1402,7 +1337,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1402
1337
  if (createItem.value && createItemPosition.value === "bottom") {
1403
1338
  _push5(ssrRenderComponent(unref(ComboboxGroup), {
1404
1339
  "data-slot": "group",
1405
- class: ui.value.group({ class: (_d2 = props.ui) == null ? void 0 : _d2.group })
1340
+ class: ui.value.group({ class: props.ui?.group })
1406
1341
  }, {
1407
1342
  default: withCtx((_4, _push6, _parent6, _scopeId5) => {
1408
1343
  if (_push6) {
@@ -1432,26 +1367,23 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1432
1367
  "display-value": () => searchTerm.value,
1433
1368
  "as-child": ""
1434
1369
  }, {
1435
- default: withCtx(() => {
1436
- var _a4;
1437
- return [
1438
- createVNode(_sfc_main$1, mergeProps({
1439
- autofocus: "",
1440
- autocomplete: "off",
1441
- size: __props.size
1442
- }, searchInputProps.value, {
1443
- "data-slot": "input",
1444
- class: ui.value.input({ class: (_a4 = props.ui) == null ? void 0 : _a4.input }),
1445
- onChange: withModifiers(() => {
1446
- }, ["stop"])
1447
- }), null, 16, ["size", "class", "onChange"])
1448
- ];
1449
- }),
1370
+ default: withCtx(() => [
1371
+ createVNode(_sfc_main$1, mergeProps({
1372
+ autofocus: "",
1373
+ autocomplete: "off",
1374
+ size: __props.size
1375
+ }, searchInputProps.value, {
1376
+ "data-slot": "input",
1377
+ class: ui.value.input({ class: props.ui?.input }),
1378
+ onChange: withModifiers(() => {
1379
+ }, ["stop"])
1380
+ }), null, 16, ["size", "class", "onChange"])
1381
+ ]),
1450
1382
  _: 1
1451
1383
  }, 8, ["modelValue", "onUpdate:modelValue", "display-value"])) : createCommentVNode("", true),
1452
1384
  createVNode(unref(ComboboxEmpty), {
1453
1385
  "data-slot": "empty",
1454
- class: ui.value.empty({ class: (_e = props.ui) == null ? void 0 : _e.empty })
1386
+ class: ui.value.empty({ class: props.ui?.empty })
1455
1387
  }, {
1456
1388
  default: withCtx(() => [
1457
1389
  renderSlot(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => [
@@ -1463,7 +1395,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1463
1395
  createVNode("div", {
1464
1396
  role: "presentation",
1465
1397
  "data-slot": "viewport",
1466
- class: ui.value.viewport({ class: (_f = props.ui) == null ? void 0 : _f.viewport })
1398
+ class: ui.value.viewport({ class: props.ui?.viewport })
1467
1399
  }, [
1468
1400
  !!__props.virtualize ? (openBlock(), createBlock(Fragment, { key: 0 }, [
1469
1401
  createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 0 })) : createCommentVNode("", true),
@@ -1484,7 +1416,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1484
1416
  createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ComboboxGroup), {
1485
1417
  key: 0,
1486
1418
  "data-slot": "group",
1487
- class: ui.value.group({ class: (_g = props.ui) == null ? void 0 : _g.group })
1419
+ class: ui.value.group({ class: props.ui?.group })
1488
1420
  }, {
1489
1421
  default: withCtx(() => [
1490
1422
  createVNode(unref(ReuseCreateItemTemplate))
@@ -1492,11 +1424,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1492
1424
  _: 1
1493
1425
  }, 8, ["class"])) : createCommentVNode("", true),
1494
1426
  (openBlock(true), createBlock(Fragment, null, renderList(filteredGroups.value, (group, groupIndex) => {
1495
- var _a4;
1496
1427
  return openBlock(), createBlock(unref(ComboboxGroup), {
1497
1428
  key: `group-${groupIndex}`,
1498
1429
  "data-slot": "group",
1499
- class: ui.value.group({ class: (_a4 = props.ui) == null ? void 0 : _a4.group })
1430
+ class: ui.value.group({ class: props.ui?.group })
1500
1431
  }, {
1501
1432
  default: withCtx(() => [
1502
1433
  (openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
@@ -1513,7 +1444,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1513
1444
  createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ComboboxGroup), {
1514
1445
  key: 1,
1515
1446
  "data-slot": "group",
1516
- class: ui.value.group({ class: (_h = props.ui) == null ? void 0 : _h.group })
1447
+ class: ui.value.group({ class: props.ui?.group })
1517
1448
  }, {
1518
1449
  default: withCtx(() => [
1519
1450
  createVNode(unref(ReuseCreateItemTemplate))
@@ -1531,7 +1462,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1531
1462
  if (!!__props.arrow) {
1532
1463
  _push4(ssrRenderComponent(unref(ComboboxArrow), mergeProps(arrowProps.value, {
1533
1464
  "data-slot": "arrow",
1534
- class: ui.value.arrow({ class: (_b2 = props.ui) == null ? void 0 : _b2.arrow })
1465
+ class: ui.value.arrow({ class: props.ui?.arrow })
1535
1466
  }), null, _parent4, _scopeId3));
1536
1467
  } else {
1537
1468
  _push4(`<!---->`);
@@ -1541,117 +1472,110 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1541
1472
  createVNode(unref(FocusScope), {
1542
1473
  trapped: "",
1543
1474
  "data-slot": "focusScope",
1544
- class: ui.value.focusScope({ class: (_c = props.ui) == null ? void 0 : _c.focusScope })
1475
+ class: ui.value.focusScope({ class: props.ui?.focusScope })
1545
1476
  }, {
1546
- default: withCtx(() => {
1547
- var _a3, _b3, _c2, _d2;
1548
- return [
1549
- renderSlot(_ctx.$slots, "content-top"),
1550
- !!__props.searchInput ? (openBlock(), createBlock(unref(ComboboxInput), {
1551
- key: 0,
1552
- modelValue: searchTerm.value,
1553
- "onUpdate:modelValue": ($event) => searchTerm.value = $event,
1554
- "display-value": () => searchTerm.value,
1555
- "as-child": ""
1556
- }, {
1557
- default: withCtx(() => {
1558
- var _a4;
1559
- return [
1560
- createVNode(_sfc_main$1, mergeProps({
1561
- autofocus: "",
1562
- autocomplete: "off",
1563
- size: __props.size
1564
- }, searchInputProps.value, {
1565
- "data-slot": "input",
1566
- class: ui.value.input({ class: (_a4 = props.ui) == null ? void 0 : _a4.input }),
1567
- onChange: withModifiers(() => {
1568
- }, ["stop"])
1569
- }), null, 16, ["size", "class", "onChange"])
1570
- ];
1571
- }),
1572
- _: 1
1573
- }, 8, ["modelValue", "onUpdate:modelValue", "display-value"])) : createCommentVNode("", true),
1574
- createVNode(unref(ComboboxEmpty), {
1575
- "data-slot": "empty",
1576
- class: ui.value.empty({ class: (_a3 = props.ui) == null ? void 0 : _a3.empty })
1577
- }, {
1578
- default: withCtx(() => [
1579
- renderSlot(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => [
1580
- createTextVNode(toDisplayString(searchTerm.value ? unref(t)("selectMenu.noMatch", { searchTerm: searchTerm.value }) : unref(t)("selectMenu.noData")), 1)
1581
- ])
1582
- ]),
1583
- _: 3
1584
- }, 8, ["class"]),
1585
- createVNode("div", {
1586
- role: "presentation",
1587
- "data-slot": "viewport",
1588
- class: ui.value.viewport({ class: (_b3 = props.ui) == null ? void 0 : _b3.viewport })
1589
- }, [
1590
- !!__props.virtualize ? (openBlock(), createBlock(Fragment, { key: 0 }, [
1591
- createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 0 })) : createCommentVNode("", true),
1592
- createVNode(unref(ComboboxVirtualizer), mergeProps({
1593
- options: filteredItems.value,
1594
- "text-content": (item2) => isSelectItem(item2) ? unref(get)(item2, props.labelKey) : String(item2)
1595
- }, virtualizerProps.value), {
1596
- default: withCtx(({ option: item, virtualItem }) => [
1597
- createVNode(unref(ReuseItemTemplate), {
1598
- item,
1599
- index: virtualItem.index
1600
- }, null, 8, ["item", "index"])
1601
- ]),
1602
- _: 1
1603
- }, 16, ["options", "text-content"]),
1604
- createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 1 })) : createCommentVNode("", true)
1605
- ], 64)) : (openBlock(), createBlock(Fragment, { key: 1 }, [
1606
- createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ComboboxGroup), {
1607
- key: 0,
1608
- "data-slot": "group",
1609
- class: ui.value.group({ class: (_c2 = props.ui) == null ? void 0 : _c2.group })
1610
- }, {
1611
- default: withCtx(() => [
1612
- createVNode(unref(ReuseCreateItemTemplate))
1613
- ]),
1614
- _: 1
1615
- }, 8, ["class"])) : createCommentVNode("", true),
1616
- (openBlock(true), createBlock(Fragment, null, renderList(filteredGroups.value, (group, groupIndex) => {
1617
- var _a4;
1618
- return openBlock(), createBlock(unref(ComboboxGroup), {
1619
- key: `group-${groupIndex}`,
1620
- "data-slot": "group",
1621
- class: ui.value.group({ class: (_a4 = props.ui) == null ? void 0 : _a4.group })
1622
- }, {
1623
- default: withCtx(() => [
1624
- (openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
1625
- return openBlock(), createBlock(unref(ReuseItemTemplate), {
1626
- key: `group-${groupIndex}-${index}`,
1627
- item,
1628
- index
1629
- }, null, 8, ["item", "index"]);
1630
- }), 128))
1631
- ]),
1632
- _: 2
1633
- }, 1032, ["class"]);
1634
- }), 128)),
1635
- createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ComboboxGroup), {
1636
- key: 1,
1477
+ default: withCtx(() => [
1478
+ renderSlot(_ctx.$slots, "content-top"),
1479
+ !!__props.searchInput ? (openBlock(), createBlock(unref(ComboboxInput), {
1480
+ key: 0,
1481
+ modelValue: searchTerm.value,
1482
+ "onUpdate:modelValue": ($event) => searchTerm.value = $event,
1483
+ "display-value": () => searchTerm.value,
1484
+ "as-child": ""
1485
+ }, {
1486
+ default: withCtx(() => [
1487
+ createVNode(_sfc_main$1, mergeProps({
1488
+ autofocus: "",
1489
+ autocomplete: "off",
1490
+ size: __props.size
1491
+ }, searchInputProps.value, {
1492
+ "data-slot": "input",
1493
+ class: ui.value.input({ class: props.ui?.input }),
1494
+ onChange: withModifiers(() => {
1495
+ }, ["stop"])
1496
+ }), null, 16, ["size", "class", "onChange"])
1497
+ ]),
1498
+ _: 1
1499
+ }, 8, ["modelValue", "onUpdate:modelValue", "display-value"])) : createCommentVNode("", true),
1500
+ createVNode(unref(ComboboxEmpty), {
1501
+ "data-slot": "empty",
1502
+ class: ui.value.empty({ class: props.ui?.empty })
1503
+ }, {
1504
+ default: withCtx(() => [
1505
+ renderSlot(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => [
1506
+ createTextVNode(toDisplayString(searchTerm.value ? unref(t)("selectMenu.noMatch", { searchTerm: searchTerm.value }) : unref(t)("selectMenu.noData")), 1)
1507
+ ])
1508
+ ]),
1509
+ _: 3
1510
+ }, 8, ["class"]),
1511
+ createVNode("div", {
1512
+ role: "presentation",
1513
+ "data-slot": "viewport",
1514
+ class: ui.value.viewport({ class: props.ui?.viewport })
1515
+ }, [
1516
+ !!__props.virtualize ? (openBlock(), createBlock(Fragment, { key: 0 }, [
1517
+ createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 0 })) : createCommentVNode("", true),
1518
+ createVNode(unref(ComboboxVirtualizer), mergeProps({
1519
+ options: filteredItems.value,
1520
+ "text-content": (item2) => isSelectItem(item2) ? unref(get)(item2, props.labelKey) : String(item2)
1521
+ }, virtualizerProps.value), {
1522
+ default: withCtx(({ option: item, virtualItem }) => [
1523
+ createVNode(unref(ReuseItemTemplate), {
1524
+ item,
1525
+ index: virtualItem.index
1526
+ }, null, 8, ["item", "index"])
1527
+ ]),
1528
+ _: 1
1529
+ }, 16, ["options", "text-content"]),
1530
+ createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 1 })) : createCommentVNode("", true)
1531
+ ], 64)) : (openBlock(), createBlock(Fragment, { key: 1 }, [
1532
+ createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ComboboxGroup), {
1533
+ key: 0,
1534
+ "data-slot": "group",
1535
+ class: ui.value.group({ class: props.ui?.group })
1536
+ }, {
1537
+ default: withCtx(() => [
1538
+ createVNode(unref(ReuseCreateItemTemplate))
1539
+ ]),
1540
+ _: 1
1541
+ }, 8, ["class"])) : createCommentVNode("", true),
1542
+ (openBlock(true), createBlock(Fragment, null, renderList(filteredGroups.value, (group, groupIndex) => {
1543
+ return openBlock(), createBlock(unref(ComboboxGroup), {
1544
+ key: `group-${groupIndex}`,
1637
1545
  "data-slot": "group",
1638
- class: ui.value.group({ class: (_d2 = props.ui) == null ? void 0 : _d2.group })
1546
+ class: ui.value.group({ class: props.ui?.group })
1639
1547
  }, {
1640
1548
  default: withCtx(() => [
1641
- createVNode(unref(ReuseCreateItemTemplate))
1549
+ (openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
1550
+ return openBlock(), createBlock(unref(ReuseItemTemplate), {
1551
+ key: `group-${groupIndex}-${index}`,
1552
+ item,
1553
+ index
1554
+ }, null, 8, ["item", "index"]);
1555
+ }), 128))
1642
1556
  ]),
1643
- _: 1
1644
- }, 8, ["class"])) : createCommentVNode("", true)
1645
- ], 64))
1646
- ], 2),
1647
- renderSlot(_ctx.$slots, "content-bottom")
1648
- ];
1649
- }),
1557
+ _: 2
1558
+ }, 1032, ["class"]);
1559
+ }), 128)),
1560
+ createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ComboboxGroup), {
1561
+ key: 1,
1562
+ "data-slot": "group",
1563
+ class: ui.value.group({ class: props.ui?.group })
1564
+ }, {
1565
+ default: withCtx(() => [
1566
+ createVNode(unref(ReuseCreateItemTemplate))
1567
+ ]),
1568
+ _: 1
1569
+ }, 8, ["class"])) : createCommentVNode("", true)
1570
+ ], 64))
1571
+ ], 2),
1572
+ renderSlot(_ctx.$slots, "content-bottom")
1573
+ ]),
1650
1574
  _: 3
1651
1575
  }, 8, ["class"]),
1652
1576
  !!__props.arrow ? (openBlock(), createBlock(unref(ComboboxArrow), mergeProps({ key: 0 }, arrowProps.value, {
1653
1577
  "data-slot": "arrow",
1654
- class: ui.value.arrow({ class: (_d = props.ui) == null ? void 0 : _d.arrow })
1578
+ class: ui.value.arrow({ class: props.ui?.arrow })
1655
1579
  }), null, 16, ["class"])) : createCommentVNode("", true)
1656
1580
  ];
1657
1581
  }
@@ -1662,128 +1586,118 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1662
1586
  return [
1663
1587
  createVNode(unref(ComboboxContent), mergeProps({
1664
1588
  "data-slot": "content",
1665
- class: ui.value.content({ class: (_b = props.ui) == null ? void 0 : _b.content })
1589
+ class: ui.value.content({ class: props.ui?.content })
1666
1590
  }, contentProps.value), {
1667
- default: withCtx(() => {
1668
- var _a2, _b2;
1669
- return [
1670
- createVNode(unref(FocusScope), {
1671
- trapped: "",
1672
- "data-slot": "focusScope",
1673
- class: ui.value.focusScope({ class: (_a2 = props.ui) == null ? void 0 : _a2.focusScope })
1674
- }, {
1675
- default: withCtx(() => {
1676
- var _a3, _b3, _c, _d;
1677
- return [
1678
- renderSlot(_ctx.$slots, "content-top"),
1679
- !!__props.searchInput ? (openBlock(), createBlock(unref(ComboboxInput), {
1591
+ default: withCtx(() => [
1592
+ createVNode(unref(FocusScope), {
1593
+ trapped: "",
1594
+ "data-slot": "focusScope",
1595
+ class: ui.value.focusScope({ class: props.ui?.focusScope })
1596
+ }, {
1597
+ default: withCtx(() => [
1598
+ renderSlot(_ctx.$slots, "content-top"),
1599
+ !!__props.searchInput ? (openBlock(), createBlock(unref(ComboboxInput), {
1600
+ key: 0,
1601
+ modelValue: searchTerm.value,
1602
+ "onUpdate:modelValue": ($event) => searchTerm.value = $event,
1603
+ "display-value": () => searchTerm.value,
1604
+ "as-child": ""
1605
+ }, {
1606
+ default: withCtx(() => [
1607
+ createVNode(_sfc_main$1, mergeProps({
1608
+ autofocus: "",
1609
+ autocomplete: "off",
1610
+ size: __props.size
1611
+ }, searchInputProps.value, {
1612
+ "data-slot": "input",
1613
+ class: ui.value.input({ class: props.ui?.input }),
1614
+ onChange: withModifiers(() => {
1615
+ }, ["stop"])
1616
+ }), null, 16, ["size", "class", "onChange"])
1617
+ ]),
1618
+ _: 1
1619
+ }, 8, ["modelValue", "onUpdate:modelValue", "display-value"])) : createCommentVNode("", true),
1620
+ createVNode(unref(ComboboxEmpty), {
1621
+ "data-slot": "empty",
1622
+ class: ui.value.empty({ class: props.ui?.empty })
1623
+ }, {
1624
+ default: withCtx(() => [
1625
+ renderSlot(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => [
1626
+ createTextVNode(toDisplayString(searchTerm.value ? unref(t)("selectMenu.noMatch", { searchTerm: searchTerm.value }) : unref(t)("selectMenu.noData")), 1)
1627
+ ])
1628
+ ]),
1629
+ _: 3
1630
+ }, 8, ["class"]),
1631
+ createVNode("div", {
1632
+ role: "presentation",
1633
+ "data-slot": "viewport",
1634
+ class: ui.value.viewport({ class: props.ui?.viewport })
1635
+ }, [
1636
+ !!__props.virtualize ? (openBlock(), createBlock(Fragment, { key: 0 }, [
1637
+ createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 0 })) : createCommentVNode("", true),
1638
+ createVNode(unref(ComboboxVirtualizer), mergeProps({
1639
+ options: filteredItems.value,
1640
+ "text-content": (item2) => isSelectItem(item2) ? unref(get)(item2, props.labelKey) : String(item2)
1641
+ }, virtualizerProps.value), {
1642
+ default: withCtx(({ option: item, virtualItem }) => [
1643
+ createVNode(unref(ReuseItemTemplate), {
1644
+ item,
1645
+ index: virtualItem.index
1646
+ }, null, 8, ["item", "index"])
1647
+ ]),
1648
+ _: 1
1649
+ }, 16, ["options", "text-content"]),
1650
+ createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 1 })) : createCommentVNode("", true)
1651
+ ], 64)) : (openBlock(), createBlock(Fragment, { key: 1 }, [
1652
+ createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ComboboxGroup), {
1680
1653
  key: 0,
1681
- modelValue: searchTerm.value,
1682
- "onUpdate:modelValue": ($event) => searchTerm.value = $event,
1683
- "display-value": () => searchTerm.value,
1684
- "as-child": ""
1654
+ "data-slot": "group",
1655
+ class: ui.value.group({ class: props.ui?.group })
1685
1656
  }, {
1686
- default: withCtx(() => {
1687
- var _a4;
1688
- return [
1689
- createVNode(_sfc_main$1, mergeProps({
1690
- autofocus: "",
1691
- autocomplete: "off",
1692
- size: __props.size
1693
- }, searchInputProps.value, {
1694
- "data-slot": "input",
1695
- class: ui.value.input({ class: (_a4 = props.ui) == null ? void 0 : _a4.input }),
1696
- onChange: withModifiers(() => {
1697
- }, ["stop"])
1698
- }), null, 16, ["size", "class", "onChange"])
1699
- ];
1700
- }),
1657
+ default: withCtx(() => [
1658
+ createVNode(unref(ReuseCreateItemTemplate))
1659
+ ]),
1701
1660
  _: 1
1702
- }, 8, ["modelValue", "onUpdate:modelValue", "display-value"])) : createCommentVNode("", true),
1703
- createVNode(unref(ComboboxEmpty), {
1704
- "data-slot": "empty",
1705
- class: ui.value.empty({ class: (_a3 = props.ui) == null ? void 0 : _a3.empty })
1661
+ }, 8, ["class"])) : createCommentVNode("", true),
1662
+ (openBlock(true), createBlock(Fragment, null, renderList(filteredGroups.value, (group, groupIndex) => {
1663
+ return openBlock(), createBlock(unref(ComboboxGroup), {
1664
+ key: `group-${groupIndex}`,
1665
+ "data-slot": "group",
1666
+ class: ui.value.group({ class: props.ui?.group })
1667
+ }, {
1668
+ default: withCtx(() => [
1669
+ (openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
1670
+ return openBlock(), createBlock(unref(ReuseItemTemplate), {
1671
+ key: `group-${groupIndex}-${index}`,
1672
+ item,
1673
+ index
1674
+ }, null, 8, ["item", "index"]);
1675
+ }), 128))
1676
+ ]),
1677
+ _: 2
1678
+ }, 1032, ["class"]);
1679
+ }), 128)),
1680
+ createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ComboboxGroup), {
1681
+ key: 1,
1682
+ "data-slot": "group",
1683
+ class: ui.value.group({ class: props.ui?.group })
1706
1684
  }, {
1707
1685
  default: withCtx(() => [
1708
- renderSlot(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => [
1709
- createTextVNode(toDisplayString(searchTerm.value ? unref(t)("selectMenu.noMatch", { searchTerm: searchTerm.value }) : unref(t)("selectMenu.noData")), 1)
1710
- ])
1686
+ createVNode(unref(ReuseCreateItemTemplate))
1711
1687
  ]),
1712
- _: 3
1713
- }, 8, ["class"]),
1714
- createVNode("div", {
1715
- role: "presentation",
1716
- "data-slot": "viewport",
1717
- class: ui.value.viewport({ class: (_b3 = props.ui) == null ? void 0 : _b3.viewport })
1718
- }, [
1719
- !!__props.virtualize ? (openBlock(), createBlock(Fragment, { key: 0 }, [
1720
- createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 0 })) : createCommentVNode("", true),
1721
- createVNode(unref(ComboboxVirtualizer), mergeProps({
1722
- options: filteredItems.value,
1723
- "text-content": (item2) => isSelectItem(item2) ? unref(get)(item2, props.labelKey) : String(item2)
1724
- }, virtualizerProps.value), {
1725
- default: withCtx(({ option: item, virtualItem }) => [
1726
- createVNode(unref(ReuseItemTemplate), {
1727
- item,
1728
- index: virtualItem.index
1729
- }, null, 8, ["item", "index"])
1730
- ]),
1731
- _: 1
1732
- }, 16, ["options", "text-content"]),
1733
- createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 1 })) : createCommentVNode("", true)
1734
- ], 64)) : (openBlock(), createBlock(Fragment, { key: 1 }, [
1735
- createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ComboboxGroup), {
1736
- key: 0,
1737
- "data-slot": "group",
1738
- class: ui.value.group({ class: (_c = props.ui) == null ? void 0 : _c.group })
1739
- }, {
1740
- default: withCtx(() => [
1741
- createVNode(unref(ReuseCreateItemTemplate))
1742
- ]),
1743
- _: 1
1744
- }, 8, ["class"])) : createCommentVNode("", true),
1745
- (openBlock(true), createBlock(Fragment, null, renderList(filteredGroups.value, (group, groupIndex) => {
1746
- var _a4;
1747
- return openBlock(), createBlock(unref(ComboboxGroup), {
1748
- key: `group-${groupIndex}`,
1749
- "data-slot": "group",
1750
- class: ui.value.group({ class: (_a4 = props.ui) == null ? void 0 : _a4.group })
1751
- }, {
1752
- default: withCtx(() => [
1753
- (openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
1754
- return openBlock(), createBlock(unref(ReuseItemTemplate), {
1755
- key: `group-${groupIndex}-${index}`,
1756
- item,
1757
- index
1758
- }, null, 8, ["item", "index"]);
1759
- }), 128))
1760
- ]),
1761
- _: 2
1762
- }, 1032, ["class"]);
1763
- }), 128)),
1764
- createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ComboboxGroup), {
1765
- key: 1,
1766
- "data-slot": "group",
1767
- class: ui.value.group({ class: (_d = props.ui) == null ? void 0 : _d.group })
1768
- }, {
1769
- default: withCtx(() => [
1770
- createVNode(unref(ReuseCreateItemTemplate))
1771
- ]),
1772
- _: 1
1773
- }, 8, ["class"])) : createCommentVNode("", true)
1774
- ], 64))
1775
- ], 2),
1776
- renderSlot(_ctx.$slots, "content-bottom")
1777
- ];
1778
- }),
1779
- _: 3
1780
- }, 8, ["class"]),
1781
- !!__props.arrow ? (openBlock(), createBlock(unref(ComboboxArrow), mergeProps({ key: 0 }, arrowProps.value, {
1782
- "data-slot": "arrow",
1783
- class: ui.value.arrow({ class: (_b2 = props.ui) == null ? void 0 : _b2.arrow })
1784
- }), null, 16, ["class"])) : createCommentVNode("", true)
1785
- ];
1786
- }),
1688
+ _: 1
1689
+ }, 8, ["class"])) : createCommentVNode("", true)
1690
+ ], 64))
1691
+ ], 2),
1692
+ renderSlot(_ctx.$slots, "content-bottom")
1693
+ ]),
1694
+ _: 3
1695
+ }, 8, ["class"]),
1696
+ !!__props.arrow ? (openBlock(), createBlock(unref(ComboboxArrow), mergeProps({ key: 0 }, arrowProps.value, {
1697
+ "data-slot": "arrow",
1698
+ class: ui.value.arrow({ class: props.ui?.arrow })
1699
+ }), null, 16, ["class"])) : createCommentVNode("", true)
1700
+ ]),
1787
1701
  _: 3
1788
1702
  }, 16, ["class"])
1789
1703
  ];
@@ -1794,227 +1708,201 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1794
1708
  } else {
1795
1709
  return [
1796
1710
  createVNode(unref(ComboboxAnchor), { "as-child": "" }, {
1797
- default: withCtx(() => {
1798
- var _a;
1799
- return [
1800
- createVNode(unref(ComboboxTrigger), {
1801
- ref_key: "triggerRef",
1802
- ref: triggerRef,
1803
- "data-slot": "base",
1804
- class: ui.value.base({ class: [(_a = props.ui) == null ? void 0 : _a.base, props.class] }),
1805
- tabindex: "0"
1806
- }, {
1807
- default: withCtx(() => {
1808
- var _a2, _b;
1809
- return [
1810
- unref(isLeading) || !!__props.avatar || !!slots.leading ? (openBlock(), createBlock("span", {
1711
+ default: withCtx(() => [
1712
+ createVNode(unref(ComboboxTrigger), {
1713
+ ref_key: "triggerRef",
1714
+ ref: triggerRef,
1715
+ "data-slot": "base",
1716
+ class: ui.value.base({ class: [props.ui?.base, props.class] }),
1717
+ tabindex: "0"
1718
+ }, {
1719
+ default: withCtx(() => [
1720
+ unref(isLeading) || !!__props.avatar || !!slots.leading ? (openBlock(), createBlock("span", {
1721
+ key: 0,
1722
+ "data-slot": "leading",
1723
+ class: ui.value.leading({ class: props.ui?.leading })
1724
+ }, [
1725
+ renderSlot(_ctx.$slots, "leading", {
1726
+ modelValue,
1727
+ open,
1728
+ ui: ui.value
1729
+ }, () => [
1730
+ unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
1811
1731
  key: 0,
1812
- "data-slot": "leading",
1813
- class: ui.value.leading({ class: (_a2 = props.ui) == null ? void 0 : _a2.leading })
1814
- }, [
1815
- renderSlot(_ctx.$slots, "leading", {
1816
- modelValue,
1817
- open,
1818
- ui: ui.value
1819
- }, () => {
1820
- var _a3, _b2, _c;
1821
- return [
1822
- unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
1823
- key: 0,
1824
- name: unref(leadingIconName),
1825
- "data-slot": "leadingIcon",
1826
- class: ui.value.leadingIcon({ class: (_a3 = props.ui) == null ? void 0 : _a3.leadingIcon })
1827
- }, null, 8, ["name", "class"])) : !!__props.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
1828
- key: 1,
1829
- size: ((_b2 = props.ui) == null ? void 0 : _b2.itemLeadingAvatarSize) || ui.value.itemLeadingAvatarSize()
1830
- }, __props.avatar, {
1831
- "data-slot": "itemLeadingAvatar",
1832
- class: ui.value.itemLeadingAvatar({ class: (_c = props.ui) == null ? void 0 : _c.itemLeadingAvatar })
1833
- }), null, 16, ["size", "class"])) : createCommentVNode("", true)
1834
- ];
1835
- })
1836
- ], 2)) : createCommentVNode("", true),
1837
- renderSlot(_ctx.$slots, "default", {
1838
- modelValue,
1839
- open,
1840
- ui: ui.value
1841
- }, () => [
1842
- (openBlock(true), createBlock(Fragment, null, renderList([displayValue(modelValue)], (displayedModelValue) => {
1843
- var _a3, _b2, _c;
1844
- return openBlock(), createBlock(Fragment, { key: displayedModelValue }, [
1845
- displayedModelValue !== void 0 && displayedModelValue !== null ? (openBlock(), createBlock("span", {
1846
- key: 0,
1847
- "data-slot": "value",
1848
- class: ui.value.value({ class: (_a3 = props.ui) == null ? void 0 : _a3.value })
1849
- }, toDisplayString(displayedModelValue), 3)) : (openBlock(), createBlock("span", {
1850
- key: 1,
1851
- "data-slot": "placeholder",
1852
- class: ui.value.placeholder({ class: (_b2 = props.ui) == null ? void 0 : _b2.placeholder })
1853
- }, toDisplayString((_c = __props.placeholder) != null ? _c : "\xA0"), 3))
1854
- ], 64);
1855
- }), 128))
1856
- ]),
1857
- unref(isTrailing) || !!slots.trailing ? (openBlock(), createBlock("span", {
1732
+ name: unref(leadingIconName),
1733
+ "data-slot": "leadingIcon",
1734
+ class: ui.value.leadingIcon({ class: props.ui?.leadingIcon })
1735
+ }, null, 8, ["name", "class"])) : !!__props.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
1858
1736
  key: 1,
1859
- "data-slot": "trailing",
1860
- class: ui.value.trailing({ class: (_b = props.ui) == null ? void 0 : _b.trailing })
1861
- }, [
1862
- renderSlot(_ctx.$slots, "trailing", {
1863
- modelValue,
1864
- open,
1865
- ui: ui.value
1866
- }, () => {
1867
- var _a3;
1868
- return [
1869
- unref(trailingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
1870
- key: 0,
1871
- name: unref(trailingIconName),
1872
- "data-slot": "trailingIcon",
1873
- class: ui.value.trailingIcon({ class: (_a3 = props.ui) == null ? void 0 : _a3.trailingIcon })
1874
- }, null, 8, ["name", "class"])) : createCommentVNode("", true)
1875
- ];
1876
- })
1877
- ], 2)) : createCommentVNode("", true)
1878
- ];
1879
- }),
1880
- _: 2
1881
- }, 1032, ["class"])
1882
- ];
1883
- }),
1737
+ size: props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
1738
+ }, __props.avatar, {
1739
+ "data-slot": "itemLeadingAvatar",
1740
+ class: ui.value.itemLeadingAvatar({ class: props.ui?.itemLeadingAvatar })
1741
+ }), null, 16, ["size", "class"])) : createCommentVNode("", true)
1742
+ ])
1743
+ ], 2)) : createCommentVNode("", true),
1744
+ renderSlot(_ctx.$slots, "default", {
1745
+ modelValue,
1746
+ open,
1747
+ ui: ui.value
1748
+ }, () => [
1749
+ (openBlock(true), createBlock(Fragment, null, renderList([displayValue(modelValue)], (displayedModelValue) => {
1750
+ return openBlock(), createBlock(Fragment, { key: displayedModelValue }, [
1751
+ displayedModelValue !== void 0 && displayedModelValue !== null ? (openBlock(), createBlock("span", {
1752
+ key: 0,
1753
+ "data-slot": "value",
1754
+ class: ui.value.value({ class: props.ui?.value })
1755
+ }, toDisplayString(displayedModelValue), 3)) : (openBlock(), createBlock("span", {
1756
+ key: 1,
1757
+ "data-slot": "placeholder",
1758
+ class: ui.value.placeholder({ class: props.ui?.placeholder })
1759
+ }, toDisplayString(__props.placeholder ?? " "), 3))
1760
+ ], 64);
1761
+ }), 128))
1762
+ ]),
1763
+ unref(isTrailing) || !!slots.trailing ? (openBlock(), createBlock("span", {
1764
+ key: 1,
1765
+ "data-slot": "trailing",
1766
+ class: ui.value.trailing({ class: props.ui?.trailing })
1767
+ }, [
1768
+ renderSlot(_ctx.$slots, "trailing", {
1769
+ modelValue,
1770
+ open,
1771
+ ui: ui.value
1772
+ }, () => [
1773
+ unref(trailingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
1774
+ key: 0,
1775
+ name: unref(trailingIconName),
1776
+ "data-slot": "trailingIcon",
1777
+ class: ui.value.trailingIcon({ class: props.ui?.trailingIcon })
1778
+ }, null, 8, ["name", "class"])) : createCommentVNode("", true)
1779
+ ])
1780
+ ], 2)) : createCommentVNode("", true)
1781
+ ]),
1782
+ _: 2
1783
+ }, 1032, ["class"])
1784
+ ]),
1884
1785
  _: 2
1885
1786
  }, 1024),
1886
1787
  createVNode(unref(ComboboxPortal), unref(portalProps), {
1887
- default: withCtx(() => {
1888
- var _a;
1889
- return [
1890
- createVNode(unref(ComboboxContent), mergeProps({
1891
- "data-slot": "content",
1892
- class: ui.value.content({ class: (_a = props.ui) == null ? void 0 : _a.content })
1893
- }, contentProps.value), {
1894
- default: withCtx(() => {
1895
- var _a2, _b;
1896
- return [
1897
- createVNode(unref(FocusScope), {
1898
- trapped: "",
1899
- "data-slot": "focusScope",
1900
- class: ui.value.focusScope({ class: (_a2 = props.ui) == null ? void 0 : _a2.focusScope })
1788
+ default: withCtx(() => [
1789
+ createVNode(unref(ComboboxContent), mergeProps({
1790
+ "data-slot": "content",
1791
+ class: ui.value.content({ class: props.ui?.content })
1792
+ }, contentProps.value), {
1793
+ default: withCtx(() => [
1794
+ createVNode(unref(FocusScope), {
1795
+ trapped: "",
1796
+ "data-slot": "focusScope",
1797
+ class: ui.value.focusScope({ class: props.ui?.focusScope })
1798
+ }, {
1799
+ default: withCtx(() => [
1800
+ renderSlot(_ctx.$slots, "content-top"),
1801
+ !!__props.searchInput ? (openBlock(), createBlock(unref(ComboboxInput), {
1802
+ key: 0,
1803
+ modelValue: searchTerm.value,
1804
+ "onUpdate:modelValue": ($event) => searchTerm.value = $event,
1805
+ "display-value": () => searchTerm.value,
1806
+ "as-child": ""
1901
1807
  }, {
1902
- default: withCtx(() => {
1903
- var _a3, _b2, _c, _d;
1904
- return [
1905
- renderSlot(_ctx.$slots, "content-top"),
1906
- !!__props.searchInput ? (openBlock(), createBlock(unref(ComboboxInput), {
1907
- key: 0,
1908
- modelValue: searchTerm.value,
1909
- "onUpdate:modelValue": ($event) => searchTerm.value = $event,
1910
- "display-value": () => searchTerm.value,
1911
- "as-child": ""
1912
- }, {
1913
- default: withCtx(() => {
1914
- var _a4;
1915
- return [
1916
- createVNode(_sfc_main$1, mergeProps({
1917
- autofocus: "",
1918
- autocomplete: "off",
1919
- size: __props.size
1920
- }, searchInputProps.value, {
1921
- "data-slot": "input",
1922
- class: ui.value.input({ class: (_a4 = props.ui) == null ? void 0 : _a4.input }),
1923
- onChange: withModifiers(() => {
1924
- }, ["stop"])
1925
- }), null, 16, ["size", "class", "onChange"])
1926
- ];
1927
- }),
1928
- _: 1
1929
- }, 8, ["modelValue", "onUpdate:modelValue", "display-value"])) : createCommentVNode("", true),
1930
- createVNode(unref(ComboboxEmpty), {
1931
- "data-slot": "empty",
1932
- class: ui.value.empty({ class: (_a3 = props.ui) == null ? void 0 : _a3.empty })
1808
+ default: withCtx(() => [
1809
+ createVNode(_sfc_main$1, mergeProps({
1810
+ autofocus: "",
1811
+ autocomplete: "off",
1812
+ size: __props.size
1813
+ }, searchInputProps.value, {
1814
+ "data-slot": "input",
1815
+ class: ui.value.input({ class: props.ui?.input }),
1816
+ onChange: withModifiers(() => {
1817
+ }, ["stop"])
1818
+ }), null, 16, ["size", "class", "onChange"])
1819
+ ]),
1820
+ _: 1
1821
+ }, 8, ["modelValue", "onUpdate:modelValue", "display-value"])) : createCommentVNode("", true),
1822
+ createVNode(unref(ComboboxEmpty), {
1823
+ "data-slot": "empty",
1824
+ class: ui.value.empty({ class: props.ui?.empty })
1825
+ }, {
1826
+ default: withCtx(() => [
1827
+ renderSlot(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => [
1828
+ createTextVNode(toDisplayString(searchTerm.value ? unref(t)("selectMenu.noMatch", { searchTerm: searchTerm.value }) : unref(t)("selectMenu.noData")), 1)
1829
+ ])
1830
+ ]),
1831
+ _: 3
1832
+ }, 8, ["class"]),
1833
+ createVNode("div", {
1834
+ role: "presentation",
1835
+ "data-slot": "viewport",
1836
+ class: ui.value.viewport({ class: props.ui?.viewport })
1837
+ }, [
1838
+ !!__props.virtualize ? (openBlock(), createBlock(Fragment, { key: 0 }, [
1839
+ createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 0 })) : createCommentVNode("", true),
1840
+ createVNode(unref(ComboboxVirtualizer), mergeProps({
1841
+ options: filteredItems.value,
1842
+ "text-content": (item2) => isSelectItem(item2) ? unref(get)(item2, props.labelKey) : String(item2)
1843
+ }, virtualizerProps.value), {
1844
+ default: withCtx(({ option: item, virtualItem }) => [
1845
+ createVNode(unref(ReuseItemTemplate), {
1846
+ item,
1847
+ index: virtualItem.index
1848
+ }, null, 8, ["item", "index"])
1849
+ ]),
1850
+ _: 1
1851
+ }, 16, ["options", "text-content"]),
1852
+ createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 1 })) : createCommentVNode("", true)
1853
+ ], 64)) : (openBlock(), createBlock(Fragment, { key: 1 }, [
1854
+ createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ComboboxGroup), {
1855
+ key: 0,
1856
+ "data-slot": "group",
1857
+ class: ui.value.group({ class: props.ui?.group })
1858
+ }, {
1859
+ default: withCtx(() => [
1860
+ createVNode(unref(ReuseCreateItemTemplate))
1861
+ ]),
1862
+ _: 1
1863
+ }, 8, ["class"])) : createCommentVNode("", true),
1864
+ (openBlock(true), createBlock(Fragment, null, renderList(filteredGroups.value, (group, groupIndex) => {
1865
+ return openBlock(), createBlock(unref(ComboboxGroup), {
1866
+ key: `group-${groupIndex}`,
1867
+ "data-slot": "group",
1868
+ class: ui.value.group({ class: props.ui?.group })
1933
1869
  }, {
1934
1870
  default: withCtx(() => [
1935
- renderSlot(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => [
1936
- createTextVNode(toDisplayString(searchTerm.value ? unref(t)("selectMenu.noMatch", { searchTerm: searchTerm.value }) : unref(t)("selectMenu.noData")), 1)
1937
- ])
1871
+ (openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
1872
+ return openBlock(), createBlock(unref(ReuseItemTemplate), {
1873
+ key: `group-${groupIndex}-${index}`,
1874
+ item,
1875
+ index
1876
+ }, null, 8, ["item", "index"]);
1877
+ }), 128))
1938
1878
  ]),
1939
- _: 3
1940
- }, 8, ["class"]),
1941
- createVNode("div", {
1942
- role: "presentation",
1943
- "data-slot": "viewport",
1944
- class: ui.value.viewport({ class: (_b2 = props.ui) == null ? void 0 : _b2.viewport })
1945
- }, [
1946
- !!__props.virtualize ? (openBlock(), createBlock(Fragment, { key: 0 }, [
1947
- createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 0 })) : createCommentVNode("", true),
1948
- createVNode(unref(ComboboxVirtualizer), mergeProps({
1949
- options: filteredItems.value,
1950
- "text-content": (item2) => isSelectItem(item2) ? unref(get)(item2, props.labelKey) : String(item2)
1951
- }, virtualizerProps.value), {
1952
- default: withCtx(({ option: item, virtualItem }) => [
1953
- createVNode(unref(ReuseItemTemplate), {
1954
- item,
1955
- index: virtualItem.index
1956
- }, null, 8, ["item", "index"])
1957
- ]),
1958
- _: 1
1959
- }, 16, ["options", "text-content"]),
1960
- createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 1 })) : createCommentVNode("", true)
1961
- ], 64)) : (openBlock(), createBlock(Fragment, { key: 1 }, [
1962
- createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ComboboxGroup), {
1963
- key: 0,
1964
- "data-slot": "group",
1965
- class: ui.value.group({ class: (_c = props.ui) == null ? void 0 : _c.group })
1966
- }, {
1967
- default: withCtx(() => [
1968
- createVNode(unref(ReuseCreateItemTemplate))
1969
- ]),
1970
- _: 1
1971
- }, 8, ["class"])) : createCommentVNode("", true),
1972
- (openBlock(true), createBlock(Fragment, null, renderList(filteredGroups.value, (group, groupIndex) => {
1973
- var _a4;
1974
- return openBlock(), createBlock(unref(ComboboxGroup), {
1975
- key: `group-${groupIndex}`,
1976
- "data-slot": "group",
1977
- class: ui.value.group({ class: (_a4 = props.ui) == null ? void 0 : _a4.group })
1978
- }, {
1979
- default: withCtx(() => [
1980
- (openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
1981
- return openBlock(), createBlock(unref(ReuseItemTemplate), {
1982
- key: `group-${groupIndex}-${index}`,
1983
- item,
1984
- index
1985
- }, null, 8, ["item", "index"]);
1986
- }), 128))
1987
- ]),
1988
- _: 2
1989
- }, 1032, ["class"]);
1990
- }), 128)),
1991
- createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ComboboxGroup), {
1992
- key: 1,
1993
- "data-slot": "group",
1994
- class: ui.value.group({ class: (_d = props.ui) == null ? void 0 : _d.group })
1995
- }, {
1996
- default: withCtx(() => [
1997
- createVNode(unref(ReuseCreateItemTemplate))
1998
- ]),
1999
- _: 1
2000
- }, 8, ["class"])) : createCommentVNode("", true)
2001
- ], 64))
2002
- ], 2),
2003
- renderSlot(_ctx.$slots, "content-bottom")
2004
- ];
2005
- }),
2006
- _: 3
2007
- }, 8, ["class"]),
2008
- !!__props.arrow ? (openBlock(), createBlock(unref(ComboboxArrow), mergeProps({ key: 0 }, arrowProps.value, {
2009
- "data-slot": "arrow",
2010
- class: ui.value.arrow({ class: (_b = props.ui) == null ? void 0 : _b.arrow })
2011
- }), null, 16, ["class"])) : createCommentVNode("", true)
2012
- ];
2013
- }),
2014
- _: 3
2015
- }, 16, ["class"])
2016
- ];
2017
- }),
1879
+ _: 2
1880
+ }, 1032, ["class"]);
1881
+ }), 128)),
1882
+ createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ComboboxGroup), {
1883
+ key: 1,
1884
+ "data-slot": "group",
1885
+ class: ui.value.group({ class: props.ui?.group })
1886
+ }, {
1887
+ default: withCtx(() => [
1888
+ createVNode(unref(ReuseCreateItemTemplate))
1889
+ ]),
1890
+ _: 1
1891
+ }, 8, ["class"])) : createCommentVNode("", true)
1892
+ ], 64))
1893
+ ], 2),
1894
+ renderSlot(_ctx.$slots, "content-bottom")
1895
+ ]),
1896
+ _: 3
1897
+ }, 8, ["class"]),
1898
+ !!__props.arrow ? (openBlock(), createBlock(unref(ComboboxArrow), mergeProps({ key: 0 }, arrowProps.value, {
1899
+ "data-slot": "arrow",
1900
+ class: ui.value.arrow({ class: props.ui?.arrow })
1901
+ }), null, 16, ["class"])) : createCommentVNode("", true)
1902
+ ]),
1903
+ _: 3
1904
+ }, 16, ["class"])
1905
+ ]),
2018
1906
  _: 3
2019
1907
  }, 16)
2020
1908
  ];