@nyuccl/smile 0.2.0-beta.6 → 0.2.0-beta.8
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/runtime/components/builtins/AdvertisementView.vue +2 -1
- package/dist/runtime/components/builtins/DemographicSurveyView.vue +1 -0
- package/dist/runtime/components/builtins/DeviceSurveyView.vue +1 -0
- package/dist/runtime/components/builtins/ExpView.vue +1 -0
- package/dist/runtime/components/builtins/ExperimentStatusBar.vue +3 -0
- package/dist/runtime/components/builtins/FavoriteColor.vue +1 -0
- package/dist/runtime/components/builtins/FavoriteNumber.vue +1 -0
- package/dist/runtime/components/builtins/InformedConsentModal.vue +1 -0
- package/dist/runtime/components/builtins/InformedConsentView.vue +1 -0
- package/dist/runtime/components/builtins/InstructionsQuiz.vue +1 -0
- package/dist/runtime/components/builtins/InstructionsView.vue +1 -0
- package/dist/runtime/components/builtins/MTurkRecruitView.vue +1 -0
- package/dist/runtime/components/builtins/PresentationModeView.d.vue.ts +1 -1
- package/dist/runtime/components/builtins/PresentationModeView.vue +1 -0
- package/dist/runtime/components/builtins/PresentationModeView.vue.d.ts +1 -1
- package/dist/runtime/components/builtins/StatusBar.vue +2 -0
- package/dist/runtime/components/builtins/StudyPreviewText.vue +2 -1
- package/dist/runtime/components/builtins/TaskFeedbackSurveyView.vue +1 -0
- package/dist/runtime/components/builtins/ThanksView.vue +1 -0
- package/dist/runtime/components/builtins/WindowSizerView.vue +1 -0
- package/dist/runtime/components/builtins/WithdrawModal.vue +1 -0
- package/dist/runtime/components/builtins/WithdrawView.vue +1 -0
- package/dist/runtime/components/dev/RecruitmentChooserView.vue +1 -0
- package/dist/runtime/components/dev/ResponsiveDeviceContainer.vue +1 -0
- package/dist/runtime/components/dev/console/ConfigList.vue +1 -0
- package/dist/runtime/components/dev/console/ConsoleConfigPanel.vue +1 -0
- package/dist/runtime/components/dev/console/ConsoleDatabaseBrowsePanel.vue +1 -0
- package/dist/runtime/components/dev/console/ConsoleLogPanel.vue +4 -2
- package/dist/runtime/components/dev/console/DatabaseList.vue +1 -0
- package/dist/runtime/components/dev/console/SmileDevConsole.vue +1 -0
- package/dist/runtime/components/dev/menu/DevConfigPanel.vue +1 -0
- package/dist/runtime/components/dev/menu/ResponsiveDeviceSelect.vue +1 -0
- package/dist/runtime/components/dev/menu/SmileDevAppMenu.vue +1 -0
- package/dist/runtime/components/dev/navbar/DatabaseButtonGroup.vue +1 -0
- package/dist/runtime/components/dev/navbar/FullScreenButton.vue +1 -0
- package/dist/runtime/components/dev/navbar/ReloadButton.vue +1 -0
- package/dist/runtime/components/dev/navbar/ResetButton.vue +1 -0
- package/dist/runtime/components/dev/navbar/RouteJumper.vue +2 -0
- package/dist/runtime/components/dev/navbar/SmileDevNavBar.vue +1 -0
- package/dist/runtime/components/dev/navbar/StepInfoButtonGroup.vue +1 -0
- package/dist/runtime/components/dev/navbar/ViewButton.vue +1 -0
- package/dist/runtime/components/dev/navbar/ViewInfoButtonGroup.vue +1 -0
- package/dist/runtime/components/dev/presentation/QRCodeButton.vue +1 -0
- package/dist/runtime/components/dev/sidebar/DatabaseStatusInfoPanel.vue +1 -0
- package/dist/runtime/components/dev/sidebar/RandomizationSidebarPanel.vue +1 -0
- package/dist/runtime/components/dev/sidebar/SmileDevSideBar.vue +1 -0
- package/dist/runtime/components/dev/sidebar/StepDataViewer.d.vue.ts +2 -2
- package/dist/runtime/components/dev/sidebar/StepDataViewer.vue.d.ts +2 -2
- package/dist/runtime/components/dev/sidebar/StepExplorerPanel.vue +1 -0
- package/dist/runtime/components/ui/button/index.d.ts +1 -1
- package/dist/runtime/components/ui/button-group/ButtonGroup.d.vue.ts +1 -1
- package/dist/runtime/components/ui/button-group/ButtonGroup.vue.d.ts +1 -1
- package/dist/runtime/components/ui/checkbox/Checkbox.d.vue.ts +5 -5
- package/dist/runtime/components/ui/checkbox/Checkbox.vue.d.ts +5 -5
- package/dist/runtime/components/ui/checkbox/index.d.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/ui/multiselect/MultiSelect.d.vue.ts +1 -1
- package/dist/runtime/components/ui/multiselect/MultiSelect.vue.d.ts +1 -1
- 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/separator/Separator.d.vue.ts +1 -1
- package/dist/runtime/components/ui/separator/Separator.vue.d.ts +1 -1
- package/dist/runtime/components/ui/switch/Switch.d.vue.ts +1 -1
- package/dist/runtime/components/ui/switch/Switch.vue.d.ts +1 -1
- package/dist/runtime/components/ui/switch/index.d.ts +1 -1
- package/dist/runtime/components/ui/tags-input/TagsInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/tags-input/TagsInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/toggle/Toggle.d.vue.ts +1 -1
- package/dist/runtime/components/ui/toggle/Toggle.vue.d.ts +1 -1
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.d.vue.ts +1 -1
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue.d.ts +1 -1
- package/dist/runtime/layouts/development.vue +1 -0
- package/dist/runtime/layouts/presentation.vue +1 -0
- package/dist/runtime/pages/[...slug].vue +2 -0
- package/dist/runtime/pages/dev/[...slug].vue +2 -0
- package/dist/runtime/pages/info.vue +1 -0
- package/dist/runtime/pages/presentation/[...slug].vue +2 -0
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { onMounted, ref, onBeforeUnmount } from "vue";
|
|
3
3
|
import { animate } from "motion";
|
|
4
|
+
import useViewAPI from "../../composables/useViewAPI";
|
|
4
5
|
const api = useViewAPI();
|
|
5
6
|
let timer;
|
|
6
7
|
let clicked = false;
|
|
@@ -35,7 +36,7 @@ onBeforeUnmount(() => {
|
|
|
35
36
|
>
|
|
36
37
|
<img
|
|
37
38
|
ref="logo"
|
|
38
|
-
src="/brain.svg"
|
|
39
|
+
:src="'/brain.svg'"
|
|
39
40
|
width="220"
|
|
40
41
|
class="dark-aware-img"
|
|
41
42
|
>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { reactive, computed, ref } from "vue";
|
|
3
3
|
import { CalendarIcon } from "lucide-vue-next";
|
|
4
|
+
import useViewAPI from "../../composables/useViewAPI";
|
|
4
5
|
const api = useViewAPI();
|
|
5
6
|
api.steps.append([{ id: "survey_page1" }, { id: "survey_page2" }, { id: "survey_page3" }]);
|
|
6
7
|
const isPopoverOpen = ref(false);
|
|
@@ -84,10 +84,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
84
84
|
};
|
|
85
85
|
}>> & Readonly<{}>, {
|
|
86
86
|
title: string;
|
|
87
|
-
description: string | unknown[];
|
|
88
87
|
subtitle: string;
|
|
89
88
|
siteAuthor: Record<string, any>;
|
|
90
89
|
projectAuthors: unknown[];
|
|
91
90
|
info: unknown[];
|
|
91
|
+
description: string | unknown[];
|
|
92
92
|
sections: unknown[];
|
|
93
93
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -84,10 +84,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
84
84
|
};
|
|
85
85
|
}>> & Readonly<{}>, {
|
|
86
86
|
title: string;
|
|
87
|
-
description: string | unknown[];
|
|
88
87
|
subtitle: string;
|
|
89
88
|
siteAuthor: Record<string, any>;
|
|
90
89
|
projectAuthors: unknown[];
|
|
91
90
|
info: unknown[];
|
|
91
|
+
description: string | unknown[];
|
|
92
92
|
sections: unknown[];
|
|
93
93
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import useAPI from "../../composables/useAPI";
|
|
2
3
|
const api = useAPI();
|
|
3
4
|
const _props = defineProps({
|
|
4
5
|
estimated_time: {
|
|
@@ -50,7 +51,7 @@ const _props = defineProps({
|
|
|
50
51
|
<template #right>
|
|
51
52
|
<!-- Lab logo (hidden on smaller screens) -->
|
|
52
53
|
<img
|
|
53
|
-
src="
|
|
54
|
+
:src="'/brain.svg'"
|
|
54
55
|
width="220"
|
|
55
56
|
class="mb-4 hidden @xl:block"
|
|
56
57
|
>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import Clipboard from "clipboard";
|
|
3
3
|
import { onMounted, ref } from "vue";
|
|
4
|
+
import useAPI from "../../composables/useAPI";
|
|
4
5
|
const api = useAPI();
|
|
5
6
|
const alreadyCompleted = !!api.store.cookieState.completionCode;
|
|
6
7
|
const isUploading = ref(!alreadyCompleted);
|
|
@@ -3,6 +3,7 @@ import { ref, computed } from "vue";
|
|
|
3
3
|
import ResponsiveDeviceSelect from "./menu/ResponsiveDeviceSelect.vue";
|
|
4
4
|
import { useElementSize } from "@vueuse/core";
|
|
5
5
|
import { devicePresets } from "./devicePresets.js";
|
|
6
|
+
import useAPI from "../../composables/useAPI";
|
|
6
7
|
const api = useAPI();
|
|
7
8
|
const fullScreenDiv = ref(null);
|
|
8
9
|
const { width: _fullScreenWidth, height: _fullScreenHeight } = useElementSize(fullScreenDiv);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { reactive, computed, onMounted } from "vue";
|
|
3
3
|
import ConfigList from "./ConfigList.vue";
|
|
4
|
+
import useAPI from "../../../composables/useAPI";
|
|
4
5
|
const api = useAPI();
|
|
5
6
|
const browse_panels = reactive({ path: ["/", null, null] });
|
|
6
7
|
onMounted(() => {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { reactive, computed, onMounted } from "vue";
|
|
3
3
|
import DatabaseList from "./DatabaseList.vue";
|
|
4
|
+
import useAPI from "../../../composables/useAPI";
|
|
4
5
|
const api = useAPI();
|
|
5
6
|
const browse_panels = reactive({ path: ["/", null, null] });
|
|
6
7
|
onMounted(() => {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { computed } from "vue";
|
|
3
|
+
import useLog from "../../../stores/log";
|
|
4
|
+
import useAPI from "../../../composables/useAPI";
|
|
3
5
|
const api = useAPI();
|
|
4
6
|
const log = useLog();
|
|
5
7
|
const height_pct = computed(() => `${api.store.dev.consoleBarHeight - 55}px`);
|
|
@@ -158,7 +160,7 @@ function getBgClass(msg) {
|
|
|
158
160
|
<i-fa6-regular-clock v-else-if="msg.message.includes('TRIAL STEPPER')" />
|
|
159
161
|
<img
|
|
160
162
|
v-else-if="msg.message.includes('FIRESTORE')"
|
|
161
|
-
src="/
|
|
163
|
+
:src="'/firebase-bw.svg'"
|
|
162
164
|
width="15"
|
|
163
165
|
>
|
|
164
166
|
<i-fa6-solid-angle-right v-else />
|
|
@@ -199,7 +201,7 @@ function getBgClass(msg) {
|
|
|
199
201
|
<i-fa6-regular-clock v-else-if="msg.message.includes('TRIAL STEPPER')" />
|
|
200
202
|
<img
|
|
201
203
|
v-else-if="msg.message.includes('FIRESTORE')"
|
|
202
|
-
src="/
|
|
204
|
+
:src="'/firebase-bw.svg'"
|
|
203
205
|
width="15"
|
|
204
206
|
>
|
|
205
207
|
<i-fa6-solid-angle-right v-else />
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import ConsoleDatabaseBrowsePanel from "./ConsoleDatabaseBrowsePanel.vue";
|
|
3
3
|
import ConsoleLogPanel from "./ConsoleLogPanel.vue";
|
|
4
4
|
import ConsoleConfigPanel from "./ConsoleConfigPanel.vue";
|
|
5
|
+
import useAPI from "../../../composables/useAPI";
|
|
5
6
|
const api = useAPI();
|
|
6
7
|
</script>
|
|
7
8
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import ResponsiveDeviceSelect from "./ResponsiveDeviceSelect.vue";
|
|
3
3
|
import { devicePresets } from "../devicePresets.js";
|
|
4
|
+
import useAPI from "../../../composables/useAPI";
|
|
4
5
|
const api = useAPI();
|
|
5
6
|
const checkForMatchingPreset = () => {
|
|
6
7
|
for (const [key, preset] of Object.entries(devicePresets)) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { computed } from "vue";
|
|
3
3
|
import DevConfigPanel from "./DevConfigPanel.vue";
|
|
4
|
+
import useAPI from "../../../composables/useAPI";
|
|
4
5
|
const props = defineProps({
|
|
5
6
|
side: { type: String, required: false },
|
|
6
7
|
variant: { type: String, required: false },
|
|
@@ -11,6 +11,7 @@ import KeyCommandNotification from "./KeyCommandNotification.vue";
|
|
|
11
11
|
import LogoutButton from "../presentation/LogoutButton.vue";
|
|
12
12
|
import { ref } from "vue";
|
|
13
13
|
import { onKeyDown } from "@vueuse/core";
|
|
14
|
+
import useAPI from "../../../composables/useAPI";
|
|
14
15
|
const api = useAPI();
|
|
15
16
|
const showNotification = ref(false);
|
|
16
17
|
const notificationCommand = ref("");
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { computed } from "vue";
|
|
3
3
|
import RouteJumper from "./RouteJumper.vue";
|
|
4
|
+
import useAPI from "../../../composables/useAPI";
|
|
4
5
|
const api = useAPI();
|
|
5
6
|
const route = useRoute();
|
|
6
7
|
const isDevMode = computed(() => route.path.startsWith("/dev/") || route.path === "/dev");
|
|
@@ -5,6 +5,7 @@ import DatabaseStatusInfoPanel from "./DatabaseStatusInfoPanel.vue";
|
|
|
5
5
|
import RandomizationSidebarPanel from "./RandomizationSidebarPanel.vue";
|
|
6
6
|
import StudyInfoPanel from "./StudyInfoPanel.vue";
|
|
7
7
|
import AppProgressPanel from "./AppProgressPanel.vue";
|
|
8
|
+
import useAPI from "../../../composables/useAPI";
|
|
8
9
|
const api = useAPI();
|
|
9
10
|
</script>
|
|
10
11
|
|
|
@@ -11,12 +11,12 @@ export type Props = {
|
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
13
|
data: {
|
|
14
|
-
type: (
|
|
14
|
+
type: (NumberConstructor | StringConstructor | ObjectConstructor | ArrayConstructor | BooleanConstructor | null)[];
|
|
15
15
|
required: true;
|
|
16
16
|
};
|
|
17
17
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
data: {
|
|
19
|
-
type: (
|
|
19
|
+
type: (NumberConstructor | StringConstructor | ObjectConstructor | ArrayConstructor | BooleanConstructor | null)[];
|
|
20
20
|
required: true;
|
|
21
21
|
};
|
|
22
22
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -11,12 +11,12 @@ export type Props = {
|
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
13
|
data: {
|
|
14
|
-
type: (
|
|
14
|
+
type: (NumberConstructor | StringConstructor | ObjectConstructor | ArrayConstructor | BooleanConstructor | null)[];
|
|
15
15
|
required: true;
|
|
16
16
|
};
|
|
17
17
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
data: {
|
|
19
|
-
type: (
|
|
19
|
+
type: (NumberConstructor | StringConstructor | ObjectConstructor | ArrayConstructor | BooleanConstructor | null)[];
|
|
20
20
|
required: true;
|
|
21
21
|
};
|
|
22
22
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { ref, computed, watch } from "vue";
|
|
3
3
|
import StepNode from "./StepNode.vue";
|
|
4
4
|
import StepDataViewer from "./StepDataViewer.vue";
|
|
5
|
+
import useViewAPI from "../../../composables/useViewAPI";
|
|
5
6
|
const api = useViewAPI();
|
|
6
7
|
const stateMachine = computed(() => api.steps.visualize());
|
|
7
8
|
const _pathToString = (pathArray) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { default as Button } from "./Button.vue.js";
|
|
2
2
|
export const buttonVariants: (props?: ({
|
|
3
|
-
variant?: "
|
|
3
|
+
variant?: "success" | "default" | "link" | "outline" | "ghost" | "secondary" | "warning-light" | "info" | "danger-light" | "destructive" | "primary" | "primary-light" | "button-link" | "button-link-light" | "info-light" | "success-light" | "warning" | "danger" | null | undefined;
|
|
4
4
|
size?: "default" | "menu" | "xs" | "sm" | "icon" | "lg" | "xl" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -76,9 +76,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
76
76
|
};
|
|
77
77
|
}>> & Readonly<{}>, {
|
|
78
78
|
disabled: boolean;
|
|
79
|
+
orientation: string;
|
|
79
80
|
asChild: boolean;
|
|
80
81
|
as: any;
|
|
81
|
-
orientation: string;
|
|
82
82
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
83
83
|
type __VLS_Slots = {
|
|
84
84
|
default?: ((props: {}) => any) | undefined;
|
|
@@ -76,9 +76,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
76
76
|
};
|
|
77
77
|
}>> & Readonly<{}>, {
|
|
78
78
|
disabled: boolean;
|
|
79
|
+
orientation: string;
|
|
79
80
|
asChild: boolean;
|
|
80
81
|
as: any;
|
|
81
|
-
orientation: string;
|
|
82
82
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
83
83
|
type __VLS_Slots = {
|
|
84
84
|
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: {
|
|
@@ -112,9 +112,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
112
112
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
113
113
|
}>, {
|
|
114
114
|
size: string;
|
|
115
|
-
disabled: boolean;
|
|
116
115
|
variant: string;
|
|
117
116
|
required: boolean;
|
|
117
|
+
disabled: boolean;
|
|
118
118
|
asChild: boolean;
|
|
119
119
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
120
120
|
type __VLS_Slots = {
|
|
@@ -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: {
|
|
@@ -112,9 +112,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
112
112
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
113
113
|
}>, {
|
|
114
114
|
size: string;
|
|
115
|
-
disabled: boolean;
|
|
116
115
|
variant: string;
|
|
117
116
|
required: boolean;
|
|
117
|
+
disabled: boolean;
|
|
118
118
|
asChild: boolean;
|
|
119
119
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
120
120
|
type __VLS_Slots = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { default as Checkbox } from "./Checkbox.vue.js";
|
|
2
2
|
export const checkboxVariants: (props?: ({
|
|
3
|
-
variant?: "
|
|
3
|
+
variant?: "success" | "default" | "info" | "primary" | "warning" | "danger" | null | undefined;
|
|
4
4
|
size?: "default" | "xs" | "sm" | "lg" | "xl" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -6,7 +6,7 @@ type __VLS_WithSlots<T, S> = T & (new () => {
|
|
|
6
6
|
});
|
|
7
7
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
8
|
modelValue: {
|
|
9
|
-
type: (
|
|
9
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
10
10
|
required: false;
|
|
11
11
|
};
|
|
12
12
|
disabled: {
|
|
@@ -34,7 +34,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
34
34
|
"update:modelValue": (...args: any[]) => void;
|
|
35
35
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
36
|
modelValue: {
|
|
37
|
-
type: (
|
|
37
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
38
38
|
required: false;
|
|
39
39
|
};
|
|
40
40
|
disabled: {
|
|
@@ -6,7 +6,7 @@ type __VLS_WithSlots<T, S> = T & (new () => {
|
|
|
6
6
|
});
|
|
7
7
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
8
|
modelValue: {
|
|
9
|
-
type: (
|
|
9
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
10
10
|
required: false;
|
|
11
11
|
};
|
|
12
12
|
disabled: {
|
|
@@ -34,7 +34,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
34
34
|
"update:modelValue": (...args: any[]) => void;
|
|
35
35
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
36
|
modelValue: {
|
|
37
|
-
type: (
|
|
37
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
38
38
|
required: false;
|
|
39
39
|
};
|
|
40
40
|
disabled: {
|
|
@@ -65,10 +65,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
65
65
|
default: string;
|
|
66
66
|
};
|
|
67
67
|
}>> & Readonly<{}>, {
|
|
68
|
-
disabled: boolean;
|
|
69
68
|
variant: string;
|
|
70
|
-
|
|
69
|
+
disabled: boolean;
|
|
71
70
|
inset: boolean;
|
|
71
|
+
asChild: boolean;
|
|
72
72
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
73
73
|
type __VLS_Slots = {
|
|
74
74
|
default?: ((props: {}) => any) | undefined;
|
|
@@ -65,10 +65,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
65
65
|
default: string;
|
|
66
66
|
};
|
|
67
67
|
}>> & Readonly<{}>, {
|
|
68
|
-
disabled: boolean;
|
|
69
68
|
variant: string;
|
|
70
|
-
|
|
69
|
+
disabled: boolean;
|
|
71
70
|
inset: boolean;
|
|
71
|
+
asChild: boolean;
|
|
72
72
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
73
73
|
type __VLS_Slots = {
|
|
74
74
|
default?: ((props: {}) => any) | undefined;
|
|
@@ -39,8 +39,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
39
39
|
required: false;
|
|
40
40
|
};
|
|
41
41
|
}>> & Readonly<{}>, {
|
|
42
|
-
asChild: boolean;
|
|
43
42
|
inset: boolean;
|
|
43
|
+
asChild: boolean;
|
|
44
44
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
45
45
|
type __VLS_Slots = {
|
|
46
46
|
default?: ((props: {}) => any) | undefined;
|
|
@@ -39,8 +39,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
39
39
|
required: false;
|
|
40
40
|
};
|
|
41
41
|
}>> & Readonly<{}>, {
|
|
42
|
-
asChild: boolean;
|
|
43
42
|
inset: boolean;
|
|
43
|
+
asChild: boolean;
|
|
44
44
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
45
45
|
type __VLS_Slots = {
|
|
46
46
|
default?: ((props: {}) => any) | undefined;
|
|
@@ -56,8 +56,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
56
56
|
};
|
|
57
57
|
}>> & Readonly<{}>, {
|
|
58
58
|
disabled: boolean;
|
|
59
|
-
asChild: boolean;
|
|
60
59
|
inset: boolean;
|
|
60
|
+
asChild: boolean;
|
|
61
61
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
62
62
|
type __VLS_Slots = {
|
|
63
63
|
default?: ((props: {}) => any) | undefined;
|
|
@@ -56,8 +56,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
56
56
|
};
|
|
57
57
|
}>> & Readonly<{}>, {
|
|
58
58
|
disabled: boolean;
|
|
59
|
-
asChild: boolean;
|
|
60
59
|
inset: boolean;
|
|
60
|
+
asChild: boolean;
|
|
61
61
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
62
62
|
type __VLS_Slots = {
|
|
63
63
|
default?: ((props: {}) => any) | undefined;
|
|
@@ -74,7 +74,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
74
74
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
75
75
|
}>, {
|
|
76
76
|
size: string;
|
|
77
|
-
disabled: boolean;
|
|
78
77
|
variant: string;
|
|
78
|
+
disabled: boolean;
|
|
79
79
|
modelValue: unknown[];
|
|
80
80
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -74,7 +74,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
74
74
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
75
75
|
}>, {
|
|
76
76
|
size: string;
|
|
77
|
-
disabled: boolean;
|
|
78
77
|
variant: string;
|
|
78
|
+
disabled: boolean;
|
|
79
79
|
modelValue: unknown[];
|
|
80
80
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -101,8 +101,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
101
101
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
102
102
|
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
103
103
|
}>, {
|
|
104
|
-
disabled: boolean;
|
|
105
104
|
required: boolean;
|
|
105
|
+
disabled: boolean;
|
|
106
106
|
multiple: boolean;
|
|
107
107
|
defaultOpen: boolean;
|
|
108
108
|
open: boolean;
|
|
@@ -101,8 +101,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
101
101
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
102
102
|
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
103
103
|
}>, {
|
|
104
|
-
disabled: boolean;
|
|
105
104
|
required: boolean;
|
|
105
|
+
disabled: boolean;
|
|
106
106
|
multiple: boolean;
|
|
107
107
|
defaultOpen: boolean;
|
|
108
108
|
open: boolean;
|
|
@@ -47,7 +47,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
47
47
|
required: false;
|
|
48
48
|
};
|
|
49
49
|
}>> & Readonly<{}>, {
|
|
50
|
-
asChild: boolean;
|
|
51
50
|
orientation: string;
|
|
51
|
+
asChild: boolean;
|
|
52
52
|
decorative: boolean;
|
|
53
53
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -47,7 +47,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
47
47
|
required: false;
|
|
48
48
|
};
|
|
49
49
|
}>> & Readonly<{}>, {
|
|
50
|
-
asChild: boolean;
|
|
51
50
|
orientation: string;
|
|
51
|
+
asChild: boolean;
|
|
52
52
|
decorative: boolean;
|
|
53
53
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -112,9 +112,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
112
112
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
113
113
|
}>, {
|
|
114
114
|
size: string;
|
|
115
|
-
disabled: boolean;
|
|
116
115
|
variant: string;
|
|
117
116
|
required: boolean;
|
|
117
|
+
disabled: boolean;
|
|
118
118
|
defaultValue: boolean;
|
|
119
119
|
asChild: boolean;
|
|
120
120
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -112,9 +112,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
112
112
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
113
113
|
}>, {
|
|
114
114
|
size: string;
|
|
115
|
-
disabled: boolean;
|
|
116
115
|
variant: string;
|
|
117
116
|
required: boolean;
|
|
117
|
+
disabled: boolean;
|
|
118
118
|
defaultValue: boolean;
|
|
119
119
|
asChild: boolean;
|
|
120
120
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { default as Switch } from "./Switch.vue.js";
|
|
2
2
|
export const switchVariants: (props?: ({
|
|
3
|
-
variant?: "
|
|
3
|
+
variant?: "success" | "default" | "info" | "primary" | "warning" | "danger" | null | undefined;
|
|
4
4
|
size?: "default" | "sm" | "lg" | "xl" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -161,8 +161,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
161
161
|
onAddTag?: ((...args: any[]) => any) | undefined;
|
|
162
162
|
onRemoveTag?: ((...args: any[]) => any) | undefined;
|
|
163
163
|
}>, {
|
|
164
|
-
disabled: boolean;
|
|
165
164
|
required: boolean;
|
|
165
|
+
disabled: boolean;
|
|
166
166
|
asChild: boolean;
|
|
167
167
|
addOnPaste: boolean;
|
|
168
168
|
addOnTab: boolean;
|
|
@@ -161,8 +161,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
161
161
|
onAddTag?: ((...args: any[]) => any) | undefined;
|
|
162
162
|
onRemoveTag?: ((...args: any[]) => any) | undefined;
|
|
163
163
|
}>, {
|
|
164
|
-
disabled: boolean;
|
|
165
164
|
required: boolean;
|
|
165
|
+
disabled: boolean;
|
|
166
166
|
asChild: boolean;
|
|
167
167
|
addOnPaste: boolean;
|
|
168
168
|
addOnTab: boolean;
|
|
@@ -98,9 +98,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
98
98
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
99
99
|
}>, {
|
|
100
100
|
size: any;
|
|
101
|
-
disabled: boolean;
|
|
102
101
|
variant: any;
|
|
103
102
|
required: boolean;
|
|
103
|
+
disabled: boolean;
|
|
104
104
|
defaultValue: boolean;
|
|
105
105
|
asChild: boolean;
|
|
106
106
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -98,9 +98,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
98
98
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
99
99
|
}>, {
|
|
100
100
|
size: any;
|
|
101
|
-
disabled: boolean;
|
|
102
101
|
variant: any;
|
|
103
102
|
required: boolean;
|
|
103
|
+
disabled: boolean;
|
|
104
104
|
defaultValue: boolean;
|
|
105
105
|
asChild: boolean;
|
|
106
106
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -132,8 +132,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
132
132
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
133
133
|
}>, {
|
|
134
134
|
loop: boolean;
|
|
135
|
-
disabled: boolean;
|
|
136
135
|
required: boolean;
|
|
136
|
+
disabled: boolean;
|
|
137
137
|
asChild: boolean;
|
|
138
138
|
rovingFocus: boolean;
|
|
139
139
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -132,8 +132,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
132
132
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
133
133
|
}>, {
|
|
134
134
|
loop: boolean;
|
|
135
|
-
disabled: boolean;
|
|
136
135
|
required: boolean;
|
|
136
|
+
disabled: boolean;
|
|
137
137
|
asChild: boolean;
|
|
138
138
|
rovingFocus: boolean;
|
|
139
139
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
</template>
|
|
18
18
|
|
|
19
19
|
<script setup>
|
|
20
|
+
import { ref, computed, onMounted, watch } from "vue";
|
|
21
|
+
import { useRoute, useNuxtApp, navigateTo } from "#imports";
|
|
20
22
|
import RecruitmentChooserView from "#smile-dev/RecruitmentChooserView.vue";
|
|
21
23
|
const route = useRoute();
|
|
22
24
|
const nuxtApp = useNuxtApp();
|
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
</template>
|
|
21
21
|
|
|
22
22
|
<script setup>
|
|
23
|
+
import { ref, computed, onMounted, watch } from "vue";
|
|
24
|
+
import { useRoute, useNuxtApp, navigateTo } from "#imports";
|
|
23
25
|
import PresentationModeView from "../../components/builtins/PresentationModeView.vue";
|
|
24
26
|
import useSmileStore from "../../stores/smilestore";
|
|
25
27
|
const route = useRoute();
|