@nyuccl/smile 0.2.0-beta.0 → 0.2.0-beta.10
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.
- package/dist/module.json +2 -2
- package/dist/module.mjs +17 -5
- package/dist/runtime/components/builtins/AdvertisementView.vue +2 -1
- package/dist/runtime/components/builtins/DemographicSurveyView.vue +2 -0
- package/dist/runtime/components/builtins/DeviceSurveyView.vue +1 -0
- package/dist/runtime/components/builtins/ExpView.vue +1 -0
- package/dist/runtime/components/builtins/ExperimentStatusBar.vue +3 -0
- package/dist/runtime/components/builtins/FavoriteColor.vue +1 -0
- package/dist/runtime/components/builtins/FavoriteNumber.vue +1 -0
- package/dist/runtime/components/builtins/InformedConsentModal.vue +1 -0
- package/dist/runtime/components/builtins/InformedConsentView.vue +1 -0
- package/dist/runtime/components/builtins/InstructionsQuiz.vue +1 -0
- package/dist/runtime/components/builtins/InstructionsView.vue +1 -0
- package/dist/runtime/components/builtins/MTurkRecruitView.vue +1 -0
- package/dist/runtime/components/builtins/PresentationModeView.vue +1 -0
- package/dist/runtime/components/builtins/StatusBar.vue +2 -0
- package/dist/runtime/components/builtins/StudyPreviewText.vue +2 -1
- package/dist/runtime/components/builtins/TaskFeedbackSurveyView.vue +1 -0
- package/dist/runtime/components/builtins/ThanksView.vue +1 -0
- package/dist/runtime/components/builtins/WindowSizerView.vue +1 -0
- package/dist/runtime/components/builtins/WithdrawModal.vue +1 -0
- package/dist/runtime/components/builtins/WithdrawView.vue +1 -0
- package/dist/runtime/components/dev/RecruitmentChooserView.vue +1 -0
- package/dist/runtime/components/dev/ResponsiveDeviceContainer.vue +1 -0
- package/dist/runtime/components/dev/console/ConfigList.vue +1 -0
- package/dist/runtime/components/dev/console/ConsoleConfigPanel.vue +1 -0
- package/dist/runtime/components/dev/console/ConsoleDatabaseBrowsePanel.vue +1 -0
- package/dist/runtime/components/dev/console/ConsoleLogPanel.vue +4 -2
- package/dist/runtime/components/dev/console/DatabaseList.vue +1 -0
- package/dist/runtime/components/dev/console/SmileDevConsole.vue +1 -0
- package/dist/runtime/components/dev/menu/DevConfigPanel.vue +1 -0
- package/dist/runtime/components/dev/menu/ResponsiveDeviceSelect.vue +1 -0
- package/dist/runtime/components/dev/menu/SmileDevAppMenu.vue +1 -0
- package/dist/runtime/components/dev/navbar/DatabaseButtonGroup.vue +1 -0
- package/dist/runtime/components/dev/navbar/FullScreenButton.vue +1 -0
- package/dist/runtime/components/dev/navbar/ReloadButton.vue +1 -0
- package/dist/runtime/components/dev/navbar/ResetButton.vue +1 -0
- package/dist/runtime/components/dev/navbar/RouteJumper.vue +2 -0
- package/dist/runtime/components/dev/navbar/SmileDevNavBar.vue +1 -0
- package/dist/runtime/components/dev/navbar/StepInfoButtonGroup.vue +1 -0
- package/dist/runtime/components/dev/navbar/ViewButton.vue +1 -0
- package/dist/runtime/components/dev/navbar/ViewInfoButtonGroup.vue +1 -0
- package/dist/runtime/components/dev/presentation/QRCodeButton.vue +1 -0
- package/dist/runtime/components/dev/sidebar/DatabaseStatusInfoPanel.vue +1 -0
- package/dist/runtime/components/dev/sidebar/RandomizationSidebarPanel.vue +1 -0
- package/dist/runtime/components/dev/sidebar/SmileDevSideBar.vue +1 -0
- package/dist/runtime/components/dev/sidebar/StepDataViewer.d.vue.ts +2 -2
- package/dist/runtime/components/dev/sidebar/StepDataViewer.vue.d.ts +2 -2
- package/dist/runtime/components/dev/sidebar/StepExplorerPanel.vue +1 -0
- package/dist/runtime/components/forms/MonthYearDayPicker.vue +1 -0
- package/dist/runtime/components/layouts/ConstrainedPage.d.vue.ts +1 -1
- package/dist/runtime/components/layouts/ConstrainedPage.vue.d.ts +1 -1
- package/dist/runtime/components/layouts/ConstrainedTaskWindow.d.vue.ts +2 -2
- package/dist/runtime/components/layouts/ConstrainedTaskWindow.vue.d.ts +2 -2
- package/dist/runtime/components/layouts/TitleTwoCol.d.vue.ts +1 -1
- package/dist/runtime/components/layouts/TitleTwoCol.vue.d.ts +1 -1
- package/dist/runtime/components/layouts/TwoCol.d.vue.ts +1 -1
- package/dist/runtime/components/layouts/TwoCol.vue.d.ts +1 -1
- package/dist/runtime/components/ui/avatar/Avatar.vue +1 -0
- package/dist/runtime/components/ui/avatar/AvatarFallback.vue +1 -0
- package/dist/runtime/components/ui/badge/Badge.vue +1 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.vue +1 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.vue +1 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue +1 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.vue +1 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.vue +1 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.vue +1 -0
- package/dist/runtime/components/ui/button/Button.vue +1 -0
- package/dist/runtime/components/ui/button/index.d.ts +1 -1
- package/dist/runtime/components/ui/button-group/ButtonGroup.vue +1 -0
- package/dist/runtime/components/ui/button-group/ButtonGroupItem.vue +1 -0
- package/dist/runtime/components/ui/calendar/Calendar.vue +1 -0
- package/dist/runtime/components/ui/calendar/CalendarCell.vue +1 -0
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue +1 -0
- package/dist/runtime/components/ui/calendar/CalendarGrid.vue +1 -0
- package/dist/runtime/components/ui/calendar/CalendarGridRow.vue +1 -0
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue +1 -0
- package/dist/runtime/components/ui/calendar/CalendarHeader.vue +1 -0
- package/dist/runtime/components/ui/calendar/CalendarHeading.vue +1 -0
- package/dist/runtime/components/ui/calendar/CalendarNextButton.vue +1 -0
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue +1 -0
- package/dist/runtime/components/ui/card/Card.vue +1 -0
- package/dist/runtime/components/ui/card/CardAction.vue +1 -0
- package/dist/runtime/components/ui/card/CardContent.vue +1 -0
- package/dist/runtime/components/ui/card/CardDescription.vue +1 -0
- package/dist/runtime/components/ui/card/CardFooter.vue +1 -0
- package/dist/runtime/components/ui/card/CardHeader.vue +1 -0
- package/dist/runtime/components/ui/card/CardTitle.vue +1 -0
- package/dist/runtime/components/ui/checkbox/Checkbox.d.vue.ts +5 -5
- package/dist/runtime/components/ui/checkbox/Checkbox.vue +1 -0
- package/dist/runtime/components/ui/checkbox/Checkbox.vue.d.ts +5 -5
- package/dist/runtime/components/ui/checkbox/index.d.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.d.vue.ts +4 -4
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +1 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +4 -4
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue +1 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue +1 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue +1 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +1 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.vue +1 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.vue +1 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.d.vue.ts +4 -4
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue +1 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +4 -4
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +1 -0
- package/dist/runtime/components/ui/input/Input.d.vue.ts +4 -4
- package/dist/runtime/components/ui/input/Input.vue +1 -0
- package/dist/runtime/components/ui/input/Input.vue.d.ts +4 -4
- package/dist/runtime/components/ui/label/Label.vue +1 -0
- package/dist/runtime/components/ui/multiselect/MultiSelect.d.vue.ts +1 -1
- package/dist/runtime/components/ui/multiselect/MultiSelect.vue +1 -0
- package/dist/runtime/components/ui/multiselect/MultiSelect.vue.d.ts +1 -1
- package/dist/runtime/components/ui/pagination/Pagination.vue +1 -0
- package/dist/runtime/components/ui/pagination/PaginationContent.vue +1 -0
- package/dist/runtime/components/ui/pagination/PaginationEllipsis.vue +1 -0
- package/dist/runtime/components/ui/pagination/PaginationFirst.vue +1 -0
- package/dist/runtime/components/ui/pagination/PaginationItem.vue +1 -0
- package/dist/runtime/components/ui/pagination/PaginationLast.vue +1 -0
- package/dist/runtime/components/ui/pagination/PaginationNext.vue +1 -0
- package/dist/runtime/components/ui/pagination/PaginationPrevious.vue +1 -0
- package/dist/runtime/components/ui/popover/PopoverContent.d.vue.ts +4 -4
- package/dist/runtime/components/ui/popover/PopoverContent.vue +1 -0
- package/dist/runtime/components/ui/popover/PopoverContent.vue.d.ts +4 -4
- package/dist/runtime/components/ui/progress/Progress.vue +1 -0
- package/dist/runtime/components/ui/resizable/ResizableHandle.vue +1 -0
- package/dist/runtime/components/ui/resizable/ResizablePanelGroup.vue +1 -0
- package/dist/runtime/components/ui/select/SelectContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/select/SelectContent.vue +1 -0
- package/dist/runtime/components/ui/select/SelectContent.vue.d.ts +2 -2
- package/dist/runtime/components/ui/select/SelectItem.vue +1 -0
- package/dist/runtime/components/ui/select/SelectLabel.vue +1 -0
- package/dist/runtime/components/ui/select/SelectScrollDownButton.vue +1 -0
- package/dist/runtime/components/ui/select/SelectScrollUpButton.vue +1 -0
- package/dist/runtime/components/ui/select/SelectSeparator.vue +1 -0
- package/dist/runtime/components/ui/select/SelectTrigger.vue +1 -0
- package/dist/runtime/components/ui/separator/Separator.vue +1 -0
- package/dist/runtime/components/ui/sheet/SheetContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/sheet/SheetContent.vue +1 -0
- package/dist/runtime/components/ui/sheet/SheetContent.vue.d.ts +2 -2
- package/dist/runtime/components/ui/sheet/SheetDescription.vue +1 -0
- package/dist/runtime/components/ui/sheet/SheetFooter.vue +1 -0
- package/dist/runtime/components/ui/sheet/SheetHeader.vue +1 -0
- package/dist/runtime/components/ui/sheet/SheetOverlay.vue +1 -0
- package/dist/runtime/components/ui/sheet/SheetTitle.vue +1 -0
- package/dist/runtime/components/ui/sidebar/Sidebar.vue +1 -0
- package/dist/runtime/components/ui/sidebar/SidebarContent.vue +1 -0
- package/dist/runtime/components/ui/sidebar/SidebarFooter.vue +1 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroup.vue +1 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupAction.vue +1 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupContent.vue +1 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.vue +1 -0
- package/dist/runtime/components/ui/sidebar/SidebarHeader.vue +1 -0
- package/dist/runtime/components/ui/sidebar/SidebarInput.vue +1 -0
- package/dist/runtime/components/ui/sidebar/SidebarInset.vue +1 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenu.vue +1 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue +1 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.vue +1 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButton.d.vue.ts +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuButton.vue.d.ts +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.d.vue.ts +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue +1 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuItem.vue +1 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue +1 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSub.vue +1 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue +1 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.vue +1 -0
- package/dist/runtime/components/ui/sidebar/SidebarProvider.vue +1 -0
- package/dist/runtime/components/ui/sidebar/SidebarRail.vue +1 -0
- package/dist/runtime/components/ui/sidebar/SidebarSeparator.vue +1 -0
- package/dist/runtime/components/ui/sidebar/SidebarTrigger.vue +1 -0
- package/dist/runtime/components/ui/skeleton/Skeleton.vue +1 -0
- package/dist/runtime/components/ui/sonner/Sonner.d.vue.ts +4 -4
- package/dist/runtime/components/ui/sonner/Sonner.vue.d.ts +4 -4
- package/dist/runtime/components/ui/stepper/Stepper.vue +1 -0
- package/dist/runtime/components/ui/stepper/StepperDescription.vue +1 -0
- package/dist/runtime/components/ui/stepper/StepperIndicator.vue +1 -0
- package/dist/runtime/components/ui/stepper/StepperItem.d.vue.ts +1 -1
- package/dist/runtime/components/ui/stepper/StepperItem.vue +1 -0
- package/dist/runtime/components/ui/stepper/StepperItem.vue.d.ts +1 -1
- package/dist/runtime/components/ui/stepper/StepperSeparator.vue +1 -0
- package/dist/runtime/components/ui/stepper/StepperTitle.vue +1 -0
- package/dist/runtime/components/ui/stepper/StepperTrigger.vue +1 -0
- package/dist/runtime/components/ui/switch/Switch.d.vue.ts +1 -1
- package/dist/runtime/components/ui/switch/Switch.vue +1 -0
- package/dist/runtime/components/ui/switch/Switch.vue.d.ts +1 -1
- package/dist/runtime/components/ui/switch/index.d.ts +1 -1
- package/dist/runtime/components/ui/table/Table.vue +1 -0
- package/dist/runtime/components/ui/table/TableBody.vue +1 -0
- package/dist/runtime/components/ui/table/TableCaption.vue +1 -0
- package/dist/runtime/components/ui/table/TableCell.vue +1 -0
- package/dist/runtime/components/ui/table/TableEmpty.vue +1 -0
- package/dist/runtime/components/ui/table/TableFooter.vue +1 -0
- package/dist/runtime/components/ui/table/TableHead.vue +1 -0
- package/dist/runtime/components/ui/table/TableHeader.vue +1 -0
- package/dist/runtime/components/ui/table/TableRow.vue +1 -0
- package/dist/runtime/components/ui/tabs/Tabs.vue +1 -0
- package/dist/runtime/components/ui/tabs/TabsContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/tabs/TabsContent.vue +1 -0
- package/dist/runtime/components/ui/tabs/TabsContent.vue.d.ts +2 -2
- package/dist/runtime/components/ui/tabs/TabsList.vue +1 -0
- package/dist/runtime/components/ui/tabs/TabsTrigger.d.vue.ts +2 -2
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue +1 -0
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue.d.ts +2 -2
- package/dist/runtime/components/ui/tags-input/TagsInput.d.vue.ts +2 -2
- package/dist/runtime/components/ui/tags-input/TagsInput.vue +1 -0
- package/dist/runtime/components/ui/tags-input/TagsInput.vue.d.ts +2 -2
- package/dist/runtime/components/ui/tags-input/TagsInputInput.vue +1 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItem.d.vue.ts +2 -2
- package/dist/runtime/components/ui/tags-input/TagsInputItem.vue +1 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItem.vue.d.ts +2 -2
- package/dist/runtime/components/ui/tags-input/TagsInputItemDelete.vue +1 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItemText.vue +1 -0
- package/dist/runtime/components/ui/textarea/Textarea.d.vue.ts +4 -4
- package/dist/runtime/components/ui/textarea/Textarea.vue +1 -0
- package/dist/runtime/components/ui/textarea/Textarea.vue.d.ts +4 -4
- package/dist/runtime/components/ui/toggle/Toggle.d.vue.ts +1 -1
- package/dist/runtime/components/ui/toggle/Toggle.vue +1 -0
- package/dist/runtime/components/ui/toggle/Toggle.vue.d.ts +1 -1
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.d.vue.ts +1 -1
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue +1 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue.d.ts +1 -1
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue +1 -0
- package/dist/runtime/components/ui/tooltip/TooltipContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/tooltip/TooltipContent.vue +1 -0
- package/dist/runtime/components/ui/tooltip/TooltipContent.vue.d.ts +2 -2
- package/dist/runtime/composables/useAPI.js +0 -1
- package/dist/runtime/core/timeline/Timeline.js +1 -0
- package/dist/runtime/layouts/development.vue +1 -0
- package/dist/runtime/layouts/presentation.vue +1 -0
- package/dist/runtime/pages/[...slug].vue +2 -0
- package/dist/runtime/pages/dev/[...slug].vue +2 -0
- package/dist/runtime/pages/info.vue +1 -0
- package/dist/runtime/pages/presentation/[...slug].vue +2 -0
- package/dist/runtime/server/api/auth/login.post.d.ts +3 -1
- package/dist/runtime/server/api/auth/login.post.js +2 -0
- package/dist/runtime/server/api/auth/logout.post.d.ts +3 -1
- package/dist/runtime/server/api/auth/logout.post.js +1 -0
- package/dist/runtime/server/api/auth/session.get.d.ts +3 -1
- package/dist/runtime/server/api/auth/session.get.js +1 -0
- package/dist/runtime/server/api/participants/[id]/private.patch.d.ts +3 -1
- package/dist/runtime/server/api/participants/[id]/private.patch.js +1 -0
- package/dist/runtime/server/api/participants/[id]/private.post.d.ts +3 -1
- package/dist/runtime/server/api/participants/[id]/private.post.js +1 -0
- package/dist/runtime/server/api/participants/[id].get.d.ts +3 -1
- package/dist/runtime/server/api/participants/[id].get.js +1 -0
- package/dist/runtime/server/api/participants/[id].patch.d.ts +3 -1
- package/dist/runtime/server/api/participants/[id].patch.js +1 -0
- package/dist/runtime/server/api/participants/index.post.d.ts +3 -1
- package/dist/runtime/server/api/participants/index.post.js +1 -0
- package/dist/runtime/server/api/qr.get.d.ts +1 -1
- package/dist/runtime/server/api/qr.get.js +1 -0
- package/dist/runtime/server/middleware/dev-auth.d.ts +1 -1
- package/dist/runtime/server/middleware/dev-auth.js +2 -0
- package/dist/runtime/server/plugins/migrate.d.ts +1 -1
- package/dist/runtime/server/plugins/migrate.js +1 -0
- package/package.json +4 -4
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineNuxtModule, createResolver, addServerScanDir, addServerImportsDir, addPlugin, addRouteMiddleware, addLayout, extendPages, addComponentsDir, addImports } from '@nuxt/kit';
|
|
1
|
+
import { defineNuxtModule, createResolver, addServerScanDir, addServerImportsDir, addVitePlugin, addPlugin, addRouteMiddleware, addLayout, extendPages, addComponentsDir, addImports } from '@nuxt/kit';
|
|
2
2
|
import { fileURLToPath } from 'node:url';
|
|
3
3
|
import tailwindcss from '@tailwindcss/vite';
|
|
4
4
|
import Icons from 'unplugin-icons/vite';
|
|
@@ -7,7 +7,7 @@ import IconsResolver from 'unplugin-icons/resolver';
|
|
|
7
7
|
|
|
8
8
|
const module$1 = defineNuxtModule({
|
|
9
9
|
meta: {
|
|
10
|
-
name: "@
|
|
10
|
+
name: "@nyuccl/smile",
|
|
11
11
|
configKey: "smile"
|
|
12
12
|
},
|
|
13
13
|
// Default configuration options of the Nuxt module
|
|
@@ -33,12 +33,24 @@ const module$1 = defineNuxtModule({
|
|
|
33
33
|
_nuxt.options.alias["#smile-dev"] = resolver.resolve("./runtime/components/dev");
|
|
34
34
|
_nuxt.options.vite.plugins = _nuxt.options.vite.plugins || [];
|
|
35
35
|
_nuxt.options.vite.plugins.push(tailwindcss());
|
|
36
|
-
|
|
36
|
+
addVitePlugin(Components({
|
|
37
37
|
resolvers: [IconsResolver()]
|
|
38
38
|
}));
|
|
39
|
-
|
|
40
|
-
compiler: "vue3"
|
|
39
|
+
addVitePlugin(Icons({
|
|
40
|
+
compiler: "vue3",
|
|
41
|
+
autoInstall: true
|
|
41
42
|
}));
|
|
43
|
+
_nuxt.options.vite.optimizeDeps = _nuxt.options.vite.optimizeDeps || {};
|
|
44
|
+
_nuxt.options.vite.optimizeDeps.include = _nuxt.options.vite.optimizeDeps.include || [];
|
|
45
|
+
_nuxt.options.vite.optimizeDeps.include.push(
|
|
46
|
+
"@nyuccl/smile > seedrandom",
|
|
47
|
+
"@nyuccl/smile > lodash",
|
|
48
|
+
"@nyuccl/smile > clipboard",
|
|
49
|
+
"@nyuccl/smile > crypto-js/sha256",
|
|
50
|
+
"@nyuccl/smile > crypto-js/enc-base64",
|
|
51
|
+
"@nyuccl/smile > json-stable-stringify",
|
|
52
|
+
"@nyuccl/smile > qrcode-svg"
|
|
53
|
+
);
|
|
42
54
|
_nuxt.options.css.push(resolver.resolve("./runtime/css/main.css"));
|
|
43
55
|
addPlugin(resolver.resolve("./runtime/plugins/store-sync.client"));
|
|
44
56
|
addPlugin(resolver.resolve("./runtime/plugins/seed.client"));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { onMounted, ref, onBeforeUnmount } from "vue";
|
|
3
3
|
import { animate } from "motion";
|
|
4
|
+
import useViewAPI from "../../composables/useViewAPI";
|
|
4
5
|
const api = useViewAPI();
|
|
5
6
|
let timer;
|
|
6
7
|
let clicked = false;
|
|
@@ -35,7 +36,7 @@ onBeforeUnmount(() => {
|
|
|
35
36
|
>
|
|
36
37
|
<img
|
|
37
38
|
ref="logo"
|
|
38
|
-
src="/brain.svg"
|
|
39
|
+
:src="'/brain.svg'"
|
|
39
40
|
width="220"
|
|
40
41
|
class="dark-aware-img"
|
|
41
42
|
>
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { reactive, computed, ref } from "vue";
|
|
3
|
+
import { cn } from "../../lib/utils";
|
|
3
4
|
import { CalendarIcon } from "lucide-vue-next";
|
|
5
|
+
import useViewAPI from "../../composables/useViewAPI";
|
|
4
6
|
const api = useViewAPI();
|
|
5
7
|
api.steps.append([{ id: "survey_page1" }, { id: "survey_page2" }, { id: "survey_page3" }]);
|
|
6
8
|
const isPopoverOpen = ref(false);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import useAPI from "../../composables/useAPI";
|
|
2
3
|
const api = useAPI();
|
|
3
4
|
const _props = defineProps({
|
|
4
5
|
estimated_time: {
|
|
@@ -50,7 +51,7 @@ const _props = defineProps({
|
|
|
50
51
|
<template #right>
|
|
51
52
|
<!-- Lab logo (hidden on smaller screens) -->
|
|
52
53
|
<img
|
|
53
|
-
src="
|
|
54
|
+
:src="'/brain.svg'"
|
|
54
55
|
width="220"
|
|
55
56
|
class="mb-4 hidden @xl:block"
|
|
56
57
|
>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import Clipboard from "clipboard";
|
|
3
3
|
import { onMounted, ref } from "vue";
|
|
4
|
+
import useAPI from "../../composables/useAPI";
|
|
4
5
|
const api = useAPI();
|
|
5
6
|
const alreadyCompleted = !!api.store.cookieState.completionCode;
|
|
6
7
|
const isUploading = ref(!alreadyCompleted);
|
|
@@ -3,6 +3,7 @@ import { ref, computed } from "vue";
|
|
|
3
3
|
import ResponsiveDeviceSelect from "./menu/ResponsiveDeviceSelect.vue";
|
|
4
4
|
import { useElementSize } from "@vueuse/core";
|
|
5
5
|
import { devicePresets } from "./devicePresets.js";
|
|
6
|
+
import useAPI from "../../composables/useAPI";
|
|
6
7
|
const api = useAPI();
|
|
7
8
|
const fullScreenDiv = ref(null);
|
|
8
9
|
const { width: _fullScreenWidth, height: _fullScreenHeight } = useElementSize(fullScreenDiv);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { reactive, computed, onMounted } from "vue";
|
|
3
3
|
import ConfigList from "./ConfigList.vue";
|
|
4
|
+
import useAPI from "../../../composables/useAPI";
|
|
4
5
|
const api = useAPI();
|
|
5
6
|
const browse_panels = reactive({ path: ["/", null, null] });
|
|
6
7
|
onMounted(() => {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { reactive, computed, onMounted } from "vue";
|
|
3
3
|
import DatabaseList from "./DatabaseList.vue";
|
|
4
|
+
import useAPI from "../../../composables/useAPI";
|
|
4
5
|
const api = useAPI();
|
|
5
6
|
const browse_panels = reactive({ path: ["/", null, null] });
|
|
6
7
|
onMounted(() => {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { computed } from "vue";
|
|
3
|
+
import useLog from "../../../stores/log";
|
|
4
|
+
import useAPI from "../../../composables/useAPI";
|
|
3
5
|
const api = useAPI();
|
|
4
6
|
const log = useLog();
|
|
5
7
|
const height_pct = computed(() => `${api.store.dev.consoleBarHeight - 55}px`);
|
|
@@ -158,7 +160,7 @@ function getBgClass(msg) {
|
|
|
158
160
|
<i-fa6-regular-clock v-else-if="msg.message.includes('TRIAL STEPPER')" />
|
|
159
161
|
<img
|
|
160
162
|
v-else-if="msg.message.includes('FIRESTORE')"
|
|
161
|
-
src="/
|
|
163
|
+
:src="'/firebase-bw.svg'"
|
|
162
164
|
width="15"
|
|
163
165
|
>
|
|
164
166
|
<i-fa6-solid-angle-right v-else />
|
|
@@ -199,7 +201,7 @@ function getBgClass(msg) {
|
|
|
199
201
|
<i-fa6-regular-clock v-else-if="msg.message.includes('TRIAL STEPPER')" />
|
|
200
202
|
<img
|
|
201
203
|
v-else-if="msg.message.includes('FIRESTORE')"
|
|
202
|
-
src="/
|
|
204
|
+
:src="'/firebase-bw.svg'"
|
|
203
205
|
width="15"
|
|
204
206
|
>
|
|
205
207
|
<i-fa6-solid-angle-right v-else />
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import ConsoleDatabaseBrowsePanel from "./ConsoleDatabaseBrowsePanel.vue";
|
|
3
3
|
import ConsoleLogPanel from "./ConsoleLogPanel.vue";
|
|
4
4
|
import ConsoleConfigPanel from "./ConsoleConfigPanel.vue";
|
|
5
|
+
import useAPI from "../../../composables/useAPI";
|
|
5
6
|
const api = useAPI();
|
|
6
7
|
</script>
|
|
7
8
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import ResponsiveDeviceSelect from "./ResponsiveDeviceSelect.vue";
|
|
3
3
|
import { devicePresets } from "../devicePresets.js";
|
|
4
|
+
import useAPI from "../../../composables/useAPI";
|
|
4
5
|
const api = useAPI();
|
|
5
6
|
const checkForMatchingPreset = () => {
|
|
6
7
|
for (const [key, preset] of Object.entries(devicePresets)) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { computed } from "vue";
|
|
3
3
|
import DevConfigPanel from "./DevConfigPanel.vue";
|
|
4
|
+
import useAPI from "../../../composables/useAPI";
|
|
4
5
|
const props = defineProps({
|
|
5
6
|
side: { type: String, required: false },
|
|
6
7
|
variant: { type: String, required: false },
|
|
@@ -11,6 +11,7 @@ import KeyCommandNotification from "./KeyCommandNotification.vue";
|
|
|
11
11
|
import LogoutButton from "../presentation/LogoutButton.vue";
|
|
12
12
|
import { ref } from "vue";
|
|
13
13
|
import { onKeyDown } from "@vueuse/core";
|
|
14
|
+
import useAPI from "../../../composables/useAPI";
|
|
14
15
|
const api = useAPI();
|
|
15
16
|
const showNotification = ref(false);
|
|
16
17
|
const notificationCommand = ref("");
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { computed } from "vue";
|
|
3
3
|
import RouteJumper from "./RouteJumper.vue";
|
|
4
|
+
import useAPI from "../../../composables/useAPI";
|
|
4
5
|
const api = useAPI();
|
|
5
6
|
const route = useRoute();
|
|
6
7
|
const isDevMode = computed(() => route.path.startsWith("/dev/") || route.path === "/dev");
|
|
@@ -5,6 +5,7 @@ import DatabaseStatusInfoPanel from "./DatabaseStatusInfoPanel.vue";
|
|
|
5
5
|
import RandomizationSidebarPanel from "./RandomizationSidebarPanel.vue";
|
|
6
6
|
import StudyInfoPanel from "./StudyInfoPanel.vue";
|
|
7
7
|
import AppProgressPanel from "./AppProgressPanel.vue";
|
|
8
|
+
import useAPI from "../../../composables/useAPI";
|
|
8
9
|
const api = useAPI();
|
|
9
10
|
</script>
|
|
10
11
|
|
|
@@ -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: (
|
|
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: (
|
|
19
|
+
type: (NumberConstructor | StringConstructor | ObjectConstructor | ArrayConstructor | BooleanConstructor | null)[];
|
|
20
20
|
required: true;
|
|
21
21
|
};
|
|
22
22
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -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: (
|
|
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: (
|
|
19
|
+
type: (NumberConstructor | StringConstructor | ObjectConstructor | ArrayConstructor | BooleanConstructor | null)[];
|
|
20
20
|
required: true;
|
|
21
21
|
};
|
|
22
22
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { ref, computed, watch } from "vue";
|
|
3
3
|
import StepNode from "./StepNode.vue";
|
|
4
4
|
import StepDataViewer from "./StepDataViewer.vue";
|
|
5
|
+
import useViewAPI from "../../../composables/useViewAPI";
|
|
5
6
|
const api = useViewAPI();
|
|
6
7
|
const stateMachine = computed(() => api.steps.visualize());
|
|
7
8
|
const _pathToString = (pathArray) => {
|
|
@@ -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;
|
|
@@ -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>;
|