@nyuccl/smile 0.2.0-beta.2 → 0.2.0-beta.20

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 (249) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +22 -9
  3. package/dist/runtime/components/builtins/AdvertisementView.vue +2 -1
  4. package/dist/runtime/components/builtins/DebriefView.vue +2 -1
  5. package/dist/runtime/components/builtins/DemographicSurveyView.vue +8 -6
  6. package/dist/runtime/components/builtins/DeviceSurveyView.vue +5 -3
  7. package/dist/runtime/components/builtins/ExpView.vue +3 -1
  8. package/dist/runtime/components/builtins/ExperimentStatusBar.vue +3 -0
  9. package/dist/runtime/components/builtins/FavoriteColor.vue +3 -1
  10. package/dist/runtime/components/builtins/FavoriteNumber.vue +3 -1
  11. package/dist/runtime/components/builtins/InformedConsentModal.vue +3 -1
  12. package/dist/runtime/components/builtins/InformedConsentView.vue +1 -0
  13. package/dist/runtime/components/builtins/InstructionsQuiz.vue +7 -5
  14. package/dist/runtime/components/builtins/InstructionsView.vue +4 -2
  15. package/dist/runtime/components/builtins/MTurkRecruitView.vue +1 -0
  16. package/dist/runtime/components/builtins/PresentationModeView.d.vue.ts +1 -1
  17. package/dist/runtime/components/builtins/PresentationModeView.vue +1 -0
  18. package/dist/runtime/components/builtins/PresentationModeView.vue.d.ts +1 -1
  19. package/dist/runtime/components/builtins/StatusBar.vue +6 -3
  20. package/dist/runtime/components/builtins/StudyPreviewText.vue +4 -2
  21. package/dist/runtime/components/builtins/TaskFeedbackSurveyView.vue +3 -1
  22. package/dist/runtime/components/builtins/ThanksView.vue +18 -16
  23. package/dist/runtime/components/builtins/WindowSizerView.vue +5 -3
  24. package/dist/runtime/components/builtins/WithdrawModal.vue +4 -2
  25. package/dist/runtime/components/builtins/WithdrawView.vue +4 -2
  26. package/dist/runtime/components/dev/RecruitmentChooserView.vue +21 -19
  27. package/dist/runtime/components/dev/ResponsiveDeviceContainer.vue +7 -5
  28. package/dist/runtime/components/dev/console/ConfigList.vue +4 -2
  29. package/dist/runtime/components/dev/console/ConsoleConfigPanel.vue +3 -1
  30. package/dist/runtime/components/dev/console/ConsoleDatabaseBrowsePanel.vue +3 -1
  31. package/dist/runtime/components/dev/console/ConsoleLogPanel.vue +17 -14
  32. package/dist/runtime/components/dev/console/DatabaseList.vue +4 -2
  33. package/dist/runtime/components/dev/console/SmileDevConsole.vue +6 -4
  34. package/dist/runtime/components/dev/menu/DevConfigPanel.vue +3 -1
  35. package/dist/runtime/components/dev/menu/ResponsiveDeviceSelect.vue +1 -0
  36. package/dist/runtime/components/dev/menu/SmileDevAppMenu.vue +9 -7
  37. package/dist/runtime/components/dev/navbar/ColorModeButton.vue +4 -3
  38. package/dist/runtime/components/dev/navbar/DatabaseButtonGroup.vue +6 -4
  39. package/dist/runtime/components/dev/navbar/FullScreenButton.vue +4 -2
  40. package/dist/runtime/components/dev/navbar/ReloadButton.vue +3 -1
  41. package/dist/runtime/components/dev/navbar/ResetButton.vue +3 -1
  42. package/dist/runtime/components/dev/navbar/RouteJumper.vue +7 -4
  43. package/dist/runtime/components/dev/navbar/SmileDevNavBar.vue +4 -2
  44. package/dist/runtime/components/dev/navbar/StepInfoButtonGroup.vue +5 -3
  45. package/dist/runtime/components/dev/navbar/ViewButton.vue +1 -0
  46. package/dist/runtime/components/dev/navbar/ViewInfoButtonGroup.vue +12 -10
  47. package/dist/runtime/components/dev/presentation/DarkModeButton.vue +4 -3
  48. package/dist/runtime/components/dev/presentation/LogoutButton.vue +2 -1
  49. package/dist/runtime/components/dev/presentation/PresentationModeResetButton.vue +2 -1
  50. package/dist/runtime/components/dev/presentation/PresentationNavBar.vue +3 -2
  51. package/dist/runtime/components/dev/presentation/QRCodeButton.vue +4 -2
  52. package/dist/runtime/components/dev/sidebar/AppProgressPanel.vue +4 -3
  53. package/dist/runtime/components/dev/sidebar/DatabaseStatusInfoPanel.vue +1 -0
  54. package/dist/runtime/components/dev/sidebar/RandomizationSidebarPanel.vue +1 -0
  55. package/dist/runtime/components/dev/sidebar/SmileDevSideBar.vue +1 -0
  56. package/dist/runtime/components/dev/sidebar/StepDataViewer.d.vue.ts +2 -2
  57. package/dist/runtime/components/dev/sidebar/StepDataViewer.vue.d.ts +2 -2
  58. package/dist/runtime/components/dev/sidebar/StepExplorerPanel.vue +8 -6
  59. package/dist/runtime/components/dev/sidebar/StepNode.vue +3 -2
  60. package/dist/runtime/components/forms/MonthYearDayPicker.vue +1 -0
  61. package/dist/runtime/components/layouts/ConstrainedPage.d.vue.ts +1 -1
  62. package/dist/runtime/components/layouts/ConstrainedPage.vue.d.ts +1 -1
  63. package/dist/runtime/components/layouts/ConstrainedTaskWindow.d.vue.ts +2 -2
  64. package/dist/runtime/components/layouts/ConstrainedTaskWindow.vue.d.ts +2 -2
  65. package/dist/runtime/components/layouts/TitleTwoCol.d.vue.ts +1 -1
  66. package/dist/runtime/components/layouts/TitleTwoCol.vue.d.ts +1 -1
  67. package/dist/runtime/components/layouts/TwoCol.d.vue.ts +1 -1
  68. package/dist/runtime/components/layouts/TwoCol.vue.d.ts +1 -1
  69. package/dist/runtime/components/ui/avatar/Avatar.vue +1 -0
  70. package/dist/runtime/components/ui/avatar/AvatarFallback.vue +1 -0
  71. package/dist/runtime/components/ui/badge/Badge.vue +1 -0
  72. package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.vue +1 -0
  73. package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.vue +1 -0
  74. package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue +1 -0
  75. package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.vue +1 -0
  76. package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.vue +1 -0
  77. package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.vue +1 -0
  78. package/dist/runtime/components/ui/button/Button.vue +1 -0
  79. package/dist/runtime/components/ui/button/index.d.ts +1 -1
  80. package/dist/runtime/components/ui/button-group/ButtonGroup.d.vue.ts +1 -1
  81. package/dist/runtime/components/ui/button-group/ButtonGroup.vue +1 -0
  82. package/dist/runtime/components/ui/button-group/ButtonGroup.vue.d.ts +1 -1
  83. package/dist/runtime/components/ui/button-group/ButtonGroupItem.vue +1 -0
  84. package/dist/runtime/components/ui/calendar/Calendar.vue +1 -0
  85. package/dist/runtime/components/ui/calendar/CalendarCell.vue +1 -0
  86. package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue +1 -0
  87. package/dist/runtime/components/ui/calendar/CalendarGrid.vue +1 -0
  88. package/dist/runtime/components/ui/calendar/CalendarGridRow.vue +1 -0
  89. package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue +1 -0
  90. package/dist/runtime/components/ui/calendar/CalendarHeader.vue +1 -0
  91. package/dist/runtime/components/ui/calendar/CalendarHeading.vue +1 -0
  92. package/dist/runtime/components/ui/calendar/CalendarNextButton.vue +1 -0
  93. package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue +1 -0
  94. package/dist/runtime/components/ui/card/Card.vue +1 -0
  95. package/dist/runtime/components/ui/card/CardAction.vue +1 -0
  96. package/dist/runtime/components/ui/card/CardContent.vue +1 -0
  97. package/dist/runtime/components/ui/card/CardDescription.vue +1 -0
  98. package/dist/runtime/components/ui/card/CardFooter.vue +1 -0
  99. package/dist/runtime/components/ui/card/CardHeader.vue +1 -0
  100. package/dist/runtime/components/ui/card/CardTitle.vue +1 -0
  101. package/dist/runtime/components/ui/checkbox/Checkbox.d.vue.ts +5 -5
  102. package/dist/runtime/components/ui/checkbox/Checkbox.vue +1 -0
  103. package/dist/runtime/components/ui/checkbox/Checkbox.vue.d.ts +5 -5
  104. package/dist/runtime/components/ui/checkbox/index.d.ts +1 -1
  105. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.d.vue.ts +4 -4
  106. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +1 -0
  107. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +4 -4
  108. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.d.vue.ts +2 -2
  109. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue +1 -0
  110. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +2 -2
  111. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue +1 -0
  112. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue +1 -0
  113. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +1 -0
  114. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.vue +1 -0
  115. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.vue +1 -0
  116. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.d.vue.ts +2 -2
  117. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue +1 -0
  118. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +2 -2
  119. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +1 -0
  120. package/dist/runtime/components/ui/input/Input.d.vue.ts +4 -4
  121. package/dist/runtime/components/ui/input/Input.vue +1 -0
  122. package/dist/runtime/components/ui/input/Input.vue.d.ts +4 -4
  123. package/dist/runtime/components/ui/label/Label.vue +1 -0
  124. package/dist/runtime/components/ui/multiselect/MultiSelect.d.vue.ts +1 -1
  125. package/dist/runtime/components/ui/multiselect/MultiSelect.vue +1 -0
  126. package/dist/runtime/components/ui/multiselect/MultiSelect.vue.d.ts +1 -1
  127. package/dist/runtime/components/ui/pagination/Pagination.vue +1 -0
  128. package/dist/runtime/components/ui/pagination/PaginationContent.vue +1 -0
  129. package/dist/runtime/components/ui/pagination/PaginationEllipsis.vue +1 -0
  130. package/dist/runtime/components/ui/pagination/PaginationFirst.vue +1 -0
  131. package/dist/runtime/components/ui/pagination/PaginationItem.vue +1 -0
  132. package/dist/runtime/components/ui/pagination/PaginationLast.vue +1 -0
  133. package/dist/runtime/components/ui/pagination/PaginationNext.vue +1 -0
  134. package/dist/runtime/components/ui/pagination/PaginationPrevious.vue +1 -0
  135. package/dist/runtime/components/ui/popover/PopoverContent.d.vue.ts +2 -2
  136. package/dist/runtime/components/ui/popover/PopoverContent.vue +1 -0
  137. package/dist/runtime/components/ui/popover/PopoverContent.vue.d.ts +2 -2
  138. package/dist/runtime/components/ui/progress/Progress.vue +1 -0
  139. package/dist/runtime/components/ui/resizable/ResizableHandle.vue +1 -0
  140. package/dist/runtime/components/ui/resizable/ResizablePanelGroup.vue +1 -0
  141. package/dist/runtime/components/ui/select/SelectContent.d.vue.ts +2 -2
  142. package/dist/runtime/components/ui/select/SelectContent.vue +1 -0
  143. package/dist/runtime/components/ui/select/SelectContent.vue.d.ts +2 -2
  144. package/dist/runtime/components/ui/select/SelectItem.vue +1 -0
  145. package/dist/runtime/components/ui/select/SelectLabel.vue +1 -0
  146. package/dist/runtime/components/ui/select/SelectScrollDownButton.vue +1 -0
  147. package/dist/runtime/components/ui/select/SelectScrollUpButton.vue +1 -0
  148. package/dist/runtime/components/ui/select/SelectSeparator.vue +1 -0
  149. package/dist/runtime/components/ui/select/SelectTrigger.vue +1 -0
  150. package/dist/runtime/components/ui/separator/Separator.d.vue.ts +1 -1
  151. package/dist/runtime/components/ui/separator/Separator.vue +1 -0
  152. package/dist/runtime/components/ui/separator/Separator.vue.d.ts +1 -1
  153. package/dist/runtime/components/ui/sheet/SheetContent.vue +1 -0
  154. package/dist/runtime/components/ui/sheet/SheetDescription.vue +1 -0
  155. package/dist/runtime/components/ui/sheet/SheetFooter.vue +1 -0
  156. package/dist/runtime/components/ui/sheet/SheetHeader.vue +1 -0
  157. package/dist/runtime/components/ui/sheet/SheetOverlay.vue +1 -0
  158. package/dist/runtime/components/ui/sheet/SheetTitle.vue +1 -0
  159. package/dist/runtime/components/ui/sidebar/Sidebar.vue +1 -0
  160. package/dist/runtime/components/ui/sidebar/SidebarContent.vue +1 -0
  161. package/dist/runtime/components/ui/sidebar/SidebarFooter.vue +1 -0
  162. package/dist/runtime/components/ui/sidebar/SidebarGroup.vue +1 -0
  163. package/dist/runtime/components/ui/sidebar/SidebarGroupAction.vue +1 -0
  164. package/dist/runtime/components/ui/sidebar/SidebarGroupContent.vue +1 -0
  165. package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.vue +1 -0
  166. package/dist/runtime/components/ui/sidebar/SidebarHeader.vue +1 -0
  167. package/dist/runtime/components/ui/sidebar/SidebarInput.vue +1 -0
  168. package/dist/runtime/components/ui/sidebar/SidebarInset.vue +1 -0
  169. package/dist/runtime/components/ui/sidebar/SidebarMenu.vue +1 -0
  170. package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue +1 -0
  171. package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.vue +1 -0
  172. package/dist/runtime/components/ui/sidebar/SidebarMenuButton.d.vue.ts +1 -1
  173. package/dist/runtime/components/ui/sidebar/SidebarMenuButton.vue.d.ts +1 -1
  174. package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.d.vue.ts +1 -1
  175. package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue +1 -0
  176. package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +1 -1
  177. package/dist/runtime/components/ui/sidebar/SidebarMenuItem.vue +1 -0
  178. package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue +1 -0
  179. package/dist/runtime/components/ui/sidebar/SidebarMenuSub.vue +1 -0
  180. package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue +1 -0
  181. package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.vue +1 -0
  182. package/dist/runtime/components/ui/sidebar/SidebarProvider.vue +1 -0
  183. package/dist/runtime/components/ui/sidebar/SidebarRail.vue +1 -0
  184. package/dist/runtime/components/ui/sidebar/SidebarSeparator.vue +1 -0
  185. package/dist/runtime/components/ui/sidebar/SidebarTrigger.vue +1 -0
  186. package/dist/runtime/components/ui/skeleton/Skeleton.vue +1 -0
  187. package/dist/runtime/components/ui/sonner/Sonner.d.vue.ts +4 -4
  188. package/dist/runtime/components/ui/sonner/Sonner.vue.d.ts +4 -4
  189. package/dist/runtime/components/ui/stepper/Stepper.vue +1 -0
  190. package/dist/runtime/components/ui/stepper/StepperDescription.vue +1 -0
  191. package/dist/runtime/components/ui/stepper/StepperIndicator.vue +1 -0
  192. package/dist/runtime/components/ui/stepper/StepperItem.d.vue.ts +1 -1
  193. package/dist/runtime/components/ui/stepper/StepperItem.vue +1 -0
  194. package/dist/runtime/components/ui/stepper/StepperItem.vue.d.ts +1 -1
  195. package/dist/runtime/components/ui/stepper/StepperSeparator.vue +1 -0
  196. package/dist/runtime/components/ui/stepper/StepperTitle.vue +1 -0
  197. package/dist/runtime/components/ui/stepper/StepperTrigger.vue +1 -0
  198. package/dist/runtime/components/ui/switch/Switch.d.vue.ts +1 -1
  199. package/dist/runtime/components/ui/switch/Switch.vue +1 -0
  200. package/dist/runtime/components/ui/switch/Switch.vue.d.ts +1 -1
  201. package/dist/runtime/components/ui/switch/index.d.ts +1 -1
  202. package/dist/runtime/components/ui/table/Table.vue +1 -0
  203. package/dist/runtime/components/ui/table/TableBody.vue +1 -0
  204. package/dist/runtime/components/ui/table/TableCaption.vue +1 -0
  205. package/dist/runtime/components/ui/table/TableCell.vue +1 -0
  206. package/dist/runtime/components/ui/table/TableEmpty.vue +1 -0
  207. package/dist/runtime/components/ui/table/TableFooter.vue +1 -0
  208. package/dist/runtime/components/ui/table/TableHead.vue +1 -0
  209. package/dist/runtime/components/ui/table/TableHeader.vue +1 -0
  210. package/dist/runtime/components/ui/table/TableRow.vue +1 -0
  211. package/dist/runtime/components/ui/tabs/Tabs.vue +1 -0
  212. package/dist/runtime/components/ui/tabs/TabsContent.d.vue.ts +2 -2
  213. package/dist/runtime/components/ui/tabs/TabsContent.vue +1 -0
  214. package/dist/runtime/components/ui/tabs/TabsContent.vue.d.ts +2 -2
  215. package/dist/runtime/components/ui/tabs/TabsList.vue +1 -0
  216. package/dist/runtime/components/ui/tabs/TabsTrigger.d.vue.ts +2 -2
  217. package/dist/runtime/components/ui/tabs/TabsTrigger.vue +1 -0
  218. package/dist/runtime/components/ui/tabs/TabsTrigger.vue.d.ts +2 -2
  219. package/dist/runtime/components/ui/tags-input/TagsInput.d.vue.ts +2 -2
  220. package/dist/runtime/components/ui/tags-input/TagsInput.vue +1 -0
  221. package/dist/runtime/components/ui/tags-input/TagsInput.vue.d.ts +2 -2
  222. package/dist/runtime/components/ui/tags-input/TagsInputInput.vue +1 -0
  223. package/dist/runtime/components/ui/tags-input/TagsInputItem.d.vue.ts +2 -2
  224. package/dist/runtime/components/ui/tags-input/TagsInputItem.vue +1 -0
  225. package/dist/runtime/components/ui/tags-input/TagsInputItem.vue.d.ts +2 -2
  226. package/dist/runtime/components/ui/tags-input/TagsInputItemDelete.vue +1 -0
  227. package/dist/runtime/components/ui/tags-input/TagsInputItemText.vue +1 -0
  228. package/dist/runtime/components/ui/textarea/Textarea.d.vue.ts +4 -4
  229. package/dist/runtime/components/ui/textarea/Textarea.vue +1 -0
  230. package/dist/runtime/components/ui/textarea/Textarea.vue.d.ts +4 -4
  231. package/dist/runtime/components/ui/toggle/Toggle.d.vue.ts +1 -1
  232. package/dist/runtime/components/ui/toggle/Toggle.vue +1 -0
  233. package/dist/runtime/components/ui/toggle/Toggle.vue.d.ts +1 -1
  234. package/dist/runtime/components/ui/toggle-group/ToggleGroup.d.vue.ts +1 -1
  235. package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue +1 -0
  236. package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue.d.ts +1 -1
  237. package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue +1 -0
  238. package/dist/runtime/components/ui/tooltip/TooltipContent.d.vue.ts +2 -2
  239. package/dist/runtime/components/ui/tooltip/TooltipContent.vue +1 -0
  240. package/dist/runtime/components/ui/tooltip/TooltipContent.vue.d.ts +2 -2
  241. package/dist/runtime/composables/useAPI.js +0 -1
  242. package/dist/runtime/core/timeline/Timeline.js +1 -0
  243. package/dist/runtime/layouts/development.vue +1 -0
  244. package/dist/runtime/layouts/presentation.vue +1 -0
  245. package/dist/runtime/pages/[...slug].vue +2 -0
  246. package/dist/runtime/pages/dev/[...slug].vue +2 -0
  247. package/dist/runtime/pages/info.vue +1 -0
  248. package/dist/runtime/pages/presentation/[...slug].vue +2 -0
  249. package/package.json +4 -4
@@ -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
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { TabsRoot, useForwardPropsEmits } from "reka-ui";
4
5
  const props = defineProps({
@@ -6,7 +6,7 @@ type __VLS_WithSlots<T, S> = T & (new () => {
6
6
  });
7
7
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
8
  value: {
9
- type: (StringConstructor | NumberConstructor)[];
9
+ type: (NumberConstructor | StringConstructor)[];
10
10
  required: true;
11
11
  };
12
12
  forceMount: {
@@ -27,7 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
27
27
  };
28
28
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
29
  value: {
30
- type: (StringConstructor | NumberConstructor)[];
30
+ type: (NumberConstructor | StringConstructor)[];
31
31
  required: true;
32
32
  };
33
33
  forceMount: {
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { TabsContent } from "reka-ui";
4
5
  const props = defineProps({
@@ -6,7 +6,7 @@ type __VLS_WithSlots<T, S> = T & (new () => {
6
6
  });
7
7
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
8
  value: {
9
- type: (StringConstructor | NumberConstructor)[];
9
+ type: (NumberConstructor | StringConstructor)[];
10
10
  required: true;
11
11
  };
12
12
  forceMount: {
@@ -27,7 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
27
27
  };
28
28
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
29
  value: {
30
- type: (StringConstructor | NumberConstructor)[];
30
+ type: (NumberConstructor | StringConstructor)[];
31
31
  required: true;
32
32
  };
33
33
  forceMount: {
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { TabsList } from "reka-ui";
4
5
  const props = defineProps({
@@ -6,7 +6,7 @@ type __VLS_WithSlots<T, S> = T & (new () => {
6
6
  });
7
7
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
8
  value: {
9
- type: (StringConstructor | NumberConstructor)[];
9
+ type: (NumberConstructor | StringConstructor)[];
10
10
  required: true;
11
11
  };
12
12
  disabled: {
@@ -27,7 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
27
27
  };
28
28
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
29
  value: {
30
- type: (StringConstructor | NumberConstructor)[];
30
+ type: (NumberConstructor | StringConstructor)[];
31
31
  required: true;
32
32
  };
33
33
  disabled: {
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { TabsTrigger, useForwardProps } from "reka-ui";
4
5
  const props = defineProps({
@@ -6,7 +6,7 @@ type __VLS_WithSlots<T, S> = T & (new () => {
6
6
  });
7
7
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
8
  value: {
9
- type: (StringConstructor | NumberConstructor)[];
9
+ type: (NumberConstructor | StringConstructor)[];
10
10
  required: true;
11
11
  };
12
12
  disabled: {
@@ -27,7 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
27
27
  };
28
28
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
29
  value: {
30
- type: (StringConstructor | NumberConstructor)[];
30
+ type: (NumberConstructor | StringConstructor)[];
31
31
  required: true;
32
32
  };
33
33
  disabled: {
@@ -78,8 +78,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
78
78
  required: false;
79
79
  };
80
80
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
81
- "update:modelValue": (...args: any[]) => void;
82
81
  invalid: (...args: any[]) => void;
82
+ "update:modelValue": (...args: any[]) => void;
83
83
  addTag: (...args: any[]) => void;
84
84
  removeTag: (...args: any[]) => void;
85
85
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -156,8 +156,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
156
156
  required: false;
157
157
  };
158
158
  }>> & Readonly<{
159
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
160
159
  onInvalid?: ((...args: any[]) => any) | undefined;
160
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
161
161
  onAddTag?: ((...args: any[]) => any) | undefined;
162
162
  onRemoveTag?: ((...args: any[]) => any) | undefined;
163
163
  }>, {
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { TagsInputRoot, useForwardPropsEmits } from "reka-ui";
4
5
  const props = defineProps({
@@ -78,8 +78,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
78
78
  required: false;
79
79
  };
80
80
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
81
- "update:modelValue": (...args: any[]) => void;
82
81
  invalid: (...args: any[]) => void;
82
+ "update:modelValue": (...args: any[]) => void;
83
83
  addTag: (...args: any[]) => void;
84
84
  removeTag: (...args: any[]) => void;
85
85
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -156,8 +156,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
156
156
  required: false;
157
157
  };
158
158
  }>> & Readonly<{
159
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
160
159
  onInvalid?: ((...args: any[]) => any) | undefined;
160
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
161
161
  onAddTag?: ((...args: any[]) => any) | undefined;
162
162
  onRemoveTag?: ((...args: any[]) => any) | undefined;
163
163
  }>, {
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { TagsInputInput, useForwardProps } from "reka-ui";
4
5
  const props = defineProps({
@@ -6,7 +6,7 @@ type __VLS_WithSlots<T, S> = T & (new () => {
6
6
  });
7
7
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
8
  value: {
9
- type: (ObjectConstructor | StringConstructor)[];
9
+ type: (StringConstructor | ObjectConstructor)[];
10
10
  required: true;
11
11
  };
12
12
  disabled: {
@@ -27,7 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
27
27
  };
28
28
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
29
  value: {
30
- type: (ObjectConstructor | StringConstructor)[];
30
+ type: (StringConstructor | ObjectConstructor)[];
31
31
  required: true;
32
32
  };
33
33
  disabled: {
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { TagsInputItem, useForwardProps } from "reka-ui";
4
5
  const props = defineProps({
@@ -6,7 +6,7 @@ type __VLS_WithSlots<T, S> = T & (new () => {
6
6
  });
7
7
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
8
  value: {
9
- type: (ObjectConstructor | StringConstructor)[];
9
+ type: (StringConstructor | ObjectConstructor)[];
10
10
  required: true;
11
11
  };
12
12
  disabled: {
@@ -27,7 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
27
27
  };
28
28
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
29
  value: {
30
- type: (ObjectConstructor | StringConstructor)[];
30
+ type: (StringConstructor | ObjectConstructor)[];
31
31
  required: true;
32
32
  };
33
33
  disabled: {
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { X } from "lucide-vue-next";
4
5
  import { TagsInputItemDelete, 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 { TagsInputItemText, useForwardProps } from "reka-ui";
4
5
  const props = defineProps({
@@ -6,11 +6,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
6
6
  required: false;
7
7
  };
8
8
  defaultValue: {
9
- type: (StringConstructor | NumberConstructor)[];
9
+ type: (NumberConstructor | StringConstructor)[];
10
10
  required: false;
11
11
  };
12
12
  modelValue: {
13
- type: (StringConstructor | NumberConstructor)[];
13
+ type: (NumberConstructor | StringConstructor)[];
14
14
  required: false;
15
15
  };
16
16
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -21,11 +21,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
21
21
  required: false;
22
22
  };
23
23
  defaultValue: {
24
- type: (StringConstructor | NumberConstructor)[];
24
+ type: (NumberConstructor | StringConstructor)[];
25
25
  required: false;
26
26
  };
27
27
  modelValue: {
28
- type: (StringConstructor | NumberConstructor)[];
28
+ type: (NumberConstructor | StringConstructor)[];
29
29
  required: false;
30
30
  };
31
31
  }>> & Readonly<{
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { useVModel } from "@vueuse/core";
3
4
  const props = defineProps({
4
5
  class: { type: null, required: false },
@@ -6,11 +6,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
6
6
  required: false;
7
7
  };
8
8
  defaultValue: {
9
- type: (StringConstructor | NumberConstructor)[];
9
+ type: (NumberConstructor | StringConstructor)[];
10
10
  required: false;
11
11
  };
12
12
  modelValue: {
13
- type: (StringConstructor | NumberConstructor)[];
13
+ type: (NumberConstructor | StringConstructor)[];
14
14
  required: false;
15
15
  };
16
16
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -21,11 +21,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
21
21
  required: false;
22
22
  };
23
23
  defaultValue: {
24
- type: (StringConstructor | NumberConstructor)[];
24
+ type: (NumberConstructor | StringConstructor)[];
25
25
  required: false;
26
26
  };
27
27
  modelValue: {
28
- type: (StringConstructor | NumberConstructor)[];
28
+ type: (NumberConstructor | StringConstructor)[];
29
29
  required: false;
30
30
  };
31
31
  }>> & Readonly<{
@@ -97,9 +97,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
97
97
  }>> & Readonly<{
98
98
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
99
99
  }>, {
100
+ size: any;
100
101
  variant: any;
101
102
  required: boolean;
102
- size: any;
103
103
  disabled: boolean;
104
104
  defaultValue: boolean;
105
105
  asChild: boolean;
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { Toggle, useForwardPropsEmits } from "reka-ui";
4
5
  import { toggleVariants } from ".";
@@ -97,9 +97,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
97
97
  }>> & Readonly<{
98
98
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
99
99
  }>, {
100
+ size: any;
100
101
  variant: any;
101
102
  required: boolean;
102
- size: any;
103
103
  disabled: boolean;
104
104
  defaultValue: boolean;
105
105
  asChild: boolean;
@@ -131,9 +131,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
131
131
  }>> & Readonly<{
132
132
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
133
133
  }>, {
134
+ loop: boolean;
134
135
  required: boolean;
135
136
  disabled: boolean;
136
- loop: boolean;
137
137
  asChild: boolean;
138
138
  rovingFocus: boolean;
139
139
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { ToggleGroupRoot, useForwardPropsEmits } from "reka-ui";
4
5
  import { provide } from "vue";
@@ -131,9 +131,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
131
131
  }>> & Readonly<{
132
132
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
133
133
  }>, {
134
+ loop: boolean;
134
135
  required: boolean;
135
136
  disabled: boolean;
136
- loop: boolean;
137
137
  asChild: boolean;
138
138
  rovingFocus: boolean;
139
139
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { ToggleGroupItem, useForwardProps } from "reka-ui";
4
5
  import { inject } from "vue";
@@ -47,7 +47,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
47
47
  required: false;
48
48
  };
49
49
  collisionPadding: {
50
- type: (ObjectConstructor | NumberConstructor)[];
50
+ type: (NumberConstructor | ObjectConstructor)[];
51
51
  required: false;
52
52
  };
53
53
  arrowPadding: {
@@ -120,7 +120,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
120
120
  required: false;
121
121
  };
122
122
  collisionPadding: {
123
- type: (ObjectConstructor | NumberConstructor)[];
123
+ type: (NumberConstructor | ObjectConstructor)[];
124
124
  required: false;
125
125
  };
126
126
  arrowPadding: {
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { cn } from "../../../lib/utils";
2
3
  import { reactiveOmit } from "@vueuse/core";
3
4
  import { TooltipArrow, TooltipContent, TooltipPortal, useForwardPropsEmits } from "reka-ui";
4
5
  defineOptions({
@@ -47,7 +47,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
47
47
  required: false;
48
48
  };
49
49
  collisionPadding: {
50
- type: (ObjectConstructor | NumberConstructor)[];
50
+ type: (NumberConstructor | ObjectConstructor)[];
51
51
  required: false;
52
52
  };
53
53
  arrowPadding: {
@@ -120,7 +120,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
120
120
  required: false;
121
121
  };
122
122
  collisionPadding: {
123
- type: (ObjectConstructor | NumberConstructor)[];
123
+ type: (NumberConstructor | ObjectConstructor)[];
124
124
  required: false;
125
125
  };
126
126
  arrowPadding: {
@@ -25,7 +25,6 @@ import { v4 as uuidv4 } from 'uuid'
25
25
  import sha256 from 'crypto-js/sha256'
26
26
  import Base64url from 'crypto-js/enc-base64'
27
27
  import stringify from 'json-stable-stringify'
28
-
29
28
  import {
30
29
  randomInt,
31
30
  shuffle,
@@ -4,6 +4,7 @@
4
4
  */
5
5
 
6
6
  import _ from 'lodash'
7
+
7
8
  // NOTE: RecruitmentChooser and PresentationMode views are handled via
8
9
  // route-based modes (/dev/, /presentation/) in Nuxt, not registered here.
9
10
  // See runtime/pages/dev/ and runtime/pages/presentation/
@@ -1,5 +1,6 @@
1
1
  <script setup>
2
2
  import { ref, computed, onMounted } from "vue";
3
+ import useAPI from "../composables/useAPI";
3
4
  import { Toaster } from "vue-sonner";
4
5
  import "vue-sonner/style.css";
5
6
  import SmileDevAppMenu from "#smile-dev/menu/SmileDevAppMenu.vue";
@@ -1,5 +1,6 @@
1
1
  <script setup>
2
2
  import { computed } from "vue";
3
+ import useAPI from "../composables/useAPI";
3
4
  import PresentationNavBar from "#smile-dev/presentation/PresentationNavBar.vue";
4
5
  const api = useAPI();
5
6
  const isLoading = computed(() => {
@@ -13,6 +13,8 @@
13
13
  </template>
14
14
 
15
15
  <script setup>
16
+ import { ref, computed, onMounted, watch } from "vue";
17
+ import { useRoute, useNuxtApp, navigateTo } from "#imports";
16
18
  const route = useRoute();
17
19
  const nuxtApp = useNuxtApp();
18
20
  const timelineReady = ref(false);
@@ -17,6 +17,8 @@
17
17
  </template>
18
18
 
19
19
  <script setup>
20
+ import { ref, computed, onMounted, watch } from "vue";
21
+ import { useRoute, useNuxtApp, navigateTo } from "#imports";
20
22
  import RecruitmentChooserView from "#smile-dev/RecruitmentChooserView.vue";
21
23
  const route = useRoute();
22
24
  const nuxtApp = useNuxtApp();
@@ -1,5 +1,6 @@
1
1
  <script setup>
2
2
  import { ref, computed } from "vue";
3
+ import useSmileStore from "../stores/smilestore";
3
4
  const store = useSmileStore();
4
5
  const config = store.config;
5
6
  const baseUrl = computed(() => {
@@ -20,6 +20,8 @@
20
20
  </template>
21
21
 
22
22
  <script setup>
23
+ import { ref, computed, onMounted, watch } from "vue";
24
+ import { useRoute, useNuxtApp, navigateTo } from "#imports";
23
25
  import PresentationModeView from "../../components/builtins/PresentationModeView.vue";
24
26
  import useSmileStore from "../../stores/smilestore";
25
27
  const route = useRoute();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nyuccl/smile",
3
- "version": "0.2.0-beta.2",
3
+ "version": "0.2.0-beta.20",
4
4
  "description": "SMILE experiment framework as a Nuxt module",
5
5
  "author": "Todd Gureckis <gureckis@gmail.com>",
6
6
  "license": "MIT",
@@ -34,7 +34,7 @@
34
34
  "@internationalized/date": "^3.7.0",
35
35
  "@libsql/client": "^0.14.0",
36
36
  "@nuxt/kit": "^4.3.0",
37
- "@pinia/nuxt": "^0.9.0",
37
+ "@pinia/nuxt": "^0.11.3",
38
38
  "@tailwindcss/vite": "^4.1.10",
39
39
  "@vueuse/core": "^12.8.2",
40
40
  "axios": "^1.7.9",
@@ -47,7 +47,7 @@
47
47
  "lodash": "^4.17.21",
48
48
  "lucide-vue-next": "^0.517.0",
49
49
  "motion": "^12.3.1",
50
- "pinia": "^2.3.1",
50
+ "pinia": "^3.0.4",
51
51
  "qrcode-svg": "^1.1.0",
52
52
  "reka-ui": "^2.6.1",
53
53
  "seedrandom": "^3.0.5",
@@ -90,7 +90,7 @@
90
90
  "dev": "pnpm run dev:prepare && nuxt dev playground",
91
91
  "dev:build": "nuxt build playground",
92
92
  "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground",
93
- "release": "bumpp && node scripts/sync-starter-version.js && git add starter-template/package.json && git commit --amend --no-edit && pnpm run lint && pnpm run test && pnpm run prepack && changelogen --no-bump && pnpm publish --access public --tag beta && git push --follow-tags",
93
+ "release": "bumpp --no-push && node scripts/sync-starter-version.js && git add starter-template/package.json && git commit --amend --no-edit && pnpm run lint && pnpm run test && pnpm run prepack && changelogen --no-bump && pnpm publish --access public --tag beta && git push --follow-tags",
94
94
  "lint": "eslint .",
95
95
  "test": "vitest run",
96
96
  "test:watch": "vitest watch",