cognova 0.2.2 → 0.2.3

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 (508) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/-AsXrBBy.js +1 -0
  3. package/.output/public/_nuxt/2W1RPpXM.js +71 -0
  4. package/.output/public/_nuxt/{C4pxqdgg.js → 5UFq_rDn.js} +1 -1
  5. package/.output/public/_nuxt/5Zh-9l8_.js +1 -0
  6. package/.output/public/_nuxt/{DK9jxJ0g.js → 90UksHlj.js} +1 -1
  7. package/.output/public/_nuxt/{9IQmsEjr.js → 9QKmiSP_.js} +1 -1
  8. package/.output/public/_nuxt/{BOj6t-oo.js → ARbTpeGy.js} +1 -1
  9. package/.output/public/_nuxt/{DyRelyfs.js → ApfLnl06.js} +1 -1
  10. package/.output/public/_nuxt/{DznawRFW.js → B-2BuR5g.js} +1 -1
  11. package/.output/public/_nuxt/B4u7Mczo.js +1 -0
  12. package/.output/public/_nuxt/{DAQhmSv4.js → B5dI_yLq.js} +1 -1
  13. package/.output/public/_nuxt/{Bm9LyG4F.js → B6fnZcA6.js} +1 -1
  14. package/.output/public/_nuxt/{9QnH0xQM.js → B7uMSBlN.js} +1 -1
  15. package/.output/public/_nuxt/BBiRyPlN.js +1 -0
  16. package/.output/public/_nuxt/{iBGCpHdw.js → BF7413u4.js} +2 -2
  17. package/.output/public/_nuxt/{4MiwzAAt.js → BGtUoCgi.js} +2 -2
  18. package/.output/public/_nuxt/{CxuZBC8n.js → BHe4VLtR.js} +1 -1
  19. package/.output/public/_nuxt/{D3RiUGdz.js → BIMBp1Tj.js} +1 -1
  20. package/.output/public/_nuxt/{g20UHUCv.js → BIvPdoE3.js} +1 -1
  21. package/.output/public/_nuxt/BKaRtCjP.js +1 -0
  22. package/.output/public/_nuxt/BLmc9T7l.js +1 -0
  23. package/.output/public/_nuxt/BMdnU6BF.js +1 -0
  24. package/.output/public/_nuxt/{CKkC3Ptm.js → BOgdaA_8.js} +1 -1
  25. package/.output/public/_nuxt/{BffWCM73.js → BQZfTrUg.js} +1 -1
  26. package/.output/public/_nuxt/BQnublTW.js +1 -0
  27. package/.output/public/_nuxt/BSsvedap.js +1 -0
  28. package/.output/public/_nuxt/{Ci7UEZQh.js → BVypxKRT.js} +1 -1
  29. package/.output/public/_nuxt/{CYP_MLH8.js → BWqJFnZy.js} +1 -1
  30. package/.output/public/_nuxt/BXxYdXMr.js +1 -0
  31. package/.output/public/_nuxt/{D_3Rq1BS.js → B_17gAr_.js} +1 -1
  32. package/.output/public/_nuxt/B_qzFVK_.js +1 -0
  33. package/.output/public/_nuxt/{BqKFIuRj.js → BbRPwpIX.js} +1 -1
  34. package/.output/public/_nuxt/BhrzKbv9.js +1 -0
  35. package/.output/public/_nuxt/{Cqy_L_ip.js → Bl6LNGlA.js} +1 -1
  36. package/.output/public/_nuxt/{Fukkqjkf.js → BlPToGni.js} +1 -1
  37. package/.output/public/_nuxt/{DHKLCQRG.js → BlwHr46F.js} +1 -1
  38. package/.output/public/_nuxt/{C6aqGHu1.js → BnmwiZbF.js} +1 -1
  39. package/.output/public/_nuxt/BqtxLJaf.js +1 -0
  40. package/.output/public/_nuxt/{eko-0FUm.js → BrEXdify.js} +1 -1
  41. package/.output/public/_nuxt/{D3e44mCL.js → BtNnS4m3.js} +1 -1
  42. package/.output/public/_nuxt/{BCtfQCzC.js → BtVIBBUN.js} +1 -1
  43. package/.output/public/_nuxt/Bw5h4Jaf.js +1 -0
  44. package/.output/public/_nuxt/{FvlxxmNk.js → Bwcpy7gC.js} +2 -2
  45. package/.output/public/_nuxt/{Db2v8O7O.js → C0TUK31m.js} +1 -1
  46. package/.output/public/_nuxt/C1T4GK6c.js +1 -0
  47. package/.output/public/_nuxt/C2ANDZen.js +1 -0
  48. package/.output/public/_nuxt/{CqU2XbzO.js → C2RZSTuy.js} +1 -1
  49. package/.output/public/_nuxt/C3dYlP5x.js +1 -0
  50. package/.output/public/_nuxt/{m5kGCDpI.js → C3sh_tLi.js} +3 -3
  51. package/.output/public/_nuxt/{BjjCvHLT.js → C4zyxZG7.js} +1 -1
  52. package/.output/public/_nuxt/{C3FxIITy.js → C5I-XBZT.js} +1 -1
  53. package/.output/public/_nuxt/{yuf23kh9.js → CC4Goztu.js} +1 -1
  54. package/.output/public/_nuxt/CC77iplr.js +1 -0
  55. package/.output/public/_nuxt/{xuzLdW-o.js → CFyD2NHP.js} +1 -1
  56. package/.output/public/_nuxt/{CsJ9KhQ4.js → CGQDTeaO.js} +1 -1
  57. package/.output/public/_nuxt/{DnjGH3SQ.js → CHpwuMSk.js} +1 -1
  58. package/.output/public/_nuxt/CLzcRUcs.js +1 -0
  59. package/.output/public/_nuxt/CM2phu_3.js +1 -0
  60. package/.output/public/_nuxt/{Cr8ixbr1.js → CQpYRq61.js} +1 -1
  61. package/.output/public/_nuxt/{C0JKNMDO.js → CUN4bYcg.js} +1 -1
  62. package/.output/public/_nuxt/{CmzH6R-N.js → CXoITXft.js} +19 -19
  63. package/.output/public/_nuxt/CYjcQPl-.js +1 -0
  64. package/.output/public/_nuxt/{DGX0tzL8.js → CZ32KfaS.js} +1 -1
  65. package/.output/public/_nuxt/CclZMdca.js +1 -0
  66. package/.output/public/_nuxt/{C69W7k2j.js → CdpT_Vb6.js} +1 -1
  67. package/.output/public/_nuxt/CflRLvFC.js +1 -0
  68. package/.output/public/_nuxt/{gBC9k4Qj.js → CkqNv7sq.js} +2 -2
  69. package/.output/public/_nuxt/ClXDAYjE.js +1 -0
  70. package/.output/public/_nuxt/CrZGoMo_.js +1 -0
  71. package/.output/public/_nuxt/{BZXMQuYP.js → CvJtd2Af.js} +1 -1
  72. package/.output/public/_nuxt/{DKZxeXDQ.js → Cwtd8e-P.js} +1 -1
  73. package/.output/public/_nuxt/{nIU2F7ia.js → Cx44SSNp.js} +3 -3
  74. package/.output/public/_nuxt/{BzOqrmGa.js → CxEVzuCn.js} +3 -3
  75. package/.output/public/_nuxt/{Dy_Cq5LQ.js → CzIMQevQ.js} +1 -1
  76. package/.output/public/_nuxt/{D6t3dcTl.js → D0P9llU7.js} +1 -1
  77. package/.output/public/_nuxt/{JJ3634gV.js → D1DYuOOm.js} +1 -1
  78. package/.output/public/_nuxt/{BAIz-dEB.js → D1dDc8Vw.js} +1 -1
  79. package/.output/public/_nuxt/{DSRrg8JT.js → D1r0uqf3.js} +1 -1
  80. package/.output/public/_nuxt/{CNnJrDvu.js → D3a8R1T6.js} +1 -1
  81. package/.output/public/_nuxt/{B1X4Bzcy.js → D5EZbuub.js} +1 -1
  82. package/.output/public/_nuxt/D9V13KTK.js +1 -0
  83. package/.output/public/_nuxt/DAE2hbP7.js +1 -0
  84. package/.output/public/_nuxt/{Cvp7FI3T.js → DAIbdyS6.js} +1 -1
  85. package/.output/public/_nuxt/{EuOqK1A6.js → DAvlXjt0.js} +1 -1
  86. package/.output/public/_nuxt/DBKzwexZ.js +1 -0
  87. package/.output/public/_nuxt/{wCGVE8_e.js → DEATxnaF.js} +1 -1
  88. package/.output/public/_nuxt/{cABRLVee.js → DFg8PvHV.js} +1 -1
  89. package/.output/public/_nuxt/DM4MyqI-.js +1 -0
  90. package/.output/public/_nuxt/{Cdt3I3Go.js → DNE7kw9s.js} +1 -1
  91. package/.output/public/_nuxt/DO0oG4fG.js +1 -0
  92. package/.output/public/_nuxt/{B6S_ob86.js → DPFugPaB.js} +1 -1
  93. package/.output/public/_nuxt/{DJjDvbZE.js → DQlXU6_H.js} +1 -1
  94. package/.output/public/_nuxt/DQvuQpwh.js +1 -0
  95. package/.output/public/_nuxt/{sf57orEk.js → DRlG_bnX.js} +1 -1
  96. package/.output/public/_nuxt/{C6RC3lA1.js → DSQj-oMk.js} +1 -1
  97. package/.output/public/_nuxt/{CeIVm4A3.js → DU6ewLkE.js} +1 -1
  98. package/.output/public/_nuxt/{Cp2MA0cm.js → DWhzQg7B.js} +1 -1
  99. package/.output/public/_nuxt/{DJMS2og1.js → D_vK6VPK.js} +1 -1
  100. package/.output/public/_nuxt/{CihWZmJe.js → DaBp0Gba.js} +2 -2
  101. package/.output/public/_nuxt/DaH2FbAy.js +1 -0
  102. package/.output/public/_nuxt/{CtYFj7k1.js → DaJo0CeV.js} +1 -1
  103. package/.output/public/_nuxt/DauLdT7p.js +1 -0
  104. package/.output/public/_nuxt/{DG-T44jj.js → DdPA4eTX.js} +1 -1
  105. package/.output/public/_nuxt/{YuTZB7sD.js → DeAGWdWK.js} +1 -1
  106. package/.output/public/_nuxt/{CitkKxhw.js → DfF1qofg.js} +1 -1
  107. package/.output/public/_nuxt/{Daz4MeL6.js → DiGBA-aA.js} +1 -1
  108. package/.output/public/_nuxt/DiJxF69i.js +1 -0
  109. package/.output/public/_nuxt/{DIoI0uJm.js → DkBIU-1F.js} +1 -1
  110. package/.output/public/_nuxt/DmAM6bZ0.js +1 -0
  111. package/.output/public/_nuxt/DmeAKr3J.js +1 -0
  112. package/.output/public/_nuxt/DmmTnMzZ.js +1 -0
  113. package/.output/public/_nuxt/{Lwdv_RKd.js → DqsUSndS.js} +1 -1
  114. package/.output/public/_nuxt/Dvw-hR3Y.js +1 -0
  115. package/.output/public/_nuxt/{CVgTJeSq.js → Dz6sfh81.js} +1 -1
  116. package/.output/public/_nuxt/{BYjadNrw.js → FNhYm5FX.js} +1 -1
  117. package/.output/public/_nuxt/{Nb2jBtYT.js → HOeKUnra.js} +1 -1
  118. package/.output/public/_nuxt/{CtchsY6e.js → IR1jkN7B.js} +1 -1
  119. package/.output/public/_nuxt/{DCzfkCGa.js → MpTk6K7N.js} +1 -1
  120. package/.output/public/_nuxt/NZ7Wz6LP.js +1 -0
  121. package/.output/public/_nuxt/{DfQu3kEw.js → PqWbiAD2.js} +1 -1
  122. package/.output/public/_nuxt/{Jez9DHn7.js → Tu4FhMRc.js} +1 -1
  123. package/.output/public/_nuxt/{B3y_Qqox.js → UKPXYG4z.js} +1 -1
  124. package/.output/public/_nuxt/{BlAZO7nq.js → UO2Y9Nve.js} +1 -1
  125. package/.output/public/_nuxt/{KKK6HVeG.js → XHiJSquP.js} +1 -1
  126. package/.output/public/_nuxt/YGWAImQo.js +1 -0
  127. package/.output/public/_nuxt/{ghuJ76mD.js → ZR87XvwB.js} +1 -1
  128. package/.output/public/_nuxt/{yNrp2XvX.js → _E89BQAO.js} +1 -1
  129. package/.output/public/_nuxt/{C_BdYLzz.js → aiXk7zRt.js} +1 -1
  130. package/.output/public/_nuxt/builds/latest.json +1 -1
  131. package/.output/public/_nuxt/builds/meta/91727fcc-bf7f-407f-9b1e-092017fcfee0.json +1 -0
  132. package/.output/public/_nuxt/cL7whuPe.js +1 -0
  133. package/.output/public/_nuxt/{BasgsT_S.js → ct6_k5IW.js} +1 -1
  134. package/.output/public/_nuxt/entry._7ZkP07A.css +1 -0
  135. package/.output/public/_nuxt/{DTDgHTuh.js → fEUQvmn8.js} +2 -2
  136. package/.output/public/_nuxt/{FNC8XZTk.js → gGlaVUMD.js} +1 -1
  137. package/.output/public/_nuxt/gjmGkVlL.js +1 -0
  138. package/.output/public/_nuxt/{IRSbVPIu.js → m5001Uvl.js} +1 -1
  139. package/.output/public/_nuxt/{_CYZi8HN.js → mQkFCz_M.js} +1 -1
  140. package/.output/public/_nuxt/{BxXOsXrM.js → p9l1LjVc.js} +10 -10
  141. package/.output/public/_nuxt/{BsEZoHd1.js → qR_K5W8V.js} +1 -1
  142. package/.output/public/_nuxt/{BrNqhp1a.js → t_9QQ4MF.js} +7 -7
  143. package/.output/public/_nuxt/{pcUI-zuY.js → uc4c4mfb.js} +1 -1
  144. package/.output/public/_nuxt/{usage.vakN1lvi.css → usage.BDeyCZwW.css} +1 -1
  145. package/.output/public/_nuxt/wPSLEMBw.js +1 -0
  146. package/.output/public/_nuxt/xKRwul0f.js +1 -0
  147. package/.output/public/_nuxt/{BWhMnjID.js → xgpiGSxb.js} +1 -1
  148. package/.output/public/_nuxt/xxnk7j0F.js +1 -0
  149. package/.output/public/favicon.svg +1 -0
  150. package/.output/server/chunks/build/A-BWukSPjS.mjs +1 -0
  151. package/.output/server/chunks/build/Accordion-BaJYea6e.mjs +1 -0
  152. package/.output/server/chunks/build/AccordionItem-DdG2zgcN.mjs +1 -0
  153. package/.output/server/chunks/build/Badge-BrU9UkCv.mjs +1 -0
  154. package/.output/server/chunks/build/Blockquote-DND8wTkU.mjs +1 -0
  155. package/.output/server/chunks/build/Callout-1halpaEg.mjs +1 -0
  156. package/.output/server/chunks/build/Card-BHCSDKDt.mjs +1 -0
  157. package/.output/server/chunks/build/CardGroup-BOuJcNGp.mjs +1 -0
  158. package/.output/server/chunks/build/Caution-BP3y-TcC.mjs +1 -0
  159. package/.output/server/chunks/build/Code-B1xkAS5a.mjs +1 -0
  160. package/.output/server/chunks/build/CodeCollapse-BIhaNa22.mjs +1 -0
  161. package/.output/server/chunks/build/CodeGroup-BviYyCuo.mjs +1 -0
  162. package/.output/server/chunks/build/CodeIcon-CWD5HcV7.mjs +2 -1
  163. package/.output/server/chunks/build/CodePreview-D8PsCQ6m.mjs +1 -0
  164. package/.output/server/chunks/build/CodeTree-BUTLupmL.mjs +1 -0
  165. package/.output/server/chunks/build/Collapsible-BIvXNaSq.mjs +1 -0
  166. package/.output/server/chunks/build/DropdownMenu-BBrV9nXz.mjs +1 -1
  167. package/.output/server/chunks/build/EditorToolbar-DIfb5arC.mjs +1 -1
  168. package/.output/server/chunks/build/Em-DsIz_BnD.mjs +1 -0
  169. package/.output/server/chunks/build/Field-cwwmSQDT.mjs +1 -0
  170. package/.output/server/chunks/build/FieldGroup-CAIpQv8s.mjs +1 -0
  171. package/.output/server/chunks/build/H1-BbFNsPyP.mjs +1 -0
  172. package/.output/server/chunks/build/H2-vHTl_pWr.mjs +1 -0
  173. package/.output/server/chunks/build/H3-7eTcfO3s.mjs +1 -0
  174. package/.output/server/chunks/build/H4-C89p_PKO.mjs +1 -0
  175. package/.output/server/chunks/build/Hr-Bm8RlL3O.mjs +1 -0
  176. package/.output/server/chunks/build/Icon-Dp9iy0BI.mjs +1 -0
  177. package/.output/server/chunks/build/Img-CWLmvN1t.mjs +2 -1
  178. package/.output/server/chunks/build/Kbd-CQG6I_Ch.mjs +1 -0
  179. package/.output/server/chunks/build/Li-Bw1QUaGv.mjs +1 -0
  180. package/.output/server/chunks/build/MDC-Dx0YPDhe.mjs +1 -1
  181. package/.output/server/chunks/build/Note-CHkjm9jm.mjs +1 -0
  182. package/.output/server/chunks/build/Ol-D-fPnfFM.mjs +1 -0
  183. package/.output/server/chunks/build/P-B5YI1V9y.mjs +1 -0
  184. package/.output/server/chunks/build/Pre-ChiJcf3C.mjs +1 -0
  185. package/.output/server/chunks/build/ProseH5-DahJyv8h.mjs +1 -0
  186. package/.output/server/chunks/build/ProseH6-C4Is5h6c.mjs +1 -0
  187. package/.output/server/chunks/build/Select-BB1oLrCD.mjs +1 -1
  188. package/.output/server/chunks/build/SelectMenu-DPssg6zD.mjs +1 -1
  189. package/.output/server/chunks/build/Steps-BZpvXfzb.mjs +1 -0
  190. package/.output/server/chunks/build/Strong-DXJqOWL3.mjs +1 -0
  191. package/.output/server/chunks/build/Table-BSrLZ7dt.mjs +1 -0
  192. package/.output/server/chunks/build/Table-DCwTlhCj.mjs +1 -1
  193. package/.output/server/chunks/build/Tabs-Dk3nvOFF.mjs +1 -0
  194. package/.output/server/chunks/build/TabsItem-CDhyuBtJ.mjs +1 -0
  195. package/.output/server/chunks/build/Tbody-CjMT5oH-.mjs +1 -0
  196. package/.output/server/chunks/build/Td-ZBVaEjFN.mjs +1 -0
  197. package/.output/server/chunks/build/Th-D317icbd.mjs +1 -0
  198. package/.output/server/chunks/build/Thead-Ca_ZESTK.mjs +1 -0
  199. package/.output/server/chunks/build/Tip-CP3oTARR.mjs +1 -0
  200. package/.output/server/chunks/build/Tooltip-TRyl6dje.mjs +1 -1
  201. package/.output/server/chunks/build/Tr-6jI8j9gD.mjs +1 -0
  202. package/.output/server/chunks/build/{docs-Dk2JnYq3.mjs → Tree-DUhXKd8y.mjs} +46 -2235
  203. package/.output/server/chunks/build/Tree-DUhXKd8y.mjs.map +1 -0
  204. package/.output/server/chunks/build/Ul-BUGj_CPb.mjs +1 -0
  205. package/.output/server/chunks/build/Warning-BJ8G6cxC.mjs +1 -0
  206. package/.output/server/chunks/build/_id_-DN00UDdO.mjs +1 -0
  207. package/.output/server/chunks/build/_id_-DN00UDdO.mjs.map +1 -1
  208. package/.output/server/chunks/build/_name_-BnS_KEfX.mjs +1592 -0
  209. package/.output/server/chunks/build/_name_-BnS_KEfX.mjs.map +1 -0
  210. package/.output/server/chunks/build/{_uuid_-0UgdUhfY.mjs → _uuid_-DfJaumTE.mjs} +5 -4
  211. package/.output/server/chunks/build/{_uuid_-0UgdUhfY.mjs.map → _uuid_-DfJaumTE.mjs.map} +1 -1
  212. package/.output/server/chunks/build/auth-BGPNH2QJ.mjs +20 -0
  213. package/.output/server/chunks/build/auth-BGPNH2QJ.mjs.map +1 -0
  214. package/.output/server/chunks/build/auth-CvD7MqKW.mjs +1 -0
  215. package/.output/server/chunks/build/auth-CvD7MqKW.mjs.map +1 -1
  216. package/.output/server/chunks/build/chat-CZMiB68R.mjs +1 -0
  217. package/.output/server/chunks/build/chat-CZMiB68R.mjs.map +1 -1
  218. package/.output/server/chunks/build/client.precomputed.mjs +1 -1
  219. package/.output/server/chunks/build/cookie-C_iulBi6.mjs +1 -1
  220. package/.output/server/chunks/build/{dashboard-YEscLBQN.mjs → dashboard-CLk1NlbR.mjs} +15 -4
  221. package/.output/server/chunks/build/dashboard-CLk1NlbR.mjs.map +1 -0
  222. package/.output/server/chunks/build/{dashboard-CpMVYnDV.mjs → dashboard-CiVTAZuF.mjs} +12 -4
  223. package/.output/server/chunks/build/{dashboard-CpMVYnDV.mjs.map → dashboard-CiVTAZuF.mjs.map} +1 -1
  224. package/.output/server/chunks/build/docs-ChGwOPg5.mjs +2204 -0
  225. package/.output/server/chunks/build/docs-ChGwOPg5.mjs.map +1 -0
  226. package/.output/server/chunks/build/error-404-BzbcNcdU.mjs +1 -0
  227. package/.output/server/chunks/build/error-500-uCDjGRW8.mjs +1 -0
  228. package/.output/server/chunks/build/fetch-BB7Qzkwe.mjs +1 -1
  229. package/.output/server/chunks/build/{hooks-DP8WoUPS.mjs → hooks-D328DcO6.mjs} +3 -2
  230. package/.output/server/chunks/build/hooks-D328DcO6.mjs.map +1 -0
  231. package/.output/server/chunks/build/{index-DVx-QlhP.mjs → index-Byt-3Yq6.mjs} +3 -2
  232. package/.output/server/chunks/build/{index-DVx-QlhP.mjs.map → index-Byt-3Yq6.mjs.map} +1 -1
  233. package/.output/server/chunks/build/{index-Ba_bPJgk.mjs → index-C9PuieXh.mjs} +3 -2
  234. package/.output/server/chunks/build/index-C9PuieXh.mjs.map +1 -0
  235. package/.output/server/chunks/build/index-C_LcBBgO.mjs +1508 -0
  236. package/.output/server/chunks/build/index-C_LcBBgO.mjs.map +1 -0
  237. package/.output/server/chunks/build/index-CxDxc9fm.mjs +1 -1
  238. package/.output/server/chunks/build/index-DzdvIi8V.mjs +1 -0
  239. package/.output/server/chunks/build/library-CbWcF5wT.mjs +601 -0
  240. package/.output/server/chunks/build/library-CbWcF5wT.mjs.map +1 -0
  241. package/.output/server/chunks/build/{login-BAysbpyX.mjs → login-DnnElTl2.mjs} +15 -7
  242. package/.output/server/chunks/build/{login-BAysbpyX.mjs.map → login-DnnElTl2.mjs.map} +1 -1
  243. package/.output/server/chunks/build/memories-BqA719O1.mjs +1 -0
  244. package/.output/server/chunks/build/memories-BqA719O1.mjs.map +1 -1
  245. package/.output/server/chunks/build/server.mjs +62 -34
  246. package/.output/server/chunks/build/server.mjs.map +1 -1
  247. package/.output/server/chunks/build/settings-DdkKCJ00.mjs +1 -0
  248. package/.output/server/chunks/build/settings-DdkKCJ00.mjs.map +1 -1
  249. package/.output/server/chunks/build/styles.mjs +2 -2
  250. package/.output/server/chunks/build/{tasks-DiOi1HG_.mjs → tasks-DnAFqbtt.mjs} +3 -2
  251. package/.output/server/chunks/build/tasks-DnAFqbtt.mjs.map +1 -0
  252. package/.output/server/chunks/build/{usage-H_mcd_fz.mjs → usage-CSrBh4Or.mjs} +159 -44
  253. package/.output/server/chunks/build/{usage-H_mcd_fz.mjs.map → usage-CSrBh4Or.mjs.map} +1 -1
  254. package/.output/server/chunks/build/{usePreferences-CzC8fRzd.mjs → usePreferences-DH1QjxOj.mjs} +7 -1
  255. package/.output/server/chunks/build/usePreferences-DH1QjxOj.mjs.map +1 -0
  256. package/.output/server/chunks/build/{view-Dc8mvzCB.mjs → view-n2sYa4Zh.mjs} +4 -3
  257. package/.output/server/chunks/build/{view-Dc8mvzCB.mjs.map → view-n2sYa4Zh.mjs.map} +1 -1
  258. package/.output/server/chunks/build/virtual_nuxt__Users_tony_Documents_GitHub_second-brain_node_modules_.cache_nuxt_.nuxt_mdc-imports-PtwWlZ2H.mjs +1 -0
  259. package/.output/server/chunks/nitro/nitro.mjs +1247 -824
  260. package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
  261. package/.output/server/chunks/routes/_ws/chat.mjs +2 -1
  262. package/.output/server/chunks/routes/_ws/chat.mjs.map +1 -1
  263. package/.output/server/chunks/routes/api/agents/_id/cancel.post.mjs +1 -0
  264. package/.output/server/chunks/routes/api/agents/_id/cancel.post.mjs.map +1 -1
  265. package/.output/server/chunks/routes/api/agents/_id/run.post.mjs +1 -0
  266. package/.output/server/chunks/routes/api/agents/_id/run.post.mjs.map +1 -1
  267. package/.output/server/chunks/routes/api/agents/_id/runs.get.mjs +1 -0
  268. package/.output/server/chunks/routes/api/agents/_id/runs.get.mjs.map +1 -1
  269. package/.output/server/chunks/routes/api/agents/_id/stats.get.mjs +1 -0
  270. package/.output/server/chunks/routes/api/agents/_id/stats.get.mjs.map +1 -1
  271. package/.output/server/chunks/routes/api/agents/_id_.delete.mjs +1 -0
  272. package/.output/server/chunks/routes/api/agents/_id_.delete.mjs.map +1 -1
  273. package/.output/server/chunks/routes/api/agents/_id_.get.mjs +1 -0
  274. package/.output/server/chunks/routes/api/agents/_id_.get.mjs.map +1 -1
  275. package/.output/server/chunks/routes/api/agents/_id_.patch.mjs +1 -0
  276. package/.output/server/chunks/routes/api/agents/_id_.patch.mjs.map +1 -1
  277. package/.output/server/chunks/routes/api/agents/stats.get.mjs +1 -0
  278. package/.output/server/chunks/routes/api/agents/stats.get.mjs.map +1 -1
  279. package/.output/server/chunks/routes/api/auth/_...all_.mjs +1 -0
  280. package/.output/server/chunks/routes/api/auth/_...all_.mjs.map +1 -1
  281. package/.output/server/chunks/routes/api/conversations/_id_.delete.mjs +1 -0
  282. package/.output/server/chunks/routes/api/conversations/_id_.delete.mjs.map +1 -1
  283. package/.output/server/chunks/routes/api/conversations/_id_.get.mjs +1 -0
  284. package/.output/server/chunks/routes/api/conversations/_id_.get.mjs.map +1 -1
  285. package/.output/server/chunks/routes/api/dashboard/overview.get.mjs +1 -0
  286. package/.output/server/chunks/routes/api/dashboard/overview.get.mjs.map +1 -1
  287. package/.output/server/chunks/routes/api/documents/_id/public.get.mjs +1 -0
  288. package/.output/server/chunks/routes/api/documents/_id/public.get.mjs.map +1 -1
  289. package/.output/server/chunks/routes/api/documents/_id/restore.post.mjs +1 -0
  290. package/.output/server/chunks/routes/api/documents/_id/restore.post.mjs.map +1 -1
  291. package/.output/server/chunks/routes/api/documents/by-path.post.mjs +1 -0
  292. package/.output/server/chunks/routes/api/documents/by-path.post.mjs.map +1 -1
  293. package/.output/server/chunks/routes/api/documents/index.delete.mjs +1 -0
  294. package/.output/server/chunks/routes/api/documents/index.delete.mjs.map +1 -1
  295. package/.output/server/chunks/routes/api/documents/index.put.mjs +1 -0
  296. package/.output/server/chunks/routes/api/documents/index.put.mjs.map +1 -1
  297. package/.output/server/chunks/routes/api/fs/delete.post.mjs +1 -0
  298. package/.output/server/chunks/routes/api/fs/delete.post.mjs.map +1 -1
  299. package/.output/server/chunks/routes/api/fs/list.get.mjs +1 -0
  300. package/.output/server/chunks/routes/api/fs/list.get.mjs.map +1 -1
  301. package/.output/server/chunks/routes/api/fs/mkdir.post.mjs +1 -0
  302. package/.output/server/chunks/routes/api/fs/mkdir.post.mjs.map +1 -1
  303. package/.output/server/chunks/routes/api/fs/move.post.mjs +1 -0
  304. package/.output/server/chunks/routes/api/fs/move.post.mjs.map +1 -1
  305. package/.output/server/chunks/routes/api/fs/read.post.mjs +1 -0
  306. package/.output/server/chunks/routes/api/fs/read.post.mjs.map +1 -1
  307. package/.output/server/chunks/routes/api/fs/rename.post.mjs +1 -0
  308. package/.output/server/chunks/routes/api/fs/rename.post.mjs.map +1 -1
  309. package/.output/server/chunks/routes/api/fs/write.post.mjs +1 -0
  310. package/.output/server/chunks/routes/api/fs/write.post.mjs.map +1 -1
  311. package/.output/server/chunks/routes/api/health.get.mjs +1 -0
  312. package/.output/server/chunks/routes/api/health.get.mjs.map +1 -1
  313. package/.output/server/chunks/routes/api/home.get.mjs +1 -0
  314. package/.output/server/chunks/routes/api/home.get.mjs.map +1 -1
  315. package/.output/server/chunks/routes/api/hooks/index.get.mjs +1 -0
  316. package/.output/server/chunks/routes/api/hooks/index.get.mjs.map +1 -1
  317. package/.output/server/chunks/routes/api/hooks/index.post.mjs +1 -0
  318. package/.output/server/chunks/routes/api/hooks/index.post.mjs.map +1 -1
  319. package/.output/server/chunks/routes/api/hooks/stats.get.mjs +1 -0
  320. package/.output/server/chunks/routes/api/hooks/stats.get.mjs.map +1 -1
  321. package/.output/server/chunks/routes/api/index.get.mjs +1 -0
  322. package/.output/server/chunks/routes/api/index.get.mjs.map +1 -1
  323. package/.output/server/chunks/routes/api/index.get2.mjs +1 -0
  324. package/.output/server/chunks/routes/api/index.get2.mjs.map +1 -1
  325. package/.output/server/chunks/routes/api/index.get3.mjs +1 -0
  326. package/.output/server/chunks/routes/api/index.get3.mjs.map +1 -1
  327. package/.output/server/chunks/routes/api/index.get4.mjs +1 -0
  328. package/.output/server/chunks/routes/api/index.get4.mjs.map +1 -1
  329. package/.output/server/chunks/routes/api/index.get5.mjs +1 -0
  330. package/.output/server/chunks/routes/api/index.get5.mjs.map +1 -1
  331. package/.output/server/chunks/routes/api/index.get6.mjs +1 -0
  332. package/.output/server/chunks/routes/api/index.get6.mjs.map +1 -1
  333. package/.output/server/chunks/routes/api/index.get7.mjs +40 -38
  334. package/.output/server/chunks/routes/api/index.get7.mjs.map +1 -1
  335. package/.output/server/chunks/routes/api/index.get8.mjs +33 -38
  336. package/.output/server/chunks/routes/api/index.get8.mjs.map +1 -1
  337. package/.output/server/chunks/routes/api/index.get9.mjs +83 -0
  338. package/.output/server/chunks/routes/api/index.get9.mjs.map +1 -0
  339. package/.output/server/chunks/routes/api/index.post.mjs +1 -0
  340. package/.output/server/chunks/routes/api/index.post.mjs.map +1 -1
  341. package/.output/server/chunks/routes/api/index.post2.mjs +1 -0
  342. package/.output/server/chunks/routes/api/index.post2.mjs.map +1 -1
  343. package/.output/server/chunks/routes/api/index.post3.mjs +1 -0
  344. package/.output/server/chunks/routes/api/index.post3.mjs.map +1 -1
  345. package/.output/server/chunks/routes/api/index.post4.mjs +1 -0
  346. package/.output/server/chunks/routes/api/index.post4.mjs.map +1 -1
  347. package/.output/server/chunks/routes/api/index.put.mjs +1 -0
  348. package/.output/server/chunks/routes/api/index.put.mjs.map +1 -1
  349. package/.output/server/chunks/routes/api/memory/_id_.delete.mjs +1 -0
  350. package/.output/server/chunks/routes/api/memory/_id_.delete.mjs.map +1 -1
  351. package/.output/server/chunks/routes/api/memory/context.get.mjs +1 -0
  352. package/.output/server/chunks/routes/api/memory/context.get.mjs.map +1 -1
  353. package/.output/server/chunks/routes/api/memory/extract.post.mjs +2 -1
  354. package/.output/server/chunks/routes/api/memory/extract.post.mjs.map +1 -1
  355. package/.output/server/chunks/routes/api/memory/search.get.mjs +1 -0
  356. package/.output/server/chunks/routes/api/memory/search.get.mjs.map +1 -1
  357. package/.output/server/chunks/routes/api/memory/store.post.mjs +1 -0
  358. package/.output/server/chunks/routes/api/memory/store.post.mjs.map +1 -1
  359. package/.output/server/chunks/routes/api/projects/index.delete.mjs +1 -0
  360. package/.output/server/chunks/routes/api/projects/index.delete.mjs.map +1 -1
  361. package/.output/server/chunks/routes/api/projects/index.get.mjs +1 -0
  362. package/.output/server/chunks/routes/api/projects/index.get.mjs.map +1 -1
  363. package/.output/server/chunks/routes/api/projects/index.put.mjs +1 -0
  364. package/.output/server/chunks/routes/api/projects/index.put.mjs.map +1 -1
  365. package/.output/server/chunks/routes/api/secrets/_key_.delete.mjs +1 -0
  366. package/.output/server/chunks/routes/api/secrets/_key_.delete.mjs.map +1 -1
  367. package/.output/server/chunks/routes/api/secrets/_key_.get.mjs +1 -0
  368. package/.output/server/chunks/routes/api/secrets/_key_.get.mjs.map +1 -1
  369. package/.output/server/chunks/routes/api/secrets/_key_.put.mjs +1 -0
  370. package/.output/server/chunks/routes/api/secrets/_key_.put.mjs.map +1 -1
  371. package/.output/server/chunks/routes/api/skills/_name/export.get.mjs +72 -0
  372. package/.output/server/chunks/routes/api/skills/_name/export.get.mjs.map +1 -0
  373. package/.output/server/chunks/routes/api/skills/_name/files/create.post.mjs +73 -0
  374. package/.output/server/chunks/routes/api/skills/_name/files/create.post.mjs.map +1 -0
  375. package/.output/server/chunks/routes/api/skills/_name/files/delete.post.mjs +71 -0
  376. package/.output/server/chunks/routes/api/skills/_name/files/delete.post.mjs.map +1 -0
  377. package/.output/server/chunks/routes/api/skills/_name/files/read.post.mjs +69 -0
  378. package/.output/server/chunks/routes/api/skills/_name/files/read.post.mjs.map +1 -0
  379. package/.output/server/chunks/routes/api/skills/_name/files/write.post.mjs +69 -0
  380. package/.output/server/chunks/routes/api/skills/_name/files/write.post.mjs.map +1 -0
  381. package/.output/server/chunks/routes/api/skills/_name/index.get.mjs +60 -0
  382. package/.output/server/chunks/routes/api/skills/_name/index.get.mjs.map +1 -0
  383. package/.output/server/chunks/routes/api/skills/_name/rename.post.mjs +87 -0
  384. package/.output/server/chunks/routes/api/skills/_name/rename.post.mjs.map +1 -0
  385. package/.output/server/chunks/routes/api/skills/_name/toggle.post.mjs +62 -0
  386. package/.output/server/chunks/routes/api/skills/_name/toggle.post.mjs.map +1 -0
  387. package/.output/server/chunks/routes/api/skills/create.post.mjs +79 -0
  388. package/.output/server/chunks/routes/api/skills/create.post.mjs.map +1 -0
  389. package/.output/server/chunks/routes/api/skills/generate.post.mjs +143 -0
  390. package/.output/server/chunks/routes/api/skills/generate.post.mjs.map +1 -0
  391. package/.output/server/chunks/routes/api/skills/import.post.mjs +96 -0
  392. package/.output/server/chunks/routes/api/skills/import.post.mjs.map +1 -0
  393. package/.output/server/chunks/routes/api/skills/index.get.mjs +82 -0
  394. package/.output/server/chunks/routes/api/skills/index.get.mjs.map +1 -0
  395. package/.output/server/chunks/routes/api/skills/index.get2.mjs +83 -0
  396. package/.output/server/chunks/routes/api/skills/index.get2.mjs.map +1 -0
  397. package/.output/server/chunks/routes/api/skills/library/check-updates.get.mjs +72 -0
  398. package/.output/server/chunks/routes/api/skills/library/check-updates.get.mjs.map +1 -0
  399. package/.output/server/chunks/routes/api/skills/library/install.post.mjs +90 -0
  400. package/.output/server/chunks/routes/api/skills/library/install.post.mjs.map +1 -0
  401. package/.output/server/chunks/routes/api/tasks/_id/restore.post.mjs +1 -0
  402. package/.output/server/chunks/routes/api/tasks/_id/restore.post.mjs.map +1 -1
  403. package/.output/server/chunks/routes/api/tasks/index.delete.mjs +1 -0
  404. package/.output/server/chunks/routes/api/tasks/index.delete.mjs.map +1 -1
  405. package/.output/server/chunks/routes/api/tasks/index.get.mjs +1 -0
  406. package/.output/server/chunks/routes/api/tasks/index.get.mjs.map +1 -1
  407. package/.output/server/chunks/routes/api/tasks/index.put.mjs +1 -0
  408. package/.output/server/chunks/routes/api/tasks/index.put.mjs.map +1 -1
  409. package/.output/server/chunks/routes/api/tasks/tags.get.mjs +1 -0
  410. package/.output/server/chunks/routes/api/tasks/tags.get.mjs.map +1 -1
  411. package/.output/server/chunks/routes/api/usage/stats.get.mjs +4 -1
  412. package/.output/server/chunks/routes/api/usage/stats.get.mjs.map +1 -1
  413. package/.output/server/chunks/routes/api/user/email.patch.mjs +2 -1
  414. package/.output/server/chunks/routes/api/user/email.patch.mjs.map +1 -1
  415. package/.output/server/chunks/routes/notifications.mjs +2 -1
  416. package/.output/server/chunks/routes/notifications.mjs.map +1 -1
  417. package/.output/server/chunks/routes/renderer.mjs +2 -2
  418. package/.output/server/chunks/routes/terminal.mjs +2 -1
  419. package/.output/server/chunks/routes/terminal.mjs.map +1 -1
  420. package/.output/server/index.mjs +2 -1
  421. package/.output/server/index.mjs.map +1 -1
  422. package/.output/server/node_modules/adm-zip/adm-zip.js +949 -0
  423. package/.output/server/node_modules/adm-zip/headers/entryHeader.js +374 -0
  424. package/.output/server/node_modules/adm-zip/headers/index.js +2 -0
  425. package/.output/server/node_modules/adm-zip/headers/mainHeader.js +130 -0
  426. package/.output/server/node_modules/adm-zip/methods/deflater.js +33 -0
  427. package/.output/server/node_modules/adm-zip/methods/index.js +3 -0
  428. package/.output/server/node_modules/adm-zip/methods/inflater.js +34 -0
  429. package/.output/server/node_modules/adm-zip/methods/zipcrypto.js +175 -0
  430. package/.output/server/node_modules/adm-zip/package.json +49 -0
  431. package/.output/server/node_modules/adm-zip/util/constants.js +142 -0
  432. package/.output/server/node_modules/adm-zip/util/decoder.js +5 -0
  433. package/.output/server/node_modules/adm-zip/util/errors.js +63 -0
  434. package/.output/server/node_modules/adm-zip/util/fattr.js +76 -0
  435. package/.output/server/node_modules/adm-zip/util/index.js +5 -0
  436. package/.output/server/node_modules/adm-zip/util/utils.js +336 -0
  437. package/.output/server/node_modules/adm-zip/zipEntry.js +405 -0
  438. package/.output/server/node_modules/adm-zip/zipFile.js +446 -0
  439. package/.output/server/package.json +2 -1
  440. package/README.md +3 -0
  441. package/app/app.vue +1 -1
  442. package/app/components/dashboard/StatCards.vue +21 -2
  443. package/app/components/usage/UsageCostChart.client.vue +59 -23
  444. package/app/components/usage/UsageCostChart.server.vue +1 -0
  445. package/app/components/usage/UsageSourceDonut.client.vue +17 -5
  446. package/app/components/usage/UsageSourceDonut.server.vue +1 -0
  447. package/app/components/usage/UsageTopConsumers.vue +13 -3
  448. package/app/composables/usePreferences.ts +9 -1
  449. package/app/layouts/auth.vue +0 -10
  450. package/app/pages/login.vue +18 -8
  451. package/app/pages/skills/[name].vue +12 -0
  452. package/app/pages/skills/index.vue +47 -0
  453. package/app/pages/usage.vue +43 -16
  454. package/dist/cli/index.js +12 -13
  455. package/package.json +5 -3
  456. package/server/api/skills/[name]/export.get.ts +45 -0
  457. package/server/api/skills/import.post.ts +87 -0
  458. package/server/api/usage/stats.get.ts +4 -2
  459. package/shared/types/index.ts +2 -1
  460. package/.output/public/_nuxt/5ZXA0Ckq.js +0 -1
  461. package/.output/public/_nuxt/BIIJhjQO.js +0 -1
  462. package/.output/public/_nuxt/BIckl6wA.js +0 -1
  463. package/.output/public/_nuxt/BJ3o57WW.js +0 -1
  464. package/.output/public/_nuxt/BNetzZzF.js +0 -1
  465. package/.output/public/_nuxt/BS0ofHJK.js +0 -1
  466. package/.output/public/_nuxt/B_3_hrpn.js +0 -1
  467. package/.output/public/_nuxt/BaBZjmMC.js +0 -1
  468. package/.output/public/_nuxt/BaMqDm5u.js +0 -1
  469. package/.output/public/_nuxt/BhzMoffi.js +0 -1
  470. package/.output/public/_nuxt/BlhFigLL.js +0 -1
  471. package/.output/public/_nuxt/BoIxv-gM.js +0 -1
  472. package/.output/public/_nuxt/Br19oYkq.js +0 -1
  473. package/.output/public/_nuxt/C0kh_F7v.js +0 -1
  474. package/.output/public/_nuxt/C61KgSco.js +0 -1
  475. package/.output/public/_nuxt/CJUdYEdO.js +0 -1
  476. package/.output/public/_nuxt/CVJQGP1Q.js +0 -1
  477. package/.output/public/_nuxt/CWMUi89H.js +0 -1
  478. package/.output/public/_nuxt/Cdu2qGgq.js +0 -1
  479. package/.output/public/_nuxt/CeIu7z4p.js +0 -1
  480. package/.output/public/_nuxt/D2689qk4.js +0 -1
  481. package/.output/public/_nuxt/D31L7Ks6.js +0 -1
  482. package/.output/public/_nuxt/DB359q8R.js +0 -1
  483. package/.output/public/_nuxt/DHG66LPS.js +0 -1
  484. package/.output/public/_nuxt/DJ5V-y_x.js +0 -1
  485. package/.output/public/_nuxt/DLETdGFL.js +0 -1
  486. package/.output/public/_nuxt/DOICd-Ld.js +0 -1
  487. package/.output/public/_nuxt/DPEcH-gi.js +0 -65
  488. package/.output/public/_nuxt/Db8-_gO7.js +0 -1
  489. package/.output/public/_nuxt/DgV-EDJ9.js +0 -1
  490. package/.output/public/_nuxt/Dp2X5R2m.js +0 -1
  491. package/.output/public/_nuxt/DqB723Z0.js +0 -1
  492. package/.output/public/_nuxt/Q8Ps7oN5.js +0 -1
  493. package/.output/public/_nuxt/SXTDhzp6.js +0 -1
  494. package/.output/public/_nuxt/Sg2Lwc46.js +0 -1
  495. package/.output/public/_nuxt/_J_7XIn-.js +0 -1
  496. package/.output/public/_nuxt/builds/meta/a1e9100c-1a4f-4f7e-bb53-9dbe0d07effb.json +0 -1
  497. package/.output/public/_nuxt/entry.CGxIBGAf.css +0 -1
  498. package/.output/public/_nuxt/inmzPrjz.js +0 -1
  499. package/.output/public/_nuxt/oIX-ZDN6.js +0 -1
  500. package/.output/server/chunks/build/auth-CDHRohj4.mjs +0 -77
  501. package/.output/server/chunks/build/auth-CDHRohj4.mjs.map +0 -1
  502. package/.output/server/chunks/build/dashboard-YEscLBQN.mjs.map +0 -1
  503. package/.output/server/chunks/build/docs-Dk2JnYq3.mjs.map +0 -1
  504. package/.output/server/chunks/build/hooks-DP8WoUPS.mjs.map +0 -1
  505. package/.output/server/chunks/build/index-Ba_bPJgk.mjs.map +0 -1
  506. package/.output/server/chunks/build/tasks-DiOi1HG_.mjs.map +0 -1
  507. package/.output/server/chunks/build/usePreferences-CzC8fRzd.mjs.map +0 -1
  508. /package/.output/public/_nuxt/{useCopyToClipboard.Be_IvFWy.css → CodeEditor.Be_IvFWy.css} +0 -0
@@ -1,4 +1,4 @@
1
- import{s as B,a as Et,b as Lt,c as Be,z as xt,h as Pt}from"./nIU2F7ia.js";import{s as et,f as Gt,h as $t}from"./CihWZmJe.js";import"./BxXOsXrM.js";import"./88opOQSr.js";import"./iik6CYzq.js";import"./CqkleIqs.js";import"./BZXMQuYP.js";import"./yNrp2XvX.js";const Bt=/[ \t\n\f\r]/g;function Ne(n){return typeof n=="object"?n.type==="text"?Me(n.value):!1:Me(n)}function Me(n){return n.replace(Bt,"")===""}const Mt=/^>|^->|<!--|-->|--!>|<!-$/g,Ot=[">"],jt=["<",">"];function Dt(n,e,t,s){return s.settings.bogusComments?"<?"+B(n.value,Object.assign({},s.settings.characterReferences,{subset:Ot}))+">":"<!--"+n.value.replace(Mt,r)+"-->";function r(i){return B(i,Object.assign({},s.settings.characterReferences,{subset:jt}))}}function Wt(n,e,t,s){return"<!"+(s.settings.upperDoctype?"DOCTYPE":"doctype")+(s.settings.tightDoctype?"":" ")+"html>"}const w=nt(1),tt=nt(-1),Ft=[];function nt(n){return e;function e(t,s,r){const i=t?t.children:Ft;let o=(s||0)+n,c=i[o];if(!r)for(;c&&Ne(c);)o+=n,c=i[o];return c}}const zt={}.hasOwnProperty;function st(n){return e;function e(t,s,r){return zt.call(n,t.tagName)&&n[t.tagName](t,s,r)}}const ke=st({body:Ht,caption:ue,colgroup:ue,dd:Jt,dt:Vt,head:ue,html:qt,li:Kt,optgroup:Qt,option:Yt,p:Ut,rp:Oe,rt:Oe,tbody:Zt,td:je,tfoot:en,th:je,thead:Xt,tr:tn});function ue(n,e,t){const s=w(t,e,!0);return!s||s.type!=="comment"&&!(s.type==="text"&&Ne(s.value.charAt(0)))}function qt(n,e,t){const s=w(t,e);return!s||s.type!=="comment"}function Ht(n,e,t){const s=w(t,e);return!s||s.type!=="comment"}function Ut(n,e,t){const s=w(t,e);return s?s.type==="element"&&(s.tagName==="address"||s.tagName==="article"||s.tagName==="aside"||s.tagName==="blockquote"||s.tagName==="details"||s.tagName==="div"||s.tagName==="dl"||s.tagName==="fieldset"||s.tagName==="figcaption"||s.tagName==="figure"||s.tagName==="footer"||s.tagName==="form"||s.tagName==="h1"||s.tagName==="h2"||s.tagName==="h3"||s.tagName==="h4"||s.tagName==="h5"||s.tagName==="h6"||s.tagName==="header"||s.tagName==="hgroup"||s.tagName==="hr"||s.tagName==="main"||s.tagName==="menu"||s.tagName==="nav"||s.tagName==="ol"||s.tagName==="p"||s.tagName==="pre"||s.tagName==="section"||s.tagName==="table"||s.tagName==="ul"):!t||!(t.type==="element"&&(t.tagName==="a"||t.tagName==="audio"||t.tagName==="del"||t.tagName==="ins"||t.tagName==="map"||t.tagName==="noscript"||t.tagName==="video"))}function Kt(n,e,t){const s=w(t,e);return!s||s.type==="element"&&s.tagName==="li"}function Vt(n,e,t){const s=w(t,e);return!!(s&&s.type==="element"&&(s.tagName==="dt"||s.tagName==="dd"))}function Jt(n,e,t){const s=w(t,e);return!s||s.type==="element"&&(s.tagName==="dt"||s.tagName==="dd")}function Oe(n,e,t){const s=w(t,e);return!s||s.type==="element"&&(s.tagName==="rp"||s.tagName==="rt")}function Qt(n,e,t){const s=w(t,e);return!s||s.type==="element"&&s.tagName==="optgroup"}function Yt(n,e,t){const s=w(t,e);return!s||s.type==="element"&&(s.tagName==="option"||s.tagName==="optgroup")}function Xt(n,e,t){const s=w(t,e);return!!(s&&s.type==="element"&&(s.tagName==="tbody"||s.tagName==="tfoot"))}function Zt(n,e,t){const s=w(t,e);return!s||s.type==="element"&&(s.tagName==="tbody"||s.tagName==="tfoot")}function en(n,e,t){return!w(t,e)}function tn(n,e,t){const s=w(t,e);return!s||s.type==="element"&&s.tagName==="tr"}function je(n,e,t){const s=w(t,e);return!s||s.type==="element"&&(s.tagName==="td"||s.tagName==="th")}const nn=st({body:on,colgroup:an,head:rn,html:sn,tbody:cn});function sn(n){const e=w(n,-1);return!e||e.type!=="comment"}function rn(n){const e=new Set;for(const s of n.children)if(s.type==="element"&&(s.tagName==="base"||s.tagName==="title")){if(e.has(s.tagName))return!1;e.add(s.tagName)}const t=n.children[0];return!t||t.type==="element"}function on(n){const e=w(n,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&Ne(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function an(n,e,t){const s=tt(t,e),r=w(n,-1,!0);return t&&s&&s.type==="element"&&s.tagName==="colgroup"&&ke(s,t.children.indexOf(s),t)?!1:!!(r&&r.type==="element"&&r.tagName==="col")}function cn(n,e,t){const s=tt(t,e),r=w(n,-1);return t&&s&&s.type==="element"&&(s.tagName==="thead"||s.tagName==="tbody")&&ke(s,t.children.indexOf(s),t)?!1:!!(r&&r.type==="element"&&r.tagName==="tr")}const K={name:[[`
1
+ import{s as B,a as Et,b as Lt,c as Be,z as xt,h as Pt}from"./Cx44SSNp.js";import{s as et,f as Gt,h as $t}from"./DaBp0Gba.js";import"./p9l1LjVc.js";import"./88opOQSr.js";import"./iik6CYzq.js";import"./CqkleIqs.js";import"./CvJtd2Af.js";import"./_E89BQAO.js";const Bt=/[ \t\n\f\r]/g;function Ne(n){return typeof n=="object"?n.type==="text"?Me(n.value):!1:Me(n)}function Me(n){return n.replace(Bt,"")===""}const Mt=/^>|^->|<!--|-->|--!>|<!-$/g,Ot=[">"],jt=["<",">"];function Dt(n,e,t,s){return s.settings.bogusComments?"<?"+B(n.value,Object.assign({},s.settings.characterReferences,{subset:Ot}))+">":"<!--"+n.value.replace(Mt,r)+"-->";function r(i){return B(i,Object.assign({},s.settings.characterReferences,{subset:jt}))}}function Wt(n,e,t,s){return"<!"+(s.settings.upperDoctype?"DOCTYPE":"doctype")+(s.settings.tightDoctype?"":" ")+"html>"}const w=nt(1),tt=nt(-1),Ft=[];function nt(n){return e;function e(t,s,r){const i=t?t.children:Ft;let o=(s||0)+n,c=i[o];if(!r)for(;c&&Ne(c);)o+=n,c=i[o];return c}}const zt={}.hasOwnProperty;function st(n){return e;function e(t,s,r){return zt.call(n,t.tagName)&&n[t.tagName](t,s,r)}}const ke=st({body:Ht,caption:ue,colgroup:ue,dd:Jt,dt:Vt,head:ue,html:qt,li:Kt,optgroup:Qt,option:Yt,p:Ut,rp:Oe,rt:Oe,tbody:Zt,td:je,tfoot:en,th:je,thead:Xt,tr:tn});function ue(n,e,t){const s=w(t,e,!0);return!s||s.type!=="comment"&&!(s.type==="text"&&Ne(s.value.charAt(0)))}function qt(n,e,t){const s=w(t,e);return!s||s.type!=="comment"}function Ht(n,e,t){const s=w(t,e);return!s||s.type!=="comment"}function Ut(n,e,t){const s=w(t,e);return s?s.type==="element"&&(s.tagName==="address"||s.tagName==="article"||s.tagName==="aside"||s.tagName==="blockquote"||s.tagName==="details"||s.tagName==="div"||s.tagName==="dl"||s.tagName==="fieldset"||s.tagName==="figcaption"||s.tagName==="figure"||s.tagName==="footer"||s.tagName==="form"||s.tagName==="h1"||s.tagName==="h2"||s.tagName==="h3"||s.tagName==="h4"||s.tagName==="h5"||s.tagName==="h6"||s.tagName==="header"||s.tagName==="hgroup"||s.tagName==="hr"||s.tagName==="main"||s.tagName==="menu"||s.tagName==="nav"||s.tagName==="ol"||s.tagName==="p"||s.tagName==="pre"||s.tagName==="section"||s.tagName==="table"||s.tagName==="ul"):!t||!(t.type==="element"&&(t.tagName==="a"||t.tagName==="audio"||t.tagName==="del"||t.tagName==="ins"||t.tagName==="map"||t.tagName==="noscript"||t.tagName==="video"))}function Kt(n,e,t){const s=w(t,e);return!s||s.type==="element"&&s.tagName==="li"}function Vt(n,e,t){const s=w(t,e);return!!(s&&s.type==="element"&&(s.tagName==="dt"||s.tagName==="dd"))}function Jt(n,e,t){const s=w(t,e);return!s||s.type==="element"&&(s.tagName==="dt"||s.tagName==="dd")}function Oe(n,e,t){const s=w(t,e);return!s||s.type==="element"&&(s.tagName==="rp"||s.tagName==="rt")}function Qt(n,e,t){const s=w(t,e);return!s||s.type==="element"&&s.tagName==="optgroup"}function Yt(n,e,t){const s=w(t,e);return!s||s.type==="element"&&(s.tagName==="option"||s.tagName==="optgroup")}function Xt(n,e,t){const s=w(t,e);return!!(s&&s.type==="element"&&(s.tagName==="tbody"||s.tagName==="tfoot"))}function Zt(n,e,t){const s=w(t,e);return!s||s.type==="element"&&(s.tagName==="tbody"||s.tagName==="tfoot")}function en(n,e,t){return!w(t,e)}function tn(n,e,t){const s=w(t,e);return!s||s.type==="element"&&s.tagName==="tr"}function je(n,e,t){const s=w(t,e);return!s||s.type==="element"&&(s.tagName==="td"||s.tagName==="th")}const nn=st({body:on,colgroup:an,head:rn,html:sn,tbody:cn});function sn(n){const e=w(n,-1);return!e||e.type!=="comment"}function rn(n){const e=new Set;for(const s of n.children)if(s.type==="element"&&(s.tagName==="base"||s.tagName==="title")){if(e.has(s.tagName))return!1;e.add(s.tagName)}const t=n.children[0];return!t||t.type==="element"}function on(n){const e=w(n,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&Ne(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function an(n,e,t){const s=tt(t,e),r=w(n,-1,!0);return t&&s&&s.type==="element"&&s.tagName==="colgroup"&&ke(s,t.children.indexOf(s),t)?!1:!!(r&&r.type==="element"&&r.tagName==="col")}function cn(n,e,t){const s=tt(t,e),r=w(n,-1);return t&&s&&s.type==="element"&&(s.tagName==="thead"||s.tagName==="tbody")&&ke(s,t.children.indexOf(s),t)?!1:!!(r&&r.type==="element"&&r.tagName==="tr")}const K={name:[[`
2
2
  \f\r &/=>`.split(""),`
3
3
  \f\r "&'/=>\``.split("")],[`\0
4
4
  \f\r "&'/<=>`.split(""),`\0
@@ -1 +1 @@
1
- import{a$ as D,e as T,az as b,f as j,l as A,b0 as R,k as I,a4 as x}from"./BxXOsXrM.js";function f(e){if(typeof e!="object")return e;var o,t,i=Object.prototype.toString.call(e);if(i==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){t=new e.constructor;for(o in e)e.hasOwnProperty(o)&&t[o]!==e[o]&&(t[o]=f(e[o]))}else{t={};for(o in e)o==="__proto__"?Object.defineProperty(t,o,{value:f(e[o]),configurable:!0,enumerable:!0,writable:!0}):t[o]=f(e[o])}return t}if(i==="[object Array]"){for(o=e.length,t=Array(o);o--;)t[o]=f(e[o]);return t}return i==="[object Set]"?(t=new Set,e.forEach(function(a){t.add(f(a))}),t):i==="[object Map]"?(t=new Map,e.forEach(function(a,r){t.set(f(r),f(a))}),t):i==="[object Date]"?new Date(+e):i==="[object RegExp]"?(t=new RegExp(e.source,e.flags),t.lastIndex=e.lastIndex,t):i==="[object DataView]"?new e.constructor(f(e.buffer)):i==="[object ArrayBuffer]"?e.slice(0):i.slice(-6)==="Array]"?new e.constructor(e):e}function N(e,o){if(typeof e!="string")throw new TypeError("argument str must be a string");const t={},i=o||{},a=i.decode||P;let r=0;for(;r<e.length;){const n=e.indexOf("=",r);if(n===-1)break;let c=e.indexOf(";",r);if(c===-1)c=e.length;else if(c<n){r=e.lastIndexOf(";",n-1)+1;continue}const s=e.slice(r,n).trim();if(i?.filter&&!i?.filter(s)){r=c+1;continue}if(t[s]===void 0){let u=e.slice(n+1,c).trim();u.codePointAt(0)===34&&(u=u.slice(1,-1)),t[s]=L(u,a)}r=c+1}return t}function P(e){return e.includes("%")?decodeURIComponent(e):e}function L(e,o){try{return o(e)}catch{return e}}const m=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function S(e,o,t){const i=t||{},a=i.encode||encodeURIComponent;if(typeof a!="function")throw new TypeError("option encode is invalid");if(!m.test(e))throw new TypeError("argument name is invalid");const r=a(o);if(r&&!m.test(r))throw new TypeError("argument val is invalid");let n=e+"="+r;if(i.maxAge!==void 0&&i.maxAge!==null){const c=i.maxAge-0;if(Number.isNaN(c)||!Number.isFinite(c))throw new TypeError("option maxAge is invalid");n+="; Max-Age="+Math.floor(c)}if(i.domain){if(!m.test(i.domain))throw new TypeError("option domain is invalid");n+="; Domain="+i.domain}if(i.path){if(!m.test(i.path))throw new TypeError("option path is invalid");n+="; Path="+i.path}if(i.expires){if(!M(i.expires)||Number.isNaN(i.expires.valueOf()))throw new TypeError("option expires is invalid");n+="; Expires="+i.expires.toUTCString()}if(i.httpOnly&&(n+="; HttpOnly"),i.secure&&(n+="; Secure"),i.priority)switch(typeof i.priority=="string"?i.priority.toLowerCase():i.priority){case"low":{n+="; Priority=Low";break}case"medium":{n+="; Priority=Medium";break}case"high":{n+="; Priority=High";break}default:throw new TypeError("option priority is invalid")}if(i.sameSite)switch(typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite){case!0:{n+="; SameSite=Strict";break}case"lax":{n+="; SameSite=Lax";break}case"strict":{n+="; SameSite=Strict";break}case"none":{n+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return i.partitioned&&(n+="; Partitioned"),n}function M(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}const U={path:"/",watch:!0,decode:e=>D(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},y=globalThis.cookieStore;function H(e,o){const t={...U,...o};t.filter??=u=>u===e;const i=E(t)||{};let a;t.maxAge!==void 0?a=t.maxAge*1e3:t.expires&&(a=t.expires.getTime()-Date.now());const r=a!==void 0&&a<=0,n=r||i[e]===void 0||i[e]===null,c=f(r?void 0:i[e]??t.default?.()),s=a&&!r?B(c,a,t.watch&&t.watch!=="shallow"):T(c);{let u=null;try{!y&&typeof BroadcastChannel<"u"&&(u=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const d=(l=!1)=>{!l&&(t.readonly||x(s.value,i[e]))||(z(e,s.value,t),i[e]=f(s.value),u?.postMessage({value:t.encode(s.value)}))},p=l=>{const h=l.refresh?E(t)?.[e]:t.decode(l.value);w=!0,s.value=h,i[e]=f(h),I(()=>{w=!1})};let w=!1;const v=!!A();if(v&&b(()=>{w=!0,d(),u?.close()}),y){const l=h=>{const k=h.changed.find(g=>g.name===e),O=h.deleted.find(g=>g.name===e);k&&p({value:k.value}),O&&p({value:null})};y.addEventListener("change",l),v&&b(()=>y.removeEventListener("change",l))}else u&&(u.onmessage=({data:l})=>p(l));t.watch&&j(s,()=>{w||d()},{deep:t.watch!=="shallow"}),n&&d(n)}return s}function E(e={}){return N(document.cookie,e)}function _(e,o,t={}){return o==null?S(e,o,{...t,maxAge:-1}):S(e,o,t)}function z(e,o,t={}){document.cookie=_(e,o,t)}const C=2147483647;function B(e,o,t){let i,a,r=0;const n=t?T(e):{value:e};return A()&&b(()=>{a?.(),clearTimeout(i)}),R((c,s)=>{t&&(a=j(n,s));function u(){r=0,clearTimeout(i);const d=o-r,p=d<C?d:C;i=setTimeout(()=>{if(r+=p,r<o)return u();n.value=void 0,s()},p)}return{get(){return c(),n.value},set(d){u(),n.value=d,s()}}})}export{H as u};
1
+ import{b3 as D,e as T,aB as b,f as j,l as A,b4 as R,k as I,a6 as x}from"./p9l1LjVc.js";function f(e){if(typeof e!="object")return e;var o,t,i=Object.prototype.toString.call(e);if(i==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){t=new e.constructor;for(o in e)e.hasOwnProperty(o)&&t[o]!==e[o]&&(t[o]=f(e[o]))}else{t={};for(o in e)o==="__proto__"?Object.defineProperty(t,o,{value:f(e[o]),configurable:!0,enumerable:!0,writable:!0}):t[o]=f(e[o])}return t}if(i==="[object Array]"){for(o=e.length,t=Array(o);o--;)t[o]=f(e[o]);return t}return i==="[object Set]"?(t=new Set,e.forEach(function(a){t.add(f(a))}),t):i==="[object Map]"?(t=new Map,e.forEach(function(a,r){t.set(f(r),f(a))}),t):i==="[object Date]"?new Date(+e):i==="[object RegExp]"?(t=new RegExp(e.source,e.flags),t.lastIndex=e.lastIndex,t):i==="[object DataView]"?new e.constructor(f(e.buffer)):i==="[object ArrayBuffer]"?e.slice(0):i.slice(-6)==="Array]"?new e.constructor(e):e}function N(e,o){if(typeof e!="string")throw new TypeError("argument str must be a string");const t={},i=o||{},a=i.decode||P;let r=0;for(;r<e.length;){const n=e.indexOf("=",r);if(n===-1)break;let c=e.indexOf(";",r);if(c===-1)c=e.length;else if(c<n){r=e.lastIndexOf(";",n-1)+1;continue}const s=e.slice(r,n).trim();if(i?.filter&&!i?.filter(s)){r=c+1;continue}if(t[s]===void 0){let u=e.slice(n+1,c).trim();u.codePointAt(0)===34&&(u=u.slice(1,-1)),t[s]=L(u,a)}r=c+1}return t}function P(e){return e.includes("%")?decodeURIComponent(e):e}function L(e,o){try{return o(e)}catch{return e}}const m=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function S(e,o,t){const i=t||{},a=i.encode||encodeURIComponent;if(typeof a!="function")throw new TypeError("option encode is invalid");if(!m.test(e))throw new TypeError("argument name is invalid");const r=a(o);if(r&&!m.test(r))throw new TypeError("argument val is invalid");let n=e+"="+r;if(i.maxAge!==void 0&&i.maxAge!==null){const c=i.maxAge-0;if(Number.isNaN(c)||!Number.isFinite(c))throw new TypeError("option maxAge is invalid");n+="; Max-Age="+Math.floor(c)}if(i.domain){if(!m.test(i.domain))throw new TypeError("option domain is invalid");n+="; Domain="+i.domain}if(i.path){if(!m.test(i.path))throw new TypeError("option path is invalid");n+="; Path="+i.path}if(i.expires){if(!M(i.expires)||Number.isNaN(i.expires.valueOf()))throw new TypeError("option expires is invalid");n+="; Expires="+i.expires.toUTCString()}if(i.httpOnly&&(n+="; HttpOnly"),i.secure&&(n+="; Secure"),i.priority)switch(typeof i.priority=="string"?i.priority.toLowerCase():i.priority){case"low":{n+="; Priority=Low";break}case"medium":{n+="; Priority=Medium";break}case"high":{n+="; Priority=High";break}default:throw new TypeError("option priority is invalid")}if(i.sameSite)switch(typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite){case!0:{n+="; SameSite=Strict";break}case"lax":{n+="; SameSite=Lax";break}case"strict":{n+="; SameSite=Strict";break}case"none":{n+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return i.partitioned&&(n+="; Partitioned"),n}function M(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}const U={path:"/",watch:!0,decode:e=>D(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},y=globalThis.cookieStore;function V(e,o){const t={...U,...o};t.filter??=u=>u===e;const i=E(t)||{};let a;t.maxAge!==void 0?a=t.maxAge*1e3:t.expires&&(a=t.expires.getTime()-Date.now());const r=a!==void 0&&a<=0,n=r||i[e]===void 0||i[e]===null,c=f(r?void 0:i[e]??t.default?.()),s=a&&!r?F(c,a,t.watch&&t.watch!=="shallow"):T(c);{let u=null;try{!y&&typeof BroadcastChannel<"u"&&(u=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const d=(l=!1)=>{!l&&(t.readonly||x(s.value,i[e]))||(B(e,s.value,t),i[e]=f(s.value),u?.postMessage({value:t.encode(s.value)}))},p=l=>{const h=l.refresh?E(t)?.[e]:t.decode(l.value);w=!0,s.value=h,i[e]=f(h),I(()=>{w=!1})};let w=!1;const v=!!A();if(v&&b(()=>{w=!0,d(),u?.close()}),y){const l=h=>{const k=h.changed.find(g=>g.name===e),O=h.deleted.find(g=>g.name===e);k&&p({value:k.value}),O&&p({value:null})};y.addEventListener("change",l),v&&b(()=>y.removeEventListener("change",l))}else u&&(u.onmessage=({data:l})=>p(l));t.watch&&j(s,()=>{w||d()},{deep:t.watch!=="shallow"}),n&&d(n)}return s}function E(e={}){return N(document.cookie,e)}function _(e,o,t={}){return o==null?S(e,o,{...t,maxAge:-1}):S(e,o,t)}function B(e,o,t={}){document.cookie=_(e,o,t)}const C=2147483647;function F(e,o,t){let i,a,r=0;const n=t?T(e):{value:e};return A()&&b(()=>{a?.(),clearTimeout(i)}),R((c,s)=>{t&&(a=j(n,s));function u(){r=0,clearTimeout(i);const d=o-r,p=d<C?d:C;i=setTimeout(()=>{if(r+=p,r<o)return u();n.value=void 0,s()},p)}return{get(){return c(),n.value},set(d){u(),n.value=d,s()}}})}export{V as u};
@@ -1 +1 @@
1
- import{N as d,c,G as o,R as n,a3 as i,U as u,aj as s}from"./BxXOsXrM.js";const p={base:"[&:first-child>th:first-child]:rounded-tl-md [&:first-child>th:last-child]:rounded-tr-md [&:last-child>td:first-child]:rounded-bl-md [&:last-child>td:last-child]:rounded-br-md"},f={__name:"ProseTr",props:{class:{type:null,required:!1}},setup(t){const e=t,l=d(),a=c(()=>s({extend:s(p),...l.ui?.prose?.tr||{}}));return(r,h)=>(n(),o("tr",{class:u(a.value({class:e.class}))},[i(r.$slots,"default")],2))}};export{f as default};
1
+ import{N as d,c,G as o,R as n,a4 as i,U as u,al as s}from"./p9l1LjVc.js";const p={base:"[&:first-child>th:first-child]:rounded-tl-md [&:first-child>th:last-child]:rounded-tr-md [&:last-child>td:first-child]:rounded-bl-md [&:last-child>td:last-child]:rounded-br-md"},f={__name:"ProseTr",props:{class:{type:null,required:!1}},setup(t){const e=t,l=d(),a=c(()=>s({extend:s(p),...l.ui?.prose?.tr||{}}));return(r,h)=>(n(),o("tr",{class:u(a.value({class:e.class}))},[i(r.$slots,"default")],2))}};export{f as default};
@@ -0,0 +1 @@
1
+ import{X as e}from"./p9l1LjVc.js";function a(r,u="reka"){return r||`${u}-${e?.()}`}export{a as u};
@@ -1 +1 @@
1
- import{am as T,L as H,N as I,aE as L,aD as _,aF as z,aA as b,c as k,aj as q,Q as d,R as o,S as u,a7 as i,T as w,C as a,U as c,a3 as n,aI as x,aJ as D,V as $,aG as F,aH as G,a8 as y,ac as v,G as B,a9 as P,W as U}from"./BxXOsXrM.js";import{D as J,a as K,b as Q}from"./Fukkqjkf.js";import{d as W,D as M,a as C,b as S,c as X}from"./Cdu2qGgq.js";const Y={slots:{overlay:"fixed inset-0 bg-elevated/75",content:"fixed bg-default divide-y divide-default sm:ring ring-default sm:shadow-lg flex flex-col focus:outline-none",header:"flex items-center gap-1.5 p-4 sm:px-6 min-h-16",wrapper:"",body:"flex-1 overflow-y-auto p-4 sm:p-6",footer:"flex items-center gap-1.5 p-4 sm:px-6",title:"text-highlighted font-semibold",description:"mt-1 text-muted text-sm",close:"absolute top-4 end-4"},variants:{side:{top:{content:""},right:{content:"max-w-md"},bottom:{content:""},left:{content:"max-w-md"}},inset:{true:{content:"rounded-lg"}},transition:{true:{overlay:"data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]"}}},compoundVariants:[{side:"top",inset:!0,class:{content:"max-h-[calc(100%-2rem)] inset-x-4 top-4"}},{side:"top",inset:!1,class:{content:"max-h-full inset-x-0 top-0"}},{side:"right",inset:!0,class:{content:"w-[calc(100%-2rem)] inset-y-4 right-4"}},{side:"right",inset:!1,class:{content:"w-full inset-y-0 right-0"}},{side:"bottom",inset:!0,class:{content:"max-h-[calc(100%-2rem)] inset-x-4 bottom-4"}},{side:"bottom",inset:!1,class:{content:"max-h-full inset-x-0 bottom-0"}},{side:"left",inset:!0,class:{content:"w-[calc(100%-2rem)] inset-y-4 left-4"}},{side:"left",inset:!1,class:{content:"w-full inset-y-0 left-0"}},{transition:!0,side:"top",class:{content:"data-[state=open]:animate-[slide-in-from-top_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-top_200ms_ease-in-out]"}},{transition:!0,side:"right",class:{content:"data-[state=open]:animate-[slide-in-from-right_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-right_200ms_ease-in-out]"}},{transition:!0,side:"bottom",class:{content:"data-[state=open]:animate-[slide-in-from-bottom_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-bottom_200ms_ease-in-out]"}},{transition:!0,side:"left",class:{content:"data-[state=open]:animate-[slide-in-from-left_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-left_200ms_ease-in-out]"}}]},se={__name:"USlideover",props:{title:{type:String,required:!1},description:{type:String,required:!1},content:{type:Object,required:!1},overlay:{type:Boolean,required:!1,default:!0},transition:{type:Boolean,required:!1,default:!0},side:{type:null,required:!1,default:"right"},inset:{type:Boolean,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},close:{type:[Boolean,Object],required:!1,default:!0},closeIcon:{type:null,required:!1},dismissible:{type:Boolean,required:!1,default:!0},class:{type:null,required:!1},ui:{type:null,required:!1},open:{type:Boolean,required:!1},defaultOpen:{type:Boolean,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["after:leave","after:enter","close:prevent","update:open"],setup(t,{emit:O}){const e=t,p=O,s=T(),{t:V}=H(),h=I(),E=L(_(e,"open","defaultOpen","modal"),p),N=z(b(()=>e.portal)),j=b(()=>e.content),A=k(()=>e.dismissible?{}:["pointerDownOutside","interactOutside","escapeKeyDown"].reduce((f,g)=>(f[g]=m=>{m.preventDefault(),p("close:prevent")},f),{})),r=k(()=>q({extend:q(Y),...h.ui?.slideover||{}})({transition:e.transition,side:e.side,inset:e.inset}));return(l,f)=>(o(),d(a(Q),x(D(a(E))),{default:u(({open:g,close:m})=>[s.default?(o(),d(a(J),{key:0,"as-child":"",class:c(e.class)},{default:u(()=>[n(l.$slots,"default",{open:g})]),_:2},1032,["class"])):i("",!0),w(a(K),x(D(a(N))),{default:u(()=>[t.overlay?(o(),d(a(W),{key:0,"data-slot":"overlay",class:c(r.value.overlay({class:e.ui?.overlay}))},null,8,["class"])):i("",!0),w(a(M),$({"data-side":t.side,"data-slot":"content",class:r.value.content({class:[!s.default&&e.class,e.ui?.content]})},j.value,{onAfterEnter:f[0]||(f[0]=R=>p("after:enter")),onAfterLeave:f[1]||(f[1]=R=>p("after:leave"))},F(A.value)),{default:u(()=>[s.content&&(t.title||s.title||t.description||s.description)?(o(),d(a(G),{key:0},{default:u(()=>[t.title||s.title?(o(),d(a(C),{key:0},{default:u(()=>[n(l.$slots,"title",{},()=>[y(v(t.title),1)])]),_:3})):i("",!0),t.description||s.description?(o(),d(a(S),{key:1},{default:u(()=>[n(l.$slots,"description",{},()=>[y(v(t.description),1)])]),_:3})):i("",!0)]),_:3})):i("",!0),n(l.$slots,"content",{close:m},()=>[s.header||t.title||s.title||t.description||s.description||e.close||s.close?(o(),B("div",{key:0,"data-slot":"header",class:c(r.value.header({class:e.ui?.header}))},[n(l.$slots,"header",{close:m},()=>[P("div",{"data-slot":"wrapper",class:c(r.value.wrapper({class:e.ui?.wrapper}))},[t.title||s.title?(o(),d(a(C),{key:0,"data-slot":"title",class:c(r.value.title({class:e.ui?.title}))},{default:u(()=>[n(l.$slots,"title",{},()=>[y(v(t.title),1)])]),_:3},8,["class"])):i("",!0),t.description||s.description?(o(),d(a(S),{key:1,"data-slot":"description",class:c(r.value.description({class:e.ui?.description}))},{default:u(()=>[n(l.$slots,"description",{},()=>[y(v(t.description),1)])]),_:3},8,["class"])):i("",!0)],2),n(l.$slots,"actions"),e.close||s.close?(o(),d(a(X),{key:0,"as-child":""},{default:u(()=>[n(l.$slots,"close",{ui:r.value},()=>[e.close?(o(),d(U,$({key:0,icon:t.closeIcon||a(h).ui.icons.close,color:"neutral",variant:"ghost","aria-label":a(V)("slideover.close")},typeof e.close=="object"?e.close:{},{"data-slot":"close",class:r.value.close({class:e.ui?.close})}),null,16,["icon","aria-label","class"])):i("",!0)])]),_:2},1024)):i("",!0)])],2)):i("",!0),P("div",{"data-slot":"body",class:c(r.value.body({class:e.ui?.body}))},[n(l.$slots,"body",{close:m})],2),s.footer?(o(),B("div",{key:1,"data-slot":"footer",class:c(r.value.footer({class:e.ui?.footer}))},[n(l.$slots,"footer",{close:m})],2)):i("",!0)])]),_:2},1040,["data-side","class"])]),_:2},1040)]),_:3},16))}};export{se as _};
1
+ import{ao as j,L as A,N as I,aJ as _,aI as z,aK as H,aC as h,c as k,al as q,Q as d,R as o,S as u,a9 as i,T as w,C as a,U as c,a4 as n,aN as x,aO as D,V as $,aL as K,aM as U,aa as y,ae as v,G as B,ab as C,W as F}from"./p9l1LjVc.js";import{D as G,a as J,b as M}from"./BlPToGni.js";import{d as Q,D as W,a as P,b as O,c as X}from"./BhrzKbv9.js";const Y={slots:{overlay:"fixed inset-0 bg-elevated/75",content:"fixed bg-default divide-y divide-default sm:ring ring-default sm:shadow-lg flex flex-col focus:outline-none",header:"flex items-center gap-1.5 p-4 sm:px-6 min-h-16",wrapper:"",body:"flex-1 overflow-y-auto p-4 sm:p-6",footer:"flex items-center gap-1.5 p-4 sm:px-6",title:"text-highlighted font-semibold",description:"mt-1 text-muted text-sm",close:"absolute top-4 end-4"},variants:{side:{top:{content:""},right:{content:"max-w-md"},bottom:{content:""},left:{content:"max-w-md"}},inset:{true:{content:"rounded-lg"}},transition:{true:{overlay:"data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]"}}},compoundVariants:[{side:"top",inset:!0,class:{content:"max-h-[calc(100%-2rem)] inset-x-4 top-4"}},{side:"top",inset:!1,class:{content:"max-h-full inset-x-0 top-0"}},{side:"right",inset:!0,class:{content:"w-[calc(100%-2rem)] inset-y-4 right-4"}},{side:"right",inset:!1,class:{content:"w-full inset-y-0 right-0"}},{side:"bottom",inset:!0,class:{content:"max-h-[calc(100%-2rem)] inset-x-4 bottom-4"}},{side:"bottom",inset:!1,class:{content:"max-h-full inset-x-0 bottom-0"}},{side:"left",inset:!0,class:{content:"w-[calc(100%-2rem)] inset-y-4 left-4"}},{side:"left",inset:!1,class:{content:"w-full inset-y-0 left-0"}},{transition:!0,side:"top",class:{content:"data-[state=open]:animate-[slide-in-from-top_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-top_200ms_ease-in-out]"}},{transition:!0,side:"right",class:{content:"data-[state=open]:animate-[slide-in-from-right_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-right_200ms_ease-in-out]"}},{transition:!0,side:"bottom",class:{content:"data-[state=open]:animate-[slide-in-from-bottom_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-bottom_200ms_ease-in-out]"}},{transition:!0,side:"left",class:{content:"data-[state=open]:animate-[slide-in-from-left_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-left_200ms_ease-in-out]"}}]},se={__name:"USlideover",props:{title:{type:String,required:!1},description:{type:String,required:!1},content:{type:Object,required:!1},overlay:{type:Boolean,required:!1,default:!0},transition:{type:Boolean,required:!1,default:!0},side:{type:null,required:!1,default:"right"},inset:{type:Boolean,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},close:{type:[Boolean,Object],required:!1,default:!0},closeIcon:{type:null,required:!1},dismissible:{type:Boolean,required:!1,default:!0},class:{type:null,required:!1},ui:{type:null,required:!1},open:{type:Boolean,required:!1},defaultOpen:{type:Boolean,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["after:leave","after:enter","close:prevent","update:open"],setup(t,{emit:S}){const e=t,p=S,s=j(),{t:V}=A(),b=I(),N=_(z(e,"open","defaultOpen","modal"),p),E=H(h(()=>e.portal)),L=h(()=>e.content),R=k(()=>e.dismissible?{}:["pointerDownOutside","interactOutside","escapeKeyDown"].reduce((f,g)=>(f[g]=m=>{m.preventDefault(),p("close:prevent")},f),{})),r=k(()=>q({extend:q(Y),...b.ui?.slideover||{}})({transition:e.transition,side:e.side,inset:e.inset}));return(l,f)=>(o(),d(a(M),x(D(a(N))),{default:u(({open:g,close:m})=>[s.default?(o(),d(a(G),{key:0,"as-child":"",class:c(e.class)},{default:u(()=>[n(l.$slots,"default",{open:g})]),_:2},1032,["class"])):i("",!0),w(a(J),x(D(a(E))),{default:u(()=>[t.overlay?(o(),d(a(Q),{key:0,"data-slot":"overlay",class:c(r.value.overlay({class:e.ui?.overlay}))},null,8,["class"])):i("",!0),w(a(W),$({"data-side":t.side,"data-slot":"content",class:r.value.content({class:[!s.default&&e.class,e.ui?.content]})},L.value,{onAfterEnter:f[0]||(f[0]=T=>p("after:enter")),onAfterLeave:f[1]||(f[1]=T=>p("after:leave"))},K(R.value)),{default:u(()=>[s.content&&(t.title||s.title||t.description||s.description)?(o(),d(a(U),{key:0},{default:u(()=>[t.title||s.title?(o(),d(a(P),{key:0},{default:u(()=>[n(l.$slots,"title",{},()=>[y(v(t.title),1)])]),_:3})):i("",!0),t.description||s.description?(o(),d(a(O),{key:1},{default:u(()=>[n(l.$slots,"description",{},()=>[y(v(t.description),1)])]),_:3})):i("",!0)]),_:3})):i("",!0),n(l.$slots,"content",{close:m},()=>[s.header||t.title||s.title||t.description||s.description||e.close||s.close?(o(),B("div",{key:0,"data-slot":"header",class:c(r.value.header({class:e.ui?.header}))},[n(l.$slots,"header",{close:m},()=>[C("div",{"data-slot":"wrapper",class:c(r.value.wrapper({class:e.ui?.wrapper}))},[t.title||s.title?(o(),d(a(P),{key:0,"data-slot":"title",class:c(r.value.title({class:e.ui?.title}))},{default:u(()=>[n(l.$slots,"title",{},()=>[y(v(t.title),1)])]),_:3},8,["class"])):i("",!0),t.description||s.description?(o(),d(a(O),{key:1,"data-slot":"description",class:c(r.value.description({class:e.ui?.description}))},{default:u(()=>[n(l.$slots,"description",{},()=>[y(v(t.description),1)])]),_:3},8,["class"])):i("",!0)],2),n(l.$slots,"actions"),e.close||s.close?(o(),d(a(X),{key:0,"as-child":""},{default:u(()=>[n(l.$slots,"close",{ui:r.value},()=>[e.close?(o(),d(F,$({key:0,icon:t.closeIcon||a(b).ui.icons.close,color:"neutral",variant:"ghost","aria-label":a(V)("slideover.close")},typeof e.close=="object"?e.close:{},{"data-slot":"close",class:r.value.close({class:e.ui?.close})}),null,16,["icon","aria-label","class"])):i("",!0)])]),_:2},1024)):i("",!0)])],2)):i("",!0),C("div",{"data-slot":"body",class:c(r.value.body({class:e.ui?.body}))},[n(l.$slots,"body",{close:m})],2),s.footer?(o(),B("div",{key:1,"data-slot":"footer",class:c(r.value.footer({class:e.ui?.footer}))},[n(l.$slots,"footer",{close:m})],2)):i("",!0)])]),_:2},1040,["data-side","class"])]),_:2},1040)]),_:3},16))}};export{se as _};
@@ -1,4 +1,4 @@
1
- import{a as b,s as p,q as g,E as f,F as v,G as k,h as y,H as h,I as T,J as _,K as C}from"./BxXOsXrM.js";const O=Symbol.for("nuxt:client-only"),d="<div></div>",H=b({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(t,{slots:n,attrs:s}){const u=p(!1);g(()=>{u.value=!0});const o=y();return o&&(o._nuxtClientOnly=!0),C(O,!0),()=>{if(u.value){const e=n.default?.();return e&&e.length===1?[f(e[0],s)]:e}const r=n.fallback||n.placeholder;if(r)return v(r);const l=t.fallback||t.placeholder||"",a=t.fallbackTag||t.placeholderTag||"span";return k(a,s,l)}}}),m=new WeakMap;function I(t){if(m.has(t))return m.get(t);const n={...t};return n.render?n.render=(s,u,o,r,l,a)=>{if(r.mounted$??s.mounted$){const e=t.render?.bind(s)(s,u,o,r,l,a);return e.children===null||typeof e.children=="string"?f(e):v(e)}return h(s._.vnode.el,d)}:n.template&&=`
1
+ import{a as b,s as p,q as g,E as f,F as v,G as k,h as y,H as h,I as T,J as _,K as C}from"./p9l1LjVc.js";const O=Symbol.for("nuxt:client-only"),d="<div></div>",H=b({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(t,{slots:n,attrs:s}){const u=p(!1);g(()=>{u.value=!0});const o=y();return o&&(o._nuxtClientOnly=!0),C(O,!0),()=>{if(u.value){const e=n.default?.();return e&&e.length===1?[f(e[0],s)]:e}const r=n.fallback||n.placeholder;if(r)return v(r);const l=t.fallback||t.placeholder||"",a=t.fallbackTag||t.placeholderTag||"span";return k(a,s,l)}}}),m=new WeakMap;function I(t){if(m.has(t))return m.get(t);const n={...t};return n.render?n.render=(s,u,o,r,l,a)=>{if(r.mounted$??s.mounted$){const e=t.render?.bind(s)(s,u,o,r,l,a);return e.children===null||typeof e.children=="string"?f(e):v(e)}return h(s._.vnode.el,d)}:n.template&&=`
2
2
  <template v-if="mounted$">${t.template}</template>
3
3
  <template v-else>${d}</template>
4
4
  `,n.setup=(s,u)=>{const o=T(),r=p(o.isHydrating===!1),l=y();if(o.isHydrating){const e={...l.attrs},c=$(l);for(const i in e)delete l.attrs[i];g(()=>{Object.assign(l.attrs,e),l.vnode.dirs=c})}g(()=>{r.value=!0});const a=t.setup?.(s,u)||{};return _(a)?Promise.resolve(a).then(e=>typeof e!="function"?(e||={},e.mounted$=r,e):(...c)=>{if(r.value||!o.isHydrating){const i=e(...c);return i.children===null||typeof i.children=="string"?f(i):v(i)}return h(l?.vnode.el,d)}):typeof a=="function"?(...e)=>{if(r.value){const c=a(...e),i=n.inheritAttrs!==!1?u.attrs:void 0;return c.children===null||typeof c.children=="string"?f(c,i):v(c,i)}return h(l?.vnode.el,d)}:Object.assign(a,{mounted$:r})},m.set(t,n),n}function $(t){if(!t||!t.vnode.dirs)return null;const n=t.vnode.dirs;return t.vnode.dirs=null,n}export{H as _,O as a,I as c};
@@ -1 +1 @@
1
- import{T as O,a as F}from"./BhzMoffi.js";import{c as G}from"./DGX0tzL8.js";import{am as Q,N as H,c as _,e as k,f as x,ar as J,G as v,R as d,T as m,a9 as y,S as I,ag as W,ah as K,C as c,U as u,Q as w,as as X,V as Y,aj as j,a7 as E,_ as P,ac as Z}from"./BxXOsXrM.js";import ee from"./CqU2XbzO.js";import"./BAIz-dEB.js";import"./DqB723Z0.js";import"./DB359q8R.js";import"./Cvp7FI3T.js";import"./_CYZi8HN.js";import"./BJ3o57WW.js";const le={slots:{root:"relative lg:h-[450px] my-5 grid lg:grid-cols-3 border border-muted rounded-md",list:"isolate relative p-2 border-b lg:border-b-0 lg:border-e border-muted overflow-y-auto",item:"",listWithChildren:"ms-4.5 border-s border-default",itemWithChildren:"ps-1.5 -ms-px",link:"relative group peer w-full px-2.5 py-1.5 before:inset-y-px before:inset-x-0 flex items-center gap-1.5 text-sm before:absolute before:z-[-1] before:rounded-md focus:outline-none focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2",linkLeadingIcon:"size-4 shrink-0",linkLabel:"truncate",linkTrailing:"ms-auto inline-flex gap-1.5 items-center",linkTrailingIcon:"size-5 transform transition-transform duration-200 shrink-0 group-data-expanded:rotate-180",content:"overflow-hidden lg:col-span-2 flex flex-col [&>div]:my-0 [&>div]:flex-1 [&>div]:flex [&>div]:flex-col [&>div>div]:border-0 [&>div>pre]:border-b-0 [&>div>pre]:border-s-0 [&>div>pre]:border-e-0 [&>div>pre]:rounded-l-none [&>div>pre]:flex-1 [&>div]:overflow-y-auto"},variants:{active:{true:{link:"text-highlighted before:bg-elevated"},false:{link:["hover:text-highlighted hover:before:bg-elevated/50","transition-colors before:transition-colors"]}}}},pe=Object.assign({inheritAttrs:!1},{__name:"ProseCodeTree",props:{items:{type:Array,required:!1},modelValue:{type:String,required:!1},defaultValue:{type:String,required:!1},expandAll:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1}},emits:["update:modelValue"],setup(z,{emit:D}){const l=z,N=D,R=Q(),g=H(),[U,L]=G(),r=_(()=>j({extend:j(le),...g.ui?.prose?.codeTree||{}})()),S=l.modelValue??l.defaultValue,p=k(S?{path:S}:void 0),$=k();x(p,e=>{e?.path!==l.modelValue&&N("update:modelValue",e?.path)}),x(()=>l.modelValue,e=>{if(e===p.value?.path)return;p.value=e?{path:e}:void 0;const t=T(e);for(const a of t)f.value.includes(a)||f.value.push(a)});const A=k(1),b=_(()=>(A.value,l.items||R.default?.()?.flatMap(q).filter(Boolean)||[])),B=_(()=>M(b.value));function M(e){const t=new Map,a=[];e.forEach(n=>{const i=n.label.split("/");let s="";i.forEach((h,C)=>{if(s=s?`${s}/${h}`:h,!t.has(s)){const V={label:h,path:s,...C<i.length-1&&{children:[]}};t.set(s,V),C===0?a.push(V):t.get(i.slice(0,C).join("/"))?.children?.push(V)}})});const o=n=>n.sort((i,s)=>!!i.children==!!s.children?i.label.localeCompare(s.label):s.children?1:-1).map(i=>({...i,children:i.children&&o(i.children)}));return o(a)}function q(e,t){return typeof e.type=="symbol"?e.children?.map(q):{label:e.props?.filename||e.props?.label||`${t}`,icon:e.props?.icon,component:e}}function T(e){if(l.expandAll){const a=new Set;return b.value.forEach(o=>{const n=o.label.split("/");for(let i=1;i<n.length;i++)a.add(n.slice(0,i).join("/"))}),Array.from(a)}if(!e)return[];const t=e.split("/");return t.slice(0,-1).map((a,o)=>t.slice(0,o+1).join("/"))}const f=k(T(p.value?.path));return x(b,()=>{l.expandAll&&(f.value=T())},{immediate:!0}),x(p,e=>{const t=b.value.find(a=>e?.path===a.label);t?.component&&($.value=t)},{immediate:!0}),J(()=>A.value++),(e,t)=>(d(),v(W,null,[m(c(U),null,{default:I(({items:a,level:o})=>[(d(!0),v(W,null,K(a,(n,i)=>(d(),v("li",{key:`${o}-${i}`,role:"presentation",class:u(o>1?r.value.itemWithChildren({class:l.ui?.itemWithChildren}):r.value.item({class:l.ui?.item}))},[m(c(F),{level:o,value:n,"as-child":""},{default:I(({isExpanded:s,isSelected:h})=>[y("button",{type:"button",class:u(r.value.link({class:l.ui?.link,active:h}))},[n.children?.length?(d(),w(P,{key:0,name:s?c(g).ui.icons.folderOpen:c(g).ui.icons.folder,class:u(r.value.linkLeadingIcon({class:l.ui?.linkLeadingIcon}))},null,8,["name","class"])):(d(),w(ee,{key:1,filename:n.label,class:u(r.value.linkLeadingIcon({class:l.ui?.linkLeadingIcon}))},null,8,["filename","class"])),y("span",{class:u(r.value.linkLabel({class:l.ui?.linkLabel}))},Z(n.label),3),n.children?.length?(d(),v("span",{key:2,class:u(r.value.linkTrailing({class:l.ui?.linkTrailing}))},[m(P,{name:c(g).ui.icons.chevronDown,class:u(r.value.linkTrailingIcon({class:l.ui?.linkTrailingIcon}))},null,8,["name","class"])],2)):E("",!0)],2),n.children?.length&&s?(d(),v("ul",{key:0,role:"group",class:u(r.value.listWithChildren({class:l.ui?.listWithChildren}))},[m(c(L),{items:n.children,level:o+1},null,8,["items","level"])],2)):E("",!0)]),_:2},1032,["level","value"])],2))),128))]),_:1}),y("div",Y(e.$attrs,{class:r.value.root({class:[l.ui?.root,l.class]})}),[m(c(O),{modelValue:p.value,"onUpdate:modelValue":t[0]||(t[0]=a=>p.value=a),expanded:f.value,"onUpdate:expanded":t[1]||(t[1]=a=>f.value=a),class:u(r.value.list({class:l.ui?.list})),items:B.value,"get-key":a=>a.path},{default:I(()=>[m(c(L),{items:B.value,level:1},null,8,["items"])]),_:1},8,["modelValue","expanded","class","items","get-key"]),y("div",{class:u(r.value.content({class:l.ui?.content}))},[(d(),w(X($.value?.component)))],2)],16)],64))}});export{pe as default};
1
+ import{T as O,a as F}from"./Bw5h4Jaf.js";import{c as G}from"./CZ32KfaS.js";import{ao as Q,N as H,c as _,e as k,f as x,at as J,G as h,R as d,T as m,ab as y,S as I,ai as W,aj as K,C as c,U as u,Q as w,au as X,V as Y,al as j,a9 as E,_ as P,ae as Z}from"./p9l1LjVc.js";import ee from"./C2RZSTuy.js";import"./D1dDc8Vw.js";import"./YGWAImQo.js";import"./DAE2hbP7.js";import"./DAIbdyS6.js";import"./mQkFCz_M.js";import"./BKaRtCjP.js";const le={slots:{root:"relative lg:h-[450px] my-5 grid lg:grid-cols-3 border border-muted rounded-md",list:"isolate relative p-2 border-b lg:border-b-0 lg:border-e border-muted overflow-y-auto",item:"",listWithChildren:"ms-4.5 border-s border-default",itemWithChildren:"ps-1.5 -ms-px",link:"relative group peer w-full px-2.5 py-1.5 before:inset-y-px before:inset-x-0 flex items-center gap-1.5 text-sm before:absolute before:z-[-1] before:rounded-md focus:outline-none focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2",linkLeadingIcon:"size-4 shrink-0",linkLabel:"truncate",linkTrailing:"ms-auto inline-flex gap-1.5 items-center",linkTrailingIcon:"size-5 transform transition-transform duration-200 shrink-0 group-data-expanded:rotate-180",content:"overflow-hidden lg:col-span-2 flex flex-col [&>div]:my-0 [&>div]:flex-1 [&>div]:flex [&>div]:flex-col [&>div>div]:border-0 [&>div>pre]:border-b-0 [&>div>pre]:border-s-0 [&>div>pre]:border-e-0 [&>div>pre]:rounded-l-none [&>div>pre]:flex-1 [&>div]:overflow-y-auto"},variants:{active:{true:{link:"text-highlighted before:bg-elevated"},false:{link:["hover:text-highlighted hover:before:bg-elevated/50","transition-colors before:transition-colors"]}}}},pe=Object.assign({inheritAttrs:!1},{__name:"ProseCodeTree",props:{items:{type:Array,required:!1},modelValue:{type:String,required:!1},defaultValue:{type:String,required:!1},expandAll:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1}},emits:["update:modelValue"],setup(z,{emit:D}){const l=z,N=D,R=Q(),b=H(),[U,L]=G(),r=_(()=>j({extend:j(le),...b.ui?.prose?.codeTree||{}})()),S=l.modelValue??l.defaultValue,p=k(S?{path:S}:void 0),$=k();x(p,e=>{e?.path!==l.modelValue&&N("update:modelValue",e?.path)}),x(()=>l.modelValue,e=>{if(e===p.value?.path)return;p.value=e?{path:e}:void 0;const t=T(e);for(const a of t)f.value.includes(a)||f.value.push(a)});const A=k(1),g=_(()=>(A.value,l.items||R.default?.()?.flatMap(q).filter(Boolean)||[])),B=_(()=>M(g.value));function M(e){const t=new Map,a=[];e.forEach(n=>{const i=n.label.split("/");let s="";i.forEach((v,C)=>{if(s=s?`${s}/${v}`:v,!t.has(s)){const V={label:v,path:s,...C<i.length-1&&{children:[]}};t.set(s,V),C===0?a.push(V):t.get(i.slice(0,C).join("/"))?.children?.push(V)}})});const o=n=>n.sort((i,s)=>!!i.children==!!s.children?i.label.localeCompare(s.label):s.children?1:-1).map(i=>({...i,children:i.children&&o(i.children)}));return o(a)}function q(e,t){return typeof e.type=="symbol"?e.children?.map(q):{label:e.props?.filename||e.props?.label||`${t}`,icon:e.props?.icon,component:e}}function T(e){if(l.expandAll){const a=new Set;return g.value.forEach(o=>{const n=o.label.split("/");for(let i=1;i<n.length;i++)a.add(n.slice(0,i).join("/"))}),Array.from(a)}if(!e)return[];const t=e.split("/");return t.slice(0,-1).map((a,o)=>t.slice(0,o+1).join("/"))}const f=k(T(p.value?.path));return x(g,()=>{l.expandAll&&(f.value=T())},{immediate:!0}),x(p,e=>{const t=g.value.find(a=>e?.path===a.label);t?.component&&($.value=t)},{immediate:!0}),J(()=>A.value++),(e,t)=>(d(),h(W,null,[m(c(U),null,{default:I(({items:a,level:o})=>[(d(!0),h(W,null,K(a,(n,i)=>(d(),h("li",{key:`${o}-${i}`,role:"presentation",class:u(o>1?r.value.itemWithChildren({class:l.ui?.itemWithChildren}):r.value.item({class:l.ui?.item}))},[m(c(F),{level:o,value:n,"as-child":""},{default:I(({isExpanded:s,isSelected:v})=>[y("button",{type:"button",class:u(r.value.link({class:l.ui?.link,active:v}))},[n.children?.length?(d(),w(P,{key:0,name:s?c(b).ui.icons.folderOpen:c(b).ui.icons.folder,class:u(r.value.linkLeadingIcon({class:l.ui?.linkLeadingIcon}))},null,8,["name","class"])):(d(),w(ee,{key:1,filename:n.label,class:u(r.value.linkLeadingIcon({class:l.ui?.linkLeadingIcon}))},null,8,["filename","class"])),y("span",{class:u(r.value.linkLabel({class:l.ui?.linkLabel}))},Z(n.label),3),n.children?.length?(d(),h("span",{key:2,class:u(r.value.linkTrailing({class:l.ui?.linkTrailing}))},[m(P,{name:c(b).ui.icons.chevronDown,class:u(r.value.linkTrailingIcon({class:l.ui?.linkTrailingIcon}))},null,8,["name","class"])],2)):E("",!0)],2),n.children?.length&&s?(d(),h("ul",{key:0,role:"group",class:u(r.value.listWithChildren({class:l.ui?.listWithChildren}))},[m(c(L),{items:n.children,level:o+1},null,8,["items","level"])],2)):E("",!0)]),_:2},1032,["level","value"])],2))),128))]),_:1}),y("div",Y(e.$attrs,{class:r.value.root({class:[l.ui?.root,l.class]})}),[m(c(O),{modelValue:p.value,"onUpdate:modelValue":t[0]||(t[0]=a=>p.value=a),expanded:f.value,"onUpdate:expanded":t[1]||(t[1]=a=>f.value=a),class:u(r.value.list({class:l.ui?.list})),items:B.value,"get-key":a=>a.path},{default:I(()=>[m(c(L),{items:B.value,level:1},null,8,["items"])]),_:1},8,["modelValue","expanded","class","items","get-key"]),y("div",{class:u(r.value.content({class:l.ui?.content}))},[(d(),w(X($.value?.component)))],2)],16)],64))}});export{pe as default};
@@ -1 +1 @@
1
- {"id":"a1e9100c-1a4f-4f7e-bb53-9dbe0d07effb","timestamp":1771426493367}
1
+ {"id":"91727fcc-bf7f-407f-9b1e-092017fcfee0","timestamp":1771539179032}
@@ -0,0 +1 @@
1
+ {"id":"91727fcc-bf7f-407f-9b1e-092017fcfee0","timestamp":1771539179032,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
@@ -0,0 +1 @@
1
+ import{_ as oe}from"./DdPA4eTX.js";import{a as Q,c as U,G as F,R as v,ab as k,T as l,U as Z,C as s,_ as se,an as $e,Q as B,a9 as E,ae as j,S as m,aa as S,aV as ue,ai as ae,aj as le,W as J,ak as z,e as b,f as q,ah as De,bg as Ce,ag as Ue,q as Ve,n as ce}from"./p9l1LjVc.js";import{_ as Fe}from"./BIMBp1Tj.js";import{_ as Se,a as Ie}from"./CflRLvFC.js";import{_ as ne}from"./FNhYm5FX.js";import{_ as de}from"./CYjcQPl-.js";import{_ as Pe}from"./BtNnS4m3.js";import{_ as me}from"./DU6ewLkE.js";import{_ as Ee}from"./C1T4GK6c.js";import{_ as Ae}from"./BXxYdXMr.js";import{_ as ze,a as Be}from"./BOgdaA_8.js";import{_ as Le}from"./DkBIU-1F.js";import{_ as Oe}from"./ZR87XvwB.js";import{_ as Me}from"./DaBp0Gba.js";import{_ as Ne}from"./ApfLnl06.js";import{_ as qe}from"./C4zyxZG7.js";import{u as He}from"./CLzcRUcs.js";import"./C5I-XBZT.js";import"./CZ32KfaS.js";import"./UO2Y9Nve.js";import"./DAIbdyS6.js";import"./C2ANDZen.js";import"./HOeKUnra.js";import"./CM2phu_3.js";import"./CQpYRq61.js";import"./BKaRtCjP.js";import"./B4u7Mczo.js";import"./YGWAImQo.js";import"./ClXDAYjE.js";import"./C6Y-ieo6.js";import"./DAE2hbP7.js";import"./Dz6sfh81.js";import"./DNE7kw9s.js";import"./B-2BuR5g.js";import"./Vcq4gwWv.js";import"./D_vK6VPK.js";import"./BlPToGni.js";import"./BhrzKbv9.js";import"./88opOQSr.js";import"./iik6CYzq.js";import"./CvJtd2Af.js";import"./_E89BQAO.js";const Re={class:"flex items-center gap-2"},Qe={class:"flex items-center flex-wrap gap-2 mt-2"},Ge={key:4,class:"text-xs text-dimmed"},We=Q({__name:"TaskCard",props:{task:{}},emits:["toggle","edit","delete","view"],setup(e,{emit:w}){const r=e,h=w,i={1:{label:"Low",color:"neutral",icon:"i-lucide-arrow-down"},2:{label:"Medium",color:"warning",icon:"i-lucide-minus"},3:{label:"High",color:"error",icon:"i-lucide-arrow-up"}},C={todo:{label:"Todo",color:"neutral",icon:"i-lucide-circle"},in_progress:{label:"In Progress",color:"info",icon:"i-lucide-clock"},done:{label:"Done",color:"success",icon:"i-lucide-check-circle"},blocked:{label:"Blocked",color:"error",icon:"i-lucide-alert-circle"}},u=U(()=>i[r.task.priority]||i[2]),g=U(()=>C[r.task.status]),_=U(()=>r.task.status==="done"),c=U(()=>!!r.task.description?.trim()),a=U(()=>!r.task.dueDate||_.value?!1:new Date(r.task.dueDate)<new Date);function p(I){return I?new Date(I).toLocaleDateString("en-US",{month:"short",day:"numeric"}):null}const $=U(()=>[[{label:"Edit",icon:"i-lucide-pencil",onSelect:()=>h("edit",r.task)},{label:"Delete",icon:"i-lucide-trash-2",color:"error",onSelect:()=>h("delete",r.task.id)}]]);return(I,A)=>{const o=se,t=oe,n=J,T=Ee;return v(),F("div",{class:Z(["group flex items-start gap-3 p-3 rounded-lg border border-default hover:bg-elevated transition-colors",{"opacity-60":s(_)}])},[k("button",{class:"mt-0.5 shrink-0",onClick:A[0]||(A[0]=$e(V=>h("toggle",e.task.id),["stop"]))},[l(o,{name:s(_)?"i-lucide-check-circle-2":"i-lucide-circle",class:Z(["size-5",s(_)?"text-success":"text-dimmed hover:text-default"])},null,8,["name","class"])]),k("button",{class:"flex-1 min-w-0 text-left",onClick:A[1]||(A[1]=V=>h("view",e.task))},[k("div",Re,[k("span",{class:Z(["font-medium",{"line-through text-dimmed":s(_)}])},j(e.task.title),3),s(c)?(v(),B(o,{key:0,name:"i-lucide-file-text",class:"size-3.5 text-dimmed shrink-0"})):E("",!0)]),k("div",Qe,[e.task.project?(v(),B(t,{key:0,variant:"subtle",color:"neutral",size:"xs"},{default:m(()=>[k("span",{class:"size-2 rounded-full mr-1",style:ue({backgroundColor:e.task.project.color})},null,4),S(" "+j(e.task.project.name),1)]),_:1})):E("",!0),e.task.priority!==2?(v(),B(t,{key:1,color:s(u).color,variant:"subtle",size:"xs"},{default:m(()=>[l(o,{name:s(u).icon,class:"size-3 mr-1"},null,8,["name"]),S(" "+j(s(u).label),1)]),_:1},8,["color"])):E("",!0),e.task.status==="in_progress"||e.task.status==="blocked"?(v(),B(t,{key:2,color:s(g).color,variant:"subtle",size:"xs"},{default:m(()=>[l(o,{name:s(g).icon,class:"size-3 mr-1"},null,8,["name"]),S(" "+j(s(g).label),1)]),_:1},8,["color"])):E("",!0),e.task.dueDate?(v(),F("span",{key:3,class:Z(["text-xs flex items-center gap-1",s(a)?"text-error":"text-dimmed"])},[l(o,{name:"i-lucide-calendar",class:"size-3"}),S(" "+j(p(e.task.dueDate)),1)],2)):E("",!0),(v(!0),F(ae,null,le(e.task.tags?.slice(0,3),V=>(v(),B(t,{key:V,variant:"subtle",color:"neutral",size:"xs"},{default:m(()=>[S(j(V),1)]),_:2},1024))),128)),e.task.tags&&e.task.tags.length>3?(v(),F("span",Ge," +"+j(e.task.tags.length-3),1)):E("",!0)])]),l(T,{items:s($)},{default:m(()=>[l(n,{icon:"i-lucide-more-vertical",color:"neutral",variant:"ghost",size:"xs",class:"opacity-0 group-hover:opacity-100 transition-opacity"})]),_:1},8,["items"])],2)}}}),Je=Object.assign(We,{__name:"TasksTaskCard"}),Ke={key:0,class:"flex items-center justify-center py-12"},Xe={class:"text-center py-8 text-dimmed"},Ye={key:2,class:"space-y-2"},Ze=Q({__name:"TaskList",props:{tasks:{},loading:{type:Boolean}},emits:["toggle","edit","delete","create","view"],setup(e,{emit:w}){const r=w;return(h,i)=>{const C=se,u=J,g=me,_=Je;return v(),F("div",null,[e.loading?(v(),F("div",Ke,[l(C,{name:"i-lucide-loader-2",class:"size-8 animate-spin text-dimmed"})])):e.tasks.length===0?(v(),B(g,{key:1},{default:m(()=>[k("div",Xe,[l(C,{name:"i-lucide-check-square",class:"size-12 mx-auto mb-2 opacity-50"}),i[5]||(i[5]=k("p",{class:"font-medium"}," No tasks yet ",-1)),i[6]||(i[6]=k("p",{class:"text-sm mt-1"}," Create your first task to get started. ",-1)),l(u,{class:"mt-4",icon:"i-lucide-plus",label:"Add Task",onClick:i[0]||(i[0]=c=>r("create"))})])]),_:1})):(v(),F("div",Ye,[(v(!0),F(ae,null,le(e.tasks,c=>(v(),B(_,{key:c.id,task:c,onToggle:i[1]||(i[1]=a=>r("toggle",a)),onEdit:i[2]||(i[2]=a=>r("edit",a)),onDelete:i[3]||(i[3]=a=>r("delete",a)),onView:i[4]||(i[4]=a=>r("view",a))},null,8,["task"]))),128))]))])}}}),et=Object.assign(Ze,{__name:"TasksTaskList"}),te="__none__",tt=Q({__name:"ProjectSelect",props:{modelValue:{},projects:{}},emits:["update:modelValue"],setup(e,{emit:w}){const r=e,h=w,i=U({get:()=>r.modelValue||te,set:u=>h("update:modelValue",u===te?null:u)}),C=U(()=>[{value:te,label:"No Project"},...r.projects.filter(u=>!u.deletedAt).map(u=>({value:u.id,label:u.name}))]);return(u,g)=>{const _=ne;return v(),B(_,{modelValue:s(i),"onUpdate:modelValue":g[0]||(g[0]=c=>z(i)?i.value=c:null),items:s(C),"value-key":"value",class:"w-full"},null,8,["modelValue","items"])}}}),ot=Object.assign(tt,{__name:"TasksProjectSelect"}),st={class:"task-form-body"},at={class:"task-form-description"},lt={class:"task-form-fields"},nt={class:"grid grid-cols-2 gap-4"},it={class:"flex justify-end gap-2 w-full"},rt=Q({__name:"TaskForm",props:{open:{type:Boolean},task:{},projects:{}},emits:["update:open","submit"],setup(e,{emit:w}){const r=e,h=w,i=U(()=>!!r.task?.id),C=U(()=>i.value?"Edit Task":"Create Task"),u=b(""),g=b(""),_=b("todo"),c=b(2),a=b(null),p=b(""),$=b([]),I=[{value:"todo",label:"Todo"},{value:"in_progress",label:"In Progress"},{value:"done",label:"Done"},{value:"blocked",label:"Blocked"}],A=[{value:1,label:"Low"},{value:2,label:"Medium"},{value:3,label:"High"}],o=[[{kind:"mark",mark:"bold",icon:"i-lucide-bold"},{kind:"mark",mark:"italic",icon:"i-lucide-italic"},{kind:"mark",mark:"code",icon:"i-lucide-code"}],[{kind:"bulletList",icon:"i-lucide-list"},{kind:"orderedList",icon:"i-lucide-list-ordered"}],[{kind:"link",icon:"i-lucide-link"}]],t=U(()=>g.value||void 0);q(()=>r.task,x=>{x?(u.value=x.title,g.value=x.description||"",_.value=x.status,c.value=x.priority,a.value=x.projectId||null,p.value=x.dueDate&&new Date(x.dueDate).toISOString().split("T")[0]||"",$.value=x.tags||[]):n()},{immediate:!0}),q(()=>r.open,x=>{x||n()});function n(){u.value="",g.value="",_.value="todo",c.value=2,a.value=null,p.value="",$.value=[]}function T(){h("update:open",!1)}function V(){if(!u.value.trim())return;const x={title:u.value.trim(),description:g.value.trim()||void 0,status:_.value,priority:c.value,projectId:a.value,dueDate:p.value||void 0,tags:$.value};h("submit",x),T()}return(x,y)=>{const K=de,M=Ae,G=ze,X=Be,O=ne,N=ot,H=Le,R=J,Y=Oe;return v(),B(Y,{open:e.open,title:s(C),"onUpdate:open":y[7]||(y[7]=D=>h("update:open",D))},{body:m(()=>[k("div",st,[l(M,{label:"Title",required:""},{default:m(()=>[l(K,{modelValue:s(u),"onUpdate:modelValue":y[0]||(y[0]=D=>z(u)?u.value=D:null),placeholder:"Task title...",autofocus:"",class:"w-full"},null,8,["modelValue"])]),_:1}),k("div",at,[y[8]||(y[8]=k("label",{class:"block text-sm font-medium text-default mb-1.5"},"Description",-1)),l(X,{"model-value":s(t),"content-type":"markdown",placeholder:"Add a description...",class:"task-editor","onUpdate:modelValue":y[1]||(y[1]=D=>g.value=D)},{default:m(({editor:D})=>[l(G,{editor:D,items:o,class:"border-b border-default"},null,8,["editor"])]),_:1},8,["model-value"])]),k("div",lt,[k("div",nt,[l(M,{label:"Status"},{default:m(()=>[l(O,{modelValue:s(_),"onUpdate:modelValue":y[2]||(y[2]=D=>z(_)?_.value=D:null),items:I,"value-key":"value",class:"w-full"},null,8,["modelValue"])]),_:1}),l(M,{label:"Priority"},{default:m(()=>[l(O,{modelValue:s(c),"onUpdate:modelValue":y[3]||(y[3]=D=>z(c)?c.value=D:null),items:A,"value-key":"value",class:"w-full"},null,8,["modelValue"])]),_:1})]),l(M,{label:"Project"},{default:m(()=>[l(N,{modelValue:s(a),"onUpdate:modelValue":y[4]||(y[4]=D=>z(a)?a.value=D:null),projects:e.projects,class:"w-full"},null,8,["modelValue","projects"])]),_:1}),l(M,{label:"Due Date"},{default:m(()=>[l(K,{modelValue:s(p),"onUpdate:modelValue":y[5]||(y[5]=D=>z(p)?p.value=D:null),type:"date",class:"w-full"},null,8,["modelValue"])]),_:1}),l(M,{label:"Tags"},{default:m(()=>[l(H,{modelValue:s($),"onUpdate:modelValue":y[6]||(y[6]=D=>z($)?$.value=D:null),placeholder:"Add tags...",class:"w-full"},null,8,["modelValue"])]),_:1})])])]),footer:m(()=>[k("div",it,[l(R,{color:"neutral",variant:"ghost",onClick:T},{default:m(()=>[...y[9]||(y[9]=[S(" Cancel ",-1)])]),_:1}),l(R,{disabled:!s(u).trim(),onClick:V},{default:m(()=>[S(j(s(i)?"Save Changes":"Create Task"),1)]),_:1},8,["disabled"])])]),_:1},8,["open","title"])}}}),ct=Object.assign(rt,{__name:"TasksTaskForm"}),ut={class:"flex items-start justify-between gap-4"},dt={class:"text-lg font-semibold"},mt={class:"space-y-4"},pt={class:"flex flex-wrap items-center gap-3 text-sm"},ft={key:0,class:"flex items-center gap-1.5"},kt={class:"text-dimmed"},vt={class:"flex items-center gap-1.5"},_t={key:1,class:"flex items-center gap-1.5"},gt={class:"text-dimmed"},yt={key:0,class:"flex flex-wrap gap-1.5"},bt={key:1,class:"pt-2 border-t border-default"},ht={class:"prose prose-sm dark:prose-invert max-w-none"},wt={class:"pt-2 border-t border-default text-xs text-dimmed space-y-1"},Tt={key:0},xt={key:0},jt={class:"flex justify-between"},$t={class:"flex gap-2"},Dt=Q({__name:"TaskDetail",props:{task:{}},emits:["edit","close","toggle"],setup(e,{emit:w}){const r=e,h=w,i={1:{label:"Low",color:"neutral"},2:{label:"Medium",color:"warning"},3:{label:"High",color:"error"}},C={todo:{label:"Todo",color:"neutral"},in_progress:{label:"In Progress",color:"info"},done:{label:"Done",color:"success"},blocked:{label:"Blocked",color:"error"}},u=U(()=>i[r.task.priority]||i[2]),g=U(()=>C[r.task.status]),_=U(()=>r.task.status==="done");function c(a){return a?new Date(a).toLocaleDateString("en-US",{weekday:"short",month:"short",day:"numeric",year:"numeric"}):null}return(a,p)=>{const $=oe,I=se,A=Me,o=J,t=me;return v(),B(t,null,{header:m(()=>[k("div",ut,[k("h3",dt,j(e.task.title),1),l($,{color:s(g).color,variant:"subtle"},{default:m(()=>[S(j(s(g).label),1)]),_:1},8,["color"])])]),footer:m(()=>[k("div",jt,[l(o,{icon:s(_)?"i-lucide-rotate-ccw":"i-lucide-check",color:s(_)?"neutral":"success",variant:s(_)?"ghost":"soft",onClick:p[0]||(p[0]=n=>h("toggle"))},{default:m(()=>[S(j(s(_)?"Mark Incomplete":"Mark Complete"),1)]),_:1},8,["icon","color","variant"]),k("div",$t,[l(o,{color:"neutral",variant:"ghost",onClick:p[1]||(p[1]=n=>h("close"))},{default:m(()=>[...p[3]||(p[3]=[S(" Close ",-1)])]),_:1}),l(o,{icon:"i-lucide-pencil",onClick:p[2]||(p[2]=n=>h("edit"))},{default:m(()=>[...p[4]||(p[4]=[S(" Edit ",-1)])]),_:1})])])]),default:m(()=>[k("div",mt,[k("div",pt,[e.task.project?(v(),F("div",ft,[k("span",{class:"size-2.5 rounded-full",style:ue({backgroundColor:e.task.project.color})},null,4),k("span",kt,j(e.task.project.name),1)])):E("",!0),k("div",vt,[l(I,{name:"i-lucide-flag",class:"size-4 text-dimmed"}),l($,{color:s(u).color,variant:"subtle",size:"xs"},{default:m(()=>[S(j(s(u).label),1)]),_:1},8,["color"])]),e.task.dueDate?(v(),F("div",_t,[l(I,{name:"i-lucide-calendar",class:"size-4 text-dimmed"}),k("span",gt,j(c(e.task.dueDate)),1)])):E("",!0)]),e.task.tags&&e.task.tags.length>0?(v(),F("div",yt,[(v(!0),F(ae,null,le(e.task.tags,n=>(v(),B($,{key:n,variant:"subtle",color:"neutral",size:"sm"},{default:m(()=>[S(j(n),1)]),_:2},1024))),128))])):E("",!0),e.task.description?(v(),F("div",bt,[k("div",ht,[l(A,{value:e.task.description},null,8,["value"])])])):E("",!0),k("div",wt,[k("p",null,[S(" Created: "+j(c(e.task.createdAt))+" ",1),e.task.creator?(v(),F("span",Tt," by "+j(e.task.creator.name),1)):E("",!0)]),e.task.completedAt?(v(),F("p",xt," Completed: "+j(c(e.task.completedAt)),1)):E("",!0)])])]),_:1})}}}),Ct=Object.assign(Dt,{__name:"TasksTaskDetail"});function Ut(){const e=b([]),w=b(!1),r=b(null),h=b([]),i=De({status:void 0,projectId:void 0,search:void 0,includeDeleted:!1});async function C(o){w.value=!0,r.value=null;const t=o||i;try{const n={};t.status&&(Array.isArray(t.status)?t.status.forEach(V=>n.status=V):n.status=t.status),t.projectId&&(n.projectId=t.projectId),t.search&&(n.search=t.search),t.includeDeleted&&(n.includeDeleted="true");const T=await $fetch("/api/tasks",{query:n});return e.value=T.data,T.data}catch(n){throw r.value="Failed to load tasks",console.error("Failed to load tasks:",n),n}finally{w.value=!1}}async function u(){try{const o=await $fetch("/api/tasks/tags");return h.value=o.data,o.data}catch(o){throw console.error("Failed to fetch tags:",o),o}}async function g(o){try{return(await $fetch(`/api/tasks/${o}`)).data}catch(t){throw console.error("Failed to get task:",t),t}}async function _(o){try{const t=await $fetch("/api/tasks",{method:"POST",body:o});return e.value=[t.data,...e.value],t.data}catch(t){throw console.error("Failed to create task:",t),t}}async function c(o,t){try{const n=await $fetch(`/api/tasks/${o}`,{method:"PUT",body:t}),T=e.value.findIndex(V=>V.id===o);return T!==-1&&(e.value[T]=n.data),n.data}catch(n){throw console.error("Failed to update task:",n),n}}async function a(o){try{const t=await $fetch(`/api/tasks/${o}`,{method:"DELETE"});return e.value=e.value.filter(n=>n.id!==o),t.data}catch(t){throw console.error("Failed to delete task:",t),t}}async function p(o){try{const t=await $fetch(`/api/tasks/${o}/restore`,{method:"POST"});return await C(),t.data}catch(t){throw console.error("Failed to restore task:",t),t}}async function $(o){const t=e.value.find(T=>T.id===o);if(!t)return;const n=t.status==="done"?"todo":"done";return c(o,{status:n})}const I=U(()=>{let o=[...e.value];if(i.status){const t=Array.isArray(i.status)?i.status:[i.status];o=o.filter(n=>t.includes(n.status))}if(i.projectId&&(o=o.filter(t=>t.projectId===i.projectId)),i.search){const t=i.search.toLowerCase();o=o.filter(n=>n.title.toLowerCase().includes(t)||n.description?.toLowerCase().includes(t))}return i.includeDeleted||(o=o.filter(t=>!t.deletedAt)),o}),A=U(()=>{const o={todo:0,in_progress:0,done:0,blocked:0,total:0};return e.value.forEach(t=>{t.deletedAt||(o[t.status]++,o.total++)}),o});return{tasks:e,filteredTasks:I,loading:w,error:r,tags:h,filters:i,taskCounts:A,fetchTasks:C,fetchTags:u,getTask:g,createTask:_,updateTask:c,deleteTask:a,restoreTask:p,toggleComplete:$}}function Vt(){const e=b([]),w=b(!1),r=b(null);async function h(c=!1){w.value=!0,r.value=null;try{const a=await $fetch("/api/projects",{query:{includeDeleted:c.toString()}});return e.value=a.data,a.data}catch(a){throw r.value="Failed to load projects",console.error("Failed to load projects:",a),a}finally{w.value=!1}}async function i(c){try{return(await $fetch(`/api/projects/${c}`)).data}catch(a){throw console.error("Failed to get project:",a),a}}async function C(c){try{const a=await $fetch("/api/projects",{method:"POST",body:c});return e.value=[...e.value,a.data],a.data}catch(a){throw console.error("Failed to create project:",a),a}}async function u(c,a){try{const p=await $fetch(`/api/projects/${c}`,{method:"PUT",body:a}),$=e.value.findIndex(I=>I.id===c);return $!==-1&&(e.value[$]=p.data),p.data}catch(p){throw console.error("Failed to update project:",p),p}}async function g(c){try{const a=await $fetch(`/api/projects/${c}`,{method:"DELETE"});return e.value=e.value.filter(p=>p.id!==c),a.data}catch(a){throw console.error("Failed to delete project:",a),a}}function _(c){if(c)return e.value.find(a=>a.id===c)}return{projects:e,loading:w,error:r,fetchProjects:h,getProject:i,createProject:C,updateProject:u,deleteProject:g,getProjectById:_}}const Ft={class:"contents"},St={class:"flex items-center gap-2 text-sm"},L="__all__",wo=Q({__name:"tasks",setup(e){const w=Ce(),r=Ue(),{filteredTasks:h,tasks:i,loading:C,filters:u,taskCounts:g,fetchTasks:_,createTask:c,updateTask:a,deleteTask:p,toggleComplete:$}=Ut(),{projects:I,fetchProjects:A}=Vt(),o=b(!1),t=b(null),n=b(!1),T=b(null),V=b(!1),x=b(null),y=b(!1),K=[{value:L,label:"All Status"},{value:"todo",label:"Todo"},{value:"in_progress",label:"In Progress"},{value:"done",label:"Done"},{value:"blocked",label:"Blocked"}],M=U(()=>[{value:L,label:"All Projects"},...I.value.filter(d=>!d.deletedAt).map(d=>({value:d.id,label:d.name}))]),{taskStatusFilter:G,taskProjectFilter:X}=He(),O=b(G.value==="all"?L:G.value),N=b(X.value||L),H=b("");q(O,d=>{u.status=d===L?void 0:d,G.value=d===L?"all":d}),q(N,d=>{u.projectId=d===L?void 0:d,X.value=d===L?null:d}),q(H,d=>{u.search=d||void 0}),O.value!==L&&(u.status=O.value),N.value!==L&&(u.projectId=N.value);function R(){t.value=null,o.value=!0}function Y(d){t.value=d,o.value=!0}function D(d){T.value=d,n.value=!0}async function pe(d){try{t.value?(await a(t.value.id,d),r.add({title:"Task updated",color:"success",icon:"i-lucide-check"})):(await c(d),r.add({title:"Task created",color:"success",icon:"i-lucide-check"})),t.value=null}catch(f){r.add({title:"Failed to save task",description:f instanceof Error?f.message:"An unexpected error occurred",color:"error",icon:"i-lucide-alert-circle"})}}function fe(d){x.value=d,V.value=!0}async function ke(){if(x.value){y.value=!0;try{await p(x.value),r.add({title:"Task deleted",color:"success",icon:"i-lucide-trash"}),V.value=!1,x.value=null}catch(d){r.add({title:"Failed to delete task",description:d instanceof Error?d.message:"An unexpected error occurred",color:"error",icon:"i-lucide-alert-circle"})}finally{y.value=!1}}}async function ie(d){try{await $(d)}catch(f){r.add({title:"Failed to update task",description:f instanceof Error?f.message:"An unexpected error occurred",color:"error",icon:"i-lucide-alert-circle"})}}return q([()=>w.query.selected,i],([d,f])=>{if(d&&f.length>0){const W=f.find(ee=>ee.id===d);W&&(T.value=W,n.value=!0,ce("/tasks",{replace:!0}))}},{immediate:!0}),q(()=>w.query.action,d=>{d==="new"&&(R(),ce("/tasks",{replace:!0}))},{immediate:!0}),Ve(async()=>{await Promise.all([_(),A()])}),(d,f)=>{const W=oe,ee=J,ve=Fe,_e=Ie,re=ne,ge=de,ye=Pe,be=et,he=Se,we=ct,Te=Ct,xe=Ne,je=qe;return v(),F("div",Ft,[l(he,{id:"tasks",grow:""},{header:m(()=>[l(_e,{title:"Tasks"},{left:m(()=>[k("div",St,[l(W,{color:"neutral",variant:"subtle"},{default:m(()=>[S(j(s(g).total)+" total ",1)]),_:1}),s(g).done>0?(v(),B(W,{key:0,color:"success",variant:"subtle"},{default:m(()=>[S(j(s(g).done)+" done ",1)]),_:1})):E("",!0)])]),right:m(()=>[l(ee,{icon:"i-lucide-plus",label:"Add Task",onClick:R}),l(ve)]),_:1}),l(ye,null,{left:m(()=>[l(re,{modelValue:s(O),"onUpdate:modelValue":f[0]||(f[0]=P=>z(O)?O.value=P:null),items:K,"value-key":"value",class:"w-36"},null,8,["modelValue"]),l(re,{modelValue:s(N),"onUpdate:modelValue":f[1]||(f[1]=P=>z(N)?N.value=P:null),items:s(M),"value-key":"value",class:"w-40"},null,8,["modelValue","items"])]),right:m(()=>[l(ge,{modelValue:s(H),"onUpdate:modelValue":f[2]||(f[2]=P=>z(H)?H.value=P:null),placeholder:"Search tasks...",icon:"i-lucide-search",class:"w-64"},null,8,["modelValue"])]),_:1})]),body:m(()=>[l(be,{tasks:s(h),loading:s(C),onToggle:ie,onEdit:Y,onDelete:fe,onCreate:R,onView:D},null,8,["tasks","loading"])]),_:1}),l(we,{open:s(o),"onUpdate:open":f[3]||(f[3]=P=>z(o)?o.value=P:null),task:s(t),projects:s(I),onSubmit:pe},null,8,["open","task","projects"]),l(xe,{open:s(n),"onUpdate:open":f[7]||(f[7]=P=>z(n)?n.value=P:null),title:s(T)?.title},{content:m(()=>[s(T)?(v(),B(Te,{key:0,task:s(T),onEdit:f[4]||(f[4]=P=>{Y(s(T)),n.value=!1}),onClose:f[5]||(f[5]=P=>n.value=!1),onToggle:f[6]||(f[6]=P=>{ie(s(T).id),n.value=!1})},null,8,["task"])):E("",!0)]),_:1},8,["open","title"]),l(je,{open:s(V),"onUpdate:open":f[8]||(f[8]=P=>z(V)?V.value=P:null),title:"Delete Task",description:"Are you sure you want to delete this task? This action cannot be undone.","confirm-label":"Delete","confirm-color":"error",icon:"i-lucide-trash-2",loading:s(y),onConfirm:ke,onCancel:f[9]||(f[9]=P=>x.value=null)},null,8,["open","loading"])])}}});export{wo as default};
@@ -1 +1 @@
1
- import{ao as A,am as P,ap as F,bb as I,L as O,N as U,c as y,f as H,aA as G,aP as E,G as _,R as g,T as t,S as o,a3 as s,C as l,a9 as m,Q as b,a7 as h,U as n,V as q,a2 as j,aI as J,aJ as Q,ag as W,aj as v,bx as K,W as N,an as X,a8 as Y,ac as Z,a as ee,ad as te,_ as ae}from"./BxXOsXrM.js";import{_ as le}from"./D3RiUGdz.js";import{c as C}from"./DGX0tzL8.js";import{_ as M}from"./inmzPrjz.js";import{_ as se}from"./ghuJ76mD.js";import{_ as oe}from"./DyRelyfs.js";import{_ as ne}from"./CYP_MLH8.js";import{_ as ie}from"./YuTZB7sD.js";import"./Fukkqjkf.js";import"./DqB723Z0.js";import"./Cdu2qGgq.js";import"./5ZXA0Ckq.js";import"./oIX-ZDN6.js";import"./Cdt3I3Go.js";const re={slots:{root:"bg-default/75 backdrop-blur border-b border-default h-(--ui-header-height) sticky top-0 z-50",container:"flex items-center justify-between gap-3 h-full",left:"lg:flex-1 flex items-center gap-1.5",center:"hidden lg:flex",right:"flex items-center justify-end lg:flex-1 gap-1.5",title:"shrink-0 font-bold text-xl text-highlighted flex items-end gap-1.5",toggle:"lg:hidden",content:"lg:hidden",overlay:"lg:hidden",header:"px-4 sm:px-6 h-(--ui-header-height) shrink-0 flex items-center justify-between gap-3",body:"p-4 sm:p-6 overflow-y-auto"},variants:{toggleSide:{left:{toggle:"-ms-1.5"},right:{toggle:"-me-1.5"}}}},ue=Object.assign({inheritAttrs:!1},{__name:"UHeader",props:A({as:{type:null,required:!1,default:"header"},title:{type:String,required:!1,default:"Nuxt UI"},to:{type:String,required:!1,default:"/"},mode:{type:null,required:!1,default:"modal"},menu:{type:null,required:!1},toggle:{type:[Boolean,Object],required:!1,default:!0},toggleSide:{type:String,required:!1,default:"right"},class:{type:null,required:!1},ui:{type:null,required:!1}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:["update:open"],setup(a){const e=a,d=P(),i=F(a,"open",{type:Boolean,default:!1}),r=I(),{t:u}=O(),p=U(),[S,$]=C(),[x,k]=C(),[V,w]=C(),L=y(()=>(d.title&&K(d.title())||e.title||"Nuxt UI").trim());H(()=>r.fullPath,()=>{i.value=!1});const f=y(()=>v({extend:v(re),...p.ui?.header||{}})()),D=y(()=>({slideover:se,modal:oe,drawer:ne})[e.mode]),z=G(()=>E(e.menu,{content:{onOpenAutoFocus:c=>c.preventDefault()}},e.mode==="modal"?{fullscreen:!0,transition:!1}:{}));function R(){i.value=!i.value}return(c,B)=>(g(),_(W,null,[t(l(V),null,{default:o(()=>[s(c.$slots,"toggle",{open:i.value,toggle:R,ui:f.value},()=>[a.toggle?(g(),b(N,q({key:0,color:"neutral",variant:"ghost","aria-label":i.value?l(u)("header.close"):l(u)("header.open"),icon:i.value?l(p).ui.icons.close:l(p).ui.icons.menu},typeof a.toggle=="object"?a.toggle:{},{"data-slot":"toggle",class:f.value.toggle({class:e.ui?.toggle,toggleSide:a.toggleSide}),onClick:R}),null,16,["aria-label","icon","class"])):h("",!0)])]),_:3}),t(l(S),null,{default:o(()=>[m("div",{"data-slot":"left",class:n(f.value.left({class:e.ui?.left}))},[a.toggleSide==="left"?(g(),b(l(w),{key:0})):h("",!0),s(c.$slots,"left",{},()=>[t(X,{to:a.to,"aria-label":L.value,"data-slot":"title",class:n(f.value.title({class:e.ui?.title}))},{default:o(()=>[s(c.$slots,"title",{},()=>[Y(Z(a.title),1)])]),_:3},8,["to","aria-label","class"])])],2)]),_:3}),t(l(x),null,{default:o(()=>[m("div",{"data-slot":"right",class:n(f.value.right({class:e.ui?.right}))},[s(c.$slots,"right"),a.toggleSide==="right"?(g(),b(l(w),{key:0})):h("",!0)],2)]),_:3}),t(l(j),q({as:a.as},c.$attrs,{"data-slot":"root",class:f.value.root({class:[e.ui?.root,e.class]})}),{default:o(()=>[s(c.$slots,"top"),t(M,{"data-slot":"container",class:n(f.value.container({class:e.ui?.container}))},{default:o(()=>[t(l($)),m("div",{"data-slot":"center",class:n(f.value.center({class:e.ui?.center}))},[s(c.$slots,"default")],2),t(l(k))]),_:3},8,["class"]),s(c.$slots,"bottom")]),_:3},16,["as","class"]),t(l(D),q({open:i.value,"onUpdate:open":B[0]||(B[0]=T=>i.value=T),title:l(u)("header.title"),description:l(u)("header.description")},z.value,{ui:{overlay:f.value.overlay({class:e.ui?.overlay}),content:f.value.content({class:e.ui?.content})}}),{content:o(T=>[s(c.$slots,"content",J(Q(T)),()=>[a.mode!=="drawer"?(g(),_("div",{key:0,"data-slot":"header",class:n(f.value.header({class:e.ui?.header}))},[t(l($)),t(l(k))],2)):h("",!0),m("div",{"data-slot":"body",class:n(f.value.body({class:e.ui?.body}))},[s(c.$slots,"body")],2)])]),_:3},16,["open","title","description","ui"])],64))}}),ce={base:"min-h-[calc(100vh-var(--ui-header-height))]"},de={__name:"UMain",props:{as:{type:null,required:!1},class:{type:null,required:!1}},setup(a){const e=a,d=U(),i=y(()=>v({extend:v(ce),...d.ui?.main||{}}));return(r,u)=>(g(),b(l(j),{as:a.as,class:n(i.value({class:e.class}))},{default:o(()=>[s(r.$slots,"default")]),_:3},8,["as","class"]))}},fe={slots:{root:"",top:"py-8 lg:py-12",bottom:"py-8 lg:py-12",container:"py-8 lg:py-4 lg:flex lg:items-center lg:justify-between lg:gap-x-3",left:"flex items-center justify-center lg:justify-start lg:flex-1 gap-x-1.5 mt-3 lg:mt-0 lg:order-1",center:"mt-3 lg:mt-0 lg:order-2 flex items-center justify-center",right:"lg:flex-1 flex items-center justify-center lg:justify-end gap-x-1.5 lg:order-3"}},ge={__name:"UFooter",props:{as:{type:null,required:!1,default:"footer"},class:{type:null,required:!1},ui:{type:null,required:!1}},setup(a){const e=a,d=P(),i=U(),r=y(()=>v({extend:v(fe),...i.ui?.footer||{}})());return(u,p)=>(g(),b(l(j),{as:a.as,"data-slot":"root",class:n(r.value.root({class:[e.ui?.root,e.class]}))},{default:o(()=>[d.top?(g(),_("div",{key:0,"data-slot":"top",class:n(r.value.top({class:e.ui?.top}))},[s(u.$slots,"top")],2)):h("",!0),t(M,{"data-slot":"container",class:n(r.value.container({class:e.ui?.container}))},{default:o(()=>[m("div",{"data-slot":"right",class:n(r.value.right({class:e.ui?.right}))},[s(u.$slots,"right")],2),m("div",{"data-slot":"center",class:n(r.value.center({class:e.ui?.center}))},[s(u.$slots,"default")],2),m("div",{"data-slot":"left",class:n(r.value.left({class:e.ui?.left}))},[s(u.$slots,"left")],2)]),_:3},8,["class"]),d.bottom?(g(),_("div",{key:1,"data-slot":"bottom",class:n(r.value.bottom({class:e.ui?.bottom}))},[s(u.$slots,"bottom")],2)):h("",!0)]),_:3},8,["as","class"]))}},Ue=ee({__name:"view",setup(a){return(e,d)=>{const i=ae,r=te,u=le,p=ue,S=de,$=ie,x=N,k=ge;return g(),_("div",null,[t(p,null,{left:o(()=>[t(r,{to:"/",class:"flex items-center gap-2"},{default:o(()=>[t(i,{name:"i-lucide-brain",class:"size-6 text-primary"}),d[0]||(d[0]=m("span",{class:"font-semibold"},"Cognova",-1))]),_:1})]),right:o(()=>[t(u)]),_:1}),t(S,null,{default:o(()=>[s(e.$slots,"default")]),_:3}),t($,{icon:"i-lucide-brain",ui:{icon:"text-primary"}}),t(k,null,{left:o(()=>[...d[1]||(d[1]=[m("p",{class:"text-muted text-sm"}," Shared via Cognova ",-1)])]),right:o(()=>[t(x,{icon:"i-simple-icons-github",to:"https://github.com/Patrity/cognova",target:"_blank","aria-label":"View on GitHub",color:"neutral",variant:"ghost"}),t(x,{icon:"i-simple-icons-x",to:"https://x.com/Patrity/",target:"_blank","aria-label":"View Twitter",color:"neutral",variant:"ghost"})]),_:1})])}}});export{Ue as default};
1
+ import{aq as z,ao as N,ar as F,bg as A,L as H,N as U,c as y,f as I,aC as G,aT as E,G as _,R as g,T as t,S as o,a4 as s,C as l,ab as m,Q as b,a9 as h,U as n,V as q,a3 as j,aN as Q,aO as W,ai as J,al as v,bD as K,W as P,ap as X,aa as Y,ae as Z,a as ee,af as te,_ as ae}from"./p9l1LjVc.js";import{_ as le}from"./BIMBp1Tj.js";import{c as C}from"./CZ32KfaS.js";import{_ as M}from"./Dvw-hR3Y.js";import{_ as se}from"./ZR87XvwB.js";import{_ as oe}from"./ApfLnl06.js";import{_ as ne}from"./BWqJFnZy.js";import{_ as ie}from"./DeAGWdWK.js";import"./BlPToGni.js";import"./YGWAImQo.js";import"./BhrzKbv9.js";import"./CM2phu_3.js";import"./B4u7Mczo.js";import"./DNE7kw9s.js";const re={slots:{root:"bg-default/75 backdrop-blur border-b border-default h-(--ui-header-height) sticky top-0 z-50",container:"flex items-center justify-between gap-3 h-full",left:"lg:flex-1 flex items-center gap-1.5",center:"hidden lg:flex",right:"flex items-center justify-end lg:flex-1 gap-1.5",title:"shrink-0 font-bold text-xl text-highlighted flex items-end gap-1.5",toggle:"lg:hidden",content:"lg:hidden",overlay:"lg:hidden",header:"px-4 sm:px-6 h-(--ui-header-height) shrink-0 flex items-center justify-between gap-3",body:"p-4 sm:p-6 overflow-y-auto"},variants:{toggleSide:{left:{toggle:"-ms-1.5"},right:{toggle:"-me-1.5"}}}},ue=Object.assign({inheritAttrs:!1},{__name:"UHeader",props:z({as:{type:null,required:!1,default:"header"},title:{type:String,required:!1,default:"Nuxt UI"},to:{type:String,required:!1,default:"/"},mode:{type:null,required:!1,default:"modal"},menu:{type:null,required:!1},toggle:{type:[Boolean,Object],required:!1,default:!0},toggleSide:{type:String,required:!1,default:"right"},class:{type:null,required:!1},ui:{type:null,required:!1}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:["update:open"],setup(a){const e=a,d=N(),i=F(a,"open",{type:Boolean,default:!1}),r=A(),{t:u}=H(),p=U(),[S,$]=C(),[x,k]=C(),[V,w]=C(),D=y(()=>(d.title&&K(d.title())||e.title||"Nuxt UI").trim());I(()=>r.fullPath,()=>{i.value=!1});const f=y(()=>v({extend:v(re),...p.ui?.header||{}})()),L=y(()=>({slideover:se,modal:oe,drawer:ne})[e.mode]),O=G(()=>E(e.menu,{content:{onOpenAutoFocus:c=>c.preventDefault()}},e.mode==="modal"?{fullscreen:!0,transition:!1}:{}));function R(){i.value=!i.value}return(c,B)=>(g(),_(J,null,[t(l(V),null,{default:o(()=>[s(c.$slots,"toggle",{open:i.value,toggle:R,ui:f.value},()=>[a.toggle?(g(),b(P,q({key:0,color:"neutral",variant:"ghost","aria-label":i.value?l(u)("header.close"):l(u)("header.open"),icon:i.value?l(p).ui.icons.close:l(p).ui.icons.menu},typeof a.toggle=="object"?a.toggle:{},{"data-slot":"toggle",class:f.value.toggle({class:e.ui?.toggle,toggleSide:a.toggleSide}),onClick:R}),null,16,["aria-label","icon","class"])):h("",!0)])]),_:3}),t(l(S),null,{default:o(()=>[m("div",{"data-slot":"left",class:n(f.value.left({class:e.ui?.left}))},[a.toggleSide==="left"?(g(),b(l(w),{key:0})):h("",!0),s(c.$slots,"left",{},()=>[t(X,{to:a.to,"aria-label":D.value,"data-slot":"title",class:n(f.value.title({class:e.ui?.title}))},{default:o(()=>[s(c.$slots,"title",{},()=>[Y(Z(a.title),1)])]),_:3},8,["to","aria-label","class"])])],2)]),_:3}),t(l(x),null,{default:o(()=>[m("div",{"data-slot":"right",class:n(f.value.right({class:e.ui?.right}))},[s(c.$slots,"right"),a.toggleSide==="right"?(g(),b(l(w),{key:0})):h("",!0)],2)]),_:3}),t(l(j),q({as:a.as},c.$attrs,{"data-slot":"root",class:f.value.root({class:[e.ui?.root,e.class]})}),{default:o(()=>[s(c.$slots,"top"),t(M,{"data-slot":"container",class:n(f.value.container({class:e.ui?.container}))},{default:o(()=>[t(l($)),m("div",{"data-slot":"center",class:n(f.value.center({class:e.ui?.center}))},[s(c.$slots,"default")],2),t(l(k))]),_:3},8,["class"]),s(c.$slots,"bottom")]),_:3},16,["as","class"]),t(l(L),q({open:i.value,"onUpdate:open":B[0]||(B[0]=T=>i.value=T),title:l(u)("header.title"),description:l(u)("header.description")},O.value,{ui:{overlay:f.value.overlay({class:e.ui?.overlay}),content:f.value.content({class:e.ui?.content})}}),{content:o(T=>[s(c.$slots,"content",Q(W(T)),()=>[a.mode!=="drawer"?(g(),_("div",{key:0,"data-slot":"header",class:n(f.value.header({class:e.ui?.header}))},[t(l($)),t(l(k))],2)):h("",!0),m("div",{"data-slot":"body",class:n(f.value.body({class:e.ui?.body}))},[s(c.$slots,"body")],2)])]),_:3},16,["open","title","description","ui"])],64))}}),ce={base:"min-h-[calc(100vh-var(--ui-header-height))]"},de={__name:"UMain",props:{as:{type:null,required:!1},class:{type:null,required:!1}},setup(a){const e=a,d=U(),i=y(()=>v({extend:v(ce),...d.ui?.main||{}}));return(r,u)=>(g(),b(l(j),{as:a.as,class:n(i.value({class:e.class}))},{default:o(()=>[s(r.$slots,"default")]),_:3},8,["as","class"]))}},fe={slots:{root:"",top:"py-8 lg:py-12",bottom:"py-8 lg:py-12",container:"py-8 lg:py-4 lg:flex lg:items-center lg:justify-between lg:gap-x-3",left:"flex items-center justify-center lg:justify-start lg:flex-1 gap-x-1.5 mt-3 lg:mt-0 lg:order-1",center:"mt-3 lg:mt-0 lg:order-2 flex items-center justify-center",right:"lg:flex-1 flex items-center justify-center lg:justify-end gap-x-1.5 lg:order-3"}},ge={__name:"UFooter",props:{as:{type:null,required:!1,default:"footer"},class:{type:null,required:!1},ui:{type:null,required:!1}},setup(a){const e=a,d=N(),i=U(),r=y(()=>v({extend:v(fe),...i.ui?.footer||{}})());return(u,p)=>(g(),b(l(j),{as:a.as,"data-slot":"root",class:n(r.value.root({class:[e.ui?.root,e.class]}))},{default:o(()=>[d.top?(g(),_("div",{key:0,"data-slot":"top",class:n(r.value.top({class:e.ui?.top}))},[s(u.$slots,"top")],2)):h("",!0),t(M,{"data-slot":"container",class:n(r.value.container({class:e.ui?.container}))},{default:o(()=>[m("div",{"data-slot":"right",class:n(r.value.right({class:e.ui?.right}))},[s(u.$slots,"right")],2),m("div",{"data-slot":"center",class:n(r.value.center({class:e.ui?.center}))},[s(u.$slots,"default")],2),m("div",{"data-slot":"left",class:n(r.value.left({class:e.ui?.left}))},[s(u.$slots,"left")],2)]),_:3},8,["class"]),d.bottom?(g(),_("div",{key:1,"data-slot":"bottom",class:n(r.value.bottom({class:e.ui?.bottom}))},[s(u.$slots,"bottom")],2)):h("",!0)]),_:3},8,["as","class"]))}},Ue=ee({__name:"view",setup(a){return(e,d)=>{const i=ae,r=te,u=le,p=ue,S=de,$=ie,x=P,k=ge;return g(),_("div",null,[t(p,null,{left:o(()=>[t(r,{to:"/",class:"flex items-center gap-2"},{default:o(()=>[t(i,{name:"i-lucide-brain",class:"size-6 text-primary"}),d[0]||(d[0]=m("span",{class:"font-semibold"},"Cognova",-1))]),_:1})]),right:o(()=>[t(u)]),_:1}),t(S,null,{default:o(()=>[s(e.$slots,"default")]),_:3}),t($,{icon:"i-lucide-brain",ui:{icon:"text-primary"}}),t(k,null,{left:o(()=>[...d[1]||(d[1]=[m("p",{class:"text-muted text-sm"}," Shared via Cognova ",-1)])]),right:o(()=>[t(x,{icon:"i-simple-icons-github",to:"https://github.com/Patrity/cognova",target:"_blank","aria-label":"View on GitHub",color:"neutral",variant:"ghost"}),t(x,{icon:"i-simple-icons-x",to:"https://x.com/Patrity/",target:"_blank","aria-label":"View Twitter",color:"neutral",variant:"ghost"})]),_:1})])}}});export{Ue as default};