@vue-skuilder/common-ui 0.2.27 → 0.2.28
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/admin/admin.css +2 -0
- package/dist/admin/common-ui-admin.es.js +1394 -0
- package/dist/admin/common-ui-admin.es.js.map +1 -0
- package/dist/admin/components/CardDossierDetail.vue.d.ts +9 -0
- package/dist/admin/components/CardDossierDetail.vue.d.ts.map +1 -0
- package/dist/admin/components/LearnerCardHistory.vue.d.ts +13 -0
- package/dist/admin/components/LearnerCardHistory.vue.d.ts.map +1 -0
- package/dist/admin/components/LearnerDatasetSource.vue.d.ts +24 -0
- package/dist/admin/components/LearnerDatasetSource.vue.d.ts.map +1 -0
- package/dist/admin/components/LearnerDiagnostics.vue.d.ts +13 -0
- package/dist/admin/components/LearnerDiagnostics.vue.d.ts.map +1 -0
- package/dist/admin/components/LearnerSessionDetail.vue.d.ts +14 -0
- package/dist/admin/components/LearnerSessionDetail.vue.d.ts.map +1 -0
- package/dist/admin/components/LearnerSessionList.vue.d.ts +13 -0
- package/dist/admin/components/LearnerSessionList.vue.d.ts.map +1 -0
- package/dist/admin/components/RunDetail.vue.d.ts +12 -0
- package/dist/admin/components/RunDetail.vue.d.ts.map +1 -0
- package/dist/admin/composables/useLearnerDataset.d.ts +26 -0
- package/dist/admin/composables/useLearnerDataset.d.ts.map +1 -0
- package/dist/admin/display.d.ts +20 -0
- package/dist/admin/display.d.ts.map +1 -0
- package/dist/admin/index.d.ts +22 -0
- package/dist/admin/index.d.ts.map +1 -0
- package/dist/components/CardBrowser.vue.d.ts +5 -5
- package/dist/components/CardHistoryViewer.vue.d.ts +1 -1
- package/dist/components/CardSearchResults.vue.d.ts +1 -1
- package/dist/components/CourseCardBrowser.vue.d.ts +9 -9
- package/dist/components/CourseInformation.vue.d.ts +18 -18
- package/dist/components/CourseTagFilterWidget.vue.d.ts +1 -1
- package/dist/components/SessionControllerDebug.vue.d.ts +1 -1
- package/dist/components/SnackbarService.d.ts +1 -1
- package/dist/components/StudySession.types.d.ts +1 -1
- package/dist/components/StudySession.vue.d.ts +2 -2
- package/dist/components/TagsInput.vue.d.ts +1 -1
- package/dist/components/UserTagPreferences.vue.d.ts +1 -1
- package/dist/components/auth/UserRegistration.vue.d.ts +74 -74
- package/dist/components/auth/UserRegistration.vue.d.ts.map +1 -1
- package/dist/components/cardRendering/CardLoader.vue.d.ts +6 -6
- package/dist/components/cardRendering/CardViewer.vue.d.ts +2 -2
- package/dist/components/cardRendering/MarkdownRenderer.vue.d.ts +6 -6
- package/dist/components/cardRendering/MdTokenRenderer.vue.d.ts +6 -6
- package/dist/components/studentInputs/BaseUserInput.d.ts +2 -2
- package/dist/components/studentInputs/MultipleChoiceOption.vue.d.ts +6 -6
- package/dist/components/studentInputs/RadioMultipleChoice.types.d.ts +1 -1
- package/dist/components/studentInputs/RadioMultipleChoice.vue.d.ts +9 -9
- package/dist/components/studentInputs/TrueFalse.vue.d.ts +9 -9
- package/dist/components/studentInputs/UserInputNumber.vue.d.ts +2 -2
- package/dist/components/studentInputs/UserInputString.vue.d.ts +3 -3
- package/dist/components/studentInputs/fillInInput.vue.d.ts +3 -3
- package/dist/composables/CompositionViewable.d.ts +2 -2
- package/dist/composables/Displayable.d.ts +1 -1
- package/dist/stores/useAuthStore.d.ts +82 -82
- package/dist/stores/useAuthStore.d.ts.map +1 -1
- package/dist/stores/useConfigStore.d.ts +1 -1
- package/package.json +18 -5
- package/src/admin/components/CardDossierDetail.vue +99 -0
- package/src/admin/components/LearnerCardHistory.vue +196 -0
- package/src/admin/components/LearnerDatasetSource.vue +97 -0
- package/src/admin/components/LearnerDiagnostics.vue +68 -0
- package/src/admin/components/LearnerSessionDetail.vue +439 -0
- package/src/admin/components/LearnerSessionList.vue +175 -0
- package/src/admin/components/RunDetail.vue +166 -0
- package/src/admin/composables/useLearnerDataset.ts +66 -0
- package/src/admin/display.ts +73 -0
- package/src/admin/index.ts +27 -0
|
@@ -63,14 +63,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
63
63
|
}>, {}, {}, {
|
|
64
64
|
prependIcon(): string;
|
|
65
65
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
66
|
-
answer: import('
|
|
66
|
+
answer: import('@vue-skuilder/common').Answer;
|
|
67
67
|
previewModeStore: ReturnType<typeof import('../..').useCardPreviewModeStore> | null;
|
|
68
68
|
}, {
|
|
69
69
|
autofocus(): boolean;
|
|
70
70
|
autoFocus(): boolean;
|
|
71
71
|
}, {
|
|
72
|
-
submitAnswer(answer: import('
|
|
73
|
-
submit(answer: import('
|
|
72
|
+
submitAnswer(answer: import('@vue-skuilder/common').Answer): import('@vue-skuilder/db').QuestionRecord;
|
|
73
|
+
submit(answer: import('@vue-skuilder/common').Answer): any;
|
|
74
74
|
getQuestionViewAncestor(): import('../..').ViewComponent;
|
|
75
75
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
76
76
|
icon: {
|
|
@@ -105,14 +105,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
105
105
|
}>, {}, {}, {
|
|
106
106
|
prependIcon(): string;
|
|
107
107
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
108
|
-
answer: import('
|
|
108
|
+
answer: import('@vue-skuilder/common').Answer;
|
|
109
109
|
previewModeStore: ReturnType<typeof import('../..').useCardPreviewModeStore> | null;
|
|
110
110
|
}, {
|
|
111
111
|
autofocus(): boolean;
|
|
112
112
|
autoFocus(): boolean;
|
|
113
113
|
}, {
|
|
114
|
-
submitAnswer(answer: import('
|
|
115
|
-
submit(answer: import('
|
|
114
|
+
submitAnswer(answer: import('@vue-skuilder/common').Answer): import('@vue-skuilder/db').QuestionRecord;
|
|
115
|
+
submit(answer: import('@vue-skuilder/common').Answer): any;
|
|
116
116
|
getQuestionViewAncestor(): import('../..').ViewComponent;
|
|
117
117
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
118
118
|
icon: {
|
|
@@ -33,14 +33,14 @@ declare function getComponent(componentName: string): import('vue').Raw<import('
|
|
|
33
33
|
}>, {}, {}, {
|
|
34
34
|
prependIcon(): string;
|
|
35
35
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
36
|
-
answer: import('
|
|
36
|
+
answer: import('@vue-skuilder/common').Answer;
|
|
37
37
|
previewModeStore: ReturnType<typeof import('../..').useCardPreviewModeStore> | null;
|
|
38
38
|
}, {
|
|
39
39
|
autofocus(): boolean;
|
|
40
40
|
autoFocus(): boolean;
|
|
41
41
|
}, {
|
|
42
|
-
submitAnswer(answer: import('
|
|
43
|
-
submit(answer: import('
|
|
42
|
+
submitAnswer(answer: import('@vue-skuilder/common').Answer): import('@vue-skuilder/db').QuestionRecord;
|
|
43
|
+
submit(answer: import('@vue-skuilder/common').Answer): any;
|
|
44
44
|
getQuestionViewAncestor(): import('../..').ViewComponent;
|
|
45
45
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
46
46
|
icon: {
|
|
@@ -95,14 +95,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
95
95
|
}>, {}, {}, {
|
|
96
96
|
prependIcon(): string;
|
|
97
97
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
98
|
-
answer: import('
|
|
98
|
+
answer: import('@vue-skuilder/common').Answer;
|
|
99
99
|
previewModeStore: ReturnType<typeof import('../..').useCardPreviewModeStore> | null;
|
|
100
100
|
}, {
|
|
101
101
|
autofocus(): boolean;
|
|
102
102
|
autoFocus(): boolean;
|
|
103
103
|
}, {
|
|
104
|
-
submitAnswer(answer: import('
|
|
105
|
-
submit(answer: import('
|
|
104
|
+
submitAnswer(answer: import('@vue-skuilder/common').Answer): import('@vue-skuilder/db').QuestionRecord;
|
|
105
|
+
submit(answer: import('@vue-skuilder/common').Answer): any;
|
|
106
106
|
getQuestionViewAncestor(): import('../..').ViewComponent;
|
|
107
107
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
108
108
|
icon: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Answer } from '
|
|
1
|
+
import { Answer } from '@vue-skuilder/common';
|
|
2
2
|
import { useCardPreviewModeStore } from '../../stores/useCardPreviewModeStore';
|
|
3
3
|
import { ViewComponent } from '../../composables/Displayable';
|
|
4
|
-
import { QuestionRecord } from '
|
|
4
|
+
import { QuestionRecord } from '@vue-skuilder/db';
|
|
5
5
|
declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
6
6
|
answer: Answer;
|
|
7
7
|
previewModeStore: ReturnType<typeof useCardPreviewModeStore> | null;
|
|
@@ -117,14 +117,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
117
117
|
}>, {}, {}, {
|
|
118
118
|
prependIcon(): string;
|
|
119
119
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
120
|
-
answer: import('
|
|
120
|
+
answer: import('@vue-skuilder/common').Answer;
|
|
121
121
|
previewModeStore: ReturnType<typeof import('../..').useCardPreviewModeStore> | null;
|
|
122
122
|
}, {
|
|
123
123
|
autofocus(): boolean;
|
|
124
124
|
autoFocus(): boolean;
|
|
125
125
|
}, {
|
|
126
|
-
submitAnswer(answer: import('
|
|
127
|
-
submit(answer: import('
|
|
126
|
+
submitAnswer(answer: import('@vue-skuilder/common').Answer): import('@vue-skuilder/db').QuestionRecord;
|
|
127
|
+
submit(answer: import('@vue-skuilder/common').Answer): any;
|
|
128
128
|
getQuestionViewAncestor(): import('../..').ViewComponent;
|
|
129
129
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
130
130
|
icon: {
|
|
@@ -159,14 +159,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
159
159
|
}>, {}, {}, {
|
|
160
160
|
prependIcon(): string;
|
|
161
161
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
162
|
-
answer: import('
|
|
162
|
+
answer: import('@vue-skuilder/common').Answer;
|
|
163
163
|
previewModeStore: ReturnType<typeof import('../..').useCardPreviewModeStore> | null;
|
|
164
164
|
}, {
|
|
165
165
|
autofocus(): boolean;
|
|
166
166
|
autoFocus(): boolean;
|
|
167
167
|
}, {
|
|
168
|
-
submitAnswer(answer: import('
|
|
169
|
-
submit(answer: import('
|
|
168
|
+
submitAnswer(answer: import('@vue-skuilder/common').Answer): import('@vue-skuilder/db').QuestionRecord;
|
|
169
|
+
submit(answer: import('@vue-skuilder/common').Answer): any;
|
|
170
170
|
getQuestionViewAncestor(): import('../..').ViewComponent;
|
|
171
171
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
172
172
|
icon: {
|
|
@@ -18,14 +18,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
18
18
|
bindKeys(): void;
|
|
19
19
|
unbindKeys(): void;
|
|
20
20
|
}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
21
|
-
answer: import('
|
|
21
|
+
answer: import('@vue-skuilder/common').Answer;
|
|
22
22
|
previewModeStore: ReturnType<typeof import('../..').useCardPreviewModeStore> | null;
|
|
23
23
|
}, {
|
|
24
24
|
autofocus(): boolean;
|
|
25
25
|
autoFocus(): boolean;
|
|
26
26
|
}, {
|
|
27
|
-
submitAnswer(answer: import('
|
|
28
|
-
submit(answer: import('
|
|
27
|
+
submitAnswer(answer: import('@vue-skuilder/common').Answer): import('@vue-skuilder/db').QuestionRecord;
|
|
28
|
+
submit(answer: import('@vue-skuilder/common').Answer): any;
|
|
29
29
|
getQuestionViewAncestor(): import('../..').ViewComponent;
|
|
30
30
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
31
31
|
choiceList: {
|
|
@@ -151,14 +151,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
151
151
|
}>, {}, {}, {
|
|
152
152
|
prependIcon(): string;
|
|
153
153
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
154
|
-
answer: import('
|
|
154
|
+
answer: import('@vue-skuilder/common').Answer;
|
|
155
155
|
previewModeStore: ReturnType<typeof import('../..').useCardPreviewModeStore> | null;
|
|
156
156
|
}, {
|
|
157
157
|
autofocus(): boolean;
|
|
158
158
|
autoFocus(): boolean;
|
|
159
159
|
}, {
|
|
160
|
-
submitAnswer(answer: import('
|
|
161
|
-
submit(answer: import('
|
|
160
|
+
submitAnswer(answer: import('@vue-skuilder/common').Answer): import('@vue-skuilder/db').QuestionRecord;
|
|
161
|
+
submit(answer: import('@vue-skuilder/common').Answer): any;
|
|
162
162
|
getQuestionViewAncestor(): import('../..').ViewComponent;
|
|
163
163
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
164
164
|
icon: {
|
|
@@ -193,14 +193,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
193
193
|
}>, {}, {}, {
|
|
194
194
|
prependIcon(): string;
|
|
195
195
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
196
|
-
answer: import('
|
|
196
|
+
answer: import('@vue-skuilder/common').Answer;
|
|
197
197
|
previewModeStore: ReturnType<typeof import('../..').useCardPreviewModeStore> | null;
|
|
198
198
|
}, {
|
|
199
199
|
autofocus(): boolean;
|
|
200
200
|
autoFocus(): boolean;
|
|
201
201
|
}, {
|
|
202
|
-
submitAnswer(answer: import('
|
|
203
|
-
submit(answer: import('
|
|
202
|
+
submitAnswer(answer: import('@vue-skuilder/common').Answer): import('@vue-skuilder/db').QuestionRecord;
|
|
203
|
+
submit(answer: import('@vue-skuilder/common').Answer): any;
|
|
204
204
|
getQuestionViewAncestor(): import('../..').ViewComponent;
|
|
205
205
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
206
206
|
icon: {
|
|
@@ -37,14 +37,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
37
37
|
bindKeys(): void;
|
|
38
38
|
unbindKeys(): void;
|
|
39
39
|
}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
40
|
-
answer: import('
|
|
40
|
+
answer: import('@vue-skuilder/common').Answer;
|
|
41
41
|
previewModeStore: ReturnType<typeof import('../..').useCardPreviewModeStore> | null;
|
|
42
42
|
}, {
|
|
43
43
|
autofocus(): boolean;
|
|
44
44
|
autoFocus(): boolean;
|
|
45
45
|
}, {
|
|
46
|
-
submitAnswer(answer: import('
|
|
47
|
-
submit(answer: import('
|
|
46
|
+
submitAnswer(answer: import('@vue-skuilder/common').Answer): import('@vue-skuilder/db').QuestionRecord;
|
|
47
|
+
submit(answer: import('@vue-skuilder/common').Answer): any;
|
|
48
48
|
getQuestionViewAncestor(): import('../..').ViewComponent;
|
|
49
49
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
50
50
|
choiceList: {
|
|
@@ -170,14 +170,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
170
170
|
}>, {}, {}, {
|
|
171
171
|
prependIcon(): string;
|
|
172
172
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
173
|
-
answer: import('
|
|
173
|
+
answer: import('@vue-skuilder/common').Answer;
|
|
174
174
|
previewModeStore: ReturnType<typeof import('../..').useCardPreviewModeStore> | null;
|
|
175
175
|
}, {
|
|
176
176
|
autofocus(): boolean;
|
|
177
177
|
autoFocus(): boolean;
|
|
178
178
|
}, {
|
|
179
|
-
submitAnswer(answer: import('
|
|
180
|
-
submit(answer: import('
|
|
179
|
+
submitAnswer(answer: import('@vue-skuilder/common').Answer): import('@vue-skuilder/db').QuestionRecord;
|
|
180
|
+
submit(answer: import('@vue-skuilder/common').Answer): any;
|
|
181
181
|
getQuestionViewAncestor(): import('../..').ViewComponent;
|
|
182
182
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
183
183
|
icon: {
|
|
@@ -212,14 +212,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
212
212
|
}>, {}, {}, {
|
|
213
213
|
prependIcon(): string;
|
|
214
214
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
215
|
-
answer: import('
|
|
215
|
+
answer: import('@vue-skuilder/common').Answer;
|
|
216
216
|
previewModeStore: ReturnType<typeof import('../..').useCardPreviewModeStore> | null;
|
|
217
217
|
}, {
|
|
218
218
|
autofocus(): boolean;
|
|
219
219
|
autoFocus(): boolean;
|
|
220
220
|
}, {
|
|
221
|
-
submitAnswer(answer: import('
|
|
222
|
-
submit(answer: import('
|
|
221
|
+
submitAnswer(answer: import('@vue-skuilder/common').Answer): import('@vue-skuilder/db').QuestionRecord;
|
|
222
|
+
submit(answer: import('@vue-skuilder/common').Answer): any;
|
|
223
223
|
getQuestionViewAncestor(): import('../..').ViewComponent;
|
|
224
224
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
225
225
|
icon: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Answer } from '
|
|
1
|
+
import { Answer } from '@vue-skuilder/common';
|
|
2
2
|
import { defineComponent } from 'vue';
|
|
3
3
|
type InputNumberRefs = {
|
|
4
4
|
input: HTMLInputElement;
|
|
@@ -17,7 +17,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {
|
|
|
17
17
|
autofocus(): boolean;
|
|
18
18
|
autoFocus(): boolean;
|
|
19
19
|
}, {
|
|
20
|
-
submitAnswer(answer: Answer): import('
|
|
20
|
+
submitAnswer(answer: Answer): import('@vue-skuilder/db').QuestionRecord;
|
|
21
21
|
submit(answer: Answer): any;
|
|
22
22
|
getQuestionViewAncestor(): import('../..').ViewComponent;
|
|
23
23
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -6,14 +6,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
6
6
|
}>, {}, {}, {
|
|
7
7
|
prependIcon(): string;
|
|
8
8
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
9
|
-
answer: import('
|
|
9
|
+
answer: import('@vue-skuilder/common').Answer;
|
|
10
10
|
previewModeStore: ReturnType<typeof import('../..').useCardPreviewModeStore> | null;
|
|
11
11
|
}, {
|
|
12
12
|
autofocus(): boolean;
|
|
13
13
|
autoFocus(): boolean;
|
|
14
14
|
}, {
|
|
15
|
-
submitAnswer(answer: import('
|
|
16
|
-
submit(answer: import('
|
|
15
|
+
submitAnswer(answer: import('@vue-skuilder/common').Answer): import('@vue-skuilder/db').QuestionRecord;
|
|
16
|
+
submit(answer: import('@vue-skuilder/common').Answer): any;
|
|
17
17
|
getQuestionViewAncestor(): import('../..').ViewComponent;
|
|
18
18
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
19
|
icon: {
|
|
@@ -21,14 +21,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
21
21
|
}>, {}, {}, {
|
|
22
22
|
prependIcon(): string;
|
|
23
23
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
24
|
-
answer: import('
|
|
24
|
+
answer: import('@vue-skuilder/common').Answer;
|
|
25
25
|
previewModeStore: ReturnType<typeof import('../..').useCardPreviewModeStore> | null;
|
|
26
26
|
}, {
|
|
27
27
|
autofocus(): boolean;
|
|
28
28
|
autoFocus(): boolean;
|
|
29
29
|
}, {
|
|
30
|
-
submitAnswer(answer: import('
|
|
31
|
-
submit(answer: import('
|
|
30
|
+
submitAnswer(answer: import('@vue-skuilder/common').Answer): import('@vue-skuilder/db').QuestionRecord;
|
|
31
|
+
submit(answer: import('@vue-skuilder/common').Answer): any;
|
|
32
32
|
getQuestionViewAncestor(): import('../..').ViewComponent;
|
|
33
33
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
34
34
|
icon: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { default as moment } from 'moment';
|
|
2
2
|
import { ComputedRef, Ref } from 'vue';
|
|
3
|
-
import { CardRecord, QuestionRecord } from '
|
|
3
|
+
import { CardRecord, QuestionRecord } from '@vue-skuilder/db';
|
|
4
4
|
import { HotKey } from '../utils/SkldrMouseTrap';
|
|
5
5
|
import { Question } from './Displayable';
|
|
6
|
-
import { ViewData, Answer } from '
|
|
6
|
+
import { ViewData, Answer } from '@vue-skuilder/common';
|
|
7
7
|
export interface ViewableUtils {
|
|
8
8
|
startTime: Ref<moment.Moment>;
|
|
9
9
|
hotKeys: Ref<HotKey[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, defineComponent } from 'vue';
|
|
2
|
-
import { DataShape, ViewData, Answer, Evaluation } from '
|
|
2
|
+
import { DataShape, ViewData, Answer, Evaluation } from '@vue-skuilder/common';
|
|
3
3
|
export type ViewComponent = DefineComponent<unknown, unknown, unknown> | ReturnType<typeof defineComponent>;
|
|
4
4
|
export declare function isDefineComponent(v: ViewComponent): v is DefineComponent<unknown, unknown, unknown>;
|
|
5
5
|
export declare abstract class Displayable {
|