@slexn/codecenter-ui 1.0.0

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 (472) hide show
  1. package/LICENSE +34 -0
  2. package/README.md +148 -0
  3. package/components.json +20 -0
  4. package/dist/codecenter-ui.cjs +10 -0
  5. package/dist/codecenter-ui.js +17995 -0
  6. package/dist/components/ui/accordion/Accordion.vue.d.ts +28 -0
  7. package/dist/components/ui/accordion/AccordionContent.vue.d.ts +22 -0
  8. package/dist/components/ui/accordion/AccordionItem.vue.d.ts +24 -0
  9. package/dist/components/ui/accordion/AccordionTrigger.vue.d.ts +22 -0
  10. package/dist/components/ui/accordion/index.d.ts +4 -0
  11. package/dist/components/ui/alert/Alert.vue.d.ts +32 -0
  12. package/dist/components/ui/alert/AlertDescription.vue.d.ts +24 -0
  13. package/dist/components/ui/alert/AlertTitle.vue.d.ts +24 -0
  14. package/dist/components/ui/alert/index.d.ts +4 -0
  15. package/dist/components/ui/alert/variants.d.ts +5 -0
  16. package/dist/components/ui/button/Button.vue.d.ts +27 -0
  17. package/dist/components/ui/button/index.d.ts +2 -0
  18. package/dist/components/ui/button/variants.d.ts +6 -0
  19. package/dist/components/ui/button-group/ButtonGroup.vue.d.ts +25 -0
  20. package/dist/components/ui/button-group/index.d.ts +2 -0
  21. package/dist/components/ui/card/Card.vue.d.ts +21 -0
  22. package/dist/components/ui/card/CardContent.vue.d.ts +21 -0
  23. package/dist/components/ui/card/CardDescription.vue.d.ts +21 -0
  24. package/dist/components/ui/card/CardFooter.vue.d.ts +21 -0
  25. package/dist/components/ui/card/CardHeader.vue.d.ts +21 -0
  26. package/dist/components/ui/card/CardTitle.vue.d.ts +21 -0
  27. package/dist/components/ui/card/index.d.ts +6 -0
  28. package/dist/components/ui/chart/Chart.vue.d.ts +92 -0
  29. package/dist/components/ui/chart/index.d.ts +2 -0
  30. package/dist/components/ui/chat/Chat.vue.d.ts +190 -0
  31. package/dist/components/ui/chat/ChatAttachments.vue.d.ts +11 -0
  32. package/dist/components/ui/chat/ChatCodeBlock.vue.d.ts +16 -0
  33. package/dist/components/ui/chat/code-block.d.ts +27 -0
  34. package/dist/components/ui/chat/index.d.ts +6 -0
  35. package/dist/components/ui/chat/types.d.ts +15 -0
  36. package/dist/components/ui/checkbox/Checkbox.vue.d.ts +29 -0
  37. package/dist/components/ui/checkbox/index.d.ts +1 -0
  38. package/dist/components/ui/commit/Commit.vue.d.ts +62 -0
  39. package/dist/components/ui/commit/index.d.ts +2 -0
  40. package/dist/components/ui/contribution-graph/ContributionGraph.vue.d.ts +87 -0
  41. package/dist/components/ui/contribution-graph/index.d.ts +2 -0
  42. package/dist/components/ui/data-table/DataTable.vue.d.ts +109 -0
  43. package/dist/components/ui/data-table/index.d.ts +2 -0
  44. package/dist/components/ui/date-picker/DatePicker.vue.d.ts +37 -0
  45. package/dist/components/ui/date-picker/index.d.ts +2 -0
  46. package/dist/components/ui/dialog/Dialog.vue.d.ts +25 -0
  47. package/dist/components/ui/dialog/DialogClose.vue.d.ts +18 -0
  48. package/dist/components/ui/dialog/DialogContent.vue.d.ts +39 -0
  49. package/dist/components/ui/dialog/DialogDescription.vue.d.ts +22 -0
  50. package/dist/components/ui/dialog/DialogFooter.vue.d.ts +21 -0
  51. package/dist/components/ui/dialog/DialogHeader.vue.d.ts +21 -0
  52. package/dist/components/ui/dialog/DialogOverlay.vue.d.ts +22 -0
  53. package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +36 -0
  54. package/dist/components/ui/dialog/DialogTitle.vue.d.ts +22 -0
  55. package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +18 -0
  56. package/dist/components/ui/dialog/index.d.ts +10 -0
  57. package/dist/components/ui/diff/DiffTool.vue.d.ts +21 -0
  58. package/dist/components/ui/diff/diff-parser.d.ts +30 -0
  59. package/dist/components/ui/diff/diff-tool.d.ts +36 -0
  60. package/dist/components/ui/diff/index.d.ts +2 -0
  61. package/dist/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +24 -0
  62. package/dist/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +29 -0
  63. package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +36 -0
  64. package/dist/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +18 -0
  65. package/dist/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +26 -0
  66. package/dist/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +23 -0
  67. package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +22 -0
  68. package/dist/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +27 -0
  69. package/dist/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +7 -0
  70. package/dist/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +21 -0
  71. package/dist/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +22 -0
  72. package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +38 -0
  73. package/dist/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +23 -0
  74. package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +18 -0
  75. package/dist/components/ui/dropdown-menu/index.d.ts +15 -0
  76. package/dist/components/ui/gauge/Gauge.vue.d.ts +62 -0
  77. package/dist/components/ui/gauge/index.d.ts +2 -0
  78. package/dist/components/ui/git-graph/GitGraph.vue.d.ts +59 -0
  79. package/dist/components/ui/git-graph/index.d.ts +2 -0
  80. package/dist/components/ui/incident-timeline/IncidentTimeline.vue.d.ts +50 -0
  81. package/dist/components/ui/incident-timeline/index.d.ts +2 -0
  82. package/dist/components/ui/input/Input.vue.d.ts +14 -0
  83. package/dist/components/ui/input/InputControl.vue.d.ts +14 -0
  84. package/dist/components/ui/input/InputFieldGroup.vue.d.ts +21 -0
  85. package/dist/components/ui/input/index.d.ts +4 -0
  86. package/dist/components/ui/input/types.d.ts +31 -0
  87. package/dist/components/ui/kpi-card/KpiCard.vue.d.ts +46 -0
  88. package/dist/components/ui/kpi-card/index.d.ts +2 -0
  89. package/dist/components/ui/kpi-line-card/KpiLineCard.vue.d.ts +66 -0
  90. package/dist/components/ui/kpi-line-card/index.d.ts +2 -0
  91. package/dist/components/ui/model-selector/ModelSelector.vue.d.ts +41 -0
  92. package/dist/components/ui/model-selector/index.d.ts +2 -0
  93. package/dist/components/ui/model-selector/types.d.ts +12 -0
  94. package/dist/components/ui/network-graph/NetworkGraph.vue.d.ts +75 -0
  95. package/dist/components/ui/network-graph/index.d.ts +2 -0
  96. package/dist/components/ui/pagination/Pagination.vue.d.ts +29 -0
  97. package/dist/components/ui/pagination/PaginationContent.vue.d.ts +29 -0
  98. package/dist/components/ui/pagination/PaginationEllipsis.vue.d.ts +22 -0
  99. package/dist/components/ui/pagination/PaginationFirst.vue.d.ts +26 -0
  100. package/dist/components/ui/pagination/PaginationItem.vue.d.ts +28 -0
  101. package/dist/components/ui/pagination/PaginationLast.vue.d.ts +26 -0
  102. package/dist/components/ui/pagination/PaginationNext.vue.d.ts +26 -0
  103. package/dist/components/ui/pagination/PaginationPrevious.vue.d.ts +26 -0
  104. package/dist/components/ui/pagination/index.d.ts +8 -0
  105. package/dist/components/ui/profile/Profile.vue.d.ts +30 -0
  106. package/dist/components/ui/profile/ProfileGroup.vue.d.ts +37 -0
  107. package/dist/components/ui/profile/index.d.ts +4 -0
  108. package/dist/components/ui/progress/Progress.vue.d.ts +36 -0
  109. package/dist/components/ui/progress/index.d.ts +2 -0
  110. package/dist/components/ui/prompt-input/PromptInput.vue.d.ts +150 -0
  111. package/dist/components/ui/prompt-input/index.d.ts +2 -0
  112. package/dist/components/ui/prompt-input/types.d.ts +61 -0
  113. package/dist/components/ui/radio-group/RadioGroup.vue.d.ts +30 -0
  114. package/dist/components/ui/radio-group/RadioGroupItem.vue.d.ts +12 -0
  115. package/dist/components/ui/radio-group/RadioGroupOption.vue.d.ts +28 -0
  116. package/dist/components/ui/radio-group/index.d.ts +3 -0
  117. package/dist/components/ui/reasoning/Reasoning.vue.d.ts +40 -0
  118. package/dist/components/ui/reasoning/index.d.ts +2 -0
  119. package/dist/components/ui/reasoning/types.d.ts +26 -0
  120. package/dist/components/ui/select/Select.vue.d.ts +28 -0
  121. package/dist/components/ui/select/SelectContent.vue.d.ts +46 -0
  122. package/dist/components/ui/select/SelectGroup.vue.d.ts +18 -0
  123. package/dist/components/ui/select/SelectItem.vue.d.ts +26 -0
  124. package/dist/components/ui/select/SelectItemText.vue.d.ts +18 -0
  125. package/dist/components/ui/select/SelectLabel.vue.d.ts +22 -0
  126. package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +22 -0
  127. package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +22 -0
  128. package/dist/components/ui/select/SelectSeparator.vue.d.ts +7 -0
  129. package/dist/components/ui/select/SelectTrigger.vue.d.ts +25 -0
  130. package/dist/components/ui/select/SelectValue.vue.d.ts +18 -0
  131. package/dist/components/ui/select/index.d.ts +11 -0
  132. package/dist/components/ui/select/search.d.ts +18 -0
  133. package/dist/components/ui/separator/Separator.vue.d.ts +6 -0
  134. package/dist/components/ui/separator/index.d.ts +2 -0
  135. package/dist/components/ui/separator/types.d.ts +7 -0
  136. package/dist/components/ui/shimmer/Shimmer.vue.d.ts +37 -0
  137. package/dist/components/ui/shimmer/index.d.ts +2 -0
  138. package/dist/components/ui/sidebar/Sidebar.vue.d.ts +24 -0
  139. package/dist/components/ui/sidebar/SidebarContent.vue.d.ts +21 -0
  140. package/dist/components/ui/sidebar/SidebarFooter.vue.d.ts +21 -0
  141. package/dist/components/ui/sidebar/SidebarGroup.vue.d.ts +21 -0
  142. package/dist/components/ui/sidebar/SidebarGroupAction.vue.d.ts +24 -0
  143. package/dist/components/ui/sidebar/SidebarGroupContent.vue.d.ts +21 -0
  144. package/dist/components/ui/sidebar/SidebarGroupLabel.vue.d.ts +24 -0
  145. package/dist/components/ui/sidebar/SidebarHeader.vue.d.ts +21 -0
  146. package/dist/components/ui/sidebar/SidebarInput.vue.d.ts +6 -0
  147. package/dist/components/ui/sidebar/SidebarInset.vue.d.ts +21 -0
  148. package/dist/components/ui/sidebar/SidebarMenu.vue.d.ts +21 -0
  149. package/dist/components/ui/sidebar/SidebarMenuAction.vue.d.ts +25 -0
  150. package/dist/components/ui/sidebar/SidebarMenuBadge.vue.d.ts +21 -0
  151. package/dist/components/ui/sidebar/SidebarMenuButton.vue.d.ts +25 -0
  152. package/dist/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +30 -0
  153. package/dist/components/ui/sidebar/SidebarMenuItem.vue.d.ts +21 -0
  154. package/dist/components/ui/sidebar/SidebarMenuSub.vue.d.ts +21 -0
  155. package/dist/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +27 -0
  156. package/dist/components/ui/sidebar/SidebarMenuSubItem.vue.d.ts +21 -0
  157. package/dist/components/ui/sidebar/SidebarProvider.vue.d.ts +36 -0
  158. package/dist/components/ui/sidebar/SidebarRail.vue.d.ts +21 -0
  159. package/dist/components/ui/sidebar/SidebarSeparator.vue.d.ts +6 -0
  160. package/dist/components/ui/sidebar/SidebarTrigger.vue.d.ts +6 -0
  161. package/dist/components/ui/sidebar/context.d.ts +19 -0
  162. package/dist/components/ui/sidebar/index.d.ts +26 -0
  163. package/dist/components/ui/sidebar/types.d.ts +11 -0
  164. package/dist/components/ui/sidebar/variants.d.ts +6 -0
  165. package/dist/components/ui/skeleton/Skeleton.vue.d.ts +18 -0
  166. package/dist/components/ui/skeleton/index.d.ts +2 -0
  167. package/dist/components/ui/sonner/Sonner.vue.d.ts +5 -0
  168. package/dist/components/ui/sonner/index.d.ts +2 -0
  169. package/dist/components/ui/spinner/Spinner.vue.d.ts +11 -0
  170. package/dist/components/ui/spinner/index.d.ts +1 -0
  171. package/dist/components/ui/stepper/Stepper.vue.d.ts +38 -0
  172. package/dist/components/ui/stepper/StepperDescription.vue.d.ts +22 -0
  173. package/dist/components/ui/stepper/StepperIndicator.vue.d.ts +30 -0
  174. package/dist/components/ui/stepper/StepperItem.vue.d.ts +24 -0
  175. package/dist/components/ui/stepper/StepperSeparator.vue.d.ts +7 -0
  176. package/dist/components/ui/stepper/StepperTitle.vue.d.ts +22 -0
  177. package/dist/components/ui/stepper/StepperTrigger.vue.d.ts +22 -0
  178. package/dist/components/ui/stepper/index.d.ts +7 -0
  179. package/dist/components/ui/switch/Switch.vue.d.ts +12 -0
  180. package/dist/components/ui/switch/index.d.ts +1 -0
  181. package/dist/components/ui/table/Table.vue.d.ts +22 -0
  182. package/dist/components/ui/table/TableBody.vue.d.ts +21 -0
  183. package/dist/components/ui/table/TableCaption.vue.d.ts +21 -0
  184. package/dist/components/ui/table/TableCell.vue.d.ts +22 -0
  185. package/dist/components/ui/table/TableEmpty.vue.d.ts +24 -0
  186. package/dist/components/ui/table/TableFooter.vue.d.ts +21 -0
  187. package/dist/components/ui/table/TableHead.vue.d.ts +21 -0
  188. package/dist/components/ui/table/TableHeader.vue.d.ts +21 -0
  189. package/dist/components/ui/table/TableRow.vue.d.ts +21 -0
  190. package/dist/components/ui/table/index.d.ts +9 -0
  191. package/dist/components/ui/tabs/Tabs.vue.d.ts +28 -0
  192. package/dist/components/ui/tabs/TabsContent.vue.d.ts +22 -0
  193. package/dist/components/ui/tabs/TabsList.vue.d.ts +22 -0
  194. package/dist/components/ui/tabs/TabsTrigger.vue.d.ts +22 -0
  195. package/dist/components/ui/tabs/index.d.ts +4 -0
  196. package/dist/components/ui/tag/Tag.vue.d.ts +35 -0
  197. package/dist/components/ui/tag/index.d.ts +2 -0
  198. package/dist/components/ui/tag/variants.d.ts +6 -0
  199. package/dist/components/ui/textarea/Textarea.vue.d.ts +14 -0
  200. package/dist/components/ui/textarea/TextareaControl.vue.d.ts +14 -0
  201. package/dist/components/ui/textarea/TextareaFieldGroup.vue.d.ts +21 -0
  202. package/dist/components/ui/textarea/index.d.ts +4 -0
  203. package/dist/components/ui/textarea/types.d.ts +32 -0
  204. package/dist/components/ui/tool/Tool.vue.d.ts +61 -0
  205. package/dist/components/ui/tool/index.d.ts +2 -0
  206. package/dist/components/ui/tooltip/Tooltip.vue.d.ts +24 -0
  207. package/dist/components/ui/tooltip/TooltipContent.vue.d.ts +32 -0
  208. package/dist/components/ui/tooltip/TooltipProvider.vue.d.ts +20 -0
  209. package/dist/components/ui/tooltip/TooltipTrigger.vue.d.ts +18 -0
  210. package/dist/components/ui/tooltip/index.d.ts +4 -0
  211. package/dist/docs/component-docs.d.ts +18 -0
  212. package/dist/docs/markdown.d.ts +27 -0
  213. package/dist/index.d.ts +45 -0
  214. package/dist/lib/code-highlight.d.ts +11 -0
  215. package/dist/lib/utils.d.ts +2 -0
  216. package/dist/styles.css +3 -0
  217. package/package.json +76 -0
  218. package/public/r/accordion.json +52 -0
  219. package/public/r/alert.json +51 -0
  220. package/public/r/button-group.json +31 -0
  221. package/public/r/button.json +39 -0
  222. package/public/r/card.json +61 -0
  223. package/public/r/chart.json +31 -0
  224. package/public/r/chat.json +186 -0
  225. package/public/r/checkbox.json +34 -0
  226. package/public/r/commit.json +32 -0
  227. package/public/r/contribution-graph.json +63 -0
  228. package/public/r/data-table.json +197 -0
  229. package/public/r/date-picker.json +33 -0
  230. package/public/r/dialog.json +88 -0
  231. package/public/r/diff.json +71 -0
  232. package/public/r/dropdown-menu.json +112 -0
  233. package/public/r/gauge.json +31 -0
  234. package/public/r/git-graph.json +32 -0
  235. package/public/r/incident-timeline.json +64 -0
  236. package/public/r/input.json +49 -0
  237. package/public/r/kpi-card.json +32 -0
  238. package/public/r/kpi-line-card.json +32 -0
  239. package/public/r/model-selector.json +148 -0
  240. package/public/r/network-graph.json +33 -0
  241. package/public/r/pagination.json +95 -0
  242. package/public/r/profile.json +37 -0
  243. package/public/r/progress.json +31 -0
  244. package/public/r/prompt-input.json +293 -0
  245. package/public/r/radio-group.json +45 -0
  246. package/public/r/reasoning.json +38 -0
  247. package/public/r/registry.json +2512 -0
  248. package/public/r/select.json +100 -0
  249. package/public/r/separator.json +37 -0
  250. package/public/r/shimmer.json +31 -0
  251. package/public/r/sidebar.json +221 -0
  252. package/public/r/skeleton.json +31 -0
  253. package/public/r/sonner.json +33 -0
  254. package/public/r/spinner.json +31 -0
  255. package/public/r/stepper.json +70 -0
  256. package/public/r/switch.json +33 -0
  257. package/public/r/table.json +79 -0
  258. package/public/r/tabs.json +51 -0
  259. package/public/r/tag.json +39 -0
  260. package/public/r/textarea.json +49 -0
  261. package/public/r/tool.json +32 -0
  262. package/public/r/tooltip.json +51 -0
  263. package/registry.json +2512 -0
  264. package/src/components/docs/MarkdownContent.vue +106 -0
  265. package/src/components/ui/accordion/Accordion.vue +24 -0
  266. package/src/components/ui/accordion/AccordionContent.vue +62 -0
  267. package/src/components/ui/accordion/AccordionItem.vue +23 -0
  268. package/src/components/ui/accordion/AccordionTrigger.vue +38 -0
  269. package/src/components/ui/accordion/index.ts +4 -0
  270. package/src/components/ui/alert/Alert.vue +40 -0
  271. package/src/components/ui/alert/AlertDescription.vue +24 -0
  272. package/src/components/ui/alert/AlertTitle.vue +24 -0
  273. package/src/components/ui/alert/index.ts +4 -0
  274. package/src/components/ui/alert/variants.ts +19 -0
  275. package/src/components/ui/button/Button.vue +27 -0
  276. package/src/components/ui/button/index.ts +2 -0
  277. package/src/components/ui/button/variants.ts +32 -0
  278. package/src/components/ui/button-group/ButtonGroup.vue +31 -0
  279. package/src/components/ui/button-group/index.ts +2 -0
  280. package/src/components/ui/card/Card.vue +17 -0
  281. package/src/components/ui/card/CardContent.vue +14 -0
  282. package/src/components/ui/card/CardDescription.vue +14 -0
  283. package/src/components/ui/card/CardFooter.vue +14 -0
  284. package/src/components/ui/card/CardHeader.vue +17 -0
  285. package/src/components/ui/card/CardTitle.vue +14 -0
  286. package/src/components/ui/card/index.ts +6 -0
  287. package/src/components/ui/chart/Chart.vue +1042 -0
  288. package/src/components/ui/chart/index.ts +13 -0
  289. package/src/components/ui/chat/Chat.vue +1297 -0
  290. package/src/components/ui/chat/ChatAttachments.vue +278 -0
  291. package/src/components/ui/chat/ChatCodeBlock.vue +283 -0
  292. package/src/components/ui/chat/code-block.ts +30 -0
  293. package/src/components/ui/chat/index.ts +24 -0
  294. package/src/components/ui/chat/types.ts +23 -0
  295. package/src/components/ui/checkbox/Checkbox.vue +38 -0
  296. package/src/components/ui/checkbox/index.ts +1 -0
  297. package/src/components/ui/commit/Commit.vue +423 -0
  298. package/src/components/ui/commit/index.ts +9 -0
  299. package/src/components/ui/contribution-graph/ContributionGraph.vue +719 -0
  300. package/src/components/ui/contribution-graph/index.ts +9 -0
  301. package/src/components/ui/data-table/DataTable.vue +534 -0
  302. package/src/components/ui/data-table/index.ts +9 -0
  303. package/src/components/ui/date-picker/DatePicker.vue +649 -0
  304. package/src/components/ui/date-picker/index.ts +7 -0
  305. package/src/components/ui/dialog/Dialog.vue +19 -0
  306. package/src/components/ui/dialog/DialogClose.vue +17 -0
  307. package/src/components/ui/dialog/DialogContent.vue +60 -0
  308. package/src/components/ui/dialog/DialogDescription.vue +23 -0
  309. package/src/components/ui/dialog/DialogFooter.vue +17 -0
  310. package/src/components/ui/dialog/DialogHeader.vue +17 -0
  311. package/src/components/ui/dialog/DialogOverlay.vue +23 -0
  312. package/src/components/ui/dialog/DialogScrollContent.vue +69 -0
  313. package/src/components/ui/dialog/DialogTitle.vue +23 -0
  314. package/src/components/ui/dialog/DialogTrigger.vue +17 -0
  315. package/src/components/ui/dialog/index.ts +10 -0
  316. package/src/components/ui/diff/DiffTool.vue +513 -0
  317. package/src/components/ui/diff/diff-parser.ts +423 -0
  318. package/src/components/ui/diff/diff-tool.ts +39 -0
  319. package/src/components/ui/diff/index.ts +5 -0
  320. package/src/components/ui/dropdown-menu/DropdownMenu.vue +19 -0
  321. package/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +39 -0
  322. package/src/components/ui/dropdown-menu/DropdownMenuContent.vue +39 -0
  323. package/src/components/ui/dropdown-menu/DropdownMenuGroup.vue +15 -0
  324. package/src/components/ui/dropdown-menu/DropdownMenuItem.vue +31 -0
  325. package/src/components/ui/dropdown-menu/DropdownMenuLabel.vue +23 -0
  326. package/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +21 -0
  327. package/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +40 -0
  328. package/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue +23 -0
  329. package/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue +17 -0
  330. package/src/components/ui/dropdown-menu/DropdownMenuSub.vue +18 -0
  331. package/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue +27 -0
  332. package/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +31 -0
  333. package/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue +17 -0
  334. package/src/components/ui/dropdown-menu/index.ts +16 -0
  335. package/src/components/ui/gauge/Gauge.vue +725 -0
  336. package/src/components/ui/gauge/index.ts +9 -0
  337. package/src/components/ui/git-graph/GitGraph.vue +715 -0
  338. package/src/components/ui/git-graph/index.ts +9 -0
  339. package/src/components/ui/incident-timeline/IncidentTimeline.vue +360 -0
  340. package/src/components/ui/incident-timeline/index.ts +7 -0
  341. package/src/components/ui/input/Input.vue +159 -0
  342. package/src/components/ui/input/InputControl.vue +135 -0
  343. package/src/components/ui/input/InputFieldGroup.vue +14 -0
  344. package/src/components/ui/input/index.ts +9 -0
  345. package/src/components/ui/input/types.ts +34 -0
  346. package/src/components/ui/kpi-card/KpiCard.vue +268 -0
  347. package/src/components/ui/kpi-card/index.ts +9 -0
  348. package/src/components/ui/kpi-line-card/KpiLineCard.vue +622 -0
  349. package/src/components/ui/kpi-line-card/index.ts +11 -0
  350. package/src/components/ui/model-selector/ModelSelector.vue +328 -0
  351. package/src/components/ui/model-selector/index.ts +6 -0
  352. package/src/components/ui/model-selector/types.ts +15 -0
  353. package/src/components/ui/network-graph/NetworkGraph.vue +902 -0
  354. package/src/components/ui/network-graph/index.ts +7 -0
  355. package/src/components/ui/pagination/Pagination.vue +26 -0
  356. package/src/components/ui/pagination/PaginationContent.vue +24 -0
  357. package/src/components/ui/pagination/PaginationEllipsis.vue +27 -0
  358. package/src/components/ui/pagination/PaginationFirst.vue +33 -0
  359. package/src/components/ui/pagination/PaginationItem.vue +39 -0
  360. package/src/components/ui/pagination/PaginationLast.vue +33 -0
  361. package/src/components/ui/pagination/PaginationNext.vue +33 -0
  362. package/src/components/ui/pagination/PaginationPrevious.vue +33 -0
  363. package/src/components/ui/pagination/index.ts +8 -0
  364. package/src/components/ui/profile/Profile.vue +226 -0
  365. package/src/components/ui/profile/ProfileGroup.vue +96 -0
  366. package/src/components/ui/profile/index.ts +8 -0
  367. package/src/components/ui/progress/Progress.vue +271 -0
  368. package/src/components/ui/progress/index.ts +9 -0
  369. package/src/components/ui/prompt-input/PromptInput.vue +1094 -0
  370. package/src/components/ui/prompt-input/index.ts +14 -0
  371. package/src/components/ui/prompt-input/types.ts +78 -0
  372. package/src/components/ui/radio-group/RadioGroup.vue +36 -0
  373. package/src/components/ui/radio-group/RadioGroupItem.vue +45 -0
  374. package/src/components/ui/radio-group/RadioGroupOption.vue +80 -0
  375. package/src/components/ui/radio-group/index.ts +3 -0
  376. package/src/components/ui/reasoning/Reasoning.vue +278 -0
  377. package/src/components/ui/reasoning/index.ts +8 -0
  378. package/src/components/ui/reasoning/types.ts +29 -0
  379. package/src/components/ui/select/Select.vue +19 -0
  380. package/src/components/ui/select/SelectContent.vue +166 -0
  381. package/src/components/ui/select/SelectGroup.vue +23 -0
  382. package/src/components/ui/select/SelectItem.vue +97 -0
  383. package/src/components/ui/select/SelectItemText.vue +15 -0
  384. package/src/components/ui/select/SelectLabel.vue +17 -0
  385. package/src/components/ui/select/SelectScrollDownButton.vue +26 -0
  386. package/src/components/ui/select/SelectScrollUpButton.vue +26 -0
  387. package/src/components/ui/select/SelectSeparator.vue +19 -0
  388. package/src/components/ui/select/SelectTrigger.vue +33 -0
  389. package/src/components/ui/select/SelectValue.vue +15 -0
  390. package/src/components/ui/select/index.ts +11 -0
  391. package/src/components/ui/select/search.ts +26 -0
  392. package/src/components/ui/separator/Separator.vue +30 -0
  393. package/src/components/ui/separator/index.ts +5 -0
  394. package/src/components/ui/separator/types.ts +9 -0
  395. package/src/components/ui/shimmer/Shimmer.vue +110 -0
  396. package/src/components/ui/shimmer/index.ts +5 -0
  397. package/src/components/ui/sidebar/Sidebar.vue +142 -0
  398. package/src/components/ui/sidebar/SidebarContent.vue +18 -0
  399. package/src/components/ui/sidebar/SidebarFooter.vue +18 -0
  400. package/src/components/ui/sidebar/SidebarGroup.vue +18 -0
  401. package/src/components/ui/sidebar/SidebarGroupAction.vue +31 -0
  402. package/src/components/ui/sidebar/SidebarGroupContent.vue +18 -0
  403. package/src/components/ui/sidebar/SidebarGroupLabel.vue +30 -0
  404. package/src/components/ui/sidebar/SidebarHeader.vue +18 -0
  405. package/src/components/ui/sidebar/SidebarInput.vue +26 -0
  406. package/src/components/ui/sidebar/SidebarInset.vue +23 -0
  407. package/src/components/ui/sidebar/SidebarMenu.vue +18 -0
  408. package/src/components/ui/sidebar/SidebarMenuAction.vue +34 -0
  409. package/src/components/ui/sidebar/SidebarMenuBadge.vue +25 -0
  410. package/src/components/ui/sidebar/SidebarMenuButton.vue +37 -0
  411. package/src/components/ui/sidebar/SidebarMenuButtonChild.vue +38 -0
  412. package/src/components/ui/sidebar/SidebarMenuItem.vue +18 -0
  413. package/src/components/ui/sidebar/SidebarMenuSub.vue +18 -0
  414. package/src/components/ui/sidebar/SidebarMenuSubButton.vue +36 -0
  415. package/src/components/ui/sidebar/SidebarMenuSubItem.vue +18 -0
  416. package/src/components/ui/sidebar/SidebarProvider.vue +119 -0
  417. package/src/components/ui/sidebar/SidebarRail.vue +35 -0
  418. package/src/components/ui/sidebar/SidebarSeparator.vue +18 -0
  419. package/src/components/ui/sidebar/SidebarTrigger.vue +28 -0
  420. package/src/components/ui/sidebar/context.ts +39 -0
  421. package/src/components/ui/sidebar/index.ts +43 -0
  422. package/src/components/ui/sidebar/types.ts +13 -0
  423. package/src/components/ui/sidebar/variants.ts +25 -0
  424. package/src/components/ui/skeleton/Skeleton.vue +53 -0
  425. package/src/components/ui/skeleton/index.ts +5 -0
  426. package/src/components/ui/sonner/Sonner.vue +69 -0
  427. package/src/components/ui/sonner/index.ts +12 -0
  428. package/src/components/ui/spinner/Spinner.vue +33 -0
  429. package/src/components/ui/spinner/index.ts +1 -0
  430. package/src/components/ui/stepper/Stepper.vue +29 -0
  431. package/src/components/ui/stepper/StepperDescription.vue +30 -0
  432. package/src/components/ui/stepper/StepperIndicator.vue +50 -0
  433. package/src/components/ui/stepper/StepperItem.vue +28 -0
  434. package/src/components/ui/stepper/StepperSeparator.vue +25 -0
  435. package/src/components/ui/stepper/StepperTitle.vue +27 -0
  436. package/src/components/ui/stepper/StepperTrigger.vue +27 -0
  437. package/src/components/ui/stepper/index.ts +7 -0
  438. package/src/components/ui/switch/Switch.vue +41 -0
  439. package/src/components/ui/switch/index.ts +1 -0
  440. package/src/components/ui/table/Table.vue +23 -0
  441. package/src/components/ui/table/TableBody.vue +17 -0
  442. package/src/components/ui/table/TableCaption.vue +17 -0
  443. package/src/components/ui/table/TableCell.vue +24 -0
  444. package/src/components/ui/table/TableEmpty.vue +31 -0
  445. package/src/components/ui/table/TableFooter.vue +17 -0
  446. package/src/components/ui/table/TableHead.vue +22 -0
  447. package/src/components/ui/table/TableHeader.vue +17 -0
  448. package/src/components/ui/table/TableRow.vue +22 -0
  449. package/src/components/ui/table/index.ts +9 -0
  450. package/src/components/ui/tabs/Tabs.vue +24 -0
  451. package/src/components/ui/tabs/TabsContent.vue +22 -0
  452. package/src/components/ui/tabs/TabsList.vue +27 -0
  453. package/src/components/ui/tabs/TabsTrigger.vue +27 -0
  454. package/src/components/ui/tabs/index.ts +4 -0
  455. package/src/components/ui/tag/Tag.vue +55 -0
  456. package/src/components/ui/tag/index.ts +2 -0
  457. package/src/components/ui/tag/variants.ts +29 -0
  458. package/src/components/ui/textarea/Textarea.vue +159 -0
  459. package/src/components/ui/textarea/TextareaControl.vue +120 -0
  460. package/src/components/ui/textarea/TextareaFieldGroup.vue +14 -0
  461. package/src/components/ui/textarea/index.ts +10 -0
  462. package/src/components/ui/textarea/types.ts +35 -0
  463. package/src/components/ui/tool/Tool.vue +304 -0
  464. package/src/components/ui/tool/index.ts +7 -0
  465. package/src/components/ui/tooltip/Tooltip.vue +19 -0
  466. package/src/components/ui/tooltip/TooltipContent.vue +44 -0
  467. package/src/components/ui/tooltip/TooltipProvider.vue +14 -0
  468. package/src/components/ui/tooltip/TooltipTrigger.vue +15 -0
  469. package/src/components/ui/tooltip/index.ts +4 -0
  470. package/src/lib/code-highlight.ts +220 -0
  471. package/src/lib/utils.ts +6 -0
  472. package/src/styles.css +684 -0
@@ -0,0 +1,190 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { ChatActionKey, ChatActionVisibility, ChatAttachment, ChatSide, ChatStatus, ChatVariant } from './types';
3
+ export type ChatProfile = string | {
4
+ alt?: string;
5
+ label?: string;
6
+ src?: string;
7
+ };
8
+ export type ChatMessage = string | {
9
+ actionsVisibility?: ChatActionVisibility;
10
+ attachments?: ChatAttachment[];
11
+ content: string;
12
+ id?: number | string;
13
+ name?: string;
14
+ profile?: ChatProfile;
15
+ regenerate?: boolean;
16
+ regenerating?: boolean;
17
+ status?: ChatStatus;
18
+ version?: number;
19
+ versions?: string[];
20
+ };
21
+ export interface ChatResolvedMessage {
22
+ actionsVisibility: ChatActionVisibility;
23
+ attachments: ChatAttachment[];
24
+ content: string;
25
+ id: number | string;
26
+ key: string;
27
+ name?: string;
28
+ profile?: ChatProfile;
29
+ regenerate: boolean;
30
+ regenerating: boolean;
31
+ side: ChatSide;
32
+ status: ChatStatus;
33
+ version: number;
34
+ versionCount: number;
35
+ versions: string[];
36
+ variant: ChatVariant;
37
+ }
38
+ export interface ChatActionSlotProps {
39
+ message: ChatResolvedMessage;
40
+ side: ChatSide;
41
+ status: ChatStatus;
42
+ }
43
+ export interface ChatAttachmentSlotProps extends ChatActionSlotProps {
44
+ attachments: ChatAttachment[];
45
+ }
46
+ export interface ChatContentSlotProps extends ChatActionSlotProps {
47
+ attachments: ChatAttachment[];
48
+ content: string;
49
+ isStreaming: boolean;
50
+ }
51
+ export interface ChatMessageSlotProps extends ChatContentSlotProps {
52
+ canCollapse: boolean;
53
+ isCollapsed: boolean;
54
+ toggleExpanded: () => void;
55
+ }
56
+ type ChatSingleActionKey = Exclude<ChatActionKey, "pagination">;
57
+ type __VLS_Props = {
58
+ actionItems?: ChatActionKey[];
59
+ actionMenuThreshold?: number;
60
+ actionsLabel?: string;
61
+ ariaLive?: "assertive" | "off" | "polite";
62
+ ariaLabel?: string;
63
+ autoScroll?: boolean;
64
+ autoScrollBehavior?: ScrollBehavior;
65
+ bookmarkAction?: boolean;
66
+ bookmarkLabel?: string;
67
+ branchAction?: boolean;
68
+ branchLabel?: string;
69
+ class?: HTMLAttributes["class"];
70
+ collapseLabel?: string;
71
+ collapsible?: boolean;
72
+ codeBlockCopiedLabel?: string;
73
+ codeBlockCloseLabel?: string;
74
+ codeBlockCopyLabel?: string;
75
+ codeBlockExpandLabel?: string;
76
+ codeBlockHighlight?: boolean;
77
+ codeBlockLabel?: string;
78
+ codeBlockLineNumbers?: boolean;
79
+ codeBlockMaxVisibleLines?: number;
80
+ codeBlocks?: boolean;
81
+ copyAction?: boolean;
82
+ copyLabel?: string;
83
+ downloadAction?: boolean;
84
+ downloadLabel?: string;
85
+ editAction?: boolean;
86
+ editLabel?: string;
87
+ expandLabel?: string;
88
+ left?: ChatMessage | ChatMessage[];
89
+ leftActionItems?: ChatActionKey[];
90
+ leftName?: string;
91
+ leftProfile?: ChatProfile;
92
+ leftVariant?: ChatVariant;
93
+ moreActionsLabel?: string;
94
+ nextVersionLabel?: string;
95
+ paginationAction?: boolean;
96
+ previousVersionLabel?: string;
97
+ regenerateAction?: boolean;
98
+ regenerateLabel?: string;
99
+ regeneratingLabel?: string;
100
+ right?: ChatMessage | ChatMessage[];
101
+ rightActionItems?: ChatActionKey[];
102
+ rightName?: string;
103
+ rightProfile?: ChatProfile;
104
+ rightVariant?: ChatVariant;
105
+ };
106
+ declare function __VLS_template(): {
107
+ attrs: Partial<{}>;
108
+ slots: Readonly<{
109
+ attachments?: (props: ChatAttachmentSlotProps) => unknown;
110
+ content?: (props: ChatContentSlotProps) => unknown;
111
+ "left-actions"?: (props: ChatActionSlotProps) => unknown;
112
+ message?: (props: ChatMessageSlotProps) => unknown;
113
+ "message-actions"?: (props: ChatActionSlotProps) => unknown;
114
+ "right-actions"?: (props: ChatActionSlotProps) => unknown;
115
+ }> & {
116
+ attachments?: (props: ChatAttachmentSlotProps) => unknown;
117
+ content?: (props: ChatContentSlotProps) => unknown;
118
+ "left-actions"?: (props: ChatActionSlotProps) => unknown;
119
+ message?: (props: ChatMessageSlotProps) => unknown;
120
+ "message-actions"?: (props: ChatActionSlotProps) => unknown;
121
+ "right-actions"?: (props: ChatActionSlotProps) => unknown;
122
+ };
123
+ refs: {
124
+ rootRef: HTMLElement;
125
+ };
126
+ rootEl: HTMLElement;
127
+ };
128
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
129
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
130
+ bookmark: (message: ChatResolvedMessage) => any;
131
+ branch: (message: ChatResolvedMessage) => any;
132
+ copy: (message: ChatResolvedMessage) => any;
133
+ download: (message: ChatResolvedMessage) => any;
134
+ edit: (message: ChatResolvedMessage) => any;
135
+ regenerate: (message: ChatResolvedMessage) => any;
136
+ action: (action: ChatSingleActionKey, message: ChatResolvedMessage) => any;
137
+ codeCopy: (message: ChatResolvedMessage, code: string, language?: string | undefined) => any;
138
+ paginate: (message: ChatResolvedMessage, version: number) => any;
139
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
140
+ onBookmark?: ((message: ChatResolvedMessage) => any) | undefined;
141
+ onBranch?: ((message: ChatResolvedMessage) => any) | undefined;
142
+ onCopy?: ((message: ChatResolvedMessage) => any) | undefined;
143
+ onDownload?: ((message: ChatResolvedMessage) => any) | undefined;
144
+ onEdit?: ((message: ChatResolvedMessage) => any) | undefined;
145
+ onRegenerate?: ((message: ChatResolvedMessage) => any) | undefined;
146
+ onAction?: ((action: ChatSingleActionKey, message: ChatResolvedMessage) => any) | undefined;
147
+ onCodeCopy?: ((message: ChatResolvedMessage, code: string, language?: string | undefined) => any) | undefined;
148
+ onPaginate?: ((message: ChatResolvedMessage, version: number) => any) | undefined;
149
+ }>, {
150
+ collapsible: boolean;
151
+ copyLabel: string;
152
+ expandLabel: string;
153
+ actionItems: ChatActionKey[];
154
+ actionMenuThreshold: number;
155
+ actionsLabel: string;
156
+ ariaLive: "assertive" | "off" | "polite";
157
+ ariaLabel: string;
158
+ autoScroll: boolean;
159
+ autoScrollBehavior: ScrollBehavior;
160
+ bookmarkLabel: string;
161
+ branchLabel: string;
162
+ collapseLabel: string;
163
+ codeBlockCopiedLabel: string;
164
+ codeBlockCloseLabel: string;
165
+ codeBlockCopyLabel: string;
166
+ codeBlockExpandLabel: string;
167
+ codeBlockHighlight: boolean;
168
+ codeBlockLabel: string;
169
+ codeBlockLineNumbers: boolean;
170
+ codeBlockMaxVisibleLines: number;
171
+ codeBlocks: boolean;
172
+ downloadLabel: string;
173
+ editLabel: string;
174
+ leftVariant: ChatVariant;
175
+ moreActionsLabel: string;
176
+ nextVersionLabel: string;
177
+ previousVersionLabel: string;
178
+ regenerateLabel: string;
179
+ regeneratingLabel: string;
180
+ rightVariant: ChatVariant;
181
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
182
+ rootRef: HTMLElement;
183
+ }, HTMLElement>;
184
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
185
+ export default _default;
186
+ type __VLS_WithTemplateSlots<T, S> = T & {
187
+ new (): {
188
+ $slots: S;
189
+ };
190
+ };
@@ -0,0 +1,11 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { ChatAttachment, ChatSide } from './types';
3
+ interface ChatAttachmentsProps {
4
+ attachments: ChatAttachment[];
5
+ class?: HTMLAttributes["class"];
6
+ side?: ChatSide;
7
+ }
8
+ declare const _default: import('vue').DefineComponent<ChatAttachmentsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ChatAttachmentsProps> & Readonly<{}>, {
9
+ side: ChatSide;
10
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import { ChatCodeBlockProps } from './code-block';
2
+ declare const _default: import('vue').DefineComponent<ChatCodeBlockProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ copy: (code: string) => any;
4
+ }, string, import('vue').PublicProps, Readonly<ChatCodeBlockProps> & Readonly<{
5
+ onCopy?: ((code: string) => any) | undefined;
6
+ }>, {
7
+ label: string;
8
+ closeLabel: string;
9
+ copiedLabel: string;
10
+ copyLabel: string;
11
+ expandLabel: string;
12
+ highlight: boolean;
13
+ lineNumbers: boolean;
14
+ maxVisibleLines: number;
15
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export interface ChatCodeBlockProps {
3
+ class?: HTMLAttributes["class"];
4
+ closeLabel?: string;
5
+ code: string;
6
+ copiedLabel?: string;
7
+ copyLabel?: string;
8
+ expandLabel?: string;
9
+ highlight?: boolean;
10
+ label?: string;
11
+ language?: string;
12
+ lineNumbers?: boolean;
13
+ maxVisibleLines?: number;
14
+ }
15
+ export type ChatCodeBlockEmits = {
16
+ copy: [code: string];
17
+ };
18
+ export declare const chatCodeBlockDefaults: {
19
+ closeLabel: string;
20
+ copiedLabel: string;
21
+ copyLabel: string;
22
+ expandLabel: string;
23
+ highlight: true;
24
+ label: string;
25
+ lineNumbers: true;
26
+ maxVisibleLines: number;
27
+ };
@@ -0,0 +1,6 @@
1
+ export { default as Chat } from './Chat.vue';
2
+ export { default as ChatAttachments } from './ChatAttachments.vue';
3
+ export { default as ChatCodeBlock } from './ChatCodeBlock.vue';
4
+ export type { ChatCodeBlockEmits, ChatCodeBlockProps, } from './code-block';
5
+ export type { ChatActionSlotProps, ChatAttachmentSlotProps, ChatContentSlotProps, ChatMessage, ChatMessageSlotProps, ChatProfile, ChatResolvedMessage, } from './Chat.vue';
6
+ export type { ChatActionKey, ChatActionVisibility, ChatAttachment, ChatSide, ChatStatus, ChatVariant, } from './types';
@@ -0,0 +1,15 @@
1
+ export type ChatAttachment = {
2
+ alt?: string;
3
+ extension?: string;
4
+ id?: number | string;
5
+ name: string;
6
+ size?: string;
7
+ thumbnailUrl?: string;
8
+ type?: string;
9
+ url?: string;
10
+ };
11
+ export type ChatActionVisibility = "always" | "hover";
12
+ export type ChatActionKey = "bookmark" | "branch" | "copy" | "download" | "edit" | "pagination" | "regenerate";
13
+ export type ChatSide = "left" | "right";
14
+ export type ChatStatus = "complete" | "error" | "streaming";
15
+ export type ChatVariant = "bubble" | "plain";
@@ -0,0 +1,29 @@
1
+ import { CheckboxRootProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+ type __VLS_Props = CheckboxRootProps & {
4
+ class?: HTMLAttributes["class"];
5
+ };
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {
10
+ modelValue: boolean | "indeterminate";
11
+ state: import('reka-ui').CheckboxCheckedState;
12
+ }): any;
13
+ };
14
+ refs: {};
15
+ rootEl: any;
16
+ };
17
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
+ "update:modelValue": (value: boolean | "indeterminate") => any;
20
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
21
+ "onUpdate:modelValue"?: ((value: boolean | "indeterminate") => any) | undefined;
22
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
+ export default _default;
25
+ type __VLS_WithTemplateSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -0,0 +1 @@
1
+ export { default as Checkbox } from './Checkbox.vue';
@@ -0,0 +1,62 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export type CommitFileStatus = "added" | "modified" | "deleted" | "renamed";
3
+ export type CommitSize = "sm" | "default" | "lg";
4
+ export interface CommitFile {
5
+ additions?: number;
6
+ deletions?: number;
7
+ path: string;
8
+ status?: CommitFileStatus;
9
+ }
10
+ export interface CommitCopyPayload {
11
+ value: string;
12
+ }
13
+ export interface CommitFileSelectPayload {
14
+ file: CommitFile;
15
+ index: number;
16
+ }
17
+ export interface CommitTogglePayload {
18
+ open: boolean;
19
+ }
20
+ interface CommitProps {
21
+ authorInitials?: string;
22
+ authorName?: string;
23
+ avatarLabel?: string;
24
+ class?: HTMLAttributes["class"];
25
+ collapsible?: boolean;
26
+ copiedLabel?: string;
27
+ copyLabel?: string;
28
+ copyValue?: string;
29
+ date?: string;
30
+ defaultOpen?: boolean;
31
+ emptyLabel?: string;
32
+ files?: CommitFile[];
33
+ hash?: string;
34
+ message?: string;
35
+ open?: boolean;
36
+ showCopy?: boolean;
37
+ showToggle?: boolean;
38
+ size?: CommitSize;
39
+ }
40
+ declare const _default: import('vue').DefineComponent<CommitProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
41
+ "update:open": (value: boolean) => any;
42
+ copy: (payload: CommitCopyPayload) => any;
43
+ toggle: (payload: CommitTogglePayload) => any;
44
+ "file-select": (payload: CommitFileSelectPayload) => any;
45
+ }, string, import('vue').PublicProps, Readonly<CommitProps> & Readonly<{
46
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
47
+ onCopy?: ((payload: CommitCopyPayload) => any) | undefined;
48
+ onToggle?: ((payload: CommitTogglePayload) => any) | undefined;
49
+ "onFile-select"?: ((payload: CommitFileSelectPayload) => any) | undefined;
50
+ }>, {
51
+ collapsible: boolean;
52
+ size: CommitSize;
53
+ defaultOpen: boolean;
54
+ emptyLabel: string;
55
+ copiedLabel: string;
56
+ copyLabel: string;
57
+ message: string;
58
+ authorInitials: string;
59
+ showCopy: boolean;
60
+ showToggle: boolean;
61
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
62
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as Commit } from './Commit.vue';
2
+ export type { CommitCopyPayload, CommitFile, CommitFileSelectPayload, CommitFileStatus, CommitSize, CommitTogglePayload, } from './Commit.vue';
@@ -0,0 +1,87 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export type ContributionGraphSize = "default" | "lg" | "sm";
3
+ export type ContributionGraphWeekStart = 0 | 1 | 2 | 3 | 4 | 5 | 6;
4
+ export interface ContributionGraphItem {
5
+ count: number;
6
+ date: Date | string;
7
+ label?: string;
8
+ }
9
+ export interface ContributionGraphDay {
10
+ count: number;
11
+ date: string;
12
+ day: number;
13
+ label: string;
14
+ level: number;
15
+ outside: boolean;
16
+ row: number;
17
+ weekday: number;
18
+ }
19
+ export interface ContributionGraphSelectPayload extends ContributionGraphDay {
20
+ item?: ContributionGraphItem;
21
+ }
22
+ export interface ContributionGraphYearSelectPayload {
23
+ endDate: string;
24
+ startDate: string;
25
+ year: number;
26
+ }
27
+ interface ContributionGraphProps {
28
+ activeLabel?: string;
29
+ class?: HTMLAttributes["class"];
30
+ description?: string;
31
+ emptyLabel?: string;
32
+ endDate?: Date | string;
33
+ fitWidth?: boolean;
34
+ gridClass?: HTMLAttributes["class"];
35
+ items?: ContributionGraphItem[];
36
+ legendLabel?: string;
37
+ lessLabel?: string;
38
+ locale?: string;
39
+ maxCount?: number;
40
+ modelValue?: string;
41
+ moreLabel?: string;
42
+ showLegend?: boolean;
43
+ showMonthLabels?: boolean;
44
+ showSummary?: boolean;
45
+ showWeekdayLabels?: boolean;
46
+ showYearSelector?: boolean;
47
+ size?: ContributionGraphSize;
48
+ startDate?: Date | string;
49
+ summary?: string;
50
+ title?: string;
51
+ totalLabel?: string;
52
+ weekStart?: ContributionGraphWeekStart;
53
+ weeks?: number;
54
+ year?: number | string;
55
+ yearOptions?: Array<number | string>;
56
+ yearSelectorLabel?: string;
57
+ }
58
+ declare const _default: import('vue').DefineComponent<ContributionGraphProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
59
+ "update:modelValue": (date: string) => any;
60
+ select: (day: ContributionGraphSelectPayload) => any;
61
+ "update:year": (year: number) => any;
62
+ "year-change": (payload: ContributionGraphYearSelectPayload) => any;
63
+ }, string, import('vue').PublicProps, Readonly<ContributionGraphProps> & Readonly<{
64
+ "onUpdate:modelValue"?: ((date: string) => any) | undefined;
65
+ onSelect?: ((day: ContributionGraphSelectPayload) => any) | undefined;
66
+ "onUpdate:year"?: ((year: number) => any) | undefined;
67
+ "onYear-change"?: ((payload: ContributionGraphYearSelectPayload) => any) | undefined;
68
+ }>, {
69
+ size: ContributionGraphSize;
70
+ emptyLabel: string;
71
+ legendLabel: string;
72
+ showLegend: boolean;
73
+ activeLabel: string;
74
+ fitWidth: boolean;
75
+ lessLabel: string;
76
+ moreLabel: string;
77
+ showMonthLabels: boolean;
78
+ showSummary: boolean;
79
+ showWeekdayLabels: boolean;
80
+ showYearSelector: boolean;
81
+ totalLabel: string;
82
+ weekStart: ContributionGraphWeekStart;
83
+ yearSelectorLabel: string;
84
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
85
+ graphViewport: HTMLDivElement;
86
+ }, HTMLDivElement>;
87
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as ContributionGraph } from './ContributionGraph.vue';
2
+ export type { ContributionGraphDay, ContributionGraphItem, ContributionGraphSelectPayload, ContributionGraphSize, ContributionGraphWeekStart, ContributionGraphYearSelectPayload, } from './ContributionGraph.vue';
@@ -0,0 +1,109 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export type DataTableRow = Record<string, unknown>;
3
+ export type DataTableRowKey = number | string;
4
+ export type DataTableSortDirection = "asc" | "desc" | null;
5
+ export interface DataTableColumn {
6
+ accessor?: (row: DataTableRow) => unknown;
7
+ align?: "center" | "left" | "right";
8
+ cellClass?: HTMLAttributes["class"];
9
+ class?: HTMLAttributes["class"];
10
+ format?: (value: unknown, row: DataTableRow) => number | string;
11
+ headerClass?: HTMLAttributes["class"];
12
+ key: string;
13
+ label: string;
14
+ searchable?: boolean;
15
+ sortable?: boolean;
16
+ }
17
+ export interface DataTableSortPayload {
18
+ direction: DataTableSortDirection;
19
+ key: string;
20
+ }
21
+ export interface DataTableSelectionPayload {
22
+ keys: DataTableRowKey[];
23
+ rows: DataTableRow[];
24
+ }
25
+ type __VLS_Props = {
26
+ caption?: string;
27
+ class?: HTMLAttributes["class"];
28
+ columns?: DataTableColumn[];
29
+ containerClass?: HTMLAttributes["class"];
30
+ emptyText?: string;
31
+ loading?: boolean;
32
+ loadingText?: string;
33
+ modelValue?: DataTableRowKey[];
34
+ noResultsText?: string;
35
+ page?: number;
36
+ pageSize?: number;
37
+ paginationClass?: HTMLAttributes["class"];
38
+ rowKey?: ((row: DataTableRow, index: number) => DataTableRowKey) | string;
39
+ rows?: DataTableRow[];
40
+ searchPlaceholder?: string;
41
+ searchValue?: string;
42
+ searchable?: boolean;
43
+ selectable?: boolean;
44
+ showPagination?: boolean;
45
+ showRowCount?: boolean;
46
+ sortDirection?: DataTableSortDirection;
47
+ sortKey?: string;
48
+ tableClass?: HTMLAttributes["class"];
49
+ toolbarClass?: HTMLAttributes["class"];
50
+ };
51
+ declare function __VLS_template(): {
52
+ attrs: Partial<{}>;
53
+ slots: Partial<Record<`cell-${string}`, (_: {
54
+ column: DataTableColumn;
55
+ index: number;
56
+ row: DataTableRow;
57
+ value: unknown;
58
+ }) => any>> & {
59
+ toolbar?(_: {}): any;
60
+ empty?(_: {
61
+ search: string;
62
+ }): any;
63
+ };
64
+ refs: {};
65
+ rootEl: HTMLDivElement;
66
+ };
67
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
68
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
69
+ "update:modelValue": (keys: DataTableRowKey[]) => any;
70
+ sort: (payload: DataTableSortPayload) => any;
71
+ select: (payload: DataTableSelectionPayload) => any;
72
+ "update:page": (page: number) => any;
73
+ "update:searchValue": (value: string) => any;
74
+ "update:sortDirection": (direction: DataTableSortDirection) => any;
75
+ "update:sortKey": (key: string) => any;
76
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
77
+ "onUpdate:modelValue"?: ((keys: DataTableRowKey[]) => any) | undefined;
78
+ onSort?: ((payload: DataTableSortPayload) => any) | undefined;
79
+ onSelect?: ((payload: DataTableSelectionPayload) => any) | undefined;
80
+ "onUpdate:page"?: ((page: number) => any) | undefined;
81
+ "onUpdate:searchValue"?: ((value: string) => any) | undefined;
82
+ "onUpdate:sortDirection"?: ((direction: DataTableSortDirection) => any) | undefined;
83
+ "onUpdate:sortKey"?: ((key: string) => any) | undefined;
84
+ }>, {
85
+ loading: boolean;
86
+ selectable: boolean;
87
+ page: number;
88
+ rows: DataTableRow[];
89
+ columns: DataTableColumn[];
90
+ emptyText: string;
91
+ loadingText: string;
92
+ noResultsText: string;
93
+ pageSize: number;
94
+ rowKey: ((row: DataTableRow, index: number) => DataTableRowKey) | string;
95
+ searchPlaceholder: string;
96
+ searchValue: string;
97
+ searchable: boolean;
98
+ showPagination: boolean;
99
+ showRowCount: boolean;
100
+ sortDirection: DataTableSortDirection;
101
+ sortKey: string;
102
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
103
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
104
+ export default _default;
105
+ type __VLS_WithTemplateSlots<T, S> = T & {
106
+ new (): {
107
+ $slots: S;
108
+ };
109
+ };
@@ -0,0 +1,2 @@
1
+ export { default as DataTable } from './DataTable.vue';
2
+ export type { DataTableColumn, DataTableRow, DataTableRowKey, DataTableSelectionPayload, DataTableSortDirection, DataTableSortPayload, } from './DataTable.vue';
@@ -0,0 +1,37 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export type DatePickerMode = "single" | "range" | "time";
3
+ export interface DatePickerSingleObjectValue {
4
+ date?: string;
5
+ }
6
+ export interface DatePickerRangeObjectValue {
7
+ start?: string;
8
+ end?: string;
9
+ }
10
+ export type DatePickerValue = string | DatePickerSingleObjectValue | DatePickerRangeObjectValue | null;
11
+ type __VLS_Props = {
12
+ class?: HTMLAttributes["class"];
13
+ contentClass?: HTMLAttributes["class"];
14
+ disabled?: boolean;
15
+ max?: string;
16
+ min?: string;
17
+ mode?: DatePickerMode;
18
+ modelValue?: DatePickerValue;
19
+ placeholder?: string;
20
+ range?: boolean;
21
+ timePlaceholder?: string;
22
+ };
23
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
+ "update:modelValue": (value: DatePickerValue) => any;
25
+ change: (value: DatePickerValue) => any;
26
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
27
+ "onUpdate:modelValue"?: ((value: DatePickerValue) => any) | undefined;
28
+ onChange?: ((value: DatePickerValue) => any) | undefined;
29
+ }>, {
30
+ placeholder: string;
31
+ mode: DatePickerMode;
32
+ range: boolean;
33
+ timePlaceholder: string;
34
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
35
+ timeMinuteInput: HTMLInputElement;
36
+ }, any>;
37
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as DatePicker } from './DatePicker.vue';
2
+ export type { DatePickerMode, DatePickerRangeObjectValue, DatePickerSingleObjectValue, DatePickerValue, } from './DatePicker.vue';
@@ -0,0 +1,25 @@
1
+ import { DialogRootProps } from 'reka-ui';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {
6
+ open: boolean;
7
+ close: () => void;
8
+ }): any;
9
+ };
10
+ refs: {};
11
+ rootEl: any;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<DialogRootProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ "update:open": (value: boolean) => any;
16
+ }, string, import('vue').PublicProps, Readonly<DialogRootProps> & Readonly<{
17
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
18
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
+ export default _default;
21
+ type __VLS_WithTemplateSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,18 @@
1
+ import { DialogCloseProps } from 'reka-ui';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: any;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<DialogCloseProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DialogCloseProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
+ export default _default;
14
+ type __VLS_WithTemplateSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };