@nyuccl/smile 0.2.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +50 -0
- package/dist/module.d.mts +8 -0
- package/dist/module.json +9 -0
- package/dist/module.mjs +102 -0
- package/dist/runtime/components/builtins/AdvertisementView.d.vue.ts +3 -0
- package/dist/runtime/components/builtins/AdvertisementView.vue +62 -0
- package/dist/runtime/components/builtins/AdvertisementView.vue.d.ts +3 -0
- package/dist/runtime/components/builtins/DebriefView.d.vue.ts +22 -0
- package/dist/runtime/components/builtins/DebriefView.vue +43 -0
- package/dist/runtime/components/builtins/DebriefView.vue.d.ts +22 -0
- package/dist/runtime/components/builtins/DemographicSurveyView.d.vue.ts +3 -0
- package/dist/runtime/components/builtins/DemographicSurveyView.vue +1206 -0
- package/dist/runtime/components/builtins/DemographicSurveyView.vue.d.ts +3 -0
- package/dist/runtime/components/builtins/DeviceSurveyView.d.vue.ts +3 -0
- package/dist/runtime/components/builtins/DeviceSurveyView.vue +452 -0
- package/dist/runtime/components/builtins/DeviceSurveyView.vue.d.ts +3 -0
- package/dist/runtime/components/builtins/ExpView.d.vue.ts +3 -0
- package/dist/runtime/components/builtins/ExpView.vue +39 -0
- package/dist/runtime/components/builtins/ExpView.vue.d.ts +3 -0
- package/dist/runtime/components/builtins/ExperimentStatusBar.d.vue.ts +3 -0
- package/dist/runtime/components/builtins/ExperimentStatusBar.vue +12 -0
- package/dist/runtime/components/builtins/ExperimentStatusBar.vue.d.ts +3 -0
- package/dist/runtime/components/builtins/FavoriteColor.d.vue.ts +3 -0
- package/dist/runtime/components/builtins/FavoriteColor.vue +57 -0
- package/dist/runtime/components/builtins/FavoriteColor.vue.d.ts +3 -0
- package/dist/runtime/components/builtins/FavoriteNumber.d.vue.ts +3 -0
- package/dist/runtime/components/builtins/FavoriteNumber.vue +57 -0
- package/dist/runtime/components/builtins/FavoriteNumber.vue.d.ts +3 -0
- package/dist/runtime/components/builtins/InformedConsentModal.d.vue.ts +28 -0
- package/dist/runtime/components/builtins/InformedConsentModal.vue +82 -0
- package/dist/runtime/components/builtins/InformedConsentModal.vue.d.ts +28 -0
- package/dist/runtime/components/builtins/InformedConsentView.d.vue.ts +13 -0
- package/dist/runtime/components/builtins/InformedConsentView.vue +127 -0
- package/dist/runtime/components/builtins/InformedConsentView.vue.d.ts +13 -0
- package/dist/runtime/components/builtins/InstructionsQuiz.d.vue.ts +36 -0
- package/dist/runtime/components/builtins/InstructionsQuiz.vue +274 -0
- package/dist/runtime/components/builtins/InstructionsQuiz.vue.d.ts +36 -0
- package/dist/runtime/components/builtins/InstructionsView.d.vue.ts +3 -0
- package/dist/runtime/components/builtins/InstructionsView.vue +58 -0
- package/dist/runtime/components/builtins/InstructionsView.vue.d.ts +3 -0
- package/dist/runtime/components/builtins/MTurkRecruitView.d.vue.ts +21 -0
- package/dist/runtime/components/builtins/MTurkRecruitView.vue +137 -0
- package/dist/runtime/components/builtins/MTurkRecruitView.vue.d.ts +21 -0
- package/dist/runtime/components/builtins/PresentationModeView.d.vue.ts +93 -0
- package/dist/runtime/components/builtins/PresentationModeView.vue +254 -0
- package/dist/runtime/components/builtins/PresentationModeView.vue.d.ts +93 -0
- package/dist/runtime/components/builtins/StatusBar.d.vue.ts +3 -0
- package/dist/runtime/components/builtins/StatusBar.vue +128 -0
- package/dist/runtime/components/builtins/StatusBar.vue.d.ts +3 -0
- package/dist/runtime/components/builtins/StudyPreviewText.d.vue.ts +21 -0
- package/dist/runtime/components/builtins/StudyPreviewText.vue +102 -0
- package/dist/runtime/components/builtins/StudyPreviewText.vue.d.ts +21 -0
- package/dist/runtime/components/builtins/TaskFeedbackSurveyView.d.vue.ts +3 -0
- package/dist/runtime/components/builtins/TaskFeedbackSurveyView.vue +203 -0
- package/dist/runtime/components/builtins/TaskFeedbackSurveyView.vue.d.ts +3 -0
- package/dist/runtime/components/builtins/ThanksView.d.vue.ts +3 -0
- package/dist/runtime/components/builtins/ThanksView.vue +451 -0
- package/dist/runtime/components/builtins/ThanksView.vue.d.ts +3 -0
- package/dist/runtime/components/builtins/WindowSizerView.d.vue.ts +7 -0
- package/dist/runtime/components/builtins/WindowSizerView.vue +94 -0
- package/dist/runtime/components/builtins/WindowSizerView.vue.d.ts +7 -0
- package/dist/runtime/components/builtins/WithdrawModal.d.vue.ts +56 -0
- package/dist/runtime/components/builtins/WithdrawModal.vue +208 -0
- package/dist/runtime/components/builtins/WithdrawModal.vue.d.ts +56 -0
- package/dist/runtime/components/builtins/WithdrawView.d.vue.ts +3 -0
- package/dist/runtime/components/builtins/WithdrawView.vue +99 -0
- package/dist/runtime/components/builtins/WithdrawView.vue.d.ts +3 -0
- package/dist/runtime/components/dev/RecruitmentChooserView.d.vue.ts +3 -0
- package/dist/runtime/components/dev/RecruitmentChooserView.vue +258 -0
- package/dist/runtime/components/dev/RecruitmentChooserView.vue.d.ts +3 -0
- package/dist/runtime/components/dev/ResponsiveDeviceContainer.d.vue.ts +12 -0
- package/dist/runtime/components/dev/ResponsiveDeviceContainer.vue +215 -0
- package/dist/runtime/components/dev/ResponsiveDeviceContainer.vue.d.ts +12 -0
- package/dist/runtime/components/dev/console/ConfigList.d.vue.ts +26 -0
- package/dist/runtime/components/dev/console/ConfigList.vue +106 -0
- package/dist/runtime/components/dev/console/ConfigList.vue.d.ts +26 -0
- package/dist/runtime/components/dev/console/ConsoleConfigPanel.d.vue.ts +3 -0
- package/dist/runtime/components/dev/console/ConsoleConfigPanel.vue +135 -0
- package/dist/runtime/components/dev/console/ConsoleConfigPanel.vue.d.ts +3 -0
- package/dist/runtime/components/dev/console/ConsoleDatabaseBrowsePanel.d.vue.ts +3 -0
- package/dist/runtime/components/dev/console/ConsoleDatabaseBrowsePanel.vue +124 -0
- package/dist/runtime/components/dev/console/ConsoleDatabaseBrowsePanel.vue.d.ts +3 -0
- package/dist/runtime/components/dev/console/ConsoleLogPanel.d.vue.ts +3 -0
- package/dist/runtime/components/dev/console/ConsoleLogPanel.vue +227 -0
- package/dist/runtime/components/dev/console/ConsoleLogPanel.vue.d.ts +3 -0
- package/dist/runtime/components/dev/console/DatabaseList.d.vue.ts +26 -0
- package/dist/runtime/components/dev/console/DatabaseList.vue +110 -0
- package/dist/runtime/components/dev/console/DatabaseList.vue.d.ts +26 -0
- package/dist/runtime/components/dev/console/SmileDevConsole.d.vue.ts +3 -0
- package/dist/runtime/components/dev/console/SmileDevConsole.vue +117 -0
- package/dist/runtime/components/dev/console/SmileDevConsole.vue.d.ts +3 -0
- package/dist/runtime/components/dev/devicePresets.d.ts +91 -0
- package/dist/runtime/components/dev/devicePresets.js +40 -0
- package/dist/runtime/components/dev/menu/DevConfigPanel.d.vue.ts +3 -0
- package/dist/runtime/components/dev/menu/DevConfigPanel.vue +178 -0
- package/dist/runtime/components/dev/menu/DevConfigPanel.vue.d.ts +3 -0
- package/dist/runtime/components/dev/menu/ResponsiveDeviceSelect.d.vue.ts +3 -0
- package/dist/runtime/components/dev/menu/ResponsiveDeviceSelect.vue +108 -0
- package/dist/runtime/components/dev/menu/ResponsiveDeviceSelect.vue.d.ts +3 -0
- package/dist/runtime/components/dev/menu/SmileDevAppMenu.d.vue.ts +62 -0
- package/dist/runtime/components/dev/menu/SmileDevAppMenu.vue +184 -0
- package/dist/runtime/components/dev/menu/SmileDevAppMenu.vue.d.ts +62 -0
- package/dist/runtime/components/dev/navbar/CircleProgress.d.vue.ts +15 -0
- package/dist/runtime/components/dev/navbar/CircleProgress.vue +26 -0
- package/dist/runtime/components/dev/navbar/CircleProgress.vue.d.ts +15 -0
- package/dist/runtime/components/dev/navbar/ColorModeButton.d.vue.ts +3 -0
- package/dist/runtime/components/dev/navbar/ColorModeButton.vue +33 -0
- package/dist/runtime/components/dev/navbar/ColorModeButton.vue.d.ts +3 -0
- package/dist/runtime/components/dev/navbar/DatabaseButtonGroup.d.vue.ts +3 -0
- package/dist/runtime/components/dev/navbar/DatabaseButtonGroup.vue +86 -0
- package/dist/runtime/components/dev/navbar/DatabaseButtonGroup.vue.d.ts +3 -0
- package/dist/runtime/components/dev/navbar/FullScreenButton.d.vue.ts +3 -0
- package/dist/runtime/components/dev/navbar/FullScreenButton.vue +35 -0
- package/dist/runtime/components/dev/navbar/FullScreenButton.vue.d.ts +3 -0
- package/dist/runtime/components/dev/navbar/KeyCommandNotification.d.vue.ts +41 -0
- package/dist/runtime/components/dev/navbar/KeyCommandNotification.vue +58 -0
- package/dist/runtime/components/dev/navbar/KeyCommandNotification.vue.d.ts +41 -0
- package/dist/runtime/components/dev/navbar/ReloadButton.d.vue.ts +3 -0
- package/dist/runtime/components/dev/navbar/ReloadButton.vue +23 -0
- package/dist/runtime/components/dev/navbar/ReloadButton.vue.d.ts +3 -0
- package/dist/runtime/components/dev/navbar/ResetButton.d.vue.ts +3 -0
- package/dist/runtime/components/dev/navbar/ResetButton.vue +23 -0
- package/dist/runtime/components/dev/navbar/ResetButton.vue.d.ts +3 -0
- package/dist/runtime/components/dev/navbar/RouteJumper.d.vue.ts +7 -0
- package/dist/runtime/components/dev/navbar/RouteJumper.vue +90 -0
- package/dist/runtime/components/dev/navbar/RouteJumper.vue.d.ts +7 -0
- package/dist/runtime/components/dev/navbar/SmileDevNavBar.d.vue.ts +3 -0
- package/dist/runtime/components/dev/navbar/SmileDevNavBar.vue +248 -0
- package/dist/runtime/components/dev/navbar/SmileDevNavBar.vue.d.ts +3 -0
- package/dist/runtime/components/dev/navbar/StepInfoButtonGroup.d.vue.ts +3 -0
- package/dist/runtime/components/dev/navbar/StepInfoButtonGroup.vue +63 -0
- package/dist/runtime/components/dev/navbar/StepInfoButtonGroup.vue.d.ts +3 -0
- package/dist/runtime/components/dev/navbar/ViewButton.d.vue.ts +3 -0
- package/dist/runtime/components/dev/navbar/ViewButton.vue +159 -0
- package/dist/runtime/components/dev/navbar/ViewButton.vue.d.ts +3 -0
- package/dist/runtime/components/dev/navbar/ViewInfoButtonGroup.d.vue.ts +3 -0
- package/dist/runtime/components/dev/navbar/ViewInfoButtonGroup.vue +147 -0
- package/dist/runtime/components/dev/navbar/ViewInfoButtonGroup.vue.d.ts +3 -0
- package/dist/runtime/components/dev/presentation/DarkModeButton.d.vue.ts +3 -0
- package/dist/runtime/components/dev/presentation/DarkModeButton.vue +43 -0
- package/dist/runtime/components/dev/presentation/DarkModeButton.vue.d.ts +3 -0
- package/dist/runtime/components/dev/presentation/LogoutButton.d.vue.ts +3 -0
- package/dist/runtime/components/dev/presentation/LogoutButton.vue +38 -0
- package/dist/runtime/components/dev/presentation/LogoutButton.vue.d.ts +3 -0
- package/dist/runtime/components/dev/presentation/PresentationModeResetButton.d.vue.ts +7 -0
- package/dist/runtime/components/dev/presentation/PresentationModeResetButton.vue +25 -0
- package/dist/runtime/components/dev/presentation/PresentationModeResetButton.vue.d.ts +7 -0
- package/dist/runtime/components/dev/presentation/PresentationNavBar.d.vue.ts +3 -0
- package/dist/runtime/components/dev/presentation/PresentationNavBar.vue +70 -0
- package/dist/runtime/components/dev/presentation/PresentationNavBar.vue.d.ts +3 -0
- package/dist/runtime/components/dev/presentation/QRCodeButton.d.vue.ts +3 -0
- package/dist/runtime/components/dev/presentation/QRCodeButton.vue +66 -0
- package/dist/runtime/components/dev/presentation/QRCodeButton.vue.d.ts +3 -0
- package/dist/runtime/components/dev/sidebar/AppProgressPanel.d.vue.ts +3 -0
- package/dist/runtime/components/dev/sidebar/AppProgressPanel.vue +125 -0
- package/dist/runtime/components/dev/sidebar/AppProgressPanel.vue.d.ts +3 -0
- package/dist/runtime/components/dev/sidebar/ConfigurationVariablesPanel.d.vue.ts +3 -0
- package/dist/runtime/components/dev/sidebar/ConfigurationVariablesPanel.vue +219 -0
- package/dist/runtime/components/dev/sidebar/ConfigurationVariablesPanel.vue.d.ts +3 -0
- package/dist/runtime/components/dev/sidebar/DatabaseStatusInfoPanel.d.vue.ts +3 -0
- package/dist/runtime/components/dev/sidebar/DatabaseStatusInfoPanel.vue +117 -0
- package/dist/runtime/components/dev/sidebar/DatabaseStatusInfoPanel.vue.d.ts +3 -0
- package/dist/runtime/components/dev/sidebar/RandomizationSidebarPanel.d.vue.ts +3 -0
- package/dist/runtime/components/dev/sidebar/RandomizationSidebarPanel.vue +151 -0
- package/dist/runtime/components/dev/sidebar/RandomizationSidebarPanel.vue.d.ts +3 -0
- package/dist/runtime/components/dev/sidebar/SmileDevSideBar.d.vue.ts +3 -0
- package/dist/runtime/components/dev/sidebar/SmileDevSideBar.vue +70 -0
- package/dist/runtime/components/dev/sidebar/SmileDevSideBar.vue.d.ts +3 -0
- package/dist/runtime/components/dev/sidebar/StepDataViewer.d.vue.ts +22 -0
- package/dist/runtime/components/dev/sidebar/StepDataViewer.vue +82 -0
- package/dist/runtime/components/dev/sidebar/StepDataViewer.vue.d.ts +22 -0
- package/dist/runtime/components/dev/sidebar/StepExplorerPanel.d.vue.ts +3 -0
- package/dist/runtime/components/dev/sidebar/StepExplorerPanel.vue +318 -0
- package/dist/runtime/components/dev/sidebar/StepExplorerPanel.vue.d.ts +3 -0
- package/dist/runtime/components/dev/sidebar/StepNode.d.vue.ts +84 -0
- package/dist/runtime/components/dev/sidebar/StepNode.vue +95 -0
- package/dist/runtime/components/dev/sidebar/StepNode.vue.d.ts +84 -0
- package/dist/runtime/components/dev/sidebar/StudyInfoPanel.d.vue.ts +3 -0
- package/dist/runtime/components/dev/sidebar/StudyInfoPanel.vue +17 -0
- package/dist/runtime/components/dev/sidebar/StudyInfoPanel.vue.d.ts +3 -0
- package/dist/runtime/components/forms/MonthYearDayPicker.d.vue.ts +240 -0
- package/dist/runtime/components/forms/MonthYearDayPicker.vue +191 -0
- package/dist/runtime/components/forms/MonthYearDayPicker.vue.d.ts +240 -0
- package/dist/runtime/components/layouts/CenteredContent.d.vue.ts +22 -0
- package/dist/runtime/components/layouts/CenteredContent.vue +14 -0
- package/dist/runtime/components/layouts/CenteredContent.vue.d.ts +22 -0
- package/dist/runtime/components/layouts/ConstrainedPage.d.vue.ts +55 -0
- package/dist/runtime/components/layouts/ConstrainedPage.vue +56 -0
- package/dist/runtime/components/layouts/ConstrainedPage.vue.d.ts +55 -0
- package/dist/runtime/components/layouts/ConstrainedTaskWindow.d.vue.ts +66 -0
- package/dist/runtime/components/layouts/ConstrainedTaskWindow.vue +73 -0
- package/dist/runtime/components/layouts/ConstrainedTaskWindow.vue.d.ts +66 -0
- package/dist/runtime/components/layouts/TitleTwoCol.d.vue.ts +61 -0
- package/dist/runtime/components/layouts/TitleTwoCol.vue +54 -0
- package/dist/runtime/components/layouts/TitleTwoCol.vue.d.ts +61 -0
- package/dist/runtime/components/layouts/TwoCol.d.vue.ts +59 -0
- package/dist/runtime/components/layouts/TwoCol.vue +51 -0
- package/dist/runtime/components/layouts/TwoCol.vue.d.ts +59 -0
- package/dist/runtime/components/layouts/index.d.ts +1 -0
- package/dist/runtime/components/layouts/index.js +5 -0
- package/dist/runtime/components/layouts/layoutUtils.d.ts +1 -0
- package/dist/runtime/components/layouts/layoutUtils.js +27 -0
- package/dist/runtime/components/ui/avatar/Avatar.d.vue.ts +20 -0
- package/dist/runtime/components/ui/avatar/Avatar.vue +15 -0
- package/dist/runtime/components/ui/avatar/Avatar.vue.d.ts +20 -0
- package/dist/runtime/components/ui/avatar/AvatarFallback.d.vue.ts +46 -0
- package/dist/runtime/components/ui/avatar/AvatarFallback.vue +21 -0
- package/dist/runtime/components/ui/avatar/AvatarFallback.vue.d.ts +46 -0
- package/dist/runtime/components/ui/avatar/AvatarImage.d.vue.ts +54 -0
- package/dist/runtime/components/ui/avatar/AvatarImage.vue +20 -0
- package/dist/runtime/components/ui/avatar/AvatarImage.vue.d.ts +54 -0
- package/dist/runtime/components/ui/avatar/index.d.ts +1 -0
- package/dist/runtime/components/ui/avatar/index.js +3 -0
- package/dist/runtime/components/ui/badge/Badge.d.vue.ts +46 -0
- package/dist/runtime/components/ui/badge/Badge.vue +22 -0
- package/dist/runtime/components/ui/badge/Badge.vue.d.ts +46 -0
- package/dist/runtime/components/ui/badge/index.d.ts +4 -0
- package/dist/runtime/components/ui/badge/index.js +21 -0
- package/dist/runtime/components/ui/breadcrumb/Breadcrumb.d.vue.ts +20 -0
- package/dist/runtime/components/ui/breadcrumb/Breadcrumb.vue +15 -0
- package/dist/runtime/components/ui/breadcrumb/Breadcrumb.vue.d.ts +20 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.d.vue.ts +20 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.vue +20 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.vue.d.ts +20 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.d.vue.ts +20 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.vue +14 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.vue.d.ts +20 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.d.vue.ts +41 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue +19 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +41 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.d.vue.ts +20 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.vue +14 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.vue.d.ts +20 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.d.vue.ts +20 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.vue +17 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.vue.d.ts +20 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.d.vue.ts +20 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.vue +19 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.vue.d.ts +20 -0
- package/dist/runtime/components/ui/breadcrumb/index.d.ts +1 -0
- package/dist/runtime/components/ui/breadcrumb/index.js +7 -0
- package/dist/runtime/components/ui/button/Button.d.vue.ts +57 -0
- package/dist/runtime/components/ui/button/Button.vue +22 -0
- package/dist/runtime/components/ui/button/Button.vue.d.ts +57 -0
- package/dist/runtime/components/ui/button/index.d.ts +5 -0
- package/dist/runtime/components/ui/button/index.js +60 -0
- package/dist/runtime/components/ui/button-group/ButtonGroup.d.vue.ts +85 -0
- package/dist/runtime/components/ui/button-group/ButtonGroup.vue +33 -0
- package/dist/runtime/components/ui/button-group/ButtonGroup.vue.d.ts +85 -0
- package/dist/runtime/components/ui/button-group/ButtonGroupItem.d.vue.ts +66 -0
- package/dist/runtime/components/ui/button-group/ButtonGroupItem.vue +38 -0
- package/dist/runtime/components/ui/button-group/ButtonGroupItem.vue.d.ts +66 -0
- package/dist/runtime/components/ui/button-group/index.d.ts +1 -0
- package/dist/runtime/components/ui/button-group/index.js +2 -0
- package/dist/runtime/components/ui/calendar/Calendar.d.vue.ts +237 -0
- package/dist/runtime/components/ui/calendar/Calendar.vue +103 -0
- package/dist/runtime/components/ui/calendar/Calendar.vue.d.ts +237 -0
- package/dist/runtime/components/ui/calendar/CalendarCell.d.vue.ts +46 -0
- package/dist/runtime/components/ui/calendar/CalendarCell.vue +27 -0
- package/dist/runtime/components/ui/calendar/CalendarCell.vue.d.ts +46 -0
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.d.vue.ts +57 -0
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue +39 -0
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue.d.ts +57 -0
- package/dist/runtime/components/ui/calendar/CalendarGrid.d.vue.ts +38 -0
- package/dist/runtime/components/ui/calendar/CalendarGrid.vue +21 -0
- package/dist/runtime/components/ui/calendar/CalendarGrid.vue.d.ts +38 -0
- package/dist/runtime/components/ui/calendar/CalendarGridBody.d.vue.ts +30 -0
- package/dist/runtime/components/ui/calendar/CalendarGridBody.vue +16 -0
- package/dist/runtime/components/ui/calendar/CalendarGridBody.vue.d.ts +30 -0
- package/dist/runtime/components/ui/calendar/CalendarGridHead.d.vue.ts +38 -0
- package/dist/runtime/components/ui/calendar/CalendarGridHead.vue +17 -0
- package/dist/runtime/components/ui/calendar/CalendarGridHead.vue.d.ts +38 -0
- package/dist/runtime/components/ui/calendar/CalendarGridRow.d.vue.ts +38 -0
- package/dist/runtime/components/ui/calendar/CalendarGridRow.vue +21 -0
- package/dist/runtime/components/ui/calendar/CalendarGridRow.vue.d.ts +38 -0
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.d.vue.ts +38 -0
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue +21 -0
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue.d.ts +38 -0
- package/dist/runtime/components/ui/calendar/CalendarHeader.d.vue.ts +38 -0
- package/dist/runtime/components/ui/calendar/CalendarHeader.vue +21 -0
- package/dist/runtime/components/ui/calendar/CalendarHeader.vue.d.ts +38 -0
- package/dist/runtime/components/ui/calendar/CalendarHeading.d.vue.ts +35 -0
- package/dist/runtime/components/ui/calendar/CalendarHeading.vue +25 -0
- package/dist/runtime/components/ui/calendar/CalendarHeading.vue.d.ts +35 -0
- package/dist/runtime/components/ui/calendar/CalendarNextButton.d.vue.ts +46 -0
- package/dist/runtime/components/ui/calendar/CalendarNextButton.vue +33 -0
- package/dist/runtime/components/ui/calendar/CalendarNextButton.vue.d.ts +46 -0
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.d.vue.ts +46 -0
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue +33 -0
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue.d.ts +46 -0
- package/dist/runtime/components/ui/calendar/index.d.ts +12 -0
- package/dist/runtime/components/ui/calendar/index.js +12 -0
- package/dist/runtime/components/ui/card/Card.d.vue.ts +20 -0
- package/dist/runtime/components/ui/card/Card.vue +14 -0
- package/dist/runtime/components/ui/card/Card.vue.d.ts +20 -0
- package/dist/runtime/components/ui/card/CardAction.d.vue.ts +20 -0
- package/dist/runtime/components/ui/card/CardAction.vue +14 -0
- package/dist/runtime/components/ui/card/CardAction.vue.d.ts +20 -0
- package/dist/runtime/components/ui/card/CardContent.d.vue.ts +20 -0
- package/dist/runtime/components/ui/card/CardContent.vue +14 -0
- package/dist/runtime/components/ui/card/CardContent.vue.d.ts +20 -0
- package/dist/runtime/components/ui/card/CardDescription.d.vue.ts +20 -0
- package/dist/runtime/components/ui/card/CardDescription.vue +14 -0
- package/dist/runtime/components/ui/card/CardDescription.vue.d.ts +20 -0
- package/dist/runtime/components/ui/card/CardFooter.d.vue.ts +20 -0
- package/dist/runtime/components/ui/card/CardFooter.vue +14 -0
- package/dist/runtime/components/ui/card/CardFooter.vue.d.ts +20 -0
- package/dist/runtime/components/ui/card/CardHeader.d.vue.ts +20 -0
- package/dist/runtime/components/ui/card/CardHeader.vue +19 -0
- package/dist/runtime/components/ui/card/CardHeader.vue.d.ts +20 -0
- package/dist/runtime/components/ui/card/CardTitle.d.vue.ts +20 -0
- package/dist/runtime/components/ui/card/CardTitle.vue +14 -0
- package/dist/runtime/components/ui/card/CardTitle.vue.d.ts +20 -0
- package/dist/runtime/components/ui/card/index.d.ts +1 -0
- package/dist/runtime/components/ui/card/index.js +7 -0
- package/dist/runtime/components/ui/checkbox/Checkbox.d.vue.ts +122 -0
- package/dist/runtime/components/ui/checkbox/Checkbox.vue +51 -0
- package/dist/runtime/components/ui/checkbox/Checkbox.vue.d.ts +122 -0
- package/dist/runtime/components/ui/checkbox/index.d.ts +5 -0
- package/dist/runtime/components/ui/checkbox/index.js +35 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.d.vue.ts +52 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue +20 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +52 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.d.vue.ts +69 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +36 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +69 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.d.vue.ts +195 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue +46 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +195 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuGroup.d.vue.ts +30 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuGroup.vue +16 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +30 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.d.vue.ts +75 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue +32 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +75 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.d.vue.ts +47 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue +23 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +47 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.d.vue.ts +42 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +19 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +42 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.d.vue.ts +67 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +36 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +67 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.d.vue.ts +31 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.vue +18 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +31 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.d.vue.ts +20 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.vue +14 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +20 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.d.vue.ts +35 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.vue +18 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +35 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.d.vue.ts +180 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue +50 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +180 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.d.vue.ts +64 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +31 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +64 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.d.vue.ts +39 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue +18 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +39 -0
- package/dist/runtime/components/ui/dropdown-menu/index.d.ts +1 -0
- package/dist/runtime/components/ui/dropdown-menu/index.js +16 -0
- package/dist/runtime/components/ui/input/Input.d.vue.ts +33 -0
- package/dist/runtime/components/ui/input/Input.vue +28 -0
- package/dist/runtime/components/ui/input/Input.vue.d.ts +33 -0
- package/dist/runtime/components/ui/input/index.d.ts +1 -0
- package/dist/runtime/components/ui/input/index.js +1 -0
- package/dist/runtime/components/ui/label/Label.d.vue.ts +46 -0
- package/dist/runtime/components/ui/label/Label.vue +26 -0
- package/dist/runtime/components/ui/label/Label.vue.d.ts +46 -0
- package/dist/runtime/components/ui/label/index.d.ts +1 -0
- package/dist/runtime/components/ui/label/index.js +1 -0
- package/dist/runtime/components/ui/multiselect/MultiSelect.d.vue.ts +80 -0
- package/dist/runtime/components/ui/multiselect/MultiSelect.vue +98 -0
- package/dist/runtime/components/ui/multiselect/MultiSelect.vue.d.ts +80 -0
- package/dist/runtime/components/ui/multiselect/index.d.ts +1 -0
- package/dist/runtime/components/ui/multiselect/index.js +1 -0
- package/dist/runtime/components/ui/pagination/Pagination.d.vue.ts +103 -0
- package/dist/runtime/components/ui/pagination/Pagination.vue +30 -0
- package/dist/runtime/components/ui/pagination/Pagination.vue.d.ts +103 -0
- package/dist/runtime/components/ui/pagination/PaginationContent.d.vue.ts +45 -0
- package/dist/runtime/components/ui/pagination/PaginationContent.vue +21 -0
- package/dist/runtime/components/ui/pagination/PaginationContent.vue.d.ts +45 -0
- package/dist/runtime/components/ui/pagination/PaginationEllipsis.d.vue.ts +38 -0
- package/dist/runtime/components/ui/pagination/PaginationEllipsis.vue +24 -0
- package/dist/runtime/components/ui/pagination/PaginationEllipsis.vue.d.ts +38 -0
- package/dist/runtime/components/ui/pagination/PaginationFirst.d.vue.ts +49 -0
- package/dist/runtime/components/ui/pagination/PaginationFirst.vue +27 -0
- package/dist/runtime/components/ui/pagination/PaginationFirst.vue.d.ts +49 -0
- package/dist/runtime/components/ui/pagination/PaginationItem.d.vue.ts +66 -0
- package/dist/runtime/components/ui/pagination/PaginationItem.vue +32 -0
- package/dist/runtime/components/ui/pagination/PaginationItem.vue.d.ts +66 -0
- package/dist/runtime/components/ui/pagination/PaginationLast.d.vue.ts +49 -0
- package/dist/runtime/components/ui/pagination/PaginationLast.vue +27 -0
- package/dist/runtime/components/ui/pagination/PaginationLast.vue.d.ts +49 -0
- package/dist/runtime/components/ui/pagination/PaginationNext.d.vue.ts +49 -0
- package/dist/runtime/components/ui/pagination/PaginationNext.vue +27 -0
- package/dist/runtime/components/ui/pagination/PaginationNext.vue.d.ts +49 -0
- package/dist/runtime/components/ui/pagination/PaginationPrevious.d.vue.ts +49 -0
- package/dist/runtime/components/ui/pagination/PaginationPrevious.vue +27 -0
- package/dist/runtime/components/ui/pagination/PaginationPrevious.vue.d.ts +49 -0
- package/dist/runtime/components/ui/pagination/index.d.ts +1 -0
- package/dist/runtime/components/ui/pagination/index.js +8 -0
- package/dist/runtime/components/ui/popover/Popover.d.vue.ts +44 -0
- package/dist/runtime/components/ui/popover/Popover.vue +19 -0
- package/dist/runtime/components/ui/popover/Popover.vue.d.ts +44 -0
- package/dist/runtime/components/ui/popover/PopoverAnchor.d.vue.ts +38 -0
- package/dist/runtime/components/ui/popover/PopoverAnchor.vue +17 -0
- package/dist/runtime/components/ui/popover/PopoverAnchor.vue.d.ts +38 -0
- package/dist/runtime/components/ui/popover/PopoverContent.d.vue.ts +200 -0
- package/dist/runtime/components/ui/popover/PopoverContent.vue +56 -0
- package/dist/runtime/components/ui/popover/PopoverContent.vue.d.ts +200 -0
- package/dist/runtime/components/ui/popover/PopoverTrigger.d.vue.ts +30 -0
- package/dist/runtime/components/ui/popover/PopoverTrigger.vue +16 -0
- package/dist/runtime/components/ui/popover/PopoverTrigger.vue.d.ts +30 -0
- package/dist/runtime/components/ui/popover/index.d.ts +1 -0
- package/dist/runtime/components/ui/popover/index.js +4 -0
- package/dist/runtime/components/ui/progress/Progress.d.vue.ts +66 -0
- package/dist/runtime/components/ui/progress/Progress.vue +28 -0
- package/dist/runtime/components/ui/progress/Progress.vue.d.ts +66 -0
- package/dist/runtime/components/ui/progress/index.d.ts +1 -0
- package/dist/runtime/components/ui/progress/index.js +1 -0
- package/dist/runtime/components/ui/resizable/ResizableHandle.d.vue.ts +77 -0
- package/dist/runtime/components/ui/resizable/ResizableHandle.vue +37 -0
- package/dist/runtime/components/ui/resizable/ResizableHandle.vue.d.ts +77 -0
- package/dist/runtime/components/ui/resizable/ResizablePanel.d.vue.ts +101 -0
- package/dist/runtime/components/ui/resizable/ResizablePanel.vue +50 -0
- package/dist/runtime/components/ui/resizable/ResizablePanel.vue.d.ts +101 -0
- package/dist/runtime/components/ui/resizable/ResizablePanelGroup.d.vue.ts +82 -0
- package/dist/runtime/components/ui/resizable/ResizablePanelGroup.vue +27 -0
- package/dist/runtime/components/ui/resizable/ResizablePanelGroup.vue.d.ts +82 -0
- package/dist/runtime/components/ui/resizable/index.d.ts +1 -0
- package/dist/runtime/components/ui/resizable/index.js +3 -0
- package/dist/runtime/components/ui/select/Select.d.vue.ts +112 -0
- package/dist/runtime/components/ui/select/Select.vue +27 -0
- package/dist/runtime/components/ui/select/Select.vue.d.ts +112 -0
- package/dist/runtime/components/ui/select/SelectContent.d.vue.ts +199 -0
- package/dist/runtime/components/ui/select/SelectContent.vue +65 -0
- package/dist/runtime/components/ui/select/SelectContent.vue.d.ts +199 -0
- package/dist/runtime/components/ui/select/SelectGroup.d.vue.ts +30 -0
- package/dist/runtime/components/ui/select/SelectGroup.vue +16 -0
- package/dist/runtime/components/ui/select/SelectGroup.vue.d.ts +30 -0
- package/dist/runtime/components/ui/select/SelectItem.d.vue.ts +63 -0
- package/dist/runtime/components/ui/select/SelectItem.vue +38 -0
- package/dist/runtime/components/ui/select/SelectItem.vue.d.ts +63 -0
- package/dist/runtime/components/ui/select/SelectItemText.d.vue.ts +30 -0
- package/dist/runtime/components/ui/select/SelectItemText.vue +16 -0
- package/dist/runtime/components/ui/select/SelectItemText.vue.d.ts +30 -0
- package/dist/runtime/components/ui/select/SelectLabel.d.vue.ts +46 -0
- package/dist/runtime/components/ui/select/SelectLabel.vue +18 -0
- package/dist/runtime/components/ui/select/SelectLabel.vue.d.ts +46 -0
- package/dist/runtime/components/ui/select/SelectScrollDownButton.d.vue.ts +38 -0
- package/dist/runtime/components/ui/select/SelectScrollDownButton.vue +24 -0
- package/dist/runtime/components/ui/select/SelectScrollDownButton.vue.d.ts +38 -0
- package/dist/runtime/components/ui/select/SelectScrollUpButton.d.vue.ts +38 -0
- package/dist/runtime/components/ui/select/SelectScrollUpButton.vue +24 -0
- package/dist/runtime/components/ui/select/SelectScrollUpButton.vue.d.ts +38 -0
- package/dist/runtime/components/ui/select/SelectSeparator.d.vue.ts +31 -0
- package/dist/runtime/components/ui/select/SelectSeparator.vue +18 -0
- package/dist/runtime/components/ui/select/SelectSeparator.vue.d.ts +31 -0
- package/dist/runtime/components/ui/select/SelectTrigger.d.vue.ts +66 -0
- package/dist/runtime/components/ui/select/SelectTrigger.vue +34 -0
- package/dist/runtime/components/ui/select/SelectTrigger.vue.d.ts +66 -0
- package/dist/runtime/components/ui/select/SelectValue.d.vue.ts +38 -0
- package/dist/runtime/components/ui/select/SelectValue.vue +17 -0
- package/dist/runtime/components/ui/select/SelectValue.vue.d.ts +38 -0
- package/dist/runtime/components/ui/select/index.d.ts +11 -0
- package/dist/runtime/components/ui/select/index.js +11 -0
- package/dist/runtime/components/ui/separator/Separator.d.vue.ts +53 -0
- package/dist/runtime/components/ui/separator/Separator.vue +25 -0
- package/dist/runtime/components/ui/separator/Separator.vue.d.ts +53 -0
- package/dist/runtime/components/ui/separator/index.d.ts +1 -0
- package/dist/runtime/components/ui/separator/index.js +1 -0
- package/dist/runtime/components/ui/sheet/Sheet.d.vue.ts +44 -0
- package/dist/runtime/components/ui/sheet/Sheet.vue +19 -0
- package/dist/runtime/components/ui/sheet/Sheet.vue.d.ts +44 -0
- package/dist/runtime/components/ui/sheet/SheetClose.d.vue.ts +30 -0
- package/dist/runtime/components/ui/sheet/SheetClose.vue +16 -0
- package/dist/runtime/components/ui/sheet/SheetClose.vue.d.ts +30 -0
- package/dist/runtime/components/ui/sheet/SheetContent.d.vue.ts +90 -0
- package/dist/runtime/components/ui/sheet/SheetContent.vue +61 -0
- package/dist/runtime/components/ui/sheet/SheetContent.vue.d.ts +90 -0
- package/dist/runtime/components/ui/sheet/SheetDescription.d.vue.ts +38 -0
- package/dist/runtime/components/ui/sheet/SheetDescription.vue +20 -0
- package/dist/runtime/components/ui/sheet/SheetDescription.vue.d.ts +38 -0
- package/dist/runtime/components/ui/sheet/SheetFooter.d.vue.ts +20 -0
- package/dist/runtime/components/ui/sheet/SheetFooter.vue +14 -0
- package/dist/runtime/components/ui/sheet/SheetFooter.vue.d.ts +20 -0
- package/dist/runtime/components/ui/sheet/SheetHeader.d.vue.ts +20 -0
- package/dist/runtime/components/ui/sheet/SheetHeader.vue +14 -0
- package/dist/runtime/components/ui/sheet/SheetHeader.vue.d.ts +20 -0
- package/dist/runtime/components/ui/sheet/SheetOverlay.d.vue.ts +47 -0
- package/dist/runtime/components/ui/sheet/SheetOverlay.vue +26 -0
- package/dist/runtime/components/ui/sheet/SheetOverlay.vue.d.ts +47 -0
- package/dist/runtime/components/ui/sheet/SheetTitle.d.vue.ts +38 -0
- package/dist/runtime/components/ui/sheet/SheetTitle.vue +20 -0
- package/dist/runtime/components/ui/sheet/SheetTitle.vue.d.ts +38 -0
- package/dist/runtime/components/ui/sheet/SheetTrigger.d.vue.ts +30 -0
- package/dist/runtime/components/ui/sheet/SheetTrigger.vue +16 -0
- package/dist/runtime/components/ui/sheet/SheetTrigger.vue.d.ts +30 -0
- package/dist/runtime/components/ui/sheet/index.d.ts +1 -0
- package/dist/runtime/components/ui/sheet/index.js +8 -0
- package/dist/runtime/components/ui/sidebar/Sidebar.d.vue.ts +58 -0
- package/dist/runtime/components/ui/sidebar/Sidebar.vue +97 -0
- package/dist/runtime/components/ui/sidebar/Sidebar.vue.d.ts +58 -0
- package/dist/runtime/components/ui/sidebar/SidebarContent.d.vue.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarContent.vue +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarContent.vue.d.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarFooter.d.vue.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarFooter.vue +15 -0
- package/dist/runtime/components/ui/sidebar/SidebarFooter.vue.d.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroup.d.vue.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroup.vue +15 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroup.vue.d.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupAction.d.vue.ts +38 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupAction.vue +27 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupAction.vue.d.ts +38 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupContent.d.vue.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupContent.vue +15 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupContent.vue.d.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.d.vue.ts +38 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.vue +26 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.vue.d.ts +38 -0
- package/dist/runtime/components/ui/sidebar/SidebarHeader.d.vue.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarHeader.vue +15 -0
- package/dist/runtime/components/ui/sidebar/SidebarHeader.vue.d.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarInput.d.vue.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarInput.vue +15 -0
- package/dist/runtime/components/ui/sidebar/SidebarInput.vue.d.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarInset.d.vue.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarInset.vue +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarInset.vue.d.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenu.d.vue.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenu.vue +15 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenu.vue.d.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuAction.d.vue.ts +50 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue +33 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue.d.ts +50 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.d.vue.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.vue +25 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.vue.d.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButton.d.vue.ts +82 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButton.vue +49 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButton.vue.d.ts +82 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.d.vue.ts +72 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue +27 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +72 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuItem.d.vue.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuItem.vue +15 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuItem.vue.d.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.d.vue.ts +23 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue +30 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue.d.ts +23 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSub.d.vue.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSub.vue +21 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSub.vue.d.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.d.vue.ts +61 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue +33 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +61 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.d.vue.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.vue +15 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.vue.d.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarProvider.d.vue.ts +47 -0
- package/dist/runtime/components/ui/sidebar/SidebarProvider.vue +67 -0
- package/dist/runtime/components/ui/sidebar/SidebarProvider.vue.d.ts +47 -0
- package/dist/runtime/components/ui/sidebar/SidebarRail.d.vue.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarRail.vue +31 -0
- package/dist/runtime/components/ui/sidebar/SidebarRail.vue.d.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarSeparator.d.vue.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarSeparator.vue +15 -0
- package/dist/runtime/components/ui/sidebar/SidebarSeparator.vue.d.ts +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarTrigger.d.vue.ts +13 -0
- package/dist/runtime/components/ui/sidebar/SidebarTrigger.vue +22 -0
- package/dist/runtime/components/ui/sidebar/SidebarTrigger.vue.d.ts +13 -0
- package/dist/runtime/components/ui/sidebar/index.d.ts +28 -0
- package/dist/runtime/components/ui/sidebar/index.js +49 -0
- package/dist/runtime/components/ui/sidebar/utils.d.ts +8 -0
- package/dist/runtime/components/ui/sidebar/utils.js +10 -0
- package/dist/runtime/components/ui/skeleton/Skeleton.d.vue.ts +13 -0
- package/dist/runtime/components/ui/skeleton/Skeleton.vue +12 -0
- package/dist/runtime/components/ui/skeleton/Skeleton.vue.d.ts +13 -0
- package/dist/runtime/components/ui/skeleton/index.d.ts +1 -0
- package/dist/runtime/components/ui/skeleton/index.js +1 -0
- package/dist/runtime/components/ui/sonner/Sonner.d.vue.ts +162 -0
- package/dist/runtime/components/ui/sonner/Sonner.vue +36 -0
- package/dist/runtime/components/ui/sonner/Sonner.vue.d.ts +162 -0
- package/dist/runtime/components/ui/sonner/index.d.ts +1 -0
- package/dist/runtime/components/ui/sonner/index.js +1 -0
- package/dist/runtime/components/ui/stepper/Stepper.d.vue.ts +95 -0
- package/dist/runtime/components/ui/stepper/Stepper.vue +27 -0
- package/dist/runtime/components/ui/stepper/Stepper.vue.d.ts +95 -0
- package/dist/runtime/components/ui/stepper/StepperDescription.d.vue.ts +38 -0
- package/dist/runtime/components/ui/stepper/StepperDescription.vue +21 -0
- package/dist/runtime/components/ui/stepper/StepperDescription.vue.d.ts +38 -0
- package/dist/runtime/components/ui/stepper/StepperIndicator.d.vue.ts +38 -0
- package/dist/runtime/components/ui/stepper/StepperIndicator.vue +31 -0
- package/dist/runtime/components/ui/stepper/StepperIndicator.vue.d.ts +38 -0
- package/dist/runtime/components/ui/stepper/StepperItem.d.vue.ts +78 -0
- package/dist/runtime/components/ui/stepper/StepperItem.vue +42 -0
- package/dist/runtime/components/ui/stepper/StepperItem.vue.d.ts +78 -0
- package/dist/runtime/components/ui/stepper/StepperSeparator.d.vue.ts +48 -0
- package/dist/runtime/components/ui/stepper/StepperSeparator.vue +29 -0
- package/dist/runtime/components/ui/stepper/StepperSeparator.vue.d.ts +48 -0
- package/dist/runtime/components/ui/stepper/StepperTitle.d.vue.ts +38 -0
- package/dist/runtime/components/ui/stepper/StepperTitle.vue +20 -0
- package/dist/runtime/components/ui/stepper/StepperTitle.vue.d.ts +38 -0
- package/dist/runtime/components/ui/stepper/StepperTrigger.d.vue.ts +48 -0
- package/dist/runtime/components/ui/stepper/StepperTrigger.vue +37 -0
- package/dist/runtime/components/ui/stepper/StepperTrigger.vue.d.ts +48 -0
- package/dist/runtime/components/ui/stepper/index.d.ts +1 -0
- package/dist/runtime/components/ui/stepper/index.js +7 -0
- package/dist/runtime/components/ui/switch/Switch.d.vue.ts +123 -0
- package/dist/runtime/components/ui/switch/Switch.vue +69 -0
- package/dist/runtime/components/ui/switch/Switch.vue.d.ts +123 -0
- package/dist/runtime/components/ui/switch/index.d.ts +5 -0
- package/dist/runtime/components/ui/switch/index.js +33 -0
- package/dist/runtime/components/ui/table/Table.d.vue.ts +20 -0
- package/dist/runtime/components/ui/table/Table.vue +19 -0
- package/dist/runtime/components/ui/table/Table.vue.d.ts +20 -0
- package/dist/runtime/components/ui/table/TableBody.d.vue.ts +20 -0
- package/dist/runtime/components/ui/table/TableBody.vue +14 -0
- package/dist/runtime/components/ui/table/TableBody.vue.d.ts +20 -0
- package/dist/runtime/components/ui/table/TableCaption.d.vue.ts +20 -0
- package/dist/runtime/components/ui/table/TableCaption.vue +14 -0
- package/dist/runtime/components/ui/table/TableCaption.vue.d.ts +20 -0
- package/dist/runtime/components/ui/table/TableCell.d.vue.ts +20 -0
- package/dist/runtime/components/ui/table/TableCell.vue +19 -0
- package/dist/runtime/components/ui/table/TableCell.vue.d.ts +20 -0
- package/dist/runtime/components/ui/table/TableEmpty.d.vue.ts +32 -0
- package/dist/runtime/components/ui/table/TableEmpty.vue +23 -0
- package/dist/runtime/components/ui/table/TableEmpty.vue.d.ts +32 -0
- package/dist/runtime/components/ui/table/TableFooter.d.vue.ts +20 -0
- package/dist/runtime/components/ui/table/TableFooter.vue +14 -0
- package/dist/runtime/components/ui/table/TableFooter.vue.d.ts +20 -0
- package/dist/runtime/components/ui/table/TableHead.d.vue.ts +20 -0
- package/dist/runtime/components/ui/table/TableHead.vue +19 -0
- package/dist/runtime/components/ui/table/TableHead.vue.d.ts +20 -0
- package/dist/runtime/components/ui/table/TableHeader.d.vue.ts +20 -0
- package/dist/runtime/components/ui/table/TableHeader.vue +14 -0
- package/dist/runtime/components/ui/table/TableHeader.vue.d.ts +20 -0
- package/dist/runtime/components/ui/table/TableRow.d.vue.ts +20 -0
- package/dist/runtime/components/ui/table/TableRow.vue +14 -0
- package/dist/runtime/components/ui/table/TableRow.vue.d.ts +20 -0
- package/dist/runtime/components/ui/table/index.d.ts +1 -0
- package/dist/runtime/components/ui/table/index.js +9 -0
- package/dist/runtime/components/ui/table/utils.d.ts +1 -0
- package/dist/runtime/components/ui/table/utils.js +3 -0
- package/dist/runtime/components/ui/tabs/Tabs.d.vue.ts +91 -0
- package/dist/runtime/components/ui/tabs/Tabs.vue +28 -0
- package/dist/runtime/components/ui/tabs/Tabs.vue.d.ts +91 -0
- package/dist/runtime/components/ui/tabs/TabsContent.d.vue.ts +55 -0
- package/dist/runtime/components/ui/tabs/TabsContent.vue +22 -0
- package/dist/runtime/components/ui/tabs/TabsContent.vue.d.ts +55 -0
- package/dist/runtime/components/ui/tabs/TabsList.d.vue.ts +47 -0
- package/dist/runtime/components/ui/tabs/TabsList.vue +26 -0
- package/dist/runtime/components/ui/tabs/TabsList.vue.d.ts +47 -0
- package/dist/runtime/components/ui/tabs/TabsTrigger.d.vue.ts +55 -0
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue +28 -0
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue.d.ts +55 -0
- package/dist/runtime/components/ui/tabs/index.d.ts +1 -0
- package/dist/runtime/components/ui/tabs/index.js +4 -0
- package/dist/runtime/components/ui/tags-input/TagsInput.d.vue.ts +174 -0
- package/dist/runtime/components/ui/tags-input/TagsInput.vue +41 -0
- package/dist/runtime/components/ui/tags-input/TagsInput.vue.d.ts +174 -0
- package/dist/runtime/components/ui/tags-input/TagsInputInput.d.vue.ts +56 -0
- package/dist/runtime/components/ui/tags-input/TagsInputInput.vue +21 -0
- package/dist/runtime/components/ui/tags-input/TagsInputInput.vue.d.ts +56 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItem.d.vue.ts +55 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItem.vue +27 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItem.vue.d.ts +55 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItemDelete.d.vue.ts +38 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItemDelete.vue +23 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItemDelete.vue.d.ts +38 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItemText.d.vue.ts +31 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItemText.vue +18 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItemText.vue.d.ts +31 -0
- package/dist/runtime/components/ui/tags-input/index.d.ts +1 -0
- package/dist/runtime/components/ui/tags-input/index.js +5 -0
- package/dist/runtime/components/ui/textarea/Textarea.d.vue.ts +33 -0
- package/dist/runtime/components/ui/textarea/Textarea.vue +26 -0
- package/dist/runtime/components/ui/textarea/Textarea.vue.d.ts +33 -0
- package/dist/runtime/components/ui/textarea/index.d.ts +1 -0
- package/dist/runtime/components/ui/textarea/index.js +1 -0
- package/dist/runtime/components/ui/toggle/Toggle.d.vue.ts +114 -0
- package/dist/runtime/components/ui/toggle/Toggle.vue +31 -0
- package/dist/runtime/components/ui/toggle/Toggle.vue.d.ts +114 -0
- package/dist/runtime/components/ui/toggle/index.d.ts +5 -0
- package/dist/runtime/components/ui/toggle/index.js +24 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.d.vue.ts +144 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue +42 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue.d.ts +144 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.d.vue.ts +76 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue +40 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +76 -0
- package/dist/runtime/components/ui/toggle-group/index.d.ts +1 -0
- package/dist/runtime/components/ui/toggle-group/index.js +2 -0
- package/dist/runtime/components/ui/tooltip/Tooltip.d.vue.ts +79 -0
- package/dist/runtime/components/ui/tooltip/Tooltip.vue +23 -0
- package/dist/runtime/components/ui/tooltip/Tooltip.vue.d.ts +79 -0
- package/dist/runtime/components/ui/tooltip/TooltipContent.d.vue.ts +162 -0
- package/dist/runtime/components/ui/tooltip/TooltipContent.vue +50 -0
- package/dist/runtime/components/ui/tooltip/TooltipContent.vue.d.ts +162 -0
- package/dist/runtime/components/ui/tooltip/TooltipProvider.d.vue.ts +68 -0
- package/dist/runtime/components/ui/tooltip/TooltipProvider.vue +17 -0
- package/dist/runtime/components/ui/tooltip/TooltipProvider.vue.d.ts +68 -0
- package/dist/runtime/components/ui/tooltip/TooltipTrigger.d.vue.ts +38 -0
- package/dist/runtime/components/ui/tooltip/TooltipTrigger.vue +17 -0
- package/dist/runtime/components/ui/tooltip/TooltipTrigger.vue.d.ts +38 -0
- package/dist/runtime/components/ui/tooltip/index.d.ts +1 -0
- package/dist/runtime/components/ui/tooltip/index.js +4 -0
- package/dist/runtime/composables/useAPI.d.ts +463 -0
- package/dist/runtime/composables/useAPI.js +991 -0
- package/dist/runtime/composables/useColorMode.d.ts +19 -0
- package/dist/runtime/composables/useColorMode.js +292 -0
- package/dist/runtime/composables/useStepper.d.ts +19 -0
- package/dist/runtime/composables/useStepper.js +71 -0
- package/dist/runtime/composables/useTimeline.d.ts +6 -0
- package/dist/runtime/composables/useTimeline.js +188 -0
- package/dist/runtime/composables/useViewAPI.d.ts +513 -0
- package/dist/runtime/composables/useViewAPI.js +965 -0
- package/dist/runtime/core/config.d.ts +166 -0
- package/dist/runtime/core/config.js +118 -0
- package/dist/runtime/core/stepper/StepState.d.ts +332 -0
- package/dist/runtime/core/stepper/StepState.js +775 -0
- package/dist/runtime/core/stepper/Stepper.d.ts +165 -0
- package/dist/runtime/core/stepper/Stepper.js +618 -0
- package/dist/runtime/core/stepper/StepperProxy.d.ts +21 -0
- package/dist/runtime/core/stepper/StepperProxy.js +57 -0
- package/dist/runtime/core/stepper/StepperSerializer.d.ts +29 -0
- package/dist/runtime/core/stepper/StepperSerializer.js +234 -0
- package/dist/runtime/core/timeline/Timeline.d.ts +101 -0
- package/dist/runtime/core/timeline/Timeline.js +495 -0
- package/dist/runtime/css/main.css +1 -0
- package/dist/runtime/css/smile.css +1 -0
- package/dist/runtime/layouts/development.d.vue.ts +10 -0
- package/dist/runtime/layouts/development.vue +189 -0
- package/dist/runtime/layouts/development.vue.d.ts +10 -0
- package/dist/runtime/layouts/experiment.d.vue.ts +13 -0
- package/dist/runtime/layouts/experiment.vue +10 -0
- package/dist/runtime/layouts/experiment.vue.d.ts +13 -0
- package/dist/runtime/layouts/presentation.d.vue.ts +10 -0
- package/dist/runtime/layouts/presentation.vue +45 -0
- package/dist/runtime/layouts/presentation.vue.d.ts +10 -0
- package/dist/runtime/lib/utils.d.ts +1 -0
- package/dist/runtime/lib/utils.js +6 -0
- package/dist/runtime/middleware/timeline.global.d.ts +21 -0
- package/dist/runtime/middleware/timeline.global.js +422 -0
- package/dist/runtime/pages/[...slug].d.vue.ts +3 -0
- package/dist/runtime/pages/[...slug].vue +40 -0
- package/dist/runtime/pages/[...slug].vue.d.ts +3 -0
- package/dist/runtime/pages/dev/[...slug].d.vue.ts +3 -0
- package/dist/runtime/pages/dev/[...slug].vue +53 -0
- package/dist/runtime/pages/dev/[...slug].vue.d.ts +3 -0
- package/dist/runtime/pages/dev-login.d.vue.ts +3 -0
- package/dist/runtime/pages/dev-login.vue +56 -0
- package/dist/runtime/pages/dev-login.vue.d.ts +3 -0
- package/dist/runtime/pages/info.d.vue.ts +3 -0
- package/dist/runtime/pages/info.vue +462 -0
- package/dist/runtime/pages/info.vue.d.ts +3 -0
- package/dist/runtime/pages/presentation/[...slug].d.vue.ts +3 -0
- package/dist/runtime/pages/presentation/[...slug].vue +65 -0
- package/dist/runtime/pages/presentation/[...slug].vue.d.ts +3 -0
- package/dist/runtime/plugins/dev-sync.client.d.ts +2 -0
- package/dist/runtime/plugins/dev-sync.client.js +26 -0
- package/dist/runtime/plugins/seed.client.d.ts +2 -0
- package/dist/runtime/plugins/seed.client.js +44 -0
- package/dist/runtime/plugins/store-sync.client.d.ts +2 -0
- package/dist/runtime/plugins/store-sync.client.js +74 -0
- package/dist/runtime/plugins/timeline.client.d.ts +6 -0
- package/dist/runtime/plugins/timeline.client.js +10 -0
- package/dist/runtime/server/api/auth/login.post.d.ts +2 -0
- package/dist/runtime/server/api/auth/login.post.js +29 -0
- package/dist/runtime/server/api/auth/logout.post.d.ts +2 -0
- package/dist/runtime/server/api/auth/logout.post.js +12 -0
- package/dist/runtime/server/api/auth/session.get.d.ts +2 -0
- package/dist/runtime/server/api/auth/session.get.js +15 -0
- package/dist/runtime/server/api/participants/[id]/private.patch.d.ts +2 -0
- package/dist/runtime/server/api/participants/[id]/private.patch.js +20 -0
- package/dist/runtime/server/api/participants/[id]/private.post.d.ts +2 -0
- package/dist/runtime/server/api/participants/[id]/private.post.js +21 -0
- package/dist/runtime/server/api/participants/[id].get.d.ts +2 -0
- package/dist/runtime/server/api/participants/[id].get.js +15 -0
- package/dist/runtime/server/api/participants/[id].patch.d.ts +2 -0
- package/dist/runtime/server/api/participants/[id].patch.js +20 -0
- package/dist/runtime/server/api/participants/index.post.d.ts +2 -0
- package/dist/runtime/server/api/participants/index.post.js +17 -0
- package/dist/runtime/server/api/qr.get.d.ts +2 -0
- package/dist/runtime/server/api/qr.get.js +19 -0
- package/dist/runtime/server/database/schema.d.ts +235 -0
- package/dist/runtime/server/database/schema.js +19 -0
- package/dist/runtime/server/middleware/dev-auth.d.ts +2 -0
- package/dist/runtime/server/middleware/dev-auth.js +32 -0
- package/dist/runtime/server/plugins/migrate.d.ts +2 -0
- package/dist/runtime/server/plugins/migrate.js +30 -0
- package/dist/runtime/server/tsconfig.json +3 -0
- package/dist/runtime/server/utils/db.d.ts +3 -0
- package/dist/runtime/server/utils/db.js +21 -0
- package/dist/runtime/stores/log.d.ts +37 -0
- package/dist/runtime/stores/log.js +211 -0
- package/dist/runtime/stores/smilestore.d.ts +8234 -0
- package/dist/runtime/stores/smilestore.js +577 -0
- package/dist/runtime/utils/randomization.d.ts +57 -0
- package/dist/runtime/utils/randomization.js +189 -0
- package/dist/runtime/utils/utils.d.ts +19 -0
- package/dist/runtime/utils/utils.js +147 -0
- package/dist/types.d.mts +3 -0
- package/package.json +107 -0
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import StepInfoButtonGroup from "./StepInfoButtonGroup.vue";
|
|
3
|
+
import ViewInfoButtonGroup from "./ViewInfoButtonGroup.vue";
|
|
4
|
+
import ResetButton from "./ResetButton.vue";
|
|
5
|
+
import ReloadButton from "./ReloadButton.vue";
|
|
6
|
+
import ColorModeButton from "./ColorModeButton.vue";
|
|
7
|
+
import DatabaseButtonGroup from "./DatabaseButtonGroup.vue";
|
|
8
|
+
import FullScreenButton from "./FullScreenButton.vue";
|
|
9
|
+
import ViewButton from "./ViewButton.vue";
|
|
10
|
+
import KeyCommandNotification from "./KeyCommandNotification.vue";
|
|
11
|
+
import LogoutButton from "../presentation/LogoutButton.vue";
|
|
12
|
+
import { ref } from "vue";
|
|
13
|
+
import { onKeyDown } from "@vueuse/core";
|
|
14
|
+
const api = useAPI();
|
|
15
|
+
const showNotification = ref(false);
|
|
16
|
+
const notificationCommand = ref("");
|
|
17
|
+
const notificationAction = ref("");
|
|
18
|
+
const notificationType = ref("default");
|
|
19
|
+
const showTemporaryNotification = (command, action, type = "default") => {
|
|
20
|
+
notificationCommand.value = command;
|
|
21
|
+
notificationAction.value = action;
|
|
22
|
+
notificationType.value = type;
|
|
23
|
+
showNotification.value = true;
|
|
24
|
+
setTimeout(() => {
|
|
25
|
+
showNotification.value = false;
|
|
26
|
+
}, 1500);
|
|
27
|
+
};
|
|
28
|
+
onKeyDown((e) => {
|
|
29
|
+
if (e.key === "ArrowUp") {
|
|
30
|
+
e.preventDefault();
|
|
31
|
+
api.goToView(api.prevView()?.name, true);
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
onKeyDown((e) => {
|
|
35
|
+
if (e.key === "ArrowDown") {
|
|
36
|
+
e.preventDefault();
|
|
37
|
+
api.goToView(api.nextView()?.name, true);
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
onKeyDown((e) => {
|
|
41
|
+
if (e.ctrlKey && e.key === "1") {
|
|
42
|
+
e.preventDefault();
|
|
43
|
+
const sideBar = api.store.dev.showSideBar;
|
|
44
|
+
const consoleBar = api.store.dev.showConsoleBar;
|
|
45
|
+
if (!sideBar && !consoleBar) {
|
|
46
|
+
api.store.dev.showSideBar = true;
|
|
47
|
+
api.store.dev.showConsoleBar = false;
|
|
48
|
+
showTemporaryNotification("Ctrl + 1", "Showing Sidebar");
|
|
49
|
+
} else if (sideBar && !consoleBar) {
|
|
50
|
+
api.store.dev.showSideBar = false;
|
|
51
|
+
api.store.dev.showConsoleBar = true;
|
|
52
|
+
showTemporaryNotification("Ctrl + 1", "Showing Console");
|
|
53
|
+
} else if (!sideBar && consoleBar) {
|
|
54
|
+
api.store.dev.showSideBar = true;
|
|
55
|
+
api.store.dev.showConsoleBar = true;
|
|
56
|
+
showTemporaryNotification("Ctrl + 1", "Showing Both Panels");
|
|
57
|
+
} else {
|
|
58
|
+
api.store.dev.showSideBar = false;
|
|
59
|
+
api.store.dev.showConsoleBar = false;
|
|
60
|
+
showTemporaryNotification("Ctrl + 1", "Hiding All Panels");
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
onKeyDown((e) => {
|
|
65
|
+
if (e.ctrlKey && e.key === "2") {
|
|
66
|
+
e.preventDefault();
|
|
67
|
+
if (!api.store.dev.showSideBar) {
|
|
68
|
+
showTemporaryNotification("Ctrl + 2", "Sidebar is hidden", "error");
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
const currentTab = api.store.dev.sideBarTab;
|
|
72
|
+
if (currentTab === "steps") {
|
|
73
|
+
api.store.dev.sideBarTab = "randomization";
|
|
74
|
+
showTemporaryNotification("Ctrl + 2", "Switched to Random Tab");
|
|
75
|
+
} else if (currentTab === "randomization") {
|
|
76
|
+
api.store.dev.sideBarTab = "db";
|
|
77
|
+
showTemporaryNotification("Ctrl + 2", "Switched to DB Info Tab");
|
|
78
|
+
} else {
|
|
79
|
+
api.store.dev.sideBarTab = "steps";
|
|
80
|
+
showTemporaryNotification("Ctrl + 2", "Switched to Steps Tab");
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
onKeyDown((e) => {
|
|
85
|
+
if (e.ctrlKey && e.key === "3") {
|
|
86
|
+
e.preventDefault();
|
|
87
|
+
if (!api.store.dev.showConsoleBar) {
|
|
88
|
+
showTemporaryNotification("Ctrl + 3", "Console is hidden", "error");
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
const currentTab = api.store.dev.consoleBarTab;
|
|
92
|
+
if (currentTab === "browse") {
|
|
93
|
+
api.store.dev.consoleBarTab = "log";
|
|
94
|
+
showTemporaryNotification("Ctrl + 3", "Switched to Log Tab");
|
|
95
|
+
} else if (currentTab === "log") {
|
|
96
|
+
api.store.dev.consoleBarTab = "config";
|
|
97
|
+
showTemporaryNotification("Ctrl + 3", "Switched to Config Tab");
|
|
98
|
+
} else {
|
|
99
|
+
api.store.dev.consoleBarTab = "browse";
|
|
100
|
+
showTemporaryNotification("Ctrl + 3", "Switched to Browse Tab");
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
onKeyDown((e) => {
|
|
105
|
+
if (e.ctrlKey && e.key === "r") {
|
|
106
|
+
e.preventDefault();
|
|
107
|
+
showTemporaryNotification("Ctrl + R", "Resetting Local State");
|
|
108
|
+
setTimeout(() => {
|
|
109
|
+
api.resetLocalState();
|
|
110
|
+
}, 200);
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
onKeyDown((e) => {
|
|
114
|
+
if (e.ctrlKey && e.key === "d") {
|
|
115
|
+
e.preventDefault();
|
|
116
|
+
if (!api.store.cookieState.knownUser) {
|
|
117
|
+
api.setKnown();
|
|
118
|
+
api.setConsented();
|
|
119
|
+
showTemporaryNotification("Ctrl + D", "Connected to Database");
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
onKeyDown((e) => {
|
|
124
|
+
if (e.ctrlKey && e.key === "a") {
|
|
125
|
+
e.preventDefault();
|
|
126
|
+
if (api.hasAutofill()) {
|
|
127
|
+
api.autofill();
|
|
128
|
+
showTemporaryNotification("Ctrl + A", "Autofilled Current View");
|
|
129
|
+
} else {
|
|
130
|
+
showTemporaryNotification("Ctrl + A", "No Autofill Available", "error");
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
onKeyDown((e) => {
|
|
135
|
+
if (e.ctrlKey && e.key === "p") {
|
|
136
|
+
e.preventDefault();
|
|
137
|
+
const currentRoute = api.currentRouteName();
|
|
138
|
+
const isCurrentlyPinned = api.store.dev.pinnedRoute === currentRoute;
|
|
139
|
+
if (isCurrentlyPinned) {
|
|
140
|
+
api.store.dev.pinnedRoute = null;
|
|
141
|
+
showTemporaryNotification("Ctrl + P", "Unpinned Route");
|
|
142
|
+
} else {
|
|
143
|
+
api.store.dev.pinnedRoute = currentRoute;
|
|
144
|
+
showTemporaryNotification("Ctrl + P", "Pinned Current Route");
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
</script>
|
|
149
|
+
|
|
150
|
+
<template>
|
|
151
|
+
<!-- Main navigation bar container -->
|
|
152
|
+
<nav class="flex items-center justify-between w-full border-b min-h-[36px] max-h-[36px] text-sm px-2">
|
|
153
|
+
<!-- Left section - Developer mode indicator -->
|
|
154
|
+
<div class="flex items-center flex-shrink-0 px-2 py-1 rounded">
|
|
155
|
+
<div class="flex items-center">
|
|
156
|
+
<!-- Desktop version -->
|
|
157
|
+
<div class="hidden sm:block">
|
|
158
|
+
<div class="flex items-center text-xs font-normal">
|
|
159
|
+
<i-lucide-bug-play class="size-4 mr-1" />
|
|
160
|
+
<b>DEVELOPER MODE</b> ({{ api.config.smileVersion }})
|
|
161
|
+
</div>
|
|
162
|
+
</div>
|
|
163
|
+
<!-- Mobile version -->
|
|
164
|
+
<div class="block sm:hidden">
|
|
165
|
+
<div class="flex items-center text-xs font-normal">
|
|
166
|
+
<i-lucide-bug-play class="size-4 mr-1" />
|
|
167
|
+
<b>DEV</b> ({{ api.config.smileVersion }})
|
|
168
|
+
</div>
|
|
169
|
+
</div>
|
|
170
|
+
</div>
|
|
171
|
+
</div>
|
|
172
|
+
|
|
173
|
+
<!-- Middle section - Centered content area -->
|
|
174
|
+
<div class="flex items-center justify-center flex-1 min-w-0 px-2 py-1 rounded">
|
|
175
|
+
<div class="flex items-center space-x-2">
|
|
176
|
+
<div class="text-xs text-gray-600">
|
|
177
|
+
<!-- Middle content placeholder -->
|
|
178
|
+
</div>
|
|
179
|
+
</div>
|
|
180
|
+
</div>
|
|
181
|
+
|
|
182
|
+
<!-- Right section - Control buttons -->
|
|
183
|
+
<div class="flex items-center flex-shrink-0 px-1 py-1 rounded">
|
|
184
|
+
<div class="flex items-center space-x-2.5 border-gray-300 pl-4 rounded-l">
|
|
185
|
+
<!-- Logout button (only when authenticated) -->
|
|
186
|
+
<div class="flex items-center">
|
|
187
|
+
<LogoutButton />
|
|
188
|
+
</div>
|
|
189
|
+
|
|
190
|
+
<!-- Reload button -->
|
|
191
|
+
<div class="flex items-center">
|
|
192
|
+
<ReloadButton />
|
|
193
|
+
</div>
|
|
194
|
+
|
|
195
|
+
<!-- Reset button -->
|
|
196
|
+
<div class="flex items-center">
|
|
197
|
+
<ResetButton />
|
|
198
|
+
</div>
|
|
199
|
+
|
|
200
|
+
<!-- Color mode button (only in fullscreen mode and not on recruit page) -->
|
|
201
|
+
<div
|
|
202
|
+
v-if="api.store.dev.isFullscreen && api.currentRouteName() !== 'recruit'"
|
|
203
|
+
class="flex items-center"
|
|
204
|
+
>
|
|
205
|
+
<ColorModeButton />
|
|
206
|
+
</div>
|
|
207
|
+
|
|
208
|
+
<!-- Fullscreen button (not on recruit page) -->
|
|
209
|
+
<div
|
|
210
|
+
v-if="api.currentRouteName() !== 'recruit'"
|
|
211
|
+
class="flex items-center"
|
|
212
|
+
>
|
|
213
|
+
<FullScreenButton />
|
|
214
|
+
</div>
|
|
215
|
+
|
|
216
|
+
<!-- Database info button group -->
|
|
217
|
+
<DatabaseButtonGroup />
|
|
218
|
+
|
|
219
|
+
<!-- Step info buttons (responsive - hidden on small screens) -->
|
|
220
|
+
<div class="items-center">
|
|
221
|
+
<StepInfoButtonGroup />
|
|
222
|
+
</div>
|
|
223
|
+
|
|
224
|
+
<!-- View info buttons (hidden on medium screens and below) -->
|
|
225
|
+
<div class="hidden md:flex items-center">
|
|
226
|
+
<ViewInfoButtonGroup />
|
|
227
|
+
</div>
|
|
228
|
+
|
|
229
|
+
<!-- View button -->
|
|
230
|
+
<div class="flex items-center">
|
|
231
|
+
<ViewButton />
|
|
232
|
+
</div>
|
|
233
|
+
</div>
|
|
234
|
+
</div>
|
|
235
|
+
</nav>
|
|
236
|
+
|
|
237
|
+
<!-- Keyboard command notification overlay -->
|
|
238
|
+
<KeyCommandNotification
|
|
239
|
+
:show="showNotification"
|
|
240
|
+
:command="notificationCommand"
|
|
241
|
+
:action="notificationAction"
|
|
242
|
+
:type="notificationType"
|
|
243
|
+
/>
|
|
244
|
+
</template>
|
|
245
|
+
|
|
246
|
+
<style scoped>
|
|
247
|
+
/* No custom styles needed - all styling handled by Tailwind classes */
|
|
248
|
+
</style>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
const api = useViewAPI();
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<!-- Step navigation button group with tooltips -->
|
|
7
|
+
<TooltipProvider>
|
|
8
|
+
<ButtonGroup
|
|
9
|
+
variant="outline"
|
|
10
|
+
size="menu"
|
|
11
|
+
>
|
|
12
|
+
<!-- Step back button -->
|
|
13
|
+
<Tooltip>
|
|
14
|
+
<TooltipTrigger as-child>
|
|
15
|
+
<ButtonGroupItem
|
|
16
|
+
:disabled="!api.store.dev.viewProvidesStepper || !api.hasPrevStep()"
|
|
17
|
+
@click="api.goPrevStep()"
|
|
18
|
+
>
|
|
19
|
+
<i-lucide-chevron-left />
|
|
20
|
+
</ButtonGroupItem>
|
|
21
|
+
</TooltipTrigger>
|
|
22
|
+
<TooltipContent side="bottom">
|
|
23
|
+
Step back (Left Arrow)
|
|
24
|
+
</TooltipContent>
|
|
25
|
+
</Tooltip>
|
|
26
|
+
|
|
27
|
+
<!-- Current path display -->
|
|
28
|
+
<Tooltip>
|
|
29
|
+
<TooltipTrigger as-child>
|
|
30
|
+
<ButtonGroupItem :disabled="!api.store.dev.viewProvidesStepper || !api.hasSteps()">
|
|
31
|
+
<span
|
|
32
|
+
v-if="api.pathString"
|
|
33
|
+
class="counter"
|
|
34
|
+
>{{ api.pathString }}</span>
|
|
35
|
+
<i-iconoir-remove-empty v-else />
|
|
36
|
+
</ButtonGroupItem>
|
|
37
|
+
</TooltipTrigger>
|
|
38
|
+
<TooltipContent side="bottom">
|
|
39
|
+
Current path
|
|
40
|
+
</TooltipContent>
|
|
41
|
+
</Tooltip>
|
|
42
|
+
|
|
43
|
+
<!-- Step forward button -->
|
|
44
|
+
<Tooltip>
|
|
45
|
+
<TooltipTrigger as-child>
|
|
46
|
+
<ButtonGroupItem
|
|
47
|
+
:disabled="!api.store.dev.viewProvidesStepper || !api.hasNextStep()"
|
|
48
|
+
@click="api.goNextStep()"
|
|
49
|
+
>
|
|
50
|
+
<i-lucide-chevron-right />
|
|
51
|
+
</ButtonGroupItem>
|
|
52
|
+
</TooltipTrigger>
|
|
53
|
+
<TooltipContent side="bottom">
|
|
54
|
+
Step forward (Right Arrow)
|
|
55
|
+
</TooltipContent>
|
|
56
|
+
</Tooltip>
|
|
57
|
+
</ButtonGroup>
|
|
58
|
+
</TooltipProvider>
|
|
59
|
+
</template>
|
|
60
|
+
|
|
61
|
+
<style scoped>
|
|
62
|
+
.counter{font-family:monospace;font-size:.95em;font-weight:500}
|
|
63
|
+
</style>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed } from "vue";
|
|
3
|
+
const api = useAPI();
|
|
4
|
+
const currentState = computed(() => {
|
|
5
|
+
const sideBar = api.store.dev.showSideBar;
|
|
6
|
+
const consoleBar = api.store.dev.showConsoleBar;
|
|
7
|
+
if (sideBar && consoleBar) return "both";
|
|
8
|
+
if (!sideBar && !consoleBar) return "none";
|
|
9
|
+
if (sideBar) return "sidebar";
|
|
10
|
+
return "console";
|
|
11
|
+
});
|
|
12
|
+
const tooltipText = computed(() => {
|
|
13
|
+
switch (currentState.value) {
|
|
14
|
+
case "both":
|
|
15
|
+
return "Hide all panels";
|
|
16
|
+
case "none":
|
|
17
|
+
return "Show sidebar";
|
|
18
|
+
case "sidebar":
|
|
19
|
+
return "Show console";
|
|
20
|
+
case "console":
|
|
21
|
+
return "Show all panels";
|
|
22
|
+
default:
|
|
23
|
+
return "Toggle panels";
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
const cycleState = () => {
|
|
27
|
+
switch (currentState.value) {
|
|
28
|
+
case "both":
|
|
29
|
+
api.store.dev.showSideBar = false;
|
|
30
|
+
api.store.dev.showConsoleBar = false;
|
|
31
|
+
break;
|
|
32
|
+
case "none":
|
|
33
|
+
api.store.dev.showSideBar = true;
|
|
34
|
+
api.store.dev.showConsoleBar = false;
|
|
35
|
+
break;
|
|
36
|
+
case "sidebar":
|
|
37
|
+
api.store.dev.showSideBar = false;
|
|
38
|
+
api.store.dev.showConsoleBar = true;
|
|
39
|
+
break;
|
|
40
|
+
case "console":
|
|
41
|
+
api.store.dev.showSideBar = true;
|
|
42
|
+
api.store.dev.showConsoleBar = true;
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
</script>
|
|
47
|
+
|
|
48
|
+
<template>
|
|
49
|
+
<!-- Panel toggle button with tooltip -->
|
|
50
|
+
<TooltipProvider>
|
|
51
|
+
<Tooltip>
|
|
52
|
+
<TooltipTrigger as-child>
|
|
53
|
+
<Button
|
|
54
|
+
size="menu"
|
|
55
|
+
variant="outline"
|
|
56
|
+
@click="cycleState"
|
|
57
|
+
>
|
|
58
|
+
<!-- Both panels visible -->
|
|
59
|
+
<svg
|
|
60
|
+
v-if="currentState === 'both'"
|
|
61
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
62
|
+
width="13"
|
|
63
|
+
height="13"
|
|
64
|
+
viewBox="0 0 24 24"
|
|
65
|
+
fill="none"
|
|
66
|
+
stroke="currentColor"
|
|
67
|
+
stroke-width="2.3"
|
|
68
|
+
stroke-linecap="round"
|
|
69
|
+
stroke-linejoin="round"
|
|
70
|
+
>
|
|
71
|
+
<rect
|
|
72
|
+
width="18"
|
|
73
|
+
height="18"
|
|
74
|
+
x="3"
|
|
75
|
+
y="3"
|
|
76
|
+
rx="2"
|
|
77
|
+
/>
|
|
78
|
+
<path d="M3 15h12" />
|
|
79
|
+
<path d="M15 3v18" />
|
|
80
|
+
</svg>
|
|
81
|
+
|
|
82
|
+
<!-- Both panels hidden -->
|
|
83
|
+
<svg
|
|
84
|
+
v-if="currentState === 'none'"
|
|
85
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
86
|
+
width="14"
|
|
87
|
+
height="14"
|
|
88
|
+
viewBox="0 0 24 24"
|
|
89
|
+
fill="none"
|
|
90
|
+
stroke="currentColor"
|
|
91
|
+
stroke-width="2.3"
|
|
92
|
+
stroke-linecap="round"
|
|
93
|
+
stroke-linejoin="round"
|
|
94
|
+
>
|
|
95
|
+
<rect
|
|
96
|
+
width="18"
|
|
97
|
+
height="18"
|
|
98
|
+
x="3"
|
|
99
|
+
y="3"
|
|
100
|
+
rx="2"
|
|
101
|
+
/>
|
|
102
|
+
<path d="M8 8h.01" />
|
|
103
|
+
<path d="M12 8h.01" />
|
|
104
|
+
<path d="M16 8h.01" />
|
|
105
|
+
</svg>
|
|
106
|
+
|
|
107
|
+
<!-- Only sidebar visible -->
|
|
108
|
+
<svg
|
|
109
|
+
v-if="currentState === 'sidebar'"
|
|
110
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
111
|
+
width="14"
|
|
112
|
+
height="14"
|
|
113
|
+
viewBox="0 0 24 24"
|
|
114
|
+
fill="none"
|
|
115
|
+
stroke="currentColor"
|
|
116
|
+
stroke-width="2.3"
|
|
117
|
+
stroke-linecap="round"
|
|
118
|
+
stroke-linejoin="round"
|
|
119
|
+
>
|
|
120
|
+
<rect
|
|
121
|
+
width="18"
|
|
122
|
+
height="18"
|
|
123
|
+
x="3"
|
|
124
|
+
y="3"
|
|
125
|
+
rx="2"
|
|
126
|
+
/>
|
|
127
|
+
<path d="M15 3v18" />
|
|
128
|
+
</svg>
|
|
129
|
+
|
|
130
|
+
<!-- Only console visible -->
|
|
131
|
+
<svg
|
|
132
|
+
v-if="currentState === 'console'"
|
|
133
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
134
|
+
width="14"
|
|
135
|
+
height="14"
|
|
136
|
+
viewBox="0 0 24 24"
|
|
137
|
+
fill="none"
|
|
138
|
+
stroke="currentColor"
|
|
139
|
+
stroke-width="2.3"
|
|
140
|
+
stroke-linecap="round"
|
|
141
|
+
stroke-linejoin="round"
|
|
142
|
+
>
|
|
143
|
+
<rect
|
|
144
|
+
width="18"
|
|
145
|
+
height="18"
|
|
146
|
+
x="3"
|
|
147
|
+
y="3"
|
|
148
|
+
rx="2"
|
|
149
|
+
/>
|
|
150
|
+
<path d="M3 15h18" />
|
|
151
|
+
</svg>
|
|
152
|
+
</Button>
|
|
153
|
+
</TooltipTrigger>
|
|
154
|
+
<TooltipContent side="bottom">
|
|
155
|
+
{{ tooltipText }} (Ctrl + 1)
|
|
156
|
+
</TooltipContent>
|
|
157
|
+
</Tooltip>
|
|
158
|
+
</TooltipProvider>
|
|
159
|
+
</template>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed } from "vue";
|
|
3
|
+
import RouteJumper from "./RouteJumper.vue";
|
|
4
|
+
const api = useAPI();
|
|
5
|
+
const route = useRoute();
|
|
6
|
+
const isDevMode = computed(() => route.path.startsWith("/dev/") || route.path === "/dev");
|
|
7
|
+
const currentTimelineMeta = computed(() => {
|
|
8
|
+
const config = api._resolveTimelineRoute();
|
|
9
|
+
return config?.meta || {};
|
|
10
|
+
});
|
|
11
|
+
const buttonstyle = computed(() => {
|
|
12
|
+
const base = "";
|
|
13
|
+
if (api.store.dev.pinnedRoute !== null) {
|
|
14
|
+
return base + " pinned";
|
|
15
|
+
} else {
|
|
16
|
+
return base;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
const handleDropdownOpenChange = (open) => {
|
|
20
|
+
if (api.store.dev.pinnedRoute == null) {
|
|
21
|
+
api.store.dev.routePanelVisible = open;
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
const togglePin = () => {
|
|
25
|
+
api.store.dev.pinnedRoute = api.store.dev.pinnedRoute === null ? api.currentRouteName() : null;
|
|
26
|
+
api.store.dev.routePanelVisible = false;
|
|
27
|
+
};
|
|
28
|
+
</script>
|
|
29
|
+
|
|
30
|
+
<template>
|
|
31
|
+
<!-- View information button group with tooltips -->
|
|
32
|
+
<TooltipProvider>
|
|
33
|
+
<ButtonGroup
|
|
34
|
+
variant="outline"
|
|
35
|
+
size="menu"
|
|
36
|
+
>
|
|
37
|
+
<!-- Autofill button -->
|
|
38
|
+
<Tooltip>
|
|
39
|
+
<TooltipTrigger as-child>
|
|
40
|
+
<ButtonGroupItem
|
|
41
|
+
:disabled="!api.hasAutofill()"
|
|
42
|
+
@click="api.autofill()"
|
|
43
|
+
>
|
|
44
|
+
<i-mdi-magic />
|
|
45
|
+
</ButtonGroupItem>
|
|
46
|
+
</TooltipTrigger>
|
|
47
|
+
<TooltipContent side="bottom">
|
|
48
|
+
{{ api.hasAutofill() ? 'Autofill (Ctrl + A)' : 'No autofill available' }}
|
|
49
|
+
</TooltipContent>
|
|
50
|
+
</Tooltip>
|
|
51
|
+
|
|
52
|
+
<!-- Previous view button -->
|
|
53
|
+
<template v-if="api.hasPrevView()">
|
|
54
|
+
<Tooltip>
|
|
55
|
+
<TooltipTrigger as-child>
|
|
56
|
+
<ButtonGroupItem
|
|
57
|
+
:disabled="api.store.dev.pinnedRoute !== null"
|
|
58
|
+
@click="api.goToView(api.route?.meta?.prev)"
|
|
59
|
+
>
|
|
60
|
+
<i-meteor-icons-angles-left />
|
|
61
|
+
</ButtonGroupItem>
|
|
62
|
+
</TooltipTrigger>
|
|
63
|
+
<TooltipContent side="bottom">
|
|
64
|
+
Previous View (Up Arrow)
|
|
65
|
+
</TooltipContent>
|
|
66
|
+
</Tooltip>
|
|
67
|
+
</template>
|
|
68
|
+
<template v-else>
|
|
69
|
+
<ButtonGroupItem disabled>
|
|
70
|
+
<i-meteor-icons-angles-left />
|
|
71
|
+
</ButtonGroupItem>
|
|
72
|
+
</template>
|
|
73
|
+
|
|
74
|
+
<!-- Next view button -->
|
|
75
|
+
<template v-if="api.hasNextView()">
|
|
76
|
+
<Tooltip>
|
|
77
|
+
<TooltipTrigger as-child>
|
|
78
|
+
<ButtonGroupItem
|
|
79
|
+
:disabled="api.store.dev.pinnedRoute !== null"
|
|
80
|
+
@click="api.goNextView()"
|
|
81
|
+
>
|
|
82
|
+
<i-meteor-icons-angles-right />
|
|
83
|
+
</ButtonGroupItem>
|
|
84
|
+
</TooltipTrigger>
|
|
85
|
+
<TooltipContent side="bottom">
|
|
86
|
+
Next View (Down Arrow)
|
|
87
|
+
</TooltipContent>
|
|
88
|
+
</Tooltip>
|
|
89
|
+
</template>
|
|
90
|
+
<template v-else>
|
|
91
|
+
<ButtonGroupItem disabled>
|
|
92
|
+
<i-meteor-icons-angles-right />
|
|
93
|
+
</ButtonGroupItem>
|
|
94
|
+
</template>
|
|
95
|
+
|
|
96
|
+
<!-- Pin route button (dev mode only, not presentation) -->
|
|
97
|
+
<template v-if="isDevMode">
|
|
98
|
+
<Tooltip>
|
|
99
|
+
<TooltipTrigger as-child>
|
|
100
|
+
<ButtonGroupItem
|
|
101
|
+
:class="{ pinned: api.store.dev.pinnedRoute !== null }"
|
|
102
|
+
@click="togglePin()"
|
|
103
|
+
>
|
|
104
|
+
<i-ic-baseline-pin-off v-if="api.store.dev.pinnedRoute !== null" />
|
|
105
|
+
<i-ic-baseline-push-pin v-else />
|
|
106
|
+
</ButtonGroupItem>
|
|
107
|
+
</TooltipTrigger>
|
|
108
|
+
<TooltipContent side="bottom">
|
|
109
|
+
Pin current route (Ctrl + P)
|
|
110
|
+
</TooltipContent>
|
|
111
|
+
</Tooltip>
|
|
112
|
+
</template>
|
|
113
|
+
|
|
114
|
+
<!-- Route dropdown menu -->
|
|
115
|
+
<DropdownMenu
|
|
116
|
+
:open="api.store.dev.routePanelVisible"
|
|
117
|
+
@update:open="handleDropdownOpenChange"
|
|
118
|
+
>
|
|
119
|
+
<DropdownMenuTrigger as-child>
|
|
120
|
+
<ButtonGroupItem :class="buttonstyle">
|
|
121
|
+
<div class="font-mono text-[0.65rem] font-medium min-w-[100px]">
|
|
122
|
+
<!-- Route type icons -->
|
|
123
|
+
<i-lucide-arrow-down
|
|
124
|
+
v-if="currentTimelineMeta.sequential"
|
|
125
|
+
class="inline size-3 mr-1"
|
|
126
|
+
/>
|
|
127
|
+
<i-lucide-presentation
|
|
128
|
+
v-else-if="api.currentRouteName() === 'presentation_home'"
|
|
129
|
+
class="inline size-3 mr-1"
|
|
130
|
+
/>
|
|
131
|
+
<i-lucide-diamond
|
|
132
|
+
v-else
|
|
133
|
+
class="inline size-3 mr-1"
|
|
134
|
+
/>
|
|
135
|
+
/{{ api.currentRouteName() }}
|
|
136
|
+
</div>
|
|
137
|
+
</ButtonGroupItem>
|
|
138
|
+
</DropdownMenuTrigger>
|
|
139
|
+
<RouteJumper />
|
|
140
|
+
</DropdownMenu>
|
|
141
|
+
</ButtonGroup>
|
|
142
|
+
</TooltipProvider>
|
|
143
|
+
</template>
|
|
144
|
+
|
|
145
|
+
<style scoped>
|
|
146
|
+
.pinned{background-color:var(--pinned-route);color:var(--dev-contrast-text)}
|
|
147
|
+
</style>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|