@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.
- package/dist/module.json +1 -1
- package/dist/module.mjs +109 -21
- package/dist/runtime/components/builtins/AdvertisementView.d.vue.ts +13 -1
- package/dist/runtime/components/builtins/AdvertisementView.vue +7 -3
- package/dist/runtime/components/builtins/AdvertisementView.vue.d.ts +13 -1
- package/dist/runtime/components/builtins/DebriefView.vue +3 -1
- package/dist/runtime/components/builtins/DemographicSurveyView.vue +8 -6
- package/dist/runtime/components/builtins/DeviceSurveyView.vue +5 -3
- package/dist/runtime/components/builtins/ExpView.vue +4 -2
- package/dist/runtime/components/builtins/ExperimentStatusBar.vue +3 -0
- package/dist/runtime/components/builtins/FavoriteColor.vue +3 -1
- package/dist/runtime/components/builtins/FavoriteNumber.vue +3 -1
- package/dist/runtime/components/builtins/InformedConsentModal.vue +5 -3
- package/dist/runtime/components/builtins/InformedConsentView.vue +3 -2
- package/dist/runtime/components/builtins/InstructionsQuiz.vue +7 -5
- package/dist/runtime/components/builtins/InstructionsView.vue +5 -3
- package/dist/runtime/components/builtins/LocalDevBanner.vue +16 -0
- package/dist/runtime/components/builtins/MTurkRecruitView.vue +4 -3
- package/dist/runtime/components/builtins/PresentationModeView.vue +9 -8
- package/dist/runtime/components/builtins/StatusBar.vue +7 -4
- package/dist/runtime/components/builtins/StudyPreviewText.vue +12 -10
- package/dist/runtime/components/builtins/TaskFeedbackSurveyView.vue +3 -1
- package/dist/runtime/components/builtins/ThanksView.vue +22 -21
- package/dist/runtime/components/builtins/WindowSizerView.vue +5 -3
- package/dist/runtime/components/builtins/WithdrawModal.vue +9 -7
- package/dist/runtime/components/builtins/WithdrawView.vue +4 -2
- package/dist/runtime/components/dev/RecruitmentChooserView.vue +532 -224
- package/dist/runtime/components/dev/ResponsiveDeviceContainer.vue +17 -8
- package/dist/runtime/components/dev/SmileDevPresentationView.vue +83 -0
- package/dist/runtime/components/dev/console/ConfigList.vue +14 -11
- package/dist/runtime/components/dev/console/ConsoleConfigPanel.vue +28 -7
- package/dist/runtime/components/dev/console/ConsoleDatabaseBrowsePanel.vue +6 -4
- package/dist/runtime/components/dev/console/ConsoleLogPanel.vue +68 -23
- package/dist/runtime/components/dev/console/DatabaseList.vue +9 -7
- package/dist/runtime/components/dev/console/SmileDevConsole.vue +7 -5
- package/dist/runtime/components/dev/devicePresets.d.ts +4 -4
- package/dist/runtime/components/dev/devicePresets.js +4 -4
- package/dist/runtime/components/dev/menu/DevConfigPanel.vue +3 -1
- package/dist/runtime/components/dev/menu/ResponsiveDeviceSelect.vue +1 -0
- package/dist/runtime/components/dev/menu/SmileDevAppMenu.vue +27 -24
- package/dist/runtime/components/dev/navbar/ColorModeButton.vue +5 -3
- package/dist/runtime/components/dev/navbar/DatabaseButtonGroup.vue +8 -6
- package/dist/runtime/components/dev/navbar/FullScreenButton.vue +4 -2
- package/dist/runtime/components/dev/navbar/KeyCommandNotification.vue +1 -1
- package/dist/runtime/components/dev/navbar/PanelButtonGroup.d.vue.ts +3 -0
- package/dist/runtime/components/dev/navbar/PanelButtonGroup.vue +79 -0
- package/dist/runtime/components/dev/navbar/PanelButtonGroup.vue.d.ts +3 -0
- package/dist/runtime/components/dev/navbar/ReloadButton.vue +3 -1
- package/dist/runtime/components/dev/navbar/ResetButton.vue +3 -1
- package/dist/runtime/components/dev/navbar/RouteJumper.vue +9 -5
- package/dist/runtime/components/dev/navbar/SmileDevNavBar.vue +19 -27
- package/dist/runtime/components/dev/navbar/StepInfoButtonGroup.vue +5 -3
- package/dist/runtime/components/dev/navbar/ViewInfoButtonGroup.vue +13 -10
- package/dist/runtime/components/dev/presentation/DarkModeButton.vue +5 -3
- package/dist/runtime/components/dev/presentation/LogoutButton.vue +2 -1
- package/dist/runtime/components/dev/presentation/PresentationModeResetButton.vue +11 -2
- package/dist/runtime/components/dev/presentation/PresentationNavBar.d.vue.ts +13 -1
- package/dist/runtime/components/dev/presentation/PresentationNavBar.vue +13 -6
- package/dist/runtime/components/dev/presentation/PresentationNavBar.vue.d.ts +13 -1
- package/dist/runtime/components/dev/presentation/QRCodeButton.vue +4 -2
- package/dist/runtime/components/dev/sidebar/AppProgressPanel.vue +23 -21
- package/dist/runtime/components/dev/sidebar/ConfigurationVariablesPanel.vue +7 -5
- package/dist/runtime/components/dev/sidebar/DatabaseStatusInfoPanel.vue +27 -7
- package/dist/runtime/components/dev/sidebar/RandomizationSidebarPanel.vue +9 -5
- package/dist/runtime/components/dev/sidebar/SmileDevSideBar.vue +12 -5
- package/dist/runtime/components/dev/sidebar/StepDataViewer.d.vue.ts +2 -2
- package/dist/runtime/components/dev/sidebar/StepDataViewer.vue +1 -1
- package/dist/runtime/components/dev/sidebar/StepDataViewer.vue.d.ts +2 -2
- package/dist/runtime/components/dev/sidebar/StepExplorerPanel.vue +13 -8
- package/dist/runtime/components/dev/sidebar/StepNode.vue +7 -5
- package/dist/runtime/components/dev/sidebar/StudyInfoPanel.vue +3 -2
- 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 +1 -1
- 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/badge/index.d.ts +1 -1
- 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 +2 -2
- 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 +6 -6
- package/dist/runtime/components/ui/checkbox/Checkbox.vue +1 -0
- package/dist/runtime/components/ui/checkbox/Checkbox.vue.d.ts +6 -6
- package/dist/runtime/components/ui/checkbox/index.d.ts +2 -2
- 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 +3 -3
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue +1 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +3 -3
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue +1 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +1 -1
- 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 +3 -3
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue +1 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +3 -3
- 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 +2 -2
- package/dist/runtime/components/ui/popover/PopoverContent.vue +1 -0
- package/dist/runtime/components/ui/popover/PopoverContent.vue.d.ts +2 -2
- 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/ResizablePanel.d.vue.ts +1 -1
- package/dist/runtime/components/ui/resizable/ResizablePanel.vue.d.ts +1 -1
- package/dist/runtime/components/ui/resizable/ResizablePanelGroup.vue +1 -0
- package/dist/runtime/components/ui/select/Select.d.vue.ts +1 -1
- package/dist/runtime/components/ui/select/Select.vue.d.ts +1 -1
- 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 +1 -1
- package/dist/runtime/components/ui/sheet/SheetContent.vue +1 -0
- package/dist/runtime/components/ui/sheet/SheetContent.vue.d.ts +1 -1
- 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.d.vue.ts +1 -1
- package/dist/runtime/components/ui/sidebar/Sidebar.vue +1 -0
- package/dist/runtime/components/ui/sidebar/Sidebar.vue.d.ts +1 -1
- 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/sidebar/index.d.ts +1 -1
- 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 +2 -2
- package/dist/runtime/components/ui/switch/Switch.vue +1 -0
- package/dist/runtime/components/ui/switch/Switch.vue.d.ts +2 -2
- package/dist/runtime/components/ui/switch/index.d.ts +2 -2
- 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.d.vue.ts +1 -1
- package/dist/runtime/components/ui/tabs/TabsList.vue +1 -0
- package/dist/runtime/components/ui/tabs/TabsList.vue.d.ts +1 -1
- 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 +3 -3
- package/dist/runtime/components/ui/tags-input/TagsInput.vue +1 -0
- package/dist/runtime/components/ui/tags-input/TagsInput.vue.d.ts +3 -3
- 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 +2 -2
- package/dist/runtime/components/ui/toggle/Toggle.vue +1 -0
- package/dist/runtime/components/ui/toggle/Toggle.vue.d.ts +2 -2
- package/dist/runtime/components/ui/toggle/index.d.ts +1 -1
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.d.vue.ts +2 -2
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue +1 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue.d.ts +2 -2
- 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.d.ts +2 -2
- package/dist/runtime/composables/useAPI.js +6 -11
- package/dist/runtime/composables/useViewAPI.d.ts +1 -0
- package/dist/runtime/composables/useViewAPI.js +20 -4
- package/dist/runtime/composables/useWindowSizer.d.ts +14 -0
- package/dist/runtime/composables/useWindowSizer.js +48 -0
- package/dist/runtime/core/config.d.ts +78 -48
- package/dist/runtime/core/config.js +21 -27
- package/dist/runtime/core/stepper/Stepper.d.ts +13 -10
- package/dist/runtime/core/stepper/Stepper.js +70 -55
- package/dist/runtime/core/stepper/StepperSerializer.js +32 -14
- package/dist/runtime/core/timeline/Timeline.js +1 -2
- package/dist/runtime/css/main.css +1 -1
- package/dist/runtime/css/smile.css +1 -1
- package/dist/runtime/layouts/development.vue +38 -78
- package/dist/runtime/layouts/experiment.d.vue.ts +7 -10
- package/dist/runtime/layouts/experiment.vue +13 -0
- package/dist/runtime/layouts/experiment.vue.d.ts +7 -10
- package/dist/runtime/layouts/presentation.vue +24 -3
- package/dist/runtime/middleware/timeline.global.js +2 -4
- package/dist/runtime/pages/[...slug].vue +2 -0
- package/dist/runtime/pages/dev/[...slug].vue +2 -0
- package/dist/runtime/pages/dev-login.vue +5 -3
- package/dist/runtime/pages/presentation/[...slug].vue +2 -0
- package/dist/runtime/plugins/dev-sync.client.js +0 -2
- package/dist/runtime/plugins/seed.client.js +1 -3
- package/dist/runtime/plugins/store-sync.client.js +8 -10
- package/dist/runtime/public/images/helpus.png +0 -0
- package/dist/runtime/public/images/smile.svg +78 -0
- package/dist/runtime/public/images/universitylogo.png +0 -0
- package/dist/runtime/server/api/auth/login.post.js +11 -2
- package/dist/runtime/server/api/db-info.get.d.ts +5 -0
- package/dist/runtime/server/api/db-info.get.js +10 -0
- package/dist/runtime/server/api/qr.get.js +1 -2
- package/dist/runtime/server/middleware/dev-auth.js +10 -5
- package/dist/runtime/stores/log.js +4 -7
- package/dist/runtime/stores/smilestore.d.ts +161 -1014
- package/dist/runtime/stores/smilestore.js +39 -7
- package/dist/runtime/utils/utils.js +7 -0
- package/package.json +5 -3
- package/dist/runtime/components/dev/navbar/ViewButton.vue +0 -159
- package/dist/runtime/pages/info.vue +0 -462
- /package/dist/runtime/components/{dev/navbar/ViewButton.d.vue.ts → builtins/LocalDevBanner.d.vue.ts} +0 -0
- /package/dist/runtime/components/{dev/navbar/ViewButton.vue.d.ts → builtins/LocalDevBanner.vue.d.ts} +0 -0
- /package/dist/runtime/{pages/info.d.vue.ts → components/dev/SmileDevPresentationView.d.vue.ts} +0 -0
- /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: (
|
|
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>;
|
|
@@ -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
|
-
<
|
|
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
|
-
<
|
|
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
|
-
<
|
|
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
|
-
<
|
|
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
|
|
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
|
-
<
|
|
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><
|
|
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);
|
|
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 }} <
|
|
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
|
-
<
|
|
65
|
+
<Leaf
|
|
65
66
|
v-else-if="state.isLeaf"
|
|
66
|
-
class="
|
|
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
|
|
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
|
|
12
|
+
<div class="w-full bg-muted">
|
|
12
13
|
<p
|
|
13
|
-
class="text-xs font-mono py-2 px-3
|
|
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-
|
|
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,4 @@
|
|
|
1
1
|
export { default as Badge } from "./Badge.vue.js";
|
|
2
2
|
export const badgeVariants: (props?: ({
|
|
3
|
-
variant?: "default" | "
|
|
3
|
+
variant?: "default" | "secondary" | "outline" | "destructive" | null | undefined;
|
|
4
4
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { default as Button } from "./Button.vue.js";
|
|
2
2
|
export const buttonVariants: (props?: ({
|
|
3
|
-
variant?: "
|
|
4
|
-
size?: "default" | "menu" | "
|
|
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;
|
|
@@ -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: (
|
|
9
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
10
10
|
required: false;
|
|
11
11
|
};
|
|
12
12
|
modelValue: {
|
|
13
|
-
type: (
|
|
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: (
|
|
62
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
63
63
|
required: false;
|
|
64
64
|
};
|
|
65
65
|
modelValue: {
|
|
66
|
-
type: (
|
|
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;
|
|
@@ -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: (
|
|
9
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
10
10
|
required: false;
|
|
11
11
|
};
|
|
12
12
|
modelValue: {
|
|
13
|
-
type: (
|
|
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: (
|
|
62
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
63
63
|
required: false;
|
|
64
64
|
};
|
|
65
65
|
modelValue: {
|
|
66
|
-
type: (
|
|
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?: "
|
|
4
|
-
size?: "default" | "
|
|
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;
|