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
@@ -382,24 +382,18 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
382
382
  const { orientation, size: fieldGroupSize } = useFieldGroup(props);
383
383
  const { isLeading, isTrailing, leadingIconName, trailingIconName } = useComponentIcons(toRef(() => defu(props, { trailingIcon: appConfig.ui.icons.chevronDown })));
384
384
  const selectSize = computed(() => fieldGroupSize.value || formGroupSize.value);
385
- const ui = computed(() => {
386
- var _a;
387
- return tv({ extend: tv(theme), ...((_a = appConfig.ui) == null ? void 0 : _a.select) || {} })({
388
- color: color.value,
389
- variant: props.variant,
390
- size: selectSize == null ? void 0 : selectSize.value,
391
- loading: props.loading,
392
- highlight: highlight.value,
393
- leading: isLeading.value || !!props.avatar || !!slots.leading,
394
- trailing: isTrailing.value || !!slots.trailing,
395
- fieldGroup: orientation.value
396
- });
397
- });
385
+ const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.select || {} })({
386
+ color: color.value,
387
+ variant: props.variant,
388
+ size: selectSize?.value,
389
+ loading: props.loading,
390
+ highlight: highlight.value,
391
+ leading: isLeading.value || !!props.avatar || !!slots.leading,
392
+ trailing: isTrailing.value || !!slots.trailing,
393
+ fieldGroup: orientation.value
394
+ }));
398
395
  const groups = computed(
399
- () => {
400
- var _a;
401
- return ((_a = props.items) == null ? void 0 : _a.length) ? isArrayOfArray(props.items) ? props.items : [props.items] : [];
402
- }
396
+ () => props.items?.length ? isArrayOfArray(props.items) ? props.items : [props.items] : []
403
397
  );
404
398
  const items = computed(() => groups.value.flatMap((group) => group));
405
399
  function displayValue(value) {
@@ -417,18 +411,17 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
417
411
  }
418
412
  const triggerRef = useTemplateRef("triggerRef");
419
413
  function onUpdate(value) {
420
- var _a, _b, _c, _d, _e;
421
- if ((_a = props.modelModifiers) == null ? void 0 : _a.trim) {
422
- value = (_b = value == null ? void 0 : value.trim()) != null ? _b : null;
414
+ if (props.modelModifiers?.trim) {
415
+ value = value?.trim() ?? null;
423
416
  }
424
- if ((_c = props.modelModifiers) == null ? void 0 : _c.number) {
417
+ if (props.modelModifiers?.number) {
425
418
  value = looseToNumber(value);
426
419
  }
427
- if ((_d = props.modelModifiers) == null ? void 0 : _d.nullable) {
428
- value != null ? value : value = null;
420
+ if (props.modelModifiers?.nullable) {
421
+ value ??= null;
429
422
  }
430
- if ((_e = props.modelModifiers) == null ? void 0 : _e.optional) {
431
- value != null ? value : value = void 0;
423
+ if (props.modelModifiers?.optional) {
424
+ value ??= void 0;
432
425
  }
433
426
  const event = new Event("change", { target: { value } });
434
427
  emits("change", event);
@@ -450,10 +443,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
450
443
  return typeof item === "object" && item !== null;
451
444
  }
452
445
  __expose({
453
- triggerRef: toRef(() => {
454
- var _a;
455
- return (_a = triggerRef.value) == null ? void 0 : _a.$el;
456
- })
446
+ triggerRef: toRef(() => triggerRef.value?.$el)
457
447
  });
458
448
  return (_ctx, _push, _parent, _attrs) => {
459
449
  _push(ssrRenderComponent(unref(SelectRoot), mergeProps({ name: unref(name) }, unref(rootProps), {
@@ -465,38 +455,35 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
465
455
  "onUpdate:open": onUpdateOpen
466
456
  }, _attrs), {
467
457
  default: withCtx(({ modelValue, open }, _push2, _parent2, _scopeId) => {
468
- var _a, _b;
469
458
  if (_push2) {
470
459
  _push2(ssrRenderComponent(unref(SelectTrigger), mergeProps({
471
460
  id: unref(id),
472
461
  ref_key: "triggerRef",
473
462
  ref: triggerRef,
474
463
  "data-slot": "base",
475
- class: ui.value.base({ class: [(_a = props.ui) == null ? void 0 : _a.base, props.class] })
464
+ class: ui.value.base({ class: [props.ui?.base, props.class] })
476
465
  }, { ..._ctx.$attrs, ...unref(ariaAttrs) }), {
477
466
  default: withCtx((_, _push3, _parent3, _scopeId2) => {
478
- var _a2, _b2, _c, _d;
479
467
  if (_push3) {
480
468
  if (unref(isLeading) || !!__props.avatar || !!slots.leading) {
481
- _push3(`<span data-slot="leading" class="${ssrRenderClass(ui.value.leading({ class: (_a2 = props.ui) == null ? void 0 : _a2.leading }))}"${_scopeId2}>`);
469
+ _push3(`<span data-slot="leading" class="${ssrRenderClass(ui.value.leading({ class: props.ui?.leading }))}"${_scopeId2}>`);
482
470
  ssrRenderSlot(_ctx.$slots, "leading", {
483
471
  modelValue,
484
472
  open,
485
473
  ui: ui.value
486
474
  }, () => {
487
- var _a3, _b3, _c2;
488
475
  if (unref(isLeading) && unref(leadingIconName)) {
489
476
  _push3(ssrRenderComponent(_sfc_main$d, {
490
477
  name: unref(leadingIconName),
491
478
  "data-slot": "leadingIcon",
492
- class: ui.value.leadingIcon({ class: (_a3 = props.ui) == null ? void 0 : _a3.leadingIcon })
479
+ class: ui.value.leadingIcon({ class: props.ui?.leadingIcon })
493
480
  }, null, _parent3, _scopeId2));
494
481
  } else if (!!__props.avatar) {
495
482
  _push3(ssrRenderComponent(_sfc_main$b, mergeProps({
496
- size: ((_b3 = props.ui) == null ? void 0 : _b3.itemLeadingAvatarSize) || ui.value.itemLeadingAvatarSize()
483
+ size: props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
497
484
  }, __props.avatar, {
498
485
  "data-slot": "itemLeadingAvatar",
499
- class: ui.value.itemLeadingAvatar({ class: (_c2 = props.ui) == null ? void 0 : _c2.itemLeadingAvatar })
486
+ class: ui.value.itemLeadingAvatar({ class: props.ui?.itemLeadingAvatar })
500
487
  }), null, _parent3, _scopeId2));
501
488
  } else {
502
489
  _push3(`<!---->`);
@@ -513,30 +500,28 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
513
500
  }, () => {
514
501
  _push3(`<!--[-->`);
515
502
  ssrRenderList([displayValue(modelValue)], (displayedModelValue) => {
516
- var _a3, _b3, _c2;
517
503
  _push3(`<!--[-->`);
518
504
  if (displayedModelValue !== void 0 && displayedModelValue !== null) {
519
- _push3(`<span data-slot="value" class="${ssrRenderClass(ui.value.value({ class: (_a3 = props.ui) == null ? void 0 : _a3.value }))}"${_scopeId2}>${ssrInterpolate(displayedModelValue)}</span>`);
505
+ _push3(`<span data-slot="value" class="${ssrRenderClass(ui.value.value({ class: props.ui?.value }))}"${_scopeId2}>${ssrInterpolate(displayedModelValue)}</span>`);
520
506
  } else {
521
- _push3(`<span data-slot="placeholder" class="${ssrRenderClass(ui.value.placeholder({ class: (_b3 = props.ui) == null ? void 0 : _b3.placeholder }))}"${_scopeId2}>${ssrInterpolate((_c2 = __props.placeholder) != null ? _c2 : "\xA0")}</span>`);
507
+ _push3(`<span data-slot="placeholder" class="${ssrRenderClass(ui.value.placeholder({ class: props.ui?.placeholder }))}"${_scopeId2}>${ssrInterpolate(__props.placeholder ?? " ")}</span>`);
522
508
  }
523
509
  _push3(`<!--]-->`);
524
510
  });
525
511
  _push3(`<!--]-->`);
526
512
  }, _push3, _parent3, _scopeId2);
527
513
  if (unref(isTrailing) || !!slots.trailing) {
528
- _push3(`<span data-slot="trailing" class="${ssrRenderClass(ui.value.trailing({ class: (_b2 = props.ui) == null ? void 0 : _b2.trailing }))}"${_scopeId2}>`);
514
+ _push3(`<span data-slot="trailing" class="${ssrRenderClass(ui.value.trailing({ class: props.ui?.trailing }))}"${_scopeId2}>`);
529
515
  ssrRenderSlot(_ctx.$slots, "trailing", {
530
516
  modelValue,
531
517
  open,
532
518
  ui: ui.value
533
519
  }, () => {
534
- var _a3;
535
520
  if (unref(trailingIconName)) {
536
521
  _push3(ssrRenderComponent(_sfc_main$d, {
537
522
  name: unref(trailingIconName),
538
523
  "data-slot": "trailingIcon",
539
- class: ui.value.trailingIcon({ class: (_a3 = props.ui) == null ? void 0 : _a3.trailingIcon })
524
+ class: ui.value.trailingIcon({ class: props.ui?.trailingIcon })
540
525
  }, null, _parent3, _scopeId2));
541
526
  } else {
542
527
  _push3(`<!---->`);
@@ -551,29 +536,26 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
551
536
  unref(isLeading) || !!__props.avatar || !!slots.leading ? (openBlock(), createBlock("span", {
552
537
  key: 0,
553
538
  "data-slot": "leading",
554
- class: ui.value.leading({ class: (_c = props.ui) == null ? void 0 : _c.leading })
539
+ class: ui.value.leading({ class: props.ui?.leading })
555
540
  }, [
556
541
  renderSlot(_ctx.$slots, "leading", {
557
542
  modelValue,
558
543
  open,
559
544
  ui: ui.value
560
- }, () => {
561
- var _a3, _b3, _c2;
562
- return [
563
- unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
564
- key: 0,
565
- name: unref(leadingIconName),
566
- "data-slot": "leadingIcon",
567
- class: ui.value.leadingIcon({ class: (_a3 = props.ui) == null ? void 0 : _a3.leadingIcon })
568
- }, null, 8, ["name", "class"])) : !!__props.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
569
- key: 1,
570
- size: ((_b3 = props.ui) == null ? void 0 : _b3.itemLeadingAvatarSize) || ui.value.itemLeadingAvatarSize()
571
- }, __props.avatar, {
572
- "data-slot": "itemLeadingAvatar",
573
- class: ui.value.itemLeadingAvatar({ class: (_c2 = props.ui) == null ? void 0 : _c2.itemLeadingAvatar })
574
- }), null, 16, ["size", "class"])) : createCommentVNode("", true)
575
- ];
576
- })
545
+ }, () => [
546
+ unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
547
+ key: 0,
548
+ name: unref(leadingIconName),
549
+ "data-slot": "leadingIcon",
550
+ class: ui.value.leadingIcon({ class: props.ui?.leadingIcon })
551
+ }, null, 8, ["name", "class"])) : !!__props.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
552
+ key: 1,
553
+ size: props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
554
+ }, __props.avatar, {
555
+ "data-slot": "itemLeadingAvatar",
556
+ class: ui.value.itemLeadingAvatar({ class: props.ui?.itemLeadingAvatar })
557
+ }), null, 16, ["size", "class"])) : createCommentVNode("", true)
558
+ ])
577
559
  ], 2)) : createCommentVNode("", true),
578
560
  renderSlot(_ctx.$slots, "default", {
579
561
  modelValue,
@@ -581,40 +563,36 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
581
563
  ui: ui.value
582
564
  }, () => [
583
565
  (openBlock(true), createBlock(Fragment, null, renderList([displayValue(modelValue)], (displayedModelValue) => {
584
- var _a3, _b3, _c2;
585
566
  return openBlock(), createBlock(Fragment, { key: displayedModelValue }, [
586
567
  displayedModelValue !== void 0 && displayedModelValue !== null ? (openBlock(), createBlock("span", {
587
568
  key: 0,
588
569
  "data-slot": "value",
589
- class: ui.value.value({ class: (_a3 = props.ui) == null ? void 0 : _a3.value })
570
+ class: ui.value.value({ class: props.ui?.value })
590
571
  }, toDisplayString(displayedModelValue), 3)) : (openBlock(), createBlock("span", {
591
572
  key: 1,
592
573
  "data-slot": "placeholder",
593
- class: ui.value.placeholder({ class: (_b3 = props.ui) == null ? void 0 : _b3.placeholder })
594
- }, toDisplayString((_c2 = __props.placeholder) != null ? _c2 : "\xA0"), 3))
574
+ class: ui.value.placeholder({ class: props.ui?.placeholder })
575
+ }, toDisplayString(__props.placeholder ?? " "), 3))
595
576
  ], 64);
596
577
  }), 128))
597
578
  ]),
598
579
  unref(isTrailing) || !!slots.trailing ? (openBlock(), createBlock("span", {
599
580
  key: 1,
600
581
  "data-slot": "trailing",
601
- class: ui.value.trailing({ class: (_d = props.ui) == null ? void 0 : _d.trailing })
582
+ class: ui.value.trailing({ class: props.ui?.trailing })
602
583
  }, [
603
584
  renderSlot(_ctx.$slots, "trailing", {
604
585
  modelValue,
605
586
  open,
606
587
  ui: ui.value
607
- }, () => {
608
- var _a3;
609
- return [
610
- unref(trailingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
611
- key: 0,
612
- name: unref(trailingIconName),
613
- "data-slot": "trailingIcon",
614
- class: ui.value.trailingIcon({ class: (_a3 = props.ui) == null ? void 0 : _a3.trailingIcon })
615
- }, null, 8, ["name", "class"])) : createCommentVNode("", true)
616
- ];
617
- })
588
+ }, () => [
589
+ unref(trailingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
590
+ key: 0,
591
+ name: unref(trailingIconName),
592
+ "data-slot": "trailingIcon",
593
+ class: ui.value.trailingIcon({ class: props.ui?.trailingIcon })
594
+ }, null, 8, ["name", "class"])) : createCommentVNode("", true)
595
+ ])
618
596
  ], 2)) : createCommentVNode("", true)
619
597
  ];
620
598
  }
@@ -623,34 +601,30 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
623
601
  }, _parent2, _scopeId));
624
602
  _push2(ssrRenderComponent(unref(SelectPortal), unref(portalProps), {
625
603
  default: withCtx((_, _push3, _parent3, _scopeId2) => {
626
- var _a2, _b2;
627
604
  if (_push3) {
628
605
  _push3(ssrRenderComponent(unref(SelectContent), mergeProps({
629
606
  "data-slot": "content",
630
- class: ui.value.content({ class: (_a2 = props.ui) == null ? void 0 : _a2.content })
607
+ class: ui.value.content({ class: props.ui?.content })
631
608
  }, contentProps.value), {
632
609
  default: withCtx((_2, _push4, _parent4, _scopeId3) => {
633
- var _a3, _b3, _c, _d;
634
610
  if (_push4) {
635
611
  ssrRenderSlot(_ctx.$slots, "content-top", {}, null, _push4, _parent4, _scopeId3);
636
- _push4(`<div role="presentation" data-slot="viewport" class="${ssrRenderClass(ui.value.viewport({ class: (_a3 = props.ui) == null ? void 0 : _a3.viewport }))}"${_scopeId3}><!--[-->`);
612
+ _push4(`<div role="presentation" data-slot="viewport" class="${ssrRenderClass(ui.value.viewport({ class: props.ui?.viewport }))}"${_scopeId3}><!--[-->`);
637
613
  ssrRenderList(groups.value, (group, groupIndex) => {
638
- var _a4;
639
614
  _push4(ssrRenderComponent(unref(SelectGroup), {
640
615
  key: `group-${groupIndex}`,
641
616
  "data-slot": "group",
642
- class: ui.value.group({ class: (_a4 = props.ui) == null ? void 0 : _a4.group })
617
+ class: ui.value.group({ class: props.ui?.group })
643
618
  }, {
644
619
  default: withCtx((_3, _push5, _parent5, _scopeId4) => {
645
620
  if (_push5) {
646
621
  _push5(`<!--[-->`);
647
622
  ssrRenderList(group, (item, index) => {
648
- var _a5, _b4, _c2, _d2, _e, _f;
649
623
  _push5(`<!--[-->`);
650
624
  if (isSelectItem(item) && item.type === "label") {
651
625
  _push5(ssrRenderComponent(unref(SelectLabel), {
652
626
  "data-slot": "label",
653
- class: ui.value.label({ class: [(_a5 = props.ui) == null ? void 0 : _a5.label, (_b4 = item.ui) == null ? void 0 : _b4.label, item.class] })
627
+ class: ui.value.label({ class: [props.ui?.label, item.ui?.label, item.class] })
654
628
  }, {
655
629
  default: withCtx((_4, _push6, _parent6, _scopeId5) => {
656
630
  if (_push6) {
@@ -666,18 +640,15 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
666
640
  } else if (isSelectItem(item) && item.type === "separator") {
667
641
  _push5(ssrRenderComponent(unref(SelectSeparator), {
668
642
  "data-slot": "separator",
669
- class: ui.value.separator({ class: [(_c2 = props.ui) == null ? void 0 : _c2.separator, (_d2 = item.ui) == null ? void 0 : _d2.separator, item.class] })
643
+ class: ui.value.separator({ class: [props.ui?.separator, item.ui?.separator, item.class] })
670
644
  }, null, _parent5, _scopeId4));
671
645
  } else {
672
646
  _push5(ssrRenderComponent(unref(SelectItem), {
673
647
  "data-slot": "item",
674
- 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] }),
648
+ class: ui.value.item({ class: [props.ui?.item, isSelectItem(item) && item.ui?.item, isSelectItem(item) && item.class] }),
675
649
  disabled: isSelectItem(item) && item.disabled,
676
650
  value: isSelectItem(item) ? unref(get)(item, props.valueKey) : item,
677
- onSelect: ($event) => {
678
- var _a6;
679
- return isSelectItem(item) && ((_a6 = item.onSelect) == null ? void 0 : _a6.call(item, $event));
680
- }
651
+ onSelect: ($event) => isSelectItem(item) && item.onSelect?.($event)
681
652
  }, {
682
653
  default: withCtx((_4, _push6, _parent6, _scopeId5) => {
683
654
  if (_push6) {
@@ -686,43 +657,41 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
686
657
  index,
687
658
  ui: ui.value
688
659
  }, () => {
689
- var _a6, _b5, _c3, _d3, _e2, _f2, _g, _h;
690
660
  ssrRenderSlot(_ctx.$slots, "item-leading", {
691
661
  item,
692
662
  index,
693
663
  ui: ui.value
694
664
  }, () => {
695
- var _a7, _b6, _c4, _d4, _e3, _f3, _g2, _h2, _i, _j;
696
665
  if (isSelectItem(item) && item.icon) {
697
666
  _push6(ssrRenderComponent(_sfc_main$d, {
698
667
  name: item.icon,
699
668
  "data-slot": "itemLeadingIcon",
700
- class: ui.value.itemLeadingIcon({ class: [(_a7 = props.ui) == null ? void 0 : _a7.itemLeadingIcon, (_b6 = item.ui) == null ? void 0 : _b6.itemLeadingIcon] })
669
+ class: ui.value.itemLeadingIcon({ class: [props.ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
701
670
  }, null, _parent6, _scopeId5));
702
671
  } else if (isSelectItem(item) && item.avatar) {
703
672
  _push6(ssrRenderComponent(_sfc_main$b, mergeProps({
704
- size: ((_c4 = item.ui) == null ? void 0 : _c4.itemLeadingAvatarSize) || ((_d4 = props.ui) == null ? void 0 : _d4.itemLeadingAvatarSize) || ui.value.itemLeadingAvatarSize()
673
+ size: item.ui?.itemLeadingAvatarSize || props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
705
674
  }, { ref_for: true }, item.avatar, {
706
675
  "data-slot": "itemLeadingAvatar",
707
- class: ui.value.itemLeadingAvatar({ class: [(_e3 = props.ui) == null ? void 0 : _e3.itemLeadingAvatar, (_f3 = item.ui) == null ? void 0 : _f3.itemLeadingAvatar] })
676
+ class: ui.value.itemLeadingAvatar({ class: [props.ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
708
677
  }), null, _parent6, _scopeId5));
709
678
  } else if (isSelectItem(item) && item.chip) {
710
679
  _push6(ssrRenderComponent(_sfc_main$c, mergeProps({
711
- size: ((_g2 = item.ui) == null ? void 0 : _g2.itemLeadingChipSize) || ((_h2 = props.ui) == null ? void 0 : _h2.itemLeadingChipSize) || ui.value.itemLeadingChipSize(),
680
+ size: item.ui?.itemLeadingChipSize || props.ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
712
681
  inset: "",
713
682
  standalone: ""
714
683
  }, { ref_for: true }, item.chip, {
715
684
  "data-slot": "itemLeadingChip",
716
- class: ui.value.itemLeadingChip({ class: [(_i = props.ui) == null ? void 0 : _i.itemLeadingChip, (_j = item.ui) == null ? void 0 : _j.itemLeadingChip] })
685
+ class: ui.value.itemLeadingChip({ class: [props.ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
717
686
  }), null, _parent6, _scopeId5));
718
687
  } else {
719
688
  _push6(`<!---->`);
720
689
  }
721
690
  }, _push6, _parent6, _scopeId5);
722
- _push6(`<span data-slot="itemWrapper" class="${ssrRenderClass(ui.value.itemWrapper({ class: [(_a6 = props.ui) == null ? void 0 : _a6.itemWrapper, isSelectItem(item) && ((_b5 = item.ui) == null ? void 0 : _b5.itemWrapper)] }))}"${_scopeId5}>`);
691
+ _push6(`<span data-slot="itemWrapper" class="${ssrRenderClass(ui.value.itemWrapper({ class: [props.ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] }))}"${_scopeId5}>`);
723
692
  _push6(ssrRenderComponent(unref(SelectItemText), {
724
693
  "data-slot": "itemLabel",
725
- class: ui.value.itemLabel({ class: [(_c3 = props.ui) == null ? void 0 : _c3.itemLabel, isSelectItem(item) && ((_d3 = item.ui) == null ? void 0 : _d3.itemLabel)] })
694
+ class: ui.value.itemLabel({ class: [props.ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
726
695
  }, {
727
696
  default: withCtx((_5, _push7, _parent7, _scopeId6) => {
728
697
  if (_push7) {
@@ -746,7 +715,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
746
715
  _: 2
747
716
  }, _parent6, _scopeId5));
748
717
  if (isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"])) {
749
- _push6(`<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)] }))}"${_scopeId5}>`);
718
+ _push6(`<span data-slot="itemDescription" class="${ssrRenderClass(ui.value.itemDescription({ class: [props.ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] }))}"${_scopeId5}>`);
750
719
  ssrRenderSlot(_ctx.$slots, "item-description", {
751
720
  item,
752
721
  index
@@ -757,7 +726,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
757
726
  } else {
758
727
  _push6(`<!---->`);
759
728
  }
760
- _push6(`</span><span data-slot="itemTrailing" class="${ssrRenderClass(ui.value.itemTrailing({ class: [(_g = props.ui) == null ? void 0 : _g.itemTrailing, isSelectItem(item) && ((_h = item.ui) == null ? void 0 : _h.itemTrailing)] }))}"${_scopeId5}>`);
729
+ _push6(`</span><span data-slot="itemTrailing" class="${ssrRenderClass(ui.value.itemTrailing({ class: [props.ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] }))}"${_scopeId5}>`);
761
730
  ssrRenderSlot(_ctx.$slots, "item-trailing", {
762
731
  item,
763
732
  index,
@@ -765,19 +734,18 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
765
734
  }, null, _push6, _parent6, _scopeId5);
766
735
  _push6(ssrRenderComponent(unref(SelectItemIndicator), { "as-child": "" }, {
767
736
  default: withCtx((_5, _push7, _parent7, _scopeId6) => {
768
- var _a7, _b6, _c4, _d4;
769
737
  if (_push7) {
770
738
  _push7(ssrRenderComponent(_sfc_main$d, {
771
739
  name: __props.selectedIcon || unref(appConfig).ui.icons.check,
772
740
  "data-slot": "itemTrailingIcon",
773
- class: ui.value.itemTrailingIcon({ class: [(_a7 = props.ui) == null ? void 0 : _a7.itemTrailingIcon, isSelectItem(item) && ((_b6 = item.ui) == null ? void 0 : _b6.itemTrailingIcon)] })
741
+ class: ui.value.itemTrailingIcon({ class: [props.ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
774
742
  }, null, _parent7, _scopeId6));
775
743
  } else {
776
744
  return [
777
745
  createVNode(_sfc_main$d, {
778
746
  name: __props.selectedIcon || unref(appConfig).ui.icons.check,
779
747
  "data-slot": "itemTrailingIcon",
780
- class: ui.value.itemTrailingIcon({ class: [(_c4 = props.ui) == null ? void 0 : _c4.itemTrailingIcon, isSelectItem(item) && ((_d4 = item.ui) == null ? void 0 : _d4.itemTrailingIcon)] })
748
+ class: ui.value.itemTrailingIcon({ class: [props.ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
781
749
  }, null, 8, ["name", "class"])
782
750
  ];
783
751
  }
@@ -792,94 +760,85 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
792
760
  item,
793
761
  index,
794
762
  ui: ui.value
795
- }, () => {
796
- var _a6, _b5, _c3, _d3, _e2, _f2, _g, _h;
797
- return [
798
- renderSlot(_ctx.$slots, "item-leading", {
799
- item,
800
- index,
801
- ui: ui.value
802
- }, () => {
803
- var _a7, _b6, _c4, _d4, _e3, _f3, _g2, _h2, _i, _j;
804
- return [
805
- isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$d, {
806
- key: 0,
807
- name: item.icon,
808
- "data-slot": "itemLeadingIcon",
809
- class: ui.value.itemLeadingIcon({ class: [(_a7 = props.ui) == null ? void 0 : _a7.itemLeadingIcon, (_b6 = item.ui) == null ? void 0 : _b6.itemLeadingIcon] })
810
- }, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
811
- key: 1,
812
- size: ((_c4 = item.ui) == null ? void 0 : _c4.itemLeadingAvatarSize) || ((_d4 = props.ui) == null ? void 0 : _d4.itemLeadingAvatarSize) || ui.value.itemLeadingAvatarSize()
813
- }, { ref_for: true }, item.avatar, {
814
- "data-slot": "itemLeadingAvatar",
815
- class: ui.value.itemLeadingAvatar({ class: [(_e3 = props.ui) == null ? void 0 : _e3.itemLeadingAvatar, (_f3 = item.ui) == null ? void 0 : _f3.itemLeadingAvatar] })
816
- }), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
817
- key: 2,
818
- size: ((_g2 = item.ui) == null ? void 0 : _g2.itemLeadingChipSize) || ((_h2 = props.ui) == null ? void 0 : _h2.itemLeadingChipSize) || ui.value.itemLeadingChipSize(),
819
- inset: "",
820
- standalone: ""
821
- }, { ref_for: true }, item.chip, {
822
- "data-slot": "itemLeadingChip",
823
- class: ui.value.itemLeadingChip({ class: [(_i = props.ui) == null ? void 0 : _i.itemLeadingChip, (_j = item.ui) == null ? void 0 : _j.itemLeadingChip] })
824
- }), null, 16, ["size", "class"])) : createCommentVNode("", true)
825
- ];
826
- }),
827
- createVNode("span", {
828
- "data-slot": "itemWrapper",
829
- class: ui.value.itemWrapper({ class: [(_a6 = props.ui) == null ? void 0 : _a6.itemWrapper, isSelectItem(item) && ((_b5 = item.ui) == null ? void 0 : _b5.itemWrapper)] })
830
- }, [
831
- createVNode(unref(SelectItemText), {
832
- "data-slot": "itemLabel",
833
- class: ui.value.itemLabel({ class: [(_c3 = props.ui) == null ? void 0 : _c3.itemLabel, isSelectItem(item) && ((_d3 = item.ui) == null ? void 0 : _d3.itemLabel)] })
834
- }, {
835
- default: withCtx(() => [
836
- renderSlot(_ctx.$slots, "item-label", {
837
- item,
838
- index
839
- }, () => [
840
- createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
841
- ])
842
- ]),
843
- _: 2
844
- }, 1032, ["class"]),
845
- isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
846
- key: 0,
847
- "data-slot": "itemDescription",
848
- class: ui.value.itemDescription({ class: [(_e2 = props.ui) == null ? void 0 : _e2.itemDescription, isSelectItem(item) && ((_f2 = item.ui) == null ? void 0 : _f2.itemDescription)] })
849
- }, [
850
- renderSlot(_ctx.$slots, "item-description", {
763
+ }, () => [
764
+ renderSlot(_ctx.$slots, "item-leading", {
765
+ item,
766
+ index,
767
+ ui: ui.value
768
+ }, () => [
769
+ isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$d, {
770
+ key: 0,
771
+ name: item.icon,
772
+ "data-slot": "itemLeadingIcon",
773
+ class: ui.value.itemLeadingIcon({ class: [props.ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
774
+ }, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
775
+ key: 1,
776
+ size: item.ui?.itemLeadingAvatarSize || props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
777
+ }, { ref_for: true }, item.avatar, {
778
+ "data-slot": "itemLeadingAvatar",
779
+ class: ui.value.itemLeadingAvatar({ class: [props.ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
780
+ }), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
781
+ key: 2,
782
+ size: item.ui?.itemLeadingChipSize || props.ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
783
+ inset: "",
784
+ standalone: ""
785
+ }, { ref_for: true }, item.chip, {
786
+ "data-slot": "itemLeadingChip",
787
+ class: ui.value.itemLeadingChip({ class: [props.ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
788
+ }), null, 16, ["size", "class"])) : createCommentVNode("", true)
789
+ ]),
790
+ createVNode("span", {
791
+ "data-slot": "itemWrapper",
792
+ class: ui.value.itemWrapper({ class: [props.ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
793
+ }, [
794
+ createVNode(unref(SelectItemText), {
795
+ "data-slot": "itemLabel",
796
+ class: ui.value.itemLabel({ class: [props.ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
797
+ }, {
798
+ default: withCtx(() => [
799
+ renderSlot(_ctx.$slots, "item-label", {
851
800
  item,
852
801
  index
853
802
  }, () => [
854
- createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
803
+ createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
855
804
  ])
856
- ], 2)) : createCommentVNode("", true)
857
- ], 2),
858
- createVNode("span", {
859
- "data-slot": "itemTrailing",
860
- class: ui.value.itemTrailing({ class: [(_g = props.ui) == null ? void 0 : _g.itemTrailing, isSelectItem(item) && ((_h = item.ui) == null ? void 0 : _h.itemTrailing)] })
805
+ ]),
806
+ _: 2
807
+ }, 1032, ["class"]),
808
+ isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
809
+ key: 0,
810
+ "data-slot": "itemDescription",
811
+ class: ui.value.itemDescription({ class: [props.ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
861
812
  }, [
862
- renderSlot(_ctx.$slots, "item-trailing", {
813
+ renderSlot(_ctx.$slots, "item-description", {
863
814
  item,
864
- index,
865
- ui: ui.value
866
- }),
867
- createVNode(unref(SelectItemIndicator), { "as-child": "" }, {
868
- default: withCtx(() => {
869
- var _a7, _b6;
870
- return [
871
- createVNode(_sfc_main$d, {
872
- name: __props.selectedIcon || unref(appConfig).ui.icons.check,
873
- "data-slot": "itemTrailingIcon",
874
- class: ui.value.itemTrailingIcon({ class: [(_a7 = props.ui) == null ? void 0 : _a7.itemTrailingIcon, isSelectItem(item) && ((_b6 = item.ui) == null ? void 0 : _b6.itemTrailingIcon)] })
875
- }, null, 8, ["name", "class"])
876
- ];
877
- }),
878
- _: 2
879
- }, 1024)
880
- ], 2)
881
- ];
882
- })
815
+ index
816
+ }, () => [
817
+ createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
818
+ ])
819
+ ], 2)) : createCommentVNode("", true)
820
+ ], 2),
821
+ createVNode("span", {
822
+ "data-slot": "itemTrailing",
823
+ class: ui.value.itemTrailing({ class: [props.ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
824
+ }, [
825
+ renderSlot(_ctx.$slots, "item-trailing", {
826
+ item,
827
+ index,
828
+ ui: ui.value
829
+ }),
830
+ createVNode(unref(SelectItemIndicator), { "as-child": "" }, {
831
+ default: withCtx(() => [
832
+ createVNode(_sfc_main$d, {
833
+ name: __props.selectedIcon || unref(appConfig).ui.icons.check,
834
+ "data-slot": "itemTrailingIcon",
835
+ class: ui.value.itemTrailingIcon({ class: [props.ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
836
+ }, null, 8, ["name", "class"])
837
+ ]),
838
+ _: 2
839
+ }, 1024)
840
+ ], 2)
841
+ ])
883
842
  ];
884
843
  }
885
844
  }),
@@ -892,14 +851,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
892
851
  } else {
893
852
  return [
894
853
  (openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
895
- var _a5, _b4, _c2, _d2, _e, _f;
896
854
  return openBlock(), createBlock(Fragment, {
897
855
  key: `group-${groupIndex}-${index}`
898
856
  }, [
899
857
  isSelectItem(item) && item.type === "label" ? (openBlock(), createBlock(unref(SelectLabel), {
900
858
  key: 0,
901
859
  "data-slot": "label",
902
- class: ui.value.label({ class: [(_a5 = props.ui) == null ? void 0 : _a5.label, (_b4 = item.ui) == null ? void 0 : _b4.label, item.class] })
860
+ class: ui.value.label({ class: [props.ui?.label, item.ui?.label, item.class] })
903
861
  }, {
904
862
  default: withCtx(() => [
905
863
  createTextVNode(toDisplayString(unref(get)(item, props.labelKey)), 1)
@@ -908,111 +866,99 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
908
866
  }, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (openBlock(), createBlock(unref(SelectSeparator), {
909
867
  key: 1,
910
868
  "data-slot": "separator",
911
- class: ui.value.separator({ class: [(_c2 = props.ui) == null ? void 0 : _c2.separator, (_d2 = item.ui) == null ? void 0 : _d2.separator, item.class] })
869
+ class: ui.value.separator({ class: [props.ui?.separator, item.ui?.separator, item.class] })
912
870
  }, null, 8, ["class"])) : (openBlock(), createBlock(unref(SelectItem), {
913
871
  key: 2,
914
872
  "data-slot": "item",
915
- 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] }),
873
+ class: ui.value.item({ class: [props.ui?.item, isSelectItem(item) && item.ui?.item, isSelectItem(item) && item.class] }),
916
874
  disabled: isSelectItem(item) && item.disabled,
917
875
  value: isSelectItem(item) ? unref(get)(item, props.valueKey) : item,
918
- onSelect: ($event) => {
919
- var _a6;
920
- return isSelectItem(item) && ((_a6 = item.onSelect) == null ? void 0 : _a6.call(item, $event));
921
- }
876
+ onSelect: ($event) => isSelectItem(item) && item.onSelect?.($event)
922
877
  }, {
923
878
  default: withCtx(() => [
924
879
  renderSlot(_ctx.$slots, "item", {
925
880
  item,
926
881
  index,
927
882
  ui: ui.value
928
- }, () => {
929
- var _a6, _b5, _c3, _d3, _e2, _f2, _g, _h;
930
- return [
931
- renderSlot(_ctx.$slots, "item-leading", {
932
- item,
933
- index,
934
- ui: ui.value
935
- }, () => {
936
- var _a7, _b6, _c4, _d4, _e3, _f3, _g2, _h2, _i, _j;
937
- return [
938
- isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$d, {
939
- key: 0,
940
- name: item.icon,
941
- "data-slot": "itemLeadingIcon",
942
- class: ui.value.itemLeadingIcon({ class: [(_a7 = props.ui) == null ? void 0 : _a7.itemLeadingIcon, (_b6 = item.ui) == null ? void 0 : _b6.itemLeadingIcon] })
943
- }, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
944
- key: 1,
945
- size: ((_c4 = item.ui) == null ? void 0 : _c4.itemLeadingAvatarSize) || ((_d4 = props.ui) == null ? void 0 : _d4.itemLeadingAvatarSize) || ui.value.itemLeadingAvatarSize()
946
- }, { ref_for: true }, item.avatar, {
947
- "data-slot": "itemLeadingAvatar",
948
- class: ui.value.itemLeadingAvatar({ class: [(_e3 = props.ui) == null ? void 0 : _e3.itemLeadingAvatar, (_f3 = item.ui) == null ? void 0 : _f3.itemLeadingAvatar] })
949
- }), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
950
- key: 2,
951
- size: ((_g2 = item.ui) == null ? void 0 : _g2.itemLeadingChipSize) || ((_h2 = props.ui) == null ? void 0 : _h2.itemLeadingChipSize) || ui.value.itemLeadingChipSize(),
952
- inset: "",
953
- standalone: ""
954
- }, { ref_for: true }, item.chip, {
955
- "data-slot": "itemLeadingChip",
956
- class: ui.value.itemLeadingChip({ class: [(_i = props.ui) == null ? void 0 : _i.itemLeadingChip, (_j = item.ui) == null ? void 0 : _j.itemLeadingChip] })
957
- }), null, 16, ["size", "class"])) : createCommentVNode("", true)
958
- ];
959
- }),
960
- createVNode("span", {
961
- "data-slot": "itemWrapper",
962
- class: ui.value.itemWrapper({ class: [(_a6 = props.ui) == null ? void 0 : _a6.itemWrapper, isSelectItem(item) && ((_b5 = item.ui) == null ? void 0 : _b5.itemWrapper)] })
963
- }, [
964
- createVNode(unref(SelectItemText), {
965
- "data-slot": "itemLabel",
966
- class: ui.value.itemLabel({ class: [(_c3 = props.ui) == null ? void 0 : _c3.itemLabel, isSelectItem(item) && ((_d3 = item.ui) == null ? void 0 : _d3.itemLabel)] })
967
- }, {
968
- default: withCtx(() => [
969
- renderSlot(_ctx.$slots, "item-label", {
970
- item,
971
- index
972
- }, () => [
973
- createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
974
- ])
975
- ]),
976
- _: 2
977
- }, 1032, ["class"]),
978
- isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
979
- key: 0,
980
- "data-slot": "itemDescription",
981
- class: ui.value.itemDescription({ class: [(_e2 = props.ui) == null ? void 0 : _e2.itemDescription, isSelectItem(item) && ((_f2 = item.ui) == null ? void 0 : _f2.itemDescription)] })
982
- }, [
983
- renderSlot(_ctx.$slots, "item-description", {
883
+ }, () => [
884
+ renderSlot(_ctx.$slots, "item-leading", {
885
+ item,
886
+ index,
887
+ ui: ui.value
888
+ }, () => [
889
+ isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$d, {
890
+ key: 0,
891
+ name: item.icon,
892
+ "data-slot": "itemLeadingIcon",
893
+ class: ui.value.itemLeadingIcon({ class: [props.ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
894
+ }, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
895
+ key: 1,
896
+ size: item.ui?.itemLeadingAvatarSize || props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
897
+ }, { ref_for: true }, item.avatar, {
898
+ "data-slot": "itemLeadingAvatar",
899
+ class: ui.value.itemLeadingAvatar({ class: [props.ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
900
+ }), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
901
+ key: 2,
902
+ size: item.ui?.itemLeadingChipSize || props.ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
903
+ inset: "",
904
+ standalone: ""
905
+ }, { ref_for: true }, item.chip, {
906
+ "data-slot": "itemLeadingChip",
907
+ class: ui.value.itemLeadingChip({ class: [props.ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
908
+ }), null, 16, ["size", "class"])) : createCommentVNode("", true)
909
+ ]),
910
+ createVNode("span", {
911
+ "data-slot": "itemWrapper",
912
+ class: ui.value.itemWrapper({ class: [props.ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
913
+ }, [
914
+ createVNode(unref(SelectItemText), {
915
+ "data-slot": "itemLabel",
916
+ class: ui.value.itemLabel({ class: [props.ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
917
+ }, {
918
+ default: withCtx(() => [
919
+ renderSlot(_ctx.$slots, "item-label", {
984
920
  item,
985
921
  index
986
922
  }, () => [
987
- createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
923
+ createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
988
924
  ])
989
- ], 2)) : createCommentVNode("", true)
990
- ], 2),
991
- createVNode("span", {
992
- "data-slot": "itemTrailing",
993
- class: ui.value.itemTrailing({ class: [(_g = props.ui) == null ? void 0 : _g.itemTrailing, isSelectItem(item) && ((_h = item.ui) == null ? void 0 : _h.itemTrailing)] })
925
+ ]),
926
+ _: 2
927
+ }, 1032, ["class"]),
928
+ isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
929
+ key: 0,
930
+ "data-slot": "itemDescription",
931
+ class: ui.value.itemDescription({ class: [props.ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
994
932
  }, [
995
- renderSlot(_ctx.$slots, "item-trailing", {
933
+ renderSlot(_ctx.$slots, "item-description", {
996
934
  item,
997
- index,
998
- ui: ui.value
999
- }),
1000
- createVNode(unref(SelectItemIndicator), { "as-child": "" }, {
1001
- default: withCtx(() => {
1002
- var _a7, _b6;
1003
- return [
1004
- createVNode(_sfc_main$d, {
1005
- name: __props.selectedIcon || unref(appConfig).ui.icons.check,
1006
- "data-slot": "itemTrailingIcon",
1007
- class: ui.value.itemTrailingIcon({ class: [(_a7 = props.ui) == null ? void 0 : _a7.itemTrailingIcon, isSelectItem(item) && ((_b6 = item.ui) == null ? void 0 : _b6.itemTrailingIcon)] })
1008
- }, null, 8, ["name", "class"])
1009
- ];
1010
- }),
1011
- _: 2
1012
- }, 1024)
1013
- ], 2)
1014
- ];
1015
- })
935
+ index
936
+ }, () => [
937
+ createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
938
+ ])
939
+ ], 2)) : createCommentVNode("", true)
940
+ ], 2),
941
+ createVNode("span", {
942
+ "data-slot": "itemTrailing",
943
+ class: ui.value.itemTrailing({ class: [props.ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
944
+ }, [
945
+ renderSlot(_ctx.$slots, "item-trailing", {
946
+ item,
947
+ index,
948
+ ui: ui.value
949
+ }),
950
+ createVNode(unref(SelectItemIndicator), { "as-child": "" }, {
951
+ default: withCtx(() => [
952
+ createVNode(_sfc_main$d, {
953
+ name: __props.selectedIcon || unref(appConfig).ui.icons.check,
954
+ "data-slot": "itemTrailingIcon",
955
+ class: ui.value.itemTrailingIcon({ class: [props.ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
956
+ }, null, 8, ["name", "class"])
957
+ ]),
958
+ _: 2
959
+ }, 1024)
960
+ ], 2)
961
+ ])
1016
962
  ]),
1017
963
  _: 2
1018
964
  }, 1032, ["class", "disabled", "value", "onSelect"]))
@@ -1029,7 +975,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1029
975
  if (!!__props.arrow) {
1030
976
  _push4(ssrRenderComponent(unref(SelectArrow), mergeProps(arrowProps.value, {
1031
977
  "data-slot": "arrow",
1032
- class: ui.value.arrow({ class: (_b3 = props.ui) == null ? void 0 : _b3.arrow })
978
+ class: ui.value.arrow({ class: props.ui?.arrow })
1033
979
  }), null, _parent4, _scopeId3));
1034
980
  } else {
1035
981
  _push4(`<!---->`);
@@ -1040,25 +986,23 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1040
986
  createVNode("div", {
1041
987
  role: "presentation",
1042
988
  "data-slot": "viewport",
1043
- class: ui.value.viewport({ class: (_c = props.ui) == null ? void 0 : _c.viewport })
989
+ class: ui.value.viewport({ class: props.ui?.viewport })
1044
990
  }, [
1045
991
  (openBlock(true), createBlock(Fragment, null, renderList(groups.value, (group, groupIndex) => {
1046
- var _a4;
1047
992
  return openBlock(), createBlock(unref(SelectGroup), {
1048
993
  key: `group-${groupIndex}`,
1049
994
  "data-slot": "group",
1050
- class: ui.value.group({ class: (_a4 = props.ui) == null ? void 0 : _a4.group })
995
+ class: ui.value.group({ class: props.ui?.group })
1051
996
  }, {
1052
997
  default: withCtx(() => [
1053
998
  (openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
1054
- var _a5, _b4, _c2, _d2, _e, _f;
1055
999
  return openBlock(), createBlock(Fragment, {
1056
1000
  key: `group-${groupIndex}-${index}`
1057
1001
  }, [
1058
1002
  isSelectItem(item) && item.type === "label" ? (openBlock(), createBlock(unref(SelectLabel), {
1059
1003
  key: 0,
1060
1004
  "data-slot": "label",
1061
- class: ui.value.label({ class: [(_a5 = props.ui) == null ? void 0 : _a5.label, (_b4 = item.ui) == null ? void 0 : _b4.label, item.class] })
1005
+ class: ui.value.label({ class: [props.ui?.label, item.ui?.label, item.class] })
1062
1006
  }, {
1063
1007
  default: withCtx(() => [
1064
1008
  createTextVNode(toDisplayString(unref(get)(item, props.labelKey)), 1)
@@ -1067,111 +1011,99 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1067
1011
  }, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (openBlock(), createBlock(unref(SelectSeparator), {
1068
1012
  key: 1,
1069
1013
  "data-slot": "separator",
1070
- class: ui.value.separator({ class: [(_c2 = props.ui) == null ? void 0 : _c2.separator, (_d2 = item.ui) == null ? void 0 : _d2.separator, item.class] })
1014
+ class: ui.value.separator({ class: [props.ui?.separator, item.ui?.separator, item.class] })
1071
1015
  }, null, 8, ["class"])) : (openBlock(), createBlock(unref(SelectItem), {
1072
1016
  key: 2,
1073
1017
  "data-slot": "item",
1074
- 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] }),
1018
+ class: ui.value.item({ class: [props.ui?.item, isSelectItem(item) && item.ui?.item, isSelectItem(item) && item.class] }),
1075
1019
  disabled: isSelectItem(item) && item.disabled,
1076
1020
  value: isSelectItem(item) ? unref(get)(item, props.valueKey) : item,
1077
- onSelect: ($event) => {
1078
- var _a6;
1079
- return isSelectItem(item) && ((_a6 = item.onSelect) == null ? void 0 : _a6.call(item, $event));
1080
- }
1021
+ onSelect: ($event) => isSelectItem(item) && item.onSelect?.($event)
1081
1022
  }, {
1082
1023
  default: withCtx(() => [
1083
1024
  renderSlot(_ctx.$slots, "item", {
1084
1025
  item,
1085
1026
  index,
1086
1027
  ui: ui.value
1087
- }, () => {
1088
- var _a6, _b5, _c3, _d3, _e2, _f2, _g, _h;
1089
- return [
1090
- renderSlot(_ctx.$slots, "item-leading", {
1091
- item,
1092
- index,
1093
- ui: ui.value
1094
- }, () => {
1095
- var _a7, _b6, _c4, _d4, _e3, _f3, _g2, _h2, _i, _j;
1096
- return [
1097
- isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$d, {
1098
- key: 0,
1099
- name: item.icon,
1100
- "data-slot": "itemLeadingIcon",
1101
- class: ui.value.itemLeadingIcon({ class: [(_a7 = props.ui) == null ? void 0 : _a7.itemLeadingIcon, (_b6 = item.ui) == null ? void 0 : _b6.itemLeadingIcon] })
1102
- }, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
1103
- key: 1,
1104
- size: ((_c4 = item.ui) == null ? void 0 : _c4.itemLeadingAvatarSize) || ((_d4 = props.ui) == null ? void 0 : _d4.itemLeadingAvatarSize) || ui.value.itemLeadingAvatarSize()
1105
- }, { ref_for: true }, item.avatar, {
1106
- "data-slot": "itemLeadingAvatar",
1107
- class: ui.value.itemLeadingAvatar({ class: [(_e3 = props.ui) == null ? void 0 : _e3.itemLeadingAvatar, (_f3 = item.ui) == null ? void 0 : _f3.itemLeadingAvatar] })
1108
- }), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
1109
- key: 2,
1110
- size: ((_g2 = item.ui) == null ? void 0 : _g2.itemLeadingChipSize) || ((_h2 = props.ui) == null ? void 0 : _h2.itemLeadingChipSize) || ui.value.itemLeadingChipSize(),
1111
- inset: "",
1112
- standalone: ""
1113
- }, { ref_for: true }, item.chip, {
1114
- "data-slot": "itemLeadingChip",
1115
- class: ui.value.itemLeadingChip({ class: [(_i = props.ui) == null ? void 0 : _i.itemLeadingChip, (_j = item.ui) == null ? void 0 : _j.itemLeadingChip] })
1116
- }), null, 16, ["size", "class"])) : createCommentVNode("", true)
1117
- ];
1118
- }),
1119
- createVNode("span", {
1120
- "data-slot": "itemWrapper",
1121
- class: ui.value.itemWrapper({ class: [(_a6 = props.ui) == null ? void 0 : _a6.itemWrapper, isSelectItem(item) && ((_b5 = item.ui) == null ? void 0 : _b5.itemWrapper)] })
1122
- }, [
1123
- createVNode(unref(SelectItemText), {
1124
- "data-slot": "itemLabel",
1125
- class: ui.value.itemLabel({ class: [(_c3 = props.ui) == null ? void 0 : _c3.itemLabel, isSelectItem(item) && ((_d3 = item.ui) == null ? void 0 : _d3.itemLabel)] })
1126
- }, {
1127
- default: withCtx(() => [
1128
- renderSlot(_ctx.$slots, "item-label", {
1129
- item,
1130
- index
1131
- }, () => [
1132
- createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
1133
- ])
1134
- ]),
1135
- _: 2
1136
- }, 1032, ["class"]),
1137
- isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
1138
- key: 0,
1139
- "data-slot": "itemDescription",
1140
- class: ui.value.itemDescription({ class: [(_e2 = props.ui) == null ? void 0 : _e2.itemDescription, isSelectItem(item) && ((_f2 = item.ui) == null ? void 0 : _f2.itemDescription)] })
1141
- }, [
1142
- renderSlot(_ctx.$slots, "item-description", {
1028
+ }, () => [
1029
+ renderSlot(_ctx.$slots, "item-leading", {
1030
+ item,
1031
+ index,
1032
+ ui: ui.value
1033
+ }, () => [
1034
+ isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$d, {
1035
+ key: 0,
1036
+ name: item.icon,
1037
+ "data-slot": "itemLeadingIcon",
1038
+ class: ui.value.itemLeadingIcon({ class: [props.ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
1039
+ }, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
1040
+ key: 1,
1041
+ size: item.ui?.itemLeadingAvatarSize || props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
1042
+ }, { ref_for: true }, item.avatar, {
1043
+ "data-slot": "itemLeadingAvatar",
1044
+ class: ui.value.itemLeadingAvatar({ class: [props.ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
1045
+ }), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
1046
+ key: 2,
1047
+ size: item.ui?.itemLeadingChipSize || props.ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
1048
+ inset: "",
1049
+ standalone: ""
1050
+ }, { ref_for: true }, item.chip, {
1051
+ "data-slot": "itemLeadingChip",
1052
+ class: ui.value.itemLeadingChip({ class: [props.ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
1053
+ }), null, 16, ["size", "class"])) : createCommentVNode("", true)
1054
+ ]),
1055
+ createVNode("span", {
1056
+ "data-slot": "itemWrapper",
1057
+ class: ui.value.itemWrapper({ class: [props.ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
1058
+ }, [
1059
+ createVNode(unref(SelectItemText), {
1060
+ "data-slot": "itemLabel",
1061
+ class: ui.value.itemLabel({ class: [props.ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
1062
+ }, {
1063
+ default: withCtx(() => [
1064
+ renderSlot(_ctx.$slots, "item-label", {
1143
1065
  item,
1144
1066
  index
1145
1067
  }, () => [
1146
- createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
1068
+ createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
1147
1069
  ])
1148
- ], 2)) : createCommentVNode("", true)
1149
- ], 2),
1150
- createVNode("span", {
1151
- "data-slot": "itemTrailing",
1152
- class: ui.value.itemTrailing({ class: [(_g = props.ui) == null ? void 0 : _g.itemTrailing, isSelectItem(item) && ((_h = item.ui) == null ? void 0 : _h.itemTrailing)] })
1070
+ ]),
1071
+ _: 2
1072
+ }, 1032, ["class"]),
1073
+ isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
1074
+ key: 0,
1075
+ "data-slot": "itemDescription",
1076
+ class: ui.value.itemDescription({ class: [props.ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
1153
1077
  }, [
1154
- renderSlot(_ctx.$slots, "item-trailing", {
1078
+ renderSlot(_ctx.$slots, "item-description", {
1155
1079
  item,
1156
- index,
1157
- ui: ui.value
1158
- }),
1159
- createVNode(unref(SelectItemIndicator), { "as-child": "" }, {
1160
- default: withCtx(() => {
1161
- var _a7, _b6;
1162
- return [
1163
- createVNode(_sfc_main$d, {
1164
- name: __props.selectedIcon || unref(appConfig).ui.icons.check,
1165
- "data-slot": "itemTrailingIcon",
1166
- class: ui.value.itemTrailingIcon({ class: [(_a7 = props.ui) == null ? void 0 : _a7.itemTrailingIcon, isSelectItem(item) && ((_b6 = item.ui) == null ? void 0 : _b6.itemTrailingIcon)] })
1167
- }, null, 8, ["name", "class"])
1168
- ];
1169
- }),
1170
- _: 2
1171
- }, 1024)
1172
- ], 2)
1173
- ];
1174
- })
1080
+ index
1081
+ }, () => [
1082
+ createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
1083
+ ])
1084
+ ], 2)) : createCommentVNode("", true)
1085
+ ], 2),
1086
+ createVNode("span", {
1087
+ "data-slot": "itemTrailing",
1088
+ class: ui.value.itemTrailing({ class: [props.ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
1089
+ }, [
1090
+ renderSlot(_ctx.$slots, "item-trailing", {
1091
+ item,
1092
+ index,
1093
+ ui: ui.value
1094
+ }),
1095
+ createVNode(unref(SelectItemIndicator), { "as-child": "" }, {
1096
+ default: withCtx(() => [
1097
+ createVNode(_sfc_main$d, {
1098
+ name: __props.selectedIcon || unref(appConfig).ui.icons.check,
1099
+ "data-slot": "itemTrailingIcon",
1100
+ class: ui.value.itemTrailingIcon({ class: [props.ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
1101
+ }, null, 8, ["name", "class"])
1102
+ ]),
1103
+ _: 2
1104
+ }, 1024)
1105
+ ], 2)
1106
+ ])
1175
1107
  ]),
1176
1108
  _: 2
1177
1109
  }, 1032, ["class", "disabled", "value", "onSelect"]))
@@ -1185,7 +1117,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1185
1117
  renderSlot(_ctx.$slots, "content-bottom"),
1186
1118
  !!__props.arrow ? (openBlock(), createBlock(unref(SelectArrow), mergeProps({ key: 0 }, arrowProps.value, {
1187
1119
  "data-slot": "arrow",
1188
- class: ui.value.arrow({ class: (_d = props.ui) == null ? void 0 : _d.arrow })
1120
+ class: ui.value.arrow({ class: props.ui?.arrow })
1189
1121
  }), null, 16, ["class"])) : createCommentVNode("", true)
1190
1122
  ];
1191
1123
  }
@@ -1196,164 +1128,147 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1196
1128
  return [
1197
1129
  createVNode(unref(SelectContent), mergeProps({
1198
1130
  "data-slot": "content",
1199
- class: ui.value.content({ class: (_b2 = props.ui) == null ? void 0 : _b2.content })
1131
+ class: ui.value.content({ class: props.ui?.content })
1200
1132
  }, contentProps.value), {
1201
- default: withCtx(() => {
1202
- var _a3, _b3;
1203
- return [
1204
- renderSlot(_ctx.$slots, "content-top"),
1205
- createVNode("div", {
1206
- role: "presentation",
1207
- "data-slot": "viewport",
1208
- class: ui.value.viewport({ class: (_a3 = props.ui) == null ? void 0 : _a3.viewport })
1209
- }, [
1210
- (openBlock(true), createBlock(Fragment, null, renderList(groups.value, (group, groupIndex) => {
1211
- var _a4;
1212
- return openBlock(), createBlock(unref(SelectGroup), {
1213
- key: `group-${groupIndex}`,
1214
- "data-slot": "group",
1215
- class: ui.value.group({ class: (_a4 = props.ui) == null ? void 0 : _a4.group })
1216
- }, {
1217
- default: withCtx(() => [
1218
- (openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
1219
- var _a5, _b4, _c, _d, _e, _f;
1220
- return openBlock(), createBlock(Fragment, {
1221
- key: `group-${groupIndex}-${index}`
1222
- }, [
1223
- isSelectItem(item) && item.type === "label" ? (openBlock(), createBlock(unref(SelectLabel), {
1224
- key: 0,
1225
- "data-slot": "label",
1226
- class: ui.value.label({ class: [(_a5 = props.ui) == null ? void 0 : _a5.label, (_b4 = item.ui) == null ? void 0 : _b4.label, item.class] })
1227
- }, {
1228
- default: withCtx(() => [
1229
- createTextVNode(toDisplayString(unref(get)(item, props.labelKey)), 1)
1230
- ]),
1231
- _: 2
1232
- }, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (openBlock(), createBlock(unref(SelectSeparator), {
1233
- key: 1,
1234
- "data-slot": "separator",
1235
- class: ui.value.separator({ class: [(_c = props.ui) == null ? void 0 : _c.separator, (_d = item.ui) == null ? void 0 : _d.separator, item.class] })
1236
- }, null, 8, ["class"])) : (openBlock(), createBlock(unref(SelectItem), {
1237
- key: 2,
1238
- "data-slot": "item",
1239
- 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] }),
1240
- disabled: isSelectItem(item) && item.disabled,
1241
- value: isSelectItem(item) ? unref(get)(item, props.valueKey) : item,
1242
- onSelect: ($event) => {
1243
- var _a6;
1244
- return isSelectItem(item) && ((_a6 = item.onSelect) == null ? void 0 : _a6.call(item, $event));
1245
- }
1246
- }, {
1247
- default: withCtx(() => [
1248
- renderSlot(_ctx.$slots, "item", {
1133
+ default: withCtx(() => [
1134
+ renderSlot(_ctx.$slots, "content-top"),
1135
+ createVNode("div", {
1136
+ role: "presentation",
1137
+ "data-slot": "viewport",
1138
+ class: ui.value.viewport({ class: props.ui?.viewport })
1139
+ }, [
1140
+ (openBlock(true), createBlock(Fragment, null, renderList(groups.value, (group, groupIndex) => {
1141
+ return openBlock(), createBlock(unref(SelectGroup), {
1142
+ key: `group-${groupIndex}`,
1143
+ "data-slot": "group",
1144
+ class: ui.value.group({ class: props.ui?.group })
1145
+ }, {
1146
+ default: withCtx(() => [
1147
+ (openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
1148
+ return openBlock(), createBlock(Fragment, {
1149
+ key: `group-${groupIndex}-${index}`
1150
+ }, [
1151
+ isSelectItem(item) && item.type === "label" ? (openBlock(), createBlock(unref(SelectLabel), {
1152
+ key: 0,
1153
+ "data-slot": "label",
1154
+ class: ui.value.label({ class: [props.ui?.label, item.ui?.label, item.class] })
1155
+ }, {
1156
+ default: withCtx(() => [
1157
+ createTextVNode(toDisplayString(unref(get)(item, props.labelKey)), 1)
1158
+ ]),
1159
+ _: 2
1160
+ }, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (openBlock(), createBlock(unref(SelectSeparator), {
1161
+ key: 1,
1162
+ "data-slot": "separator",
1163
+ class: ui.value.separator({ class: [props.ui?.separator, item.ui?.separator, item.class] })
1164
+ }, null, 8, ["class"])) : (openBlock(), createBlock(unref(SelectItem), {
1165
+ key: 2,
1166
+ "data-slot": "item",
1167
+ class: ui.value.item({ class: [props.ui?.item, isSelectItem(item) && item.ui?.item, isSelectItem(item) && item.class] }),
1168
+ disabled: isSelectItem(item) && item.disabled,
1169
+ value: isSelectItem(item) ? unref(get)(item, props.valueKey) : item,
1170
+ onSelect: ($event) => isSelectItem(item) && item.onSelect?.($event)
1171
+ }, {
1172
+ default: withCtx(() => [
1173
+ renderSlot(_ctx.$slots, "item", {
1174
+ item,
1175
+ index,
1176
+ ui: ui.value
1177
+ }, () => [
1178
+ renderSlot(_ctx.$slots, "item-leading", {
1249
1179
  item,
1250
1180
  index,
1251
1181
  ui: ui.value
1252
- }, () => {
1253
- var _a6, _b5, _c2, _d2, _e2, _f2, _g, _h;
1254
- return [
1255
- renderSlot(_ctx.$slots, "item-leading", {
1256
- item,
1257
- index,
1258
- ui: ui.value
1259
- }, () => {
1260
- var _a7, _b6, _c3, _d3, _e3, _f3, _g2, _h2, _i, _j;
1261
- return [
1262
- isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$d, {
1263
- key: 0,
1264
- name: item.icon,
1265
- "data-slot": "itemLeadingIcon",
1266
- class: ui.value.itemLeadingIcon({ class: [(_a7 = props.ui) == null ? void 0 : _a7.itemLeadingIcon, (_b6 = item.ui) == null ? void 0 : _b6.itemLeadingIcon] })
1267
- }, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
1268
- key: 1,
1269
- size: ((_c3 = item.ui) == null ? void 0 : _c3.itemLeadingAvatarSize) || ((_d3 = props.ui) == null ? void 0 : _d3.itemLeadingAvatarSize) || ui.value.itemLeadingAvatarSize()
1270
- }, { ref_for: true }, item.avatar, {
1271
- "data-slot": "itemLeadingAvatar",
1272
- class: ui.value.itemLeadingAvatar({ class: [(_e3 = props.ui) == null ? void 0 : _e3.itemLeadingAvatar, (_f3 = item.ui) == null ? void 0 : _f3.itemLeadingAvatar] })
1273
- }), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
1274
- key: 2,
1275
- size: ((_g2 = item.ui) == null ? void 0 : _g2.itemLeadingChipSize) || ((_h2 = props.ui) == null ? void 0 : _h2.itemLeadingChipSize) || ui.value.itemLeadingChipSize(),
1276
- inset: "",
1277
- standalone: ""
1278
- }, { ref_for: true }, item.chip, {
1279
- "data-slot": "itemLeadingChip",
1280
- class: ui.value.itemLeadingChip({ class: [(_i = props.ui) == null ? void 0 : _i.itemLeadingChip, (_j = item.ui) == null ? void 0 : _j.itemLeadingChip] })
1281
- }), null, 16, ["size", "class"])) : createCommentVNode("", true)
1282
- ];
1283
- }),
1284
- createVNode("span", {
1285
- "data-slot": "itemWrapper",
1286
- class: ui.value.itemWrapper({ class: [(_a6 = props.ui) == null ? void 0 : _a6.itemWrapper, isSelectItem(item) && ((_b5 = item.ui) == null ? void 0 : _b5.itemWrapper)] })
1287
- }, [
1288
- createVNode(unref(SelectItemText), {
1289
- "data-slot": "itemLabel",
1290
- class: ui.value.itemLabel({ class: [(_c2 = props.ui) == null ? void 0 : _c2.itemLabel, isSelectItem(item) && ((_d2 = item.ui) == null ? void 0 : _d2.itemLabel)] })
1291
- }, {
1292
- default: withCtx(() => [
1293
- renderSlot(_ctx.$slots, "item-label", {
1294
- item,
1295
- index
1296
- }, () => [
1297
- createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
1298
- ])
1299
- ]),
1300
- _: 2
1301
- }, 1032, ["class"]),
1302
- isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
1303
- key: 0,
1304
- "data-slot": "itemDescription",
1305
- class: ui.value.itemDescription({ class: [(_e2 = props.ui) == null ? void 0 : _e2.itemDescription, isSelectItem(item) && ((_f2 = item.ui) == null ? void 0 : _f2.itemDescription)] })
1306
- }, [
1307
- renderSlot(_ctx.$slots, "item-description", {
1308
- item,
1309
- index
1310
- }, () => [
1311
- createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
1312
- ])
1313
- ], 2)) : createCommentVNode("", true)
1314
- ], 2),
1315
- createVNode("span", {
1316
- "data-slot": "itemTrailing",
1317
- class: ui.value.itemTrailing({ class: [(_g = props.ui) == null ? void 0 : _g.itemTrailing, isSelectItem(item) && ((_h = item.ui) == null ? void 0 : _h.itemTrailing)] })
1318
- }, [
1319
- renderSlot(_ctx.$slots, "item-trailing", {
1182
+ }, () => [
1183
+ isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$d, {
1184
+ key: 0,
1185
+ name: item.icon,
1186
+ "data-slot": "itemLeadingIcon",
1187
+ class: ui.value.itemLeadingIcon({ class: [props.ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
1188
+ }, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
1189
+ key: 1,
1190
+ size: item.ui?.itemLeadingAvatarSize || props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
1191
+ }, { ref_for: true }, item.avatar, {
1192
+ "data-slot": "itemLeadingAvatar",
1193
+ class: ui.value.itemLeadingAvatar({ class: [props.ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
1194
+ }), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
1195
+ key: 2,
1196
+ size: item.ui?.itemLeadingChipSize || props.ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
1197
+ inset: "",
1198
+ standalone: ""
1199
+ }, { ref_for: true }, item.chip, {
1200
+ "data-slot": "itemLeadingChip",
1201
+ class: ui.value.itemLeadingChip({ class: [props.ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
1202
+ }), null, 16, ["size", "class"])) : createCommentVNode("", true)
1203
+ ]),
1204
+ createVNode("span", {
1205
+ "data-slot": "itemWrapper",
1206
+ class: ui.value.itemWrapper({ class: [props.ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
1207
+ }, [
1208
+ createVNode(unref(SelectItemText), {
1209
+ "data-slot": "itemLabel",
1210
+ class: ui.value.itemLabel({ class: [props.ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
1211
+ }, {
1212
+ default: withCtx(() => [
1213
+ renderSlot(_ctx.$slots, "item-label", {
1320
1214
  item,
1321
- index,
1322
- ui: ui.value
1323
- }),
1324
- createVNode(unref(SelectItemIndicator), { "as-child": "" }, {
1325
- default: withCtx(() => {
1326
- var _a7, _b6;
1327
- return [
1328
- createVNode(_sfc_main$d, {
1329
- name: __props.selectedIcon || unref(appConfig).ui.icons.check,
1330
- "data-slot": "itemTrailingIcon",
1331
- class: ui.value.itemTrailingIcon({ class: [(_a7 = props.ui) == null ? void 0 : _a7.itemTrailingIcon, isSelectItem(item) && ((_b6 = item.ui) == null ? void 0 : _b6.itemTrailingIcon)] })
1332
- }, null, 8, ["name", "class"])
1333
- ];
1334
- }),
1335
- _: 2
1336
- }, 1024)
1337
- ], 2)
1338
- ];
1339
- })
1340
- ]),
1341
- _: 2
1342
- }, 1032, ["class", "disabled", "value", "onSelect"]))
1343
- ], 64);
1344
- }), 128))
1345
- ]),
1346
- _: 2
1347
- }, 1032, ["class"]);
1348
- }), 128))
1349
- ], 2),
1350
- renderSlot(_ctx.$slots, "content-bottom"),
1351
- !!__props.arrow ? (openBlock(), createBlock(unref(SelectArrow), mergeProps({ key: 0 }, arrowProps.value, {
1352
- "data-slot": "arrow",
1353
- class: ui.value.arrow({ class: (_b3 = props.ui) == null ? void 0 : _b3.arrow })
1354
- }), null, 16, ["class"])) : createCommentVNode("", true)
1355
- ];
1356
- }),
1215
+ index
1216
+ }, () => [
1217
+ createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
1218
+ ])
1219
+ ]),
1220
+ _: 2
1221
+ }, 1032, ["class"]),
1222
+ isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
1223
+ key: 0,
1224
+ "data-slot": "itemDescription",
1225
+ class: ui.value.itemDescription({ class: [props.ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
1226
+ }, [
1227
+ renderSlot(_ctx.$slots, "item-description", {
1228
+ item,
1229
+ index
1230
+ }, () => [
1231
+ createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
1232
+ ])
1233
+ ], 2)) : createCommentVNode("", true)
1234
+ ], 2),
1235
+ createVNode("span", {
1236
+ "data-slot": "itemTrailing",
1237
+ class: ui.value.itemTrailing({ class: [props.ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
1238
+ }, [
1239
+ renderSlot(_ctx.$slots, "item-trailing", {
1240
+ item,
1241
+ index,
1242
+ ui: ui.value
1243
+ }),
1244
+ createVNode(unref(SelectItemIndicator), { "as-child": "" }, {
1245
+ default: withCtx(() => [
1246
+ createVNode(_sfc_main$d, {
1247
+ name: __props.selectedIcon || unref(appConfig).ui.icons.check,
1248
+ "data-slot": "itemTrailingIcon",
1249
+ class: ui.value.itemTrailingIcon({ class: [props.ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
1250
+ }, null, 8, ["name", "class"])
1251
+ ]),
1252
+ _: 2
1253
+ }, 1024)
1254
+ ], 2)
1255
+ ])
1256
+ ]),
1257
+ _: 2
1258
+ }, 1032, ["class", "disabled", "value", "onSelect"]))
1259
+ ], 64);
1260
+ }), 128))
1261
+ ]),
1262
+ _: 2
1263
+ }, 1032, ["class"]);
1264
+ }), 128))
1265
+ ], 2),
1266
+ renderSlot(_ctx.$slots, "content-bottom"),
1267
+ !!__props.arrow ? (openBlock(), createBlock(unref(SelectArrow), mergeProps({ key: 0 }, arrowProps.value, {
1268
+ "data-slot": "arrow",
1269
+ class: ui.value.arrow({ class: props.ui?.arrow })
1270
+ }), null, 16, ["class"])) : createCommentVNode("", true)
1271
+ ]),
1357
1272
  _: 3
1358
1273
  }, 16, ["class"])
1359
1274
  ];
@@ -1368,251 +1283,221 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1368
1283
  ref_key: "triggerRef",
1369
1284
  ref: triggerRef,
1370
1285
  "data-slot": "base",
1371
- class: ui.value.base({ class: [(_b = props.ui) == null ? void 0 : _b.base, props.class] })
1286
+ class: ui.value.base({ class: [props.ui?.base, props.class] })
1372
1287
  }, { ..._ctx.$attrs, ...unref(ariaAttrs) }), {
1373
- default: withCtx(() => {
1374
- var _a2, _b2;
1375
- return [
1376
- unref(isLeading) || !!__props.avatar || !!slots.leading ? (openBlock(), createBlock("span", {
1377
- key: 0,
1378
- "data-slot": "leading",
1379
- class: ui.value.leading({ class: (_a2 = props.ui) == null ? void 0 : _a2.leading })
1380
- }, [
1381
- renderSlot(_ctx.$slots, "leading", {
1382
- modelValue,
1383
- open,
1384
- ui: ui.value
1385
- }, () => {
1386
- var _a3, _b3, _c;
1387
- return [
1388
- unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
1389
- key: 0,
1390
- name: unref(leadingIconName),
1391
- "data-slot": "leadingIcon",
1392
- class: ui.value.leadingIcon({ class: (_a3 = props.ui) == null ? void 0 : _a3.leadingIcon })
1393
- }, null, 8, ["name", "class"])) : !!__props.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
1394
- key: 1,
1395
- size: ((_b3 = props.ui) == null ? void 0 : _b3.itemLeadingAvatarSize) || ui.value.itemLeadingAvatarSize()
1396
- }, __props.avatar, {
1397
- "data-slot": "itemLeadingAvatar",
1398
- class: ui.value.itemLeadingAvatar({ class: (_c = props.ui) == null ? void 0 : _c.itemLeadingAvatar })
1399
- }), null, 16, ["size", "class"])) : createCommentVNode("", true)
1400
- ];
1401
- })
1402
- ], 2)) : createCommentVNode("", true),
1403
- renderSlot(_ctx.$slots, "default", {
1288
+ default: withCtx(() => [
1289
+ unref(isLeading) || !!__props.avatar || !!slots.leading ? (openBlock(), createBlock("span", {
1290
+ key: 0,
1291
+ "data-slot": "leading",
1292
+ class: ui.value.leading({ class: props.ui?.leading })
1293
+ }, [
1294
+ renderSlot(_ctx.$slots, "leading", {
1404
1295
  modelValue,
1405
1296
  open,
1406
1297
  ui: ui.value
1407
1298
  }, () => [
1408
- (openBlock(true), createBlock(Fragment, null, renderList([displayValue(modelValue)], (displayedModelValue) => {
1409
- var _a3, _b3, _c;
1410
- return openBlock(), createBlock(Fragment, { key: displayedModelValue }, [
1411
- displayedModelValue !== void 0 && displayedModelValue !== null ? (openBlock(), createBlock("span", {
1412
- key: 0,
1413
- "data-slot": "value",
1414
- class: ui.value.value({ class: (_a3 = props.ui) == null ? void 0 : _a3.value })
1415
- }, toDisplayString(displayedModelValue), 3)) : (openBlock(), createBlock("span", {
1416
- key: 1,
1417
- "data-slot": "placeholder",
1418
- class: ui.value.placeholder({ class: (_b3 = props.ui) == null ? void 0 : _b3.placeholder })
1419
- }, toDisplayString((_c = __props.placeholder) != null ? _c : "\xA0"), 3))
1420
- ], 64);
1421
- }), 128))
1422
- ]),
1423
- unref(isTrailing) || !!slots.trailing ? (openBlock(), createBlock("span", {
1424
- key: 1,
1425
- "data-slot": "trailing",
1426
- class: ui.value.trailing({ class: (_b2 = props.ui) == null ? void 0 : _b2.trailing })
1427
- }, [
1428
- renderSlot(_ctx.$slots, "trailing", {
1429
- modelValue,
1430
- open,
1431
- ui: ui.value
1432
- }, () => {
1433
- var _a3;
1434
- return [
1435
- unref(trailingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
1436
- key: 0,
1437
- name: unref(trailingIconName),
1438
- "data-slot": "trailingIcon",
1439
- class: ui.value.trailingIcon({ class: (_a3 = props.ui) == null ? void 0 : _a3.trailingIcon })
1440
- }, null, 8, ["name", "class"])) : createCommentVNode("", true)
1441
- ];
1442
- })
1443
- ], 2)) : createCommentVNode("", true)
1444
- ];
1445
- }),
1299
+ unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
1300
+ key: 0,
1301
+ name: unref(leadingIconName),
1302
+ "data-slot": "leadingIcon",
1303
+ class: ui.value.leadingIcon({ class: props.ui?.leadingIcon })
1304
+ }, null, 8, ["name", "class"])) : !!__props.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
1305
+ key: 1,
1306
+ size: props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
1307
+ }, __props.avatar, {
1308
+ "data-slot": "itemLeadingAvatar",
1309
+ class: ui.value.itemLeadingAvatar({ class: props.ui?.itemLeadingAvatar })
1310
+ }), null, 16, ["size", "class"])) : createCommentVNode("", true)
1311
+ ])
1312
+ ], 2)) : createCommentVNode("", true),
1313
+ renderSlot(_ctx.$slots, "default", {
1314
+ modelValue,
1315
+ open,
1316
+ ui: ui.value
1317
+ }, () => [
1318
+ (openBlock(true), createBlock(Fragment, null, renderList([displayValue(modelValue)], (displayedModelValue) => {
1319
+ return openBlock(), createBlock(Fragment, { key: displayedModelValue }, [
1320
+ displayedModelValue !== void 0 && displayedModelValue !== null ? (openBlock(), createBlock("span", {
1321
+ key: 0,
1322
+ "data-slot": "value",
1323
+ class: ui.value.value({ class: props.ui?.value })
1324
+ }, toDisplayString(displayedModelValue), 3)) : (openBlock(), createBlock("span", {
1325
+ key: 1,
1326
+ "data-slot": "placeholder",
1327
+ class: ui.value.placeholder({ class: props.ui?.placeholder })
1328
+ }, toDisplayString(__props.placeholder ?? " "), 3))
1329
+ ], 64);
1330
+ }), 128))
1331
+ ]),
1332
+ unref(isTrailing) || !!slots.trailing ? (openBlock(), createBlock("span", {
1333
+ key: 1,
1334
+ "data-slot": "trailing",
1335
+ class: ui.value.trailing({ class: props.ui?.trailing })
1336
+ }, [
1337
+ renderSlot(_ctx.$slots, "trailing", {
1338
+ modelValue,
1339
+ open,
1340
+ ui: ui.value
1341
+ }, () => [
1342
+ unref(trailingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
1343
+ key: 0,
1344
+ name: unref(trailingIconName),
1345
+ "data-slot": "trailingIcon",
1346
+ class: ui.value.trailingIcon({ class: props.ui?.trailingIcon })
1347
+ }, null, 8, ["name", "class"])) : createCommentVNode("", true)
1348
+ ])
1349
+ ], 2)) : createCommentVNode("", true)
1350
+ ]),
1446
1351
  _: 2
1447
1352
  }, 1040, ["id", "class"]),
1448
1353
  createVNode(unref(SelectPortal), unref(portalProps), {
1449
- default: withCtx(() => {
1450
- var _a2;
1451
- return [
1452
- createVNode(unref(SelectContent), mergeProps({
1453
- "data-slot": "content",
1454
- class: ui.value.content({ class: (_a2 = props.ui) == null ? void 0 : _a2.content })
1455
- }, contentProps.value), {
1456
- default: withCtx(() => {
1457
- var _a3, _b2;
1458
- return [
1459
- renderSlot(_ctx.$slots, "content-top"),
1460
- createVNode("div", {
1461
- role: "presentation",
1462
- "data-slot": "viewport",
1463
- class: ui.value.viewport({ class: (_a3 = props.ui) == null ? void 0 : _a3.viewport })
1464
- }, [
1465
- (openBlock(true), createBlock(Fragment, null, renderList(groups.value, (group, groupIndex) => {
1466
- var _a4;
1467
- return openBlock(), createBlock(unref(SelectGroup), {
1468
- key: `group-${groupIndex}`,
1469
- "data-slot": "group",
1470
- class: ui.value.group({ class: (_a4 = props.ui) == null ? void 0 : _a4.group })
1471
- }, {
1472
- default: withCtx(() => [
1473
- (openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
1474
- var _a5, _b3, _c, _d, _e, _f;
1475
- return openBlock(), createBlock(Fragment, {
1476
- key: `group-${groupIndex}-${index}`
1477
- }, [
1478
- isSelectItem(item) && item.type === "label" ? (openBlock(), createBlock(unref(SelectLabel), {
1479
- key: 0,
1480
- "data-slot": "label",
1481
- class: ui.value.label({ class: [(_a5 = props.ui) == null ? void 0 : _a5.label, (_b3 = item.ui) == null ? void 0 : _b3.label, item.class] })
1482
- }, {
1483
- default: withCtx(() => [
1484
- createTextVNode(toDisplayString(unref(get)(item, props.labelKey)), 1)
1354
+ default: withCtx(() => [
1355
+ createVNode(unref(SelectContent), mergeProps({
1356
+ "data-slot": "content",
1357
+ class: ui.value.content({ class: props.ui?.content })
1358
+ }, contentProps.value), {
1359
+ default: withCtx(() => [
1360
+ renderSlot(_ctx.$slots, "content-top"),
1361
+ createVNode("div", {
1362
+ role: "presentation",
1363
+ "data-slot": "viewport",
1364
+ class: ui.value.viewport({ class: props.ui?.viewport })
1365
+ }, [
1366
+ (openBlock(true), createBlock(Fragment, null, renderList(groups.value, (group, groupIndex) => {
1367
+ return openBlock(), createBlock(unref(SelectGroup), {
1368
+ key: `group-${groupIndex}`,
1369
+ "data-slot": "group",
1370
+ class: ui.value.group({ class: props.ui?.group })
1371
+ }, {
1372
+ default: withCtx(() => [
1373
+ (openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
1374
+ return openBlock(), createBlock(Fragment, {
1375
+ key: `group-${groupIndex}-${index}`
1376
+ }, [
1377
+ isSelectItem(item) && item.type === "label" ? (openBlock(), createBlock(unref(SelectLabel), {
1378
+ key: 0,
1379
+ "data-slot": "label",
1380
+ class: ui.value.label({ class: [props.ui?.label, item.ui?.label, item.class] })
1381
+ }, {
1382
+ default: withCtx(() => [
1383
+ createTextVNode(toDisplayString(unref(get)(item, props.labelKey)), 1)
1384
+ ]),
1385
+ _: 2
1386
+ }, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (openBlock(), createBlock(unref(SelectSeparator), {
1387
+ key: 1,
1388
+ "data-slot": "separator",
1389
+ class: ui.value.separator({ class: [props.ui?.separator, item.ui?.separator, item.class] })
1390
+ }, null, 8, ["class"])) : (openBlock(), createBlock(unref(SelectItem), {
1391
+ key: 2,
1392
+ "data-slot": "item",
1393
+ class: ui.value.item({ class: [props.ui?.item, isSelectItem(item) && item.ui?.item, isSelectItem(item) && item.class] }),
1394
+ disabled: isSelectItem(item) && item.disabled,
1395
+ value: isSelectItem(item) ? unref(get)(item, props.valueKey) : item,
1396
+ onSelect: ($event) => isSelectItem(item) && item.onSelect?.($event)
1397
+ }, {
1398
+ default: withCtx(() => [
1399
+ renderSlot(_ctx.$slots, "item", {
1400
+ item,
1401
+ index,
1402
+ ui: ui.value
1403
+ }, () => [
1404
+ renderSlot(_ctx.$slots, "item-leading", {
1405
+ item,
1406
+ index,
1407
+ ui: ui.value
1408
+ }, () => [
1409
+ isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$d, {
1410
+ key: 0,
1411
+ name: item.icon,
1412
+ "data-slot": "itemLeadingIcon",
1413
+ class: ui.value.itemLeadingIcon({ class: [props.ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
1414
+ }, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
1415
+ key: 1,
1416
+ size: item.ui?.itemLeadingAvatarSize || props.ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
1417
+ }, { ref_for: true }, item.avatar, {
1418
+ "data-slot": "itemLeadingAvatar",
1419
+ class: ui.value.itemLeadingAvatar({ class: [props.ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
1420
+ }), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
1421
+ key: 2,
1422
+ size: item.ui?.itemLeadingChipSize || props.ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
1423
+ inset: "",
1424
+ standalone: ""
1425
+ }, { ref_for: true }, item.chip, {
1426
+ "data-slot": "itemLeadingChip",
1427
+ class: ui.value.itemLeadingChip({ class: [props.ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
1428
+ }), null, 16, ["size", "class"])) : createCommentVNode("", true)
1485
1429
  ]),
1486
- _: 2
1487
- }, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (openBlock(), createBlock(unref(SelectSeparator), {
1488
- key: 1,
1489
- "data-slot": "separator",
1490
- class: ui.value.separator({ class: [(_c = props.ui) == null ? void 0 : _c.separator, (_d = item.ui) == null ? void 0 : _d.separator, item.class] })
1491
- }, null, 8, ["class"])) : (openBlock(), createBlock(unref(SelectItem), {
1492
- key: 2,
1493
- "data-slot": "item",
1494
- 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] }),
1495
- disabled: isSelectItem(item) && item.disabled,
1496
- value: isSelectItem(item) ? unref(get)(item, props.valueKey) : item,
1497
- onSelect: ($event) => {
1498
- var _a6;
1499
- return isSelectItem(item) && ((_a6 = item.onSelect) == null ? void 0 : _a6.call(item, $event));
1500
- }
1501
- }, {
1502
- default: withCtx(() => [
1503
- renderSlot(_ctx.$slots, "item", {
1430
+ createVNode("span", {
1431
+ "data-slot": "itemWrapper",
1432
+ class: ui.value.itemWrapper({ class: [props.ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
1433
+ }, [
1434
+ createVNode(unref(SelectItemText), {
1435
+ "data-slot": "itemLabel",
1436
+ class: ui.value.itemLabel({ class: [props.ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
1437
+ }, {
1438
+ default: withCtx(() => [
1439
+ renderSlot(_ctx.$slots, "item-label", {
1440
+ item,
1441
+ index
1442
+ }, () => [
1443
+ createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
1444
+ ])
1445
+ ]),
1446
+ _: 2
1447
+ }, 1032, ["class"]),
1448
+ isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
1449
+ key: 0,
1450
+ "data-slot": "itemDescription",
1451
+ class: ui.value.itemDescription({ class: [props.ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
1452
+ }, [
1453
+ renderSlot(_ctx.$slots, "item-description", {
1454
+ item,
1455
+ index
1456
+ }, () => [
1457
+ createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
1458
+ ])
1459
+ ], 2)) : createCommentVNode("", true)
1460
+ ], 2),
1461
+ createVNode("span", {
1462
+ "data-slot": "itemTrailing",
1463
+ class: ui.value.itemTrailing({ class: [props.ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
1464
+ }, [
1465
+ renderSlot(_ctx.$slots, "item-trailing", {
1504
1466
  item,
1505
1467
  index,
1506
1468
  ui: ui.value
1507
- }, () => {
1508
- var _a6, _b4, _c2, _d2, _e2, _f2, _g, _h;
1509
- return [
1510
- renderSlot(_ctx.$slots, "item-leading", {
1511
- item,
1512
- index,
1513
- ui: ui.value
1514
- }, () => {
1515
- var _a7, _b5, _c3, _d3, _e3, _f3, _g2, _h2, _i, _j;
1516
- return [
1517
- isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$d, {
1518
- key: 0,
1519
- name: item.icon,
1520
- "data-slot": "itemLeadingIcon",
1521
- class: ui.value.itemLeadingIcon({ class: [(_a7 = props.ui) == null ? void 0 : _a7.itemLeadingIcon, (_b5 = item.ui) == null ? void 0 : _b5.itemLeadingIcon] })
1522
- }, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
1523
- key: 1,
1524
- size: ((_c3 = item.ui) == null ? void 0 : _c3.itemLeadingAvatarSize) || ((_d3 = props.ui) == null ? void 0 : _d3.itemLeadingAvatarSize) || ui.value.itemLeadingAvatarSize()
1525
- }, { ref_for: true }, item.avatar, {
1526
- "data-slot": "itemLeadingAvatar",
1527
- class: ui.value.itemLeadingAvatar({ class: [(_e3 = props.ui) == null ? void 0 : _e3.itemLeadingAvatar, (_f3 = item.ui) == null ? void 0 : _f3.itemLeadingAvatar] })
1528
- }), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
1529
- key: 2,
1530
- size: ((_g2 = item.ui) == null ? void 0 : _g2.itemLeadingChipSize) || ((_h2 = props.ui) == null ? void 0 : _h2.itemLeadingChipSize) || ui.value.itemLeadingChipSize(),
1531
- inset: "",
1532
- standalone: ""
1533
- }, { ref_for: true }, item.chip, {
1534
- "data-slot": "itemLeadingChip",
1535
- class: ui.value.itemLeadingChip({ class: [(_i = props.ui) == null ? void 0 : _i.itemLeadingChip, (_j = item.ui) == null ? void 0 : _j.itemLeadingChip] })
1536
- }), null, 16, ["size", "class"])) : createCommentVNode("", true)
1537
- ];
1538
- }),
1539
- createVNode("span", {
1540
- "data-slot": "itemWrapper",
1541
- class: ui.value.itemWrapper({ class: [(_a6 = props.ui) == null ? void 0 : _a6.itemWrapper, isSelectItem(item) && ((_b4 = item.ui) == null ? void 0 : _b4.itemWrapper)] })
1542
- }, [
1543
- createVNode(unref(SelectItemText), {
1544
- "data-slot": "itemLabel",
1545
- class: ui.value.itemLabel({ class: [(_c2 = props.ui) == null ? void 0 : _c2.itemLabel, isSelectItem(item) && ((_d2 = item.ui) == null ? void 0 : _d2.itemLabel)] })
1546
- }, {
1547
- default: withCtx(() => [
1548
- renderSlot(_ctx.$slots, "item-label", {
1549
- item,
1550
- index
1551
- }, () => [
1552
- createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, props.labelKey) : item), 1)
1553
- ])
1554
- ]),
1555
- _: 2
1556
- }, 1032, ["class"]),
1557
- isSelectItem(item) && (unref(get)(item, props.descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
1558
- key: 0,
1559
- "data-slot": "itemDescription",
1560
- class: ui.value.itemDescription({ class: [(_e2 = props.ui) == null ? void 0 : _e2.itemDescription, isSelectItem(item) && ((_f2 = item.ui) == null ? void 0 : _f2.itemDescription)] })
1561
- }, [
1562
- renderSlot(_ctx.$slots, "item-description", {
1563
- item,
1564
- index
1565
- }, () => [
1566
- createTextVNode(toDisplayString(unref(get)(item, props.descriptionKey)), 1)
1567
- ])
1568
- ], 2)) : createCommentVNode("", true)
1569
- ], 2),
1570
- createVNode("span", {
1571
- "data-slot": "itemTrailing",
1572
- class: ui.value.itemTrailing({ class: [(_g = props.ui) == null ? void 0 : _g.itemTrailing, isSelectItem(item) && ((_h = item.ui) == null ? void 0 : _h.itemTrailing)] })
1573
- }, [
1574
- renderSlot(_ctx.$slots, "item-trailing", {
1575
- item,
1576
- index,
1577
- ui: ui.value
1578
- }),
1579
- createVNode(unref(SelectItemIndicator), { "as-child": "" }, {
1580
- default: withCtx(() => {
1581
- var _a7, _b5;
1582
- return [
1583
- createVNode(_sfc_main$d, {
1584
- name: __props.selectedIcon || unref(appConfig).ui.icons.check,
1585
- "data-slot": "itemTrailingIcon",
1586
- class: ui.value.itemTrailingIcon({ class: [(_a7 = props.ui) == null ? void 0 : _a7.itemTrailingIcon, isSelectItem(item) && ((_b5 = item.ui) == null ? void 0 : _b5.itemTrailingIcon)] })
1587
- }, null, 8, ["name", "class"])
1588
- ];
1589
- }),
1590
- _: 2
1591
- }, 1024)
1592
- ], 2)
1593
- ];
1594
- })
1595
- ]),
1596
- _: 2
1597
- }, 1032, ["class", "disabled", "value", "onSelect"]))
1598
- ], 64);
1599
- }), 128))
1600
- ]),
1601
- _: 2
1602
- }, 1032, ["class"]);
1603
- }), 128))
1604
- ], 2),
1605
- renderSlot(_ctx.$slots, "content-bottom"),
1606
- !!__props.arrow ? (openBlock(), createBlock(unref(SelectArrow), mergeProps({ key: 0 }, arrowProps.value, {
1607
- "data-slot": "arrow",
1608
- class: ui.value.arrow({ class: (_b2 = props.ui) == null ? void 0 : _b2.arrow })
1609
- }), null, 16, ["class"])) : createCommentVNode("", true)
1610
- ];
1611
- }),
1612
- _: 3
1613
- }, 16, ["class"])
1614
- ];
1615
- }),
1469
+ }),
1470
+ createVNode(unref(SelectItemIndicator), { "as-child": "" }, {
1471
+ default: withCtx(() => [
1472
+ createVNode(_sfc_main$d, {
1473
+ name: __props.selectedIcon || unref(appConfig).ui.icons.check,
1474
+ "data-slot": "itemTrailingIcon",
1475
+ class: ui.value.itemTrailingIcon({ class: [props.ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
1476
+ }, null, 8, ["name", "class"])
1477
+ ]),
1478
+ _: 2
1479
+ }, 1024)
1480
+ ], 2)
1481
+ ])
1482
+ ]),
1483
+ _: 2
1484
+ }, 1032, ["class", "disabled", "value", "onSelect"]))
1485
+ ], 64);
1486
+ }), 128))
1487
+ ]),
1488
+ _: 2
1489
+ }, 1032, ["class"]);
1490
+ }), 128))
1491
+ ], 2),
1492
+ renderSlot(_ctx.$slots, "content-bottom"),
1493
+ !!__props.arrow ? (openBlock(), createBlock(unref(SelectArrow), mergeProps({ key: 0 }, arrowProps.value, {
1494
+ "data-slot": "arrow",
1495
+ class: ui.value.arrow({ class: props.ui?.arrow })
1496
+ }), null, 16, ["class"])) : createCommentVNode("", true)
1497
+ ]),
1498
+ _: 3
1499
+ }, 16, ["class"])
1500
+ ]),
1616
1501
  _: 3
1617
1502
  }, 16)
1618
1503
  ];