@nyuccl/smile 0.2.0-beta.4 → 0.2.0-beta.41

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 (310) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +109 -21
  3. package/dist/runtime/components/builtins/AdvertisementView.d.vue.ts +13 -1
  4. package/dist/runtime/components/builtins/AdvertisementView.vue +7 -3
  5. package/dist/runtime/components/builtins/AdvertisementView.vue.d.ts +13 -1
  6. package/dist/runtime/components/builtins/DebriefView.vue +3 -1
  7. package/dist/runtime/components/builtins/DemographicSurveyView.vue +8 -6
  8. package/dist/runtime/components/builtins/DeviceSurveyView.vue +5 -3
  9. package/dist/runtime/components/builtins/ExpView.vue +4 -2
  10. package/dist/runtime/components/builtins/ExperimentStatusBar.vue +3 -0
  11. package/dist/runtime/components/builtins/FavoriteColor.vue +3 -1
  12. package/dist/runtime/components/builtins/FavoriteNumber.vue +3 -1
  13. package/dist/runtime/components/builtins/InformedConsentModal.vue +5 -3
  14. package/dist/runtime/components/builtins/InformedConsentView.vue +3 -2
  15. package/dist/runtime/components/builtins/InstructionsQuiz.vue +7 -5
  16. package/dist/runtime/components/builtins/InstructionsView.vue +5 -3
  17. package/dist/runtime/components/builtins/LocalDevBanner.vue +16 -0
  18. package/dist/runtime/components/builtins/MTurkRecruitView.vue +4 -3
  19. package/dist/runtime/components/builtins/PresentationModeView.vue +9 -8
  20. package/dist/runtime/components/builtins/StatusBar.vue +7 -4
  21. package/dist/runtime/components/builtins/StudyPreviewText.vue +12 -10
  22. package/dist/runtime/components/builtins/TaskFeedbackSurveyView.vue +3 -1
  23. package/dist/runtime/components/builtins/ThanksView.vue +22 -21
  24. package/dist/runtime/components/builtins/WindowSizerView.vue +5 -3
  25. package/dist/runtime/components/builtins/WithdrawModal.vue +9 -7
  26. package/dist/runtime/components/builtins/WithdrawView.vue +4 -2
  27. package/dist/runtime/components/dev/RecruitmentChooserView.vue +532 -224
  28. package/dist/runtime/components/dev/ResponsiveDeviceContainer.vue +17 -8
  29. package/dist/runtime/components/dev/SmileDevPresentationView.vue +83 -0
  30. package/dist/runtime/components/dev/console/ConfigList.vue +14 -11
  31. package/dist/runtime/components/dev/console/ConsoleConfigPanel.vue +28 -7
  32. package/dist/runtime/components/dev/console/ConsoleDatabaseBrowsePanel.vue +6 -4
  33. package/dist/runtime/components/dev/console/ConsoleLogPanel.vue +68 -23
  34. package/dist/runtime/components/dev/console/DatabaseList.vue +9 -7
  35. package/dist/runtime/components/dev/console/SmileDevConsole.vue +7 -5
  36. package/dist/runtime/components/dev/devicePresets.d.ts +4 -4
  37. package/dist/runtime/components/dev/devicePresets.js +4 -4
  38. package/dist/runtime/components/dev/menu/DevConfigPanel.vue +3 -1
  39. package/dist/runtime/components/dev/menu/ResponsiveDeviceSelect.vue +1 -0
  40. package/dist/runtime/components/dev/menu/SmileDevAppMenu.vue +27 -24
  41. package/dist/runtime/components/dev/navbar/ColorModeButton.vue +5 -3
  42. package/dist/runtime/components/dev/navbar/DatabaseButtonGroup.vue +8 -6
  43. package/dist/runtime/components/dev/navbar/FullScreenButton.vue +4 -2
  44. package/dist/runtime/components/dev/navbar/KeyCommandNotification.vue +1 -1
  45. package/dist/runtime/components/dev/navbar/PanelButtonGroup.d.vue.ts +3 -0
  46. package/dist/runtime/components/dev/navbar/PanelButtonGroup.vue +79 -0
  47. package/dist/runtime/components/dev/navbar/PanelButtonGroup.vue.d.ts +3 -0
  48. package/dist/runtime/components/dev/navbar/ReloadButton.vue +3 -1
  49. package/dist/runtime/components/dev/navbar/ResetButton.vue +3 -1
  50. package/dist/runtime/components/dev/navbar/RouteJumper.vue +9 -5
  51. package/dist/runtime/components/dev/navbar/SmileDevNavBar.vue +19 -27
  52. package/dist/runtime/components/dev/navbar/StepInfoButtonGroup.vue +5 -3
  53. package/dist/runtime/components/dev/navbar/ViewInfoButtonGroup.vue +13 -10
  54. package/dist/runtime/components/dev/presentation/DarkModeButton.vue +5 -3
  55. package/dist/runtime/components/dev/presentation/LogoutButton.vue +2 -1
  56. package/dist/runtime/components/dev/presentation/PresentationModeResetButton.vue +11 -2
  57. package/dist/runtime/components/dev/presentation/PresentationNavBar.d.vue.ts +13 -1
  58. package/dist/runtime/components/dev/presentation/PresentationNavBar.vue +13 -6
  59. package/dist/runtime/components/dev/presentation/PresentationNavBar.vue.d.ts +13 -1
  60. package/dist/runtime/components/dev/presentation/QRCodeButton.vue +4 -2
  61. package/dist/runtime/components/dev/sidebar/AppProgressPanel.vue +23 -21
  62. package/dist/runtime/components/dev/sidebar/ConfigurationVariablesPanel.vue +7 -5
  63. package/dist/runtime/components/dev/sidebar/DatabaseStatusInfoPanel.vue +27 -7
  64. package/dist/runtime/components/dev/sidebar/RandomizationSidebarPanel.vue +9 -5
  65. package/dist/runtime/components/dev/sidebar/SmileDevSideBar.vue +12 -5
  66. package/dist/runtime/components/dev/sidebar/StepDataViewer.d.vue.ts +2 -2
  67. package/dist/runtime/components/dev/sidebar/StepDataViewer.vue +1 -1
  68. package/dist/runtime/components/dev/sidebar/StepDataViewer.vue.d.ts +2 -2
  69. package/dist/runtime/components/dev/sidebar/StepExplorerPanel.vue +13 -8
  70. package/dist/runtime/components/dev/sidebar/StepNode.vue +7 -5
  71. package/dist/runtime/components/dev/sidebar/StudyInfoPanel.vue +3 -2
  72. package/dist/runtime/components/forms/MonthYearDayPicker.vue +1 -0
  73. package/dist/runtime/components/layouts/ConstrainedPage.d.vue.ts +1 -1
  74. package/dist/runtime/components/layouts/ConstrainedPage.vue.d.ts +1 -1
  75. package/dist/runtime/components/layouts/ConstrainedTaskWindow.d.vue.ts +2 -2
  76. package/dist/runtime/components/layouts/ConstrainedTaskWindow.vue +1 -1
  77. package/dist/runtime/components/layouts/ConstrainedTaskWindow.vue.d.ts +2 -2
  78. package/dist/runtime/components/layouts/TitleTwoCol.d.vue.ts +1 -1
  79. package/dist/runtime/components/layouts/TitleTwoCol.vue.d.ts +1 -1
  80. package/dist/runtime/components/layouts/TwoCol.d.vue.ts +1 -1
  81. package/dist/runtime/components/layouts/TwoCol.vue.d.ts +1 -1
  82. package/dist/runtime/components/ui/avatar/Avatar.vue +1 -0
  83. package/dist/runtime/components/ui/avatar/AvatarFallback.vue +1 -0
  84. package/dist/runtime/components/ui/badge/Badge.vue +1 -0
  85. package/dist/runtime/components/ui/badge/index.d.ts +1 -1
  86. package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.vue +1 -0
  87. package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.vue +1 -0
  88. package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue +1 -0
  89. package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.vue +1 -0
  90. package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.vue +1 -0
  91. package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.vue +1 -0
  92. package/dist/runtime/components/ui/button/Button.vue +1 -0
  93. package/dist/runtime/components/ui/button/index.d.ts +2 -2
  94. package/dist/runtime/components/ui/button-group/ButtonGroup.vue +1 -0
  95. package/dist/runtime/components/ui/button-group/ButtonGroupItem.vue +1 -0
  96. package/dist/runtime/components/ui/calendar/Calendar.vue +1 -0
  97. package/dist/runtime/components/ui/calendar/CalendarCell.vue +1 -0
  98. package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue +1 -0
  99. package/dist/runtime/components/ui/calendar/CalendarGrid.vue +1 -0
  100. package/dist/runtime/components/ui/calendar/CalendarGridRow.vue +1 -0
  101. package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue +1 -0
  102. package/dist/runtime/components/ui/calendar/CalendarHeader.vue +1 -0
  103. package/dist/runtime/components/ui/calendar/CalendarHeading.vue +1 -0
  104. package/dist/runtime/components/ui/calendar/CalendarNextButton.vue +1 -0
  105. package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue +1 -0
  106. package/dist/runtime/components/ui/card/Card.vue +1 -0
  107. package/dist/runtime/components/ui/card/CardAction.vue +1 -0
  108. package/dist/runtime/components/ui/card/CardContent.vue +1 -0
  109. package/dist/runtime/components/ui/card/CardDescription.vue +1 -0
  110. package/dist/runtime/components/ui/card/CardFooter.vue +1 -0
  111. package/dist/runtime/components/ui/card/CardHeader.vue +1 -0
  112. package/dist/runtime/components/ui/card/CardTitle.vue +1 -0
  113. package/dist/runtime/components/ui/checkbox/Checkbox.d.vue.ts +6 -6
  114. package/dist/runtime/components/ui/checkbox/Checkbox.vue +1 -0
  115. package/dist/runtime/components/ui/checkbox/Checkbox.vue.d.ts +6 -6
  116. package/dist/runtime/components/ui/checkbox/index.d.ts +2 -2
  117. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.d.vue.ts +4 -4
  118. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +1 -0
  119. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +4 -4
  120. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.d.vue.ts +3 -3
  121. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue +1 -0
  122. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +3 -3
  123. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.d.vue.ts +1 -1
  124. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue +1 -0
  125. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +1 -1
  126. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue +1 -0
  127. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +1 -0
  128. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.vue +1 -0
  129. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.vue +1 -0
  130. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.d.vue.ts +3 -3
  131. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue +1 -0
  132. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +3 -3
  133. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +1 -0
  134. package/dist/runtime/components/ui/input/Input.d.vue.ts +4 -4
  135. package/dist/runtime/components/ui/input/Input.vue +1 -0
  136. package/dist/runtime/components/ui/input/Input.vue.d.ts +4 -4
  137. package/dist/runtime/components/ui/label/Label.vue +1 -0
  138. package/dist/runtime/components/ui/multiselect/MultiSelect.d.vue.ts +1 -1
  139. package/dist/runtime/components/ui/multiselect/MultiSelect.vue +1 -0
  140. package/dist/runtime/components/ui/multiselect/MultiSelect.vue.d.ts +1 -1
  141. package/dist/runtime/components/ui/pagination/Pagination.vue +1 -0
  142. package/dist/runtime/components/ui/pagination/PaginationContent.vue +1 -0
  143. package/dist/runtime/components/ui/pagination/PaginationEllipsis.vue +1 -0
  144. package/dist/runtime/components/ui/pagination/PaginationFirst.vue +1 -0
  145. package/dist/runtime/components/ui/pagination/PaginationItem.vue +1 -0
  146. package/dist/runtime/components/ui/pagination/PaginationLast.vue +1 -0
  147. package/dist/runtime/components/ui/pagination/PaginationNext.vue +1 -0
  148. package/dist/runtime/components/ui/pagination/PaginationPrevious.vue +1 -0
  149. package/dist/runtime/components/ui/popover/PopoverContent.d.vue.ts +2 -2
  150. package/dist/runtime/components/ui/popover/PopoverContent.vue +1 -0
  151. package/dist/runtime/components/ui/popover/PopoverContent.vue.d.ts +2 -2
  152. package/dist/runtime/components/ui/progress/Progress.vue +1 -0
  153. package/dist/runtime/components/ui/resizable/ResizableHandle.vue +1 -0
  154. package/dist/runtime/components/ui/resizable/ResizablePanel.d.vue.ts +1 -1
  155. package/dist/runtime/components/ui/resizable/ResizablePanel.vue.d.ts +1 -1
  156. package/dist/runtime/components/ui/resizable/ResizablePanelGroup.vue +1 -0
  157. package/dist/runtime/components/ui/select/Select.d.vue.ts +1 -1
  158. package/dist/runtime/components/ui/select/Select.vue.d.ts +1 -1
  159. package/dist/runtime/components/ui/select/SelectContent.d.vue.ts +2 -2
  160. package/dist/runtime/components/ui/select/SelectContent.vue +1 -0
  161. package/dist/runtime/components/ui/select/SelectContent.vue.d.ts +2 -2
  162. package/dist/runtime/components/ui/select/SelectItem.vue +1 -0
  163. package/dist/runtime/components/ui/select/SelectLabel.vue +1 -0
  164. package/dist/runtime/components/ui/select/SelectScrollDownButton.vue +1 -0
  165. package/dist/runtime/components/ui/select/SelectScrollUpButton.vue +1 -0
  166. package/dist/runtime/components/ui/select/SelectSeparator.vue +1 -0
  167. package/dist/runtime/components/ui/select/SelectTrigger.vue +1 -0
  168. package/dist/runtime/components/ui/separator/Separator.vue +1 -0
  169. package/dist/runtime/components/ui/sheet/SheetContent.d.vue.ts +1 -1
  170. package/dist/runtime/components/ui/sheet/SheetContent.vue +1 -0
  171. package/dist/runtime/components/ui/sheet/SheetContent.vue.d.ts +1 -1
  172. package/dist/runtime/components/ui/sheet/SheetDescription.vue +1 -0
  173. package/dist/runtime/components/ui/sheet/SheetFooter.vue +1 -0
  174. package/dist/runtime/components/ui/sheet/SheetHeader.vue +1 -0
  175. package/dist/runtime/components/ui/sheet/SheetOverlay.vue +1 -0
  176. package/dist/runtime/components/ui/sheet/SheetTitle.vue +1 -0
  177. package/dist/runtime/components/ui/sidebar/Sidebar.d.vue.ts +1 -1
  178. package/dist/runtime/components/ui/sidebar/Sidebar.vue +1 -0
  179. package/dist/runtime/components/ui/sidebar/Sidebar.vue.d.ts +1 -1
  180. package/dist/runtime/components/ui/sidebar/SidebarContent.vue +1 -0
  181. package/dist/runtime/components/ui/sidebar/SidebarFooter.vue +1 -0
  182. package/dist/runtime/components/ui/sidebar/SidebarGroup.vue +1 -0
  183. package/dist/runtime/components/ui/sidebar/SidebarGroupAction.vue +1 -0
  184. package/dist/runtime/components/ui/sidebar/SidebarGroupContent.vue +1 -0
  185. package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.vue +1 -0
  186. package/dist/runtime/components/ui/sidebar/SidebarHeader.vue +1 -0
  187. package/dist/runtime/components/ui/sidebar/SidebarInput.vue +1 -0
  188. package/dist/runtime/components/ui/sidebar/SidebarInset.vue +1 -0
  189. package/dist/runtime/components/ui/sidebar/SidebarMenu.vue +1 -0
  190. package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue +1 -0
  191. package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.vue +1 -0
  192. package/dist/runtime/components/ui/sidebar/SidebarMenuButton.d.vue.ts +1 -1
  193. package/dist/runtime/components/ui/sidebar/SidebarMenuButton.vue.d.ts +1 -1
  194. package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.d.vue.ts +1 -1
  195. package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue +1 -0
  196. package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +1 -1
  197. package/dist/runtime/components/ui/sidebar/SidebarMenuItem.vue +1 -0
  198. package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue +1 -0
  199. package/dist/runtime/components/ui/sidebar/SidebarMenuSub.vue +1 -0
  200. package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue +1 -0
  201. package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.vue +1 -0
  202. package/dist/runtime/components/ui/sidebar/SidebarProvider.vue +1 -0
  203. package/dist/runtime/components/ui/sidebar/SidebarRail.vue +1 -0
  204. package/dist/runtime/components/ui/sidebar/SidebarSeparator.vue +1 -0
  205. package/dist/runtime/components/ui/sidebar/SidebarTrigger.vue +1 -0
  206. package/dist/runtime/components/ui/sidebar/index.d.ts +1 -1
  207. package/dist/runtime/components/ui/skeleton/Skeleton.vue +1 -0
  208. package/dist/runtime/components/ui/sonner/Sonner.d.vue.ts +4 -4
  209. package/dist/runtime/components/ui/sonner/Sonner.vue.d.ts +4 -4
  210. package/dist/runtime/components/ui/stepper/Stepper.vue +1 -0
  211. package/dist/runtime/components/ui/stepper/StepperDescription.vue +1 -0
  212. package/dist/runtime/components/ui/stepper/StepperIndicator.vue +1 -0
  213. package/dist/runtime/components/ui/stepper/StepperItem.d.vue.ts +1 -1
  214. package/dist/runtime/components/ui/stepper/StepperItem.vue +1 -0
  215. package/dist/runtime/components/ui/stepper/StepperItem.vue.d.ts +1 -1
  216. package/dist/runtime/components/ui/stepper/StepperSeparator.vue +1 -0
  217. package/dist/runtime/components/ui/stepper/StepperTitle.vue +1 -0
  218. package/dist/runtime/components/ui/stepper/StepperTrigger.vue +1 -0
  219. package/dist/runtime/components/ui/switch/Switch.d.vue.ts +2 -2
  220. package/dist/runtime/components/ui/switch/Switch.vue +1 -0
  221. package/dist/runtime/components/ui/switch/Switch.vue.d.ts +2 -2
  222. package/dist/runtime/components/ui/switch/index.d.ts +2 -2
  223. package/dist/runtime/components/ui/table/Table.vue +1 -0
  224. package/dist/runtime/components/ui/table/TableBody.vue +1 -0
  225. package/dist/runtime/components/ui/table/TableCaption.vue +1 -0
  226. package/dist/runtime/components/ui/table/TableCell.vue +1 -0
  227. package/dist/runtime/components/ui/table/TableEmpty.vue +1 -0
  228. package/dist/runtime/components/ui/table/TableFooter.vue +1 -0
  229. package/dist/runtime/components/ui/table/TableHead.vue +1 -0
  230. package/dist/runtime/components/ui/table/TableHeader.vue +1 -0
  231. package/dist/runtime/components/ui/table/TableRow.vue +1 -0
  232. package/dist/runtime/components/ui/tabs/Tabs.vue +1 -0
  233. package/dist/runtime/components/ui/tabs/TabsContent.d.vue.ts +2 -2
  234. package/dist/runtime/components/ui/tabs/TabsContent.vue +1 -0
  235. package/dist/runtime/components/ui/tabs/TabsContent.vue.d.ts +2 -2
  236. package/dist/runtime/components/ui/tabs/TabsList.d.vue.ts +1 -1
  237. package/dist/runtime/components/ui/tabs/TabsList.vue +1 -0
  238. package/dist/runtime/components/ui/tabs/TabsList.vue.d.ts +1 -1
  239. package/dist/runtime/components/ui/tabs/TabsTrigger.d.vue.ts +2 -2
  240. package/dist/runtime/components/ui/tabs/TabsTrigger.vue +1 -0
  241. package/dist/runtime/components/ui/tabs/TabsTrigger.vue.d.ts +2 -2
  242. package/dist/runtime/components/ui/tags-input/TagsInput.d.vue.ts +3 -3
  243. package/dist/runtime/components/ui/tags-input/TagsInput.vue +1 -0
  244. package/dist/runtime/components/ui/tags-input/TagsInput.vue.d.ts +3 -3
  245. package/dist/runtime/components/ui/tags-input/TagsInputInput.vue +1 -0
  246. package/dist/runtime/components/ui/tags-input/TagsInputItem.d.vue.ts +2 -2
  247. package/dist/runtime/components/ui/tags-input/TagsInputItem.vue +1 -0
  248. package/dist/runtime/components/ui/tags-input/TagsInputItem.vue.d.ts +2 -2
  249. package/dist/runtime/components/ui/tags-input/TagsInputItemDelete.vue +1 -0
  250. package/dist/runtime/components/ui/tags-input/TagsInputItemText.vue +1 -0
  251. package/dist/runtime/components/ui/textarea/Textarea.d.vue.ts +4 -4
  252. package/dist/runtime/components/ui/textarea/Textarea.vue +1 -0
  253. package/dist/runtime/components/ui/textarea/Textarea.vue.d.ts +4 -4
  254. package/dist/runtime/components/ui/toggle/Toggle.d.vue.ts +2 -2
  255. package/dist/runtime/components/ui/toggle/Toggle.vue +1 -0
  256. package/dist/runtime/components/ui/toggle/Toggle.vue.d.ts +2 -2
  257. package/dist/runtime/components/ui/toggle/index.d.ts +1 -1
  258. package/dist/runtime/components/ui/toggle-group/ToggleGroup.d.vue.ts +2 -2
  259. package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue +1 -0
  260. package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue.d.ts +2 -2
  261. package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue +1 -0
  262. package/dist/runtime/components/ui/tooltip/TooltipContent.d.vue.ts +2 -2
  263. package/dist/runtime/components/ui/tooltip/TooltipContent.vue +1 -0
  264. package/dist/runtime/components/ui/tooltip/TooltipContent.vue.d.ts +2 -2
  265. package/dist/runtime/composables/useAPI.d.ts +2 -2
  266. package/dist/runtime/composables/useAPI.js +6 -11
  267. package/dist/runtime/composables/useViewAPI.d.ts +1 -0
  268. package/dist/runtime/composables/useViewAPI.js +20 -4
  269. package/dist/runtime/composables/useWindowSizer.d.ts +14 -0
  270. package/dist/runtime/composables/useWindowSizer.js +48 -0
  271. package/dist/runtime/core/config.d.ts +78 -48
  272. package/dist/runtime/core/config.js +21 -27
  273. package/dist/runtime/core/stepper/Stepper.d.ts +13 -10
  274. package/dist/runtime/core/stepper/Stepper.js +70 -55
  275. package/dist/runtime/core/stepper/StepperSerializer.js +32 -14
  276. package/dist/runtime/core/timeline/Timeline.js +1 -2
  277. package/dist/runtime/css/main.css +1 -1
  278. package/dist/runtime/css/smile.css +1 -1
  279. package/dist/runtime/layouts/development.vue +38 -78
  280. package/dist/runtime/layouts/experiment.d.vue.ts +7 -10
  281. package/dist/runtime/layouts/experiment.vue +13 -0
  282. package/dist/runtime/layouts/experiment.vue.d.ts +7 -10
  283. package/dist/runtime/layouts/presentation.vue +24 -3
  284. package/dist/runtime/middleware/timeline.global.js +2 -4
  285. package/dist/runtime/pages/[...slug].vue +2 -0
  286. package/dist/runtime/pages/dev/[...slug].vue +2 -0
  287. package/dist/runtime/pages/dev-login.vue +5 -3
  288. package/dist/runtime/pages/presentation/[...slug].vue +2 -0
  289. package/dist/runtime/plugins/dev-sync.client.js +0 -2
  290. package/dist/runtime/plugins/seed.client.js +1 -3
  291. package/dist/runtime/plugins/store-sync.client.js +8 -10
  292. package/dist/runtime/public/images/helpus.png +0 -0
  293. package/dist/runtime/public/images/smile.svg +78 -0
  294. package/dist/runtime/public/images/universitylogo.png +0 -0
  295. package/dist/runtime/server/api/auth/login.post.js +11 -2
  296. package/dist/runtime/server/api/db-info.get.d.ts +5 -0
  297. package/dist/runtime/server/api/db-info.get.js +10 -0
  298. package/dist/runtime/server/api/qr.get.js +1 -2
  299. package/dist/runtime/server/middleware/dev-auth.js +10 -5
  300. package/dist/runtime/stores/log.js +4 -7
  301. package/dist/runtime/stores/smilestore.d.ts +161 -1014
  302. package/dist/runtime/stores/smilestore.js +39 -7
  303. package/dist/runtime/utils/utils.js +7 -0
  304. package/package.json +5 -3
  305. package/dist/runtime/components/dev/navbar/ViewButton.vue +0 -159
  306. package/dist/runtime/pages/info.vue +0 -462
  307. /package/dist/runtime/components/{dev/navbar/ViewButton.d.vue.ts → builtins/LocalDevBanner.d.vue.ts} +0 -0
  308. /package/dist/runtime/components/{dev/navbar/ViewButton.vue.d.ts → builtins/LocalDevBanner.vue.d.ts} +0 -0
  309. /package/dist/runtime/{pages/info.d.vue.ts → components/dev/SmileDevPresentationView.d.vue.ts} +0 -0
  310. /package/dist/runtime/{pages/info.vue.d.ts → components/dev/SmileDevPresentationView.vue.d.ts} +0 -0
@@ -11,12 +11,12 @@ export type Props = {
11
11
  };
12
12
  declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
13
  data: {
14
- type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor | ArrayConstructor | null)[];
14
+ type: (NumberConstructor | StringConstructor | ObjectConstructor | ArrayConstructor | BooleanConstructor | null)[];
15
15
  required: true;
16
16
  };
17
17
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
18
  data: {
19
- type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor | ArrayConstructor | null)[];
19
+ type: (NumberConstructor | StringConstructor | ObjectConstructor | ArrayConstructor | BooleanConstructor | null)[];
20
20
  required: true;
21
21
  };
22
22
  }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,7 +1,9 @@
1
1
  <script setup>
2
+ import { ChevronLeft, ChevronRight, Home, Trash2 } from "lucide-vue-next";
2
3
  import { ref, computed, watch } from "vue";
3
4
  import StepNode from "./StepNode.vue";
4
5
  import StepDataViewer from "./StepDataViewer.vue";
6
+ import useViewAPI from "../../../composables/useViewAPI";
5
7
  const api = useViewAPI();
6
8
  const stateMachine = computed(() => api.steps.visualize());
7
9
  const _pathToString = (pathArray) => {
@@ -135,7 +137,7 @@ watch(
135
137
  :disabled="!api.hasSteps()"
136
138
  @click="api.goPrevStep()"
137
139
  >
138
- <i-lucide-chevron-left />
140
+ <ChevronLeft />
139
141
  </ButtonGroupItem>
140
142
  </TooltipTrigger>
141
143
  <TooltipContent side="bottom">
@@ -149,7 +151,7 @@ watch(
149
151
  :disabled="!api.hasSteps()"
150
152
  @click="api.goNextStep()"
151
153
  >
152
- <i-lucide-chevron-right />
154
+ <ChevronRight />
153
155
  </ButtonGroupItem>
154
156
  </TooltipTrigger>
155
157
  <TooltipContent side="bottom">
@@ -163,7 +165,7 @@ watch(
163
165
  :disabled="!api.hasSteps()"
164
166
  @click="api.goFirstStep()"
165
167
  >
166
- <i-famicons-home />
168
+ <Home />
167
169
  </ButtonGroupItem>
168
170
  </TooltipTrigger>
169
171
  <TooltipContent side="bottom">
@@ -177,7 +179,7 @@ watch(
177
179
  :disabled="!api.hasSteps()"
178
180
  @click="api.clear()"
179
181
  >
180
- <i-mdi-trash />
182
+ <Trash2 />
181
183
  </ButtonGroupItem>
182
184
  </TooltipTrigger>
183
185
  <TooltipContent side="bottom">
@@ -204,7 +206,10 @@ watch(
204
206
  </TooltipContent>
205
207
  </Tooltip>
206
208
  <Tooltip>
207
- <TooltipTrigger class="ml-1 text-teal-500">
209
+ <TooltipTrigger
210
+ class="ml-1"
211
+ style="color: var(--step-label-color)"
212
+ >
208
213
  ({{ api.blockIndex }}/{{ api.blockLength }})
209
214
  </TooltipTrigger>
210
215
  <TooltipContent side="bottom">
@@ -263,7 +268,7 @@ watch(
263
268
  data-tooltip="Delete Global Variables"
264
269
  @click="api.clearPersist()"
265
270
  >
266
- <i-fa6-solid-trash />
271
+ <Trash2 />
267
272
  </Button>
268
273
  </div>
269
274
  <div class="global-data-display">
@@ -295,7 +300,7 @@ watch(
295
300
  class="button is-small nav-button-small has-tooltip-arrow has-tooltip-bottom"
296
301
  data-tooltip="Delete Nodes"
297
302
  >
298
- <span><i-fa6-solid-trash" /></span>
303
+ <span><Trash2 /></span>
299
304
  </button>
300
305
  -->
301
306
  <StepDataViewer
@@ -314,5 +319,5 @@ watch(
314
319
  </template>
315
320
 
316
321
  <style scoped>
317
- .tree-viewer-container{background-color:var(--background);border-top:1px solid var(--border);display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}.tree-viewer-container-empty{color:var(--muted-foreground);flex:1;font-family:monospace;font-size:.75rem;font-style:italic;font-weight:200;height:100%;padding-left:10px;padding-right:10px;padding-top:5px;text-align:left}.path-display-container{align-items:center;background-color:var(--background);display:flex;flex-shrink:0;height:32px;justify-content:space-between;padding:0 5px}.path-info{align-items:baseline;color:#389e95;display:flex;font-family:Arial,Helvetica,sans-serif;font-size:.9rem;font-weight:800;line-height:1}.path-display{color:#246761;font-family:monospace;font-size:clamp(.5rem,.8rem,.8rem);font-weight:500;line-height:1;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-buttons{align-items:center;display:flex;justify-content:space-between}.nav-button{border-left:1px solid #e4e4e4;font-size:.6rem}.nav-button-small{border-left:1px solid #e4e4e4;font-size:.5rem}.smaller{padding-bottom:11px;padding-top:10px}.topbar{background-color:#f8f8f8;padding-left:10px}.topbar-border{border-top:1px solid #e4e4e4;padding-top:4px}.index-display{color:#e49310;font-weight:500;line-height:1;padding-right:4px;padding-top:3px;position:absolute;right:0;text-align:right;top:4px;z-index:50}.content-display,.index-display{font-family:monospace;font-size:.7rem}.content-display{color:#6a6a6a;font-weight:800;line-height:1.4;white-space:pre-wrap}.state-tree-viewer{font-family:monospace;padding:1rem}.tree-container{flex:0 1 auto;font-family:monospace;max-height:300px;min-height:50px;overflow:auto;position:relative;scroll-behavior:smooth}.data-container-global,.tree-container{background-color:var(--background);border-top:1px solid var(--border)}.data-container-global{min-height:120px}.data-container,.data-container-global{display:flex;flex:0 0 auto;flex-direction:column;overflow:visible;text-align:left}.data-container{background-color:var(--background);border-bottom:1px solid var(--border);border-top:1px solid var(--border)}.data-container-global.disabled,.data-container.disabled,.disabled{opacity:.5;pointer-events:none}.tree-root{font-family:monospace;list-style-type:none;margin:0;padding-left:0}.tree-node{font-family:monospace;font-size:.75rem;margin:3px 0;position:relative}.tree-root>li.tree-node{padding-left:0}.global-data-display{font-weight:200}.data-display,.global-data-display{color:var(--muted-foreground);flex:1;font-family:monospace;font-size:.8rem;overflow:auto;padding:10px}.data-display{font-weight:500;min-height:180px}.data-label{color:#10a8a2;font-family:monospace;font-size:.7rem;font-weight:500;padding-right:6px}.section-title{align-items:center;background-color:var(--muted);border-bottom:1px solid var(--border);border-top:1px solid var(--border);color:var(--muted-foreground);display:flex;font-family:monospace;font-size:.75rem;justify-content:space-between;margin:0;padding:.375rem .5rem;text-align:left}
322
+ .tree-viewer-container{background-color:var(--background);display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}.tree-viewer-container-empty{color:var(--muted-foreground);flex:1;font-family:monospace;font-size:.75rem;font-style:italic;font-weight:200;height:100%;padding-left:10px;padding-right:10px;padding-top:5px;text-align:left}.path-display-container{align-items:center;background-color:var(--background);border-top:1px solid var(--dev-lines);display:flex;flex-shrink:0;height:32px;justify-content:space-between;padding:0 5px}.path-info{align-items:baseline;display:flex;font-family:Arial,Helvetica,sans-serif;font-size:.9rem;font-weight:800}.path-display,.path-info{color:var(--step-path-color);line-height:1}.path-display{font-family:monospace;font-size:clamp(.5rem,.8rem,.8rem);font-weight:500;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-buttons{align-items:center;display:flex;justify-content:space-between}.nav-button{font-size:.6rem}.nav-button,.nav-button-small{border-left:1px solid var(--dev-lines)}.nav-button-small{font-size:.5rem}.smaller{padding-bottom:11px;padding-top:10px}.topbar{background-color:var(--muted);padding-left:10px}.topbar-border{border-top:1px solid var(--dev-lines);padding-top:4px}.index-display{color:var(--step-index-color);font-weight:500;line-height:1;padding-right:4px;padding-top:3px;position:absolute;right:0;text-align:right;top:4px;z-index:50}.content-display,.index-display{font-family:monospace;font-size:.7rem}.content-display{color:var(--muted-foreground);font-weight:800;line-height:1.4;white-space:pre-wrap}.state-tree-viewer{font-family:monospace;padding:1rem}.tree-container{background-color:var(--background);border-top:1px solid var(--dev-lines);flex:0 1 auto;font-family:monospace;max-height:300px;min-height:50px;overflow:auto;position:relative;scroll-behavior:smooth}.data-container-global{min-height:120px}.data-container,.data-container-global{background-color:var(--background);display:flex;flex:0 0 auto;flex-direction:column;overflow:visible;text-align:left}.data-container-global.disabled,.data-container.disabled,.disabled{opacity:.5;pointer-events:none}.tree-root{font-family:monospace;list-style-type:none;margin:0;padding-left:0}.tree-node{font-family:monospace;font-size:.75rem;margin:3px 0;position:relative}.tree-root>li.tree-node{padding-left:0}.global-data-display{font-weight:200}.data-display,.global-data-display{color:var(--muted-foreground);flex:1;font-family:monospace;font-size:.8rem;overflow:auto;padding:10px}.data-display{font-weight:500;min-height:180px}.data-label{color:var(--step-label-color);font-family:monospace;font-size:.7rem;font-weight:500;padding-right:6px}.section-title{align-items:center;background-color:var(--muted);border-bottom:1px solid var(--dev-lines);border-top:1px solid var(--dev-lines);color:var(--muted-foreground);display:flex;font-family:monospace;font-size:.75rem;justify-content:space-between;margin:0;padding:.375rem .5rem;text-align:left}
318
323
  </style>
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { Flag, Leaf } from "lucide-vue-next";
2
3
  const props = defineProps({
3
4
  state: Object,
4
5
  index: Number,
@@ -57,13 +58,14 @@ const getChildVerticalLines = (verticalLines, index, total) => {
57
58
  <span
58
59
  class="node-path"
59
60
  :class="{ 'leaf-state': !state.isLeaf }"
60
- >{{ state.path }} <i-fa6-solid-house-flag
61
+ >{{ state.path }} <Flag
61
62
  v-if="state.isFirstLeaf"
62
- class="home-icon inline"
63
+ class="home-icon inline size-3.5"
63
64
  />
64
- <i-fa6-solid-leaf
65
+ <Leaf
65
66
  v-else-if="state.isLeaf"
66
- class="text-green-400 dark:text-green-500 inline"
67
+ class="inline size-3.5"
68
+ style="color: var(--step-leaf-color)"
67
69
  />
68
70
  </span>
69
71
  </div>
@@ -91,5 +93,5 @@ const getChildVerticalLines = (verticalLines, index, total) => {
91
93
  </template>
92
94
 
93
95
  <style scoped>
94
- .tree-node{list-style:none;margin:0;padding:0}.tree-line{align-items:center;cursor:pointer;display:flex;margin-left:10px;margin-right:10px;padding:2px 0;white-space:pre}.tree-line:hover{background-color:rgba(0,0,0,.03)}.node-selected,.tree-line:hover{border-radius:10px;margin-right:70px}.node-selected{background-color:#92f9e0;color:#000}.node-selected:hover{background-color:rgba(146,249,224,.5)}.tree-branch,.vertical-lines{font-family:monospace}.node-path{font-weight:400;margin-left:4px}.node-data{color:#666;font-family:monospace;margin-left:8px}.children{list-style:none;margin:0;padding:0}.end-state{color:#f10e0e;opacity:.4}.leaf-state{opacity:.5}.leaf-icon{color:#04a004;opacity:.35}.dark.leaf-icon{color:#c7fbb7}.home-icon{color:#0eb6e0;opacity:.65}
96
+ .tree-node{list-style:none;margin:0;padding:0}.tree-line{align-items:center;cursor:pointer;display:flex;margin-left:10px;margin-right:10px;padding:2px 0;white-space:pre}.tree-line:hover{background-color:rgba(0,0,0,.03)}.node-selected,.tree-line:hover{border-radius:10px;margin-right:70px}.node-selected{background-color:var(--step-selected-bg);color:var(--foreground)}.node-selected:hover{background-color:var(--step-selected-bg-hover)}.tree-branch,.vertical-lines{font-family:monospace}.node-path{font-weight:400;margin-left:4px}.node-data{color:var(--muted-foreground);font-family:monospace;margin-left:8px}.children{list-style:none;margin:0;padding:0}.end-state{color:var(--status-red-text);opacity:.4}.leaf-state{opacity:.5}.leaf-icon{color:var(--step-leaf-color);opacity:.35}.home-icon{color:var(--step-home-color);opacity:.65}
95
97
  </style>
@@ -1,5 +1,6 @@
1
1
  <script setup>
2
2
  import { computed } from "vue";
3
+ import useAPI from "../../../composables/useAPI";
3
4
  const api = useAPI();
4
5
  const studyinfo = computed(() => {
5
6
  return `<b>Study:</b> ${api.store.config.codeName}<br /><b>Version:</b> ${api.store.config.github.lastCommitHash}${import.meta.dev ? "-" + api.store.config.mode : ""}<br />${api.store.getShortId != "N/A" ? `<b>User ID:</b> ${api.store.getShortId}` : ""}`;
@@ -8,9 +9,9 @@ const studyinfo = computed(() => {
8
9
 
9
10
  <template>
10
11
  <!-- Study info panel -->
11
- <div class="w-full bg-muted border-b border-border">
12
+ <div class="w-full bg-muted">
12
13
  <p
13
- class="text-xs font-mono py-2 px-3 border-t border-border"
14
+ class="text-xs font-mono py-2 px-3"
14
15
  v-html="studyinfo"
15
16
  />
16
17
  </div>
@@ -3,6 +3,7 @@ import { CalendarRoot, useDateFormatter } from "reka-ui";
3
3
  import { createDecade, createYear, toDate } from "reka-ui/date";
4
4
  import { getLocalTimeZone, today, CalendarDate } from "@internationalized/date";
5
5
  import { computed, ref, watch } from "vue";
6
+ import { cn } from "../../lib/utils";
6
7
  const props = defineProps({
7
8
  defaultValue: { type: null, required: false },
8
9
  defaultPlaceholder: { type: null, required: false },
@@ -45,10 +45,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
45
45
  description: string;
46
46
  };
47
47
  }>> & Readonly<{}>, {
48
- class: string;
49
48
  width: number;
50
49
  height: number;
51
50
  responsiveUI: boolean;
51
+ class: string;
52
52
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
53
53
  type __VLS_Slots = {
54
54
  default?: ((props: {}) => any) | undefined;
@@ -45,10 +45,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
45
45
  description: string;
46
46
  };
47
47
  }>> & Readonly<{}>, {
48
- class: string;
49
48
  width: number;
50
49
  height: number;
51
50
  responsiveUI: boolean;
51
+ class: string;
52
52
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
53
53
  type __VLS_Slots = {
54
54
  default?: ((props: {}) => any) | undefined;
@@ -55,11 +55,11 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
55
55
  description: string;
56
56
  };
57
57
  }>> & Readonly<{}>, {
58
- class: string;
59
58
  width: number;
60
- variant: string;
61
59
  height: number;
62
60
  responsiveUI: boolean;
61
+ class: string;
62
+ variant: string;
63
63
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
64
64
  type __VLS_Slots = {
65
65
  default?: ((props: {}) => any) | undefined;
@@ -31,7 +31,7 @@ const containerClasses = computed(() => {
31
31
  const variantClasses = {
32
32
  default: "",
33
33
  ghost: "bg-muted",
34
- game: "bg-green-100",
34
+ game: "bg-status-green-bg",
35
35
  outline: "border-1 border-muted-foreground"
36
36
  };
37
37
  return [baseClasses, variantClasses[props.variant], props.class].filter(Boolean).join(" ");
@@ -55,11 +55,11 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
55
55
  description: string;
56
56
  };
57
57
  }>> & Readonly<{}>, {
58
- class: string;
59
58
  width: number;
60
- variant: string;
61
59
  height: number;
62
60
  responsiveUI: boolean;
61
+ class: string;
62
+ variant: string;
63
63
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
64
64
  type __VLS_Slots = {
65
65
  default?: ((props: {}) => any) | undefined;
@@ -47,8 +47,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
47
47
  description: string;
48
48
  };
49
49
  }>> & Readonly<{}>, {
50
- class: string;
51
50
  responsiveUI: boolean;
51
+ class: string;
52
52
  leftFirst: boolean;
53
53
  leftWidth: string;
54
54
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -47,8 +47,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
47
47
  description: string;
48
48
  };
49
49
  }>> & Readonly<{}>, {
50
- class: string;
51
50
  responsiveUI: boolean;
51
+ class: string;
52
52
  leftFirst: boolean;
53
53
  leftWidth: string;
54
54
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -47,8 +47,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
47
47
  description: string;
48
48
  };
49
49
  }>> & Readonly<{}>, {
50
- class: string;
51
50
  responsiveUI: boolean;
51
+ class: string;
52
52
  leftFirst: boolean;
53
53
  leftWidth: string;
54
54
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -47,8 +47,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
47
47
  description: string;
48
48
  };
49
49
  }>> & Readonly<{}>, {
50
- class: string;
51
50
  responsiveUI: boolean;
51
+ class: string;
52
52
  leftFirst: boolean;
53
53
  leftWidth: string;
54
54
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { AvatarRoot } from "reka-ui";
3
4
  const props = defineProps({
4
5
  class: { type: null, required: false }
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { AvatarFallback } from "reka-ui";
4
5
  const props = defineProps({
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { Primitive } from "reka-ui";
4
5
  import { badgeVariants } from ".";
@@ -1,4 +1,4 @@
1
1
  export { default as Badge } from "./Badge.vue.js";
2
2
  export const badgeVariants: (props?: ({
3
- variant?: "default" | "outline" | "secondary" | "destructive" | null | undefined;
3
+ variant?: "default" | "secondary" | "outline" | "destructive" | null | undefined;
4
4
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { MoreHorizontal } from "lucide-vue-next";
3
4
  const props = defineProps({
4
5
  class: { type: null, required: false }
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  const props = defineProps({
3
4
  class: { type: null, required: false }
4
5
  });
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { Primitive } from "reka-ui";
3
4
  const props = defineProps({
4
5
  asChild: { type: Boolean, required: false },
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  const props = defineProps({
3
4
  class: { type: null, required: false }
4
5
  });
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  const props = defineProps({
3
4
  class: { type: null, required: false }
4
5
  });
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { ChevronRight } from "lucide-vue-next";
3
4
  const props = defineProps({
4
5
  class: { type: null, required: false }
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { Primitive } from "reka-ui";
3
4
  import { buttonVariants } from ".";
4
5
  const props = defineProps({
@@ -1,5 +1,5 @@
1
1
  export { default as Button } from "./Button.vue.js";
2
2
  export const buttonVariants: (props?: ({
3
- variant?: "default" | "link" | "outline" | "success" | "ghost" | "secondary" | "warning-light" | "info" | "danger-light" | "destructive" | "primary" | "primary-light" | "button-link" | "button-link-light" | "info-light" | "success-light" | "warning" | "danger" | null | undefined;
4
- size?: "default" | "menu" | "xs" | "sm" | "icon" | "lg" | "xl" | null | undefined;
3
+ variant?: "success" | "default" | "link" | "ghost" | "secondary" | "outline" | "warning-light" | "info" | "danger-light" | "destructive" | "primary" | "primary-light" | "button-link" | "button-link-light" | "info-light" | "success-light" | "warning" | "danger" | null | undefined;
4
+ size?: "default" | "menu" | "lg" | "sm" | "xs" | "icon" | "xl" | null | undefined;
5
5
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { useForwardProps } from "reka-ui";
4
5
  import { provide } from "vue";
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { useForwardProps } from "reka-ui";
4
5
  import { inject } from "vue";
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { CalendarRoot, useForwardPropsEmits } from "reka-ui";
4
5
  import {
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { CalendarCell, useForwardProps } from "reka-ui";
4
5
  const props = defineProps({
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { CalendarCellTrigger, useForwardProps } from "reka-ui";
4
5
  import { buttonVariants } from "../button";
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { CalendarGrid, useForwardProps } from "reka-ui";
4
5
  const props = defineProps({
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { CalendarGridRow, useForwardProps } from "reka-ui";
4
5
  const props = defineProps({
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { CalendarHeadCell, useForwardProps } from "reka-ui";
4
5
  const props = defineProps({
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { CalendarHeader, useForwardProps } from "reka-ui";
4
5
  const props = defineProps({
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { CalendarHeading, useForwardProps } from "reka-ui";
4
5
  const props = defineProps({
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { ChevronRight } from "lucide-vue-next";
4
5
  import { CalendarNext, useForwardProps } from "reka-ui";
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { ChevronLeft } from "lucide-vue-next";
4
5
  import { CalendarPrev, useForwardProps } from "reka-ui";
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  const props = defineProps({
3
4
  class: { type: null, required: false }
4
5
  });
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  const props = defineProps({
3
4
  class: { type: null, required: false }
4
5
  });
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  const props = defineProps({
3
4
  class: { type: null, required: false }
4
5
  });
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  const props = defineProps({
3
4
  class: { type: null, required: false }
4
5
  });
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  const props = defineProps({
3
4
  class: { type: null, required: false }
4
5
  });
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  const props = defineProps({
3
4
  class: { type: null, required: false }
4
5
  });
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  const props = defineProps({
3
4
  class: { type: null, required: false }
4
5
  });
@@ -6,11 +6,11 @@ type __VLS_WithSlots<T, S> = T & (new () => {
6
6
  });
7
7
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
8
  defaultValue: {
9
- type: (BooleanConstructor | StringConstructor)[];
9
+ type: (StringConstructor | BooleanConstructor)[];
10
10
  required: false;
11
11
  };
12
12
  modelValue: {
13
- type: (BooleanConstructor | StringConstructor | null)[];
13
+ type: (StringConstructor | BooleanConstructor | null)[];
14
14
  required: false;
15
15
  };
16
16
  disabled: {
@@ -59,11 +59,11 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
59
59
  "update:modelValue": (...args: any[]) => void;
60
60
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
61
61
  defaultValue: {
62
- type: (BooleanConstructor | StringConstructor)[];
62
+ type: (StringConstructor | BooleanConstructor)[];
63
63
  required: false;
64
64
  };
65
65
  modelValue: {
66
- type: (BooleanConstructor | StringConstructor | null)[];
66
+ type: (StringConstructor | BooleanConstructor | null)[];
67
67
  required: false;
68
68
  };
69
69
  disabled: {
@@ -111,11 +111,11 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
111
111
  }>> & Readonly<{
112
112
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
113
113
  }>, {
114
- variant: string;
115
- required: boolean;
116
114
  size: string;
117
115
  disabled: boolean;
116
+ required: boolean;
118
117
  asChild: boolean;
118
+ variant: string;
119
119
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
120
120
  type __VLS_Slots = {
121
121
  default?: ((props: {}) => any) | undefined;
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { Check } from "lucide-vue-next";
4
5
  import { CheckboxIndicator, CheckboxRoot, useForwardPropsEmits } from "reka-ui";
@@ -6,11 +6,11 @@ type __VLS_WithSlots<T, S> = T & (new () => {
6
6
  });
7
7
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
8
  defaultValue: {
9
- type: (BooleanConstructor | StringConstructor)[];
9
+ type: (StringConstructor | BooleanConstructor)[];
10
10
  required: false;
11
11
  };
12
12
  modelValue: {
13
- type: (BooleanConstructor | StringConstructor | null)[];
13
+ type: (StringConstructor | BooleanConstructor | null)[];
14
14
  required: false;
15
15
  };
16
16
  disabled: {
@@ -59,11 +59,11 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
59
59
  "update:modelValue": (...args: any[]) => void;
60
60
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
61
61
  defaultValue: {
62
- type: (BooleanConstructor | StringConstructor)[];
62
+ type: (StringConstructor | BooleanConstructor)[];
63
63
  required: false;
64
64
  };
65
65
  modelValue: {
66
- type: (BooleanConstructor | StringConstructor | null)[];
66
+ type: (StringConstructor | BooleanConstructor | null)[];
67
67
  required: false;
68
68
  };
69
69
  disabled: {
@@ -111,11 +111,11 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
111
111
  }>> & Readonly<{
112
112
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
113
113
  }>, {
114
- variant: string;
115
- required: boolean;
116
114
  size: string;
117
115
  disabled: boolean;
116
+ required: boolean;
118
117
  asChild: boolean;
118
+ variant: string;
119
119
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
120
120
  type __VLS_Slots = {
121
121
  default?: ((props: {}) => any) | undefined;
@@ -1,5 +1,5 @@
1
1
  export { default as Checkbox } from "./Checkbox.vue.js";
2
2
  export const checkboxVariants: (props?: ({
3
- variant?: "default" | "success" | "info" | "primary" | "warning" | "danger" | null | undefined;
4
- size?: "default" | "xs" | "sm" | "lg" | "xl" | null | undefined;
3
+ variant?: "success" | "default" | "info" | "primary" | "warning" | "danger" | null | undefined;
4
+ size?: "default" | "lg" | "sm" | "xs" | "xl" | null | undefined;
5
5
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;